Magnetic sensor

The magnetic sensor with a magnetoresistive element and reversible magnetization control unit addresses 1/f noise issues, enabling high-precision magnetic field measurement and miniaturization.

JP2026115045APending Publication Date: 2026-07-08ALPS ALPINE CO LTD

Patent Information

Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
ALPS ALPINE CO LTD
Filing Date
2026-04-13
Publication Date
2026-07-08

AI Technical Summary

Technical Problem

Magnetic sensors with magnetoresistive elements face challenges in achieving high precision due to 1/f noise, which limits their ability to measure small magnetic fields effectively.

Method used

A magnetic sensor design featuring a magnetoresistive element with a first layer magnetized along the measurement field, a second layer maintaining magnetization direction, and a non-magnetic layer, utilizing a magnetization control unit that reversibly switches the second layer's magnetization direction, allowing for high-precision measurement by taking the difference between electrical signals in two states.

Benefits of technology

The design enables high magnetic resolution and miniaturization of magnetic sensors by effectively removing 1/f noise through reversible magnetization control, enhancing measurement accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026115045000001_ABST
    Figure 2026115045000001_ABST
Patent Text Reader

Abstract

The objective is to provide a magnetic sensor capable of measuring small magnetic fields with high precision. [Solution] The magnetic sensor 1 according to the present invention comprises a variable magnetic field detection unit 100a having a magnetoresistive element 10a and a magnetization control unit 20. The magnetoresistive element 10a has a sensitivity axis for a measurement magnetic field along a predetermined first direction (X direction) when the magnetization control unit 20 is energized, and has a sensitivity axis for a measurement magnetic field along a second direction different from the first direction when the magnetization control unit is not energized. The variable magnetic field detection unit 100a can reversibly measure measurement magnetic fields in different directions by switching between energized and non-energetic states. The magnetoresistive element 10a may have a first layer 13 that can be magnetized in a direction along the measurement magnetic field, a second layer 11 that can maintain magnetization in a predetermined direction even when subjected to a measurement magnetic field, and a non-magnetic layer 12 located between the first layer 13 and the second layer 11.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a magnetic sensor including a magnetoresistive effect element and a magnetic measurement method.

Background Art

[0002] As a magnetic sensor for detecting and measuring a magnetic field, there is one including a magnetoresistive effect element using a GMR (giant magnetoresistance) effect or a TMR (tunnel magnetoresistance) effect. The magnetoresistive effect element in these magnetic sensors has a structure in which a fixed magnetic layer, a nonmagnetic intermediate layer, and a free magnetic layer are laminated in this order. In the magnetoresistive effect element, when an external magnetic field to be measured is applied, the magnetization direction of the free magnetic layer changes, and a resistance change corresponding to the angle formed by the magnetization direction of the free magnetic layer and the magnetization direction of the fixed magnetic layer occurs. A magnetic sensor including a magnetoresistive effect element can detect a magnetic field using the resistance change of the magnetoresistive effect element.

[0003] A magnetic sensor including a magnetoresistive effect element has 1 / f noise that cannot be removed by a filter. Since 1 / f noise is inversely proportional to the frequency and increases as the frequency decreases, it may be an inhibiting factor when performing high-precision measurement. For this reason, various methods are used to remove 1 / f noise.

[0004] Patent Document 1 discloses a magnetic sensor that removes 1 / f noise by taking the difference between the output when a bias magnetic field is applied in a certain direction (+X direction) and the output when a bias magnetic field is applied in the opposite direction (-X direction) in an even-function type magnetic sensor.

[0005] Patent Document 2 discloses a measuring device that shifts the frequency band of a voltage difference Vm to the low-frequency side in order to remove noise due to a Schottky barrier generated between an electrode and a sample when measuring the Hall electromotive force of a semiconductor sample, and removes the frequency band of the voltage difference Vm that is greatly affected by 1 / f noise.

[0006] Patent Document 3 discloses a magnetic field sensing device that samples a bridge signal for a first current and a second current by switching between two sampling and hold modes, and determines the value of the magnetic field from the difference between the sampled first and second bridge signals.

[0007] Patent Document 4 discloses a sensor device that uses a modulator to switch the positive and negative polarity of the sensor signal and then takes the difference between the modulated signals in order to remove 1 / f noise from the output signal. [Prior art documents] [Patent Documents]

[0008] [Patent Document 1] Japanese Patent Publication No. 2018-115972 [Patent Document 2] Japanese Patent Publication No. 2020-148727 [Patent Document 3] Special Publication No. 2012-518788 [Patent Document 4] Special Publication No. 2009-544004 [Overview of the project] [Problems that the invention aims to solve]

[0009] There is a strong demand to improve the resolution (magnetic resolution) of magnetic sensors equipped with magnetoresistive elements, and various devices and methods have been proposed to meet this demand. The present invention aims to provide a magnetic sensor equipped with a magnetoresistive element and a magnetic measurement method that can measure small magnetic fields with high precision using a configuration different from conventional methods. [Means for solving the problem]

[0010] In one embodiment, the present invention is a magnetic sensor characterized by comprising a magnetoresistive element having a first layer that can be magnetized in a direction along a measurement magnetic field, a second layer that can maintain magnetization in a predetermined direction even when subjected to the measurement magnetic field, and a non-magnetic layer located between the first layer and the second layer, and a variable magnetic field detection unit having a magnetization control unit that changes the direction of magnetization of the second layer.

[0011] In conventional magnetoresistive elements, when measuring an external magnetic field, one of the two magnetic layers becomes a magnetization-fixed layer, fixing the direction of magnetization. However, in a magnetic sensor according to one aspect of the present invention, the external magnetic field is measured in two states: a state in which the magnetization of the second layer corresponding to the magnetization-fixed layer is fixed in one direction (first state), and a state in which the magnetization of the second layer is fixed in a direction different from that of the first state (second state). By taking the difference between the electrical signals including the measurement results in each state, highly accurate measurement becomes possible.

[0012] In the magnetic sensor described above, the magnetization control unit may form a laminated structure with the magnetoresistive element.

[0013] In the magnetic sensor described above, the second layer is reversibly switchable between a first state in which the magnetization is maintained in a first direction even when subjected to the measurement magnetic field, and a second state in which the magnetization is maintained in a second direction different from the first direction even when subjected to the measurement magnetic field, and when the second layer is in the second state, the magnetization control unit may be energized. In this case, when the second layer is in the first state, the magnetization control unit may be de-energized, and when the second layer is in the first state, the magnetization control unit may be energized in a different state than when the second layer is in the first state.

[0014] In the magnetic sensor described above, the magnetization control unit has a spin Hall layer made of a layered body that generates a spin-orbit torque when energized, and the direction of the magnetization of the second layer may be reversibly changed based on the spin-orbit torque from the spin Hall layer. In this case, the spin Hall layer may have a portion made of a non-magnetic material and / or a portion made of an antiferromagnetic material.

[0015] In the magnetic sensor described above, the magnetization control unit forms a laminated structure with the magnetoresistive element, and the magnetization control unit is made of a layered body located between the spin Hall layer and the second layer, and has an anisotropic variable layer that is magnetically coupled to the second layer and has magnetic anisotropy, and the anisotropic variable layer may have its magnetization direction reversibly changed by receiving the spin orbit torque from the spin Hall layer. In this case, the anisotropic variable layer may have a portion made of a ferromagnetic material and / or a portion made of an antiferromagnetic material.

[0016] In the magnetic sensor described above, the magnetization control unit may be provided with a bias magnetic field source that aligns the magnetization of at least a portion of the anisotropic variable layer to a predetermined direction when the magnetization control unit is in an unenergized state. The bias magnetic field source may be based on exchange coupling between an antiferromagnetic material and a magnetic material. The spin Hall layer may have a portion made of an antiferromagnetic material that constitutes the bias magnetic field source. The spin Hall layer may have a portion made of a non-magnetic material. The anisotropic variable layer may have a portion made of an antiferromagnetic material that constitutes the bias magnetic field source. The anisotropic variable layer may have at least one of shape magnetic anisotropy and crystal magnetic anisotropy as the bias magnetic field source.

[0017] In the magnetic sensor described above, the magnetization control unit is an electromagnetically driven magnetization control unit capable of reversibly changing the direction of magnetization by energizing, and the electromagnetically driven magnetization control unit may be magnetically coupled to the second layer. In this case, the electromagnetically driven magnetization control unit may have a portion made of an antiferromagnetic material and / or a portion that produces a spin Hall effect.

[0018] In the magnetic sensor having the above-described spin hall layer, the second layer may be a variable second layer whose magnetization direction is changed by receiving the spin-orbit torque from the spin hall layer. In this case, the variable second layer may have a ferromagnetic portion and / or an antiferromagnetic portion.

[0019] Another aspect of the present invention includes a variable magnetic field detection unit having a magnetoresistive effect element including a first layer that can be magnetized in the direction along the measurement magnetic field, a second layer that can maintain the magnetization along the first direction even when receiving the measurement magnetic field, and a non-magnetic layer located between the first layer and the second layer, wherein the second layer can reversibly switch between a first state in which the magnetization is maintained in the first direction even when receiving the measurement magnetic field and a second state in which the magnetization is maintained in a second direction different from the first direction even when receiving the measurement magnetic field. The magnetic sensor is characterized by this.

[0020] In the above magnetic sensor, the second layer may be an energizable variable second layer that becomes the second state when the second layer is in an energized state. In this case, the energizable variable second layer may have a portion made of an antiferromagnet and / or a portion that generates a spin hall effect.

[0021] In the above magnetic sensor, when the energizable variable second layer is in the first state, the energizable variable second layer may be in a non-energized state, or may be in an energized state different from when the energizable variable second layer is in the first state.

[0022] In the above magnetic sensor, the first direction and the second direction may be the same direction and opposite directions. In this case, a magnetic field calculation unit that calculates the measurement magnetic field based on a first output from the variable magnetic field detection unit when the magnetization of the second layer is in the first direction and a second output from the variable magnetic field detection unit when the magnetization of the second layer is in the second direction may be provided.

