Patent ID: 9677906
Date: 2017-06-13
CPC Classifications: G01C,G01R

Claim:
1. A computer implemented method for calibrating a magnetometer device, the method comprising: measuring a raw magnetometer data sample using the magnetometer, while the magnetometer device is moved in each of the three axis by approximately 20 degrees in each direction; receiving the raw magnetometer data sample; applying a decimating process to the raw magnetometer data sample to form a decimated data sample; applying a PDOP (Positional Dilution of Precision) buffer to the decimated data sample to form a PDOP buffer data sample; applying a PDOP function to the PDOP buffer data sample; applying a Soft Iron function to the PDOP buffer data sample; making a new measurement of a new raw magnetometer data sample; applying a calibration from the Soft Iron function to the new raw magnetometer data sample to form a calibrated data sample; applying a magnitude buffer to the calibrated data sample to form a magnitude buffer data sample; applying a magnitude function to the magnitude buffer data sample; and providing a magnetometer status using the magnitude buffer data sample.