欢迎来到天天文库
浏览记录
ID:12594613
大小:413.50 KB
页数:135页
时间:2018-07-18
《基于usb接口的can总线网络监控系统设计》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、南京理工大学硕士学位论文基于USB接口的CAN总线网络监控系统设计姓名:杜建峰申请学位级别:硕士专业:控制理论与控制工程指导教师:徐志良;彭富明20090530硕士论文基于USB接口的CAN总线网络监控系统设计摘要CAN总线通信网络自上世纪八十年代由德国Bosch公司开发出来以后,经过二十几年的迅速发展,以其独特的设计和极高的可靠性,在汽车应用领域中占据了主导地位。然而,CAN总线标准协议只规范了数据链路层和物理层,没有具体制定应用层,造成了各大汽车制造厂商使用的应用层协议各不相同,导致了检测CAN总线网
2、络中数据的工作不易展开,从而无法很好地对网络进行监控。本课题就是在此背景下,设计开发了CAN总线网络通用的测试监控系统。该系统采集并分析CAN总线上节点所发送的信息,监视节点的工作状况,同时发送指令至总线,控制节点运作。为实现该测试监控系统,本文作了以下工作:(1)在深入研究CAN总线协议的基础上,给出了CAN总线网络监控系统的系统结构,详细阐述了系统软、硬件设计与开发过程。(2)与上位机通信采用USB通信方式,利用内部集成CAN控制器的MC9S12DJ64和符合USB2.0规范的CY7C68013A,设
3、计了USB.CAN转换器硬件电路,包括CAN接口电路模块、USB接口电路模块和AD采样模块。(3)结合专用开发环境给出了CAN通信和USB设备端通信的固件开发流程和程序结构,设计了专门针对系统的USB设备驱动程序。(4)在上位机开发了可视化监控软件平台,利用PASSATB5CAN总线舒适系统实验平台,对系统进行测试和功能验证。关键词:CAN总线,USB,固件,驱动,实时监控,测试Abstract硕士论文AbstractSinceitsdevelopmentbyBoschCorporationofGerma
4、nyduring1980s,CANBuscommunicationnetworkhasoccupiedadominantpositionintheareaofautomobileapplicationwithitshighreliabilityanduniquedesignafter20yearsdevelopment.However,thestandardprotocolofCANBusonlyprovidesregulationsonthedatalinklayerandphysicallayerin
5、steadofapplicationlayer.Therefore,thereisgreatdisagreementontheapplicationlayerprotocolamongdifferentautomobilemanufacturers,itleadstoaconsiderablyunsatisfactorysupervisiononthenetworkduetodifficultiesinvolvedininspectingdatawithintheCANBuscommunicationne
6、twork.Inviewoftheaforementionedbackground.thispapertriestodesignageneraltesting&monitoringsystemfortheCANBusNetworkwhichanalyzesinformationcollectedfromthenodesontheCANBus,aswellassupervisingtheperformanceofthenodes.Inthemeantime,thesystemsendsbackinstruc
7、tionstotheBusinordertotakecontrolovertheperformanceofthenodes.Thepaperhasconductedworkasfollowstorealizetheapplicationofthissystem:(1)Structureofthetesting&monitoringsystemfortheCANBusNetworkisoutlinedafterprofoundresearchontheprotocolofCANBus,谢tlldetaile
8、delaborationonthedesignanddevelopmentofboththehardwareandsoftwareinthesystem.(2)ThistaskadoptsUSBinterfacetorealizethecommunication嘶tllcomputers.WiththehelpofMC9S12DJ64,whichintegratesCANcontroller,andCY7C68013A,whi
此文档下载收益归作者所有