[0023] When there is a correlation in the noise included in the electrical signal based on the first output and the electrical signal based on the second output, the noise signal, particularly 1 / f noise, can be removed by taking the difference between these electrical signals.

[0024] In the above magnetic sensor, a magnetic field detection unit having a half-bridge circuit including the two variable magnetic field detection units is provided. The magnetic field detection unit can output a first signal output from the half-bridge circuit when the second layer is in the first state for one of the two variable magnetic field detection units, and a second signal output from the half-bridge circuit when the second layer is in the second state for the one of the two variable magnetic field detection units. A magnetic field calculation unit for calculating the measured magnetic field based on the first signal and the second signal may be provided.

[0025] In the above magnetic sensor, a magnetic field detection unit having a full-bridge circuit including the four variable magnetic field detection units is provided. The magnetic field detection unit can output a first signal output from the full-bridge circuit when the second layer is in the first state for two of the four variable magnetic field detection units, and a second signal output from the full-bridge circuit when the magnetization of the second layer of the four variable magnetic field detection units is in the opposite direction to when the first signal is output. A magnetic field calculation unit for calculating the measured magnetic field based on the first signal and the second signal may be provided.

[0026] When there is a correlation in the noise included in the first signal and the second signal, the noise signal, particularly 1 / f noise, can be removed by taking the difference between these signals.

[0027] In the magnetic sensor described above, each variable magnetic field detection unit is reversibly switchable between a first state and a second state, and comprises a first variable magnetic field detection unit and a second variable magnetic field detection unit connected in series, and an output unit that outputs an electrical signal relating to the potential between the first variable magnetic field detection unit and the second variable magnetic field detection unit connected in series, wherein the second layers of the first and second variable magnetic field detection units are controlled to magnetize in opposite directions to each other, and further comprises a magnetic field calculation unit that performs calculation processing using the electrical signal from the output unit as input to calculate the measured magnetic field, wherein the calculation processing may include determining the difference between a first electrical signal output from the output unit when the magnetization of the second layer of the first variable magnetic field detection unit is in the first direction, and a second electrical signal output from the output unit when the magnetization of the second layer of the first variable magnetic field detection unit is in the second direction.

[0028] In the magnetic sensor described above, the first orientation and the second orientation may be aligned in different directions. In this case, the first orientation may be aligned in a first orthogonal direction which is one of the directions perpendicular to the stacking direction in which the first layer and the second layer are aligned, and the second orientation may be aligned in a second orthogonal direction which is perpendicular to the stacking direction and intersects the first orthogonal direction, and furthermore, the first orthogonal direction and the second orthogonal direction may be perpendicular to each other.

[0029] In the above case, the first orientation may be along a first orthogonal direction which is one of the directions perpendicular to the stacking direction in which the first layer and the second layer are aligned, and the second orientation may be along the stacking direction, or the first orientation may be along the stacking direction which is one of the directions perpendicular to the stacking direction, and the measurement magnetic field may have a component along the first orientation and a component along the second orientation.

[0030] In the above case, the system may further include a magnetic field calculation unit that calculates the strength of the measured magnetic field based on a first output from the variable magnetic field detection unit when the second layer is in the first state and a second output from the variable magnetic field detection unit when the second layer is in the second state. Alternatively, the system may further include a magnetic field calculation unit that calculates the direction of the measured magnetic field based on a first output from the variable magnetic field detection unit when the second layer is in the first state and a second output from the variable magnetic field detection unit when the second layer is in the second state.

[0031] The magnetic sensor described above may include a second layer bias magnetic field source that, in the first state, applies a magnetic field to the second layer to maintain the magnetization of the second layer in the first direction. In this case, the magnetization control unit has an antiferromagnetic section made of an antiferromagnetic material, and the exchange coupling based on the antiferromagnetic section may become the second layer bias magnetic field source.

[0032] The above-described magnetic sensor may include a second layer bias magnetic field source that, in the first state, applies a magnetic field to the second layer to maintain the magnetization of the second layer in the first direction. In this case, the variable current second layer has a junction between an antiferromagnetic material and a ferromagnetic material, and the exchange coupling that occurs at the junction may serve as the second layer bias magnetic field source.

[0033] In the magnetic sensor described above, the second layer bias magnetic field source may include at least one of a coil that generates an induced magnetic field when energized and a permanent magnet, the second layer bias magnetic field source and the second layer may be aligned in the stacking direction in which the first layer and the second layer are aligned, or the second layer bias magnetic field source and the second layer may be aligned in a direction that intersects the stacking direction in which the first layer and the second layer are aligned.

[0034] When the magnetic sensor described above is in the first state, the magnetization of the second layer may be maintained in the first orientation based on shape magnetic anisotropy and / or crystal magnetic anisotropy.

[0035] In another aspect, the present invention provides a magnetic measurement method using a magnetic sensor, comprising: a magnetoresistive element having a first layer that can be magnetized in a direction along a measurement magnetic field, a second layer that can maintain magnetization in a predetermined direction even when subjected to the measurement magnetic field, and a non-magnetic layer located between the first and second layers; a variable magnetic field detection unit having a magnetization control unit that changes the direction of the magnetization of the second layer; a magnetic field calculation unit that calculates the measurement magnetic field based on a first output from the variable magnetic field detection unit in a first state in which the magnetization of the second layer is maintained in a first direction even when subjected to the measurement magnetic field, and a second output from the variable magnetic field detection unit in a second state in which the magnetization of the second layer is maintained in a second direction different from the first direction even when subjected to the measurement magnetic field, wherein the second layer can be reversibly switched between the first and second states. The magnetic measurement method comprises a first step of causing the variable magnetic field detection unit to output the first output, a second step of causing the variable magnetic field detection unit to output the second output, and a third step of the magnetic field calculation unit calculating the measurement magnetic field based on the first output and the second output.

[0036] In yet another aspect, the present invention provides a magnetic measurement method using a magnetic sensor, comprising: a variable magnetic field detection unit having a magnetoresistive element having a first layer that can be magnetized in a direction along a measurement magnetic field, a second layer that can maintain magnetization in a predetermined direction even when subjected to the measurement magnetic field, and a non-magnetic layer located between the first and second layers; a magnetic field calculation unit that calculates the measurement magnetic field based on a first output from the variable magnetic field detection unit in a first state in which the magnetization of the second layer is maintained in a first direction even when subjected to the measurement magnetic field, and a second output from the variable magnetic field detection unit in a second state in which the magnetization of the second layer is maintained in a second direction different from the first direction even when subjected to the measurement magnetic field, wherein the second layer is reversibly switchable between the first and second states, and is an energetically variable second layer that enters the second state when the second layer is energized. The magnetic measurement method comprises a first step of causing the variable magnetic field detection unit to output the first output, a second step of causing the variable magnetic field detection unit to output the second output, and a third step of the magnetic field calculation unit calculating the measurement magnetic field based on the first output and the second output.

[0037] In the magnetic sensor of the magnetic measurement method described above, the first orientation and the second orientation may be opposite but in the same direction, and the direction of the measured magnetic field may be calculated based on the first output and the second output. Alternatively, the first orientation and the second orientation may be along different directions, and the direction of the measured magnetic field may be calculated based on the first output and the second output.

[0038] The magnetic sensor of the above-described magnetic measurement method comprises a magnetic field detection unit having a half-bridge circuit including two variable magnetic field detection units, wherein the magnetic field detection unit may output a first signal when one of the two variable magnetic field detection units of the half-bridge circuit is in the first state, and output a second signal when it is in the second state. In this case, the above-described magnetic measurement method may, instead of the first to third steps, comprise an I step of causing the magnetic field detection unit to output the first signal, a II step of causing the magnetic field detection unit to output the second signal, and a III step of calculating the measurement magnetic field in the magnetic field calculation unit based on the first signal and the second signal.

[0039] The magnetic sensor of the above-described magnetic measurement method comprises a magnetic field detection unit having a full-bridge circuit including four variable magnetic field detection units, wherein the magnetic field detection unit outputs a first signal when the magnetization of the second layer of two of the four variable magnetic field detection units of the full-bridge circuit is in the first state and the magnetization of the second layer of the other two is in the second state, and outputs a second signal when the magnetization of the second layer of the four variable magnetic field detection units of the full-bridge circuit is in the opposite direction to when the first signal is output. In this case, the above-described magnetic measurement method may, instead of the first to third steps, comprise an I step of causing the magnetic field detection unit to output a first signal, a II step of causing the magnetic field detection unit to output a second signal, and a III step of the magnetic field calculation unit calculating the measured magnetic field based on the first signal and the second signal.

[0040] In the magnetic sensor described above, in which the first orientation and the second orientation are opposite but in the same direction, the variable magnetic field detection unit is reversibly switchable between the first state and the second state, and comprises a first variable magnetic field detection unit and a second variable magnetic field detection unit connected in series, and an output unit that outputs an electrical signal relating to the potential between the first variable magnetic field detection unit and the second variable magnetic field detection unit connected in series, wherein the second layers of the first and second variable magnetic field detection units are controlled to magnetize in opposite directions to each other, and the magnetic field calculation unit may perform calculation processing using the electrical signal from the output unit as input instead of the first and second outputs. In this case, the above-described magnetic measurement method may, in the first step, cause the variable magnetic field detection unit to output a first electrical signal, which is output from the output unit when the magnetization of the second layer of the first variable magnetic field detection unit is in the first direction, instead of the first output; in the second step, cause the variable magnetic field detection unit to output a second electrical signal, which is output from the output unit when the magnetization of the second layer of the first variable magnetic field detection unit is in the second direction, instead of the second output; and in the third step, calculate the measured magnetic field based on the first electrical signal and the second electrical signal, instead of the first output and the second output.

