Static Characteristics: Accuracy, Sensitivity, Linearity and Hysteresis
A pressure transducer's datasheet promises "accuracy FS BFSL, including nonlinearity, hysteresis and repeatability; thermal zero shift FS/K". You need to know whether it can measure to within in a cabinet that swings from to . Every word in that line is a static characteristic: a property of the instrument's steady-state input–output relation. This lesson defines them precisely, shows how they are extracted from calibration data, and turns a datasheet into an error at your reading.
The basic vocabulary (accuracy, trueness, precision, resolution) is in EE Foundations. Here we add the characteristics that describe the shape of the transfer curve.
The calibration curve
Apply known inputs (from a reference standard), record outputs , and plot against . The plot is the calibration curve. Going up the scale and back down usually gives two slightly different curves.
| Characteristic | Definition | Typical way it is quoted |
|---|---|---|
| range / span | the input interval the instrument is designed for / its width | to , span ; full scale (FS) is the output span |
| sensitivity | slope of the calibration curve, | , , |
| resolution | smallest input change that produces a detectable output change | one count, |
| threshold, dead band | smallest input that produces any output from zero / range of input with no output change | mechanical gauges, friction |
| nonlinearity | largest deviation of the curve from a reference straight line | FS, against BFSL or terminal line |
| hysteresis | largest difference between up-scale and down-scale outputs at the same input | FS |
| repeatability | spread of outputs for the same input, same direction, short time | FS, often |
| zero drift, sensitivity drift | change of offset / slope with temperature, time or supply | FS/K, ppm/K, per year |
Two reference lines. The terminal (end-point) line passes through the outputs at and of range. The best-fit straight line (BFSL) is the least-squares line through all points, so its maximum deviation is smaller, often about half. A datasheet that says " BFSL" is not comparable to one that says " terminal"; ask which line was used. The best-fit line also needs a calibration of both offset and gain to realise its promise: if you only zero the instrument, you live with the terminal error.
Accuracy as an error band. Many sensor datasheets combine nonlinearity, hysteresis and repeatability into a single static error band, then add separate temperature terms. Meter datasheets instead write or counts, because a gain error scales with the reading and an offset error does not.
Combining the terms
For a reading , the worst-case error is the sum of the limits, while a realistic estimate treats each limit as an independent rectangular distribution and adds their standard uncertainties in quadrature (the GUM lesson justifies this):
Worked example: the transducer in a warm cabinet
Given: the transducer above, to , output span ; static error band FS; thermal zero shift FS/K and thermal sensitivity shift of reading per K, both referred to ; cabinet to ; reading .
Find: the worst-case error and the standard uncertainty at , .
Solve: the largest temperature excursion from is .
Check: the worst case () fails the requirement; the statistical estimate gives , which also slightly fails. The thermal zero shift dominates, so the fix is not a better transducer but a zero adjustment at operating temperature (or a temperature-compensated part). The terms are in bar, as the requirement is.
Extracting the characteristics from calibration data
A calibration run on a cheaper transducer of the same range: six pressures from a reference gauge, read going up, then going down.
import numpy as np
P = np.array([0.0, 2.0, 4.0, 6.0, 8.0, 10.0]) # reference pressure, bar
up = np.array([0.501, 1.286, 2.080, 2.881, 3.688, 4.499]) # output going up, V
down = np.array([0.503, 1.293, 2.089, 2.889, 3.693, 4.501]) # output going down, V
y = (up + down) / 2 # average curve for linearity
FS = 4.0 # nominal output span, V
# terminal (end-point) line through the first and last averaged points
K_term = (y[-1] - y[0]) / (P[-1] - P[0])
dev_term = y - (y[0] + K_term * P)
# best-fit straight line (least squares) through all averaged points
K_bfsl, b_bfsl = np.polyfit(P, y, 1)
dev_bfsl = y - (b_bfsl + K_bfsl * P)
hyst = down - up
print(f"sensitivity: terminal {K_term:.4f} V/bar, BFSL {K_bfsl:.4f} V/bar (offset {b_bfsl:.4f} V)")
print(f"nonlinearity, terminal line: {100 * np.max(np.abs(dev_term)) / FS:.3f} % FS "
f"at {P[np.argmax(np.abs(dev_term))]:.0f} bar")
print(f"nonlinearity, BFSL: {100 * np.max(np.abs(dev_bfsl)) / FS:.3f} % FS")
print(f"hysteresis: {100 * np.max(np.abs(hyst)) / FS:.3f} % FS "
f"at {P[np.argmax(np.abs(hyst))]:.0f} bar")sensitivity: terminal 0.3998 V/bar, BFSL 0.3999 V/bar (offset 0.4924 V)
nonlinearity, terminal line: 0.418 % FS at 4 bar
nonlinearity, BFSL: 0.240 % FS
hysteresis: 0.225 % FS at 4 bar
The best-fit line cuts the quoted nonlinearity by almost half: the same transducer is "" or "" depending on the reference line, and its BFSL offset () is not the you would set by zeroing. The hysteresis is largest mid-scale, typical of elastic and magnetic materials.
Guided lab: sensitivity from a fitted line
Hand calculation. A sensor with a sensitivity of per unit input (here a resistor read as against in the lab's notation) should give a gradient of and an intercept near zero. With scatter on six points, expect the fitted slope within about .
Simulation. The best-fit lab draws the least-squares line, the steepest and shallowest lines through the error bars and the resulting slope uncertainty. With these settings it shows a least-squares gradient of and . Change the data set: the BFSL moves less than any single point, which is why sensitivity is quoted from a fit.
What you would measure. Calibrate a NTC thermistor or a potentiometer-based angle sensor against a reference at five or more points, up and down. Expect a sensitivity close to the datasheet (thermistor: about near ), a nonlinearity of several percent for the thermistor (it is exponential; see Temperature Sensors) and hysteresis of a fraction of a percent for a potentiometer with mechanical backlash.
Hazards and safe setup. Sensors powered from or with a current-limited supply; warm a thermistor with your hand or a warm (not boiling) water bath in a sealed bag, never with a heat gun near plastics.
Pitfalls
- Comparing nonlinearity figures quoted against different reference lines.
- Forgetting that a FS error is a large fraction of a small reading: FS is of a reading at of the range.
- Calibrating only going up; hysteresis then appears later as "irreproducibility".
- Ignoring temperature coefficients: they often dominate, as in the worked example.
Practice
- A to transmitter with a to output reads . What temperature does it indicate, and what is its sensitivity?
- A meter's spec is on its range. What is the limit at and at ?
Answer
- Sensitivity ; .
- At : ( of reading). At : (). The range term dominates low on the range.
Test yourself
Nonlinearity quoted against the best-fit straight line is usually
- larger than against the terminal line
- smaller, often about half
- identical
- unrelated to the terminal figure
Hysteresis is
- the spread of repeated readings at one input
- the difference between up-scale and down-scale outputs at the same input
- the change of offset with temperature
- the smallest detectable change
A gain (sensitivity) error contributes an error that
- is constant across the range
- scales with the reading
- only appears at zero
- is random
Three independent limits of , and (rectangular) combine to a standard uncertainty of about