How do optical encoders work in measuring rotational position?
Optical encoders work by emitting a light beam through a rotating disk with transparent and opaque segments. The light is detected by a photodiode array, which generates a digital signal corresponding to the rotation. This allows for precise measurement of the angular position and speed of a rotating shaft.