摘要
通过对Goertzel算法的优化和运用查表法处理来加快其运算速度。在硬件电路的基础上,用C语言完成了实际应用的算法程序。采用Atmel公司51系列外接晶振时钟频率可高达24MHz的单片机AT89C2051-24SU,运算后输出了一定频率的正弦基波及其多次谐波组成的波形。
By optimization and using look-up table, the arithmetic speed of Goertzel algorithm is improved. The algorithm program of practical application is achieved by C language based on the hardware circuit. Atmel 51 MCU AT89C2051-24SU with 24 MHz oscillator clock frequency, calculates and outputs sine fundamental with certain frequency and the waveform of multiple harmonic.
出处
《单片机与嵌入式系统应用》
2012年第8期23-25,33,共4页
Microcontrollers & Embedded Systems