Encoder Resolution Calculator
Calculate encoder counts per revolution, angular resolution, and maximum frequency for quadrature and single-channel encoders.
Formula
CPR = PPR × 4 (quadrature), θ = 360°/CPR
How It Works
Worked Example
A 500 PPR quadrature encoder is used with a 20:1 gearbox. The output shaft must be positioned to within 0.1°. Step 1 — Counts per revolution at encoder shaft: CPR = 4 × PPR = 4 × 500 = 2000 counts/rev Step 2 — Angular resolution at encoder shaft: θ_enc = 360° / 2000 = 0.18°/count Step 3 — Angular resolution at gearbox output shaft: θ_out = θ_enc / gear_ratio = 0.18° / 20 = 0.009°/count Step 4 — Required resolution check: 0.009° < 0.1° requirement → the encoder is adequate with 11× margin Step 5 — Maximum pulse frequency at 3000 RPM motor speed: f_max = PPR × RPM / 60 = 500 × 3000 / 60 = 25 000 Hz = 25 kHz Result: A 500 PPR encoder with 4× quadrature decoding satisfies the 0.1° output shaft resolution requirement. Ensure the microcontroller quadrature decoder can handle 25 kHz input pulses at maximum motor speed.
Practical Tips
- ✓Place the encoder on the load side of a gearbox when absolute position accuracy matters — motor-side placement cannot detect gearbox backlash or compliance errors
- ✓Use differential line driver outputs (RS-422) rather than single-ended TTL for encoder cables longer than 0.5 m to reject common-mode noise in motor environments
- ✓Index pulse (Z channel) homing at power-up is essential for incremental encoders — without it, any power interruption loses position reference
Common Mistakes
- ✗Confusing PPR (pulses per revolution) with CPR (counts per revolution) — a 500 PPR encoder with 4× decoding gives 2000 CPR, not 500
- ✗Forgetting to account for gearbox backlash — a gearbox with 0.5° output backlash eliminates the benefit of high-resolution encoder placement on the motor shaft
- ✗Exceeding the maximum encoder input frequency of the microcontroller decoder at high speeds, causing missed counts and position error accumulation
Frequently Asked Questions
Shop Components
Affiliate links — we may earn a commission at no cost to you.
Related Calculators
Motor
DC Motor
Calculate DC motor speed, torque, power, and efficiency from electrical parameters
Motor
Servo Motor
Calculate servo motor torque, speed, efficiency, and back-EMF from electrical and load parameters.
Motor
Gear Ratio
Calculate gear ratio, output speed, torque multiplication, and power transmission efficiency for gear trains.
Motor
Stepper Motor
Calculate stepper motor speed, step frequency, and travel per revolution
Motor
BLDC Motor
Calculate brushless DC motor no-load RPM, stall torque, maximum efficiency, input power, and propeller thrust from Kv rating and electrical parameters
Motor
PWM Motor Speed
Convert PWM duty cycle to effective motor voltage, calculate no-load speed and stall current for DC motor PWM control.