由于嵌入式测姿系统软件根据不用需求需实现多种接收机板卡、不同导航系统、多种姿态算法的选择,因此其功能复杂,程序冗长。程序模块化后可有效提高工作效率,操作简便。探讨利用嵌入式软件模块化的方法,基于ARM平台根据嵌入式测姿系统软件的主要流程及其功能对软件进行单元划分,详细阐述了各个模块的功能以及模块之间的接口,解决可操作性、可扩展性等问题,实现了软件的模块化设计。实际数据验证表明,嵌入式测姿软件模块化后可移植性、扩展性增强,可用性高,资源利用率高,并适合在一般载体上使用。
Because the embedded attitude determination system software demands to realize different receiver boards, different navigation systems and a variety of attitude algorithms to meet various needs, the software has complex function and long routine. However, the software will be efficient and flexible to operate with the modularization of it. This paper will discuss the unit division of the software according to the main process and its functions by means of a idea to modularization based on ARM. What's more, it elaborates on the function of each module and the interface between modules solving the operability, expansibility and oth- er issues, therefore it achieves modular design. The actual data results which show that portability, expansibility, availability and re- source utilization have been all improved after the modularization of embedded attitude determination system software are obtained. Besides, the embedded system is suitable for carriers.