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.

Dual-tone Multifrequency (DTMF) Signals 627<br />

FIGURE 12.14<br />

DTMF digits<br />

processor), digital samples of two sine waves are generated mathematically,<br />

scaled, and added together. The sum is logarithmically compressed<br />

and sent to the codec for conversion to an analog signal. At an 8 kHz<br />

sampling rate the hardware must output a sample every 125 ms. In this<br />

case a sine look-up table is not used because the values of the sine wave<br />

can be computed quickly without using the large amount of data memory<br />

that a table look-up would require. For simulation and investigation<br />

purposes, the look-up table might be a good approach in MATLAB.<br />

At the receiving end, the logarithmically compressed, 8-bit digital<br />

data words from the codec are received and logarithmically expanded to<br />

their 16-bit linear format. Then the tones are detected to decide on the<br />

transmitted digit. The detection algorithm can be a DFT implementation<br />

using the FFT algorithm or a filter bank implementation. For the<br />

relatively small number of tones to be detected, the filter bank implementation<br />

is more efficient. We now describe the use of the Goertzel algorithm<br />

to implement the 8 tuned filters.<br />

Recall from the discussion in Chapter 5 that the DFT of an N-point<br />

data sequence {x(n)} is<br />

X (k) =<br />

N−1<br />

∑<br />

n=0<br />

x(n)W nk<br />

N , k =0, 1,...,N − 1 (12.40)<br />

If the FFT algorithm is used to perform the computation of the DFT,<br />

the number of computations (complex multiplications and additions) is<br />

N log 2 N.Inthis case we obtain all N values of the DFT at once. However,<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!