# US 2021/0278245 A1 · Device, system and method for determining a position of a magnet

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

- Number: US 2021/0278245 A1
- Document ID: US20210278245A1
- Status: Published application
- Kind: A1
- Application number: 17/188,561
- Filed: 2021-03-01
- Published: 2021-09-09
- Earliest claimed: 2020-03-06
- Assignees: Melexis Technologies SA
- Applicants: Melexis Technologies SA
- Inventors: Jerome DEGOIS
- Web page: https://patentgrep.com/patent/US20210278245A1

## CPC

- G01D 5/14: influencing the magnitude of a current or voltage
- G01D 5/145: {influenced by the relative movement between the Hall device and magnetic fields (see G01R33/06)}
- G01D 5/147: {influenced by the movement of a third element, the position of Hall device and the source of magnetic field being fixed in respect to each other}
- G01D: MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR

## Abstract

A magnetic sensor system includes a magnet and a sensor device. The magnet has a shape and is movable along an axis between a first position and a second position and is optionally also rotatable about this axis. The magnetic sensor device has a plurality of magnetic sensitive elements for measuring at least two orthogonal magnetic field components or at least two orthogonal magnetic field gradients, and a processing circuit for determining an axial position of the magnet or whether the magnet is located in the first or second position based on the first and second magnetic field components or gradients, and optionally also for estimating or calculating an angular position of the magnet. A method of determining the axial and/or angular position. A magnetic sensor device includes features of the magnetic sensor system.

## Claims

### Claim 1

A magnetic sensor system comprising:
a permanent magnet movable along an axis between a first position and a second position, and being rotatable about said axis or having an unknown angular position (a) about said axis, and generating a magnetic field which is not circular symmetric about said axis;
a magnetic sensor device located at an offset from said axis, and comprising a first set of magnetic sensitive elements located in a first sensor location and configured for measuring at least a first magnetic field component in a first direction and a second magnetic field component in a second direction perpendicular to the first direction;
wherein the magnetic sensor device is oriented such that the first direction is oriented substantially circumferential with respect to said axis, and such that the second direction is either substantially parallel to the axis or substantially radial to the axis; and
wherein the magnetic sensor device further comprises a processing circuit configured for determining an axial position of the magnet along said axis based on at least the first magnetic field component and the second magnetic field component, or values derived therefrom;
and optionally wherein the processing circuit is further configured for estimating or calculating an angular position of the magnet based at least on the measured first and second magnetic field component.

### Claim 2 (depends on 1)

The magnetic sensor system according to claim 1,
wherein the processing circuit is configured for determining said axial position by calculating a product of the first or second magnetic field component and a predefined constant, and by calculating a sum of a square of this product and a square of the other magnetic field component; and
wherein the processing circuit is further configured for determining the axial position based on this sum.

### Claim 3 (depends on 1)

The magnetic sensor system according to claim 1,
wherein the magnetic sensor device further comprises a second set of magnetic sensitive elements in a second sensor location spaced from the first sensor location in the first direction, and configured for measuring a third magnetic field component parallel to the first magnetic field component, and a fourth magnetic field component parallel to the second magnetic field component; and
wherein the processing unit is further configured for calculating a first magnetic field gradient based on the first and the third magnetic field component, and for calculating the second magnetic field gradient based on the second and the fourth magnetic field component; and
wherein the processing circuit is further configured for determining the axial position of the magnet based at least on the first and second magnetic field gradient.

### Claim 4 (depends on 3)

The magnetic sensor system according to claim 3,
wherein the processing circuit is configured for calculating a product by multiplying one of the first and second magnetic field gradient with a predefined constant, and for calculating a sum of a square of this product and a square of the other magnetic field gradient; and
wherein the processing circuit is configured for determining the axial position based on this sum.

### Claim 5 (depends on 1)

The magnetic sensor system according to claim 1,
wherein the magnet is a ring or disk magnet having at least one North pole and at least one South pole at its top surface, and having at least one North pole and at least one South pole at its bottom surface; or
wherein the magnet is a radially magnetized ring or disk magnet; or
wherein the magnet is a diametrically magnetized ring or disk magnet.

### Claim 6 (depends on 1)

The magnetic sensor system according to claim 1, wherein the processing circuit is further configured for calculating the angular position based on a product of a predefined constant and a ratio of the first magnetic field component and the second magnetic field component.

