<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.3 20210610//EN" "JATS-journalpublishing1-3.dtd">
<article article-type="research-article" dtd-version="1.3" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xml:lang="en"><front><journal-meta><journal-id journal-id-type="publisher-id">donstu</journal-id><journal-title-group><journal-title xml:lang="en">Advanced Engineering Research (Rostov-on-Don)</journal-title><trans-title-group xml:lang="ru"><trans-title>Advanced Engineering Research (Rostov-on-Don)</trans-title></trans-title-group></journal-title-group><issn pub-type="epub">2687-1653</issn><publisher><publisher-name>Don State Technical University</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.23947/1992-5980-2018-18-2-238-245</article-id><article-id custom-type="elpub" pub-id-type="custom">donstu-489</article-id><article-categories><subj-group subj-group-type="heading"><subject>Research Article</subject></subj-group><subj-group subj-group-type="section-heading" xml:lang="en"><subject>INFORMATION TECHNOLOGY, COMPUTER SCIENCE AND MANAGEMENT</subject></subj-group><subj-group subj-group-type="section-heading" xml:lang="ru"><subject>ИНФОРМАТИКА, ВЫЧИСЛИТЕЛЬНАЯ ТЕХНИКА И УПРАВЛЕНИЕ</subject></subj-group></article-categories><title-group><article-title>Initialization algorithm for spatial orientation quaternion in Rodrigues-Hamilton parameters</article-title><trans-title-group xml:lang="ru"><trans-title>Алгоритм начальной инициализации кватерниона пространственной ориентации в параметрах Родрига-Гамильтона</trans-title></trans-title-group></title-group><contrib-group><contrib contrib-type="author" corresp="yes"><contrib-id contrib-id-type="orcid">https://orcid.org/0000-0002-1972-6923</contrib-id><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Исаев</surname><given-names>М. А.</given-names></name><name name-style="western" xml:lang="en"><surname>Isaev</surname><given-names>M. A.</given-names></name></name-alternatives><bio xml:lang="ru"><p>Исаев Михаил Александрович, магистрант кафедры «Робототехника и мехатроника» </p><p>344000, г. Ростов-на-Дону, пл. Гагарина, 1</p></bio><bio xml:lang="en"><p>Isaev, Mikhail A., graduate student of the Robotics and Mechatronics Department</p><p>344000, Rostov-on-Don, Gagarin sq., 1</p></bio><email xlink:type="simple">mrraptor26@gmail.com</email><xref ref-type="aff" rid="aff-1"/></contrib><contrib contrib-type="author" corresp="yes"><contrib-id contrib-id-type="orcid">https://orcid.org/0000-0002-3307-5397</contrib-id><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Исаев</surname><given-names>А. М.</given-names></name><name name-style="western" xml:lang="en"><surname>Isaev</surname><given-names>A. M.</given-names></name></name-alternatives><bio xml:lang="ru"><p>Исаев Александр Михайлович, аспирант Северокавказского государственного технического университета; руководитель отдела разработки беспилотных летательных аппаратов ООО «Стилсофт» </p><p>г. Ставрополь</p></bio><bio xml:lang="en"><p>Isaev, Alexander M., postgraduate student, North Caucasian State Technical University; air drone product development manager, “Stilsoft” LLC</p><p>Stavropol</p></bio><xref ref-type="aff" rid="aff-2"/></contrib><contrib contrib-type="author" corresp="yes"><contrib-id contrib-id-type="orcid">https://orcid.org/0000-003-4723-0906</contrib-id><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Кудинов</surname><given-names>Н. В.</given-names></name><name name-style="western" xml:lang="en"><surname>Kudinov</surname><given-names>N. V.</given-names></name></name-alternatives><bio xml:lang="ru"><p>Кудинов Никита Валерьевич, кандидат технических наук, доцент кафедры «Программное обеспечение вычислительной техники и автоматизированных систем» </p><p>344000, г. Ростов-на-Дону, пл. Гагарина, 1</p></bio><bio xml:lang="en"><p>Kudinov, Nikita V., Cand.Sci. (Eng.), associate professor of the Computer and Automated Systems Software Department</p><p>344000, Rostov-on-Don, Gagarin sq., 1</p></bio><email xlink:type="simple">kudinov_nikita@mail.ru</email><xref ref-type="aff" rid="aff-1"/></contrib><contrib contrib-type="author" corresp="yes"><contrib-id contrib-id-type="orcid">https://orcid.org/0000-0003-1873-7222</contrib-id><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Мироненко</surname><given-names>Р. С.</given-names></name><name name-style="western" xml:lang="en"><surname>Mironenko</surname><given-names>R. S.</given-names></name></name-alternatives><bio xml:lang="ru"><p>Мироненко Роман Сергеевич, кандидат технических наук, доцент кафедры «Робототехника и мехатроника» </p><p>344000, г. Ростов-на-Дону, пл. Гагарина, 1</p></bio><bio xml:lang="en"><p>Mironenko, Roman S., Cand.Sci. (Eng.), associate professor of the Computer and Automated Systems Software Department</p><p>344000, Rostov-on-Don, Gagarin sq., 1</p></bio><email xlink:type="simple">rmironenko@donstu.ru</email><xref ref-type="aff" rid="aff-1"/></contrib></contrib-group><aff-alternatives id="aff-1"><aff xml:lang="ru"><institution>Донской государственный технический университет</institution><country>Россия</country></aff><aff xml:lang="en"><institution>Don State Technical University</institution><country>Russian Federation</country></aff></aff-alternatives><aff-alternatives id="aff-2"><aff xml:lang="ru"><institution>Северокавказский государственный технический университет;&#13;
ООО «Стилсофт»</institution><country>Россия</country></aff><aff xml:lang="en"><institution>North Caucasian State Technical University; &#13;
“Stilsoft” LLC</institution><country>Russian Federation</country></aff></aff-alternatives><pub-date pub-type="collection"><year>2018</year></pub-date><pub-date pub-type="epub"><day>03</day><month>07</month><year>2018</year></pub-date><volume>18</volume><issue>2</issue><fpage>238</fpage><lpage>245</lpage><permissions><copyright-statement>Copyright &amp;#x00A9; Isaev M.A., Isaev A.M., Kudinov N.V., Mironenko R.S., 2018</copyright-statement><copyright-year>2018</copyright-year><copyright-holder xml:lang="ru">Исаев М.А., Исаев А.М., Кудинов Н.В., Мироненко Р.С.</copyright-holder><copyright-holder xml:lang="en">Isaev M.A., Isaev A.M., Kudinov N.V., Mironenko R.S.</copyright-holder><license xml:lang="ru" license-type="creative-commons-attribution" xlink:href="https://creativecommons.org/licenses/by/4.0/" xlink:type="simple"><license-p>Данная работа распространяется под лицензией Creative Commons Attribution 4.0.</license-p></license><license xml:lang="en" license-type="creative-commons-attribution" xlink:href="https://creativecommons.org/licenses/by/4.0/" xlink:type="simple"><license-p>This work is licensed under a Creative Commons Attribution 4.0 License.</license-p></license></permissions><self-uri xlink:href="https://www.vestnik-donstu.ru/jour/article/view/489">https://www.vestnik-donstu.ru/jour/article/view/489</self-uri><abstract><sec><title>Introduction</title><p>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. </p></sec><sec><title>Materials and Methods</title><p>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.</p></sec><sec><title>Research Results</title><p>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. </p><p>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. </p></sec></abstract><trans-abstract xml:lang="ru"><sec><title>Введение</title><p>Введение. Настоящая работа посвящена уменьшению времени коррекции оценки пространственной ориентации твердого тела в момент включения системы ориентации. Для определения пространственной ориентации твердого тела используются интегрированные показания от трех ортогонально расположенных датчиков угловой скорости. Возникающая при интегрировании разница между реальной пространственной ориентацией и ориентацией, оцененной с помощью датчиков, корректируется за счет информации, получаемой от других датчиков, таких как акселерометры и магнитометры. В большинстве существующих методов информация, полученная от акселерометров и магнитометров и преобразованная с помощью алгоритма, умножается на коэффициент коррекции и вычитается из оценки угловой скорости, тем самым корректируя оценку пространственной ориентации. Чем больше угол наклона твердого тела относительно горизонта в момент включения системы ориентации, тем больше ошибка оценки пространственной ориентации. Предлагаемый в данной работе алгоритм корректирует оценку пространственной ориентации в компонентах кватерниона без использования датчиков угловой скорости, что позволяет за меньшее, по сравнению с существующими алгоритмами, время свести к минимуму ошибку оценки ориентации. </p></sec><sec><title>Материалы и методы</title><p>Материалы и методы. Для отработки алгоритма коррекции был использован датчик MPU6050, выполненный по микроэлектромеханической технологии и имеющий в одном корпусе три ортогонально расположенных измерителя угловой скорости и три ортогонально расположенных акселерометра. Информацию, поступающую с MPU6050, обрабатывает микроконтроллер dsPIC33EP256MU806. Пространственная ориентация вычисляется чере параметры Родрига-Гамильтона в компонентах кватерниона, результат вычислений передается в программный пакет Matlab, выполняющий программу для визуализации зависимостей от времени четырёх компонент кватерниона в виде графиков. </p></sec><sec><title>Результаты исследования</title><p>Результаты исследования. В существующих алгоритмах, использующих параметры Родрига-Гамильтона, при начальной инициализации системы ориентации авторами предложено увеличивать значение коэффициента коррекции на время инициализации, либо с помощью тригонометрических формул находить углы Эйлера и переводить их в параметры Родрига-Гамильтона. В первом случае время начальной инициализации остается достаточно большим, во втором случае, из-за использования углов Эйлера, может возникать такое явление как «шарнирный замок». Предложенный в данной работе алгоритм осуществляет начальную инициализацию за время, сравнимое со временем инициализации в углах Эйлера, но при этом использует только параметры Родрига-Гамильтона. </p></sec><sec><title>Обсуждение и заключения</title><p>Обсуждение и заключения. Использование предложенного алгоритма позволит минимум в 5 раз сократить время начальной инициализации кватерниона пространственной ориентации и, как следствие, общее время, необходимое для приведения системы в рабочее состояние, за счет того, что начальная инициализация необходима при каждом включении системы ориентации. В силу того, что инициализация происходит только по показаниям акселерометра, то для корректного определения пространственной ориентации по предложенному алгоритму необходимым условием является отсутствие любых ускорений на тело кроме ускорения свободного падения.</p></sec></trans-abstract><kwd-group xml:lang="ru"><kwd>кватернион</kwd><kwd>параметры РодригаГамильтона</kwd><kwd>приборный базис</kwd><kwd>коррекция</kwd><kwd>гироскопы</kwd><kwd>акселерометры</kwd><kwd>плоскость приведения</kwd></kwd-group><kwd-group xml:lang="en"><kwd>quaternion</kwd><kwd>Rodrigues-Hamilton parameters</kwd><kwd>instrument coordinate system</kwd><kwd>correction</kwd><kwd>gyroscopes</kwd><kwd>accelerometers</kwd><kwd>reference plane</kwd></kwd-group></article-meta></front><back><ref-list><title>References</title><ref id="cit1"><label>1</label><citation-alternatives><mixed-citation xml:lang="ru">Современные информационные технологии в задачах навигации и наведения беспилотных маневренных летательных аппаратов / К. К. Веремеенко [и др.], — Москва: ФИЗМАТЛИТ, 2009 г., 556 с.</mixed-citation><mixed-citation xml:lang="en">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).</mixed-citation></citation-alternatives></ref><ref id="cit2"><label>2</label><citation-alternatives><mixed-citation xml:lang="ru">Бранец, В. Н. Применение кватернионов в задачах ориентации твердого тела / В. Н. Бранец, И. П. Шмыглевский. — Москва : Наука, 1973. — 320 с.</mixed-citation><mixed-citation xml:lang="en">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).</mixed-citation></citation-alternatives></ref><ref id="cit3"><label>3</label><citation-alternatives><mixed-citation xml:lang="ru">Бранец, В. Н. Введение в теорию бесплатформенных инерциальных навигационных систем / В. Н. Бранец, И. П. Шмыглевский. — Москва : Наука, 1992. — 280 с.</mixed-citation><mixed-citation xml:lang="en">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).</mixed-citation></citation-alternatives></ref><ref id="cit4"><label>4</label><citation-alternatives><mixed-citation xml:lang="ru">Madgwick S.O.H. An efficient orientation filter for inertial and inertial/magnetic sensor arrays / S.O.N. Madgwick // Report x-io and University of Bristol 2010. — 32 p.</mixed-citation><mixed-citation xml:lang="en">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.</mixed-citation></citation-alternatives></ref><ref id="cit5"><label>5</label><citation-alternatives><mixed-citation xml:lang="ru">Hamilton, W.R. On quaternions, or on a new system of imaginaries in algebra / W.R. Hamilton // Philosophical Magazine 1844. — Vol. XXV, — P. 10–13.</mixed-citation><mixed-citation xml:lang="en">Hamilton, W.R. On quaternions, or on a new system of imaginaries in algebra. Philosophical Magazine, 1844, vol. XXV, pp. 10–13.</mixed-citation></citation-alternatives></ref><ref id="cit6"><label>6</label><citation-alternatives><mixed-citation xml:lang="ru">Ватульян, А. О. Кватернионы / А. О. Ватульян // Соросовский образовательный журнал. — 1999. — № 5. — С. 117–120.</mixed-citation><mixed-citation xml:lang="en">Vatulyan, A.O. Kvaterniony. [Quaternions.] Soros Educational Journal, 1999, no. 5, pp. 117–120 (in Russian).</mixed-citation></citation-alternatives></ref><ref id="cit7"><label>7</label><citation-alternatives><mixed-citation xml:lang="ru">Гордеев, В. Н. Кватернионы и трехмерная геометрия / В. Н. Гордеев. — Киев: Сталь, 2012. — 318 с.</mixed-citation><mixed-citation xml:lang="en">Gordeev, V.N. Kvaterniony i trekhmernaya geometriya. [Quaternions and three-dimensional geometry.] Kiev: Stal', 2012, 318 p. (in Russian).</mixed-citation></citation-alternatives></ref><ref id="cit8"><label>8</label><citation-alternatives><mixed-citation xml:lang="ru">Mahony, R. Complementary filter design on the special orthogonal group / Robert Mahony, Tarek Hamel, Jean-Michel Pflimlin // Proceedings of the 44th IEEE Conference on Decision and Control, and the European Control Conference 2005 Seville, Spain, December 12-15, 2005. P. 1477–1484.</mixed-citation><mixed-citation xml:lang="en">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.</mixed-citation></citation-alternatives></ref><ref id="cit9"><label>9</label><citation-alternatives><mixed-citation xml:lang="ru">Roberto G. Keeping a Good Attitude: A Quaternion-Based Orientation Filter for IMUs and MARGs / Roberto G. Valenti, Ivan Dryanovsky, Jizhong Xiao // Sensors – Open Access Journal, 2015 P. 29.</mixed-citation><mixed-citation xml:lang="en">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.</mixed-citation></citation-alternatives></ref><ref id="cit10"><label>10</label><citation-alternatives><mixed-citation xml:lang="ru">Grant, B. Complementary filter design on the Special Euclidean group SE / Grant Baldwin, Robert Mahony, Jochen Trumpf, Tarek Hamel, Thibault Cheviron // Control Conference (ECC), 2007 European, Kos, Greece, July 2-5, 2007. P. 8.</mixed-citation><mixed-citation xml:lang="en">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.</mixed-citation></citation-alternatives></ref></ref-list><fn-group><fn fn-type="conflict"><p>The authors declare that there are no conflicts of interest present.</p></fn></fn-group></back></article>
