Magnetic Encoder and Distance Measuring Device

The magnetic encoder addresses errors from magnetic pole pitch differences by using resistors to generate phased detection signals, reducing harmonics and maintaining accuracy in vibrating environments.

JP7579297B2Active Publication Date: 2024-11-07TDK CORP
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
JP2022061915
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-04-01
Publication Date
2024-11-07
Estimated Expiration
2042-04-01

AI Technical Summary

Technical Problem

Magnetic encoders face errors due to differences in magnetic pole pitch, especially when used in devices that generate vibrations, leading to weakened magnetic fields and increased detection errors.

Method used

A magnetic encoder design with a magnetic field generator and sensor that includes resistors arranged to generate detection signals with different phases, reducing harmonic components, particularly the second harmonic, by using a magnetic pole pitch greater than the design pitch.

Benefits of technology

This configuration reduces errors in detection signals by minimizing harmonic components, maintaining accurate position sensing even with larger magnetic pole pitches, suitable for devices with vibrations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007579297000001
    Figure 0007579297000001
  • Figure 0007579297000002
    Figure 0007579297000002
  • Figure 0007579297000003
    Figure 0007579297000003
Patent Text Reader

Abstract

To realize a magnetic encoder capable of reducing an error caused by a difference in a magnetic pole pitch of a magnetic field generator.SOLUTION: A magnetic encoder 1 includes: a magnetic field generator 3 for generating an object magnetic field MF containing a magnetic field component Mfx; and a magnetic sensor 2 configured so as to detect the object magnetic field MF. The magnetic sensor 2 contains multiple resistors configured such that a resistance value is changed according to a change in strength of each magnetic field component Mfx. The magnetic field generator 3 is a magnetic scale in which multiple sets of N and S poles are arranged alternately. A magnetic pole pitch λm as a distance between the centers of two N poles that are adjacent via one S pole differs from a design pitch λs that is four times of an interval between a predetermined position in one resistor included in the multiple resistors and a predetermined position within another resistor.SELECTED DRAWING: Figure 7
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a magnetic encoder including a magnetic field generator and a magnetic sensor, and to a distance measuring device including a magnetic encoder. [Background technology]

[0002] A magnetic encoder using a magnetic sensor is used to detect the position of a movable object whose position changes in a predetermined direction. The predetermined direction is a linear direction or a rotational direction. A magnetic encoder used to detect the position of a movable object is configured such that at least one of a magnetic field generator such as a magnetic scale and a magnetic sensor operates in response to a change in the position of the movable object.

[0003] When at least one of the magnetic sensor and the magnetic field generator is operated, the strength of a unidirectional component of the target magnetic field generated by the magnetic field generator and applied to the magnetic sensor changes. The magnetic sensor, for example, detects the strength of the unidirectional component of the target magnetic field and generates two detection signals that correspond to the strength of the unidirectional component and have different phases from each other. The magnetic encoder generates a detection value that corresponds to the position of the movable object based on the two detection signals.

[0004] A magnetic sensor using a plurality of magnetoresistance effect elements is used as a magnetic sensor for a magnetic encoder. For example, Patent Documents 1 and 2 disclose a magnetic sensor in which a plurality of GMR (giant magnetoresistance effect) elements are arranged as the magnetoresistance effect elements in the direction of relative movement of a magnet and a magnetic sensor and in a direction perpendicular to this relative movement direction.

[0005] In a magnetic sensor for a magnetic encoder, in general, in order to generate two detection signals with different phases, a first group of magnetoresistance effect elements for generating one detection signal and a second group of magnetoresistance effect elements for generating the other detection signal are arranged with a shift in one direction. For example, in the magnetic sensor disclosed in Patent Document 2, a bridge circuit of phase A and a bridge circuit of phase B are formed by a plurality of GMR elements. In this magnetic sensor, when the center-to-center distance (pitch) between the north pole and the south pole of a magnet is λ, the plurality of GMR elements are arranged with a center-to-center distance of λ, λ / 2 or λ / 4 in the relative movement direction. The bridge circuit of phase A and the bridge circuit of phase B produce output waveforms with a phase shift of λ / 2. [Prior art documents] [Patent documents]

[0006] [Patent Document 1] International Publication No. 2009 / 031558 [Patent Document 2] International Publication No. 2009 / 119471 Summary of the Invention [Problem to be solved by the invention]

[0007] As in the magnetic sensor disclosed in Patent Document 2, the amount of misalignment between the first magnetoresistance effect element group and the second magnetoresistance effect element group corresponds to the magnetic pole pitch (e.g., the distance between the centers of two adjacent N poles) of the magnetic field generator used. When the magnetic pole pitch is equal to or approximately equal to four times the amount of misalignment, the harmonic components corresponding to the second harmonics contained in the detection signal are minimized. For this reason, it is usually not assumed that the magnetic field generator of a magnetic encoder will be changed to one with a different magnetic pole pitch.

[0008] However, in a magnetic encoder applied to a device that generates a relatively large vibration, it may be necessary to increase the distance between the magnetic sensor and the magnetic field generator to prevent collision between the magnetic sensor and the magnetic field generator. If the distance is increased without changing the magnetic pole pitch of the magnetic field generator, the magnetic field applied to the magnetic sensor may become weaker, and the detection signal of the magnetic sensor may become smaller. Therefore, in the above case, it is desirable to use a magnetic field generator with a large magnetic pole pitch. However, since the above-mentioned deviation amount, i.e., the pitch of the magnetoresistance effect element, cannot be easily changed, if a magnetic sensor is used in combination with a magnetic field generator with a large magnetic pole pitch while maintaining the pitch of the magnetoresistance effect element, the error in the detection value of the magnetic encoder will increase.

[0009] The present invention has been made in consideration of such problems, and its object is to provide a magnetic encoder that can reduce errors caused by differences in the magnetic pole pitch of a magnetic field generator, and a distance measuring device equipped with this magnetic encoder. [Means for solving the problem]

[0010] The magnetic encoder of the present invention includes a magnetic field generator that generates a target magnetic field including a magnetic field component in a first direction, and a magnetic sensor configured to detect the target magnetic field. The magnetic sensor and the magnetic field generator are configured such that the strength of the magnetic field component at a reference position changes when at least one of the magnetic sensor and the magnetic field generator operates. The magnetic field generator is a magnetic scale in which a plurality of sets of N poles and S poles are arranged alternately. The magnetic sensor includes a plurality of resistors each configured to change in resistance value in response to a change in the strength of the magnetic field component, and is configured to generate a first detection signal and a second detection signal each corresponding to the change in the strength of the magnetic field component.

[0011] The plurality of resistors includes two resistors. A resistance value of one of the two resistors corresponds to a first detection signal. A resistance value of the other of the two resistors corresponds to a second detection signal. The one resistor and the other resistor are arranged at different positions in a first direction such that the phases of the first detection signal and the second detection signal are different from each other. When the magnetic pole pitch is the center-to-center distance between two adjacent N poles via one S pole in the magnetic scale and the design pitch is four times the distance in the first direction between a predetermined position in one resistor and a predetermined position in the other resistor, the magnetic pole pitch is larger than the design pitch.

[0012] Each of the first and second detection signals includes an ideal component that periodically changes to describe an ideal sine curve, and multiple harmonic components that correspond to higher harmonics of the ideal component. The multiple resistors are configured to reduce at least the second harmonic among the multiple harmonic components.

[0013] In the magnetic encoder of the present invention, the magnetic pole pitch may be greater than 1.1 times the design pitch, or greater than 1.25 times and smaller than 1.75 times the design pitch.

[0014] In the magnetic encoder of the present invention, the magnetic sensor may further include a power supply port, a ground port, a first output port, and a second output port. The multiple resistors may include a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, and an eighth resistor. The first resistor and the second resistor may be provided in this order from the power supply port side on a first path connecting the power supply port and the first output port. The third resistor and the fourth resistor may be provided in this order from the ground port side on a second path connecting the ground port and the first output port. The fifth resistor and the sixth resistor are provided in this order from the ground port side on a third path connecting the ground port and the second output port. too The seventh resistor and the eighth resistor may be provided in this order from the power supply port side on a fourth path connecting the power supply port and the second output port.

[0015] A distance between a first position in the first resistor and a second position in the second resistor in the first direction, a distance between a third position in the third resistor and a fourth position in the fourth resistor in the first direction, a distance between a fifth position in the fifth resistor and a sixth position in the sixth resistor in the first direction, and a distance between a seventh position in the seventh resistor and an eighth position in the eighth resistor in the first direction may each be equal to an odd integer multiple of 1 / 2 the design pitch. A distance between the first position and the third position in the first direction, and a distance between the fifth position and the seventh position in the first direction may each be equal to zero or an integer multiple of the design pitch. A distance between the first position and the fifth position in the first direction may each be equal to 1 / 4 the design pitch.

[0016] The magnetic sensor may further include a plurality of magnetoresistance effect elements. Each of the plurality of magnetoresistance effect elements may include a magnetization fixed layer, a free layer, and a gap layer disposed between the magnetization fixed layer and the free layer. The magnetization fixed layer may have a first magnetization whose direction is fixed. The free layer may have a first magnetization whose direction is fixed in a plane parallel to both the first direction and a second direction perpendicular to the first direction. The direction The magnetization pinned layer may have a variable second magnetization. The magnetization pinned layer, the free layer and the gap layer may be stacked in a third direction perpendicular to the first direction and the second direction. The first to eighth resistors may be configured using a plurality of magnetoresistance effect elements. The first magnetization of the magnetization pinned layer in the first, fourth, sixth and seventh resistors may include a component of a first magnetization direction that is a direction parallel to the first direction. The first magnetization of the magnetization pinned layer in the second, third, fifth and eighth resistors may include a component of a second magnetization direction opposite to the first magnetization direction.

