TExcelTAD
Home › Electrical & Electronic Measurements › GUM Uncertainty Budgets: Type A, Type B, Combined and Expanded

GUM Uncertainty Budgets: Type A, Type B, Combined and Expanded

A current is measured as the voltage across a calibrated shunt. The DMM's readings scatter in the fifth digit, the shunt's certificate quotes its value with an uncertainty, the shunt is warmer than when it was calibrated, and its temperature coefficient is known only to a limit. Which of these matters? An uncertainty budget answers that question in a table: every input, its standard uncertainty, how strongly the result depends on it, and its share of the total. This lesson builds a complete budget by the Guide to the Expression of Uncertainty in Measurement (GUM, JCGM 100:2008), including the parts EE Foundations left out: distributions other than rectangular, certificates, sensitivity coefficients for a non-trivial model, degrees of freedom and the coverage factor.

The procedure

  1. Model. Write the measurand YY as a function of all inputs, Y=f(X1,…,XN)Y = f(X_1, \dots, X_N), including corrections whose best estimate is zero (an offset you did not measure is still an input, with value 0 and an uncertainty).
  2. Estimates and standard uncertainties. For each input, an estimate xix_i and a standard uncertainty u(xi)u(x_i), either Type A (statistics of repeated observations, previous lesson) or Type B (everything else).
  3. Sensitivity coefficients ci=∂f/∂xic_i = \partial f / \partial x_i at the estimates.
  4. Combined standard uncertainty for uncorrelated inputs:
uc(y)=∑i=1N(ci u(xi))2u_c(y) = \sqrt{\sum_{i=1}^{N} \left(c_i\, u(x_i)\right)^2}
  1. Effective degrees of freedom (Welch–Satterthwaite) and the coverage factor kk:
νeff=uc4(y)∑i(ciu(xi))4νi,k=t0.975(νeff),U=k uc(y)\nu_\text{eff} = \frac{u_c^4(y)}{\sum_i \dfrac{\left(c_i u(x_i)\right)^4}{\nu_i}}, \qquad k = t_{0.975}(\nu_\text{eff}), \qquad U = k\,u_c(y)
  1. Report y±Uy \pm U with kk and the coverage probability, and keep the budget table.

Type B: choosing a distribution

A Type B evaluation turns information about a limit into a standard deviation. The shape you assume sets the divisor:

-a +a 0 normal u = U / k -a +a 0 rectangular u = a / sqrt(3) -a +a 0 triangular u = a / sqrt(6) -a +a 0 U-shaped u = a / sqrt(2)
Information you have Distribution uu
a certificate: "U=20 μΩU = 20\ \mu\Omega, k=2k = 2" normal U/k=10 μΩU/k = 10\ \mu\Omega
a spec or tolerance ±a\pm a, no other knowledge rectangular a/3a/\sqrt{3}
a display resolution δ\delta rectangular, a=δ/2a = \delta/2 δ/(23)\delta/(2\sqrt{3})
values near the centre more likely (e.g. difference of two rectangular quantities) triangular a/6a/\sqrt{6}
a sinusoidally varying quantity sampled at random (temperature cycling, mismatch phase) U-shaped (arcsine) a/2a/\sqrt{2}

The rectangular assumption is the cautious default: for a given half-width it gives a larger uu than triangular or normal-in-±3σ\pm 3\sigma. Type B uncertainties are usually given infinite degrees of freedom; the GUM allows a finite ν\nu when you doubt the limit itself.

Sensitivity coefficients

For simple products and quotients, relative uncertainties combine directly (exponents as weights). For anything else, differentiate. In the shunt model

I=VR (1+α (T−T0))I = \frac{V}{R\,\left(1 + \alpha\,(T - T_0)\right)}

the partial derivatives are

cV=∂I∂V=1R (1+αΔT),cR=∂I∂R=−IR,cα=∂I∂α=−I ΔT1+αΔT,cT=∂I∂T=−I α1+αΔT\begin{aligned} c_V &= \frac{\partial I}{\partial V} = \frac{1}{R\,(1 + \alpha \Delta T)}, & c_R &= \frac{\partial I}{\partial R} = -\frac{I}{R}, \\ c_\alpha &= \frac{\partial I}{\partial \alpha} = -\frac{I\,\Delta T}{1 + \alpha \Delta T}, & c_T &= \frac{\partial I}{\partial T} = -\frac{I\,\alpha}{1 + \alpha \Delta T} \end{aligned}

with ΔT=T−T0\Delta T = T - T_0. Each cic_i has units (A/V, A/ohm, A K, A/K), so every product ciu(xi)c_i u(x_i) is in amperes and can be added.

Worked example: current through a calibrated shunt

