汽车电子中的J1939协议研究与模拟通信解析.docVIP

  • 70
  • 0
  • 约2.41万字
  • 约 25页
  • 2021-02-24 发布于天津
  • 举报

汽车电子中的J1939协议研究与模拟通信解析.doc

43 摘 要 SAE J1939协议是美国汽车工程协会SAE(Societv of Automotive Engineer)发布的以CAN2.0B作为网络核心协议的车辆网络串行通信和控制协议,是目前在大型车辆中使用的最为广泛的一种通信协议[1]。CAN(Controller Area Network)总线是现在最有前景的现场总线技术之一,学会如何从CAN总线上获取、保存和分析报文非常重要。 本文通过研究分析SAE J1939协议,使用了C#程序设计语言设计一个可以解析J1939协议的模拟汽车仪表系统,该系统由数据采集、解析以及显示等模块组成,把单片机作为主控制器,USBCAN作为单片机和PC之间的连接,实现对总线上数据的采集和分析,将其结果传输到上位机上显示,最后显示出发动机数据,在VS软件平台上使用C#语言编写本课题的程序。在本篇文章中,首先,分析课题汽车电子中J1939协议的研究和模拟通信解析的研究背景及意义,将国内外J1939协议的发展现状进行对比分析,然后对CAN总线进行一些介绍,再之后对本课题的重点J1939协议进行重点阐述;之后,再对汽车数据采集系统的原理进行阐述,给出系统软件设计的过程和各模块程序设计,最后对系统进行软硬件调试。 关键词:SAE J1939协议,CAN总线,发动机数据采集 ABSTRACT The SAE J1939 protocol is a vehicle network serial communication and control protocol issued by SAE (Societv of Automotive Engineer) with CAN2.0B as the core protocol of the network. It is the most widely used communication protocol in large vehicles. [1]. The CAN (Controller Area Network) bus is one of the most promising fieldbus technologies available today. It is important to learn how to retrieve, save, and analyze messages from the CAN bus. This paper analyzes the SAE J1939 protocol and uses the C# programming language to design a simulated automotive instrumentation system that can parse the J1939 protocol. The system consists of data acquisition, analysis and display modules. The microcontroller is used as the main controller, and USBCAN is used as the microcontroller. The connection between the PCs realizes the collection and analysis of the data on the bus, transmits the results to the upper computer for display, and finally displays the engine data. The program of the subject is written in the C# language on the VS software platform. In this article, firstly, the research background and significance of J1939 protocol and analog communication analysis in automotive electronics are analyzed. The development status of J1939 protocol at home and abroad is compared and analyzed, and then some introductions are made to CAN bus. The focus of the project is focused on the J1939 protocol. After that, the

文档评论(0)

1亿VIP精品文档

相关文档