# Steinhart–Hart equation

The Steinhart–Hart equation is a model of the resistance of a semiconductor at different temperatures. The equation is

${\frac {1}{T}}=A+B\ln R+C(\ln R)^{3},$ where

$T$ is the temperature (in kelvins),
$R$ is the resistance at $T$ (in ohms),
$A$ , $B$ , and $C$ are the Steinhart–Hart coefficients, which vary depending on the type and model of thermistor and the temperature range of interest. (The most general form of the applied equation contains a $(\ln R)^{2}$ term, but this is frequently neglected because it is typically much smaller than the other coefficients, and is therefore not shown above.)

## Uses of the equation

The equation is often used to derive a precise temperature of a thermistor, since it provides a closer approximation to actual temperature than simpler equations, and is useful over the entire working temperature range of the sensor. Steinhart–Hart coefficients are usually published by thermistor manufacturers.

Where Steinhart–Hart coefficients are not available, they can be derived. Three accurate measures of resistance are made at precise temperatures, then the coefficients are derived by solving three simultaneous equations.

## Inverse of the equation

To find the resistance of a semiconductor given the temperature the inverse of the Steinhart–Hart equation must be used. See the Application Note, "A, B, C Coefficients for Steinhart–Hart Equation".

$R=\exp \left({\sqrt[{3}]{y-x}}-{\sqrt[{3}]{y+x}}\right),$ where

{\begin{aligned}x&={\frac {1}{2C}}\left(A-{\frac {1}{T}}\right),\\y&={\sqrt {\left({\frac {B}{3C}}\right)^{3}+x^{2}}}.\end{aligned}} ## Steinhart–Hart coefficients

To find the coefficients of Steinhart–Hart, we need to know at-least three operating points. For this, we use three values of resistance data for three known temperatures.

${\begin{bmatrix}1&\ln R_{1}&\ln ^{3}R_{1}\\1&\ln R_{2}&\ln ^{3}R_{2}\\1&\ln R_{3}&\ln ^{3}R_{3}\end{bmatrix}}{\begin{bmatrix}A\\B\\C\end{bmatrix}}={\begin{bmatrix}{\frac {1}{T_{1}}}\\{\frac {1}{T_{2}}}\\{\frac {1}{T_{3}}}\end{bmatrix}}$ With $R_{1}$ , $R_{2}$ and $R_{3}$ values of resistance at the temperatures $T_{1}$ , $T_{2}$ and $T_{3}$ , one can express $A$ , $B$ and $C$ (all calculations):

{\begin{aligned}L_{1}&=\ln R_{1},\quad L_{2}=\ln R_{2},\quad L_{3}=\ln R_{3}\\Y_{1}&={\frac {1}{T_{1}}},\quad Y_{2}={\frac {1}{T_{2}}},\quad Y_{3}={\frac {1}{T_{3}}}\\\gamma _{2}&={\frac {Y_{2}-Y_{1}}{L_{2}-L_{1}}},\quad \gamma _{3}={\frac {Y_{3}-Y_{1}}{L_{3}-L_{1}}}\\\Rightarrow C&=\left({\frac {\gamma _{3}-\gamma _{2}}{L_{3}-L_{2}}}\right)\left(L_{1}+L_{2}+L_{3}\right)^{-1}\\\Rightarrow B&=\gamma _{2}-C\left(L_{1}^{2}+L_{1}L_{2}+L_{2}^{2}\right)\\\Rightarrow A&=Y_{1}-\left(B+L_{1}^{2}C\right)L_{1}\end{aligned}} ## Developers of the equation

The equation is named after John S. Steinhart and Stanley R. Hart who first published the relationship in 1968. Professor Steinhart (1929–2003), a fellow of the American Geophysical Union and of the American Association for the Advancement of Science, was a member of the faculty of University of Wisconsin–Madison from 1969 to 1991. Dr. Hart, a Senior Scientist at Woods Hole Oceanographic Institution since 1989 and fellow of the Geological Society of America, the American Geophysical Union, the Geochemical Society and the European Association of Geochemistry, was associated with Professor Steinhart at the Carnegie Institution of Washington when the equation was developed.