Single-Ended vs. Differential Optical Encoders Tutorial