A potentiometer is a three-terminal variable resistor whose sliding contact, the wiper, divides a fixed voltage in proportion to its mechanical position. Among sensors in robotics, it is one of the simplest and cheapest ways to measure joint angle or linear travel, delivering an absolute analog signal that a microcontroller reads through an analog-to-digital converter.
Potentiometers appear inside hobby servo motors, in low-cost robot arms, in joystick and teach-pendant controls, and in legged research platforms where weight and price matter more than lifetime. Their main weakness is mechanical wear of the resistive track, which is why industrial robots usually rely on an encoder or a resolver instead.
How a potentiometer measures position
A potentiometer measures position by acting as a voltage divider. A reference voltage, typically 3.3 V or 5 V, is applied across the two ends of a resistive track, and the wiper picks off a fraction of that voltage. If the track is uniform, the wiper voltage rises linearly with shaft angle or slider travel, so the output equals the reference multiplied by the fractional position.
Because the reading depends on where the wiper physically sits, the sensor is inherently absolute: after power loss the robot knows the joint position immediately, without a homing routine. This power-on position awareness is the main functional advantage over an incremental encoder, which only counts changes from a reference point.
Accuracy is best when the ratiometric principle is used. If the analog-to-digital converter takes its reference from the same supply that feeds the potentiometer, supply drift cancels out, and the converted value depends only on wiper position. A high-impedance input is also needed, because current drawn through the wiper distorts the divider ratio and adds a loading error.
The following table summarizes the main electrical and mechanical parameters that define a potentiometer used as a position sensor.
| Parameter | Typical range | What it affects |
|---|---|---|
| Total resistance | 1 kΩ to 100 kΩ | Current draw, noise pickup and loading error |
| Electrical angle | About 300° to 355°, or multi-turn | Measurable range per revolution |
| Independent linearity | ±0.05% to ±2% of full scale | Systematic angle error |
| Rotational life | 100,000 to over 50 million cycles | Service interval of the joint |
| Resolution | Effectively continuous, limited by ADC | Smallest detectable movement |
| Temperature coefficient | Roughly 20 to 400 ppm/°C | Drift of absolute resistance |
Types of potentiometers used in robots
Potentiometers differ mainly in track material and geometry, and these choices set lifetime, smoothness and cost. Carbon tracks are cheap but noisy and short-lived, cermet tracks handle heat and power well, and conductive plastic tracks offer the smoothest output with very long life, which makes them the preferred option for precision feedback.
Geometry matters as much as material. Rotary single-turn units measure joint angles below one revolution, multi-turn units cover several turns of a gearbox input, and linear potentiometers measure the stroke of actuators, grippers or suspension elements. A non-contact magnetic alternative, often sold as a contactless potentiometer, uses a Hall effect sensor and emulates the same analog output without wiper wear.
| Type | Strength | Limitation | Typical robotic use |
|---|---|---|---|
| Carbon film rotary | Very low cost | Noisy, short life | Toy robots, hobby servos |
| Cermet rotary | Stable over temperature | Coarser output steps | Trimming and calibration settings |
| Conductive plastic rotary | Smooth, long life | Higher price | Research arm joints |
| Wirewound multi-turn | High precision over many turns | Stepped resolution | Gearbox input sensing |
| Linear slide | Direct stroke measurement | Exposed to dirt | Gripper jaws, linear axes |
| Contactless magnetic | No wear | Needs electronics | Long-life joint feedback |
Potentiometer compared with other position sensors
A potentiometer competes mainly with the encoder, the absolute encoder and the resolver, all of which also report joint position. The decisive differences are contact versus non-contact sensing, analog versus digital output, and how well the sensor survives vibration, dirt and millions of cycles.
| Sensor | Absolute on power-up | Wear | Output | Relative cost |
|---|---|---|---|---|
| Potentiometer | Yes | Wiper wear | Analog voltage | Lowest |
| Incremental encoder | No, needs homing | None in optical or magnetic types | Pulse train | Low to medium |
| Absolute encoder | Yes | None | Digital code | Medium to high |
| Resolver | Yes within one turn | None | Analog sine and cosine | High |
In practice, a potentiometer is chosen when cost, size and simplicity outweigh resolution and lifetime. A hobby servo combines a small motor, a gear train and a potentiometer on the output shaft, so the closed-loop position control runs entirely inside the housing. Industrial arms avoid this design because a degraded track would compromise safety-related position monitoring.
Reading a potentiometer in a control loop
Reading a potentiometer correctly requires attention to signal conditioning and calibration. The raw ADC count is mapped to an angle with a two-point or multi-point calibration, because the mechanical end stops rarely align with the electrical ends of the track and the dead band near each end produces no useful change.
- Use a ratiometric ADC reference so that supply variation does not appear as false motion.
- Add a small RC filter or buffer amplifier near the converter to suppress wiper noise and switching interference.
- Apply software filtering with limited delay, such as a short moving average, because heavy filtering adds phase lag to the control loop.
- Store calibration offsets per joint, since mounting tolerances shift the zero position by several degrees.
- Detect open-circuit and short-circuit faults by flagging readings that stay at the rails.
With a 12-bit converter, a 300° track yields roughly 0.07° per count, but real resolution is usually limited by electrical noise and track granularity rather than by the converter. Values around 0.1° to 0.5° are realistic for good conductive plastic parts in a quiet circuit.
Limitations and failure modes in robotic joints
The most important limitation is contact wear between wiper and track. Repeated motion over the same small arc, which is typical of a balancing or oscillating joint, wears a groove and creates noise spikes and dead spots that a controller may interpret as sudden position jumps. The table below links common symptoms to their causes and remedies.
| Symptom | Likely cause | Recommended fix |
|---|---|---|
| Joint jitters at rest | Wiper noise or worn spot | Filter signal or replace with conductive plastic unit |
| Sudden position jumps | Track contamination or lost contact | Seal the sensor or use a contactless type |
| Slow drift over hours | Supply or temperature drift | Use ratiometric reading and stable reference |
| Reading clipped at one end | Mechanical range exceeds electrical angle | Recalibrate or change gearing |
| Constant rail reading | Broken wire or open wiper | Implement fault detection and stop motion |
Vibration, dust and humidity accelerate degradation, so potentiometers are a poor fit for outdoor mobile robots and high-duty industrial cells. Engineers should also remember that a potentiometer measures the shaft it sits on: gearbox backlash and elastic deflection between that shaft and the actual link remain invisible to it.
In plain words
A potentiometer is like a dimmer knob that reports its own position. When the knob turns, a small metal contact slides along a strip, and the voltage it picks up changes smoothly. A robot reads that voltage and knows how far the joint has turned.
It is cheap, small and knows its position the moment it is switched on. The catch is that the sliding contact wears out, so it suits toys, hobby kits and research prototypes better than factory robots that move all day for years.
A real-world example
A university lab builds a low-cost six-joint teaching arm for a robotics course. Each joint uses a standard hobby servo whose internal potentiometer closes the position loop, and the students add an external 10 kΩ conductive plastic potentiometer on the elbow to log the true joint angle through a 12-bit converter on a microcontroller.
After calibration against a protractor at three points, the elbow reading agrees with the reference to within about 0.5°, which is enough for pick-and-place exercises with foam blocks. After one semester of daily use, the cheap carbon potentiometers in two servos start to jitter at rest, while the conductive plastic sensor still reads cleanly. The lab responds by replacing the worn servos and planning a move to magnetic absolute encoders for the next version of the arm.