Digital Signal Processing Reference
In-Depth Information
Fig. 15.16. Desired
specifications of a bandstop
filter.
| H bs ( W )|
1 + d p1
1 + d p2
1 − d p2
1 − d p1
pass
band I
stop
band
pass
band II
d s
W
0
W p1 W s1
W s2
W p2
p
As shown in Table 14.1, the impulse response of the ideal bandstop filter with
normalized cut-off frequencies of n1 , n2 ( n2 > n )isgivenby
h ibs [ k ] = δ [ k ]
n2 sinc[ n2 k ] +
n1 sinc[ n1 k ] .
(15.38)
By applying a delay m , the modified impulse response of an ideal bandpass
filter is obtained:
h ibs [ k ] = δ [ k m ]
n2 sinc[ n2 ( k m )] +
n1 sinc[ n1 ( k m )] .
(15.39)
In the following example, we illustrate the steps involved in designing a practical
bandstop filter using the windowing method.
Example 15.7
Design a bandstop FIR filter, using a Kaiser window, with the following speci-
fications:
(i) pass-band edge frequencies, p1 = 0 . 25 π and p2 = 0 . 625 π radians/s;
(ii) stop-band edge frequencies, s1 = 0 . 375 π and s2 = 0 . 5 π radians/s;
(iii) stop-band attenuations, δ s1 > 50 dB and δ s2 > 50 dB.
Solution
The cut-off frequencies of the bandpass filter are given by
= 0 . 5(0 . 25 π
+ 0 . 375 π ) = 0 . 3125 π
c1
and
= 0 . 5(0 . 5 π
+ 0 . 625 π ) = 0 . 5625 π.
c2
The normalized cut-off frequencies are given by n1
= 0 . 3125 and n2
=
0 . 5625. The impulse response of an ideal bandpass filter is given by
h ibs [ k ] = δ [ k m ] 0 . 5625 sinc[0 . 5625( k m )]
+ 0 . 3125 sinc[0 . 3125( k m )] .
(15.40)
Search WWH ::




Custom Search