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.

FIR Filter Structures 229<br />

FIGURE 6.10<br />

Direct form FIR structure<br />

6.3.1 DIRECT FORM<br />

The difference equation (6.7) is implemented as a tapped delay line since<br />

there are no feedback paths. Let M =5(i.e., a 4th-order FIR filter); then<br />

y(n) =b 0 x(n)+b 1 x(n − 1) + b 2 x(n − 2) + b 3 x(n − 3) + b 4 x(n − 4)<br />

The direct form structure is given in Figure 6.10. Note that since the<br />

denominator is equal to unity, there is only one direct form structure.<br />

6.3.2 MATLAB IMPLEMENTATION<br />

In MATLAB the direct form FIR structure is described by the row vector<br />

b containing the {b n } coefficients. The structure is implemented by the<br />

filter function, in which the vector a is set to the scalar value 1, as<br />

discussed in Chapter 2.<br />

6.3.3 CASCADE FORM<br />

This form is similar to that of the IIR form. The system function H(z) is<br />

converted into products of 2nd-order sections with real coefficients. These<br />

sections are implemented in direct form and the entire filter as a cascade<br />

of 2nd-order sections. From (6.5)<br />

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

(<br />

= b 0 1+ b 1<br />

z −1 + ···+ b )<br />

M−1<br />

z −M+1<br />

b 0 b 0<br />

∏ K<br />

(<br />

= b 0 1+Bk,1 z −1 + B k,2 z −2)<br />

k=1<br />

where K is equal to ⌊ M 2 ⌋, and B k,1 and B k,2 are real numbers representing<br />

the coefficients of 2nd-order sections. For M =7the cascade form is shown<br />

in Figure 6.11.<br />

FIGURE 6.11<br />

Cascade form FIR structure<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!