Skip to main content

Encoder: types, resolution, and selection notes

Updated 2026-10-09IntermediateControl methods

Key takeaways

  • Incremental encoders output A/B/Z pulses and lose position on power-off, requiring homing; absolute encoders retain position without power
  • Resolution is not accuracy: graduation error, mounting eccentricity, and transmission backlash also determine real accuracy
  • Pulse equivalent = screw lead ÷ (pulses per revolution × gear ratio), a basic parameter of any positioning system
  • Signal type and shielded wiring determine noise immunity; power and feedback cables must be separated

import DisplayFormula from '@/components/content/DisplayFormula.astro';

The first step in closed-loop control is "knowing where you are now." An encoder converts rotational position into an electrical signal, providing feedback for servo systems, closed-loop steppers, and vector control; resolution, accuracy, and signal type set the lower bound of system capability. It is far from enough to look only at the "line count" when selecting one.

Why it matters

The difference between command and feedback is the controller's input: feedback quality directly determines positioning accuracy, low-speed smoothness, and disturbance rejection. Choose an encoder that is too coarse and no servo, however expensive, will reach the required accuracy; choose one that is too fine and you may waste signal frequency and cost for nothing. In a servo motor system it is a component as important as the motor itself.

Core concepts and formulas

Incremental and absolute. The behavioral differences between the two encoder families shape the system design:

ItemIncrementalAbsolute
OutputA/B quadrature pulses + Z index signalEncoded digital position (single-turn/multi-turn)
After power-offPosition lost, homing requiredPosition retained (multi-turn needs battery/mechanical counting)
InterfaceDifferential, push-pull, open collectorSSI, BiSS, and various bus protocols
CostLowHigh
Typical applicationsSpeed feedback, axes where homing is acceptablePosition retention after power-off, multi-axis synchronization, robot joints

Resolution is not accuracy. The line count (pulses per revolution) becomes the counting resolution after quadrature decoding at 4× frequency multiplication; accuracy additionally depends on graduation error, mounting eccentricity, coupling backlash, and mechanical rigidity. A high-bit-count encoder mounted on an eccentric shaft may deliver lower real accuracy than a well-installed incremental encoder — work out the "accuracy requirement" first, then set the resolution.

Pulse equivalent. The smallest command displacement of a positioning system is determined by the encoder, the mechanics, and the gear ratio together:

Plain-text equivalent: Pulse equivalent = lead screw lead L ÷ (pulses per revolution N × gear ratio i)

Numeric example: with a 5 mm lead screw, a 2500-line encoder with 4× quadrature decoding (10000 counts/rev), and a gear ratio of 1, the pulse equivalent = 5 ÷ 10000 = 0.0005 mm, that is, 0.5 µm. For the full conversion between pulses and displacement, use the stepper motor microstepping and pulse calculation.

Common misconceptions

  1. The higher the resolution, the better: higher resolution means higher signal frequency and more expensive interfaces, and it does not solve mechanical errors; choose what is sufficient for the requirement.
  2. Incremental and absolute encoders can be swapped directly: wiring, protocols, drive parameters, and homing logic all differ; changing type is a system-level modification.
  3. Any cable will do for an encoder: shielded twisted pairs and correct grounding as the manual requires are mandatory; routing in parallel with power lines introduces interference that shows up as random alarms and lost pulses — for noise sources on the power side, see PWM control: principles and motor speed regulation.
  4. The coupling can be fitted any way: rigid direct connection or eccentric mounting damages the encoder shaft and bearings; use a flexible coupling and control coaxiality.

Engineering guidance

  1. Choose the type first, then the specification: if homing is unacceptable, choose absolute; for speed feedback and general positioning, use incremental; for the matching torque and inertia checks, use the servo sizing calculation.
  2. Verify the maximum signal frequency: speed × resolution must not exceed the receiving limit of the encoder and drive, and wide speed-control systems especially need this check.
  3. Follow installation rules: control the flexible coupling, concentricity, and axial play; secure cables to avoid pulling, and prevent connectors from loosening.
  4. Interlocks and trend management: wire encoder disconnection and out-of-tolerance alarms into the shutdown interlock; periodically compare command against feedback deviation to catch lost pulses early.
  5. Related knowledge: for the levels of closed-loop control see FOC field-oriented control, for commutation-level feedback see Hall sensors, and for the cost trade-offs of sensorless solutions see the permanent-magnet synchronous motor (PMSM).

FAQ

How do I choose between an incremental and an absolute encoder?

Look at whether the position must be known after power-off: axes that can accept homing use incremental encoders at lower cost, while applications needing position retention, multi-axis synchronization, or robot joints use absolute encoders, with higher interface cost and complexity. Wiring, protocols, and drive parameters all differ, so this is a system-level choice.

Does a higher encoder line count always mean higher positioning accuracy?

Resolution is only one of the limits. Real accuracy is also affected by encoder graduation error, mounting eccentricity, coupling backlash, and mechanical rigidity; a higher line count also means higher signal frequency, which places limits on the receiving end. Calculate what is sufficient for the requirement.

Why occasional alarms and lost pulses after replacing encoder cables?

Common causes are cable that is not shielded twisted pair, improper shield grounding, or routing in parallel with power lines. Encoder signals are sensitive to PWM interference, so wire per the manual; frequent alarms can also be related to loose connectors or axial play.

Does an absolute encoder never need homing after power-off?

A single-turn absolute encoder retains position within one turn after power-off; a multi-turn absolute encoder also needs a battery or mechanical counting to maintain the turn count. Battery-type multi-turn encoders still require recalibration after the battery fails or is removed; follow the manufacturer's instructions.

Related tools

Check servo peak torque, inertia ratio, and speed margin from inertia, load, and acceleration time.

T_peak = (J_total × 2πn / (60·t_a) + T_load) × S

Related articles

Sources

  • Modern Motor Control Technology (Wang Chengyuan et al., China Machine Press) (China Machine Press)
  • Electric Machinery (Tang Yunlin et al., China Machine Press) (China Machine Press)
WhatsApp(opens in a new tab)