An optical encoder that includes an optical grating and a quadrature
optical encoder sensor that move relative to each other. The optical
grating includes a first encoder bar and a plurality of second encoder
bars, wherein the first encoder bar is optically configured to change an
amplitude of an output of the quadrature optical encoder sensor.