Parks-McClellan FIR Filter Design

Slides:



Advertisements
Similar presentations
Chapter 8. FIR Filter Design
Advertisements

Hossein Sameti Department of Computer Engineering Sharif University of Technology.
Nonrecursive Digital Filters
EE513 Audio Signals and Systems Digital Signal Processing (Synthesis) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
Hossein Sameti Department of Computer Engineering Sharif University of Technology.
Equiripple Filters A filter which has the Smallest Maximum Approximation Error among all filters over the frequencies of interest: Define: where.
Filtering Filtering is one of the most widely used complex signal processing operations The system implementing this operation is called a filter A filter.
Ideal Filters One of the reasons why we design a filter is to remove disturbances Filter SIGNAL NOISE We discriminate between signal and noise in terms.
LINEAR-PHASE FIR FILTERS DESIGN
Chapter 8 FIR Filter Design
AGC DSP AGC DSP Professor A G Constantinides 1 Digital Filter Specifications Only the magnitude approximation problem Four basic types of ideal filters.
EEE422 Signals and Systems Laboratory Filters (FIR) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
ELEN 5346/4304 DSP and Filter Design Fall Lecture 11: LTI FIR filter design Instructor: Dr. Gleb V. Tcheslavski Contact:
Relationship between Magnitude and Phase (cf. Oppenheim, 1999)
Practical Signal Processing Concepts and Algorithms using MATLAB
Sampling Theorem, frequency resolution & Aliasing The Sampling Theorem will be the single most important constraint you'll learn in computer-aided instrumentation.
Introduction to estimation theory Seoul Nat’l Univ.
1 Diagramas de bloco e grafos de fluxo de sinal Estruturas de filtros IIR Projeto de filtro FIR Filtros Digitais.
1 Lecture 5: March 20, 2007 Topics: 1. Design of Equiripple Linear-Phase FIR Digital Filters (cont.) 2. Comparison of Design Methods for Linear- Phase.
Filter Design Techniques
Zhongguo Liu_Biomedical Engineering_Shandong Univ. Biomedical Signal processing Chapter 7 Filter Design Techniques Zhongguo Liu Biomedical.
FIR Digital Filter Design
DSP-CIS Chapter-4: FIR & IIR Filter Design Marc Moonen Dept. E.E./ESAT, KU Leuven
EE Audio Signals and Systems Digital Signal Processing (Synthesis) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
IIR Filter design (cf. Shenoi, 2006) The transfer function of the IIR filter is given by Its frequency responses are (where w is the normalized frequency.
1 BIEN425 – Lecture 11 By the end of the lecture, you should be able to: –Design and implement FIR filters using frequency-sampling method –Compare the.
Digital Signal Processing FIR Filter Design
Copyright ©2010, ©1999, ©1989 by Pearson Education, Inc. All rights reserved. Discrete-Time Signal Processing, Third Edition Alan V. Oppenheim Ronald W.
1 Chapter 7 Filter Design Techniques (cont.). 2 Optimum Approximation Criterion (1)  We have discussed design of FIR filters by windowing, which is straightforward.
Lecture 10: IIR Filter Designs XILIANG LUO 2014/11 1.
Dan Ellis 1 ELEN E4810: Digital Signal Processing Topic 9: Filter Design: FIR 1.Windowed Impulse Response 2.Window Shapes 3.Design by Iterative.
1 Lecture 3: March 6, 2007 Topic: 1. Frequency-Sampling Methods (Part I)
Curve-Fitting Regression
Lecture 11: FIR Filter Designs XILIANG LUO 2014/11 1.
1 Chapter 7 FIR Filter Design Techniques. 2 Design of FIR Filters by Windowing (1)  We have discussed techniques for the design of discrete-time IIR.
Fundamentals of Digital Signal Processing. Fourier Transform of continuous time signals with t in sec and F in Hz (1/sec). Examples:
Chapter 7 Finite Impulse Response(FIR) Filter Design
1 Introduction to Digital Filters Filter: A filter is essentially a system or network that selectively changes the wave shape, amplitude/frequency and/or.
FIR Filter Design & Implementation
Advisor : 高永安 Student : 陳志煒
Chapter 9-10 Digital Filter Design. Objective - Determination of a realizable transfer function G(z) approximating a given frequency response specification.
Chapter 7. Filter Design Techniques
1 Digital Signal Processing Digital Signal Processing  IIR digital filter structures  Filter design.
Design of FIR Filters. 3.1 Design with Least Squared Error Error Criterion.
Summary of Widowed Fourier Series Method for Calculating FIR Filter Coefficients Step 1: Specify ‘ideal’ or desired frequency response of filter Step 2:
CHAPTER 5 Digital Processing of Continuous- Time Signal Wangweilian School of Information Science and Technology Yunnan University.
The IIR FILTERs These are highly sensitive to coefficients,
Optimum Approximation of FIR Filters Quote of the Day There are three kinds of lies: lies, damned lies, and statistics. Benjamin Disraeli Content and Figures.
DISP 2003 Lecture 5 – Part 1 Digital Filters 1 Frequency Response Difference Equations FIR versus IIR FIR Filters Properties and Design Philippe Baudrenghien,
Lecture 09b Finite Impulse Response (FIR) Filters
Finite Impulse Response Filtering EMU-E&E Engineering Erhan A. Ince Dec 2015.
EEE4176 Application of Digital Signal Processing
DSP-CIS Part-II / Chapter-4 : Filter Design Marc Moonen Dept. E.E./ESAT-STADIUS, KU Leuven
2/17/2007DSP Course-IUST-Spring Semester 1 Digital Signal Processing Electrical Engineering Department Iran University of Science & Tech.
Professor A G Constantinides 1 Digital Filter Specifications We discuss in this course only the magnitude approximation problem There are four basic types.
IIR Filter design (cf. Shenoi, 2006)
Lecture: IIR Filter Design
EEE422 Signals and Systems Laboratory
IIR Filters FIR vs. IIR IIR filter design procedure
J McClellan School of Electrical and Computer Engineering
Fourier Series FIR About Digital Filter Design
LINEAR-PHASE FIR FILTERS DESIGN
لجنة الهندسة الكهربائية
MMSE Optimal Design: The Least Squares method
Ideal Filters One of the reasons why we design a filter is to remove disturbances Filter SIGNAL NOISE We discriminate between signal and noise in terms.
Lecture 16a FIR Filter Design via Windowing
Chapter 7 FIR Digital Filter Design
Chapter 7 Finite Impulse Response(FIR) Filter Design
ELEN E4810: Digital Signal Processing Topic 9: Filter Design: FIR
Chapter 7 Finite Impulse Response(FIR) Filter Design
Presentation transcript:

Parks-McClellan FIR Filter Design Islamic University-Gaza Faculty Of Engineering Electrical and Computer dep. Parks-McClellan FIR Filter Design Done By: Eman R.El-Taweel Maysoon A. Abu Shamla Submitted to: Dr.Hatem El-Aydi 2nd May 2007.

Contents Introduction. Parks- McClellan. must there be a transition band using P-MC. Parks- McClellan Method. P-Mc design of FIR using Matlab. Remez exchange algorithm. Simulation. Approximation Errors. Minimax Design. Formal Statement of the L-∞ (Minimax) Design Problem Alternation Theorem. L-∞ Optimal Lowpass Filter Design Lemma The Method. Comments . Conclusion.

Introduction … Kaiser filters are not guaranteed to be the minimum length filter which meets the design constraints. Kaiser filters do not allow passband and stopband ripple to be varied independently. Minimizing filter length is important.

Parks-McClellan filter

Parks- McClellan Often called the Remez exchange method. This method designs an optimal linear phase filter. This is the standard method for FIR filter design. This methodology for designing symmetric filters that minimize filter length for a particular set of design constraints {ωp, ωs, δ p, δ s}.

Continue … In Matlab, this method is available as remez(). The computational effort is linearly proportional to the length of the filter. In Matlab, this method is available as remez().

Now the question is must there be a transition band using P-MC ???

The answer … Yes, when the desired response is discontinues. Since the frequency response of a finite length filter must be continuous. Without a transition band the worst-case error could be no less than half the discontinuity.

Parks- McClellan Method The resulting filters minimize the maximum error between the desired frequency response and the actual frequency response by spreading the approximation error uniformly over each band. Such filters that exhibit equiripple behavior in both the passband and the stopband, and are sometimes called equiripple filters.

P-Mc design of FIR using Matlab Use the (remezord) command to estimate the order of the optimal P-Mc FIR filter. The syntax of the command is as follows: [n,fo,mo,w]=remezord(f,m,dev) f:the vector of band frequencies. m:the vector of desired magnitude. dev:max. devotion of the magnitude response. b= remez(n,fo,mo) H(z) = b(1) + b(2)z-1 + b(3)z-2 + · · · + b(n + 1)z-n

Simulation …

Graph the desired and actual frequency responses of a 17th-order Parks-MC bandpass filter

Approximation Errors From the theory of the Fourier series, the rectangular window design method gives the best mean square (L 2) approximation to a desired frequency response for a given filter length M.

Minimax Design simple truncation leads to adverse behavior near discontinuity's and in the stop band. Better filters generally result from minimization of the maximum error (L∞ ) or a frequency weighed error criterion.

Formal Statement of the L-∞ (Minimax) Design Problem For a given filter length (M) and type (odd length, symmetric, linear phase, a relative error weighting function W (ω)

Alternation Theorem The polynomial of degree L that minimizes the maximum error will have at least L+2 extrema. The optimal frequency response will just touch the maximum ripple bounds. Extrema must occur at the pass and stop band edges and at either ω=0 or π or both. The derivative of a polynomial of degree L is a polynomial of degree L-1, which can be zero in at most L-1 places. So the maximum number of local extrema is the L-1 local extrema plus the 4 band edges. That is L+3.

Continue… The alternation theorem doesn’t directly suggest a method for computing the optimal filter. What we need is an intelligent way of guessing the optimal filters coefficients.

L-∞ Optimal Lowpass Filter Design Lemma The maximum possible number of alternations for a lowpass filter is L + 3. There must be an alternation at either ω = 0 or ω=π Alternations must occur at ωp and ωs. The filter must be equiripple except at possibly ω = 0 or ω=π.

The Method Boundary points are from the band edge specifications. At least 3 of these points must be extreme. We know how many local extrema there are from the estimated filter length (Harris formula or similar) but we don’t know their positions. Guess the positions of the extrema are evenly spaced in the pass and stop bands. Perform polynomial interpolation and reestimate positions of local extrema. Move extrema to new positions and iterate until the extrema stop shifting.

الرسمة

Remez exchange algorithm …

Comments Given the positions of the extrema, there exists a formula for the optimum δ. However we don’t know the optimum δ nor the exact positions of the extrema. Thus we need to iterate. Assume the positions of the extrema, calculate δ, move the extrema, recalculate δ, until δ stops changing. The algorithm generally converges in about 12 iteration.

Conclusion Disadvantages of Kaizer window. The parks McClellan method is the best method to achieve the desired impulse response with least error . we achieved L-∞ Optimal Lowpass Filter Design. Simulation using Matlab for optimal filter design .