基于DTMF的智能電話控制器_第1頁
基于DTMF的智能電話控制器_第2頁
基于DTMF的智能電話控制器_第3頁
基于DTMF的智能電話控制器_第4頁
基于DTMF的智能電話控制器_第5頁
已閱讀5頁,還剩6頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)

文檔簡介

1、DTMF-based intelligence telephone controller(Source: Monolithic machine and dyadic implantation system application)Abstract: Introduce one kind of DTMF (dual-tone multifrequency) signal and RS485-based long-range intelligence controller. It has ringing detecting and the signal simulating Off Hook ,

2、DTMF decoding , infrared remote control code certainly lifts the function studying and launching the multi-path infrared remote control signal's. Composition , hardware allocation, software to that controller design , operating principle , the function discuss detailedly as well as the technolog

3、y function has been in progress the main body of a book. That controller uses the queen , testifies the person convenient , reliable and has practical value in long-range under the control of data terminal system.Keywords: DTMF; RS485;Infrared remote control;MT88701 SummaryHorizontal going a step fu

4、rther improves with the industrial automation, industry scene guarding in a lot of self-service, hope is able to carry out long-range controlling on equipment and monitor , interposes with data collect as well as are in progress to long-range data terminal. Telephone's gradually universal the sc

5、ene installs a telephone will do in industry becoming possibility. The in-bridge having designed and making one kind of DTMF (Dual Tone Multiple Frequency)-based multiplex telephony controller according to this condition , us, as long as with telephone controller can pass it right away on industry s

6、cene telephone line, with using telephone now and then everywhere to equipment be in progress on-off control, data acquisition, long-range interpose and so on . Besides, horizontal ceaseless society economy rise already begins urge the family automation, people is hoped being able to put long-range

7、supervisory control into practice always and everywhere to family safety and puts long-range under the control of into practice to the home appliance. Because the telephone line is that the whole nation is networked , remote control distance can stride over the province city. Be a controller's t

8、urn to adopt the monolithic machine and pronunciation chip , may make use of pronunciation to handle the hint being in progress to diversity may couple back the information square state is charged together.紅外接收電路4×4鍵盤液晶顯示器24C02串行存儲器振鈴檢測、模擬摘機電路雙音多頻解碼譯碼電路89C51單片機89C51單片機紅外發(fā)射電路八路開關(guān)量輸出八路開關(guān)量輸入時鐘定時電路

9、語音控制電路RS232串行通信、RS485串行通信電路電話線 Picture1 Principle block diagram2. Composition and principle controlling2.1 The controller operating principleThe electromechanical includes a round number if the road pursuing what picture1 shows: Ringing checks and the simulation extracts the electromechanical route,

10、 MT8870 wait for the decoding circuit being composed of, infrared generate the launch circuit , octuplex switch amounts import and octuplex switches amounts export a control circuit , pronunciation under the control of and record readjust oneself to a certain extent circuit, clock circuit being comp

11、osed of DS12887, RS232 or RS485 strings the infrared signal self study circuit that row of the circuit communicating by letter , apposition keyboard and liquid crystal display compose together.Be the controller operating principle's turn: While needing long-range under the control of, allocate s

12、ince the corresponding telephone number , the ringing detecting circuit check the bell stream signal. (Number of times can pass a software after ringing number of times reaches 5 time arbitrarily set up), 89 C51 control the monolithic machine realizing circuit automation Off Hook, and the starting p

13、ronunciation circuit issues a hint importing a password. The password carries out a check by that the receiving circuit receiving and importing middle to monolithic machine , check rightness prompts then importing the control command key, the monolithic machine carries out analyse a judgement, and c

14、orresponding according to ordering a request to be completed operation on order. Serve as the entering "*" key queen, the automation realizes telephone on-hook , accomplish a long-range under the control of thereby. If 30 s inner of Off Hook not importing order or the password, circuit mee

15、ting automation on-hook; By the same token, if importing a button exceed also automatic on-hook of eight keys.The controller the equipment being able to string the function doing the long-range circuit realization information collect communicating by letter , controlling some switch amounts and havi

16、ng infrared remote control together by RS485; Functions such as may start up by the fact that the long-range telephone or computer interposes regular time or shutting machine down.2.2 The circuit is composed of hardware2.2.1 Ringing checks , plucks the electromechanical roadThe ringing checks circui

