版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、Chapter 10 FIR Digital Filter DesignPreliminary ConsiderationFIR Digital Filter Design MethodsMATLAB Functions in FIR Filter Design10.1 Preliminary ConsiderationDigital Filter SpecificationsSelection of the Filter TypeBasic Approach to FIR Digital Filter DesignFIR Digital Filter Order EstimationScal
2、ing the Digital Transfer Function10.1.1 Basic Approaches to design FIR filtersUnlike IIR digital filter design, FIR filter design does not have any connection with the design of analog filters.The design of FIR filters is based on a direct approximation of the specified magnitude response, with ofte
3、n added requirement that the phase response be linear.10.1.2 Estimation of the Filter OrderThe order (length) of G(z) is directly estimated from the digital filter specification.Several authors have advanced formulas : (1)Kaisers Formula:Estimation of the Filter Order(2)Bellangers Formula:(3) Herman
4、ns Formula:Reference P529 10.6(a-e).Estimation of the Filter OrderA Comparison of FIR Filter Order Formulas:(1)The estimated filter order N of the FIR filter is inversely proportional to the transition band width(p-s) .(2)The order of Kaisers and Bellangers formulas depends on the productpand s.The
5、comparison result is shown in P531.10.2 FIR Filter Design Based on Windowed Fourier SeriesBecause FIR filters are described by a transfer function that is a polynomial in z-1, we will use another way to design them. Methods: (1)Truncating the Fourier series representation of the prescribed frequency
6、 response. (direct and straightforward)(2)Sampling the frequency response to get the DFT of hn, and use IDFT to get hn.10.2.1 Least Integral-Squared Error Design of FIR FiltersLet Hd(ej) denotes the desired frequency response function, hdn denotes the impulse response samples, so :In most applicatio
7、n, for meeting the FR Hd(ej) requirements, hdn is infinite. Least Integral-Squared Error Design of FIR FiltersSo we want find: a Length-N, causal So:The procedure of using htn to replace hdn is called truncating or windowing. Using what approximating criterion: Minimum Integral-Squared Error.Least I
8、ntegral-Squared Error Design of FIR FiltersDefine integral-squared error:Using Parsevals relation, we get:When htn=hdn for -MnM, the R is minimum.10.2.2 Impulse Responses of Ideal FiltersIdeal lowpass filter: Ideal highpass filter:Impulse Responses of Ideal FiltersIdeal bandpass filter: Ideal bandst
9、op filter:Impulse Responses of Ideal FiltersIdeal multi-band filterImpulse Responses of Ideal FiltersHilbert transformer(90-degree phase shifter)Impulse Responses of Ideal FiltersDifferentiator:The N-point linear phase FIR with10.2.3 Gibbs Phenomenon- The Effect of Truncating the hn Gibbs phenomenon
10、 - Oscillatory behavior in the magnitude responses of causal FIR filters obtained by truncating the impulse response coefficients of ideal filterGibbs PhenomenonWiden the discontinuous position of the ideal frequency characteristics to form a transition band. In both sides of ,the H(w) have maximum
11、ripple value. Increasing the truncation-length of window can decrease the width of the transition band, but cant change the relative value of the mainlobe and sidelobe.Gibbs PhenomenonInterpretation:In time-domain:In f-domain:So ,after using a rectangular window, the spectrum of the truncated impuls
12、e response will have oscillatory behavior.Gibbs PhenomenonGibbs PhenomenonSo,we need a window:(1)Its main lobe width is as narrow as possible to ensure a fast transition from passband to stopband.(2)Reducing the relative magnitude of the maximum sidelobe to reduce the passband and stopband ripple.10
13、.2.4 Fixed Window FunctionsRectangular window00.20.40.60.81-100-80-60-40-200w/pGain, dBRectangular windowN11Fixed Window FunctionsHanning window00.20.40.60.81-100-80-60-40-200w/pGain, dBHanning windowFixed Window FunctionsHamming window:00.20.40.60.81-100-80-60-40-200w/pGain, dBHamming windowFixed W
14、indow FunctionsBlackman window:00.20.40.60.81-100-80-60-40-200w/pGain, dBBlackman windowFixed Window FunctionsMagnitude spectrum of each window characterized by a main lobe centered at w = 0 followed by a series of sidelobes with decreasing amplitudes.Parameters predicting the performance of a windo
15、w in filter design are:Main lobe width.Relative sidelobe level.Fixed Window FunctionsMain lobe width ML- given by the distance between zero crossings on both sides of main lobe.Relative sidelobe level Asl - given by the difference in dB between amplitudes of largest sidelobe and main lobe.Fixed Wind
16、ow Functions Passband and stopband ripples are the same.Thus,ObserveFixed Window FunctionsDistance between the locations of the maximum passband deviation and minimum stopband value ML.Width of transition band: w = s - p MLFixed Window FunctionsTo ensure a fast transition from passband to stopband,
17、window should have a very small main lobe width.To reduce the passband and stopband ripple d, the area under the sidelobes should be very small.Unfortunately, these two requirements are contradictory.Fixed Window FunctionsIn the case of rectangular, Hann, Hamming, and Blackman windows, the value of
18、ripple does not depend on filter length or cutoff frequency c , and is essentially constant.In addition, w c / Mwhere c is a constant for most practical purposes.Rectangular and Blackman WindowsFixed Window FunctionsProperties of some fixed window functionsType of windowsMain lobe width MLRelative s
19、idelobe level AslMinimum stopband attenuationTransition bandwidth MRectangular 4/(2M+1)13.3dB20.9dB0.92/MHann 8/(2M+1)31.5dB43.9dB3.11/MHamming8/(2M+1)42.7dB54.5dB3.32/MBlackman 12/(2M+1)75.3dB75.3dB5.56/M10.2.5 Adjustable Window FunctionsDolph-Chebyshev windowWhere: is the relative sidelobe amplitu
20、de. Adjustable Window FunctionsKaiser windowWhere:Its zero-order Bessel function, and is adjustable.So it is called adjustable windowDesign Steps for Windowed Low Pass FIR Filters(1) Choose a pass band edge frequency in Hz for the filter in the middle of the transition width: c =(p +s )/2(2) Substit
21、ute c into h1n, the infinite impulse response for an ideal low pass filter: h1n=sin(nc)/n Design Steps for Windowed Low Pass FIR Filters(3) Choose a window based on the specified, and calculate the number of nonzero window terms.(4) Calculate FIR hn from hn=h1nwn, notice the response is noncausal.(5
22、) Shift the impulse response to the right by (N-1)/2 to make the filter causal.(6) Compute to test.A Example of FIR Filter Design:Design a linear phase FIR LPF:If given the passband edge frequency p=0.2, the passband ripple is 1dB,the stopband edge frequency s=0.3 ,the minimum stopband attenuation-2
23、5dB.FIR Filter Design ExampleSpecifications: p=0.2, s=0.3 , p =1dB, s=25dBThusSo, the ideal LP impulse response is:Select a window based on table 10.2 and specifications.Because of s=25dB, select window Hann.A Example of FIR Filter Design:Calculate order N:N=2M+1=65The impulse response is:Finally, t
24、est the result.Supplement: FIR Filter Design Based on Frequency Sampling ApproachExpand the idea of window function method to frequency domain, we get frequency sampling approach in FIR filters design, that is:Find an approximation of the desired FR H(ej)in frequency domain. Basic Idea of Frequency Sampling ApproachNote:Hk must satisfy constraint that the FIR filter is linear phase.Use to approximate the desired frequency response , then from: we can get the length-N impulse response hn of the FIR filter.Design Steps:(1)From ide
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 科技驱动农产品电商
- 科技农业投资视角
- 专业房产经纪服务协议2024版范本版
- 二零二四宇通客车零部件销售代理及市场拓展合作协议3篇
- 2025年度电商新零售线下体验店合作合同3篇
- 专业销售服务协议书2024年3篇
- 2025年度跨境电商物流中心场地承包经营合同4篇
- 2025年度航空航天复合材料加工技术合同4篇
- 2025年度茶楼装修工程合同标准样本8篇
- 2025年度教育机构场地租赁保证金合同8篇
- 2024版塑料购销合同范本买卖
- 【高一上】【期末话收获 家校话未来】期末家长会
- JJF 2184-2025电子计价秤型式评价大纲(试行)
- GB/T 44890-2024行政许可工作规范
- 有毒有害气体岗位操作规程(3篇)
- 二年级下册加减混合竖式练习360题附答案
- 吞咽解剖和生理研究
- TSG11-2020 锅炉安全技术规程
- 汽轮机盘车课件
- 异地就医备案个人承诺书
- 苏教版五年级数学下册解方程五种类型50题
评论
0/150
提交评论