Lecture 16: Filter Design: Impulse Invariance and Bilinear Transform

Similar documents
Digital Signal Processing IIR Filter Design via Bilinear Transform

Digital Signal Processing

EE482: Digital Signal Processing Applications

Design of IIR filters

Lecture 8: Signal Reconstruction, DT vs CT Processing. 8.1 Reconstruction of a Band-limited Signal from its Samples

Lecture 7 Discrete Systems

Digital Signal Processing Lecture 8 - Filter Design - IIR

Lecture 13: Pole/Zero Diagrams and All Pass Systems

EE 521: Instrumentation and Measurements

Lecture 8 - IIR Filters (II)

Filter Analysis and Design

Lecture 14: Minimum Phase Systems and Linear Phase

DIGITAL SIGNAL PROCESSING. Chapter 6 IIR Filter Design

Like bilateral Laplace transforms, ROC must be used to determine a unique inverse z-transform.

ECE 410 DIGITAL SIGNAL PROCESSING D. Munson University of Illinois Chapter 12

Discrete-Time David Johns and Ken Martin University of Toronto

UNIT - III PART A. 2. Mention any two techniques for digitizing the transfer function of an analog filter?

Lecture 9 Infinite Impulse Response Filters

INFINITE-IMPULSE RESPONSE DIGITAL FILTERS Classical analog filters and their conversion to digital filters 4. THE BUTTERWORTH ANALOG FILTER

Lecture 19: Discrete Fourier Series

Lecture 8 - IIR Filters (II)

Chapter 7: IIR Filter Design Techniques

DIGITAL SIGNAL PROCESSING UNIT III INFINITE IMPULSE RESPONSE DIGITAL FILTERS. 3.6 Design of Digital Filter using Digital to Digital

Review of Discrete-Time System

Lecture 3 - Design of Digital Filters

2.161 Signal Processing: Continuous and Discrete Fall 2008

ESE 531: Digital Signal Processing

ESE 531: Digital Signal Processing

Digital Signal Processing

Signals and Systems. Problem Set: The z-transform and DT Fourier Transform

PS403 - Digital Signal processing

EE 225D LECTURE ON DIGITAL FILTERS. University of California Berkeley

APPLIED SIGNAL PROCESSING

Stability Condition in Terms of the Pole Locations

ELEG 305: Digital Signal Processing

Lecture 7: z-transform Properties, Sampling and Nyquist Sampling Theorem

V. IIR Digital Filters

INF3440/INF4440. Design of digital filters

Lecture 4: FT Pairs, Random Signals and z-transform

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science. Fall Solutions for Problem Set 2

ELEG 5173L Digital Signal Processing Ch. 5 Digital Filters

Digital Signal Processing Lecture 9 - Design of Digital Filters - FIR

Today. ESE 531: Digital Signal Processing. IIR Filter Design. Impulse Invariance. Impulse Invariance. Impulse Invariance. ω < π.

(Refer Slide Time: 01:28 03:51 min)

An Iir-Filter Example: A Butterworth Filter

Digital Control & Digital Filters. Lectures 21 & 22

-Digital Signal Processing- FIR Filter Design. Lecture May-16

Digital Signal Processing

Lecture 20: Discrete Fourier Transform and FFT

Analog and Digital Filter Design

Signals & Systems. Lecture 5 Continuous-Time Fourier Transform. Alp Ertürk

EE123 Digital Signal Processing

NAME: ht () 1 2π. Hj0 ( ) dω Find the value of BW for the system having the following impulse response.

Lecture 14: Windowing

FROM ANALOGUE TO DIGITAL

Lecture 5 - Assembly Programming(II), Intro to Digital Filters

Multimedia Signals and Systems - Audio and Video. Signal, Image, Video Processing Review-Introduction, MP3 and MPEG2

DHANALAKSHMI COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING EC2314- DIGITAL SIGNAL PROCESSING UNIT I INTRODUCTION PART A

Multirate signal processing

