FPGA和LabVIEW的CAN总线通信系统设计  被引量:6

Design of CAN Bus Communication System Based on FPGA and LabVIEW

在线阅读下载全文

作  者:霍嘉[1] 陆波[1] 陈勇[1] 李炜[1] 崔苇苇[1] 罗来丹 张子良[1] 王昊[1] Huo Jia;Lu Bo;Chen Yong;Li Wei;Cui Weiwei;Luo Laidan;Zhang Ziliang;Wang Hao(Institute of High Energy Physics Chinese Academy of Sciences,Beijing 100049,China)

机构地区:[1]中国科学院高能物理研究所,北京100049

出  处:《单片机与嵌入式系统应用》2022年第9期75-78,83,共5页Microcontrollers & Embedded Systems

摘  要:为了保护探测器和保证探测器的最佳工作状态,卫星需要配备多种单机。在探测器的调试阶段,研制模拟卫星平台的CAN总线通信系统,完成与各单机的调试就显得非常重要。本文设计了一个基于FPGA和LabVIEW的CAN总线通信系统,用于系统联调测试。首先,设计FPGA的CAN总线功能模块用于完成SJA1000与总线之间的数据传输,设计USB功能模块用于完成与计算机的数据传输;然后,上位机采用LabVIEW,以事件结构为主程序框架,分类设计各单机的用户界面;最终实现了系统CAN总线信息的收发、存储、解析及显示功能。测试结果表明,该通信系统设计满足复杂多单机FXT系统CAN总线通信的实验测试需求,通信稳定可靠,具有较好的灵活性和可移植性。In order to protect the detector and ensure the best working state of the detector,the satellite needs to be equipped with a variety of equipments.During the testing and debugging phase,it is both necessary and urgent to develop a CAN bus communication system to simulate the function of the satellite platform for satellite-level joint testing.The CAN bus communication system based on FPGA and LabVIEW is designed for system joint testing.Firstly,the CAN bus function module of FPGA is designed to complete the data transmission between SJA1000 and bus.The USB function module is designed to complete data transmission with computer.The user interface of single unit equipment which the main program framework based on event structure for the host computer is designed by LabVIEW.Finally,such functions of the CAN bus as information transceiving,data storage,analysis and display are realized.The communication system meets the test requirements of the CAN bus communication of the FXT system.The experimental results show that the communication system is stable and reliable,and has good flexibility and portability.

关 键 词:CAN总线 现场可编程逻辑门阵列 LABVIEW 通用串行总线 

分 类 号:TP336[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象