【正文】
摘 要雙音多頻DTMF(Dual Tone MultiFrequency)信令,逐漸在全世界范圍內(nèi)使用在按鍵式電話機上,因其提供更高的撥號速率,迅速取代了傳統(tǒng)轉(zhuǎn)盤式電話機使用的撥號脈沖信令。近年來DTMF也應(yīng)用在交互式控制中,諸如語言菜單、電話銀行等。將DTMF信令的產(chǎn)生與檢測集成到任一含有數(shù)字信號處理器(DSP)的系統(tǒng)中是一項較有價值的工程應(yīng)用。 DTMF(雙音多頻)技術(shù)是DSP技術(shù)中的一種。DTMF信號是音頻電話的撥號信號。由美國ATT貝爾實驗室開發(fā)。這種撥號方法取代了脈沖撥號,每一個號碼由兩個音頻信號組成,該雙音頻由按鍵所在的行和列對應(yīng)的頻率決定。電話中的雙音多頻信號有兩種作用:一是用于雙音多頻信號的撥號,去控制交換機接同被叫的用戶電話機;二是利用雙音多頻信號控制電話機各種動作。這些功能的實現(xiàn)離不來DTMF信號的正確的產(chǎn)生和識別檢測,專用數(shù)字處理信號芯片(DSP)的出現(xiàn),使這個問題得到輕松的解決。本文給出一種實現(xiàn)方案,闡述DTMF信令的產(chǎn)生與檢測的基本原理:用兩個二階數(shù)字正弦振蕩器產(chǎn)生DTMF信號,并通過Goertzel算法實現(xiàn)DTMF信號檢測。關(guān)鍵詞:數(shù)字信號處理器DSP 雙音多頻DTMF 正弦波振蕩器 Goertzel算法 AbstractBecause of a higher dialing rate, Dual Tone Multifrequency signaling has gradually been used worldwide in a touchtone telephone and quickly replaced the dialing pulse signaling used in the traditional rotary telephone. DTMF is also used in interactive control recent years, such as language menu, telephone banks. Integrating the generation and detection of DTMF signaling into any digital signal processor (DSP) system is a more valuable engineering application.DTMF technology is a kind of DSP technology. The DTMF signal means the dialing signal of audio telephone developed by USA ATT Bell Labs. This method replaces pulse dialing, each number posed of two audio signals and the tone made by the corresponding frequency from the keypad row and column. There are two effects on the phone DTMF signal. First is for the dialing of dualtone multifrequency signaling to control the switches connected with the called telephone user。 second is using DTMF signaling to control the various actions of telephone. Implementing these features can’t be apart from the generation of DTMF signals and the identification of correct detection, which is easily solved after the appearance of dedicated digital signal processing chip (DSP).This paper presents a realization of the program, describing the basic principle of the generation and detection of DTMF signaling that is using two secondorder digital sinusoidal oscillator to produce DTMF signal, and through the Goertzel algorithm for DTMF signaling detection. This paper is based on DSP chip fixedpoint TMS320C54x series from TI Company to achieve DTMF signaling detection. The usage of DSP technology not only increases the system39。s functions and flexibility, but reduces the costs and overes the shortings of the hardware detection circuit.Keywords: Digitalsignal processorDSP DTMFdualtone multi_frequency sinusoidal oscillator Goertzelalgorithm 目 錄1 引言…………………………………………………………………52 DTMF簡介…………………………………………………………5. DTMF信號介紹……………………………………………………5 DTMF信號產(chǎn)生簡介……………………………………………….73 Geroztel算法 ……………………………………………………..94 TMS32C5402中DTMF信號產(chǎn)生與檢測……………………………10 TMS32C5402的特點……………………………………………………10 DTMF信號產(chǎn)生…………………………………………………………12 DTMF信號檢測…………………………………………………………15 DTMF信號產(chǎn)生與檢測程序總和………………………………………185 設(shè)計程序調(diào)試及仿真…………………………………………………27 程序編寫、工程構(gòu)架、編譯環(huán)境設(shè)置………………………………27 實驗結(jié)果與仿真圖像…………………………………………………29結(jié)論……………………………………………………………………………31致謝……………………………………………………………………………32參考文獻………………………………………………………………………33