The present application is based on and claims priority from Japanese Patent Applications 2005-305953, filed Oct. 20, 2005 and 2006-72136, filed Mar. 16, 2006, the contents of which are incorporated herein by reference.
1. Field of the Invention
The present invention relates to a device for detecting a rotation angle of a rotating object.
2. Description of the Related Art
A rotation angle detecting device for detecting a rotation angle of a rotating object is well-known. For example, such a rotation angle detecting device is installed into an ignition device of an internal combustion engine to detect the rotation angle of an engine crank shaft. However, the internal combustion engine may fail if the rotation angle detecting device fails.
In order to prevent the above problem, JP-A-2002-104211 proposes to provide a rotation angle detecting device with an abnormality detecting function to be used for a motor-driven power steering system. This rotation angle detecting device includes a motor-rotation-angle sensor of a steering-shaft-driving motor and a steering-angle sensor of a steering shaft, so that the abnormality can be detected by comparing the motor-rotation-angle with the steering-angle. That is, in order to prevent the above-stated problem, the rotation angle detecting device disclosed in JP-A-2002-104211 necessitates a motor-rotation-angle sensor in addition to the steering-angle sensor.
Therefore, an object of the invention is to provide a rotation angle detecting device that does not necessitate the motor-rotation-angle sensor.
According to a feature of the invention, a rotation angle detecting device for detecting a rotation angle of a rotating object includes magnetic field generating means for providing magnetic field, sensing means for providing output signals that are 90 degrees in phase different from each other, a judgment level calculating means for providing a judgment level based on the output signals, the judgment level is within a prescribed range when the output signals are normal and out of the prescribed range when one of the output signals is not normal, and judging means for judging the judgment level normal or not normal.
Accordingly, an abnormality can be detected by calculation based on the output signals of the hall elements without providing additional detecting element.
In the above rotation angle detecting device the magnetic sensors are preferably disposed to have 90 degrees in angle to each other.
On the other hand, the magnetic sensors may be disposed to have an angle other than 90 degrees between them. In this case, the sensing means further includes converting means for converting sensor signals to the output signals that are 90 degrees in phase different from each other.
The output signals may be sinusoidal signals V1, V2 that are respectively proportional to sine θ and cos θ, wherein θ is a rotation angle, and the judgment level D1 is calculated from the following expression: D1=V12+V22. On the other hand, the judgment level may be calculated by adding differentiated or integrated values of the sinusoidal signals so as to become zero when the output signals are normal and not zero when one of the output signals is not normal. For example, the judgment level is calculated by the following expression: dV1/dθ+V2.
The plurality of magnetic sensors may be comprised of a plurality of pairs of magnetic sensors. In this case, the judging means judges the judgment level of each pair of the magnetic sensors normal or not normal, and the sensing means outputs the pair of output signals that are judged to be normal.
Other objects, features and characteristics of the present invention as well as the functions of related parts of the present invention will become clear from a study of the following detailed description, the appended claims and the drawings. In the drawings:
Various embodiments of the present invention will be described with reference to the appended drawings.
A rotation angle detecting device 1 according to the first embodiment of the invention will be described with reference to
As shown in
The hall element 30 and the other hole element 31 are fixed to the support member 50 along the rotation direction of the rotating object to have an angle of 90 degrees between them. In other words, they are disposed to be perpendicular to each other to form an L-shape. When the rotating object rotates, the hall elements 30 and 31 rotates relative to the yoke 20 and the permanent magnets 22, 24. Accordingly, the hall element 30 and the another hall element 31 generate sinusoidal electric signals that are 90 degrees in phase different from each other.
Incidentally, the hall elements 30, 31 can be operated by a constant current source or a constant voltage source. The hall elements 30, 31 can be replaced by other magnetic sensors, such as magneto-resistance elements.
The ECU 90 includes a nonvolatile memory such as a flash memory that stores a rotation angle detection program, a volatile memory that temporarily stores the rotation angle detection program and various data and a CPU that executes the rotation angle detection program.
When the rotating objects rotates, the hall elements 30, 31 respectively generate sinusoidal output signals V1, V2, which are 90 degrees in phase different from each other, as shown in
Assuming that: the rotation angle is θ; a coefficient that relates to the sensitivity of the magnetic sensor is k; the magnetic flux density of the composite magnetic field is B; and an amount of current supplied to the hole elements is I, the output signals V1, V2 and the rotation angle θ can be expressed as follows.
V1=kBI sin θ (1)
V2=kBI sin(θ−90)=−kBI cos θ (2)
The ECU 90 executes the rotation angle detection program to detect the rotation angle of the rotating object based on the output signals V1, V2. The rotation angle detection program is executed whenever the rotation angle detecting device is operated.
At first, tan θ is calculated, and then an arithmetic angle θ is calculated as follows.
−V1/V2=sin θ/cos θ=tan θ (3)
θ=arc tan(V1/V2) (4)
As shown in
However, if any of the hall elements 30, 31 fails or is disconnected from the ECU 90, the rotation angle detecting device 1 outputs an abnormal voltage signal. A CPU of the ECU 90 executes an abnormality detecting module that is included in the rotation angle detection program.
The abnormality detection by the ECU 90 is shown in
D1=V12+V22=T1(sin2 θ+cos2 θ) (5)
T1=k2B2I2 (6)
If the output signals of the hall elements 30, 31 are normal, T1 is constant as shown in
Subsequently, whether the judgment level D1 is larger than T1−t1 and smaller than T1+t1 or not is examined at S102. Incidentally, the judgment level is stored in a flash memory of the ECU 90. If the judgment level D1 is not between T1−t1 and T1+t1, or the result of the examination is NO, the ECU 90 takes a countermeasure, such as displaying of an abnormality, at S104.
Thus, abnormality can be detected by calculation based on the output signals of the hall elements without providing additional detecting element.
A rotation angle detecting device 1 according to the second embodiment of the invention will be described with reference to
The abnormality detection by the ECU 90 is shown in
D2=dV1/dθ+V2=kBI(cos θ−cos θ)=0 (7)
If the output signals of the hall elements 30, 31 are normal, D2 is zero as shown in
Subsequently, whether the judgment level D2 is larger than −t1 and smaller than th or not is examined at S202. If the judgment level D2 is not between −t1 and th, or the result of the examination is NO, the ECU 90 takes a countermeasure, such as displaying of an abnormality, at S204.
Thus, abnormality can be detected at a high accuracy.
A rotation angle detecting device 1 according to the third embodiment of the invention will be described with reference to
The rotation angle detecting device 1 according to the third embodiment of the invention includes a cylindrical magnetic yoke 20, a pair of arc-shaped permanent magnets 22, 24, a magnetic sensor unit composed of a pair of hall elements 30, 31, a support member 50 and an ECU 90.
The hall element 30 and the other hole element 31 are fixed to the support member 50 along the rotation direction of the rotating object to have an angle other than 90 degrees between them.
Assuming that the angles of the hall elements 30, 31 relative to the direction X are respectively θ1 and θ2, the sensor signals Vs1, Vs2 and the rotation angle θ can be expressed as follows.
Vs1=kBI sin(θ+θ1) (8)
Vs2=kBI sin(θ+θ2) (9)
These sensor signals Vs1, Vs2 are converted into the following output signals V1, V2 that are 90 degrees in phase different from each other.
V1=Vs1·sin θ2−V2·sin θ1 (10)
V2=Vs2·cos θ2−V2·cos θ1 (11)
Thus, the output signals V1, V2 have a sine-cosine relationship, as shown in
Accordingly, the ECU 90 can calculate the judgment level D1 or D2 in the same manner as the first or the second embodiment.
A rotation angle detecting device 1 according to the fourth embodiment of the invention will be described with reference to
The rotation angle detecting device 1 according to the fourth embodiment of the invention includes a magnetic sensor unit composed of three hall elements 430, 431, 432 instead of a pair of hall elements 30, 31 of the third embodiment. Other components are the same as the third embodiment.
The hall element 430 has an angle of θ1 (e.g. 0 degree) relative to the direction X, the hall element 431 has an angle of θ2 (e.g. 40 degrees) relative to the direction X, and the hall element 432 has an angle of θ3 (e.g. 60 degrees) relative to the direction X, as shown in
As shown in
These sensor signals Vs1, Vs2, Vs3 are converted into the following output signals V11, V12, V21, V22, V31, V32, as shown in
V11=k(Vs1·sin θ2−Vs2·sin θ1) (12)
V12=k(Vs1·cos θ2−Vs2·cos θ1) (13)
V21=1(Vs2·sin θ3−Vs3·sin θ2) (14)
V22=1(Vs2·cos θ3−Vs3·cos θ2) (15)
V31=m(Vs3·sin θ1−Vs1·sin θ3) (16)
V32=m(Vs3·cos θ1−Vs1·cos θ3) (17)
In the above expressions, k, l, and m are coefficients to adjust the amplitude of the output signals V11, V12, V21, V22, V31 and V32.
The ECU 90 calculate the judgment levels D31, D32 and D33 by the following expressions at S402.
D31=V112+V122 (18)
D32=V212+V222 (19)
D33=V312+V322 (20)
Subsequently, whether the judgment levels D31, D32, D33 are larger than T3−t1 and smaller than T3+t1 or not is examined at S404.
If the signals of the hall elements 430, 431, 432 are normal, the judgment level (e.g. D33) is a constant T3 as shown in
Thereafter, at S406, the ECU 90 calculates a candidate output angle C1 based on the output signals V11 and V12, a candidate output angle C2 based on the output signals V21 and V22 and a candidate output angle C3 based on the output signals V31 and V32, in the same manner as the first embodiment as to calculating an output angle.
Then, a normal pair is selected in a manner as shown in
With this embodiment, a correct output angle can be obtained even if one hall element fails.
Three hall elements can be disposed perpendicular to each other. In this case, it is not necessary to convert the sensor signals Vs1, Vs2, Vs3 into the output signals.
A rotation angle detecting device 1 according to the fifth embodiment of the invention will be described with reference to
The rotation angle detecting device 1 according to the fifth embodiment of the invention is substantially the same as the fourth embodiment except for the process of rotation angle detecting operation.
The sensor signals Vs1, Vs2, Vs3 are provided and converted into output signals at S500. The ECU 90 calculate the judgment levels at S502, which is compared with a constant to detect abnormality at S504. Thereafter, the ECU 90 calculates output angles based on the output signals, in the same manner as the fourth embodiment, so that a normal pair is selected from the pairs at S506, and an output angle that corresponds to a normal pair is provided as a normal output angle at S508.
In the foregoing description of the present invention, the invention has been disclosed with reference to specific embodiments thereof. It will, however, be evident that various modifications and changes may be made to the specific embodiments of the present invention without departing from the scope of the invention as set forth in the appended claims. Accordingly, the description of the present invention is to be regarded in an illustrative, rather than a restrictive, sense.
Number | Date | Country | Kind |
---|---|---|---|
2005-305953 | Oct 2005 | JP | national |
2006-072136 | Mar 2006 | JP | national |
Number | Date | Country |
---|---|---|
2002-104211 | Apr 2002 | JP |
2003-75108 | Mar 2003 | JP |