IIR Filter design (cf. Shenoi, 2006)

Slides:



Advertisements
Similar presentations
Chapter 8. FIR Filter Design
Advertisements

Digital Signal Processing IIR Filter IIR Filter Design by Approximation of Derivatives Analogue filters having rational transfer function H(s) can be.
Nonrecursive Digital Filters
Signal and System IIR Filter Filbert H. Juwono
CHAPTER 7 Digital Filter Design Wang Weilian School of Information Science and Technology Yunnan University.
Husheng Li, UTK-EECS, Fall The specification of filter is usually given by the tolerance scheme.
Hossein Sameti Department of Computer Engineering Sharif University of Technology.
Filtering Filtering is one of the most widely used complex signal processing operations The system implementing this operation is called a filter A filter.
Infinite Impulse Response (IIR) Filters
1 BIEN425 – Lecture 13 By the end of the lecture, you should be able to: –Outline the general framework of designing an IIR filter using frequency transform.
ECE651 Digital Signal Processing I Digital IIR Filter Design.
So far We have introduced the Z transform
Hossein Sameti Department of Computer Engineering Sharif University of Technology.
Digital Signal Processing – Chapter 11 Introduction to the Design of Discrete Filters Prof. Yasser Mostafa Kadah
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.
Relationship between Magnitude and Phase (cf. Oppenheim, 1999)
EE513 Audio Signals and Systems Digital Signal Processing (Systems) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
Lecture 8 Periodic Structures Image Parameter Method
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
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.
Chapter 8 Design of infinite impulse response digital filter.
Copyright ©2010, ©1999, ©1989 by Pearson Education, Inc. All rights reserved. Discrete-Time Signal Processing, Third Edition Alan V. Oppenheim Ronald W.
Lecture 10: IIR Filter Designs XILIANG LUO 2014/11 1.
1 Lecture 1: February 20, 2007 Topic: 1. Discrete-Time Signals and Systems.
Dan Ellis 1 ELEN E4810: Digital Signal Processing Topic 8: Filter Design: IIR 1.Filter Design Specifications 2.Analog Filter Design 3.Digital.
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.
1 Conditions for Distortionless Transmission Transmission is said to be distortion less if the input and output have identical wave shapes within a multiplicative.
Ch. 8 Analysis of Continuous- Time Systems by Use of the Transfer Function.
Lecture 5 BME452 Biomedical Signal Processing 2013 (copyright Ali Işın, 2013)1 BME 452 Biomedical Signal Processing Lecture 5  Digital filtering.
Chapter 7. Filter Design Techniques
1 Digital Signal Processing Digital Signal Processing  IIR digital filter structures  Filter design.
Nov '03csDSP61 CS3291: Section 6 IIR discrete time filter design Introduction: Many design techniques for IIR discrete time filters have adopted ideas.
CHAPTER 5 Digital Processing of Continuous- Time Signal Wangweilian School of Information Science and Technology Yunnan University.
DISP 2003 Lecture 5 – Part 1 Digital Filters 1 Frequency Response Difference Equations FIR versus IIR FIR Filters Properties and Design Philippe Baudrenghien,
Finite Impulse Response Filtering EMU-E&E Engineering Erhan A. Ince Dec 2015.
Chapter 5. Transform Analysis of LTI Systems Section
EEE4176 Application of Digital Signal Processing
Professor A G Constantinides 1 Digital Filter Specifications We discuss in this course only the magnitude approximation problem There are four basic types.
Digital Signal Processing
Figure 8.1 (p. 615) Time-domain condition for distortionless transmission of a signal through a linear time-invariant system. Signals and Systems, 2/E.
UNIT - 5 IIR FILTER DESIGN.
Lecture: IIR Filter Design
EEE422 Signals and Systems Laboratory
Network Analysis and Synthesis
Linear Constant-coefficient Difference Equations
IIR Filters FIR vs. IIR IIR filter design procedure
Infinite Impulse Response (IIR) Filters
Fourier Series FIR About Digital Filter Design
Filter Design Techniques
EE Audio Signals and Systems
Chapter 8 Design of Infinite Impulse Response (IIR) Digital Filter
ME2300 DIGITAL SIGNAL PROCESSING [Slide 6] IIR Filter Design BY DREAMCATCHER
LINEAR-PHASE FIR FILTERS DESIGN
3.4 Frequency-domain Filters
Infinite Impulse Response Filters
Quick Review of LTI Systems
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.
Usıng the impulse sampling method Prepared by: Dr. Erhan A. INCE
Chapter 6 Discrete-Time System
Chapter 7 Finite Impulse Response(FIR) Filter Design
Tania Stathaki 811b LTI Discrete-Time Systems in Transform Domain Simple Filters Comb Filters (Optional reading) Allpass Transfer.
Tania Stathaki 811b LTI Discrete-Time Systems in Transform Domain Ideal Filters Zero Phase Transfer Functions Linear Phase Transfer.
Chapter 7 Finite Impulse Response(FIR) Filter Design
Presentation transcript:

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 ranging in [, ].

When a and b are real, the magnitude response |H(ejw)| is an even function, and the phase response (jw) is an odd function. Very often it is convenient to compute and plot the log magnitude of |H(ejw)| as measured in dB. Linear phase: Consider the ideal delay system. The impulse response is and the frequency response is

In this case, the magnitude and phase responses are Hence, when time domain is a constant delay, it causes the frequency a “linear phase distortion.” Sometimes we hope the filter response is linear phase, i.e., the phase response is linear with w. Eg. an ideal lowpass filter with linear phase (i.e., ideal low-pass but the output is delayed by nd samples in the time domain) However, linear phase is difficult to achieve by using IIR filters, but it can be easily designed by using FIR filters.

