TExcelTAD
Home › Electrical & Electronic Measurements › Static Characteristics: Accuracy, Sensitivity, Linearity and Hysteresis

Static Characteristics: Accuracy, Sensitivity, Linearity and Hysteresis

A pressure transducer's datasheet promises "accuracy ±0.25 %\pm 0.25\,\% FS BFSL, including nonlinearity, hysteresis and repeatability; thermal zero shift ±0.02 %\pm 0.02\,\% FS/K". You need to know whether it can measure 3.00 bar3.00\ \text{bar} to within ±0.05 bar\pm 0.05\ \text{bar} in a cabinet that swings from 1515 to 45 ∘C45\,^\circ\text{C}. 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 xx (from a reference standard), record outputs yy, and plot yy against xx. The plot is the calibration curve. Going up the scale and back down usually gives two slightly different curves.

input x (from a reference standard) output y up-scale down-scale terminal line best-fit line hysteresis nonlinearity slope = sensitivity K full scale 0
Characteristic Definition Typical way it is quoted
range / span the input interval the instrument is designed for / its width 00 to 10 bar10\ \text{bar}, span 10 bar10\ \text{bar}; full scale (FS) is the output span
sensitivity KK slope of the calibration curve, K=dy/dxK = dy/dx 0.4 V/bar0.4\ \text{V/bar}, 40 μV/∘C40\ \mu\text{V}/^\circ\text{C}, 2 mV/V2\ \text{mV/V}
resolution smallest input change that produces a detectable output change one count, 0.1 ∘C0.1\,^\circ\text{C}
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 2σ2\sigma
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 0 %0\,\% and 100 %100\,\% 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 "0.1 %0.1\,\% BFSL" is not comparable to one that says "0.1 %0.1\,\% 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 ±(a % of reading+b % of range)\pm(\text{a}\,\%\ \text{of reading} + \text{b}\,\%\ \text{of range}) or + n+\ \text{n} counts, because a gain error scales with the reading and an offset error does not.

Combining the terms

For a reading yy, 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):

eworst=∑iai,u=∑i(ai3)2e_\text{worst} = \sum_i a_i, \qquad u = \sqrt{\sum_i \left(\frac{a_i}{\sqrt{3}}\right)^2}

Worked example: the transducer in a warm cabinet

Given: the transducer above, 00 to 10 bar10\ \text{bar}, output span 4.0 V4.0\ \text{V}; static error band ±0.25 %\pm 0.25\,\% FS; thermal zero shift ±0.02 %\pm 0.02\,\% FS/K and thermal sensitivity shift ±0.02 %\pm 0.02\,\% of reading per K, both referred to 25 ∘C25\,^\circ\text{C}; cabinet 1515 to 45 ∘C45\,^\circ\text{C}; reading 3.00 bar3.00\ \text{bar}.

Find: the worst-case error and the standard uncertainty at 3.00 bar3.00\ \text{bar}, 45 ∘C45\,^\circ\text{C}.

Solve: the largest temperature excursion from 25 ∘C25\,^\circ\text{C} is ΔT=20 K\Delta T = 20\ \text{K}.

astatic=0.0025×10 bar=0.025 barazero=0.0002 K−1×20 K×10 bar=0.040 baraspan=0.0002 K−1×20 K×3.00 bar=0.012 bareworst=0.025+0.040+0.012=0.077 baru=0.0252+0.0402+0.01223 bar=0.04871.732 bar=0.028 bar\begin{aligned} a_\text{static} &= 0.0025 \times 10\ \text{bar} = 0.025\ \text{bar} \\ a_\text{zero} &= 0.0002\ \text{K}^{-1} \times 20\ \text{K} \times 10\ \text{bar} = 0.040\ \text{bar} \\ a_\text{span} &= 0.0002\ \text{K}^{-1} \times 20\ \text{K} \times 3.00\ \text{bar} = 0.012\ \text{bar} \\ e_\text{worst} &= 0.025 + 0.040 + 0.012 = 0.077\ \text{bar} \\ u &= \frac{\sqrt{0.025^2 + 0.040^2 + 0.012^2}}{\sqrt{3}}\ \text{bar} = \frac{0.0487}{1.732}\ \text{bar} = 0.028\ \text{bar} \end{aligned}

