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.

530 Chapter 9 SAMPLING RATE CONVERSION<br />

the integer part of (i m + D)/I. The integer i m+1 should be saved to be<br />

used in determining the subfilter from which the next sample is taken.<br />

□ EXAMPLE 9.19 For the sampling rate converter designed in Example 9.15, specify the set of<br />

time-varying coefficients {g(n, m)} used in the realization of the converter based<br />

on the structure given in Figure 9.19. Also, specify the corresponding implementation<br />

based in polyphase filters.<br />

Solution The coefficients of the filter are given by (9.43)<br />

( ⌊ ⌋ ) D<br />

g(n, m) =h(nI +(mD) I)=h nI + mD −<br />

I m I<br />

By substituting I =5and D =2,weobtain<br />

(<br />

⌊ 2m<br />

g(n, m) =h 5n +2m − 5<br />

5<br />

⌋)<br />

By evaluating g(n, m) for n =0, 1,...,5 and m =0, 1,....,4weobtain the<br />

following coefficients for the time-variant filter:<br />

g(0,m)={h(0) h(2) h(4) h(1) h(3)}<br />

g(1,m)={h(5) h(7) h(9) h(6) h(8)}<br />

g(2,m)={h(10) h(12) h(14) h(11) h(13)}<br />

g(3,m)={h(15) h(17) h(19) h(16) h(18)}<br />

g(4,m)={h(20) h(22) h(24) h(21) h(23)}<br />

g(5,m)={h(25) h(27) h(29) h(26) h(28)}<br />

Apolyphase filter implementation would employ five subfilters, each of length<br />

six. To decimate the output of the polyphase filters by a factor of D =2simply<br />

means that we take every other output from the polyphase filters. Thus, the first<br />

output y(0) is taken from p 0(n), the second output y(1) is taken from p 2(n),<br />

the third output is taken from p 4(n), the fourth output is taken from p 1(n), the<br />

fifth output is taken from p 3(n), and so on.<br />

□<br />

9.7 PROBLEMS<br />

P9.1 Consider the upsampler with input x(n) and output v(m) given in (9.26). Show that the<br />

upsampler is a linear but time-varying system.<br />

P9.2 Let x(n) =0.9 n u(n). The signal is applied to a downsampler that reduces the rate by a<br />

factor of 2 to obtain the signal y(m).<br />

1. Determine and plot the spectrum X(ω).<br />

2. Determine and plot the spectrum Y (ω).<br />

3. Show that the spectrum in part (2) is simply the DTFT of x(2n).<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!