Professional Documents
Culture Documents
14 FIR Filter Design 2
14 FIR Filter Design 2
-20 -20
Gain, dB
Gain, dB
-40 -40
-60 -60
-80 -80
-100 -100
0 0.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1
w/ w/
Hamming window Blackman window
0 0
-20 -20
Gain, dB
Gain, dB
-40 -40
-60 -60
-80 -80
-100 -100
0 0.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1
w/ w/
Fixed Window Functions
• Magnitude spectrum of each window is
characterized by a main lobe centered at
w = 0 followed by a series of sidelobes with
decreasing amplitudes
• Parameters predicting the performance of a
window in filter design are:
• Main lobe width
• Relative sidelobe level
Fixed Window Functions
• Main lobe width ML - given by the
distance between zero crossings on both
sides of main lobe
• Relative sidelobe level As - given by the
difference in dB between amplitudes of
largest sidelobe and main lobe
Fixed Window Functions
j( wc 2w ) j( wc 2w )
• Observe Ht (e ) H t (e ) 1
jwc
• Thus, H t (e ) 0.5
• Passband and stopband ripples are the same
Fixed Window Functions
• Distance between the locations of the
maximum passband deviation and minimum
stopband value ML
Gain, dB
Gain, dB
-50 -50
-100 -100
-50
-100
32
N 22.2886
2.285(0.2)
• Choose N = 25 implying M =12
FIR Filter Design Example
sin(0.4 n)
• Hence ht [n] n w[n], 12 n 12
where w[n] is the n-th coefficient of a
length-25 Kaiser window with 3.3953
Kaiser Window Lowpass filter designed with Kaiser window
0 0
-20 -20
Gain, dB
Gain, dB
-40 -40
-60 -60
-80 -80
0 0.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1
w/ w/