Magnetic sensor and magnetic sensor system

The magnetic sensor system with inclined elements and signal amplitude ratio correction addresses errors in magnetic field detection, improving accuracy by reducing angular errors in magnetic field direction sensing.

JP2024146193APending Publication Date: 2024-10-15TDK CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023058949
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Existing magnetic sensors and systems face errors in detection values due to distorted waveforms of detection signals when magnetic field components are detected by magnetoresistive elements on non-orthogonal planes, leading to inaccuracies in angle calculations.

Method used

A magnetic sensor system with inclined magnetic sensing elements on a support member, generating detection signals with phase differences, and a converter adjusting the amplitude ratios of these signals to correct for errors, reducing angular errors through amplitude and phase correction.

Benefits of technology

The system effectively reduces angular errors in detection values by adjusting amplitude ratios and phase differences, enhancing accuracy in magnetic field direction detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024146193000001_ABST
    Figure 2024146193000001_ABST
Patent Text Reader

Abstract

To provide a magnetic sensor and a magnetic sensor system capable of reducing detection value error.SOLUTION: A magnetic sensor 1 comprises: a first MR element 11 disposed on an inclined surface 21a and configured to generate a first detection signal S1; a second MR element 21 disposed on the inclined surface 21a and configured to generate a second detection signal S2; and a converter 31 configured to convert the first detection signal S1 and the second detection signal S2 into a first correction signal S1c and a second correction signal S2, respectively. The converter 31 changes magnitude of amplitude of at least one of the first detection signal S1 and the second detection signal S2, and changes a ratio of the amplitude of the second correction signal S2c to the amplitude of the first correction signal S1c to be different from a ratio of the amplitude of the second detection signal S2 to the amplitude of the first detection signal S1.SELECTED DRAWING: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a magnetic sensor and a magnetic sensor system that includes a magnetic sensing element disposed on an inclined surface. [Background technology]

[0002] In recent years, angle sensor devices that generate angle detection values ​​corresponding to the angle of a detection target have been widely used in various applications such as detecting the rotational position of a steering wheel or a power steering motor in an automobile. An example of an angle sensor device is a magnetic angle sensor device using a magnetic sensor. A magnetic angle sensor device is generally provided with a magnetic field generator that generates a magnetic field whose direction rotates in conjunction with the rotation or linear motion of an object. The magnetic sensor is configured to detect a magnetic field (hereinafter also referred to as a target magnetic field) of which at least one of the direction and intensity changes within a predetermined plane, among the magnetic fields generated by the magnetic field generator.

[0003] Here, assume an orthogonal coordinate system defined by mutually orthogonal X-axis, Y-axis, and Z-axis, and assume a target magnetic field that rotates around the X-axis with a constant intensity. The direction of the target magnetic field can be detected by a magnetic detection element such as a magnetoresistance effect element formed on a surface parallel to the YZ plane. However, in some cases, it may be desired to detect the direction of the target magnetic field by a magnetic detection element formed on a surface parallel to a non-YZ plane that intersects with the YZ plane at a dihedral angle other than 90°. A magnetic detection element formed on a surface parallel to a non-YZ plane can detect a magnetic field component whose direction and intensity change within the non-YZ plane. The direction and intensity of the magnetic field component change according to the direction of the target magnetic field. The angle that the direction of the magnetic field component makes with respect to a specified direction corresponds to the angle that the direction of the target magnetic field makes with respect to the specified direction.

[0004] The direction of the magnetic field component can be detected by a magnetic sensor having a detection signal generating unit that generates first and second detection signals that are 90° out of phase with each other. The angle that the direction of the magnetic field component makes with respect to a predetermined direction can be obtained by angle calculation using the first and second detection signals.

[0005] As described above, the strength of the magnetic field component changes according to the direction of the target magnetic field. Therefore, when the direction of the target magnetic field changes at a predetermined period, the waveforms of the first and second detection signals are distorted from an ideal sine curve. When the waveforms of the first and second detection signals are distorted, an error occurs in the value calculated by the angle calculation.

[0006] Patent Document 1 discloses a rotation angle detection device that multiplies at least one of two output voltage values ​​in the radial direction and rotation direction by a correction coefficient and calculates the rotation angle from the two corrected output voltage values. Patent Document 2 discloses a technology for reducing errors in an angle sensor by including a calculation including a correction term for reducing errors in a conversion calculation performed on a detection signal, the conversion calculation including an offset correction calculation, an amplitude correction calculation, and a phase correction calculation.

[0007] Patent document 3 discloses a magnetic sensor that detects a magnetic field to be detected, whose direction changes within a specified plane, using a magnetoresistance effect element arranged on an inclined plane that intersects with the specified plane at a dihedral angle other than 90°. [Prior art documents] [Patent documents]

[0008] [Patent Document 1] International Publication No. 2009 / 099054 [Patent Document 2] JP 2017-215222 A [Patent Document 3] JP 2020-197491 A Summary of the Invention [Problem to be solved by the invention]

[0009] In Patent Documents 1 and 2, it is assumed that the magnetic field to be detected, whose direction changes within a predetermined plane, is detected by a magnetoresistance effect element formed on a surface parallel to the predetermined plane. Patent Documents 1 and 2 do not assume that the magnetic field to be detected is detected by a magnetoresistance effect element arranged on an inclined surface, as in Patent Document 3.

[0010] The present invention has been made in consideration of such problems, and its purpose is to provide a magnetic sensor and a magnetic sensor system that can reduce errors in detection values ​​generated using multiple detection signals generated by a magnetic sensor including a magnetic detection element arranged on an inclined surface. [Means for solving the problem]

[0011] The magnetic sensor of the present invention comprises: A support member having at least one inclined surface inclined relative to a reference plane; a first magnetic sensing element disposed on the at least one inclined surface and configured to sense a target magnetic field to generate a first sensed signal; a second magnetic sensing element disposed on the at least one inclined surface and configured to sense the target magnetic field and generate a second sensing signal that is out of phase with the first sensing signal; and a converter configured to convert the first detection signal and the second detection signal into a first correction signal and a second correction signal, respectively, and to change the magnitude of the amplitude of at least one of the first detection signal and the second detection signal so that the ratio of the amplitude of the second correction signal to the amplitude of the first correction signal is different from the ratio of the amplitude of the second detection signal to the amplitude of the first detection signal.

[0012] The magnetic sensor system of the present invention includes the magnetic sensor of the present invention and a magnetic field generator that generates a target magnetic field. Effect of the Invention

[0013] In the magnetic sensor and magnetic sensor system of the present invention, the converter changes the magnitude of the amplitude of at least one of the first detection signal and the second detection signal, making the ratio of the amplitude of the second correction signal to the amplitude of the first correction signal different from the ratio of the amplitude of the second detection signal to the amplitude of the first detection signal. This makes it possible to reduce errors in the detection value generated using the first and second detection signals. [Brief description of the drawings]