Given: ten DMM readings of the shunt voltage (in the program below) with mean 0.152370 V0.152370\ \text{V} on the 1 V1\ \text{V} range, spec ±(0.0040 % of reading+0.0007 % of range)\pm(0.0040\,\%\ \text{of reading} + 0.0007\,\%\ \text{of range}), resolution 1 μV1\ \mu\text{V}; shunt certificate R=0.10003 ΩR = 0.10003\ \Omega, U=0.00002 ΩU = 0.00002\ \Omega (k=2k = 2) at T0=23 ∘CT_0 = 23\,^\circ\text{C}; temperature coefficient α=20±10 ppm/K\alpha = 20 \pm 10\ \text{ppm/K} (datasheet limit); shunt temperature T=35±1 ∘CT = 35 \pm 1\,^\circ\text{C} (thermometer limit).

Find: II, its budget and the expanded uncertainty at about 95 %95\,\%.

Solve: I=0.152370/(0.10003×(1+20×10−6×12))=1.522878 AI = 0.152370 / (0.10003 \times (1 + 20 \times 10^{-6} \times 12)) = 1.522878\ \text{A}. The program builds the table:

python · try it yourself
import numpy as np
from scipy import stats

# Model: I = V / (R * (1 + alpha * (T - T0)))
V_read = np.array([0.15241, 0.15232, 0.15236, 0.15240, 0.15235,
                   0.15239, 0.15233, 0.15238, 0.15236, 0.15240])  # volts, 10 readings
V = float(V_read.mean())
R, alpha, T, T0 = 0.10003, 20e-6, 35.0, 23.0
dT = T - T0
I = V / (R * (1 + alpha * dT))

# (name, value, standard uncertainty, sensitivity coefficient, degrees of freedom, how obtained)
u_A = float(V_read.std(ddof=1) / np.sqrt(len(V_read)))
a_spec = 40e-6 * V + 7e-6 * 1.0            # DMM 1 V range: 0.0040 % of reading + 0.0007 % of range
budget = [
    ("V repeatability", u_A, 1 / (R * (1 + alpha * dT)), len(V_read) - 1, "Type A, s/sqrt(n)"),
    ("V meter spec", a_spec / np.sqrt(3), 1 / (R * (1 + alpha * dT)), np.inf, "Type B, rectangular"),
    ("V resolution", 0.5e-6 / np.sqrt(3), 1 / (R * (1 + alpha * dT)), np.inf, "Type B, rectangular"),
    ("R certificate", 0.00002 / 2, -I / R, np.inf, "Type B, normal, U/k with k = 2"),
    ("alpha datasheet", 10e-6 / np.sqrt(3), -I * dT / (1 + alpha * dT), np.inf, "Type B, rectangular"),
    ("T thermometer", 1.0 / np.sqrt(3), -I * alpha / (1 + alpha * dT), np.inf, "Type B, rectangular"),
]
print(f"V = {V:.6f} V, I = {I:.6f} A")
print(f"{'input':16s} {'u(x_i)':>10s} {'c_i':>10s} {'|c_i u_i| (A)':>13s} {'nu':>4s}  share")
contrib = np.array([abs(c * u) for _, u, c, _, _ in budget])
uc = float(np.sqrt(np.sum(contrib**2)))
for (name, u, c, nu, how), ci_ui in zip(budget, contrib):
    nus = "inf" if np.isinf(nu) else f"{nu:d}"
    print(f"{name:16s} {u:10.3e} {c:10.3e} {ci_ui:13.3e} {nus:>4s}  {100 * ci_ui**2 / uc**2:5.1f} %")
nu_eff = uc**4 / sum(ci_ui**4 / nu for (_, _, _, nu, _), ci_ui in zip(budget, contrib) if not np.isinf(nu))
k = float(stats.t.ppf(0.975, nu_eff)) if nu_eff < 1e6 else 1.96
print(f"u_c(I) = {uc:.3e} A ({1e6 * uc / I:.0f} ppm), nu_eff = {nu_eff:.0f}, k(95 %) = {k:.2f}")
print(f"I = {I:.5f} A +/- {k * uc:.5f} A (k = {k:.2f}, about 95 %)")
V = 0.152370 V, I = 1.522878 A
input                u(x_i)        c_i |c_i u_i| (A)   nu  share
V repeatability   9.775e-06  9.995e+00     9.770e-05    9   19.1 %
V meter spec      7.560e-06  9.995e+00     7.556e-05  inf   11.4 %
V resolution      2.887e-07  9.995e+00     2.885e-06  inf    0.0 %
R certificate     1.000e-05 -1.522e+01     1.522e-04  inf   46.5 %
alpha datasheet   5.774e-06 -1.827e+01     1.055e-04  inf   22.3 %
T thermometer     5.774e-01 -3.045e-05     1.758e-05  inf    0.6 %
u_c(I) = 2.233e-04 A (147 ppm), nu_eff = 246, k(95 %) = 1.97
I = 1.52288 A +/- 0.00044 A (k = 1.97, about 95 %)