17、t is that couple T521-1 and 74 LS123 compose from brightness. Should there be telephone breathed out fashionable, 25 Hz , 90 V bell signals export pulse signal from commutation queen photoelectricity isolation. In being pulse's turn to import to 74 LS123, 74 LS123 make minor pulse counting in fo

18、rming the expert wave signal , sending in the monolithic machine. Ding-dang counting is reached when setting up number of times, the monolithic machine Picture2 Ringing checks , plucks the electromechanical roadcontrols the high level outputing , messenger audion leads , thereby, the relay attracts

19、the small side door , accomplishes a simulation extracting expedient work. Since pronunciation signal and pair of an audible signals voltage are way below bell signal voltage, be a circuit's turn to be able to not arouse an erroneous judgement therefore. Ringing checks , plucks an electromechani

20、cal if the road pursuing what picyure 2 shows.2.2.2 Dual-tone multifrequency demodulator circuitMT8870 is that the DTMF signal receives the special use chip handling , whose function is to will receive the decoding to DTMA signal for two 4 makes a code, from Q1 Q4 direct output. After simulating Off

21、 Hook, the dual-tone multifrequency signal imports a foot by that the coupling isolation transformer coupling enters MT8870. After an audible signal filters that pair except dial tone signal first after internal dial tone of MT8870 wave filter, send in pair of VF wave filter again as a result of pre

22、pose an amplifier, pair of an audible signals is split according to height , the low frequency signal, the detector sends in the decoding circuit after height , low frequency wave filter , extent, the final data output from MT8870 holds corresponding code of output. Receive the AT89C51 INT0 for STD

23、gaining the effective data , MT8870. Think that STD electrical level receives the effective dialing key value code from being changed into height low , being passing the P1 mouth highway by that AT89C51 checks the queen. Dual-tone multifrequency decodes a circuit if pursuing what picture 3 shows. Pi

24、cture3 Dual-tone multifrequency demodulator circuit2.2.3 Pronunciation controled and pronunciation record circuitPronunciation under the control of and pronunciation record put in a circuit if pursuing what 4 shows , adopt the ISD2590 chip to do the figure sound recording component. Record puts in t

25、ime may amount to 90 ses , can be continuous record readjust oneself to a certain extent also being able to readjust oneself to a certain extent by the fact that address wire A0 A9 chooses piecewise record. Pronunciation chip ISD2590 movie selections input end CE is to start the playback period time

26、 low pulse. The playback not following CE electrical level returning to highly but is over. CE signal coming down follows to start the sound recording period. The PD foot is to enter low-power consumption state time height. The selected playback handles the P/R input end for high electricity in the

27、ordinary time , the selected low electricity sound recording the ordinary time handles. Corresponding pronunciation Duan playing comes to come true from the software. The signal that ISD2590 SP + , SP-hold gives the amplification being in progress till VF enlarges circuit LM386 , go through the isol

28、ation transformer coupling again till telephone circuit, the consumer can hear the hint that system under the control of pronunciation chip issues li from telephone, to carry out corresponding operation. ISD2590 Picture 4 Pronunciation control and pronunciation record2.2.4 Infrared launch circuit555

29、 formation produces 38.5 kHz pulse oscillating circuits from time base circuit , the launch realizing the passage choice outputing with GAL16V8 logic array component and overlaying the carrier signal exporting 38.5 kHz acting as 2803 drive queens who control output , pass through octuplex drive goes

30、 out. Monolithic machine that P1.4 , P1.5 , P1.6 are GAL16V8 three passage choice entering of 89 C51, that P1.7 accomplishes makes to be able to control. Think that P1.7 is that the high electricity forbids outputing in the ordinary time,; Think that P1.7 is that the low electricity allows output in

31、 the ordinary time. From 89, C51 monolithic machine timer T0 controls the infrared pulse string width and gap. Be to improve the anti-interference ability and carry out reliable communication, some remote control implement needs to the all kinds of guidance code be thrust into, for the purpose of th

32、e receiver is easy to distinguish before dispatching binary system code. For the remote control implement distinguishing the different type,need to dispatch an address code and to check a code. Code strong point dispatched by other , different remote control implement is neither identical. The infra

