ChipCenter Questlink
SEARCH CHIPCENTER
Search Type:
Search for:




Knowledge Centers
Product Reviews
Data Sheets
Guides & Experts
News
International
Ask Us
Circuit Cellar Online
App Notes
NetSeminars
Careers
Resources
FAQ
EE Times Network
Electronics Group Sites

MEASURING TEMPERATURES USING THERMISTORS


Circuit Cellar Online
THE MAGAZINE FOR COMPUTER APPLICATIONS
Circuit Cellar Online offers articles illustrating creative solutions
and unique applications through complete projects, practical
tutorials, and useful design techniques.

MEASURING TEMPERATURES USING THERMISTORS

Lessons from the Trenches by Jonathan Valvano

Start ý Alternative Transducers ý Resistance vs. Temperature Calibration ý Dissipation Constant ý Low-Cost Embedded Temperature Measurement ý High-Precision Temperature Measurement ý Sources and PDF

RESISTANCE VS. TEMPERATURE CALIBRATION

The basic temperature-dependent mechanism is the population of charge carriers into a conduction band. If the temperature is expressed in degrees Celsius, the NTC thermistor resistance is:

The basic idea of a thermistor-based thermometer is to measure the thermistor resistance and then calculate temperature using an equation that relates temperature as a function of resistance. You can rewrite equation 1, solving for T (in degrees Celsius) in terms of R (in ohms). I replaced the two thermistor parameters (R0 and b ) in equation 1 with two other calibration parameters, H0 and H1.

You need to perform a resistance temperature calibration to determine the coefficients H0 and H1. Because each thermistor is different, the calibration experiment is an important step when temperature accuracy is desired. On the other hand, if relative temperature is more important than accuracy, you could skip the calibration and simply use the coefficients given by the manufacturer.

I placed a Thermometrics P60DA102N NTC thermistor next to a reference temperature probe and placed the two in a water bath. I measured the thermistor resistance with my instrument and measured the true temperature with the reference thermometer. Table 2 shows a temperature calibration for this thermistor. I performed a linear regression of:

versus ln(R) to obtain the calibration coefficients, H0 = 1.3091Eý03 and H1 = 2.9175Eý04. The average error was 0.017ýC.

Resistance
(ohm)

True Temp.
(ýC)

Equation 2
Error (ýC)

Equation 3
Error (ýC)

1101.0

25.113

ý0.023

0.002

911.3

30.131

0.004

ý0.002

754.8

35.285

0.016

ý0.004

636.0

40.120

0.024

0.005

533.7

45.202

0.005

0.001

451.1

50.218

ý0.030

ý0.002

Table 2ýThe first two columns are the temperature calibration data. The last two columns are the regression errors when fitting the data to equations 2 and 3, respectively.

For small temperature ranges or in systems where accuracy is secondary, this approach is sufficient. In systems that demand better accuracy, I use this three-term equation:

Although there is no fundamental theory to support it, I have found that equation 4 produces excellent results for a wide range of thermistor types.

The least squared fit of this same data in equation 4 gives an average error of only 0.002ýC. For this thermistor, H0 = 1.38077Eý3, H1 = 2.75309Eý4, and H3 = 1.27290Eý7.

LINEARIZATION

Because the microcomputer (even without a floating-point processor) is capable of calculating these nonlinear equations, thermistors can easily be used for accurate temperature measurements. Sometimes, however, it is convenient to use a linear transducer.

For small temperature ranges, a simple resistor network can be used to create a more linear resistance versus temperature response. In particular, a fixed resistor placed in parallel with the thermistor will reduce the sensitivity but increase the linearity of the combination. The parallel combination of a fixed resistor and a thermistor will flatten and straighten resistance versus temperature response. Let RT be the thermistor resistance, Rp be the fixed parallel shunt resistor, and Rn be the network resistance:

Tm is the midpoint temperature in Kelvin, and Rm is the thermistor resistance at that temperature. To maximize the linearity of equation 5, Rp will be chosen such that:

where b (from equation 1) is expressed in Kelvin. For the temperature range 25ýC to 50ýC, Tm is 311ýK, b is 3428ýK, and Rm is 697 ohms. Using these values in equation 5 yields an Rp of 483 ohms.

In Figure 3, you can see that the 483-ohm parallel shunt resistor decreases the sensitivity but improves the linearity. The decrease in sensitivity means a larger gain in the analog amplifier is required, which will make the system more susceptible to noise. On the other hand, you can also see that without linearization, the system is more sensitive (higher R versus T slope) to temperature at low temperatures. This means the instrument will work better for low temperatures than for high temperatures. For small temperature ranges, this disparity is not a problem, but for large temperature ranges, consider using a linearized system.

Figure 3ýHere you can see the resistance temperature response of the P60DA thermistor (raw data) and the resistance temperature response of this thermistor in parallel with a fixed 483-ohm resistor.

 

PREVIOUS NEXT


Circuit Cellar provides up-to-date information for engineers. Visit www.circuitcellar.com for more information and additional articles.
For subscription information, call (860) 875-2199, subscribe@circuitcellar.com or subscribe online. ýCircuit Cellar, the Magazine for Computer Applications. Posted with permission.
Click here to get your listing up.

Copyright © 2003 ChipCenter-QuestLink
About ChipCenter-Questlink  Contact Us  Privacy Statement   Advertising Information  FAQ