摘要 |
A magnetic encoder includes a magnetic field generating member (11) having different magnetic poles magnetized alternately in a moving direction, multiple magnetic sensors (12) arranged spaced apart from one another in a direction parallel to the moving direction such that the magnetic sensors are not in contact with the magnetic field generating member, and multiple channels (20, 21) provided for each magnetic sensor, each channel including a magnetic detection element (18, 19) having an electrical characteristic varying depending on an external magnetic field from the magnetic field generating member. The single magnetic field generating member enables a phase signal to be generated from each of the magnetic sensors, the phase signals being out of phase, and enables a high resolution signal to be generated based on outputs of the channels such that the high resolution signal includes multiple pulses within a wavelength of each phase signal. |