[0041] In this case, the third step may include calculating the difference between the first electrical signal and the second electrical signal to determine the measured magnetic field. [Effects of the Invention]

[0042] According to the present invention, a magnetic sensor and a magnetic measurement method with high magnetic resolution are provided, and the present invention also contributes to further miniaturization of magnetic sensors. [Brief explanation of the drawing]

[0043] [Figure 1] This is a block diagram of a magnetic sensor relating to one embodiment of the present invention. [Figure 2] This is an explanatory diagram of the magnetic field detection unit of a magnetic sensor according to one embodiment of the present invention. [Figure 3] This figure illustrates an example of a variable magnetic field detection unit included in a magnetic sensor according to the first embodiment of the present invention. [Figure 4] This figure illustrates the first state of an example of a variable magnetic field detection unit of a magnetic sensor according to the first embodiment of the present invention. [Figure 5] This figure illustrates a second state of an example of a variable magnetic field detection unit of a magnetic sensor according to the first embodiment of the present invention. [Figure 6] This is a flowchart illustrating a first measurement method using a magnetic sensor according to the first embodiment of the present invention. [Figure 7] This is an explanatory diagram of the magnetic field detection unit of a magnetic sensor according to one embodiment of the present invention. [Figure 8] This figure illustrates another example of a variable magnetic field detection unit included in a magnetic sensor according to the first embodiment of the present invention. [Figure 9] This figure illustrates a first state of another example of the variable magnetic field detection unit of a magnetic sensor according to the first embodiment of the present invention. [Figure 10] This figure illustrates a second state of another example of the variable magnetic field detection unit of a magnetic sensor according to the first embodiment of the present invention. [Figure 11] This figure illustrates a modified example of the variable magnetic field detection unit included in the magnetic sensor according to the first embodiment of the present invention. [Figure 12] This figure illustrates an example of a variable magnetic field detection unit included in a magnetic sensor according to a second embodiment of the present invention. [Figure 13] This figure illustrates an example of a variable magnetic field detection unit included in a magnetic sensor according to a third embodiment of the present invention. [Figure 14] This figure illustrates a second measurement method (first state) using a magnetic sensor according to the first embodiment of the present invention. [Figure 15] This figure illustrates a second measurement method (second state) using a magnetic sensor according to the first embodiment of the present invention. [Figure 16] This figure illustrates in detail an example of a variable magnetic field detection unit included in a magnetic sensor according to the first embodiment of the present invention. [Figure 17]This is a flowchart illustrating a third measurement method using a magnetic sensor according to the first embodiment of the present invention. [Figure 18] This figure illustrates in detail an example (modified example) of a variable magnetic field detection unit included in a magnetic sensor according to the first embodiment of the present invention. [Figure 19] This figure shows one specific example of a second-layer bias magnetic field source. [Figure 20] This figure shows another specific example of a second-layer bias magnetic field source. [Figure 21] This is a cross-sectional view taken along line B-B' in Figure 20. [Figure 22] This figure shows another specific example of a second-layer bias magnetic field source. [Figure 23] This figure shows yet another specific example of a second-layer bias magnetic field source. [Figure 24] This figure shows yet another specific example of a second-layer bias magnetic field source. [Modes for carrying out the invention]

[0044] Embodiments of the present invention will be described below with reference to the accompanying drawings. In each drawing, the same component is given the same number, and its description is omitted. Reference coordinates are shown in each drawing as appropriate to indicate the positional relationship of each component.

[0045] Figure 1 is a block diagram of a magnetic sensor according to one embodiment of the present invention. Figure 2 is an explanatory diagram of the magnetic field detection unit included in the magnetic sensor according to one embodiment of the present invention. The magnetic sensor 1 of this embodiment includes a magnetic field detection unit 2, a control power supply 3, a magnetic field calculation unit 4 and an amplifier 5, an analog-to-digital conversion circuit (A / D conversion circuit 6), and a control unit 7. The control unit 7 controls each part that constitutes the magnetic sensor 1 and is configured as a CPU (central processing unit) and a program, etc.

[0046] The magnetic field detection unit 2 detects the external magnetic field to be measured (measured magnetic field H). As shown in Figure 2, the magnetic field detection unit 2 is composed of a full-bridge circuit 15 having magnetoresistive elements 10a, 10b, 10c, and 10d that measure the magnetic field along the X direction. In this embodiment, the magnetic field detection unit 2 has variable magnetic field detection units 100a, 100b, 100c, and 100d, corresponding to the magnetoresistive elements 10a, 10b, 10c, and 10d, respectively. The control power supply 3 applies a predetermined current or voltage to each part based on a control signal from the control unit 7.

[0047] The magnetic field calculation unit 4 calculates the measured magnetic field H based on the output of the magnetic field detection unit 2, and is composed of, for example, a CDS (Correlated Double Sampling) circuit. In one specific example, the magnetic field calculation unit 4 calculates the measured magnetic field H based on a first signal, which is the output signal of the magnetic field detection unit 2 when the two variable magnetic field detection units 100b and 100c are in the first state and the two variable magnetic field detection units 100a and 100d are in the second state, and a second signal, which is the output signal of the magnetic field detection unit 2 when the two variable magnetic field detection units 100a and 100d are in the first state and the two variable magnetic field detection units 100b and 100c are in the second state. For example, by calculating the difference between the signal based on the first signal and the signal based on the second signal, a measurement signal from which 1 / f noise has been removed can be obtained. Details of the first and second states will be described later.

[0048] In the magnetic sensor 1, the magnetic field calculation unit 4 calculates the measurement magnetic field H, then the signal corresponding to the calculated measurement magnetic field H is amplified by the amplifier 5, and then converted into digital data by the A / D conversion circuit 6.

[0049] The four magnetoresistive elements 10a, 10b, 10c, and 10d in the magnetic field detection unit 2 of the magnetic sensor 1 according to one embodiment of the present invention may be provided on the same substrate (1 chip). In this embodiment, the four magnetoresistive elements 10a, 10b, 10c, and 10d are provided on the same substrate (not shown), and Figure 2 is a view of the magnetic field detection unit 2 of the magnetic sensor 1 as seen from the laminated surface (front surface) of the substrate in the direction normal to the substrate. That is, in Figure 2, the Z1 side is the front surface of the substrate, and the Z2 side is the back surface of the substrate. The Z direction is along the lamination direction of the magnetoresistive elements 10a, 10b, 10c, and 10d.

[0050] The magnetic field detection unit 2 has a full bridge circuit 15 in which a first half-bridge circuit, in which magnetoresistive elements 10a and 10b, both extending in the Y direction, are connected in series between the power supply terminal Vdd, which is the power supply point, and the ground terminal GND, and a second half-bridge circuit, in which magnetoresistive elements 10c and 10d, both extending in the Y direction, are connected in series, are connected in parallel.

[0051] The first half-bridge circuit has an output terminal V1 between magnetoresistive elements 10a and 10b. The second half-bridge circuit has an output terminal V2 between magnetoresistive elements 10c and 10d. The potential difference between these two output terminals V1 and V2 (midpoint potential Va of the first half-bridge circuit - midpoint potential Vb of the second half-bridge circuit) allows for the quantitative measurement of the magnitude of an externally applied magnetic field H as the measurement magnetic field. In this embodiment, the magnetic field detection unit 2 outputs a signal including the midpoint potential Va from output terminal V1 and a signal including the midpoint potential Vb from output terminal V2, and the processing performed by the magnetic field calculation unit 4 includes calculating the midpoint potential difference using these signals as input.

[0052] In the pair of magnetoresistive elements 10a and 10b forming the first half-bridge circuit, the second layer 11 (see Figure 3), which corresponds to the "fixed magnetic layer" of the conventional magnetoresistive element, can maintain its magnetization 11m in a predetermined direction even when subjected to a measurement magnetic field H within the measurement range. Specifically, the magnetization 11m of the second layer 11 is in the X direction X1 (hereinafter abbreviated as "X1 direction"; the same applies to other directions) for the magnetoresistive element 10a, as shown by the white arrows in Figure 2, and in the X2 direction for the magnetoresistive element 10b. Furthermore, in the pair of magnetoresistive elements 10c and 10d forming the second half-bridge circuit, the magnetization 11m of the second layer 11 is in the X2 direction for the magnetoresistive element 10c, as shown by the white arrows in Figure 2, and in the X1 direction for the magnetoresistive element 10d.

[0053] In the first half-bridge circuit and the second half-bridge circuit, the magnetization 11m of the second layer 11 of the magnetoresistive element 10b and magnetoresistive element 10d on the power terminal Vdd side is in opposite directions (antiparallel). Also, the magnetization 11m of the second layer 11 of the magnetoresistive element 10a and magnetoresistive element 10c on the ground terminal GND side is in opposite directions (antiparallel). Therefore, the sensitivity axis direction of the magnetoresistive elements 10a, 10b, 10c, and 10d is the X direction (X1-X2 direction), which is also referred to as the "first direction" in this specification. The Z direction (Z1-Z2 direction) is also referred to as the "second direction," and the Y direction (Y1-Y2 direction) is also referred to as the "third direction."

[0054] In the four magnetoresistive elements 10a, 10b, 10c, and 10d, when no measurement magnetic field H is applied, the magnetization 13m of the first layer 13 (see Figure 3), which corresponds to the "free magnetic layer" of the conventional magnetoresistive element, is aligned in the direction of Y2, as indicated by the black arrow in Figure 2. When the first layer 13 receives a measurement magnetic field H in the first direction (X direction), it can be magnetized in a direction aligned with the measurement magnetic field H. The method for aligning the direction of the magnetization 13m of the first layer 13 when no measurement magnetic field H is applied is not limited. A bias magnetic field or an induced magnetic field may be applied from the outside, or exchange coupling with an antiferromagnetic layer interacting with the first layer 13 may be used.