[0014] [Figure 1] 1 is a perspective view showing a magnetic sensor according to a first embodiment of the present invention. [Diagram 2] FIG. 2 is a front view showing one protrusion shown in FIG. [Diagram 3] FIG. 2 is a side view showing one protrusion shown in FIG. 1. [Figure 4] 1 is a circuit diagram showing a circuit configuration of a magnetic sensor according to a first embodiment of the present invention. [Diagram 5] 1 is a perspective view showing a magnetoresistive effect element according to a first embodiment of the present invention. [Figure 6] FIG. 2 is an explanatory diagram for explaining a target magnetic field in the first embodiment of the present invention. [Figure 7] FIG. 2 is an explanatory diagram showing in-plane and perpendicular components of a target magnetic field in the first embodiment of the present invention. [Figure 8] FIG. 3 is a waveform diagram showing first and second detection signals in the first embodiment of the present invention. [Figure 9] FIG. 4 is a waveform diagram showing first and second correction signals in the first embodiment. [Figure 10] FIG. 11 is a waveform diagram showing first and second correction signals in the second embodiment. [Figure 11] FIG. 4 is a characteristic diagram showing the angular error of each of the first embodiment, the second embodiment, and the comparative example. [Figure 12] FIG. 13 is a characteristic diagram showing the relationship between the amplitude ratio and the angle error. [Figure 13]FIG. 13 is a characteristic diagram showing the relationship between the tilt angle and the amplitude ratio when the angle error is 0. [Figure 14] 1 is a perspective view showing a magnetic sensor system according to a first embodiment of the present invention. [Figure 15] FIG. 11 is a perspective view showing a magnetic sensor system according to a second embodiment of the present invention. [Figure 16] FIG. 11 is a perspective view showing a magnetic sensor according to a third embodiment of the present invention. [Figure 17] FIG. 13 is a perspective view showing a magnetic sensor according to a fourth embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0015] [First embodiment] Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. First, the configuration of a magnetic sensor according to a first embodiment of the present invention will be described with reference to Figs. 1 to 3. Fig. 1 is a perspective view showing a magnetic sensor according to this embodiment. Fig. 2 is a front view showing one protruding portion shown in Fig. 1. Fig. 3 is a side view showing one protruding portion shown in Fig. 1.

[0016] The magnetic sensor 1 according to the present embodiment includes a first magnetic detection element, a second magnetic detection element, a third magnetic detection element, and a fourth magnetic detection element. In the present embodiment, magnetoresistance effect elements are used as the first to fourth magnetic detection elements. Hereinafter, the magnetoresistance effect elements are referred to as MR elements. Also, the first magnetic detection element is referred to as the first MR element 11, the second magnetic detection element is referred to as the second MR element 12, the third magnetic detection element is referred to as the third MR element 13, and the fourth magnetic detection element is referred to as the fourth MR element 14.

[0017] The magnetic sensor 1 further includes a plurality of electrodes (not shown) for supplying current to the first to fourth MR elements 11-14.

[0018] The magnetic sensor 1 further includes a support member 20 that supports the first to fourth MR elements 11 to 14. The support member 20 has an upper surface 20a and a lower surface 20b. The support member 20 may be, for example, a structure including a substrate and a plurality of insulating layers stacked on the substrate.

[0019] Here, the X direction, Y direction, and Z direction are defined as shown in Figs. 1 to 3. The X direction, Y direction, and Z direction are mutually orthogonal. In this embodiment, the direction perpendicular to the upper surface 20a of the support member 20 and from the lower surface 20b toward the upper surface 20a of the support member is defined as the Z direction. The direction opposite to the X direction is defined as the -X direction, the direction opposite to the Y direction is defined as the -Y direction, and the direction opposite to the Z direction is defined as the -Z direction.

[0020] Hereinafter, the position further in the Z direction than the reference position will be referred to as "above," and the position opposite the reference position from "above" will be referred to as "below." Furthermore, for the components of the magnetic sensor 1, the surface located at the end in the Z direction will be referred to as the "top surface," and the surface located at the end in the -Z direction will be referred to as the "bottom surface." Furthermore, the expression "when viewed from the Z direction" means viewing the target object from a position away in the Z direction.

[0021] The lower surface 20b of the support member 20 is a plane parallel to the XY plane. The lower surface 20b of the support member 20 corresponds to the "reference plane" in the present invention. The upper surface 20a of the support member 20 may also be a plane parallel to the XY plane.

[0022] The support member 20 includes protrusions 21, 22 aligned in a direction parallel to the X direction on the upper surface 20a of the support member 20. Each of the protrusions 21, 22 protrudes in the Z direction from the upper surface 20a of the support member 20. Furthermore, each of the protrusions 21, 22 extends in a direction parallel to the Y direction. Each of the protrusions 21, 22 may have a shape that is symmetrical or approximately symmetrical with respect to the YZ plane.

[0023] The surfaces of the protrusions 21 and 22 are each a convex surface that protrudes in a direction (Z direction) away from the upper surface 20a of the support member 20. This convex surface extends in a direction parallel to the Y direction. The overall shape of the convex surface is a semi-cylindrical curved surface.

[0024] The surface of the protrusion 21 includes an inclined surface 21a and an inclined surface 21b. The inclined surface 21a is a surface of the surface of the protrusion 21 that is on the -X direction side of the upper end of the protrusion 21. The inclined surface 21b is a surface of the surface of the protrusion 21 that is on the X direction side of the upper end of the protrusion 21. In FIG. 1, the upper end of the protrusion 21, i.e., the boundary between the inclined surface 21a and the inclined surface 21b, is shown by a dotted line. The inclined surface 21a and the inclined surface 21b may have a shape that is symmetrical or approximately symmetrical with respect to the YZ plane that intersects with the upper end of the protrusion 21.

[0025] The above description of the surface of the protrusion 21 also applies to the protrusion 22. If the protrusion 21 and the inclined surfaces 21a and 21b in the above description of the surface of the protrusion 21 are replaced with the protrusion 22 and the inclined surfaces 22a and 22b, respectively, the description becomes as to the surface of the protrusion 22.

[0026] The inclined surfaces 21a, 21b, 22a, and 22b correspond to "at least one inclined surface" in the present invention. The first to fourth MR elements 11 to 14 are arranged on at least one inclined surface. In particular, in this embodiment, the first and third MR elements 11 and 13 are arranged on the inclined surface 21a. The second and fourth MR elements 12 and 14 are arranged on the inclined surface 22a. In the example shown in FIG. 1, the third and fourth MR elements 13 and 14 are arranged ahead of the first and second MR elements 11 and 12 in the -Y direction, respectively.

[0027] Here, any MR element is denoted by the reference symbol 110, and any protruding portion is denoted by the reference symbol 120. The surface of the protruding portion 120 includes an inclined surface 120a corresponding to the inclined surface 21a or 22a, and an inclined surface 120b corresponding to the inclined surface 21b or 22b. As shown in FIG. 3, the MR element 110 is inclined with respect to the lower surface 20b of the support member 20, i.e., the reference plane. The support member 20 is a member for supporting the MR element 110 so that it is inclined with respect to the reference plane.

[0028] In this embodiment, each of the inclined surfaces 120a and 120b is a curved surface. Therefore, the MR element 110 is curved along the curved surface (inclined surface 120a). In this embodiment, for convenience, the angle that a virtual straight line intersecting with the MR element 110 makes with the XY plane is defined as the angle that the inclined surface 120a makes with respect to the reference plane, and the magnitude of this angle is represented by the symbol α. The virtual straight line may be parallel to a tangent line passing through a point on the inclined surface 120a that is closest to the center of gravity of the MR element 110 when viewed from the Z direction. In addition, the direction rotated by α from the X direction toward the Z direction is defined as the U direction, and the direction opposite to the U direction is defined as the -U direction.

