系统仿真学报 ›› 2017, Vol. 29 ›› Issue (6): 1297-1303.doi: 10.16182/j.issn1004731x.joss.201706019

• 仿真系统与技术 • 上一篇    下一篇

基于dSPACE系统的总线实时通讯方法设计

阎诚, 霍德聪, 谢松   

  1. 航天东方红卫星有限公司,北京 100094
  • 收稿日期:2015-07-20 修回日期:2015-11-02 出版日期:2017-06-08 发布日期:2020-06-04
  • 作者简介:阎诚(1984-),男,重庆,硕士,高工,研究方向为卫星总体设计与仿真;霍德聪(1984-),男,河北,硕士,高工,研究方向为卫星总体设计;谢松(1983-),男,湖南,硕士,高工,研究方向为卫星仿真。

Design of Real-time Communication on Bus Using dSPACE System

Yan Cheng, Huo Decong, Xie Song   

  1. DFH Satellite Co., Ltd, Beijing 100094, China
  • Received:2015-07-20 Revised:2015-11-02 Online:2017-06-08 Published:2020-06-04

摘要: 对利用dSPACE仿真器进行CAN总线实时通讯时所面临的问题进行了分析,提出了解决该问题的思路和方法。使用中断和使能两种触发方式,设计了基于dSPACE的CAN通讯接口模型。构建了卫星分系统仿真模型,按照星上CAN总线通讯协议,进行了实时仿真,实现了在分系统仿真模型与星务分系统之间进行大数据量通讯。仿真结果证明了本文设计的CAN通讯方法的有效性。

关键词: dSPACE, 实时仿真, CAN通讯, 触发方式

Abstract: The analysis of the problem of real-time communication on CAN bus was proposed using dSPACE simulator, and the solution was proposed. The CAN communication model based on dSPACE was designed using the methods of Interrupt or Enable to trigger the action. The spacecraft subsystem simulation model was built on the dSPACE, and the real-time communication was performed following the spacecraft CAN bus communication protocol, to implement the communication with large amount of data between subsystem simulation model and data handling subsystem. The simulation result verifies the validity of the communication method.

Key words: dSPACE, real-Time simulation, CAN communication, trigger method

中图分类号: