Potentiometer

On this page 7

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.

ParameterTypical rangeWhat it affects
Total resistance1 kΩ to 100 kΩCurrent draw, noise pickup and loading error
Electrical angleAbout 300° to 355°, or multi-turnMeasurable range per revolution
Independent linearity±0.05% to ±2% of full scaleSystematic angle error
Rotational life100,000 to over 50 million cyclesService interval of the joint
ResolutionEffectively continuous, limited by ADCSmallest detectable movement
Temperature coefficientRoughly 20 to 400 ppm/°CDrift of absolute resistance
Key parameters of position potentiometers

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.

TypeStrengthLimitationTypical robotic use
Carbon film rotaryVery low costNoisy, short lifeToy robots, hobby servos
Cermet rotaryStable over temperatureCoarser output stepsTrimming and calibration settings
Conductive plastic rotarySmooth, long lifeHigher priceResearch arm joints
Wirewound multi-turnHigh precision over many turnsStepped resolutionGearbox input sensing
Linear slideDirect stroke measurementExposed to dirtGripper jaws, linear axes
Contactless magneticNo wearNeeds electronicsLong-life joint feedback
Common potentiometer types and their robotic uses

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.

SensorAbsolute on power-upWearOutputRelative cost
PotentiometerYesWiper wearAnalog voltageLowest
Incremental encoderNo, needs homingNone in optical or magnetic typesPulse trainLow to medium
Absolute encoderYesNoneDigital codeMedium to high
ResolverYes within one turnNoneAnalog sine and cosineHigh
Position sensing options in robot joints

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.

SymptomLikely causeRecommended fix
Joint jitters at restWiper noise or worn spotFilter signal or replace with conductive plastic unit
Sudden position jumpsTrack contamination or lost contactSeal the sensor or use a contactless type
Slow drift over hoursSupply or temperature driftUse ratiometric reading and stable reference
Reading clipped at one endMechanical range exceeds electrical angleRecalibrate or change gearing
Constant rail readingBroken wire or open wiperImplement fault detection and stop motion
Symptoms, causes and fixes for potentiometer feedback

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.