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 X X o o X o X X o o X o X o X o Instrument error may be represented as a random variable with • Mean

μ e

• Standard deviation

σ e

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)

1

F

(

x

) 

P

(

X

x

) Probability Density Function

f

(

x

) 

dF

(

x

)

dx F

(

x

)   

x

f

(

x

)

dx

0

f(x)

Area = 1 0 Mean Value

X X

Probability that a random variable falls within two values

P

(

a

X

b

) 

F

(

b

) 

F

(

a

)   

b

f

(

x

)

dx

  

a

f

(

x

)

dx

 

a b f

(

x

)

dx

Mean Value (Expected Value)  

E

(

X

)     

xf

(

x

)

dx

Mean Square Value

E

(

X

2 )     

x

2

f

(

x

)

dx

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 a 2 Var(X)

Independent Random Variables

Random variables

X 1

and

X 2

are said to be independent if the event

X 1

assumes a certain value is completely independent from the event

X 2

assumes a certain value.

For independent Random variables

X 1

and

X 2 E

(

X

1

X

2 )

Var

(

X

1  

X

2

E

(

X

1 )

E

(

X

2 ) ) 

Var

(

X

1 ) 

Var

(

X

2 )

Sample Mean

X

 1

N i N

  1

X i

Sample Variance

S

2 

N

1  1

i N

  1 (

X i

X

) 2 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 {

X X 1 , X 2 ,…….,X N

} is made and the sample mean is computed. Show that the standard deviation of is 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

f

(

x

)  1 2  

e

 (

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

f

(

z

)

1 2

e

z

2 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 Sample Mean 1 1.34

2 3 1.10

1.20

4 1.15

Sample Variance 0.11

0.02

0.08

0.10

5 1.30

1.12

1.26

1.10

1.15

1.32

1.35

1.18

0.09

6 0.02

7 0.06

8 0.05

9 10 0.08

0.12

11 12 0.03

0.07

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 {X an unbiased estimate for 1 , X 2 ,……,X N } are made. The sample mean is

X

N

• Consider the normalized random variable

Z

 

X

 

N

• The probability that the values of Z falls within ±z 0 is

P

( 

z

0 

Z

z

0 ) 

p

• For a given value of z 0 this can be determined from the table

P

( 

z

0  

X

 

N

z

0 ) 

p

or

P

(

X

z

0 

N

  

X

z

0 

N

) 

p

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.13

0.12

0.10

0.09

0.10

0.10

0.12

0.10

0.08

0.14

0.09

0.08

0.11

0.08

0.15

If the standard deviation of the angular resolution of this brand of resolvers is known to be 0.01

o , 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

y

 

f

(

x

1

,

f

x

1

x

2

,.....,

x

1  

f

x

2

x r

)

x

2 

......

 

f

x r

y y

i r

  1  

x i y

f

x i

x i

 

x i

x r

Absolute Error

e

ABS 

i r

  1

x i y

f

x i e i

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

e

SRSS    

i r

  1  

x i y

f

x i e i

  2  1   2

Example 2.10

Using the absolute value method for error combination, determine the fractional error in each item x

e

ABS is the same.

i so that the contribution from each item to the overall error This result is useful in the design of multicomponent systems and in the cost effective selection of instrumentation for a particular application.