资源描述:
《调空温度控制器软件设计及仿真.doc》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、空调温度控制器软件设计2012年5月空调温度控制器软件设计SoftwareDesignofTemperatureControlSystemBasedonAirConditionerII摘要随着人们生活水平的日益提高,空调已成为现代家庭不可或缺的家用电器设备,人们也对空调的舒适性和空气品质的要求提出了更高的要求。现代的智能空调,不仅利用了数字电路技术与模拟电路技术,而且采用了单片机技术,实现了软硬件的结合,既完善了空调的功能,又简化了空调的控制与操作。为此我们设计了一个基于单片机AT89C52的简易空调自动控制系统,本系统主要功能是根据房间温度和设定温度的差
2、值,并综合考虑其他条件,然后对压缩机和室内外风扇的运行状态进行智能控制。本系统控制电路成本低廉,功能实用,操作简便,有一定的实用价值。本课题设计的空调温度控制系统,其系统主要由AT89C52单片机控制模块、数模转换模块、液晶显示OCMJ4X8C模块、按键等部分组成,其软件则采用8051C语言编程;该系统可以完成温度的显示、温度的设定、空调的控制等多项功能。本课题软件部分主要设计了模数转化程序,温度控制程序,液晶显示程序及按键控制程序。关键词:空调单片机自动控制显示IIIAbstactWiththedevelopmentofpeople’sdailylife
3、,air-conditionhasbecameanindispensabledailyuseequipmentinmodernfamily,andalso,peoplehasanewdemandoftheair-condition’scomfort–standardandairquality.Modernsmartaircondition,notonlybenefitfromtechnologyfromdigitalcircuits,simulateselectrical,butalsotakeadvantagefromSCMtechnology,real
4、izingthecombinationofhardwareandsoftware.Complementingthefunctionsofair-conditionandsimplifyingthesystemofcontrol/operationinthesametime.So,wedesignanoperationsystembasedonSCMtechnologyAT89c52,whosemainfunctionistosetupthedifferencebetweentherealtemperatureintheroomandthedesignedo
5、ne.Havingconsideredtheothergeneralconditionstogether,itcanmakethedigitalcontrolofcompressorandin–roomandout-roomelectricfans.Thissystemhasalowprimcost,andquitepiratical,easy-operated,alotpiraticalvaluecanbeseeninthissystem.Thissubjectdesignsthecontrolsystemofair-condition,whichcon
6、sistsofAT89C52SCMcontrolmodule,analog-to-digitalconversionmodule,liquidcrystaldisplayOCM192X64module,andkeycomponents.Thesoftwareusedinthissystemis8051cprogramminglanguage;ThisSimpleautomaticcontrolsystemsystemcanfinishtheset-upanddisplayofthetemperature,operationoftheair-conditio
7、nect..Thesoftwareportionofthemaindesignanalog-digitalconversionprocess,temperaturecontrolprocedures,proceduresforliquidcrystaldisplayandkeycontrolprocedures.Keywords:airconditionersinglechipmicrocomputerautomaticcontroldisplayIV目录摘要·················································
8、·································