[0055] With the above configuration, as the magnitude of the measured magnetic field H in the X direction changes, the outputs from the output terminal V1 of the first half-bridge circuit and the output terminal V2 of the second half-bridge circuit change in opposite directions. Therefore, a large output is obtained as the potential difference (Va-Vb) between the two output terminals V1 and V2. Thus, the magnetic sensor 1 can detect the measured magnetic field H with high precision. In addition, the first half-bridge circuit or the second half-bridge circuit can be used instead of the full-bridge circuit 15, or the magnetoresistive element 10a can be used alone.

[0056] As shown in Figure 2, the magnetic sensor 1 according to this embodiment includes variable magnetic field detection units 100a, 100b, 100c, and 100d that measure the magnetic field H by reversing the magnetization 11m of the second layer 11, that is, by reversing its direction in the same direction, corresponding to the magnetoresistive elements 10a, 10b, 10c, and 10d, respectively. Hereinafter, the variable magnetic field detection unit 100a will be described as a specific example.

[0057] (First Embodiment) Figure 3 illustrates an example of a variable magnetic field detection unit included in a magnetic sensor according to the first embodiment of the present invention. Figure 4 illustrates the first state of an example of a variable magnetic field detection unit of a magnetic sensor according to the first embodiment of the present invention. Figure 5 illustrates the second state of an example of a variable magnetic field detection unit of a magnetic sensor according to the first embodiment of the present invention.

[0058] The variable magnetic field detection unit 100a includes a magnetoresistive element 10a that exhibits a magnetoresistive effect, having a first layer 13 that can be magnetized in a direction along the measured magnetic field H, a second layer 11 that can maintain a state in which the magnetization 11m is aligned with the first direction (X direction) in Figure 3, and a non-magnetic layer 12 located between the first layer 13 and the second layer 11, and a magnetization control unit 20 that reversibly reverses the magnetization 11m of the second layer 11.

[0059] The components of the magnetoresistive element 10a are stacked in the second direction (Z direction). As described above, the first layer 13 corresponds to the "free magnetic layer" in a conventional magnetoresistive element, and the second layer 11 corresponds to the "fixed magnetic layer" in a conventional magnetoresistive element. By detecting the resistance value caused by the misalignment of the magnetization direction of these layers sandwiching the non-magnetic layer 12, the strength of the measurement magnetic field H applied to the first layer 13 can be measured.

[0060] Unlike the "fixed magnetic layer" of conventional magnetoresistive elements, the second layer 11 of the magnetoresistive element 10a in the variable magnetic field detection unit 100a of the magnetic sensor 1 according to this embodiment maintains a state aligned with a predetermined direction in the first direction even when subjected to a measurement magnetic field H within the measurement range of the magnetoresistive element 10a, but is reversible by the magnetization control unit 20.

[0061] The second layer 11 is composed of a magnetic material such as a CoFe alloy (cobalt-iron alloy). The non-magnetic layer 12 is an insulating barrier layer composed of, for example, MgO, Al2O3, or titanium oxide, when the magnetoresistive element 10a is a tunnel magnetoresistive element (TMR). The first layer 13 is composed of a soft magnetic material such as a CoFe alloy or NiFe alloy (nickel-iron alloy). The second layer 11 and the first layer 13 may be single-layer or multilayer structures. In the case of a multilayer structure, it is preferable to have a multilayer ferristructure. When the magnetoresistive element 10a is a giant magnetoresistive element (GMR), a non-magnetic material such as Cu is used as the constituent material of the non-magnetic layer 12. In this embodiment, the first layer 13 is located on the Z1 side of the magnetoresistive element 10a, and the detection center 10P of the magnetoresistive element 10a is located at the center of the first layer 13.

[0062] In this embodiment, the magnetoresistive element 10a of the variable magnetic field detection unit 100a is, as a specific example, a tunnel magnetoresistive element (TMR). For the purpose of measuring the electrical characteristics of the magnetoresistive element 10a, a measurement wiring 62 is provided so that a voltage from a measurement voltage source V is applied in a second direction (Z direction) between the first layer 13 and the second layer 11 of the magnetoresistive element 10a. In this embodiment, the magnetoresistive element 10a and the magnetization control unit 20 are stacked in the second direction (Z direction), and the magnetization control unit 20 is made of a conductive material. Therefore, the measurement wiring 62 is provided so that a voltage from the measurement voltage source V is applied to the first layer 13 via the magnetization control unit 20.

[0063] In the variable magnetic field detection unit 100a according to this embodiment, the magnetization control unit 20 comprises a spin Hall layer 21 made of a layered body and an anisotropic variable layer 22 made of a layered body located between the spin Hall layer 21 and the second layer 11, which is magnetically coupled to the second layer 11 and has magnetic anisotropy.

[0064] The spin Hall layer 21 generates a spin-orbit torque when energized, and the magnetization 11m of the second layer 11 is reversed based on the spin-orbit torque from the spin Hall layer 21. In this embodiment, the spin-orbit torque generated in the spin Hall layer 21 affects the anisotropic variable layer 22, and the magnetization 20m of the anisotropic variable layer 22 is aligned in a predetermined direction. Since the anisotropic variable layer 22 is magnetically bonded to the second layer 11, the second layer 11 is magnetized in line with the magnetization 20m of the anisotropic variable layer 22.

[0065] The spin Hall layer 21, when current is passed through it in the XY plane, exhibits the spin Hall effect and the Rashba-Edelstein effect, thereby imparting spin-orbit torque to the anisotropic variable layer 22. The materials constituting the spin Hall layer 21 include high-density heavy metals among paramagnetic transition metals such as Hf, Ta, W, Pt, and Ir (5d transition metals); topological insulators such as BiSb, BiSe, Bi2Se3, and Bi2Te3; and Mn3X (X=Sn, Ge, Ga, RH, Pt, Ir), Mn 1-x Tr x Examples include antiferromagnetic materials such as the gamma phase (Tr=Ni,Fe,Cu,Ru,Pd,Ir,RH,Pd,Pt); and half-Heusler alloy topological semimetals made of mixed crystals of these materials, such as LuPtSb, LuPdBi, LuPtBi, ScPtBi, YAuPb, LaPtBi, CePtBi, THPtPb, and LaAuPb.

[0066] In one specific example shown in Figure 3, the spin Hall layer 21 is a film-like structure, which may be a single structure, i.e., a monolayer film, or a multilayer film. If it is a multilayer film, boundary regions may be formed between adjacent films. The spin Hall layer 21 may be composed entirely of a single material, or of multiple materials. If it is composed of multiple materials, it may have a multilayer structure as described above, or it may have a dispersed structure. If it has a dispersed structure, the degree of dispersion is arbitrary, and it may be a structure in which nanocrystals are dispersed, or a certain pattern may be formed. Furthermore, a compositional distribution may be set in the spin Hall layer 21.

[0067] The anisotropic variable layer 22 can have its magnetization 20m reversibly reversed based on the spin-orbit torque from the spin Hall layer 21. Furthermore, since the anisotropic variable layer 22 is magnetically coupled to the second layer 11 of the magnetoresistive element 10a, the magnetization 11m of the second layer 11 will be reversed based on the spin-orbit torque from the spin Hall layer 21. The anisotropic variable layer 22, like the spin Hall layer 21, may be composed of a single material or of multiple materials. If it is composed of multiple materials, it may have a dispersed structure or a compositional distribution may be set in the anisotropic variable layer 22.

[0068] The anisotropic variable layer 22 may be composed of any material as long as it performs this magnetization reversal function. Like the second layer 11, it may be composed of a ferromagnetic material or an antiferromagnetic material. Specific examples of antiferromagnetic materials include at least some of the materials that constitute the spin Hall layer 21 described above. When the anisotropic variable layer 22 contains an antiferromagnetic material, a magnetic field may be generated inside the anisotropic variable layer 22 based on physical phenomena different from those that occur when the anisotropic variable layer 22 contains a ferromagnetic material (e.g., a virtual magnetic field). Therefore, in this specification, the concept of "magnetization" in relation to the anisotropic variable layer 22, etc., also includes the generation of a magnetic field inside the anisotropic variable layer 22 based on physical phenomena different from those that occur when the anisotropic variable layer 22 contains a ferromagnetic material.

[0069] (First state) The first state shown in Figure 4 is the state in which the first output is output from the variable magnetic field detection unit 100a. In this example, the control wiring 61 is provided so that the current from the control current source I (control current 20c) is applied to the spin Hall layer 21 in the X1-X2 direction.

[0070] In the first state, the control current 20c for the spin Hall layer 21 of the variable magnetic field detection unit 100a is set to the X2 direction, and the magnetization 11m of the second layer 11 is set to the X1 direction. Note that the magnetization 11m of the second layer 11 is shown by a white arrow in Figure 2. The current flowing through the spin Hall layer 21 generates a spin current 20s1 in the Z direction in the spin Hall layer 21, and spins oriented in a predetermined direction are injected into the anisotropic variable layer 22 from the Z direction Z1 side of the spin Hall layer 21. Due to the spin orbit torque based on these injected spins, the magnetization 20m of the anisotropic variable layer 22 is set to the X1 direction. From the viewpoint of improving the controllability of the direction of the magnetization 20m of the anisotropic variable layer 22 due to these injected spins, it is sometimes preferable that a magnetic field in the Z direction (second direction) is applied to the magnetization control unit 20. The method of applying the magnetic field is not limited, and specific examples include placing a permanent magnet or electromagnet near the variable magnetic field detection unit 100a, and providing an antiferromagnetic material capable of generating a magnetic field based on exchange coupling.

[0071] Since the anisotropic variable layer 22 and the second layer 11 are magnetically coupled, the magnetization 11m of the second layer 11 is also oriented towards X1.

[0072] Therefore, in the first state, the magnetization 11m of the second layer 11 of the magnetoresistive element 10a is fixed in the direction of X1. In this state, the variable magnetic field detection unit 100a measures the measurement magnetic field H, and the first output is output.

