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.

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

16–bit (1+1+14) Precision<br />

11–bit (1+1+9) Precision<br />

1<br />

1<br />

Imaginary Part<br />

0.5<br />

0<br />

−0.5<br />

10<br />

Imaginary Part<br />

0.5<br />

0<br />

−0.5<br />

10<br />

−1<br />

−1<br />

−1 −0.5 0 0.5 1<br />

−1 −0.5 0 0.5 1<br />

Real Part<br />

Real Part<br />

FIGURE 6.32 Pole-zero plots for cascade-form structure in Example 6.26<br />

% Cascade form: quantized coefficients: Same B (N=L1+B)<br />

N1 = L1+B; [BAhat2,L2,B2] = Qcoeff([B0,A0],N1);<br />

TITLE2 = sprintf(’%i-bit (1+%i+%i) Precision’,N1+1,L2,B2);<br />

Bhat2 = BAhat2(:,1:3); Ahat2 = BAhat2(:,4:6);<br />

[bhat2,ahat2] = cas2dir(b0,Bhat2,Ahat2);<br />

subplot(1,2,2); [HZhat2,HPhat2,Hlhat2] = zplane(bhat2,ahat2);<br />

set(HZhat2,’color’,’r’,’linewidth’,1); set(HPhat2,’color’,’r’,’linewidth’,1);<br />

set(Hlhat2,’color’,’w’);title(TITLE2,’fontsize’,10,’fontweight’,’bold’);<br />

axis([-1.1,1.1,-1.1,1.1]);<br />

The results are shown in Figure 6.32. We observe that not only for 16-bit representation<br />

but also for 11-bit representation, the resulting filter is essentially<br />

the same as the original one and is stable. Clearly, the cascade form structure<br />

has better finite word-length properties than the direct form structure. □<br />

6.8.3 EFFECTS ON FREQUENCY RESPONSE<br />

The frequency response of the IIR filter in (6.50) is given by<br />

∑ M<br />

H(e jω k=0<br />

)=<br />

b k e −jωk<br />

1+ ∑ N<br />

k=1 a (6.76)<br />

k e −jωk<br />

When the coefficients {a k } and {b k } are quantized to {â k } and {ˆb k },<br />

respectively, the new frequency response is given by<br />

∑ M<br />

Ĥ(e jω k=0<br />

)=<br />

ˆb k e −jωk<br />

1+ ∑ (6.77)<br />

N<br />

k=1 âk e −jωk<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!