CN104765377A - Unmanned helicopter flying control platform system based on QNX - Google Patents
Unmanned helicopter flying control platform system based on QNX Download PDFInfo
- Publication number
- CN104765377A CN104765377A CN201510169614.7A CN201510169614A CN104765377A CN 104765377 A CN104765377 A CN 104765377A CN 201510169614 A CN201510169614 A CN 201510169614A CN 104765377 A CN104765377 A CN 104765377A
- Authority
- CN
- China
- Prior art keywords
- unmanned helicopter
- data
- flight
- control
- software
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 25
- RZVHIXYEVGDQDX-UHFFFAOYSA-N 9,10-anthraquinone Chemical compound C1=CC=C2C(=O)C3=CC=CC=C3C(=O)C2=C1 RZVHIXYEVGDQDX-UHFFFAOYSA-N 0.000 claims abstract description 24
- 238000004891 communication Methods 0.000 claims description 27
- 238000005259 measurement Methods 0.000 claims description 7
- 238000005516 engineering process Methods 0.000 claims description 5
- 238000012544 monitoring process Methods 0.000 claims description 5
- 238000002955 isolation Methods 0.000 claims description 4
- 238000010276 construction Methods 0.000 claims 1
- 238000001914 filtration Methods 0.000 claims 1
- 238000013517 stratification Methods 0.000 claims 1
- 230000000153 supplemental effect Effects 0.000 claims 1
- 238000013461 design Methods 0.000 abstract description 7
- 230000004927 fusion Effects 0.000 abstract description 4
- 238000004364 calculation method Methods 0.000 abstract 2
- 238000010586 diagram Methods 0.000 description 10
- 238000011160 research Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 7
- 238000000034 method Methods 0.000 description 7
- 230000006872 improvement Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 3
- 230000006641 stabilisation Effects 0.000 description 3
- 238000011105 stabilization Methods 0.000 description 3
- 238000013500 data storage Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 241000272878 Apodiformes Species 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000005094 computer simulation Methods 0.000 description 1
- 238000006880 cross-coupling reaction Methods 0.000 description 1
- 238000013079 data visualisation Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 230000024703 flight behavior Effects 0.000 description 1
- LBDSXVIYZYSRII-BJUDXGSMSA-N helion Chemical compound [3He+2] LBDSXVIYZYSRII-BJUDXGSMSA-N 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000013178 mathematical model Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Landscapes
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
Abstract
本发明提出了一种基于QNX的无人直升机飞行控制平台系统,解决了目前无人直升机飞行控制平台搭载的处理器的运算速度较慢、整体体积过大、运行功耗较高、机载软件控制系统的实时性能、安全性能缺乏保障的问题。采用实时性能非常好的QNX Neutrino实时操作系统,搭载高性能低功耗的PC104核心控制板,运用EKF(拓展卡尔曼滤波)算法进行姿态解算、数据融合,并通过INS/GPS组合导航算法,实现自主无人直升机飞行控制平台的自主飞行。同时也改进系统软件的管理架构,通过系统模块化设计提高软件的健壮性,保障无人直升机软件系统运行的安全性和稳定性,同时也提高系统的实时性能。
The present invention proposes a QNX-based unmanned helicopter flight control platform system, which solves the problem of the slow calculation speed of the processor carried on the current unmanned helicopter flight control platform, the overall volume is too large, the operating power consumption is high, and the on-board software The real-time performance and safety performance of the control system are not guaranteed. Adopt QNX Neutrino real-time operating system with very good real-time performance, equipped with high-performance and low-power PC104 core control board, use EKF (Extended Kalman Filter) algorithm for attitude calculation, data fusion, and through INS/GPS integrated navigation algorithm, Realize the autonomous flight of the autonomous unmanned helicopter flight control platform. At the same time, it also improves the management structure of the system software, improves the robustness of the software through the system modular design, ensures the safety and stability of the software system of the unmanned helicopter, and also improves the real-time performance of the system.
Description
技术领域 technical field
本发明涉及飞行控制平台系统,尤其涉及一种无人直升飞机的飞行控制平台系统。 The invention relates to a flight control platform system, in particular to a flight control platform system for an unmanned helicopter.
背景技术 Background technique
无人直升机是一个多学科交叉耦合的具有挑战性的前沿研究方向,涉及带无人直升机的机械结构、空气动力学、飞行动力学、系统建模、传感器数据融合、捷联导航系统、嵌入式系统等领域。一套完整的无人直升机控制平台由航空电子系统、导航系统、地面站系统组成: Unmanned helicopter is a multi-disciplinary cross-coupling challenging frontier research direction, involving mechanical structure, aerodynamics, flight dynamics, system modeling, sensor data fusion, strapdown navigation system, embedded systems and other fields. A complete set of unmanned helicopter control platform consists of avionics system, navigation system and ground station system:
1.航空电子系统是无人直升机的基本组件,主要分为硬件系统、软件系统。硬件系统至少有一个MCU或计算机系统及相关的扩展板组成,实现在线分析飞行数据、运行控制算法、与地面站通信、记录必要的飞行数据。 1. The avionics system is the basic component of the unmanned helicopter, which is mainly divided into hardware system and software system. The hardware system consists of at least one MCU or computer system and related expansion boards to realize online analysis of flight data, operation of control algorithms, communication with ground stations, and recording of necessary flight data.
2.导航系统由航姿参考系统、位置参考系统组成,其中航姿参考系统向航空电子系统提供飞行必要的飞行姿态数据,位置参考系统提供飞行器实际所在位置的相关信息。 2. The navigation system is composed of an attitude reference system and a position reference system. The attitude reference system provides the necessary flight attitude data for the avionics system, and the position reference system provides relevant information about the actual position of the aircraft.
3.地面站系统由地面站软件以及无线通讯设备组成,通过无线通讯设备与无人直升机交互信息,实时监测无人直升机的。 3. The ground station system is composed of ground station software and wireless communication equipment. Through the wireless communication equipment, it exchanges information with the unmanned helicopter and monitors the unmanned helicopter in real time.
目前无人直升机通常选取嵌入式计算机作为机载核心控制板,配合外扩功能板组成航空电子系统的硬件系统。导航系统有INS(inertial navigation system,惯性导航系统)和GPS导航系统。惯性导航系统由典型的三轴加速度计、三轴陀螺仪、三轴磁力计组成,能够提供无人直升机的实际飞行姿态;GPS导航系统可提供无人直升机所在位置的经纬度、航速、高度等信息。 At present, unmanned helicopters usually choose embedded computers as the core control board onboard, and cooperate with external expansion function boards to form the hardware system of the avionics system. The navigation system includes INS (inertial navigation system, inertial navigation system) and GPS navigation system. The inertial navigation system is composed of a typical three-axis accelerometer, three-axis gyroscope, and three-axis magnetometer, which can provide the actual flight attitude of the unmanned helicopter; the GPS navigation system can provide the latitude and longitude, speed, altitude and other information of the location of the unmanned helicopter .
在无人直升机领域国外研究起步早,取得较多研究成果。其中斯坦福大学研制的hummingbird直升机,采用差分截波相位全球定位系统作为导航系统,通过机体上的四个GPS接收机来检测无人直升机的飞行姿态和航向信息,没有使用惯性导航仪、高度计等繁杂的设备,可实现自主悬停。但其没有使用惯性导航系统,无人直升机的动态航姿动态性能较差,飞行控制律难以设计;MIT大学研制的Xcell-60无人直升机采用GPS、六自由度IMU(惯性测量单元)、三轴磁力计组成导航系统,实现自主悬停;新加坡国立大学先后研制的HeLion和SheLion无人直升机,可实现基于视觉的轨迹跟踪。航空电子系统由2块PC104的板卡、一个完整的MNAV模块(集成MEMS技术的IMU模块、磁力计、GPS接收机)。 Foreign research in the field of unmanned helicopters started early and achieved many research results. Among them, the hummingbird helicopter developed by Stanford University adopts the differential chopping phase global positioning system as the navigation system, and detects the flight attitude and heading information of the unmanned helicopter through four GPS receivers on the body, without the use of inertial navigators, altimeters, etc. A device capable of autonomous hovering. But it does not use the inertial navigation system, the dynamic performance of the dynamic attitude of the unmanned helicopter is poor, and the flight control law is difficult to design; the Xcell-60 unmanned helicopter developed by MIT University uses GPS, six degrees of freedom IMU (inertial measurement unit), three The axis magnetometer forms a navigation system to realize autonomous hovering; the HeLion and SheLion unmanned helicopters developed by the National University of Singapore successively can realize vision-based trajectory tracking. The avionics system consists of 2 PC104 boards and a complete MNAV module (IMU module integrating MEMS technology, magnetometer, GPS receiver).
国内对无人直升机的研究起步较晚,技术相对落后,但也取得不少研究成果。目前许多高校和研究所对无人直升机领域进行深入的研究,比如西北工业大学、哈尔滨工业大学、南京航空航天大学、浙江大学等。其中浙江大学李平教授指导的论文《微型无人直升机飞行控制系统软件仿真与系统设计》介绍了无人直升机的软件仿真,该文主要结合各个数学模型,对无人直升机系统进行仿真设计,并且该无人直升机系统的姿态子系统、导航子系统不完善,也没能够进行实物试验,但其对无人直升机系统的仿真验证取得较大的研究成果。 Domestic research on unmanned helicopters started relatively late, and the technology is relatively backward, but many research results have also been obtained. At present, many universities and research institutes conduct in-depth research in the field of unmanned helicopters, such as Northwestern Polytechnical University, Harbin Institute of Technology, Nanjing University of Aeronautics and Astronautics, Zhejiang University, etc. Among them, the paper "Software Simulation and System Design of Miniature Unmanned Helicopter Flight Control System" directed by Professor Li Ping of Zhejiang University introduced the software simulation of unmanned helicopters. This paper mainly combined various mathematical models to simulate the design of the unmanned helicopter system, and The attitude subsystem and navigation subsystem of the unmanned helicopter system are not perfect, and no physical test can be carried out, but the simulation verification of the unmanned helicopter system has achieved great research results.
发明内容 Contents of the invention
为了解决现有技术中的问题,本发明针对国内无人直升机飞行控制平台软、硬件的不足,提出基于QNX的无人直升机飞行控制平台系统,同时也改进系统软件的管理架构,通过系统模块化设计提高软件的健壮性,保障无人直升机软件系统运行的安全性和稳定性,同时也提高系统的实时性能。 In order to solve the problems in the prior art, the present invention aims at the deficiencies of the software and hardware of the domestic unmanned helicopter flight control platform, and proposes the unmanned helicopter flight control platform system based on QNX, and also improves the management framework of the system software, through system modularization The design improves the robustness of the software, ensures the safety and stability of the software system of the unmanned helicopter, and also improves the real-time performance of the system.
本发明通过以下技术方案实现: The present invention is realized through the following technical solutions:
一种基于QNX的无人直升机飞行控制平台系统,所述系统包括机载航空电子系统、地面站系统以及手动控制系统;所述机载航空电子系统包括核心控制板、传感器采集电路板、舵机驱动电路板、XTend无线模块以及遥控信号接收器;其中,核心控制模块为PC104嵌入式计算机,所述PC104用于运行QNX实时操作系统,并运行机载软件系统,所述机载软件系统包括姿态解算算法、数据融合算法、飞行控制算法;所述机载航空电子系统通过遥控信号接收器、XTend无线模块分别与所述手动控制系统、所述地面站系统通讯,获取手动控制系统的控制信号、地面站系统的控制命令以及将实时的飞行位置姿态等数据发送到地面站系统,以供实时监测无人直升机的飞行状态;所述核心控制板与传感器采集电路板的MCU通讯,获取无人直升机的实时飞行参数数据;核心控制板与舵机驱动电路板的MCU通讯,获取手动控制系统的遥控器信号,同时将无人直升机的舵机控制信号输出到各个舵机,以控制所述无人直升机。 A QNX-based unmanned helicopter flight control platform system, the system includes an airborne avionics system, a ground station system, and a manual control system; the airborne avionics system includes a core control board, a sensor acquisition circuit board, and a steering gear Drive circuit board, XTend wireless module and remote control signal receiver; Wherein, core control module is PC104 embedded computer, and described PC104 is used for running QNX real-time operating system, and runs airborne software system, and described airborne software system includes posture Calculation algorithm, data fusion algorithm, and flight control algorithm; the airborne avionics system communicates with the manual control system and the ground station system through a remote control signal receiver and XTend wireless module to obtain control signals of the manual control system , the control command of the ground station system and data such as real-time flight position and attitude are sent to the ground station system for real-time monitoring of the flight status of the unmanned helicopter; the core control board communicates with the MCU of the sensor acquisition circuit board to obtain unmanned The real-time flight parameter data of the helicopter; the core control board communicates with the MCU of the steering gear drive circuit board to obtain the remote control signal of the manual control system, and at the same time outputs the steering gear control signal of the unmanned helicopter to each steering gear to control the drone. man helicopter.
作为本发明的进一步改进,所述核心控制板通过串行通信拓展板接收GPS接收机的数据;所述机载航空电子系统还包括惯性导航系统INS,所述软件系统还包括基于拓展卡尔曼滤波EKF算法的INS/GPS组合导航系统,通过EKF算法将INS测得的姿态数据和GPS卫星数据进行融合,得到更加准确的无人直升机飞行控制平台的位置数据和姿态数据。 As a further improvement of the present invention, the core control board receives the data of the GPS receiver through the serial communication expansion board; the airborne avionics system also includes an inertial navigation system INS, and the software system also includes The INS/GPS integrated navigation system of the EKF algorithm fuses the attitude data measured by the INS and the GPS satellite data through the EKF algorithm to obtain more accurate position data and attitude data of the unmanned helicopter flight control platform.
作为本发明的进一步改进,所述传感器采集电路板包括MCU、惯性测量单元IMU、磁力计和气压计;其中,所述IMU采用SPI通信协议,气压计采用I2C通信协议,磁力计采用TTL电平的串口通信协议。 As a further improvement of the present invention, the sensor acquisition circuit board includes an MCU, an inertial measurement unit IMU, a magnetometer, and a barometer; wherein, the IMU uses the SPI communication protocol, the barometer uses the I2C communication protocol, and the magnetometer uses a TTL level serial communication protocol.
作为本发明的进一步改进,所述舵机驱动电路板包括MCU和舵机驱动器,其中,所述舵机驱动器包括可恢复型保险丝保护舵机和电源,同时采用光耦隔离技术,隔离外接设备对MCU的干扰。 As a further improvement of the present invention, the steering gear drive circuit board includes an MCU and a steering gear driver, wherein the steering gear driver includes a recoverable fuse to protect the steering gear and power supply, and adopts optocoupler isolation technology to isolate external devices MCU interference.
作为本发明的进一步改进,所述机载软件系统基于QNX Neutrino实时操作系统开发,使用多线程系统框架,执行多任务;为了有效的实现自动控制,采用了基于PIOS架构的层次化、模块化结构,对无人机的各种操作通过各个模块来组织。 As a further improvement of the present invention, the airborne software system is developed based on the QNX Neutrino real-time operating system, uses a multi-threaded system framework, and performs multiple tasks; in order to effectively realize automatic control, a hierarchical and modular structure based on the PIOS architecture is adopted , various operations on the UAV are organized through various modules.
作为本发明的进一步改进,所述地面站包括前台、后台和内核;其中,前台直接与终端用户交互,主要为用户提供一个简单易用、界面友好的图形化界,后台用于数据传输,通过无线信道与机载软件模块通讯。本发明的有益效果是:本发明提出的基于QNX的无人直升机飞行控制平台系统,解决了目前无人直升机飞行控制平台搭载的处理器的运算速度较慢、整体体积过大、运行功耗较高、机载软件控制系统的实时性能、安全性能缺乏保障的问题。采用实时性能非常好的QNX实时操作系统,搭载高性能低功耗的PC104核心控制板,运用姿态解算算法、数据融合算法、飞行控制算法,实现自主无人直升机飞行控制平台的自主飞行。同时也改进系统软件的管理架构,通过系统模块化设计提高软件的健壮性,保障无人直升机软件系统运行的安全性和稳定性,同时也提高系统的实时性能。 As a further improvement of the present invention, the ground station includes a foreground, a background, and a kernel; wherein, the foreground directly interacts with terminal users, mainly providing users with an easy-to-use, user-friendly graphical interface, and the background is used for data transmission, through The wireless channel communicates with the on-board software modules. The beneficial effects of the present invention are: the QNX-based unmanned helicopter flight control platform system proposed by the present invention solves the problem of the slow computing speed, excessive overall volume and low operating power consumption of the processors carried on the current unmanned helicopter flight control platform. High, real-time performance and safety performance of the airborne software control system lack of guarantee. It adopts the QNX real-time operating system with very good real-time performance, equipped with a PC104 core control board with high performance and low power consumption, and uses attitude calculation algorithms, data fusion algorithms, and flight control algorithms to realize the autonomous flight of the autonomous unmanned helicopter flight control platform. At the same time, it also improves the management structure of the system software, improves the robustness of the software through the system modular design, ensures the safety and stability of the software system of the unmanned helicopter, and also improves the real-time performance of the system.
附图说明 Description of drawings
图1是本发明的基于QNX的无人直升机控制平台系统示意图; Fig. 1 is the unmanned helicopter control platform system schematic diagram based on QNX of the present invention;
图2是本发明的无人直升机硬件结构框图; Fig. 2 is a block diagram of unmanned helicopter hardware structure of the present invention;
图3是传感器采集电路的电路原理图; Fig. 3 is the circuit principle diagram of sensor acquisition circuit;
图4是遥控信号与舵机驱动电路的电路原理图; Fig. 4 is a circuit schematic diagram of the remote control signal and the steering gear drive circuit;
图5是机载软件模块间的数据共享示意图; Fig. 5 is a schematic diagram of data sharing among airborne software modules;
图6是机载软件结构示意图; Fig. 6 is a schematic structural diagram of the airborne software;
图7 是地面站层次结构图。 Figure 7 is a hierarchical structure diagram of the ground station.
具体实施方式 Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。 In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
本发明提供了一套完整的基于QNX的无人直升机控制平台,并为无人直升机控制系统制定一套基于EKF(拓展卡尔曼滤波)算法的INS/GPS组合导航系统。INS/GPS组合导航系统通过EKF算法将INS(惯性导航系统)测得的姿态数据(包括三轴陀螺仪数据、三轴加速度计数据、三轴电子罗盘数据、气压计数据),GPS导航系统接收到的卫星数据进行融合,得到更加准确的无人直升机飞行控制平台的位置数据和姿态数据,为无人直升机提供一套廉价的位置、姿态参考系统。针对无人直升机的运动特点设计飞行控制律,包括俯仰控制、横滚控制、航向控制、定高控制、定点控制。 The invention provides a complete QNX-based unmanned helicopter control platform, and develops a set of INS/GPS integrated navigation system based on EKF (extended Kalman filter) algorithm for the unmanned helicopter control system. The INS/GPS integrated navigation system uses the EKF algorithm to convert the attitude data (including three-axis gyroscope data, three-axis accelerometer data, three-axis electronic compass data, and barometer data) measured by the INS (inertial navigation system) to the GPS navigation system. The obtained satellite data are fused to obtain more accurate position data and attitude data of the unmanned helicopter flight control platform, and provide a cheap position and attitude reference system for unmanned helicopters. According to the motion characteristics of the unmanned helicopter, the flight control law is designed, including pitch control, roll control, heading control, fixed height control, and fixed point control.
本发明的无人直升机飞行控制平台系统,如附图1所示,由机载航空电子系统、地面站系统以及手动控制系统组成,该控制平台系统对无线电遥控直升机进行控制以及接收无线电遥控直升机发送的数据。其中,机载航空电子系统通过无线设备(遥控接收机、XTend无线模块)分别与手动控制系统、地面站系统通讯,获取手动控制系统的控制信号、地面站系统的控制命令。同时,将无人直升机的飞行参数传回地面站系统,用于实时监测无人直升机的飞行状态。航空电子系统通过控制无线电遥控直升机的舵机,改变无线电遥控直升机的飞行动作,再通过机载的INS(惯性导航系统)测量无线电遥控直升机的实际姿态数据,实现航空电子系统控制无线电遥控直升机。 The unmanned helicopter flight control platform system of the present invention, as shown in accompanying drawing 1, is made up of airborne avionics system, ground station system and manual control system, and this control platform system controls radio-controlled helicopter and receives radio-controlled helicopter to send The data. Among them, the airborne avionics system communicates with the manual control system and the ground station system through wireless devices (remote control receiver, XTend wireless module), and obtains the control signals of the manual control system and the control commands of the ground station system. At the same time, the flight parameters of the unmanned helicopter are transmitted back to the ground station system for real-time monitoring of the flight status of the unmanned helicopter. The avionics system changes the flight behavior of the radio-controlled helicopter by controlling the steering gear of the radio-controlled helicopter, and then measures the actual attitude data of the radio-controlled helicopter through the onboard INS (inertial navigation system), so as to realize the control of the radio-controlled helicopter by the avionics system.
航空电子系统包括硬件系统和软件系统,其中硬件系统分为核心控制模块与外扩模块,核心控制模块为PX104嵌入式计算机,外扩模块包括位姿单元、通讯单元、控制信号输入输出单元;软件系统包括姿态解算算法、飞行控制算法、地面站软件。 The avionics system includes a hardware system and a software system. The hardware system is divided into a core control module and an external expansion module. The core control module is a PX104 embedded computer, and the external expansion module includes a pose unit, a communication unit, and a control signal input and output unit; software The system includes attitude calculation algorithm, flight control algorithm, and ground station software.
对于小型为人直升机飞行控制器,目前主要采用基于PC104的嵌入式计算机系统。PC104协会针对于工业领域嵌入式应用制定的一种嵌入式计算机标准。PC104标准采用针套式连接器,可以在强干扰和振动的环境保证数据传输的可靠性,是为一些特殊嵌入式计算环境而设计,这些特点特别适合于无人直升机飞行器。PC104的这种连接方式也集成了其他模块,比如图像数据采集模块、模/数转换板、串行通信扩展板、电源板等,集成过程中不需要对系统进行重新配置,因而有更好的兼容性。 For the small man-made helicopter flight controller, the embedded computer system based on PC104 is mainly used at present. An embedded computer standard developed by the PC104 Association for embedded applications in the industrial field. The PC104 standard uses a pin socket connector, which can ensure the reliability of data transmission in environments with strong interference and vibration. It is designed for some special embedded computing environments. These features are especially suitable for unmanned helicopters. This connection method of PC104 also integrates other modules, such as image data acquisition module, analog/digital conversion board, serial communication expansion board, power supply board, etc. The system does not need to be reconfigured during the integration process, so there is a better compatibility.
无人直升机硬件结构框图如附图2所示。核心控制板PC104运行QNX Neutrino实时操作系统,并运行机载软件系统。核心控制板与传感器采集电路板的MCU(STM32F405)通讯,获取无线电遥控直升机的实时飞行数据(ADI16355为IMU即惯性测量单元、HMR3000为电子罗盘、MS5611为气压计);核心控制板与遥控信号和舵机驱动电路板的MCU(STM32F103)通讯,获取手动控制系统的遥控器信号,同时将无线电遥控直升机的舵机控制信号输出到各个舵机;核心控制板通过Xtend无线设备与地面站系统通讯,获取地面站系统的控制命令以及将实时的飞行位置姿态等数据发送到地面站系统,以供实时监测无人直升机的飞行状态;核心控制板通过串行通信拓展板接收GPS接收机的数据,并预留两路串行通信拓展接口。 The block diagram of the hardware structure of the unmanned helicopter is shown in Figure 2. The core control board PC104 runs the QNX Neutrino real-time operating system, and runs the airborne software system. The core control board communicates with the MCU (STM32F405) of the sensor acquisition circuit board to obtain real-time flight data of the radio-controlled helicopter (ADI16355 is the IMU (inertial measurement unit), HMR3000 is the electronic compass, and MS5611 is the barometer); the core control board communicates with the remote control signal and The MCU (STM32F103) of the steering gear drive circuit board communicates to obtain the remote control signal of the manual control system, and at the same time outputs the steering gear control signal of the radio-controlled helicopter to each steering gear; the core control board communicates with the ground station system through the Xtend wireless device, Obtain the control command of the ground station system and send the real-time flight position and attitude data to the ground station system for real-time monitoring of the flight status of the unmanned helicopter; the core control board receives the data of the GPS receiver through the serial communication expansion board, and Reserve two serial communication expansion interfaces.
传感器采集电路的电路原理图如附图3所示。ADI16355(IMU惯性测量单元)采用SPI通信协议,气压计MS5611采用I2C通信协议,HMR3000(磁力计)采用TTL电平的串口通信协议,同时为了保证传感器数据采集的实时性,采用STM32F405作为数据采集的MCU,其有丰富的IO口资源,主频最高可以达到168MHz,工作电压3.3V。为更好的安装IMU和改善减振效果,专门为传感器数据采集单元设计的了一个安装盒子。 The circuit principle diagram of the sensor acquisition circuit is shown in Figure 3. ADI16355 (IMU inertial measurement unit) adopts SPI communication protocol, barometer MS5611 adopts I2C communication protocol, HMR3000 (magnetometer) adopts TTL level serial port communication protocol, and in order to ensure the real-time performance of sensor data acquisition, STM32F405 is used as the data acquisition MCU, which has abundant IO port resources, the main frequency can reach up to 168MHz, and the working voltage is 3.3V. In order to better install the IMU and improve the vibration reduction effect, an installation box is specially designed for the sensor data acquisition unit.
遥控信号与舵机驱动电路的电路原理图如附图4所示。遥控器接收机的输出信号为50Hz频率、正脉冲宽度1ms-2ms的PWM信号,但控制器处理的是数字的,所以必须将PWM模拟信号用准确的数值来描述。而舵机和电调的驱动信号必须是PWM信号,因此要求MCU具备PWM捕获和输出功能。由于信号的更新周期是20ms,所以不需要太高主频MCU就可以满足要求,因此采用了成本较低的STM32F103来处理遥控信号的接收与驱动信号的输出。为了提高驱动电路的安全性,舵机驱动加入了可恢复型保险丝保护舵机和电源,同时采用光耦隔离技术,隔离外接设备对MCU的干扰。 The schematic diagram of the remote control signal and the steering gear drive circuit is shown in Figure 4. The output signal of the remote control receiver is a PWM signal with a frequency of 50Hz and a positive pulse width of 1ms-2ms, but the controller processes digital, so the PWM analog signal must be described with an accurate value. The driving signals of the steering gear and the ESC must be PWM signals, so the MCU is required to have PWM capture and output functions. Since the update period of the signal is 20ms, the MCU can meet the requirements without too high a main frequency, so the STM32F103 with a lower cost is used to process the receiving of the remote control signal and the output of the driving signal. In order to improve the safety of the driving circuit, the steering gear drive has added a resettable fuse to protect the steering gear and power supply, and at the same time adopts optocoupler isolation technology to isolate the interference of external devices to the MCU.
机载软件系统是基于QNX Neutrino实时操作系统开发的,使用多线程系统框架,执行多任务。为了有效的实现自动控制,采用了基于PIOS架构的层次化、模块化结构,对无人机的各种操作通过各个模块来组织。这种结构为新模块和功能提供了良好的灵活性与扩展性。模块到模块间没有直接的通信接口,模块不会暴露任何公共职能,也就是说,各个模块在自己的线程里跑。每个模块都可以调用库函数访问每一个UAVObject,读取与更新数据,通过此结构进行数据交互,如附图5所示。 The airborne software system is developed based on the QNX Neutrino real-time operating system, using a multi-threaded system framework to perform multiple tasks. In order to effectively realize automatic control, a hierarchical and modular structure based on PIOS architecture is adopted, and various operations of UAVs are organized through various modules. This structure provides good flexibility and extensibility for new modules and functions. There is no direct communication interface between modules, and modules do not expose any public functions, that is, each module runs in its own thread. Each module can call library functions to access each UAVObject, read and update data, and perform data interaction through this structure, as shown in Figure 5.
机载软件系统需要保证全部硬件都能正常、有效地工作,并能监测每个模块工作情况,同时与地面站系统进行良好的通信与协作。其基本任务包括: 收集导航数据;运行飞行控制算法;接收遥控信号与发出舵机、电机控制信号;与地面站通信;记录在线飞行数据。在每个执行周期,这些任务都必须严格有序的被执行,对于一些特殊任务需要能被及时执行以确保飞行安全。 The airborne software system needs to ensure that all hardware can work normally and effectively, and can monitor the working conditions of each module, and at the same time communicate and cooperate well with the ground station system. Its basic tasks include: collect navigation data; Run the flight control algorithm; Receive remote control signals and send steering gear and motor control signals; communicate with ground stations; Record online flight data. In each execution cycle, these tasks must be executed in a strict and orderly manner, and some special tasks need to be executed in time to ensure flight safety.
附图5中UAVObjects是模块之间共享的数据容器。为了实现数据分享,通常一个Module更新对象数据,然后另外一个Module使用这些数据。该系统中有三种类型的UAVObjects:Regular Data Objects,Timer Objects(用于控制其他Objects的更新速率) 和 Settings Objects(用于控制模块的操作)。 UAVObjects in Figure 5 is a data container shared between modules. In order to realize data sharing, usually a Module updates object data, and then another Module uses these data. There are three types of UAVObjects in this system: Regular Data Objects, Timer Objects (used to control the update rate of other Objects) and Settings Objects (used to control the operation of the module).
飞行控制器机载软件结构如附图6所示。机载软件由不同的模块组成,每个模块对应一种设备或任务。 The flight controller onboard software structure is shown in Figure 6. On-board software consists of different modules, one for each type of equipment or task.
(1)Sensor模块用于收集所有传感器数据,为AHRS模块和Navigation模块提供以下测量数据加速度;角速率;磁场前度;以经纬度和高度为坐标的地理位置;NED轴系的速度。 (1) The Sensor module is used to collect all sensor data and provide the following measurement data for the AHRS module and Navigation module acceleration; Angular rate; Magnetic field front; Geographic location with longitude, latitude and altitude as coordinates; The speed of the NED axis.
(2)AHRS模块为航行姿态参考系统,根据当前的传感器数据计算出无人机姿态角。 (2) The AHRS module is a navigation attitude reference system, which calculates the UAV attitude angle based on the current sensor data.
(3)Navigation模块,读取自动控制所需的在线飞行数据估计测量状态,它还包括了一套完善的INS/GPS导航算法,为无人机飞行控制提供飞行器的位置与姿态信息。 (3) Navigation module, which reads the online flight data required for automatic control and estimates the measurement status. It also includes a complete set of INS/GPS navigation algorithms to provide the position and attitude information of the aircraft for UAV flight control.
(4)Stabilization模块是增稳模块,是无人机的内环控制器,输入为当前的遥控控制量或位置环输出的roll、pitch、yaw的控制量和UAV的当前姿态,通过PID控制器输出为roll、pitch、yaw三个方向的控制量。 (4) The Stabilization module is a stabilization module, which is the inner loop controller of the UAV. The input is the current remote control amount or the control amount of roll, pitch, yaw output by the position loop and the current attitude of the UAV, through the PID controller The output is the control amount in the three directions of roll, pitch and yaw.
(5)AutoControl模块实现自动飞行控制律。在飞行控制软件中,这是唯一的不与硬件进行交互的模块,其主要功能包括获取从Navigation模块送出的无人机飞行姿态和位置信息,基于当前的飞行状态运行控制算法,产生控制信号,驱动伺服舵机。 (5) The AutoControl module realizes the automatic flight control law. In the flight control software, this is the only module that does not interact with the hardware. Its main functions include obtaining the flight attitude and position information of the UAV sent from the Navigation module, operating the control algorithm based on the current flight state, and generating control signals. Drive the servo steering gear.
(6)Actuator是执行模块,收集Stabilization模块输出的roll、pitch、yaw控制量和throttle控制量,经过无人机的十字盘解算转换成各个舵机和油门的控制输出。 (6) Actuator is the execution module, which collects the roll, pitch, yaw control quantities and throttle control quantities output by the Stabilization module, and converts them into the control outputs of each steering gear and throttle through the swashplate of the drone.
(7)Telemetry是无线通信模块,用于机载系统与地面站系统通过2.4G模块进行通信,实现所需在线数据的下载和用户命令/航迹指令的上传。 (7) Telemetry is a wireless communication module, which is used for communication between the airborne system and the ground station system through the 2.4G module, to realize the download of required online data and the upload of user commands/track instructions.
(8)Logger是数据记录模块,实时记录飞行数据,作为存储介质使用了SSD存储器。 (8) Logger is a data recording module that records flight data in real time and uses SSD memory as a storage medium.
(9)ManualControl是解析地面遥控器遥控命令的输入,收集遥控器各通道的摇杆命令,实现飞行模式的切换及地面辅助飞行,在实验过程中非常必要的手动备份模块。 (9) ManualControl is to analyze the input of the remote control commands of the ground remote control, collect the joystick commands of each channel of the remote control, and realize the switching of flight modes and ground-assisted flight. It is a very necessary manual backup module during the experiment.
(10)Manager管理上述所有模块,通过全局共享数据方案即前文的PIOS,完成软件系统内部数据的交互,并监视各个模块的运行状态。 (10) Manager manages all the above-mentioned modules, completes the interaction of internal data of the software system through the global shared data scheme, namely the PIOS mentioned above, and monitors the running status of each module.
地面站担任用户终端的角色,通过无线电监视无人机的飞行状态并上传命令。在飞行试验中,无人直升机的在线飞行数据从机载系统下传到地面站显示,地面站的任务就为用户提供一个友好、真实的界面,监视飞过程,实现数据可视化。地面站分为三层:前台、后台和内核,如附图7所示。 The ground station acts as a user terminal, monitoring the flight status of the UAV and uploading commands through radio. In the flight test, the online flight data of the unmanned helicopter is downloaded from the airborne system to the ground station for display. The task of the ground station is to provide users with a friendly and real interface, monitor the flight process, and realize data visualization. The ground station is divided into three layers: foreground, background and core, as shown in Figure 7.
(1)前台直接与终端用户交互,主要为用户提供一个简单易用、界面友好的图形化界。 (1) The front desk directly interacts with end users, mainly providing users with an easy-to-use and friendly graphical interface.
(2)后台用于数据传输,通过无线信道与机载软件模块(即Telemetry线程)通信。后台的数据接收线程连续读取地面站与无线通信模块Xtend连接的串行口,更新有内核层创建的全局共享数据库存储区;另一方面,后台的数据发送线程不断检查全局共享数据存储区,以便及时捕获前台处理的用户命令,然后写入串行口。 (2) The background is used for data transmission, and communicates with the onboard software module (ie, the Telemetry thread) through a wireless channel. The data receiving thread in the background continuously reads the serial port connected between the ground station and the wireless communication module Xtend, and updates the global shared database storage area created by the kernel layer; on the other hand, the data sending thread in the background continuously checks the global shared data storage area, In order to capture the user commands processed by the foreground in time, and then write them into the serial port.
(3)内核是一个文档类,作为全局共享数据的宿主,集成了各种处理与访问算法,连接通信线程与前/后台的各个视图,设计两个动态数据链接:当后台数据接收线程接收到新的在线数据包时,内核更新其在全局存储区中的数据,激活前台调用显示函数;当前台处理了一个新的用户命令后,内核类似地更新其数据存储区,激活后台上传数据到机载系统。 (3) The kernel is a document class. As the host of global shared data, it integrates various processing and access algorithms, connects the communication thread and each view of the front/background, and designs two dynamic data links: When the background data receiving thread receives a new online data packet, the kernel updates its data in the global storage area and activates the foreground to call the display function; When the foreground processes a new user command, the kernel similarly updates its data storage area and activates the background to upload data to the onboard system.
以上内容是结合具体的优选实施方式对本发明所作的进一步详细说明,不能认定本发明的具体实施只局限于这些说明。对于本发明所属技术领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干简单推演或替换,都应当视为属于本发明的保护范围。 The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be assumed that the specific implementation of the present invention is limited to these descriptions. For those of ordinary skill in the technical field of the present invention, without departing from the concept of the present invention, some simple deduction or replacement can be made, which should be regarded as belonging to the protection scope of the present invention.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510169614.7A CN104765377A (en) | 2015-04-10 | 2015-04-10 | Unmanned helicopter flying control platform system based on QNX |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510169614.7A CN104765377A (en) | 2015-04-10 | 2015-04-10 | Unmanned helicopter flying control platform system based on QNX |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104765377A true CN104765377A (en) | 2015-07-08 |
Family
ID=53647283
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510169614.7A Pending CN104765377A (en) | 2015-04-10 | 2015-04-10 | Unmanned helicopter flying control platform system based on QNX |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104765377A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105014687A (en) * | 2015-08-07 | 2015-11-04 | 东北电力大学 | Mechanical arm with multi-rotor-wing unmanned aerial vehicle |
CN105468019A (en) * | 2015-12-23 | 2016-04-06 | 中国工程物理研究院总体工程研究所 | Unmanned aerial vehicle flight control method for independent concurrent realization of multiple tasks |
CN105807779A (en) * | 2016-05-11 | 2016-07-27 | 飞智控(天津)科技有限公司 | Flight control system and method for unmanned aerial vehicle |
CN105928519A (en) * | 2016-04-19 | 2016-09-07 | 成都翼比特自动化设备有限公司 | Navigation algorithm based on INS inertial navigation, GPS navigation and magnetometer |
CN105955305A (en) * | 2016-07-07 | 2016-09-21 | 苏州大学 | Four-axis unmanned aerial vehicle |
CN106384329A (en) * | 2016-10-26 | 2017-02-08 | 合肥润客软件科技有限公司 | Screen graphics processing system based on QNX operating system |
CN107870628A (en) * | 2016-09-27 | 2018-04-03 | 北京理工大学 | An unmanned helicopter ground control system and its control method |
CN107870625A (en) * | 2016-09-26 | 2018-04-03 | 北京理工大学 | An Unmanned Helicopter Onboard Mission Manager |
CN108255054A (en) * | 2017-12-28 | 2018-07-06 | 北京航空航天大学 | A kind of double remaining kinetic control systems of deep water AUV |
CN110501975A (en) * | 2019-07-22 | 2019-11-26 | 北京中航智科技有限公司 | The integrated digital servo straight line steering engine of unmanned helicopter |
CN119091694A (en) * | 2024-09-03 | 2024-12-06 | 南京航空航天大学 | Collaborative data fusion method of ADS-B, 5G, ad hoc network and Remote ID based on Kalman filter |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011034236A1 (en) * | 2009-09-16 | 2011-03-24 | 건국대학교 산학협력단 | Flight control system for an unmanned aerial vehicle using the postural change of a controller, and method for operating flight control system |
CN102201027A (en) * | 2010-03-26 | 2011-09-28 | 国营东方仪器厂 | Navigation/flight control computer for unmanned aerial vehicle |
US20120215384A1 (en) * | 2009-10-30 | 2012-08-23 | Emerald Sky Technologies, LLC | Flight Control System with Dynamic Allocation of Functionality Between Flight Crew and Automation |
CN102707725A (en) * | 2012-06-12 | 2012-10-03 | 桂林飞宇电子科技有限公司 | Fixed-wing automatic navigation flight control system and using method thereof |
CN202771262U (en) * | 2012-06-12 | 2013-03-06 | 桂林飞宇电子科技有限公司 | Fixed-wing automatic navigation flight control system |
CN103149846A (en) * | 2011-12-06 | 2013-06-12 | 中国科学院沈阳自动化研究所 | Flying robot control system semi-physical simulation platform |
-
2015
- 2015-04-10 CN CN201510169614.7A patent/CN104765377A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011034236A1 (en) * | 2009-09-16 | 2011-03-24 | 건국대학교 산학협력단 | Flight control system for an unmanned aerial vehicle using the postural change of a controller, and method for operating flight control system |
US20120215384A1 (en) * | 2009-10-30 | 2012-08-23 | Emerald Sky Technologies, LLC | Flight Control System with Dynamic Allocation of Functionality Between Flight Crew and Automation |
CN102201027A (en) * | 2010-03-26 | 2011-09-28 | 国营东方仪器厂 | Navigation/flight control computer for unmanned aerial vehicle |
CN103149846A (en) * | 2011-12-06 | 2013-06-12 | 中国科学院沈阳自动化研究所 | Flying robot control system semi-physical simulation platform |
CN102707725A (en) * | 2012-06-12 | 2012-10-03 | 桂林飞宇电子科技有限公司 | Fixed-wing automatic navigation flight control system and using method thereof |
CN202771262U (en) * | 2012-06-12 | 2013-03-06 | 桂林飞宇电子科技有限公司 | Fixed-wing automatic navigation flight control system |
Non-Patent Citations (1)
Title |
---|
姜广山: "《基于QNX的无人直升机飞行控制软件开发》", 《中国优秀硕士学位论文全文数据库(电子期刊)》 * |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105014687A (en) * | 2015-08-07 | 2015-11-04 | 东北电力大学 | Mechanical arm with multi-rotor-wing unmanned aerial vehicle |
CN105468019A (en) * | 2015-12-23 | 2016-04-06 | 中国工程物理研究院总体工程研究所 | Unmanned aerial vehicle flight control method for independent concurrent realization of multiple tasks |
CN105928519B (en) * | 2016-04-19 | 2019-03-29 | 成都翼比特自动化设备有限公司 | Navigation algorithm based on INS inertial navigation and GPS navigation and magnetometer |
CN105928519A (en) * | 2016-04-19 | 2016-09-07 | 成都翼比特自动化设备有限公司 | Navigation algorithm based on INS inertial navigation, GPS navigation and magnetometer |
CN105807779A (en) * | 2016-05-11 | 2016-07-27 | 飞智控(天津)科技有限公司 | Flight control system and method for unmanned aerial vehicle |
CN105955305A (en) * | 2016-07-07 | 2016-09-21 | 苏州大学 | Four-axis unmanned aerial vehicle |
CN107870625A (en) * | 2016-09-26 | 2018-04-03 | 北京理工大学 | An Unmanned Helicopter Onboard Mission Manager |
CN107870628A (en) * | 2016-09-27 | 2018-04-03 | 北京理工大学 | An unmanned helicopter ground control system and its control method |
CN107870628B (en) * | 2016-09-27 | 2021-03-19 | 北京理工大学 | An unmanned helicopter ground control system and its control method |
CN106384329A (en) * | 2016-10-26 | 2017-02-08 | 合肥润客软件科技有限公司 | Screen graphics processing system based on QNX operating system |
CN108255054A (en) * | 2017-12-28 | 2018-07-06 | 北京航空航天大学 | A kind of double remaining kinetic control systems of deep water AUV |
CN110501975A (en) * | 2019-07-22 | 2019-11-26 | 北京中航智科技有限公司 | The integrated digital servo straight line steering engine of unmanned helicopter |
CN119091694A (en) * | 2024-09-03 | 2024-12-06 | 南京航空航天大学 | Collaborative data fusion method of ADS-B, 5G, ad hoc network and Remote ID based on Kalman filter |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104765377A (en) | Unmanned helicopter flying control platform system based on QNX | |
CN103365295B (en) | Based on the autonomous hover control system of four rotor unmanned aircrafts and the method for DSP | |
Giernacki et al. | Crazyflie 2.0 quadrotor as a platform for research and education in robotics and control engineering | |
CN100495275C (en) | Autonomous Flight Control System for Small Unmanned Helicopter | |
CN104615142B (en) | Flight controller for civil small UAV (Unmanned Aerial Vehicle) | |
CN102707725B (en) | Fixed-wing automatic navigation flight control system and using method thereof | |
CN104460685A (en) | Control system for four-rotor aircraft and control method of control system | |
CN104503467A (en) | Autonomous take-off and landing flight control system of unmanned aerial vehicle based on dual-core architecture | |
CN101515178A (en) | Master-slave burden type redundancy automatic unmanned aircraft pilot based on CAN bus | |
CN202758243U (en) | Unmanned aerial vehicle flight control system | |
TWI558617B (en) | Unmanned flight vehicle autonomous flight computer system and control method | |
CN110187700B (en) | Remote control system and method of bionic flapping-wing flying robot based on virtual reality | |
CN202771262U (en) | Fixed-wing automatic navigation flight control system | |
CN104331086A (en) | Flight control system of small multi-rotor for power line patrol | |
CN105589467A (en) | Low-cost expansion flight attitude sensor module | |
CN105468010A (en) | Multi-degree of freedom inertial sensor four-axis unmanned aerial vehicle autonomous navigation flight controller | |
CN106547275A (en) | A kind of new rotor class unmanned plane is automatically positioned control method | |
CN110187695A (en) | A UAV collaborative control verification platform | |
Yongliang et al. | Attitude estimation for small helicopter using extended kalman filter | |
CN206348668U (en) | A kind of design of UAV flight control system | |
Garratt et al. | Platform enhancements and system identification for control of an unmanned helicopter | |
Ates et al. | Design and hardware-in-the-loop integration of a uav microavionics system in a manned–unmanned joint airspace flight network simulator | |
CN116300520A (en) | A virtual flight simulation method and system for unmanned aerial vehicles | |
CN108415448A (en) | A kind of winged control method and system of aerial crusing robot | |
CN206930962U (en) | A kind of integrated flight control system of low cost miniaturization |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150708 |