| CPC G01R 33/09 (2013.01) [G01R 33/0023 (2013.01)] | 17 Claims |

|
1. A magnetic sensor comprising:
a magnetic detection circuit including a magnetoresistive effect element having a predetermined sensitivity axis, the magnetic detection circuit being configured to output a signal by applying a magnetic field; and
a signal correction circuit configured to
receive the signal output from the magnetic detection circuit,
produce a correction value reducing a distortion error included in the signal output from the magnetic detection circuit, the distortion error being caused by the magnetic field having an intersecting direction being different from the sensitivity axis and obliquely intersecting the predetermined sensitivity axis of the magnetoresistive effect element, the correction value being computed based on the signal output when the magnetic field of the intersecting direction having a specific value is applied, and
generate a corrected signal by applying the correction value to the signal output from the magnetic detection circuit.
|