Mathematical Approximation
Mathematical relationships between temperature and sensor output are described by a series of powered terms to achieve high precision across a broad operational window. A polynomial thermal model converts the raw output of a sensor, such as voltage or resistance, into a calibrated temperature reading by applying a multi-order equation that accounts for sensor specific nonlinearities. Polynomial modeling compensates for the nonlinear behavior inherent in thermocouples, thermistors, thermopiles or platinum resistance thermometers where simple linear interpolation would fail.
Accuracy is increased. The model remains valid only within the temperature range over which the coefficients were derived during the calibration process and fails if used for extrapolation beyond those limits.
Coefficient Derivation
Regression analysis on a set of known temperature points yields the specific constants used in the equation. An engineer typically uses a third or fourth order polynomial to achieve a balance between fit accuracy and computational speed. Increasing the order of the polynomial beyond a certain point can lead to overfitting where the model tracks noise rather than the actual sensor curve.
Overfitting is avoided.
Error Correction
Residual errors represent the difference between the model prediction and the actual laboratory reference measurements. Even with a high order polynomial thermal model, small deviations persist due to hysteresis or sensor aging. Regular recalibration updates the coefficients to account for the drift that occurs as the sensing element is exposed to thermal stress over time.
Implementation Hardware
Executing the calculation requires a processor with sufficient floating point capability or a look up table based on the pre-computed polynomial results. In low power embedded systems, the equation is often simplified to a linear or quadratic form to save on clock cycles. The chosen implementation must maintain the required precision without introducing rounding errors that exceed the uncertainty budget of the system.
Clock cycles are saved.