【正文】
嵌入式系統(tǒng) 前級(jí)信號(hào)處理 功率譜 Abstract: This audio signal analyzer based on the principle of fast Fourier transform, the minimum system consisting of STM32 embedded system as control core, followed by the voltage, programcontrolled amplifier, peak detection, such as anti aliasing filter modules. This audio signal analyzer controlled by an embedded system, through the AD conversion, the audio signal sampling, the continuous signal discretization, then through FFT arithmetic, each frequency ponent and the power index in the audio signal analysis and processing, and then through high resolution display LCD frequency spectrum of the signal and the characteristics of. The system can accurately measure the audio signal frequency range of 50 10K HZ, its amplitude range is 5 mVpp 5 V pp ,resolution of 50 Hz. 3 / 22 目 錄 摘要 ...................................................................... 2 目錄 ...................................................................... 3 引言 ...................................................................... 4 1 系統(tǒng)方案比較與選擇 ...................................................... 8 主控芯片的選擇 .................................................... 3 1. 2 采樣方法比較與選擇 .............................................. 4 1. 3 信號(hào)功率的計(jì)算 ................................................... 4 1. 4 系統(tǒng)總體方案 ...................................................... 4 2 硬件設(shè)計(jì) ............................................................. 5 2. 1 程控放大電路設(shè)計(jì) ................................................ 5 2. 2 峰值檢測(cè) 電路設(shè)計(jì) ................................................ 6 2. 3 總硬件電路 ..................................................... 7 3 軟件調(diào)試 ............................................................... 9 4. 1 軟件總體流程圖設(shè)計(jì) ................................................ 9 4. 2 程控放大程序設(shè)計(jì) ................................................. 10 4. 3 FFT 程序 ......................................................... 11 4. 4 功率計(jì)算 ......................................................... 11 周期計(jì)算 ......................................................... 12 4 系統(tǒng)調(diào)試 ............................................................ 12 5. 1 總硬件焊接圖 ................................................... 12 5. 2 電壓跟隨電路 ...................................................... 7 ........................................................ 8 峰值檢測(cè)電路 ....................................................... 8 電壓抬升電路 ...................................................... 18 5. 6 液晶屏顯示圖 ................................................... 13 5. 7 測(cè)試結(jié)果 ........................................................ 14 5 總結(jié) .................................................................. 15 參考文獻(xiàn) ................................................................. 15 附錄 1:元器件明細(xì)表和儀器設(shè)備清單 ....................................... 15 附錄 2: FFT 程序 .......................................................... 15 附錄 3:周期計(jì)算程序 ..................................................... 17 附錄 4:主程序 ........................................................... 18 4 / 22 引言