Professional Documents
Culture Documents
Design of Iir Filters
Design of Iir Filters
hc(t) Hc()
t
W
h(n) H(T)
… …
n
W 2/T
Figure 4.1. Relation between H() and Hc() when 2/T>W.
hc(t) Hc()
t
W
h(n) H(T)
… …
n
W 2/T
Figure 4.2. Relation between H() and Hc() when 2/TW.
(4.7) shows that H(T) equals Hc() extended with period 2/T. Let
W be the bandwidth of Hc(). If 2/T>W, then H(T) equals Hc()
over the interval [/T, /T) (figure 4.1). Aliasing happens otherwise
(figure 4.2).
The above analysis implies that the impulse invariance can be used
to design band-limited filters, such as lowpass filters and bandpass
filters but cannot be used to design other filters, like highpass filters
and bandstop filters.
4.3.4. Procedure
The impulse invariance is carried out in three steps:
1. Find the specifications on the continuous-time IIR filter from
the specifications on the discrete-time IIR filter according to
=/T, (4.8)
where is the physical frequency of the continuous-time IIR filter,
is the normalized frequency of the discrete-time IIR filter, and T is
the sampling interval.
2. Find the system function of the continuous-time IIR filter from
the specifications on the continuous-time IIR filter.
3. Find the system function of the discrete-time IIR filter from the
system function of the continuous-time IIR filter. This consists of
three steps: (1) Find the impulse response of the continuous-time IIR
filter from its system function. (2) Find the impulse response of the
discrete-time IIR filter from the impulse response of the continuous-
time IIR filter. (3) Find the system function of the discrete-time IIR
filter from its impulse response.
Example. Design a causal lowpass discrete-time IIR filter with the
cutoff frequency 0.2, i.e.,
| H[exp( j0.2)] | 1
, (4.9)
| H[exp( j0)] | 2
where H(z) is the system function of the filter. A requirement is that
the filter should be generated from a causal lowpass continuous-time
IIR filter
a
H c (s) , Re(s) a , (4.10)
sa
where a>0, by the impulse invariance.
4.4. Design of IIR Filters by Bilinear Transformation
4.4.1. Definition
Another typical method to transform a continuous-time IIR filter
into a discrete-time IIR filter is the bilinear transformation. Assume
that H(z) and Hc(s) are the system functions of the discrete-time IIR
filter and the continuous-time IIR filter, respectively. In the bilinear
transformation, H(z) is obtained from Hc(s) by letting
2 1 z 1
s ,
1 (4.11)
T 1 z
Hc(j)
… …
0 3
0
H[exp(j)]
… …
0
3
Figure 4.3. Relation between H[exp(j)] and Hc(j).
4.4.4. Procedure
The bilinear transformation is carried out in the following steps:
1. Find the specifications on the continuous-time IIR filter from
the specifications on the discrete-time IIR filter according to (4.14).
2. Find the system function of the continuous-time IIR filter from
the specifications on the continuous-time IIR filter.
3. Find the system function of the discrete-time IIR filter from the
system function of the continuous-time IIR filter according to (4.12).
Example. Design a causal lowpass discrete-time IIR filter which
has the cutoff frequency 0.2, i.e.,
| H[exp( j0.2)] | 1
, (4.15)
| H[exp( j0)] | 2
where H(z) is the system function of the filter. A requirement is that
the filter should be obtained from a causal lowpass continuous-time
IIR filter
a
H c (s) , Re(s) a , (4.16)
sa
where a>0, by the bilinear transformation.
4.5. Design of FIR Filters by Windowing
4.5.1. Principle
An ideal filter can be approximated by a causal FIR filter as well.
This can be carried out by different methods. A widely used method
is the windowing method. In this method, the impulse response of
the causal FIR filter is obtained by windowing the impulse response
of the ideal filter.
Let us consider the design of a lowpass filter. The addressed ideas
and methods, however, also apply to other cases.
In period [, ), the frequency response of an ideal lowpass filter
is defined as
exp( j), | | c
H d () . (4.17)
0, otherwise
w(n) E()
… …
n
h(n) A()
… …
n
c