VOOZH about

URL: https://www.geeksforgeeks.org/electronics-engineering/difference-between-fir-filter-and-iir-filter/

⇱ Difference Between FIR Filter and IIR Filter - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Difference Between FIR Filter and IIR Filter

Last Updated : 10 Mar, 2026

Digital signal processing plays an important role in modern electronics such as communication systems, audio processing, biomedical devices, and image processing. In these systems, filters are used to modify or shape signals by allowing certain frequency components to pass while attenuating others.

Among digital filters, Finite Impulse Response (FIR) filters and Infinite Impulse Response (IIR) filters are two major categories. These filters differ in their impulse response, design methods, stability, and computational complexity.

FIR Filter

A digital filter whose impulse response becomes zero after a finite number of samples.

  • FIR filters do not use feedback, meaning the output depends only on the present and past input values.
  • Because of the absence of feedback, FIR filters are inherently stable and can be designed to have a linear phase response, which preserves the shape of the signal waveform.
👁 FIR-Filter
FIR Filter Simplified Diagram

Types

  • Low-Pass FIR Filter: Allows signals with frequencies lower than the cutoff frequency to pass and attenuates higher frequencies.
  • High-Pass FIR Filter: Passes signals with frequencies higher than the cutoff frequency and suppresses lower frequency components.
  • Band-Pass FIR Filter: Permits signals within a specific frequency range and rejects frequencies outside that range.
  • Band-Stop FIR Filter: Blocks a particular band of frequencies while allowing all other frequencies to pass.
  • Multi-Band FIR Filter: Designed to pass multiple frequency bands while rejecting the remaining frequencies.

Advantages

  • Always Stable: No feedback loop is used.
  • Linear Phase Response: Preserves waveform shape.
  • Simple Implementation: Easier to implement using digital hardware.
  • Flexible Design: Can be designed for many filter characteristics.
  • No Feedback: Simplifies filter design.

Disadvantages

  • Higher Filter Order: Needed to achieve sharp cutoff frequencies.
  • More Computations: Requires more arithmetic operations.
  • Higher Memory Requirement: More coefficients must be stored.
  • Longer Delay: Produces larger group delay compared to IIR filters.

Applications

  • Audio Signal Processing: Implemented in equalizers and noise reduction systems to improve audio quality.
  • Data Transmission: Helps in channel filtering and signal shaping in modems and communication devices.
  • Image Processing: Applied for tasks such as smoothing, sharpening, and edge detection.
  • Speech Processing: Supports functions like echo cancellation and voice recognition.
  • Radar Systems: Plays an important role in signal detection and noise filtering.

IIR Filter

A digital filter whose impulse response theoretically continues indefinitely. This occurs because IIR filters use feedback, meaning the output depends on both previous inputs and previous outputs.

  • IIR filters can achieve the desired frequency response with lower filter order, making them computationally efficient. However, the presence of feedback can introduce stability issues and nonlinear phase distortion.
  • Many IIR filters are designed based on classical analog filter designs.
👁 IIR-filter
IIR Filter Simplified Diagram

Types

  • Butterworth Filter: Provides a smooth and maximally flat frequency response in the passband.
  • Chebyshev Filter: Provides a steeper roll-off than Butterworth filters but introduces ripple in the passband or stopband.
  • Elliptic Filter: Offers the sharpest cutoff for a given filter order but introduces ripple in both passband and stopband.
  • Bessel Filter: Preserves signal waveform due to a nearly linear phase response.
  • Notch Filters: Rejects a narrow band of frequencies while allowing others to pass.

Advantages

  • Computational Efficiency: Achieves desired response with lower order.
  • Sharp Cutoff Characteristics: Provides steep roll-off with fewer coefficients.
  • Analog Compatibility: Can easily approximate analog filter designs.
  • Lower Memory Requirement: Fewer coefficients are needed.
  • Faster Response: Suitable for real-time applications.

Disadvantages

  • Potential Stability Issues: Feedback may cause instability if not designed properly.
  • Nonlinear Phase Response: Can distort signal waveform.
  • Design Complexity: More difficult to design compared to FIR filters.
  • Feedback Dependency: Implementation becomes complex due to feedback loops.

Applications

  • Control Systems: Applied in controller design for regulating system behavior.
  • Biomedical Signal Processing: Helps in filtering ECG and EEG signals.
  • Vibration Analysis: Used for monitoring vibrations in mechanical systems and machinery.
  • Ground Vibration Analysis: Helps analyze vibration signals from the earth or underground activities.
  • Acoustic Systems: Implemented in loudspeaker and microphone signal processing.

FIR vs IIR Filters

FeatureFIR FilterIIR Filter
Impulse ResponseFinite durationInfinite duration
StabilityAlways stableStability depends on feedback
Phase ResponseLinear phase achievableGenerally nonlinear phase
Filter OrderHigher order requiredLower order sufficient
ComputationRequires more computationsMore computationally efficient
Memory RequirementHigher (more coefficients)Lower (fewer coefficients)
Analog EquivalentNo direct analog equivalentBased on analog filter designs
Comment