VALLIAMMAI ENGINEERING COLLEGE. SRM Nagar, Kattankulathur DEPARTMENT OF INFORMATION TECHNOLOGY. Academic Year

Question Bank. UNIT 1 Part-A

Digital Signal Processing Lecture 10 - Discrete Fourier Transform

NAME: 11 December 2013 Digital Signal Processing I Final Exam Fall Cover Sheet

ELEN 4810 Midterm Exam

/ (2π) X(e jω ) dω. 4. An 8 point sequence is given by x(n) = {2,2,2,2,1,1,1,1}. Compute 8 point DFT of x(n) by

Grades will be determined by the correctness of your answers (explanations are not required).

( ) John A. Quinn Lecture. ESE 531: Digital Signal Processing. Lecture Outline. Frequency Response of LTI System. Example: Zero on Real Axis

UNIVERSITI SAINS MALAYSIA. EEE 512/4 Advanced Digital Signal and Image Processing

Each problem is worth 25 points, and you may solve the problems in any order.

DSP-CIS. Chapter-4: FIR & IIR Filter Design. Marc Moonen

Lecture 2 OKAN UNIVERSITY FACULTY OF ENGINEERING AND ARCHITECTURE

EECE 301 Signals & Systems Prof. Mark Fowler

Chapter 7: Filter Design 7.1 Practical Filter Terminology

Optimal Design of Real and Complex Minimum Phase Digital FIR Filters

Roll No. :... Invigilator s Signature :.. CS/B.Tech (EE-N)/SEM-6/EC-611/ DIGITAL SIGNAL PROCESSING. Time Allotted : 3 Hours Full Marks : 70

Lecture 7 - IIR Filters

! Introduction. ! Discrete Time Signals & Systems. ! Z-Transform. ! Inverse Z-Transform. ! Sampling of Continuous Time Signals

EE 4372 Tomography. Carlos E. Davila, Dept. of Electrical Engineering Southern Methodist University

Digital Signal Processing

Final Exam January 31, Solutions

EE Homework 13 - Solutions

Electronic Circuits EE359A

IIR digital filter design for low pass filter based on impulse invariance and bilinear transformation methods using butterworth analog filter

2.161 Signal Processing: Continuous and Discrete Fall 2008

EEL3135: Homework #4

Convolution. Define a mathematical operation on discrete-time signals called convolution, represented by *. Given two discrete-time signals x 1, x 2,

EE 224 Signals and Systems I Review 1/10

A system that is both linear and time-invariant is called linear time-invariant (LTI).

Chapter 5 Frequency Domain Analysis of Systems

MAHALAKSHMI ENGINEERING COLLEGE-TRICHY

EE482: Digital Signal Processing Applications

Digital Signal Processing Lecture 4

Discrete-time Signals and Systems in

Discrete-Time Signals and Systems

Lecture 8 Finite Impulse Response Filters

Grades will be determined by the correctness of your answers (explanations are not required).

ECE 3084 QUIZ 2 SCHOOL OF ELECTRICAL AND COMPUTER ENGINEERING GEORGIA INSTITUTE OF TECHNOLOGY APRIL 2, Name:

UNIVERSITY OF OSLO. Faculty of mathematics and natural sciences. Forslag til fasit, versjon-01: Problem 1 Signals and systems.

Chapter 5 Frequency Domain Analysis of Systems

Final Exam Solutions : Wednesday, Dec 13, Prof: J. Bilmes TA: Mingzhou Song

Transcription:

EE58 Digital Signal Processing University of Washington Autumn 2 Dept. of Electrical Engineering Lecture 6: Filter Design: Impulse Invariance and Bilinear Transform Nov 26, 2 Prof: J. Bilmes <bilmes@ee.washington.edu> TA: Mingzhou Song <msong@u.washington.edu> 6. Introduction to Filter Design Filter design is the most important practical application of this course. Filter, any modification of the signal according to design specifications. Frequency selectivity Causal filters (real time without delay) Note ideal filters are not realizable. We can t have perfect magnitude response. For example, the ideal low pass filter is not realizable because it requires infinite length sinc function. We would like causal filters: IIR ok FIR sometimes even better Ex: typical way to specify low pass filter Design specifications for a low pass filter is shown in Fig 6.. H(e jω ) + δ Transition δ PSfrag replacements Passband Stopband δ 2 ω p ω s π ω Figure 6.: Low pass filter design specifications. 6-

