Digital Signal Processing Lecture 8 - Filter Design - IIR

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

Digital Signal Processing

Digital Signal Processing IIR Filter Design via Bilinear Transform

Digital Signal Processing Lecture 10 - Discrete Fourier Transform

EE 521: Instrumentation and Measurements

EE482: Digital Signal Processing Applications

Lecture 7 Discrete Systems

Digital Control & Digital Filters. Lectures 21 & 22

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

Filter Analysis and Design

DIGITAL SIGNAL PROCESSING. Chapter 6 IIR Filter Design

Design of IIR filters

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

Chapter 7: IIR Filter Design Techniques

Lecture 16: Filter Design: Impulse Invariance and Bilinear Transform

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

Lecture 8 - IIR Filters (II)

Stability Condition in Terms of the Pole Locations

ELEG 305: Digital Signal Processing

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

APPLIED SIGNAL PROCESSING

Quadrature-Mirror Filter Bank

Multirate Digital Signal Processing

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

Discrete-Time David Johns and Ken Martin University of Toronto

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

Digital Signal Processing

Lecture 8 - IIR Filters (II)

INF3440/INF4440. Design of digital filters

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

MITOCW watch?v=jtj3v Rx7E

DISCRETE-TIME SIGNAL PROCESSING

Multirate signal processing

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

The Z transform (2) 1

Chapter 5 Frequency Domain Analysis of Systems

z-transform Chapter 6

Review of Discrete-Time System

UNIT-II Z-TRANSFORM. This expression is also called a one sided z-transform. This non causal sequence produces positive powers of z in X (z).

Analysis of Finite Wordlength Effects

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

Lecture 9 Infinite Impulse Response Filters

SIDDHARTH GROUP OF INSTITUTIONS:: PUTTUR Siddharth Nagar, Narayanavanam Road QUESTION BANK (DESCRIPTIVE)

Filters and Tuned Amplifiers

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

PS403 - Digital Signal processing

An Iir-Filter Example: A Butterworth Filter

