基于OBD-Ⅱ的车载故障监控诊断仪硬件平台及网络接口单元的设计
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着电子技术和控制技术的飞速发展,汽车故障诊断已经发展到使用专用的故障检测仪来进行。现在的汽车在线故障诊断系统已经可以对车辆电控系统参数实行连续监控和故障自诊断,这种系统能记录电控系统的间歇故障,查找故障更加方便及时。OBD-Ⅱ标准详细规定了汽车在线故障诊断系统所使用的通信协议,规定了车外诊断设备和车内电子控制单元进行通信时所要遵循的规范,还规定了汽车发生相应故障时所应该产生的故障代码及获取这些故障代码的方法。OBD-Ⅱ汽车在线故障诊断系统标准已经被世界上绝大多数的汽车生产厂家采用。
     汽车车载故障监控诊断平台是配合OBD-Ⅱ在线故障诊断系统使用的车外诊断设备。它通过汽车的OBD-Ⅱ故障诊断接口与车内电子控制单元建立起通信连接,用规定的通信模式和车内电子控制单元进行对话,获取汽车故障诊断代码和实时状态数据,进过分析处理得出故障诊断结果,并对结果进行存储和实时显示。
     本文通过对OBD-Ⅱ汽车在线故障诊断系统所使用的通信协议和诊断模式的深入研究,提出了基于OBD-Ⅱ的车载故障监控诊断平台的设计方法。
     故障监控诊断单元进行故障数据的提取、分析和显示。硬件平台设计方面,本文提出了以S3C2410处理器为中心的设计方案,并给出了主要外围电路的设计。软件设计方面,给出了故障监控诊断单元的软件设计框架。
     车载故障监控诊断平台的OBD-Ⅱ接口单元是车载故障监控诊断单元和车内电子控制单元进行通信的桥梁。它将OBD-Ⅱ系统的信号转换成RS232信号供给故障诊断平台。通过对OBD-Ⅱ通信协议的研究分析,提出了两种多协议自适应式网络接口单元的设计方法。深入探讨了以单片机为基础设计网络接口的方法,给出了相应的软件硬件设计。以专用协议转换芯片为基础,完成了网络接口的单元的设计工作。
With the development of electric technology and control technology, special fault diagnostic tools are used in automobile’s fault diagnosis. Now, the on broad diagnostic system can monitor the systemic parameters of automotive electronic control system continuously. This kind of diagnostic system can memorize the intermittent problems. So it would be easier and faster to find out the faults. The communication protocols used by diagnostic system, the communication criterions which shoud be followed, and the trouble codes and how to get them are described in detail in OBD-Ⅱstandard. Most of the automobile manufactures have adopted the OBD-Ⅱfault diagnostic system.
     The on-vehicle fault diagnostic platform is used to get diagnostic information and real-time status messages from the electronic control units. It communicates with the electronic control units through the OBD-Ⅱelectrical connector, acquire trouble codes and datas. The diagnostic results will be displayed on the LCD.
     This dissertation based on in-depth study of the protocols and methods which defined by OBD-Ⅱstandard. It puts forward how to design the on-vehicle fault diagnostic platform.
     The fault diagnostic cell is responsible to get and analyse the trouble codes. The hardware core is S3C2410, the peripherally auxiliary circuit design is carried out in this dissertation. The sofeware framework also carried out in this dissertation.
     The interface cell of the on-vehicle fault diagnostic platform is the gateway between the automobile and the diagnostic equipment. It convertes the code schemes between OBD-Ⅱand RS232. Two different methods for interface cell design are presented in this dissertation. One bases on the microcontroller and the other bases on the ASIC special for protocol converting. Some design works, such as the hardware and software design in both methods are carried out in this dissertation.
引文
[1] 朱小慧,费继兵.车载故障诊断系统的研究.车用发动机,2004,4:11-14
    [2] SAE.J1962 Diagnostic test connector. SAE.2001
    [3] 郑霞君.新一代故障自诊断系统(OBD-Ⅱ).内燃机,2003,3:34-36
    [4] SAE. J2178 Class B data communication network message Part1-4.SAE,1994
    [5] SAE. J1850 Class B data communication network Interface. SAE,1994
    [6] 刘东.循环冗余检验 CRC 的算法分析和程序实现.成都:西南交通大学计算机与通信工程学院.2002,1-5
    [7] ISO/WD14230-1, Road Vehicles Diagnostic Systems Keyword Protocol 2000 Physical Layer. 1997
    [8] 刘国权,张伯英,宋卫锋.KWP2000 协议分析及开发测试.汽车技术, 2006,5:20-24
    [9] ISO/WD14230-2, Road Vehicles Diagnostic Systems Keyword Protocol 2000 Data link Layer. 1997
    [10] ISO/WD14230-3, Road Vehicles Diagnostic Systems Keyword Protocol 2000 Implementatin. 1997
    [11] ISO/WD15765,Road Vehicles Diagnostic Systems-Diagnostics on CAN-Network Layer Services
    [12] BOSCH. CAN Specification. Stuttgrat, 1996
    [13] 饶运涛,邹继军,郑勇芸等.现场总线 CAN 原理与应用技术.北京:北京航空航大学出版社,2003,25-38
    [14] 王莉,张凤登,杜娟娟.CAN 总线中 CRC 序列工作机制研究.仪器仪表学报.2003,vol24(4): 324-325
    [15] SAE. J1979 Diagnostic Test Modes Equivalent to ISO/DIS10531-5. SAE, 2002
    [16] Fiat Auto. J9141 Diagnostic protocol standard fiat 9141. 1999
    [17] 徐志军.高级轿车故障码详解.北京:国防工业出版社. 2006:1-2
    [18] SAMSUMG ELECTRONICS. S3C2410 32 bit CMOS microcontroller user’s manual. 2003
    [19] SAMSUMG ELECTRONICS.LTV350QV-F05 TFT-LCD datasheet.2005
    [20] 宋明权.基于 ARM 的嵌入式人机界面硬件平台的开发:[硕士学位论文].武汉:华中科技大学,2005
    [21] 梁泉.嵌入式 Linux 系统移植应用开发技术研究:[硕士学位论文].成都:电子科技大学,2006
    [22] 周启明.基于 OBD-Ⅱ的电控汽车计算机辅助诊断系统:[硕士学位论文],西安:公路交通大学,2000
    [23] 吴宝江.基于嵌入式Linux的车载终端GUI的设计与实现:[硕士学位论文].天津:河北工业大学,2006
    [24] ATmel. 8-bit AVR Microcontroller with 16K bytes in-system Programmable Flash datasheet.
    [25] 广州单片机发展有限公司.SJA1000 独立 CAN 控制器应用指南.广州,2004
    [26] 邹继军,饶运涛.CAN 总线系统智能节点设计.广州:广州周立功单片机发展有限公司
    [27] 庚锡昌,陈舜儿,黄红斌,等.汽车在线诊断(OBD-Ⅱ)通用接口转换器 FPGA 的设计与实现.电子技术应用.2006,9:127-129
    [28] ELM Electronics.ELM 327 OBD to RS232 Interpreter Datasheet.2006,1-43