Magnetometer bias and anomaly detector
First Claim
1. A computer implemented method of estimating a magnetometer bias for a device comprising:
- collecting magnetometer data from the device; and
calculating using a computer a center of a shape of the magnetometer data as a result of minimization;
wherein the magnetometer data is represented by data points, wherein the minimization is a derivative of a sum of weighted distances of pairs of data points, wherein each of the weighted distances is weighted based upon how far apart the pair of points are from each other;
wherein the minimization of calculating the center of the shape further comprises;
calculating a plurality of running sums of the magnetometer data;
storing the plurality of running sums;
storing a count of the number of terms in each of the running sums;
and calculating the center of the shape and setting the estimated magnetometer bias to the center of the shape.
1 Assignment
0 Petitions
Accused Products
Abstract
The computer implemented method, system or computer program product comprises collecting magnetometer data from the device; and calculating a center of a shape of the magnetometer data as a result of minimization. The minimization of calculating the center of the shape further comprises calculating a plurality of running sums of the magnetometer data; storing the plurality of running sums; storing a count of the number of terms in each of the running sums; and calculating the center of the shape and setting the estimated magnetometer bias to the center of the shape. The radius of the sphere is calculated to ensure accuracy in the estimator of the magnetometer bias.
21 Citations
30 Claims
-
1. A computer implemented method of estimating a magnetometer bias for a device comprising:
-
collecting magnetometer data from the device; and
calculating using a computer a center of a shape of the magnetometer data as a result of minimization;
wherein the magnetometer data is represented by data points, wherein the minimization is a derivative of a sum of weighted distances of pairs of data points, wherein each of the weighted distances is weighted based upon how far apart the pair of points are from each other;wherein the minimization of calculating the center of the shape further comprises; calculating a plurality of running sums of the magnetometer data;
storing the plurality of running sums;
storing a count of the number of terms in each of the running sums;and calculating the center of the shape and setting the estimated magnetometer bias to the center of the shape. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A device comprising:
-
a processor; a magnetometer for providing magnetometer data; and a memory coupled to the processor;
wherein the memory receives the magnetometer data;
wherein the memory includes an algorithm for estimating the bias of the magnetometer data;
wherein the processor executes the algorithm to perform the following operations;
calculating a center of a shape of the magnetometer data as a result of minimization;
wherein the magnetometer data is represented by data points, wherein the minimization is a derivative of a sum of weighted distances of pairs of data points, wherein each of the weighted distances is weighted based upon how far apart the pairs of data points are from each other;
wherein the minimization of calculating the center of the shape further comprises calculating a plurality of running sums of the magnetometer data;
storing the plurality of running sums;
storing a count of the number of terms in each of the running sums; and
calculating the center of the shape and setting the estimated magnetometer bias to the center of the shape. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28)
-
-
29. A non-transitory computer program product including a computer readable medium to be executed on a computer, the computer readable medium for performing the following operations comprising:
- collecting magnetometer data from the device; and
calculating a center of a shape of the magnetometer data as a result of minimization;
wherein the magnetometer data is represented by data points, wherein the minimization is a derivative of a sum of weighted distances of pairs of data points, wherein each of the weighted distances is weighted based upon how far apart the pairs of data points are from each other;
wherein the minimization of calculating of a center of an the shape further comprises;calculating a plurality of running sums of the magnetometer data;
storing the plurality of running sums;
storing a count of the number of terms of running sums; and
calculating the bias from the stored running sums when the count of the plurality of running sums is less than a predetermined threshold. - View Dependent Claims (30)
- collecting magnetometer data from the device; and
Specification