[0073] (Second state) The second state shown in Figure 5 is the state in which a second output is output from the variable magnetic field detection unit 100a. In the second state, the control current 20c for the spin Hall layer 21 of the variable magnetic field detection unit 100a is directed towards X1, and the magnetization 11m of the second layer 11 is directed towards X2. The spin current 20s2 generated in the spin Hall layer 21 by this current has the spin orientation reversed from the spin current 20s1 shown in Figure 4. Therefore, the spins injected from the spin Hall layer 21 into the anisotropic variable layer 22 are oriented in the opposite direction to that of the first state. Consequently, the magnetization 20m of the anisotropic variable layer 22, which is oriented by the spin orbit torque based on the injected spins, is in the opposite direction (X2 direction) to that of the first state. In other words, the reversal of the control current 20c for the spin Hall layer 21 causes a reversal of the magnetization of the anisotropic variable layer 22. Furthermore, since the anisotropic variable layer 22 and the second layer 11 are magnetically coupled, the magnetization 11m of the second layer 11 is also oriented towards X2.

[0074] Therefore, in the second state, the magnetization 11m of the second layer 11 of the magnetoresistive element 10a is fixed in the direction of X2. In this state, the variable magnetic field detection unit 100a measures the measurement magnetic field H, and a second output is output.

[0075] (First measurement method) Figure 6 is a flowchart illustrating a first measurement method using a magnetic sensor according to the first embodiment of the present invention. In the first measurement method, as shown in Figure 6, first, as the first measurement step, a control signal output from the control unit 7 causes the control power supply 3 to output a signal to set the variable magnetic field detection units 100a, 100b, 100c, and 100d of the magnetic field detection unit 2 to a first state. Specifically, the direction of the current flowing through the spin Hall layer 21 of the magnetization control unit 20 is set to a predetermined direction. In the magnetic field detection unit 2 shown in Figure 2, the direction of the magnetization 11m of the second layer 11 of the two magnetoresistive effect elements 10b and 10c in the first state and the two magnetoresistive effect elements 10a and 10d in the second state is indicated by white arrows.

[0076] Thus, with the variable magnetic field detection units 100a, 100b, 100c, and 100d in a first or second state, the magnetic field H is measured using the magnetoresistive elements 10a, 10b, 10c, and 10d, and outputs are obtained from each of the variable magnetic field detection units 100a, 100b, 100c, and 100d. Based on these outputs, the magnetic field detection unit 2 outputs a signal as a first signal, which includes the midpoint potential difference, which is the difference between the midpoint potential Va from output terminal V1 and the midpoint potential Vb from output terminal V2 (step S101). These signals including the midpoint potential difference output from the magnetic field detection unit 2 are input to the magnetic field calculation unit 4, and data indicating these signals is stored in the magnetic field calculation unit 4 or a memory (not shown). Note that the first signal may also include the midpoint potential Va and the midpoint potential Vb. In this case, data indicating the two midpoint potentials is stored in the magnetic field calculation unit 4 or a memory (not shown).

[0077] Next, as a second measurement step, a control signal output from the control unit 7 causes the control power supply 3 to output a signal to set the variable magnetic field detection units 100a, 100b, 100c, and 100d of the magnetic field detection unit 2 to a second state. Specifically, the direction of the current flowing through the spin Hall layer 21 of the magnetization control unit 20 is set to the opposite direction to that of the first state. Figure 7 is an explanatory diagram of the magnetic field detection unit of a magnetic sensor according to one embodiment of the present invention. In the magnetic field detection unit 2 shown in Figure 7, the direction of the magnetization 11m of the second layer 11 of the two magnetoresistive effect elements 10a and 10d in the first state and the two magnetoresistive effect elements 10b and 10c in the second state is indicated by white arrows, and these magnetizations are in the opposite direction to when the first signal is output. To explain using the variable magnetic field detection unit 100a as a specific example, when the first signal is output, i.e., in the first state, the direction of the magnetization 11m is towards X1, as shown in Figures 2 and 4, and when the second signal is output, i.e., in the second state, the direction of the magnetization 11m is towards X2, as shown in Figures 5 and 7.

[0078] Thus, with the variable magnetic field detection units 100a, 100b, 100c, and 100d in a first or second state, the magnetic field H is measured using the magnetoresistive elements 10a, 10b, 10c, and 10d, and outputs are obtained from each of the variable magnetic field detection units 100a, 100b, 100c, and 100d. Based on these signals, the magnetic field detection unit 2 outputs a second signal, which includes the midpoint potential Va from output terminal V1 and the midpoint potential Vb from output terminal V2, or a signal of the difference between these midpoint potentials (step S102). The measurement time for both steps S101 and S102 is sufficiently shorter than 1 microsecond (e.g., 0.01 microseconds), and the time required for steps S101 and S102 is also sufficiently shorter than 1 microsecond (e.g., 0.03 microseconds). Therefore, steps S101 and S102 are performed in an environment where the 1 / f noise is substantially equal, and the 1 / f noise contained in the first signal and the 1 / f noise contained in the second signal are substantially equal. The two signals output from the magnetic field detection unit 2 are input to the magnetic field calculation unit 4 and stored in the magnetic field calculation unit 4 or a memory (not shown) as data representing those signals, or as data representing the midpoint potential difference signal which is the difference between the two signals.

[0079] Next, the magnetic field calculation unit 4 reads the data stored in the magnetic field calculation unit 4 or a memory (not shown) in steps S101 and S102, and performs a magnetic field calculation step (step S103) to determine the difference between the midpoint potential indicated by the first signal and the midpoint potential indicated by the second signal. If the data stored in the magnetic field calculation unit 4 or a memory (not shown) includes two midpoint potentials as data related to the first signal and two midpoint potentials as data related to the second signal, the magnetic field calculation unit 4 obtains a signal including the midpoint potential difference from the data related to the first signal, obtains a signal including the midpoint potential difference from the data related to the second signal, and then performs a magnetic field calculation step to determine the difference between these two signals including the midpoint potential difference.

[0080] The magnetic field calculation unit 4 performs the above processing to obtain a measurement signal from which 1 / f noise has been appropriately removed. This measurement signal is amplified by the amplifier 5 and converted into a digital signal by the A / D conversion circuit 6. Therefore, the measurement signal obtained by the measurement method using the magnetic sensor 1 according to this embodiment has 1 / f noise appropriately removed, and thus has a higher resolution (magnetic resolution) of the signal based on the measured magnetic field H than the signal based on the first output (a signal including the midpoint potential difference of the first state) or the signal based on the second output (a signal including the midpoint potential difference of the second state).

[0081] In this embodiment, since the magnetic field detection unit 2 has a full-bridge circuit 15, the signals that the magnetic field calculation unit 4 processes for difference are the signal of the midpoint potential difference of the first state based on the first output and the signal of the midpoint potential difference of the second state based on the second output. However, the signals that the magnetic field calculation unit 4 processes are set appropriately according to the output signals from the magnetic field detection unit 2. For example, if the magnetic field detection unit 2 has only one variable magnetic field detection unit 100a, the magnetic field calculation unit 4 will calculate the difference between the first output (first signal) and the second output (second signal) from the variable magnetic field detection unit 100a.

[0082] (Another example of the first embodiment) Figure 8 illustrates another example of the variable magnetic field detection unit of the magnetic sensor according to the first embodiment of the present invention. Figure 9 illustrates the first state of another example of the variable magnetic field detection unit of the magnetic sensor according to the first embodiment of the present invention. Figure 10 illustrates the second state of another example of the variable magnetic field detection unit of the magnetic sensor according to the first embodiment of the present invention.

[0083] In the example shown in Figure 8, in contrast to the example shown in Figure 3, the control wiring 61 is provided so that the current from the control current source I is applied to the spin Hall layer 21 in the Y direction. In the first state, as shown in Figure 9, the control current 20c is in the Y1 direction, and based on the resulting spin current 20s1, the magnetization 20m of the anisotropic variable layer 22 is in the X1 direction. Since the anisotropic variable layer 22 and the second layer 11 are magnetically coupled, in the first state, the magnetization 11m of the second layer 11 is "fixed" in the X1 direction. On the other hand, in the second state, as shown in Figure 10, the control current 20c is in the Y2 direction, and based on the resulting spin current 20s2, the magnetization 20m of the anisotropic variable layer 22 is in the X2 direction, which is the opposite direction to the first state. Since the anisotropic variable layer 22 and the second layer 11 are magnetically coupled, in the second state, the magnetization 11m of the second layer 11 is "fixed" in the direction of X2.

[0084] (Modified version of the first embodiment) Figure 11 illustrates a modified example of the variable magnetic field detection unit of the magnetic sensor according to the first embodiment of the present invention. In the example shown in Figure 3, the magnetization control unit 20 had a spin Hall layer 21 and an anisotropic variable layer 22. However, in the modified example of the variable magnetic field detection unit 100a shown in Figure 11, the magnetization control unit 20 is an integrated unit consisting of an electromagnetically controlled magnetization control unit 201 that can reversibly reverse magnetization by energizing. In this case, control wiring 61 is connected to the electromagnetically controlled magnetization control unit 201, and current from the control current source I flows to the electromagnetically controlled magnetization control unit 201, generating a spin current 20s1, which sets the direction of the magnetization 20m of the electromagnetically controlled magnetization control unit 201 to a predetermined direction (X1 direction in Figure 11). As a result, the direction of the magnetization 11m of the second layer 11, which is magnetically coupled with the electromagnetically controlled magnetization control unit 201, is also fixed to the X1 direction. The electromagnetically controlled magnetization control unit 201 is not limited to having a uniform structure, and may have structural non-uniformity such as a laminated structure or a dispersed structure.

