# US 2023/0273273 A1 · Method calibrating magnetometer and magnetometer calibration device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0273273 A1
- Document ID: US20230273273A1
- Status: Published application
- Kind: A1
- Application number: 17/895,254
- Filed: 2022-08-25
- Published: 2023-08-31
- Earliest claimed: 2021-11-12
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: ANDREY ZOBENKO; GWON SEDO; JUNGWOONG YOON
- Web page: https://patentgrep.com/patent/US20230273273A1

## CPC

- G01R 33/0035: {Calibration of single magnetic sensors, e.g. integrated calibration}
- G01R 33/0206: {Three-component magnetometers}
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)

## Abstract

A method of calibrating a magnetometer may include; obtaining at least four measurement values using the magnetometer, calculating a center and a radius of a sphere in accordance with the measurement values, wherein the center and the radius of the sphere correspond to an internal magnetic field associated with an electronic device including the magnetometer, and calibrating an output of the magnetometer in accordance with the center of the sphere.

## Claims

### Claim 1

A method of calibrating a magnetometer, the method comprising:
obtaining at least four measurement values using the magnetometer;
calculating a center and a radius of a sphere in accordance with the measurement values, wherein the center and the radius of the sphere correspond to an internal magnetic field associated with an electronic device including the magnetometer; and
calibrating an output of the magnetometer in accordance with the center of the sphere.

### Claim 2 (depends on 1)

The method of claim 1, wherein the obtaining of the at least four measurement values using the magnetometer comprises periodically obtaining the at least four measurement values using the magnetometer,
the calculating of the center and the radius of the sphere in accordance with the measurement values comprises periodically calculating and updating the center and the radius of the sphere in accordance with the measurement values, as periodically obtained, and
the calibrating of the output of the magnetometer comprises continuously calibrating the output of the magnetometer in accordance with the center of the sphere, as periodically calculated and updated.

### Claim 3 (depends on 2)

The method of claim 2, wherein the periodically obtaining of the at least four measurement values using the magnetometer comprises:
obtaining a first measurement value at a first time point;
obtaining a second measurement value at a second time point following the first time point;
obtaining a third measurement value at a third time point following the second time point; and
obtaining a fourth measurement value at a fourth time point following the third time point.

### Claim 4 (depends on 3)

The method of claim 3, wherein a first center value corresponding to the center of the sphere is calculated using the first measurement value, the second measurement value, the third measurement value and the fourth measurement value.

### Claim 5 (depends on 3)

The method of claim 3, wherein a first time interval between the first time point and the second time point, a second time interval between the second time point and the third time point, and a third time interval between the third time point and the fourth time point are equal to each other.

### Claim 6 (depends on 3)

The method of claim 3, further comprising:
obtaining a fifth measurement value at a fifth time point following the fourth time point.

### Claim 7 (depends on 6)

The method of claim 6, wherein a second center value corresponding to the center of the sphere is calculated using the second measurement value, the third measurement value, the fourth measurement value and the fifth measurement value.

### Claim 8 (depends on 3)

The method of claim 3, wherein the periodically calculating and updating of the center and the radius of the sphere in accordance with the measurement values, as periodically obtained, comprises:
calculating a first center value corresponding to the center of the sphere in accordance with the first measurement value, the second measurement value, the third measurement value and the fourth measurement value; and
calculating a first radius value corresponding to the radius of the sphere in accordance with the first center value and at least one of the first measurement value, the second measurement value, the third measurement value and the fourth measurement value.

### Claim 9 (depends on 8)

The method of claim 8, wherein the periodically calculating and updating of the center and the radius of the sphere in accordance with the measurement values, as periodically obtained, further comprises:
performing a sphere singularity check in accordance with the first measurement value, the second measurement value, the third measurement value and the fourth measurement value.

### Claim 10 (depends on 9)

The method of claim 9, wherein the performing of the sphere singularity check comprises:
performing a proximity check on the first measurement value, the second measurement value, the third measurement value and the fourth measurement value.

