Discrete-Time IIR Filter Design From Continuous-Time Filters
Discrete-Time IIR Filter Design From Continuous-Time Filters
Continuous-Time Filters
Quote of the Day
Experience is the name everyone gives to their
mistakes.
Oscar Wilde
Content and Figures are from Discrete-Time Signal Processing, 2e by Oppenheim, Shafer, and Buck, 1999-2000 Prentice Hall Inc.
Implementation
Realization of discrete-time systems depends on target technology
xc(t)
C/D
xn
H(e )
j
H e j Hc j / T
Copyright (C
yn
D/C
yr(t)
Filter Specifications
Specifications
Passband
0 2 2000
Stopband
Heff j 0.001
2 3000
Parameters
1 0.01
2 0.001
p 2 2000
s 2 3000
Specs in dB
Ideal passband gain =20log(1) = 0 dB
Max passband gain = 20log(1.01) = 0.086dB
Max stopband gain = 20log(0.001) = -60 dB
Copyright (C
1 j / j c
sk 1
Copyright (C
1 / 2N
2N
jc ce j / 2N 2k N1
Hc s
1 s / j c
2N
for k 0,1,...,2N - 1
Chebyshev Filters
Equiripple in the passband and monotonic in the stopband
Or equiripple in the stopband and monotonic in the passband
Hc j
Copyright (C
1 V / c
2
2
N
VN x cos N cos 1 x
hn Tdhc nTd
He
Hc j
j
k
Td
k
Td
Hc j 0
/ Td
H e j Hc j
Td
Copyright (C
0
t0
Impulse response of discrete-time filter
hn Tdhc nTd
System function
TdAk e
k 1
H z
sknTd
k 1
TdAk
sk Td 1
z
k 1 1 e
N
Copyright (C
un TdAk esk Td un
esk Td
Example
Impulse invariance applied to Butterworth
H e 0.17783
0.89125 H e j 1
0 0.2
0.3
0 0.2
H j 0.17783
0.3
1 j / jc
2N
Copyright (C
Example Contd
Satisfy both constrains
0.2
1
c
2N
0.89125
and
0.3
1
c
2N
0.17783
and
c 0.70474
0.12093
s2 0.364s 0.4945 s2 0.9945s 0.4945 s2 1.3585s 0.4945
Mapping to z-domain
0.2871 0.4466z 1
2.1428 1.1455z 1
H z
1
2
1 1.2971z 0.6949z
1 1.0691z 1 0.3699z 2
1.8557 0.6303z 1
1 0.9972z 1 0.257z 2
Copyright (C
Example Contd
Copyright (C
10
Bilinear transformation
2
s
Td
1 z 1
1
1z
2
H z Hc
Td
1 z 1
1
1z
1 Td / 2 s 1 Td / 2 jTd / 2
1 Td / 2 s 1 Td / 2 jTd / 2
s j
Copyright (C
11
Bilinear Transformation
On the unit circle the transform becomes
1 jTd / 2
e j
1 jTd / 2
2
s
Td
1 e j
2 2e j / 2 j sin / 2
2j
tan
j
j / 2
Td 2e
Td
cos / 2
2
1e
Which yields
Copyright (C
2
tan
Td
2
or
Td
2 arctan
12
Bilinear Transformation
Copyright (C
13
Example
Bilinear transform applied to Butterworth
H e 0.17783
0.89125 H e j 1
j
0 0.2
0.3
2
0.2
tan
Td
2
0.3
2
H j 0.17783
tan
Td
1 / c
2N
To get
2 tan 0.1
1
c
Copyright (C
2N
0.89125
2 tan 0.15
and 1
c
2N
0.17783
14
Example Contd
Solve N and c
2
1
log
1
0.17783
N
2 log tan 0.15
0.89125
tan 0.1
5.305 6
c 0.766
0.20238
s2 0.3996s 0.5871 s2 1.0836s 0.5871 s2 1.4802s 0.5871
1 1.2686z
1 0.9044z
Copyright (C
1
1
0.0007378 1 z 1
0.7051z 2 1 1.0106z 1 0.3583z 2
0.2155z 2
15
Example Contd
Copyright (C
16