An absolute encoder is a position sensor that assigns a unique digital code to every position within its measuring range, so the reading is valid immediately at power-up without a homing move. Among the sensors used in robotics, it is the standard choice for joint angle feedback wherever losing track of position would be unsafe, slow or expensive.
The defining contrast is with the incremental encoder, which only counts pulses relative to a starting point and forgets its position when power is lost. An absolute device instead reads its position directly from a coded scale or a magnetic field pattern, which makes it immune to missed counts and electrical noise bursts that would corrupt a pulse counter.
How an absolute encoder reads position
An absolute encoder reads position by sampling a coded pattern that changes uniquely from one position to the next. In an optical design, a disk carries several concentric tracks or a single pseudo-random track; a light source shines through it and a photodetector array reads the pattern as a binary word. In a magnetic design, a diametrically magnetized magnet rotates above a Hall effect sensor array, and the chip computes the angle from the sine and cosine of the field.
Most multi-track disks use Gray code, in which only one bit changes between adjacent positions. This prevents large reading errors when the detector samples exactly at a transition, because a plain binary code could flip several bits at once and briefly report a wildly wrong value. Single-track and vernier designs combine two or three tracks with slightly different periods and calculate position from their phase difference.
The table below summarizes the main sensing principles and where each is typically found in robotic systems.
| Principle | How position is read | Typical resolution | Typical use |
|---|---|---|---|
| Optical | Light through a coded glass or metal disk | 17 to 23 bits per turn | Precision arms, semiconductor robots |
| Magnetic | Hall or magnetoresistive array under a magnet | 12 to 18 bits per turn | Compact joints, mobile robots, grippers |
| Inductive | Coupling between printed coils and a target | 16 to 20 bits per turn | Harsh, oily or dusty environments |
| Capacitive | Changes in capacitance between patterned plates | 14 to 18 bits per turn | Low-power and thin form factors |
Single-turn and multi-turn variants
A single-turn absolute encoder reports a unique value only within one revolution, which suffices when the measured shaft never turns more than 360 degrees, as on many output-side robot joints. A multi-turn absolute encoder also counts complete revolutions, which is essential on the motor side of a geared joint, where the motor may rotate a hundred times for one turn of the output.
Multi-turn counting is implemented in three main ways. Mechanical gear trains drive additional coded disks; battery-backed counters keep a small circuit alive when main power is off; and energy-harvesting Wiegand wires generate a pulse from the moving magnet itself, so revolutions are counted even without any battery.
| Method | Power when off | Maintenance | Main drawback |
|---|---|---|---|
| Geared multi-turn | None needed | Minimal | Larger size and mechanical wear |
| Battery-backed | Coin cell or backup supply | Battery replacement every few years | Position lost if battery fails |
| Wiegand energy harvesting | None needed | Minimal | Higher unit cost |
In industrial robots, a dead backup battery is a classic cause of lost calibration: the controller reports an encoder error and every axis must be remastered before the robot can run again.
Absolute encoder compared with related position sensors
An absolute encoder sits between cheap analog sensors and rugged inductive devices in terms of cost, accuracy and robustness. The comparison below shows why designers choose it over an incremental encoder, a resolver or a potentiometer for a given joint.
| Sensor | Position after power-up | Accuracy | Robustness |
|---|---|---|---|
| Absolute encoder | Known immediately | High, digital output | Good; optical types dislike contamination |
| Incremental encoder | Unknown until homing | High within a session | Sensitive to missed pulses |
| Resolver | Known within one turn | Moderate, needs converter | Excellent in heat and vibration |
| Potentiometer | Known, analog | Low, drifts with wear | Limited life from wiper contact |
Many modern robot joints use a dual-encoder arrangement: a multi-turn encoder on the motor for commutation and velocity control, and a single-turn absolute encoder on the joint output that measures the true link angle after gear backlash and elastic deflection. Comparing both readings also allows the controller to estimate joint torque in series elastic actuators.
Interfaces and key specifications
The usefulness of an absolute encoder depends as much on its digital interface as on its sensing element. Older devices use SSI, a synchronous serial interface clocked by the controller; newer drives prefer bidirectional protocols such as BiSS-C, EnDat 2.2 or vendor-specific serial links, which carry position, diagnostics and temperature at rates up to several megabits per second.
- Resolution is the number of distinct codes per turn, for example 2 to the power of 20, or about one million counts.
- Accuracy is the deviation from the true angle, often 10 to 60 arcseconds for optical units and larger for magnetic ones.
- Latency is the delay between sampling and data arrival, which should stay well below the servo loop period.
- Repeatability describes how consistently the same physical angle produces the same code.
Resolution is not accuracy: a 20-bit magnetic encoder may still carry an error of several tenths of a degree from magnet eccentricity unless it is calibrated after mounting.
Common mistakes and failure modes
Most absolute encoder problems arise from mounting, cabling and configuration rather than from the sensor itself. The following table lists frequent symptoms in robotic joints with their usual causes and remedies.
| Symptom | Likely cause | Fix |
|---|---|---|
| Periodic angle error once per turn | Magnet or disk eccentricity | Recenter and run self-calibration |
| Sporadic jumps in position | Cable noise or poor shielding | Use twisted pairs and ground the shield |
| Encoder error after shutdown | Depleted backup battery | Replace the battery and remaster axes |
| Wrong zero after maintenance | Offset not stored in the controller | Repeat the zero-offset procedure |
A further misconception is that an absolute encoder removes all calibration. It removes homing at every start, but the relation between encoder zero and the kinematic zero of the joint must still be measured once and stored safely.
The simple explanation
An absolute encoder is like a ruler with a number on every mark. Wherever the pointer stops, you can read the exact position at a glance. You do not need to remember what happened before.
An ordinary counting sensor is more like counting steps in the dark. If you lose count, you must walk back to the door and start again. The absolute encoder never needs to start again. That is why robots that must wake up ready to work rely on it.
How it is used in practice
A collaborative robot arm in an electronics assembly cell has six joints, each fitted with a 19-bit multi-turn absolute encoder on the motor and a single-turn magnetic encoder on the output flange. During a sudden power outage, the arm stops in the middle of placing a circuit board.
When power returns, the controller reads every joint angle within milliseconds. Because positions are known, it plans a safe retreat path without homing, avoiding collisions with the fixture and the operator nearby. The line resumes within about one minute instead of the ten or more minutes that manual homing of every axis would have required, and the board is placed correctly on the next cycle.