基于四元数的四轴飞行器姿态控制Quadrotor aircraft attitude control based on quaternion
荆学东,潘翔
摘要(Abstract):
为了实现四轴飞行器的姿态控制,建立四轴飞行器四元数运动学方程,给出了四元数微分方程的解析解和数值解,在此基础上求解出欧拉角。四轴飞行器采用串级PID控制算法,以欧拉角作为系统外环,补偿后的角速度作为系统内环。通过Matlab/Simulink仿真,对比单级PID控制效果,验证了算法的可靠性。最后,搭建了飞行器试验平台,在STM32飞控板上编程实现算法。实验证明,该控制系统较单级PID具有响应速度快,超调量小等优点,基本满足室外飞行要求。
关键词(KeyWords): 四轴飞行器;四元数法;PID控制算法;串级PID;姿态控制;微分方程
基金项目(Foundation): 上海市科学技术委员会科研计划项目(16090503700)~~
作者(Author): 荆学东,潘翔
DOI: 10.16652/j.issn.1004-373x.2018.16.029
参考文献(References):
- [1]何瑜.四轴飞行器控制系统设计及其姿态解算和控制算法研究[D].成都:电子科技大学,2015.HE Yu.The design of quadrotor aircraft control system and research of its attitude solving&control algorithm[D].Chengdu:University of Electronic Science and Technology of China,2015.
- [2]杨成顺.多旋翼飞行器建模与飞行控制技术研究[D].南京:南京航空航天大学,2013.YANG Chengshun.Research on modeling and flight control technology of multi-rotor aircraft[D].Nanjing:Nanjing University of Aeronautics and Astronautics,2013.
- [3]刘豹,唐万生.现代控制理论[M].3版.北京:机械工业出版社,2006.LIU Bao,TANG Wansheng.Modern control theory[M].3rd ed.Beijing:China Machine Press,2006.
- [4]秦永元.惯性导航[M].2版.北京:科学出版社,2014.QIN Yongyuan.Inertial navigation[M].2nd ed.Beijing:Science Press,2014.
- [5]张承岫,李铁鹰,王耀力.基于MPU6050和互补滤波的四旋翼飞控系统设计[J].传感技术学报,2016,29(7):1011-1015.ZHANG Chengxiu,LI Tieying,WANG Yaoli.Design of quadrotor aircraft flight control system based on MPU6050 and adaptive complementary filter[J].Chinese journal of sensors and actuators,2016,29(7):1011-1015.
- [6]陈航科,张东升,盛晓超,等.四旋翼飞行器悬停状态姿态控制建模与仿真[J].计算机仿真,2013,30(11):41-45.CHEN Hangke,ZHANG Dongsheng,SHENGXiaochao,et al.Modeling and attitude control simulation for quadrotor aircraft in hover[J].Computer simulation,2013,30(11):41-45.
- [7]龚瑞.微型四旋翼飞行器飞行控制系统设计与验证[D].南京:南京航空航天大学,2015.GONG Rui.Design and verification of flight control system for miniature quadrotor helicopter[D].Nanjing:Nanjing University of Aeronautics and Astronautics,2015.
- [8]李世光,王文文,申梦茜,等.基于STM32的姿态测量系统设计[J].现代电子技术,2016,39(9):12-14.LI Shiguang,WANG Wenwen,SHEN Mengxi,et al.Design of attitude measurement system based on STM32[J].Modern electronics technique,2016,39(9):12-14.
- [9]DERAFA L,BENALLEGUE A,FRIDMAN L.Super twisting control algorithm for the attitude tracking of a four rotors UAV[J].Journal of the Franklin Institute,2012,349(2):685-699.
- [10]ZHAN Q,WANG J,XI X.Control system design and experiments of a quadrotor[C]//Proceedings of IEEE International Conference on Robotics and Biomimetics.Guangzhou:IEEE,2012:1152-1157.