1 BIEN425 – Lecture 14 By the end of the lecture, you should be able to: –Design and implement...
-
Upload
karin-greer -
Category
Documents
-
view
215 -
download
3
Transcript of 1 BIEN425 – Lecture 14 By the end of the lecture, you should be able to: –Design and implement...
![Page 1: 1 BIEN425 – Lecture 14 By the end of the lecture, you should be able to: –Design and implement IIR filters using frequency transform and bilinear transform.](https://reader036.fdocuments.in/reader036/viewer/2022081603/56649f315503460f94c4c065/html5/thumbnails/1.jpg)
1
BIEN425 – Lecture 14
• By the end of the lecture, you should be able to:– Design and implement IIR filters using frequency
transform and bilinear transform– Compare the advantages and disadvantages of IIR filter
design strategies (zero-pole versus freq-transform and bilinear transform)
![Page 2: 1 BIEN425 – Lecture 14 By the end of the lecture, you should be able to: –Design and implement IIR filters using frequency transform and bilinear transform.](https://reader036.fdocuments.in/reader036/viewer/2022081603/56649f315503460f94c4c065/html5/thumbnails/2.jpg)
2
In general
This is an alternative way of representing Method 2 from the last lecture.This time, we don’t even need to do partial fraction expansion, the variablein s-domain is simply changed into z-domain.
![Page 3: 1 BIEN425 – Lecture 14 By the end of the lecture, you should be able to: –Design and implement IIR filters using frequency transform and bilinear transform.](https://reader036.fdocuments.in/reader036/viewer/2022081603/56649f315503460f94c4c065/html5/thumbnails/3.jpg)
3
Prove: )1(
)1(2
zT
zs
![Page 4: 1 BIEN425 – Lecture 14 By the end of the lecture, you should be able to: –Design and implement IIR filters using frequency transform and bilinear transform.](https://reader036.fdocuments.in/reader036/viewer/2022081603/56649f315503460f94c4c065/html5/thumbnails/4.jpg)
4
Bilinear transformation
• Simply going between s-plane and z-plane
• This is very fun…. A circle becomes a rectangle and a line becomes a arc.
• Lecture14.m
![Page 5: 1 BIEN425 – Lecture 14 By the end of the lecture, you should be able to: –Design and implement IIR filters using frequency transform and bilinear transform.](https://reader036.fdocuments.in/reader036/viewer/2022081603/56649f315503460f94c4c065/html5/thumbnails/5.jpg)
5
![Page 6: 1 BIEN425 – Lecture 14 By the end of the lecture, you should be able to: –Design and implement IIR filters using frequency transform and bilinear transform.](https://reader036.fdocuments.in/reader036/viewer/2022081603/56649f315503460f94c4c065/html5/thumbnails/6.jpg)
6
Frequency warping
• Given bilinear transformation and s = j2F
• Let’s look at how freq in analog filters (F) can be translated to freq in digital filters (f)
![Page 7: 1 BIEN425 – Lecture 14 By the end of the lecture, you should be able to: –Design and implement IIR filters using frequency transform and bilinear transform.](https://reader036.fdocuments.in/reader036/viewer/2022081603/56649f315503460f94c4c065/html5/thumbnails/7.jpg)
7
Learning through example
• Building a digital lowpass filter from Chebyshev-I given our digital specs: (Butterworth example 8.8)– f0 = 2.5Hz, f1 = 7.5Hz
– p = 0.1, s = 0.1 (Could have given Ap and As instead)
• Recall the following procedure:
![Page 8: 1 BIEN425 – Lecture 14 By the end of the lecture, you should be able to: –Design and implement IIR filters using frequency transform and bilinear transform.](https://reader036.fdocuments.in/reader036/viewer/2022081603/56649f315503460f94c4c065/html5/thumbnails/8.jpg)
8
• Step 1a) pre-wrap frequencies to analog specs
• Step 1b) compute r, d, minimum order
![Page 9: 1 BIEN425 – Lecture 14 By the end of the lecture, you should be able to: –Design and implement IIR filters using frequency transform and bilinear transform.](https://reader036.fdocuments.in/reader036/viewer/2022081603/56649f315503460f94c4c065/html5/thumbnails/9.jpg)
9
• Step 1c) Find poles
• Step 1d) Write H(s)
![Page 10: 1 BIEN425 – Lecture 14 By the end of the lecture, you should be able to: –Design and implement IIR filters using frequency transform and bilinear transform.](https://reader036.fdocuments.in/reader036/viewer/2022081603/56649f315503460f94c4c065/html5/thumbnails/10.jpg)
10
• Step 2) Determine fs =20hz
• Step 3) Re-write into H(z)
![Page 11: 1 BIEN425 – Lecture 14 By the end of the lecture, you should be able to: –Design and implement IIR filters using frequency transform and bilinear transform.](https://reader036.fdocuments.in/reader036/viewer/2022081603/56649f315503460f94c4c065/html5/thumbnails/11.jpg)
11
Another example
• Given
• Find the resonance frequency of this filter
3)1.0(
2.0)(
2
s
ssH
![Page 12: 1 BIEN425 – Lecture 14 By the end of the lecture, you should be able to: –Design and implement IIR filters using frequency transform and bilinear transform.](https://reader036.fdocuments.in/reader036/viewer/2022081603/56649f315503460f94c4c065/html5/thumbnails/12.jpg)
12
Analog frequency transformation
• Design digital HP,BP,BS filters• Always start off with a normalized lowpass filter
NormalizedLowpass
Filter
(Analog)
AnalogFrequency
Transformation
(Analog)
BilinearTransformation
(Digital)
![Page 13: 1 BIEN425 – Lecture 14 By the end of the lecture, you should be able to: –Design and implement IIR filters using frequency transform and bilinear transform.](https://reader036.fdocuments.in/reader036/viewer/2022081603/56649f315503460f94c4c065/html5/thumbnails/13.jpg)
13
![Page 14: 1 BIEN425 – Lecture 14 By the end of the lecture, you should be able to: –Design and implement IIR filters using frequency transform and bilinear transform.](https://reader036.fdocuments.in/reader036/viewer/2022081603/56649f315503460f94c4c065/html5/thumbnails/14.jpg)
14
Digital frequency transformation
NormalizedLowpass
Filter
(Analog)
BilinearTransformation
(Digital)
DigitalFrequency
Transformation
(Digital)
![Page 15: 1 BIEN425 – Lecture 14 By the end of the lecture, you should be able to: –Design and implement IIR filters using frequency transform and bilinear transform.](https://reader036.fdocuments.in/reader036/viewer/2022081603/56649f315503460f94c4c065/html5/thumbnails/15.jpg)
15
![Page 16: 1 BIEN425 – Lecture 14 By the end of the lecture, you should be able to: –Design and implement IIR filters using frequency transform and bilinear transform.](https://reader036.fdocuments.in/reader036/viewer/2022081603/56649f315503460f94c4c065/html5/thumbnails/16.jpg)
16
Beware of potential problems
• Double check your filter response after design– Stability?– Actual frequency response– Impulse response (check for limit cycles or deadband
effects: oscillations even when input has gone to zero)