Infinite Impulse Response (IIR) Filters

Slides:



Advertisements
Similar presentations
Chapter 15 Infinite Impulse Response (IIR) Filter Implementation
Advertisements

Design of Digital IIR Filter
Chapter 8. FIR Filter Design
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.
EE513 Audio Signals and Systems Digital Signal Processing (Synthesis) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
Signal and System IIR Filter Filbert H. Juwono
Chapter 6 Infinite Impulse Response Filter Design.
CHAPTER 7 Digital Filter Design Wang Weilian School of Information Science and Technology Yunnan University.
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
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.
AMI 4622 Digital Signal Processing
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.
IIR Filter Design: Basic Approaches Most common approach to IIR filter design: (1)Convert specifications for the digital filter into equivalent specifications.
AGC DSP AGC DSP Professor A G Constantinides 1 Digital Filter Specifications Only the magnitude approximation problem Four basic types of ideal filters.
EEE422 Signals and Systems Laboratory Filters (FIR) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
EE513 Audio Signals and Systems Digital Signal Processing (Systems) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
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
Nov '04CS3291: Section 61 UNIVERSITY of MANCHESTER Department of Computer Science CS3291: Digital Signal Processing Section 6 IIR discrete time filter.
EE Audio Signals and Systems Digital Signal Processing (Synthesis) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
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.
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.
Lecture 5 BME452 Biomedical Signal Processing 2013 (copyright Ali Işın, 2013)1 BME 452 Biomedical Signal Processing Lecture 5  Digital filtering.
Copyright © 2003 Texas Instruments. All rights reserved. DSP C5000 Chapter 15 Infinite Impulse Response (IIR) Filter Implementation.
EE422 Signals and Systems Laboratory Infinite Impulse Response (IIR) filters Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
Chapter 7. Filter Design Techniques
1 Digital Signal Processing Digital Signal Processing  IIR digital filter structures  Filter design.
First-Order System Revisited
FILTER DESIGN TECHNIQUES. Filter: Any discrete-time system that modifies certain frequencies Frequency-selective filters pass only certain frequency components.
Nov '03csDSP61 CS3291: Section 6 IIR discrete time filter design Introduction: Many design techniques for IIR discrete time filters have adopted ideas.
FILTER DESIGN Ideal Filter Magnitude Response NumericLogaritmic.
Analog Lowpass Filter Prototype Design ELEC 423 Prof. Siripong Potisuk.
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.
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
IIR Filter design (cf. Shenoi, 2006)
UNIT - 5 IIR FILTER DESIGN.
Lecture: IIR Filter Design
EEE422 Signals and Systems Laboratory
Speech Signal Processing
IIR Filters FIR vs. IIR IIR filter design procedure
TOPIC 3: FREQUENCY SELECTIVE CIRCUITS
Chapter 6 IIR 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
3.4 Frequency-domain 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 7 Finite Impulse Response(FIR) Filter Design
Chapter 7 Finite Impulse Response(FIR) Filter Design
IIR Digital Filter Design
Presentation transcript:

Infinite Impulse Response (IIR) Filters Recursive Filters: with constant coefficients. Advantages: very selective filters with a few parameters; Disadvantages: a) in general nonlinear phase, b) can be unstable.

Design Techniques: discretization of analog filters s-plane z-plane analog digital Problem: we need to map the derivative operator “s” into the time shift operator “z”, and make sure that the resulting system is still stable.

approximation of “s” Two major techniques Euler Approximation (easiest), Bilinear Transformation (best). Euler Approximation of the differential operator: approximation of “s” take the z-Transform of both sides:

Example: take the analog filter with transfer function and discretize it with a sampling frequency . By Euler’s approximation The filter is implemented by the difference equation s-plane z-plane analog digital

if Re[s]<0. Problem with Euler Approximation: it maps the whole stable region of the s-plane into a subset of the stable region in the z-plane s-plane z-plane since if Re[s]<0.