[0029] α is an angle greater than 0° and smaller than 90°. α may be, for example, within a range of 10° to 45°. The magnitude of the angle that the inclined surface 120b makes with respect to the reference plane may be substantially equal to α. In the following description, the magnitude of the angle that the inclined surface 21a makes with respect to the reference plane, the magnitude of the angle that the inclined surface 21b makes with respect to the reference plane, the magnitude of the angle that the inclined surface 22a makes with respect to the reference plane, and the magnitude of the angle that the inclined surface 22b makes with respect to the reference plane are all assumed to be α.

[0030] 3, the bottom surface of the MR element 110 is drawn to be in contact with the inclined surface 120a. However, in reality, electrodes are provided between the bottom surface of the MR element 110 and the inclined surface 120a to connect with another MR element 110 or a power supply terminal, a ground terminal, a first signal terminal, or a second signal terminal, which will be described later.

[0031] Next, the circuit configuration of the magnetic sensor 1 will be described with reference to FIG. 4. FIG. 4 is a circuit diagram showing the circuit configuration of the magnetic sensor 1. The magnetic sensor 1 further includes a power supply terminal V1, a ground terminal G1, a first output terminal E1, a second output terminal E2, a first resistor R1, a second resistor R2, a third resistor R3, and a fourth resistor R4. The first resistor R1 is provided between the power supply terminal V1 and the first output terminal E1. The second resistor R2 is provided between the power supply terminal V1 and the second output terminal E2. The third resistor R3 is provided between the ground terminal G1 and the first output terminal E1. The fourth resistor R4 is provided between the ground terminal G1 and the second output terminal E2.

[0032] A voltage or current of a predetermined magnitude is applied to the power supply terminal V1, and the ground terminal G1 is connected to the ground.

[0033] The first resistor section R1 includes a first MR element 11. The second resistor section R2 includes a second MR element 12. The third resistor section R3 includes a third MR element 13. The fourth resistor section R4 includes a fourth MR element 14.

[0034] 4, the first resistor section R1 includes a first MR element 11. However, the first resistor section R1 may include a plurality of MR elements connected in series as the first MR element 11. Similarly, each of the second to fourth resistor sections R2 to R4 may include a plurality of MR elements connected in series.

[0035] The first MR element 11 is configured to detect a target magnetic field MF and generate a first detection signal S1. The third MR element 13 is configured to detect a target magnetic field MF and cooperate with the first MR element 11 to generate the first detection signal S1.

[0036] The second MR element 12 is configured to detect the target magnetic field MF and generate a second detection signal S2. The fourth MR element 14 is configured to detect the target magnetic field MF and cooperate with the second MR element 12 to generate the second detection signal S2.

[0037] The first detection signal S1 may be a signal whose phase is advanced relative to the second detection signal S2. The phase difference between the first detection signal S1 and the second detection signal S2 is, for example, 90°.

[0038] The magnetic sensor 1 further includes a processor 30 configured to generate a detection value θs having a correspondence relationship with the angle of the detection target. The processor 30 is configured by, for example, an application specific integrated circuit (ASIC) or a microcomputer.

[0039] In particular, in this embodiment, the processor 30 includes a converter 31 that converts the first detection signal S1 and the second detection signal S2 into a first correction signal S1c and a second correction signal S2c, respectively. The converter 31 may be a functional block configured by the processor 30. The function of the converter 31 will be described in detail later.

[0040] The processor 30 further includes a detection value generating unit 32 configured to generate a detection value θs by using the first correction signal S1c and the second correction signal S2c. The detection value generating unit 32 may be a functional block configured by the processor 30.

[0041] Next, the first and second detection signals S1 and S2 will be described. First, the configuration of the MR element 110 will be described with reference to FIG. 5. FIG. 5 is a perspective view showing the MR element 110. The MR element 110 is a spin-valve type MR element. The MR element 110 includes a magnetization pinned layer 112 having a first magnetization whose direction is fixed, a free layer 114 having a second magnetization whose direction can be changed according to the direction of the target magnetic field MF, and a gap layer 113 disposed between the magnetization pinned layer 112 and the free layer 114. The MR element 110 may be a TMR (tunnel magnetoresistance) element or a GMR (giant magnetoresistance) element. In the TMR element, the gap layer 113 is a tunnel barrier layer. In the GMR element, the gap layer 113 is a nonmagnetic conductive layer. In the MR element 110, the resistance value changes depending on the angle that the magnetization direction of the free layer 114 makes with respect to the magnetization direction of the magnetization fixed layer 112, and when this angle is 0°, the resistance value is at its minimum and when the angle is 180°, the resistance value is at its maximum.

[0042] The MR element 110 further includes an antiferromagnetic layer 111. The antiferromagnetic layer 111, the magnetization pinned layer 112, the gap layer 113, and the free layer 114 are laminated in this order. The antiferromagnetic layer 111 is made of an antiferromagnetic material, and generates exchange coupling between the magnetization pinned layer 112 and the magnetization direction of the magnetization pinned layer 112 to fix the magnetization direction of the magnetization pinned layer 112. The magnetization pinned layer 112 may be a so-called self-pinned type pinned layer (synthetic ferri pinned layer, SFP layer). The self-pinned type pinned layer has a laminated ferri structure in which a ferromagnetic layer, a nonmagnetic intermediate layer, and a ferromagnetic layer are laminated, and the two ferromagnetic layers are antiferromagnetically coupled. When the magnetization pinned layer 112 is a self-pinned type pinned layer, the antiferromagnetic layer 111 may be omitted.

[0043] The layers 111 to 114 in the MR element 110 may be arranged upside down relative to the arrangement shown in FIG.

[0044] The planar shape of the MR element 110 may be, for example, circular or approximately circular. The planar shape of the MR element 110 may be a shape seen from one direction, which is the stacking direction of the layers 111 to 114, or a shape seen from the Z direction.

[0045] 1, an arrow drawn on the MR element represents the first magnetization direction of the magnetization fixed layer 112 of the MR element. Also, in Fig. 4, a solid arrow represents the first magnetization direction of the magnetization fixed layer 112. Also, in Fig. 4, a hollow arrow represents the second magnetization direction of the free layer 114.

[0046] The first magnetization direction of the magnetization pinned layer 112 of the first MR element 11 and the first magnetization direction of the magnetization pinned layer 112 of the second MR element 12 are directions that intersect with each other. In addition, the first magnetization direction of the magnetization pinned layer 112 of the third MR element 13 and the first magnetization direction of the magnetization pinned layer 112 of the fourth MR element 14 are directions that intersect with each other. In addition, one of the first magnetization direction of the magnetization pinned layer 112 of the first MR element 11 and the first magnetization direction of the magnetization pinned layer 112 of the second MR element 12 is a direction that intersects with the lower surface 20b of the support member 20, i.e., the reference plane. One of the first magnetization direction of the magnetization pinned layer 112 of the third MR element 13 and the first magnetization direction of the magnetization pinned layer 112 of the fourth MR element 14 is a direction intersecting the lower surface 20b of the support member 20, ie, the reference plane.

