Skip to content
University of California, Davis Mechanical and Aerospace Engineering
ARMS Laboratory
EME154 · Calculator

Where should the methods cross?

Change the measurement conditions. Compare quantization error and inspect every calculation.

Given conditions

Predicted quantization error

— Pulse counting— Pulse durationShading: both meet target · dotted: target · dashed: saved curves

Pulse counting

Pulse duration

Calculate the crossover

Try these settings in the Encoder & Speed Lab →
What these curves mean

The curves use approximate one-count and one-timer-tick uncertainty: εcount ≈ 1/q and εduration ≈ 1/i. They are quantization guides, not actual errors for every measurement, statistical confidence intervals, or total accuracy guarantees. Both methods use the same decoded edge spacing. The graph uses logarithmic axes.

Absolute counting uncertainty is 60/(p Ts) RPM. Duration uncertainty is approximately p n²/(60 fd) RPM; the approximation becomes poor when few timer ticks separate edges. At zero speed relative error is undefined and no new period measurement arrives. Timer overflow, counter aliasing, and update delay are separate limits. A crossing outside valid operating limits is a mathematical crossover, not a usable switching speed.