如果您无法下载资料,请参考说明:
1、部分资料下载需要金币,请确保您的账户上有足够的金币
2、已购买过的文档,再次下载不重复扣费
3、资料包下载后请先用软件解压,在使用对应软件打开
PAGE\*MERGEFORMAT822020年4月19日基于单片机的热水器温度控制系统设计文档仅供参考长沙航空职业技术学院()毕业生毕业设计(论文)基于单片机的热水器温度控制系统设计系别:专业:姓名:班级:学号:指导老师姓名:职称:最终评定成绩:5月摘要温度是一种最基本的环境参数,人们生活与环境温度息息相关;在工业生产中也离不开温度的检测和控制。随着国民经济的发展,人们需要对各种加热器、热处理炉、反应炉和锅炉的温度进行检测和精确控制。因此研究温度的检测和控制具有重要的意义。本论文介绍了一种基于AT89S52单片机为主要控制器件,以DS18B20为温度传感器的热水器温度控制系统。本系统经过DS18B20实时检测电热棒所加热的水温温度,由单片机从DS18B20读取出所测量出的温度数值,然后经过软件程序进行判断,控制固态继电器SSR的通断,再控制加热棒是否加热,从而实现实时检测并精准控制水温的目的。利用软件编程和外围电路,结合智能温度传感器DS18B20,经过按键能够任意设置温度上下限报警。显示电路采用四位LED共阴数码管来显示检测的水温数值。本系统能够方便的实现温度的检测控制和显示,具有精度高、量程宽、灵敏度高、体积小、功耗低等特点,适用于我们的日常生活和工、农业生产中的温度检测控制领域。同时,也能够当作温度处理模块,嵌入到其它系统中,作为其它主系统的辅助扩展。本系统结构简单,抗干扰能力强,适合在恶劣环境下进行现场温度检测控制,具有广泛的应用前景。关键词:AT89S52DS18B20温度控制固态继电器AbstractTemperatureisoneofthemostfundamentalenvironmentalparameters,people'slivesandiscloselyrelatedtotheambienttemperature;temperaturedetectionandcontrolinindustrialproductionisalsoinseparable.Withthedevelopmentofthenationaleconomy,peopleneedtodetectandpreciselycontrolthetemperatureofthevariousheaters,heattreatmentfurnaces,reactorsandboilers.Therefore,thetemperaturedetectionandcontrolofthestudyhasimportantsignificance.ThispaperdescribesthewaterheatertemperaturecontrolsystembasedonAT89S52microcontrollerasthemaincontroldevice,DS18B20asthetemperaturesensor.ThewatertemperatureisthetemperatureofthesystemthroughthetheDS18B20real-timedetectionofelectricheatingrodsareheatedbythemicrocontrollerfromtheDS18B20readoutthemeasuredtemperaturevalues,andthenbejudgedbyasoftwareprogram,on-offcontrolSolidStateRelay(SSR),tocontrolwhethertheheatingrodsheating,inordertoachievereal-timedetectionandprecisewatertemperaturecontrolpurposes.Softwareprogrammingandperipheralcircuits,combinedwithintelligenttemperaturesensorDS18B20wereabletosetupperandlowertemperaturealarmbutton.CommoncathodecircuitusesfourLEDdigitaltubetodetectthewatertemperaturevalueisdisplayed.Thesystemcanfacilitatethedetectionoftemperaturecontrolanddisplay,withhighaccuracy,widerange,highsensitivity,smallsize,lowpowerconsumpt