如果您无法下载资料,请参考说明:
1、部分资料下载需要金币,请确保您的账户上有足够的金币
2、已购买过的文档,再次下载不重复扣费
3、资料包下载后请先用软件解压,在使用对应软件打开
合肥师范学院2015届本科毕业论文(设计)PAGE\*MERGEFORMAT37合肥师范学院2015届本科毕业论文(设计)摘要随着微机测量和控制技术的迅速发展与广泛应用,以单片机为核心的温度采集与控制系统的研发与应用在很大程度上提高了生产生活中对温度的控制水平。本论文介绍了基于单片机的温度控制直流电机转速的基本方法,直流电机调速的相关知识以及PWM调速的基本原理和实现方法。重点介绍了基于MCS-52单片机的用软件产生PWM信号以及温度和电机转速的显示方法。对于直流电机速度控制系统的实现提供了一种有效的途径。本设计论述了一种以两个STC89C52单片机通信为主控制单元,以DS18B20为温度传感器,以软件和L298N芯片实现PWM直流电机调速的温度控制系统。该控制系统可以实时存储相关的温度数据,并显示在LCD液晶屏上。系统设计了相关的硬件电路和相关应用程序。硬件电路主要包括STC89C52单片机最小系统,测温电路、直流电机驱动电路、LCD液晶显示电路以及双机通讯模块电路等。系统程序主要包括主程序,读出温度子程序,计算温度子程序、按键处理程序、LCD、LED显示程序以及直流电机PWM程序等。关键词:STC89C52;DS18B20;PWM;L298;显示电路AbstractWiththerapiddevelopmentandwideapplicationofcomputermeasurementandcontroltechnology,developmentandapplicationoftemperatureacquisitionandcontrolsystembasedonMCUtoimprovethecontrollevelofthetemperatureintheproductionandlifetoalargeextent.ThispaperalsointroducesthebasicmethodofDCmotorspeedcontrolbasedonsinglechipmicrocomputer,theDCmotorspeedrelatedknowledgeaswellasthebasicprinciplesandimplementationmethodsofPWMspeedcontrol.MainlyintroducedthedisplaymethodofMCS-52MCUsoftwareproducedbythePWMsignalandthetemperatureandmotorspeedbasedon.ProvidesaneffectivewayfortherealizationofDCmotorspeedcontrolsystem.ThedesignoftwoSTC89C52singlechipasthemaincontrolunit,usingDS18B20asthetemperaturesensor,thetemperaturecontrolsystemofDCmotorspeedcontrolbysoftwareandL298NchipPWM.Thecontrolsystemcanreal-timestoragetemperaturedata,anddisplayedontheLCDscreen.Thesystemdesignoftherelatedhardwarecircuitandrelatedapplications.ThehardwarecircuitmainlyincludestheSTC89C52MCUminimumsystem,temperaturemeasurementcircuit,DCmotordrivecircuit,LCDdisplaycircuit,doublecommunicationcircuit.Thesystemprogrammainlyincludesthemainprogram,readthetemperaturesubroutine,thecalculationoftemperaturesubroutine,keyprocessingprogram,LCD,LEDdisplayprogramandtheDCmotorPWMprogram.KeyWords:STC89C52;DS18B20;PWM;L298;displaycircuit目录TOC\o"1-3"\h\uHYPERLINK\l"_Toc418626449"摘要PAGEREF_Toc418626449\hIHYPERLINK\l"_Toc418626450"AbstractPAGEREF_Toc418626450\hIIHYPERL