33、red launch is as circuital as picture what 5 shows. Picture 5 Infrared launch circuit2.2.5 Other circuitThe controller has increased real time clock circuit DS12887 , may be provided standard space by system. The controller has the timing under the control of function at the same time. The controlle

34、r may communicate by letter by the fact that the RS485 long-range communicate by letter interface and the superordination computer are in progress , may interpose time the regular time , the infrared signal code being unlike a type etc., the computer of Deng available issues the information ordering

35、 realizing long-range under the control of and fetching acquisition to the controller.3.The software designed3.1 89C51A procedure(1) Ringing checks and simulates Off Hook procedureCompare according to the ringing number of calls , the detecting being in progress that the software sets up. While gett

36、ing to setting value, start Off Hook and the pronunciation hint.(2) DTMF receives and sends INTERP an orderThe monolithic machine receives the data from MT8870 output, and judges if this paragraph of procedure is the queen who simulates Off Hook mainly , be over. Import the queen who is over , analy

37、se the what data and carry out corresponding operation.(3) Serial communication procedureReceive superordination machine order and carry out corresponding operation mainly.(4) Pronunciation record puts in and controls procedure3.2 89C51B procedure(1) Infrared received procedureUse INT0 to stretch a

38、foot as importing , produce interruption , start timer T0 beginning to reckon by time while having coming down following. After thinking that INT0 stops the plan numerical value reckoning by time , reading and deposits to memory when from low to high, start regular time again.(2) The infrared code o

39、f self study handles analysis procedureAccording to the time value storing infrared signal high level and low level in memory,judge having guiding a code or not. If having, find out the high level attracting the foot code and the low level period value. By comparison , the computer information code

40、basic, again, "0" and "1" period t , t0 , t1, find out the address code , the information code and deposit to memory.(3) Pair of monolithic machine parallel communication procedureBreak off , fetch a data between 2 monolithic machine by the fact that INT1 comes into being. The pa

41、rallel communication form is: Guide the code , byte number N , send the code , the data an order 1, data 2, . Data N-2 , checking code.(4) Keyboard scan and liquid crystal display procedure(5) Infrared launch procedureInfrared output signal realization procedure: According to what be needed to contr

42、ol order, queen who chooses corresponding passage, the remote control control code is taken out from EEPROM middle send in shifted buffer area , the code judging needing to lead or not. The later shifted remote control control code, makes P1.4 be that height , the period are t first , makes P1.4 be

43、that the period is t1 low and then again while shifting is "1". Departure many "1" and "0" are the length according to remote control control code but fix; When sends out "1" and "0" , comes to decide from the address code and the control code.4.Conc

44、luding remarkThis system has very strong adaptability , equipment , domestic appliances of all kinds being able to be long-range to industry scene are in progress under the control of, change , assemble and defend the practical value that cost has conveniently, low, as a result comparatively highly

45、in having no need of the arrangement of wire to already some industry scene or dwelling house time installation acting as any. Furthermore , originally systematic convenient operation simplicity, the consumer can import the instruction retrenching and revise a password right away by telephone set (d

46、isregarding being hand-free telephone be still cellular phone),; Can point out the operation being in progress according to pronunciation, therefore that system has higher application and dissemination value.基于DTMF的智能電話控制器摘要:介紹一種基于DTMF(雙音多頻)信號和RS485的遠程智能控制器。它具有振鈴檢測和模擬摘機、DTMF信號解調(diào)、紅外遙控編碼自舉學習和發(fā)射多路紅外遙控信

47、號的功能。本文對該控制器的組成、硬件配置、軟件設(shè)計、工作原理、功能以及技術(shù)性能進行了詳細論述。該控制器在遠程控制的數(shù)據(jù)終端系統(tǒng)中使用后,證明其方便、可靠和有實用價值。關(guān)鍵詞:DTMF RS485 紅外遙控 MT88701 概述隨著工業(yè)自動化水平的進一步提高,在許多無人看守的工業(yè)現(xiàn)場,希望能夠?qū)υO(shè)備進行遠程的控制和監(jiān)測,以及對遠程數(shù)據(jù)終端進行設(shè)置和數(shù)據(jù)采集。電話的逐漸普及使得在工業(yè)現(xiàn)場安裝電話成為可能。根據(jù)這種情況,我們設(shè)計并制作了一種基于DTMF(Dual Tone Multiple Frequency)的多路電話控制器,只要將電話控制器并接在工業(yè)現(xiàn)場的電話線上,就可以通過它隨著時隨地用電話對

