Infinite impulse response

From Free net encyclopedia

(Redirected from IIR)

IIR (infinite impulse response) is a property of signal processing systems. Systems with that property are known as IIR systems or if we are dealing with electronic filter systems IIR filters. They have an impulse response function which is non-zero over an infinite length of time. This is in contrast to finite impulse response filters (FIR) which have fixed-duration impulse responses. The simplest analog IIR filter is an RC filter made up of a single resistor (R) feeding into a node shared with a single capacitor (C). This filter has an exponential impulse response characterized by an RC time constant.

Recursive filters are signal processing filters which re-use one or more output(s) of the filter as inputs. This feedback results in an unending impulse response characterized by either exponentially growing, decaying, or sinusoidal signal output components.

IIR filters may be implemented as either analog or digital filters. In digital IIR filters, the output feedback is immediately apparent in the equations defining the output. Note that unlike with FIR filters, in designing IIR filters it is necessary to carefully consider "time zero" case in which the outputs of the filter have not yet been clearly defined.

Design of digital IIR filters is heavily dependant on that of their analog counterparts which is because there are plenty of resources, works and straightforward design methods concerning analog feedback filter design while there are hardly any for digital IIR filters. As a result, mostly, if a digital IIR filter is going to be implemented, first, an analog filter (e.g. Chebyshev filter, Butterworth filter, Elliptic filter) is designed and then it is converted to digital by applying discretization techniques such as Bilinear transform or Impulse invariance.

In practice, electrical engineers find IIR filters to be fast and cheap, but with poorer bandpass filtering and stability characteristics than FIR filters.

Example IIR filters include the Chebyshev filter, Butterworth filter, and the Bessel filter.

In the following subsections we focus on discrete time IIR filters which can be implemented in Digital Signal Processors.

Contents

Discussion

We start the discussion by stating the difference equation which defines how the input signal is related to the output signal

<math> y(n) = 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)</math>

where <math>P</math> is the forward filter order, <math>b_{i}</math> are the forward filter coefficients, <math>Q</math> is the feedback filter order, <math>a_{i}</math> are the feedback filter coefficients, <math>x(n)</math> is the input signal and <math>y(n)</math> is the output signal. A more condense form of the difference equation is

<math> y(n) = \sum_{i=0}^P b_{i}x(n-i) + \sum_{k=1}^Q a_{k} y(n-k)</math>

To find the impulse response we set

<math> x(n) = \delta(n)</math>

where <math>\delta(n)</math> is the Kronecker delta impulse. The impulse response for an IIR filter follows as

<math>h(n)=\sum_{i=0}^P b_{i}\delta(n-i) + \sum_{k=1}^Q a_{k} h(n-k)</math>

The Z-transform of the impulse response yields the transfer function of the IIR filter

<math>H(z) = Z\{h(n)\} = \sum_{n=-\infty}^{\infty} h(n) z^{-n}</math>

We note that <math>Z\{\delta(n)\}=1</math> then with the definition of the impulse response and the time shift property of the Z-transform follows

<math> H(z)= \sum_{i=0}^P b_{i} z^{-i}+ \sum_{k=1}^Q a_{k} z^{-k}H(z) </math>

Stating all <math>H(z)</math> on the left hand side

<math> H(z)-\sum_{k=1}^Q a_{k} z^{-k}H(z)= \sum_{i=0}^P b(i) z^{-i} </math>

Isolating <math>H(z)</math> on the left hand side leads to the desired format of the transfer function

<math> H(z)= \frac{\sum_{i=0}^P b_{i} z^{-i}}{1-\sum_{k=1}^Q a_{k} z^{-k}} </math>

Block diagram

A typical block diagram of an IIR filter looks like the following. The <math>T</math> block is a unit delay. The coefficients and number of feedback/feedfoward paths is implementation-dependent.


Stability

The transfer function allows us to judge whether or not a system is bounded-input, bounded-output (BIBO) stable. To be specific, the BIBO stability criteria requires all poles of the transfer function to have an absolute value smaller than one. In other words, all poles must be located within a unit circle in the <math>z</math>-plane. To find the poles of the transfer function we have to extend it with <math>\frac{z^{O}}{z^{O}}</math> where <math>O=max(P,Q)</math> and arrive at

<math> H(z)= \frac{\sum_{i=0}^{P} b_{i} z^{O-i}}{z^{O}-\sum_{k=1}^{Q} a_{k} z^{O-k}} </math>

The poles of the IIR filter transfer function are the zeros of the denominator polynomial of the transfer function. The poles are evaluated as

<math> 0=z^{O}-\sum_{k=1}^{Q} a_{k} z^{O-k}</math>

Clearly, if <math>a_{k}\ne 0</math> then the poles are not located on the origin of the z-plane. This is in contrast to the FIR filter where all poles are located on the origin of z-plane.

IIR filters are sometimes preferred over FIR filters because an IIR filter can achieve a much sharper transition region roll-off than an FIR filter of the same order.

Example

Let the transfer function of a filter H be

<math>H(z) = \frac{A(z)}{B(z)} = \frac{1}{1 - a z^{-1}}</math> with ROC <math>a < |z|</math> and <math>0 < a < 1</math>

which has a pole at a, is stable and causal. The time-domain impulse response is

<math>h(n) = a^{n} u(n)</math>

which is non-zero for <math>n >= 0</math>.


See also

External links

es:IIR gl:Filtro de resposta infinita ó impulso pl:Filtr o nieskończonej odpowiedzi impulsowej