[0017] When the plurality of resistors includes first to eighth resistors, the first position may be the center of gravity of the first resistor when viewed from one direction parallel to the third direction. The second position may be the center of gravity of the second resistor when viewed from one direction parallel to the third direction. The third position may be the center of gravity of the third resistor when viewed from one direction parallel to the third direction. The fourth position may be the center of gravity of the fourth resistor when viewed from one direction parallel to the third direction. The fifth position may be the center of gravity of the fifth resistor when viewed from one direction parallel to the third direction. The sixth position may be the center of gravity of the sixth resistor when viewed from one direction parallel to the third direction. The seventh position may be the center of gravity of the seventh resistor when viewed from one direction parallel to the third direction. The eighth position may be the center of gravity of the eighth resistor when viewed from one direction parallel to the third direction.

[0018] Furthermore, when the multiple resistors include first to eighth resistors, the first resistor and the third resistor may be adjacent to each other in the second direction. The second resistor and the fourth resistor may be adjacent to each other in the second direction. The fifth resistor and the seventh resistor may be adjacent to each other in the second direction. The sixth resistor and the eighth resistor may be adjacent to each other in the second direction.

[0019] In addition, when the plurality of resistors include first to eighth resistors, the first resistor may be adjacent to the seventh resistor but not adjacent to the eighth resistor. The eighth resistor may be adjacent to the second resistor but not adjacent to the first resistor. The third resistor may be disposed in a position sandwiching the first resistor between itself and the seventh resistor. The fourth resistor may be disposed in a position sandwiching the second resistor between itself and the eighth resistor. The fifth resistor may be disposed in a position sandwiching the seventh resistor between itself and the first resistor. The sixth resistor may be disposed in a position sandwiching the eighth resistor between itself and the second resistor.

[0020] When the magnetic sensor includes a plurality of magnetoresistance effect elements, each of the plurality of magnetoresistance effect elements may be configured such that a bias magnetic field is applied to the free layer in a direction intersecting the first direction. The gap layer may be a tunnel barrier layer.

[0021] In the magnetic encoder of the present invention, the magnetic field generator may be configured to rotate around the rotation axis and have an end face located at an end in one direction parallel to the rotation axis. The pairs of N and S poles may be arranged alternately around the rotation axis and provided on the end face. The strength of the magnetic field component at the reference position may change with the rotation of the magnetic field generator. The magnetic sensor may be disposed to face the end face. The magnetic field generator may be configured to rotate in conjunction with an optical element that changes the direction of travel of light for measuring the distance to an object.

[0022] In the magnetic encoder of the present invention, the magnetic field generator may be configured to rotate around the rotation axis and have an outer circumferential surface facing away from the rotation axis. The sets of north and south poles may be arranged alternately around the rotation axis and provided on the outer circumferential surface. The strength of the magnetic field component at the reference position may change with the rotation of the magnetic field generator. The magnetic sensor may be disposed to face the outer circumferential surface. The magnetic field generator may be configured to rotate in conjunction with an optical element that changes the direction of travel of light for measuring the distance to an object.

[0023] The distance measuring device of the present invention is a distance measuring device that measures the distance to an object by detecting irradiated light. The distance measuring device includes an optical element configured to rotate while changing the direction of light travel, and the magnetic encoder of the present invention. The magnetic field generator is configured to rotate around the rotation axis in conjunction with the optical element. Multiple sets of north and south poles are arranged alternately around the rotation axis. The strength of the magnetic field component at the reference position changes with the rotation of the magnetic field generator.

[0024] In the distance measuring device of the present invention, the magnetic field generator may have an end face located at an end in one direction parallel to the rotation axis. In this case, multiple pairs of N and S poles may be provided on the end face. The magnetic sensor may be arranged to face the end face. Alternatively, the magnetic field generator may have an outer circumferential surface facing in a direction away from the rotation axis. In this case, multiple pairs of N and S poles may be provided on the outer circumferential surface. The magnetic sensor may be arranged to face the outer circumferential surface. Effect of the Invention

[0025] In the magnetic encoder and distance measuring device of the present invention, the resistors are configured to reduce at least the second harmonic among the multiple harmonic components, thereby making it possible to reduce errors caused by differences in the magnetic pole pitch of the magnetic field generator. [Brief description of the drawings]

[0026] [Figure 1] 1 is a perspective view showing a distance measuring device according to an embodiment of the present invention; [Diagram 2] 1 is a perspective view showing a magnetic encoder according to an embodiment of the present invention; [Diagram 3] 1 is a plan view showing a magnetic encoder according to an embodiment of the present invention; [Figure 4] 1 is a front view showing a magnetic encoder according to an embodiment of the present invention; [Diagram 5] 1 is a plan view showing a magnetic sensor according to an embodiment of the present invention. [Figure 6] 1 is a circuit diagram showing a configuration of a magnetic sensor according to an embodiment of the present invention. [Figure 7] FIG. 2 is an explanatory diagram for explaining an arrangement of first to eighth resistors in one embodiment of the present invention. [Figure 8] FIG. 2 is a plan view showing a first resistor in the embodiment of the present invention. [Figure 9] FIG. 1 is a perspective view showing a first example of a magnetoresistance effect element in an embodiment of the present invention. [Figure 10] FIG. 11 is a perspective view showing a second example of a magnetoresistive effect element in an embodiment of the present invention. [Figure 11] FIG. 4 is a plan view showing a magnetic sensor of a comparative example. [Figure 12] FIG. 4 is a circuit diagram showing a configuration of a magnetic sensor of a comparative example. [Figure 13] FIG. 13 is a characteristic diagram showing an amplitude ratio of a model of a comparative example obtained by simulation. [Figure 14] FIG. 13 is a characteristic diagram showing an amplitude ratio of a model of the embodiment obtained by simulation. [Figure 15] FIG. 11 is a characteristic diagram showing errors in detection values ​​of a model of a comparative example and a model of an embodiment obtained by simulation. [Figure 16] FIG. 11 is a perspective view showing a magnetic field generator in a modified example of the magnetic encoder according to the embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0027] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. First, a distance measuring device according to this embodiment will be described with reference to Fig. 1. Fig. 1 is a perspective view showing a distance measuring device 401 according to this embodiment.

[0028] The distance measuring device 401 shown in Fig. 1 is a device that measures the distance to an object by detecting irradiated light, and constitutes, for example, a part of an in-vehicle LIDAR (Light Detection And Ranging). In the example shown in Fig. 1, the distance measuring device 401 includes a photoelectric unit 411, an optical element 412, and a driving device (not shown).

[0029] The photoelectric unit 411 includes an optical element that irradiates light 411a and a detection element that detects reflected light 411b from the object. The optical element 412 may be, for example, a mirror supported by a support 413. The optical element 412 is inclined with respect to the emission surface of the optical element so as to change the traveling directions of the light 411a and the reflected light 411b. The optical element 412 is configured to rotate about a predetermined rotation axis by a driving device (not shown).

[0030] The magnetic encoder 1 according to this embodiment is used as a position detection device for detecting the rotational position of the optical element 412. Below, a general configuration of the magnetic encoder 1 will be described with reference to Figs. 2 to 4. Fig. 2 is a perspective view showing the magnetic encoder 1. Fig. 3 is a plan view showing the magnetic encoder 1. Fig. 4 is a front view showing the magnetic encoder 1.

[0031] The magnetic encoder 1 according to this embodiment includes a magnetic sensor 2 and a magnetic field generator 3. The magnetic field generator 3 is configured to rotate about a rotation axis C in conjunction with the optical element 412 shown in FIG.

[0032] The magnetic field generator 3 generates a target magnetic field MF, which is a magnetic field for position detection and is a magnetic field to be detected by the magnetic sensor 2 (magnetic field to be detected). The target magnetic field MF includes a magnetic field component in a direction parallel to an imaginary straight line. The magnetic sensor 2 and the magnetic field generator 3 are configured such that, when at least one of the magnetic sensor 2 and the magnetic field generator 3 operates, the strength of the magnetic field component at the reference position changes. The reference position may be the position where the magnetic sensor 2 is disposed. The magnetic sensor 2 detects the target magnetic field MF including the above-mentioned magnetic field components, and generates first and second detection signals each corresponding to the strength of the magnetic field component.

[0033] Particularly in this embodiment, the magnetic field generator 3 is a magnetic scale (rotary scale) in which multiple pairs of N poles and S poles are alternately arranged around the rotation axis C. The magnetic field generator 3 has an end face 3a located at an end in one direction parallel to the rotation axis C. The multiple pairs of N poles and S poles are provided on the end face 3a. In Figs. 2 and 3, the N poles are hatched for ease of understanding. In Fig. 4, the magnetic field generator 3 is diagrammatically shown with multiple pairs of N poles and S poles for ease of understanding. The magnetic sensor 2 is disposed so as to face the end face 3a. The intensity of the magnetic field component MFx at a reference position, for example, the position where the magnetic sensor 2 is disposed, changes with the rotation of the magnetic field generator 3.

