计算机应用 ›› 2012, Vol. 32 ›› Issue (01): 139-142.DOI: 10.3724/SP.J.1087.2012.00139

• 网络与通信 • 上一篇    下一篇

基于CAN总线的电子控制单元功能测试方法

程安宇,赵国庆,冯辉宗,张玲   

  1. 重庆邮电大学 自动化学院,重庆 400065
  • 收稿日期:2011-06-07 修回日期:2011-08-21 发布日期:2012-02-06 出版日期:2012-01-01
  • 通讯作者: 赵国庆
  • 作者简介:程安宇(1977-),男,湖北崇阳人,副教授,博士,主要研究方向:汽车网络设计与测试、自动化装置与仪器仪表、智能车辆;赵国庆(1986-),男,四川都江堰人,硕士研究生,主要研究方向:车载网络测试;冯辉宗(1972-),男,四川邻水人,教授,博士,主要研究方向:系统建模与仿真、汽车电子控制;张玲(1986-),男,重庆渝北人,硕士研究生,主要研究方向:车载网络测试。
  • 基金资助:

    国家“核高基”重大专项(2009ZX01038-002-002-2);重庆高校优秀成果转化项目(KJZH08210)

Functional test method for electronic control unit based on controller area network bus

CHENG An-yu1,ZHAO Guo-qingFENG Hui-zong1,ZHANG Ling1   

  • Received:2011-06-07 Revised:2011-08-21 Online:2012-02-06 Published:2012-01-01
  • Contact: ZHAO Guo-qing

摘要: 随着汽车电子市场的快速发展,汽车控制器的电子控制单元(ECU)已越来越多,对ECU的功能测试也变得日趋复杂。为解决车载ECU功能测试,研究了基于控制器局域网络(CAN)的ECU自动测试方法。以NI公司的软硬件为开发平台、CAN总线为通信平台搭建测试系统与被测ECU形成闭环结构。通过CAN总线传输测试信息,可实现对同型号ECU的批量测试。此系统采用了新的测试方法来降低测试误差,并支持ECU的流水线测试,大大降低了测试的复杂度,减少了工作量。同时,在完善仿真信号产生模块和测试模块用例库后,也能适用于其他类型ECU的功能测试。

关键词: 控制器局域网络, 电子控制单元, 批量测试, 汽车电子, 车载网络

Abstract: With the rapid development of automotive electronic market, more and more Electronic Control Units (ECU) for vehicle controller appear and the functional test also becomes more complex. In order to solve the problem of ECU functional test, the ECU's automatic test method based on Controller Area Network (CAN) was studied. The system included the software and hardware platform of National Instrument (NI) and communication platform of CAN bus, by which the system and ECU formed a closed-loop structure. To transmit the test message through CAN bus, the system could achieve batch test of ECUs with the same type. By using the new test method, the system can reduce the test errors, and support assembly line test of ECU, which greatly reduces the complexity of ECU functional test and test work. At the same time, the system can also apply to other types of ECU functional test by improving the generation module of simulated signal and use case library.

Key words: Controller Area Network (CAN), Electric Control Unit (ECU), batch test, vehicle electronic, vehicle network

中图分类号: