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.

Round-off Effects in FIR Digital Filters 589<br />

Subtracting y(n) = ∑ M−1<br />

k=0<br />

h(k) x(n − k) from (10.99), we obtain<br />

q(n) =<br />

∑<br />

{A(n, k) − 1} h(k) x(n − k) (10.100)<br />

M−1<br />

k=0<br />

Now from (10.98), the average value of A(n, k) isEA(n, k) =1andthe<br />

average power of A(n, k) is<br />

E[A 2 (n, k)] =<br />

(1+ 1 ) M+1−k<br />

3 2−2B<br />

≈ 1+(M +1− k) 2−2B<br />

3<br />

for small 2 −2B (10.101)<br />

Assuming that the input signal x(n)isalso a white sequence with variance<br />

σ 2 x, then from (10.101) the noise power is given by<br />

σ 2 q =<br />

k<br />

(M + 1)2−2B<br />

3<br />

M−1<br />

∑<br />

σx<br />

2 k=0<br />

Since (1 −<br />

M+1 ) ≤ 1 and using σ2 y = σx<br />

2<br />

is upper bounded by<br />

or the SNR is lower bounded by<br />

σ 2 q ≤ (M +1) 2−2B<br />

3<br />

(<br />

|h(k)| 2 1 − k )<br />

M +1<br />

(10.102)<br />

∑ M−1<br />

k=0 |h(k)|2 the noise power σ 2 q<br />

σ 2 y (10.103)<br />

SNR ≥ 3<br />

M +1 22B (10.104)<br />

Equation (10.104) shows that it is best to compute products in order of<br />

increasing magnitude.<br />

□ EXAMPLE 10.15 Again consider the 4th-order FIR filter given in Example 10.13 in which<br />

M =5,B = 12, and h(n) ={0.1, 0.2, 0.4, 0.2, 0.1}. From (10.104), the SNR is<br />

lower bounded by<br />

( ) 3<br />

SNR dB ≥ 10 log 10<br />

M +1 224 =69.24 dB<br />

and the approximate value from (10.102) is 71 dB, which is comparable to the<br />

fixed-point value of 72 dB. Note that the fixed-point results would degrade with<br />

less than optimum scaling (e.g., if signal amplitude were 10 dB down), whereas<br />

the floating point SNR would remain the same. To counter this, one could put a<br />

variable scaling factor A on the fixed-point system, which is then getting close to<br />

the full floating-point system. In fact, floating-point is nothing but fixed-point<br />

with variable scaling—that is, a scaling by a power of two (or shifting) at each<br />

multiplication and addition.<br />

□<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!