Rotary Encoder: Quadrature Signals and M/T Speed Error (2D)
A slow-motion encoder disk with the quadrature waveforms of channels A and B, and the relative speed error of the counting and timing methods against shaft speed. The same shared model as the 3D scene.
Spin a slotted optical encoder disk and decode its two quadrature channels into position and direction, then estimate the shaft speed either by counting pulses in a fixed gate (M method) or by timing the interval between edges (T method). Change the lines per revolution, speed, gate time and timer clock to see the quantisation error of each method and the crossover speed where one overtakes the other. A Blender-built disk, motor and optical fork sensor, with numerical checks built in.
A slow-motion encoder disk with the quadrature waveforms of channels A and B, and the relative speed error of the counting and timing methods against shaft speed. The same shared model as the 3D scene.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install