Check: the result is I=1.52288±0.00044 AI = 1.52288 \pm 0.00044\ \text{A} (k=1.97k = 1.97), a relative expanded uncertainty of 290 ppm290\ \text{ppm}. The table shows what to improve: the shunt certificate (47 %47\,\% of the variance) and the poorly known temperature coefficient (22 %22\,\%) together dominate; the DMM's resolution and the thermometer are irrelevant. A better DMM would buy little. Calibrating the shunt at its working temperature would remove the α\alpha term. The units of every ciuic_i u_i are amperes, as required.

Guided lab: build a budget for your own measurement

Hand calculation. Pick a 0.1 Ω0.1\ \Omega current-sense resistor (1 %1\,\%, ±75 ppm/K\pm 75\ \text{ppm/K}) carrying about 1 A1\ \text{A} from a current-limited bench supply. Its tolerance alone contributes 0.01/3=0.58 %0.01/\sqrt{3} = 0.58\,\%, which will dominate everything else unless you measure the resistor first (four-wire, next section).

Simulation. Edit the program: replace the certificate line by the 1 %1\,\% tolerance (0.001 / np.sqrt(3)), set alpha = 75e-6 with a limit of 75e-6, and rerun. Watch the share column: the budget collapses onto one line.

What you would measure. Ten readings across the resistor at 1.000 A1.000\ \text{A} (set on the supply in CC mode), with a 5½-digit DMM on the 100 mV100\ \text{mV} or 1 V1\ \text{V} range: about 100 mV100\ \text{mV} with a scatter of a few microvolts, and a current known to about ±1.2 %\pm 1.2\,\% (k=2k = 2) with the tolerance, or to a few hundred ppm after a four-wire measurement of the resistor.

Hazards and safe setup. 1 A1\ \text{A} in 0.1 Ω0.1\ \Omega dissipates 0.1 W0.1\ \text{W}; use a resistor rated at least 0.5 W0.5\ \text{W}, heavy enough wires, a current limit of 1.0 A1.0\ \text{A} and a supply voltage of a few volts. Let the resistor reach a steady temperature before reading.

Pitfalls

  • Leaving out an input because its estimate is zero (an uncorrected offset or thermal EMF).
  • Dividing a certificate's UU by 3\sqrt{3}: it is already a normal-distribution expanded uncertainty; divide by its kk.
  • Mixing units in the table: every ciu(xi)c_i u(x_i) must be in the unit of the result.
  • Always using k=2k = 2 when a Type A term with few readings dominates: compute νeff\nu_\text{eff}.
  • Building a budget without a share column: the point of the table is to show what dominates.

Practice

  1. A certificate gives 10.00012 V10.00012\ \text{V} with U=8 μVU = 8\ \mu\text{V} (k=2k = 2). What standard uncertainty do you use?
  2. A budget has two terms: c1u1=3 mVc_1 u_1 = 3\ \text{mV} with ν1=4\nu_1 = 4 (Type A, five readings) and c2u2=2 mVc_2 u_2 = 2\ \text{mV} (Type B, ν=∞\nu = \infty). Find ucu_c, νeff\nu_\text{eff} and kk.
Answer
  1. u=8/2=4 μVu = 8/2 = 4\ \mu\text{V}.
  2. uc=9+4=3.61 mVu_c = \sqrt{9 + 4} = 3.61\ \text{mV}; νeff=3.614/(34/4)=169/20.25=8.3\nu_\text{eff} = 3.61^4/(3^4/4) = 169/20.25 = 8.3; k=t0.975(8.3)≈2.3k = t_{0.975}(8.3) \approx 2.3.

Test yourself

A tolerance of ±a\pm a with no other information gives a standard uncertainty of

  1. aa
  2. a/2a/2
  3. a/3a/\sqrt{3}
  4. a/6a/\sqrt{6}

What is the sensitivity coefficient of I=V/RI = V/R with respect to RR?

  1. 1/R1/R
  2. −I/R-I/R
  3. −V-V
  4. II

When should the coverage factor be larger than 2 for about 95 %?

  1. never
  2. when the effective degrees of freedom are small, e.g. a dominant Type A term from few readings
  3. when a Type B term dominates
  4. when the result is negative

In the shunt budget above, which change would reduce the uncertainty most?

  1. a DMM with more digits
  2. a better thermometer
  3. a better-calibrated shunt or a shunt calibrated at its working temperature
  4. more voltage readings