SensorCatalog

Rotary encoder calculator

Pulse frequency, 4× quadrature count rate, angular and linear resolution from PPR and RPM.

A 2500 PPR encoder at 1500 RPM outputs 62.50 kHz per channel; 4× quadrature decoding yields 250.00 kHz and 0.0360° per count.

Encoder and mechanics

Result

62.50kHz

Channel A: 62.50 kHz · Decoded: 250.00 kHz (0.0360°/cnt)

Quadrature count rate
250.00 kHz4× (10000 CPR)
Angular resolution
0.0360 °2.16 arcmin/cnt
Linear surface speed
3.927 m/sD = 50.0 mm
Linear resolution
15.71 µmper decoded count

Schematic

2500 PPRCH ACH B (90°)62.50 kHz · 4× = 250.00 kHz
Formulas and standards
f_pulse = PPR · RPM / 60   f_quad = f_pulse · Q   Δθ = 360° / (PPR · Q)

Each channel outputs f_pulse = PPR · RPM / 60 Hz. 4× quadrature decoding counts rising and falling edges on both A and B channels, quadrupling resolution and counter frequency.

Verify that your PLC HSC or MCU timer input bandwidth exceeds the decoded quadrature frequency with ≥ 2× margin, and use RS-422 differential line drivers above 50 kHz.

Rotary encoder frequency and resolution

An incremental rotary encoder outputs PPR (pulses per revolution) on channels A and B shifted by 90°. At shaft speed RPM:

  • f_pulse = PPR · RPM / 60 Hz
  • f_quad = f_pulse · Q (Q = 1, 2 or 4)
  • Δθ = 360° / (PPR · Q)

Worked example

For a 2500 PPR encoder running at 1500 RPM with 4× quadrature decoding on a 50 mm wheel:

  • Channel A frequency = 2500 × 1500 / 60 = 62.50 kHz
  • 4× decoded count rate = 250.00 kHz (10 000 counts/rev)
  • Angular resolution = 0.0360° (2.16 arcmin) per count
  • Linear surface speed = π × 0.05 m × 25 rev/s = 3.927 m/s (15.71 µm/count)

Frequently asked questions

What is the difference between PPR and CPR?

PPR (pulses per revolution) counts full cycles on a single channel (A). CPR (counts per revolution) after 4× quadrature decoding equals 4 × PPR because both rising and falling edges of A and B are counted.

When should I switch from open-collector/HTL to RS-422 differential?

Above ~50 kHz or cable runs longer than 10–15 m near VFD motor drives, use an RS-422 differential line driver with 120 Ω receiver termination — see the RS-422 encoder circuit.

How fast does my PLC high-speed counter need to be?

Size the PLC HSC or MCU timer bandwidth to at least 2× the 4× decoded quadrature frequency so edge jitter and duty-cycle asymmetry never drop counts.

↑ ↓ choose · Enter open · Esc close