/ (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

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

ELEG 5173L Digital Signal Processing Ch. 5 Digital Filters

Analog and Digital Filter Design

V. IIR Digital Filters

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

ECSE 512 Digital Signal Processing I Fall 2010 FINAL EXAMINATION

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

Introduction to Digital Signal Processing

Digital Signal Processing

Chapter 7: Filter Design 7.1 Practical Filter Terminology

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

Discrete-time signals and systems

Use: Analysis of systems, simple convolution, shorthand for e jw, stability. Motivation easier to write. Or X(z) = Z {x(n)}

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

2.161 Signal Processing: Continuous and Discrete Fall 2008

EE123 Digital Signal Processing. M. Lustig, EECS UC Berkeley

LECTURE NOTES DIGITAL SIGNAL PROCESSING III B.TECH II SEMESTER (JNTUK R 13)

Let H(z) = P(z)/Q(z) be the system function of a rational form. Let us represent both P(z) and Q(z) as polynomials of z (not z -1 )

Optimum Ordering and Pole-Zero Pairing of the Cascade Form IIR. Digital Filter

EE482: Digital Signal Processing Applications

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

Z-Transform. 清大電機系林嘉文 Original PowerPoint slides prepared by S. K. Mitra 4-1-1

Question Bank. UNIT 1 Part-A

Lecture 3 - Design of Digital Filters

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

ECE503: Digital Signal Processing Lecture 5

Transform Analysis of Linear Time-Invariant Systems

Z Transform (Part - II)

UNIVERSITY OF OSLO. Please make sure that your copy of the problem set is complete before you attempt to answer anything.

Your solutions for time-domain waveforms should all be expressed as real-valued functions.

Vel Tech High Tech Dr.Ranagarajan Dr.Sakunthala Engineering College Department of ECE

R13 SET - 1

There are two main classes of digital lter FIR (Finite impulse response) and IIR (innite impulse reponse).

Digital Filters Ying Sun

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

Design IIR Filters Using Cascaded Biquads

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

Discrete-time first-order systems

IT DIGITAL SIGNAL PROCESSING (2013 regulation) UNIT-1 SIGNALS AND SYSTEMS PART-A

E : Lecture 1 Introduction

Digital Signal Processing

Lecture 19 IIR Filters

INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad

ESE 531: Digital Signal Processing

Digital Signal Processing

Responses of Digital Filters Chapter Intended Learning Outcomes:

Butterworth Filter Properties

Digital Signal Processing Lecture 3 - Discrete-Time Systems

EEL3135: Homework #4


Filter structures ELEC-E5410

Transcription:

Digital Signal Processing - Filter Design - IIR Electrical Engineering and Computer Science University of Tennessee, Knoxville October 20, 2015

Overview 1 2 3 4 5 6

Roadmap Discrete-time signals and systems - LTI systems Unit sample response h[n]: uniquely characterizes an LTI system Linear constant-coefficient difference equation Frequency response: H(e jω ) Complex exponentials being eigenvalues of an LTI system: y[n] = H(e jω )x[n] Fourier transform z transform The z-transform, X(z) = n= x[n]z n Region of convergence - the z-plane System function, H(z) Properties of the z-transform The significance of zeros The inverse z-transform, x[n] = 1 2πj C X(z)zn 1 dz: inspection, power series, partial fraction expansion Sampling and Reconstruction

Review - Design structures Different representations of causal LTI systems LCDE with initial rest condition H(z) with z > R + and starts at n = 0 Block diagram vs. Signal flow graph and how to determine system function (or unit sample response) from the graphs Design structures Direct form I (zeros first) Direct form II (poles first) - Canonic structure Transposed form (zeros first) IIR: cascade form, parallel form, feedback in IIR (computable vs. noncomputable) FIR: direct form, cascade form, parallel form, linear phase Metric: computational resource and precision Sources of errors: coefficient quantization error, input quantization error, product quantization error, limit cycles Pole sensitivity of 2nd-order structures: coupled form Coefficient quantization examples: direct form vs. cascade form

Rationale Review of complex exponentials as eigenvalues of the LTI x[n] = e jω 0n y[n] = H(e jω 0 )e jω 0 n or x[n] = cos ω 0 n y[n] = H(e jω 0 ) cos(ω0 n + θ) Separation of signal when they occupate different frequency bands choose the system function that is unity at selective frequencies Given a set of specifications, design a rational transfer function that approximates the ideal filter maintaining specifications of δ p, δ s, and the transition band.

Stages of digital filter design The specification of the desired properties of the system application-dependent usually done in the frequency domain The approximation of the specifications using a causal discrete-time system The realization of the system e.g., DSP board

Practical frequency-selective filters Approximate ideal filters by a rational function or LCDE Factors that affect the filter performance the maximum tolerable passband ripple, 20 log 10 δ p the maximum tolerable stopband ripple, 20 log 10 δ s the passband edge frequency ω p the stopband edge frequency ω s M and N: order of the LCDE

Design a discrete-time lowpass filter to filter a continuous-time signal with the following specs (with a sampling rate of 10 4 samples/s): The gain should be within ±0.01 of unity in the frequency band 0 Ω 2π(2000) The gain should be no greater than 0.001 in the frequency band 2π(3000) Ω Parameter setup δ p1 = δ p2 = 0.01, δ s = 0.001 ω p = 2π(2000)/10 4, ω s = 2π(3000)/10 4 Ideal passband gain in decibels? maximum passband gain in decibels? maximum stopband gain in decibels?

Design techniques for IIR filters Analytical closed-form solution of transfer function Continuous-time Discrete-time Algorithmic

General guidelines for continuous discrete H a (s) H(z) h a (t) h[n] jω-axis (s-plane) unit circle (z-plane) if H a (s) is stable H(z) is stable

Different approaches Mapping differentials to differences z = 1 + st the jω-axis is NOT mapped to the unit circle stable poles might not be mapped to inside the unit circle invariance Bilinear transformation

invariance H(e jω ) = h[n] = T d h c (nt d ) (1) H c [ jω + j2πk ] T d T d (2) k= Preserve good time-domain characteristics Linear scaling of frequency axis, ω = ΩT Existence of aliasing invariance doesn t imply step invariance

invariance (cont ) H c (s) = N k=1 Mapping poles A k s s k H(z) = N k=1 s = s k z = e s k T d T d A k 1 e s k T d z 1 Preserve residues s = jω z = e jωt d = e jω, the unit circle if s k is stable, i.e., region of s k is less than 0, z k < 1 digital filter is stable

invariance - An example Find the system function of the digital filter mapped from the analog filter with a system function H c (s) = s+a. Compare magnitude of the (s+a) 2 +b 2 frequency response and pole-zero distributions in the s- and z-plane Sol: H(z) = 1 (e at cos bt )z 1 (1 e (a+jb)t z 1 )(1 e (a jb)t z 1 ) Note that zeros are not mapped. Also note that H s (jω) is not periodic but H(e jω ) is.

Bilinear transformation Mapping from s-plane to z-plane by relating s and z according to a bilinear transformation. H c (s) H(z) s = 2 st z 1 1 + 2 (1 ), or z = T 1 + z 1 1 st 2 Two guidelines Preserves the frequency characteristics? I.e., maps the jω-axis to the unit circle? Stable analog filter mapped to stable digital filter? Important properties of bilinear transformation Left-side of the s-plane interior of the unit circle; Right-side of the s-plane exterior of the unit circle. Therefore, stable analog filters stable digital filters. The jω-axis gets mapped exactly once around the unit circle. No aliasing The jω-axis is infinitely long but the unit circle isn t nonlinear distortion of the frequency axis

Blinear transformation - Mappings

Bilinear transformation - How to tolerate distortions? Prewarp the digital cutoff frequency to an analog cutoff frequency through Ω = 2 T tan ω 2 Better used to approximate piecewise constant filters which will be mapped as constant as well Can t be used to obtain digital lowpass filter with linear-phase Avoid aliasing at the price of distortion of the frequency axis

The class of analog filters Butterworth filter H c (jω) 2 1 = 1+( jω jωc )2N Note about the butterworth circle with radius Ω c Ω c is also called the 3dB-cutoff frequency when 10log 10 H c (jω) 2 Ω=Ωc 3 Monotonic function in both passband and stopband Matlab functions: buttord, butter Chebyshev filter Type I Chebyshev has an equiripple freq response in the passband and varies monotonicaly in the stopband, H c (jω) 2 1 = 1+ɛ 2 TN 2(Ω/Ωp) Type II Chebyshev is monotonic in the passband and equiripple in the stopband, H c (jω) 2 1 = 1+ɛ 2 [ T N (Ωs /Ωp ) T N (Ωs /Ω) ]2 Matlab functions: cheb1ord, cheby1, cheb2ord, cheby2

The class of analog filters (cont d) Elliptic filter H c (jω) 2 = 1 1+ɛ 2 R 2 N (Ω/Ωp) where R N(Ω) is a rational function of order N satisfying the perperty R N (1/Ω) = 1/R N (Ω) with the roots of its numerator lying within the interval 0 < Ω < 1 and the roots of its denominator lying in the interval 1 < Ω < Equiripple in both the passband and the stopband Matlab functions: ellipord, ellip

Specs of the discrete-time filter: passband gain between 0dB and -1dB, and stopband attenuation of at least -15dB. 1 δ p 1dB, δ s 15dB 20 log 10 H(e j0.2π ) 1 H(e j0.2π ) 10 0.05 = 0.8913 (3) 20 log 10 H(e j0.3π ) 15 H(e j0.3π ) 10 0.75 = 0.1778 (4)

(cont d) invariance Round up to the next integer of N Due to aliasing problem, meet the passband exactly with exceeded stopband 1 + ( j 0.2π T ) 2N = 10 0.1 (5) jω c 1 + ( j 0.3π T ) 2N = 10 1.5 (6) jω c Bilinear transformation Round up to the next integer of N By convention, choose to meet the stopband exactly with exceeded passband j2 tan(0.1π) 1 + ( ) 2N = 10 0.1 jω c (7) j2 tan(0.15π) 1 + ( ) 2N = 10 1.5 jω c (8)

- Comparison