DSP Vlab1
DSP Vlab1
AIM
Study of FIR filter design using window method: Lowpass and highpass filter.
THEORY
Finite Impulse Response (FIR) Filter
FIR filters are digital filters with finite impulse response. They are also known as
non-recursive digital filters as they do not have the feedback (a recursive part
of a filter), even though recursive algorithms can be used for FIR filter
realization. Hence it is an all zero filter. Therefore input and output difference
equation for FIR filter is given by
y(n)=b0x(n)+b1x(n−1)+b2x(n−2)+...+bM−1x(n−N+1)
Where b0, b1, b2 ... b(M-1) are filter coefficients.
There are essentially three well-known methods for FIR filter design namely:
1. The window method.
2. The frequency sampling technique.
3. Optimal filter design methods
Out of these three techniques we are going to discuss about window method
Ideal filter approximation
Figure 4.a and 4.b: Transfer functions of two standard ideal filters
The ideal filter frequency response can be computed via inverse Fourier
transform. The two standard ideal filters frequency responses are contained in
the table 1 below.
Figure 5: Main lobe, main lobe width, side lobes, transition region
As can be seen in the table 2 above, the stopband attenuation of these
windows is not adjustable. It is only possible to affect the transition region by
increasing the filter order. For this reason it is preferable to start design process
by specifying the appropriate window function on the basis of the stopband
attenuation. It is most preferable to specify a window with the least stopband
attenuation that satisfies the given requirements. This enables the designed
filter to have the narrowest transition region