# US 2025/0085362 A1 · Magnetic sensor device

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

- Number: US 2025/0085362 A1
- Document ID: US20250085362A1
- Status: Published application
- Kind: A1
- Application number: 18/958,211
- Filed: 2024-11-25
- Published: 2025-03-13
- Earliest claimed: 2021-09-21
- Assignees: TDK Corporation
- Applicants: TDK Corporation
- Inventors: Norikazu OTA; Shinichirou MOCHIZUKI; Kazuya WATANABE; Hiraku HIRABAYASHI
- Web page: https://patentgrep.com/patent/US20250085362A1

## CPC

- G01R 33/0029: {Treating the measured signals, e.g. removing offset or noise}
- G01R 33/0206: {Three-component magnetometers}
- G01R 33/093: {using multilayer structures, e.g. giant magnetoresistance sensors (thin magnetic films H01F10/00)}
- G01R 33/098: {comprising tunnel junctions, e.g. tunnel magnetoresistance sensors}
- 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: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)

## Abstract

A magnetic sensor device includes a first detection circuit, a second detection circuit, and a processor. The processor is configured to execute first generation processing for generating a first initial detection value, second generation processing for generating a second initial detection value, first correction processing, second correction processing, and determination processing. The first correction processing is processing for correcting the first initial detection value and updating the first initial detection value. The second correction processing is processing for correcting the second initial detection value and updating the second initial detection value. The processor executes the determination processing after alternately executing the first correction processing and the second correction processing.

## Claims

### Claim 1

A magnetic sensor device comprising:
a first detection circuit configured to detect a component of a target magnetic field in one direction and generate a first detection signal, the target magnetic field being a magnetic field to be detected;
a second detection circuit configured to detect a component of the target magnetic field in another direction and generate a second detection signal; and
a processor, wherein
the processor is configured to execute:
first generation processing for generating a first initial detection value using the first detection signal;
second generation processing for generating a second initial detection value using the second detection signal;
first correction processing for correcting the first initial detection value using a second correction value generated from a latest one of the second initial detection value without using the first initial detection value, and updating the first initial detection value;
second correction processing for correcting the second initial detection value using a first correction value generated from a latest one of the first initial detection value without using the second initial detection value, and updating the second initial detection value; and
determination processing for determining the latest one of the first initial detection value as a first detection value having a correspondence with a component of the target magnetic field parallel to a first reference direction, and determining the latest one of the second initial detection value as a second detection value having a correspondence with a component of the target magnetic field parallel to a second reference direction, and
the processor executes the determination processing after alternately executing the first correction processing and the second correction processing.

### Claim 2 (depends on 1)

The magnetic sensor device according to claim 1, wherein the processor executes the first correction processing and the second correction processing twice each.

### Claim 3 (depends on 1)

The magnetic sensor device according to claim 1, wherein the processor executes the second correction processing for a first time before executing the first correction processing for a first time.

### Claim 4 (depends on 1)

The magnetic sensor device according to claim 1, wherein:
the first correction value is a value calculated by computing including multiplication of the latest one of the first initial detection value by a first correction coefficient; and
the second correction value is a value calculated by computing including multiplication of the latest one of the second initial detection value by a second correction coefficient.

### Claim 5 (depends on 1)

The magnetic sensor device according to claim 1, wherein:
the first detection circuit and the second detection circuit each include
a first magnetoresistive element and a second magnetoresistive element connected in series in a first path that is a path electrically connecting a first node and a second node, and
a third magnetoresistive element and a fourth magnetoresistive element connected in series in a second path that is another path electrically connecting the first node and the second node;
the first magnetoresistive element and the fourth magnetoresistive element are connected to the first node;
the second magnetoresistive element and the third magnetoresistive element are connected to the second node;
each of the first to fourth magnetoresistive elements includes a magnetization pinned layer having a first magnetization whose direction is fixed, a free layer having a second magnetization whose direction is variable depending on the target magnetic field, and a gap layer located between the magnetization pinned layer and the free layer;
a direction of a main component of the first magnetization in the first magnetoresistive element and a direction of a main component of the first magnetization in the third magnetoresistive element are same;
a direction of a main component of the first magnetization in the second magnetoresistive element and a direction of a main component of the first magnetization in the fourth magnetoresistive element are same;
the direction of the main component of the first magnetization in the second magnetoresistive element is opposite to the direction of the main component of the first magnetization in the first magnetoresistive element;
the direction of the main component of the first magnetization in the fourth magnetoresistive element is opposite to the direction of the main component of the first magnetization in the third magnetoresistive element; and
in a case where the target magnetic field is not applied to the first and second detection circuits, a direction of a main component of the second magnetization in each of two of the first to fourth magnetoresistive elements is opposite to a direction of a main component of the second magnetization in each of the other two of the first to fourth magnetoresistive elements.

### Claim 6 (depends on 5)

The magnetic sensor device according to claim 5, wherein the gap layer is a tunnel barrier layer.

### Claim 7 (depends on 1)

The magnetic sensor device according to claim 1, wherein neither of the first detection circuit and the second detection circuit includes a shield.

### Claim 8 (depends on 1)

The magnetic sensor device according to claim 1, wherein the first reference direction and the second reference direction are both parallel to a reference plane and are orthogonal to each other.

### Claim 9 (depends on 1)

The magnetic sensor device according to claim 1, wherein:
the direction of the component of the target magnetic field for the first detection circuit to detect is a direction parallel to a reference plane; and
the direction of the component of the target magnetic field for the second detection circuit to detect is a direction inclined relative to the reference plane.

