Channel A read-head Channel B read-head Index (Z) read-head
A / B quadrature waveforms90° phase offset
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.

Quadrature Rotary Encoder

Every closed-loop robot joint needs to know exactly where it is and how fast it's moving, and the workhorse sensor for that job is the quadrature rotary encoder: a slotted disc spinning past two optical read-heads set a quarter slot-period apart. This simulator drives a real 3D encoder disc from a motor-speed slider, decodes the resulting A/B square waves into a pulse count using selectable ×1/×2/×4 quadrature decoding, and derives both a decoded shaft angle and a sampled-window velocity estimate exactly the way a real servo drive would. A sensor-noise slider lets you drop real edges to see position drift accumulate in real time — and why industrial drives re-home against a once-per-revolution index pulse rather than trusting pulse counts forever.