Instrumentation: (And Process Control)
Instrumentation: (And Process Control)
&
Process Control) Uncertainty
Fall 1393
Bonab University
Error
• Errors:
• Arise during the measurement process *
• Arise due to later corruption of the measurement signal (by induced noise during transfer of the signal)
• In any measurement system it’s important to:
• Reduce errors to the minimum possible level
• quantify the maximum remaining error that may exist in output reading
• What if system final output is calculated by combining together two or more measurements?
• How each separate measurement error be combined best estimate of the final output error
• Systematic:
• Describe errors in the output readings that are consistently on one side of the correct
reading, that is, either all errors are positive or are all negative
• System disturbance during measurement
• The effect of environmental changes
• Bent needles, use of uncalibrated instruments, drift, poor cabling, …
• The remaining is quantified by the quoted accuracy
• Random:
• (precision errors) are perturbations of the measurement in either side of the true value
caused by random and unpredictable effects, such that positive errors and negative errors
occur in approximately equal numbers
• mainly small, but large perturbations occur from time to time
• Human observation of analog device + interpolation
• Electrical noise
• Can be largely removed by: many measurements averaging or other statistical techniques
• The best way is to express them in probabilistic terms (say, 95% CI)
3
Error
• Example:
R1 = 400 O; R2 = 600 O; R3 = 1000 O;
R4 = 500 O; R5 = 1000 O
The voltage across AB is measured by a voltmeter whose internal
resistance is 9500 O. What is the measurement error caused
by the resistance of the measuring instrument?
• Solution:
RAB=500
5
Error
6
Error
• Systematic errors can frequently develop over a period of time because of wear in
instrument components
• Recalibration often provides a full solution
7
Error
8
Error
• High-Gain Feedback
• Unknown voltage Ei is applied to
• A motor of torque constant Km
• Resistance spring constant Ks
• Effect of environment on motor/spring = Dm/DS
9
Error
• High-Gain Feedback
• No environment input: displacement Xo = KmKsEi , but changes with environment
high Ka
• Signal Filtering
• Example: passive RC LP filter
• Intelligent Instruments
• Contain extra sensors that measure the value of environmental inputs
• Automatically compensate the value of the output reading
• ability to deal very effectively with systematic errors (explained later)
11
Error
• Do all practical steps have been taken to eliminate or reduce the magnitude of
systematic errors? quantify the maximum likely systematic error
• Calibration errors
• The maximum error just before the instrument is due for recalibration becomes the
basis for estimating the maximum likely error
12
Error
• Calibration errors
• Example (a pressure transducer ):
• Recalibration frequency: once the measurement error has grown to +1% of the full-scale
• Range: 0 to 10 bar
• How can its inaccuracy be expressed in the form of a ±x% error in the output reading?
• Solution:
• Just before recalibration: error grown to +0.1 bar (1% of 10 bar)
• Half this maximum error, 0.05 bar, should be subtracted from all measurements
• Error:
• just after calibration: -0.05 bar ( -0.5% of FSR)
• just before the next recalibration: +0.05 bar (+0.5% of FSR)
• Inaccuracy due to calibration error: ±0.05% of FSR
13
Error
• worst-case prediction of maximum error: simply add up each separate systematic error
• Example: 3 components of systematic error with a magnitude of ±1% each, a worst-case prediction
error: sum of the separate errors = ±3%
• However, it is very unlikely that all components be at their max/min simultaneously
• Usual course of action: combine separate sources root-sum-squares method
• n components:
• Example:
• 3 separate sources of systematic error are identified in a measurement system
• After reducing the magnitude of these errors as much as possible, the magnitudes of the three errors
are estimated:
• System loading: +1.2% (Xm-Xt)
• Environmental changes: 0.8%
• Calibration error: 0.5%
• Calculate the maximum possible total systematic error and the likely system error by the root-sum-
square method.
• Solution:
• The maximum possible system error = ±(1.2 + 0.8 + 0.5)% = ±2.5%
• Applying the root-sum-square: likely error = ± √1.22 + 0.82 + 0.52 = ±1.53%
15
Error
• Small perturbations either side of the correct value (positive & negative errors
occur in approximately equal numbers) largely eliminated by averaging
• (but ≠ 0, reason: finite number of measurements)
• The degree of confidence (how close mean value is to the correct value)?
• can be indicated by standard deviation or variance
• parameters describing distribution about the mean value
16
Error
&
Statistical Analysis of Measurements Subject to Random Errors Uncertainty
398 420 394 416 404 408 400 420 396 413 430 409 408 • Which one more
A confidence?
B 409 406 402 407 405 404 407 404 407 407 408 406 407 • Low-Spread: say range
409 406 402 407 405 404 407 404 407 407 408 406.5 406 430-394=36 vs 409-402=7
C
406 410 406 405 408 406 409 406 405 409 406 407 • Median closer
to mean
17
Error
&
Statistical Analysis of Measurements Subject to Random Errors Uncertainty
• We examined: how measurements with random errors are distributed about the
mean
• However, we know: error exists (mean value of a finite set - true value)
• Question:
Mean of 10
• if we use the mean value of a finite set of measurements to
predict the true value what is the likely error?
• S.d. of error = α 68% of deviations around true value within ±α
21
Error
• Question:
• if we use the mean value of a finite set of measurements to
predict the true value what is the likely error?
• S.d. of error = α 68% of deviations around true value within ±α
• Means: with 68% certainty that the magnitude of the error
does not exceed |α|
• For data set C , n = 23, σ = 1.88 α = 0.39
• The length (average): 406.5 ± 0.4 (68% confidence limit)
Not so good
22
Error
&
Estimation of Random Error in a Single Measurement (n=1) Uncertainty
• Example:
• A standard mass is measured 30 times (same instrument), σ=0.46 α=0.08
• Now, measure an unknown mass 105.6 kg, how should the mass value be expressed?
• Solution:
• ± 1.96(σ+α) = ±1.06 mass: 105.6±1.06 kg
23
Error
• Threshold: ±3σ 60
• Practical problem: 80 20
• When a new dataset is measured (S.D. is not known)
100
• It’s possible to have outlier in measurements
• Simple solution:
120 40
• Example: as S = y + z
25
Error
• Example: A circuit requirement for a resistance of 550 (2 resistors of nominal values 220
and 330 in series)
• If each resistor has a tolerance of ±2%, the error in the sum?
• It can be shown that the error (e) for subtraction is the same
26