Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Static Calibration Errors: Engineering Testing & Measurements

Static Calibration Errors: Engineering Testing & Measurements

This notebook demonstrates the application of the Guide to the Expression of Uncertainty in Measurement (GUM) framework for static calibration errors in two examples: an Orifice Flow Meter and a Cylindrical Storage Tank.

Orifice FlowmeterOrifice Scheme

Part 1: Calibration Example: Orifice Flow Meter

1.1 Orifice Flow Meter Theory

The flow rate QQ through an orifice plate is determined by several measured quantities. The relationship is governed by the following formulae:

1. Ratio of the orifice diameter d2d_2 to the pipe diameter d1d_1 (β\beta):

β=d2d1\beta = \frac{d_2}{d_1}

2. Volumetric Flow Rate (QQ):

The formula for the mass flow rate QQ (in kg/s\text{kg/s}) based on the pressure drop Δp\Delta p is given by:

Q=C1β4ϵπ4d122ρΔpQ = \frac{C}{\sqrt{1 - \beta^4}} \epsilon \frac{\pi}{4} d_1^2 \sqrt{2 \rho \Delta p}

Where:

  • CC: Discharge coefficient (accounts for friction)

  • ϵ\epsilon: Expansibility factor (for compressible fluids)

  • d1d_1: Pipe diameter

  • d2d_2: Orifice diameter

  • ρ\rho: Fluid density

  • Δp\Delta p: Pressure drop across the orifice (in Pa\text{Pa})

1.2 Input Values and Uncertainties

The following values and their corresponding Expanded Uncertainties (UU) are provided for the flow meter calibration (Slides 4 and 5). Note that for calculations, we convert Δp\Delta p from kPa\text{kPa} to Pa\text{Pa} (SI\text{SI} base unit).

Quantity (XiX_i)SymbolValue (YY)UnitsExpanded Uncertainty (UU)Coverage Factor (kk)
Discharge coefficientCC0.6-0.0032.0
Expansibility factorϵ\epsilon0.997-0.000272.0
Pipe diameterd1d_10.5m\text{m}0.00011.73
Orifice diameterd2d_20.3m\text{m}0.000011.73
Pressure dropΔp\Delta p50.0kPa\text{kPa}1002.0
Densityρ\rho48.7kg/m3\text{kg/m}^30.1462.0

Python Setup and Variable Initialization

We will use the given values to calculate the flow rate QQ and its associated combined standard uncertainty uc(Q)u_c(Q).

import numpy as np

# --- Input Values (Slide 4) ---
C = 0.6          # Discharge coefficient
epsilon = 0.997  # Expansibility factor
d1 = 0.5         # Pipe diameter (m)
d2 = 0.3         # Orifice diameter (m)
delta_p_kPa = 50.0
delta_p = delta_p_kPa * 1000 # Convert to Pa (50,000 Pa)
rho = 48.7       # Density (kg/m^3)
pi = np.pi

# --- Expanded Uncertainties U and Coverage Factors k (Slide 5 & 6) ---
U_C = 0.003; k_C = 2.0
U_epsilon = 0.00027; k_epsilon = 2.0
U_d1 = 0.0001; k_d1 = 1.73
U_d2 = 0.00001; k_d2 = 1.73
U_delta_p = 100; k_delta_p = 2.0 # U for delta_p in Pa
U_rho = 0.146; k_rho = 2.0

1.3 Flow Rate Calculation

First, calculate the diameter ratio β\beta and the theoretical flow rate QQ.

# 1. Calculate diameter ratio beta
beta = d2 / d1
beta_squared = beta**2
beta_fourth = beta**4

# 2. Calculate Flow Rate Q (Calibrated Flow Rate from Slide 4 is 100.0 kg/s)
# Q = [C / sqrt(1 - beta^4)] * [epsilon * pi/4 * d1^2] * [sqrt(2 * rho * delta_p)]
Q_term1 = C / np.sqrt(1 - beta_fourth)
Q_term2 = epsilon * (pi/4) * d1**2
Q_term3 = np.sqrt(2 * rho * delta_p)

Q = Q_term1 * Q_term2 * Q_term3

