主权项 |
1. A rotation angle detection device, comprising:
a first sensor which generates a first electrical signal according to a rotation angle of an object to be detected and whose shaft angle multiplier N is an integer, the shaft angle multiplier N representing that the electrical signal changes by N periods for one period of the rotation angle; a second sensor which generates a second electrical signal according to the rotation angle of the object to be detected and whose shaft angle multiplier n is an integer smaller than the shaft angle multiplier N of the first sensor; and an arithmetic unit that calculates the rotation angle from the first and second electrical signals, wherein the arithmetic unit calculates a first calculated angle from the first electrical signal, and calculates from the second electrical signal a second calculated angle that corresponds one-to-one to the rotation angle in a range of 0° to 360° that is a full rotation of the object to be detected, and when a difference between the first calculated angle multiplied by n/N and the second calculated angle reaches a set value that is set based on a product of n/N and 360°, the arithmetic unit calculates a correction angle by making offset correction of adding an offset value corresponding to the set value to the first calculated angle multiplied by n/N, and calculates the rotation angle based on the correction angle. |