Patent ID: 8354840

Claim:
A magnetic detection device, comprising: a signal processing circuit having, magneto-electric transducer elements that detect field intensity, comparing circuits that have thresholds and output rectangular wave signals by comparing the thresholds with output signals of the magneto-electric transducer elements, and signal processing portions that output a sensor output signal by detecting a moving position and a moving direction of a magnetic mobile object that gives a change to a magnetic field to be applied to the magneto-electric transducer elements using the output signals of the comparing circuits, wherein: an output of the signal processing circuit is a position signal undergoing one of switching from a high level to a low level and switching from the low level to the high level and the switching corresponds to a position of the magnetic mobile object; a duration during which the position signal is in one of the high level and the low level corresponds to the moving direction of the magnetic mobile object; the duration during which the position signal is in one of the high level and the low level is fixed to one of a period t 1 and a period t 2 depending on the moving direction of the magnetic mobile object; and in a case where the switching of the moving direction of the magnetic mobile object takes place within a time of one of the period t 1 and the period t 2 , the signal processing circuit outputs a position signal same as a position signal indicating the position of the magnetic mobile object immediately before the switching of the moving direction of the magnetic mobile object due to hysteresis of the threshold of the comparing circuit, so that no displacement occurs between the position of the magnetic mobile object and the position signal of the signal processing circuit caused by the switching, of the moving direction of the magnetic mobile object.