Saturday, 22 April 2017

FIR Filter Design: Windowing Method

If you have read previous posts, then you will be familiar with IIR filters. But how about FIR filters?
These are filters that have a Finite Impulse Response. In these, the order means the length of the impulse response. Broadly, the method for designing the filter is the same as IIR filters. You input the formulae in a Scilab code and run the program. But the formulae are different, meaning, the pen and paper method is different. 
We used a Hanning Window as the window function and wrote the code accordingly. During execution, the filter parameters like the attenuations and frequencies were given as user input. 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.

8 comments:

  1. Mainly 5 types of windows
    Rectangular
    Triangular
    Hanning
    Hamming
    Blackman!

    ReplyDelete
    Replies
    1. Yeah I read a paper suggesting Hanning gives a better response, so selected that

      Delete
  2. This is a very tedious approach of the design of the FIR Filter.

    ReplyDelete
    Replies
    1. Compared to frequency sampling it is tedious

      Delete
  3. Blackman gives best response

    ReplyDelete
    Replies
    1. Yeah right. I had read a comparison between hanning and hamming only

      Delete