[0034] 4, the distance between two adjacent N poles in the rotational direction of the magnetic field generator 3, i.e., the center-to-center distance between two adjacent N poles separated by one S pole, is called the magnetic pole pitch, and the magnitude of the magnetic pole pitch is represented by the symbol λm. The center-to-center distance between two adjacent S poles separated by one N pole is equal to the magnetic pole pitch λm.

[0035] Here, the X, Y and Z directions are defined as shown in Fig. 4. In this embodiment, the two directions perpendicular to the rotation axis C are defined as the X and Y directions, and the direction parallel to the rotation axis C from the magnetic sensor 2 to the magnetic field generator 3 is defined as the Z direction. The Y direction is defined as the direction from the magnetic sensor 2 to the rotation axis C. In Fig. 4, the Y direction is represented as the direction from the front to the back in Fig. 4. 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.

[0036] The magnetic sensor 2 is disposed at a position spaced apart from the magnetic field generator 3 in the -Z direction. The magnetic sensor 2 is configured to detect the intensity of a magnetic field component MFx in a direction parallel to the X direction of the target magnetic field MF. The intensity of the magnetic field component MFx is expressed, for example, by a positive value when the direction of the magnetic field component MFx is the X direction, and by a negative value when the direction of the magnetic field component MFx is the -X direction. When the magnetic field generator 3 rotates, the intensity of the magnetic field component MFx changes periodically. The direction parallel to the X direction corresponds to the "first direction" in the present invention.

[0037] Next, the magnetic sensor 2 will be described in detail with reference to Figs. 5 and 6. Fig. 5 is a plan view showing the magnetic sensor 2. Fig. 6 is a circuit diagram showing the configuration of the magnetic sensor 2. As shown in Fig. 6, the magnetic encoder 1 further includes a detection value generating circuit 4. The detection value generating circuit 4 generates a detection value Vs having a correspondence relationship with the rotational position of the magnetic field generator 3, i.e., the rotational position of the optical element 412, based on a first detection signal S1 and a second detection signal S2 corresponding to the intensity of the magnetic field component MFx generated by the magnetic sensor 2. The detection value generating circuit 4 can be realized by, for example, an application specific integrated circuit (ASIC) or a microcomputer.

[0038] The magnetic sensor 2 includes a first resistor R11, a second resistor R12, a third resistor R13, a fourth resistor R14, a fifth resistor R21, a sixth resistor R22, a seventh resistor R23, and an eighth resistor R24, each configured to have a resistance value that changes according to the strength of the magnetic field component MFx. The magnetic sensor 2 also includes a plurality of magnetoresistance effect elements (hereinafter, referred to as MR elements) 50. The first to eighth resistors R11 to R14, R21 to Each of the R24 is configured using a plurality of MR elements 50.

[0039] The magnetic sensor 2 further includes a power supply port V1, a ground port G1, a first output port E1, and a second output port E2. The ground port G1 is connected to the ground. The first and second output ports E1, E2 are connected to the detection value generating circuit 4. The magnetic sensor 2 may be driven by a constant voltage or a constant current. When the magnetic sensor 2 is driven by a constant voltage, a voltage of a predetermined magnitude is applied to the power supply port V1. When the magnetic sensor 2 is driven by a constant current, a current of a predetermined magnitude is supplied to the power supply port V1.

[0040] The magnetic sensor 2 generates a signal corresponding to the potential of the first output port E1 as a first detection signal S1, and generates a signal corresponding to the potential of the second output port E2 as a second detection signal S2. The detection value generating circuit 4 generates a detection value Vs based on the first and second detection signals S1 and S2. At least one of the magnetic sensor 2 and the detection value generating circuit 4 may be configured to be able to correct the amplitude, phase, and offset of each of the first and second detection signals S1 and S2.

[0041] The first to eighth resistors R11 to R14, R21 to R24 satisfy the following requirements for the arrangement in the circuit configuration. The first resistor R11 and the second resistor R12 are provided in this order from the power port V1 side on the first path 5 connecting the power port V1 and the first output port E1. The third resistor R13 and the fourth resistor R14 are provided in this order from the ground port G1 side on the second path 6 connecting the ground port G1 and the first output port E1. The fifth resistor R21 and the sixth resistor R22 are provided in this order from the ground port G1 side on the third path 7 connecting the ground port G1 and the second output port E2. The seventh resistor R23 and the eighth resistor R24 ​​are provided in this order from the power port V1 side on the fourth path 8 connecting the power port V1 and the second output port E2.

[0042] 5, the magnetic sensor 2 further includes a substrate 10, and a power supply terminal 11, a ground terminal 12, a first output terminal 13, and a second output terminal 14 arranged on the substrate 10. The power supply terminal 11 constitutes a power supply port V1. The ground terminal 12 constitutes a ground port G1. The first and second output terminals 13 and 14 constitute first and second output ports E1 and E2, respectively.

[0043] Next, the arrangement of the first to eighth resistors R11 to R14, R21 to R24 will be described with reference to FIG. 7. FIG. 7 is an explanatory diagram for explaining the arrangement of the first to eighth resistors R11 to R14, R21 to R24. The resistance value of each of the first to fourth resistors R11 to R14 has a corresponding relationship with the first detection signal S1. The resistance value of each of the fifth to eighth resistors R21 to R24 has a corresponding relationship with the second detection signal S2. The set of the first to fourth resistors R11 to R14 and the set of the fifth to eighth resistors R21 to R24 are arranged at different positions in a direction parallel to the X direction so that the phases of the first detection signal S1 and the second detection signal S2 are different from each other.

[0044] 7, C11 indicates a first position in the first resistor R11, C12 indicates a second position in the second resistor R12, C13 indicates a third position in the third resistor R13, and C14 indicates a fourth position in the fourth resistor R14. The first to fourth positions C11 to C14 are positions for identifying the physical positions of the first to fourth resistors R11 to R14, respectively. In particular, in this embodiment, the first position C11 is the center of gravity of the first resistor R11 when viewed from the Z direction, that is, when the magnetic sensor 2 is viewed from a position ahead of the magnetic sensor 2 in the Z direction. In addition, the second position C12 is the center of gravity of the second resistor R12 when viewed from the Z direction, the third position C13 is the center of gravity of the third resistor R13 when viewed from the Z direction, and the fourth position C14 is the center of gravity of the fourth resistor R14 when viewed from the Z direction.

[0045] 7, the symbol C21 indicates the fifth position in the fifth resistor R21, the symbol C22 indicates the sixth position in the sixth resistor R22, the symbol C23 indicates the seventh position in the seventh resistor R23, and the symbol C24 indicates the eighth position in the eighth resistor R24. The fifth to eighth positions C21 to C24 are positions for identifying the physical positions of the fifth to eighth resistors R21 to R24, respectively. In particular, in this embodiment, the fifth position C21 is the center of gravity of the fifth resistor R21 when viewed from the Z direction, the sixth position C22 is the center of gravity of the sixth resistor R22 when viewed from the Z direction, the seventh position C23 is the center of gravity of the seventh resistor R23 when viewed from the Z direction, and the eighth position C24 is the center of gravity of the eighth resistor R24 ​​when viewed from the Z direction.

[0046] Here, the design pitch λs is defined as follows. The design pitch λs is four times the distance in the direction parallel to the X direction between a predetermined position in the first resistor R11 and a predetermined position in the fifth resistor R21. In this embodiment, particularly, the predetermined position in the first resistor R11 is the first position C11, and the predetermined position in the fifth resistor R21 is the fifth position C21.

[0047] In this embodiment, the distance between the first position C11 and the fifth position C21 in the direction parallel to the X direction, the distance between the second position C12 and the sixth position C22 in the direction parallel to the X direction, the distance between the third position C13 and the seventh position C23 in the direction parallel to the X direction, and the distance between the fourth position C14 and the eighth position C24 in the direction parallel to the X direction are equal to each other. Therefore, instead of the pair of the first and fifth resistors R11 and R21, the pair of the second and sixth resistors R12 and R22, the pair of the third and seventh resistors R13 and R23, or the pair of the fourth and eighth resistors R14 and R24 can be used to define the design pitch λs.

[0048] The magnetic pole pitch λm shown in Fig. 4 is larger than the design pitch λs. The magnetic pole pitch λm is preferably larger than 1.1 times the design pitch λs, more preferably larger than 1.25 times the design pitch λs, and less than 1.75 times the design pitch λs.

[0049] Here, a virtual magnetic field generator different from the magnetic field generator 3 in this embodiment is assumed. The configuration of the virtual magnetic field generator is the same as that of the magnetic field generator 3, except that its magnetic pole pitch is different from the magnetic pole pitch λm of the magnetic field generator 3. The magnetic pole pitch of the virtual magnetic field generator is equal to the design pitch λs. Therefore, the magnetic pole pitch λm is larger than the magnetic pole pitch of the virtual magnetic field generator. When the magnetic field generator 3 is replaced with the virtual magnetic field generator, the phase difference between the first detection signal S1 and the second detection signal S2 becomes 90°. The set of the first to fourth resistors R11 to R14 and the set of the fifth to eighth resistors R21 to R24 are arranged at different positions in a direction parallel to the X direction so that when the magnetic field generator 3 is replaced with the virtual magnetic field generator, the phase difference between the first detection signal S1 and the second detection signal S2 becomes 90°.

