资源描述:
《CAN数据采集器设计【毕业论文】》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、本科毕业设计(20届)CAN数据采集器设计摘要现场总线是自动化领域的计算机网络,是当今自动化领域技术发展的热点之一。它以总线为纽带,将现场设备连接起来成为一个能够相互交换信息的控制网络,是一种双向串行多节点数字通信的系统。CAN总线作为现场总线的一种,它最初被应用于汽车的控制系统中。因其卓越的性能,CAN总线的应用范围已不再局限于汽车工业,被广泛应用到自动控制、楼宇自动化、医学设备等各个领域。本课题研究CAN总线数据采集器,采用模块化结构,主要对数据采集模块和CAN总线通信模块提出了软硬件的设计方案。研究的数据采集器成功应用CAN控制
2、系统,系统运行平稳,很好地完成了对温度、模拟电压和数字信号的采集与传输任务,并通过CAN总线与人机接口相连,实现了人机互动。利用单片机完成对数据的处理及其它控制功能,实现了系统的数字化;利用LCD完成显示,实现了操作界面的可视化;通过键盘实现测量范围的设定,提高了系统的通用性;系统采用CAN总线完成数据的传输,实现了系统的开放化与网络化。增强了系统的可靠性、稳定性以及抗干扰能力,保证了装置的安全运行。关键词:CAN总线;数据采集器AbstractFieldbusisacomputernetworkautomation,automati
3、ontechnologyiscurrentlyoneofthehotspots.Ittothebusasalinkconnectingthefielddevicestoexchangeinformationasacontrolnetworkisabi-directionalserialmulti-nodedigitalcommunicationsystem.CANfieldbusisabus,whichwasoriginallyusedinautomotivecontrolsystems.Becauseofitssuperiorper
4、formance,CANbus,thescopeofapplicationisnolongerconfinedtotheautomotiveindustry,hasbeenwidelyappliedtoautomaticcontrol,buildingautomation,medicalequipment,andotherfields.BasedontheCANBusdataacquisitionintheoveralldesign,usingamodulardesign,themaindataacquisitionmoduleand
5、CANbuscommunicationmodulehardwareandsoftwaredesignanddevelopment.ResearchinthispaperthesuccessfulapplicationofdataacquisitionCANcontrolsystem,thesystemrunssmoothly,welldoneonthepressure,temperatureandliquidlevelsignalacquisitionandtransfertasks,andhuman-machineinterface
6、throughtheCANbusisconnected,wellimplementedhuman-computerinteraction.UsingMCUtocompletethedataprocessingandothercontrolfunctionstorealizethedigitalsystem;useofLCDdisplaystocompleteandrealizethevisualinterface;measurementrangerealizedbysettingthekeyboardtoimprovetheversa
7、tilityofthesystem;systemusesCANbusfordatatransmission,toachievetheopeningofthesystemandnetwork.Enhancedsystemreliability,stabilityandanti-jammingcapabilityandensurethesafeoperationofthedevice.KeyWords:CANBus;DataAcquisition目录1引言11.1研究背景11.2研究内容12 系统整体方案32.1系统功能及要求32.2系统
8、方案和整体结构33硬件设计43.1微处理器43.1.1时钟电路43.1.2复位电路53.2数据采集模块53.2.1温度采集模块53.2.2模拟电压模块63.2.2数字信号采集电路73.2CAN通信模块83.2.1CAN控