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.

454 Chapter 8 IIR FILTER DESIGN<br />

>> % Digital Highpass Filter Cutoff frequency:<br />

>> wphp = 0.6*pi; % Passband edge frequency<br />

>> % LP-to-HP frequency-band transformation:<br />

>> alpha = -(cos((wplp+wphp)/2))/(cos((wplp-wphp)/2))<br />

alpha = -0.3820<br />

>> Nz = -[alpha,1]; Dz = [1,alpha];<br />

>> [bhp,ahp] = zmapping(blp,alp,Nz,Dz); [C,B,A] = dir2cas(bhp,ahp)<br />

C = 0.0243<br />

B = 1.0000 -2.0000 1.0000<br />

1.0000 -2.0000 1.0000<br />

A = 1.0000 1.0416 0.4019<br />

1.0000 0.5561 0.7647<br />

The system function of the highpass filter is<br />

H(z) =<br />

0.0243(1 − z −1 ) 4<br />

(1+0.5661z −1 +0.7647z −2 )(1+1.0416z −1 +0.4019z −2 )<br />

which is essentially identical to that in Example 8.25.<br />

□<br />

8.6.1 DESIGN PROCEDURE<br />

In Example 8.26 a lowpass prototype digital filter was available to transform<br />

into a highpass filter so that a particular band-edge frequency was<br />

properly mapped. In practice we have to first design a prototype lowpass<br />

digital filter whose specifications should be obtained from specifications<br />

of other frequency-selective filters as given in Figure 8.30. We will now<br />

show that the lowpass prototype filter specifications can be obtained from<br />

the transformation formulas given in Table 8.2.<br />

Let us use the highpass filter of Example 8.25 as an example. The<br />

passband-edge frequencies were transformed using the parameter α =<br />

−0.38197 in (8.70). What is the stopband-edge frequency of the highpass<br />

filter, say ω s , corresponding to the stopband edge ω ′ s =0.3π of the prototype<br />

lowpass filter? This can be answered by (8.70). Since α is fixed for<br />

the transformation, we set the equation<br />

α = − cos[(0.3π + ω s)/2]<br />

cos[(0.3π − ω s )/2] = −0.38197<br />

This is a transcendental equation whose solution can be obtained iteratively<br />

from an initial guess. It can be done using MATLAB, and the<br />

solution is<br />

ω s =0.4586π<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!