[0085] (Second Embodiment) Figure 12 illustrates an example of a variable magnetic field detection unit provided in a magnetic sensor according to a second embodiment of the present invention. The variable magnetic field detection unit 100a of the magnetic sensor 1 according to the second embodiment of the present invention differs from the variable magnetic field detection unit 100a of the magnetic sensor 1 according to the first embodiment in that it combines the functions of the second layer 11 and the anisotropic variable layer 22 of the variable magnetic field detection unit 100a of the magnetic sensor 1, and has a variable second layer 111 that has a portion that can be reversibly magnetized inverted based on the spin orbit torque from the spin Hall layer 21. In other words, in the variable magnetic field detection unit 100a of the magnetic sensor 1 according to the second embodiment of the present invention, the second layer 11 of the variable magnetic field detection unit 100a of the magnetic sensor 1 according to the first embodiment is the variable second layer 111, and the magnetization control unit 20 has a spin Hall layer 21 but does not have an anisotropic variable layer 22.

[0086] The material constituting the variable second layer 111 is not particularly limited as long as it is a material whose magnetization can be reversibly reversed by the spin-orbit torque from the spin Hall layer 21, and the variable second layer 111 may have a portion made of an antiferromagnetic material, as exemplified as the constituent material of the anisotropic variable layer 22. The variable second layer 111 may have a homogeneous structure, or it may have a laminated structure or a dispersed structure of portions made of different materials. Furthermore, the variable second layer 111 may have a heterogeneous structure in which its composition changes continuously or stepwise.

[0087] The control method for the first and second states in the variable magnetic field detection unit 100a of the magnetic sensor 1 according to the second embodiment of the present invention is the same as in the case of the variable magnetic field detection unit 100a of the magnetic sensor 1 according to the first embodiment. That is, the wiring of the control current source I is connected to the spin Hall layer 21, and the direction of the magnetization 111m of the variable second layer 111 is set by the direction of the control current 20c flowing through the spin Hall layer 21. Therefore, by flowing the control currents 20c in opposite directions, the first output, which is the output of the variable magnetic field detection unit 100a in the first state, and the second output, which is the output of the variable magnetic field detection unit 100a in the second state, can be obtained. Note that in Figure 12, the first state is shown, similar to Figure 4. In Figure 12, the control wiring 61 is provided so that the control current 20c applied to the spin Hall layer 21 is in the direction of X1 or X2, but it is not limited to this, and the control wiring 61 may be provided so that the control current 20c is in the direction of Y1 or Y2.

[0088] (Third embodiment) Figure 13 illustrates an example of a variable magnetic field detection unit provided in a magnetic sensor according to the third embodiment of the present invention. The variable magnetic field detection unit 100a of the magnetic sensor 1 according to the third embodiment of the present invention differs from the variable magnetic field detection unit 100a of the magnetic sensor 1 according to the first embodiment in that it combines the functions of the second layer 11 and the magnetization control unit 20 of the variable magnetic field detection unit 100a of the magnetic sensor 1 according to the first embodiment. In other words, the second layer 11 and the magnetization control unit 20 are integrated, and the variable energized second layer 112 has a portion that generates a spin orbit torque internally by current from the control wiring 61, allowing for reversible magnetization reversal.

[0089] The material constituting the variable current-conductivity second layer 112 is not particularly limited as long as it is a material whose magnetization can be reversed according to the direction of current flow, and the variable current-conductivity second layer 112 may have a portion made of an antiferromagnetic material, as exemplified as the constituent material of the anisotropic variable layer 22. The variable current-conductivity second layer 112 may have a homogeneous structure, or it may have a laminated structure or dispersed structure of portions made of different materials. Furthermore, the variable current-conductivity second layer 112 may have a heterogeneous structure in which its composition changes continuously or in steps.

[0090] The control method for the first and second states in the variable magnetic field detection unit 100a of the magnetic sensor 1 according to the third embodiment of the present invention is substantially the same as that for the variable magnetic field detection unit 100a of the magnetic sensor 1 according to the first embodiment. That is, the wiring of the control current source I is connected to the variable energized second layer 112 instead of the spin Hall layer 21 in the first embodiment, and the direction of the magnetization 112m of the variable energized second layer 112 is set by the direction of the control current 20c that flows through the variable energized second layer 112. Therefore, by flowing the control currents 20c in opposite directions, the first output, which is the output of the variable magnetic field detection unit 100a in the first state, and the second output, which is the output of the variable magnetic field detection unit 100a in the second state, can be obtained. Note that Figure 13 shows the first state, similar to Figure 9. In Figure 13, the control wiring 61 is provided so that the control current 20c applied to the spin Hall layer 21 is directed towards Y1 or Y2, but it is not limited to this, and the control wiring 61 may be provided so that the control current 20c is directed towards X1 or X2. The variable current second layer 112 has a junction between an antiferromagnetic material and a ferromagnetic material, and the exchange coupling that occurs at this junction may serve as the second layer bias magnetic field source.

[0091] (Second measurement method) Figure 14 illustrates a second measurement method (first state) using a magnetic sensor according to the first embodiment of the present invention. Figure 15 illustrates a second measurement method (second state) using a magnetic sensor according to the first embodiment of the present invention. In the second measurement method, the flowchart of the measurement method is the same as the flowchart of the first measurement method shown in Figure 6, but the configuration of the magnetic field detection unit 2A provided in the magnetic sensor 1 is different.

[0092] In the second measurement method, as shown in Figure 14, the magnetic field detection unit 2A has a half-bridge circuit 16. The half-bridge circuit 16 has two variable magnetic field detection units. That is, the half-bridge circuit 16 has a first variable magnetic field detection unit 101 and a second variable magnetic field detection unit 102 connected in series, and an output unit VA that outputs an electrical signal relating to the potential between the first variable magnetic field detection unit 101 and the second variable magnetic field detection unit 102 connected in series. The first variable magnetic field detection unit 101 and the second variable magnetic field detection unit 102 are controlled so that the second layer 11 magnetizes in opposite directions to each other. In Figure 14, as shown by the white arrows, the magnetization 11m of the second layer 11 of the first variable magnetic field detection unit 101 is in the direction of X2, and the magnetization 11m of the second layer 11 of the second variable magnetic field detection unit 102 is in the direction of X1. The first layers 13 of both the first variable magnetic field detection unit 101 and the second variable magnetic field detection unit 102 are set to align in the same direction when not subjected to the measurement magnetic field H. In Figure 14, as shown by the black arrows, the magnetization 13m of the first layer 13 is set to the Y2 direction when not subjected to the measurement magnetic field H. The magnetization direction of the first layer 13 can be set by a bias magnetic field source (permanent magnet, inductive magnetic field source, structure that generates exchange coupling) not shown.

[0093] The magnetic field calculation unit 4 takes the electrical signal from the output unit VA as input and performs calculation processing to calculate the measured magnetic field H. This calculation processing includes determining the difference between the first electrical signal output from the output unit VA when the magnetization 11m of the second layer 11 of the first variable magnetic field detection unit 101 is in a first state which is unidirectional in the first direction, and the second electrical signal output from the output unit VA when the magnetization 11m of the second layer 11 of the first variable magnetic field detection unit 101 is in a second state which is unidirectional in the first direction.

[0094] Specifically, as the first measurement step, a control signal output from the control unit 7 causes the control power supply 3 to output a signal to set the first variable magnetic field detection unit 101 and the second variable magnetic field detection unit 102 of the magnetic field detection unit 2A to a first state. Specifically, the direction of the current flowing through the spin Hall layer 21 of the magnetization control unit 20 is set to a predetermined direction. In Figure 14, the direction of the magnetization 11m of the second layer 11 of the first variable magnetic field detection unit 101 and the second variable magnetic field detection unit 102 in the first state is indicated by a white arrow.

[0095] Thus, with the first variable magnetic field detection unit 101 and the second variable magnetic field detection unit 102 in the first state, the first variable magnetic field detection unit 101 and the second variable magnetic field detection unit 102 measure the magnetic field H, and a first electrical signal is obtained from the output unit VA (step S101). The first electrical signal is input to the magnetic field calculation unit 4 and stored in the magnetic field calculation unit 4 or a memory (not shown).

[0096] Next, as a second measurement step, a control signal output from the control unit 7 causes the control power supply 3 to output a signal to set the first variable magnetic field detection unit 101 and the second variable magnetic field detection unit 102 of the magnetic field detection unit 2A to the second state. Specifically, the direction of the current flowing through the spin Hall layer 21 of the magnetization control unit 20 is set to the opposite direction to that of the first state. Figure 15 is an explanatory diagram (second state) of the magnetic field detection unit of a magnetic sensor according to one embodiment of the present invention. In Figure 15, the direction of the magnetization 11m of the second layer 11 of the first variable magnetic field detection unit 101 and the second variable magnetic field detection unit 102 in the second state is indicated by white arrows, and these magnetizations 11m are in the opposite direction to those in the first state.

[0097] Thus, the first variable magnetic field detection unit 101 and the second variable magnetic field detection unit 102 are set to the second state, and the first variable magnetic field detection unit 101 and the second variable magnetic field detection unit 102 measure the magnetic field H, and a second electrical signal is obtained from the output unit VA (step S102). The second electrical signal is input to the magnetic field calculation unit 4 and stored in the magnetic field calculation unit 4 or a memory (not shown).

[0098] Next, the magnetic field calculation unit 4 performs a magnetic field calculation step (step S103) in which it calculates the difference between the first electrical signal and the second electrical signal stored in the magnetic field calculation unit 4 or a memory (not shown) in steps S101 and S102. By performing the above process, the magnetic field calculation unit 4 can obtain the measurement signal obtained from the full-bridge circuit 15 using the half-bridge circuit 16. Therefore, the magnetic field detection unit 2A of the second measurement method can be made smaller in area compared to the first measurement method which uses the magnetic field detection unit 2 having the full-bridge circuit 15.

[0099] Furthermore, in the full-bridge circuit 15, an ideal output can be obtained when the electrical characteristics of the four magnetoresistive elements 10a, 10b, 10c, and 10d are exactly the same. However, in reality, since the four elements are manufactured from different sources, differences in their electrical characteristics are unavoidable, and these differences contribute to a decrease in measurement accuracy in the full-bridge circuit 15. In contrast, in the second measurement method, the number of elements used for measurement is halved compared to the full-bridge circuit 15, thus suppressing the decrease in measurement accuracy caused by variations in the electrical characteristics of the elements. Therefore, by combining the second measurement method and the first measurement method, it is possible to particularly improve the magnetic resolution of the magnetic sensor 1.