6-2 In the low pass filter, δ is the tolerance at the pass band, δ 2 is the tolerance at the stop band. In transition band, we do not care too much about what happens. The quantitative relationship for the maganitude response within the pass band and stop band are given as follows: δ H(e jω + δ, ω ω p H(e jω δ 2, ω s ω p π where δ and δ 2 are usually small positive numbers, e.g., δ can be 6 or 9. Usually discrete time filter designis done in terms of normalized discrete time. Normalization in time by T is equivalent to normalization in frequency by /T. So in frequency domain, π/t is normalized to π. Or even sometimes for plotting, frquency is further normalized by π and a normalized corresponds to π in radians. Note: If we use linear phase systems, we can just specify magnitude response, which will produce a system with only a delay and is easy to deal with. If we use IIR system, we might have to deal with phase. There are two different design procedures: ) start with continuous time filter and then map it to a discrete time filter. So we can use analog techniques to do filter design. 2) use new techniques to design filter directly in discrete time. 6.2 Design of Discrete Time Filter from Continuous Time Filter We can apply transform technique to obtain H(z) and h[n] for discrete time fiters from H c (s) and h c (t) as shown below: H c (s) h c (t) Transform Techniques H(z) h[n] Recall Laplace transfrom, a generalization of Fourier transform, is defined as X(s) = x(t)e st dt (6.) Plugging jω into X(s) we get Fourier transform X( jω). Here is a summary of three continuous time low pass filters. Butterworth Filters The magnitude response of Butterworth filters are in the following form as shown in Fig 6.2 Properties: H c ( jω) = + (Ω/Ω c ) 2N (6.2) ) N-th order filter has first (2N ) derivatives of H c ( jω). The derivatives are zero at Ω =.

6-3.9.8.7.6.5.4.3.2. 5 5 2 25 3 35 4 f (Hz) Figure 6.2: Magnitude response of Butterworth filters. 2) monotonic in stop and pass band. 3) It is hard to control where approximately the tolerance will be. 4) Error reduces as N increases, but the filter is harder to implement. Chebychev Filters The magnitude response of Chebychev filters is where H c ( jω) = + ε 2 V 2 N (ω/ω c) V N (x) = cos(n cos x) (6.3) Note V N (x) can be described by the following initial values and recurrence equation: N =, V (x) = N =, V (x) = cos(cos x) = x N = 2, V 2 (x) = cos(n cos x) = 2x 2 V N+ (x) = 2xV N (x) V N (x) The magnitude response of Chebychev filter is shown in Fig 6.3. Properties: ) equiripple in passband (resp. stop band) and monotonic in the stop band (resp. pass band) for type I (resp type II) filters. 2) better for design to have error distributed over pass band or stop band by equiripple and can often lower N which leads to simpler implementation. Elliptic Filters The magnitude response of Elliptic filters is H c ( jω) = + ε 2 V 2 N (Ω) (6.4)

6-4.9.8.7.6.5.4.3.2. 5 5 2 25 3 35 4 f (Hz) Figure 6.3: Magnitude response of Chebychev filters. where V N (Ω) is a Jacobian elliptic function. The magnitude response of elliptic filter is shown in Fig 6.4..9.8.7.6.5.4.3.2. 5 5 2 25 3 35 4 f (Hz) Figure 6.4: Magnitude response of elliptic filters. Error distribute over both pass band and stop band. This is as best as can be done for given Ω p, δ, δ 2, and transitive region (Ω p to Ω s ). 6.2. Impulse Invariance Sampling the continuous time impulse response with sampling period T d, we obtain h[n] = T d h c (nt d ) Then If H c ( jω) = for Ω π/t d, H(e jω ) = k= H(e jω ) = H c ( jω/t d) H c ( j ω T d + j 2π T d k) ω π

