Calibration Curves
To calibrate a sensor, feed it standards whose true values you know and fit a least-squares line from true value to reading. In service you run that line backward: a reading becomes , and the scatter around the line divided by its slope tells you how precise that answer is.
What the symbols mean
- Sensitivity (slope)
How much the reading changes per unit of the measured quantity, like mV per kPa.
- Zero offset (intercept)
The reading when the true value is 0.
- Spread of the standards
Sum of squared distances of the standards from their mean. Standards spread wide pin the slope down.
- Co-variation
Sum of products of deviations: positive when readings rise with the true value.
What the symbols mean
- Residual SD
The typical scatter of readings about the line, in the reading's units. It estimates the sensor's noise σ.
- Error sum of squares
The squared misses that least squares made as small as possible.
- Degrees of freedom
Two of the n residuals aren't free: they must satisfy the two equations that fixed b₀ and b₁.
What the symbols mean
- Estimated true value
What the reading says the input was.
- New reading
The reading of the unknown, or the average of m readings of it.
- Standard error of the estimate
The uncertainty of x̂₀. Multiply by t with n − 2 degrees of freedom for an interval.
- Repeat readings
How many readings of the unknown were averaged.
Explanation
A calibration curve is simply the translation table between what an instrument shows and what's really there, like millivolts to kilopascals. All we're doing is the regression line from the intro course, used in reverse: fit reading against true value, then, when a new reading comes in, solve for the true value with (subtract the intercept, divide by the slope). The uncertainty formula looks long, but it's three sources added under a square root: the new reading's own noise, the line's uncertainty at its center, and extra uncertainty the farther you are from the middle of the standards. One line, read backward, with honest error bars.
The scene. A pressure transmitter on a pipeline reports millivolts, not kilopascals. To translate, a technician connects it to a deadweight tester that applies known pressures, 0, 20, …, 100 kPa, and records the output at each. The known values are the standards , the outputs are the readings , and the least-squares line through them is the calibration curve.
Why the line runs from standard to reading. The standards are known almost exactly; the noise is in the reading. Least squares assumes the errors are vertical, in , so the honest model is reading on standard, , the same line as in the regression line. To use the sensor you then invert it. Regressing on instead gives a different line, because it pretends the error sits in the standards.
Where and come from. Choose them to minimize . Set both partial derivatives to zero:
The first says the line passes through . Put into the second: , and since subtracting from each changes neither sum, that's . These are the normal equations of least squares.
Why divide by . The same two equations force the residuals to satisfy and , so only of them are free. That makes the unbiased estimate of the noise variance , just as the sample variance divides by after estimating one mean.
Using the sensor. A reading maps back to . Translate the residual SD the same way: is the calibration's precision in input units. Scatter of 0.2 mV on a sensor with mV/kPa means about 0.8 kPa.
The slope's own uncertainty. Because , the slope is a weighted sum of independent readings, , so and . Standards spread across the whole range make big and the slope sharp.
How sure is ? Three things wobble: the new reading (variance for an average of readings), the height of the line at (variance ) and its slope (variance ). Write and apply propagation of error: the partial derivatives with respect to , and are , and , the three pieces are independent, and squaring and adding gives the formula above. Its last term grows as moves away from : a calibration is sharpest in the middle of its standards and should never be extrapolated past them.
A common mistake. Since you'll use the curve to go from reading to pressure, it's tempting to fit pressure on reading directly. Don't: the standards' true values are the precise ones, so fit reading on true value and invert. Other slips to watch: quoting in millivolts when the user needs kilopascals (divide by ), trusting the curve beyond the last standard, and expecting averaging to fix everything. More readings shrink only the term, never the calibration's own uncertainty.
See it
Worked examples
A pressure transmitter is calibrated against a deadweight tester. Known pressures (kPa) and outputs (mV): , , , , , . Find the calibration line and the residual SD.
- 1
and . The deviations are , so .
In service the transmitter reads mV (one reading). Estimate the pressure and give a 95% interval, with for 4 degrees of freedom.
- 1
kPa.
Practice
Type your answer and check it. Solve them all to complete the lesson.
A platinum resistance thermometer (RTD) is calibrated in a stirred bath at and °C, where it reads , , , and Ω. Find its sensitivity in Ω/°C.
The same RTD later reads Ω in a process line. What temperature does the calibration give, in °C?
Find the residual standard deviation of the RTD calibration in milliohms, to 3 significant figures.
A hopper scale's load cell is calibrated with certified masses, giving kg, mV, kg² and kg·mV. In service it reads mV. How many kilograms are in the hopper?
Why does a calibration regress the instrument reading on the reference standard and then invert the line, instead of regressing the standard on the reading?
For the pressure transmitter ( mV, kPa², ), find the 95% margin of error for the sensitivity , in µV/kPa, to 3 significant figures. Use for 4 degrees of freedom.
On the pressure transmitter, an operator averages readings of an unknown pressure and gets mV. Estimate the pressure, then the 95% half-width () to 2 decimal places, both in kPa. Enter both.
The hardest one here. Get it, and you've got this lesson.
A batch process will run near the top of the transmitter's range, where readings are about mV ( kPa). The spec needs the pressure known to within kPa at 95% confidence (). What is the smallest number of readings to average? And what half-width would infinitely many readings give? Enter , then that limit in kPa to 3 significant figures.
Where it's used
Every transmitter in a plant (pressure, flow, level, temperature) is calibrated this way against standards traceable to a national laboratory, and the calibration certificate reports the fitted line and its uncertainty. Analytical chemists do the same with absorbance against concentration, where Beer's law makes the curve a line, and their rule of reading an unknown several times comes straight from the term. When the uncertainty near the ends of the range is too large, metrologists add standards there rather than readings.