版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、IIR Digital Filter Design An important step in the development of a digital filter is the determination of a realizable transfer function G(z) approximating the given frequency response specifications. If an IIR filter is desired,it is also necessary to ensure that G(z) is stable. The process of der
2、iving the transfer function G(z) is called digital filter design. After G(z) has been obtained, the next step is to realize it in the form of a suitable filter structure. In chapter 8,we outlined a variety of basic structures for the realization of FIR and IIR transfer functions. In this chapter,we
3、consider the IIR digital filter design problem. The design of FIR digital filters is treated in chapter 10. First we review some of the issues associated with the filter design problem. A widely used approach to IIR filter design based on the conversion of a prototype analog transfer function to a d
4、igital transfer function is discussed next. Typical design examples are included to illustrate this approach. We then consider the transformation of one type of IIR filter transfer function into another type, which is achieved by replacing the complex variable z by a function of z. Four commonly use
5、d transformations are summarized. Finally we consider the computer-aided design of IIR digital filter. To this end, we restrict our discussion to the use of matlab in determining the transfer functions. 9.1 preliminary considerations There are two major issues that need to be answered before one can
6、 develop the digital transfer function G(z). The first and foremost issue is the development of a reasonable filter frequency response specification from the requirements of the overall system in which the digital filter is to be employed. The second issue is to determine whether an FIR or IIR digit
7、al filter is to be designed. In the section ,we examine these two issues first . Next we review the basic analytical approach to the design of IIR digital filters and then consider the determination of the filter order that meets the prescribed specifications. We also discuss appropriate scaling of
8、the transfer function. 9.1.1 Digital Filter Specifications As in the case of the analog filter,either the magnitude and/or the phase(delay) response is specified for the design of a digital filter for most applications. In some situations, the unit sample response or step response may be specified.
9、In most practical applications, the problem of interest is the development of a realizable approximation to a given magnitude response specification. As indicated in section 4.6.3, the phase response of the designed filter can be corrected by cascading it with an allpass section. The design of allpa
10、ss phase equalizers has received a fair amount of attention in the last few years. We restrict our attention in this chapter to the magnitude approximation problem only. We pointed out in section 4.4.1 that there are four basic types of filters,whose magnitude responses are shown in Figure 4.10. Sin
11、ce the impulse response corresponding to each of these is noncausal and of infinite length, these ideal filters are not realizable. One way of developing a realizable approximation to these filter would be to truncate the impulse response as indicated in Eq.(4.72) for a lowpass filter. The magnitude
12、 response of the FIR lowpass filter obtained by truncating the impulse response of the ideal lowpass filter does not have a sharp transition from passband to stopband but, rather, exhibits a gradual roll-off. Thus, as in the case of the analog filter design problem outlined in section 5.4.1, the mag
13、nitude response specifications of a digital filter in the passband and in the stopband are given with some acceptable tolerances. In addition, a transition band is specified between the passband and the stopband to permit the magnitude to drop off smoothly. For example, the magnitude of a lowpass fi
14、lter may be given as shown in Figure 7.1. As indicated in the figure, in the passband defined by 0, we require that the magnitude approximates unity with an error of ,i.e., .In the stopband, defined by ,we require that the magnitude approximates zero with an error of .e., for .The frequencies and ar
15、e , respectively, called the passband edge frequency and the stopband edge frequency. The limits of the tolerances in the passband and stopband, and , are usually called the peak ripple values. Note that the frequency response of a digital filter is a periodic function of ,and the magnitude response
16、 of a real-coefficient digital filter is an even function of . As a result, the digital filter specifications are given only for the range . Digital filter specifications are often given in terms of the loss function, in dB. Here the peak passband ripple and the minimum stopband attenuation are give
17、n in dB,i.e., the loss specifications of a digital filter are given by , . 9.1 Preliminary Considerations As in the case of an analog lowpass filter, the specifications for a digital lowpass filter may alternatively be given in terms of its magnitude response, as in Figure 7.2. Here the maximum valu
18、e of the magnitude in the passband is assumed to be unity, and the maximum passband deviation, denoted as 1/,is given by the minimum value of the magnitude in the passband. The maximum stopband magnitude is denoted by 1/A. For the normalized specification, the maximum value of the gain function or t
19、he minimum value of the loss function is therefore 0 dB. The quantity given by Is called the maximum passband attenuation. For 1, as is typically the case, it can be shown that The passband and stopband edge frequencies, in most applications, are specified in Hz, along with the sampling rate of the
20、digital filter. Since all filter design techniques are developed in terms of normalized angular frequencies and ,the sepcified critical frequencies need to be normalized before a specific filter design algorithm can be applied. Let denote the sampling frequency in Hz, and FP and Fs denote, respectiv
21、ely,the passband and stopband edge frequencies in Hz. Then the normalized angular edge frequencies in radians are given by 9.1.2 Selection of the Filter Type The second issue of interest is the selection of the digital filter type,i.e.,whether an IIR or an FIR digital filter is to be employed. The o
22、bjective of digital filter design is to develop a causal transfer function H(z) meeting the frequency response specifications. For IIR digital filter design, the IIR transfer function is a real rational function of . H(z)=Moreover, H(z) must be a stable transfer function, and for reduced computation
23、al complexity, it must be of lowest order N. On the other hand, for FIR filter design, the FIR transfer function is a polynomial in :For reduced computational complexity, the degree N of H(z) must be as small as possible. In addition, if a linear phase is desired, then the FIR filter coefficients mu
24、st satisfy the constraint: T here are several advantages in using an FIR filter, since it can be designed with exact linear phase and the filter structure is always stable with quantized filter coefficients. However, in most cases, the order NFIR of an FIR filter is considerably higher than the orde
25、r NIIR of an equivalent IIR filter meeting the same magnitude specifications. In general, the implementation of the FIR filter requires approximately NFIR multiplications per output sample, whereas the IIR filter requires 2NIIR +1 multiplications per output sample. In the former case, if the FIR fil
26、ter is designed with a linear phase, then the number of multiplications per output sample reduces to approximately (NFIR+1)/2. Likewise, most IIR filter designs result in transfer functions with zeros on the unit circle, and the cascade realization of an IIR filter of order with all of the zeros on
27、the unit circle requires (3+3)/2 multiplications per output sample. It has been shown that for most practical filter specifications, the ratio NFIR/NIIR is typically of the order of tens or more and, as a result, the IIR filter usually is computationally more efficientRab75. However ,if the group de
28、lay of the IIR filter is equalized by cascading it with an allpass equalizer, then the savings in computation may no longer be that significant Rab75. In many applications, the linearity of the phase response of the digital filter is not an issue,making the IIR filter preferable because of the lower
29、 computational requirements. 9.1.3 Basic Approaches to Digital Filter Design In the case of IIR filter design, the most common practice is to convert the digital filter specifications into analog lowpass prototype filter specifications, and then to transform it into the desired digital filter transf
30、er function G(z). This approach has been widely used for many reasons:(a) Analog approximation techniques are highly advanced.(b) They usually yield closed-form solutions.(c) Extensive tables are available for analog filter design.(d) Many applications require the digital simulation of analog filter
31、s.In the sequel, we denote an analog transfer function as ,Where the subscript a specifically indicates the analog domain. The digital transfer function derived form Ha(s) is denoted by The basic idea behind the conversion of an analog prototype transfer function Ha(s) into a digital IIR transfer fu
32、nction G(z) is to apply a mapping from the s-domain to the z-domain so that the essential properties of the analog frequency response are preserved. The implies that the mapping function should be such that (a) The imaginary(j) axis in the s-plane be mapped onto the circle of the z-plane.(b) A stabl
33、e analog transfer function be transformed into a stable digital transfer function.To this end,the most widely used transformation is the bilinear transformation described in Section 9.2. Unlike IIR digital filter design,the FIR filter design does not have any connection with the design of analog fil
34、ters. The design of FIR filter design does not have any connection with the design of analog filters. The design of FIR filters is therefore based on a direct approximation of the specified magnitude response,with the often added requirement that the phase response be linear. As pointed out in Eq.(7
35、.10), a causal FIR transfer function H(z) of length N+1 is a polynomial in z-1 of degree N. The corresponding frequency response is given by .It has been shown in Section 3.2.1 that any finite duration sequence xn of length N+1 is completely characterized by N+1 samples of its discrete-time Fourier
36、transfer X(). As a result, the design of an FIR filter of length N+1 may be accomplished by finding either the impulse response sequence hn or N+1 samples of its frequency response . Also, to ensure a linear-phase design, the condition of Eq.(7.11) must be satisfied. Two direct approaches to the des
37、ign of FIR filters are the windowed Fourier series approach and the frequency sampling approach. We describe the former approach in Section 7.6. The second approach is treated in Problem 7.6. In Section 7.7 we outline computer-based digital filter design methods.作者:Sanjit K.Mitra国籍:USA出处:Digital Sig
38、nal Processing -A Computer-Based Approach 3eIIR数字滤波器的设计 在一个数字滤波器发展的重要步骤是可实现的传递函数G(z)的接近给定的频率响应规格。如果一个IIR滤波器是理想,它也有必要确保了G(z)是稳定的。该推算传递函数G(z)的过程称为数字滤波器的设计。然后G(z)有所值,下一步就是实现在一个合适的过滤器结构形式。在第8章,我们概述了为转移的FIR和IIR的各种功能的实现基本结构。在这一章中,我们考虑的IIR数字滤波器的设计问题。FIR数字滤波器的设计是在第10章处理。 首先,我们回顾与滤波器设计问题相关的一些问题。一种广泛使用的方法来设计I
39、IR滤波器的基础上,传递函数原型模拟到数字的转换传递函数进行了讨论下一步。典型的设计实例来说明这种方法。然后,我们考虑到另一种类型,它是由一个函数代替复杂的变量z达到了一个IIR滤波器的传递函数z的类型转换四种常用的转换进行了总结。最后,我们考虑的IIR计算机辅助设计数字滤波器。为此,我们限制我们讨论了MATLAB在确定传递函数的使用。9.1初步考虑有两个需要先有一个回答可以发展数字传递函数G(z)的重大问题。首要的问题是一个合理的滤波器的频率响应规格从整个系统中数字滤波器将被雇用的要求发展。第二个问题是要确定的FIR或IIR数字滤波器是设计。在一节中,我们首先检查了这两个问题。接下来,我们回
40、顾到的IIR数字滤波器设计的基本分析方法,然后再考虑过滤器的顺序符合规定的规格测定。我们还讨论了传递函数适当的调整。9.1.1数字过滤器的规格如过滤器的模拟案件,无论是规模和/或相位(延迟)响应对于大多数应用程序指定一个数字滤波器for the设计。在某些情况下,单位采样响应或阶跃响应可能被指定。在大多数实际应用中,利益问题是一个变现逼近一个给定的幅度响应的规范发展。如第4.6.3所示,所设计的滤波器可以通过级联与全通区段纠正相位响应。全通相位均衡器的设计接受了最近几年,相当数量的关注。 我们在这方面限制的幅度逼近问题的唯一一章我们的注意。我们指出,在第4.4.1节指出,有四个过滤器,其大小,
41、如图4.10所示的反应基本类型。由于脉冲响应对应于所有这些都是非因果和无限长,这些过滤器是尚未实现的理想。一个发展一个变现的近似值,这些过滤器的方法是截断的脉冲响应,如式所示。(4.72)为低通滤波器。该FIR低幅度响应滤波器得到截断的理想低通滤波器,从没有一个通带过渡到阻带尖脉冲响应,而是呈现出逐步“滚降。” 因此,正如在模拟滤波器设计5.4.1节中所述的问题情况下,在通带数字滤波器和阻带幅频响应规格给予一些可接受的公差。此外,指定一个过渡带之间的通带和阻带允许的幅度下降顺利。例如,一个低通滤波器的幅度可能得到如图7.1所示。正如在图中定义的通带0,我们要求的幅度接近同一个,即错误的团结,
42、。在界定的阻带,我们要求的幅度接近零与一的错误。大肠杆菌, 为。的频率,并分别被称为通带边缘频率和阻带边缘频率。在通带和阻带,并且,公差的限制,通常称为峰值纹波值。请注意,数字滤波器的频率响应是周期函数,以及幅度响应的实时数字滤波器系数是一个偶函数的。因此,数字滤波规格只给出了范围。数字滤波器的规格,常常给在功能上的损失分贝,。在这里,通带纹波和峰值最小阻带衰减给出了分贝,也就是说,数字滤波器,给出的损失规格,。9.1初步设想正如在一个模拟低通滤波器的情况下,一个数字低通滤波器的规格可能或者给予其规模在反应方面,如图7.2。在这里,在通带内规模最大的价值被假定为团结,最大通带偏差,表示为1 /
43、,是由通带中的最低值所规模。阻带的最大震级是指由1 /答对于标准化规格,增益功能或损失函数的最小值最大值,因此分贝。给予的数量被称为最大通带衰减。1,由于通常情况下,它可以证明通带和阻带边缘频率在大多数应用中,被指定为Hz,随着数字滤波器的采样率。由于所有的过滤器设计技术的规范化发展和角频率来看,临界频率的sepcified之前需要一个特定的过滤器设计算法可以应用于正常化。让表示,在赫兹采样频率,计划生育和Fs分别表示,在通带和阻带的边缘在赫兹频率。然后正常化弧度角频率都是通过边9.1.2过滤器类型的选择利息的第二个问题是数字滤波器的类型,即选择,无论是原居民或FIR数字滤波器将被雇用。数字滤
44、波器的设计目标是建立一个因果传递函数H(z)的频率响应规格会议。对于IIR数字滤波器的设计,即原传递函数是一个真正合理的功能。 的H(z)的=此外,高(z)的必须是一个稳定的传输功能,并减少了计算的复杂性,它必须以最低的全是另一方面,对FIR滤波器的设计,区传递函数是一个多项式: 为了降低计算复杂度,n次的H(z)的,必须尽可能的小。此外,如果是理想的线性相位,然后将FIR滤波器系数必须满足的约束: 所以采用FIR滤波器的几个优点,因为它可以被设计成精确线性相位滤波器的结构和量化滤波器系数总是与稳定。然而,在大多数情况下,为了NFIR一个FIR滤波器是大大高于同等IIR滤波器会议同样大小的规格
45、为NIIR高。在一般情况下,FIR滤波器的实现需要每个输出样本约NFIR乘法,而每IIR滤波器2NIIR一输出示例乘法要求。在前者情况下,如果FIR滤波器的设计与线性阶段,那么每个输出的采样乘法次数减少到大约(NFIR +1)/ 2。同样,多数IIR滤波器的设计结果与单位圆上的传递函数零,而级联的IIR滤波器实现秩序与单位圆上的零点都需要(3 +3)/ 2乘法每个输出样本。它已被证明是最实用的过滤器的规格,比NFIR / NIIR通常为几十或更多的订单,并作为结果,计算IIR滤波器通常是更有效Rab75。但是,如果IIR滤波器的群延迟是由全通均衡器级联与它扳平,然后在计算储蓄可能不再是显着Ra
46、b75。在许多应用中,该数字滤波器的相位响应线性不是问题,使IIR滤波器因为较低的计算要求可取。9.1.3数字滤波器设计的基本方法在IIR滤波器的设计中,最常见的做法是将其转换成模拟低通原型滤波器规格的数字过滤器的规格,然后转换成所需的数字滤波器的传递函数的G(z)的。这种方法已广泛应用于许多原因:(a)模拟技术是非常先进的逼近。(b)他们通常产量封闭形式的解决方案。(c)广泛用于模拟表滤波器设计提供。(d)许多应用需要模拟滤波器数字仿真。在续集中,我们记一个模拟的传递函数为,其中,下标“一”明确表示模拟域。数字传递函数导出的形式下(s)是由记背后的传递函数模拟原型哈(s)转换成数字原居民的基
47、本思想传递函数G(z)是一个适用于从S -域映射到Z域,使模拟频率的基本属性响应将被保留。在暗示,映射函数应该是这样的:虚(j)在s平面轴映射到的Z平面圆。一个稳定的信号传递函数转化为一个稳定的数字传输功能。为此,使用最广泛的变革是双线性变换在9.2节中所述。 不像IIR数字滤波器设计,FIR滤波器的设计没有任何的模拟滤波器的设计连接。作者:Sanjit K.Mitra国籍:USA出处:Digital Signal Processing -A Computer-Based Approach 3e FIR Digital Filter Design In chapter 9 we conside
48、red the design of IIR digital filters. For such filters, it is also necessary to ensure that the derived transfer function G(z) is stable. On the other hand, in the case of FIR digital filter design,the stability is not a design issue as the transfer function is a polynomial in z-1 and is thus alway
49、s guaranteed stable. In this chapter, we consider the FIR digital filter design problem. Unlike the IIR digital filter design problem, it is always possible to design FIR digital filters with exact linear-phase. First ,we describe a popular approach to the design of FIR digital filters with linear-p
50、hase. We then consider the computer-aided design of linear-phase FIR digital filters. To this end, we restrict our discussion to the use of matlab in determining the transfer functions. Since the order of the FIR transfer function is usually much higher than that of an IIR transfer function meeting
51、the same frequency response specifications, we outline two methods for the design of computationally efficient FIR digital filters requiring fewer multipliers than a direct form realization. Finally, we present a method of designing a minimum-phase FIR digital filter that leads to a transfer functio
52、n with smaller group delay than that of a linear-phase equivalent. The minimum-phase FIR digital filter is thus attractive in applications where the linear-phase requirement is not an issue. 10.1 preliminary considerations In this section,we first review some basic approaches to the design of FIR di
53、gital filters and the determination of the filter order to meet the prescribed specifications. 10.1.1 Basic Approaches to FIR Digital Filter DesignUnlike IIR digital filter design, FIR filter design does not have any connection with the design of analog filters. The design of FIR filters is therefor
54、e based on a direct approximation of the specified magnitude response,with the often added requirement that the phase response be linear. Recall a causal FIR transfer function H(z) of length N+1 is a polynomial in z-1 of degree N: (10.1)The corresponding frequency response is given by (10.2)It has b
55、een shown in section 5.3.1 that any finite duration sequence xn of length N+1 is completely characterized by N+1 samples of its discrete-time Fourier transform X. As a result, the design of an FIR filter of length N+1 can be accomplished by finding either the impulse response sequence hn or N+1 samp
56、les of its frequency response H. Also ,to ensure a linear-phase design, the condition ,must be satisfied. Two direct approaches to the design of FIR filters are the windowed Fourier series approach and the frequency sampling approach. We describe the former approach in Section 10.2. The second appro
57、ach is treated in Problems 10.31 and 10.32. In section 10.3, we outline computer-based digital filter design methods.10.1.2 Estimation of the Filter Order After the type of the digital filter has selected, the next step in the filter design process is to estimate the filter order should be the smallest integer greater than or equal to the estimated value.FIR Digital Filter Order Estimation For the design of lowpass FIR digital filters, several authors have advanced
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2024年规范卖方购销协议法律模板版
- 地下车位购置协议模板2024年
- 2024专业涉外贷款协议法律文件版
- 电子配送合同模板
- 留学保证合同模板
- 淘宝店进货合同模板
- 学校钢琴采购合同模板
- 饮料市场运营合同模板
- 增值服务新增合同模板
- 罗湖生鲜配送合同模板
- 2024年移动网格长认证考试题库大全及答案
- 2024-2030年中国机械计数器行业应用动态与发展前景预测报告
- 湖南省湘楚名校联考2024-2025学年高三上学期8月月考英语试题
- 个人不再信访承诺书
- 2024年交通运输行政执法资格考试试题
- 2024年山西航空产业集团限公司校园招聘(高频重点提升专题训练)共500题附带答案详解
- 承包蟹塘合同
- SL-T+62-2020水工建筑物水泥灌浆施工技术规范
- ISO9001、ISO14001和ISO45001质量环境及职业健康安全三个体系的对比
- 住院医师临床能力考核(体格检查部分)评分表(医院医生用表)
- 2024年5月上海市普通高中学业水平等级性考试化学试卷(含答案)
评论
0/150
提交评论