节点文献

便携式车辆CAN分析仪设计

Design of Portable Vehicle CAN Bus Analyzer

【作者】 杨亚克

【导师】 卢珞先;

【作者基本信息】 武汉理工大学 , 通信与信息系统, 2008, 硕士

【摘要】 随着汽车工业的发展,CAN总线技术在车载网络中得到越来越广泛的应用,它已经成为车辆局域网的国际标准。SAEJ1939协议目前汽车电子网络中应用最广泛的应用层协议之一,它是基于CAN协议的一种高层协议。国外的汽车ECU产品大都带有J1939通信接口,国内汽车电子厂商也在积极开发符合J1939协议标准的ECU产品。在开发、调试以及维护J1939网络产品时对整车网络和ECU部件进行协议分析、故障诊断和总线监测更显得尤为重要。因此需要一种基于SAE J1939协议的CAN分析仪来实现这些功能,完成对车辆CAN总线网络上的数据含义、错误状态、网络负载和高层协议等进行分析和处理。本文首先对国内外CAN总线分析仪的研究现状做了分析,然后阐述了本文的主要工作和结构,结合国内外同类产品的设计思想、设计特点及技术经验,对便携式CAN分析仪的研究与设计进行了讨论。主要从以下几个方面进行了论述:首先,硬件设计以S3C2410核心板为基础,进行了LCD、触摸屏、CAN通信等模块的电路设计,使系统能满足便携、稳定的需求;系统软件设计方面移植uC/OS-Ⅱ多任务实时操作系统,比传统的前后台系统反应迅速,多任务的调度可以实现更复杂的系统;移植了专为嵌入式应用软件设计的通用图形软件库uC/GUI,它简洁高效,并且提供了丰富的图形开发接口,使得开发复杂、功能强大图形界面变得更为方便;并且进行了LCD驱动、CAN驱动以及触摸屏驱动的开发,为上层CAN分析功能软件的开发提供基础和软件接口;进行了基于SAEJ1939协议的车辆CAN网络分析,本设计目前主要完成了车辆发动机各个模块的分析,并用uC/GUI设计了支持触摸屏操作的界面来显示用户所查询模块的分析数据和分析结果;最后,对便携式车辆CAN分析仪进行了总结,指出该设计的优缺点,并对未来所需要做的工作提出展望。本设计支持SAE J1939高层协议,使得CAN分析仪分析结果更加有针对性;对车辆CAN网络数据的分析处理、结果显示均在嵌入式系统完成,通过数据和图表形式展现给用户,直观明了;而且系统支持触摸屏操作,使用方便。

【Abstract】 With the development of the automobile industry, CAN bus technology in the automotive network has been widely used increasingly and it has become the international standard of vehicle local area network. SAE J1939 protocol is one of most widely used application layer protocol in automotive electronic network at present and it’s also a higher layer protocol based on CAN bus. At present,most of foreign vehicle ECU products have J1939 communication interface and electronics manufacturers are actively developing ECU products with J1939 protocol in domestic market. In the development of the CAN bus and vehicles fault diagnosis, the developers need a CAN bus analyzer to this powerful tool for CAN network monitoring, maintenance and analysis.This paper firstly introduced the development status of CAN bus analyzer at home and abroad,then described the main work and structure of this paper. This system researched and analysised the portable CAN bus analyzer combining with the design idea、design features and design experience of similar products. This paper mainly focusesed on the follow aspects as below: first, the hardware platform was based on ARM9 S3C2410 and supported the LCD, touch screen, CAN communications module. The system can afford the portable, stable demand. Transplanted uC/OS-II real-time multi-tasking operating system as the System software. It has higher real-time character than the tranditional foreground/background system and multi-task scheduling ability can provide the requirement of complex system in high standard; then transplanted embedded graphic users interface-uC/GUI. It’s effective, reliable and expandable and provide a wealth of graphical development interface. Based on the features of uC/GUI, developers can develop complex, powerful graphical interface more convenient. Developed the LCD driver, CAN bus driver and touch screen driver, and provide the physical layer interface function for the development of application software. Analysised vehicles CAN network based on the SAE J1939 protocol, and designed the interface for user to query the required analysis of data and analysis results with the operation of touch screen. At last, it summarized the development process of CAN bus analyzer and indicated the advantages and disadvantages of the system, then expected the work to do in the prospects.This design supported the heigher protocol SAE J1939,and made the analysis results have more pertinence. The analysis and treatment to vehicle network data have been completed in the embedded system. The result was simple and clear being displayed to user as data and graphs. The system also supported touch screen operation and was easy to use.

【关键词】 uC/OS-IIuC/GUICAN触摸屏SAE J1939
【Key words】 uC/OS-IIuC/GUICANTouch ScreenSAE J1939
  • 【分类号】TP274
  • 【被引频次】6
  • 【下载频次】318
节点文献中: 

本文链接的文献网络图示:

本文的引文网络