Finite & Infinite Impulse Response Filters

Finite Impulse Response
In signal processing, a finite impulse response (FIR) filter is a filter whose impulse response (or response to any finite length input) is of finite duration, because it settles to zero in finite time. This is in contrast to infinite impulse response (IIR) filters, which may have internal feedback and may continue to respond indefinitely (usually decaying).
For a causal discrete-time FIR filter of order N, each value of the output sequence is a weighted sum of the most recent input values:
\begin{align}
 y[n] &= b_0 x[n] + b_1 x[n-1] + \cdots + b_N x[n-N] \\
      &= \sum_{i=0}^{N} b_i\cdot x[n-i],
\end{align}
where:
  •  is the input signal,
  •  is the output signal,
  •  is the filter order; an th-order filter has  terms on the right-hand side
  •  is the value of the impulse response at the i'th instant for  of an th-order FIR filter. If the filter is a direct form FIR filter then  is also a coefficient of the filter.


The transfer function of an FIR system is given by:

H(z)\ \stackrel{\mathrm{def}}{=} \sum_{n=-\infty}^{\infty} h[n]\cdot z^{-n}.


Infinite Impulse Response
Infinite impulse response (IIR) is a property applying to many linear time-invariant systems. Common examples of linear time-invariant systems are most electronic and digital filters. Systems with this property are known as IIR systems or IIR filters, and are distinguished by having an impulse response which does not become exactly zero past a certain point, but continues indefinitely. 
Digital filters are often described and implemented in terms of the difference equation that defines how the output signal is related to the input signal:
{\begin{aligned}y\left[n\right]&={\frac {1}{a_{0}}}(b_{0}x[n]+b_{1}x[n-1]+\cdots +b_{P}x[n-P]\\&-a_{1}y[n-1]-a_{2}y[n-2]-\cdots -a_{Q}y[n-Q])\end{aligned}}
where:
  •  is the feedforward filter order
  •  are the feedforward filter coefficients
  •  is the feedback filter order
  •  are the feedback filter coefficients
  •  is the input signal
  •  is the output signal.
Considering that in most IIR filter designs coefficient  is 1, the IIR filter transfer function takes the form:
{\begin{aligned}H(z)&={\frac {\sum _{i=0}^{P}b_{i}z^{-i}}{1+\sum _{j=1}^{Q}a_{j}z^{-j}}}\end{aligned}}

Follow AcuityX for more summarized topics! 

Comparison of impulse responses for FIR & IIR
Courtesy Iowahills


Comments

Popular posts from this blog

How I got a 21% return on investment by investing in the NSE equity market without any experience

Goodbye Tofu(⏔)? - Google's Noto Project

Password authentication through contact!