基于FPGA串并结合FIR滤波器的设计

2012-04-29 23:21:42于亚萍陈雪强刘源卫勇
湖北农业科学 2012年14期

于亚萍 陈雪强 刘源 卫勇

摘要:根据FIR滤波器的特性和分布式(DA)算法的特点,基于FPGA实现FIR滤波器的原理和方法,在拆分查找表的基础上,利用串并结合DA算法对数字滤波器的设计进行优化,设计更高阶次的滤波器并节省所占用的硬件资源。采用串并结合DA算法设计了16阶FIR低通滤波器,在Quartus II 7.0下进行仿真,结果验证了该方法滤波效果好,能够有效地减少FPGA硬件资源的使用,提高FIR的运算速度。

关键词:FIR滤波器;查找表;FPGA;分布式(DA)算法

中图分类号:TN713文献标识码:A文章编号:0439-8114(2012)14-3092-04

Design of FPGA-Based Serial-Parallel FIR Filter

YU Ya-ping1,CHEN Xue-qiang2,LIU Yuan1,WEI Yong1

(1.Department of Mechanic and Electronic Engineering,Tianjin Agricultural University,Tianjin 300384, China;

2. Jinma Coking Limited Company, Jiyuan City of Henan Province, Jiyuan 454650, Henan,China)

Abstract: According to the characteristics of FIR filter and distributed algorithm (DA), the theory and method of FIR Filter was realized using DA based on FPGA. On the basis of table partitioning, the designation of FIR filters was optimized by serial-parallel arithmetic aiming at filters with higher order while saving the hardware it would use. 16-order FIR filters was designed by serial and parallel DA and simulated in Quartus Ⅱ 7.0. Results showed that the FIR filters were with small resource usage and high speed compared with traditional methods.

Key words: FIR filter; look-up table; FPGA; distributed algorithm

数字滤波器是数字信号处理的重要手段,分为有限脉冲响应数字(Finite impulsive response,FIR)滤波器和无限脉冲响应数字(Infinite impulsive response,IIR)滤波器两种。其中FIR滤波器在数字信号处理的过程中有很好的线性相位和稳定性,被广泛应用于工业、农业和医学领域中[1]。

目前FIR滤波器的硬件实现有以下4种方式:①使用单片通用数字滤波器集成电路,这种电路使用起来比较简单,由于字长和阶数的规格较少,不易满足实际需要。②使用DSP芯片[2],DSP芯片是依靠软、硬件结合来实现FIR滤波器,速度受到限制。③使用可编程逻辑器件FPGA/CPLD[3],用FPGA来实现数字信号处理可以很好地解决并行和顺序性的矛盾,而且易于测试与硬件升级[4]。

在FPGA中,进行传统乘法运算占用了大量的硬件资源,分布式(DA)算法巧妙地利用ROM查找表将固定系数的乘累加运算转换成查找表操作[5,6],避免了乘法运算。查找表后数据执行的都是简单的加法运算,可以较大程度地提高运算速度[7]。

该研究在拆分查找表的基础上,采用串并结合的DA算法进行FIR滤波器的设计,能很好地实现实时处理,有效减少硬件的使用,提高滤波器的运算速度。……

登录APP查看全文