[0050] The first to eighth resistors R11 to R14, R21 to R24 satisfy the following requirements regarding physical arrangement. The interval between the first position C11 and the second position C12 in the direction parallel to the X direction, the interval between the third position C13 and the fourth position C14 in the direction parallel to the X direction, the interval between the fifth position C21 and the sixth position C22 in the direction parallel to the X direction, and the interval between the seventh position C23 and the eighth position C24 in the direction parallel to the X direction are each equal to an odd multiple of 1 / 2 the design pitch λs. The interval between the first position C11 and the third position C13 in the direction parallel to the X direction, and the interval between the fifth position C21 and the seventh position C23 in the direction parallel to the X direction are each equal to zero or an integer multiple of the design pitch λs. The interval between the first position C11 and the fifth position C21 in the direction parallel to the X direction is equal to 1 / 4 the design pitch λs.

[0051] In this embodiment, the second position C12 is a position that is separated from the first position C11 by λs / 2 in the X direction, and the fourth position C14 is a position that is separated from the third position C13 by λs / 2 in the X direction. The distance between the first position C11 and the third position C13 in the direction parallel to the X direction is zero. That is, the third position C13 in the direction parallel to the X direction is the same as the first position C11 in the same direction. The third position C13 is ahead of the first position C11 in the -Y direction. The fourth position C14 in the direction parallel to the X direction is the same as the second position C12 in the same direction. The fourth position C14 is ahead of the second position C12 in the -Y direction.

[0052] The fifth to eighth resistors R21 to R24 are disposed ahead of the first to fourth resistors R11 to R14 in the Y direction. The physical layout of the fifth to eighth resistors R21 to R24 is similar to that of the first to fourth resistors R11 to R14. If the first to fourth resistors R11 to R14 and the first to fourth positions C11 to C14 in the description of the physical layout of the first to fourth resistors R11 to R14 are replaced with the fifth to eighth resistors R21 to R24 and the fifth to eighth positions C21 to C24, respectively, the physical layout of the fifth to eighth resistors R21 to R24 can be described.

[0053] In this embodiment, the fifth position C21 (seventh position C23) is λs / 4 ahead of the first position C11 (third position C13) in the X direction. The sixth position C22 (eighth position C24) is λs / 4 ahead of the second position C12 (fourth position C14) in the X direction.

[0054] The first resistor R11 is adjacent to the seventh resistor R23 but not adjacent to the eighth resistor R24. The eighth resistor R24 ​​is adjacent to the second resistor R12 but not adjacent to the first resistor R11.

[0055] The third resistor R13 is disposed at a position sandwiching the first resistor R11 between it and the seventh resistor R23. The fourth resistor R14 is disposed at a position sandwiching the second resistor R12 between it and the eighth resistor R24. The fifth resistor R21 is disposed at a position sandwiching the seventh resistor R23 between it and the first resistor R11. The sixth resistor R22 is disposed at a position sandwiching the eighth resistor R24 ​​between it and the second resistor R12.

[0056] Next, the configuration of the first to eighth resistors R11 to R14, R21 to R24 will be described. Each of the first and second detection signals S1 and S2 contains an ideal component that changes periodically with a predetermined signal period so as to draw an ideal sine curve (including a sine waveform and a cosine waveform). In this embodiment, the first to eighth resistors R11 to R14, R21 to R24 are configured so that the phase of the ideal component of the first detection signal S1 and the phase of the ideal component of the second detection signal S2 are different from each other. The design pitch λs shown in FIG. 7 corresponds to one period of the ideal component when the above-mentioned virtual magnetic field generator is used, that is, 360° of electrical angle. In the magnetic encoder 1 according to this embodiment, a magnetic field generator 3 with a magnetic pole pitch of λm is used. When this magnetic field generator 3 is used, the magnetic pole pitch λm corresponds to one period of the ideal component (360° of electrical angle). That is, the period of the ideal component is λm.

[0057] Each of the first and second detection signals S1, S2 contains, in addition to the ideal component, a plurality of harmonic components corresponding to higher harmonics of the ideal component. In this embodiment, the first to eighth resistors R11 to R14, R21 to R24 are configured to reduce the plurality of harmonic components.

[0058] The configuration of the first to eighth resistors R11 to R14, R21 to R24 will be specifically described below. First, the configuration of the MR element 50 will be described. In this embodiment, the MR element 50 is a spin-valve type MR element. This spin-valve type MR element includes a magnetization fixed layer, a free layer, and a gap layer disposed between the magnetization fixed layer and the free layer. The magnetization fixed layer has a first magnetization whose direction is fixed. The free layer has a first magnetization whose direction is fixed in a plane (XY plane) parallel to both the X direction and the Y direction. The direction The fixed layer, the free layer, and the gap layer are stacked in a direction parallel to the Z direction. The direction parallel to the Y direction corresponds to the "second direction" in this invention. The direction parallel to the Z direction corresponds to the "third direction" in this invention.

[0059] The spin-valve type MR element may be a TMR (tunneling magnetoresistance) element or a GMR (giant magnetoresistance) element. In this embodiment, in particular, in order to reduce the size of the magnetic sensor 2, it is preferable that the MR element 50 is a TMR element. In a TMR element, the gap layer is a tunnel barrier layer. In a GMR element, the gap layer is a non-magnetic conductive layer. In a spin-valve type MR element, the resistance value changes depending on the angle that the magnetization direction of the free layer makes with respect to the magnetization direction of the magnetization fixed layer, and the resistance value is minimum when this angle is 0° and maximum when the angle is 180°.

[0060] 5 and 6, the arrows drawn in the first to eighth resistors R11 to R14, R21 to R24 represent the first magnetization direction of each of the magnetization fixed layers of the multiple MR elements 50 included in the resistors.

[0061] The first to eighth resistors R11 to R14, R21 to R24 satisfy the following requirements regarding the magnetization of the magnetization fixed layer. The first magnetization of the magnetization fixed layer in the first and fourth resistors R11, R14 includes a component of a first magnetization direction that is a direction parallel to the above-mentioned first direction (direction parallel to the X-direction). The first magnetization of the magnetization fixed layer in the second and third resistors R12, R13 includes a component of a second magnetization direction that is opposite to the first magnetization direction. The first magnetization of the magnetization fixed layer in the fifth and eighth resistors R21, R24 includes a component of a second magnetization direction. The first magnetization of the magnetization fixed layer in the sixth and seventh resistors R22, R23 includes a component of a first magnetization direction. Ingredients In this embodiment, particularly, the first magnetization direction is the −X direction, and the second magnetization direction is the X direction.

[0062] In addition, when the first magnetization includes a component in a specific magnetization direction, the component in the specific magnetization direction may be the main component of the first magnetization. Alternatively, the first magnetization may not include a component in a direction perpendicular to the specific magnetization direction. In the present embodiment, when the first magnetization includes a component in a specific magnetization direction, the direction of the first magnetization is the specific magnetization direction or approximately the specific magnetization direction.

[0063] The direction of the second magnetization of the free layer of each of the multiple MR elements 50 changes in the XY plane according to the strength of the magnetic field component MFx, so that the potentials of each of the first and second output ports E1 and E2 change according to the strength of the magnetic field component MFx.

[0064] Next, the arrangement of the multiple MR elements 50 in each of the first to eighth resistors R11 to R14, R21 to R24 will be described. Here, a collection of one or more MR elements 50 is called an element group. Each of the first to eighth resistors R11 to R14, R21 to R24 includes multiple element groups. The multiple element groups are arranged at predetermined intervals based on the design pitch λs so as to reduce error components. In the following description, the arrangement of the multiple element groups will be described based on a predetermined position of the element group. The predetermined position is, for example, the center of gravity of the element group when viewed from the Z direction.

[0065] FIG. 8 is a plan view showing the first resistor R11. As shown in FIG. 8, the first resistor R11 includes eight element groups 31, 32, 33, 34, 35, 36, 37, and 38. Each of the element groups 31 to 38 is divided into four sections. One or more MR elements 50 are arranged in each section. Therefore, each element group includes four or more MR elements 50. The multiple MR elements 50 may be connected in series within the element group. In this case, the multiple element groups may be connected in series. Alternatively, the multiple MR elements 50 may be connected in series regardless of the element group.

[0066] In FIG. 8, the element groups 31 to 38 are arranged so that, when the above-mentioned virtual magnetic field generator is used, the harmonic components corresponding to the third harmonic (third harmonic) of the ideal component, the fifth harmonic (fifth harmonic) of the ideal component, and the seventh harmonic (seventh harmonic) of the ideal component are reduced. As shown in FIG. 8, the element groups 31 to 34 are arranged along the X direction. The element group 32 is arranged at a position λs / 10 away from the element group 31 in the X direction. The element group 33 is arranged at a position λs / 6 away from the element group 31 in the X direction. The element group 34 is arranged at a position λs / 10+λs / 6 away from the element group 31 in the X direction (a position λs / 6 away from the element group 32 in the X direction).

[0067] 8, element groups 35 to 38 are arranged along the X direction, ahead of element groups 31 to 34 in the -Y direction. Element group 35 is arranged at a position λs / 14 away from element group 31 in the X direction. Element group 36 is arranged at a position λs / 14+λs / 10 away from element group 31 in the X direction (a position λs / 14 away from element group 32 in the X direction). Element group 37 is arranged at a position λs / 14+λs / 6 away from element group 31 in the X direction (a position λs / 14 away from element group 33 in the X direction). Element group 38 is arranged at a position λs / 14+λs / 10+λs / 6 away from element group 31 in the X direction (a position λs / 14 away from element group 34 in the X direction).

