Component Interconnection and Signal Conditioning

Download Report

Transcript Component Interconnection and Signal Conditioning

Error Analysis
Accuracy
• Closeness to the true value
• Measurement Accuracy – determines the closeness of the measured
value to the true value
• Instrument Accuracy – related to the worst accuracy obtainable within
the dynamic range of the instrument in a specific operating
environment
error = (measured value) – (true value)
correction = (true value) – (measured value)
Causes for error: instrument instability, external noise (disturbances), poor
calibration, poor analytical models, parameter changes due
to environmental changes, and improper use of instrument
• Errors can be classified as deterministic (systematic) and random
(stochastic)
• Deterministic errors are caused by well-defined factors such as
• Nonlinearities
• Offsets in readings
• Can be accounted for by proper calibration and analysis practices –
calibration charts and error ratings
• Random errors are caused by uncertain factors such as
• Noise
• Unknown random variations in the operating environment
• Statistical analysis using a sufficiently large number of data is necessary
to estimate random errors
Precision
Reproducibility (or repeatability) of an instrument reading determines the
precision
Instrument error may be represented
as a random variable with
• Mean μe
• Standard deviation σe
X
X
X
o
X
o
o
X
o
X
X
o
o
o
X
o
If the standard deviation is zero the error is deterministic or repeatable
Precision = (measurement range)/σe
Review of Probability and Statistics
Cumulative Probability Density Function
F ( x )  P( X  x )
Probability Density Function
F(x)
1
0
X
f(x)
dF ( x)
f ( x) 
dx
x
F ( x)   f ( x)dx
Area = 1

0
Mean
Value
X
Probability that a random variable falls within two values
P(a  X  b)  F (b)  F (a)
b
a


  f ( x)dx   f ( x)dx
b
  f ( x)dx
a
Mean Value (Expected Value)

  E ( X )   xf ( x)dx

Mean Square Value

E ( X )   x 2 f ( x)dx
2

Variance and Standard Deviation
Var ( X )   2  E{[ X  E ( X )]2 }
 2  E( X 2 )   2

Var ( X )   ( x   ) 2 f ( x)dx

f(x)
0
X
Some Properties
If f(x) is pdf of X the mean and variance of aX + b
aμ + b
a2Var(X)
Independent Random Variables
Random variables X1 and X2 are said to be independent if the event X1
assumes a certain value is completely independent from the event X2
assumes a certain value.
For independent Random variables X1 and X2
E( X1 X 2 )  E( X1 ) E( X 2 )
Var( X 1  X 2 )  Var( X 1 )  Var( X 2 )
Sample Mean
1
X
N
N
X
i 1
i
Sample Variance
N
1
2
S2 
(
X

X
)
 i
N  1 i 1
Unbiased Estimates
E( X )  
E(S 2 )   2
Example 2.6
An instrument has a response x that is random, with standard deviation σ. A set
of N independent measurements {X1, X2,…….,XN} is made and the sample
mean X is computed. Show that the standard deviation of X is  N
Also, a measuring instrument produces a random error whose standard
deviation is 1%. How many measurements should be averaged in order to
reduce the standard deviation of error to less than 0.05%?
Gaussian (Normal) Distribution
• Most extensively used probability distribution in engineering applications
• Probability density function is given by

1
f ( x) 
e
2 
( x )2
2 2
Central Limit Theorem
A random variable that is formed by summing a very large number of
independent random variables takes Gaussian distribution in the limit.
Standard Normal Distribution
1
f ( z) 
e
2
z2

2
Z
X 

E (Z )  0
Var ( Z )  1
Statistical Process Control (SPC)
• Statistical analysis of process responses is used to generate control actions
• Applications include manufacturing quality control, control of chemical process
plants, enterprise resource planning systems, and urban transit control
systems
• Major step in SPC is to compute control limits (or action lines) on the basis of
measured data from the process
• Since high percentage of data is within ±3σ about the mean value, control
limits or action lines are considered to be these boundaries
Steps of SPC
1. Collect measurements of appropriate response variables of the process
2. Compute the mean and standard deviation of data and the upper and
lower control limits
3. Plot the measured data and the two control limits
4. If measurements fall outside the control limits, take corrective action and
repeat control cycle
If the measurements are within the control limits, the process is in statistical control
Example 2.7
Error in a satellite tracking system was monitored on-line for a period of one hour
to determine whether recalibration or gain adjustment of the tracking controller
would be necessary. Four measurements of the tracking deviation were taken in a
period of five minutes, and twelve such data groups were acquired during the one
hour period. Sample means and sample variances of the twelve groups of data
were computed. The results are tabulated as follows:
Period
i
1
2
3
4
5
6
7
8
9
10
11
12
Sample
Mean
1.34
1.10
1.20
1.15
1.30
1.12
1.26
1.10
1.15
1.32
1.35
1.18
Sample
Variance
0.11
0.02
0.08
0.10
0.09
0.02
0.06
0.05
0.08
0.12
0.03
0.07
Draw a control chart for the error process with control limits at X  3 . Establish
whether the tracking controller is in statistical control or needs adjustment.
Confidence Intervals
• The probability that the value of a random variable falls within a certain interval
is called a confidence level
• Consider a Gaussian random variable with mean μ and standard deviation σ
• Suppose N measurements {X1, X2,……,XN} are made. The sample mean X is
an unbiased estimate for μ and the standard deviation of X is  N .
• Consider the normalized random variable
Z
X 
 N
• The probability that the values of Z falls within ±z0 is
P( z0  Z  z0 )  p
• For a given value of z0 this can be determined from the table
X 
P(  z0 
 z0 )  p
 N
z0
z0
or P( X 
X 
) p
N
N
Example 2.8
The angular resolution of a resolver (a rotary displacement sensor) was tested
16 times independently and recorded in degrees as follows:
0.11
0.12
0.09
0.10
0.10
0.14
0.08
0.08
0.13
0.10
0.10
0.12
0.08
0.09
0.11
0.15
If the standard deviation of the angular resolution of this brand of resolvers is
known to be 0.01o, what are the odds that the mean resolution would fall within
5% of the sample mean?
Error Combination
• Error in a response variable would depend on errors present in measured
variables and parameter values that are used to determine the unknown
response variable.
• For example, if the output power of a gas turbine is to be computed by measuring
torque and speed at the output shaft, errors in two measured variable would
directly contribute to the error in power computation.
• In general if
y  f ( x1 , x2 ,.....,xr )
f
f
f
y 
x1 
x2  ......
xr
x1
x2
xr
 xi f xi 
 

y i 1  y xi xi 
y
r
Absolute Error
r
eABS  
i 1
xi f
ei
y xi
This is an upper bound for the overall error
SRSS Error – Square Root of Sum of Squares Error
Since absolute error is a conservative upper bound an error that is used in
practice is SRSS and is defined as
2 12
eSRSS
 r  x f  
   i
ei  
 i 1  y xi  
Example 2.10
Using the absolute value method for error combination, determine the fractional
error in each item xi so that the contribution from each item to the overall error
eABS is the same.
This result is useful in the design of multicomponent systems and in the cost
effective selection of instrumentation for a particular application.