主办:陕西省汽车工程学会
ISSN 1671-7988  CN 61-1394/TH
创刊:1976年

Automobile Applied Technology ›› 2022, Vol. 48 ›› Issue (1): 91-95.DOI: 10.16638/j.cnki.1671-7988.2023.001.018

• Design and Research • Previous Articles    

Design of ECU Function Automatic Test System Based on CANoe

YU Wenhan, HUANG Ruijing, WANG Qi, LAI Yongfa, LIU Jun   

  1. Technology Center, GAC Component Company Limited,
  • Online:2023-01-15 Published:2023-01-15
  • Contact: YU Wenhan

基于 CANoe 的 ECU 功能自动化测试系统设计

于文函,黄锐景,王 琪,赖永发,刘 军   

  1. 广汽零部件有限公司 技术中心
  • 通讯作者: 于文函
  • 作者简介:于文函(1993—),男,硕士,工程师,研究方向为汽车零部件设计,E-mail:1318715005@qq.com。

Abstract: In order to improve the efficiency of electronic control unit (ECU) bench function testing, an automatic test system is designed. Both controller based on FS32K144-100LQFP microcontroller design and host computer software based on CANoe form this automatic test system. This controller can simulate the input signal of ECU fire and detect the ECU output signal, then send the detected signal out through controller area network (CAN) message. Host computer software can detect CAN messages and other outputs of the ECU to be tested by controlling the programmed power supply and controller. The experimental results show that the test system can simulate all kinds of input signals and detect the signals of the device under test accurately, and facilitate automatic test according to the control instruction of the host computer software, which greatly improves the test efficiency. The controller that communicate through CAN or local interconnect network (LIN) bus facilitate automatic test through this test system.

Key words: Automated testing; CANoe; ECU; CAN bus; CAPL; Test system design

摘要: 为了提高电子控制单元(ECU)台架功能测试效率,文章设计了一套自动化测试系统。 该测试系统包括基于 FS32K144-100LQFP 单片机设计的控制板和基于 CANoe 设计的上位机。 控制板可模拟车用控制器输入信号,检测控制器输出信号,并将检测到的信号通过控制器局 域网络(CAN)报文发送出来。上位机通过控制程控电源和控制板,采集待测 ECU 的 CAN 报文和其他输出量。实验结果表明,测试系统可准确模拟各种输入信号和采集待测件信号, 按照上位机提示操作实现自动化测试,极大地提高了测试效率。通过 CAN、串行通讯网络 (LIN)通讯的控制器均可通过该测试系统实现自动化测试。

关键词: 自动化测试;CANoe;ECU;CAN 总线;CAPL;测试系统设计