Sensor Two-Point and Multi-Point Calibration Calculator
Enter raw readings and reference values, get gain and offset or a polynomial, see each point's error against tolerance, correct new readings and print the sheet.
S'executa al teu navegador. Els fitxers mai no surten del dispositiu. Mira com comprovar-ho
…
Com es fa
- 1Describe the sensor
On Certificate details, enter the instrument, tag, raw and reference units, range and tolerance.
- 2Enter points
On Points, add each raw reading with its reference value, or import a two-column CSV.
- 3Choose a fit
On Fit and residuals, pick two-point, linear, quadratic or cubic and read the equation.
- 4Check residuals
Look at the residual chart and the pass or fail column; switch off a suspect point to compare.
- 5Correct readings
On Correct readings, enter raw values to convert and set points to invert.
- 6Print
Add the previous coefficients for as found if you have them, then print the certificate sheet.
Sobre aquesta eina
Almost every sensor reports something other than the quantity you care about: a transmitter gives milliamps, a load cell gives millivolts, a thermistor gives ohms or ADC counts. Calibration finds the function that turns that raw signal into engineering units and proves how well it does so. The simplest form is two-point calibration: apply a low and a high reference, read the sensor at both, and the straight line through them gives a gain (slope) and an offset. Two points say nothing about what happens in between, so serious calibrations use five or more points across the range and fit a least-squares line, or a quadratic or cubic curve when the sensor is not linear. This calculator does all four. Enter each pair of raw reading and reference value, choose two-point, linear, quadratic or cubic, and the tool shows the equation, the fitted curve over the points, every residual (corrected reading minus reference) in units and in percent of full scale, R squared, RMSE and the largest error. Points can be switched off to test the effect of an outlier without deleting it.
Tolerance and as found
Set the tolerance as a percentage of full scale, a percentage of reading or a plus-or-minus value in reference units, and each point gets a pass or fail. If you paste the coefficients from the previous calibration, the table adds an as-found error column, so the sheet shows how far the instrument had drifted before you adjusted it, alongside the as-left result.
Using the result
The Correct readings tab converts any list of raw values into engineering units and warns when a value lies outside the calibrated range, where the fit is an extrapolation. It also inverts the curve: give it set points such as alarm or trip levels in engineering units and it returns the raw value to program into a PLC or controller. Points import from a two-column CSV and export with fitted values and errors.
Limits
The fit is ordinary least squares with all points weighted equally and no uncertainty budget, so it does not replace an accredited calibration certificate. Higher-degree polynomials always shrink residuals on the points used but can bend between them; prefer a straight line unless the residual chart shows a clear curve.
Exemple resolt
A 4 to 20 mA pressure transmitter on a 0 to 10 bar range is checked at five points with a deadweight tester: 4.02 mA at 0 bar, 7.98 at 2.5, 12.05 at 5, 16.03 at 7.5 and 19.96 at 10. The least-squares line is ref = −2.51792 + 0.626076 × mA, with R squared of 0.99997, an RMSE of 0.020 bar and a largest error of 0.026 bar, which is 0.26% of full scale and passes a 0.5% tolerance. A two-point fit through the end points gives a gain of 0.62735 and a slightly larger worst error of 0.038 bar. A reading of 12.0 mA converts to 4.995 bar.
En resum
- Categoria: Enginyeria i construcció
- S'executa al navegador, sense registre, sense pujar res.
- La informació que introdueixes es queda al dispositiu.
- Disponible en anglès.
- Contingut revisat per última vegada:
- Font oficial: NIST/SEMATECH e-Handbook of Statistical Methods: calibration and linear and polynomial least squares
Preguntes freqüents
What is the difference between two-point and multi-point calibration?
Two-point calibration fits a line through a low and a high reference only. Multi-point calibration uses several points across the range and a least-squares fit, which averages out reading noise and reveals non-linearity.
What are gain and offset?
Gain is the slope: how many engineering units each raw unit is worth. Offset is the value the line gives at a raw reading of zero. Corrected value = offset + gain × raw.
When should I use a quadratic or cubic fit?
When the residuals of a straight line form a clear curve, as with many thermistors, flow sensors or some load cells. Keep at least two more points than coefficients and check that the curve behaves between points.
What is percent of full scale?
The error divided by the span of the range. A 0.026 bar error on a 0 to 10 bar sensor is 0.26% of full scale. Many datasheets quote accuracy this way.
How do I find the raw value for an alarm level?
Enter the alarm levels in engineering units under set points. The tool solves the fitted equation backwards and gives the raw value to configure.
Is this an accredited calibration certificate?
No. The printed sheet records your data, fit and pass or fail results. Accredited certificates also need traceable standards, a documented method and an uncertainty budget.