[0068] The arrangement of the multiple element groups for reducing multiple harmonic components is not limited to the example shown in FIG. 8. Here, k and m are integers equal to or greater than 1 and different from each other. For example, when reducing a harmonic component corresponding to a 2k+1th harmonic, the first element group is arranged at a position λs / (4k+2) away from the second element group in the X direction. Furthermore, when reducing an error component corresponding to a 2m+1th harmonic, the third element group is arranged at a position λs / (4m+2) away from the first element group in the X direction, and the fourth element group is arranged at a position λs / (4m+2) away from the second element group in the X direction. In this way, when reducing harmonic components corresponding to multiple harmonics, each of the multiple element groups for reducing an error component corresponding to a certain harmonic is arranged at a predetermined interval based on the design pitch λs in the X direction from each of the multiple element groups for reducing an error component corresponding to another harmonic.

[0069] In this embodiment, the configuration and arrangement of the plurality of element groups in each of the second to eighth resistors R12 to R14, R21 to R24 are the same as the configuration and arrangement of the plurality of element groups in the first resistor R11. That is, each of the second to eighth resistors R12 to R14, R21 to R24 also includes eight element groups 31 to 38 having the configuration and positional relationship shown in FIG. 8. The element group 31 of the third resistor R13 is arranged in the same position as the element group 31 of the first resistor R11 in the X direction. The element group 31 of the fourth resistor R14 is arranged in the same position as the element group 31 of the second resistor R12 in the X direction. The element group 31 of the second resistor R12 is arranged at a position λs / 2 away from the element group 31 of the first resistor R11 in the X direction. The element group 31 of the fourth resistor R14 is disposed at a position spaced apart by λs / 2 in the X direction from the element group 31 of the third resistor R13.

[0070] The element group 31 of the seventh resistor R23 is disposed at the same position as the element group 31 of the fifth resistor R21 in the X direction. The element group 31 of the eighth resistor R24 ​​is disposed at the same position as the element group 31 of the sixth resistor R22 in the X direction. The element group 31 of the fifth resistor R21 is disposed at a position λs / 4 away from the element group 31 of the first resistor R11 in the X direction. The element group 31 of the sixth resistor R22 is disposed at a position λs / 2 away from the element group 31 of the fifth resistor R21 in the X direction. The element group 31 of the eighth resistor R24 ​​is disposed at a position λs / 2 away from the element group 31 of the seventh resistor R23 in the X direction.

[0071] By the configuration of the first to eighth resistors R11 to R14, R21 to R24 described above, the phase difference between the ideal component of the second detection signal S2 and the ideal component of the first detection signal S1 becomes an odd multiple of 1 / 4 of a predetermined signal period (the signal period of the ideal component), and multiple harmonic components of each of the first and second detection signals S1, S2 are reduced.

[0072] From the viewpoint of the manufacturing accuracy of the MR element 50, the positions of the first to eighth resistors R11 to R14, R21 to R24 and the positions of the element groups 31 to 38 may be slightly shifted from the above positions.

[0073] Next, first and second examples of the MR element 50 will be described with reference to Fig. 9 and Fig. 10. Fig. 9 is a perspective view showing a first example of the MR element 50. In the first example, the MR element 50 includes a laminated film 50A including a magnetization fixed layer 51, a gap layer 52, and a free layer 53 laminated in this order in the Z direction. The planar shape of the laminated film 50A viewed from the Z direction may be circular, or may be square or approximately square as shown in Fig. 9.

[0074] The lower surface of the laminated film 50A of the MR element 50 is electrically connected to the lower surface of the laminated film 50A of another MR element 50 by a lower electrode (not shown), and the upper surface of the laminated film 50A of the MR element 50 is further electrically connected to the upper surface of the laminated film 50A of the other MR element 50 by an upper electrode (not shown). In this way, the multiple MR elements 50 are connected in series. Note that the arrangement of the layers 51 to 53 in the laminated film 50A may be upside down from the arrangement shown in FIG.

[0075] The MR element 50 further includes a bias magnetic field generator 50B that generates a bias magnetic field applied to the free layer 53. The direction of the bias magnetic field is a direction that intersects with a direction parallel to the X direction. In the first example, the bias magnetic field generator 50B includes two magnets 54 and 55. The magnet 54 is disposed ahead of the laminated film 50A in the -Y direction. The magnet 55 is disposed ahead of the laminated film 50A in the Y direction. In the first example, the laminated film 50A and the magnets 54 and 55 are disposed at positions that intersect with a virtual plane that is parallel to the XY plane. Also, in FIG. 9, the arrows in the magnets 54 and 55 indicate the magnetization directions of the magnets 54 and 55. In the first example, the direction of the bias magnetic field is the Y direction.

[0076] FIG. 10 is a perspective view showing a second example of the MR element 50. The configuration of the second example of the MR element 50 is the same as the configuration of the first example of the MR element 50, except for the planar shape of the laminated film 50A and the positions of the magnets 54 and 55. In the second example, the magnets 54 and 55 are disposed at positions different from the laminated film 50A in the Z direction. In particular, in the example shown in FIG. 10, the magnets 54 and 55 are disposed ahead of the laminated film 50A in the Z direction. Also, the planar shape of the laminated film 50A as viewed from the Z direction is a rectangle that is long in the Y direction. When viewed from the Z direction, the magnets 54 and 55 are disposed at positions overlapping with the laminated film 50A.

[0077] The direction of the bias magnetic field and the arrangement of the magnets 54, 55 are not limited to the examples shown in Figures 9 and 10. For example, the direction of the bias magnetic field may be any direction that intersects with the direction parallel to the X direction and the direction parallel to the Z direction, and may be inclined with respect to the Y direction. Furthermore, the magnets 54, 55 may be offset from each other in the direction parallel to the X direction.

[0078] Also, instead of using the bias magnetic field generator 50B, a bias magnetic field may be applied to the free layer 53 by uniaxial magnetic anisotropy such as shape magnetic anisotropy or magnetocrystalline anisotropy.

[0079] Next, a method of generating the detection value Vs in this embodiment will be described. The detection value generating circuit 4 generates the detection value Vs, for example, as follows. The detection value generating circuit 4 first performs a predetermined correction process on each of the first and second detection signals S1 and S2. The correction process includes at least a process of making the phase difference between the first detection signal S1 and the second detection signal S2 90°. The correction process may further include at least one of a process of correcting the amplitude of each of the first and second detection signals S1 and S2 and a process of correcting the offset of each of the first and second detection signals S1 and S2. The detection value generating circuit 4 then calculates the arc tangent of the ratio of the second detection signal S2 to the first detection signal S1, that is, atan(S2 / S1), to obtain an initial detection value within a range of 0° or more and less than 360°. The initial detection value may be the above-mentioned arc tangent value itself, or may be a value obtained by adding a predetermined angle to the arc tangent value.

[0080] When the value of the arctangent is 0°, the position of the S pole of the magnetic field generator 3 coincides with the position of each of the element groups 31 of the first and third resistors R11 and R13 when viewed from the Z direction. When the value of the arctangent is 180°, the position of the N pole of the magnetic field generator 3 coincides with the position of each of the element groups 31 of the first and third resistors R11 and R13 when viewed from the Z direction. Therefore, the initial detection value corresponds to the rotational position of the magnetic field generator 3 within the range from one S pole to another adjacent S pole via one N pole.

[0081] Furthermore, the detection value generating circuit 4 counts the number of electrical angle rotations from a reference position, with one period of the initial detection value being 360° of electrical angle. The electrical angle corresponds to the rotational position of the magnetic field generator 3, and one rotation of the electrical angle corresponds to the amount of movement from one S pole to another adjacent S pole via one N pole. The detection value generating circuit 4 generates a detection value Vs that corresponds to the rotational position of the magnetic field generator 3, based on the initial detection value and the number of electrical angle rotations.

[0082] Next, a brief description will be given of a manufacturing method of the magnetic sensor 2 according to the present embodiment. The manufacturing method of the magnetic sensor 2 includes a step of forming a plurality of MR elements 50 on the substrate 10, a step of forming terminals 11-14 on the substrate 10, and a step of forming a plurality of wirings connected to the plurality of MR elements 50 and the terminals 11-14.

[0083] In the process of forming the multiple MR elements 50, first, multiple initial MR elements are formed which will later become the multiple MR elements 50. Each of the multiple initial MR elements includes an initial magnetization fixed layer which will later become a magnetization fixed layer 51, a free layer 53, and a gap layer 52.

[0084] Next, the magnetization direction of the initial magnetization fixed layer is fixed to the above-mentioned predetermined direction using a laser beam and an external magnetic field of a predetermined direction. For example, in the initial MR elements that will later become the MR elements 50 that constitute the first, fourth, sixth and seventh resistors R11, R14, R22, R23, the initial MR elements are irradiated with laser beam while applying an external magnetic field of the first magnetization direction (-X direction). When the irradiation of the laser beam is completed, the magnetization direction of the initial magnetization fixed layer is fixed to the first magnetization direction. As a result, the initial magnetization fixed layer becomes the magnetization fixed layer 51, and the initial MR elements become the MR elements 50 that constitute the first, fourth, sixth and seventh resistors R11, R14, R22, R23.

[0085] In addition, in the other initial MR elements that will later become the MR elements 50 constituting the second, third, fifth and eighth resistors R12, R13, R21 and R24, the direction of the external magnetic field is set to the second magnetization direction (X direction), so that the magnetization direction of the initial magnetization pinned layer of each of the other initial MR elements can be fixed to the second magnetization direction. In this manner, the MR elements 50 are formed.

