《基于单片机电热水壶控制系统的设计教学文稿.doc》由会员分享,可在线阅读,更多相关《基于单片机电热水壶控制系统的设计教学文稿.doc(4页珍藏版)》请在得力文库 - 分享文档赚钱的网站上搜索。
1、Good is good, but better carries it.精益求精,善益求善。基于单片机电热水壶控制系统的设计-摘要本论文介绍以MCS-51系列单片机为控制芯片,控制电热水壶进行正常工作的方法。首先通过加热电路对水进行加热,并用AD590对水的温度进行采样和检测,将采样信号通过ADC0809将数字量送入单片机系统进行处理,经信号转换后,结合键盘控制实现LED显示,同时实现对水的温度控制和超过预设温度时报警系统的启动,以保障电水壶安全工作。单片机控制热水壶的硬件构成包括8051芯片、地址锁存器等所组成的单片机控制电路、温度检测电路、光电隔离电路、A/D转换电路、键盘和显示电路以及温
2、度加热电路。整个系统的核心电路是单片机控制电路,它的功能是完成信号的输入和输出的转换,通过程序实现对信号的处理,控制加热电路的通断,从而实现对整个系统的控制。对设计好的硬件电路进行仿真,系统能够平稳、准确运行,从而表明设计的原理正确。关键字:单片机;温度控制;信号转换AbstractThisthesisintroducesamethodthattheMCS-51seriesmicrocontrolleristhecontrolchiptocontroltheelectrickettletoworknormally.First,weusetheelectricheatingcircuittohe
3、atingthewaterandapplytheAD590tosampleandtestthetemperatureofthewater,thesampledsignalconveytodigitalthroughtheADC0809intothemicrocontrollersystemforprocessingbycomputerprocessing,aftermicrocomputerprocessingandthekeyboardcontroltorealizeLEDdisplay.Meanwhile,itcanrealizethecontrolofwatertemperaturean
4、dthestartofalarmdevicewhenovertemperaturetomakesurethekettlesafety.Microcontrollerhardwarecomponentsincludethe8051kettlechips,addresslatchcircuitandsoon,inaddition,itincludestemperaturedetectioncircuit,opticalisolationcircuit,A/Dconvertercircuit,keyboardanddisplaycircuitandthetemperatureheatingcircu
5、it.ThecorecircuitisthesystemMCUcontrolcircuit,anditsfunctionistocompletetheinputandoutputofsignalconversion.Itrealizestheprocessionofsignalthroughtheprogramandcontroltheheatingcircuitbreakorclose,soastorealizethecontrolofthewholesystem.Afterwemakeasimulationtothedesignedhardwarecircuit,wefindthesystemcanoperatesmoothlyandaccurately,itshowsthatthedesignprincipleiscorrect.KEYWORDS:SCM;TEMPERATURECONTROL;SIGNALCONVERSION-