Uncertainty Analysis - B PDF
Uncertainty Analysis - B PDF
Uncertainty Analysis
3
4 http://berkeleysciencereview.com/wp-content/uploads/2014/04/to_err_is_human_by_velica-d4i9wjr.jpg
Uncertainty Analysis
Estimating the quality of a test result
Answer the question: “± 𝒘𝒉𝒂𝒕?”
6
Uncertainty Analysis
Error is an inherent property of the measurement.
Error is the difference between the measurement and the true
value.
7
Uncertainty Analysis
We will discuss a systematic approach for identifying,
quantifying, and combining the estimates of the errors in a
measurement.
*9 Available on Bb.
Measurement Errors
Errors are grouped into two categories:
systematic error and random error
11
Assumptions of Uncertainty
Analysis
Test objective is known and measurement process is well
defined
12
Uncertainty Analysis
Three measurement situations will be considered:
Design stage
where tests are planned but information is limited
Considers only the resolution and calibration errors
Multiple measurements
where all available test information is combined to assess the
uncertainty in a test result
13
Design stage uncertainty
Performed initially when tests are planned when
information is somewhat limited,
14
Zero-order & Instrument Uncertainty
Even when all errors are zero, the value of the measurand
must be affected by the ability to resolve the information
provided by the instrument. This is called zero-order
uncertainty (Interpolation Error). At zero-order, we
assume that the variation expected in the measurand will be
less than that caused by the instrument resolution. And that
all other aspects of the measurement are perfectly
controlled (ideal conditions)
1
u0 resolution = 1 LSD (Least significant digit)
2
Instrument uncertainty, uc, estimates systematic
uncertainty of the instrument (instrument calibration errors).
May be composed of several elemental errors.
15
More on Zero-order uncertainty
Analog: ½ cm
ud u0 uc
2 2 2
19
Design stage uncertainty
Example:
Consider a temperature probe with the following specifications:
hysteresis : ±0.1°C
linearization error : ±0.2% of reading
resolution : 0.05°C
zero offset error : ±0.03°C
20
Design stage uncertainty
Solution:
Identify the sources of error:
hysteresis : ±0.1°C Systematic
linearization error : ±0.2% of reading Systematic
resolution : 0.05°C Random
zero offset error : ±0.03°C Systematic
21
Example
*
*
22
* “over” the range, not “of FSO”
Another Example
*
*
23
* Here “mV/psi” implies “of the reading” over the entire range
Another Example
Pressure
Voltmeter
transducer
Design-stage uncertainty
analysis shows us that a
better transducer, not a better
voltmeter, is needed if we
must improve the uncertainty
in this measurement!
24
Sources of error
Coincide with three distinct stages of the measurement
process:
Calibration errors
Measurement
Data acquisition errors process
Data reduction errors
25
Calibration errors
Occur during the calibration of the measuring system
26
Data acquisition errors
Occur during actual measurement(s)
27
Data reduction errors
Errors introduced in how data are handled following
collection
Example: Curve fit error, truncation error, interpolation
error, modeling error etc.
Systematic and random errors in each element
28
Systematic uncertainty
Systematic (bias) error is constant in repeated
measurements
Systematic “standard” uncertainty
±b (confidence level of one 𝜎; 68% probability level for normal
distribution)
Systematic uncertainty
±2b (confidence level of 2𝜎; 95% probability level for normal
distribution)
29
t-table
Systematic uncertainty
30
Random uncertainty
Manifested as scatter of the measured data (easily
observed)
31
Uncertainty Analysis: Propagation of Error
Is Q more sensitive to V or t?
33
Propagation of error
Known:
• 𝑦 = 𝑓(𝑥)
• We measure x a number of times at some operating condition to establish its
mean value 𝑥ҧ and uncertainty 𝑢𝑥 .
• True value of 𝑥 lies somewhere within the interval 𝑥ҧ ±𝑢𝑥
y y f ( x ux )
34
Taylor Series expansion
y y f ( x ux )
35
Propagation of error
y y f ( x ux )
Taylor Series expansion:
dy 1 d2y
f ( x u x ) f ( x ) ( ) x x u x ( 2 ) x x u x 2 ...
dx 2 dx
dy 1 d2y
y y f ( x ) ( ) x x u x ( 2 ) x x u x ...
2
dx 2 dx
uy y
dy
u y ( ) x x ux
dx
37
Multi-variable Error Propagation
Can generalize previous idea by extending to 𝐿 independent variables
Single variable (x) Multiple variables (xi, i=1, 2, …, L)
L
2
1/2
R
uR (i u xi ) where i
i 1 xi xx
39
1/2
L
uR (i u xi )2
Example i 1
R
i
xi xx
40
Approximating a Sensitivity Index:
Dithering*
Apply a small perturbation to an input variable
Useful when:
The input-output relationship is from an experimental or numerical
model
Analytical differentiation is complicated
Analytical solution
2( )
43
Propagation of Uncertainty (Numerical Approach):
Sequential Perturbation
Uses the finite difference to approximate the derivatives (sensitivity index)
Establish the
operating point
𝑅ത + 𝛿𝑦
45
Propagation of Uncertainty (Numerical Approach):
Sequential Perturbation
𝑅ത − 𝛿𝑦
46
Propagation of Uncertainty (Numerical Approach):
Sequential Perturbation
47
Propagation of Uncertainty (Numerical Approach):
Sequential Perturbation
1/2
L
uR (i u xi )2
i 1
R R uR
48
Example
1.
2.
3.
4.
Operating point
49 Operating
Point
Advanced-stage uncertainty analysis
(Single measurement uncertainty analysis)
51
Multiple measurement uncertainty analysis
Assesses uncertainty of a variable based on a set of
measurements
Major steps:
Identify elemental errors (error sources)
Estimate systematic and random error in each
Estimate the uncertainty of the result
57
Multiple measurement uncertainty analysis
59
Propagation of Elemental Errors
coverage factor
expanded uncertainty in x at P%
Standard
Uncertainties
(68%)
60
Example
The uncertainty due to data scatter here could be classified as being due to a
temporal variation error
61
Example
𝐵1 = ±2𝑏1 = ±0.20 𝑁
force measuring instrument
62 Systematic
Uncertainty
Example
63
Example
64
65
Propagation of uncertainty to a “result”
Consider R = f(xn), n=1 to L , L is # of independent variables
No θ
67 * When the degrees of freedom in each of the variables, xi, is not the same.
Uncertainty Analysis Procedure
Define the measurement process
ASME
68 (1998) Test Uncertainty Part 1, ASME Power Test Code, 19.1-1998
psfa: pounds per square foot absolute
Example
71
Example
[TEMPERATURE] data-acquisition source error in temperature.
Temporal
variation
72
Example
Combine
(11.27) 11.27 psfa
Higher contribution by pressure
Highest contribution overall
73
Example
Propagation to the result
𝜕𝜌 𝑝 1
=−
𝜕𝑇 𝑅 𝑇2
𝜕𝜌 1
=
𝜕𝑝 𝑅𝑇
74
~0 (Assume large degrees of freedom) 𝜈
(3.54%)
relative uncertainty (of the reading)
COMMENTS (1) We did not consider the uncertainty associated with our assumption of
exact ideal gas behavior, a potential modeling error. (2) Note how pressure contributes
more to either standard uncertainty than does temperature and that the systematic
uncertainty is small compared to the random uncertainty. The uncertainty in density is best
reduced by actions to reduce the effects of the random errors on the pressure
measurements.
75
Researcher mistakes are not included.
Example
The mean temperature in an oven is to be estimated by using
the information obtained from a temperature probe. The
manufacturer states an uncertainty of ∓0.6°C (95%) for this
probe. Determine the oven temperature.
A measurement procedure
Sources of Error:
76
=?
Measurements
10 measurements are
made at each position.
77
Mean oven temperature (pooled)
𝐵1 = ±2𝑏1 = ± 0.6°C
78
[Error source II] Spatial variation (where in the oven we are
measuring the temperature), i.e., the spatial error contribution
to the estimate of the mean temperature 𝑇. ത
mean temperatures
at each measured
location
79
Assessing the spatial variation as a systematic uncertainty wouldn’t change the
overall uncertainty. It is more important to recognize and include the source of
error than to classify it.
No systematic uncertainty
80 associated with spatial variation
[Error source III] Temporal variation (just sit back and see the
temperature measurements scatter)
Time variations in probe output during each of the 10 measurements at each
location cause data scatter, as evidenced by the respective 𝑠𝑇𝑚 values.
82
The combined standard uncertainty
Welch-Satterthwaite formula
84
Systematic (Correlated) Error
H of these K elemental errors are correlated between variables while the rest (K – H) are
uncorrelated.
85
Random (Correlated) Error
H of these K elemental errors are correlated between variables while the rest (K – H) are
uncorrelated.
r
Example
88
Example
𝛿12 = 0 𝛿13 = 0
89
Example
𝜃𝑋 = 𝜃𝑌 = 1
systematic standard uncertainty is estimated as
# of independent variables
90
229.4% of uncorrelated
Effect of correlated errors depends on the
functional relationship
In this case, the correlated systematic errors have a large impact on the systematic
uncertainty. This is not always the case as it depends on the functional relationship
itself. If R = X/Y, then the covariance term in this problem would have little impact on
the systematic standard uncertainty in the result.
𝑋 1 1 𝑋ത 10.1
𝑅= 𝜃𝑋ത = = = 0.082 𝜃𝑌ത = − 2 = − = −0.068
𝑌 𝑌ത 12.2 𝑌ത 12.22
92
Example:
Uncorrelated errors
93
Example:
Uncorrelated errors
94
Example:
Uncorrelated errors
Case 2 provides the smaller uncertainty at the design-stage. We should proceed using this design.
95
Example:
Correlated errors
Suppose the resistors are certified by the manufacturer
to have specifications based on a common calibration.
Assume the errors are correlated systematic errors
96
Example:
Correlated errors
99
Monte Carlo simulation for Uncertainty
Same procedure as finding the PDF of the result of a
functional relationship
100
Example
Standard (68%)
𝐸 = 100.003 ∓ 10.411 V
Expanded (95%)
( 𝑡𝜈,95 = 1.96)
𝐸 = 100.003 ∓ 20.406 V
102