摘要 |
A photoelectric encoder includes a light-emitting element (11), a scale (12), a lens (13), a PDA (14), and a signal processing circuit (20). The signal processing circuit (20) includes a distortion table (21), a distortion compensation circuit (22), and a position analyzing circuit (23). The distortion table (21) is calculated in advance on the basis of pieces of distortion information that were obtained by a distortion simulation using design values of the optical system such as the lens. The distortion compensation circuit (22) corrects a light/dark signal of the PDA by eliminating distortion caused by the optical system by changing the positions of the respective PDs of the PDA virtually on the basis of the distortion table and the pieces of position information of the respective PDs. The position analyzing circuit (23) analyzes a position of the scale on the basis of the corrected light/dark signal. |