A Fast Complementary Filter for Avoiding the Magnetometer Measurements From Influencing the Calculation of Pitch and Roll
Despite the magnetometer in a magnetic and inertial measurement unit (MIMU) being used to estimate the azimuth, its measurements can also negatively affect the computation of inclination angles when magnetic disturbance appears. It is challenging to eliminate that negative effect. For problem-solving, a new complementary filter (CF) is proposed. The filter is divided into two stages. In the first stage, the attitude represented by quaternion is predicted by gyroscope, and then, the predicted quaternion is converted to Euler angles. In the second stage, the predicted Euler angles are compensated by employing the accelerometer and the magnetometer, and then, the after-compensated Euler angles are converted back to quaternion. To solve the problem of “gimbal lock,” two sets of Euler angles with different definitions of the rotation sequence are used. The simulation and experiment results demonstrate that the proposed filter outperforms six other competing filters, revealing its potential usage in such applications where magnetic disturbance is not allowed to affect the computation of inclination angles.
Authors
- Jidong Lv (ORCID: https://orcid.org/0000-0003-1859-2633)
- Ling Zou (ORCID: https://orcid.org/0000-0001-5547-2871)
- Cuiyun Peng (ORCID: https://orcid.org/0000-0002-2540-906X)
- Yanping Zhu (ORCID: https://orcid.org/0000-0002-8107-0101)
- Hailong Rong (ORCID: https://orcid.org/0000-0003-3125-7995)
- Yang Chen
Institutions
- Changzhou University (CN)
Publication Details
- Journal
- IEEE Sensors Journal
- Published
- 2025-02-20
- DOI
- https://doi.org/10.1109/jsen.2025.3540537
- Citations
- 3
- Primary Topic
- Neural Networks and Applications
- Type
- article
- Field-Weighted Citation Impact
- 7.44
Funders
- Jiangsu Agricultural Science and Technology Innovation Fund