48、設(shè)備進行開關(guān)控制、數(shù)據(jù)采集、遠程設(shè)置等1。另外,社會經(jīng)濟水平的不斷提高已經(jīng)開始促使家庭自動化,人們希望能夠隨時隨地對家庭安全實行遠程監(jiān)控以及對家電實行遠程控制。由于電話線路是全國聯(lián)網(wǎng)的,所以遙控距離可以跨省市。該控制器采用單片機和語音芯片,可利用語音對于不同操作進行提示并可反饋受控方狀態(tài)的信息。2 控制的組成及原理2.1 控制器的工作原理整機電路如圖1所示,包括:振鈴檢測與模擬摘機電路,由MT8870等組成的解碼電路,紅外生成發(fā)射電路、八路開關(guān)量輸入和八路開關(guān)量輸出控制電路,語音控制和錄放電路,由DS12887組成的時鐘電路,RS232或RS485串行通信電路,外加鍵盤和液晶顯示構(gòu)成的紅外信號

49、自學習電路。紅外接收電路4×4鍵盤液晶顯示器24C02串行存儲器振鈴檢測、模擬摘機電路雙音多頻解碼譯碼電路89C51單片機89C51單片機紅外發(fā)射電路八路開關(guān)量輸出八路開關(guān)量輸入時鐘定時電路語音控制電路RS232串行通信、RS485串行通信電路電話線 圖1 原理框圖該控制器的工作原理:當需要遠程控制時,撥打相應(yīng)的電話號碼,振鈴檢測電路檢測鈴流信號。振鈴次數(shù)達到5次后(次數(shù)可以通過軟件任意設(shè)定),單片機 89C51控制實現(xiàn)電路自動摘機,并啟動語音電路發(fā)出提示輸入密碼。密碼經(jīng)接收電路接收并輸入到單片機中進行核對,核對正確則提示輸入控制命令鍵,單機對命令進行分析判斷,并根據(jù)命令要求完成相應(yīng)

50、的操作。當輸入“*”鍵后,自動實現(xiàn)電話掛機,從而完成一次遠程控制。摘機的30s內(nèi)若不輸入命令或密碼,電路會自動掛機;同樣,若輸入按鍵超過8個鍵也自動掛機。該控制器還可以通過RS485串行通信電路實現(xiàn)遠程信息采集,控制若干開關(guān)量和具有紅外遙控功能的設(shè)備;還可通過遠程電話或計算機設(shè)置定時開機或關(guān)機等功能。2.2 硬件電路組成 2.2.1 振鈴檢測、摘機電路振鈴檢測電路是由光耦T521-1和74LS123構(gòu)成的。當有電話呼入時,25Hz、90V振鈴信號由整流后光電隔離輸出脈沖信號。該脈沖輸入到 74LS123中,74LS123將小脈沖整形成大方波信號,送入單片機中計數(shù)。當計數(shù)達到設(shè)定次數(shù)時,單片機控

51、制輸出高電平,使三極管導通,從而繼電器吸合,完成模擬摘機動作。由于語音信號和雙音頻信號電壓遠低于振鈴信號電壓,因此該電路不會引起誤判。振鈴檢測、摘機電路如圖2所示。2.2.2 雙音多頻解調(diào)電路MT8870 是DTMF信號接收處理的專用芯片,其功能是將接收到的DTMA信號解碼為4位二制碼,由Q1Q4直接輸出。模擬摘機以后,雙音多頻信號經(jīng)過耦合隔離變壓器耦合入MT8870輸入腳。該雙音頻信號先經(jīng)MT8870內(nèi)部的撥號音濾波器濾除撥號音信號后,再經(jīng)前置放大器送入雙音頻濾波器,將雙音頻信號按高、低頻信號分開,又經(jīng)高、低頻濾波器、幅度檢測器送入譯碼電路,最后從MT8870的數(shù)據(jù)輸出端輸出相應(yīng)的編碼。為了獲取有效的數(shù)

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
  • 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論