Experimental validation of a quaternion-based attitude estimation with direct input to a quadcopter control system

Oyvind Magnussen, M. Ottestad, G. Hovland
{"title":"Experimental validation of a quaternion-based attitude estimation with direct input to a quadcopter control system","authors":"Oyvind Magnussen, M. Ottestad, G. Hovland","doi":"10.1109/ICUAS.2013.6564723","DOIUrl":null,"url":null,"abstract":"This paper presents a method to calculate the attitude quaternion of a quadcopter with few calculations. The quaternion calculation is based on accelerometers and gyroscopes from an Inertial Measurement Unit (IMU). The quaternion from the accelerometer is calculated as the shortest rotation arc from the gravity vector in the navigation frame. The quaternion from the gyroscope is calculated based on equations of the quaternion derivative. A complementary filter is combining the two quaternions with a componentwise comparison. The attitude estimation is calculated without any trigonometric functions. The quaternion is directly used as an input to the attitude controller. The attitude controller is a PD controller running at 400Hz. A model of the quadcopter in Matlab verified that the control system worked as intended. The estimator was verified with a Stewart platform, by mounting the quadcopter on top of it and comparing the angles from the Stewart platform with the angles from the filter. Finally the algorithms were implemented on a quadcopter controller board, and the attitude estimator were compared with the attitude estimation from a high-end IMU from MicroStrain. The complete control system was also tested on a 8-bit microcontroller running at 16 MHz. The relatively slow processor on the microcontroller was also able to do every calculations within 2.5ms.","PeriodicalId":322089,"journal":{"name":"2013 International Conference on Unmanned Aircraft Systems (ICUAS)","volume":"56 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2013-05-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"18","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2013 International Conference on Unmanned Aircraft Systems (ICUAS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICUAS.2013.6564723","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 18

Abstract

This paper presents a method to calculate the attitude quaternion of a quadcopter with few calculations. The quaternion calculation is based on accelerometers and gyroscopes from an Inertial Measurement Unit (IMU). The quaternion from the accelerometer is calculated as the shortest rotation arc from the gravity vector in the navigation frame. The quaternion from the gyroscope is calculated based on equations of the quaternion derivative. A complementary filter is combining the two quaternions with a componentwise comparison. The attitude estimation is calculated without any trigonometric functions. The quaternion is directly used as an input to the attitude controller. The attitude controller is a PD controller running at 400Hz. A model of the quadcopter in Matlab verified that the control system worked as intended. The estimator was verified with a Stewart platform, by mounting the quadcopter on top of it and comparing the angles from the Stewart platform with the angles from the filter. Finally the algorithms were implemented on a quadcopter controller board, and the attitude estimator were compared with the attitude estimation from a high-end IMU from MicroStrain. The complete control system was also tested on a 8-bit microcontroller running at 16 MHz. The relatively slow processor on the microcontroller was also able to do every calculations within 2.5ms.
四轴飞行器控制系统直接输入四元数姿态估计的实验验证
提出了一种计算少的四轴飞行器姿态四元数的方法。四元数计算基于惯性测量单元(IMU)的加速度计和陀螺仪。来自加速度计的四元数计算为导航框架中重力矢量的最短旋转弧。根据四元数导数方程计算陀螺的四元数。互补过滤器是通过组件比较将两个四元数组合在一起。姿态估计的计算不需要任何三角函数。四元数直接用作姿态控制器的输入。姿态控制器是一个工作频率为400Hz的PD控制器。在Matlab中的四轴飞行器模型验证了控制系统按预期工作。通过将四轴飞行器安装在Stewart平台上,并将Stewart平台的角度与滤波器的角度进行比较,对估计器进行了验证。最后,在四轴飞行器控制板上实现了该算法,并将姿态估计器与MicroStrain公司的高端IMU姿态估计器进行了比较。完整的控制系统也在一个运行在16 MHz的8位微控制器上进行了测试。微控制器上相对较慢的处理器也能够在2.5ms内完成每个计算。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信