Group delay: A convenient measure of the linearity of the phase is the group delay. For the IIR filter, the group delay is where and (unit: samples)

Three approximation criteria commonly used: Since the state-of-the-arts of analog IIR filter is more advanced, the design of discrete-time IIR filter is usually an approximation of the analog one. Three approximation criteria commonly used: The Butterworth approximation The Chebyshev (minimax) approximation Analog filters represented by Laplace transform H(s). Substituting s=jw, we obtain its frequency response (in terms of continuous Fourier transform).

where |H(jw)| and (jw) can be found by

Maximally Flat and Butterworth Approximation Magnitude response of an ideal low-pass analog filter showing the tolerances: passband: [0, wp], transition band:[wp, ws], stopband: [ws, ] passband tolerance: p, stopband tolerance: s.

Butterworth response (or maximally flat magnitude response): and now we have

Magnitude responses of Butterworth lowpass filters normalized passband

D2n and n are the parameters of the Butterworth filter, where n is the order of this filter. If, for example, the magnitude at the passband frequency p, is , which means that the log magnitude required is 3dB, then we choose D2n = 1. If the magnitude at the passband frequency  = p = 1 is required to be 1  p, then we choose D2n, normally denoted by 2, such that If the magnitude at the bandwith  = p = 1 is given as Ap dB, the values 2 is computed by

We get the formula Let us consider the common case of a Butterworth filter with a log magnitude of 3dB at the bandwith of p = 1 to develop the design procedure of Butterworth lowpass filter. In this case, we use the function for the prototype filter, in the form

This satisfies the following properties:

Design theory of Butterworth lowpass filters Let us consider the design of Butterworth lowpass filter for which (1) the frequency p at which the magnitude is 3DB below the maximum value at =0, and (2) the magnitude at another frequency s in the stopband are specified. Since we only know that but want to infer H(ej). Let us consider the relationship that |H(ej)|2 = H(ej)H(ej). We denote  = p/j, so

There are n poles satisfying the following equations: This gives us the 2n poles of H(p)H(p), which are and In general, These poles have a magnitude of one, and the angle between adjacent poles is equal to /n. There are n poles in the left half plane and n poles in the right plane. Note that for a continuous-time linear system, it is stable iff all poles lie in the left half plane.

Note that, for every pole of H(p) at p=pa, that lies in the left half-plane, there is a pole of H(p) at p=pa that lies in the right half-plane. Because of this property, we identify n poles that are in the left half of the p planes as the poles of H(p) so that it is a stable transfer function. The poles that are in the left half of the p plane are given by When we have found these n poles, we construct the denominator polynomial D(p) of the prototype filter from H(p) = 1/D(p) from

Pole locations of Butterworth low-pass filters of orders n=6

The only unknown parameter at this stage of design is the order n of the filter function H(p). This is calculated using the specification that at the stopband frequency s, the log magnitude is required to be no more than As dB. So we choose n as an integer satisfying The pairs of poles from left and right half-planes can be found by the polynomial in the denominator D(p), Their coefficients can be computed recursively from where d0=1. The polynomial is referred to as Butterworth polynomials.

Chebyshev 1 Approximation: The Chebyshev 1 approximation for an ideal lowpass filter has equal-valued ripples in the passband . It is known as minimax approximation and also known as the equiripple approximation. The magnitude squared function of Chebyshev approximation: where Cn() is the Chebyshev polynomial of degree n. It is defined by

For n = 2, 3, 4, 5, these polynomials are

Chebyshev II Approximation: (or inverse Chebyshev filters) Maximally flat at w=0; decreases monotonically as the frequency increases and has an equiripple response in the stopband. The magnitude square function of the inverse Chebyshev low pass filter: |H(j)|2 =

Chebyshev I Chebyshev II

Discrete-time IIR filter The procedure used for designing discrete-time IIR filters employ different transformations of the form s = f(z) to transform H(s) into H(z). Two methods: Impulse invariance Bilinear Transform Please see the copy of book chapters (Oppenheim 1999, Section 7.1)

General concept on digital filter design (cf. D General concept on digital filter design (cf. D. Ellis, Columbia University)

Discrete-time FIR filters

Discrete-time FIR filters

Linear Phase Discrete-time FIR filters Now we consider the special types of FIR filters in which the impulse response h[n] are assumed to be symmetric or antisymmetric. Since the order of the polynomial in each of these two types can be either odd or even, we have four types of filters with different properties. Linear phase FIR filters: Type 1: The coefficients are symmetric, i.e., h[n] = h[Nn], and the order N is even.

Linear phase response

Linear phase FIR filters: Type II: The coefficients are symmetric, i.e., h[n] = h[Nn], and the order N is odd.

Linear phase FIR filters: Type III: The coefficients are antisymmetric, i.e., h[n] =  h[Nn], and the order N is even.

Linear phase FIR filters: Type IV: The coefficients are antisymmetric, i.e., h[n] =  h[Nn], and the order N is odd.

Fourier Series Method Modified by Windows Let us consider the magnitude response of the ideal lowpass filter to be HLP(ejw), in which the cutoff frequency is given as wc. Its inverse Fourier transform (i.e., the impulse response of the ideal low pass filter) is:

We choose the following finite series to approximate HLP(ejw): Since {ejnw} form an set of orthonormal bases, CLP[n] is the the least squared solution. The approximation error is As M increases, the number of ripples in the passband (and the stopband) increases while the width between the frequencies at which the the maximum error occurs in the passband (0wwc) and in the stopband (wcw<) decreases.

Gibbs phenomenon: as M increases, the maximum deviation from the ideal value decreases except near the point of discontinuity, where the error remains the same, however large the value M we choose. (i.e., as M increases, the maximum amplitude of the oscillation does not approch zero)