02.10.2019 Views

UploadFile_6417

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

426 Chapter 8 IIR FILTER DESIGN<br />

2. Design an analog filter H a (s) using the specifications Ω p ,Ω s , R p , and<br />

A s . This can be done using any one of the three (Butterworth, Chebyshev,<br />

or elliptic) prototypes of the previous section.<br />

3. Using partial fraction expansion, expand H a (s) into<br />

H a (s) =<br />

N∑<br />

k=1<br />

R k<br />

s − p k<br />

4. Now transform analog poles {p k } into digital poles {e pkT } to obtain<br />

the digital filter:<br />

N∑ R k<br />

H(z) =<br />

1 − e p kT<br />

z −1 (8.64)<br />

k=1<br />

□ EXAMPLE 8.9 Transform<br />

H a(s) =<br />

s +1<br />

s 2 +5s +6<br />

into a digital filter H(z) using the impulse invariance technique in which<br />

T =0.1.<br />

Solution<br />

We first expand H a(s) using partial fraction expansion:<br />

H a(s) =<br />

s +1<br />

s 2 +5s +6 = 2<br />

s +3 − 1<br />

s +2<br />

The poles are at p 1 = −3 and p 2 = −2. Then from (8.64) and using T =0.1,<br />

we obtain<br />

H(z) =<br />

2<br />

1 − e −3T z −1 − 1<br />

1 − e −2T z −1 = 1 − 0.8966z −1<br />

1 − 1.5595z −1 +0.6065z −2<br />

It is easy to develop a MATLAB function to implement the impulse invariance<br />

mapping. Given a rational function description of H a(s), we can use the<br />

residue function to obtain its pole-zero description. Then each analog pole is<br />

mapped into a digital pole using (8.63). Finally, the residuez function can be<br />

used to convert H(z) into rational function form. This procedure is given in the<br />

function imp invr.<br />

function [b,a] = imp_invr(c,d,T)<br />

% Impulse Invariance Transformation from Analog to Digital Filter<br />

% ---------------------------------------------------------------<br />

% [b,a] = imp_invr(c,d,T)<br />

% b = Numerator polynomial in z^(-1) of the digital filter<br />

% a = Denominator polynomial in z^(-1) of the digital filter<br />

% c = Numerator polynomial in s of the analog filter<br />

Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).<br />

Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!