[0086] Next, the action and effect of the magnetic encoder 1 according to this embodiment will be described. In this embodiment, the first to eighth resistors R11 to R14, R21 to R24 are configured so that at least the harmonic component corresponding to the second harmonic among the multiple harmonic components is reduced. Specifically, as described above, the first to eighth resistors R11 to R14, R21 to R24 are arranged so as to satisfy the requirements regarding the layout in the circuit configuration, the requirements regarding the physical layout, and the requirements regarding the magnetization of the magnetization fixed layer. As a result, according to this embodiment, it is possible to reduce an error caused by the difference between the magnetic pole pitch λm of the magnetic field generator 3 and the design pitch λs of the magnetic sensor 2.

[0087] The effects of the magnetic encoder 1 according to the present embodiment will be described below in comparison with a magnetic encoder of a comparative example. First, the configuration of the magnetic encoder of the comparative example will be described. The configuration of the magnetic encoder of the comparative example differs from the configuration of the magnetic encoder 1 according to the present embodiment in that the magnetic encoder of the comparative example has a magnetic sensor 102 of the comparative example instead of the magnetic sensor 2 of the present embodiment.

[0088] Fig. 11 is a plan view showing a magnetic sensor 102 of a comparative example. Fig. 12 is a circuit diagram showing a configuration of the magnetic sensor 102 of the comparative example. The magnetic sensor 102 includes a first resistor R1, a second resistor R2, a third resistor R3, and a fourth resistor R4, each configured so that the resistance value changes according to the strength of the magnetic field component MFx. The magnetic sensor 102 also includes a plurality of MR elements 50. Each of the first to fourth resistors R1 to R4 is configured using a plurality of MR elements 50.

[0089] The magnetic sensor 102 further includes a power supply port V101, a ground port G101, a first output port E101, and a second output port E102. The ground port G101 is connected to the ground. The first and second output ports E101 and E102 are connected to the detection value generating circuit 4.

[0090] The magnetic sensor 102 generates a signal having a corresponding relationship with the potential of the first output port E101 as a first detection signal S101, and generates a signal having a corresponding relationship with the potential of the second output port E102 as a second detection signal S102. The detection value generating circuit 4 to which the magnetic sensor 102 is connected generates a detection value Vs based on the first and second detection signals S101, S102.

[0091] The first resistor R1 is provided in a path connecting the power supply port V101 and the first output port E101. The second resistor R2 is provided in a path connecting the ground port G101 and the first output port E101. The third resistor R3 is provided in a path connecting the ground port G101 and the second output port E102. The fourth resistor R4 is provided in a path connecting the power supply port V101 and the second output port E102.

[0092] The center of gravity of the second resistor R2 when viewed from the Z direction is located at a position λs / 2 away in the X direction from the center of gravity of the first resistor R1 when viewed from the Z direction. The center of gravity of the third resistor R3 when viewed from the Z direction is located at a position λs / 2 away in the X direction from the center of gravity of the fourth resistor R4 when viewed from the Z direction. The center of gravity of the fourth resistor R4 when viewed from the Z direction is located at a position λs / 4 away in the X direction from the center of gravity of the first resistor R1 when viewed from the Z direction.

[0093] 11 and 12, the arrows drawn in the first to fourth resistors R1 to R4 represent the first magnetization direction of each of the magnetization fixed layers of the multiple MR elements 50 included in the resistors. In the comparative example, the first magnetization direction is the −X direction in all of the first to fourth resistors R1 to R4.

[0094] Each of the first to fourth resistors R1 to R4 includes a plurality of element groups. The configuration and arrangement of the plurality of element groups in each of the first to fourth resistors R1 to R4 are the same as the configuration and arrangement of the plurality of element groups in the first resistor R11 of the magnetic sensor 2 according to the present embodiment.

[0095] Next, the first detection signal S101 in the comparative example will be described. In the comparative example, the resistance value R1 of the first resistor R1 and the resistance value R2 of the second resistor R2 are expressed by the following formulas (1) and (2), respectively. In the formulas (1) and (2), R0 and ΔR are each a predetermined constant, and θ represents an electrical angle.

[0096] R1 = R0 + ΔRcos(θ) … (1) R2=R0+ΔRcos(θ+λs / λm×π) …(2)

[0097] The first detection signal S101 is expressed by the following equation (3).

[0098] S101 = R2 / (R1 + R2) … (3)

[0099] When the magnetic pole pitch λm is equal to the design pitch λs, from the equations (1) to (3), the first detection signal S101 is expressed by the following equation (4).

[0100] S101=R2 / (2R0+ΔRcos(θ)-ΔRcos(θ)) =R2 / 2R0…(4)

[0101] When the magnetic pole pitch λm is different from the design pitch λs, from the equations (1) to (3), the first detection signal S101 is expressed by the following equation (5).

[0102] S101=R2 / (2R0+ΔRcos(θ)+ΔRcos(θ+λs / λm×π)) …(5)

[0103] As can be seen from equation (4), when the magnetic pole pitch λm is equal to the design pitch λs, the first detection signal S101 is equal to a constant multiple of R2. In this case, the first detection signal S101 ideally changes periodically to draw an ideal sine curve according to the electrical angle θ (see equation (2)). On the other hand, as can be seen from equation (5), when the magnetic pole pitch λm is different from the design pitch λs, the denominator of equation (5) contains a component that changes according to the electrical angle θ. This component generates a harmonic component equivalent to a second-order harmonic in the first detection signal S101.

[0104] The explanation of the first detection signal S101 also applies to the second detection signal S102. The resistance value R3 of the third resistor R3, the resistance value R4 of the fourth resistor R4, and the second detection signal S102 can each be expressed using a sine function that changes according to the electrical angle θ. When the magnetic pole pitch λm is different from the design pitch λs, the second detection signal S102 also generates a harmonic component equivalent to the second harmonic. The harmonic components of each of the first and second detection signals S101 and S102 cause an error in the detection value Vs.

[0105] Next, the first detection signal S1 in this embodiment will be described. In this embodiment, the resistance value R 11 and the resistance value R of the second resistor R12. 12 and the resistance value R of the third resistor R13. 13 and the resistance value R of the fourth resistor R14. 14 are expressed by the following formulas (6) to (9), respectively.

[0106] R 11 =R0+ΔRcos(θ) …(6) R 12 =R0+ΔRcos(θ+λs / λm×π+π) =R0-ΔRcos(θ+λs / λm×π) …(7) R 13 =R0+ΔRcos(θ+π) =R0-ΔRcos(θ+π) …(8) R 14 =R0+ΔRcos(θ+λs / λm×π) …(9)

[0107] The first detection signal S1 is expressed by the following equation (10).

[0108] S1=(R 13 +R 14 ) / (R 11 +R 12 +R 13 +R 14 ) =(R 13 +R 14 ) / 4R0…(10)

[0109] As can be seen from equation (10), in this embodiment, regardless of whether the magnetic pole pitch λm is equal to the design pitch λs, the denominator of equation (10) is a constant, and the first detection signal S1 is a constant that is proportional to the resistance value R 13 and resistance value R 14 Therefore, in this embodiment, the first detection signal S1 ideally changes periodically to describe an ideal sine curve according to the electrical angle θ, regardless of whether the magnetic pole pitch λm is equal to the design pitch λs (see equations (8) and (9)).

[0110] The explanation for the first detection signal S1 also applies to the second detection signal S2. The second detection signal S2 is expressed by R 11 ,R 12 ,R 13 ,R 14 and the resistance value R of the fifth resistor R21. 21 , the resistance value R of the sixth resistor R22 22 and the resistance value R of the seventh resistor R23. 23 and the resistance value R of the eighth resistor R24 24 Similar to the first detection signal S1, the second detection signal S2 ideally changes periodically to describe an ideal sine curve according to the electrical angle θ, regardless of whether the magnetic pole pitch λm is equal to the design pitch λs.

[0111] As described above, in this embodiment, the harmonic components corresponding to the second harmonic are reduced among the multiple harmonic components. As a result, this embodiment can prevent an error from occurring in the detection value Vs. The effect of this will be described below with reference to the results of a simulation.

[0112] In the simulation, a model of a comparative example and a model of an example were used. The model of the comparative example is a model of a magnetic encoder of a comparative example. The model of the example is a model of the magnetic encoder 1 according to the present embodiment.

[0113] In the simulation, the design pitch λs was set to 800 μm. In the model of the comparative example, the first to fourth resistors R1 to R4 were arranged such that the center of gravity of the second resistor R2 was located 400 μm away from the center of gravity of the first resistor R1 in the X direction, the center of gravity of the third resistor R3 was located 400 μm away from the center of gravity of the fourth resistor R4 in the X direction, and the center of gravity of the fourth resistor R4 was located 200 μm away from the center of gravity of the first resistor R1 in the X direction.

[0114] In the model of the embodiment, the first to eighth resistors R11 to R14, R21 to R24 are arranged such that the second position C12 is 400 μm away from the first position C11 in the X direction, the fourth position C14 is 400 μm away from the third position C13 in the X direction, the sixth position C22 is 400 μm away from the fifth position C21 in the X direction, the eighth position C24 is 400 μm away from the seventh position C23 in the X direction, and the fifth position C21 is 200 μm away from the first position C11 in the X direction.

[0115] In the simulation, the distance between the magnetic sensor 2 and the magnetic field generator 3 in the direction parallel to the Z direction, and the distance between the magnetic sensor 102 and the magnetic field generator 3 in the direction parallel to the Z direction were both set to 0.4 mm. The voltage applied to the power supply port V1 and the voltage applied to the power supply port V101 were both set to 1 V.

