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 IIR Digital Filters 563<br />

Distribution of e 1<br />

Distribution of e 2<br />

4128<br />

3128<br />

2128<br />

1128<br />

4128<br />

3128<br />

2128<br />

1128<br />

SAMPLE SIZE N = 500000<br />

ROUNDED TO B = 12 BITS<br />

MEAN = –9.0218e–008<br />

MIN PROB BAR HEIGHT = 0.005792<br />

MAX PROB BAR HEIGHT = 0.008184<br />

SIGMA = 7.0526e–005<br />

0<br />

−0.5 −0.375 −0.25 −0.125 0 0.125 0.25 0.375 0.5<br />

Normalized Error e 1<br />

SAMPLE SIZE N = 500000<br />

ROUNDED TO B = 12 BITS<br />

MEAN = –9.034e–008<br />

MIN PROB BAR HEIGHT = 9.2e 005<br />

MAX PROB BAR HEIGHT = 0.01578<br />

SIGMA = 4.9902e–005<br />

0<br />

−0.5 −0.375 −0.25 −0.125 0 0.125 0.25 0.375 0.5<br />

Normalized Error e 2<br />

FIGURE 10.15 Multiplication quantization error distribution for the sinusoidal<br />

signal in Example 10.9, B =12bits<br />

% Quantization error analysis<br />

[H1,H2,Q, estat] = StatModelR(cxq,B,N);<br />

H1max = max(H1); H1min = min(H1);<br />

H2max = max(H2); H2min = min(H2);<br />

% Max and Min of H1<br />

% Max and Min of H2<br />

The plots of the resulting histogram are shown in Figure 10.16. Even for B =6<br />

bits, the error samples appear to be uniformly distributed (albeit in discrete<br />

fashion) and are independent of each other. The corresponding plots for B =12<br />

bits are shown in Figure 10.17. It is clear for B =12bits that the quantization<br />

error samples are independent and uniformly distributed. Readers should verify<br />

the statistics of these errors given in (10.7), (10.9), and (10.10).<br />

□<br />

From these two examples, we conclude that the statistical model for<br />

the multiplication quantization error, with its stated assumptions, is a<br />

very good model for random signals when the number of bits in the quantizer<br />

is large enough.<br />

10.2.5 STATISTICAL ROUND-OFF NOISE—FIXED-POINT ARITHMETIC<br />

In this and the next section, we will consider the round-off effects on IIR<br />

filters using the multiplication quantization error model developed in the<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!