What is Linearity Error?
Linearity error expresses the maximum deviation of a sensor's input-output curve from an ideal straight line, usually as a percentage of full scale (% F.S). In an ideal sensor, doubling the input doubles the output; in real sensors the curve bends slightly.
How is it defined and measured?
Several known inputs from zero to full scale are applied, the outputs are recorded and compared with a reference line. How that line is chosen changes the result:
| Method | Reference line | Note |
|---|---|---|
| End-point | Joins the zero and full-scale points | More conservative, usually a larger figure |
| Best-fit straight line (BFSL) | Line that best fits all points (e.g. least squares) | Usually gives a smaller figure |
When comparing two datasheets, check which method was used; the same sensor can produce different numbers under each.
Formula and worked example
Linearity error (% F.S) = max |output − reference line| / full-scale output × 100
Suppose a 100 kg sensor is expected to output 0 mV at 0 kg, 5 mV at 50 kg and 10 mV at 100 kg. If it outputs 4.8 mV at 50 kg (end-point method):
(5.0 − 4.8) / 10 × 100 = 2% F.S
That is roughly 0.02 × 100 kg = 2 kg of error around 50 kg. Real load cells are far better than this; the example is exaggerated to show the calculation.
How is it corrected?
- Multi-point calibration: several reference loads are applied across the range and a piecewise-linear (or polynomial) correction is applied between points. Two-point (zero + span) calibration fixes offset and gain but not curvature.
- Polynomial correction: for sensors with known non-linearity, such as thermocouples and RTDs, standard curve equations are used.
- Sensible range selection: using the sensor within a suitable part of its capacity helps avoid the regions where curvature is strongest.
Common mistakes
- Treating linearity alone as accuracy; hysteresis, repeatability and temperature effects add to the total error (see Performance Characteristics and Accuracy).
- Calibrating only with increasing load and never seeing the difference on the way down.
- Bunching calibration points in one region of the range.
Where it matters in industry
Weighing systems that work over a wide range, materials testing machines and pressure measurement are directly affected by linearity. The Amazeng TMC Test Machine Controller software supports multi-point calibration and shows raw and calibrated values side by side. The GDT Digital Transmitter is specified with an accuracy class of < 0.05% F.S. Use the mV/V Load Cell Calculator to work out load cell output.
Related Terms
- Difference Between Accuracy and PrecisionAccuracy vs precision explained: definitions, % of full scale vs % of reading, a weighing example, error budgets and how to read datasheet specs.
- Performance Characteristics: Hysteresis, Drift, LinearityHysteresis, temperature and long-term drift, creep and repeatability: definitions, % of full scale maths, a ppm/°C example and reading datasheets.
- Calibration and Metrology: Traceability, Uncertainty, Zero & SpanWhat are calibration, adjustment, traceability and measurement uncertainty? Zero & span calculation and a numeric GUM-style uncertainty budget.
- What is a Loadcell?What is a loadcell? How strain gauges and a Wheatstone bridge turn force into a mV/V signal, output calculation, mounting mistakes and applications.