Documente Academic
Documente Profesional
Documente Cultură
There are two difficulties in the representation of equation (2). The impulse response h(n) is
infinite in duration since the summation in equation (1) extends from to . The filter is
unrealizable since impulse response begins at , i.e. no finite amount of delay can make the
impulse response realizable. Therefore, the filter which results from a Fourier transform
representation of H (e j ) is an unrealizable FIR filter.
By truncating the infinite Fourier transform at n M 1 leads to Gibb’s phenomenon and also
not capable of designing good approximations to ideal low pass filters. Hence direct truncation
is not a reasonable way of obtaining an FIR filter.
Hence we use a “Finite Weighing Sequence” called a “Window” to modify the Fourier
coefficients h(n) in equation (2) to control the convergence of the Fourier series.
i) Small width of main lobe of the frequency response of the window containing
as much of the total energy as possible.
ii) Side lobes of the frequency response that decrease in energy rapidly as w
tends to
Rectangular Window
1, 0 n M 1
R ( n) (4)
0, otherwise
After simplification
sin( M / 2)
WR (e jw ) (1 e jw( M 1)/2 ) (5)
sin( / 2)
-2/M -2/M
Table 1 List of several windows function with the desirable response characteristics.
Time-domain sequence
Name of the Window
h(n), n=0,1,2,…M-1
M 1
2|n |
Bartlett (Triangular) 2
1
M 1
2n 4n
0.42 0.5 cos 0.08 cos
Blackman M 1 M 1
2n
Hamming 0.54 0.46 cos
M 1
2n
Hanning 0.5(1 cos )
M 1
M 1 2 M 1 2
I 0 ( ) (n )
2 2
Kaiser
M 1
I 0 ( )
2
Comparison of Hamming, Hanning and Rectangular windows
1. For a given desired frequency response Hd(ejω), compute hd(n) using eqn.
1
hd (n)
2
H d (e j ) jn .d
2. Depending upon the necessity, choose the window function from Table 1.
3. Find h(n) using eqn.
h(n) hd (n).W (n), 0 n M 1
0, otherwise
4. Find the transfer function using Z-Transform.
5. Compute the frequency response of the given filter using Fourier
Transform.
Example 1
1, 0n4
W (n)
0, otherwise
Solution
Given
e j 2 , / 4 / 4
H d (e j ) =
0, /4
Therefore,
1 j jn
hd (n) H d (e )e d
2
1 / 4 j 2 jn
e e d
2 / 4
1 / 4 j ( n 2 )
e d
2 / 4
1 e j ( n2) 4 e j ( n2) 4
(n 2) 2j
1
sin (n 2), n 2
(n 2) 4
For n=2, the filter coefficient can be obtained by applying L’Hospital rule to the above
expression. Thus,
1
hd (2)
4
Thus other coefficient are given by
1 1
hd (0) hd (4) and hd (1) hd (3)
2 2
h(n) hd (n).w(n)
Therefore,
1 1 1
h(0) h(4) , h(1) h(3) and h(2)
2 2 4
The frequency response H d (e j ) is given by
4
H (e j ) h(n)e jn
n 0
e j 2
1 1
4 2
j 2
e e
1
e e
j 2
2
j j
Solution
sin 3 (n 3) 4 3
hd (n) = , n 3 and hd (3)
(n 3) 4
The filter coefficients are,
hd (0) =0.0750
hd (1) =-0.1592
hd (2) =0.2251
hd (3) =0.75
hd (4) =0.2251
hd (5) =-0.1592
hd (6) =0.0750
2n
0.54 0.46 cos ,0 n M 1
w(n) M 1
0, otherwise
w(0)=0.08
w(1)=0.31
w(2)=0.77
w(3)=1
w(4)=0.77
w(5)=0.31
w(6)=0.08
h(0)=0.006
h(1)=-0.0494
h(2)=0.1733
h(3)=0.75
h(4)=0.1733
h(5)=-0.0494
h(6)=0.006
=
e j 3w
h(3) 2h(0) cos3 2h(1) cos 2 2h(2) cos
e j 3w 0.75 0.3466 cos 0.0988 cos 2 0.012 cos