A Linear Kalman Filter for MARG Orientation Estimation Using the Algebraic Quaternion Algorithm

Real-time orientation estimation using low-cost inertial sensors is essential for all the applications where size and power consumption are critical constraints. Such applications include robotics, human motion analysis, and mobile devices. This paper presents a linear Kalman filter for magnetic angular rate and gravity sensors that processes angular rate, acceleration, and magnetic field data to obtain an estimation of the orientation in quaternion representation. Acceleration and magnetic field observations are preprocessed through a novel external algorithm, which computes the quaternion orientation as the composition of two algebraic quaternions. The decoupled nature of the two quaternions makes the roll and pitch components of the orientation immune to magnetic disturbances. The external algorithm reduces the complexity of the filter, making the measurement equations linear. Real-time implementation and the test results of the Kalman filter are presented and compared against a typical quaternion-based extended Kalman filter and a constant gain filter based on the gradient-descent algorithm.

[1]  Angelo M. Sabatini,et al.  Kalman-Filter-Based Orientation Determination Using Inertial/Magnetic Sensors: Observability Analysis and Performance Evaluation , 2011, Sensors.

[2]  Sebastian Madgwick,et al.  Estimation of IMU and MARG orientation using a gradient descent algorithm , 2011, 2011 IEEE International Conference on Rehabilitation Robotics.

[3]  James K. Hall,et al.  Quaternion attitude estimation for miniature air vehicles using a multiplicative extended Kalman filter , 2008, 2008 IEEE/ION Position, Location and Navigation Symposium.

[4]  R.C. Hayward,et al.  Design of multi-sensor attitude determination systems , 2004, IEEE Transactions on Aerospace and Electronic Systems.

[5]  Xiaoping Yun,et al.  Adaptive-gain complementary filter of inertial and magnetic data for orientation estimation , 2011, 2011 IEEE International Conference on Robotics and Automation.

[6]  Piotr Skrzypczynski,et al.  Performance Comparison of EKF-Based Algorithms for Orientation Estimation on Android Platform , 2015, IEEE Sensors Journal.

[7]  Robert B. McGhee,et al.  A Simplified Quaternion-Based Algorithm for Orientation Estimation From Earth Gravity and Magnetic Field Measurements , 2008, IEEE Transactions on Instrumentation and Measurement.

[8]  Ya Tian,et al.  An Adaptive-Gain Complementary Filter for Real-Time Human Motion Tracking With MARG Sensors in Free-Living Environments , 2013, IEEE Transactions on Neural Systems and Rehabilitation Engineering.

[9]  F. Landis Markley,et al.  Attitude Estimation or Quaternion Estimation , 2003 .

[10]  Gaurav S. Sukhatme,et al.  State estimation of an autonomous helicopter using Kalman filtering , 1999, Proceedings 1999 IEEE/RSJ International Conference on Intelligent Robots and Systems. Human and Environment Friendly Robots with High Intelligence and Emotional Quotients (Cat. No.99CH36289).

[11]  Noureddine Manamanni,et al.  Complementary Observer for Body Segments Motion Capturing by Inertial and Magnetic Sensors , 2014, IEEE/ASME Transactions on Mechatronics.

[12]  Jae-Bok Song,et al.  Quaternion-based orientation estimation with static error reduction , 2011, 2011 IEEE International Conference on Mechatronics and Automation.

[13]  N. Trawny,et al.  Indirect Kalman Filter for 3 D Attitude Estimation , 2005 .

[14]  G. Wahba A Least Squares Estimate of Satellite Attitude , 1965 .

[15]  Shaohua Wang,et al.  Quadrotor aircraft attitude estimation and control based on Kalman filter , 2012, Proceedings of the 31st Chinese Control Conference.

[16]  M. Shuster,et al.  Three-axis attitude determination from vector observations , 1981 .

[17]  Robert B. McGhee,et al.  An extended Kalman filter for quaternion-based orientation estimation using MARG sensors , 2001, Proceedings 2001 IEEE/RSJ International Conference on Intelligent Robots and Systems. Expanding the Societal Role of Robotics in the the Next Millennium (Cat. No.01CH37180).

[18]  Huosheng Hu,et al.  Reducing Drifts in the Inertial Measurements of Wrist and Elbow Positions , 2010, IEEE Transactions on Instrumentation and Measurement.

[19]  Angelo M. Sabatini,et al.  Quaternion-based extended Kalman filter for determining orientation by inertial and magnetic sensing , 2006, IEEE Transactions on Biomedical Engineering.

[20]  Bahram Honary,et al.  A Sensor Fusion Method for Smart phone Orientation Estimation , 2012 .

[21]  Valérie Renaudin,et al.  Magnetic, Acceleration Fields and Gyroscope Quaternion (MAGYQ)-Based Attitude Estimation with Smartphone Sensors for Indoor Pedestrian Navigation , 2014, Sensors.

[22]  Xiaoli Meng,et al.  Quaternion-Based Kalman Filter With Vector Selection for Accurate Orientation Tracking , 2012, IEEE Transactions on Instrumentation and Measurement.

[23]  Young Soo Suh,et al.  Inertial Sensor-Based Two Feet Motion Tracking for Gait Analysis , 2013, Sensors.

[24]  I. Bar-Itzhack,et al.  Novel quaternion Kalman filter , 2002, IEEE Transactions on Aerospace and Electronic Systems.

[25]  F. Markley Multiplicative Versus Additive Filtering for Spacecraft Attitude Determination , 2003 .

[26]  Erik B. Dam,et al.  Quaternions, Interpolation and Animation , 2000 .

[27]  A.-J. Baerveldt,et al.  A low-cost and low-weight attitude estimation system for an autonomous helicopter , 1997, Proceedings of IEEE International Conference on Intelligent Engineering Systems.

[28]  John L. Crassidis,et al.  Survey of nonlinear attitude estimation methods , 2007 .

[29]  Young Soo Suh Orientation Estimation Using a Quaternion-Based Indirect Kalman Filter With Adaptive Estimation of External Acceleration , 2010, IEEE Transactions on Instrumentation and Measurement.

[30]  Robert B. McGhee,et al.  An improved quaternion-based Kalman filter for real-time tracking of rigid body orientation , 2003, Proceedings 2003 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS 2003) (Cat. No.03CH37453).

[31]  Xiaoping Yun,et al.  Design, Implementation, and Experimental Results of a Quaternion-Based Kalman Filter for Human Body Motion Tracking , 2006, IEEE Trans. Robotics.

[32]  Tae Suk Yoo,et al.  Gain-Scheduled Complementary Filter Design for a MEMS Based Attitude and Heading Reference System , 2011, Sensors.

[33]  Mark Euston,et al.  A complementary filter for attitude estimation of a fixed-wing UAV , 2008, 2008 IEEE/RSJ International Conference on Intelligent Robots and Systems.

[34]  Hee-Jun Kang,et al.  Quaternion-Based Indirect Kalman Filter Discarding Pitch and Roll Information Contained in Magnetic Sensors , 2012, IEEE Transactions on Instrumentation and Measurement.

[35]  Hugh F. Durrant-Whyte,et al.  Inertial navigation systems for mobile robots , 1995, IEEE Trans. Robotics Autom..

[36]  T. Başar,et al.  A New Approach to Linear Filtering and Prediction Problems , 2001 .