Convert encoder PPR to RPM: enter the pulse frequency in pulses per second and the encoder’s pulses per revolution, or solve for frequency or PPR.

Cycles per encoder revolution before decoding. Datasheet PPR/CPR terminology varies.

Decoding, gearing and rate limit
Channel cycles/s are Hz; decoded counts/s include the selected multiplier. Match the instrument and limit.

1 means the same shaft. A reduction to one output revolution per 12 encoder revolutions is 1/12 (0.0833333…).

Blank omits the capacity check. Use the same channel-cycle or decoded-count basis selected above.

Calculator Functions

FunctionWhat it doesWhat it requires
RPM from pulse frequencyFinds shaft speed from a measured pulse or count rateRequires the pulse frequency in pulses/s or kHz and the encoder PPR
Pulse frequency from RPMFinds the pulse or count rate an encoder produces at a given speedRequires the output shaft speed in RPM and the encoder PPR
PPR from RPM and pulse frequencyFinds the encoder resolution that a speed and a pulse rate implyRequires the pulse frequency and the output shaft speed in RPM
RPM from pulses counted over timeFinds shaft speed from a pulse count taken over a timed intervalRequires the recorded pulses or counts, the counting interval in seconds and the encoder PPR

Every function has the same optional settings: the rate and count basis (decoded counts or single-channel cycles), quadrature decoding of ×1, ×2 or ×4, the output revolutions per encoder revolution for a gearbox or belt, and a maximum rate to check against. Each result also lists the encoder shaft speed, the channel frequency in Hz, the decoded count rate, the decoded resolution in counts per revolution, the angle per decoded count and the time per pulse.

PPR to RPM Formulas

RPM = f × 60 × G ÷
(PPR × D) [1]
RPMSpeed of the output shaft (revolutions per minute)
fMeasured rate (pulses or counts per second)
PPREncoder cycles per revolution on one channel, before decoding
DDecoding multiplier. 1 for a single-channel frequency, or ×1, ×2 or ×4 when the rate is in decoded counts [2]
GOutput shaft revolutions per encoder revolution. 1 when the encoder sits on the shaft being measured

With the settings left alone, D and G are both 1 and the formula is RPM = f × 60 ÷ PPR. At 1,000 PPR, each pulse per second is 0.06 RPM. An encoder gives PPR pulses on one channel per turn, and a quadrature decoder that counts every edge of both channels reports four counts per pulse [2]. The multiplier only enters the formula when the rate and count basis is decoded counts. With single-channel cycles selected, D is 1 whatever decoding is chosen.

RPM from pulse frequency

1,000 pulses per second from a 1,000 PPR encoder is 1,000 × 60 ÷ 1,000 = 60 RPM. Read as ×4 decoded counts, the same shaft gives 4,000 counts per second, and 4,000 × 60 ÷ (1,000 × 4) is still 60 RPM. With gearing, 4 pulses per second at 50 PPR is 4.8 RPM at the encoder. If the output shaft turns 12 times per encoder revolution, G = 12 and the output speed is 57.6 RPM.

Pulse frequency from RPM

f = RPM × PPR × D ÷
(60 × G)

A 1,024 PPR encoder at 1,500 RPM produces 1,500 × 1,024 ÷ 60 = 25,600 pulses per second, or 25.6 kHz. The answer can be shown per second or in thousands per second.

PPR from RPM and pulse frequency

PPR = f × 60 × G ÷
(RPM × D) [1]

This is the resolution at which an encoder reaches a given pulse rate at a given speed. A 125 kHz rate at 1,000 RPM gives 125,000 × 60 ÷ 1,000 = 7,500 PPR [1]. The answer can be fractional, so the nearest resolution an encoder is actually sold in is the one to use. Speed and rate must both be greater than zero.

RPM from pulses counted over time

f = N ÷ t

N is the number of pulses or counts recorded and t is the counting interval in seconds. The rate then goes into the main formula. 500 pulses counted in 2 seconds is 250 pulses per second, and at 100 PPR that is 150 RPM. The count and the PPR must be on the same basis.

Maximum rate check

RPMmax = L × 60 × G ÷
(PPR × D)

L is the entered maximum rate per second. The calculator reports the measured rate as a percentage of L, the rate left over and the shaft speed at which the limit is reached. A 125 kHz limit at 1,000 PPR is reached at 7,500 RPM. The limit must be on the same basis as the rate: a channel frequency rating in Hz cannot be compared with a ×2 or ×4 decoded count rate.

Limits of This Estimate

  • PPR here means cycles per revolution on one channel. Some manufacturers use PPR, CPR and resolution for different things, including decoded counts, so the datasheet waveform is the check [2].
  • A count of zero gives 0 RPM, but it does not prove the shaft was still. At low speed only a few pulses arrive in each interval, so a short interval gives a coarse reading.
  • The maximum rate check is arithmetic on the entered limit. It does not assess whether a speed is mechanically or electrically safe for the encoder.

Sources

  1. Dynapar, How to Calculate Encoder Resolution: the relation between pulse frequency, RPM and PPR, the 125 kHz example and 4X decoding
  2. Same Sky (formerly CUI Devices), What’s the Difference Between an Incremental Encoder’s PPR, CPR, and LPR?: PPR as pulses on one channel, four decoded counts per pulse, and how the terms vary between manufacturers