### Claim 11 (depends on 9)

The method of claim 9, wherein the performing of the sphere singularity check comprises:
performing a coplanarity check on the first measurement value, the second measurement value, the third measurement value and the fourth measurement value.

### Claim 12 (depends on 8)

The method of claim 8, wherein the periodically calculating and updating of the center and the radius of the sphere in accordance with the measurement values, as periodically obtained, further comprises:
performing a radius adequacy check in accordance with the first center value and the first radius value.

### Claim 13 (depends on 12)

The method of claim 12, wherein performing of the radius adequacy check comprises:
checking whether the first radius value falls within a predetermined reference range.

### Claim 14 (depends on 12)

The method of claim 12, wherein the performing of the radius adequacy check comprises:
checking whether an amplitude associated with the first center value falls within a predetermined reference range.

### Claim 15 (depends on 8)

The method of claim 8, wherein the periodically calculating and updating of the center and the radius of the sphere in accordance with the measurement values, as periodically obtained, further comprises:
performing a filtering operation on the first center value.

### Claim 16 (depends on 3)

The method of claim 3, wherein the periodically obtaining of the at least four measurement values using the magnetometer further comprises:
calculating a second center value corresponding to the center of the sphere in accordance with the second measurement value, the third measurement value, the fourth measurement value and a fifth measurement value obtained at a fifth time point following the fourth time point; and
calculating a second radius value corresponding to the radius of the sphere in accordance with the second center value and at least one of the second measurement value, the third measurement value, the fourth measurement value and the fifth measurement value.

### Claim 17 (depends on 1)

The method of claim 1, wherein the calibrating of the output of the magnetometer comprises:
subtracting a first center value from a first measurement value among the at least four measurement values, wherein the first center value corresponds to the center of the sphere.

### Claim 18

A magnetometer calibration device comprising:
a measurement value obtaining module connected to a magnetometer and configured to obtain at least four measurement values;
a calculating module configured to calculate a center and a radius of a sphere in accordance with the at least four measurement values, wherein the center and the radius of the sphere correspond to an internal magnetic field associated with an electronic device including the magnetometer; and
a calibrating module configured to calibrate an output of the magnetometer in accordance with the center of the sphere.

### Claim 19 (depends on 18)

The magnetometer calibration device of claim 18, wherein the calculating module comprises:
a sphere singularity checking module configured to perform a sphere singularity check in accordance with a first measurement value, a second measurement value, a third measured measurement and a fourth measurement value among the at least four measurement values;
a sphere center and radius calculating module configured to calculate a first center value corresponding to the center of the sphere and a first radius value corresponding to the radius of the sphere in accordance with the first measurement value, the second measurement value, the third measurement value and the fourth measurement value;
a radius adequacy checking module configured to perform a radius adequacy check in accordance with the first center value and the first radius value; and
a center filtering module configured to perform a filtering operation on the first center value.

### Claim 20

A method of calibrating a magnetometer, the method comprising:
periodically obtaining at least four measurement values using the magnetometer;
periodically calculating a center and a radius of a sphere in accordance with the at least four measurement values; and
continuously calibrating an output of the magnetometer in accordance with the center of the sphere,
wherein the periodically obtaining of the at least four measurement values includes sequentially obtaining a first measurement value, a second measurement value, a third measurement value and a fourth measurement value,
the periodically calculating of the center and the radius of the sphere includes:
performing a sphere singularity check including at least one of a proximity check and a coplanarity check on the first measurement value, the second measurement value, the third measurement value and the fourth measurement value;
calculating a first center value corresponding to the center of the sphere and a first radius value corresponding to the radius of the sphere in accordance with the first measurement value, the second measurement value, the third measurement value and the fourth measurement value;
performing a radius adequacy check including at least one of an operation of checking whether the first radius value falls within a first reference range and an operation of checking whether an amplitude associated with the first center value falls within a second reference range; and
performing a filtering operation on the first center value, and
the continuously calibrating of the output of the magnetometer includes subtracting the first center value from the fourth measurement value.
