Abstract:
Method and apparatus of integrating a three-axis magnetometer and a three-axis accelerometer to provide attitude and heading, calibrated magnetometer and accelerometer data, and angular rate, while removing sensor error sources over time and temperature and to compensate for hard and soft iron distortions of the Earth magnetic field. Filtered accelerometer data are corrected to account for various error sources. The magnetic heading is calculated from a horizontal magnetic field vector transformed from three dimensional Earth's magnetic field vector by using quasi-static roll and pitch angles from the filtered accelerometer data. A first Kalman filter estimates the state vector, based on the principle that the magnitude of local Earth's magnetic field vector is constant, to form hard and soft iron correction matrices. A second Kalman filter estimates a correction matrix of coupled remaining soft iron and the misalignment of the magnetometer and the accelerometer, as the dot product of local Earth's magnetic field vector and a corrected gravitational acceleration vector, at a quasi-static position, is constant. The three dimensional Earth's magnetic field vector is received by removing the hard and soft irons through the soft iron and hard iron correction matrixes.
Abstract:
Method and apparatus of integrating a three-axis magnetometer and a three-axis accelerometer to provide attitude and heading, calibrated magnetometer and accelerometer data, and angular rate, while removing sensor error sources over time and temperature and to compensate for hard and soft iron distortions of the Earth magnetic field. Filtered accelerometer data are corrected to account for various error sources. The magnetic heading is calculated from a horizontal magnetic field vector transformed from three dimensional Earth's magnetic field vector by using quasi-static roll and pitch angles from the filtered accelerometer data. A first Kalman filter estimates the state vector, based on the principle that the magnitude of local Earth's magnetic field vector is constant, to form hard and soft iron correction matrices. A second Kalman filter estimates a correction matrix of coupled remaining soft iron and the misalignment of the magnetometer and the accelerometer, as the dot product of local Earth's magnetic field vector and a corrected gravitational acceleration vector, at a quasi-static position, is constant. The three dimensional Earth's magnetic field vector is received by removing the hard and soft irons through the soft iron and hard iron correction matrixes.