print(f"Beta (β): {beta:.3f}")
print(f"Calculated Flow Rate (Q): {Q:.1f} kg/s")
# Note: The calculated value (100.0 kg/s) matches the Calibrated Flow Rate in Slide 4.

1.4 Uncertainty Budget (GUM Framework)

The combined standard uncertainty uc(Q)u_c(Q) is calculated using the formula:

uc(Q)=i=1N(ciui)2u_c(Q) = \sqrt{\sum_{i=1}^{N} (c_i u_i)^2}

Where:

  • uiu_i: Standard uncertainty for input quantity XiX_i (ui=Ui/kiu_i = U_i / k_i).

  • cic_i: Sensitivity coefficient (ci=QXic_i = \frac{\partial Q}{\partial X_i})

  • ciuic_i u_i: Uncertainty contribution to QQ.

The table below (from Slide 6) summarizes the step-by-step calculation.

QuantityValue (YY)UUkku=U/ku = U/kccucu \cdot c(uc)2(u \cdot c)^2
CC0.60.00320.00151670.250.0628
ϵ\epsilon0.9970.0002720.000131000.01350.0002
d1d_10.50.00011.735.78E-55.78\text{E-}5-60-0.00351.20E-51.20\text{E-}5
d2d_20.30.000011.735.78E-65.78\text{E-}67660.00441.96E-51.96\text{E-}5
Δp\Delta p50,00050,0001002500.0010.050.0025
ρ\rho48.70.14620.073051.030.0750.0057
QQ100.00.53320.26710.2670.0711

Calculations based on the Table

We can verify the combined uncertainty uc(Q)u_c(Q) by summing the squared contributions.

# --- Standard Uncertainties (u = U/k) ---
u_C = U_C / k_C
u_epsilon = U_epsilon / k_epsilon
u_d1 = U_d1 / k_d1
u_d2 = U_d2 / k_d2
u_delta_p = U_delta_p / k_delta_p
u_rho = U_rho / k_rho

# --- Sensitivity Coefficients (c) from the table (Slide 6) ---
c_C = 167
c_epsilon = 100
c_d1 = -60
c_d2 = 766
c_delta_p = 0.001
c_rho = 1.03

# --- Squared Uncertainty Contributions (u*c)^2 from the table (Slide 6) ---
uc2_C = 0.0628
uc2_epsilon = 0.0002
uc2_d1 = 1.20E-5
uc2_d2 = 1.96E-5
uc2_delta_p = 0.0025
uc2_rho = 0.0057

# --- 7. Calculate Combined Squared Uncertainty Summation ---
sum_uc_squared = uc2_C + uc2_epsilon + uc2_d1 + uc2_d2 + uc2_delta_p + uc2_rho

# --- 8. Calculate Combined Standard Uncertainty (u_c) ---
u_c_Q = np.sqrt(sum_uc_squared)

# --- Final Expanded Uncertainty (U_Q) ---
# The table uses k=2 for the final Expanded Uncertainty (U = k * u_c).
k_final = 2
U_Q = k_final * u_c_Q

print(f"Sum of Squared Contributions (Σ(u·c)²): {sum_uc_squared:.4f} (Matches 0.0711 from table)")
print(f"Combined Standard Uncertainty (u_c): {u_c_Q:.3f} (Matches 0.267 from table)")
print(f"Expanded Uncertainty (U) for Q (k=2): {U_Q:.3f} (Matches 0.533 from table)")

# Final result for the flow rate: Q = 100.0 ± 0.533 kg/s (k=2)

Part 2: Calibration Example: Cylindrical Storage Tank

2.1 Volume and Thermal Expansion

The second example deals with calculating the volume of a cylindrical storage tank.

1. Governing Equation for Volume (VV):

V=πd2h4V = \frac{\pi d^2 h}{4}

Where:

  • dd: Diameter

  • hh: Height

2. Thermal Expansion Correction:

If the measurement is taken at a temperature TmeasT_{\text{meas}} different from a standard reference temperature (e.g., 15C15^\circ \text{C}), a correction for thermal expansion must be applied to the measured volume VmeasV_{\text{meas}}.

V15=Vmeas(1+α(Tmeas15))V_{15} = \frac{V_{\text{meas}}}{(1 + \alpha(T_{\text{meas}} - 15))}

