# US 2025/0327883 A1 · Magnetometer heading error estimation

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

- Number: US 2025/0327883 A1
- Document ID: US20250327883A1
- Status: Published application
- Kind: A1
- Application number: 18/638,107
- Filed: 2024-04-17
- Published: 2025-10-23
- Earliest claimed: 2024-04-17
- Assignees: Niantic Spatial, Inc.
- Applicants: Niantic Spatial, Inc.
- Inventors: Ben Benfold
- Web page: https://patentgrep.com/patent/US20250327883A1

## CPC

- G01R 33/0206: {Three-component magnetometers}
- G01R 33/0005: {Geometrical arrangement of magnetic sensor elements; Apparatus combining different magnetic sensor types (G01R33/0206 takes precedence)}
- G01R 33/0052: {Manufacturing aspects; Manufacturing of single devices, i.e. of semiconductor magnetic sensor chips (devices based on galvano-magnetic effect or the like H10N50/85)}
- G01R 33/028: Electrodynamic magnetometers
- G01R 33/038: using permanent magnets, e.g. balances, torsion devices
- G01R 33/09: Magnetoresistive devices
- G01R 33/096: {anisotropic magnetoresistance sensors}
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)

## Abstract

A client device estimates an error in a heading component of a magnetometer measurement based on an error in a vertical component of the magnetometer measurement. The client device receives a three-dimensional measurement from a magnetometer including a heading and a vertical component. The client device identifies an expected vertical component based on a position of the client device and a magnetic map. The client device generates an error estimate based on the vertical component of the three-dimensional measurement and the expected vertical component. The client device compares the error to an error threshold and, in response to the error estimate being less than an error threshold, determines a pose of the client device based on the heading. The client device displays augmented reality content to the user using the pose.

## Claims

### Claim 1

A computer-implemented method comprising:
receiving a three-dimensional measurement from a magnetometer coupled to a client device, the three-dimensional measurement being a measurement of a magnetic field and comprising a heading and a vertical component;
identifying an expected vertical component based on a position associated with the three-dimensional measurement and a world magnetic map, the world magnetic map mapping positions to expected vertical components; and
generating an error estimate based on the vertical component of the three-dimensional measurement and the expected vertical component;
comparing the error estimate to an error threshold; and
responsive to the error estimate being less than an error threshold:
determining a pose of the client device based on the heading, and
displaying augmented reality content to a user using the pose.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising:
receiving a second three-dimensional measurement from the magnetometer coupled to the client device, the second three-dimensional measurement being a measurement of the magnetic field and comprising a second heading and a second vertical component;
identifying a second expected vertical component based on a second position associated with the second three-dimensional measurement and the world magnetic map;
generating a second error estimate based on the second vertical component of the second three-dimensional measurement and the second expected vertical component;
selecting one of the first heading and the second heading based on which of the first error and the second error is lower; and
determining a pose of the client device based on the selected heading.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, wherein the second position is within a threshold distance from the first position.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein determining the pose of the client device based on the heading comprises weighting the heading based on the error estimate.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the vertical component is measured relative to gravity.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein generating an error estimate based on the vertical component of the three-dimensional measurement and the expected vertical component comprises applying an error model to the vertical component of the three-dimensional measurement and the expected vertical component.

### Claim 7 (depends on 6)

The computer-implemented method of claim 6, wherein the error model is a Bayesian model.

### Claim 8 (depends on 6)

The computer-implemented method of claim 6, wherein the error model is a normal distribution.

### Claim 9

A non-transitory, computer-readable medium storing instructions that, when executed by a computing system, cause the computing system to perform operations comprising:
receiving a three-dimensional measurement from a magnetometer coupled to a client device, the three-dimensional measurement being a measurement of a magnetic field and comprising a heading and a vertical component;
identifying an expected vertical component based on a position associated with the three-dimensional measurement and a world magnetic map, the world magnetic map mapping positions to expected vertical components; and
generating an error estimate based on the vertical component of the three-dimensional measurement and the expected vertical component;
comparing the error estimate to an error threshold; and
responsive to the error estimate being less than an error threshold:
determining a pose of the client device based on the heading, and
displaying augmented reality content to a user using the pose.

### Claim 10 (depends on 9)

The non-transitory computer-readable medium of claim 9, further storing instructions that, when executed by the computing system, cause the computing system to perform operations comprising:
receiving a second three-dimensional measurement from the magnetometer coupled to the client device, the second three-dimensional measurement being a measurement of the magnetic field and comprising a second heading and a second vertical component;
identifying a second expected vertical component based on a second position associated with the second three-dimensional measurement and the world magnetic map;
generating a second error estimate based on the second vertical component of the second three-dimensional measurement and the second expected vertical component;
selecting one of the first heading and the second heading based on which of the first error and the second error is lower; and
determining a pose of the client device based on the selected heading.

### Claim 11 (depends on 10)

The non-transitory computer-readable medium of claim 10, wherein the second position is within a threshold distance from the first position.

### Claim 12 (depends on 9)

The non-transitory computer-readable medium of claim 9, wherein the instruction for determining the pose of the client device based on the heading comprises instructions that, when executed by the computing system, cause the computing system to perform operations comprising weighting the heading based on the error estimate.

### Claim 13 (depends on 9)

The non-transitory computer-readable medium of claim 9, wherein the vertical component is measured relative to gravity.

### Claim 14 (depends on 9)

The non-transitory computer-readable medium of claim 9, wherein the instruction for generating an error estimate based on the vertical component of the three-dimensional measurement and the expected vertical component comprises instructions that, when executed by the computing system, cause the computing system to perform operations comprising applying an error model to the vertical component of the three-dimensional measurement and the expected vertical component.

### Claim 15 (depends on 9)

The non-transitory computer-readable medium of claim 9, wherein the error model is a Bayesian model.

### Claim 16 (depends on 9)

The non-transitory computer-readable medium of claim 9, wherein the error model is a normal distribution.

### Claim 17

A system comprising:
one or more processors; and
a non-transitory, computer-readable medium storing instructions that, when executed by the one or more processors, cause the one or more processors to:
receive a three-dimensional measurement from a magnetometer coupled to a client device, the three-dimensional measurement being a measurement of a magnetic field and comprising a heading and a vertical component;
identify an expected vertical component based on a position associated with the three-dimensional measurement and a world magnetic map, the world magnetic map mapping positions to expected vertical components; and
generate an error estimate based on the vertical component of the three-dimensional measurement and the expected vertical component;
compare the error estimate to an error threshold; and
responsive to the error estimate being less than an error threshold:
determine a pose of the client device based on the heading, and
display augmented reality content to a user using the pose.

### Claim 18 (depends on 17)

The system of claim 17, further storing instructions that, when executed by the one or more processors, cause the one or more processors to:
receive a second three-dimensional measurement from the magnetometer coupled to the client device, the second three-dimensional measurement being a measurement of the magnetic field and comprising a second heading and a second vertical component;
identify a second expected vertical component based on a second position associated with the second three-dimensional measurement and the world magnetic map;
generate a second error estimate based on the second vertical component of the second three-dimensional measurement and the second expected vertical component;
select one of the first heading and the second heading based on which of the first error and the second error is lower; and
determine a pose of the client device based on the selected heading.

### Claim 19 (depends on 18)

The system of claim 18, wherein the second position is within a threshold distance from the first position.

### Claim 20 (depends on 17)

The system of claim 17, wherein the instruction for determining the pose of the client device based on the heading comprises instructions that, when executed by the one or more processors, cause the one or more processors to weight the heading based on the error estimate.
