基于K-CAN Bus信号电平检测数据帧异常传输的试验研究

方文 张春化 初宏伟

Automobile Technology - - Qiche Jishu - (责任编辑 文楫) 2018 7 16修改稿收到日期为 年 月 日。

【摘要】针对总线数据帧传输异常问题,利用 IBIM综合测试盒实时测定车辆BMW F18 的K-CAN信号电压突变值,识别和判断出数据帧传输异常原因。试验分析了K-CAN网数据帧稳态传输、CAN-H对地加载、CAN-H对电源加载、CAN- L对地加载、CAN- L对电源加载、CAN-H与CAN-L之间加载不同电阻、CAN-H或CAN-L断路和CAN-H与CAN-L互换波形变化。结果表明,总线数据帧传输异常将导致K-CAN网数据波形异常,不同原因引起的K-CAN网数据信号杂波其形态有一定区别,采用波形分析方法可实现K-CAN总线数据帧传输异常状况的甄别。

方文1,2 张春化1 初宏伟3 ( 1. 长安大学,西安 710064;2. 四川交通职业技术学院,成都 611130; 3. 长春汽车工业高等专科学校,长春 130011) 主题词:数据帧 传输异常 K-CAN bus U467.4 A 10.19620/j.cnki.1000-3703.20172504中图分类号: 文献标识码: DOI:

Experimental Study on the Abnormal Transmission of Data Frames Based on K-CAN Bus

Fang Wen1,2, ZhangChunhua1, Chu Hongwei3 1. School of Automobile, Chang' an University, Xi' an 710064; 2. Sichuan Vocational and Technical College of ( Communications, Chengdu 611130; 3. Changchun Automobile Industry Institute, Changchun 130011) Abstract To research the problem of abnormal bus data frame transmission, real- time signal voltage mutation value【 】of BMW F18 K- CAN was measured by the IBIM synthetic testing box, and the cause of abnormal transmission on data bus was identified. Experiments compared and analyzed signal waveform of K- CAN under the conditions of data steady transmission, CAN-H to ground loaded with different resistance, CAN-H to battery loaded with different resistance, CAN-L to ground loaded with different resistance, CAN- L to battery loaded with different resistance, between CAN- H and L loaded with different resistance, CAN- H or L was disconnected, CAN- H and L were interchanged. Experimental results indicated that abnormal data transmission may cause abnormal signal waveform of K- CAN bus; and the different K- CAN signal clutter had a certain different forms and reasons. Experimental results were effective for the identification of abnormal data transmission. Key words: Data frame, Abnormal transmission, K-CAN bus

1 前言

K-CAN)车身控制器区域网络( 可有效实现车身区域内实时数据通信和控制信息共享[1- 3],但在工作过程中由于各种原因造成数据总线传输异常,对电子组件造 成危害[4]。因此,研究车身电子系统之间的异常数据帧交换,并通过数据导线电平分析通讯信号传输状态具有一定的实用性[5]。

CAN

相关文献表明[6- 14],模拟 数据导线通断状态可

ECU

直观监测车身网络 之间数据传输状态、分析控制

影响

K- CAN CON HL

通过将 上 控制器模块的 、导线互

9 9 CAN_L

换,其波形变化如图 所示。由图 可看出, 显

5 V, 1 V;CAN_H

性信号电平为 隐性信号电平保持在

4V 5.5 V

显性信号电平从 到 波动,隐性信号电平保持

4.7 V HL

在 。这是因为 、导线互换后,信号电平也随之互换传输,同时抗干扰差分信号造成的信号电平叠加,引起数据紊乱,错误帧触发,导致数据信号不能正常传

K-CAN HL

输。 车身控制器区域网络所有电子模块的 、导线互换均显示相同变化规律。

4 结束语

IBIM

针对总线数据帧传输异常问题,利用 综合测

BMW F18 K- CAN

试盒实时测定了 车辆的 信号电压突变值,识别和判断出数据帧传输异常原因,结果如下:

a. K- CAN

信号波形异常表明总线数据帧传输异

K-CAN

常,相关线路存在故障,造成 信号电平突变,触发错误帧运行。

b. K- CAN

对于不同原因引起的 错误帧信号杂波,其形态会有一定程度的区别。探索加载电阻值和不

K-CAN

同杂波的对应关系,分析比较 错误帧信号电平波形,可以进一步锁定导致数据帧异常的故障部位和深层次原因。

c. K-CAN

采用波形分析方法可实现 总线数据帧

K-CAN

传输异常状况的甄别,利用波形测试 数据帧传输状态有较好可行性。 参考文献[1] , , , . CAN李建文 王翠东 徐正飞等 不同物理媒介对车载 总[J]. ,2015(8):37-42.线通信特性影响的试验研究 汽车技术[2] , , . AUTOSAR ECU刘玺斌 马建 宋青松 基于 规范的汽车 软件开发方法[J]. 长安大学学报(自然科学版), 2013, 33 (3):76-80. [3] Lei L, Liao X L. Research on the Design of Automotive Body and Headlights Control System Based on CAN/LIN Bus[C]// 2015 International Industrial Informatics and Computer En⁃ gineering Conference, IIICEC. 2015: 604-609. [4 ]Salcianu M, Fosalau C.A New CAN Diagnostic Fault Simula⁃ tor Based on UDS Protocol[C] //Electrical and Power Engi⁃ neering (EPE), 2012 International Conference and Exposi⁃ tion on. IEEE, 2012:820-824. [5] Zhou F, Li S, Hou X. Development Method of Simulation and Test System for Vehicle Body CAN bus Based on CANoe[C]// Intelligent Control and Automation, 2008. WCICA 2008.7th World Congress on.2008:7515-7519. [6] (德) Staudt, Bierschenk, Tomala. 汽车机电技术(三) [M]. 北京:机械工业出版社, 2009. [7] , . CAN张国胜 王书举 基于数据压缩的车身 网络优化调度[J]. , 2015, 37(8): 980-984.设计 汽车工程[8] , , , . CAN王熠 何洪文 张颖琦等 基于 网络的混合动力汽车[J]. , 2011, 31(5):硬件在环仿真平台 北京理工大学学报524-527. [9] , , . CAN [J].王剑 张子键 袁坚 应用于 总线的广播认证系统, 2015, 38(4):24-27.北京邮电大学学报[10] Han J H, Liu L, Wei X, et al. The Research and Design on Hardware in the Loop of Bus- Based Automotive Body Con⁃ trol with Rule Description[C]//Control Conference (CCC), 2011 30th Chinese. IEEE, 2011:5905-5908. [11] Wang J, Wang D, Jie X. The Design of Electric Motor Car's Body Network Based on CAN- Bus Distributed Control[C]// Proceedings of the 21st Annual International Conference on Chinese Control and Decision Conference. IEEE Press, 2009:3712-3717. [12] Xu C Y, Liu G, Zhao J. A Car Body Control System Based on CAN/LIN- Bus Technology[C]// 8th International Sympo⁃ sium on Test and Measurement. 2009. [13] Ismail K, Muharam A, Pratama M. Design of CAN Bus for Research Applications Purpose Hybrid Electric Vehicle Us⁃ ing ARM Microcontroller[J]. Energy Procedia, 2015, 68: 288-296. [14] , , , . CAN解来卿 罗禹贡 刘成祺 等 基于 总线分析的增程[J]. , 2016(12): 20-24.式电动汽车控制策略研究 汽车技术

Newspapers in Chinese (Simplified)

Newspapers from China

© PressReader. All rights reserved.