摘要
为了在无人机飞行过程中实时监测并记录飞行数据,设计了数据记录仪,并对该数据记录仪的接口实时性进行了研究;根据实时性的分析结果,按照所需记录数据的速度和时间要求,FPGA设计中断方式和乒乓缓存,得到最优记录模式;软件根据记录数据的优先级进行处理,改进软件指令和中断处理方式,实际应用表明,优化后的图像数据搬移时间达到90μs,同步串口是数据搬移时间达到740μs,大大提高了实时性,同时减轻了CPU的负担,达到了无人机对数据记录仪的实时性要求。
In order to record parameters on high reliability electronic equipment,a data recorder is designed,the timing of each interface of the data recorder is also studied.The interface of the data recorder is analyzed in real time,according to the speed and time requirement of recorded data,PL designs interrupt mode and ping-pong buffer,and obtains the optimal recording mode.PS is processed according to the priority of recorded data,Improving software instruction and interrupt processing.Experimental results indicate that the optimized software has shorter interrupt response time.The moving time of image data can reach 90 microseconds.The moving time of sync-uart data can reach 740 microseconds.The system test shows that the system has the characteristic of simple operation and high efficiency,at the same time release the main CPU,that it can meet the real-time requirement of UAV for data recorder.
作者
杜金艳
Du Jinyan(Tianjin Jinhang Computing Technology Research Institute,Tianjin 300308,China)
出处
《计算机测量与控制》
2020年第1期261-265,共5页
Computer Measurement &Control