Rotation angle detection device and rotation angle detection method
10690514 ยท 2020-06-23
Assignee
Inventors
Cpc classification
G01B7/30
PHYSICS
International classification
G01D5/244
PHYSICS
Abstract
A rotation angle detection device includes: a rotating body having magnetic tracks on which magnetic pole pairs are arranged at even intervals in concentric ring shapes; magnetic sensors each configured to detect a magnetic field of a corresponding one of the magnetic tracks and output a sine signal and a cosine signal; storage configured to store magnetic sensor correction information; a correction calculator configured to correct the sine signal and the cosine signal based on the magnetic sensor correction information; a phase detector configured to calculate a phase of the corrected sine signal and the corrected cosine signal; a phase difference detector configured to calculate a phase difference between a plurality of the phases; and an angle calculator configured to convert the phase difference into an absolute angle.
Claims
1. A rotation angle detection device comprising: a rotating body having a plurality of magnetic tracks on which magnetic pole pairs each including a north pole and a south pole are arranged at even intervals in concentric ring shapes, the magnetic tracks being different from each other in number of the magnetic pole pairs arranged thereon; a plurality of magnetic sensors each configured to detect a magnetic field of a corresponding one of the magnetic tracks and output a sine signal and a cosine signal; storage configured to store magnetic sensor correction information that is preset such that a value of the sine signal output by each of the magnetic sensors corresponding to a rotation angle of the rotating body comes closer to a value of a reference sine signal of the magnetic sensor, or such that a value of the cosine signal output by the magnetic sensor corresponding to the rotation angle of the rotating body comes closer to a value of a reference cosine signal of the magnetic sensor; a correction calculator configured to correct the sine signal and the cosine signal to a corrected sine signal and a corrected cosine signal based on the magnetic sensor correction information; a phase detector configured to calculate a phase of the corrected sine signal and the corrected cosine signal; a phase difference detector configured to calculate a phase difference between a plurality of the phases; and an angle calculator configured to convert the phase difference into an absolute angle, wherein V sin ave denotes an average value of the sine signal; V cos ave denotes an average value of the cosine signal; V sin max denotes a maximum value of the sine signal; V sin min denotes a minimum value of the sine signal; V cos max denotes a maximum value of the cosine signal; V cos min denotes a minimum value of the cosine signal; sin .sub.i and cos .sub.i denote input signal values; sin and cos denote output signal values; and the value V sin ave, the value V cos ave, the value V sin max, the value V sin min, the value V cos max, and the value V cos min are stored as the magnetic sensor correction information in the storage, the correction calculator is configured to use Expressions (5) and (7) below to calculate the value sin and use Expressions (6) and (8) below to calculate the value cos , .sub.ic denotes a sensor phase error between an output phase of the sine signal and an output phase of the cosine signal; sin and cos (+.sub.ic) denote input signal values; sin .sub.o and cos .sub.o denote output signal values; and the error .sub.ic is stored as the magnetic sensor correction information in the storage, and the correction calculator is configured to use Expressions (15) and (17) below to calculate the value sin .sub.o and use Expressions (16) and (18) below to calculate the value cos .sub.o,
sin =sin .sub.iV sin ave(5)
cos =cos .sub.iV cos ave(6)
sin sin /(|V sin maxV sin min|/2)(7)
cos =cos /(|V cos maxV cos min|/2)(8)
sin .sub.o=sin (15)
cos .sub.o=(cos(+.sub.ic)+sin sin .sub.ic)/cos .sub.ic(16)
sin .sub.o=sin .sub.o/(1(1sin.sup.2 .sub.o+cos.sup.2 .sub.o)/2)(17)
cos .sub.o=cos .sub.o/(1(1sin.sup.2 .sub.o+cos.sup.2 .sub.o)/2)(18).
2. The rotation angle detection device according to claim 1, wherein the magnetic tracks are magnetized on one end face in an axial direction of the rotating body.
3. The rotation angle detection device according to claim 1, wherein the magnetic tracks comprise: a first magnetic track; a second magnetic track provided at an outer circumference of the first magnetic track; and a third magnetic track provided at an inner circumference of the first magnetic track, and the rotation angle detection device further comprises: a first magnetic sensor module comprising the magnetic sensor that is configured to detect the magnetic field of the first magnetic track and the magnetic sensor that is configured to detect the magnetic field of the second magnetic track; and a second magnetic sensor module comprising the magnetic sensor that is configured to detect the magnetic field of the first magnetic track and the magnetic sensor that is configured to detect the magnetic field of the third magnetic track.
4. The rotation angle detection device according to claim 3, wherein the first magnetic sensor module and the second magnetic sensor module are arranged so as to be shifted from each other in a circumferential direction of the rotating body.
5. A rotation angle detection device comprising: a rotating body having a plurality of magnetic tracks on which magnetic pole pairs each including a north pole and a south pole are arranged at even intervals in concentric ring shapes, the magnetic tracks being different from each other in number of the magnetic pole pairs arranged thereon; a plurality of magnetic sensors each configured to detect a magnetic field of a corresponding one of the magnetic tracks and output a sine signal and a cosine signal; storage configured to store magnetic sensor correction information that is preset such that a value of the sine signal output by each of the magnetic sensors corresponding to a rotation angle of the rotating body comes closer to a value of a reference sine signal of the magnetic sensor, or such that a value of the cosine signal output by the magnetic sensor corresponding to the rotation angle of the rotating body comes closer to a value of a reference cosine signal of the magnetic sensor; a correction calculator configured to correct the sine signal and the cosine signal to a corrected sine signal and a corrected cosine signal based on the magnetic sensor correction information; a phase detector configured to calculate a phase of the corrected sine signal and the corrected cosine signal; a phase difference detector configured to calculate a phase difference between a plurality of the phases; and an angle calculator configured to convert the phase difference into an absolute angle, wherein V sin ave denotes an average value of the sine signal; V cos ave denotes an average value of the cosine signal; V sin max denotes a maximum value of the sine signal; V sin min denotes a minimum value of the sine signal; V cos max denotes a maximum value of the cosine signal; V cos min denotes a minimum value of the cosine signal; sin .sub.i and cos .sub.i denote input signal values; sin and cos denote output signal values; and the value V sin ave, the value V cos ave, the value V sin max, the value V sin min, the value V cos max, and the value V cos min are stored as the magnetic sensor correction information in the storage, the correction calculator is configured to use Expressions (5) and (7) below to calculate the value sin and use Expressions (6) and (8) below to calculate the value cos , .sub.ic denotes a sensor phase error between an output phase of the sine signal and an output phase of the cosine signal; sin (+.sub.ic) and cos denote input signal values; sin .sub.o and cos .sub.o denote output signal values; and the error .sub.ic is stored as the magnetic sensor correction information in the storage, and the correction calculator is configured to use Expressions (19) and (21) below to calculate the value sin .sub.0 and use Expressions (20) and (22) below to calculate the value cos .sub.o,
sin =sin .sub.iV sin ave(5)
cos =cos .sub.iV cos ave(6)
sin sin /(|V sin maxV sin min|/2)(7)
cos =cos /(|V cos maxV cos min|/2)(8)
sin .sub.o=(sin(+.sub.ic)+cos cos .sub.ic)/sin .sub.ic(19)
cos .sub.o=cos (20)
sin .sub.o=sin .sub.o/(1(1sin.sup.2 .sub.o+cos.sup.2 .sub.o)/2)(21)
cos .sub.o=cos .sub.o/(1(1sin.sup.2 .sub.o+cos.sup.2 .sub.o)/2)(22).
6. The rotation angle detection device according to claim 5, wherein the magnetic tracks are magnetized on one end face in an axial direction of the rotating body.
7. The rotation angle detection device according to claim 5, wherein the magnetic tracks comprise: a first magnetic track; a second magnetic track provided at an outer circumference of the first magnetic track; and a third magnetic track provided at an inner circumference of the first magnetic track, and the rotation angle detection device further comprises: a first magnetic sensor module comprising the magnetic sensor that is configured to detect the magnetic field of the first magnetic track and the magnetic sensor that is configured to detect the magnetic field of the second magnetic track; and a second magnetic sensor module comprising the magnetic sensor that is configured to detect the magnetic field of the first magnetic track and the magnetic sensor that is configured to detect the magnetic field of the third magnetic track.
8. The rotation angle detection device according to claim 7, wherein the first magnetic sensor module and the second magnetic sensor module are arranged so as to be shifted from each other in a circumferential direction of the rotating body.
Description
BRIEF DESCRIPTION OF DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
(19)
(20)
(21)
(22)
(23)
(24)
(25)
(26)
(27)
(28)
(29)
(30)
(31)
(32)
(33)
(34)
(35)
DESCRIPTION OF EMBODIMENTS
(36) The following describes modes for carrying out the present invention (hereinafter, referred to as embodiments) in detail with reference to the drawings. The embodiments described below do not limit the present invention. Components in the embodiments described below include those easily conceivable by those skilled in the art, those substantially the same, and those in the range of what are called equivalents. The components disclosed in the embodiments described below can be combined as appropriate.
First Embodiment
(37) Configuration of Rotation Angle Detection Device
(38)
(39) The magnetic sensor module 200 includes a first magnetic sensor 3A, a first correction calculator 4A, a first phase detector 5A, a second magnetic sensor 3B, a second correction calculator 4B, a second phase detector 5B, a phase difference detector 6, an angle calculator 7, and an angle information generator 8.
(40) In the present embodiment, the magnetic sensor module 200 is, for example, integrated into one IC chip. This integration can lead to, for example, a reduction in number of parts constituting the rotation angle detection device 1, an improvement in positional accuracy between the first magnetic sensor 3A and the second magnetic sensor 3B, and reductions in manufacturing cost and assembly cost, and can provide the small and low-cost rotation angle detection device 1. The magnetic sensor module 200 may include, for example, the transmitter 9 and the storage 10. This configuration can further reduce the size and cost of the rotation angle detection device 1.
(41)
(42) As illustrated in
(43) Specifically, on the first magnetic track 2A and the second magnetic track 2B, the circumferentially different magnetic poles are alternately arranged at equal intervals, for example, such that, in
(44) In the example illustrated in
(45) The rotating body 100 can include, for example, neodymium magnets, ferrite magnets, or samarium-cobalt magnets according to a required magnetic flux density.
(46) The present embodiment has an axial configuration in which the first magnetic track 2A and the second magnetic track 2B are magnetized on one end face in the axial direction of the rotating body 100. Such a configuration can thin the rotation angle detection device 1 in the axial direction thereof, and can enlarge a hollow hole thereof. This configuration can expand the scope of application of the rotation angle detection device 1 according to the first embodiment, including, for example, applications to inner-ring rotating and outer-ring rotating bearings, and applications to structures of devices in which cables are wired through the hollow hole. The configuration can also increase the degree of freedom of designing a device to which the rotation angle detection device 1 according to the first embodiment is applied.
(47) As illustrated in
(48) More specifically, the first magnetic sensor 3A of the magnetic sensor module 200 is opposed to the first magnetic track 2A and detects a magnetic field of the first magnetic track 2A. The second magnetic sensor 3B of the magnetic sensor module 200 is opposed to the second magnetic track 2B and detects a magnetic field of the second magnetic track 2B.
(49) The magnetic sensor module 200 is provided at a fixed place that does not rotate in synchronization with the rotating body 100.
(50) As illustrated in
(51) For example, magnetic sensor elements, such as Hall elements or magnetoresistance (MR) effect sensors, can be used as the magnetic sensor elements 3A1 and 3A2 and the magnetic sensor elements 3B1 and 3B2.
(52) The first magnetic sensor 3A outputs a first sine signal sin .sub.i1 and a first cosine signal cos .sub.i1 corresponding to the phase in the magnetic pole pair 2A1.
(53) The second magnetic sensor 3B outputs a second sine signal sin .sub.i2 and a second cosine signal cos .sub.i2 corresponding to the phase in the magnetic pole pair 2B1.
(54) As illustrated in
(55) The first correction calculator 4A performs correction calculation processing described later on the first sine signal sin .sub.i1 and the first cosine signal cos .sub.i1 thus supplied, and outputs a first corrected sine signal sin .sub.o1 and a first corrected cosine signal cos .sub.o1. The second correction calculator 4B performs the correction calculation processing described later on the second sine signal sin .sub.i2 and the second cosine signal cos .sub.i2 and outputs a second corrected sine signal sin .sub.o2 and a second corrected cosine signal cos .sub.o2. The correction calculation processing performed by the first correction calculator 4A and the second correction calculator 4B will be described in detail later.
(56)
(57)
(58) In the example illustrated in
(59) The relation between the number of the magnetic pole pairs 2A1 on the first magnetic track 2A and the number of the magnetic pole pairs 2B1 on the second magnetic track 2B is not limited to that of the example illustrated in
(60) The first phase detector 5A outputs the detected phase signal exemplified in part (e) of
(61) The second phase detector 5B outputs the detected phase signal exemplified in part (f) of
(62) The phase difference detector 6 outputs the phase difference signal exemplified in part (g) of
(63) The angle calculator 7 performs processing to convert the phase difference obtained by the phase difference detector 6 into the absolute angle in accordance with a preset calculation parameter. The calculation parameter used by the angle calculator 7 is stored in the storage 10.
(64) In the present embodiment, the angle information generator 8 is further provided at the subsequent stage of the angle calculator 7.
(65) The angle information generator 8 generates, for example, a phase ABZ signal composed of a phase A signal and a phase B signal different from each other in phase by 90 degrees, and a phase Z signal indicating the origin position, as information including the absolute angle calculated by the angle calculator 7 (hereinafter, also called absolute angle information). The phase A signal and the phase B signal only need to be obtained using, for example, either one set of a set of the first corrected sine signal and the first corrected cosine signal, which are the outputs from the first correction calculator 4A, and a set of the second corrected sine signal and the second corrected cosine signal, which are the outputs of the second correction calculator 4B.
(66) The transmitter 9 converts the absolute angle information generated by the angle information generator 8 into an appropriate signal (for example, a phase ABZ signal, a parallel signal, serial data, an analog voltage, or a pulse-width modulated (PWM) signal) and outputs the result to an external control device.
(67) In this manner, the configuration of outputting the absolute angle information converted into the appropriate signal can reduce the number of electrical connection lines to the external control device.
(68) An aspect may be employed in which, for example, an output request signal for the absolute angle information is transmitted from the external control device to the transmitter 9. In this case, the rotation angle detection device 1 may be configured to operate in response to the output request signal for the absolute angle information and output the absolute angle information from the transmitter 9.
(69) The storage 10 stores, in addition to the calculation parameter used by the angle calculator 7, information required for the operation of the rotation angle detection device 1, including, for example, the number (P) of the magnetic pole pairs 2A1 on the first magnetic track 2A, the number (P+1) of the magnetic pole pairs 2B1 on the second magnetic track 2B, first magnetic sensor correction information used by the first correction calculator 4A, which will be described later, second magnetic sensor correction information used by the second correction calculator 4B, which will be described later, and a reference position of the absolute angle. Examples of the storage 10 include a nonvolatile memory.
(70) In the present embodiment, the storage 10 stores parameters and arithmetic expressions used by the first correction calculator 4A and the second correction calculator 4B as the first magnetic sensor correction information and the second magnetic sensor correction information.
(71) The parameters and the arithmetic expressions used by the first correction calculator 4A include information used for correcting the first sine signal sin .sub.i1 and the first cosine signal cos .sub.i1, which are the detection signals of the first magnetic sensor 3A. The parameters and the arithmetic expressions are set as the first magnetic sensor correction information such that the detection signal of the first magnetic sensor 3A comes closer to a pre-assumed reference value of the sine signal or the cosine signal of the first magnetic sensor 3A.
(72) The parameters and the arithmetic expressions used by the second correction calculator 4B include information used for correcting the second sine signal sin .sub.i2 and the second cosine signal cos .sub.i2, which are the detection signals of the second magnetic sensor 3B. The parameters and the arithmetic expressions are set as the second magnetic sensor correction information such that the detection signal of the second magnetic sensor 3B comes closer to a pre-assumed reference value of the sine signal or the cosine signal of the second magnetic sensor 3B.
(73) The various parameters and information stored in the storage 10 may be configured to be updatable, for example, from the external control device through the transmitter 9. This configuration allows setting of the rotation angle detection device 1 according to the use situation thereof.
(74) Configuration and Operation of Correction Calculator
(75) The first magnetic track 2A and the second magnetic track 2B are the same in configuration and operation, the first magnetic sensor 3A and the second magnetic sensor 3B are the same in configuration and operation, and the first correction calculator 4A and the second correction calculator 4B are the same in configuration and operation. Therefore, in the following description, each of the first magnetic track 2A and the second magnetic track 2B is also called a magnetic track 2; each of the first magnetic sensor 3A and the second magnetic sensor 3B is also called a magnetic sensor 3; each of the first correction calculator 4A and the second correction calculator 4B is also called a correction calculator 4; and each of the first magnetic sensor correction information and the second magnetic sensor correction information is also called magnetic sensor correction information.
(76)
(77) The correction calculator 4 receives the sine signal sin .sub.i and the cosine signal cos .sub.i output from the magnetic sensor 3. The correction calculator 4 acquires the magnetic sensor correction information to be applied to the normalization processor 41 and the sensor phase corrector 42 from the storage 10.
(78) The normalization processor 41 normalizes the sine signal sin .sub.i and the cosine signal cos .sub.i output from the magnetic sensor 3 and outputs a normalized sine signal sin and a normalized cosine signal cos to the sensor phase corrector 42.
(79) The sensor phase corrector 42 corrects the phases of the normalized sine signal sin and the normalized cosine signal cos and outputs a corrected sine signal sin .sub.o and a corrected cosine signal cos .sub.o.
(80) The following describes each component of the correction calculator 4 according to the first embodiment.
(81) The normalization processor 41 according to the first embodiment will first be described.
(82) In the example illustrated in
(83) The example illustrated in
(84) For the offset voltage corrector 411 illustrated in
(85) In the example illustrated in
sin =sin .sub.iV sin ave(1)
(86) For the offset voltage corrector 411 illustrated in
(87) In the example illustrated in
cos =cos .sub.iV cos ave(2)
(88) For the offset voltage corrector 411 illustrated in
(89)
(90) The example illustrated in
(91) For the amplitude corrector 412 illustrated in
(92) In the example illustrated in
sin =sin .sub.i/(|V sin maxV sin min|/2)(3)
(93) For the amplitude corrector 412 illustrated in
(94) In the example illustrated in
cos =cos .sub.i/(|V cos maxV cos min|/2)(4)
(95) For the amplitude corrector 412 illustrated in
(96) In the examples described above, for convenience of explanation, the offset voltage corrector 411 and the amplitude corrector 412 included in the normalization processor 41 have been individually described. However, the normalization processor 41 preferably has a configuration including both the offset voltage corrector 411 and the amplitude corrector 412.
(97) In the example illustrated in
sin =sin .sub.iV sin ave(5)
(98) For the offset voltage corrector 411 illustrated in
(99) In the example illustrated in
cos =cos .sub.iV cos ave(6)
(100) For the offset voltage corrector 411 illustrated in
(101) In the example illustrated in
sin sin /(|V sin maxV sin min|/2)(7)
(102) For the amplitude corrector 412 illustrated in
(103) In the example illustrated in
cos =cos /(|V cos maxV cos min|/2)(8)
(104) For the amplitude corrector 412 illustrated in
(105) In other words, in the example illustrated in
(106) The following describes the sensor phase corrector 42 according to the first embodiment.
(107) As described above, the magnetic sensor elements 3A1 and 3A2 of the first magnetic sensor 3A are arranged separately from each other in the direction of arrangement of the magnetic pole pairs 2A1 so as to have a phase difference therebetween of 90 degrees in terms of electrical angle on the assumption that one period corresponds to a pitch of each of the magnetic pole pairs 2A1 on the first magnetic track 2A, and the magnetic sensor elements 3B1 and 3B2 of the second magnetic sensor 3B are arranged separately from each other in the direction of arrangement of the magnetic pole pairs 2B1 so as to have a phase difference therebetween of 90 degrees in terms of electrical angle on the assumption that one period corresponds to a pitch of each of the magnetic pole pairs 2B1 on the second magnetic track 2B. The present embodiment assumes a case where an error (hereinafter, called a sensor phase error) .sub.ic is included between an output phase of the magnetic sensor element 3A1 (3B1) and an output phase of the magnetic sensor element 3A2 (3B2). Such an assumption can be applied to cases including, for example, a case where a variation is present in the intervals between the magnetic poles provided on the magnetic track 2 and a case where the radial position of the magnetic sensor 3 on the magnetic track 2 varies during one turn of the rotating body 100, such as a case where the rotation axis X of the rotating body 100 is off the center thereof.
(108) Examples illustrated in
(109)
(110) For the sensor phase corrector 42 illustrated in
(111) In the example illustrated in
sin .sub.o=sin (9)
(112) The corrected cosine signal cos .sub.o is represented by Expression (10) below.
cos .sub.o=(cos(+.sub.ic)+sin sin .sub.ic)/cos .sub.ic(10)
(113) The sensor phase corrector 42 uses Expression (10) above to calculate the corrected cosine signal cos .sub.o. Hereinafter, Expression (10) above is also called a first phase correction arithmetic expression.
(114) For the sensor phase corrector 42 illustrated in
(115)
(116) Examples illustrated in
(117)
(118) For a sensor phase corrector 42a illustrated in
(119) In the example illustrated in
cos .sub.o=cos (11)
(120) The corrected sine signal sin .sub.o is represented by Expression (12) below.
sin .sub.o=(sin(+.sub.ic)+cos cos .sub.ic)/sin .sub.ic(12)
(121) The sensor phase corrector 42 uses Expression (12) above to calculate the corrected sine signal sin .sub.o. Hereinafter, Expression (12) above is also called a second phase correction arithmetic expression.
(122) For the sensor phase corrector 42a illustrated in
(123) The first correction calculator 4A includes the sensor phase corrector 42 or the sensor phase corrector 42a and thus can correct the output phase of the first magnetic sensor 3A. The second correction calculator 4B includes the sensor phase corrector 42 or the sensor phase corrector 42a and thus can correct the output phase of the second magnetic sensor 3B.
(124) The following describes a specific procedure of a rotation angle detection method according to the first embodiment.
(125) First, the first correction calculator 4A corrects the first sine signal sin .sub.i1 and the first cosine signal cos .sub.i1 to the first corrected sine signal sin .sub.o1 and the first corrected cosine signal cos .sub.o1, respectively, based on the first magnetic sensor correction information; and the second correction calculator 4B corrects the second sine signal sin .sub.i2 and the second cosine signal cos .sub.i2 to the second corrected sine signal sin .sub.o2 and the second corrected cosine signal cos .sub.o2, respectively, based on the second magnetic sensor correction information (Step S3101).
(126) Subsequently, the first phase detector 5A calculates a phase of the first corrected sine signal sin .sub.o1 and the first corrected cosine signal cos .sub.o1, and the second phase detector 5B calculates a phase of the second corrected sine signal sin .sub.o2 and the second corrected cosine signal cos .sub.o2 (Step S102).
(127) Subsequently, the phase difference detector 6 calculates the phase difference between the first magnetic sensor 3A and the second magnetic sensor 3B based on the detected phase of the first magnetic sensor 3A and the detected phase of the second magnetic sensor 3B (Step S103).
(128) Then, the angle calculator 7 converts the phase difference output from the phase difference detector 6 into the absolute angle (Step S104).
(129) As described above, the rotation angle detection device 1 according to the first embodiment includes the rotating body 100, the first magnetic sensor 3A, the second magnetic sensor 3B, the storage 10, the first correction calculator 4A, the second correction calculator 4B, the first phase detector 5A, the second phase detector 5B, the phase difference detector 6, and the angle calculator 7. The rotating body 100 is a body on which the first magnetic track 2A along which the magnetic pole pairs 2A1 are arranged at even intervals and the second magnetic track 2B along which the magnetic pole pairs 2B1 are arranged at even intervals, are provided so as to be arranged in the radial direction in concentric ring shapes having the axis center at the rotation axis X. Each of the magnetic pole pairs has the north pole and the south pole. When the number of the magnetic pole pairs 2A1 on the first magnetic track 2A is P (P is a natural number), the number of the magnetic pole pairs 2B1 on the second magnetic track 2B is P1 or P+1. The first magnetic sensor 3A detects the magnetic field of the first magnetic track 2A and outputs the first sine signal sin .sub.i1 and the first cosine signal cos .sub.i1. The second magnetic sensor 3B detects the magnetic field of the second magnetic track 2B and outputs the second sine signal sin .sub.i2 and the second cosine signal cos .sub.i2. The storage 10 stores the first magnetic sensor correction information and the second magnetic sensor correction information that are preset. The first magnetic sensor correction information is preset such that the value of the first sine signal sin .sub.i1 output by the first magnetic sensor 3A corresponding to the rotation angle of the first magnetic track 2A comes closer to the reference value of the sine signal of the first magnetic sensor 3A, or such that the value of the first cosine signal cos .sub.i1 output by the first magnetic sensor 3A corresponding to the rotation angle of the first magnetic track 2A comes closer to the reference value of the cosine signal of the first magnetic sensor 3A. The second magnetic sensor correction information is preset such that the value of the second sine signal sin .sub.i2 output by the second magnetic sensor 3B corresponding to the rotation angle of the second magnetic track 2B comes closer to the reference value of the sine signal of the second magnetic sensor 3B, or such that the value of the second cosine signal cos .sub.i2 output by the second magnetic sensor 3B corresponding to the rotation angle of the second magnetic track 2B comes closer to the reference value of the cosine signal of the second magnetic sensor 3B. The first correction calculator 4A corrects the first sine signal sin .sub.i1 and the first cosine signal cos .sub.i1 to the first corrected sine signal sin .sub.o1 and the first corrected cosine signal cos .sub.o1 based on the first magnetic sensor correction information. The second correction calculator 4B corrects the second sine signal sin .sub.i2 and the second cosine signal cos .sub.i2 to the second corrected sine signal sin .sub.o2 and the second corrected cosine signal cos .sub.o2 based on the second magnetic sensor correction information. The first phase detector 5A calculates the phase of the first corrected sine signal sin .sub.o1 and the first corrected cosine signal cos .sub.o1. The second phase detector 5B calculates the phase of the second corrected sine signal sin .sub.o2 and the second corrected cosine signal cos .sub.o2. The phase difference detector 6 calculates the phase difference between the first magnetic sensor 3A and the second magnetic sensor 3B based on the detected phase of the first magnetic sensor 3A and the detected phase of the second magnetic sensor 3B. The angle calculator 7 converts the phase difference into the absolute angle.
(130) With this configuration, the rotation angle detection device 1 can correct in real time the sine signals and the cosine signals before the phases are calculated by the first phase detector 5A and the second phase detector 5B. The phases are calculated using the corrected sine signals and the corrected cosine signals that have been corrected from the sine signals and the cosine signals based on the known preset magnetic sensor correction information. Therefore, the detection accuracy of the absolute angle of the rotating body 100 is improved. Accordingly, the rotation angle detection device 1 according to the present embodiment can accurately detect the absolute angle of the rotating body 100.
(131) For each of the correction calculators 4 (the first correction calculator 4A and the second correction calculator 4B), the average values V sin ave and V cos ave of the sine signal and the cosine signal that are the detection signals of the first magnetic sensor 3A (second magnetic sensor 3B), are stored in advance as the first magnetic sensor correction information (second magnetic sensor correction information) in the storage 10; and the offset voltage corrector 411 uses the average value V sin ave of the sine signal to correct the sine signal and uses the average value V cos ave of the cosine signal to correct the cosine signal. With this configuration, the offset voltages of the sine signal and the cosine signal can be normalized.
(132) For each of the correction calculators 4 (the first correction calculator 4A and the second correction calculator 4B), the maximum values V sin max and V cos max and the minimum values V sin min and V cos min of the sine signal and the cosine signal that are the detection signals of the first magnetic sensor 3A (second magnetic sensor 3B), are stored in advance as the first magnetic sensor correction information (second magnetic sensor correction information) in the storage 10; and the amplitude corrector 412 uses the maximum value V sin max and the minimum value V sin min of the sine signal to correct the sine signal and uses the maximum value V cos max and the minimum value V cos min of the cosine signal to correct the cosine signal. With this configuration, the amplitude values of the sine signal and the cosine signal can be normalized.
(133) With the configuration in which each of the correction calculators 4 (the first correction calculator 4A and the second correction calculator 4B) includes both the offset voltage corrector 411 and the amplitude corrector 412, the correction calculators 4 can normalize both the offset voltages and the amplitude values of the sine signal and the cosine signal.
(134) For each of the correction calculators 4 (the first correction calculator 4A and the second correction calculator 4B), the sensor phase error .sub.ic between the output phase of the magnetic sensor element 3A1 (3B1) and the output phase of the magnetic sensor element 3A2 (3B2) in the first magnetic sensor 3A (second magnetic sensor 3B) and the first phase correction arithmetic expression are stored in advance as the first magnetic sensor correction information (second magnetic sensor correction information) in the storage 10, and the sensor phase corrector 42 uses the sensor phase error .sub.ic and the first phase correction arithmetic expression to correct the cosine signal. With this configuration, the output phase of the magnetic sensor element 3A2 (3B2) can be corrected using the magnetic sensor element 3A1 (3B1) as the reference. Alternatively, the sensor phase error .sub.ic between the output phase of the magnetic sensor element 3A1 (3B1) and the output phase of the magnetic sensor element 3A2 (3B2) in the first magnetic sensor 3A (second magnetic sensor 3B) and the second phase correction arithmetic expression are stored in advance as the first magnetic sensor correction information (second magnetic sensor correction information) in the storage 10, and the sensor phase corrector 42a uses the sensor phase error .sub.ic and the second phase correction arithmetic expression to correct the sine signal. With this configuration, the output phase of the magnetic sensor element 3A1 (3B1) can be corrected using the magnetic sensor element 3A2 (3B2) as the reference.
(135) This configuration can improve the accuracy of position detection by the rotation angle detection device, and as a result, can contribute to an improvement in rotation control performance of various devices.
(136) The rotation angle detection method according to the first embodiment includes; correcting the first sine signal sin .sub.i1 and the first cosine signal cos .sub.i1 to the first corrected sine signal sin .sub.o1 and the first corrected cosine signal cos .sub.o1 based on the first magnetic sensor correction information that is preset such that the value of the first sine signal sin .sub.i1 output by the first magnetic sensor 3A, which detects the magnetic field of the first magnetic track 2A and outputs the first sine signal sin .sub.i1 and the first cosine signal cos .sub.i1 corresponding to the rotation angle of the first magnetic track 2A along which the magnetic pole pairs 2A1 each having the north pole and the south pole are arranged at even intervals, comes closer to the reference value of the sine signal of the first magnetic sensor 3A, or such that the value of the first cosine signal cos .sub.i1 output by the first magnetic sensor 3A corresponding to the rotation angle of the first magnetic track 2A comes closer to the reference value of the cosine signal of the first magnetic sensor 3A (signal correction step); correcting the second sine signal sin .sub.i2 and the second cosine signal cos .sub.i2 to the second corrected sine signal sin .sub.o2 and the second corrected cosine signal cos .sub.o2 based on the second magnetic sensor correction information that is preset such that the value of the second sine signal sin .sub.i2 output by the second magnetic sensor 3B, which detects the magnetic field of the second magnetic track 2B and outputs the second sine signal sin .sub.i2 and the second cosine signal cos .sub.i2 corresponding to the rotation angle of the second magnetic track 2B along which the magnetic pole pairs 2B1 are arranged at even intervals, comes closer to the reference value of the sine signal of the second magnetic sensor 3B, or such that the value of the second cosine signal cos .sub.i2 output by the second magnetic sensor 3B corresponding to the rotation angle of the second magnetic track 2B comes closer to the reference value of the cosine signal of the second magnetic sensor 3B (signal correction step); calculating the phase of the first corrected sine signal sin .sub.o1 and the first corrected cosine signal cos .sub.o1 (phase calculation step); calculating the phase of the second corrected sine signal sin .sub.o2 and the second corrected cosine signal cos .sub.o2 (phase calculation step); calculating the phase difference between the first magnetic sensor 3A and the second magnetic sensor 3B based on the detected phase of the first magnetic sensor 3A and the detected phase of the second magnetic sensor 3B (phase difference calculation step); and converting phase difference into the absolute angle (absolute angle calculation step).
(137) With this method, the sine signals and the cosine signals can be corrected in real time before the phases are calculated by the first phase detector 5A and the second phase detector 5B. The phases are calculated using the corrected sine signals and the corrected cosine signals that have been corrected from the sine signals and the cosine signals based on the known preset magnetic sensor correction information. Therefore, the detection accuracy of the absolute angle of the rotating body 100 is improved. Accordingly, with the rotation angle detection method according to the present embodiment, the absolute angle of the rotating body 100 can be accurately detected.
(138) The first embodiment described above exemplifies the axial configuration in which the first magnetic track 2A and the second magnetic track 2B are magnetized on one end face in the axial direction of the rotating body 100. The configuration is, however, not limited thereto, and may be, for example, a radial configuration in which the first magnetic track 2A and the second magnetic track 2B are magnetized on the outer circumferential surface of the rotating body 100 and provided so as to be arranged in the axial direction.
Second Embodiment
(139) For example, a configuration, a rotating body, magnetic tracks, and an arrangement of a magnetic sensor module of a rotation angle detection device according to a second embodiment are the same as those of the first embodiment, and therefore description thereof will not be repeated. The same components as those described above in the first embodiment are denoted by the same reference signs, and the description thereof will not be repeated. In the following description, each of the first magnetic track 2A and the second magnetic track 2B is also called a magnetic track 2; each of the first magnetic sensor 3A and the second magnetic sensor 3B is also called a magnetic sensor 3; each of the first correction calculator 4A and the second correction calculator 4B is also called a correction calculator 4a; and each of the first magnetic sensor correction information and the second magnetic sensor correction information is also called magnetic sensor correction information.
(140)
(141) The correction calculator 4a receives the sine signal sin .sub.i and the cosine signal cos .sub.i output from the magnetic sensor 3. The correction calculator 4a acquires the magnetic sensor correction information to be applied to the normalization processor 41 and the amplitude variation reducer 43 from the storage 10.
(142) The normalization processor 41 normalizes the sine signal sin .sub.i and the cosine signal cos .sub.i output from the magnetic sensor 3 and outputs the normalized sine signal sin and the normalized cosine signal cos to the sensor phase corrector 42.
(143) The amplitude variation reducer 43 corrects amplitude variations of the normalized sine signal sin and the normalized cosine signal cos and outputs the corrected sine signal sin .sub.o and the corrected cosine signal cos .sub.o.
(144)
(145) The present embodiment assumes a case where the output amplitude of the magnetic sensor 3 varies. Such an assumption can be applied to cases including, for example, a case where an axial surface provided with the magnetic track 2 of the rotating body 100 is not smooth and a case where the axial distance between the magnetic sensor 3 and the magnetic track 2 varies during one turn of the rotating body 100, such as a case where the rotation axis X of the rotating body 100 is tilted.
(146) The amplitude variation reducer 43 illustrated in
sin .sub.o=sin /(1(1sin.sup.2 +cos.sup.2 )/2)(13)
(147) For the amplitude variation reducer 43 illustrated in
(148) The amplitude variation reducer 43 illustrated in
cos .sub.o=cos /(1(1sin.sup.2 +cos.sup.2 )/2)(14)
(149) For the amplitude variation reducer 43 illustrated in
(150) The first correction calculator 4A includes the amplitude variation reducer 43 and thus can correct the variation in the output amplitude of the first magnetic sensor 3A. The second correction calculator 4B includes the amplitude variation reducer 43 and thus can correct the variation in the output amplitude of the second magnetic sensor 3B.
(151) As described above, for each of the correction calculators 4a (the first correction calculator 4A and the second correction calculator 4B), the first amplitude variation correction arithmetic expression and the second amplitude variation correction arithmetic expression are stored in advance as the first sensor correction information in the storage 10, and the amplitude variation reducer 43 uses the first amplitude variation correction arithmetic expression and the second amplitude variation correction arithmetic expression to correct the sine signal and the cosine signal. With this configuration, the variation in the output amplitude of the first magnetic sensor 3A (second magnetic sensor 3B) can be corrected.
(152) The above-described configuration can improve the accuracy of position detection by the rotation angle detection device, and as a result, can contribute to an improvement in rotation control performance of various devices.
Third Embodiment
(153) For example, a configuration, a rotating body, magnetic tracks, and an arrangement of a magnetic sensor module of a rotation angle detection device according to a third embodiment are the same as those of the first and second embodiments, and therefore description thereof will not be repeated. The same components as those described above in the first and second embodiments are denoted by the same reference signs, and the description thereof will not be repeated. In the following description, each of the first magnetic track 2A and the second magnetic track 2B is also called a magnetic track 2; each of the first magnetic sensor 3A and the second magnetic sensor 3B is also called a magnetic sensor 3; each of the first correction calculator 4A and the second correction calculator 4B is also called a correction calculator 4b; and each of the first magnetic sensor correction information and the second magnetic sensor correction information is also called magnetic sensor correction information.
(154)
(155) As illustrated in
(156) The correction calculator 4b receives the sine signal sin .sub.i and the cosine signal cos .sub.i output from the magnetic sensor 3. The correction calculator 4b acquires the magnetic sensor correction information to be applied to the normalization processor 41 and the amplitude variation reducer 43 from the storage 10.
(157) The normalization processor 41 normalizes the sine signal sin .sub.i and the cosine signal cos .sub.i output from the magnetic sensor 3 and outputs the normalized sine signal sin and the normalized cosine signal cos to the sensor phase corrector 42 or 42a.
(158) The sensor phase corrector 42 or 42a corrects the phase of the normalized sine signal sin or the normalized cosine signal cos and outputs a corrected sine signal sin .sub.o and a corrected cosine signal cos .sub.o.
(159) The sensor phase corrector 42 illustrated in
sin .sub.o=sin (15)
(160) The sensor phase corrector 42 illustrated in
cos .sub.o=(cos(+.sub.ic)+sin sin .sub.ic)/cos .sub.ic(16)
(161) For the sensor phase corrector 42 illustrated in
(162) The amplitude variation reducer 43 corrects the amplitude variations of the corrected sine signal sin .sub.o and the corrected cosine signal cos .sub.o and outputs the corrected sine signal sin .sub.o and the corrected cosine signal cos .sub.o.
(163) Specifically, the amplitude variation reducer 43 illustrated in
sin .sub.o=sin .sub.o/(1(1sin.sup.2 .sub.o+cos.sup.2 .sub.o)/2)(17)
(164) For the amplitude variation reducer 43 illustrated in
(165) The amplitude variation reducer 43 illustrated in
cos .sub.o=cos .sub.o/(1(1sin.sup.2 .sub.o+cos.sup.2 .sub.o)/2)(18)
(166) For the amplitude variation reducer 43 illustrated in
(167) The sensor phase corrector 42a illustrated in
sin .sub.o=(sin(+.sub.ic)+cos cos .sub.ic)/sin .sub.ic(19)
(168) For the sensor phase corrector 42a illustrated in
(169) The sensor phase corrector 42a illustrated in
cos .sub.o=cos (20)
(170) The amplitude variation reducer 43 corrects the amplitude variations of the corrected sine signal sin .sub.o and the corrected cosine signal cos .sub.o and outputs the corrected sine signal sin .sub.o and the corrected cosine signal cos .sub.o.
(171) Specifically, the amplitude variation reducer 43 illustrated in
sin .sub.o=sin .sub.o/(1(1sin.sup.2 .sub.o+cos.sup.2 .sub.o)/2)(21)
(172) For the amplitude variation reducer 43 illustrated in
(173) The amplitude variation reducer 43 illustrated in
cos .sub.o=cos .sub.o/(1(1sin.sup.2 .sub.o+cos.sup.2 .sub.o)/2)(22)
(174) For the amplitude variation reducer 43 illustrated in
(175) With the configuration in which the first correction calculator 4A includes both the sensor phase corrector 42 or the sensor phase corrector 42a described in the first embodiment and the amplitude variation reducer 43 described in the second embodiment, the first correction calculator 4A can correct both the output phase and the variation in the output amplitude of the first magnetic sensor 3A. With the configuration in which the second correction calculator 4B includes both the sensor phase corrector 42 or the sensor phase corrector 42a described in the first embodiment and the amplitude variation reducer 43 described in the second embodiment, the second correction calculator 4B can correct both the output phase and the variation in the output amplitude of the second magnetic sensor 3B.
(176) As described above, each of the correction calculators 4b (the first correction calculator 4A and the second correction calculator 4B) includes both the sensor phase corrector 42 or the sensor phase corrector 42a and the amplitude variation reducer 43. Therefore, both the output phase and the variation in the output amplitude of the first magnetic sensor 3A (second magnetic sensor 3B) can be corrected, and thus, the absolute angle of the rotating body 100 can be more accurately detected than in the first and second embodiments.
(177) This configuration can more greatly improve the accuracy of position detection by the rotation angle detection device than in the first and second embodiments, and as a result, can more greatly contribute to the improvement in rotation control performance of various devices than in the first and second embodiments.
Fourth Embodiment
(178)
(179) As illustrated in
(180) In the example illustrated in
(181) The present embodiment has an axial configuration in which the first magnetic track 2A, the second magnetic track 2B, and the third magnetic track 2C are provided on one end face in the axial direction of the rotating body 100a, but is not limited to this configuration, and may have a radial configuration in which the first magnetic track 2A, the second magnetic track 2B, and the third magnetic track 2C are provided, for example, so as to be arranged in the axial direction on the outer circumferential surface of the rotating body 100a.
(182) As illustrated in
(183) The first magnetic sensor module 200a and the second magnetic sensor module 200b are each provided so as to be opposed in the axial direction to the rotating body 100a that has the first magnetic track 2A, the second magnetic track 2B, and the third magnetic track 2C, with a gap therebetween.
(184) More specifically, the first magnetic sensor 3A of the first magnetic sensor module 200a is opposed to the first magnetic track 2A and detects a magnetic field of the first magnetic track 2A. The second magnetic sensor 3B of the first magnetic sensor module 200a is opposed to the second magnetic track 2B and detects the magnetic field of the second magnetic track 2B. The first magnetic sensor 3A of the second magnetic sensor module 200b is opposed to the first magnetic track 2A and detects a magnetic field of the first magnetic track 2A. The second magnetic sensor 3B of the second magnetic sensor module 200b is opposed to the third magnetic track 2C and detects a magnetic field of the third magnetic track 2C.
(185) The first magnetic sensor module 200a and the second magnetic sensor module 200b are provided at fixed places that do not rotate in synchronization with the rotating body 100a.
(186) In the example illustrated in
(187) The relation between the number of the magnetic pole pairs 2A1 on the first magnetic track 2A and the number of the magnetic pole pairs 2B1 on the second magnetic track 2B is not limited to that described above. For example, the configuration may be such that the number of the magnetic pole pairs 2B1 on the second magnetic track 2B is P+1 when the number of the magnetic pole pairs 2A1 on the first magnetic track 2A is P.
(188) In the example illustrated in
(189) The relation between the number of the magnetic pole pairs 2A1 on the first magnetic track 2A and the number of the magnetic pole pairs 2C1 on the third magnetic track 2C, illustrated in
(190) The relation between the number of the magnetic pole pairs 2A1 on the first magnetic track 2A and the number of the magnetic pole pairs 2C1 on the third magnetic track 2C is not limited to that described above. For example, the configuration may be such that the number of the magnetic pole pairs 2C1 on the third magnetic track 2C is n(Q+1) when the number of the magnetic pole pairs 2A1 on the first magnetic track 2A is nQ.
(191) In this manner, reliability in the detection of the absolute angle of the rotating body 100a can be increased by adding the configuration of detecting the absolute angle in each segment obtained by dividing the entire circumference of the rotating body 100a into the n equal parts to the configuration of detecting the absolute angle in the entire circumference of the rotating body 100a.
(192) As described above, the rotation angle detection device 1a according to the fourth embodiment further includes the third magnetic track 2C having the axis center at the rotation axis X; when the number of the magnetic pole pairs 2A1 on the first magnetic track 2A is set to nQ (where n and Q are natural numbers), the number of the magnetic pole pairs 2C1 on the third magnetic track 2C is set to n(Q1) or n(Q+1); and the rotation angle detection device 1a includes the first magnetic sensor module 200a that detects the magnetic field of the first magnetic track 2A and the magnetic field of the second magnetic track 2B to detect the absolute angle in the entire circumference of the rotating body 100a and the second magnetic sensor module 200b that detects the magnetic field of the first magnetic track 2A and the magnetic field of the third magnetic track 2C to detect the absolute angle in each segment obtained by dividing the entire circumference of the rotating body 100a into the n equal parts.
(193) This configuration can increase the reliability in the detection of the absolute angle of the rotating body 100a.
(194) When the first magnetic sensor module 200a and the second magnetic sensor module 200b each have a configuration including the correction calculator 4, 4a, or 4b (the first correction calculator 4A and the second correction calculator 4B) in the same manner as in the first, second, and third embodiments, the absolute angle of the rotating body 100a can be accurately detected.
(195) The above-described configuration can improve the accuracy of position detection by the rotation angle detection device, and as a result, can contribute to an improvement in rotation control performance of various devices.
Fifth Embodiment
(196)
(197) In the present embodiment, a rotating body 100b of a rotation angle detection device 1b according to the fifth embodiment has the first magnetic track 2A, the second magnetic track 2B, and the third magnetic track 2C, in the same manner as the rotating body 100a of the rotation angle detection device 1a according to the fourth embodiment.
(198) In the present embodiment, the number of the magnetic pole pairs on the first magnetic track 2A, the number of the magnetic pole pairs on the second magnetic track 2B, and the number of the magnetic pole pairs on the third magnetic track 2C are the same as those of the fourth embodiment.
(199) In other words, in the same manner as in the fourth embodiment, the first magnetic sensor module 200a can detect the absolute angle in the entire circumference of the rotating body 100b with respect to point A serving as the origin position where the phase of the detection signal of the first magnetic sensor 3A coincides with the phase of the detection signal of the second magnetic sensor 3B (refer to
(200) In the same manner as in the fourth embodiment, the relation between the number of the magnetic pole pairs 2A1 on the first magnetic track 2A and the number of the magnetic pole pairs 2C1 on the third magnetic track 2C is generalized as follows: in the configuration in which the number of the magnetic pole pairs 2A1 on the first magnetic track 2A is nQ (where n and Q are natural numbers) while the number of the magnetic pole pairs 2C1 on the third magnetic track 2C is n(Q1), and the magnetic pole phase of the first magnetic track 2A coincides with the magnetic pole phase of the third magnetic track 2C at all points that divide the rotating body 100a in the circumferential direction thereof into n equal parts, the second magnetic sensor module 200b can detect the absolute angle in each segment obtained by dividing the entire circumference of the rotating body 100b into the n equal parts with respect to a corresponding one of the points serving as an origin position where the phase of the detection signal of the first magnetic sensor 3A coincides with the phase of the detection signal of the second magnetic sensor 3B.
(201) In the same manner as in the fourth embodiment, the relation between the number of the magnetic pole pairs 2A1 on the first magnetic track 2A and the number of the magnetic pole pairs 2C1 on the third magnetic track 2C is also not limited to that described above. For example, the configuration may be such that the number of the magnetic pole pairs 2C1 on the third magnetic track 2C is n(Q+1) when the number of the magnetic pole pairs 2A1 on the first magnetic track 2A is nQ.
(202) In the fourth embodiment, the example has been described in which the first magnetic sensor module 200a and the second magnetic sensor module 200b are provided so as to be arranged in the radial direction of the rotating body 100a (refer to
(203) In the present embodiment, as illustrated in
(204) As described above, in the rotation angle detection device 1b according to the fifth embodiment, the first magnetic sensor module 200a and the second magnetic sensor module 200b are arranged so as to be shifted from each other by the angle in the circumferential direction of the rotating body 100b. With this configuration, the width W1 in the radial direction of the first magnetic track 2A can be less than that of the fourth embodiment. This, in turn, can make the diameter of the hollow hole of the rotating body 100b greater than that of the fourth embodiment, and can provide a higher degree of freedom of designing the device to which the rotation angle detection device 1b according to the fifth embodiment is applied than in the case of the fourth embodiment.
(205) The following describes modifications of the magnetic sensor module of the rotation angle detection device. In the following description, the same components as those described above in any one of the first to third embodiments are denoted by the same reference signs, or are not denoted by any reference sign and will not be described again.
(206)
(207) Specifically, the magnetic sensor module 200 includes the first magnetic sensor 3A, the first correction calculator 4A, the first phase detector 5A, the second magnetic sensor 3B, the second correction calculator 4B, the second phase detector 5B, the phase difference detector 6, the angle calculator 7, the angle information generator 8, a processor 11, and a random access memory (RAM) 12.
(208) After a power supply is turned on, the processor 11 reads various types of information from the storage 10 and stores the various types of information thus read in the RAM 12. The various types of information is information required to operate the rotation angle detection device 1, including, for example, the calculation parameter used by the angle calculator 7, the number (P) of the magnetic pole pairs 2A1 on the first magnetic track 2A, the number (P+1) of the magnetic pole pairs 2B1 on the second magnetic track 2B, the first magnetic sensor correction information used by the first correction calculator 4A, the second magnetic sensor correction information used by the second correction calculator 4B, and the reference position of the absolute angle.
(209) The angle calculator 7 reads, for example, the calculation parameter from the RAM 12. The first correction calculator 4A reads, for example, the first magnetic sensor correction information from the RAM 12. The second correction calculator 4B reads, for example, the second magnetic sensor correction information from the RAM 12. Accordingly, the magnetic sensor module 200 has a shorter access distance from the angle calculator 7, the first correction calculator 4A, and the second correction calculator 4B, and can more quickly read and write the information.
(210) The following describes operations after the power supply has been turned on in the magnetic sensor module 200.
(211) At Step S201 after the power supply has been turned on, the processor 11 accesses the storage 10 to read the various types of information from the storage 10.
(212) At Step S202, the processor 11 stores the various types of information thus read in the RAM 12.
(213)
(214)
(215) The rotation angle detection device 1C illustrated in
(216) The rotation angle detection device 1D illustrated in
(217) The integration into one IC chip may be made in any one of the aspects illustrated in