[0047] In this embodiment, the first magnetization direction of the magnetization pinned layer 112 of the first MR element 11 is the U direction. The first magnetization direction of the magnetization pinned layer 112 of the second MR element 12 is the -Y direction. The first magnetization direction of the magnetization pinned layer 112 of the third MR element 13 is the -U direction. The first magnetization direction of the magnetization pinned layer 112 of the fourth MR element 14 is the Y direction. Therefore, the first magnetization direction of the magnetization pinned layer 112 of each of the first and third MR elements 11 and 13 is a direction that intersects the reference plane. The first magnetization direction of the magnetization pinned layer 112 of each of the second and fourth MR elements 12 and 14 is a direction parallel to the reference plane.

[0048] The first and third MR elements 11 and 13 are configured to generate the potential of the first output terminal E1 as the first detection signal S1. That is, when the direction and strength of the magnetic field component parallel to the U direction applied to the first and third MR elements 11 and 13 change, the resistance values ​​of the first and third resistors R1 and R3 change such that the resistance value of the first resistor R1 increases and the resistance value of the third resistor R3 decreases, or the resistance value of the first resistor R1 decreases and the resistance value of the third resistor R3 increases. This causes the potential of the first output terminal E1 to change. The magnetic sensor 1 generates a signal corresponding to the potential of the first output terminal E1 as the first detection signal S1.

[0049] The second and fourth MR elements 12 and 14 are configured to generate the potential of the second output terminal E2 as the second detection signal S2. That is, when the direction and strength of the magnetic field component parallel to the Y direction applied to the second and fourth MR elements 12 and 14 change, the resistance values ​​of the second and fourth resistors R2 and R4 change such that the resistance value of the second resistor R2 increases and the resistance value of the fourth resistor R4 decreases, or the resistance value of the second resistor R2 decreases and the resistance value of the fourth resistor R4 increases. This changes the potential of the second output terminal E2. The magnetic sensor 1 generates a signal corresponding to the potential of the second output terminal E2 as the second detection signal S2.

[0050] The first magnetization direction of the magnetization fixed layer 112 may be slightly deviated from the above-mentioned direction in terms of the manufacturing accuracy of the first to fourth MR elements 11 to 14. The magnetization of the magnetization fixed layer 112 may be configured to include a magnetization component whose main component is the above-mentioned direction. In this case, the magnetization direction of the magnetization fixed layer 112 is the above-mentioned direction or approximately the above-mentioned direction.

[0051] Next, the target magnetic field MF will be described with reference to Fig. 6 and Fig. 7. Fig. 6 is an explanatory diagram for explaining the target magnetic field MF. Fig. 7 is an explanatory diagram showing the in-plane component and the perpendicular component of the target magnetic field MF.

[0052] 6 and 7, the plane marked with the symbol PL1 represents the YZ plane that intersects with the reference position P0. Hereinafter, this plane will be referred to as the first plane PL1. The reference position P0 is inside or on the surface of the magnetic sensor 1. Moreover, the plane marked with the symbol PL2 represents the plane that intersects with the reference position P0 and the first plane PL1. Hereinafter, this plane will be referred to as the second plane PL2. Moreover, the plane marked with the symbol PL3 represents the XY plane that intersects with the reference position P0. Hereinafter, this plane will be referred to as the third plane PL3.

[0053] The target magnetic field MF has a first direction D1 at the reference position P0. The first direction D1 varies in a first plane PL1. In Fig. 6, an arrow marked with a symbol D1 represents the first direction D1 and the intensity of the target magnetic field MF at the reference position P0. The tip of the arrow marked with a symbol D1 moves on a circle marked with a symbol C1.

[0054] The second plane PL2 is inclined with respect to both the first plane PL1 and the third plane PL3, and intersects with the third plane PL3 at a dihedral angle. The magnitude of the dihedral angle is equal to the angle α that the inclined surface 120a shown in Figure 3 makes with respect to the reference plane. Note that the second plane PL2 shown in Figures 6 and 7 is just an example.

[0055] As shown in Fig. 7, the target magnetic field MF at the reference position P0 can be divided into an in-plane component MFa parallel to the second plane PL2 and a vertical component MFb perpendicular to the second plane PL2. Note that Fig. 7 shows a state in which the first direction D1, which is the direction of the target magnetic field MF at the reference position P0, coincides with the Z direction. The in-plane component MFa has a second direction D2 that changes according to the change in the first direction D1. In Fig. 6, the arrow marked with the symbol D2 represents the second direction D2 and the intensity of the in-plane component MFa. The tip of the arrow marked with the symbol D2 moves on the ellipse marked with the symbol C2.

[0056] 6 shows a virtual line L1 that passes through the reference position P0 and is parallel to the Z direction, a virtual line L2 that passes through the reference position P0 and is parallel to the U direction, intersections P1 and P2 between the virtual line L1 and a circle C1, and intersections P3 and P4 between the virtual line L2 and an ellipse C2. The virtual line L2, the ellipse C2, the intersections P3 and P4, and the second direction D2 are respectively vertical projections of the virtual line L1, the circle C1, the intersections P1 and P2, and the first direction D1 onto the second plane PL2.

[0057] In this embodiment, a second plane PL2 is defined for each of the first to fourth MR elements 11 to 14. The second plane PL2 intersects with the corresponding MR element.

[0058] The target magnetic field MF received by each of the first to fourth MR elements 11 to 14 can be divided into an in-plane component parallel to the second plane PL2 and a vertical component MFb perpendicular to the second plane PL2, similar to the target magnetic field MF at the reference position P0. In FIG. 3, the in-plane component of the target magnetic field MF received by the MR element 110 is indicated by an arrow with a symbol MFa. The in-plane component of the target magnetic field MF received by each of the first to fourth MR elements 11 to 14 has a second direction that changes according to the first direction D1, similar to the in-plane component MFa shown in FIG. 7. In each of the first to fourth MR elements 11 to 14, the direction of the second magnetization of the free layer 114 changes according to the change in the second direction. Each of the first detection signal S1, the second detection signal S2, and the detection value θs depends on the direction of the second magnetization.

[0059] Since the second direction changes in response to a change in the first direction D1, the second magnetization direction changes in response to a change in the first direction D1. Therefore, each of the first detection signal S1, the second detection signal S2, and the detection value θs corresponds to the first direction D1.

[0060] The first to fourth MR elements 11 to 14 are disposed in a region in which the direction of the target magnetic field MF does not substantially differ depending on the position where the target magnetic field MF is received. Therefore, the direction of the target magnetic field MF received by the first to fourth MR elements 11 to 14 is substantially the same.

[0061] Next, the operation of the converter 31 of the processor 30 will be described. Fig. 8 is a waveform diagram showing the first and second detection signals S1, S2. In Fig. 8, the horizontal axis indicates the angle θM (hereinafter referred to as the magnetic field angle θM) that the first direction D1 of the target magnetic field MF makes with respect to a predetermined reference direction (e.g., the Z direction). The vertical axis indicates each value of the first and second detection signals S1, S2. As shown in Fig. 8, when the first direction D1 changes at a predetermined period, the waveforms of the first and second detection signals S1, S2 are distorted from an ideal sine curve.