### Claim 7 (depends on 3)

The magnetic sensor system according to claim 3, wherein the processing circuit is further configured for estimating or calculating an angular position of the magnet based at least on the first and second magnetic field gradient.

### Claim 8 (depends on 1)

The magnetic sensor system according to claim 1,
wherein the processing circuit is configured for estimating the angular position based on a ratio of the first magnetic field component and the second magnetic field component; and
wherein the processing circuit is configured for determining a dynamic threshold as a function of the estimated angle; and
wherein the processing circuit is further configured for determining a sum of squares of the first magnetic field component and a second magnetic field component, and for comparing the sum with the dynamic threshold; and
if the sum is larger than said dynamic threshold, to determine that the magnet is in a first predefined position along said axis; and
if this sum is smaller than said threshold, to determine that the magnet is in a second predefined position along said axis.

### Claim 9 (depends on 8)

The magnetic sensor system according to claim 8,
wherein the processing circuit is further configured for updating the angular position based on a product of a first predefined constant and a ratio of the first magnetic field component and the second magnetic field component if the magnet is in the first predefined position, and
for updating the angular position based on a product of a second predefined constant and a ratio of the first magnetic field component and the second magnetic field component if the magnet is in the second predefined position.

### Claim 10 (depends on 7)

A magnetic sensor system according to claim 7,
wherein the processing circuit is configured for estimating the angular position based on a ratio of the first magnetic field gradient and the second magnetic field gradient; and
wherein the processing circuit is configured for determining a dynamic threshold as a function of the estimated angle; and
wherein the processing circuit is further configured for determining a sum of squares of the first magnetic field gradient and the second magnetic field gradient, and for comparing the sum with the dynamic threshold; and
if the sum is larger than said dynamic threshold, to determine that the magnet is in a first predefined position along said axis; and
if this sum is smaller than said threshold, to determine that the magnet is in a second predefined position along said axis.

### Claim 11 (depends on 10)

The magnetic sensor system according to claim 10,
wherein the processing circuit is further configured for updating the angular position based on a product of a first predefined constant and a ratio of the first magnetic field gradient and the second magnetic field gradient if the magnet is in the first predefined position, and
for updating the angular position based on a product of a second predefined constant and a ratio of the first magnetic field gradient and the second magnetic field gradient if the magnet is in the second predefined position.

### Claim 12 (depends on 1)

The magnetic sensor system according to claim 1,
wherein the magnet is a ring or disk magnet having a top surface and a bottom surface and a cylindrical wall with an outer radius; and
wherein the sensor device is located at a radial distance from said axis larger than said outer radius; and
wherein the sensor device is located outside of the space between a top plane containing or tangential to said top surface and a bottom plane containing or tangential to said bottom surface when the magnet is in at least one of its first and second axial position.

### Claim 13 (depends on 1)

A method of determining at least an axial position and optionally also an angular position of a magnet in a system according to claim 1, the method comprising the steps of:
measuring at a first sensor location said first magnetic field component oriented in the first direction, and said second magnetic field component oriented in the second direction perpendicular to the first direction;
determining the axial position and optionally also the angular position of the magnet based at least on the first magnetic field component and the second magnetic field component.

### Claim 14 (depends on 1)

The method of determining an axial position of the magnet in a system according to claim 1, the method comprising the steps of:
measuring said first magnetic field gradient oriented in the first direction, and said second magnetic field gradient oriented in the second direction perpendicular to the first direction;
determining the axial position of the magnet based at least on the first magnetic field gradient and the second magnetic field gradient.

### Claim 15 (depends on 13)

The method according to claim 13,
further comprising the step of calculating a product of the first or second magnetic field component and a predefined constant, and calculating a sum of a square of this product and a square of the other magnetic field component; and
determining the axial position of the magnet based on this sum of squares.

### Claim 16 (depends on 1)

A magnetic sensor device for use in the magnetic sensor system according to claim 1, the magnetic sensor device comprising:
a substrate comprising a first set of magnetic sensitive elements located in a first sensor location, configured for measuring at least a first magnetic field component in a first direction and a second magnetic field component in a second direction perpendicular to the first direction;
a processing circuit configured for determining an axial position of the magnet or for determining whether the magnet is located in the first axial position or the second axial position based on at least the first magnetic field component and the second magnetic field component, or values derived therefrom.
