摘要
组合导航半物理仿真系统,导航计算机要同时采集多路子系统(IMU、GPS、电子磁罗盘)经串口输出的原始数据,而导航解算占用CPU的时间较多,影响了软件的稳定性、可靠性和实时性。利用现代操作系统中多线程技术可以很好地解决这一矛盾。文中着重论述了利用Visual C++中MFC进行多线程编程的技术要点,指出在设计多线程应用程序时,应充分了解各线程之间的关系,才能使应用程序获得最佳的性能,实际系统运行表明采用多线程技术能够满足组合导航半物理仿真系统的稳定性、可靠性和实时性的要求。
In integrated navigation semi-physical simulation system, multi-communication port data must be collected by the navigation computer in real time, and the navigation algorithm take up the CPU much time, so the reliability,stability and real time of the software would be influenced. The multi-thread technology in the modern operation system, the relation of multi-thread and process and the reasons for bringing forward the multi-thread are introduced. This paper states the key technical points for multi-thread program in Visual C++, points out that when a multi-thread program is designed, the designer should be clear of the relations between threads, so as to the program can get the best performance. Semi-physical simulation results show the effectiveness of the technology.
出处
《弹箭与制导学报》
CSCD
北大核心
2007年第1期97-99,共3页
Journal of Projectiles,Rockets,Missiles and Guidance
关键词
组合导航
进程
多线程
同步
integrated navigation system
process
thread
synchronization