Nov '04CS3291: Section 61 Baseado no material da: UNIVERSITY of MANCHESTER Department of Computer Science CS3291: Digital Signal Processing Section 6 IIR.

Slides:



Advertisements
Similar presentations
Signal Processing in the Discrete Time Domain Microprocessor Applications (MEE4033) Sogang University Department of Mechanical Engineering.
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
ECE 8443 – Pattern Recognition EE 3512 – Signals: Continuous and Discrete Objectives: Filters and Difference Equations Signal Flow Graphs FIR and IIR Filters.
Signal and System IIR Filter Filbert H. Juwono
Chapter 6 Infinite Impulse Response Filter Design.
24 Nov'09Comp30291 DMP Section 51 University of Manchester School of Computer Science Comp : Digital Media Processing Section 5 z-transforms & IIR-type.
CHAPTER 7 Digital Filter Design Wang Weilian School of Information Science and Technology Yunnan University.
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.
Digital Signal Processing – Chapter 11 Introduction to the Design of Discrete Filters Prof. Yasser Mostafa Kadah
Unit 9 IIR Filter Design 1. Introduction The ideal filter Constant gain of at least unity in the pass band Constant gain of zero in the stop band The.
IIR Filter Design: Basic Approaches Most common approach to IIR filter design: (1)Convert specifications for the digital filter into equivalent specifications.
Active Filters Conventional passive filters consist of LCR networks. Inductors are undesirable components: They are particularly non-ideal (lossy) They.
IIR Filters and Equalizers R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2002.
Normalized Lowpass Filters “All-pole” lowpass filters, such as Butterworth and Chebyshev filters, have transfer functions of the form: Where N is the filter.
EE513 Audio Signals and Systems Digital Signal Processing (Systems) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
IIR based Digital Filters:
Sept'05CS32911 CS3291 Sect 2: Review of analogue systems Example of an analogue system: Represent as “black box” R C y(t) x(t) y(t)
Chapter 7 IIR Filter Design
Nov'04CS3291: Section 41 University of Manchester Department of Computer Science CS3291 Digital Signal Processing '04-'05 Section 4: ‘A design technique.
16 Oct'09Comp30291 Section 31 University of Manchester School of Computer Science Comp30291: Digital Media Processing Section 3 : Discrete-time.
Nov '04CS3291: Section 61 UNIVERSITY of MANCHESTER Department of Computer Science CS3291: Digital Signal Processing Section 6 IIR discrete time filter.
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.
Oct'04CS32911 CS3291 : Digital Signal Processing '04-05 Section 3 : Discrete-time LTI systems 3.1Introduction: A discrete time system takes discrete time.
Nov'04CS3291 DSP Sectn 51 University of Manchester Department of Computer Science CS 3291 : Digital Signal Processing Section 5: z-transforms & IIR-type.
1 Lecture 1: February 20, 2007 Topic: 1. Discrete-Time Signals and Systems.
Lecture 10a Infinite Impulse Response (IIR) Filters.
Dan Ellis 1 ELEN E4810: Digital Signal Processing Topic 8: Filter Design: IIR 1.Filter Design Specifications 2.Analog Filter Design 3.Digital.
Ch.10 Design of Digital Filters and Controllers Discretization The sampled signal x s (t) = x(t) p(t) where p(t) is the sampling pulse signal, with.
1 Digital Signal Processing. 2 Digital Signal Processing Topic 8: Filter Design: IIR 1. Filter Design Specifications 2. Analog Filter Design 3. Digital.
11/15/2006 Ch 7 System Consideration- Paul Lin 1 ECET 307 Analog Networks Signal Processing Ch 7 System Considerations 2 of 3 Fall 2006
2/17/2007DSP Course-IUST-Spring Semester 1 Digital Signal Processing Electrical Engineering Department Iran University of Science & Tech.
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.
IIR Digital Filter Design
Lecture 5 BME452 Biomedical Signal Processing 2013 (copyright Ali Işın, 2013)1 BME 452 Biomedical Signal Processing Lecture 5  Digital filtering.
1 Digital Signal Processing Digital Signal Processing  IIR digital filter structures  Filter design.
Digital Signal Processing
Signal and Systems Prof. H. Sameti Chapter 10: Introduction to the z-Transform Properties of the ROC of the z-Transform Inverse z-Transform Examples Properties.
Signals and Systems Filter Design. Part III Design.
Chapter 4 Discrete Equivalents.
Z Transform The z-transform of a digital signal x[n] is defined as:
EKT430/4 DIGITAL SIGNAL PROCESSING 2007/2008 CHAPTER 8 IIR FILTER DESIGN.
Nov '03csDSP61 CS3291: Section 6 IIR discrete time filter design Introduction: Many design techniques for IIR discrete time filters have adopted ideas.
ECE 8443 – Pattern Recognition EE 3512 – Signals: Continuous and Discrete Objectives: FIR Filters Design of Ideal Lowpass Filters Filter Design Example.
1 Teaching Innovation - Entrepreneurial - Global The Centre for Technology enabled Teaching & Learning, MGI,India DTEL DTEL (Department for Technology.
15 Oct 2009Comp30291 Section 21 UNIVERSITY of MANCHESTER School of Computer Science Comp30291: Digital Media Processing Section 2 Analogue filtering.
Finite Impulse Response Filtering EMU-E&E Engineering Erhan A. Ince Dec 2015.
Learning from the Past, Looking to the Future James R. (Jim) Beaty, PhD - NASA Langley Research Center Vehicle Analysis Branch, Systems Analysis & Concepts.
Digital Signal Processing
IIR Filter design (cf. Shenoi, 2006)
CHAPTER 5 Z-Transform. EKT 230.
Lecture: IIR Filter Design
Speech Signal Processing
IIR Filters FIR vs. IIR IIR filter design procedure
Infinite Impulse Response (IIR) Filters
Chapter 8 Design of Infinite Impulse Response (IIR) Digital Filter
University of Manchester School of Computer Science
3.4 Frequency-domain Filters
Analogue filtering UNIVERSITY of MANCHESTER School of Computer Science
z Transform Signal and System Analysis
Usıng the impulse sampling method Prepared by: Dr. Erhan A. INCE
Digital Control Systems (DCS)
CS3291: "Interrogation Surprise" on Section /10/04
Frequency response I As the frequency of the processed signals increases, the effects of parasitic capacitance in (BJT/MOS) transistors start to manifest.
IIR Digital Filter Design
Presentation transcript:

Nov '04CS3291: Section 61 Baseado no material da: UNIVERSITY of MANCHESTER Department of Computer Science CS3291: Digital Signal Processing Section 6 IIR discrete time filter design

Nov '04CS3291: Section Introduction: Many design techniques for IIR discrete time filters have adopted ideas of analogue filters Transform H a (s) for analogue ‘prototype’ filter into H(z) for discrete time filter. Begin with a reminder about analogue filters Analogue filters

Nov '04CS3291: Section 63 Analogue filters have transfer functions: a 0 + a 1 s + a 2 s a N s N H a (s) =  b 0 + b 1 s + b 2 s b M s M Replace s by j  for frequency-response. For RE(s)  0, H a (s ) is Laplace Transform of h a (t). In terms of poles and zeros: (s - z 1 ) ( z - z 2 )... ( s - z N ) H a (s) = K  (s - p 1 ) ( z - p 2 )... ( s - p M ) Many known techniques for deriving H a (s); e.g. Butterworth low-pass approximation Analogue filters have infinite impulse-responses.

Nov '04CS3291: Section 64 Analogue Butterworth low-pass filter of order n [n/2] is integer part of n/2 & P = 0 /1 if n is even / odd

Nov '04CS3291: Section 65

Nov '04CS3291: Section 66

Nov '04CS3291: Section 67

Nov '04CS3291: Section 68 Intro to Bilinear Transformation method Most common method for transforming H a (s) to H(z) for IIR discrete time filter. Consider derivative approximation technique: D[n] = dy(t) /dt at t=nT  ( y[n] - y[n-1]) / T. dx(t) /dt at t=nT  (x[n] - x[n-1]) / T. d 2 y(t)/dt 2 at t=nT  (y[n] - 2y[n-1]+y[n-2])/T 2 d 3 y(t)/dt 3 at t=nT  (y[n]-3y[n-1]+3y[n-2]-y[n-3])/T 3 “Backward difference” approximation introduces delay which becomes greater for higher orders. Try "forward differences" : D[n]  [y[n+1] - y[n]] / T, etc. But this does not make matters any better.

Nov '04CS3291: Section 69 Bilinear approximation: 0.5( D[n] + D[n-1])  (y[n] - y[n-1]) / T & similarly for dx(t)/dt at t=nT. Similar formulae may be derived for d 2 y(t)/dt 2, and so on. If D(z) is z-transform of D[n] : 0.5( D(z) + z -1 D(z) ) = ( Y(z) - z -1 Y(z) ) / T

Nov '04CS3291: Section 610  replacing s by [ (2/T) (z-1)/(z+1)] is bilinear approximation. If LT of y(t) is Y(s) LT of dy(t)/dt is sY(s). s y(t) dy(t)/dt (2/T) (z-1)/(z+1) {y[n]}  {dy(t)/dt / t=nT }

Nov '04CS3291: Section Bilinear transformation: Most common transform from H a (s) to H(z). Replace s by (2 / T) (z-1) / (z+1) to obtain H(z). For convenience take T=1. Example 1 1 H a (s) =  then H(z) =  1 + RC s 1 + RC z + 1 =  (1 + 2RC)z + (1 - 2RC)

Nov '04CS3291: Section 612 Re-express as: 1 + z - 1 H(z) = K  1 + b 1 z - 1 where K = 1 / (1 + 2RC) & b 1 = (1 - 2RC) / (1 + 2RC) Properties: (z - 1) (i) H(z) = H a (s) where s = 2  (z + 1) (ii) Order of H(z) = order of H a (s) (iii) If H a (s) is causal & stable, so is H(z). (iv) H(e j  ) = H a (j  ) where  = 2 tan(  /2)

Nov '04CS3291: Section 613 Proof of (iv): When z = e j , then e j  - 1 2(e j  / 2 - e - j  / 2 ) s = 2  =  e j  + 1 e j  / 2 + e -j  / 2 2( 2 j sin (  / 2) =  2 cos (  / 2) = 2 j tan(  / 2)

Nov '04CS3291: Section 614 Frequency warping: By (iv), H(e j  ) = H a (j  ) with  = 2 tan(  /2).  from -  to  mapped to  in the range -  to .

Nov '04CS3291: Section 615 Mapping approx linear for  in the range -2 to 2. As  increases above 2, a given increase in  produces smaller and smaller increases in .

Nov '04CS3291: Section 616 Comparing (a) with (b) below, (b) becomes more and more compressed as    . Frequency warping must be taken into account with this method

Nov '04CS3291: Section Design of IIR low-pass filter by bilinear transfm Given cut-off frequency  C in radians/sample:- (i) Calculate  C = 2 tan(  C /2) radians/sec. (  C is "pre-warped" cut-off frequency) (ii) Find H a (s) for analogue low-pass filter with 1 radian/s cut-off. (iii) Scale cut-off frequency of H a (s) to  C (iv) Replace s by 2(z - 1) / (z+1) to obtain H(z). (v) Rearrange the expression for H(z) (vi) Realise by biquadratic sections.

Nov '04CS3291: Section 618 Example Design 2 nd order Butterworth-type IIR low-pass filter with  C =  / 4. Solution: Prewarped frequency  C = 2 tan(  / 8) = Analogue Butterworth low-pass filter with c/o 1 radian/second: 1 H a (s) =  1 +  2 s + s 2 Scale c/o to 0.828, 1 H a (s) =  1 +  2 s/ (s/0.828) 2 then replace s by 2 (z+1) / (z-1) to obtain: z 2 + 2z + 1 H(z) =  z z + 3.4

Nov '04CS3291: Section 619 which may be realised by the signal flow graph:-

Nov '04CS3291: Section Higher order IIR digital filters: Normally cascaded biquad sections. Example 6.3: Design 4th order Butterwth-type IIR low-pass digital filter with 3 dB c/o at f S / 16.. Solution: (a) Relative cut-off frequency is  /8. Prewarped cut-off :  C = 2 tan((  /8)/2)  0.4 radians/s. Formula for 1 radian/s cut-off is: Replace s by s/0.4 then replace s by 2 (z-1) / (z+1) to obtain:

Nov '04CS3291: Section 621 H(z) may be realised as:

Nov '04CS3291: Section 622

Nov '04CS3291: Section 623 Compare gain-response of 4th order Butt low-pass transfer function used as a prototype, with that of derived digital filter. Both are 1 at zero frequency. Both are at the cut-off frequency. Analogue gain approaches 0 as    whereas digital filter gain becomes exactly zero at  = . Shape of Butt gain response is "warped" by bilinear transfn. For digital filter, cut-off rate becomes sharper as    because of the compression as   .