Improving the Precision and Speed of Euler Angles Computation from Low-Cost Rotation Sensor Data
Open Access
Abstract
This article compares three different algorithms used to compute Euler angles from data obtained by the angular rate sensor (e.g., MEMS gyroscope)—the algorithms based on a rotational matrix, on transforming angular velocity to time derivations of the Euler angles and on unit quaternion expressing rotation. Algorithms are compared by their computational efficiency and accuracy of Euler angles estimation. If attitude of the object is computed only from data obtained by the gyroscope, the quaternion-based algorithm seems to be most suitable (having similar accuracy as the matrix-based algorithm, but taking approx. 30% less clock cycles on the 8-bit microcomputer). Integration of the Euler angles’ time derivations has a singularity, therefore is not accurate at full range of object’s attitude. Since the error in every real gyroscope system tends to increase with time due to its offset and thermal drift, we also propose some measures based on compensation by additional sensors (a magnetic compass and accelerometer). Vector data of mentioned secondary sensors has to be transformed into the inertial frame of reference. While transformation of the vector by the matrix is slightly faster than doing the same by quaternion, the compensated sensor system utilizing a matrix-based algorithm can be approximately 10% faster than the system utilizing quaternions (depending on implementation and hardware).Keywords
This publication has 14 references indexed in Scilit:
- Fusion of Smartphone Motion Sensors for Physical Activity RecognitionSensors, 2014
- Gait Event Detection during Stair Walking Using a Rate GyroscopeSensors, 2014
- Implementation and Performance of a GPS/INS Tightly Coupled Assisted PLL Architecture Using MEMS Inertial SensorsSensors, 2014
- Bandwidth Optimization Design of a Multi Degree of Freedom MEMS GyroscopeSensors, 2013
- A Comparison between Different Error Modeling of MEMS Applied to GPS/INS Integrated SystemsSensors, 2013
- An Enhanced MEMS Error Modeling Approach Based on Nu-Support Vector RegressionSensors, 2012
- Sensing Movement: Microsensors for Body Motion MeasurementSensors, 2011
- Gait Event Detection on Level Ground and Incline Walking Using a Rate GyroscopeSensors, 2010
- Detection of Activities by Wireless Sensors for Daily Life Surveillance: Eating and DrinkingSensors, 2009
- Error and Performance Analysis of MEMS-based Inertial Sensors with a Low-cost GPS ReceiverSensors, 2008