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.

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

FIGURE 12.15<br />

Realization of two-pole resonator for computing the DFT<br />

The desired output is X (k) =y k (N). To perform this computation, we<br />

can compute once and store the phase factor W −k<br />

N .<br />

The complex multiplications and additions inherent in (12.46) can<br />

be avoided by combining the pairs of resonators possessing complex conjugate<br />

poles. This leads to 2-pole filters with system functions of the<br />

form<br />

1 − WN k H k (z) =<br />

z−1<br />

1 − 2 cos (2πk/N) z −1 + z −2 (12.47)<br />

The realization of the system illustrated in Figure 12.15 is described by<br />

the difference equations<br />

v k (n)=2 cos 2πk<br />

N v k (n − 1) − v k (n − 2) + x(n) (12.48)<br />

y k (n)=v k (n) − W k Nv k (n − 1) (12.49)<br />

with initial conditions v k (−1) = v k (−2) = 0. This is the Goertzel algorithm.<br />

The recursive relation in (12.48) is iterated for n =0, 1,...,N, but the<br />

equation in (12.49) is computed only once, at time n = N. Each iteration<br />

requires one real multiplication and two additions. Consequently, for a real<br />

input sequence x(n), this algorithm requires N +1 real multiplications to<br />

yield not only X (k) but also, due to symmetry, the value of X (N − k).<br />

We can now implement the DTMF decoder by use of the Goertzel<br />

algorithm. Since there are eight possible tones to be detected, we require<br />

eight filters of the type given by (12.47), with each filter tuned to one of the<br />

eight frequencies. In the DTMF detector, there is no need to compute the<br />

complex value X (k); only the magnitude |X(k)| or the magnitude-squared<br />

value |X(k)| 2 will suffice. Consequently, the final step in the computation<br />

of the DFT value involving the numerator term (feedforward part of 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!