基于80C52单片机的电加热数字恒温控制系统设计DesignofDigitalConstantTemperatureControlSystemforElectricHeatingbasedon80C52MCU学院:电气工程学院专业班级:自动化1104班学号:110302415学生姓名:刘东洋指导教师:关新(副教授)2015年6月密级:公开I摘要温度对日常的生活影响极大且无时不在,实现对温度的控制对生活乃至生产发展都具有重要的意义。很多生产领域中都需大量的加热设备来进行生产,如用加热炉来实现热处理,用坩锅电阻炉来融化金属及具有不同用途的温度控制箱等。用单片机对不同温度控制箱进行控制在很大程度上为设备控制带来了方便、使用简单、控制灵活等特点,同时还可以最大限度地提高温度参数的精确程度,保证了生产的稳步进行,增加了生产的效率。因此,智能化温度控制技术的研究有较大的研究意义。本智能化温度控制系统的设计采用资料较多的80C52微型控制器,配以DS18B20数字温度传感器及nRF401芯片利用微功率短距离无线通信技术进行远程温度控制,该系统能够在25米以内远程控制温度。单片机利用检测到的数字温度信号与设定的温度上、下限值进行对比,由对比结果输出是否运行半导体制冷器指令以控制设备。本设计添加了普通的数码管来显示温度值及LED灯来显示常用电路的工作状况,增加了系统的灵活性和完整性。关键词:温度箱;80C52;单片机;控制;模拟IIAbstractThetemperaturehasgreatinfluenceondailylifeandhasnotime,andithasimportantsignificanceforthecontrolofthetemperaturetocontrolthelifeandthedevelopmentofproduction..Inthefieldofproductionaresubjecttoalotofheatingequipmenttoproduce,suchasheatingfurnacetorealizeheattreatment,crucibleresistancefurnacetomoltenmetalandwithdifferentusesofthetemperaturecontrolbox.Withthechiponthedifferenttemperaturecontrolboxcontrolinagreatextentfortheequipmentcontrolbroughtconvenient,easytouse,flexibletocontrol,atthesametime,itcanmaximallyimprovetheaccuratedegreeofparameterssuchastemperature,ensureproductionsteadily,increasetheproductionefficiency.Therefore,theresearchoftheintelligenttemperaturecontroltechnologyhasthesignificanceoftheresearch.TheintelligenttemperaturecontrolsystemdesignusingalotofmaterialsAT80C52microcontrollerandwithDS18B20digitaltemperaturesensorandnRF401chipwithmicropowershortdistancewirelesscommunicationtechnologyforremotetemperaturecontrol,thesystemcanin25metersremotecontrolasked.Singlechipmicrocomputerisusedtodetectthedigitaltemperaturesignalandsetthetemperature,thelowerlimitofthecomparison,fromtheresultsofthecomparisonoftheoutputoftherelaytocontrolequipment.ThisdesignaddsacommondigitaltubetodisplaythetemperatureandLEDlamptoshowtheworkingconditionofthecommoncircuit,andincreasetheflexibilityandintegrityofthesystemKeyword:Temperature;AT80C52;SCM;Control;SimulationI目录摘要...............................................................................................................IAbstract.................................................................................................................II第1章绪论.........................................................................................................11.1温度控制系统设计的背景、发展历史及意义....................................11.2温度控制系统的目的............................................................................11.3温度控制系统完成的功能....................................................................21.4国内外发展现状....................................................................................21.5本章小结................................................................................................3第2章总体设计方案.........................................................................................52.1方案的系统构想....................................................................................52.2系统方案的确定....................................................................................52.2.1传感器方案.................................................................................52.2.2短距离无线通信模块方案.........................................................62.2.3系统控制及数据处理模块方案.................................................72.3器件的选用............................................................................................82.3.1数字式温度传感器的选择.........................................................82.3.2无线收发芯片的选择.................................................................92.3.3常用的无线收发芯片...............................................................102.3.4键盘显示模块的选择...............................................................112.3.5温度控制模块的选择...............................................................112.4本章小结..............................................................................................12第3章硬件电路设计.......................................................................................133.1设计原则..............................................................................................133.2引脚连接..............................................................................................133.2.1晶振电路...................................................................................133.3无线控制接收发射器..........................................................................133.4单片机最小系统的设计......................................................................143.5显示电路..............................................................................................15II3.6DS18B20温度传感器电路..................................................................153.7加热电路..............................................................................................163.7.1半导体制冷器,工作原理.......................................................163.7.2比例积分电路...........................................................................173.8报警电路的设计..............................................................