Home / Hardware y Moviles / Four strain gauges bend a tiny beam and that is where your weight comes from

Four strain gauges bend a tiny beam and that is where your weight comes from

It is the humblest device in the bathroom: a platform that switches on, shows a number and switches off. Yet inside there is precision mechanics, instrumentation electronics and, in the models that also estimate body fat, a small impedance analyser. None of it is visible, and yet it explains why the scale takes a couple of seconds to make up its mind, why the reading changes when you move it, and why the body-fat percentage it shows should be taken with a pinch of salt.

An aluminium beam that bends by a few microns

The weight sensor is a load cell: an aluminium bar with two holes that leave a narrower, more flexible section. When you stand on it, the bar flexes by a fraction of a millimetre: one face is compressed and the opposite one is stretched. Four strain gauges are glued onto those faces, thin plastic films with a serpentine copper track. When stretched, the track becomes longer and thinner at the same time, so its electrical resistance rises; when compressed, it falls. The effect is small but measurable: the typical gauge factor is around 2, meaning that a strain of 0.1% changes the resistance by 0.2%.

Domestic scales usually carry four of these supports, one per foot, each with its own bridge or half-bridge. Measuring the resistance of a single gauge is not enough: the change is tiny and any temperature variation would swamp it. That is why the four are wired into a Wheatstone bridge, the classic instrumentation circuit. Two gauges work in compression and two in tension, so the strain adds up at the bridge output while heat, which affects all four equally, cancels out. The result is a differential voltage of just a few millivolts at full load: with 3 volts of excitation and a sensitivity of 1 mV/V, at 180 kilos the bridge delivers 3 millivolts. Nothing compared with the noise of an ordinary power supply.

The chip that listens in microvolts

This is where the analogue-to-digital converter comes in. The HX711 family of chips, found in almost every scale and in a large part of hobby electronics, are 24-bit sigma-delta converters with a programmable gain amplifier of up to 128. A sigma-delta converter does not simply take one sample and stop: it oversamples at high frequency and then filters and decimates, so the noise is spread out and averaged. With a gain of 128 and ten readings per second, the chip resolves changes of a few tens of nanovolts at its input, which amounts to telling 100 grams apart on a 180-kilo range.

That figure is no accident: the useful resolution of a bathroom scale is 100 grams, and to display it steadily you need to see between ten and a hundred times finer than what is shown. The processor averages, applies a low-pass filter and decides when the value is stable. Hence the pause of one or two seconds before the number appears: it is not slow to read, it is checking that the reading has stopped moving. Hence also the auto-zero on power-up, which sets the bridge’s starting point and explains why the scale does not notice a towel left on top until it is switched off and on again.

Why it changes depending on where you put it

Aluminium is not perfect. Under a sustained load it slowly flows, a phenomenon called creep, and when the weight is removed it does not return exactly to its original position: that is hysteresis. On top of that, the metal’s elastic modulus and the resistance of the gauges vary with temperature, and the glue between gauge and aluminium can age. Manufacturers compensate for these drifts by design and calibrate every cell with reference weights at the factory, but the margin has limits.

The support matters as much as the sensor. On a rigid tile the four feet transmit the load to the beam exactly as designed; on a carpet, the fabric compresses unevenly, some feet sink deeper and the sum of the four signals stops being proportional to the real weight. The same happens if one foot rests on a floorboard joint. And the body itself moves: changing posture shifts your centre of gravity and redistributes the load differently, which explains differences of two or three hundred grams between two consecutive weighings.

The current that estimates your body fat

Models with body-composition analysis add a second circuit that has nothing to do with weight: an alternating-current generator connected to metal plates under your feet. The technique is called bioelectrical impedance analysis (BIA), and it relies on the fact that lean tissue, rich in water and electrolytes, conducts current, while fat, with practically no water, behaves as an insulator. The device injects a very small current, on the order of one milliampere, at a frequency of about 50 kilohertz, and measures the resulting impedance: its magnitude and its phase angle, which reports the relationship between resistance and reactance of the cell membranes.

With that figure, plus weight, height, sex and age, the firmware applies regression equations derived from population studies and estimates fat-free mass. It is a statistical estimate, not a direct measurement: the typical error is around three or four percentage points compared with reference techniques such as densitometry. In four-electrode scales the current only travels through the legs, so the result mostly describes the lower half of the body. Segmental analysers, with electrodes on hands and feet, measure arm, trunk and leg separately to reduce that bias. Hydration, what you have eaten or exercise in the past hour shift the result by several points, so the only way to use it meaningfully is to measure under the same conditions every time.

A scale measures force, not mass

One physical detail remains that almost nobody considers: the load cell measures the force with which gravity pulls you, not your mass. Gravity varies by about half a percentage point between the equator and the poles, and slightly less between sea level and a mountain city. Scales are calibrated with the standard value of gravity, so strictly speaking the same body weighs differently in A Coruña and in Mexico City. The difference is smaller than the repeatability of the human body itself, but it serves as a reminder of what really sits under the platform: four resistors deforming by a few microns and a 24-bit converter determined to keep the number still.