Presentation on theme: "MER331 – Lab 1 An Introduction to Uncertainty Analysis."— Presentation transcript:
MER331 – Lab 1 An Introduction to Uncertainty Analysis
Error Sources The measurement process consists of three dis- tinct steps: calibration, data acquisition, and data reduction –calibration error –data acquisition error –data reduction error
Uncertainty Analysis Error - difference between true value and measured value. Two general categories of error (exclude gross blunders) Fixed error – remove by calibration Random error – quantify by uncertainty analysis The term uncertainty is used to refer to a possible value that an error may have
Stages of Uncertainty Analysis 1.Design Stage Uncertainty Analysis Uncertainty analysis can be used to assist in the selection of equipment and procedures based on their relative performance and cost. 2.Advanced-Stage and Single Measurement Uncertainty Analysis Consider procedural and test control errors that affect the measurement
Uncertainty Analysis Example: Each group has a piece of paper and 2 measur- ement tools (labeled 1, 2). You must use one measurement tool to measure the height (H) and the other to measure width (W). Does it matter which tool you use to measure H? A = H*W ( H is the longer side) How do we estimate the uncertainty in our measurement of A? Step 1: Figure out the uncertainty in H and W. Step 2: Figure out how the uncertainty in H and W affects the uncertainty in A
Step 1 - Estimating Uncertainty Interval The general practice in engineering is 95% confidence of 20 to 1 odds. If you have a statistically significant sample use: ±2 for a 95% confidence interval.
Step 1 - Estimating Uncertainty Interval Use ± ½ smallest scale division as an estimate. ( this is called a 0 th order analysis) What do you do if you DONT have a statistically significant sample?
Step 1 - Estimating Uncertainty Interval What do we use for Rulers 1 and 2? Some nomenclature: H = height, W = Width H = uncertainty in H in units of H u H = percent uncertainty = H /H W = uncertainty in W in units of W u W = percent uncertainty = W /W
Step 2: How does the uncertainty in H and W affect uncertainty in A? The calculated result, R is assumed to be calculated from a set of measurements: R = f(X 1, X 2, X 3,…, X N ) In our case we would write this as: R = A, X 1 = H, X 2 = W or A = f(H,W) where f = H*W The effect of the uncertainty in a single measurement (i.e. one of the Xs) on the calculated result, R, if only that one X were in error is: Partial Derivative of R wrt X i - A Sensitivity Coefficient
Step 2: How does the uncertainty in H and W affect uncertainty in A? In our case: Now calculate the partial derivatives:
Step 2: How does the uncertainty in H and W affect uncertainty in A? When several independent variables (Xs) are used in calculating the Result, R, the individual terms are combined by a root-sum-square method (Method due to Kline and McClintock (1953))
Step 2: How does the uncertainty in H and W affect uncertainty in A? In our case we write this as: Now Calculate your uncertainties in A.
Uncertainty as a Percentage In most situations the overall uncertainty in a given result is dominated by only a few of its terms. Ignore terms that are smaller than the largest term by a factor of 3 or more. It is difficult (impossible) to compare errors with different units associated with them (e.g. how big is a 2 gram error compared to a 2 second error?) To solve this we nondimensionalize the errors:
So, as a percentage…
Uncertainty Analysis There are three sources of uncertainty in experimental measurements: 1. Interpolation uncertainty (zeroth order) 2. Unsteadiness (1 st order) 3. Instrument Calibration (Nth order)
Zero-Order Uncertainty At zero-order uncertainty, all variables and parameters that affect the outcome of the measurement, including time, are assumed to be fixed except for the physical act of observation itself. Any data scatter is the results of instrument resolution alone u o.
Higher-Order Uncertainty Higher order uncertainty estimates consider the controllability of the test operating conditions. For a first order estimate we might make a series of measurements over time and calculate the variation in that measurement. The first order uncertainty of that measurand is then: u 1 = ± 2 * at (95%) * Note: Assuming we make enough measurements
Nth-Order Uncertainty As the final estimate, instrument calibration characteristics are entered into the scheme through the instrument uncertainty, u c. A practical estimate of the Nth order uncertainty u N is: Uncertainty analyses at the Nth order allow for the direct comparison between results of similar tests obtained using different instruments or at different test facilities.
Zero- order Uncertainty u 0 = ±1/2 resolution Report Results at u N level Nth order Uncertainty First-order Uncertainty u 1 > u 0
Your Homework for Lab next week Next week in lab we will be measuring viscosity and density. You are to develop a tool* to calculate the uncertainty in your measurement of both. * tool can be in Matlab or Excel
Density Measurement You will measure density by measuring the volume and mass of the fluid. oThe volume, V, will be measured in a graduated cylinder. oThe mass, m, will be measured on a balance as the difference between the full m f and empty mass m e of the graduated cylinder. Density will be calculated as: fluid = (m f -m e )/V
Density Measurement Calculate the uncertainty in oEstimate uncertainty interval for each measured quantity, (m f, m e and V) oAnalyze the propagation of uncertainty into results calculated from experimental data. oCheck your results using m e = 100 ± 1g, m f = 150 ± 1g, and V = 94 ± 0.5 mL (I will ask for your answer in lab next week).
Viscosity Measurement You will estimate the viscosity of a fluid using a falling ball viscometer. The viscosity,, (in units of cp) is calculated as the product of the calibration constant, K, the time, t, and the difference between the falling ball and fluid density: = Kt( ball - fluid ) oYou will measure time using a stopwatch. oThe values of K and ball will be given to you.
Viscosity measurement. Calculate the uncertainty in oEstimate uncertainty interval for each measured quantity (t,, fluid ). oAnalyze the propagation of uncertainty into results calculated from experimental data. oTest your calculations for K = 5 ± 1 cp-mL/g- s, t = 30 ±.01s, ball = 5.2 ± 2 g/mL, and fluid = 1 ± 1g/mL