Magnetic sensor and magnetic sensor system
By using a converter in the magnetic sensor system to adjust the signal amplitude ratio of the magnetic detection element, the problem of large magnetic sensor errors under inclined surface configuration is solved and the detection accuracy is improved.
Patent Information
- Application Number
- CN202410375687.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-03-31
- Filing Date
- 2024-03-29
- Publication Date
- 2024-10-01
AI Technical Summary
When existing magnetic sensors use magnetic detection elements arranged on inclined surfaces, the detection signals generated have large errors, making it difficult to accurately detect the direction and intensity of the object's magnetic field.
A magnetic sensor system is designed, including a support member, a first magnetic detection element and a second magnetic detection element. The first detection signal and the second detection signal are converted into correction signals through a converter, and their amplitude ratio is changed to reduce Small error.
By adjusting the amplitude ratio, the error of the detection value is significantly reduced and the accuracy and reliability of the magnetic sensor are improved.
Smart Images

Figure CN118729927A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a magnetic sensor and a magnetic sensor system including a magnetic detection element arranged on an inclined surface. Background Art
[0002] In recent years, angle sensor devices that generate angle detection values that correspond to the angle of the detection object have been widely used in various applications such as detecting the rotational position of the steering wheel or power steering motor in the car. As an angle sensor device, there is a magnetic angle sensor device using a magnetic sensor, for example. In the magnetic angle sensor device, a magnetic field generator that generates a magnetic field that rotates in direction in conjunction with the rotation or linear motion of the object is usually provided. The magnetic sensor is configured to detect a magnetic field in which at least one of the direction and intensity of the magnetic field generated by the magnetic field generator changes within a specified plane (hereinafter also referred to as the object magnetic field).
[0003] Here, a rectangular coordinate system defined by mutually orthogonal X-axis, Y-axis and Z-axis is assumed, and an object magnetic field rotating around the X-axis with a constant intensity is assumed. The direction of the object 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, depending on the situation, it is sometimes desired to detect the direction of the object magnetic field by a magnetic detection element formed on a surface parallel to a non-YZ plane, which intersects the YZ plane at a dihedral angle other than 90°. The magnetic detection element formed on a surface parallel to the non-YZ plane can detect a magnetic field component whose direction and intensity change in the non-YZ plane. The direction and intensity of the magnetic field component change according to the direction of the object magnetic field. The angle formed by the direction of the magnetic field component relative to the specified direction has a corresponding relationship with the angle formed by the direction of the object magnetic field relative to the specified direction.
[0004] The direction of the magnetic field component can be detected using a magnetic sensor having a detection signal generating unit that generates first and second detection signals that are 90 degrees out of phase with each other. The angle formed by the direction of the magnetic field component relative to a predetermined direction can be obtained by angle calculation using the first and second detection signals.
[0005] As described above, the intensity of the magnetic field component changes according to the direction of the object magnetic field. Therefore, when the direction of the object magnetic field changes at a predetermined period, the waveforms of the first and second detection signals are deformed from the ideal sine curve. If the waveforms of the first and second detection signals are deformed, an error occurs in the value obtained by the angle calculation.
[0006] The specification of Chinese patent application No. 101939623A discloses a rotation angle detection device, which multiplies at least one of the two output voltage values in the radial direction and the rotation direction by a correction coefficient, and calculates the rotation angle according to the two corrected output voltage values. The specification of Chinese patent application No. 107449355A discloses the following technology: by making the conversion operation performed on the detection signal include an operation including a correction term for reducing the error, thereby reducing the error in the angle sensor, wherein the above-mentioned conversion operation is a conversion operation including an offset correction operation, an amplitude correction operation and a phase correction operation.
[0007] Chinese Patent Application Publication No. 112051524A discloses a magnetic sensor that detects a magnetic field of a detection object whose direction varies within a predetermined plane using a magnetoresistive element disposed on an inclined surface that intersects a predetermined plane at a dihedral angle other than 90°.
[0008] In the specifications of Chinese Patent Application Publication No. 101939623A and Chinese Patent Application Publication No. 107449355A, it is assumed that the magnetic field of the detection object whose direction changes within the prescribed plane is detected by the magnetoresistance effect element formed on the surface parallel to the prescribed plane. In the specifications of Chinese Patent Application Publication No. 101939623A and Chinese Patent Application Publication No. 107449355A, as in the specifications of Chinese Patent Application Publication No. 112051524A, it is not assumed that the magnetic field of the detection object is detected by the magnetoresistance effect element arranged on the inclined surface. Summary of the invention
[0009] An object of the present invention is to provide a magnetic sensor and a magnetic sensor system capable of reducing errors in detection values generated using a plurality of detection signals generated by a magnetic sensor including a magnetic detection element disposed on an inclined surface.
[0010] The magnetic sensor of the present invention comprises: a supporting member having at least one inclined surface inclined relative to a reference plane; a first magnetic detection element configured to be arranged on at least one inclined surface, and to detect an object magnetic field and generate a first detection signal; a second magnetic detection element configured to be arranged on at least one inclined surface, and to detect an object magnetic field and generate a second detection signal having a phase different from that of the first detection signal; a converter, which converts the first detection signal and the second detection signal into a first correction signal and a second correction signal, respectively, and the converter is configured to change 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.
[0011] 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.
[0012] In the magnetic sensor and the magnetic sensor system of the present invention, the magnitude of the amplitude of at least one of the first detection signal and the second detection signal is changed by the converter 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. Thus, according to the present invention, the error of the detection value generated using the first and second detection signals can be reduced.
[0013] Other objects, features and advantages of the present invention will be more fully apparent from the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 It is a perspective view showing a magnetic sensor according to a first embodiment of the present invention.
[0015] Figure 2 Yes means Figure 1 A front view of a protrusion is shown.
[0016] Figure 3 Yes means Figure 1 A side view of one protrusion is shown.
[0017] Figure 4 : is a circuit diagram showing the circuit configuration of the magnetic sensor according to the first embodiment of the present invention.
[0018] Figure 5 It is a perspective view showing a magnetoresistance effect element according to the first embodiment of the present invention.
[0019] Figure 6 It is an explanatory diagram for explaining the target magnetic field according to the first embodiment of the present invention.
[0020] Figure 7 It is an explanatory diagram showing the in-plane component and the perpendicular component of the target magnetic field according to the first embodiment of the present invention.
[0021] Figure 8 1 is a waveform diagram showing the first and second detection signals according to the first embodiment of the present invention.
[0022] Fig. 9 3 is a waveform diagram showing the first and second correction signals of the first embodiment.
[0023] Fig.10 3 is a waveform diagram showing the first and second correction signals of the second embodiment.
[0024] Fig.11 It is a characteristic diagram showing the angular error of each of the first embodiment, the second embodiment and the comparative example.
[0025] Fig.12 This is a characteristic diagram showing the relationship between the amplitude ratio and the angle error.
[0026] Fig.13 This is a characteristic diagram showing the relationship between the tilt angle and the amplitude ratio when the angle error becomes zero.
[0027] Fig.14 It is a perspective view showing the magnetic sensor system according to the first embodiment of the present invention.
[0028] Fig.15 It is a perspective view showing a magnetic sensor system according to a second embodiment of the present invention.
[0029] Fig.16 It is a perspective view showing a magnetic sensor according to a third embodiment of the present invention.
[0030] Fig.17 It is a perspective view showing a magnetic sensor according to a fourth embodiment of the present invention. DETAILED DESCRIPTION
[0031] [First embodiment]
[0032] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. Figure 1 to Figure 3 , the structure of the magnetic sensor according to the first embodiment of the present invention is described. Figure 1 It is a perspective view showing the magnetic sensor according to the present embodiment. Figure 2 Yes means Figure 1 A front view of a protrusion is shown. Figure 3 Yes means Figure 1 A side view of one protrusion is shown.
[0033] The magnetic sensor 1 of 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 particularly used as the first to fourth magnetic detection elements. Hereinafter, the magnetoresistance effect elements are described as MR elements. In addition, the first magnetic detection element is described as the first MR element 11, the second magnetic detection element is described as the second MR element 12, the third magnetic detection element is described as the third MR element 13, and the fourth magnetic detection element is described as the fourth MR element 14.
[0034] The magnetic sensor 1 further includes a plurality of electrodes (not shown) for supplying current to the first to fourth MR elements 11 to 14 .
[0035] 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.
[0036] Here, if Figures 1 to 3 As shown in FIG. 1 , the X direction, the Y direction, and the Z direction are defined. The X direction, the Y direction, and the Z direction are orthogonal to each other. In the present embodiment, in particular, the direction perpendicular to the upper surface 20a of the support member 20, that is, the direction from the lower surface 20b of the support member toward the upper surface 20a is set as the Z direction. In addition, the direction opposite to the X direction is set as the -X direction, the direction opposite to the Y direction is set as the -Y direction, and the direction opposite to the Z direction is set as the -Z direction.
[0037] Hereinafter, the position at the front end in the Z direction relative to the reference position is referred to as "upper", and the position at the opposite side of the "upper" relative to the reference position is referred to as "lower". In addition, regarding the components of the magnetic sensor 1, the surface located at the end in the Z direction is referred to as the "upper surface", and the surface located at the end in the -Z direction is referred to as the "lower surface". In addition, the expression "when observed from the Z direction" means observing the object from a position away from the Z direction.
[0038] 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.
[0039] The support member 20 includes protrusions 21 and 22 arranged in a direction parallel to the X direction on the upper surface 20a of the support member 20. The protrusions 21 and 22 protrude from the upper surface 20a of the support member 20 in the Z direction. In addition, the protrusions 21 and 22 extend in a direction parallel to the Y direction. The protrusions 21 and 22 may have shapes that are symmetrical or substantially symmetrical with respect to the YZ plane.
[0040] The surfaces of the protrusions 21 and 22 are convex surfaces that extend in a direction (Z direction) away from the upper surface 20a of the support member 20. The convex surfaces extend in a direction parallel to the Y direction. The overall shape of the convex surfaces is a semi-cylindrical curved surface.
[0041] The surface of the protrusion 21 includes an inclined surface 21a and an inclined surface 21b. The inclined surface 21a is a surface on the -X direction side of the upper end of the protrusion 21. The inclined surface 21b is a surface on the X direction side of the upper end of the protrusion 21. Figure 1In FIG. 1 , the upper end of the protrusion 21 , that is, the boundary between the inclined surface 21 a and the inclined surface 21 b is indicated by a dotted line. The inclined surface 21 a and the inclined surface 21 b may have a symmetrical or substantially symmetrical shape with respect to a YZ plane intersecting the upper end of the protrusion 21 .
[0042] 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 the surface of the protrusion 22.
[0043] Inclined surfaces 21a, 21b, 22a, 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 this embodiment, in particular, the first and third MR elements 11 and 13 are arranged on the inclined surface 21a. In addition, the second and fourth MR elements 12 and 14 are arranged on the inclined surface 22a. Figure 1 In the example shown, the third and fourth MR elements 13 and 14 are arranged at the front ends in the −Y direction with respect to the first and second MR elements 11 and 12 , respectively.
[0044] Here, any MR element is represented by reference numeral 110, and any protrusion is represented by reference numeral 120. The surface of the protrusion 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. Figure 3 As shown, the MR element 110 is inclined with respect to the lower surface 20b of the support member 20, that is, the reference plane. The support member 20 is a member for supporting the MR element 110 so as to be inclined with respect to the reference plane.
[0045] In the present embodiment, the inclined surfaces 120a and 120b are curved surfaces. Therefore, the MR element 110 is bent along the curved surface (inclined surface 120a). In the present embodiment, for convenience, the angle formed by the imaginary straight line intersecting the MR element 110 and the XY plane is set as the angle formed by the inclined surface 120a relative to the reference plane, and the symbol α represents the size of the angle. The imaginary straight line may be parallel to the tangent line passing through the point on the inclined surface 120a closest to the center of gravity of the MR element 110 when viewed from the Z direction. In addition, the direction rotated from the X direction toward the Z direction by an amount of α is set as the U direction, and the direction opposite to the U direction is set as the -U direction.
[0046] α is an angle greater than 0° and less than 90°. α may be, for example, in the range of 10° to 45°. The angle formed by the inclined surface 120b relative to the reference plane may be substantially equal to α. In the following description, the angle formed by the inclined surface 21a relative to the reference plane, the angle formed by the inclined surface 21b relative to the reference plane, the angle formed by the inclined surface 22a relative to the reference plane, and the angle formed by the inclined surface 22b relative to the reference plane are all set to α.
[0047] In addition, Figure 3 In the figure, the lower surface of the MR element 110 is depicted in contact with the inclined surface 120a. However, in reality, another MR element 110 or an electrode for connecting to a power supply terminal, a ground terminal, a first output terminal, or a second output terminal described later is provided between the lower surface of the MR element 110 and the inclined surface 120a.
[0048] Next, refer to Figure 4 , the circuit structure of the magnetic sensor 1 is described. Figure 4 : is a circuit diagram showing the circuit structure of the magnetic sensor 1. The magnetic sensor 1 also 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.
[0049] A voltage or current of a predetermined magnitude is applied to the power supply terminal V1, and the ground terminal G1 is connected to a ground line.
[0050] 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 .
[0051] In addition, Figure 4 In the example shown, the first resistor section R1 includes the 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, the second to fourth resistor sections R2 to R4 may each include a plurality of MR elements connected in series.
[0052] The first MR element 11 is configured to detect the target magnetic field MF and generate the first detection signal S1. The third MR element 13 is configured to detect the target magnetic field MF and cooperates with the first MR element 11 to generate the first detection signal S1.
[0053] The second MR element 12 is configured to detect the target magnetic field MF and generate the 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.
[0054] The first detection signal S1 may also 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°.
[0055] The magnetic sensor 1 further includes a processor 30 configured to generate a detection value θs corresponding to the angle of the detection target. The processor 30 is configured by, for example, an application specific integrated circuit (ASIC) or a microcomputer.
[0056] In this embodiment, the processor 30 includes a converter 31 for converting the first detection signal S1 and the second detection signal S2 into the first correction signal S1c and the second correction signal S2c, respectively. The converter 31 may also be a functional block of the processor 30. The function of the converter 31 will be described in detail later.
[0057] The processor 30 further includes a detection value generating unit 32 configured to generate a detection value θs 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.
[0058] Next, the first and second detection signals S1 and S2 are described. Figure 5 , the structure of the MR element 110 is described. Figure 5 1 is a perspective view showing an MR element 110. The MR element 110 is a spin valve type MR element. The MR element 110 includes a magnetization fixed 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 arranged between the magnetization fixed layer 112 and the free layer 114. The MR element 110 can be a TMR (tunnel magnetoresistance effect) element or a GMR (giant magnetoresistance effect) element. In a TMR element, the gap layer 113 is a tunnel barrier layer. In a GMR element, the gap layer 113 is a non-magnetic conductive layer. In the MR element 110, the resistance value changes according to the angle formed by the direction of the second magnetization of the free layer 114 relative to the direction of the first magnetization of the magnetization fixed layer 112. When the angle is 0°, the resistance value becomes the minimum value, and when the angle is 180°, the resistance value becomes the maximum value.
[0059] The MR element 110 further includes an antiferromagnetic layer 111. The antiferromagnetic layer 111, the magnetization fixed layer 112, the gap layer 113 and the free layer 114 are stacked in sequence. The antiferromagnetic layer 111 is made of an antiferromagnetic material, and generates exchange coupling with the magnetization fixed layer 112 to fix the direction of the first magnetization of the magnetization fixed layer 112. In addition, the magnetization fixed layer 112 may also be a so-called self-pinned fixed layer (Synthetic Ferri Pinned layer, SFP layer). The self-pinned fixed layer has a laminated ferromagnetic structure in which a ferromagnetic layer, a non-magnetic intermediate layer and a ferromagnetic layer are stacked, so that the two ferromagnetic layers are antiferromagnetically coupled. In the case where the magnetization fixed layer 112 is a self-pinned fixed layer, the antiferromagnetic layer 111 may also be omitted.
[0060] In addition, the arrangement of the layers 111 to 114 in the MR element 110 may also be different from Figure 5 The configuration shown is upside down.
[0061] The planar shape of the MR element 110 may be, for example, circular or substantially circular. The planar shape of the MR element 110 may be a shape viewed from one direction in the stacking direction of the layers 111 to 114 or a shape viewed from the Z direction.
[0062] exist Figure 1 In FIG. 1 , the arrow drawn for the MR element indicates the direction of the first magnetization of the magnetization fixed layer 112 of the MR element. Figure 4 In FIG. 1 , the black arrow indicates the direction of the first magnetization of the magnetization fixed layer 112. Figure 4 In FIG. 1 , the hollow arrow indicates the direction of the second magnetization of the free layer 114 .
[0063] The direction of the first magnetization of the magnetization fixed layer 112 of the first MR element 11 and the direction of the first magnetization of the magnetization fixed layer 112 of the second MR element 12 are directions that intersect with each other. In addition, the direction of the first magnetization of the magnetization fixed layer 112 of the third MR element 13 and the direction of the first magnetization of the magnetization fixed layer 112 of the fourth MR element 14 are directions that intersect with each other. In addition, one of the direction of the first magnetization of the magnetization fixed layer 112 of the first MR element 11 and the direction of the first magnetization of the magnetization fixed layer 112 of the second MR element 12 is a direction that intersects with the lower surface 20b of the support member 20, that is, the reference plane. In addition, one of the direction of the first magnetization of the magnetization fixed layer 112 of the third MR element 13 and the direction of the first magnetization of the magnetization fixed layer 112 of the fourth MR element 14 is a direction that intersects with the lower surface 20b of the support member 20, that is, the reference plane.
[0064] In the present embodiment, the direction of the first magnetization of the magnetization fixed layer 112 of the first MR element 11 is the U direction. The direction of the first magnetization of the magnetization fixed layer 112 of the second MR element 12 is the -Y direction. The direction of the first magnetization of the magnetization fixed layer 112 of the third MR element 13 is the -U direction. The direction of the first magnetization of the magnetization fixed layer 112 of the fourth MR element 14 is the Y direction. Therefore, the direction of the first magnetization of the magnetization fixed layer 112 of each of the first and third MR elements 11 and 13 is a direction intersecting the reference plane. The direction of the first magnetization of the magnetization fixed layer 112 of each of the second and fourth MR elements 12 and 14 is a direction parallel to the reference plane.
[0065] 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, if the direction and intensity of the magnetic field component in the direction parallel to the U direction applied to the first and third MR elements 11 and 13 change, the resistance value of each of the first and third resistors R1 and R3 changes in such a way that the resistance value of the third resistor R3 decreases as the resistance value of the first resistor R1 increases, or the resistance value of the third resistor R3 increases as the resistance value of the first resistor R1 decreases. As a result, the potential of the first output terminal E1 changes. The magnetic sensor 1 generates a signal corresponding to the potential of the first output terminal E1 as the first detection signal S1.
[0066] 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, if the direction and intensity of the magnetic field component in the direction parallel to the Y direction applied to the second and fourth MR elements 12 and 14 change, the resistance value of each of the second and fourth resistors R2 and R4 changes in a manner that the resistance value of the fourth resistor R4 decreases as the resistance value of the second resistor R2 increases, or the resistance value of the fourth resistor R4 increases as the resistance value of the second resistor R2 decreases. As a result, the potential of the second output terminal E2 changes. The magnetic sensor 1 generates a signal corresponding to the potential of the second output terminal E2 as the second detection signal S2.
[0067] In addition, from the viewpoint of the accuracy of manufacturing the first to fourth MR elements 11 to 14, the direction of the first magnetization of the magnetization fixed layer 112 may be slightly deviated from the above-mentioned direction. In addition, the first magnetization of the magnetization fixed layer 112 may be configured to include a magnetization component having the above-mentioned direction as a main component. In this case, the direction of the first magnetization of the magnetization fixed layer 112 becomes the above-mentioned direction or becomes substantially the above-mentioned direction.
[0068] Next, refer to Figure 6 and Figure 7 , the object magnetic field MF is described. Figure 6 It is an explanatory diagram for explaining the target magnetic field MF. Figure 7It is an explanatory diagram showing the in-plane component and the perpendicular component of the target magnetic field MF.
[0069] exist Figure 6 and Figure 7 In the figure, the plane marked with the symbol PL1 represents the YZ plane intersecting with the reference position P0. Hereinafter, this plane is referred to as the first plane PL1. The reference position P0 is located inside or on the surface of the magnetic sensor 1. In addition, the plane marked with the symbol PL2 represents the plane intersecting with the reference position P0 and the first plane PL1. Hereinafter, this plane is referred to as the second plane PL2. In addition, the plane marked with the symbol PL3 represents the XY plane intersecting with the reference position P0. Hereinafter, this plane is referred to as the third plane PL3.
[0070] The object magnetic field MF has a first direction D1 at the reference position P0. The first direction D1 changes within the first plane PL1. Figure 6 In FIG. 1 , the arrow denoted by the symbol D1 indicates the intensity of the target magnetic field MF in the first direction D1 and at the reference position P0 . The tip of the arrow denoted by the symbol D1 moves on the circle denoted by the symbol C1 .
[0071] The second plane PL2 is inclined relative to both the first plane PL1 and the third plane PL3, and intersects the third plane PL3 at a dihedral angle. Figure 3 The angles α formed by the inclined surfaces 120a shown relative to the reference plane are equal. Figure 6 and Figure 7 The second plane PL2 shown is an example.
[0072] like Figure 7 As shown, 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 perpendicular component MFb perpendicular to the second plane PL2. Figure 7 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 in accordance with the change in the first direction D1. Figure 6 In FIG. 1 , the arrow labeled with symbol D2 indicates the second direction D2 and the intensity of the in-plane component MFa. The tip of the arrow labeled with symbol D2 moves on the ellipse labeled with symbol C2.
[0073] exist Figure 6, an imaginary straight line L1 passing through the reference position P0 and parallel to the Z direction, an imaginary straight line L2 passing through the reference position P0 and parallel to the U direction, intersection points P1 and P2 between the imaginary straight line L1 and the circle C1, and intersection points P3 and P4 between the imaginary straight line L2 and the ellipse C2 are shown. The imaginary straight line L2, the ellipse C2, the intersection points P3 and P4, and the second direction D2 are respectively obtained by vertically projecting the imaginary straight line L1, the circle C1, the intersection points P1 and P2, and the first direction D1 onto the second plane PL2.
[0074] In the present embodiment, a second plane PL2 is defined for each of the first to fourth MR elements 11 to 14. The second plane PL2 is set to intersect the corresponding MR element.
[0075] 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 perpendicular component MFb perpendicular to the second plane PL2, similarly to the target magnetic field MF at the reference position P0. Figure 3 In FIG. 1 , the arrows with the symbol MFa represent the in-plane components of the target magnetic field MF received by the MR element 110. The in-plane components of the target magnetic field MF received by the first to fourth MR elements 11 to 14 are Figure 7 The in-plane component MFa shown also has a second direction that changes according to the first direction D1. 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. The first detection signal S1, the second detection signal S2, and the detection value θs are respectively dependent on the direction of the second magnetization.
[0076] Since the second direction changes according to the change of the first direction D1, the direction of the second magnetization changes according to the change of the first direction D1. Therefore, the first detection signal S1, the second detection signal S2 and the detection value θs correspond to the first direction D1, respectively.
[0077] The first to fourth MR elements 11 to 14 are arranged in a region where the direction of the target magnetic field MF does not substantially differ depending on the position at which the target magnetic field MF is received. Therefore, the first to fourth MR elements 11 to 14 receive the target magnetic field MF in substantially the same direction.
[0078] Next, the operation of the converter 31 of the processor 30 will be described. Figure 8 is a waveform diagram showing the first and second detection signals S1 and S2. Figure 8 In FIG. 1 , the horizontal axis represents the angle θM (hereinafter referred to as the magnetic field angle θM) formed by the first direction D1 of the target magnetic field MF relative to a predetermined reference direction (e.g., the Z direction). The vertical axis represents the values of the first and second detection signals S1 and S2, respectively. Figure 8As shown, when the first direction D1 changes at a predetermined period, the waveforms of the first and second detection signals S1 and S2 are deformed from the ideal sine curve.
[0079] The converter 31 is configured to change the amplitude of at least one of the first detection signal S1 and the second detection signal S2 so that the ratio of the amplitude of the second correction signal S2c to the amplitude of the first correction signal S1c is different from the ratio of the amplitude of the second detection signal S2 to the amplitude of the first detection signal S1.
[0080] Fig. 9 is a waveform diagram showing the first and second correction signals S1c and S2c of the first embodiment. Fig. 9 In the figure, the horizontal axis represents the magnetic field angle θM, and the vertical axis represents the values of the first and second correction signals S1c and S2c, respectively. 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. Thus, the ratio of the amplitude of the second correction signal S2c to the amplitude of the first correction signal S1c is different from the ratio of the amplitude of the second detection signal S2 to the amplitude of the first detection signal S1.
[0081] Fig.10 2 is a waveform diagram showing the first and second correction signals S1c and S2c of the second embodiment. Fig.10 In the figure, the horizontal axis represents the magnetic field angle θM, and the vertical axis represents the values of the first and second correction signals S1c and S2c, respectively. 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 smaller than the amplitude of the first detection signal S1 before conversion. Thus, the ratio of the amplitude of the second correction signal S2c to the amplitude of the first correction signal S1c is different from the ratio of the amplitude of the second detection signal S2 to the amplitude of the first detection signal S1.
[0082] 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 any one of the first embodiment and the second embodiment, the amplitude ratio before conversion is 1, and the amplitude ratio after conversion is 2.
[0083] The converter 31 may be configured such that the amplitude ratio after conversion is not 1. In the present embodiment, in particular, the converter 31 may be configured such that the amplitude ratio after conversion is not within a range of 1 or less. The preferred range of the amplitude ratio after conversion will be described in detail later.
[0084] Furthermore, 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 and S2 in addition to the process of making the amplitude ratio after conversion different from the amplitude ratio before conversion.
[0085] Next, the 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 in the range of 0° to less than 360°, for example, according to the following equation (1). "atan" means arctan.
[0086] θs=atan(S2c / S1c)……(1)
[0087] Next, the function and effect of the magnetic sensor 1 of this embodiment are described. In this embodiment, the ratio of the amplitude of the second correction signal S2c to the amplitude of the first correction signal S1c is made different from the ratio of the amplitude of the second detection signal S2 to the amplitude of the first detection signal S1 by the converter 31. Therefore, according to this embodiment, the error of the detection value θs can be reduced. The effect is described in detail below.
[0088] Fig.11 : is a characteristic diagram showing the angle errors of the first embodiment, the second embodiment and the comparative example. Fig.11 In the figure, the horizontal axis represents the magnetic field angle θM, and the vertical axis represents the angle error. Fig.11 In FIG. 1 , the curve indicated by symbol 71 represents the angular error of the first embodiment, the curve indicated by symbol 72 represents the angular error of the second embodiment, and the curve indicated by symbol 73 represents the angular error of the comparative example. Fig.11 , the angular error 71 of the first embodiment and the angular error 72 of the second embodiment almost overlap.
[0089] The angular error 71 of the first embodiment is calculated using Fig. 9 The difference between the detected value θs and the magnetic field angle θM obtained by the first and second correction signals S1c and S2c of the first embodiment shown in FIG. Fig.10 The difference between the detected value θs and the magnetic field angle θM obtained by the first and second correction signals S1c and S2c of the second embodiment shown in FIG. 7 is obtained by replacing the first and second correction signals S1c and S2c with the detected value θs and the magnetic field angle θM. Figure 8 The first and second detection signals S1 and S2 are substituted into equation (1) to obtain the difference between the detection value θs and the magnetic field angle θM. The angle error 73 of the comparative example is also referred to as the angle error when the converter 31 is not provided.
[0090] like Fig.11As shown, according to the present embodiment, by using the first and second correction signals S1c and S2c as in the first embodiment or the second embodiment, it is possible to reduce the error of the detection value θs.
[0091] Next, the results of the simulation for investigating the preferred range of the amplitude ratio are described. In the simulation, the angle α formed by the inclined surfaces 21a, 21b, 22a, and 22b relative to the reference plane is changed by 5° at a time within the range of 10° to 45°. Moreover, for each α, the error (angle error) of the detection value θs is obtained while changing the amplitude ratio after conversion. In the simulation, the peak value of the angle error when the magnetic field angle θM is changed is set as the angle error.
[0092] Fig.12 This is a characteristic diagram showing the relationship between the converted amplitude ratio and the angle error. Fig.12 In the figure, the horizontal axis represents the converted amplitude ratio, and the vertical axis represents the angle error. Fig.12 , the angular error when α is 10° is represented by a plurality of points connected by lines marked with symbol 81. The angular error when α is 15° is represented by a plurality of points connected by lines marked with symbol 82. The angular error when α is 20° is represented by a plurality of points connected by lines marked with symbol 83. The angular error when α is 25° is represented by a plurality of points connected by lines marked with symbol 84. The angular error when α is 30° is represented by a plurality of points connected by lines marked with symbol 85. The angular error when α is 35° is represented by a plurality of points connected by lines marked with symbol 86. The angular error when α is 40° is represented by a plurality of points connected by lines marked with symbol 87. The angular error when α is 45° is represented by a plurality of points connected by lines marked with symbol 88.
[0093] like Fig.12 As shown, it can be seen that there is an amplitude ratio at which the angular error becomes 0 regardless of the value of α. From the viewpoint of reducing the angular error, the magnitude of α and the amplitude ratio after conversion is preferably selected so that the angular error becomes 0 or substantially 0. On the other hand, from the viewpoint of the accuracy of manufacturing the MR element 110, α is preferably in the range of 10° to 45°. Therefore, it is more preferable to select the magnitude of the amplitude ratio after conversion so that the angular error becomes 0 or substantially 0 when α is in the range of 10° to 45°.
[0094] Fig.13 This is a characteristic diagram showing the relationship between the tilt angle and the amplitude ratio when the angle error becomes 0. Fig.13 In FIG. 1 , the horizontal axis represents the inclination angle α of the inclined surfaces 21a, 21b, 22a, and 22b, and the vertical axis represents the amplitude ratio after conversion. Fig.13It can be seen that when α is in the range of 10° to 45°, the amplitude ratio after conversion is preferably not included in the range of 1 or less.
[0095] In addition, Fig.13 , a curve connecting a plurality of points representing the converted amplitude ratio is also shown. This curve can be represented by a function 1 / sin(α) with α as a variable. That is, the converted amplitude ratio when the angle error becomes 0 can be calculated using α and the function 1 / sin(α).
[0096] The angular error is preferably less than 1°, for example. When α is 10°, the converted amplitude ratio at which the angular error becomes less than 1° is 5.76±0.20. When α is 30°, the converted amplitude ratio at which the angular error becomes less than 1° is 2.00±0.06. When α is 45°, the converted amplitude ratio at which the angular error becomes less than 1° is 1.41±0.05. By adjusting the converted amplitude ratio according to α, the angular error can be set to a value less than a specified value.
[0097] Next, refer to Fig.14 , a magnetic sensor system 100 according to this embodiment will be described. Fig.14 1 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 for generating a target magnetic field MF. Fig.14 In the example shown, the magnetic field generator 101 is a magnet having one or more sets of N poles and S poles alternately arranged in a ring shape. The magnetic sensor 1 is arranged to face the outer periphery of the magnetic field generator 101 .
[0098] The magnetic field generator 101 is configured to rotate about the rotation axis C. Fig.14 In the example shown, for example, the magnetic field generator 101 is fixed to a shaft 102 that rotates around a rotation axis C by a fixing member (not shown) provided inside the magnetic field generator 101. The shaft 102 may be, for example, a shaft of a motor (not shown) or 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 as one body.
[0099] The magnetic sensor 1 and the magnetic field generator 101 are configured so that if the relative position of the magnetic field generator 101 with respect to the magnetic sensor 1 changes, the direction (first direction D1) of the target magnetic field MF at a predetermined position rotates. In the present embodiment, the specifically predetermined position is the position where the magnetic sensor 1 is arranged. If the magnetic field generator 101 rotates around 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.
[0100] In the magnetic sensor system 100, the X direction, Y direction, and Z direction are defined with the position where the magnetic sensor 1 is arranged as the center. 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 rotation axis.
[0101] [Second embodiment]
[0102] Next, refer to Fig.15 , a magnetic sensor system 200 according to a second embodiment of the present invention will be described. Fig.15 2 is a perspective view showing a magnetic sensor system 200. The magnetic sensor system 200 includes the magnetic sensor 1 of the first embodiment and a magnetic field generator 201 for generating a target magnetic field MF. Fig.15 In the example shown, the magnetic field generator 201 is a linear scale having a plurality of sets of N poles and S poles arranged in a straight line. The magnetic sensor 1 is arranged to face the outer periphery of the magnetic field generator 201 .
[0103] The magnetic sensor 1 and the magnetic field generator 201 are configured so that if the relative position of the magnetic field generator 201 relative to the magnetic sensor 1 changes, the direction (first direction D1) of the target magnetic field MF at a predetermined position rotates. In the present embodiment, in particular, the predetermined position is a position where the magnetic sensor 1 is arranged. One of the magnetic sensor 1 and the magnetic field generator 201 moves in a direction parallel to the direction in which a plurality of sets of N poles and S poles are arranged in conjunction with an operating body not shown. As a result, the relative position of the magnetic field generator 201 relative to the magnetic sensor 1 changes, and as a result, the direction of the target magnetic field MF rotates.
[0104] In the magnetic sensor system 200, the X direction, Y direction, and Z direction are defined with the position where the magnetic sensor 1 is arranged as the center. The Y direction may also be a direction parallel to the direction in which multiple groups of N poles and S poles are arranged. The Z direction may also be a direction from the magnetic sensor 1 toward the magnetic field generator 201.
[0105] The other structures, functions, and effects of this embodiment are the same as those of the first embodiment.
[0106] [Third Embodiment]
[0107] Next, refer to Fig.16 , a magnetic sensor 2 according to a third embodiment of the present invention will be described. Fig.16 It is a perspective view showing the magnetic sensor 2 .
[0108] In this embodiment, the support member 20 includes a protrusion 220 protruding from the upper surface 20a of the support member 20 in the Z direction instead of the protrusions 21 and 22 of the first embodiment. The shape of the protrusion 220 is the same as that of the protrusion 21 or 22.
[0109] The surface of the protrusion 220 includes an inclined surface 220a and an inclined surface 220b. The inclined surface 220a is a portion of the surface of the protrusion 220 closer to the upper end of the protrusion 220. Fig.16 The inclined surface 220b is a surface of the protrusion 220 that is closer to the upper end of the protrusion 220. Fig.16 The right side of the face. Fig.16 In FIG. 1 , the upper end of the protrusion 220 , that is, the boundary between the inclined surface 220 a and the inclined surface 220 b is indicated by a dotted line. The inclined surface 220 a and the inclined surface 220 b may have a symmetrical or substantially symmetrical shape with respect to a plane intersecting the upper end of the protrusion 220 .
[0110] The first to fourth MR elements 11 to 14 of the magnetic sensor 2 are arranged on one protrusion 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 definition of the angle formed by the inclined surface 220a with respect to the reference plane and the angle formed by the inclined surface 220b with respect to the reference plane are the same as the definition of the angle formed by the inclined surface 120a with respect to the reference plane described in the first embodiment.
[0111] The other structures of the magnetic sensor 2 are the same as those of the magnetic sensor 1 of the first embodiment. In addition, the other structures, operations, and effects of this embodiment are the same as those of the first embodiment.
[0112] [Fourth Embodiment]
[0113] Next, refer to Fig.17 , a magnetic sensor 3 according to a fourth embodiment of the present invention will be described. Fig.17 It is a perspective view showing the magnetic sensor 3 .
[0114] In this embodiment, the support member 20 includes protrusions 23, 24, 25, and 26 arranged in a direction parallel to the X direction on the upper surface 20a of the support member 20 instead of the protrusions 21 and 22 of the first embodiment. The protrusions 23 to 26 protrude from the upper surface 20a of the support member 20 in the Z direction. The shape of each of the protrusions 23 to 26 is the same as that of the protrusion 21 or 22.
[0115] The surface of the protrusion 23 includes an inclined surface 23a and an inclined surface 23b. The inclined surface 23a is a surface on the -X direction side of the upper end of the protrusion 23. The inclined surface 23b is a surface on the X direction side of the upper end of the protrusion 23. Fig.17In FIG. 1 , the upper end of the protrusion 23 , that is, the boundary between the inclined surface 23 a and the inclined surface 23 b is indicated by a dotted line. The inclined surface 23 a and the inclined surface 23 b may have a symmetrical or substantially symmetrical shape with respect to the YZ plane intersecting the upper end of the protrusion 23 .
[0116] 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 by the protrusion 24 and the inclined surfaces 24a and 24b, respectively, it becomes a description of the surface of the protrusion 24. In addition, if the protrusion 23 and the inclined surfaces 23a and 23b in the above description of the surface of the protrusion 23 are replaced by the protrusion 25 and the inclined surfaces 25a and 25b, respectively, it becomes a description of the surface of the protrusion 25. In addition, if the protrusion 23 and the inclined surfaces 23a and 23b in the above description of the surface of the protrusion 23 are replaced by the protrusion 26 and the inclined surfaces 26a and 26b, respectively, it becomes a description of the surface of the protrusion 26.
[0117] The definitions of the angle formed by the inclined surface 23a relative to the reference plane, the angle formed by the inclined surface 24a relative to the reference plane, the angle formed by the inclined surface 25a relative to the reference plane, and the angle formed by the inclined surface 26a relative to the reference plane are the same as the definition of the angle formed by the inclined surface 120a relative to the reference plane described in the first embodiment.
[0118] In addition, the magnetic sensor 3 of the present 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 the inclined surface 23a. The plurality of second MR elements 12 are arranged on the inclined surface 24a. The plurality of third MR elements 13 are arranged on the inclined surface 25a. The plurality of fourth MR elements 14 are arranged on the inclined surface 26a.
[0119] The structure of each of the plurality of first MR elements 11 is the same as that of the first MR element 11 in the first embodiment. The structure of each of the plurality of second MR elements 12 is the same as that of the second MR element 12 in the first embodiment. The structure of each of the plurality of third MR elements 13 is the same as that of the third MR element 13 in the first embodiment. The structure of each of the plurality of fourth MR elements 14 is the same as that of the fourth MR element 14 in the first embodiment.
[0120] The magnetic sensor 3 is similar to the magnetic sensor 1 of the first embodiment and includes first to fourth resistors R1 to R4. The relationship between the first to fourth resistors R1 to R4 and the plurality of first MR elements 11, the plurality of second MR elements 12, the plurality of third MR elements 13, and the plurality of 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 the present embodiment, in particular, the plurality of first MR elements 11 may be connected in series, the plurality of second MR elements 12 may be connected in series, the plurality of third MR elements 13 may be connected in series, and the plurality of fourth MR elements 14 may be connected in series.
[0121] The other structures of the magnetic sensor 3 are the same as those of the magnetic sensor 1 of the first embodiment. In addition, the other structures, operations, and effects of this embodiment are the same as those of the first embodiment.
[0122] In addition, the present invention is not limited to the above-mentioned embodiments, and various modifications are possible. For example, the first to fourth MR elements 11 to 14 may be arranged on an inclined surface. Alternatively, the first and second MR elements 11 and 12 may be arranged on an inclined surface or a protruding portion, and the third and fourth MR elements 13 and 14 may be arranged on an inclined surface or a protruding portion.
[0123] In addition, the converter 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 sections R1 to R4 or in a path connecting the first and second output terminals E1 and E2 and the processor 30 .
[0124] In addition, the inclined surface of the surface of the protrusion may include a flat surface portion. Alternatively, the surface of the protrusion may be in a triangular roof shape.
[0125] In addition, the supporting member 20 may include a plurality of grooves arranged in a direction parallel to the X direction on the upper surface 20a of the supporting member 20 instead of the plurality of protrusions. The plurality of grooves are respectively recessed from the upper surface 20a of the supporting member 20 toward the -Z direction. In addition, the plurality of grooves extend in directions parallel to the Y direction, and the surfaces of the plurality of grooves also extend in directions parallel to the Y direction. The plurality of grooves may also have shapes that are symmetrical or substantially symmetrical with respect to the YZ plane. The shape of at least a portion of each of the plurality of grooves may be a U-shaped groove or a V-shaped groove. The surface of the U-shaped groove includes a semi-cylindrical curved surface. The surface of the V-shaped groove includes two planar portions.
[0126] 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 on the surface of the groove that is closer to the -X direction side than the lower end of the groove. The second inclined surface is a surface on the surface of the groove that is closer to the X direction side than the lower end of the groove. The first inclined surface and the second inclined surface respectively correspond to "at least one inclined surface" in the present invention. The description of "at least one inclined surface" in the present invention also applies to the first inclined surface and the second inclined surface. The plurality of MR elements are respectively arranged on the first inclined surface or the second inclined surface.
[0127] In addition, the planar shape of the MR element is not limited to a circle, and may be an ellipse, a rectangle, a polygon, or the like.
[0128] As described above, the magnetic sensor of the present invention comprises: a supporting member having at least one inclined surface inclined relative to a reference plane; a first magnetic detection element configured to be arranged on at least one inclined surface, and to detect an object magnetic field and generate a first detection signal; a second magnetic detection element configured to be arranged on at least one inclined surface, and to detect an object magnetic field and generate a second detection signal having a phase different from that of the first detection signal; and a converter, which converts the first detection signal and the second detection signal into a first correction signal and a second correction signal, respectively, and the converter is configured to change 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.
[0129] 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 is not 1. In addition, 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 is not within a range of 1 or less.
[0130] In the magnetic sensor of the present invention, an angle formed by at least one inclined surface with respect to the reference plane may be in a range of 10° to 45°.
[0131] In the magnetic sensor of the present invention, each of the first magnetic detection element and the second magnetic detection element may have a circular planar shape.
[0132] In addition, the magnetic sensor of the present invention may also include a power supply terminal, a ground terminal, a first output terminal, a second output terminal, a first resistor portion arranged between the power supply terminal and the first output terminal, a second resistor portion arranged between the power supply terminal and the second output terminal, a third resistor portion arranged between the ground terminal and the first output terminal, and a fourth resistor portion arranged between the ground terminal and the second output terminal. One of the first resistor portion and the third resistor portion may also include a first magnetic detection element. The other of the first resistor portion and the third resistor portion may also include a third magnetic detection element, which is configured to be arranged on at least one inclined surface and detect the object magnetic field, thereby cooperating with the first magnetic detection element to generate a first detection signal. One of the second resistor portion and the fourth resistor portion may also include a second magnetic detection element. The other of the second resistor portion and the fourth resistor portion may also include a fourth magnetic detection element, which is configured to be arranged on at least one inclined surface and detect the object magnetic field, thereby cooperating with the second magnetic detection element to generate a second detection signal.
[0133] In addition, in the magnetic sensor of the present invention, the first magnetic detection element and the second magnetic detection element may also be magnetoresistance effect elements, respectively. The magnetoresistance effect element may also include a magnetization fixed layer having a first magnetization whose direction is fixed, a free layer having a second magnetization whose direction can change according to the target magnetic field, and a gap layer arranged between the magnetization fixed layer and the free layer. The direction of the first magnetization of the magnetization fixed layer of the first magnetic detection element and the direction of the first magnetization of the magnetization fixed layer of the second magnetic detection element may also be directions that intersect with each other. One of the directions of the first magnetization of the magnetization fixed layer of the first magnetic detection element and the first magnetization of the magnetization fixed layer of the second magnetic detection element may also be a direction that intersects with the reference plane.
[0134] The magnetic sensor of the present invention may further include a processor configured to generate a detection value corresponding to the angle of the detection object using the first correction signal and the second correction signal. The processor may include a converter.
[0135] Furthermore, in the magnetic sensor of the present invention, the converter may include a resistor electrically connected to the first magnetic detection element or the second magnetic detection element.
[0136] In the magnetic sensor of the present invention, 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.
[0137] 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.
[0138] In the magnetic sensor system of the present invention, the magnetic sensor may be arranged to face the outer periphery of the magnetic field generator. The magnetic sensor and the magnetic field generator may be configured so that the direction of the target magnetic field at a predetermined position rotates if the relative position of the magnetic field generator relative to the magnetic sensor changes.
[0139] It is obvious that various modes and modifications of the present invention can be implemented based on the above description. Therefore, within the scope of the equivalents of the claims, the present invention can also be implemented in modes other than the above-described preferred modes.
Claims
1. A magnetic sensor, characterized in that: have: a support member having at least one inclined surface inclined relative to a reference plane; A first magnetic detection element is configured to be disposed on the at least one inclined surface and detect a target magnetic field to generate a first detection signal; a second magnetic detection element configured to be disposed on the at least one inclined surface and to detect the target magnetic field to generate a second detection signal having a phase different from that of the first detection signal; as well as A converter, which converts the first detection signal and the second detection signal into a first correction signal and a second correction signal respectively, and the converter is configured to change 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.
2. The magnetic sensor according to claim 1, characterized in that The converter is configured so that a ratio of an amplitude of the second correction signal to an amplitude of the first correction signal is not 1.
3. The magnetic sensor according to claim 2, characterized in that The first detection signal is a signal whose phase is advanced relative to the second detection signal. The converter is configured so that a ratio of an amplitude of the second correction signal to an amplitude of the first correction signal is not within a range of 1 or less.
4. The magnetic sensor according to claim 1, characterized in that An angle formed by the at least one inclined surface with respect to the reference plane is in a range of not less than 10° and not more than 45°.
5. The magnetic sensor according to claim 1, characterized in that The first magnetic detection element and the second magnetic detection element each have a circular planar shape.
6. The magnetic sensor according to claim 1, characterized in that Also available: Power supply terminal; Ground terminal; a first output terminal; A second output terminal; A first resistor portion, which is arranged between the power supply terminal and the first output terminal; A second resistor portion, which is disposed between the power supply terminal and the second output terminal; A third resistor portion, disposed between the ground terminal and the first output terminal; as well as a fourth resistor, which is arranged between the ground terminal and the second output terminal, One of the first resistor section and the third resistor section includes the first magnetic detection element, The other of the first resistor section and the third resistor section includes a third magnetic detection element, the third magnetic detection element being configured to be disposed on the at least one inclined surface and detecting the target magnetic field, and cooperating with the first magnetic detection element to generate the first detection signal, One of the second resistor section and the fourth resistor section includes the second magnetic detection element, The other of the second resistor section and the fourth resistor section includes a fourth magnetic detection element configured to be disposed on the at least one inclined surface and detect the target magnetic field and to generate the second detection signal in cooperation with the second magnetic detection element.
7. The magnetic sensor according to claim 1, characterized in that: The first magnetic detection element and the second magnetic detection element are magnetoresistance effect elements, respectively. The magnetoresistive effect element includes: a fixed magnetization layer having a first magnetization whose direction is fixed; and a free layer having a second magnetization whose direction can be changed according to the object magnetic field. and a gap layer disposed between the magnetization fixed layer and the free layer, The direction of the first magnetization of the magnetization fixed layer of the first magnetism detection element and the direction of the first magnetization of the magnetization fixed layer of the second magnetism detection element are mutually intersecting directions, One of the direction of the first magnetization of the magnetization fixed layer of the first magnetism detection element and the direction of the first magnetization of the magnetization fixed layer of the second magnetism detection element is a direction intersecting the reference plane.
8. The magnetic sensor according to claim 1, characterized in that The device further includes a processor configured to generate a detection value corresponding to an angle of a detection target using the first correction signal and the second correction signal.
9. The magnetic sensor according to claim 8, characterized in that The processor includes the converter.
10. The magnetic sensor according to claim 1, characterized in that The converter includes a resistor electrically connected to the first magnetic detection element or the second magnetic detection element.
11. The magnetic sensor according to claim 1, characterized in that: The at least one inclined surface includes a first inclined surface and a second inclined surface, The first magnetic detection element is arranged on the first inclined surface, The second magnetic detection element is arranged on the second inclined surface.
12. A magnetic sensor system, characterized in that: have: The magnetic sensor according to any one of claims 1 to 11; and A magnetic field generator generates the object magnetic field.
13. The magnetic sensor system according to claim 12, characterized in that The magnetic sensor is arranged to be opposite to an outer circumference of the magnetic field generator.
14. The magnetic sensor system according to claim 13, characterized in that The magnetic sensor and the magnetic field generator are configured so that the direction of the target magnetic field at a predetermined position rotates if the relative position of the magnetic field generator with respect to the magnetic sensor changes.
