预览加载中,请您耐心等待几秒...
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

亲,该文档总共99页,到这已经超出免费预览范围,如果喜欢就直接下载吧~

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

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

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

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

题目:基于CAN总线的远程数据采集系统--下位机部分内蒙古科技大学毕业设计说明书(毕业论文)基于CAN总线的远程数据采集系统--下位机部分摘要CAN总线作为一种有效支持分布式控制和实时控制的技术,以其稳定性好、可靠性高、抗干扰能力强、通讯速率高、维护成本低及其独特的设计越来越受到人们的重视,并被公认为是最有前途的现场总线之一。基于CAN总线的远程数据采集系统分为上位机、CAN总线和下位机三个部分。上位机建立友好的人机交互界面;CAN总线采用总线型拓扑结构,通信电缆采用双绞线;下位机部分是两个传感器节点。本论文重点介绍了下位机传感器节点的设计。首先介绍了系统总体设计方案,然后对温度传感器节点使用的K型热电偶、温度传感器AD590和压力传感器节点使用的MPX53DP做简要介绍,并分析设计放大电路;接着介绍单片机AT89C52及其附属电路,特别对键盘做了重点分析介绍;分析软件算法,使用C51语言编程;最后介绍系统调试。本设计实现了下位机对现场温度信号和压力信号的采集,通过键盘在线更改测量范围、报警值等参数。关键词:CAN总线;数据采集;下位机;AT89C52单片机TheLong-distanceDataCollectionBasedonCANBus--TheLowerComputerAbstractCANbustechnology,whichefficientlysupportsdistributedreal-timewithaveryhighlevelofsecurity,attractattentionwithaveryhighlevelofcapability.CANbushassomeadvantagessuchashighlevelofsecurity,stronganti-interference,highcommunicationspeedandlowofmaintenancecost.Itisaparticulardesign,anditisregardedafield-buswithexpansibility.Thelong-distancedatacollectionbasedonCANbusisdividedintothreeparts:uppercomputerandCANbusandlowercomputer.TheuppercomputerisestablishedfriendlyHuman-MachineInterface.CANbususesbustopologystructure,anduseUTPcablecommunications.Thelowercomputerusestwosensornodes.Thispaper’semphasisistointroducethedesignofthelowercomputersensornode.Thisdesignfirstlyintroducedthesystemoverallprojectdesign.ItintroducedbrieflytheK-thermocouplewhichusestemperaturesensornode,andtheMPX53DPwhichusestemperaturesensorAD590andpressuresensornode.Itanalyzedthedesignenlargementelectriccircuit.ItalsointroducedAT89C52MCUanditssubsidiarycircuit,especiallyfocusedonanalyzingthekeyboard.Thenitanalyzedsoftwarealgorithm,andusedtheC51languageforitsprogramming.Itintroducedthesystemdebuggingfinally.Thisdesignhasrealizedthelowercomputertothescenetemperaturesignalandpressuresignalcollection;throughthekeyboarditcanchangeonlinemeasurementrangeandalarmsandsoon.Keywords:CANbus;datacollection;lowercomputer;AT89C52MCU目录TOC\o"1-3"\h\z\uHYPERLINK\l"_Toc170212683"摘要PAGEREF_Toc170212683\hIHYPERLINK\l"_Toc170212684"AbstractPAGEREF_Toc17