Difference Between FIR Filter and IIR Filter

Both FIR and IIR are the two major classifications of digital filters used for signal filtration. The crucial difference between FIR and IIR filters is that the FIR filter provides an impulse response of a finite period. As against IIR is a type of filter that generates impulse response of infinite duration for a dynamic system.

Here we are talking about finite and infinite impulse response. But what is impulse response?

So, basically, we know that the response of a system defines the behaviour of the system according to the variation in the external parameters associated with the system. Thus impulse response of a system is defined as the outcome or response achieved when the system is provided with input signals (generally known as an impulse).

More simply we can say that impulse response provides the reaction of a dynamic system with respect to an independent variable (say time).In this article, we will discuss the major differentiating factors between FIR and IIR filters.

Content: FIR Vs IIR Filter

  1. Comparison Chart
  2. Definition
  3. Key Differences
  4. Conclusion

Comparison Chart

Basis for ComparisonFIR FilterIIR Filter
Stands forFinite Impluse ResponseInfinite Impulse Response
NatureNon-recursiveRecursive
Computational EfficiencyLessComparatively more
UsageDifficultQuite easy
FeedbackAbsentPresent
StabilityMoreLess
Requirement to generate current outputPresent and past samples of input.Present and past samples of input along with past output.
Delay offeredHighComparatively lower
Transfer functionOnly zeros are present.Both poles and zeros are present.
Memory requirementMoreLess
SensitivityLessComparatively more
Resolution offered at low frequenciesLess More
ControllabilityEasyQuite Difficult

Definition of FIR filter

A type of digital filter that generates a finite impulse response of a dynamic system is known as FIR filters. More simply, we can say, here the impulse response provided by the filter is of finite duration. In FIR filters the response gets fixed to zero in a finite period of time thus it is named so. In the case of FIR filters, the nth order filter generates n+1 samples before getting fixed to 0.

The figure below represents a discrete form of FIR filter:

structure of FIR filter

In FIR filters, feedback is not present thus these operate on only present and past input values. Hence the output is the summation of a finite quantity of finite samples of input values. So, these are highly stable. The generalized equation for FIR filter is given as:

eq1 FIR filter

:N is the length of the filter.

FIR filters are used with systems having 0 response.

Definition of IIR filter

The type of digital filter that is designed to generate infinite impulse response of a dynamic system is known as the IIR filter. As an internal feedback mechanism is present in these filters thus the filter operates for an indefinite period of time. IIR filters are used by the systems that generate an infinite response.

The filter below represents the structure of the IIR filter:

structure of IIR filter

IIR filter operates in a way that not only the present and past inputs but the past output sample is also taken into consideration. The equation in general form for IIR filter is given as:

eq2 IIR filter

As these filters support the recursive operation. Thus it never allows its response to settle to 0 for the applied impulse. The memory requirement and computational time enhance the efficiency of the IIR filters. Also, it is quite easy to convert an analog filter into a digital IIR filter.

Key Differences between FIR and IIR Filter

  1. FIR filter generates an output of a dynamic system using the samples of present and past input values. While an IIR filter uses present and past input values along with the past output value to generate the present output.
  2. FIR filters do not use feedback circuitry, while IIR filters make use of feedback loop in order to provide previous output in conjunction with current input.
  3. FIR filters support linear phase filtering, however, IIR filters do not support linear phase filtering.
  4. As FIR filters have more strength in comparison to IIR filters thus these offer more flexible operation than the IIR filters.
  5. The transfer function of the system having an FIR filter contains only zeros. While in the case of IIR filters the transfer function contains both poles and zeros.
  6. FIR filters show non-recursive behaviour. But IIR filters show recursive behaviour.
  7. Due to the absence of the feedback loop, the implementation of FIR filters in a system is quite easy in comparison to IIR filters in which a feedback loop is present.
  8. The delay in providing a response in case of FIR filters is more than that of IIR filter.
  9. FIR filters are more stable as here the present output does not hold any relationship with the previous output. But IIR filters are less stable as it makes use of previous output samples as well.
  10. FIR filters need greater processing power in comparison to IIR filters.
  11. The way in which a filter operates decides its computational efficiency. The computational efficiency of FIR filters is quite less than IIR filters.

Conclusion

So, from this discussion, we can say that due to the various advantages associated with FIR filters these are more preferred over IIR filters. FIR filters are mainly used in bandpass and bandstop filtering applications. While low pass and anti-aliasing filtering applications require IIR digital filters.

1 thought on “Difference Between FIR Filter and IIR Filter”

Leave a Comment

Your email address will not be published. Required fields are marked *