DT Iir Filters
DT Iir Filters
1/11
2/11
0
-20
-40
-60
-80
0
0.1
0.2
0.3
0.4
0.5
0.6
Normalized DT Frequency /
0.7
0.8
0.9
0.7
0.8
0.9
|H()| (dB)
0
-20
-40
-60
-80
0
0.1
0.2
0.3
0.4
0.5
0.6
Normalized DT Frequency /
Chebyshev IIR
[b,a]=cheby2(7,60,0.7);
Sets Stopband Edge
b = [0.0692
0.3789
0.9728
1.5028
1.5028
0.9728
0.3789
0.0692]
a = [1.0000
1.2028
1.6599
1.0991
0.6240
0.2098
0.0473
0.0048]
-20
0.8
-40
-60
0.6
-80
0.4
-100
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
Normalized DT Frequency /
0.8
0.9
<H() radians
Imaginary Part
|H()| (dB)
0.2
0
-0.2
-2
-0.4
-4
-0.6
-6
-0.8
-8
-10
-1
0.1
0.2
0.3
0.4
0.5
0.6
0.7
Normalized DT Frequency /
0.8
0.9
-1
-0.5
0
Real Part
0.5
4/11
Sets Order
Elliptical IIR
Sets Passband Ripple
Sets Stopband Height
[b,a] = ellip(7,0.1,60,0.5);
Sets Passband Edge
b = [0.0338
0.1302
a = [1.0000 -0.8994
0.2821
0.4013
2.1386 -1.5364
0.4013
0.2821
0.1302
1.4793 -0.7327
0.0338]
0.3178 -0.0725]
|H()| (dB)
0
1
-50
0.8
-100
0.6
0.1
0.2
0.3
0.4
0.5
0.6
0.7
Normalized DT Frequency /
0.8
0.9
<H() radians
Imaginary Part
0.4
-150
0.2
0
-0.2
-2
-0.4
-4
-0.6
-6
-0.8
-8
-1
-1
-10
0.1
0.2
0.3
0.4
0.5
0.6
0.7
Normalized DT Frequency /
0.8
0.9
-0.5
0
Real Part
0.5
5/11
Butterworth IIR
Sets Order
Sets Passband Edge
[b,a] = butter(7,0.5);
b = [0.0166
0.1160
a = [1.0000 -0.0000
0.3479
0.5798
0.5798
0.9200 -0.0000
0.3479
0.1927 -0.0000
0.1160
0.0166]
0.0077 -0.0000]
|H()| (dB)
0
1
-50
0.8
0.6
-100
0.1
0.2
0.3
0.4
0.5
0.6
0.7
Normalized DT Frequency /
0.8
0.9
<H() radians
Imaginary Part
0.4
-150
0.2
0
-0.2
-0.4
-5
-0.6
-0.8
-10
-1
-1
-15
0.1
0.2
0.3
0.4
0.5
0.6
0.7
Normalized DT Frequency /
0.8
0.9
-0.5
0
Real Part
0.5
6/11
7/11
Note: Including a
pole or zero at the
origin
z
Imz
z
Placing a zero
on UC
doesnt change
the magnitude but
does change the
phase
Imz
z
makes |H| = 0
at angle where
zero is placed
Imz
Placing more
zeros/poles
gives sharper
transitions.
Imz
z
H1 ( z ) zH ( z )
H1 ( z ) z H ( z )
H 1 ( ) e j H ( )
H 1 ( ) e j H ( )
H 1 ( ) e j H ( )
H 1 ( ) e j H ( )
e j H ( )
H ()
H1 () e j H ()
e j H ( )
No Effect on
Magnitude
H ()
H1 () e j H ()
H ()
H ()
Effect on Phase
9/11
Effect of Feedback
We know two important things:
Feedback is what can give us poles other than at the origin
Any pole outside the UC causes the system to be unstable
Thus. It is feedback that can cause a system to be stable.
z ae j
Im{z}
a
a
Re{z}
So if a is increased to be 1
or larger then the system is
unstable!
10/11
a = 0.9
|H ( )|
a = 0.75
a = 0.5
a = 0.25
0
-1 -0.9 -0.8 -0.7 -0.6 -0.5 -0.4 -0.3 -0.2 -0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Normalized DT Frequency /
As increases spike:
Moves up in freq.,
Becomes Higher.
= 3/4
= /2
|H()|
WHY???
= /4
4
2
0
-1 -0.9 -0.8 -0.7 -0.6 -0.5 -0.4 -0.3 -0.2 -0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Normalized DT Frequency /
11/11