Using a tapered window causes the height Plots of magnitudes of the DTFTs of these
of the sidelobes to diminish, with a windows for M = 25 are shown below:
Rectangular window Hann window
corresponding increase in the main lobe 0 0
Gain, dB
Gain, dB
-60 -60
Hann:
w[n] = 0.5 + 0.5 cos( 2 n ), M n M
-80 -80
-100
2M + 1
-100
0 0.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1
/ /
Hamming window Blackman window
Hamming:
w[n] = 0.54 + 0.46 cos( 2 n ), M n M
0 0
-20 -20
2M + 1 -40 -40
Gain, dB
Gain, dB
Blackman: -60 -60
1 2M + 1 2M + 1 2
-100
0 0.2 0.4
/
0.6 0.8 1
-100
0 0.2 0.4
/
0.6 0.8 1
Copyright 2005, S. K. Mitra Copyright 2005, S. K. Mitra
Observe H t (e j (c + ) ) + H t (e j (c ) ) 1
Width of transition band
Thus, H t (e jc ) 0.5
= s p < ML
Passband and stopband ripples are the same
5 6
Copyright 2005, S. K. Mitra Copyright 2005, S. K. Mitra
1
Fixed Window Functions Fixed Window Functions
To ensure a fast transition from passband to In the case of rectangular, Hann, Hamming,
stopband, window should have a very small and Blackman windows, the value of ripple
main lobe width does not depend on filter length or cutoff
To reduce the passband and stopband ripple frequency c , and is essentially constant
, the area under the sidelobes should be In addition,
very small c
M
Unfortunately, these two requirements are where c is a constant for most practical
contradictory purposes
7 8
Copyright 2005, S. K. Mitra Copyright 2005, S. K. Mitra
-50 -50
associated with an increase in the width of
-100 -100 the transition band
0 0.2 0.4
/
0.6 0.8 1 0 0.2 0.4
/
0.6 0.8 1
A decrease in the sidelobe amplitude results
Lowpass Filter Designed Using Blackman window
0
in an increase in the stopband attenuation
Gain, dB
-50
-100
2
Adjustable Window Functions Adjustable Window Functions
Dolph-Chebyshev Window - Dolph-Chebyshev window can be designed
w[n] = 1 [1 + 2 Tk ( cos k ) cos 2nk ],
M with any specified relative sidelobe level
2M + 1 k =1 2M + 1 2M + 1 while the main lobe width adjusted by
M nM choosing length appropriately
where amplitude of sidelobe
= Filter order is estimated using
main lobe amplitude 2.056 s 16.4
= cosh( 1 cosh 1 1 ) N=
2M 2.85( )
and
cos(l cos 1 x ), x 1 where is the normalized transition
Tl ( x) = 1 bandwidth, e.g, for a lowpass filter
cosh(l cosh x), x > 1 = s p
13 14
Copyright 2005, S. K. Mitra Copyright 2005, S. K. Mitra
-40
smallest main lobe width compared to other
-60 windows resulting in filters with the
-80
0 0.2 0.4 0.6 0.8 1
smallest transition band
/
15 16
Copyright 2005, S. K. Mitra Copyright 2005, S. K. Mitra
3
FIR Filter Design Example FIR Filter Design Example
Specifications: p = 0.3 , s = 0.5 , sin(0.4 n)
Hence ht [ n] = n w[n], 12 n 12
s = 40 dB
where w[n] is the n-th coefficient of a
Thus c = ( p + s ) / 2 = 0.4
length-25 Kaiser window with = 3.3953
s = 10 s / 20 = 0.01 Kaiser Window Lowpass filter designed with Kaiser window
-20 -20
32
N= = 22.2886
Gain, dB
Gain, dB
2.285(0.2)
-40 -40
-60 -60
19 20
Copyright 2005, S. K. Mitra Copyright 2005, S. K. Mitra
1 P = 1, N = 40
P = 2, N = 60
0.8
Magnitude
0.6
0.4
0.2
0
0 0.2 0.4 0.6 0.8 1
/
23
Copyright 2005, S. K. Mitra