Check: the worst case (0.077 bar0.077\ \text{bar}) fails the ±0.05 bar\pm 0.05\ \text{bar} requirement; the statistical estimate gives U=2u=0.056 barU = 2u = 0.056\ \text{bar}, 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.

python · try it yourself
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 "0.42 %0.42\,\%" or "0.24 %0.24\,\%" depending on the reference line, and its BFSL offset (0.492 V0.492\ \text{V}) is not the 0.500 V0.500\ \text{V} 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 10 Ω10\ \Omega per unit input (here a resistor read as UU against II in the lab's notation) should give a gradient of 1010 and an intercept near zero. With ±4 %\pm 4\,\% scatter on six points, expect the fitted slope within about ±10 %\pm 10\,\%.

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 9.539 Ω9.539\ \Omega and 9.5±1.0 Ω9.5 \pm 1.0\ \Omega. Change the data set: the BFSL moves less than any single point, which is why sensitivity is quoted from a fit.

00.10.20.30.40.50.60.702468I (A)U (V)your lineleast-squares fitsteepest / shallowestyour gradient: 10.00 Ωyour Σr² = 0.0907best gradient: 9.539 Ωintercept: 0.172 Vbest Σr² = 0.0536 (least)steepest: 10.56 Ωshallowest: 8.64 ΩΔm = half the gap = 0.96resistance R:9.5 ± 1.0 Ωerror bars ±0.24 V

What you would measure. Calibrate a 10 kΩ10\ \text{k}\Omega 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 −4 %/K-4\,\%/\text{K} near 25 ∘C25\,^\circ\text{C}), 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 3.33.3 or 5 V5\ \text{V} 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: 0.25 %0.25\,\% FS is 8 %8\,\% of a reading at 3 %3\,\% 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

  1. A 00 to 100 ∘C100\,^\circ\text{C} transmitter with a 44 to 20 mA20\ \text{mA} output reads 12.10 mA12.10\ \text{mA}. What temperature does it indicate, and what is its sensitivity?
  2. A meter's spec is ±(0.05 % of reading+0.01 % of range)\pm(0.05\,\% \text{ of reading} + 0.01\,\% \text{ of range}) on its 10 V10\ \text{V} range. What is the limit at 1.000 V1.000\ \text{V} and at 9.000 V9.000\ \text{V}?
Answer
  1. Sensitivity 16 mA/100 K=0.16 mA/K16\ \text{mA}/100\ \text{K} = 0.16\ \text{mA/K}; T=(12.10−4)/0.16=50.6 ∘CT = (12.10 - 4)/0.16 = 50.6\,^\circ\text{C}.
  2. At 1 V1\ \text{V}: 0.0005+0.001=0.0015 V0.0005 + 0.001 = 0.0015\ \text{V} (0.15 %0.15\,\% of reading). At 9 V9\ \text{V}: 0.0045+0.001=0.0055 V0.0045 + 0.001 = 0.0055\ \text{V} (0.06 %0.06\,\%). The range term dominates low on the range.

Test yourself

Nonlinearity quoted against the best-fit straight line is usually

  1. larger than against the terminal line
  2. smaller, often about half
  3. identical
  4. unrelated to the terminal figure

Hysteresis is

  1. the spread of repeated readings at one input
  2. the difference between up-scale and down-scale outputs at the same input
  3. the change of offset with temperature
  4. the smallest detectable change

A gain (sensitivity) error contributes an error that

  1. is constant across the range
  2. scales with the reading
  3. only appears at zero
  4. is random

Three independent limits of 0.030.03, 0.040.04 and 0.0120.012 (rectangular) combine to a standard uncertainty of about

  1. 0.0820.082
  2. 0.0510.051
  3. 0.0300.030
  4. 0.0470.047