摘要
CAN总线由于其通信方式简便可靠而广泛应用于各工业领域。随着工业发展,控制系统越来越复杂,对数据传输率、可靠性提出了更高的要求,而传统CAN总线通信已无法满足系统的要求。针对这一问题,提出了一种基于DSP和FPGA来实现CANFD总线通信的方法。并行处理方式的FPGA作为DSP与外围接口之间的桥梁,对CANFD控制器进行数据传输、使能和中断控制。DSP通过EMIF总线接口读取相应数据,并进行数据处理和控制指令的执行。经过仿真和实验验证,CANFD总线数据传输速率可达到5Mbps且误码率小于1%。在高速条件下,该系统可以实现CANFD总线数据传输的稳定性和可靠性。
CAN bus is widely used in various industrial fields because of its simple and reliable communication method.With the development of industry,the control system is becoming more and more complex,and higher requirements for data transmission rate and reliability are put forward,while the traditional CAN bus communication could no longer meet the system requirements.To solve this problem,a method of CANFD bus communication based on DSP and FPGA is proposed.The FPGA in parallel processing mode serves as a bridge between the DSP and the peripheral interface to data transmission,enable control,and interrupt control to the CANFD controller.DSP reads the corresponding data through the EMIF bus interface,and executes data processing and control instructions.After simulation and experiment verification,the CANFD bus data transmission rate could reach 5 Mbps and the bit error rate is less than 1%.Under high-speed conditions,the system could realize the stability and reliability of CANFD bus data transmission.
作者
杨波
韩杰
孙乐羊
YANG Bo;HAN Jie;SUN Le-yang(Beijing Aerospace Times Optical-electronic Technology Co.,Ltd,Beijing 100094)
出处
《导航与控制》
2021年第6期53-59,共7页
Navigation and Control
关键词
波特率可变控制器局域网
数字信号处理
现场可编程门阵列
通信系统
CAN with flexible data-rate(CANFD)
digital signal processing(DSP)
field programmable gate array(FPGA)
communication systems