节点文献

基于SAE J1939协议的商用车信息控制单元设计

Design of Information Control Unit in Commercial Vehicle Based on SAE J1939 Protocol

【作者】 陶侃

【导师】 高世伦;

【作者基本信息】 华中科技大学 , 动力机械及工程, 2008, 硕士

【摘要】 目前,CAN总线以其高稳定信,抗干扰能力强,通讯速度快而在汽车上得到广泛应用,在国外传统的仪表早已被基于CAN总线的信息系统所代替。在商用车上,CAN总线的高层协议J1939更是已经几乎成为国际上通用的标准。本文首先对近年来车身控制网络和总线的发展进行了介绍和分析,在此基础上,通过分层实现的方式分别编写了J1939通讯协议的数据链路层、应用层、诊断层、以及网络管理层的实现程序代码,其中数据链路层的实现是整个协议实现的基础,也是本次开发工作的难点。本次设计硬件使用的微控制器是LPC2294,并借助于LCD、步进电机等外部器件以及A/D模块、I/O、CAN控制器等片上外设来实现商用车信息控制单元与驾驶员的交互。整个商用车信息控制单元设计工作主要包括硬件设计以及各部分软件的编写。本文试图通过一种模块化和层次化的设计思想来设计商用车整车信息控制单元和完成J1939协议的开发,并增强代码的可移植性,使控制单元应用程序符合汽车开放系统架构AUTOSAR。由于国内对此的研究还比较少,本文只是作了一种有益的架构上的尝试。在研究了嵌入式实时操作系统μC/OS-Ⅱ的实时软件特点的基础上,将其移植到LPC2294上,修改μC/OS-Ⅱ内核的部分功能使之符合OSEK/VDX规范,并完成了所有对应于AUTOSAR架构的器抽象层和硬件抽象层开发,所有应用程序的实现均使用RTE的服务。测试证明,本文开发的J1939协议和控制单元可行,能够实现各种预期功能。

【Abstract】 At present, CAN bus is very widely used because of its very high level of stability and a good capability of anti-jamming and a fast communication speed. With rapid-developing of fieldbus techology, the traditional vehicle instrument has been replaced by the information system based on CAN bus abroad. The high layer protocol J1939 even become the communication internationnal standard.Firstly, this thesis gives an introduction to the development of control networks on vehicle body and buses in recent years. Base on mentioned above, and by the means of dividing the software into layers, I write the procedure of J1939 protocal respectively consist of datalink layer, application layer, diagnostic layer and network management layer.The datalink layer is the base of the whole software and it is also the difficulty of the task. The MCU of the system is a 32-bit micro-controller LPC2294, and by the help of working outside chip component like LCD, walking motor and onchip modules like A/D, I/O, CAN controller, it is able to communicate with driver. The thesis attempts to comlete both of the design of the task and actualizing of J1939 protocol through using a blocking and delaminating idea so that the code must be transplantable and try to make all the procedure compare to the AUTOSAR architecture. Because the domestic research on AUTOSAR is few, so the thesis just makes a beneficial sampling on frame.Base on research of the operation characteristic of the embedded real-time OSμC/OSⅡ, transplantμC/OSⅡto LPC2294, then improve and expand some functions ofμC/OSⅡkernel according to the definition of OSEK OS. I have completed developing the microcontroller layer and ECU abstraction layer of all the modules and have written every application procedure using the RTE services. The test proves that the J1939 protocol which has been developed and the control unit is feasible and can satisfy the anticipative function.

  • 【分类号】TP273.5
  • 【被引频次】2
  • 【下载频次】303
节点文献中: