IIR Filters
IIR Filters
Impulse Response
(IIR) Filters
There are several methods that can be used to design digital filters
having an infinite-duration unit sample response. The techniques
described in this section are all based on converting an analog filter
into a digital filter.
Analog filter design is a mature and well-developed field, so it is not
surprising that we begin the design of a digital filter in the analog
domain and then convert the design into the digital domain.
Analog Filters
An analog linear time-invariant system with system function 𝐻 𝑠 is
stable if all its poles lie in the left half of the s -plane. Consequently,
if the conversion technique is to be effective, it should possess the
following desirable properties:
1. The j-axis in the s-plane should map into the unit circle in the z-
plane. Thus, there will be a direct relationship between the two
frequency variables in the two domains.
2. The left-half plane (LHP) of the s -plane should map into the
inside of the unit circle in the z-plane. Thus, a stable analog filter will
be converted to a stable digital filter.
IIR Filter
A causal and stable IIR filter cannot have linear phase. If the
restriction on physical realizability is removed, it is possible to obtain
a linear-phase IIR filter, at least in principle. However, the signal
processing is computationally cumbersome and appears to offer no
advantages over linear-phase FIR filters. Consequently, when an
application requires a linear-phase filter, it should be an FIR filter.
In the design of IIR filters, we shall specify the desired filter
characteristics for the magnitude response only. This does not mean
that we consider the phase response unimportant. Since the
magnitude and phase characteristics are related, we specify the
desired magnitude characteristics and accept the phase response
that is obtained from the design methodology.
IIR Filter Design by
Approximation of Derivatives
For the derivative dy(t)/dt at time t=nT , we substitute the backward
difference [y(nT ) − y(nT−1)]/T . Thus,
It easily follows from the discussion that the substitution for the kth
derivative of y(t) results in the equivalent frequency-domain
relationship
IIR Filter Design by Approximation of
Derivatives
Consequently, the system function for the digital IIR filter obtained
as a result of the approximation of the derivatives by finite
differences is
into a digital IIR filter by use of the backward difference for the
derivative.
Solution
Substitute
Simplifying,
Solution
where {pk} are the poles of the analog filter and {ck} are the
coefficients in the partial-fraction expansion.
IIR Filter Design by
Impulse Invariance
Consequently,
IIR Filter Design by
Impulse Invariance
The system function of the resulting digital IIR filter becomes
IIR Filter Design by
Impulse Invariance
The inner sum converges because 𝑝𝑘 < 0 and yields
as illustrated below,
Solution
or
Solution
Since the two poles are complex conjugates, we can combine them
to form a single two-pole filter with system function
Solution
Figure A
The magnitude of the frequency
response characteristic of this filter is
plotted in the figure A for T = 0.1 and
T = 0.5. For purpose of comparison,
we have also plotted the magnitude of
the frequency response of the analog
filter in figure B.
Figure B
We note that aliasing is significantly
more prevalent when T = 0.5 than
when T = 0.1. Also, note the shift of
the resonant frequency as T changes.
𝐸𝑁 =
END