基于PID的温度控制系统设计

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

TheshortestwaytodomanythingsistoonlyonethingatatimeandAllthingsintheirbeingaregoodforsomethingandSufferingisthemostpowerfulteacheroflife(2014届)毕业设计题  目:   基于PID的温度控制系统设计 学  院:     ********      专  业:     电气工程及其自动化    班  级:     电气***       学  号:     **********      姓  名:     某某某      指导教师:     某某某       教 务 处 制  年 月 日TheshortestwaytodomanythingsistoonlyonethingatatimeandAllthingsintheirbeingaregoodforsomethingandSufferingisthemostpowerfulteacheroflifeTheshortestwaytodomanythingsistoonlyonethingatatimeandAllthingsintheirbeingaregoodforsomethingandSufferingisthemostpowerfulteacheroflife诚信声明我声明,所呈交的论文是本人在老师指导下进行的研究工作及取得的研究成果。据我查证,除了文中特别加以标注和致谢的地方外,论文中不包含其他人已经发表或撰写过的研究成果,也不包含为获得______或其他教育机构的学位或证书而使用过的材料。我承诺,论文中的所有内容均真实、可信。论文作者签名:签名日期:年月日TheshortestwaytodomanythingsistoonlyonethingatatimeandAllthingsintheirbeingaregoodforsomethingandSufferingisthemostpowerfulteacheroflifeI授权声明学校有权保留送论文交的原件,允许论文被查阅和借阅,学校可以公布论文的全部或部分内容,可以影印、缩印或其他复制手段保存论文,学校必须严格按照授权对论文进行处理,不得超越授权对论文进行任意处置。论文作者签名:签名日期:年月日TheshortestwaytodomanythingsistoonlyonethingatatimeandAllthingsintheirbeingaregoodforsomethingandSufferingisthemostpowerfulteacheroflifeII基于PID的温度控制系统设计摘要温度是工业上最基本的参数,与人们的生活紧密相关,实时测量温度在工业生产中越来越受到重视,离不开温度测量所带来的好处,因此研究控制和测量温度具有及其重要的意义。本设计介绍了以AT89C52单片机为主控器件,基于PID的温度控制系统的设计方案和设计的基本原理。由DS18B20收集温度信号,并以数字信号的方式送给单片机进行处理,从而达到温度控制的目标。主要包括硬件电路的设计和系统程序的设计。硬件电路由主控器件、温测电路、温控电路和显示电路等组成。软件设计部分包括:显示电路、温度信号处理,超温警报、继电器控制、按键处理等程序。关键词:温度检测,温度控制,PID算法TheshortestwaytodomanythingsistoonlyonethingatatimeandAllthingsintheirbeingaregoodforsomethingandSufferingisthemostpowerfulteacheroflifeIIIDesignofTemperatureControlSystemBasedonPIDAbstractTemperatureisthemostbasicparametersofindustrialandcloselyrelatedwithpeople'slives,real-timemeasurementoftemperatureinindustrialproductionandmoreattention,whichisinseparablefromthebenefitsofthetemperaturemeasurement,temperaturecontrolandmeasurementstudythereforehasitssignificance.ThisdesignintroducesthebasicprinciplestoAT89C52microcontroller-basedcontrollerpiecestemperaturecontrolsystemdesignanddesign.CollectedbytheDS18B20temperaturesignal,anddigitalsignalsentbywayofthemicrocontrollerforprocessing,soastoachievethetargettemperaturecontrol.Includingthedesignofhardwarecircuitdesignandsystemprograms.Hardwarecircuitincludesamasterdevice,thetemperaturemeasuringcircuit,temperaturecontrolcircuitanddisplaycircuit.Softwaredesign,including:displayelectrical,temperature,signalprocessing,over-temperaturealarm,relaycontrol,keyhandlingprocedures.Keywords:temperaturedetection,temperaturecontrol,PIDalgorithmTheshortestwaytodomanythingsistoonlyonethingatatimeandAllthingsintheirbeingaregoodforsomethingandSufferingisthemostpowerfulteacheroflifeIV目录摘要..........................................................................................................................IIIAbstract........................................................................................................................IV1绪论.............................................................................................................................11.1课题的来源.....................................................................................................11.2课题的意义.....................................................................................................11.3课题研究的主要内容.....................................................................................12硬件设计.....................................................................................................................32.1单片机控制模块的设计.................................................................................32.1.1AT89C52单片机简介..........................................................................32.1.2单片机的引脚功能..............................................................................42.1.3单片机控制模块的电路设计..............................................................52.1.4电源设计..............................................................................................62.2温度采集模块的设计.....................................................................................72.2.1DS18B20芯片的简介..........................................................................72.2.2DS18B20的内部结构..........................................................................82.2.3DS18B20的供电方式........................................................................102.2.4DS18B20的引脚功能........................................................................102.3温度控制模块的设计...................................................................................112.4按键及显示模块的设计...............................................................................122.4.1LCD1602的参数和引脚功能............................................................122.4.2LCD1602的特点................................................................................132.4.3按键电路的设计................................................................................132.5报警模块的设计...........................................................................................143软件设计.............

1 / 46
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功