[0100] Figure 16 is a detailed explanatory diagram of the state shown in Figure 3 (non-energized control state). In the state shown in Figure 16, the control unit 7 controls the system so that no control current 20c flows from the control current source I to the spin Hall layer 21. As a result, the magnetization control unit 20 of the variable magnetic field detection unit 100a of the magnetic field detection unit 2 controls the system so that no spin orbit torque is generated from the spin Hall layer 21.

[0101] In this specific example, the spin Hall layer 21 has a portion made of antiferromagnetism. Therefore, when spin-orbit torque is not generated, the magnetic field caused by the exchange coupling 21af between this antiferromagnet portion and the anisotropic variable layer 22 acts as a bias magnetic field, generating a magnetization 22m in the Y2 direction in the anisotropic variable layer 22. Furthermore, since the anisotropic variable layer 22 and the second layer 11 are magnetically coupled, a magnetization 11m in the Y2 direction is also generated in the second layer 11. In other words, the exchange coupling 21af based on the antiferromagnet portion (antiferromagnetic part) in the spin Hall layer 21 is a bias magnetic field source for the second layer, and when spin-orbit torque is not generated from the spin Hall layer 21 due to the control current source I not supplying the control current 20c, it exerts a bias magnetic field on the second layer 11.

[0102] As shown in Figure 16, when the control unit 7 performs control that does not supply control current 20c from the control current source I, the magnetization control unit 20 enters a de-energized state, and the magnetization 11m of the second layer 11 is maintained in the Y2 direction, which is the first orientation (the orientation along the first orthogonal direction (Y1-Y2 direction), which is one of the directions orthogonal to the stacking direction (Z1-Z2 direction) in which the first layer 13 and the second layer 11 are aligned). In the de-energized state, the variable magnetic field detection unit 100a has no measurement sensitivity (insensitivity) to the measurement magnetic field H in the X direction, but has measurement sensitivity to the measurement magnetic field H' in the Y direction. Therefore, when the second layer 11 is in the de-energized state, the variable magnetic field detection unit 100a uses the Y direction as its sensitivity axis.

[0103] In contrast, as shown in Figures 4 and 5, when the control unit 7 controls the flow of a control current 20c from the control current source I to the spin Hall layer 21, the magnetization control unit 20 becomes energized, and the magnetization 11m of the second layer 11 is maintained in an energized control state in the X1 direction (Figure 4) or X2 direction (Figure 5), which is a second orthogonal direction (along the second orthogonal direction (X1-X2 direction) that is perpendicular to the stacking direction (Z1-Z2 direction) and intersects the first orthogonal direction (Y1-Y2 direction)). In the energized control state, the variable magnetic field detection unit 100a has measurement sensitivity to the measured magnetic field H in the X direction. Therefore, when the second layer 11 is in the energized control state, the variable magnetic field detection unit 100a uses the X direction as its sensitivity axis.

[0104] Figure 17 is a flowchart illustrating a third measurement method using a magnetic sensor according to the first embodiment of the present invention. In the third measurement method, as shown in Figure 17, first, in the magnetic sensor 1, as the first measurement step, a control signal output from the control unit 7 causes the control power supply 3 to output a signal to put the second layer 11 of the variable magnetic field detection unit 100a of the magnetic field detection unit 2 into a non-energized state. Specifically, the control current 20c is not supplied to the spin Hall layer 21 of the magnetization control unit 20.

[0105] In this way, the second layer 11 of the variable magnetic field detection unit 100a is set to a non-energized state, and the magnetoresistive element 10a measures the magnetic field H' along the Y direction, causing the variable magnetic field detection unit 100a to output a first output (step S111). The first signal output from the variable magnetic field detection unit 100a is input to the magnetic field calculation unit 4, and data indicating the first signal is stored in the magnetic field calculation unit 4 or a memory (not shown).

[0106] Next, as the second measurement step, a control signal is output from the control power supply 3 based on the control signal output from the control unit 7, to energize the second layer 11 of the variable magnetic field detection unit 100a of the magnetic field detection unit 2. Specifically, a control current 20c is supplied to the spin Hall layer 21 of the magnetization control unit 20.

[0107] In this way, the second layer 11 of the variable magnetic field detection unit 100a is set to an energized state, and the magnetoresistive element 10a measures the magnetic field H along the X direction, causing the variable magnetic field detection unit 100a to output a second output (step S112). The second signal output from the magnetic field detection unit 2 is input to the magnetic field calculation unit 4, and data indicating the second signal is stored in the magnetic field calculation unit 4 or a memory (not shown).

[0108] The measurement times for both step S111 and step S112 are both well less than 1 microsecond (e.g., 0.01 microseconds), and the time required for both step S111 and step S112 is also well less than 1 microsecond (e.g., 0.03 microseconds). Therefore, step S111 and step S112 measure substantially the same measurement magnetic field applied to the variable magnetic field detection unit 100a, with the measurement magnetic field H' being the Y-direction component of the measurement magnetic field applied to the variable magnetic field detection unit 100a, and the measurement magnetic field H being its X-direction component.

[0109] Next, the magnetic field calculation unit 4 reads the data stored in the magnetic field calculation unit 4 or a memory (not shown) in steps S111 and S112, and performs a magnetic field calculation step (step S113) to determine the actual measured magnetic field from the first output and the second output. In the magnetic field calculation step, either the strength of the actual measured magnetic field or the direction of the actual measured magnetic field may be determined. When determining the direction of the measured magnetic field, for example, the relative angle in the XY plane may be determined based on the first direction (Y2 direction) measured in the non-energized state.

[0110] Figure 18 is a diagram illustrating in detail an example (modified version) of a variable magnetic field detection unit provided in a magnetic sensor according to the first embodiment of the present invention. In the configuration shown in Figure 16, the anisotropic variable layer 22 has a portion made of antiferromagnetic material (antiferromagnetic portion), and the exchange coupling 21af based on this antiferromagnetic portion was a second layer bias magnetic field source that exerted a bias magnetic field on the second layer 11. However, in the configuration shown in Figure 18, the exchange coupling 22af based on the portion made of antiferromagnetic material (antiferromagnetic portion) in the anisotropic variable layer 22 is a second layer bias magnetic field source that exerts a bias magnetic field on the second layer 11. Specifically, when the control unit 7 performs control that does not flow the control current 20c from the control current source I, the exchange coupling 22af based on the antiferromagnetic portion of the anisotropic variable layer 22 generates magnetization 11m in the Z1 direction in the second layer 11. Therefore, in this modified example, when the second layer 11 is in a non-energized control state, the variable magnetic field detection unit 100a uses the Z direction as its sensitivity axis and can measure the measured magnetic field H'' in the Z direction. Thus, in this modified example, in a specific example, the relative angle in the YZ plane can be determined with reference to the first direction (Y2 direction) measured in the non-energized control state.

[0111] If the magnetic field detection unit 2 has a variable magnetic field detection unit 100a with the configuration shown in Figure 16 and a variable magnetic field detection unit 100a with the configuration shown in Figure 18 (for example, as a variable magnetic field detection unit 100b), then the magnetic field calculation unit 4 can determine the three-dimensional orientation of the actually applied measured magnetic field (for example, the three-dimensional relative angle with respect to the first orientation (Y2 direction) related to the variable magnetic field detection unit 100a). In the conventional technology, three magnetic field detection elements are required to determine the three-dimensional orientation of the measured magnetic field, with the X, Y, and Z directions as the sensitivity axes, respectively. However, with the above configuration, the three-dimensional orientation can be measured with two variable magnetic field detection units 100a and 100b. Moreover, since both the two variable magnetic field detection units 100a and 100b measure the same unidirectional component (X direction in this example) of the measured magnetic field, the relative angle correction of the two variable magnetic field detection units 100a and 100b can be performed based on these results. Therefore, the magnetic sensor 1 in this example can perform angle measurement with higher accuracy than conventional magnetic sensors.

[0112] The embodiments described above are provided to facilitate understanding of the present invention and are not intended to limit it. Therefore, each element disclosed in the above embodiments is intended to include all design changes and equivalents that fall within the technical scope of the present invention. For example, in the above description, the magnetization control unit 20 generates a spin-orbit torque to reverse the magnetization 11m of the second layer 11, but is not limited to this, and the magnetization 11m of the second layer 11 may also be reversed by a spin-transfer torque, and both the spin-orbit torque and the spin-transfer torque may contribute to the reversal of the magnetization 11m of the second layer 11. In particular, in a variable second layer 111 or an energized variable second layer 112 that combines the functions of the second layer 11 and at least some of the functions of the magnetization control unit 20, both the spin-orbit torque and the spin-transfer torque tend to contribute to the reversal of the magnetization 11m of the second layer 11.

[0113] In the configuration shown in Figure 16, the spin Hall layer 21 has a portion made of antiferromagnetic material. When no spin orbit torque is generated in the spin Hall layer 21, the magnetic field caused by the exchange coupling 21af between this antiferromagnetic portion and the anisotropic variable layer 22 acts as a bias magnetic field, generating a magnetization 22m in the Y2 direction in the anisotropic variable layer 22. In this configuration, the spin Hall layer 21 may be made of antiferromagnetic material, or it may have a laminated structure of a non-magnetic layer and an antiferromagnetic layer.

