单片机温度控制系统论文.doc
上传人:sy****28 上传时间:2024-09-12 格式:DOC 页数:23 大小:139KB 金币:16 举报 版权申诉
预览加载中,请您耐心等待几秒...

单片机温度控制系统论文.doc

单片机温度控制系统论文.doc

预览

免费试读已结束,剩余 13 页请下载文档后查看

16 金币

下载此文档

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

青岛农业大学海都学院本科生毕业论文(设计)题目:单片机温度控制系统设计姓名:温纪庆系别:工程系专业:电气工程及其自动化班级:专升本2011.3学号:2011701040指导教师:吕新丽2013年6月18日单片机温度控制系统设计摘要温度是工业对象中主要的被控参数之一。特别是在化工、冶金、机械、食品等各类工业中,人们都需要对各种加热炉、热处理器和锅炉中的温度进行检测和控制。由于工艺不同,所需要的温度高低也不尽相同,因而所采用的测温元件和测温方法也不同。当今,单片机的技术已经非常成熟了,它集成度高、功能强、存储量大、速度快、抗干扰性强和指令丰富等的优点,使它的应用遍及各个领域。本文设计的系统就是单片机应用于温度控制的一个例子。本系统是一种高精度、测控速度快、自我闭环控制、测控温度范围广的应用性比较强的基于单片机的温度测控系统。本设计以AT89S52单片机为核心的温度控制系统的工作原理和设计方法。温度信号由温度芯片DS18B20采集,并以数字信号的方式传送给单片机。文中介绍了该控制系统的硬件部分,包括:温度检测电路、温度控制电路、温度显示电路、报警电路和一些接口电路。单片机通过对信号进行相应处理,从而实现温度控制的目的。文中还着重介绍了软件设计部分,在这里采用模块化结构,主要模块有:LCD1602显示程序、键盘扫描及按键处理程序、温度信号处理程序、单片机内部运算比较程序、超温报警程序。关键词:AT89S52单片机、温度采集模块DS18B20、液晶显示LCD1602。SinglechipmicrocomputertemperaturecontrolsystemdesignAbstractTemperatureisoneofthemainaccusedparametersinindustrialobject.Especiallyinthechemicalindustry,metallurgy,machinery,foodandotherkindsofindustry,peopleneedtoallkindsofheatingfurnace,hotprocessorandtemperaturedetectionandcontroloftheboiler.Becausetheprocessisdifferent,therequiredtemperatureisdifferent,soadoptedbythetemperaturemeasuringelementandtemperaturemeasuringmethodisdifferentalso.Today,microcontrollertechnologyhasverymature,itishighintegration,strongfunctions,largestorage,highspeed,stronganti-interferenceadvantagesofabundantandinstructions,etc.,makeitsapplicationinvariousfields.Inthispaper,designofsystemisanexampleofMCUisappliedtotemperaturecontrol.Thissystemisakindofhighprecision,fastmeasurementandclosed-loopcontrol,measurementandcontroltemperaturerangeoftheappliedstrongerbasedonsinglechipmicrocomputertemperaturemeasurementandcontrolsystem.AT89S52single-chipmicrocomputerasthecoreofthedesignprincipleanddesignmethodoftemperaturecontrolsystem.BytemperaturechipDS18B20temperaturesignalacquisitionanddigitalsignaltransmittedtothemicrocontroller.Thispaperintroducesthehardwarepartofthecontrolsystem,including:temperaturedetectioncircuit,temperaturecontrolcircuit,displaycircuit,alarmcircuitandsomeinterfacecircuit.SCMthroughthesignalispro