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.

588 Chapter 10 ROUND-OFF EFFECTS IN DIGITAL FILTERS<br />

Distribution of output error<br />

0.1563<br />

0.1172<br />

0.0781<br />

0.0391<br />

SAMPLE SIZE N = 100000<br />

FILT LENGTH M = 5<br />

SNR(THEORY) = 70.9563<br />

Cascade Structure<br />

ROUNDED TO B = 12 BITS<br />

ERROR MEAN = 1.9514e–007<br />

SNR(COMPUTED) = 70.8517<br />

0<br />

−0.5 −0.4 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5<br />

Normalized error<br />

FIGURE 10.29 Multiplication quantization effects for the cascade-form FIR<br />

filter in Example 10.14<br />

the relative errors in adders and {ε i (n)}, 0≤ i ≤ M − 1 are the relative<br />

errors in multipliers, with |η i |≤2 −2B and |ε i |≤2 −2B .<br />

Let A(n, k) bethe gain from the kth multiplier to the output node,<br />

which is given by<br />

⎧<br />

⎨<br />

A(n, k) =<br />

⎩<br />

(1 + ε k (n)) ∏ M−1<br />

r=k<br />

(1 + η r(n)) ,k≠0;<br />

(1 + ε 0 (n)) ∏ M−1<br />

r=k<br />

(1 + η r(n)) ,k=0.<br />

(10.98)<br />

Let ŷ(n) △ = y(n) +q(n) bethe overall output where y(n) isthe output<br />

due to the input x(n) and q(n) isthe output due to noise sources. Then<br />

ŷ(n) =<br />

M−1<br />

∑<br />

k=0<br />

A(n, k) h(k) x(n − k) (10.99)<br />

x(n)<br />

z −1 z −1 z −1 z −1<br />

h(0) h(1) h(2) h(3) h(M − 2) h(M − 1)<br />

1 + ε 0 (n) 1 + ε 1 (n)<br />

1 + ε 2 (n) 1 + ε 3 (n) 1 + ε M−2 (n) 1 + ε M−1 (n)<br />

1<br />

1 + η 1 (n) 1 + η 2 (n)<br />

1 + η M−2 (n) 1 + η M−1 (n)<br />

y(n) + q(n)<br />

FIGURE 10.30 Multiplication quantization model for direct-form floating-point<br />

implementation of an FIR filter<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!