Patent attributes
A photoelectric encoder is provided, which emits light from a light source to a main scale and an index scale that can relatively move with respect to each other and obtains a light-receiving signal by interaction between the main scale and the index scale. The photoelectric encoder uses as the light source an incoherent semiconductor light source (white LED) in which a full width at half maximum of an emission spectrum is wider than that of a monochromatic semiconductor light source. Thus, it is possible to reduce an effect of a gap change on an output signal of the encoder and make positional adjustment easier, thereby improving misalignment characteristics.