摘要
针对传统设计方法在可更改性、可扩展性、设计复用性等方面的不足,分析了插件技术的原理和优点,根据卫星控制系统模拟器软件的特点,提出了应用插件技术的设计思路。文章通过采用"宿主程序"+"插件"的软件总体结构,合理划分了宿主程序和插件的功能。为充分发挥插件技术的优势,宿主程序采用微内核方式,负责加载和管理各种功能插件,并通过"监听器"方式为插件之间提供标准的通信服务。同时结合软件功能特点,将插件分为业务插件和辅助插件两类,使得设计更加合理。最后应用插件技术设计了具体的宿主程序接口、插件接口、监听器接口,实现了通用的卫星控制系统模拟器仿真平台,完成了3类、14颗卫星控制系统的模拟仿真,取得了良好效果。
To improve the changeability, scalability and reusability of traditional design method, the principle and merit of plugin technique are analyzed,and a plugin-based design method of soft- ware simulator is proposed for satellite control system. By using the software overall design of "host program" -1- "plugin",the function of "host program" and "plugin" is properly designed according to the feature of simulator requirement. To make full use of the advantage of plugin technique,a micro kernel structure is designed for the host program whose function is to load and manage the various plugins and provides standard communication service between the plugins using "monitor" mode. To rationalize the design,the phgins are divided into business plugins and auxiliary plugins. The concrete interfaces of the host program,monitor and plugins are designed. The plugin-based simulation platform for general satellites control system is realized,the control system simulation for 14 satellites of three kinds is accomplished,which has achieved obvious benefits.
出处
《航天器工程》
北大核心
2015年第6期27-33,共7页
Spacecraft Engineering
关键词
卫星
控制系统
模拟器
插件
satellite
control system
simulator
plugin