Author Login Editor-in-Chief Peer Review Editor Work Office Work

Computer Engineering ›› 2010, Vol. 36 ›› Issue (15): 219-221. doi: 10.3969/j.issn.1000-3428.2010.15.078

• Networks and Communications • Previous Articles     Next Articles

GPS Compass Data Acquisition and Processing Based on Multi-thread Technology

LIU Rui-hua, XIANG Wen-jie   

  1. (College of Electronic and Information Engineering, Civil Aviation University of China, Tianjin 300300)
  • Online:2010-08-05 Published:2010-08-25

基于多线程技术的GPS罗盘数据采集与处理

刘瑞华,项文杰   

  1. (中国民航大学电子信息工程学院,天津 300300)
  • 作者简介:刘瑞华(1965-),男,教授、博士,主研方向:导航、制导与控制技术;项文杰,硕士研究生
  • 基金资助:
    国家“863”计划基金资助项目(2006AA12Z313)

Abstract: A Global Positioning System(GPS) compass data acquisition and processing system based on multi-thread technology is designed. This paper describes the principle of GPS attitude determination and related communication protocol. With the example of the SDI-COMPASS, a solution based on the API communication function of Win32 is realized, which achieves the multi-thread and overlapped I/O communication between GPS compass and PC via serial port. The static and dynamic experiments show that the system is capable of gathering and processing GPS compass data quickly and correctly, and performs with high stability and flexibility.

Key words: Global Positioning System(GPS), multi-thread, serial communication, data processing

摘要: 设计一套基于多线程技术的GPS罗盘数据采集和处理系统,给出GPS姿态测量原理及相关通信协议,在此基础上以SDI-COMPASS为例,采用Win32的API通信函数实现GPS罗盘和PC机之间多线程、非阻塞的串口通信。静态和动态实验表明,该系统可以快速、准确地采集和处理GPS罗盘数据,具有很高的稳定性和灵活性。

关键词: 全球定位系统, 多线程, 串口通信, 数据处理

CLC Number: