J4 ›› 2012, Vol. 30 ›› Issue (5): 503-.

• 论文 • 上一篇    下一篇

基于FPGA的CAN总线故障分析仪

代寿刚, 干莽, 宋占伟   

  1. 吉林大学 电子科学与工程学院, 长春 130012
  • 出版日期:2012-09-28 发布日期:2012-11-01
  • 作者简介:代寿刚(1986—), 男, 四川泸州人, 吉林大学硕士研究生, 主要从事嵌入式系统研究, (Tel)86-13610789860(E-mail)xiaogang0619@mails.jlu.edu.cn; 宋占伟(1962—), 男, 长春人, 吉林大学教授, 硕士生导师, 主要从事数字信号处理、 图像处理、 智能交通和嵌入式系统研究, (Tel)86-431-85095828, 85894687(E-mail)songzw@jlu.edu.cn。

CAN-Bus Fault Analyzer Based on FPGA

DAI Shou-gang, GAN Mang, SONG Zhan-wei   

  1. College of Electronic Science and Engineering, Jilin University, Changchun 130012, China
  • Online:2012-09-28 Published:2012-11-01

摘要:

针对CAN(Controller Area Network)总线网络物理传输性能测试的需要, 提出一种基于FPGA(Field Programmable Gate Array)测试系统, 该系统通过采集物理层信号波形分析CAN总线故障并输出相关信息。分析了测试系统原理, 给出了系统方案, 并详细论述了频率的自动识别、 数据帧提取、 总线故障分析、 数据存储等关键技术的实现方法。对测试系统进行了功能仿真, 并在搭建的测试平台上进行了测试。仿真和测试结果表明, 该系统能正确识别总线故障, 并输出相关信息。

关键词: 控制器局域网络总线, 现场可编程逻辑阵列, 物理层, 故障分析

Abstract:

In order to meet the demands of testing physical transmission performance of CAN(Controller Area Network)bus, we propose a CAN-bus fault-testing system based-on FPGA(Field Programmable Gate Array), which detects faults through collecting physical layer waveforms. We first analyze the principles of the testing system, provide the design of the system, and then describe the implement methods of the key technologies, including the automatic identification of frequency, the frame extraction
, the analysis of faults on bus and the data storage. Functional simulations were carried out on the fabricated testing system, experiments were also carried out. The results exhibit that the system can correctly identify the bus faults and output related information.

Key words: controller area network(CAN)bus, field programmable gate array(FPGA), physical layer, fault analys

中图分类号: 

  • TP216