Journal of Jilin University(Information Science Ed ›› 2015, Vol. 33 ›› Issue (3): 286-291.

Previous Articles     Next Articles

Analysis and Optimization of Real-Time Software in Data Recorder Based on UAV

GAO Siyuan1,2, WANG Yandong1, ZHANG Hongwei1   

  1. 1. Changchun Institute of Optics, Fine Mechanics and Physics, Chinese Academy of Sciences, Changchun 130033, China;2. University of Chinese Academy of Sciences, Beijing 100039, China
  • Received:2014-07-10 Online:2015-05-23 Published:2015-07-25

Abstract:

In order to provide important data protection for flight safety, flight maintenance and flight training, a data recorder is designed and its embedded software is investigated. First, analyze the key factors which influence the real-time data recorder software and figure out the interrupt response delay requirements according to the records of frame length data and the interrupt frequency. Then measure the interrupt response delay under different addressing modes by use of software GPO(General Purpose Output) and oscilloscope. Finally optimize the addressing recording mode according to the relationship between delay and ping-pong buffer depth. A platform is built to test the data recorder software. Experimental results indicate that the optimized software has shorter interrupt response time interval than non-optimized one. The shortest interval can reach 56 microseconds. The recorder can record all the interrupt source data with no missing data. It can satisfy the system requirements of real time and rapid speed.

Key words: data recorder, interrupt response delay, real time, ping-pong buffer

CLC Number: 

  • TP399