FIR Filter vs IIR Filter: Difference and Comparison

Key Takeaways

  1. FIR filters have a finite impulse response, meaning their output depends only on a finite number of past inputs, whereas IIR filters have an infinite impulse response.
  2. FIR filters are always stable because their poles are inside the unit circle, while IIR filters may be unstable depending on the filter coefficients.
  3. FIR filters have linear phase characteristics, meaning they preserve the input signal’s phase information, whereas IIR filters may introduce phase distortion.

What is an FIR filter?

FIR filters are one of the two basic digital filters that generate no feedback and deliver a finite response. It has a filter response of finite duration and settles to zero within finite time. FIR filters are designed to be linear due to, which means they delay the response but do not change the phase. They are better suited for multi-rate applications that allow decimation, interpolation, or both. While performing both types of tasks, FIR filters allow one to omit some of the calculations, thus delivering better computational efficiency.

They are simple to implement and have desirable numeric properties. Owing to this property of the FIR filters, they are very popularly used in the DSP filters. One of the essential uses of FIR filters is in the Hilbert transformer. The different FIR filters used are Even order symmetric coefficients, Odd order symmetric coefficients, Even order antisymmetric coefficients, and Odd order antisymmetric coefficients.

fir filter

What is an IIR filter?

IIR filter is a recursive filter that utilizes the previous inputs and outputs and current inputs to compute the filter output. The filter’s job is to allow the passing of specific signals while denying the rest. IIR filters utilize current as well as past output data also to work. In practice, the impulse response from IIR filters doesn’t become zero at any time. The systems using IIR filters never come to a relaxed state ultimately. Almost all the analog filters are IIR filters, but the digital filters may be either IIR or FIR.

Also Read:  SHA-256 vs SHA-1: Difference and Comparison

The impulse response generated in the IIR filters is infinite because of the system’s feedback loop. For example, if you put in an input ( a single 1 sample followed by many 0 samples ), you will get an infinite number of non-zero values as the output.

The filters generated by the IIR filter are quick and require fewer calculations and memory. But they are harder to implement utilizing fixed point arithmetic.

iir filter

Difference Between FIR filter and IIR filter

  1. FIR filters have a response of finite time, but the response generated in IIR filters lasts for infinite times, and internal feedback continues to respond continuously.
  2. FIR filters are used with systems that have 0 response. However, IIR filters never allow the response to settle to 0.
  3. It is not always possible to implement IIR filters using coefficients and magnitudes; however, you can seamlessly use them to implement FIR filters.
  4. FIR filters require more memory to deliver the particular filter response. At the same time, IIR filters work very efficiently with fewer memory requirements to deliver filter responses.
  5. FIR omits some of the calculations while delivering the response. On the other hand, each output needs to be separately calculated on IIR filters though the calculations can be deleted later.

Comparison Between FIR filter and IIR filter

Parameter of ComparisonFIR filterIIR filter
DefinitionFIR filters are one of the two basic digital filters that generate no feedback and deliver a finite responseIIR filter is the digital filter that utilizes the previous inputs and outputs and current inputs to compute the filter output.
Full formsFinite Impulse responseInfinite Impulse Response
UsesFIR filters are used in communication, signal processing applications, consumer electronics, audio, etc.IIR filters are used in resistors,  capacitors, inductors, etc.
NatureNon-recursiveRecursive
Transfer FunctionOnly zeros are presentZeros, as well as poles, are also present.
References
  1. https://onlinelibrary.wiley.com/doi/abs/10.1002/j.1538-7305.1974.tb02745.x
  2. https://ieeexplore.ieee.org/abstract/document/8318772/
Also Read:  Yahoo Mail vs Gmail: Difference and Comparison

Last Updated : 30 July, 2023

dot 1
One request?

I’ve put so much effort writing this blog post to provide value to you. It’ll be very helpful for me, if you consider sharing it on social media or with your friends/family. SHARING IS ♥️

Leave a Comment

Want to save this article for later? Click the heart in the bottom right corner to save to your own articles box!