Regular Papers

International Journal of Control, Automation, and Systems 2025; 23(3): 920-934

https://doi.org/10.1007/s12555-024-0221-9

© The International Journal of Control, Automation, and Systems

NN-augmented EKF for Robust Orientation Estimation Based on MARG Sensors

Akos Odry*, Istvan Kecskes, Richard Pesti, Dominik Csik, Massimo Stefanoni, Jozsef Sarosi, and Peter Sarcevic

University of Szeged

Abstract

Magnetic, angular rate, and gravity (MARG) sensor-based orientation estimation is commonly implemented using extended Kalman filter (EKF) frameworks, where robustness against dynamic motions and magnetic disturbances is ensured through online EKF covariance updates. This paper proposes an alternative solution involving a neural network (NN) with an appropriate topology, which is trained to provide MARG correction signals to the EKF, thereby delivering disturbance-suppressed measurements for improved orientation estimation. First, the EKF-based orientation estimation is revisited, and the main sources of error are highlighted. Then, a universal laboratory framework is introduced, which performs various motions with a calibrated UR5 cobot and records the raw measurements from a MARG sensor attached to its end-effector, along with ground truth pose data. Using a comprehensive database consisting of 16 different scenarios, the derivation of target signals for error-corrected MARG data is presented. Next, three shallow NN architectures—feed forward NN (FFNN), cascade forward NN (CFNN), and focused time-delay NN (FTDNN)—are trained for these targets, and their performances are evaluated using Pearson’s correlation metrics as a function of the number of hidden neurons and input channel combinations. Finally, each NN-EKF combination is assessed, and it is found that the FFNN offers the most suitable topology in terms of both performance and computational cost. The proposed FFNN-EKF approach enhances orientation estimation quality by a significant 44.5% based on the mean squared quaternion error metrics, even in highly disturbed environments. The performance of the FFNN-EKF is also compared to other common methods, demonstrating that the proposed approach outperforms the benchmark filters.

Keywords Disturbance compensation, Kalman filter, neural network, orientation estimation, sensor fusion.

Article

Regular Papers

International Journal of Control, Automation, and Systems 2025; 23(3): 920-934

Published online March 1, 2025 https://doi.org/10.1007/s12555-024-0221-9

Copyright © The International Journal of Control, Automation, and Systems.

NN-augmented EKF for Robust Orientation Estimation Based on MARG Sensors

Akos Odry*, Istvan Kecskes, Richard Pesti, Dominik Csik, Massimo Stefanoni, Jozsef Sarosi, and Peter Sarcevic

University of Szeged

Abstract

Magnetic, angular rate, and gravity (MARG) sensor-based orientation estimation is commonly implemented using extended Kalman filter (EKF) frameworks, where robustness against dynamic motions and magnetic disturbances is ensured through online EKF covariance updates. This paper proposes an alternative solution involving a neural network (NN) with an appropriate topology, which is trained to provide MARG correction signals to the EKF, thereby delivering disturbance-suppressed measurements for improved orientation estimation. First, the EKF-based orientation estimation is revisited, and the main sources of error are highlighted. Then, a universal laboratory framework is introduced, which performs various motions with a calibrated UR5 cobot and records the raw measurements from a MARG sensor attached to its end-effector, along with ground truth pose data. Using a comprehensive database consisting of 16 different scenarios, the derivation of target signals for error-corrected MARG data is presented. Next, three shallow NN architectures—feed forward NN (FFNN), cascade forward NN (CFNN), and focused time-delay NN (FTDNN)—are trained for these targets, and their performances are evaluated using Pearson’s correlation metrics as a function of the number of hidden neurons and input channel combinations. Finally, each NN-EKF combination is assessed, and it is found that the FFNN offers the most suitable topology in terms of both performance and computational cost. The proposed FFNN-EKF approach enhances orientation estimation quality by a significant 44.5% based on the mean squared quaternion error metrics, even in highly disturbed environments. The performance of the FFNN-EKF is also compared to other common methods, demonstrating that the proposed approach outperforms the benchmark filters.

Keywords: Disturbance compensation, Kalman filter, neural network, orientation estimation, sensor fusion.

IJCAS
March 2025

Vol. 23, No. 3, pp. 683~972

Stats or Metrics

Share this article on

  • line

Related articles in IJCAS

IJCAS

eISSN 2005-4092
pISSN 1598-6446