Skip to content
Tactiverge

Sensing force, touch and proximity

How robots feel: strain gauges and load cells for measuring force, force-sensitive resistors for detecting touch, and capacitive and infrared sensors for noticing what is nearby.

Lesson 3 of 6 · 30 min · Self-paced · Free

Why a robot needs to feel

Cameras tell a robot where things are. They do not tell it how hard it is squeezing, whether an object is slipping, or whether it has just bumped into a person. A gripper picking up an egg and a gripper picking up a brick may look identical to a camera while the egg is breaking. Force and touch sensing close this gap. They matter most at the moment of contact, which is exactly when vision is often blocked by the robot's own hand.

This lesson covers sensors that measure force, sensors that detect touch, and sensors that detect objects before contact.

Strain gauges: measuring tiny stretches

When you push on a solid metal bar, it bends very slightly. Engineers describe the stretching with strain: the change in length divided by the original length. Strain has no units and is usually tiny, so it is often written in microstrain (µε, millionths). A strain of 500 µε means a 100 mm length has stretched by 0.05 mm.

A strain gauge is a thin zig-zag of metal foil glued to a surface. When the surface stretches, the foil gets longer and thinner, and its resistance rises. The sensitivity is described by the gauge factor, about 2 for common metal-foil gauges:

ΔR / R = gauge factor × strain

For a 120 Ω gauge at 500 µε:

ΔR = 2 × 0.000500 × 120 Ω = 0.12 Ω

That is a change of only 0.1%. Measuring it directly would be hopeless, because temperature changes and the resistance of the wires would drown it. Instead, gauges are wired into a Wheatstone bridge: four resistances arranged so that the output voltage is zero when everything is balanced, and only the tiny imbalance caused by strain shows up. An amplifier then boosts that small voltage for the ADC. Bridges can also cancel the effect of temperature, if gauges experience it equally.

Load cells: strain gauges with a job

A load cell is a carefully shaped piece of metal with strain gauges bonded in the places that stretch most under load. It turns force into a predictable strain, and the bridge turns strain into voltage. Kitchen and bathroom scales use load cells.

Load cells are often specified by their sensitivity in millivolts of output per volt of excitation (mV/V). A load cell rated for 5 kg at 1 mV/V, powered with 5 V, gives 5 mV at full load: about 1 mV per kilogram, before amplification.

Load cells need calibration. A quick two-point calibration, using made-up readings for illustration:

no load:           0.12 mV   (offset)
2.000 kg on top:   2.14 mV
gain = 2.000 kg / (2.14 − 0.12) mV ≈ 0.990 kg per mV

unknown object:    1.33 mV
mass ≈ (1.33 − 0.12) × 0.990 ≈ 1.198 kg
force ≈ 1.198 kg × 9.81 m/s² ≈ 11.75 N

The embedded systems pathway returns to calibration in detail. The important point here is that a load cell is accurate and linear, but needs careful mounting, an amplifier and calibration. Robots often place a multi-axis force/torque sensor, built from several gauge sections, at the wrist, so they can feel forces and twisting in every direction.

Force-sensitive resistors: cheap touch

A force-sensitive resistor (FSR) is a thin, flexible pad whose resistance drops as you press it. Unpressed, its resistance is very high; pressed firmly, it falls dramatically. Put it in a voltage divider and you have a simple touch sensor for the cost of a small sticker.

FSRs are excellent for answering "is something touching?" and "roughly how hard?". They are poor at answering "exactly how many newtons?" because:

  • the response is strongly nonlinear (most of the change happens at light forces);
  • different pads of the same type can differ noticeably from each other;
  • they show hysteresis (pressing and releasing give different readings at the same force) and creep (the reading slowly changes under a constant load);
  • the reading depends on how the force is spread over the pad.

So engineers choose FSRs for contact detection and grip-or-no-grip decisions, and load cells when the actual force value matters.

Proximity: sensing before touching

Sometimes a robot wants to know that something is near before it makes contact.

Capacitive sensing detects changes in the electric field around an electrode. Your finger, being conductive and full of water, changes the capacitance between the electrode and its surroundings. Touchscreens work this way. Capacitive sensors can detect a hand a few centimetres away through a plastic cover, which makes them useful for robot "skins". They respond more strongly to some materials than others, and humidity or nearby metal can shift their readings.

Infrared (IR) proximity sensors shine invisible infrared light and measure what bounces back. Simple ones judge distance by how bright the reflection is, which means a black object looks farther away than a white one at the same distance. Better designs use triangulation: they measure the angle at which the reflected spot returns, which depends far less on colour. Both kinds can be confused by strong sunlight, which contains plenty of infrared, and by shiny or transparent surfaces that reflect light away or let it pass through.

Matching sensor to job

Think about a gripper handling soft, unfamiliar objects such as a sponge or a folded cloth:

  • Is it touching? An FSR on each fingertip can say yes or no cheaply.
  • How hard is it squeezing? A small load cell in the finger gives a usable force value.
  • Is something about to collide? Capacitive or IR sensing on the outside of the hand can warn before contact.

Each one answers a different question. Good designs pick the cheapest sensor that answers the question that matters.

Knowledge check

Check your understanding

  1. 1. A 350 Ω strain gauge with gauge factor 2 experiences a strain of 1000 µε. What is the resistance change?
  2. 2. Why are strain gauges normally connected in a Wheatstone bridge?
  3. 3. A designer needs to know only whether a fingertip is touching an object. Which sensor is the most sensible low-cost choice?
  4. 4. A brightness-based IR proximity sensor reports a black box as farther away than a white box at the same distance. Why?
  5. 5. A load cell reads 0.20 mV with no load and 3.20 mV with a 3.000 kg reference mass. What mass gives 1.70 mV?

Go further