您好,欢迎访问三七文档
当前位置:首页 > 行业资料 > 交通运输 > 基于单片机的燃气热水器温度控制系统设计
毕业论文题目基于单片机的燃气热水器温度控制系统设计郑重声明本人的学位论文是在导师指导下独立撰写并完成的,学位论文没有剽窃、抄袭、造假等违反学术道德、学术规范和侵权行为,否则,本人愿意承担由此而产生的法律责任和法律后果,特此郑重声明。学位论文作者(签名):年月日-I-摘要随着现代居民生活消费水平的不断提高,人们对生活质量的要求也越来越高。热水器作为家居生活中非常重要的一部分,用户对热水器的功能需求也越来越智能化。燃气热水器作为热水器的一种,以其加热速度快、体积小、安全、节能等优点,深受广大消费者的喜爱。而目前大多数燃气热水器的智能化程度还较低,处于手动调温阶段,且水温不能实时显示,用水量和用气量不能实时控制,这使消费者的用户体验水平大大降低。根据现今燃气热水器中存在的不足,向着智能调温方向发展,本文设计了燃气热水器的恒温控制系统,概括起来有以下几点:(1)用8位单片机89S51和DS18B20温度传感器,提出了水温实时监测的温度控制系统,该系统相比16位的单片机、热敏电阻和A/D转换器构成的温度数据采集系统具有更高的性价比。(2)根据温度传感器采集到的温度数据,经过数据转换,与设定温度数值进行对比,再通过DAC0832数模转换为不同的电流,从而控制燃气比例阀的大小,调整加热的力度,进一步实现温度的自动控制。(3)采用数字PID程序控制,提高了温度的控制精度,并能实现温度的连续可调。(4)加入了LCD1602液晶显示屏,用于出水温度的实时显示;并加入了看门狗和声光报警子电路,提高了热水器的安全性。(5)对设计程序进行了工程样板制作。关键词:燃气热水器;单片机;温度控制;DS18B20AbstractWiththeimprovementoftheconsumptionlevelofmodernresidents,customer'srequirementsoflifequalityaregettinghigherandhigher.Asaveryimportantpartofhomelife,thewaterheater'sfunctionisalsomoreandmoreintelligent.Gaswaterheaterasoneofwaterheater,withitsheatingspeed,smallsize,safetyandenergysaving,isverypopularbythevastnumberofconsumers.Atpresent,mostofthegaswaterheaterisstillrelativelylow-degreeofintelligence,onlycanadjustthetemperaturebyhands,andthewatertemperaturecannotbedisplayedatanytime,theweightofwaterandgascannotbecontrolautomaticly,thereforethesemaketheuser'suserexperiencelevelgreatlyreduced.Accordingtotheshortcomingsofgaswaterheater,thispaperdesignedaconstanttemperaturecontrolsystemforgaswaterheater:(1)Inthispaper,8-bitsingle-chip89S51andDS18B20temperaturesensorswereused,andthetemperaturecontrolsystemofreal-timemonitoringofwatertemperaturewasputforward.Comparedwiththetemperaturedataacquisitionsystem,whichwasconstitutedof16-bitmicrocontroller,thermistorandA/Dconverter,thesystemofthisarticleiscost-effective.(2)Accordingtothetemperaturedataoftemperaturesensor,throughthedataconversion,andcomparedwiththesettemperaturevalue,andthenthroughtheDAC0832digitalconverterintothedifferentelectriccurrentvalue,thesizeofgasproportionalvalvecanbecontrol.Finally,theheatingforcecanadjustsothatachievethetemperatureoftheautomaticcontrol.(3)ThetemperaturecontrolsystemusedthedigitalPIDprogramcontrol,improvedthetemperaturecontrolaccuracy,andcanachievecontinuousadjustabletemperature.(4)A1602LCDscreenwasjoinedinthetemperaturecontrolsystemforthereal-timedisplayofwatertemperature;andwatchdogandsoundandlightalarmcircuitweresettoimprovethesafetyofwaterheaters.(5)Thedesignprocesswasmadeintotheprojectmodel,andwasdebuggedsuccessful.-II-Keywords:Gaswaterheater;Singlechip;Temperaturecontrol;DS18B20-III-目录摘要--------------------------------------------------------------------------------------------------IAbstract--------------------------------------------------------------------------------------------------II1前言----------------------------------------------------------------------------------------------------12燃气热水器系统设计------------------------------------------------------------------------------12.1系统设计要求--------------------------------------------------------------------------------22.2系统设计方案--------------------------------------------------------------------------------22.3系统性能指标--------------------------------------------------------------------------------32.4本章小结--------------------------------------------------------------------------------------43硬件控制系统设计---------------------------------------------------------------------------------43.1燃气热水器硬件控制系统设计方案-----------------------------------------------------43.1.1信息处理模块------------------------------------------------------------------------43.1.2显示器件------------------------------------------------------------------------------53.1.3温度采集模块------------------------------------------------------------------------63.1.4数模转化模块------------------------------------------------------------------------63.1.5燃气开关阀---------------------------------------------------------------------------73.2硬件电路设计--------------------------------------------------------------------------------93.2.1系统主控制电路的设计------------------------------------------------------------93.2.2温度值输入电路的设计------------------------------------------------------------93.2.3报警电路设计----------------------------------------------------------------------103.2.4温度检测电路的设计-------------------------------------------------------------103.2.5LCD液晶显示电路的设计-------------------------------------------------------113.2.6电流控制电路的设计-------------------------------------------------------------113.3本章小结------------------------------------------------------------------------------------124软件控制系统设计--------------------------------------------------------------------------------124.1主程序流程图-------------------------------------------------------------------------------124.2测温程序流程图----------------------------------------------------------------------------134.3数字PID控制器的实现------------------------------------------------------------------144.4本章小节------------------------------------------------------------------------------------155总结与展望-------------------------------------------
本文标题:基于单片机的燃气热水器温度控制系统设计
链接地址:https://www.777doc.com/doc-5076177 .html