[0062] The converter 31 is configured to change the magnitude of the amplitude of at least one of the first detection signal S1 and the second detection signal S2 to make the ratio of the amplitude of the second correction signal S2c to the amplitude of the first correction signal S1c different from the ratio of the amplitude of the second detection signal S2 to the amplitude of the first detection signal S1.

[0063] FIG. 9 is a waveform diagram showing the first and second correction signals S1c, S2c of the first embodiment. In FIG. 9, the horizontal axis indicates the magnetic field angle θM, and the vertical axis indicates the values ​​of the first and second correction signals S1c, S2c. In the first embodiment, the amplitude of the second detection signal S2 is changed so that the amplitude of the second correction signal S2c is larger than the amplitude of the second detection signal S2 before conversion. This makes the ratio of the amplitude of the second correction signal S2c to the amplitude of the first correction signal S1c different from the ratio of the amplitude of the second detection signal S2 to the amplitude of the first detection signal S1.

[0064] FIG. 10 is a waveform diagram showing the first and second correction signals S1c, S2c of the second embodiment. In FIG. 10, the horizontal axis indicates the magnetic field angle θM, and the vertical axis indicates the values ​​of the first and second correction signals S1c, S2c. In the second embodiment, the amplitude of the first detection signal S1 is changed so that the amplitude of the first correction signal S1c is larger than the amplitude of the first detection signal S1 before conversion. This makes the ratio of the amplitude of the second correction signal S2c to the amplitude of the first correction signal S1c different from the ratio of the amplitude of the second detection signal S2 to the amplitude of the first detection signal S1.

[0065] Hereinafter, the ratio of the amplitude of the second correction signal S2c to the amplitude of the first correction signal S1c is referred to as the amplitude ratio after conversion, and the ratio of the amplitude of the second detection signal S2 to the amplitude of the first detection signal S1 is referred to as the amplitude ratio before conversion. In both the first and second embodiments, the amplitude ratio before conversion is 1, and the amplitude ratio after conversion is 2.

[0066] Converter 31 may be configured so that the amplitude ratio after conversion does not include 1. In particular in this embodiment, converter 31 may be configured so that the amplitude ratio after conversion does not include a range of 1 or less. A preferred range of the amplitude ratio after conversion will be described in detail later.

[0067] In addition, the converter 31 may be configured to perform a process of correcting the phase and offset of each of the first and second detection signals S1, S2, in addition to the process of making the amplitude ratio after conversion different from the amplitude ratio before conversion.

[0068] Next, an operation of the detection value generating unit 32 of the processor 30 will be described. The detection value generating unit 32 calculates the detection value θs within a range of 0° or more and less than 360°, for example, by the following formula (1). Note that "atan" represents arc tangent.

[0069] θs=atan(S2c / S1c) …(1)

[0070] Next, the action and effect of the magnetic sensor 1 according to this embodiment will be described. In this embodiment, the converter 31 makes the ratio of the amplitude of the second correction signal S2c to the amplitude of the first correction signal S1c different from the ratio of the amplitude of the second detection signal S2 to the amplitude of the first detection signal S1. As a result, according to this embodiment, it is possible to reduce the error of the detection value θs. This effect will be described in detail below.

[0071] Fig. 11 is a characteristic diagram showing the angular error of each of the first embodiment, the second embodiment, and the comparative example. In Fig. 11, the horizontal axis shows the magnetic field angle θM, and the vertical axis shows the angular error. In Fig. 11, the curve indicated by reference numeral 71 shows the angular error of the first embodiment, the curve indicated by reference numeral 72 shows the angular error of the second embodiment, and the curve indicated by reference numeral 73 shows the angular error of the comparative example. In Fig. 11, the angular error 71 of the first embodiment and the angular error 72 of the second embodiment almost overlap each other.

[0072] The angle error 71 of the first embodiment is the difference between the detection value θs and the magnetic field angle θM obtained using the first and second correction signals S1c and S2c of the first embodiment shown in FIG. 9. The angle error 71 of the second embodiment is the difference between the detection value θs and the magnetic field angle θM obtained using the first and second correction signals S1c and S2c of the second embodiment shown in FIG. 10. The angle error 73 of the comparative example is the difference between the detection value θs and the magnetic field angle θM obtained by substituting the first and second detection signals S1 and S2 shown in FIG. 8 instead of the first and second correction signals S1c and S2c into equation (1). The angle error 73 of the comparative example can also be said to be the angle error in the case where the converter 31 is not provided.

[0073] As shown in FIG. 11, according to this embodiment, the error in the detection value θs can be reduced by using the first correction signals S1c, S2c as in the first or second embodiment.

[0074] Next, the results of a simulation conducted to examine the preferred range of the amplitude ratio will be described. In the simulation, the angle α that each of the inclined surfaces 21a, 21b, 22a, and 22b makes with respect to the reference plane was changed in increments of 5° within a range of 10° to 45°. Then, for each α, the error (angle error) of the detection value θs was obtained while changing the converted amplitude ratio. In the simulation, the peak-to-peak value of the angle error when the magnetic field angle θM was changed was taken as the angle error.

[0075] FIG. 12 is a characteristic diagram showing the relationship between the amplitude ratio after conversion and the angle error. In FIG. 12, the horizontal axis shows the amplitude ratio after conversion, and the vertical axis shows the angle error. In FIG. 12, the angle error when α is 10° is shown by a plurality of points connected by a line with a reference number 81. The angle error when α is 15° is shown by a plurality of points connected by a line with a reference number 82. The angle error when α is 20° is shown by a plurality of points connected by a line with a reference number 83. The angle error when α is 25° is shown by a plurality of points connected by a line with a reference number 84. The angle error when α is 30° is shown by a plurality of points connected by a line with a reference number 85. The angle error when α is 35° is shown by a plurality of points connected by a line with a reference number 86. The angle error when α is 40° is shown by a plurality of points connected by a line with a reference number 87. The angular error when α is 45° is shown as a number of points connected by lines labeled 88.

[0076] As shown in Fig. 12, it can be seen that there exists an amplitude ratio at which the angle error becomes zero, regardless of the value of α. From the viewpoint of reducing the angle error, it is preferable to select values ​​for α and the magnitude of the amplitude ratio after conversion that make the angle error zero or nearly zero. On the other hand, from the viewpoint of the accuracy of manufacturing the MR element 110, it is preferable that α is within the range of 10° to 45°. For these reasons, it is more preferable to select the magnitude of the amplitude ratio after conversion so that the angle error becomes zero or nearly zero when α is within the range of 10° to 45°.

[0077] Fig. 13 is a characteristic diagram showing the relationship between the inclination angle and the amplitude ratio when the angle error is 0. In Fig. 13, the horizontal axis indicates the inclination angle of the inclined surfaces 21a, 21b, 22a, and 22b, i.e., α, and the vertical axis indicates the amplitude ratio after conversion. It can be seen from Fig. 13 that when α is within the range of 10° to 45°, it is preferable that the amplitude ratio after conversion does not include a range of 1 or less.

