论文部分内容阅读
本系统是用STM32单片机产生频率为1000Hz的正弦波信号,该信号用TDA2030集成运放进行放大及驱动后输入到扬声器作为声源。接收部分使用驻极体话筒进行接收,首先对接收的信号经过单管共射放大,使变化的电流信号转换为变化的电压信号。然后经过由LM393组成的电压跟随器进行稳压,当电流足够大让指示LED亮起时,接收模块就向数据处理MCU发送接收捕获成功信号,负责数据处理的STM32触发定时器中断,纪录此接收模块收到信号的时间。声源定位是通过对四个驻极体话筒接收到信号的时间先后进行处理,利用归一正方形算法可算得声源的坐标,即可进行声源定位。最后,MCU将计算结果通过OLED液晶显示屏模块显示出来。
The system uses STM32 single-chip to generate the frequency of 1000Hz sine wave signal, the signal with the TDA2030 integrated amplifier to amplify and drive input to the speaker as a sound source. Receiving part of the use of electret microphone to receive, first of all, the signal received after single-core co-amplification, so that changes in the current signal is converted to a changing voltage signal. And then by the LM393 composed of voltage follower regulator, when the current is large enough so that the indicator LED lights up, the receiver module to the data processing MCU to send and receive capture success signal is responsible for data processing STM32 trigger timer interrupt, record the receipt The time the module received the signal. Sound source positioning through the four electret microphone receives the signal time has been processed, the use of normal square algorithm can be calculated sound source coordinates, you can sound source positioning. Finally, the MCU will display the results of the OLED liquid crystal display module.