6-5 Will aliasing occur for the previous H c ( jω)? Yes. Consider Butterworth filter. But if order of filter N is high enough, aliasing will be small enough to be acceptable, i.e., within our tolerance δ 2. Question: Can we control aliasing by changing T d, the sampling period? Choose cut-off frequency ω c in discrete time. Transform to Ω c = ω c /T d. Larger T d needs a continuous filter with larger Ω c and wider frequency spread, so T d doesn t control aliasing. Aliasing can is controlled by order N and types of filters. Question: How to choose T d? Choose T d so that relevant details of h c (t) is captured. Continuous to Discrete-Time in terms of Laplace to z-transform If a causal LTI system has then the impulse response is H c (s) = N k= A k s s k { t < h c (t) = N k= A ke s kt t By impulse response, and h[n] = T d h c (nt d ) = u[n] N k= H(z) = T d A k e s knt d = u[n] N k= T d A k e s kt d z N k= T d A k ( e s k T d ) n The pole at s = s k in s-plane become pole at z = e s kt d in z-plane. That a stable and causal H c (s) has Re(s k ) < for all its poles implies H(z) is also stable and causal because all the poles must have e s kt d <, i.e. with the unit circle in z-plane. However, zeros have a more complex mapping. Note: impulse invariance works only for bandlimited filters, i.e., not continuous time high pass filters since that would cause big aliasing. 6.2.2 Bilinear Transform We can find z-transform directly from Laplace transform by mappling the jω axis in s-plane to the unit circle on z-plane, i.e., < Ω < maps to π < ω < π, which is a non-linear mapping. The bilinear transform is defined by which is accomplished by replacing s using Note T d has no effect again. Points: ( 2 z ) H(z) = H c T d + z (6.5) s = 2 T d z + z (6.6) ) Left half of s-plane mapping to inside of the unit circle in z-plane, i.e., s = σ + jω, σ < z <

6-6 2) Right half of s-plane mapping to outside of the unit circle in z-plane, i.e., s = σ + jω, σ > z > Hence, a causal and stable continuous time system will be mapped to a causal and stable discrete-time system. 3) jω is mapped to unit circle. Why? z = + (T d/2)s (T d /2)s = + σ(t d/2) + jω(t d /2) σ(t d /2) jω(t d /2) When σ =, which says Why is unit circle spanned? So we have z = + jω(t d/2) jω(t d /2) z = σ + jω = s = 2 T d e jω + e jω = j 2 T d tan(ω/2) Ω = 2 T d tan(ω/2) σ = Therefore which is shown in Fig 6.5 ω = 2tan (ΩT d /2) PSfrag replacements π ω Ω π Figure 6.5: ω Ω plot for bilinear transform. An example is shown in Fig 7.8 (O&S, pg 452). Some of the bilinear transform mapping relationships are shown in Fig 6.6. Points: ) 2) 3) σ < z < σ > z > jω e jω

6-7 jω s-plane 2/T d 4/T d 2/T d /T d 2/T d 4/T d σ 2/T d z-plane replacements z = /T d 3 2 2 3 Figure 6.6: Bilinear mapping between s-plane and z-plane.

6-8 4) real axis mappling the black x at z = comes from s = ± and s = ± j. the red x at z = comes from s =. as s goes from to, z goes from to. z = at s = 2/T d (light green x ). as s goes from to 2/T d, z goes from to. as s goes from 2/T d to, z goes from to. 5) the yellow line moves up, smaller yellow circles. 6) the pink line moves down, smaller pink circles. 7) light blue circle bigger than red circle ( z = ) is vertical line between σ = and σ = 2/T d. 8) dark blue circle (on the left) is vertical s-plane line. Other notes: this produces both frequency warping and phase warping, i.e., linear phase in continuous time maps to non-linear phase in discrete time. the technique is particularly good idealized functions that are piecewise constant such as high-pass filters (HPF), low-pass filters (LPF), band-pass filters (BPF), etc., since they are easy to analyze in terms of the endpoints where the responses change.