摘要 |
PROBLEM TO BE SOLVED: To reduce a detection angle error in a magnetic sensor for detecting an angle formed by a direction of an external magnetic field to a reference direction. SOLUTION: The magnetic sensor 1 includes: a first detection unit 10 for calculating a first detection angle, namely a detection value of a first angle formed by a direction of an external magnetic field at a first position to a first direction; and a second detection unit 20 for calculating a second detection angle, namely a detection value of a second angle formed by a direction of an external magnetic field at a second position to a second direction. The first detection angle includes a first angle error, and the second detection angle includes a second angle error. A phase of the first detection angle differs from that of the second detection angle by an odd multiple of half the error period. COPYRIGHT: (C)2011,JPO&INPIT |