02.10.2019 Views

UploadFile_6417

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

306 Chapter 7 FIR FILTER DESIGN<br />

Using (7.2), we obtain<br />

δ 2<br />

δ 2<br />

A s =50=−20 log 10 = −20 log<br />

1+δ 10 ⇒ δ2 =0.0032 □<br />

1 1+0.0144<br />

□ EXAMPLE 7.2 Given the passband tolerance δ 1 =0.01 and the stopband tolerance δ 2 =0.001,<br />

determine the passband ripple R p and the stopband attenuation A s.<br />

Solution<br />

From (7.1) the passband ripple is<br />

R p = −20 log 10<br />

1 − δ 1<br />

1+δ 1<br />

=0.1737 dB<br />

and from (7.2) the stopband attenuation is<br />

A s = −20 log 10<br />

δ 2<br />

1+δ 1<br />

=60dB □<br />

Problem P7.1 develops MATLAB functions to convert one set of specifications<br />

into another.<br />

These specifications were given for a lowpass filter. Similar specifications<br />

can also be given for other types of frequency-selective filters, such<br />

as highpass or bandpass. However, the most important design parameters<br />

are frequency-band tolerances (or ripples) and band-edge frequencies.<br />

Whether the given band is a passband or a stopband is a relatively minor<br />

issue. Therefore in describing design techniques, we will concentrate<br />

on a lowpass filter. In the next chapter we will discuss how to transform<br />

alowpass filter into other types of frequency-selective filters. Hence it<br />

makes more sense to develop techniques for a lowpass filter so that we<br />

can compare these techniques. However, we will also provide examples<br />

of other types of filters. In light of this discussion our design goal is the<br />

following.<br />

Problem statement Design a lowpass filter (i.e., obtain its system<br />

function H(z) orits difference equation) that has a passband [0,ω p ] with<br />

tolerance δ 1 (or R p in dB) and a stopband [ω s ,π] with tolerance δ 2 (or<br />

A s in dB).<br />

In this chapter we turn our attention to the design and approximation<br />

of FIR digital filters. These filters have several design and implementational<br />

advantages:<br />

• The phase response can be exactly linear.<br />

• They are relatively easy to design since there are no stability problems.<br />

• They are efficient to implement.<br />

• The DFT can be used in their implementation.<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!