[0078] 13 also shows a curve connecting multiple points each indicating the amplitude ratio after conversion. This curve can be expressed by the function 1 / sin(α) with α as a variable. In other words, the amplitude ratio after conversion when the angle error becomes 0 can be calculated using α and the function 1 / sin(α).

[0079] It is preferable that the angle error is, for example, 1° or less. When α is 10°, the amplitude ratio after conversion at which the angle error is 1° or less is 5.76±0.20. When α is 30°, the amplitude ratio after conversion at which the angle error is 1° or less is 2.00±0.06. When α is 45°, the amplitude ratio after conversion at which the angle error is 1° or less is 1.41±0.05. By adjusting the amplitude ratio after conversion according to α, the angle error can be made equal to or less than a predetermined magnitude.

[0080] Next, a magnetic sensor system 100 according to this embodiment will be described with reference to Fig. 14. Fig. 14 is a perspective view showing the magnetic sensor system 100. The magnetic sensor system 100 includes a magnetic sensor 1 and a magnetic field generator 101 that generates a target magnetic field MF. In the example shown in Fig. 14, the magnetic field generator 101 is a magnet in which one or more pairs of N poles and S poles are alternately arranged in a ring shape. The magnetic sensor 1 is disposed so as to face the outer periphery of the magnetic field generator 101.

[0081] The magnetic field generator 101 is configured to rotate about a rotation axis C. In the example shown in FIG. 14, for example, the magnetic field generator 101 is fixed to a shaft 102 that rotates about the rotation axis C by a fixing member (not shown) provided inside the magnetic field generator 101. The shaft 102 may be, for example, the shaft of a motor (not shown), or may be a shaft configured to rotate together with the shaft of the motor. The magnetic field generator 101 and the shaft 102 are configured to rotate together.

[0082] The magnetic sensor 1 and the magnetic field generator 101 are configured so that, when the relative position of the magnetic field generator 101 with respect to the magnetic sensor 1 changes, the direction of the target magnetic field MF at a predetermined position (first direction D1) rotates. In particular, in this embodiment, the predetermined position is the position where the magnetic sensor 1 is disposed. When the magnetic field generator 101 rotates about the rotation axis C, the relative rotational position of the magnetic field generator 101 with respect to the magnetic sensor 1 changes, and as a result, the direction of the target magnetic field MF rotates.

[0083] In the magnetic sensor system 100, the X-, Y-, and Z-directions are defined with respect to the position where the magnetic sensor 1 is disposed. The Y-direction may be a direction parallel to the tangent of the magnetic field generator 101. The Z-direction may be a direction from the magnetic sensor 1 toward the axis of rotation.

[0084] [Second embodiment] Next, a magnetic sensor system 200 according to a second embodiment of the present invention will be described with reference to Fig. 15. Fig. 15 is a perspective view showing the magnetic sensor system 200. The magnetic sensor system 200 includes the magnetic sensor 1 according to the first embodiment and a magnetic field generator 201 that generates a target magnetic field MF. In the example shown in Fig. 15, the magnetic field generator 201 is a linear scale having multiple pairs of N poles and S poles arranged in a straight line. The magnetic sensor 1 is disposed to face the outer periphery of the magnetic field generator 201.

[0085] The magnetic sensor 1 and the magnetic field generator 201 are configured so that when the relative position of the magnetic field generator 201 with respect to the magnetic sensor 1 changes, the direction of the target magnetic field MF at a predetermined position (first direction D1) rotates. In particular, in this embodiment, the predetermined position is the position where the magnetic sensor 1 is disposed. One of the magnetic sensor 1 and the magnetic field generator 201 moves in a direction parallel to the direction in which the multiple pairs of N poles and S poles are arranged, in conjunction with a moving body (not shown). This changes the relative position of the magnetic field generator 201 with respect to the magnetic sensor 1, and as a result, the direction of the target magnetic field MF rotates.

[0086] In the magnetic sensor system 200, the X-, Y-, and Z-directions are defined with the position where the magnetic sensor 1 is disposed as the center. The Y-direction may be a direction parallel to the direction in which the pairs of N-pole and S-pole are arranged. The Z-direction may be a direction from the magnetic sensor 1 toward the magnetic field generator 201.

[0087] Other configurations, operations, and effects of the present embodiment are similar to those of the first embodiment.

[0088] [Third embodiment] Next, a magnetic sensor 2 according to a third embodiment of the present invention will be described with reference to Fig. 16. Fig. 16 is a perspective view showing the magnetic sensor 2.

[0089] In this embodiment, the support member 20 includes a protruding portion 220 protruding in the Z direction from the upper surface 20a of the support member 20, instead of the protruding portions 21 and 22 in the first embodiment. The shape of the protruding portion 220 is the same as the shape of the protruding portion 21 or 22.

[0090] The surface of the protrusion 220 includes an inclined surface 220a and an inclined surface 220b. The inclined surface 220a is a surface of the surface of the protrusion 220 that is on the left side of the upper end of the protrusion 220 in FIG. 16. The inclined surface 220b is a surface of the surface of the protrusion 220 that is on the right side of the upper end of the protrusion 220 in FIG. 16. In FIG. 16, the upper end of the protrusion 220, i.e., the boundary between the inclined surface 220a and the inclined surface 220b, is indicated by a dotted line. The inclined surface 220a and the inclined surface 220b may have a symmetric or nearly symmetric shape with respect to a plane that intersects with the upper end of the protrusion 220.

[0091] The first to fourth MR elements 11 to 14 of the magnetic sensor 2 are arranged on one protruding portion 220. The first and third MR elements 11 and 13 are arranged on the inclined surface 220b. The second and fourth MR elements 12 and 14 are arranged on the inclined surface 220a. The definitions of the angle that the inclined surface 220a makes with respect to the reference plane and the angle that the inclined surface 220b makes with respect to the reference plane are the same as the definition of the angle that the inclined surface 120a makes with respect to the reference plane described in the first embodiment.

[0092] Other configurations of the magnetic sensor 2 are similar to those of the magnetic sensor 1 according to the first embodiment. Moreover, other configurations, actions, and effects of the present embodiment are similar to those of the first embodiment.

[0093] [Fourth embodiment] Next, a magnetic sensor 3 according to a fourth embodiment of the present invention will be described with reference to Fig. 17. Fig. 17 is a perspective view showing the magnetic sensor 3.

[0094] In the present embodiment, support member 20 includes protrusions 23, 24, 25, and 26 aligned in a direction parallel to the X direction on upper surface 20a of support member 20, instead of protrusions 21 and 22 in the first embodiment. Each of protrusions 23 to 26 protrudes in the Z direction from upper surface 20a of support member 20. The shape of each of protrusions 23 to 26 is similar to the shape of protrusion 21 or 22.

[0095] The surface of the protrusion 23 includes an inclined surface 23a and an inclined surface 23b. The inclined surface 23a is a surface of the surface of the protrusion 23 that is on the -X direction side of the upper end of the protrusion 23. The inclined surface 23b is a surface of the surface of the protrusion 23 that is on the X direction side of the upper end of the protrusion 23. In FIG. 17, the upper end of the protrusion 23, i.e., the boundary between the inclined surface 23a and the inclined surface 23b, is shown by a dotted line. The inclined surface 23a and the inclined surface 23b may have a shape that is symmetrical or approximately symmetrical with respect to the YZ plane that intersects with the upper end of the protrusion 23.

