How accurately can a 1024 PPR encoder with quadrature really measure speed? This page works through PPR, quadruple counting, the conversion formulas and error budgets, with the programming pitfalls that corrupt readings.
PPR counts complete cycles per turn of one channel, so a 1024 PPR encoder gives 1024 cycles on channel A. Because A and B sit 90 degrees apart, a counter can register four events per cycle: 4 × 1024 = 4096 counts per turn. Speed then follows n = C × 60 / (4 × PPR × t); with 683 counts in a 10 ms window the speed is 683/4096 × 6000 ≈ 1000.5 r/min.
Quantisation error comes from the single-count ambiguity: 683 counts in 10 ms carries about 0.15 percent error, but a 1 ms window drops the count to 68 and the error balloons to 1.5 percent. At low speeds the T method wins: timing the interval between edges with a 1 MHz clock gives about 0.02 percent error at 1000 r/min, and the combined M/T method covers the whole range. Watch counter overflow, since 4096 counts per turn overflows 32 bits in minutes at high speed, so compute differences instead.
Calibrate against a known speed once per installation; deviations beyond 0.5 percent point to wrong PPR or quadrature settings. Classic faults include reading PPR as counts per turn, which understates speed by four times; slipping couplings that keep readings steady while the shaft speed differs; and noise-induced count jumps from poor cable shielding. Scope the A and B lines and accept nothing but clean edges.
| Parameter | Example value | Relation | Error impact |
|---|---|---|---|
| Encoder PPR | 1024 | 4096 counts per turn after 4x | Wrong setting off by 4x |
| Sampling window | 10 ms | 683 counts at 1000 r/min | Short windows inflate error |
| Quantisation | ±1 count | Grows in share at low speed | M-method weakness |
| T-method clock | 1 MHz | Times the pulse period | 0.02 percent class at low speed |
| Maximum speed | 6000 r/min | 409.6 kHz pulse rate | Counts drop beyond it |
| Coupling slip | Found by comparison | Reading detaches from shaft | Mechanical check |
Standardise on the M/T method with automatic switchover at low speed, calibrate every encoder against a known speed on commissioning, and log PPR, quadrature mode and coupling type against the asset. Pulse cables belong in twisted shielded pairs in their own metal conduit.
The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: See the GB/T 2900 series for encoder terminology and IEC 61162 related definitions, with GB/T 5226.1 for control safety. Always check the device datasheet and the product design file for ratings and derating.
Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.