### Claim 10

A magnetic sensor device comprising:
first detection means for detecting a component of a magnetic field in one direction and generate a first detection signal;
second detection means for detecting a component of the magnetic field in another direction and generate a second detection signal; and
processing means for:
generating a first initial detection value using the first detection signal;
generating a second initial detection value using the second detection signal;
correcting the first initial detection value by using a second correction value generated from a latest one of the second initial detection value without using the first initial detection value, and updating the first initial detection value;
correcting the second initial detection value by using a first correction value generated from a latest one of the first initial detection value without using the second initial detection value, and updating the second initial detection value; and
determining a first detection value that represents a component parallel to a first reference direction of the magnetic field, based on the latest one of the first initial detection value; and
determining a second detection value that represents a component parallel to a second reference direction of the magnetic field, based on the latest one of the second initial detection value.

### Claim 11

A method of detecting a magnetic field comprising:
detecting a component of a magnetic field in one direction and generating a first detection signal;
detecting a component of the magnetic field in another direction and generating a second detection signal;
generating a first initial detection value using the first detection signal;
generating a second initial detection value using the second detection signal;
correcting the first initial detection value by using a second correction value generated from a latest one of the second initial detection value without using the first initial detection value, and updating the first initial detection value;
correcting the second initial detection value by using a first correction value generated from a latest one of the first initial detection value without using the second initial detection value, and updating the second initial detection value;
determining a first detection value that represents a component parallel to a first reference direction of the magnetic field, based on the latest one of the first initial detection value; and
determining a second detection value that represents a component parallel to a second reference direction of the magnetic field, based on the latest one of the second initial detection value.

### Claim 12

A magnetic sensor device comprising:
first detection means for detecting a component of a magnetic field in a first direction and generate a first detection signal;
second detection means for detecting a component of the magnetic field in a second direction different from the first direction and generate a second detection signal;
third detection means for detecting a component of the magnetic field in a third direction different from the first direction and the second direction and generate a third detection signal; and
processing means for:
generating a first initial detection value using the first detection signal;
generating a second initial detection value using the second detection signal;
generating a third initial detection value using the third detection signal;
correcting the first initial detection value by using a second correction value generated based on at least one of a latest one of the second initial detection value and a latest one of the third initial detection value, without using the first initial detection value, and update the first initial detection value; and
determining a first detection value that represents a component parallel to a first reference direction of the magnetic field, based on a latest one of the first initial detection value.

### Claim 13 (depends on 12)

The magnetic sensor device according to claim 12, wherein:
the second correction value is generated based on the latest one of the second initial detection value without using the first initial detection value, and
the processing means is further configured to:
correct the second initial detection value by using a first correction value generated from the latest one of the first initial detection value without using the second initial detection value and update the second initial detection value;
correct the third initial detection value by using the first correction value and update the third initial detection value;
determine a second detection value that represents a component parallel to a second reference direction of the magnetic field, based on the latest one of the second initial detection value; and
determine a third detection value that represents a component parallel to a third reference direction of the magnetic field, based on the latest one of the third initial detection value.

### Claim 14 (depends on 12)

The magnetic sensor device according to claim 12, wherein:
the second correction value is generated based on the latest one of the second initial detection value without using the first initial detection value, and
the processing means is further configured to:
correct the second initial detection value by using a first correction value generated from the latest one of the first initial detection value without using the second initial detection value and update the second initial detection value;
determine a second detection value that represents a component parallel to a second reference direction of the magnetic field, based on the latest one of the second initial detection value; and
generate the third initial detection value as a third detection value that represents a component parallel to a third reference direction of the magnetic field.

### Claim 15

A method of detecting a magnetic field comprising:
detecting a component of a magnetic field in a first direction and generating a first detection signal;
detecting a component of the magnetic field in a second direction different from the first direction and generating a second detection signal;
detecting a component of the magnetic field in a third direction different from the first direction and the second direction and generating a third detection signal;
generating a first initial detection value by using the first detection signal;
generating a second initial detection value by using the second detection signal;
generating a third initial detection value by using the third detection signal;
correcting the first initial detection value by using a second correction value generated based on at least one of a latest one of the second initial detection value and a latest one of the third initial detection value, without using the first initial detection value, and updating the first initial detection value; and
determining a first detection value that represents a correspondence with a component of the magnetic field parallel to a first reference direction, based on a latest one of the first initial detection value.

### Claim 16 (depends on 15)

The method of detecting the magnetic field according to claim 15, wherein:
the second correction value is generated based on the latest one of the second initial detection value without using the first initial detection value, and
the method further comprises:
correcting the second initial detection value by using a first correction value generated from the latest one of the first initial detection value without using the second initial detection value and updating the second initial detection value;
correcting the third initial detection value by using the first correction value and updating the third initial detection value;
determining a second detection value that represents a component parallel to a second reference direction of the magnetic field, based on the latest one of the second initial detection value; and
determining a third detection value that represents a component parallel to a third reference direction of the magnetic field, based on the latest one of the third initial detection value.

### Claim 17 (depends on 15)

The method of detecting the magnetic field according to claim 15, wherein:
the second correction value is generated based on the latest one of the second initial detection value without using the first initial detection value, and
the method further comprises:
correcting the second initial detection value by using a first correction value generated from the latest one of the first initial detection value without using the second initial detection value and updating the second initial detection value;
determining a second detection value that represents a component parallel to a second reference direction of the magnetic field, based on the latest one of the second initial detection value; and
generating the third initial detection value as a third detection value that represents a component parallel to a third reference direction of the magnetic field.
