Worked example
Example: Illustrative 1024 PPR x4 at 1500 rpm. The inputs, in the units selected above:
| Input | Value |
|---|---|
| Pulses per revolution | 1,024.0 - |
| Edge multiplication (1, 2 or 4) | 4.0000 - |
| Shaft speed | 1,500.0 rpm |
| Gate (counting) time | 10.000 ms |
| Timer clock for period method | 10.000 MHz |
Applying the formula below gives:
| Result | Value |
|---|---|
| Pulse (count) frequency | 102.40 kHz |
| Counts per gate | 1,024.0 |
| Resolution, frequency method | 1.4648 rpm |
| Relative resolution, period method | 1.0240 % |
| Angular resolution | 0.087891 ° |
Open this example in the calculator and change any input.
Formula
\(f = n\cdot PPR\cdot k, \quad \Delta n_f = \frac{1}{PPR\cdot k\cdot T_g}, \quad \frac{\Delta n_p}{n} = \frac{f}{f_{clk}}\)
Variables
| Symbol | Meaning | SI unit |
|---|---|---|
| \(PPR\) | Pulses per revolution | - |
| \(k\) | Edge multiplication (1, 2 or 4) | - |
| \(n\) | Shaft speed | 1/s |
| \(T_g\) | Gate (counting) time | s |
| \(f_{clk}\) | Timer clock for period method | 1/s |
| \(f\) | Pulse (count) frequency | 1/s |
| \(N_g\) | Counts per gate | - |
| \(\Delta n_f\) | Resolution, frequency method | 1/s |
| \(\Delta n_p/n\) | Relative resolution, period method | - |
| \(\Delta\theta\) | Angular resolution | rad |
Method and standards
Encoder resolution.
Where it is used
- Drive and motion control feedback.
- Conveyor and roll speed measurement.
Common mistakes
- Exceeding the input card's maximum frequency.
- Using too short a gate at low speed.
Assumptions and limits
- Ideal encoder without jitter.
References
- Incremental encoder speed measurement
- Liptak
- Instrument Engineers' Handbook
- Vol. 1 and 2 (CRC Press)
Questions and answers
Why use quadrature ×4?
Counting both edges of both channels quadruples resolution and gives direction.
Which method suits low speed?
Period timing: at low speed few pulses arrive in a gate, so frequency counting is coarse.
Method and article reviewed by FireCAD engineering on 17 November 2026. Every result is checked against an independent calculation on each release: how we verify our calculators.