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.

228 Chapter 6 IMPLEMENTATION OF DISCRETE-TIME FILTERS<br />

This example shows that by using the MATLAB functions developed in this<br />

section, we can probe and construct a wide variety of structures. □<br />

6.3 FIR FILTER STRUCTURES<br />

A finite-duration impulse response filter has a system function of the form<br />

H(z) =b 0 + b 1 z −1 + ···+ b M−1 z 1−M =<br />

Hence the impulse response h(n) is<br />

M−1<br />

∑<br />

n=0<br />

b n z −n (6.5)<br />

{<br />

bn , 0 ≤ n ≤ M − 1<br />

h(n) =<br />

0, else<br />

and the difference equation representation is<br />

(6.6)<br />

y(n) =b 0 x(n)+b 1 x(n − 1) + ···+ b M−1 x(n − M +1) (6.7)<br />

which is a linear convolution of finite support.<br />

The order of the filter is M − 1, and the length of the filter (which<br />

is equal to the number of coefficients) is M. The FIR filter structures are<br />

always stable, and they are relatively simple compared to IIR structures.<br />

Furthermore, FIR filters can be designed to have a linear-phase response,<br />

which is desirable in some applications.<br />

We will consider the following four structures:<br />

1. Direct form: In this form the difference equation (6.7) is implemented<br />

directly as given.<br />

2. Cascade form: In this form the system function H(z) in(6.5) is factored<br />

into 2nd-order factors, which are then implemented in a cascade<br />

connection.<br />

3. Linear-phase form: When an FIR filter has a linear-phase response,<br />

its impulse response exhibits certain symmetry conditions. In this form<br />

we exploit these symmetry relations to reduce multiplications by about<br />

half.<br />

4. Frequency-sampling form: This structure is based on the DFT of<br />

the impulse response h(n) and leads to a parallel structure. It is also<br />

suitable for a design technique based on the sampling of frequency<br />

response H(e jω ).<br />

We will briefly describe these four forms along with some examples.<br />

The MATLAB function dir2cas developed in the previous section is also<br />

applicable for the cascade form.<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!