Improving the Precision and Speed of Euler Angles Computation from Low-Cost Rotation Sensor Data
AbstractThis 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). View Full-Text
Share & Cite This Article
Janota, A.; Šimák, V.; Nemec, D.; Hrbček, J. Improving the Precision and Speed of Euler Angles Computation from Low-Cost Rotation Sensor Data. Sensors 2015, 15, 7016-7039.
Janota A, Šimák V, Nemec D, Hrbček J. Improving the Precision and Speed of Euler Angles Computation from Low-Cost Rotation Sensor Data. Sensors. 2015; 15(3):7016-7039.Chicago/Turabian Style
Janota, Aleš; Šimák, Vojtech; Nemec, Dušan; Hrbček, Jozef. 2015. "Improving the Precision and Speed of Euler Angles Computation from Low-Cost Rotation Sensor Data." Sensors 15, no. 3: 7016-7039.