摘要
研究了无人机飞行控制器通讯软件的实时性问题。运用中断服务程序就地帧识别、有限状态机、缓存共用和代码优化技术,设计了具有多通讯协议的强实时性串行通讯接收程序。经过实际运行测试,程序解码率高、可靠性好、实时性强、运行时间合理,满足了无人机飞行控制对串行通讯程序的性能要求。
The real-time property of the serial communication program for UAV(Unmanned Aerial Vehicle) flight controller was studied. The hard real-time serial receiving program which dealt with totally four different data frames was designed with four techniques: data frame picking-up in interrupt serve program, finite state machine theory, buffer sharing and code optimizing. Test results show that the program has reasonable time consumption and ideal hard real-time property. Meanwhile, it has an outstanding data frame picking-up ratio with high reliability and satisfies the requirement to control the UAV craft by serial communication.
出处
《计算机应用》
CSCD
北大核心
2005年第1期210-212,共3页
journal of Computer Applications
关键词
无人机
串行通讯
强实时性
程序设计
unmanned aerial vehicle
serial communication
hard real-time
program design