论文部分内容阅读
为了迅速地帮助车辆开发、测试人员获取车辆排放数据和定位汽车故障原因,设计了一套基于OBD-Ⅱ协议的车辆故障诊断系统。在系统硬件上,该故障诊断模块采用STM32F103CBT6作为主控芯片,通过TJA1050CAN收发器与车辆的OBD接口进行数据交互;软件上下位机采用keil4开发环境完成固件开发,上位机采用C#语言通过串口实时显示诊断信息和信号值。通过软硬件协同工作,最终实现上位机终端界面发送读取故障请求或实时数据流请求时,终端界面会显示响应的回复值等功能。通过系统测试,证明了该诊断系统数据准确、响应速度快。
In order to help vehicle development and testers obtain vehicle emission data quickly and locate the cause of vehicle malfunction, a vehicle fault diagnosis system based on OBD-Ⅱ protocol was designed. On the system hardware, the fault diagnosis module adopts STM32F103CBT6 as the master chip to conduct data exchange with the OBD interface of the vehicle through the TJA1050CAN transceiver. The upper and lower computer software adopt keil4 development environment to finish the firmware development, and the upper computer uses the C # language to display real-time through the serial port Diagnostic information and signal value. Through the cooperation of software and hardware, the terminal interface will display the response value of the response and other functions finally when the host computer terminal interface sends the read fault request or the real-time data stream request. Through the system test, it is proved that the diagnostic system has accurate data and fast response.