[0116] Here, the component whose signal period coincides with the signal period of the ideal component is called the first-order component, the harmonic component corresponding to the second harmonic is called the second-order component, the harmonic component corresponding to the third harmonic is called the third-order component, the harmonic component corresponding to the fourth harmonic is called the fourth-order component, the harmonic component corresponding to the fifth harmonic is called the fifth-order component, and the harmonic component corresponding to the sixth harmonic is called the sixth-order component. The ratio of the amplitude of a certain harmonic component to the amplitude of the first-order component is called the amplitude ratio of that harmonic component. The difference between the initial detection value assumed when each of the detection signals S1, S2, S101, and S102 contains only ideal components and the initial detection value obtained by simulation is called the error of the detection value Vs. The initial detection value is a value corresponding to an electrical angle obtained by calculation, and is expressed as a value between 0° and 360°. Therefore, the unit of the error of the detection value Vs is expressed in degrees.

[0117] In the simulation, the magnetic pole pitch λm was changed in increments of 200 μm within a range from 600 μm to 2600 μm. In the comparative model, the first and second detection signals S101, S102 and the detection value Vs were obtained when the magnetic field generator 3 was rotated for each magnetic pole pitch λm. In addition, the first detection signal S101 was Fourier transformed to obtain the first to sixth order components of the first detection signal S101, and the amplitude ratios of the second to sixth order components of the first detection signal S101 were obtained. The error of the detection value Vs was also obtained.

[0118] Similarly, in the model of the embodiment, the first and second detection signals S1, S2 and the detection value Vs were obtained for each magnetic pole pitch λm when the magnetic field generator 3 was rotated. In addition, the first detection signal S1 was Fourier transformed to obtain the first to sixth order components of the first detection signal S1, and the amplitude ratios of the second to sixth order components of the first detection signal S1 were obtained. In addition, the error of the detection value Vs was obtained.

[0119] Fig. 13 is a characteristic diagram showing the amplitude ratio of the model of the comparative example obtained by simulation. Fig. 14 is a characteristic diagram showing the amplitude ratio of the model of the example obtained by simulation. In Figs. 13 and 14, Horizontal axisindicates the magnetic pole pitch λm, and the vertical axis indicates the amplitude ratio. In addition, in Fig. 13, reference numeral 71 indicates the amplitude ratio of the second-order component, reference numeral 72 indicates the amplitude ratio of the third-order component, reference numeral 73 indicates the amplitude ratio of the fourth-order component, reference numeral 74 indicates the amplitude ratio of the fifth-order component, and reference numeral 75 indicates the amplitude ratio of the sixth-order component. In addition, in Fig. 14, reference numeral 81 indicates the amplitude ratio of the second-order component, reference numeral 82 indicates the amplitude ratio of the third-order component, reference numeral 83 indicates the amplitude ratio of the fourth-order component, reference numeral 84 indicates the amplitude ratio of the fifth-order component, and reference numeral 85 indicates the amplitude ratio of the sixth-order component.

[0120] As shown in FIG. 13, in the comparative model, the amplitude ratio of the fourth-order component (symbol 73), the amplitude ratio of the fifth-order component (symbol 74), and the amplitude ratio of the sixth-order component (symbol 75) were zero or almost zero. In addition, in the comparative model, it can be seen that the amplitude ratio of the second-order component (symbol 71) is the largest except when the magnetic pole pitch λm is 800 μm. It can also be seen that the amplitude ratio of the second-order component (symbol 71) is the smallest when the magnetic pole pitch λm is 800 μm, and increases as the magnetic pole pitch λm increases from 800 μm. The case where the magnetic pole pitch λm is 800 μm is the case where the magnetic pole pitch λm is equal to the design pitch λs.

[0121] 14, in the model of the embodiment, as in the model of the comparative example, the amplitude ratio of the fourth-order component (reference number 83), the amplitude ratio of the fifth-order component (reference number 84), and the amplitude ratio of the sixth-order component (reference number 85) were zero or almost zero. Furthermore, in the model of the embodiment, the amplitude ratio of the second-order component (reference number 81) was also zero.

[0122] 13 and 14 also apply to the second detection signals S2 and S102. From the simulation results, it can be seen that the present embodiment is configured to reduce the harmonic component (secondary component) corresponding to the second harmonic among the multiple harmonic components.

[0123] Fig. 15 is a characteristic diagram showing the error of the detection value Vs of the model of the comparative example and the model of the embodiment obtained by simulation. In Fig. 15, Horizontal axisindicates the magnetic pole pitch λm, and the vertical axis indicates the error in the detected value Vs. In Fig. 15, reference numeral 91 indicates the error in the model of the comparative example, and reference numeral 92 indicates the error in the model of the embodiment.

[0124] As described above, in the simulation, the error of the detection value Vs is calculated using the initial detection value, and the initial detection value is calculated using the detection signals S1, S2, S101, and S102. The waveforms of the detection signals S1, S2, S101, and S102 are distorted from a sine curve depending on the amplitude ratio of the harmonic components. Therefore, the error of the detection value Vs depends on the amplitude ratio of the harmonic components. As can be understood from FIG. 13 and FIG. 15, in the model of the comparative example, the error of the detection value Vs (reference numeral 91 in FIG. 15) is largely dependent on the amplitude ratio of the secondary component (reference numeral 71 in FIG. 13). The error of the detection value Vs, like the amplitude ratio of the secondary component, is minimized when the magnetic pole pitch λm is equal to the design pitch λs (800 μm), and increases as the magnetic pole pitch λm increases from 800 μm, that is, as the magnetic pole pitch λm deviates from the design pitch λs.

[0125] 14 and 15, in the model of the embodiment, the amplitude ratio of the second-order component (reference number 81 in FIG. 14) is zero, and therefore the error of the detection value Vs (reference number 92 in FIG. 15) is heavily dependent on the amplitude ratio of the third-order component (reference number 82 in FIG. 14). However, the amplitude ratio of the third-order component of the model of the embodiment (reference number 82 in FIG. 14) is sufficiently smaller than the amplitude ratio of the second-order component of the model of the comparative example (reference number 71 in FIG. 13). Therefore, as shown in FIG. 15, the error of the model of the embodiment (reference number 92) is sufficiently smaller than the error of the model of the comparative example (reference number 91).

[0126] As can be seen from the simulation results, according to this embodiment, by configuring the multiple harmonic components so that the harmonic component (secondary component) corresponding to the second harmonic is reduced, it is possible to prevent errors from occurring in the detection value Vs due to the difference between the magnetic pole pitch λm and the design pitch λs.

[0127] As described above, in this embodiment, the element groups 31-38 are arranged so as to reduce the harmonic components corresponding to the third harmonic, the fifth harmonic, and the seventh harmonic. That is, in this embodiment, the first to eighth resistors R11-R14, R21-R24 are configured so as to reduce the harmonic components corresponding to the third, fifth, and seventh harmonics in addition to the harmonic component corresponding to the second harmonic. As a result, according to this embodiment, the error in the detection value Vs can be further reduced.

[0128] Incidentally, when the magnetic encoder 1 is applied to a device that generates a relatively large vibration, it may be necessary to increase the distance between the magnetic sensor 2 and the magnetic field generator 3 in order to prevent the magnetic sensor 2 from colliding with the magnetic field generator 3. In this case, it is preferable to make the magnetic pole pitch λm larger than the design pitch λs in order to make the strength of the magnetic field component MFx (see FIG. 4) at the position where the magnetic sensor 2 is arranged desirable. Specifically, it is preferable that the magnetic pole pitch λm is larger than 1.1 times the design pitch λs, and it is preferable that the magnetic pole pitch λm is larger than 1.25 times the design pitch λs. On the other hand, as can be seen from FIG. 15, when the magnetic pole pitch λm is 1400 μm or more, that is, when the magnetic pole pitch λm is 1.75 times the design pitch λs or more, the error of the detection value Vs increases as the magnetic pole pitch λm increases. Therefore, it is preferable that the magnetic pole pitch λm is smaller than 1.75 times the design pitch λs.

[0129] [Variations] Next, a modified example of the magnetic encoder 1 according to the present embodiment will be described with reference to Fig. 16. Fig. 16 is a perspective view showing a modified example of the magnetic encoder 1. In this modified example, the magnetic encoder 1 includes a magnetic field generator 103 instead of the magnetic field generator 3 shown in Figs. 2 and 3. The magnetic field generator 103 has outer peripheral surfaces 103a and 103b that face in a direction away from the rotation axis C. The outer peripheral surfaces 103a and 103b are disposed at different positions from each other in a direction parallel to the rotation axis C. The outer peripheral surface 103a is disposed at a position farther away from the rotation axis C than the outer peripheral surface 103b.

[0130] A plurality of pairs of N poles and S poles are provided on the outer peripheral surface 103a. In Fig. 16, the N poles are hatched for ease of understanding. The magnetic sensor 2 is disposed so as to face the outer peripheral surface 103a. The strength of the magnetic field component MFx (see Fig. 4) at a reference position, for example, the position where the magnetic sensor 2 is disposed, changes with the rotation of the magnetic field generator 103.

[0131] In a modified example, a direction parallel to the rotation axis C may be defined as the Y direction, and a direction perpendicular to the rotation axis C and directed from the magnetic sensor 2 to the rotation axis C may be defined as the Z direction.

