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.
Key words
CAN bus /
FPGA /
LabVIEW /
USB
{{custom_sec.title}}
{{custom_sec.title}}
{{custom_sec.content}}
References
[1] 袁为民,张臣,陈勇,等.爱因斯坦探针:探索变换多姿的X射线宇宙[J].中国科学:物理学 力学 天文学,2018,48(3):039502.
[2] CHEN Y,CUI W W,HAN D W,et al.Status of the followup xray telescope onboard the Einstein Probe satellite[J].Proceedings of the SPIE,2020(11444):114445B.
[3] 饶运涛,邹继军,王进宏,等.现场总线CAN原理与应用[M].2版.北京:北京航空航天大学出版社,2007:3842.
[4] 时旭,付成伟.基于FPGA的CAN总线通信系统的设计[J].现代电子技术,2015,38(22):5961.
[5] 崔志新,陈学军,沈军.基于CAN和LabVIEW的风机在线监测系统[J].仪表技术与传感器,2020(1):7578.
[6] 岳奎,刘少君,黄道平.SJA1000内寄存器的VHDL语言读写设计与应用[J].计算机与数字工程,2009,37(10):175178.
[7] 陈萍,姜秀杰.基于FPGA的CAN总线通信系统[J].计算机测量与控制,2009,17(12):24822484.
[8] 高海云,孙国文,景镇,等.基于Labview和CAN通信协议的高集成化卫星姿轨控单机模拟与通信平台的设计[J].电子设计工程,2019,27(24):130134.
[9] 胡守锋,董永伟,刘江涛.基于FPGA和SJA1000的CAN总线通信[J].核电子学与探测技术,2015,35(6):548551.
[10] 姚君.基于状态机方法的CAN总线通信的FPGA实现[J].国外电子测量技术,2015,34(3):6468.
[11] 李云,王宝良,丁在田,等.基于SJA1000的CAN总线控制节点的设计与实现[J].空军工程大学学报(自然科学版),2003,4(3):7982.
[12] 刘志宏,翟耘萱,久元溦.FPGA的星载CAN总线通信系统的设计[J].单片机与嵌入式系统应用,2021,21(2):3538.
[13] 汤书森,刘栋,李建明.基于FPGA的CAN总线控制器SJA1000软核的设计[J].单片机与嵌入式系统应用,2011,11(4):2325.