Initialization algorithm for spatial orientation quaternion in Rodrigues-Hamilton parameters
https://doi.org/10.23947/1992-5980-2018-18-2-238-245
Abstract
Introduction. The correction time reduction for the spatial orientation evaluation of a solid under the orientation system initiation is considered. Solid spatial orientation is measured by the integrated values from three orthogonal angular speed sensors. Difference between the actual spatial orientation and the orientation estimated by sensors is adjusted due to the data obtained from other sensors, such as accelerometers and magnetometers. Major existing algorithms deduct data acquired from accelerometers and magnetometers from the evaluation of angular rate through the correction factor thus correcting the spatial orientation assessment error. The higher the solid inclination angle in relation to horizon when the orientation system is switched on, the greater the spatial orientation error is. The algorithm presented herein corrects the spatial orientation evaluation in quaternion components without angular rate sensors which allows minimizing the spatial orientation assessment error within shorter time in comparison with the existing algorithms.
Materials and Methods. To implement the correction algorithm, the MPU6050 sensor is used. It is made with microelectromechanical technology, and its body includes three orthogonally located angular velocity sensors and three orthogonally located accelerometers. The output data from MPU6050 sensor is processed by dsPIC33EP256MU806 microchip. The spatial orientation is calculated by the Rodrigues-Hamilton parameters in the quaternion components. The result is input to the Matlab software package which executes the program of visualizing the dependencies on the time of four quaternion components graphically.
Research Results. In existing algorithms that use the Rodrigues-Hamilton parameters, at the initial initialization of the orientation system, it is suggested to increase the correction factor, or to use the trigonometric formulas to find the Euler angles and translate them into the RodriguesHamilton parameters. In the first case, the initial initialization time remains sufficiently long, in the second case, due to the use of Euler angles, a phenomenon of “gimbal lock” can be observed. The proposed algorithm performs the initial initialization in a time equivalent to the initialization time in the Euler angles parameters, but it applies only the RodriguesHamilton parameters.
Discussion and Conclusions. Using the proposed algorithm will allow a minimum of 5-fold reduction in the initial initialization time of the spatial orientation quaternion. In consequence, the total time required for activating the system will be also reduced due to the fact that the initial initialization is necessary every time the orientation system is switched on. For the correct determination of the spatial orientation according to the proposed algorithm, the necessary condition is the absence of any acceleration on the body other than the gravitational acceleration because the initialization occurs only upon the accelerometer readings.
About the Authors
M. A. IsaevRussian Federation
Isaev, Mikhail A., graduate student of the Robotics and Mechatronics Department
344000, Rostov-on-Don, Gagarin sq., 1
A. M. Isaev
Russian Federation
Isaev, Alexander M., postgraduate student, North Caucasian State Technical University; air drone product development manager, “Stilsoft” LLC
Stavropol
N. V. Kudinov
Russian Federation
Kudinov, Nikita V., Cand.Sci. (Eng.), associate professor of the Computer and Automated Systems Software Department
344000, Rostov-on-Don, Gagarin sq., 1
R. S. Mironenko
Russian Federation
Mironenko, Roman S., Cand.Sci. (Eng.), associate professor of the Computer and Automated Systems Software Department
344000, Rostov-on-Don, Gagarin sq., 1
References
1. Veremeenko, K.K., et al. Sovremennye informatsionnye tekhnologii v zadachakh navigatsii i navedeniya bespilotnykh manevrennykh letatel'nykh apparatov. [Modern information technologies in tasks of navigation and guiding maneuvering air drones.] Moscow: FIZMATLIT, 2009, 556 p. (in Russian).
2. Branets, V.N., Shmyglevsky, I.P. Primenenie kvaternionov v zadachakh orientatsii tverdogo tela. [Application of quaternions in solid orientation problems]. Moscow: Nauka, 1973. — 320 с. (in Russian).
3. Branets, V.N., Shmyglevsky, I.P. Vvedenie v teoriyu besplatformennykh inertsial'nykh navigatsionnykh system. [Introduction to the theory of strap down inertial navigation systems.] Moscow: Nauka, 1992, 280 p. (in Russian).
4. Madgwick, S.O.H. An efficient orientation filter for inertial and inertial/magnetic sensor arrays. Report x-io and University of Bristol, 2010, 32 p.
5. Hamilton, W.R. On quaternions, or on a new system of imaginaries in algebra. Philosophical Magazine, 1844, vol. XXV, pp. 10–13.
6. Vatulyan, A.O. Kvaterniony. [Quaternions.] Soros Educational Journal, 1999, no. 5, pp. 117–120 (in Russian).
7. Gordeev, V.N. Kvaterniony i trekhmernaya geometriya. [Quaternions and three-dimensional geometry.] Kiev: Stal', 2012, 318 p. (in Russian).
8. Mahony, R., Hamel,T., Pflimlin, J.-M. Complementary filter design on the special orthogonal group. Proceedings of the 44th IEEE Conference on Decision and Control, and the European Control Conference, 2005, Seville, Spain, December 12-15, 2005, pp. 1477–1484.
9. Valenti, R.G., Dryanovsky, I., Jizhong Xiao. Keeping a Good Attitude: A Quaternion-Based Orientation Filter for IMUs and MARGs . Sensors – Open Access Journal, 2015, p. 29.
10. Grant, B., Mahony, R., Trumpf, J., Hamel, T., Cheviron, T. Complementary filter design on the Special Euclidean group SE. Control Conference (ECC), 2007 European, Kos, Greece, July 2-5, 2007, p. 8.
Review
For citations:
Isaev M.A., Isaev A.M., Kudinov N.V., Mironenko R.S. Initialization algorithm for spatial orientation quaternion in Rodrigues-Hamilton parameters. Vestnik of Don State Technical University. 2018;18(2):238-245. (In Russ.) https://doi.org/10.23947/1992-5980-2018-18-2-238-245