[0096] The above description of the surface of the protrusion 23 also applies to the protrusions 24 to 26. If the protrusion 23 and the inclined surfaces 23a and 23b in the above description of the surface of the protrusion 23 are replaced with the protrusion 24 and the inclined surfaces 24a and 24b, respectively, the description will be of the surface of the protrusion 24. Furthermore, if the protrusion 23 and the inclined surfaces 23a and 23b in the above description of the surface of the protrusion 23 are replaced with the protrusion 25 and the inclined surfaces 25a and 25b, respectively, the description will be of the surface of the protrusion 25. Furthermore, if the protrusion 23 and the inclined surfaces 23a and 23b in the above description of the surface of the protrusion 26 are replaced with the protrusion 26 and the inclined surfaces 26a and 26b, respectively, the description will be of the surface of the protrusion 26.

[0097] The definitions of the angle that inclined surface 23a makes with respect to the reference plane, the angle that inclined surface 24a makes with respect to the reference plane, the angle that inclined surface 25a makes with respect to the reference plane, and the angle that inclined surface 26a makes with respect to the reference plane are similar to the definition of the angle that inclined surface 120a makes with respect to the reference plane described in the first embodiment.

[0098] Moreover, the magnetic sensor 3 according to this embodiment includes a plurality of first MR elements 11, a plurality of second MR elements 12, a plurality of third MR elements 13, and a plurality of fourth MR elements 14. The plurality of first MR elements 11 are arranged on an inclined surface 23a. The plurality of second MR elements 12 are arranged on an inclined surface 24a. The plurality of third MR elements 13 are arranged on an inclined surface 25a. The plurality of fourth MR elements 14 are arranged on an inclined surface 26a.

[0099] The configuration of each of the multiple first MR elements 11 is the same as the configuration of the first MR element 11 in the first embodiment. The configuration of each of the multiple second MR elements 12 is the same as the configuration of the second MR element 12 in the first embodiment. The configuration of each of the multiple third MR elements 13 is the same as the configuration of the third MR element 13 in the first embodiment. The configuration of each of the multiple fourth MR elements 14 is the same as the configuration of the fourth MR element 14 in the first embodiment.

[0100] The magnetic sensor 3 includes first to fourth resistors R1 to R4, similar to the magnetic sensor 1 according to the first embodiment. The relationship between the first to fourth resistors R1 to R4 and the first MR elements 11, the second MR elements 12, the third MR elements 13, and the fourth MR elements 14 is similar to the relationship between the first to fourth resistors R1 to R4 and the first to fourth MR elements 11 to 14 in the first embodiment. In particular, in this embodiment, the first MR elements 11 may be connected in series, the second MR elements 12 may be connected in series, the third MR elements 13 may be connected in series, and the fourth MR elements 14 may be connected in series.

[0101] Other configurations of the magnetic sensor 3 are similar to those of the magnetic sensor 1 according to the first embodiment. Moreover, other configurations, actions, and effects of the present embodiment are similar to those of the first embodiment.

[0102] The present invention is not limited to the above-described embodiments, and various modifications are possible. For example, the first to fourth MR elements 11 to 14 may be arranged on one inclined surface. Alternatively, the first and second MR elements 11 and 12 may be arranged on one inclined surface or one protruding portion, and the third and fourth MR elements 13 and 14 may be arranged on one inclined surface or one protruding portion.

[0103] The conversion unit of the present invention may include a resistor electrically connected to the MR element. The resistor may be included in the first to fourth resistor units R1 to R4, or may be included in the path connecting the first and second output terminals E1, E2 to the processor 30.

[0104] The inclined surface of the protruding portion may include a flat portion. Alternatively, the surface of the protruding portion may be in the shape of a triangular roof.

[0105] Also, the support member 20 may include a plurality of grooves arranged in a direction parallel to the X direction on the upper surface 20a of the support member 20, instead of the plurality of protrusions. Each of the plurality of grooves is recessed in the -Z direction from the upper surface 20a of the support member 20. Each of the plurality of grooves extends in a direction parallel to the Y direction, and the surface of each of the plurality of grooves also extends in a direction parallel to the Y direction. Each of the plurality of grooves may have a shape that is symmetrical or nearly symmetrical with respect to the YZ plane. At least a part of each of the plurality of grooves may be a U-shaped valley groove or a V-shaped valley groove. The surface of the U-shaped valley groove includes a semi-cylindrical curved surface. The surface of the V-shaped valley groove includes two flat portions.

[0106] The surface of each of the plurality of grooves includes a first inclined surface and a second inclined surface. The first inclined surface is a surface of the groove that is closer to the -X direction than the lower end of the groove. The second inclined surface is a surface of the groove that is closer to the X direction than the lower end of the groove. Each of the first inclined surface and the second inclined surface corresponds to "at least one inclined surface" in the present invention. The explanation of "at least one inclined surface" in the present invention also applies to the first inclined surface and the second inclined surface. Each of the plurality of MR elements is disposed on the first inclined surface or the second inclined surface.

[0107] Furthermore, the planar shape of the MR element is not limited to a circle, but may be an ellipse, a rectangle, a polygon, or the like.

[0108] As described above, the magnetic sensor of the present invention includes a support member having at least one inclined surface inclined with respect to a reference plane, a first magnetic detection element arranged on the at least one inclined surface and configured to detect a target magnetic field and generate a first detection signal, a second magnetic detection element arranged on the at least one inclined surface and configured to detect the target magnetic field and generate a second detection signal having a different phase from the first detection signal, and a converter that converts the first detection signal and the second detection signal into a first correction signal and a second correction signal, respectively, and is configured to change the magnitude of the amplitude of at least one of the first detection signal and the second detection signal so that the ratio of the amplitude of the second correction signal to the amplitude of the first correction signal is different from the ratio of the amplitude of the second detection signal to the amplitude of the first detection signal.

[0109] In the magnetic sensor of the present invention, the converter may be configured such that the ratio of the amplitude of the second correction signal to the amplitude of the first correction signal does not include 1. The first detection signal may be a signal whose phase is advanced relative to the second detection signal. In this case, the converter may be configured such that the ratio of the amplitude of the second correction signal to the amplitude of the first correction signal does not include a range of 1 or less.

[0110] In the magnetic sensor of the present invention, the angle that at least one inclined surface forms with respect to the reference plane may be within a range of 10° to 45°.

[0111] In the magnetic sensor of the present invention, the first magnetic detection element and the second magnetic detection element may each have a circular planar shape.

[0112] The magnetic sensor of the present invention may further include a power supply terminal, a ground terminal, a first output terminal, a second output terminal, a first resistor provided between the power supply terminal and the first output terminal, a second resistor provided between the power supply terminal and the second output terminal, a third resistor provided between the ground terminal and the first output terminal, and a fourth resistor provided between the ground terminal and the second output terminal. One of the first resistor and the third resistor may include a first magnetic detection element. The other of the first resistor and the third resistor may include a third magnetic detection element that is disposed on at least one inclined surface and configured to detect a target magnetic field and cooperate with the first magnetic detection element to generate a first detection signal. One of the second resistor and the fourth resistor may include a second magnetic detection element. The other of the second resistive portion and the fourth resistive portion may include a fourth magnetic detection element disposed on at least one inclined surface and configured to detect a target magnetic field and cooperate with the second magnetic detection element to generate a second detection signal.