[0114] The second layer bias magnetic field source, which generates a Y2-oriented magnetization 22m in the anisotropic variable layer 22 when no spin orbit torque is generated in the spin Hall layer 21, and thereby generates a Y2-oriented magnetization 11m in the second layer 11, is not limited to the exchange coupling 21af. The anisotropic variable layer 22 may have a portion made of antiferromagnetic material (antiferromagnetic portion), and a magnetic portion in contact with the antiferromagnetic portion which is made of either ferromagnetic material or antiferromagnetic material, and the exchange coupling 22af generated between the antiferromagnetic portion and the magnetic portion may serve as the second layer bias magnetic field source. Figure 19 shows one specific example of a second layer bias magnetic field source. In Figure 19, the anisotropic variable layer 22 has a laminated structure consisting of an antiferromagnetic layer 221, which is an antiferromagnetic portion close to the spin Hall layer 21, and a magnetic layer 222, which is a magnetic portion close to the second layer 11. Due to the exchange coupling 22af between the antiferromagnetic layer 221 and the magnetic layer 222, magnetization 222m in the Y2 direction is generated in the magnetic layer 222, and as a result, magnetization 11m in the Y2 direction is also generated in the second layer 11.

[0115] The second layer bias magnetic field source is not limited to exchange coupling. The second layer bias magnetic field source may include, for example, at least one of a coil that generates an induced magnetic field by current and a permanent magnet. Figure 20 shows another specific example of the second layer bias magnetic field source, and Figure 21 is a cross-sectional view taken along line B-B' of Figure 20. In Figure 20, a laminate of a magnetoresistive element 10a having a second layer 11 and a magnetization control unit 20, and a second layer bias magnetic field source consisting of permanent magnets 71 and 72 are arranged side by side in the Y1-Y2 direction, which intersects the Z1-Z2 direction, which is the stacking direction of the first layer 13 and the second layer 11. In one example, the spin Hall layer 21 is made of a non-magnetic material and the anisotropy variable layer 22 is made of a ferromagnetic material, so the magnetization control unit 20 is not provided with any special configuration to generate exchange coupling. However, since the magnetization 71m of permanent magnet 71 and the magnetization 72m of permanent magnet 72 are both oriented in Y2, as shown in Figures 20 and 21, the magnetization 11m of the second layer 11 and the magnetization 22m of the anisotropic variable layer 22 are both oriented in Y2.

[0116] Figure 22 shows another specific example of a second-layer bias magnetic field source. The structure shown in Figure 22 corresponds to the structure shown in Figure 20 with the permanent magnets 71 and 72 removed. In this structure, the second-layer bias magnetic field source is the shape magnetic anisotropy of the anisotropic variable layer 22. As shown in Figure 22, the magnetization control unit 20 has a shape that is longer in the Y1-Y2 direction than in the X1-X2 direction, so shape magnetic anisotropy occurs in the anisotropic variable layer 22, and its magnetization 22m is aligned in the Y1-Y2 direction. In Figure 22, as one specific example, the magnetization 22m is aligned in the Y2 direction by forming the anisotropic variable layer 22 by deposition in a magnetic field. As a result, the magnetization 11m of the second layer 11 is also aligned in the Y2 direction. Other specific examples of a second-layer bias magnetic field source that aligns the magnetization 11m in the Y2 direction include the inverse magnetostrictive effect of the anisotropic variable layer 22 and the uniaxial crystal magnetic anisotropy.

[0117] Figure 23 shows yet another specific example of a second-layer bias magnetic field source. In contrast to the structure shown in Figure 16, the magnetization control unit 20 does not have any special configuration to generate exchange coupling. Specifically, the spin Hall layer 21 is made of a non-magnetic material, and the anisotropy variable layer 22 is made of a ferromagnetic material, but a permanent magnet layer 70 is stacked on the Z2 side of the spin Hall layer 21. That is, the second-layer bias magnetic field source, which consists of the permanent magnet layer 70, and the second layer 11 are aligned in the Z1-Z2 direction, which is the stacking direction of the first layer 13 and the second layer 11. The magnetization 70m of the permanent magnet layer 70 is oriented in the Y1 direction, and due to the magnetic field from this permanent magnet layer 70, the magnetization 11m of the second layer 11 and the magnetization 22m of the anisotropy variable layer 22 are both oriented in the Y2 direction.

[0118] Figure 24 shows yet another specific example of a second-layer bias magnetic field source. In the variable magnetic field detection unit 100a shown in Figure 24, the anisotropic variable layer 22 has uniaxial crystalline magnetic anisotropy in the Z1-Z2 direction, and the magnetization 22m based on this crystalline magnetic anisotropy acts as a second-layer bias magnetic field source, causing the magnetization 11m of the second layer 11 to be aligned in the Z1-Z2 direction. The method for imparting uniaxial crystalline magnetic anisotropy in the Z1-Z2 direction to the anisotropic variable layer 22 is arbitrary; for example, the magnetization 22m can be directed towards Z1 by forming the anisotropic variable layer 22 by deposition in a magnetic field.

[0119] The second-layer bias magnetic field source that directs the magnetization 11m of the second layer 11 towards Z1 is not limited to the uniaxial crystalline magnetic anisotropy of the anisotropic variable layer 22. For example, as shown in Figure 19, the anisotropic variable layer 22 may have a portion made of antiferromagnetic material, and the exchange coupling 22af involving this portion may become the second-layer bias magnetic field source that directs the magnetization 11m towards Z1. Furthermore, the magnetization 11m can also be directed towards Z1 by a configuration in which the second-layer bias magnetic field source, consisting of permanent magnets 71, 72 or electromagnets, and the second layer 11 are aligned in a direction intersecting the stacking direction of the first layer 13 and the second layer 11, as shown in Figure 20, or by a configuration in which the second-layer bias magnetic field source, consisting of a permanent magnet layer 70 or electromagnets, and the second layer 11 are aligned in the stacking direction of the first layer 13 and the second layer 11, as shown in Figure 23. Furthermore, the inverse magnetostrictive effect of the anisotropic variable layer 22 also makes it possible to orient the magnetization 11m towards Z1. However, since the length (thickness) of the anisotropic variable layer 22 in the Z1-Z2 direction is significantly shorter than the length in other directions, it is difficult to use shape magnetic anisotropy as a second layer bias magnetic field source, as shown in Figures 21 and 22. [Industrial applicability]

[0120] The present invention is useful as a magnetic sensor and magnetic measurement method with high magnetic resolution that can detect external magnetic fields with high sensitivity. [Explanation of symbols]

[0121] 1: Magnetic sensor 2, 2A: Magnetic field detection unit 3: Control power supply 4: Magnetic field calculation unit 5: Amplifier 6: A / D conversion circuit 7: Control Unit 10P: Detection center 10a, 10b, 10c, 10d: Magnetoresistive element 11: 2nd layer 12: Non-magnetic layer 13: 1st layer 15: Full-bridge circuit 16: Half-bridge circuit 20: Magnetization control unit 21: Spin Hall layer 22: Anisotropic variable layer 61: Control wiring 62: Wiring for measurement 70: Permanent magnet layer 71, 72: Permanent magnets 100a, 100b, 100c, 100d: Variable magnetic field detection unit 101: First variable magnetic field detection unit 102: Second variable magnetic field detection unit 111: Variable second layer 112: Variable power supply, second layer 20c: Control current 11m, 13m, 20m, 22m, 70m, 71m, 72m, 111m, 112m, 222m: Magnetization 21af, 22af: Exchange coupling 20s1, 20s2: Spin current 201: Electromagnetic Control Unit 221: Antiferromagnetic layer 222:Magnetic layer GND: Ground terminal H, H', H'': Measured magnetic field I: Control current source V: Voltage source for measurement V1, V2: Output terminal VA: Output section Vdd: Power terminal

Claims

1. Magnetoresistive element and It comprises a magnetization control unit and a variable magnetic field detection unit, The magnetoresistive element has a sensitivity axis to a measurement magnetic field along a predetermined first direction when the magnetization control unit is energized, and has a sensitivity axis to a measurement magnetic field along a second direction different from the first direction when the magnetization control unit is not energized. The variable magnetic field detection unit can reversibly measure magnetic fields in different directions by switching between energized and de-energized states. A magnetic sensor characterized by the following features.

2. The magnetoresistive element comprises a first layer that can be magnetized in a direction along the measurement magnetic field, a second layer that can maintain magnetization in a predetermined direction even when subjected to the measurement magnetic field, and a non-magnetic layer located between the first and second layers. The magnetic sensor according to feature 1.

3. The aforementioned magnetic sensor is A first variable magnetic field detection unit and a second variable magnetic field detection unit, comprising the variable magnetic field detection unit described in claim 1. The magnetic sensor according to feature 2.

4. The first variable magnetic field detection unit and the second variable magnetic field detection unit have sensitivity axes for measuring magnetic fields in different directions when the magnetization control unit is not energized. The magnetic sensor according to feature 3.

5. The first variable magnetic field detection unit and the second variable magnetic field detection unit have a sensitivity axis to a measuring magnetic field in a common direction when the magnetization control unit is energized. The magnetic sensor according to feature 4.

6. The system includes a magnetic field calculation unit that calculates a measurement magnetic field based on the outputs of the first variable magnetic field detection unit and the second variable magnetic field detection unit. The magnetic field calculation unit, in the first variable magnetic field detection unit and the second variable magnetic field detection unit, Based on multiple measurement results obtained for different control states, the orientation of the measured magnetic field in three-dimensional space is calculated. The magnetic sensor according to feature 3.

7. The first variable magnetic field detection unit and the second variable magnetic field detection unit are In at least some control states, it is possible to detect a measurement magnetic field having a common directional component. The magnetic field calculation unit uses the common directional component to perform relative angle correction between the first variable magnetic field detection unit and the second variable magnetic field detection unit. The magnetic sensor according to feature 6.

8. The magnetic field calculation unit, In the first variable magnetic field detection unit and the second variable magnetic field detection unit, The direction of the measured magnetic field is calculated using the difference between the measurement results obtained under different control conditions. The magnetic sensor according to feature 6.

9. The first variable magnetic field detection unit and the second variable magnetic field detection unit are formed on the same substrate. The magnetic sensor according to feature 3.