Sunday, 23 April 2017

Digital FIR Filter Design using Frequency Sampling Method

In this experiment digital filter is designed using Frequency sampling Method(FSM).
If the filter is a linear phase FIR filter then Φ= -(N-1)ω/2 where N is the length of h[n].
                       The given data should be :  type of filter(LPF or HPF), Order of the filter and the digital cutoff frequency  (ωc).If we compare it with other methods then the difference is that we find H[k] by sampling using DTFT and then we obtain transfer function h[n] by IDFT method.
In case of non linear phase filter value of Φ=0.Its simpler to implement if compared to other methods.

12 comments:

  1. This is the simplest method to design FIR filter.

    ReplyDelete
  2. Yes, FSM is simpler because many samples in the input impulse function are zero, which reduces the number of calculatuons

    ReplyDelete
  3. why do we prefer FSM instead of windowing method?

    ReplyDelete
    Replies
    1. The window method is based on calculating the impulse response of an ideal digital filter, which is IIR, and on using a window to obtain a finite impulse response. One of the most interesting properties you can get is linear phase.
      Frequency sampling methods only guarantee good approximation to the desired response in some frequency values. The approximation in other values can be very bad.
      Frequency sampling algorithm requires minimum information about the filter in the input sufficient in design of the filter.

      Delete
    2. Windowing method is preferred more because the characteristics of the filter is decided by the window function.

      Delete
    3. For optimum output,windowing method is better.But in terms of no. of calculations FSM is preferred because it is carried out for discrete signals whereas windowing method requires continuous time domain calculations.

      Delete
  4. However, if undersampled, output may be time aliased!

    ReplyDelete
  5. FSM involves discrete computation compared to continuous used in windowing method. Hence, the faster implementation. However,as frequency sampling is involved, the sampling frequency must be selected such that the samples contain useful data.

    ReplyDelete
  6. However, if undersampled, output can be time-aliased!

    ReplyDelete