











Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!












Butterworth filters
Have no ripples, gain falls monotonically
across the pass and transition band.
Chebyshev type I filters
Distribute the gain error uniformly
throughout the passband (equiripples)
and drop off monotonically outside.
Chebyshev type II filters
Distribute the gain error uniformly
throughout the stopband (equiripples)
and drop off monotonically in the
passband.
Elliptic filters
Distribute the gain error as equiripples both in
the passband and stopband. This type of filter
is optimal in terms of the combination of the
passband‐gain tolerance, stopband‐gain
tolerance, and transition‐band width that can
be achieved at a given filter order.
Analog Filter Design
Filter Design Techniques
If our specifications are given in continuous time we can use:
It can be noted that the specifications for filters are typically given in
frequency domain
Chapter 7: Filter Design Techniques 7
x c(t) C/D H(e D/C y r (t) jω )
x [ ]n y [n ] (^ )^ (^ / )
j H e Hc j T
ω ω
ω π
Filter Specifications
Passband
Stopband
Ideal passband gain
=20log(1) = 0 dB
Max passband gain =
20log(1.01) = 0.086dB
Max stopband gain =
20log(0.001) = ‐60 dB
Chapter 7: Filter Design Techniques 8
1
2
2 2000
2 3000
p
s
δ
δ
π
π
=
=
Ω =
Ω =
Chapter 7: Filter Design Techniques 9
7.1 Discrete-Time IIR Filter Design from
Continuous-Time Filters
7.1.1 Filter Design by Impulse Invariance
Mapping a continuous‐time impulse response to discrete‐time
Mapping a continuous‐time frequency response to discrete‐time
Start with discrete‐time spec in terms of ω (T (^) d has no role in the process)
Go to continuous‐time Ω= ω /T and design continuous‐time filter
Use impulse invariance to map it back to discrete‐time ω= ΩT
Chapter 7: Filter Design Techniques 10
[ ] ( ) ( )
j^2 d c d c k (^) d d
h n T h nT H e H j j k T T
ω ω^ π
∞
=−∞
∑
( )
( )
c d
j c d
H j T
H e H j T
ω
π
ω ω π
Example 7.2 Cont’d
c
c
13
(^2 2 ) 0.2 1 0.3 1 1 and 1 0.89125 0.
N N
c c
⎛ (^) π⎞ (^) ⎛ ⎞ ⎛ (^) π⎞ ⎛ ⎞
2 ( /^2 )(^21 ) (/^2 /^2 / )
1
j N kN c c
N k
π π π π
( / 2 / 12 / 6 ) ( 5 / 12 / 6 )
π −π +π j π + k π c
j k k c
Example 7.2 Cont’d
The transfer function
where (Ωc ) N = (0.7032) 6 = 0.
After applying partial fraction expansion, perform the transformation to
z‐domain using Equation (7.12) and combining complex conjugate
terms (an important step to convert a continuous‐time filter to discrete‐
time filter, therefore, practice it from exam point of view)
1 1
1 2 1 2
1
1 2
0.2871 0.4466 2.1428 1.
1 1.2971 0.6949 1 1.0691 0.
1.8557 0.
1 0.9972 0.
z z H z z z z z
z
z z
− −
− − − −
−
− −
− − + = + − + − +
−
− +
( )( )( )
2 2 2
0.364 0.4945 0.9945 0.4945 1.3585 0.
H s s s s s s s
=
1
k
N
k
N c c
s s
H s
Example Cont’d
Chapter 7: Filter Design Techniques 15
Filter Design by Bilinear Transformation
Nonlinear transformation
Frequency response subject to warping
(7.21)
d
Stable in one domain would stay in the other
Chapter 7: Filter Design Techniques 16
1
1
d
z s T z
−
−
( )
1
1
c d
z H z H T z
−
−
( )
( )
d (^) d d
d d d
T s (^) T j T z T s T j T
σ
σ
Example 7.3 (Also consult the book)
d
Chapter 7: Filter Design Techniques 19
( )
( )
0.89125 1 0 0.
0.17783 0.
j
j
H e
H e
ω
ω
ω π
π ω π
≤ ≤ ≤ ≤
≤ ≤ ≤
2 0. 0.89125 1 0 tan 2
2 0. 0.17783 tan 2
d
d
H j T
H j T
π
π
⎛ ⎞ ≤ Ω ≤ ≤ Ω ≤ (^) ⎜ ⎟ ⎝ ⎠
⎛ ⎞ Ω ≤ (^) ⎜ ⎟≤ Ω < ∞ ⎝ ⎠
2 2
1
1 /
c N c
H j Ω =
(^2 2 ) 2 tan 0.1 1 2 tan 0.15 1 1 and 1 0.89125 0.
N N
c c
⎛ (^) π⎞ (^) ⎛ ⎞ ⎛ (^) π⎞ ⎛ ⎞
Solve N and Ωc
Substituting N=6 in Eq 7.34b, we obtain Ωc =0.766 in order to exactly meet the stopband specifications
The resulting transfer function has the following poles
Resulting in
where (Ω c )N^ = (0.766) 6 = 0.
2 2 1 1 log 1 1 0.17783 0. 5.305 6 2 log tan 0.15 tan 0.
N π π
⎡ (^) ⎛ ⎞ ⎛ ⎞⎤ ⎛ ⎞ ⎛ ⎞ ⎢ ⎜ −^ ⎟ ⎜ −⎟⎥ ⎜ ⎜^ ⎟^ ⎟ ⎜ ⎜^ ⎟ ⎟ ⎢ ⎝^ ⎠^ ⎝^ ⎠ ⎥ ⎣⎝ ⎠^ ⎝^ ⎠⎦ = = ≅ ⎡ ⎤ ⎣ ⎦
( ) ( )( )( )
2 2 2
c H s s s s s s s
2 ( /^2 )(^21 ) (/^2 /^2 / )
1
j N kN c c
N k
π π π π
( / 2 / 12 / 6 ) ( 5 / 12 / 6 )
π −π +π j π + k π c
j k k c
Applying the bilinear transform Eq. (7.21)
with T d =1, yields (an important step to convert a continuous‐time
filter to discrete‐time, therefore, practice it from exam point of view)
( )
( )( )
( )
6 1
1 2 1 2
1 2
0.0007378 1
1 1.2686 0.7051 1 1.0106 0.
1
1 0.9044 0.
z H z z z z z
z z
−
− − − −
− −
= − + − +
× − +
1
1
d
−
−
Example Cont’d
Chapter 7: Filter Design Techniques 22
Windowing in Frequency Domain
jω
Chapter 7: Filter Design Techniques 25
( ) ( )
( ) ( )
j j j H e H (^) d e W e d
π ω ω ω θ
π
−
−
∫
Properties of Windows
Less smearing, closer approximation
Less coefficient in designed filter, computationally efficient
Contradictory requirements
Chapter 7: Filter Design Techniques 26
( )
( )
( )
[ ]
1
0
/ 2
sin 1 / 2
sin / 2
M^ j^ M j j n j n
j M
e W e e e
e
ω ω ω ω
ω
− + − − =
−
∑
Rectangular Window
Chapter 7: Filter Design Techniques 27
4 π/(M+1)
Sharpest transitions at
‐13 dB
Large oscillation around
[ ]
n M w n else
Bartlett (Triangular) Window
8 π/M
‐25 dB
Chapter 7: Filter Design Techniques 28
[ ]
n M n M
w n n M M n M
else
Blackman Window
12 π/M
‐57 dB
Chapter 7: Filter Design Techniques 31
[ ]
0.42 0.5cos
0.08cos
n
n M
w n (^) n
else
Incorporation of Generalized Linear Phase
Symmetric around M/
Periodic convolution of real functions
Chapter 7: Filter Design Techniques 33
[ ]
[ ] 0
w M n n M w n else
( ) ( ) ( )
/ 2 where is a real and even
j j j M j e e W e W e e W e
( ) ( )
j j j M / 2 H (^) d e H (^) e e e
( ) ( )
( ) ( )
j j^ j e e e A e H e W e d
π ω θ ω^ θ
π
−
−
∫
Linear Phase Lowpass filter
Chapter 7: Filter Design Techniques 34
( )
/ 2
j M j c lp c
e H e
ω ω
− ⎧⎪ (^) < = ⎨
⎪ <^ ≤ ⎩
[ ]
( )
( )
sin / 2
c lp
n M h n n M
[ ]
( )
( )
[ ]
sin / 2
c n M h n w n n M
Example: Kaiser Window Design of a Lowpass Filter
Due to the symmetry we can choose it to be
Chapter 7: Filter Design Techniques 37
1 2
p s
ω c = 0.5π
s p
[ ]
( )
( ) ( )
2
0
0
sin 0.5 18.5 18. 0 18.5 5.
n I
n h n n M n I
else