洛阳理工学院毕业设计(论文)>>>>
摘要
目前,中国已成为世界上最大的太阳能热水器生产国,年产量约为世界各国之和。但是与之相配套的太阳能热水器控制器却一直处在研究与开发阶段。现在的这种控制器只具有温度和液位显示功能,而且为分段显示。他不具有温度控制功能,当由于天气原因而光强不足时,就会给热水器用户带来不便。鉴于国内太阳能热水器市场不断扩大,而与其相配套的控制器却急需改进的情况下,研制了这套太阳能热水器控制器。本文设计的太阳能热水器是以89C51单片机为检测控制核心,不仅实现了温度、水位两种参数的实时显示功能,而且具有温度设定与控制功能。控制器可以根据天气情况利用辅助加热装置使蓄水箱内的水温达到预先设定的温度,从而达到24小时供应热水的目的。实际应用结果表明,该控制器和以往的显示仪相比具有性价比高、温度控制与显示精度高、使用方便和性能稳定等优点,提高了我国太阳能应用领域控制水平,具有可观的经济效益和社会效益。
太阳能热水器因利用太阳能、无污染、使用方便、长期使用投入费用低等特点而备受人们青睐。本设计介绍了一种以89C51单片机为核心构成的太阳能热水器智能控制器的设计方法,给出了系统硬件设计及软件实现方法。本设计以单片机89C51为核心,将水温信号和水位开关检测信号经过处理后送入单片机,使数码管显示当前温度和指示灯指示当前水位值,另外一方面通过与温度设定值进行比较,根据结果发出相应的上水、加热指令,对热水器的温度和水位进行控。
关键词:太阳能热水器,单片机AT89C51,硬件设计,软件设计
I
洛阳理工学院毕业设计(论文)>>>>
ABSTRACT
Atpresent,Chinahasbecometheworld'slargestproducerofsolarwaterheater,withanannualoutputofaroundandaroundtheworld.However,matchingwithsolarwaterheatercontrollerhasbeeninresearchanddevelopmentstage.Thecontrollernowonlydisplaythetemperatureandlevel,butalsoforthesub-display.Hedidnothaveatemperaturecontrolfunction,whenduetobadweatherandlackoflight,itwillbringinconveniencetothewaterheater.Inviewofdomesticsolarwaterheatermarketexpansion,anditsmatchingcontrollerisanurgentneedtoimprovethesituation,developedasetofsolarwaterheatercontroller.Inthispaper,solarwaterheaterisdesignedforthedetectionofsingle-chipcontrol89C51core,notonlyoftemperature,waterlevelinthetwoparametersinreal-timedisplayandtemperaturesettingandcontrolfunctions.Controlleraccordingtoweatherconditionscanmakeuseofauxiliaryheatingdevicesothatthetemperatureinsidethewatertoreachpre-settemperature,soastoachievea24-hourhotwatersupplypurposes.Practicalapplicationresultsshowthatthecontrollerandcomparedtothepreviousdisplayinstrumentwithhighperformance-priceratio,temperaturecontrolanddisplayhighprecision,easy-to-useandperformanceadvantagesofstability,improvedcontrolofourlevelofsolarenergyapplications,withconsiderableeconomicbenefitsandsocialbenefits.
Solarwaterheaterduetotheuseofsolarenergy,pollution-free,easytouse,long-termuseoflowinputcostsandhasbeenfavoredpeople.Introducedthedesignofasingle-chipmicrocomputer89C51asthecoreconsistingofsolarwaterheaterintelligentcontrollerdesignmethod,giventhesystemhardwaredesignandsoftwareimplementation.Thedesignofsingle-chipmicrocomputerasthecore89C51,willcomefromthetemperatureandwaterleveldetectionsensorsignalconditioning,A/Dtransformedintosingle-chip,ontheonehandthroughtheLEDdisplaysthecurrentvalueoftemperatureandwaterlevel,whileontheonehand,andthetemperatureandcomparethewaterlevelsettings,computing,accordingtoresultsissuedbytheShangShui,heatinginstructions,ofthewaterheatertocontroltemperatureandwaterlevel.
KEYWORDS:Solarwaterheater,single-chip,hardwaredesign,softwaredesign
II
洛阳理工学院毕业设计(论文)>>>>
目录
摘要.......................................................................................................................................................................I目录....................................................................................................................................................................III1绪论.....................................................................................................................................................................1
1.1太阳能热水器的概述...................................................11.2太阳能热水器的背景...................................................21.3太阳能热水器的研究现状................................................21.4本设计的主要任务及内容................................................21.5系统的主要功能........................................................3
2系统总体方案的设计.........................................................................................................................................4
2.1系统总体结构框图的设计...............................................42.2温度检测电路设计.....................................................4
2.2.1AD590的工作原理...............................................................................................................................7
2.3模拟/数字转换电路....................................................8
2.3.1TL2543的内部结构..............................................................................................................................92.3.2TLC2543的工作方式和输入通道的选择.........................................................................................102.3.3TLC2543的读写时序........................................................................................................................10
2.4单片机的控制系统....................................................12
2.4.1AT89C51的主要特性..........................................................................................................................132.4.2AT89C51的引脚说明..........................................................................................................................132.4.3振荡特性.............................................................................................................................................16