【正文】
z[1]==1amp。i++) { y[i]=data[i]/1024+2*d[j]*y[i1]y[i2]。}void delay(signed short period){ int i,j。||n==39。 } else { printf(error\n)。||n==39。*39。539。||n==39。||n==39。/*檢測DTMF*/ printf(n=%c\n,n1)。 buf2[1]=(b*y2)*2。 buf2[i]=0。*/ delay(1000)。939。139。939。139。amp。中間變量清零程序設(shè)計(jì):for(j=0。}timer=timer1。}當(dāng)進(jìn)行任務(wù)判決時(shí),如果任務(wù)標(biāo)志不是零則進(jìn)行雙音任務(wù)。l 可編程定時(shí)器。l 比較、選擇、存儲單元(CSSU)用于Viterbi操作的假發(fā)/比較選擇。根據(jù)CCITT 規(guī)定,DTMF信令每秒最多10個數(shù)字, 也就是周期為100ms, 其中DTMF信號的持續(xù)時(shí)間不少于45ms, 不大于55ms。優(yōu)點(diǎn)是編碼容量大,且呼叫時(shí)間有不長。 一個DTMF信號由兩個頻率的音頻信號疊加構(gòu)成。sinusoidal oscillator DTMF(雙音多頻)技術(shù)是DSP技術(shù)中的一種。s functions and flexibility, but reduces the costs and overes the shortings of the hardware detection circuit.Keywords: Digital在過去的短短的二十來年里,DSP處理器的性能得到很大改善,軟件和開發(fā)工具也得到相應(yīng)的發(fā)展,價(jià)格卻大幅度地下降,從而得到越來越廣泛的應(yīng)用。(1)并列發(fā)送并列發(fā)送是同時(shí)發(fā)送幾個頻率。為應(yīng)用方便可以通過選取初值而避免將一個δ脈沖作為輸出條件。但式(E13)中的程序僅當(dāng)n=N時(shí)計(jì)算一次,每迭代需要一次實(shí)數(shù)乘法和兩次加法。l 條件存儲指令。data[i]=0。i++){buf1[i]=(a*buf1[i1])*2buf1[i2]。j14。k3=(m+4)*2。float find2(char n)。,39。signed short data1 [128]。,39。 task=0。 /*12dB gainon analog output from DAC*/ codec_sample_rate(hHandset,SR_8000)。/*尋找產(chǎn)生DTMF的初始條件*/ b=find2(n)。 while(timer!=0) { for(i=0。||n==39。||n==39。239。939。||n==39。||n==39。||n==39。||n==39。 int y[128]={0}。 k4=k3+1。觀察信號時(shí)域圖觀察信號頻域圖信號輸出檢測 參考文獻(xiàn)1. ,2005,9:782. 劉順蘭,2003,8:72953. .《現(xiàn)代電子技術(shù)》,2001,1(10):344. 管慶,2004:31355. 陳立萬,基于DTMF解碼器的DSP技術(shù).《無線電子增刊》,2001:1311336. ,2007,11:841207. ++,2004,68. John Dimitris . 數(shù)字信號處理:原理、2004,69. 夏斌,于永學(xué),200810. (雙音多頻),200411. 肖俊武,肖擎,陳國橋,2007,1230。 k2=k1+1。 char n1。||n==39。||n==39。 } else if(n==39。||n==39。839。139。||n==39。 if(n==39。 data[i]=buf1[i]/2+buf2[i]/2。 } while(timer==0) { task=1。 /*ADC in15bit mode*/ codec_ain_gain(hHandset,CODEC_AIN_6dB)。}; t=2。,39。}。,39。char test(void)。n++){k1=2*n。/*Read sample from and write back to handset codec*/Data[i++]=*(volatile u16*)DRR1_ADDR(HANDSET_CODEC)。for(i=2。i++){buf1[i]=0。l 同時(shí)突入兩個或3個操作數(shù)的指令。通過將具有復(fù)共軛極點(diǎn)的諧波器結(jié)合成對,就可以避開式(E10)所固有的復(fù)數(shù)乘法和加法,這就產(chǎn)生了具有兩個極點(diǎn)的的濾波器,其系統(tǒng)函數(shù)為 (E11)該系統(tǒng)的直接型Ⅱ?qū)崿F(xiàn)如圖A5所示: 圖A5 用于計(jì)算DFT的兩極點(diǎn)諧振器的直接型Ⅱ?qū)崿F(xiàn)該系統(tǒng)可以用差分方程描述為 (E12) (E13)初始條件為。其中b0=Asinω0,a1=2cosω0,a2=1對應(yīng)的極點(diǎn)分別為P2=e177。同時(shí)為了避免標(biāo)準(zhǔn)率之間的諧波干擾出現(xiàn),故所列最高標(biāo)準(zhǔn)頻率小于最低標(biāo)準(zhǔn)頻率的三次諧波頻率。所以,用硬件實(shí)現(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 Be