文档介绍:南京航空航天大学
硕士学位论文
小型固定翼无人机飞行控制软件设计与开发
姓名:李俊
申请学位级别:硕士
专业:精密仪器及机械
指导教师:李春涛
2011-03
南京航空航天大学硕士学位论文
摘要
随着无人机在众多领域开展的广泛应用,对其提出的要求也越来越高,作为“大脑”的飞
行控制系统也越来越受到重视。飞行控制软件是无人机飞行控制系统的重要组成部分,其性能
直接关系到无人机的飞行安全。因此在飞行控制软件的设计中既要满足基本的飞行功能,又要
提高软件本身的安全性能。本课题正是在这个研究背景和实际工程的需求下提出的。
首先,论文采用模块化思想设计开发了一种小型固定翼无人机飞行控制软件,在使整个软
件可维护和可扩展的同时,针对软件多任务动态运行、内存保护等要求,设计了数据区轮换读
写机制及软件看门狗,解决了多任务对内存读写冲突的问题,保障了飞行控制软件运行的可靠
性。
其次,结合飞行控制计算机的资源配置,完成了目标硬件的初始化、串口驱动、脉宽调制
接口驱动、模拟量驱动和离散量驱动软件设计与开发。完成底层驱动环境开发后,对飞行控制
软件进行了任务划分和优先级分配。在综合考虑飞行控制软件性能和功能需求的基础上,设计
开发了传感器采集、控制律解算、遥控遥测和导航制导等 9 个任务,实现了自主导航、指令导
航和人工导航三种飞行模态,并通过事件触发的方式对多任务进行调度管理,实现了不同飞行
模态间的平滑切换。
再次,针对机载设备的配置情况,设计了传感器信息源故障和测控系统链路故障的处理逻
辑。给出了传感器的通信状态、数据安全范围和测控系统链路等故障诊断机制,设计了传感器
高度信息源、定位信息源、测控链路等故障处置逻辑,确保了无人机的空中安全飞行。
最后,在实时仿真环境下,对飞行控制软件进行了半物理飞行仿真验证,测试了传感器故
障和测控链路故障逻辑,仿真结果表明本文所设计的软件满足了小型固定翼无人机飞行控制的
需求。
关键词:飞行控制软件,小型固定翼无人机,模块化,安全可靠,故障处理
i
小型固定翼无人机飞行控制软件设计与开发
ABSTRACT
With the UAV application in many fields, more demands are brought up on the UAV. As the
"brain" of the flight control system, it also gets more attention. Flight control software is an important
part of the flight control system. Its performance is directly related to the flight safety of UAV.
Therefore, the flight control software is not only designed to meet the basic flight capabilities, but also
to improve the safety performance of the thesis was put forward on the basis of the
research background and actual project requirement.
Firstly, this paper designed and developed the flight control software on the basis of small
fixed-wing UAV with the modularized design. This could ensure the software can be maintainable and
expansible. At the same time, considering the requirement of dynamic multi-task operation and
memory protection, the rotation of reading and writing with data area was designed to solve the
conflict that different module read and wrote with the same data area. The software watchdog was
designe