您好,欢迎访问三七文档
当前位置:首页 > 行业资料 > 交通运输 > 基于单片机AT89S52的水温控制系统
基于单片机AT89S52的水温控制系统I毕业设计(论文)报告课题名称:基于单片机AT89S52的水温控制系统摘要温度是工业控制对象主要被控参数之一,在温度控制中,由于受到温度被控对象特性(如惯性大、滞后大、非线性等)的影响,使得控制性能难以提高,有些工艺过程其温度控制好坏直接影响着产品的质量,因而设计一种较为理想的温度控制系统是非常有价值的。本设计介绍了以AT89S52单片机为核心的温度控制系统的工作原理和设计方法。温度信号由线性度较好的电流型温度传感器AD590采集,经过电流-电压转换及放大电路后将信号输入模数转换器ADS7818P转换为数字信号,最后传送给单片机,并通过可控硅的通断控制加热装置的平均功率。文中介绍了该控制系统的硬件部分,包括:温度采集电路、信号变换电路,温度控制电路,温度显示电路。单片机通过对信号进行相应处理,从而实现温度控制的目的。文中还介绍了软件设计部分,在这里采用模块化结构,主要模块有:数码管显示程序、键盘扫描及按键处理程序、温度信号处理程序和PWM控制程序。实验结果表明该系统可实现对温度的测量,并能根据设定值对温度进行调节,实现控温的目的。关键字:AT89S52,水温控制,可控硅,M0C3041基于单片机AT89S52的水温控制系统IIAbstractThetemperatureisoneofthemainlychargedparameterswhichareindustrialcontroltargets.Itisdifficulttoenhancethecontrolperformanceduetothecharacteristicsofthetemperaturechargedobject.Suchasinertia,hysteresisandnon-linear,etc…Itstemperaturecontrolprocesswillhaveadirectimpactonthequalityoftheproductinsometechnologicalprocess.Thereforeitisabsolutevaluabletodesignanidealtemperaturecontrolsystem.Thepaperintroducesthetheoryandthedesignmethodoftemperaturecontrolsystem,thesystematiccoreofwhichisAT89S52.ThetemperaturecanbegatheredbythetemperaturetransducerAD590withagoodlinearizationandthenthesignalsshouldbeturnedthroughtheCurrent-VoltagecircuitandfinallythesignalshouldbesenttoADS7818Ptobechangedfromanalogsignalstodigitalsignalsandthentothesinglechipandcontroltheaveragepoweroftheheaterthroughcontrolledsilicon’sbreakover.Thepaperintroducesthehardareofthecontrolsystem.Itshardwarecircuitincludestemperaturegathering,signalconvert,temperaturecontrol,temperaturedisplay,andkeyboardinput.Thesinglechipcancontrolthetemperaturebydealingwiththesignalsproperly.Thepaperalsointroducesthesoftwareofthedesign.Themainproceduresaredesignedwiththemodularizestructure,whichiseasytorealize.Themainproceduresinclude:nixietubedisplayprocedure,keyboardscanprocedure,key-pressprocessingprocedure,temperaturesignalsprocessingprocedureandPWMcontrolprocedure.Theresultsdemonstratethatthesystemcanrealizetosurveythewatertemperature,anditcanadjustthetemperatureaccordingtothesettingvalue.KeyWords:AT89S52,Temperaturecontrol,Controlledsilicon,M0C3041基于单片机AT89S52的水温控制系统III目录摘要............................................................IAbstract............................................................II目录...........................................................III第一章引言......................................................11.1水温控制系统概述..............................................11.2水温控制系统设计任务与要求....................................1第二章水温控制系统基本设计方案....................................22.1水温控制系统总体方框图........................................22.2水温控制系统方案论证..........................................22.2.1控制器模块设计方案................................................32.2.2加热装置模块设计方案..............................................32.2.3温度采集模块设计方案..............................................32.2.4键盘与显示模块设计方案............................................3第三章水温控制系统硬件电路设计....................................43.1温度采集部分..................................................43.1.1温度传感器AD590简介..............................................43.1.2AD590的工作原理..................................................53.2信号转换部分..................................................63.2.1电流-电压转换及放大电路...........................................63.2.2模/数转换电路.....................................................73.3单片机控制部分................................................83.3.1单片机时钟电路....................................................83.3.2单片机复位电路....................................................93.3.3单片机键盘与显示电路..............................................93.4电源电路部分.................................................103.5执行部分电路.................................................11第四章水温控制系统软件电路设计...................................124.1软件设计总体框图.............................................124.2主程序流程图.................................................124.3数据采集转换程序设计.........................................134.4键盘与显示程序设计...........................................14基于单片机AT89S52的水温控制系统IV4.5光耦可控硅控制程序设计.......................................15第五章系统的调试与结果分析.......................................165.1AD590测温电路调试...........................................165.2摄氏温度电路调试.............................................165.2.1摄氏温度电路调试方法.............................................165.2.2摄氏温度电路部分误差分析.........................................175.3控制电路的调试...............................................175.3.1控制电路调试方法.................................................175.3.2控制电路调试过程应注意的问题.....................................185.4测试结果及分析...............................................185.5设计过程中遇到的问题及解决方法...............................19总结...........................................................20谢辞...........................................................21参考文献...........................................................22附录...........................................................23附录1:水温控制系统各模块程序...................................23附录2:系统电路图................................错误!未定义书签。附录3:系统实物图.......................
本文标题:基于单片机AT89S52的水温控制系统
链接地址:https://www.777doc.com/doc-5369364 .html