Where α\alpha is the cubical expansion coefficient. This correction introduces two new uncertainty sources: α\alpha and TmeasT_{\text{meas}}.

2.2 Uncertainty Budget (Uncorrelated Measurements)

This section examines the uncertainty budget for the final corrected volume, assuming all measurement sources are uncorrelated.

SourceUUkkuuccucu \cdot c(uc)2(u \cdot c)^2
Calibration (Diameter)0.0482.000.02439.960.9550.920
Determination (Diameter)--0.02139.960.8390.704
Time drift (Diameter)0.0051.730.00339.960.1150.013
Calibration (Height)0.1002.000.05018.100.9050.819
Resolution (Height)0.0261.730.01518.100.2720.074
Time drift (Height)0.0101.730.00618.100.1040.011
Temperature (TT)0.5502.000.275-0.004-0.0011.21E-61.21\text{E-}6
Cubical Expansion (α\alpha)2.25E-62.25\text{E-}61.731.3E-61.3\text{E-}6-1437-0.0023.49E-63.49\text{E-}6
Volume (VV)3.1882.001.59411.5942.541

In the uncorrelated case, the combined standard uncertainty uc(V)u_c(V) is calculated by taking the square root of the sum of the values in the (uc)2(u \cdot c)^2 column (Total sum 2.541).

uc(V)uncorr=2.5411.594u_c(V)_{\text{uncorr}} = \sqrt{2.541} \approx 1.594

The Expanded Uncertainty UU is then calculated with k=2.00k=2.00:

Uuncorr=2.00×1.5943.188U_{\text{uncorr}} = 2.00 \times 1.594 \approx 3.188

2.3 Uncertainty Budget (Correlated Measurements)

When measurements are correlated, the uncertainty propagation formula must include a covariance term. For the correlation between two input quantities XiX_i and XjX_j with correlation coefficient rijr_{ij}:

uc2(Y)=i=1N(ciui)2+2i=1N1j=i+1Nciuicjujriju_c^2(Y) = \sum_{i=1}^{N} (c_i u_i)^2 + 2 \sum_{i=1}^{N-1} \sum_{j=i+1}^{N} c_i u_i c_j u_j r_{ij}

The presentation (Slide 10) shows the result when some measurements are considered correlated. A key example is often the correlation between the Calibration of Diameter and the Calibration of Height, as both might rely on the same potentially flawed reference standard.

SourceUUkkuuccucu \cdot c(uc)2(u \cdot c)^2
Calibration (Diameter)0.0482.000.02439.960.955\mathbf{0.955}-
.....................
Calibration (Height)0.1002.000.05018.100.905\mathbf{0.905}3.475\mathbf{3.475}
.....................
Volume (VV)4.1362.002.06812.0684.277

Key Observation:

  1. The squared uncertainty for the Calibration (Height) is now 3.475, which is much larger than its uncorrelated value (0.819). This large value in the (uc)2(u \cdot c)^2 column often represents the combined sum of the individual squared contribution (uici)2\mathbf{(u_i c_i)^2} plus the covariance term 2(uici)(ujcj)rij\mathbf{2 \cdot (u_i c_i)(u_j c_j)r_{ij}}.

  2. The final result for the Volume’s expanded uncertainty UU increased from 3.188 to 4.136.

    • uc,corr=4.2772.068u_{c, \text{corr}} = \sqrt{4.277} \approx 2.068

    • Ucorr=2.00×2.0684.136U_{\text{corr}} = 2.00 \times 2.068 \approx 4.136

Conclusion on Correlation: Including correlation, even for a few key sources, can significantly increase the total combined uncertainty of the final result.


Part 3: Typical Calibration Report

A typical calibration report (like the example for the ICP Accelerometer) provides essential information for uncertainty analysis, including:

  1. Calibration Data: Key measured characteristics (e.g., Voltage Sensitivity, Transverse Sensitivity, Output Bias Level).

  2. Key Specifications: Operational parameters (e.g., Range, Resolution, Time Constant).

  3. Frequency Response: A plot or table showing the deviation of the measured characteristic (e.g., Amplitude Deviation) across a range of frequencies. This information is crucial for dynamic, non-static error analysis.