针对传统磁罗盘系统采样率低、采样数据不具实时性和显示不直观等问题,提出了一种适用于高速磁罗盘的集成数据通信、姿态解算及三维姿态可视化于一体的上位机软件设计方案;该方案采用数据缓存、多线程和三维姿态显示等关键技术编写了高速磁罗盘姿态系统上位机软件.通过实验验证,软件实现了实时数据补偿、姿态解算和三维姿态显示等功能,数据传输和处理速率能达到5kHz.软件满足了系统的设计要求,有很好的稳定性和可操作性.%According to the problems that the low sampling rate, non—real—time sampling data and display non—intuitive of traditional magnetic compass system, this paper presents a software design scheme for high—speed magnetic compass. It integrates data communication, attitude calculation and three —dimensional attitude visualization. The overall software was compiled by using some key technologies such as data cache technology, multithread and three —dimensional attitude display. Verified by experiment, the result shows the software has achieved entire design targets such as real time data compensation, attitude calculation and three —dimensional attitude display, the rate of data transmission and processing is 5kHz. Software can meet the requirements of system and has fine stability and maneuverability.
展开▼