Patent ID: 6812694
Filing Date: 2004-11-02
Classification: G01D

Abstract:
A method for adjusting a magnetic sensor including:a magnet for generating a magnetic field; a sensing target unit in which a first sensed portion and a second sensed portion are magnetically inequivalent to each other, are disposed along a moving path passing through a position opposed to said magnet through a magnetic gap and can be moved integrally along said moving path; a magnetic field detecting section for detecting magnetic field fluctuations in said magnetic gap based on the fact that said first sensed portions and said second sensed portions pass through said magnetic gap alternately; a waveform processing section for binarizing detection waveform detected by said magnetic field detecting section based on a predetermined threshold; and a threshold adjusting and setting section for setting said threshold so that it can be adjusted relatively with respect to said detection waveforms, the method comprising the steps of: obtaining detection waveforms for a plurality of setting values by said magnetic field detecting sections while changing sensing gap lengths, which are formed between said first sensed portion or said second sensed portion and said magnetic field detecting section in said magnetic gap, among said plurality of setting values; calculating an intersection point level value indicated by an intersection point between a plurality of detection waveforms detected for said plurality of setting values when said plurality of detection waveforms are superimposed in phase; and adjusting said threshold so that it agrees with said intersection point level value.