资源描述:
《基于单片机的多点采集系统设计大学论文.doc》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、中北大学2013届毕业设计说明书基于单片机的多点采集系统设计摘要随着现代信息技术的飞速发展,多点采集系统在工业、农业及人们的日常生活中扮演着一个越来越重要的角色,它对人们的生活具有很大的影响,所以多点采集系统的设计与研究有十分重要的意义。本文介绍了一种以单片机为微处理器的多点温度数据采集系统,该设计以AT89S51单片机作为系统核心,采用K型热电偶作为温度传感器,运用MAX6675芯片对热电偶输出的模拟信号进行处理并将处理结果输送给单片机。单片机实现三路温度数据的实时采集与显示。该设计包含了温度超限报警部分,报警系统采用声光报警设计。运用按键
2、设计实现了良好的人机交互环境,提高了系统的实用效率。该设计包含了串口通信部分,详细介绍了串口通信协议以及MAX232芯片的应用。通过上位机的设计实现了远距离的实时采集,克服了采集现场分散不利于实时监测的缺点。良好的上位机交互界面能够方便操作人员轻松高效完成任务。本文详细介绍了该采集系统的硬件设计部分和软件设计部分,包括:温度检测电路温度显示电路、报警电路、串口通信电路、下位机程序编写与调试、上位机程序编写与调试。文中着重介绍了软件设计部分,在这里采用模块化结构,主要模块有:数码管显示程序、温度信号处理程序、超温报警程序、数据发送接收程序。关键
3、词:AT89S51,数据采集,热电偶,串口通信第55页共49页中北大学2013届毕业设计说明书MultipointcollectionsystemdesignbasedonMCUAbstractWiththerapiddevelopmentofmoderninformationtechnology,MultipointcollectingsysteminindustryandagricultureandPeople'sDailylifeplayanincreasinglyimportantrole,Ithasagreatinfluenceon
4、people'slives,Sothedesignofthemultipointcollectingsystemandtheresearchhasveryimportantsignificance.Inthispaper,asingle-chipmicrocomputerasthemulti-pointtemperaturedataacquisitionsystemofthemicroprocessor,WithAT89S51asthecoresystemforthedesign,UsingtypeKthermocoupleasthetemp
5、eraturesensor,UsingMAX6675chiptothethermocoupleoutputanalogsignalprocessingandsendtheresultstothesinglechipmicrocomputer.Themonolithicintegratedcircuittorealizethreetemperaturedatareal-timeacquisitionanddisplay.Thedesigncontainstemperatureoverrunalarmpart,Alarmwithsoundandl
6、ightalarmsystemdesign.Usebuttonsdesigncanachieveagoodhuman-computerinteractionenvironment,improvethepracticalefficiencyofcommunicationprotocolisintroduced,andtheapplicationofMAX232chip,Throughtheuppermachinedesignhasrealizedthelong-distancereal-timeacquisition,overcomesthed
7、rawbackofgatheringfielddispersionisnotconducivetoreal-timemonitoring.GoodPCinterfacecanconvenientoperationpersonneleasyandefficientcompletedthetask.Thispaperintroducesindetailthehardwaredesignandsoftwaredesignofacquisitionsystem,including:temperaturedetectioncircuit,display
8、circuit,alarmcircuit,serialcommunicationcircuitandlowerplacemachineprogrammingandd