摘要
本文以Microchip公司的8位通用型PIC18F87J11单片机为核心设计了一款FIR数字低通滤波器。该滤波器首先利用信号发生器产生待处理的信号波形;然后使用该单片机内部自带的A/D转换模块对输入信号进行采样;接着通过软件编程实现FIR滤波算法处理;继而通过I/O端口将处理后的数字信号接入梯形电路实现D/A转换;最后利用示波器观察不同频率输入情况下的模拟输出波形。经过相关实验测试证明,该设计是合理且可行的。
In this paper, the PIC18F87J11 of the Microchip corporation is taken as the core of a FIR digital low pass filter.Firstly, the signal generator is used to generate the signal waveform to be processed.Then, the input signal is sampled by the A/D conversion module of the MCU.And the digital signal is processed by FIR filter algorithm through programming.Then the I/O port is connected to the ladder circuit to realize the A/D conversion.Finally, the different fi'equency response can be observed by using oscilloscope.The experiment results show that the design is reasonable and practicable.
出处
《电子世界》
2017年第10期175-176,共2页
Electronics World