为了测试微型核的实时软/硬件性能,利用两个微型核原理样机及dSAPCE实时仿真器构建了双星编队实时仿真验证系统。在实时系统构建的过程中,分别解决了两个微型核之间的时间同步、dSAPCE与微型核原理样机CAN总线双向数据转换以及dSAPCE实时串口数据如何驱动STK场景实时动画显示等问题。利用建立的实时仿真系统,进行了双星编队姿态协同控制算法仿真,仿真结果表明基于微型核的双星编队实时仿真验证系统的软/硬件的正确性。
A real time simulation system based on two micro cores and dSPACE system was established for testing the real time software and hardware performance of the micro core.In the process of establishing the simulation system,the key problems of the time synchronization of two micro cores,the data communication between the dSPACE serial and the micro core CAN bus,and using dSPACE serial data to activate STK real time simulation were solved.Based on the successfully established simulation system,the simulation of the double satellite coordination attitude control strategy was completed.The result of the simulation shows the efficiencies of the double satellite real time simulation system based on the micro core.