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.

FIR Filter Structures for Sampling Rate Conversion 529<br />

x(n)<br />

Rate: F x<br />

FIGURE 9.40<br />

z −1<br />

DI<br />

DI<br />

z −1<br />

g(2, )<br />

mD<br />

x − 2<br />

I<br />

DI<br />

g(K − 1, )<br />

z −1 mD<br />

x − K + 1<br />

I<br />

DI<br />

x<br />

mD<br />

I<br />

mD<br />

x − 1<br />

I<br />

g(0, ); = 0,1,..., I − 1<br />

g(1, )<br />

Rate:<br />

y(m)<br />

Efficient realization of sampling rate conversion by a factor I/D<br />

I<br />

D<br />

F x<br />

Thus this computation produces I outputs. It is then repeated for a new<br />

set of D input samples, and so on.<br />

An alternative method for computing the output of the sampling rate<br />

converter, specified by (9.69), is by means of an FIR filter structure with<br />

periodically varying filter coefficients. Such a structure is illustrated in<br />

Figure 9.40. The input samples x(n) are passed into a shift register that<br />

operates at the sampling rate F x and is of length K = M/I, where M<br />

is the length of the time-invariant FIR filter specified by the frequency<br />

response given by (9.36). Each stage of the register is connected to a holdand-sample<br />

device that serves to couple the input sampling rate F x to<br />

the output sampling rate F y =(I/D)F x . The sample at the input to each<br />

hold-and-sample device is held until the next input sample arrives and<br />

then is discarded. The output samples on the hold-and-sample device are<br />

taken at times mD/I, m =0, 1, 2,.... When both the input and output<br />

sampling times coincide (i.e., when mD/I is an integer), the input to the<br />

hold-and-sample is changed first; then the output samples the new input.<br />

The K outputs from the K hold-and-sample devices are multiplied by<br />

the periodically time-varying coefficients g(n, m −⌊m/I⌋ I), for n =0,<br />

1,...,K − 1, and the resulting products are summed to yield y(m). The<br />

computations at the output of the hold-and-sample devices are repeated<br />

at the output sampling rate of F y =(I/D)F x .<br />

Finally, rate conversion by a rational factor I/D can also be performed<br />

by use of a polyphase filter having I subfilters. If we assume that the mth<br />

sample y(m) iscomputed by taking the output of the i m th subfilter with<br />

input data x(n),x(n − 1),...,x(n − K + 1), in the delay line, the next<br />

sample y(m +1)istaken from the (i m+1 )st subfilter after shifting l m+1<br />

new samples in the delay lines where i m+1 =(i m + D) mod I<br />

and l m+1 is<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!