Skip to content Skip to navigation

Connexions

You are here: Home » Content » IIR filters

Navigation

Recently Viewed

This feature requires Javascript to be enabled.
 

IIR filters

Module by: Ricardo Vargas. E-mail the author

An IIR filter describes a system with input x(n)x(n) and output y(n)y(n), related by the following expression

y ( n ) = k = 0 M b ( k ) x ( n - k ) - k = 1 N a ( k ) y ( n - k ) y ( n ) = k = 0 M b ( k ) x ( n - k ) - k = 1 N a ( k ) y ( n - k )
(1)

Since the current output y(n)y(n) depends on the input as well as on NN previous output values, the output of an IIR filter might not be zero well after x(n)x(n) becomes zero (hence the name “Infinite”). Typically IIR filters are described by a rational transfer function of the form

H ( z ) = B ( z ) A ( z ) = b 0 + b 1 z - 1 + + b M z - M 1 + a 1 z - 1 + + a N z - N H ( z ) = B ( z ) A ( z ) = b 0 + b 1 z - 1 + + b M z - M 1 + a 1 z - 1 + + a N z - N
(2)

where

H ( z ) = n = 0 h ( n ) z - n H ( z ) = n = 0 h ( n ) z - n
(3)

and h(n)h(n) is the infinite impulse response of the filter. Its frequency response is given by

H ( ω ) = H ( z ) | z = e j ω H ( ω ) = H ( z ) | z = e j ω
(4)

Substituting Equation 2 into Equation 4 we obtain

H ( ω ) = B ( ω ) A ( ω ) = n = 0 M b n e - j ω n 1 + n = 1 N a n e - j ω n H ( ω ) = B ( ω ) A ( ω ) = n = 0 M b n e - j ω n 1 + n = 1 N a n e - j ω n
(5)

Given a desired frequency response D(ω)D(ω), the l2l2 IIR design problem consists of solving the following problem

min a n , b n B ( ω ) A ( ω ) - D ( ω ) 2 2 min a n , b n B ( ω ) A ( ω ) - D ( ω ) 2 2
(6)

for the M+N+1M+N+1 real filter coefficients an,bnan,bn with ωΩωΩ (where ΩΩ is the set of frequencies for which the approximation is done). A discrete version of Equation 6 is given by

min a n , b n ω k n = 0 M b n e - j ω k n 1 + n = 1 N a n e - j ω k n - D ( ω k ) 2 min a n , b n ω k n = 0 M b n e - j ω k n 1 + n = 1 N a n e - j ω k n - D ( ω k ) 2
(7)

where ωkωk are the LL frequency samples over which the approximation is made. Clearly, Equation 7 is a nonlinear least squares optimization problem with respect to the filter coefficients.

Content actions

Download module as:

PDF | EPUB (?)

What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

Downloading to a reading device

For detailed instructions on how to download this content's EPUB to your specific device, click the "(?)" link.

| More downloads ...

Add module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks