APP下载

汽车通信数据的采集及解析方法研究

2025-08-15谢亚辉赵友霍袁媛

专用汽车 2025年7期
关键词:充电机通信协议字节

中图分类号:U461 收稿日期:2025-02-25

DOI: 10.19999/j.cnki.1004-0226.2025.07.017

Research on Methods for Collecting and Analyzing Automotive Communication Data

Xie Yahui1Zhao YoulHuo Yuanyuan² 1.Liuzhou Polytechnic University,Liuzhou 545oo0,China 2.Liuzhou City Vocational College,Liuzhou 545oo0,China

Abstract:Withtherapidincreaseinthenumberofcarsandtheincreasinguseofautonomousdriving,therearemoreandmore trafficacidentsbyutomobiledrivingTerefore,tisnessarytostudycarommunicationdata.Withtheevelopmentoftheelectriica tionandntellgenceofautomobiles,teumberofECUcomponentsinveiclecontrolunitsisincreasing,andthestructureofutoo tivecommunicationnetworkshasbecomemoreandmoreimportant.Thispaperintroducesamethodforcolectingandanalyzingautomotivecommunicationdata.Thepaperelaboratesonfouraspects:communicationrules,compositionstructureofcommunicationdata, collectionandanalysisofcommunicationdata.AnactualvehiclemodelisusedasacasestudytocolectandanalyzeautomotiveCAN communicationdata.Theconlusionindicatesthatthismethodcanbeappliedtothecolectionandanalysisofautomotivecommunication data,providing reference for the intelligent upgrading and transformation of automobiles.

Keywords:Communication data;Data collection;Data parsing;Automotive intelligence

1前言

当前,由于汽车数量的急剧增加及汽车自动驾驶的逐渐增多,在交通事故中,汽车因素占据的分量越来越大[1-2],因此有必要对汽车通信数据进行研究。随着汽车电子技术的发展,车载控制单元ECU部件的数量也越来越多,使用传统的点到点线束的连接方式会急剧增大线束的重量,从而导致其安装困难,而CAN通信网络结构因其具有能提高整个系统的可靠性、减少线束数量和成本、多重使用传感器、传输复杂数据、系统变更灵活、能实现新型功能、有效诊断和降低硬件成本等优点,成为汽车发展的一种必然选择[3]。

随着人工智能以及5G时代的到来,汽车产业掀起新一轮的产业革命[4-5]。文献[6]表明汽车业就是被智能化改造的高可靠性的移动终端,而目前在欧洲几乎每一个汽车生产公司都会使用CAN通信技术,因此车辆的CAN通信数据采集及解析成为重要一环。对于职业教育而言,大部分车辆的故障诊断还停留在单纯的车辆诊断仪上[8-10],无法真正读出相应的通信数据流,一旦脱离诊断仪,汽车故障的读取就显得很吃力。为此,本文研究了一种汽车通信数据的采集及解析方法,旨在为汽车后续的智能化改造提供参考。

2汽车CAN网络协议规则

2.1多主机结构

CAN总线采取总线拓扑结构(图1),没有特权节点。总线在空闲的时候,所有的单元都可以发送信息(多主机的控制)。开始时向总线发送信息的单元享受发送的优先权,在多个单元同时发送的时候,优先级别高(帧ID级别高)的单元享受优先权。……

登录APP查看全文

猜你喜欢

充电机通信协议字节
数字赋能独角兽企业高质量发展路径探究
泛黄的页码
无人驾驶飞行器质量技术标准化研究
虚拟电厂信息通信标准化需求分析及体系设计
车载充电机交流传导发射测试方法研究