Tom Handley says
a common method to characterize a thermistor is to use the SteinhartHart equation:1/T = A + [B * ln(R)] + [C * ln(R)^3]Where:
T = Degrees Kelvin R = Resistance A,B,C = Curvefitting constants.You typically measure three data points; min(A), middle(B), and max(C). Then solve the three simultaneous equations for A, B, and C. The accuracy is related to the span. So a span of 100 degrees is more accurate than a span of 500 degrees.
In one case, I used this to characterize a common cooking temperature probe (Polder) for characterizing the thermal response of my oven between 100 to 300 deg F. I ended up writing a MathCAD sheet to simplify things. Once I had the constants, I fed them to an Excel 97 sheet to analyze and graph the data. From there you can generate a surprisingly accurate curve (again, depending on span). Then you can either implement the equation in FP or scaled fixpoint math or use a lookup table.
Scott Dattalo says:
With the SH approach {calculated "on the fly" in the processor rather than precalculated into a table} you have to compute these really nasty logarithms and arithmetic operations. All of that just to get 1 or 2% accuracy. However with a lookup table it only takes about 20 CPU cycles to get an answer that's accurate to with in a 0.5%. However, I found that the look up table can only give you this accuracy after the thermistor has been carefully calibrated. In other words, with the SH equation I found my compuatations suffered from cumulative round off errors but the lookup table is accurate as the data in the table.
See also:
file: /Techref/io/sensor/thermist/charsheq.htm, 2KB, , updated: 2021/2/24 12:28, local time: 2021/4/18 22:48,

©2021 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://www.sxlist.com/techref/io/sensor/thermist/charsheq.htm"> Characterizing a thermistor with the SteinhartHart equation</A> 
Did you find what you needed? 
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. 
Welcome to www.sxlist.com! 
.