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.

Problems 467<br />

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

% Matched-Z Transformation from Analog to Digital Filter<br />

% [b,a] = MZT(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 />

% d = Denominator polynomial in s of the analog filter<br />

% T = Sampling interval (transformation parameter)<br />

Using this function, transform<br />

H a(s) =<br />

s +1<br />

s 2 +5s +6<br />

into a digital filter H(z) for the sampling intervals (in seconds): T =0.05, T =0.1, and<br />

T =0.2. In each case obtain a plot similar to that in Figure 8.20 and comment on the<br />

performance of this technique.<br />

P8.27 Consider an analog Butterworth lowpass filter that has a 1 dB or better ripple at 100 Hz<br />

and at least 30 dB of attenuation at 150 Hz. Transform this filter into a digital filter using<br />

the matched-z transformation technique in which F s = 1000 Hz. Plot the magnitude and<br />

phase response of the resulting digital filter and determine the exact band-edge frequencies<br />

for the given dB specifications. Comment on the results.<br />

P8.28 Consider an analog Chebyshev-I lowpass filter that has a 0.5 dBorbetter ripple at 500 Hz<br />

and at least 40 dB of attenuation at 700 Hz. Transform this filter into a digital filter using<br />

the matched-z transformation technique in which F s = 2000 Hz. Plot the magnitude and<br />

phase response of the resulting digital filter and determine the exact band-edge frequencies<br />

for the given dB specifications. Comment on the results.<br />

P8.29 Consider an analog Chebyshev-II lowpass filter that has a 0.25 dB or better ripple at<br />

1500 Hz and at least 80 dB of attenuation at 2000 Hz. Transform this filter into a digital<br />

filter using the matched-z transformation technique in which F s = 8000 Hz. Plot the<br />

magnitude and phase response of the resulting digital filter, and determine the exact<br />

band-edge frequencies for the given dB specifications. Comment on the results. Is this a<br />

satisfactory design?<br />

P8.30 Consider the design of the lowpass Butterworth filter of Problem P8.22.<br />

1. Use the bilinear transformation technique outlined in this chapter and the bilinear<br />

function. Plot the log-magnitude response in dB. Compare the impulse responses of the<br />

analog prototype and the digital filter.<br />

2. Use the butter function and compare this design with the one in part 1.<br />

P8.31 Consider the design of the digital Chebyshev-1 filter of Problem P8.21.<br />

1. Use the bilinear transformation technique outlined in this chapter and the bilinear<br />

function. Plot the log-magnitude response in dB. Compare the impulse responses of the<br />

analog prototype and the digital filter.<br />

2. Use the cheby1 function and compare this design with the one above.<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!