[0113] In the magnetic sensor of the present invention, each of the first magnetic detection element and the second magnetic detection element may be a magnetoresistance effect element. The magnetoresistance effect element may include a magnetization pinned layer having a first magnetization whose direction is fixed, a free layer having a second magnetization whose direction is variable according to a target magnetic field, and a gap layer disposed between the magnetization pinned layer and the free layer. The first magnetization direction of the magnetization pinned layer of the first magnetic detection element and the first magnetization direction of the magnetization pinned layer of the second magnetic detection element may be directions that intersect with each other. One of the first magnetization direction of the magnetization pinned layer of the first magnetic detection element and the first magnetization direction of the magnetization pinned layer of the second magnetic detection element may be a direction that intersects with a reference plane.

[0114] The magnetic sensor of the present invention may further include a processor configured to generate a detection value having a correspondence relationship with an angle of the detection object by using the first correction signal and the second correction signal. The processor may include a transducer.

[0115] In the magnetic sensor of the present invention, the transducer may include a resistor electrically connected to the first magnetic detection element or the second magnetic detection element.

[0116] In the magnetic sensor of the present invention, the at least one inclined surface may include a first inclined surface and a second inclined surface. The first magnetic detection element may be disposed on the first inclined surface. The second magnetic detection element may be disposed on the second inclined surface.

[0117] The magnetic sensor system of the present invention includes the magnetic sensor of the present invention and a magnetic field generator that generates a target magnetic field.

[0118] In the magnetic sensor system of the present invention, the magnetic sensor may be disposed to face an outer periphery of the magnetic field generator, and the magnetic sensor and the magnetic field generator may be configured such that a direction of a target magnetic field at a given position rotates when a position of the magnetic field generator relative to the magnetic sensor changes. [Explanation of symbols]

[0119] 1...magnetic sensor, 11...first MR element, 12...second MR element, 13...third MR element, 14...fourth MR element, 20...support member, 20a...upper surface, 20b...lower surface, 21, 22...protrusion, 21a, 21b, 22a, 22b...inclined surface, 30...processor, 31...converter, 32...detection value generating unit, 100...magnetic sensor system, 101...magnetic field generator, 102...shaft, MF...target magnetic field, R1...first resistor unit, R2...second resistor unit, R3...third resistor unit, R4...fourth resistor unit, S1...first detection signal, S2...second detection signal, S1c...first correction signal, S2c...second correction signal.

Claims

1. A support member having at least one inclined surface inclined relative to a reference plane; a first magnetic sensing element disposed on the at least one inclined surface and configured to sense a target magnetic field and generate a first detection signal; a second magnetic detection element disposed on the at least one inclined surface and configured to detect the target magnetic field and generate a second detection signal that is out of phase with the first detection signal; a converter that converts the first detection signal and the second detection signal into a first correction signal and a second correction signal, respectively, and is configured to change the magnitude of an amplitude of at least one of the first detection signal and the second detection signal to make a ratio of the amplitude of the second correction signal to the amplitude of the first correction signal different from a ratio of the amplitude of the second detection signal to the amplitude of the first detection signal.

2. 2. The magnetic sensor of claim 1, wherein the transducer is configured such that a ratio of an amplitude of the second correction signal to an amplitude of the first correction signal does not include one.

3. the first detection signal is a signal whose phase is advanced relative to the second detection signal, 3. The magnetic sensor according to claim 2, wherein the converter is configured so that a ratio of the amplitude of the second correction signal to the amplitude of the first correction signal does not include a range of 1 or less.

4. 2. The magnetic sensor according to claim 1, wherein the angle that the at least one inclined surface forms with respect to the reference plane is within a range of 10 degrees to 45 degrees.

5. 2. The magnetic sensor according to claim 1, wherein the first magnetic detection element and the second magnetic detection element each have a circular planar shape.

6. Further, a power supply terminal; A ground end; A first output terminal; A second output terminal; a first resistor portion provided between the power supply terminal and the first output terminal; a second resistor portion provided between the power supply terminal and the second output terminal; a third resistor portion provided between the ground terminal and the first output terminal; a fourth resistor portion provided between the ground terminal and the second output terminal, one of the first resistor unit and the third resistor unit includes the first magnetic detection element, the other of the first resistive portion and the third resistive portion includes a third magnetic detection element disposed on the at least one inclined surface and configured to detect the target magnetic field and cooperate with the first magnetic detection element to generate the first detection signal; one of the second resistor unit and the fourth resistor unit includes the second magnetic detection element, 2. The magnetic sensor according to claim 1, characterized in that the other of the second resistive portion and the fourth resistive portion includes a fourth magnetic detection element arranged on the at least one inclined surface and configured to detect the target magnetic field and cooperate with the second magnetic detection element to generate the second detection signal.

7. each of the first magnetic detection element and the second magnetic detection element is a magnetoresistance effect element; The magnetoresistance effect element includes a magnetization fixed layer having a first magnetization whose direction is fixed, a free layer having a second magnetization whose direction is changeable in response to the target magnetic field, and a gap layer disposed between the magnetization fixed layer and the free layer; the first magnetization direction of the magnetization fixed layer of the first magnetic detection element and the first magnetization direction of the magnetization fixed layer of the second magnetic detection element intersect with each other; 2. The magnetic sensor according to claim 1, characterized in that one of the first magnetization direction of the magnetization fixed layer of the first magnetic detection element and the first magnetization direction of the magnetization fixed layer of the second magnetic detection element is a direction that intersects the reference plane.

8. 2. The magnetic sensor according to claim 1, further comprising a processor configured to generate a detection value having a correspondence relationship with an angle of an object to be detected, using the first correction signal and the second correction signal.

9. The magnetic sensor of claim 8 , wherein the processor includes the transducer.

10. 2. The magnetic sensor of claim 1, wherein the transducer includes a resistor electrically connected to the first magnetic sensing element or the second magnetic sensing element.

11. the at least one inclined surface includes a first inclined surface and a second inclined surface; the first magnetic detection element is disposed on the first inclined surface; 2. The magnetic sensor according to claim 1, wherein the second magnetic detection element is disposed on the second inclined surface.

12. A magnetic sensor according to any one of claims 1 to 11, and a magnetic field generator for generating the target magnetic field.

13. 13. The magnetic sensor system according to claim 12, wherein the magnetic sensor is disposed so as to face an outer periphery of the magnetic field generator.

14. 14. The magnetic sensor system of claim 13, wherein the magnetic sensor and the magnetic field generator are configured such that a direction of the target magnetic field at a given location rotates when a relative position of the magnetic field generator with respect to the magnetic sensor changes.

Citation Information

Patent Citations

  • Angle sensor and correction method therefor and angle sensor system

    JP2017215222A

  • Magnetic sensor and magnetic sensor system

    JP2020197491A

  • Rotation angle detection device, rotary machine, and rotation angle detection method

    WO2009099054A1