Bilinear Transformation. It is based on the relationship nT-T nT A B C D Take the z-Transform of both sides: which yields the bilinear transformation:

Main Property of the Bilinear Transformation: it preserves the stability regions. s-plane z-plane since:

Mapping of Frequency with the Bilinear Transformation. Magnitude: Phase: where

See the meaning of this: it is a frequency mapping between analog frequency and digital freqiency.

Example: we want to design a digital low pass filter with a bandwith and a sampling frequency . Use the Bilinear Transformation. Solution: Step 1: specs in the digital freq. domain Step 2: specs of the analog filter to be digitized: or equivalently Step 3: design an analog low pass filter (more later) with a bandwith ; Step 4: apply Bilinear Transformation to obtain desired digital filter.

Design of Analog Filters Specifications: pass band transition band stop band

Two Major Techniques: Butterworth, Chebychev Specify from passband, determine N from stopband:

+ + + + Poles of Butterworth Filter: which yields the poles as solutions N=2 and choose the N poles in the stable region. + + poles + + s-plane

Example: design a low pass filter, Butterworth, with 3dB bandwith of 500Hz and 40dB attenuation at 1000Hz. Solution: solve for N from the expression poles at

Chebychev Filters. Based on Chebychev Polynomials: Property of Chenychev Polynomials: within the interval Chebychev polynomials have least maximum deviation from 0 compared to polynomials of the same degree and same highest order coefficient

Why? Suppose there exists with smaller deviation then root root root But: has degree 2 … … and it cannot have three roots!!! So: you cannot find a P(x) which does better (in terms of deviation from 0) then the Chebychev polynomial.

Chebychev Filter: Since (easy to show from the definition), then

Design of Chebychev Filters: Formulas are tedious to derive. Just give the results: Given: the passband, and which determines the ripple in the passband, compute the poles from the formulae s-plane

Example: design a Chebychev low pass filter with the following specs: passband with a 1dB ripple, stopband with attenuation of at least 40dB. Step 1: determine . The passband frequency For 1dB ripple, Step 2: determine the order N. Use the formula with , to obtain

Frequency Transformations We can design high pass, bandpass, bandstop filters from transformations of low pass filters. Low Pass to High Pass: same value at

Low Pass to Band Pass: The tranformation maps

Low Pass to Band Stop

How to make the transformation: Consider the transfer function then with we obtain with zeros and poles solutions of also n-m extra zeros at s where

IIR filter design using Matlab In Matlab there are three functions for each class of filters (Butterworth, Chebytchev1, Chebytchev2): BUTTAP CHEB1AP CHEB2AP Poles and Zeros of Analog Prototype Filter BUTTER CHEBY1 CHEBY2 Numerator and Denominator from N and BUTTORD CHEBY1ORD CHEBY2ORD N and from specifications Example. We want to design an IIR Digital Filter with the following specifications: Pass Band 0 to 4kHz, with 1dB ripple; Stop Band > 8kHz with at least 40 dB attenuation Sampling frequency 40kHz Type of Filter: Butterworth. Using Matlab: >> [N, fc]=butterord(fp, fs, Rp, Rs); % fp, fs=passband and stopband freq relative to Fs/2 >> [B, A]=butter(N, fc); % B, A vectors of numerator and denominator coefficients. In our case: [N, fc]=butterord(4/20, 8/20, 1, 40), would yield N=7, fc=0.2291; [B, A]=butter(7, 0.2291), would yield the transfer function B(z)/A(z).

Let’s verify these numbers: Step 1: specifications in the digital frequency domain: Step 2: specifications for analog filter from the transformation

Step 3: choose (say) Butterworh Filter with and from the ripple specification Step 4: determine order N from attenuation of 40dB with yields N=7

Step 5: finally the cutoff frequency, from the equation Which yields , corresponding to a digital frequency Step 6: the desired Filter is obtained by the function [num, den] = butter( 7 , 0.6889/)

Magnitude and Phase Plots: