Lecture 22 IIR Filters: Feedback and H(z)

Slides:



Advertisements
Similar presentations
MM3FC Mathematical Modeling 3 LECTURE 3
Advertisements

MM3FC Mathematical Modeling 3 LECTURE 6 Times Weeks 7,8 & 9. Lectures : Mon,Tues,Wed 10-11am, Rm.1439 Tutorials : Thurs, 10am, Rm. ULT. Clinics : Fri,
Lecture 19: Discrete-Time Transfer Functions
EECS 20 Chapter 9 Part 21 Convolution, Impulse Response, Filters Last time we Revisited the impulse function and impulse response Defined the impulse (Dirac.
Systems: Definition Filter
Finite Impuse Response Filters. Filters A filter is a system that processes a signal in some desired fashion. –A continuous-time signal or continuous.
Discrete-time Systems Prof. Siripong Potisuk. Input-output Description A DT system transforms DT inputs into DT outputs.
Analysis of Discrete Linear Time Invariant Systems
Copyright © 2001, S. K. Mitra Digital Filter Structures The convolution sum description of an LTI discrete-time system be used, can in principle, to implement.
Prof. Nizamettin AYDIN Digital Signal Processing 1.
Discrete-time Systems Prof. Siripong Potisuk. Input-output Description A DT system transforms DT inputs into DT outputs.
1 Prof. Nizamettin AYDIN Digital Signal Processing.
1 Prof. Nizamettin AYDIN Digital Signal Processing.
Department of Electrical and Computer Engineering Brian M. McCarthy Department of Electrical & Computer Engineering Villanova University ECE8231 Digital.
EEE 503 Digital Signal Processing Lecture #2 : EEE 503 Digital Signal Processing Lecture #2 : Discrete-Time Signals & Systems Dr. Panuthat Boonpramuk Department.
ES97H Biomedical Signal Processing
1 Today's lecture −Cascade Systems −Frequency Response −Zeros of H(z) −Significance of zeros of H(z) −Poles of H(z) −Nulling Filters.
1 Prof. Nizamettin AYDIN Digital Signal Processing.
1 Prof. Nizamettin AYDIN Digital Signal Processing.
Signals and Systems Lecture 19: FIR Filters. 2 Today's lecture −System Properties:  Linearity  Time-invariance −How to convolve the signals −LTI Systems.
Linear Constant-Coefficient Difference Equations
Lecture 09b Finite Impulse Response (FIR) Filters
Analysis of Linear Time Invariant (LTI) Systems
1 Computing the output response of LTI Systems. By breaking or decomposing and representing the input signal to the LTI system into terms of a linear combination.
Chapter 2 System Models – Time Domain
Finite Impuse Response Filters. Filters A filter is a system that processes a signal in some desired fashion. –A continuous-time signal or continuous.
DSP First, 2/e Lecture 11 FIR Filtering Intro. May 2016 © , JH McClellan & RW Schafer 2 License Info for DSPFirst Slides  This work released.
EENG 420 Digital Signal Processing Lecture 2.
Application of digital filter in engineering
DSP First, 2/e Lecture 16 DTFT Properties. June 2016 © , JH McClellan & RW Schafer 2 License Info for DSPFirst Slides  This work released under.
Lecture 19 Spectrogram: Spectral Analysis via DFT & DTFT
Linear Constant-Coefficient Difference Equations
Time Domain Representation of Linear Time Invariant (LTI).
Review of DSP.
Signal Processing First
Digital Signal Processing
Lecture 11 FIR Filtering Intro
Properties of LTI Systems
Lect2 Time Domain Analysis
Discrete-time Systems
Linear Constant-coefficient Difference Equations
Signal Processing First
Lecture 12 Linearity & Time-Invariance Convolution
Discrete-Time Structure
Lecture 14 Digital Filtering of Analog Signals
Infinite Impulse Response Filters
Quick Review of LTI Systems
Lecture 10 Digital to Analog (D-to-A) Conversion
Lecture 4: Discrete-Time Systems
Lecture 8 Fourier Series & Spectrum
CT-321 Digital Signal Processing
Lect5 A framework for digital filter design
The Z-Transform of a given discrete signal, x(n), is given by:
UNIT V Linear Time Invariant Discrete-Time Systems
Lecture 16a FIR Filter Design via Windowing
Lecture 13 Frequency Response of FIR Filters
Z TRANSFORM AND DFT Z Transform
Lecture 18 DFS: Discrete Fourier Series, and Windowing
Lecture 17 DFT: Discrete Fourier Transform
Lecture 15 DTFT: Discrete-Time Fourier Transform
Lecture 7C Fourier Series Examples: Common Periodic Signals
Lecture 20 Z Transforms: Introduction
Signal Processing First
Tania Stathaki 811b LTI Discrete-Time Systems in Transform Domain Frequency Response Transfer Function Introduction to Filters.
Zhongguo Liu Biomedical Engineering
Assignment # 3 Chapter 4 End of Chapter questions P-4.6 Page 97
Lecture 5A: Operations on the Spectrum
Review of DSP.
Lecture 24 Time-Domain Response for IIR Systems
Lecture 21 Zeros of H(z) and the Frequency Domain
Presentation transcript:

Lecture 22 IIR Filters: Feedback and H(z) DSP First, 2/e Lecture 22 IIR Filters: Feedback and H(z) Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer READING ASSIGNMENTS This Lecture: Chapter 10, Sects. 10-1, 10-2, & 10-3 Other Reading: Optional: Ch. 10, Sect 10-4 FILTER STRUCTURES Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer LECTURE OBJECTIVES INFINITE IMPULSE RESPONSE FILTERS Define IIR DIGITAL Filters Filters with FEEDBACK use PREVIOUS OUTPUTS Show how to compute the output y[n] Derive Impulse Response h[n] Derive z-transform: h[n]  H(z) Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer THREE DOMAINS Z-TRANSFORM-DOMAIN POLYNOMIALS: H(z) FREQ-DOMAIN TIME-DOMAIN Aug 2016 © 2003-2016, JH McClellan & RW Schafer

Quick Review: Delay by nd Difference Equation IMPULSE RESPONSE SYSTEM FUNCTION Frequency Response Aug 2016 © 2003-2016, JH McClellan & RW Schafer

Quick Review: L-pt Averager Difference Equation IMPULSE RESPONSE SYSTEM FUNCTION Frequency RESPONSE Aug 2016 © 2003-2016, JH McClellan & RW Schafer

Recall: CASCADE Equivalent Multiply the System Functions x[n] y[n] x[n] y[n] EQUIVALENT SYSTEM Aug 2016 © 2003-2016, JH McClellan & RW Schafer

Motivation: DEconvolution Ex: Remove optical blur in postprocessing? Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer Deconvolution Filter System to remove optical blur in postprocessing Given h1[n], can we find h2[n] to make y[n] equal to s[n]? s[n] x[n] y[n] Aug 2016 © 2003-2016, JH McClellan & RW Schafer

Deconvolution in Z-DOMAIN Hard to solve for h2[n] in convolution sum z-domain? Y(z) = H2(z)H1(z)S(z)= H(z)S(z) s[n] x[n] y[n] Not FIR Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer IIR FILTERS IIR = infinite impulse response; the impulse response h[n] has infinite length FIR: is a weighted sum of inputs, so the current output value does not involve previous output values, only the input values IIR: the current output value involves previous output values (feedback) as well as input values Aug 2016 © 2003-2016, JH McClellan & RW Schafer

First Order IIR – ONE FEEDBACK TERM ADD PREVIOUS OUTPUTS PREVIOUS FEEDBACK FIR PART of the FILTER FEED-FORWARD CAUSALITY: NOT USING FUTURE OUTPUTS or INPUTS Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer FILTER COEFFICIENTS ADD PREVIOUS OUTPUTS MATLAB yy = filter([3,-2],[1,-0.8],xx) SIGN CHANGE Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer COMPUTE OUTPUT Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer COMPUTE y[n] FEEDBACK DIFFERENCE EQUATION: NEED y[-1] to get started Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer AT REST CONDITION y[n] = 0, for n<0 BECAUSE x[n] = 0, for n<0 Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer COMPUTE y[0] THIS STARTS THE RECURSION: SAME with MORE FEEDBACK TERMS Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer COMPUTE MORE y[n] CONTINUE THE RECURSION: No more input Continues @ (0.8)n-3 Aug 2016 © 2003-2016, JH McClellan & RW Schafer

PLOT y[n] (infinite length) Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer IMPULSE RESPONSE Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer IMPULSE RESPONSE DIFFERENCE EQUATION: Find h[n] CONVOLUTION in TIME-DOMAIN IMPULSE RESPONSE Aug 2016 © 2003-2016, JH McClellan & RW Schafer LTI SYSTEM

© 2003-2016, JH McClellan & RW Schafer PLOT IMPULSE RESPONSE 5 At every index increment, only 80% of value retained Aug 2016 © 2003-2016, JH McClellan & RW Schafer

Infinite-Length Signal: h[n] POLYNOMIAL Representation SIMPLIFY the SUMMATION in IIR APPLIES to Any SIGNAL Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer Derivation of H(z) Recall Sum of Geometric Sequence: Yields a COMPACT FORM Aug 2016 © 2003-2016, JH McClellan & RW Schafer

H(z) = z-Transform{ h[n] } FIRST-ORDER IIR FILTER: The impulse response is infinitely long. But, the filter is specified by only a few coefficients – The order is finite. Aug 2016 © 2003-2016, JH McClellan & RW Schafer

Find H(z) from DE via ALGEBRA Aug 2016 © 2003-2016, JH McClellan & RW Schafer

H(z) = z-Transform{ h[n] } ANOTHER FIRST-ORDER IIR FILTER: Aug 2016 © 2003-2016, JH McClellan & RW Schafer

STEP RESPONSE: x[n]=u[n] Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer DERIVE STEP RESPONSE Aug 2016 © 2003-2016, JH McClellan & RW Schafer

© 2003-2016, JH McClellan & RW Schafer PLOT STEP RESPONSE Aug 2016 © 2003-2016, JH McClellan & RW Schafer