J McClellan School of Electrical and Computer Engineering

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
Parks-McClellan FIR Filter Design
EECS 20 Chapter 9 Part 21 Convolution, Impulse Response, Filters Last time we Revisited the impulse function and impulse response Defined the impulse (Dirac.
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:
Lecture 9 FIR and IIR Filter design using Matlab
Practical Signal Processing Concepts and Algorithms using MATLAB
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.
Chapter 7 IIR Filter Design
Filter Design Techniques
Zhongguo Liu_Biomedical Engineering_Shandong Univ. Biomedical Signal processing Chapter 7 Filter Design Techniques Zhongguo Liu Biomedical.
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.
MATLAB for Signal Processing The MathWorks Inc. Natick, MA USA Filter Design.
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.
Functional Brain Signal Processing: EEG & fMRI Lesson 3 Kaushik Majumdar Indian Statistical Institute Bangalore Center M.Tech.
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.
Dan Ellis 1 ELEN E4810: Digital Signal Processing Topic 9: Filter Design: FIR 1.Windowed Impulse Response 2.Window Shapes 3.Design by Iterative.
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
Chapter 9-10 Digital Filter Design. Objective - Determination of a realizable transfer function G(z) approximating a given frequency response specification.
2/17/2007DSP Course-IUST-Spring Semester 1 Digital Signal Processing Electrical Engineering Department Iran University of Science & Tech.
1 Digital Signal Processing. 2 Digital Signal Processing Topic 6: Filters-Introduction 1. Simple Filters 2. Ideal Filters 3. Linear Phase and FIR filter.
Chapter 7. Filter Design Techniques
1 Digital Signal Processing Digital Signal Processing  IIR digital filter structures  Filter design.
First-Order System Revisited
Signals and Systems Filter Design. Part III Design.
Design of FIR Filters. 3.1 Design with Least Squared Error Error Criterion.
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,
EC1358 – DIGITAL SIGNAL PROCESSING
EEE4176 Application of Digital Signal Processing
DSP-CIS Part-II / Chapter-4 : Filter Design Marc Moonen Dept. E.E./ESAT-STADIUS, KU Leuven
Professor A G Constantinides 1 Digital Filter Specifications We discuss in this course only the magnitude approximation problem There are four basic types.
DSP First, 2/e Lecture 16 DTFT Properties. June 2016 © , JH McClellan & RW Schafer 2 License Info for DSPFirst Slides  This work released under.
IIR Filter design (cf. Shenoi, 2006)
Lecture: IIR Filter Design
EEE422 Signals and Systems Laboratory
IIR Filters FIR vs. IIR IIR filter design procedure
Fourier Series FIR About Digital Filter Design
LINEAR-PHASE FIR FILTERS DESIGN
Filter Design by Windowing
Infinite Impulse Response Filters
لجنة الهندسة الكهربائية
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
Lecture 17 DFT: Discrete Fourier Transform
Chapter 7 Finite Impulse Response(FIR) Filter Design
Signal Processing First
ELEN E4810: Digital Signal Processing Topic 9: Filter Design: FIR
Tania Stathaki 811b LTI Discrete-Time Systems in Transform Domain Ideal Filters Zero Phase Transfer Functions Linear Phase Transfer.
Finite Impulse Response Filters
Chapter 7 Finite Impulse Response(FIR) Filter Design
Presentation transcript:

ECE4270 Fundamentals of DSP Lecture Chebyshev Approximation Algorithm for FIR Design J McClellan School of Electrical and Computer Engineering Center for Signal and Image Processing Georgia Institute of Technology http://users.ece.gatech.edu/mcclella/remezLec4.pdf

Overview of Lecture Read Chapter 7 (Oppenheim-Schafer 2010): 7.7 and 7.8 The Remez exchange algorithm a.k.a. “Parks-McClellan” algorithm (1972) OPTIMAL approximation of the FIR filter Chebyshev norm approximation Alternation Theorem Equiripple Frequency Response Examples of FIR filters Lowpass, Highpass, Bandpass, Differentiators Comparison to Kaiser Window Design Method

General Frequency Selective Filter Transition width is same at each discontinuity and ripple is scaled by size of discontinuity. Can be thought of as a sum and difference ideal lowpass filters.

Example with Rectangular Window

Minimize an Error Norm Find the impulse response that minimizes the approximation error Least-squares or L2 Lp L1 L-infinity Not differentiable

Approximation in Different Norms Least-squares norm produces filters with large overshoots near the transition region. Minimizes energy in the “error” Chebyshev norm produces “equiripple” filters. Also called min-max norm

Parks and McClellan, 1972 T. W. Parks and J. H. McClellan, IEEE Trans. Circuit Theory, CT-19, pp. 189-194, March, 1972.

Remez “Remez exchange algorithm” for Chebyshev approximation was developed in the mid 1930’s. Atomic Energy Commission translated his work into english; also that of many other Russian mathematicians

The Parks McClellan Algorithm Uses the Remez exchange algorithm to iteratively find the impulse response that minimizes the maximum approximation error over a set of closed intervals in the frequency-domain. Leads to equiripple approximations that are optimum in the sense of having the smallest approximation error for a given transition width. In MATLAB, the function is remez( ), or firpm()

The Alternation Theorem Weighted approximation error: Minimize the maximum error over a disjoint set of frequencies: The optimum approximation alternates between +d and -d at least L+2 times in F. The maximum number of alternations (for LPF) is L+3.

Optimum FIR Filter Count Extremal points Chebyshev norm produces “equiripple” filters. Error “alternates” between +/- maximum error Count Extremal points

Chebyshev Polynomials Sum of cosines = Polynomial

Linear Phase Type I FIR Filter Zero-phase impulse response: Frequency response: Causal version: Four Types

Weighted Approximation Error

Exchange Algorithm Duality Search for frequencies where the error alternates between +/- maximum error. These are the EXTREMAL Frequencies d is always increasing Duality

Remez (PMc-FIR) Demo http://users.ece.gatech.edu/mcclella/matlabGUIs/

Remez (PMc-FIR) Demo

Remez (PMc-FIR) Demo

Remez (PMc-FIR) Iteration

Remez (PMc-FIR) Demo

Remez FIR Design M=17, Length=18

Remez FIR Design M=18, Length=19

Remez (PMc-FIR) Bandpass Filter

A Design Example The C-T specifications are (1/T=2000 Hz): The corresponding D-T specifications are:

Design Formula Kaiser obtained the following design formula for PMc-FIR by curve fitting many examples: MATLAB example: » [M,Fo,Mo,W] = remezord( [.4,.6], [1,0], [0.01,0.001], 2 ); » [h,delta]=remez(M,Fo,Mo,W); firpm

Remez (PMc-FIR) Lowpass Design

Remez (P-Mc FIR) Differentiator Length=6, M=5 Type-IV Filter Odd symmetry RED=desired BLUE=design Hilbert Transformer also Type-III or IV with ODD symmetry

Compare Remez & Kaiser Design formula “estimate” for REMEZ Design formula for KAISER Example:

END Questions?

Comparison of Filter Structures Complexity is proportional to amount of computation and storage plus program storage and computational cycles. FIR direct form - (M+1) coefficients (M+1) multiplications, M additions (M+1) coefficients, M delays (registers) M = Filter Order IIR cascade form - Ns second-order sections. 5Ns multiplications, 5Ns additions 5Ns coefficients, 5Ns delays

Lowpass Filter Implementations Specifications of lowpass filter These specs met by the following approx. Butterworth - 12th-order Chebyshev - 8th-order Elliptic - 6th-order Kaiser window - 37 sample impulse response Parks-McClellan - 27 sample impulse response

Comparison of Lowpass Filters