Industrial Instrumentation
Industrial Instrumentation
INSTRUMENTATION
Lecturer: Nguyen Duc Hoang
Department of Control & Automation
Faculty of Electrical & Electronics Engineering
Ho Chi Minh City University of Technology
Email: [email protected]
Chapter 3: Measurement Uncertainty
• Introduction
R1 = 400Ω R2 = 600Ω
R3 = 1000Ω R4 = 500Ω
R5 = 1000Ω Rm = 9500Ω
𝑥1 + 𝑥2 + ⋯ + 𝑥𝑛
𝑥𝑚𝑒𝑎𝑛 =
𝑛
𝑥𝑚𝑒𝑑𝑖𝑎𝑛 = 𝑥𝑛+1/2
Mean and Median Values
Example: the length of a steel bar is measured as follows:
Set A:
398 420 394 416 404 408 400 420 396 413 430
Set B:
409 406 402 407 405 404 407 404 407 407 408
Standard Deviation and Variance
• Examining how measurement values are distributed about the mean value.
• Variance
𝑑12 + 𝑑22 + ⋯ + 𝑑𝑛2
𝑉𝑠 =
𝑛
• Standard deviation
𝑑12 + 𝑑22 + ⋯ + 𝑑𝑛2
σ= 𝑉𝑠 =
𝑛
Where: 𝑑𝑖 = 𝑥𝑖 − 𝑥𝑚𝑒𝑎𝑛
Note: these formal definitions for the variance and standard deviation of
data are made with respect to an infinite population of data values .
Standard Deviation and Variance
• In all practical situations, we can only have a finite set of measurements.
• Applying the Bessel correction factor (n/n-1) to the formula for Vs
Set A:
398 420 394 416 404 408 400 420 396 413 430
Set B:
409 406 402 407 405 404 407 404 407 407 408
Gaussian (Normal) Distribution
• Measurement sets that only contain random errors usually conform to a distribution with a
particular shape that is called Gaussian
• A Gaussian curve:
1 − 𝑥−𝑚 2 /2𝜎2
𝐹 𝑥 = 𝑒
𝜎 2𝜋
• If the standard deviation is used as a unit of error, the Gaussian curve can be used to determine
the probability that the deviation in any particular measurement in a Gaussian data set is greater
than a certain value.
• The probability that the error lies in a band between error levels D1 and D2 can be expressed as:
𝐷2
1 −𝐷2 /2𝜎2
𝑃 𝐷1 ≤ 𝐷 ≤ 𝐷2 = න 𝑒 𝑑𝐷
𝐷1 𝜎 2𝜋
Where: 𝐷 = 𝑥 − 𝑚
Standard Gaussian curve (z distribution)
• Substitute 𝑧 = 𝐷/𝜎
𝑧2
1 −𝑧 2 /2
𝑃 𝐷1 ≤ 𝐷 ≤ 𝐷2 = 𝑃 𝑧1 ≤ 𝑧 ≤ 𝑧2 = න 𝑒 𝑑𝑧
𝑧1 𝜎 2𝜋
Standard Gaussian Tables (z Distribution)
Standard Gaussian Tables (z Distribution)
• Example : How many measurements in a data set subject to random errors lie outside
deviation boundaries of + σ and - σ , that is, how many measurements have a deviation
greater than |σ|?
• P(E<-σ)=F(-1)=1-F(1)=1-0.8413=0.1587
P(E> σ)=1-P(E< σ)=1-F(1)=1-0.8413=0.1587
• P(E< -σ)+P(E> σ)=0.1587+0.1587 = 0.3174 32%
Standard Gaussian Tables (z
Distribution)
• Example: The statistics of a well-defined varying voltage signal are given by
𝑥𝑚𝑒𝑎𝑛 = 8.5𝑉, 𝜎 2 = 2.25𝑉 2
𝛼 = 𝜎/ 𝑛
𝑥 = 𝑥𝑚𝑒𝑎𝑛 ± 𝛼
with 68% certainty that the magnitude of the error does not exceed ||.
Question:
𝑥 = 𝑥𝑚𝑒𝑎𝑛 ± 2𝛼
?% certainty that the magnitude of the error does not exceed |2|.
Standard Error of the Mean
• Example:compute the measurement value with 68% certainty that the
magnitude of the error does not exceed || and with 95.4% certainty that
the magnitude of the error does not exceed |2|
409 406 402 407 405 404 407 404 407 407 408 410
406 405 408 406 409 406 405 409 406 407 406
Estimation of Random Error in a Single
Measurement
• In many situations where measurements are subject to random errors, it is not practical
to take repeated measurements and find the average value.
• Also, the averaging process becomes invalid if the measured quantity does not remain
at a constant value, as is usually the case when process variables are being measured.
• Thus, if only one measurement can be made, need to estimate the likely magnitude of
error.
• Normal approach to this is to calculate the error within 95% confidence limits
(deviation of ±1.96σ)
• The maximum likely error in a single measurement can be expressed as:
𝑬𝒓𝒓𝒐𝒓 = ±𝟏. 𝟗𝟔 𝝈 + 𝜶
Estimation of Random Error in a Single
Measurement
• Example: Suppose that a standard mass is measured 30 times with the same
instrument to create a reference data set, and the calculated values of σ and
are σ = 0.46 and = 0.08. If the instrument is then used to measure an
unknown mass and the reading is 105.6 kg, how should the mass value be
expressed?
Aggregation of Measurement System
Errors
• Combined Effect of Systematic and Random Errors
System Components
Đo điện trở sử dụng Vôn kế và Ampe kế.
Biết Vôn kế có độ chính xác 1%, Ampe kế có
độ chính xác 2%.
Biểu diễn giá trị điện trở đo được nếu
Vôn kế chỉ 5V, Ampe kế chỉ 1A.
Biết một thiết bị đo chiều dài có độ chính xác 1%
được sử dụng để đo kích thước của một vật thể hình
khối.
Hãy biểu diễn khối lượng đo được nếu kích thước vật
thể đo được lần lượt là 1m, 2m, 3m.
Tỉ trọng vật 100g/cm3.
BT4
BT1
BT2