摘要 |
An optical rotary encoder includes a light source, a rotation body including a reflecting diffraction grating, a light receiving unit including a plurality of light receiving elements, a synthetic unit that combines output signals output from the plurality of light receiving elements to obtain a signal, which represents a fringe pattern component at a certain cycle, included in a light reflected by the reflecting diffraction grating and, and a detection unit that detects a direction based on a first signal and a second signal, the direction being a direction in which a distance between the rotation body and the light receiving unit varies, the first signal and the second signal being obtained by the synthetic unit, the first signal indicating a fringe pattern component having a cycle shorter than the certain cycle, the second signal indicating a fringe pattern component having a cycle longer than the certain cycle. |