A New Quaternion-Based Kalman Filter for Human Body Motion Tracking Using the Second Estimator of the Optimal Quaternion Algorithm and the Joint Angle Constraint Method with Inertial and Magnetic Sensors
Human body motion tracking is a key technique in robotics, virtual reality and other human–computer interaction fields. This paper proposes a novel simple-structure Kalman filter to improve the accuracy of human body motion tracking, named the Second EStimator of the Optimal Quaternion Kalman Filter...
Main Authors: | , , |
---|---|
Format: | Article |
Language: | English |
Published: |
MDPI AG
2020-10-01
|
Series: | Sensors |
Subjects: | |
Online Access: | https://www.mdpi.com/1424-8220/20/21/6018 |
_version_ | 1797550015326978048 |
---|---|
author | Yingbo Duan Xiaoyue Zhang Zhibing Li |
author_facet | Yingbo Duan Xiaoyue Zhang Zhibing Li |
author_sort | Yingbo Duan |
collection | DOAJ |
description | Human body motion tracking is a key technique in robotics, virtual reality and other human–computer interaction fields. This paper proposes a novel simple-structure Kalman filter to improve the accuracy of human body motion tracking, named the Second EStimator of the Optimal Quaternion Kalman Filter (E2QKF). The new algorithm is the combination of the Second Estimator of the Optimal Quaternion (ESOQ-2) algorithm, the linear Kalman filter and the joint angle constraint method. In the proposed filter, the ESOQ-2 algorithm is used to produce an observation quaternion by preprocessing accelerometer and magnetometer measurements. The compensation for the accelerometer added in the ESOQ-2 algorithm is to eliminate the influence of human body motion acceleration included in the results. The state vector of the filter is the quaternion, which is calculated with gyroscope measurements, and the Kalman filter is to calculate the optimal quaternion by fusing the state quaternion and the observation quaternion. Therefore, the filter becomes a simple first-order linear system model, which avoids the linearization error of measurement equations and reduces the computational complexity. Furthermore, the joint angle constraint is considered in the proposed algorithm, which makes the results more accurate. To verify the accuracy of the proposed algorithm, inertial/magnetic sensors are used to perform the upper limb motion experiment, and the result of E2QKF (without joint angle constraint) is compared with an optical motion capture system and two traditional methods. Test results demonstrate the effectiveness of the proposed filter: the root mean square error (RMSE) of E2QKF is less than 2.0° and the maximum error is less than 4.6°. The result of E2QKF (with joint angle constraint) is compared with E2QKF (without joint angle constraint). Test results demonstrate the superiority of E2QKF (with joint angle constraint): the joint angle constraint method can further improve the accuracy of human body motion tracking. |
first_indexed | 2024-03-10T15:23:28Z |
format | Article |
id | doaj.art-3fac430b09db48378ae413805c15e66b |
institution | Directory Open Access Journal |
issn | 1424-8220 |
language | English |
last_indexed | 2024-03-10T15:23:28Z |
publishDate | 2020-10-01 |
publisher | MDPI AG |
record_format | Article |
series | Sensors |
spelling | doaj.art-3fac430b09db48378ae413805c15e66b2023-11-20T18:15:09ZengMDPI AGSensors1424-82202020-10-012021601810.3390/s20216018A New Quaternion-Based Kalman Filter for Human Body Motion Tracking Using the Second Estimator of the Optimal Quaternion Algorithm and the Joint Angle Constraint Method with Inertial and Magnetic SensorsYingbo Duan0Xiaoyue Zhang1Zhibing Li2School of Instrumentation and Optoelectronic Engineering, Beihang University, Beijing 100191, ChinaSchool of Instrumentation and Optoelectronic Engineering, Beihang University, Beijing 100191, ChinaSchool of Instrumentation and Optoelectronic Engineering, Beihang University, Beijing 100191, ChinaHuman body motion tracking is a key technique in robotics, virtual reality and other human–computer interaction fields. This paper proposes a novel simple-structure Kalman filter to improve the accuracy of human body motion tracking, named the Second EStimator of the Optimal Quaternion Kalman Filter (E2QKF). The new algorithm is the combination of the Second Estimator of the Optimal Quaternion (ESOQ-2) algorithm, the linear Kalman filter and the joint angle constraint method. In the proposed filter, the ESOQ-2 algorithm is used to produce an observation quaternion by preprocessing accelerometer and magnetometer measurements. The compensation for the accelerometer added in the ESOQ-2 algorithm is to eliminate the influence of human body motion acceleration included in the results. The state vector of the filter is the quaternion, which is calculated with gyroscope measurements, and the Kalman filter is to calculate the optimal quaternion by fusing the state quaternion and the observation quaternion. Therefore, the filter becomes a simple first-order linear system model, which avoids the linearization error of measurement equations and reduces the computational complexity. Furthermore, the joint angle constraint is considered in the proposed algorithm, which makes the results more accurate. To verify the accuracy of the proposed algorithm, inertial/magnetic sensors are used to perform the upper limb motion experiment, and the result of E2QKF (without joint angle constraint) is compared with an optical motion capture system and two traditional methods. Test results demonstrate the effectiveness of the proposed filter: the root mean square error (RMSE) of E2QKF is less than 2.0° and the maximum error is less than 4.6°. The result of E2QKF (with joint angle constraint) is compared with E2QKF (without joint angle constraint). Test results demonstrate the superiority of E2QKF (with joint angle constraint): the joint angle constraint method can further improve the accuracy of human body motion tracking.https://www.mdpi.com/1424-8220/20/21/6018human body motion trackingKalman filterthe ESOQ-2 algorithmquaternioninertial/magnetic sensors |
spellingShingle | Yingbo Duan Xiaoyue Zhang Zhibing Li A New Quaternion-Based Kalman Filter for Human Body Motion Tracking Using the Second Estimator of the Optimal Quaternion Algorithm and the Joint Angle Constraint Method with Inertial and Magnetic Sensors Sensors human body motion tracking Kalman filter the ESOQ-2 algorithm quaternion inertial/magnetic sensors |
title | A New Quaternion-Based Kalman Filter for Human Body Motion Tracking Using the Second Estimator of the Optimal Quaternion Algorithm and the Joint Angle Constraint Method with Inertial and Magnetic Sensors |
title_full | A New Quaternion-Based Kalman Filter for Human Body Motion Tracking Using the Second Estimator of the Optimal Quaternion Algorithm and the Joint Angle Constraint Method with Inertial and Magnetic Sensors |
title_fullStr | A New Quaternion-Based Kalman Filter for Human Body Motion Tracking Using the Second Estimator of the Optimal Quaternion Algorithm and the Joint Angle Constraint Method with Inertial and Magnetic Sensors |
title_full_unstemmed | A New Quaternion-Based Kalman Filter for Human Body Motion Tracking Using the Second Estimator of the Optimal Quaternion Algorithm and the Joint Angle Constraint Method with Inertial and Magnetic Sensors |
title_short | A New Quaternion-Based Kalman Filter for Human Body Motion Tracking Using the Second Estimator of the Optimal Quaternion Algorithm and the Joint Angle Constraint Method with Inertial and Magnetic Sensors |
title_sort | new quaternion based kalman filter for human body motion tracking using the second estimator of the optimal quaternion algorithm and the joint angle constraint method with inertial and magnetic sensors |
topic | human body motion tracking Kalman filter the ESOQ-2 algorithm quaternion inertial/magnetic sensors |
url | https://www.mdpi.com/1424-8220/20/21/6018 |
work_keys_str_mv | AT yingboduan anewquaternionbasedkalmanfilterforhumanbodymotiontrackingusingthesecondestimatoroftheoptimalquaternionalgorithmandthejointangleconstraintmethodwithinertialandmagneticsensors AT xiaoyuezhang anewquaternionbasedkalmanfilterforhumanbodymotiontrackingusingthesecondestimatoroftheoptimalquaternionalgorithmandthejointangleconstraintmethodwithinertialandmagneticsensors AT zhibingli anewquaternionbasedkalmanfilterforhumanbodymotiontrackingusingthesecondestimatoroftheoptimalquaternionalgorithmandthejointangleconstraintmethodwithinertialandmagneticsensors AT yingboduan newquaternionbasedkalmanfilterforhumanbodymotiontrackingusingthesecondestimatoroftheoptimalquaternionalgorithmandthejointangleconstraintmethodwithinertialandmagneticsensors AT xiaoyuezhang newquaternionbasedkalmanfilterforhumanbodymotiontrackingusingthesecondestimatoroftheoptimalquaternionalgorithmandthejointangleconstraintmethodwithinertialandmagneticsensors AT zhibingli newquaternionbasedkalmanfilterforhumanbodymotiontrackingusingthesecondestimatoroftheoptimalquaternionalgorithmandthejointangleconstraintmethodwithinertialandmagneticsensors |