Documentos de Académico
Documentos de Profesional
Documentos de Cultura
History records that 1876 was the year when Alexander Graham Bell patented the first device able to transform voice into an electrical signal that could travel across a simple wire. As this invention gathered momentum it became quickly obvious that a single home could not be connected to every other home with a dedicated wire (although the first devices were sold in pairs and ranchmen used barbed wire in the US to communicate using the newly invented telephone).
Thus the first switchboards were soon deployed, with human operators physically wiring callers with called people by plugging cords into jacks. Each place with a phone line was given a number to identify it. The line and its associated telephones were connected to a local switchboard. These switchboards were themselves interconnected all over the country. When someone wanted to call another place, a long process started: the caller picked up the phone, triggering an alarm on the local switchboard where an operator plugged a headset to speak with the caller. The caller then requested to be connected with a given phone number. The local operator checked whether the destination number was attached to the local switch or had to be reached through a distant switchboard. In the latter case, she called the destination switchboard, talked to its operator to ask her to make the called phone ring. If the called user picked up the phone, the distant switchboard operator connected a cord between the called line and the incoming line of the calling switchboard. The calling switchboard operator then also connected a cord to the caller's line, eventually establishing a full voice path between the calling and the called parties. In order to overcome this huge effort signaling is introduced. The aim of this project is to introduce and discuss the Dual tone multi frequency signaling. The project is divided into two chapters: The first chapter introduce the concept of signaling and discuss the main idea behind Dcadic and DTMF signaling. The second chapter explain the DTMF signaling, its component and the way its work. Chapter two also contains some simulation that shows the way DTMF works
Chapter 1
Signaling
1.1-Introduction
The communication is the act to establish relations with somebody. To communicate, it is essential that there are a transmitter (or sender) and a receiver (or recipient), and that a visual or sound message (signals) is delivered first towards the second. Among the multitude of signals, certain signals are used by all according to international conventions (ex: measurements). They have a fixed significance. One of these conventions is DTMF. In this chapter we will introduce telephone signaling. This chapter also explains the principal of both Decdiac and DTMF signaling
users. The Decadic (Pulse Dialling) system used a series of clicks (which could be heard through the speaker of the phone) to dial the numbers which were dialed via a keypad or rotary dial. The clicking sounds were actually the connection of the phone line being connected, disconnected, and reconnected again in a certain pattern. The Decadic (Pulse Dialing system was very useful, but was limited to the local exchange connections, requiring an operator to connect long distance calls. DTMF was being developed for the future of electronic telecommunications switching systems, as opposed to the mechanical crossbar systems, which were currently in use at the time. After DTMF was created, Decadic dialing was made pointless to continue, it made no sense to continue using that particular dialing system in the equipment circuits which the telephone exchanges were using at the time. Plans were then made to begin the manufacture of DTMF controlled switching systems in the communications exchanges and later standard customer owned telephones were upgraded to using DTMF circuits rather than Decadic (Pulse Dial). After various tests were performed on the DTMF system throughout the 1960s (when DTMF became known as Touch-Tone), DTMF was made official, and was then used as the main telecommunications dialing and switching system, and remains that way to this day.
The full DTMF encoding standard defines four rows and four columns for a total of 16 two-tone combinations. Besides the numerals 0 to 9,a DTMF dial has *,#, A, B, C and D. For example, pressing the digit 9(row 3 and column 3)produces 852 Hz and 1477Hz tones simultaneously, while pressing a 1 produces 697Hz and 1209Hz tones. Each of these tones is composed of two pure sine waves of the low and high frequencies superimposed on each other. These two frequencies explicitly represent one of the digits on the telephone keypad. Thus generated signal can be expressed mathematically as follows:
( )
Where AH is the amplitude of high frequency signal, fH is the high frequency, AL is the amplitude of low frequency signal, fL is the low frequency. 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.
1.5- conclusion
Signaling is essential in modern communication system. It plays a critical role in initializing communication. In this chapter, we explained the concept of signaling. This chapter also presented the principal of Decdiac and DTMF signaling.
For the following description of the program flow, it is helpful to consult the flowchart shown in (flowchart eli ta7t maba3rif ra2mo). Essentially, the series of keypad entries are translated into a series of dual-tones of certain duration that are interrupted by pauses of certain duration. Later, the dual-tones enable the decoder to identify the associated digits. The program flow, therefore, incorporates two tasks that are swapped after certain time intervals. One task (the tone task) generates dual-tone samples and the other (the quiet task) generates pause samples. Each task is assigned a certain duration that is controlled by a timer variable. At the end of each task, the task has to initialize the timer variable and the task-name (tone or quiet) for the next task to be invoked. At the end of the quiet task, one very important component is added: A new digit is retrieved from the digit buffer and is unpacked. Unpacking means that the digit is mapped to the row/column tone properties (oscillator coefficients, initial conditions) and pointers are loaded, pointing to the appropriate locations in the oscillator property table. The entire program flow is synchronized to the receive-interrupt service routine, which provides a perfect clock for real-time processing and constant sample output. On completion of the RINT_ISR, the task scheduler is invoked, which determines the particular task (tone or quiet) that needs to be executed. Both tone task and quiet task check on the timer variable to determine if the end of the task duration is already reached. If not, a tone or quiet sample, respectively, is generated. If the end of the task duration is reached, the next task name and duration is initialized and starts to execute with the completion of the next RINT_ISR. The quiet task, additionally, unpacks the next digit at the end of its duration.
The Goertzel algorithm is much faster than a true FFT, as only few of the set of spectral line values are needed and only for those values are filters provided. Squared magnitudes are needed for eight row/column frequencies and for their eight-second harmonics. The second harmonics information later enables discrimination of DTMF tones from speech or music. Table 2 contains a list of frequencies and filter coefficients. The choice of N is mainly driven by the frequency resolution needed, which sets a lower boundary. N also is chosen so that (k/N)fs most accurately coincides with the actual DTMF frequencies (see Table 1) assuming ks are integer values and fs is a sampling frequency of 8 ksps.
Modifications to the Goertzel Algorithm The coefficients of Table 2 reflect the coefficients needed to recursively compute the true DFT. The evenly spaced frequency bins of a true DFT present an inherent drawback in the DTMF tone-detection process. The DFT frequency bins mostly deviate from the true DTMF frequency by an amount in the range of up to 2% off center frequency. To be able to meet the acceptable bandwidth specifications, a modification of the algorithm departs from the true DFT and tunes frequency bins exactly with the DTMF tone frequencies. This modification gives up the DFT property of evenly spaced frequency bins; and with that, takes two calculated risks: (1) A frequency bin is possibly moved inside of the mainlobe of its neighboring frequency bin. Therefore, neighboring frequency bins can affect each other. Note that the mainlobe of the continuous magnitude spectrum of a rectangular windowed sinewave (window is N wide) is exactly the distance of 2 DFT frequency bins. (2) This is especially true when column frequencies and 2nd harmonics of row frequencies lie close to one another. Note that column frequencies and 2nd harmonics of row frequencies share the same frequency band.
2.3-Simulation We have done the simulation of the DTMF with the Matlab Program. 2.3.1 Components The DTMF simulation is composed of 3 basic elements. The DTMF generator, the medium or the channel where the signal is transmitted and the DTMF receiver. In the channel we can control the noise power. The output of the receiver is connected to a display so we can visualize the values detected. We note that the channel is connected also to a spectrogram so we can visualize the frequency spectrum of the signal transmitted. 2.3.2 Procedure
In this figure that is snipped from the simulation on Matlab, we generated the values: [ 1 2 3 4 5 6 7 8 9 9 0] with the noise power set to 0.05 dbm. The DTMF receiver detects all the values without errors as it appears on the display. The frequency spectrum is signal generated is illustrated in fig 2.3.b
2.3.b We remark, as it should be, that the number 1, 2 and 3 have the same low frequency which is 697 Hz and the number 1, 4 and 7 have the same high frequency which is 1209 Hz. The receiver keeps detecting the values correctly since the noise power is relatively low. We have remarked that as we elevate the noise power, the receiver keeps detecting the values until a point where the noise power becomes equal to 0.32 dbm. At this point the receiver stop detecting them correctly, as it was expected.
2.4-conclusion
DTMF technology was a big step in modern communication. In this chapter, we presented the mechanism of DTMF. DTMF signal generator and detector were explained, and a simulation is done to illustrate the way DTMF works.
3-General Conclusion
In conclusion, the evolution of communication technologies and the wide spread of its application encouraged researchers to search for techniques that are less expensive and less complicated. DTMF is a signaling technique found to simplify the connection
establishment between a user and the central office. Furthermore, researchers are working to develop these techniques and techniques of signaling in the core network
References:
Lezem tzed references w t7ot 2r2am 2elon [1]Dtmf tone generation and detection using the tms320c54x [2]J. Nagi*, S. K. Tiong, K. S. Yap, S. K. Ahmed Department of Electronics and Communication Engineering College of Engineering, Universiti Tenaga Nasional [3] DTMF Detection and Generation Virtual Peripheral Module Application Note 41 August 2000