您好,欢迎访问三七文档
当前位置:首页 > 机械/制造/汽车 > 综合/其它 > 基于51单片机的温度自动控制系统实现步进电机控制设计—毕业设计论文
毕业设计论文题目:温度自动控制系统实现学院:专业:学生姓名:学号:指导教师:职称:2第2页共52页摘要温度控制是我们工业生产过程和日常生活中经常遇到的过程控制;在我们日常生活中,家里的饮水机、电风扇、空调、暖气开关、宿舍的热水系统无不需要用到自动温控系统。而要实现对多个温度系统的控制目前在市场上是很少的,单个的主机对各个温控的对象进行控制显得资源浪费,为了解决这个问题,实现一个主机对多个系统进行控制,本课题主要对实现了双通道的温度自动控制系统的说明。本设计主要是基于STC89C51单片机和DS18B20温度传感器的温度自动控制系统,并采用1602液晶屏作为温度显示模块,设计中充分利用单片机的管脚资源,实现两个通道的温度控制系统,独立键盘可以对正常温度的范围进行设定,还可选择工作的测温通道,控制模块主要是通过控制信号的输出实现对相关升降温器件进行开关控制,从而实现一个双通道的温控自动控制系统。设计中采用MCS-51单片机来对温度进行控制,是因为其具有控制方便、组态简单和灵活性大,集成度高,功能强,通用性好,特别是它具有体积小,重量轻,能耗低,价格便宜,可靠性好,抗干扰能力强和使用方便等方面的独特的优点;而且可以大幅度提高被控温度的技术指标。所以此装置不仅轻便、稳定,而且功能非常实用。本文从硬件电路的设计、软件设计两方面介绍了MCS-51单片机温度控制系统的设计思路,对硬件原理图和程序框图作了简单的描述,对设计的实现过程和调试过程也做了相应的说明。关键字:单片机;1602液晶屏;DS18b20;温度控制3第3页共52页AbstractTemperaturecontrolisourindustrialprocessesandfrequentlyencounteredineverydaylifeprocesscontrol;inourdailylife,homewaterdispenser,electricfans,airconditioning,heatingswitch,dormitoriesnotneedtouseahotwatersystemhasnoautomatictemperaturecontrolsystem.Inordertoachieveapluralityoftemperaturecontrolofthesystemcurrentlyonthemarketisverysmall,foreachindividualhostobjectstocontrolthetemperaturebecomeswasteofresources,andinordertosolvethisproblem,therealizationofasystemforcontrollingapluralityofhosttheprojectimplementsadual-channelautomatictemperaturecontrolsystem.ThisdesignisbasedmainlyonSTC89C51MCUandDS18B20temperaturesensorautomatictemperaturecontrolsystem,andtheuseof1602asatemperatureLCDdisplaymodule,designedtofullyutilizethemicrocontrollerpinresourcestoachievetwo-channeltemperaturecontrolsystemcanseparatekeyboardsettingthenormaltemperaturerange,temperaturemaychoosetoworkchannel,thecontrolmoduleisimplementedbyacontrolsignaloutputoftherelevantswitchingcontrolofheatingandcoolingdevices,inordertoachieveatwo-channelcontrolsystemforautomatictemperaturecontrol.DesignusedinMCS-51microcontrollertocontrolthetemperature,becauseofitseasytocontrol,configurationsimplicityandflexibility,highintegration,strongfunction,versatility,andinparticular,ithassmallsize,lightweight,consumptionislow,cheap,goodreliability,anti-interferenceabilityandeaseofuseoftheuniqueadvantages;controlledtemperatureandcangreatlyimprovethetechnicalspecifications.Sothisdeviceisnotonlylightweight,stable,andisverypractical.Thisarticlefromthehardwarecircuitdesign,softwaredesignintroducestwoMCS-51microcontrollertemperaturecontrolsystemdesign,hardwareschematicsandblockdiagrambrieflydescribed,therealizationofthedesignprocessandthedebuggingprocesshasmadethecorrespondinginstructions.Keywords:SCM;1602LCDscreen;DS18b20;temperaturecontrol4第4页共52页引言...........................................................61绪论........................................................61.1温度测量与控制技术的发展与现状........................................62设计任务....................................................73设计构思及理论..............................................83.1设计思路..............................................................83.2方案论证..............................................................93.2.1主机模块............................................................93.2.2显示模块............................................................93.2.3温度测量............................................................94系统电路的设计及原理说明...................................104.1电路系统说明.........................................................104.2电路设计说明.........................................................104.2.1单片机电路.........................................................114.2.2供电系统电路.......................................................114.2.3显示模块电路.......................................................124.2.4时钟电路...........................................................124.2.5复位电路...........................................................134.2.6按键电路...........................................................134.2.7报警电路...........................................................144.2.8控制电路...........................................................154.2.9保护电路...........................................................155关键元器件介绍.............................................165.1STC89C51单片机......................................................165.1.1单片机主要功能.....................................................165.1.251单片机常用管脚功能..............................................165.1.3单片机内部寄存器...................................................185.1.4常见的寄存器.......................................................195.2LCD1602液晶屏......................................................195.2.11602液晶屏的优点..................................................195.2.2管脚功能...........................................................205.2.3指令说明及时序.....................................................205.2.4地址映射及标准字库表...............................................225.3DS18b20温度传感器...................................................225.3.1DS18B20的简介.....................................................225.3.3DS18b20初始化操作流程.............................................235.3.4DS18B20与单片机的典型接口设计.....................................255.3.5数据采集电路的设计.............................................
本文标题:基于51单片机的温度自动控制系统实现步进电机控制设计—毕业设计论文
链接地址:https://www.777doc.com/doc-2604656 .html