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 usually 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 and thus deliver 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.
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.
The impulse response generated in the IIR filters is infinite because there is a feedback loop in the system. 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 usually harder to implement utilizing fixed point arithmetic.
Difference Between FIR filter and IIR filter
- 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.
- FIR filters are generally used with systems that have 0 response. However, IIR filters never allow the response to settle to 0.
- It is not always possible to implement IIR filters using coefficients and magnitudes; on the other hand, you can seamlessly use coefficients and magnitudes to implement FIR filters.
- 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.
- 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 Comparison||FIR filter||IIR filter|
|Definition||FIR filters are one of the two basic digital filters that generate no feedback and deliver a finite response||IIR filter is the digital filter that utilizes the previous inputs and outputs and current inputs to compute the filter output.|
|Full forms||Finite Impulse response||Infinite Impulse Response|
|Uses||FIR filters are used in communication, signal processing applications, consumer electronics, audio, etc.||IIR filters are used in resistors, capacitors, inductors, etc.|
|Transfer Function||Only zeros are present||Zeros, as well as poles, are also present.|
Want to save this article for later? Click the heart in the bottom right corner to save to your own articles box!
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 ♥️
Sandeep Bhandari holds a Bachelor of Engineering in Computers from Thapar University (2006). He has 20 years of experience in the technology field. He has a keen interest in various technical fields, including database systems, computer networks, and programming. You can read more about him on his bio page.