[0132] The present invention is not limited to the above-described embodiments, and various modifications are possible. For example, as long as the requirements of the claims are met, the number and arrangement of the MR elements 50 are not limited to the examples shown in the respective embodiments, and may be arbitrary.

[0133] Furthermore, the first to eighth positions C11 to C14, C21 to C24 may each be a position other than the center of gravity, such as an end in the -X direction of the corresponding resistor.

[0134] In addition, the third, fourth, seventh and eighth resistors R13, R14, R23, R24 may be arranged at positions spaced apart from the first, second, fifth and sixth resistors R11, R12, R21, R22 by an integer multiple of the design pitch λs in the X direction or the −X direction, respectively.

[0135] The magnetic field generator of the present invention may be a linear scale having multiple pairs of N and S poles magnetized in a linear direction. In this case, the magnetic encoder of the present invention may be applied to a position detection device for detecting the position of an object whose position can be changed. The magnetic sensor and the magnetic field generator may be configured so that the strength of the magnetic field component changes when the position of the object changes.

[0136] The magnetic sensor of the present invention may include a first full-bridge circuit configured to output a first detection signal, and a second full-bridge circuit configured to output a second detection signal. Each of the first and second full-bridge circuits may be formed of a plurality of resistors. [Explanation of symbols]

[0137] 1...magnetic encoder, 2...magnetic sensor, 3...magnetic field generator, 4...detection value generating circuit, 5...first path, 6...second path, 7...third path, 8...fourth path, 10...substrate, 11...power supply terminal, 12...ground terminal, 13...first output terminal, 14...second output terminal, 31-38...element group, 50...MR element, 50A...laminated film, 50B...bias magnetic field generator, 51...magnetization fixed layer, 52...gap layer, 53...free layer, 54, 55...magnet, 401...range measuring device, 411...photoelectric unit unit, 412...optical element, 413...support, C...rotation axis, E1...first output port, E2...second output port, G1...ground port, R11...first resistor, R12...second resistor, R13...third resistor, R14...fourth resistor, R21...fifth resistor, R22...sixth resistor, R23...seventh resistor, R24...eighth resistor, S1...first detection signal, S2...second detection signal, V1...power supply port, Vs...detection value, λm...magnetic pole pitch, λs...design pitch.

Claims

1. A magnetic field generator that generates a target magnetic field including a magnetic field component in a first direction; a magnetic sensor configured to detect the target magnetic field; the magnetic sensor and the magnetic field generator are configured such that, when at least one of the magnetic sensor and the magnetic field generator is operated, a strength of the magnetic field component at a reference position changes; the magnetic field generator is a magnetic scale having a plurality of pairs of alternating north and south poles; the magnetic sensor includes a plurality of resistors each configured to change in resistance in response to a change in intensity of the magnetic field component, and is configured to generate a first detection signal and a second detection signal each corresponding to the change in intensity of the magnetic field component; The plurality of resistors includes two resistors, a resistance value of one of the two resistors has a corresponding relationship with the first detection signal; a resistance value of the other of the two resistors has a corresponding relationship with the second detection signal; the one resistor and the other resistor are disposed at different positions in the first direction such that a phase of the first detection signal and a phase of the second detection signal are different from each other; a magnetic pole pitch is a center distance between two adjacent N poles with one S pole interposed therebetween in the magnetic scale, and a design pitch is four times a distance in the first direction between a predetermined position in one resistor and a predetermined position in the other resistor, the magnetic pole pitch being larger than the design pitch, each of the first and second detection signals includes an ideal component that periodically changes to describe an ideal sine curve, and a plurality of harmonic components that correspond to higher harmonics of the ideal component; the plurality of resistors are configured to reduce at least a harmonic component corresponding to a second harmonic among the plurality of harmonic components; The magnetic sensor further includes a plurality of magnetoresistance effect elements, Each of the plurality of magnetoresistance effect elements includes a magnetization fixed layer, a free layer, and a gap layer disposed between the magnetization fixed layer and the free layer; the magnetization fixed layer has a first magnetization whose direction is fixed; the free layer has a second magnetization whose direction is changeable in a plane parallel to both the first direction and a second direction perpendicular to the first direction; the magnetization fixed layer, the free layer, and the gap layer are stacked in a third direction perpendicular to the first direction and the second direction; the plurality of resistors are formed using the plurality of magnetoresistance effect elements, the first magnetization of the magnetization fixed layer in some of the plurality of resistors includes a component of a first magnetization direction that is a direction parallel to the first direction; the first magnetization of the magnetization fixed layer in some other of the plurality of resistors includes a component of a second magnetization direction opposite to the first magnetization direction; The magnetic sensor further includes a power port. Grand Port and A first output port; and a second output port; the plurality of resistors include a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, and an eighth resistor; the first resistor and the second resistor are provided in this order from the power supply port side in a first path connecting the power supply port and the first output port, the third resistor and the fourth resistor are provided in this order from the ground port side on a second path connecting the ground port and the first output port, the fifth resistor and the sixth resistor are provided in this order from the ground port side on a third path connecting the ground port and the second output port, the seventh resistor and the eighth resistor are provided in this order from the power supply port side in a fourth path connecting the power supply port and the second output port, a distance between a first position in the first resistor and a second position in the second resistor in the first direction, a distance between a third position in the third resistor and a fourth position in the fourth resistor in the first direction, a distance between a fifth position in the fifth resistor and a sixth position in the sixth resistor in the first direction, and a distance between a seventh position in the seventh resistor and an eighth position in the eighth resistor in the first direction are each equal to an odd multiple of 1 / 2 of the design pitch, an interval between the first position and the third position in the first direction and an interval between the fifth position and the seventh position in the first direction are each equal to zero or an integer multiple of the design pitch; a distance between the first position and the fifth position in the first direction is equal to ¼ of the design pitch; the first magnetization of the magnetization fixed layer in the first, fourth, sixth and seventh resistors includes a component in the first magnetization direction; The magnetic encoder according to claim 1, wherein the first magnetization of the magnetization fixed layer in each of the second, third, fifth and eighth resistors includes a component in the second magnetization direction.

2. the first position is a center of gravity of the first resistor when viewed from a direction parallel to the third direction; the second position is a center of gravity of the second resistor when viewed from a direction parallel to the third direction; the third position is a center of gravity of the third resistor when viewed from a direction parallel to the third direction, the fourth position is a center of gravity of the fourth resistor when viewed from a direction parallel to the third direction; the fifth position is a center of gravity of the fifth resistor when viewed from a direction parallel to the third direction; the sixth position is a center of gravity of the sixth resistor when viewed from a direction parallel to the third direction, the seventh position is a center of gravity of the seventh resistor when viewed from a direction parallel to the third direction; 2. The magnetic encoder according to claim 1, wherein the eighth position is the center of gravity of the eighth resistor when viewed from a direction parallel to the third direction.

3. the first resistor and the third resistor are adjacent to each other in the second direction; the second resistor and the fourth resistor are adjacent to each other in the second direction, the fifth resistor and the seventh resistor are adjacent to each other in the second direction, 2. The magnetic encoder according to claim 1, wherein the sixth resistor and the eighth resistor are adjacent to each other in the second direction.

4. the first resistor is adjacent to the seventh resistor but not adjacent to the eighth resistor; 2. The magnetic encoder according to claim 1, wherein the eighth resistor is adjacent to the second resistor but not adjacent to the first resistor.

5. the third resistor is disposed at a position sandwiching the first resistor between the third resistor and the seventh resistor, the fourth resistor is disposed at a position sandwiching the second resistor between the fourth resistor and the eighth resistor, the fifth resistor is disposed at a position sandwiching the seventh resistor between the first resistor and the fifth resistor, 5. The magnetic encoder according to claim 4, wherein the sixth resistor is disposed at a position sandwiching the eighth resistor between the sixth resistor and the second resistor.

6. 2. The magnetic encoder according to claim 1, wherein each of the plurality of magnetoresistive elements is configured such that a bias magnetic field is applied to the free layer in a direction intersecting the first direction.

7. 2. The magnetic encoder according to claim 1, wherein the gap layer is a tunnel barrier layer.

8. A distance measuring device that measures the distance to an object by detecting irradiated light, An optical element configured to change the direction of travel of the light and to rotate; and a magnetic encoder according to any one of claims 1 to 7, The magnetic field generator is configured to rotate about a rotation axis in cooperation with the optical element; The plurality of pairs of N poles and S poles are arranged alternately around the rotation axis, A distance measuring device, characterized in that the intensity of the magnetic field component at the reference position changes with rotation of the magnetic field generator.

9. the magnetic field generator has an end surface located at an end in one direction parallel to the rotation axis, The plurality of pairs of north and south poles are provided on the end surface, 9. The distance measuring device according to claim 8, wherein the magnetic sensor is disposed so as to face the end face.

10. the magnetic field generator has an outer circumferential surface facing away from the axis of rotation; The plurality of pairs of N poles and S poles are provided on the outer circumferential surface, 9. The distance measuring device according to claim 8, wherein the magnetic sensor is disposed so as to face the outer circumferential surface.

Citation Information

Patent Citations

  • Magnetic encoder and method of reducing harmonic error thereof

    JP2002303537A

  • Rotation angle position detector and sensor-equipped ball bearing using the same

    JP2012112897A

  • Lidar, and lidar control method

    JP2019191037A

  • Magnetic sensor, magnetic encoder, and lens position detection device

    JP2021173542A

  • Magnetic encoder

    JP2021177164A