Patent ID: 8502529

Claim:
A magnetic sensor device for generating a logic output according to a magnetic field intensity, comprising: a magnetoelectric conversion element to which the magnetic field intensity is applied; a comparator for comparing amplified output signals input thereto from the magnetoelectric conversion element, and outputting a comparison result; a first D-type flip-flop and a second D-type flip-flop each including an input terminal connected to an output terminal of the comparator; an XOR circuit including input terminals connected to an output terminal of the first D-type flip-flop and an output terminal of the second D-type flip-flop; a third D-type flip-flop; and a selector circuit including a first input terminal connected to the output terminal of the second D-type flip-flop, a second input terminal connected to an output terminal of the third D-type flip-flop, and a select terminal responsive to an output of the XOR circuit to selectively output, to the third D-type flip-flop, an input signal from the second D-type flip-flop and an input signal from the third D-type flip-flop.