<< Chapter < Page Chapter >> Page >
This module shows the implementation of a DTMF detector using the DSK6713. The detector is desgined using Simulink.

Introduction

The Dual-tone multi-frequency (DTMF) signaling method was developed originally to replace pulse (Dial Pulse or DP in the U.S. ) and loop disconnect (LD) signaling methods to dial numbers, in order to shorten the holding time of the switch during dialing , specially for long distance calls.

DTMF signaling uses two tones to represent each key on the touch pad. There are 12 distinct tones The DTMF method defines four additional digits: “A”, “B”,”C”&“D”. Most of the systems today do not use those digits. (Please refer to Table 1). When any key is pressed the tone of the column and the tone of the row are generated. As an example, pressing the '5' button generates the tones 770 Hz and 1336 Hz. The frequencies were chosen to avoid harmonics: no frequency is a multiple of another, the difference between any two frequencies does not equal any of the frequencies, and the sum of any two frequencies does not equal any of the frequencies.

DTMF Frequencies
. 1209 Hz 1336 Hz 1477 Hz
697 Hz 1 2 3
770 Hz 4 5 6
852 Hz 7 8 9
941 Hz * 0 #

Table 1- DTMF frequencies

The low frequencies are referred as rows, The higher frequencies are referred as columns.

This example will show the implementation of a DTMF receiver using the DSK6713. The DTMF receiver will be based on the simulation model used in the Simulink demo. A graphic user interface (GUI) will also be created to activate the DSK6713. DTMF digits will be sent from the PC sound card.

Simulation

The simulation model

Figure 1 shows the model used to simulate DTMF detection and generation.

DTMF Simulation

The DTMF generator is composed by 7 sine wave generators, corresponding to the 7 DTMF frequencies. The oscillators are grouped as described in Table 1. The oscillators’’ outputs are multiplexed and summed (Please refer to Figure 2). Upon selection of a digit to be transmitted, the correspondent oscillators are activated.

DTMF Generation

The DTMF detection comprises two processes, the frequency detection algorithm itself, and a leading edge detection subsystem.

The frequency detection subsystem measures the energy present at the seven frequencies, and calculates the digit by taking the component of maximum energy in the lower and upper frequency groups. The process is shown in Figure 3. This process runs continuously; however the calculated digit is reported only if its energy is above a threshold as determined by the leading edge detection subsystem. The DTMF detection process is shown in Figure 4.

Frequency Detection
DTMF Detection

Running the simulation

  • Open the simulation model “DTMF.mdl”
  • In order to select the digit double click the DTMF generator subsystem and enter the digits to be sent as follows:
"Dialing" DTMF Digits
  • Activate the simulation, the detected digits will be displayed as shown:

Questions & Answers

what is the anterior
Tito Reply
Means front part of the body
Ibrahim
what is anatomy
Ruth Reply
To better understand how the different part of the body works. To understand the physiology of the various structures in the body. To differentiate the systems of the human body .
Roseann Reply
what is hypogelersomia
aliyu Reply
what are the parts of the female reproductive system?
Orji Reply
what is anatomy
Divinefavour Reply
what are the six types of synovial joints and their ligaments
Darlington Reply
draw the six types of synovial joint and their ligaments
Darlington
System of human beings
Katumi Reply
System in humans body
Katumi
Diagram of animals and plants cell
Favour Reply
at what age does development of bone end
Alal Reply
how many bones are in the human upper layers
Daniel Reply
how many bones do we have
Nbeke
bones that form the wrist
Priscilla Reply
yes because it is in the range of neutrophil count
Alexander Reply
because their basic work is to fight against harmful external bodies and they are always present when chematoxin are released in an area in body
Alexander
What is pathology
Samuel Reply
what is pathology
Nbeke
what's pathology
Nbeke
what is anatomy
ESTHER Reply
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, From matlab and simulink to real-time with ti dsp's. OpenStax CNX. Jun 08, 2009 Download for free at http://cnx.org/content/col10713/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'From matlab and simulink to real-time with ti dsp's' conversation and receive update notifications?

Ask