哈尔滨理工大学学士学位论文-I-家电控制系统设计摘要随着生活水平的不断提高,人们希望有一种自动化、智能化程度高的控制系统对所有的家用电器能实施远程控制。本文介绍了一种基于PSTN(PublicSwitchedTelephoneNetwork,公众电话网)实现对家用电器的远程控制,通过电话可以随时随地控制多种家用电器的开关和各种设定,诸如将空调提前升降温、电热水器提前预热等,应用前景相当广泛。本文介绍了一种以单片机AT89C51为主控制器和双音多频解码电路芯片FM9270为核心,通过电话线路实现对家用电器的远程、多路智能控制系统。该系统实用、功能灵活多样,可以对被遥控对象的状态进行查询以及控制,可以广泛地应用于家用电器或者其他场所的各种控制设备。系统主要由主控制器、振铃检测与模拟摘机电路、DTMF解码电路、语音提示电路、集中控制器等构成。基于PSTN实现对家用电器的远程控制与常规的遥控方式,如无线电遥控、有线遥控、红外线和超声波遥控等相比,显示出一定的优越性,不需进行专门的布线,不占用无线电频率资源,避免了电磁污染。同时,由于电话线路各地联网,可以充分利用现有的电话网,因此遥控距离可跨省市,甚至跨越国家。关键词AT89C51;ISD1420;FM9270;PSTN;远程控制哈尔滨理工大学学士学位论文-II-HomeApplianceControlSystemAbstractThetextintroduceasortofcontrolsystemthatuseAT89C51singlechipactasmaincontrollerandusebothsound-manyfrequencydecodecircuitCMOSchipFM9270actascore,throughtelephonelinecarryoutfamilyequipment’slong-distancemany-wayintelligentcontrol.Thissystemissopracticalandthefunctionissoagilityandmultiplicity,thatcandemandandcontrolthestateofthecontrolledobject,canwidelyapplianceinfamilyequipmentorotherspatialallkindsofcontrolequipment.Thesystemmostlymakeupofmaincontroller,checkshakebellandsimulatecircuit,DTMFdecodecircuit,soundclewcircuit,concentratecontroller.Alongwiththeimprovementofthestandardofliving,peoplewanttohaveahighautomaticandintelligentcontrolsystemthatcancontrolallthefamilyequipmentthroughlong-distance.ThetextintroduceasortofcontrolsystemthatbasedonPSTNandcancontrolallthefamilyequipmentthroughlong-distance,throughtelephonecancontroltheswitchandsetupofallthefamilyequipmentatanymomentandeverywhere,suchasriseordropthetemperatureoftheair-conditionaheadofschedule,warm-uptheelectronicwaterheateraheadofschedule,andsoon.It’sapplianceforegroundofthesystemquiteabroad.BasedonPSTNcarryoutlong-distancecontrolfamilyequipmentshowdefinitelyadvantagecomparewithwirelesstelephonecontrolhave-wiretelephonecontrol,infraredrayandultrasonictelephonecontrolandsoon.Itdon’tneedputupspecialline,don’tengrosswirelessfrequencyresourceandavoidelectromagnetismpollution.Atthesametime,thankstothelineineverywherejoinedthenet,itcanmakethebestoftheexistingtelephonenetwork,sothatthedistanceofwirelesscontrolcanspanprovinceandcityandcanspancountryindeed.KeywordsAT89C51;ISD1420;FM9270;PSTN;Long-distancecontrol哈尔滨理工大学学士学位论文-III-目录摘要.................................................................................................................................IAbstract.........................................................................................................................II第1章绪论..................................................................................................................11.1课题背景.............................................................................................................11.2国内外发展现状.................................................................................................11.3论文研究内容.....................................................................................................2第2章总体设计..........................................................................................................32.1系统总体框图.....................................................................................................32.2单片机简介..........................................................................................................42.3硬件模块.............................................................................................................62.4软件模块.............................................................................................................62.5本章小结.............................................................................................................7第3章硬件电路设计..................................................................................................83.1电源电路设计.....................................................................................................83.2单片机AT89S51.................................................................................................83.2.1单片机AT89S51资料.................................................................................83.2.2AT89S51单片机电路.................................................................................123.3下载线电路.......................................................................................................133.3.1ISP简介......................................................................................................133.3.274HC373简介............................................................................................133.3.3ISP下载线电路..............................................................................................143.4振铃检测电路...................................................................................................143.5模拟摘机电路...................................................................................................163.6DPMF解码电路................................................................................................173.6.1DTMF介绍......................................................................