Closed jyzhong closed 3 weeks ago
I am not sure to get your question. The lines you point is the formula to apply to make calibrated magnetometer norm close to the theoretically Earth magnetic field norm.
Theoretically, calibrated magnetometer norm is equal to Earth magnetic field norm. Now, I calibrate my magnetometer outside, far away from magnetic disturbance, but calibrated magnetometer norm is smaller than Earth magnetic field norm. e.g. My calibrated magnetometer norm is 35uT, but local Earth magnetic field norm is 49uT. Is it means my calibration is wrong ?
Which magnetometer calibration do you use?
@ThibaudM
I use the method about "Least Squares Ellipsoid Specific Fitting, 2004." I found another paper: Consistent least squares fitting of ellipsoids. If i should use the second because of the noise of my magnetometer ?
I don't know how the "Least Squares Ellipsoid Specific Fitting, 2004." works but you can use the calibration method I used in this paper. It's based on ellipsoid fitting. You will never remove the noise of the magnetometer. With the ellipsoid fitting you will estimate the bias in the two frames: magnetometer frame and world frame.
https://github.com/tyrex-team/benchmarks-attitude-smartphones/blob/8ad1100294465251560723c3bfa4e823e9feed52/src/Calibration/Magnetometer/retrieveParametersFromMagnetometerCalibration.m#L22-L23