主权项 |
1. A rotation angle detecting device comprising:
a rotating body adapted to rotate according to a rotation of a vehicle component; a magnet attached to the rotating body; first and second magnetism detection elements disposed facing the magnet at a predetermined interval from the magnet; and a first control circuit connected to the first and second magnetism detection elements, a second control circuit configured to receive the first and second detection signals as an input; and a switching circuit connected to the first control circuit and the second control circuit, wherein a center of the magnet is disposed at a rotation center of the rotating body, wherein the first and second magnetism detection elements detect magnetism of the magnet and output first and second detection signals, respectively, and wherein the first control circuit receives the first and second detection signals as an input, calculates at least one of first and second computing signals the first computing signal being obtained by adding the first and second detection signals and the second computing signal being obtained by subtracting one of the first and second detection signals from the other thereof, and outputs an angle signal corresponding to a rotation angle of the rotating body according to at least one of the first and second computing signals, wherein the second control circuit divides the first detection signal by the second detection signal so as to calculate a third computing signal, divides the second detection signal by the first detection signal so as to calculate a fourth computing signal, and then converts the third and fourth computing signals to an inverse function to calculate first and second conversion signals and determines the rotation angle of the rotating body based on the first and second conversion signals and polarity and magnitude correlation between the first and second detection signals, and wherein the switching circuit switches between operation by the first control circuit and operation by the second control circuit according to a value of voltage input into the switching circuit. |