Outline
About Digital Filter Design
Bilinear Transformation Method of IIR Filter Design
Design of Lowpass IIR Digital Filters
Design of Hignpass, Bandpass, and Bandstop IIR Digital
Filter
FIR Filter Design Based on Windowed Fourier Series
Computer-Aided Design of Digital Filters
Digital Filter Design Using MATLAB
Sample frequency
FT
P 20 log10 (1 P )dB
S 20 log10 ( s )dB
P 1 10
S 10
P / 20
S / 20
P
FT
S
FT
2FP
FT
2FS
FT
H ( z ) h[ n] z
n0
H ( z)
p0 p1 z 1 p 2 z 2 p M z M
d 0 d1 z 1 d 2 z 2 d N z N
IIR
Impulse Response
finite
infinite
System Function
H(z)=P(z)
H(z)=P(z)/D(z)
Structure diagram
Have feedback
No feedback
Phase response
________________
h[n]= h[n-N]
Zero-poles
20 log10 ( p s ) 13
20 log10 ( s ) 0.22
( s p ) / 2
20 log10 ( p ) 5.94
27 ( s p ) / 2
14.6 ( s p ) / 2
G(z)= Ha(s) |
s (
2
T
1 z 1
1 z 1
s j 0
1 s
1 s
1 j 0
1 j 0
s 0 j 0
z
0 0
If 0 >0
If
(1 0 ) j 0
(1 0 ) j 0
then
then
z
z
<1
>1
(1 0 ) 2 ( 0 ) 2
(1 0 ) 2 ( 0 ) 2
s j
and
ze
1 e j
j
1 e
j tan( )
tan( )
Example
H ( s)
G( z )
Notch bandwidth
Bw
G( z)
2[1 (1 ) z 1 z 2 ]
cos 0
s 2 Bs 02
(1 ) 2 (1 ) z 1 (1 ) z 2
Bw / 2 )
11 tan(
tan( Bw / 2 )
Notch frequency
s 2 02
(1 02 ) 2 (1 02 ) z 1 (1 02 ) z 2
(1 02 B ) 2 (1 02 ) z 1 (1 02 B ) z 2
p s p s
s (
2
T
1 z 1
1 z 1
of 15dB
Then
p
2
p
s
10..1708496
4142135 2.8266809
2 0.1220185
N
since
15.841979
log(1 / k )
log(1 / k )
2
2.6586997 N 3
H a ( j p ) 1 (
1
2N
p / c )
H a ( j s ) 1 ( 1
s / c
2N
then we get
c 1.419915( p )
11 2
1
A2
H an ( s )
1
( s 1)( s 2 s 1)
0.203451
( s 0.588148 )( s 2 0.588148 s 0.345918 )
G ( z ) H a ( s ) |s (1 z 1 ) /(1 z 1 )
0.0662272 (1 z 1 ) 3
(1 0.2593284 z 1 )(1 0.6762858 z 1 0.3917468 z 2 )
1 e j
1 e j
tan( 2 )
j tan( )
s F ( s)
H D ( s) H LP ( s ) |s F ( s )
H LP ( s ) H D ( s) |s F 1 ( S )
( s is the Laplace transform variable of the prototype analog
lowpass filter HLP(S) and is the Laplace transform variable of
the desired analog filterH D (s))
Step4: convert the transfer function HLP(S) into HD(S) using the
inverse of the frequency transformation used in step2
s (
2
T
1 z
1 z 1
1 e j
1 e j
j tan( 2 )
tan( )
s F ( s)
H D ( s) H LP ( s ) |s F ( s )
H LP ( s ) H D ( s) |s F 1 ( S )
( s is the Laplace transform variable of the prototype analog
lowpass filter HLP(S) and is the Laplace transform variable
of the desired analog filter H D (s) )
s (
2
T
1 z 1
1 z 1
lp2bp:
transform the lowpass analog filter to
bandpass analog filter
lp2bs :
transform the lowpass analog filter to
bandstop analog filter