An Introduction To Measurement Uncertainty: Bdhallanddrwhite
An Introduction To Measurement Uncertainty: Bdhallanddrwhite
AN INTRODUCTION TO
MEASUREMENT UNCERTAINTY
AN INTRODUCTION
TO MEASUREMENT
U N C E R TA I N T Y
M E A S U R E M E N T S TA N D A R D S L A B O R AT O R Y O F N E W Z E A L A N D
The Measurement Standards Laboratory (msl) is New Zealand’s
National Metrology Institute, operating as a business group of
Callaghan Innovation.
Published by
Measurement Standards Laboratory of New Zealand,
Callaghan Innovation,
69 Gracefield Road,
Lower Hutt 5010,
New Zealand.
DOI: https://doi.org/10.5281/zenodo.3872590
B. D. Hall: https://orcid.org/0000-0002-4249-6863
D. R. White: https://orcid.org/0000-0002-8156-7943
The cover illustration is from the 1800 French print Usage des Nouvelles Mesures, by L. F. Labrousse. The
upper panel depicts the litre, the gram, and the metre; the lower panel shows the are (100 square
metres), the franc (a decimal currency), and the stère (1 cubic metre of wood). These decimal units
became legal in France on 4 November 1800, five years after the metric system was introduced (source:
Bibliotèque nationale de France).
This work is licensed under a Creative Commons Attribution-No Derivatives 3.0 Licence
(CC BY-ND 3.0 NZ, see http://creativecommons.org/licenses/by-nd/3.0/nz/).
Preface 6
Introduction 7
Describing unpredictability 10
Observations of variability 14
Measurement uncertainty 18
Measurement models 22
Calculating uncertainty 25
Uncertainty analysis 30
Using a ruler 34
Calibrating a thermometer 41
Final words 49
Preface
B D Hall
D R White
July, 2017.
1 Introduction
calibration.
or even
Y = y − Ey , (2.1)
where the term Ey is called the measurement error and is due to the
2
The capital letters used for the mea-
surand Y and the measurement error
combined effects of many influence factors on the outcome of the Ey remind us that these quantities are
measurement.2 Equation (2.1) tells us that we could correct the not precisely known, whereas y, the
measurement result, is.
measurement result y, and obtain Y, if the error Ey were known.
Ey
y Y
3.1 Probability
check that the relative frequency of sixes does not differ from 1/6 by
more than can reasonably be expected, considering the number of
2
For this reason, we avoid interpreta-
tions of the word ‘probability’ when
throws.1 the meaning cannot be understood
in terms of the relative frequency of
outcomes. For example, the winner of
Real measurements don’t involve dice, but the possibility of check- an election, or that it will rain tomor-
ing assumptions is important. It should always be possible, at least row, are unique events that cannot be
in principle, to look more closely at the validity of any probability repeated. The meaning of ‘probability’
when applied to such cases is different.
statement that describes unpredictable behaviour.2
describing unpredictability 11
The Gaussian distribution (Figure 3.1) is of particular importance Figure 3.1: A Gaussian distribution.
in test and measurement, because it is generally presumed to de- The centre of the distribution is the
mean; the half-width of the grey band
scribe the unpredictable error in a measurement result. A Gaussian is the standard deviation.
distribution is also often used to describe the error that arises when
estimates of influence factors are obtained by statistical methods
(e.g., taking the mean of a sample of observations, as in chapter 4).
Often, it will be convenient to specify the scale of a uniform dis- Figure 3.2: A uniform distribution. The
centre of the distribution is the mean;
tribution in terms of its width. However, when calculating the the half-width of the grey band is the
uncertainty, this information must always be converted into a stan- standard deviation.
dard deviation (see §3.3.4).
Rounding error
A uniform distribution is often used to describe the error generated when a number
is displayed using a fixed number of digits. That is, some quantity X is measured and
the result is rounded to
x = X + Ex , (3.1)
where Ex is the rounding error (see, for example, Fig. 10.3 on page 36).
For example, a digital instrument with a resolution of 0.01 will generate a roughly
uniform distribution of round-off errors in the range from −0.005 to 0.005.
As in the case of the uniform distribution, the scale of the distribu- Figure 3.3: A triangular distribution.
tion may be conveniently specified in terms of the width. The centre of the distribution is the
mean; the half-width of the grey band
is the standard deviation.
The triangular distribution may be used when values are more
likely to occur near the centre of a range than near the limits. This
is the case, for example, for the difference between a pair of uni-
formly distributed quantities when the uniform distributions have
the same width (see the example on page 38).
describing unpredictability 13
We shall consider two ways of measuring Y: we can take just one in-
dication, or we can take a sample of values and calculate the mean.
The outcome in either case is affected by Erandom ; there will always
be an unpredictable error in the value y obtained as an estimate of
Y. This situation is described, in general, by equation (2.1), repeated
here,
Y = y − Ey .
The behaviour of the error Ey is best described by a Gaussian dis-
tribution with a mean of zero in both cases. However, the standard
deviation that scales the distribution width will depend on how y is
obtained. A sample of n observations
w [1], w [2], · · · , w [ n ]
The following 10 readings were taken from a digital multimeter configured to mea-
sure a DC voltage.
9.998 mV
10.002 mV
10.000 mV
10.002 mV
10.000 mV
10.001 mV
10.003 mV
10.002 mV
10.000 mV
9.999 mV
10.000 70 mV
10.000 02 mV
10.000 26 mV
10.000 00 mV
9.999 78 mV
9.999 67 mV
9.999 53 mV
9.999 12 mV
9.999 76 mV
9.999 70 mV
The first value in this list, 10.000 70 mV, was calculated from the 10 data points shown
on page 15. The standard error of the mean for that sample can be calculated from the
sample standard deviation obtained earlier
0.0016
√ mV = 0.000 51 mV .
10
This is, as expected, close to the standard deviation of the 10 values above, 0.000 43.
observations of variability 17
4.5 Sampling
In the context of test and calibration work, the word uncertainty has
two slightly different meanings.
Figure 6.1 shows four possible test outcomes in which the mea-
sured value comes close to the upper specification limit. In the case
labelled ‘A‘, the measured voltage is slightly higher than 20 µV, so
the interval does not include the upper limit 15 µV. In the cases
labelled ‘B‘ and ‘C‘, the results are within ±5 µV of the upper limit;
in measurement ‘B’ the value is above 15 µV, and in ‘C’ it is below.
In the case labelled ‘D’, the measured voltage is a little less than
10 µV, so, again, the interval does not include 15 µV.
15 µV
Figure 6.1: Four different test out-
A comes. In A we can state, with at least
95 % level of confidence, that the test
parameter exceeds the limit of 15 µV.
B In B and C we cannot state that the test
parameter lies either above or below
the limit with 95 % confidence. In D
C we can state, with at least 95 % level of
confidence, that the test parameter is
under the limit.
D
For instance, when a result like ‘A’ occurs, the laboratory can
state that the parameter is above the specified range (i.e., out of
specification) at a level of confidence of at least 95 %. That is, on
95 % of occasions when a result like ‘A’ is obtained, the actual value
is covered by the interval and hence out of specification. Similarly,
when a result like ‘D’ occurs, the laboratory can state that the
parameter is inside the specified range (i.e., meets the specification)
at a level of confidence of at least 95 %. However, when results like
‘B’ or ‘C’ arise the interval straddles the limit, so we know that
the actual offset voltage could be above, or below, the specified
level more frequently. In such cases, a statement about meeting,
or missing, the specification cannot be made with a 95 % level of
confidence.
acceptable values
Figure 6.2: The range of measured
values that are acceptable is reduced
5 µV 5 µV by the expanded measurement uncer-
tainty.
30 µV
7 Measurement models
To model a measurement of the distance between two points (chapter 10), we can
start by thinking about how to calculate this length when given ruler readings at
each point. We would, of course, subtract one reading from the other. So, an initial
model of the measurement can be written down as the difference between the point
locations (i.e., by subtracting the symbols representing each location rather than the
ruler readings). If one location is X A , and the other XB , the model can be written as
L = XB − X A .
T = Tprt .
The two thermometers are some distance apart, so there may be a small temperature
difference between Tprt and T. We need to account for this in the model. As an exam-
ple of extending a model using step 1 above, a term for the temperature difference
between the thermometer locations, Ebath , can be included
T = Tprt − Ebath .
Ruler readings approximate the actual locations X A and XB . The readings are subject
to errors that need to be included in the model.
At each location, the scale marking on the ruler closest to the point of interest is
taken as the reading. This rounds the actual location to the value of the nearest scale
division.
X A = x A − EA .
This expresses the fact that the reading x A is only approximately equal to X A . A
similar sub-model describes the measurement of XB .
X A = x A − EA
X B = x B − EB
L = XB − X A ,
L = ( x B − EB ) − ( x A − E A )
= x B − x A − EB + E A .
8 Calculating uncertainty
Y = w ⊕ X1 ⊕ X2 ⊕ · · · ,
In chapter 11, a measurement model for the fixed offset of a thermometer is given by
(equation 11.8)
Dglass = d − Ed·ran + Eprt·cal + Ebath .
This equation only adds and subtracts terms.
Using this information, an estimate of Dglass can be calculated directly from the model
The combined standard uncertainty of this estimate is calculated by using the addition
and subtraction rule
q
u(dglass ) = u(ed·ran )2 + u(eprt·cal )2 + u(ebath )2 (8.1)
q
= (0.0019)2 + (0.0078)2 + (0.0029)2
= 0.0085 °C .
Y = w ⊗ X1 ⊗ X2 ⊗ · · · ,
The area of a rectangular sheet can be found as the product of the length L along one
side with the width W along the other side
A = L·W .
This ruler is used to measure the length and width of a sheet, obtaining measured
values l = 263 mm and w = 95 mm. So, the measured value of the area is
a = l·w
= 263 mm · 95 mm
= 24 985 mm2 .
The uncertainty in this estimate of the area is found by first calculating the relative
standard uncertainty using the rule for multiplication and division
s
u( a) u(l ) 2 u(w) 2
= +
a l w
s
0.41 2 0.41 2
= +
263 95
q
= 2.430 × 10−6 + 18.626 × 10−6
= 4.589 × 10−3 .
A simple linear observation equation involving both multiplicative and additive errors
can often be used to describe the indications of simple measuring instruments.
w = Again V + Eoffset .
The meter is, of course, designed to measure the applied voltage, so it is reasonable
to assume that Again ≈ 1.0 and Eoffset ≈ 0.0 V. These values correspond to a per-
fect meter, but we can use them as estimates of the actual values, and include some
uncertainty to allow for the imperfect behaviour of a real meter.
28 an introduction to measurement uncertainty
The quantity of interest is the applied voltage V, so we can re-arrange the observation
equation to obtain a measurement model
V = (w − Eoffset )/Again .
This equation involves both subtraction and division, so it cannot be handled by just
one of the rules above: it must be decomposed.
As a first step, the difference between the indication and the offset
V1 = w − Eoffset
V2 = V1 /Again .
This is as far as we need to go. The result V2 happens to be the quantity of interest
(V = V2 ). So, the decomposition here has led to two simpler models.
u(eoffset ) = 0.05 V .
The measured value of applied voltage can be calculated by working through these
equations. First, calculate v1 , the estimate of V1 ,
Note that results obtained in the first step are needed in the second step.
The measurand, in this case, is the BAC of the test sample presented to
the instrument. The measurement error is the difference between the
nominal value (attributed to the sample) and the actual BAC (the
measurand). The error depends on things like sample preparation,
sample stability and environmental factors, but not the instrument’s
performance.3 A decision about whether an instrument is operating
correctly will depend on how accurately the BAC of the test sample
3
So, things like instrument noise,
digits in the digital display, etc, do
is known. The pre-determined range of acceptable values will take not contribute to the measurement
account of the variability in instrument performance. uncertainty in the BAC of the test
sample.
10.1 Overview
In this case, there are well-defined edges that are easy to compare
with ruler markings. However, in general, difficulty in locating end
points can contribute to measurement error.
Scale markings on the ruler vary slightly in width and are not
located at exactly the right positions. These imperfections introduce
using a ruler 35
errors.
parallax error
If one end of the ruler is used to locate one edge, an error may be
introduced due to the difficulty in aligning the end of the ruler with
the feature, and possibly also because of mechanical wear at the
end of the ruler.
36 an introduction to measurement uncertainty
Eres
The ruler and work piece should be allowed enough time to reach
a uniform temperature. Avoid handling the objects during the
measurement, as this can affect their temperature. The ambient
temperature should be measured.
The ruler and work piece should be aligned carefully. They should
be parallel and as close together as possible. Avoid using the end of
the ruler to make a measurement, because the rule may not be cut
accurately through the last scale marking, or the end may be worn.
Instead, take readings from a position that is perpendicular to the
work-piece feature and along the ruler scale.
The width of the smallest division, 1.0 mm, determines the range
of possible error. Using Table 3.1, this range can be converted to
a standard deviation
1.0
u(eres ) = √ = 0.29 mm .
12
X A = x A − EA .
L = ( x B − EB ) − ( x A − E A ) ,
L = x B − x A − ( EB − E A ) . (10.1)
x A = 123 mm
x B = 825 mm .
l = 825 − 123 − 0 + 0
= 702 mm .
When a pair of rounded readings are added, or subtracted, the error in the sum, or
difference, can be described by a triangular distribution (see §3.3.3).
The range of the reading error is 1.0 mm (half a division either side of the reading).
After subtracting one reading from the other, the range of possible error in the dif-
ference can be as much as 2.0 mm (one division either side of the difference between
readings).
2.0
√ = 0.41 mm .
24
This is the same number that we obtained for u(l ) above. In fact, the pair of round-
ing errors can be treated individually, or as a single error described by a triangular
distribution.
using a ruler 39
From the rough estimates in §10.4.2, we expect repeat measurements to vary by not
much more than 1 mm. A set of results like
However, much more variation would suggest that other errors are involved and that
these errors have magnitudes comparable to the size of scale divisions on the ruler.
For example, the following results exhibit too much variation to be explained by
resolution error alone
In this case a more careful assessment of the influences will be needed. It is possible
that some influences have been overlooked or that some of the influences already
identified have been underestimated.
40 an introduction to measurement uncertainty
The steel ruler was calibrated at 20 °C, but its length will change
and the scale will expand, or contract, if used at a different tempera-
ture.
The ruler was calibrated at 20 °C, but it will be used in an environment where the
temperature could be anywhere from 15 °C to 25 °C. At the limits of this range the
scale would have expanded, or contracted, by a factor of
0.058 mm/m .
So the range of possible error in a scale reading of a 700 mm feature is ±0.040 mm.
We will assume that the actual temperature is equally likely to be anywhere in the
range from 15 °C to 25 °C, so the unpredictable expansion ET can be described by a
uniform distribution.
The distribution is centred on our best estimate of the expansion error, eT = 0.0 mm.
The range of possible error, from −0.040 mm to 0.040 mm, must be converted to a
standard uncertainty using Table 3.1
0.080
u(eT ) = √ = 0.023 mm .
12
Comparing u(eT ) with the standard uncertainty associated with a rounding error,
u(eres ) = 0.41 mm ,
11.1 Overview
There are many factors that can influence the thermometer cali-
bration. Some are fatal in that, unless remedied, the measurement
should be abandoned.
• ensure that the operator waits a sufficient amount of time for the
calibration bath to reach operating temperature before reading
the thermometers;
So
d = 0.0052 °C .
The term Ed·ran in (11.8) represents the error associated with our
value of the sample mean due to variability in the readings. We
expect positive and negative variations to be equally likely, so our
best estimate of this error is
ed·ran = 0.0000 °C .
Ebath : this is also a residual error with best estimate ebath = 0 °C.
Routine measurements of the bath indicate that the maximum
temperature difference, between any two points located within
100 mm of each other, near the centre of the bath, is 0.01 °C.
If we assume that any temperature difference is equally likely, a
uniform distribution can be associated with this range.
The standard uncertainty associated with the bath non-uniformity
is
0.01
u(ebath ) = √ = 0.0029 °C .
12
11.6.3 Summary
and the three other influences, their estimates and uncertainties are
calibrating a thermometer 47
We can evaluate the measured value using the model (11.8) with the
mean of our observations and best estimates of the other influences
The measurement model (11.8) is additive, so, from §8.1, the com-
bined standard uncertainty of dglass as an estimate of Dglass is
q
u(dglass ) = u(ed·ran )2 + u(eprt·cal )2 + u(ebath )2 (11.9)
q
= (0.0019)2 + (0.0078)2 + (0.0029)2
= 0.0085 °C .
dglass = 0.0052 °C
with
u(dglass ) = 0.0085 °C .
There are some aspects of uncertainty analysis that have not been
discussed here, such as what to do when only a small sample of
observations is available,1 or when estimates of quantities are corre-
lated. However, the main difference in the way that these situations
1
This is known as finite degrees of
freedom in metrology vernacular.
must be handled is that a slightly more elaborate mathematical
process will be applied to the measurement model to calculate the
uncertainty.2 The calculations involved should present little diffi-
culty as long as the basic ideas described here are well understood.
2
There are software tools available that
take care of the mathematical details.