Sunday, 23 April 2017

DSPP Experiment 7 : Design of FIR filter using Windowing Method

In experiment 5 & 6, we designed IIR filters viz. Butterworth Filter and Chebyshev Filter. IIR filters are not stable due their recursive nature. Also, they have non-linear phase response hence, the output of the filter appears to be distorted version of the input. What can be done to avoid this? Use FIR filters!
These are filters that have a Finite Impulse Response. and hence, output of the filter is the phase shifted input signal. Also, since they don't have any feedback, the filters are very stable. However, this requires large memory as compared to IIR filters.

There are two methods of designing FIR filters. One of them is using Windowing Method. In this method, a particular window function is chosen on the basis of the attenuation required in the stop band. 
We used a Hanning Window as the window function and wrote the code accordingly. During execution, the filter parameters like the attenuation and frequencies were given as user input similar to IIR filter design. The plot function was used to verify the response of the designed filter. A notable difference between IIR and FIR designing is that much of the calculation is done in time domain rather than the transform domain.

21 comments:

  1. There are side loves present in frequency response due to discontinuity in the window function.

    ReplyDelete
  2. Yes, there are side lobes present in the magnitude spectrum plot

    ReplyDelete
  3. Rectangular window function is simple

    ReplyDelete
  4. Blackmann window function is more efficient.

    ReplyDelete
  5. As parameter should be as high as possible.Blackman filter has As=74 which is highest among other filters and so it has high efficiency

    ReplyDelete
  6. There is no overshoot in frequency spectrum due to use of hanning window

    ReplyDelete
  7. The selection criteria depends upon the characteristics you want in the magnitude response of the filter while implementation.

    ReplyDelete
    Replies
    1. Yes, the selection also depends on application

      Delete
  8. In FIR filters, if order increases, the number of side lobes increase. Side lobes should be avoided as the stopband attenuation is non-uniform.

    ReplyDelete
  9. Blackman window gives the best response

    ReplyDelete
  10. It is good since the algorithm itself selects the appropriate window function

    ReplyDelete
    Replies
    1. Yes, we have coded in scilab to help the selection of window

      Delete
  11. This comment has been removed by the author.

    ReplyDelete
  12. In windowing methods,all window functions have to be analysed for obtaining the best output.

    ReplyDelete