利用窗函数法设计FIR数字滤波器要点

  • 格式:doc
  • 大小:2.16 MB
  • 文档页数:37

毕 业 论 文(设 计)

利用窗函数法设计FIR数字滤波器

学生姓名 学号 000000000000

指导教师

学 院

专 业 电子信息工程 年级 2199级

答辩日期 2148 年 13 月 32 日

利用窗函数法设计FIR数字滤波器

完成日期:

指导教师签字:

答辩小组成员签字:

摘 要

数字滤波技术是数字信号处理的一个重要组成部分,滤波器的设计是信号处理的核心问题之一。数字滤波器是具有一定传输特性的数字信号处理装置,其输入输出都是离散的数字信号,借助于数字器件或一定的数值计算方法,对输入信号进行处理,改变输入信号的波形或频谱,达到保留信号中有用成分去除无用成分的目的。实际应用中,数字滤波器往往作为模拟滤波器的一个组成部分。

本文介绍了有限冲激响应(FIR)数字滤波器的设计、结构以及原理,根据FIR滤波器的原理,着重介绍了FIR滤波器的窗函数设计法,给出了在MATLAB环境下,用FIR滤波器的过程和设计实例。仿真结果表明,设计的FIR滤波器的各项性能指标均达到了指定要求,设计过程简便易行。该方法为快速、高效地设计FIR滤波器提供了一个可靠而有效的途径。

关键词:数字滤波器;有限冲激响应FIR;窗函数设计法;MATLAB

Abstract

Digital filtering technique is an important component of digital signal processing.The

design of filter is one of the core problems in signal processing. Summary digital filter is a

certain transport characteristics of digital signal processing electronics, its input and output

are discrete digital signal, with the help of digital device or certain numerical calculation

methods, on the input signal processing, changing the input signal waveform or spectrum,

reaches a retention signal removal of unwanted in useful component composition. Real

applications, digital filters are often used as an integral part of the analog filter.

This paper introduces the devision ,structure and principle of FIR digital

filters.According to the principle of FIR filters, window function design method and

frequency sampling method Park-McClellan of the FIR filters are introduced.In the

environment of MATLAB ,design process of FIR filters and design examples are introduced

with three methods. The simulation results show that, the design of FIR filters of various

performance indicators have reached specified requirements, design process is simple and

easy. This method is rapid and efficient which provides a reliable and efficient way for FIR

filter.

Key words:digital filter;FIR;window;MATLAB

目 录

1. 绪论 ....................................................... 1

1.1. 数字滤波器 ........................................................... 1

1.2. 数字滤波器的概述 ..................................................... 1

1.3. 研究目的和意义 ....................................................... 1

2. FIR数字滤波器的简介 ........................................ 3

2.1. FIR数字滤波器的概念 ................................................. 3

2.2. FIR数字滤波器的工作原理 ............................................. 3

2.3. FIR数字滤波器的种类 ................................................. 3

2.4. FIR数字滤波器的特点 ................................................. 3

2.5. FIR数字滤波器的设计原理 ............................................. 4

3. FIR数字滤波器的设计 ........................................ 5

3.1. 频率抽样设计法设计FIR滤波器简介 ..................................... 5

3.2. 等波纹最佳逼近法设计简介 ............................................. 5

3.3. 窗函数法设计FIR滤波器介绍 ........................................... 6

4. 利用窗函数法设计FIR数字滤波器 .............................. 9

4.1. 基本原理分析 ......................................................... 9

4.2. 窗函数设计方法 ....................................................... 9

4.3. 设计实例 ............................................................ 12

4.4. 窗函数法计算中的主要问题 ............................................ 13

5. MATLAB简介与数字滤波器的MATLAB实现 ....................... 15

5.1. MATLAB软件及其公司简介 ............................................. 15

5.1.1. MATLAB简介 ....................................................... 15

5.1.2. MATLAB发展历程 ................................................... 15

5.1.3. MATLAB 2012b 版新增功能 ........................................... 15

5.2. MATLAB实现FIR数字滤波器 ........................................... 15

5.2.1. MATLAB实现FIR数字滤波器的设计过程 ............................... 15

5.2.2. 程序流程图及程序 .................................................. 16

5.2.3. 程序运行结果图 .................................................... 20

5.3. Sumilink仿真 ....................................................... 23

5.4. 结果与分析 .......................................................... 28

5.4.1. MATLAB的“.m”文件实现窗函数法设计FIR数字滤波器 ................. 28

5.4.2. MATLAB的Simulink仿真实现窗函数法设计FIR数字滤波器 .............. 28