FIR低通数字滤波器的设计要点

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

FIR低通数字滤波器的设计要点

《DSP技术与应用》

课程设计报告

课题名称:基于DSP Builder的FIR数字滤波器的设计与实现

学院:电子信息工程学院

班级: 11级电信本01班

学号:

姓名:

题目基于DSP Builder的FIR数字滤波器的设计与实现

摘要

FIR数字滤波器是数字信号处理的一个重要组成部分,于FIR数字滤波器具有严格的线性相位,因此在信息的采集和处理过程中得到了广泛的应用。介绍了FIR数字滤波器的概念和线性相位的条件,分析了窗函数法、频率采样法和等波纹逼近法设计FIR滤波器的思路和流程。在分析三种设计方法原理的基础上,借助Matlab仿真软件工具箱中的fir1、fir2和remez子函数分别实现窗函数法、频率采样法和等波纹逼近法设计FIR滤波器。然后检验滤波器的滤波效果,采用一段音频进行加噪声然后用滤波器滤,对比三段音频效果

进而对滤波器的滤波效果进行检验。仿真结果表明,在相频特性上,三种方法设计的FIR滤波器在通带内都具有线性相位;在幅频特性上,相比窗函数法和频率采样法,等波纹逼近法设计FIR滤波器的边界频率精确,通带和阻带衰减控制。

Abstract

FIR digital filter is an important part of digital signal processing, the FIR digital filter with linear phase, so it has been widely applied in the collection and processing of information in the course of. This paper introduces the concept of FIR digital filter with linear phase conditions, analysis of the window function method and frequency sampling method and the ripple approximation method of FIR filter design ideas and processes. Based on analyzing the principle of three kinds of design methods, by means of fir1, fir2 and Remez function of Matlab simulation software in the Toolbox window function method and frequency sampling method and respectively realize equiripple approximation method to design FIR filter. Then test the filtering effect of the filter, using an audio add noise and then filter, test three audio effects and

xxparison of filter filtering effect. Simulation results show that the phase frequency characteristic, three design methods of FIR filter with linear phase are in the pass band; the amplitude frequency characteristics, xxpared with the window function method and frequency sampling method, equiripple approximation method

Design of FIR filter with accurate boundary frequency, the passband and stopband attenuation control.

目录

一、绪论 ................................................ ............................................ 1 二、FIR数字滤波器原理 ................................................ ................. 2 三、DSP Builder设计流程 ................................................ ............... 3 四、基于DSP Builder设计FIR数字滤波器 ................................. 8 五、课程设计心得 ................................................

.......................... 11 六、

6. 修改FIR滤波器模型添加参数

把计算机的系数逐个填入到FIR滤波器模型中,见图。这样就完成了一个12阶FIR低通滤波器的设计。

图 12阶FIR低通滤波器

7

四、基于DSP Builder设计FIR数字滤波器

1、利用DSP Builder库建立DDS模型如图所示。

图 DDS模型

2、加入激励,完成系统仿真如图所示。

图仿真结果

8

3、Simulink模型转成VHDL如图所示。

Simulink模型转VHDL

4.综合如图和图。

图 Quartus II综合

9

图 Quartus II综合

5、利用Modelsim完成功能仿真如图。

功能仿真

相关文档
最新文档