- 0
- 0
- 约5.05千字
- 约 10页
- 2019-10-14 发布于湖北
- 举报
基于FPGA的巴特沃斯四阶数字滤波器实现
摘要:本文首先探讨了使用FPGA实现巴特沃斯数字滤波器相对于其他常用方法的优点。之后对离散化的巴特沃斯数字滤波器原理进行了研究,从原理可知,巴特沃斯滤波器阶数越高幅频特性越好,但是实际应用中考虑到多阶巴特沃斯滤波器的复杂性和阶数成正比,最后确定通过级联2个巴特沃斯二阶数字滤波器实现巴特沃斯四阶滤波器。并根据原理使用Matlab进行了算法仿真。之后研究了使用定标对参数进行量化的办法解决FPGA不能进行浮点运算的问题,并给出了FPGA设计方案和仿真结果,最后在硬件平台进行了测试和给出测试结果。
关键字:巴特沃斯,数字滤波器,FPGA
Design of Fourth-order Butterworth Digital Low-pass Filter Based on FPGA
Abstract: Firstly, this paper discusses the advantages of using FPGA to implement Butterworth digital filter compared with other common methods. Based on the study of discrete Butterworth digital filter, the amplitude-frequency characteristics of higher order Butterworth filter is better. But in the practical application, high-order filter is too complex to realize. So a four order Butterworth filter by cascading two second order digital Butterworth filters decided to be implemented and the algorithm simulated in Matlab according to the theory .Beside that, floating-point budget in FPGA is studied by using the scaling method to the quantize parameters., Finally, FPGA design and simulation results are given and effectivity of designed method is verified on a hardware platform.
Keywords: Butterworth, Digital filter, FPGA
1.引言
在电子设计中,经常会遇到信号噪声影响,这时候就需要使用滤波器将叠加在信号中的噪声滤除掉。巴特沃斯(Butterworth)滤波器属于IIR滤波器,是一种具有最大平坦幅度响应的滤波器,它在通信领域、电气工业设备中,与切比雪夫滤波器和椭圆滤波器相比,应用最为广泛[1]。现在实现滤波器比较常用的方法有两种,一种是通过模拟元器件如电阻、电容和运算放大器等构成滤波电路,另一种是在DSP中通过软件方法实现数字滤波器。使用模拟元器件构成的滤波器具有不灵活,设计难度大等缺点。使用软件方法实现滤波器具有速度慢的缺点。相对于这两种方法,使用FPGA实现数字滤波器很好的解决了前两种方法的缺点,FPGA使用Verilog逻辑语言进行编程设计,可以随时对代码进行调整,相对于使用模拟器件来说有更好的灵活性,同时FPGA上最终实现的是硬件电路,其运算速度更快[2]。
1.巴特沃斯滤波器原理
巴特沃斯低通滤波器的平方幅度响应为:
(1-1)
上式给出了的特性。其中,N为滤波器的阶数,为低通滤波器的截止频率。首先按定义
(1-2)
如果将巴特沃斯滤波器的单位冲激响应限制为实值函数,那么由傅里叶变换的共轭对称性质就有
(1-3)
(1-4)
由得:
(1-5)
这个分母多项式就是的极点,这些极点应位于
(1-6)
对于都满足
原创力文档

文档评论(0)