Incremental encoders live on three pulse trains: A and B at 90 electrical degrees apart for direction, and Z, one narrow pulse per revolution, for the homing datum. Know their roles, the quadrature counting and the output standards.
The encoder emits square waves A and B, offset by 90 electrical degrees: forward rotation puts A ahead of B, reverse puts B ahead, and the controller reads direction from that lead-lag. The Z phase, also called C or Index, delivers one narrow pulse per revolution as the homing reference - catching Z fixes the mechanical zero, usually combined with a limit switch for coarse plus fine homing. Common line counts run 100, 360, 500, 1000, 1024, 2000 and 2500 pulses per revolution, chosen from the required resolution against the controller counting rate.
Quadrature counting exploits the 90-degree offset: the controller counts each edge of A and B, four counts per line, so a 1000-line unit yields 4000 counts per revolution, and servo drives can interpolate further. Resolution per count equals 360 degrees divided by lines times quadrature - 1024 lines at 4x gives 0.0879 degrees per count; spec the line count with 30 percent margin for backlash and drift. Output standards: open-collector NPN for short runs under 10m, voltage output for simple hookups, push-pull HTL for 10~30V noise immunity into PLC high-speed inputs, and differential RS-422 with six wires for up to 100m - the servo standard. On the scope, A leads B by a quarter cycle forward, duty cycle 50 percent plus or minus 10, and the Z pulse must exceed 0.1 of an A period or the controller may miss it.
| Signal | Function | Waveform trait |
|---|---|---|
| Phase A | Counting and direction | Square wave, 50% duty, lines per rev |
| Phase B | Direction and quadrature | 90 electrical degrees from A |
| Phase Z | One pulse per revolution | Width above 0.1 of an A period |
| 4x quadrature | Fourfold resolution | 1024 lines become 4096 counts per rev |
| NPN open collector | Economy output | Under 10m, needs pull-up resistor |
| Differential RS-422 | Servo and long runs | Six wires, noise-proof to 100m |
The heart of incremental encoders is phase order: A leading B means forward, and a swapped pair means reversed counting. Commission a new axis in three steps that cannot be skipped - hand-rotate slowly to confirm the count direction, home, then speed up.
The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Digital interfaces and control circuits per GB/T 5226.1 (IEC 60204-1); differential signalling per the IEC 61158 series electrical profiles. 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.