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.

304 Chapter 7 FIR FILTER DESIGN<br />

7.1 PRELIMINARIES<br />

The design of a digital filter is carried out in three steps:<br />

• Specifications: Before we can design a filter, we must have some specifications.<br />

These specifications are determined by the applications.<br />

• Approximations: Once the specifications are defined, we use various<br />

concepts and mathematics that we studied so far to come up with a<br />

filter description that approximates the given set of specifications. This<br />

step is the topic of filter design.<br />

• Implementation: The product of the above step is a filter description<br />

in the form of either a difference equation, or a system function H(z),<br />

or an impulse response h(n). From this description we implement the<br />

filter in hardware or through software on a computer as we discussed<br />

in Chapter 6.<br />

In this and the next chapter we will discuss in detail only the second step,<br />

which is the conversion of specifications into a filter description.<br />

In many applications like speech or audio signal processing, digital<br />

filters are used to implement frequency-selective operations. Therefore,<br />

specifications are required in the frequency-domain in terms of the desired<br />

magnitude and phase response of the filter. Generally a linear phase<br />

response in the passband is desirable. In the case of FIR filters, it is possible<br />

to have exact linear phase as we have seen in Chapter 6. In the case<br />

of IIR filters a linear phase in the passband is not achievable. Hence we<br />

will consider magnitude-only specifications.<br />

The magnitude specifications are given in one of two ways. The first<br />

approach is called absolute specifications, which provide a set of requirements<br />

on the magnitude response function |H(e jω )|. These specifications<br />

are generally used for FIR filters. IIR filters are specified in a somewhat<br />

different way, which we will discuss in Chapter 8. The second approach is<br />

called relative specifications, which provide requirements in decibels (dB),<br />

given by<br />

|H(e jω )|<br />

dB scale = −20 log 10<br />

|H(e jω ≥ 0<br />

)| max<br />

This approach is the most popular one in practice and is used for both<br />

FIR and IIR filters. To illustrate these specifications, we will consider a<br />

lowpass filter design as an example.<br />

7.1.1 ABSOLUTE SPECIFICATIONS<br />

Atypical absolute specification of a lowpass filter is shown in Figure 7.1a,<br />

in which<br />

• band [0,ω p ]iscalled the passband, and δ 1 is the tolerance (or ripple)<br />

that we are willing to accept in the ideal passband response,<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!