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

HIGH-PRECISION TEMPERATURE MEASUREMENT

Another approach to interface this transducer to the microcomputer is to use an astable multivibrator (see Figure 6).

Figure 6ýThis circuit converts thermistor resistance to period. As the thermistor resistance varies from 198.3 to 551.2 kilohms, the period of the square wave varies from 22,542 to 61,671 ýs. The square wave is connected to a 6812 input capture pin.

 

In this system, I used a thermistor with a higher resistance (see Table 5). The period of a 555 timer is about 0.693 ý CT ý (RA + 2RT). Given a fixed RA and CT, the period of the output signal (POUT) is a linear function of RT.

T (ýC)

RT (kilohm)

POUT (ms)

25.011

551.2

61,671

30.596

432.0

48,455

35.473

351.8

39,562

39.989

292.5

32,987

45.261

237.4

26,877

49.947

198.3

22,542

Table 5ýHere are the signals as they pass through the various stages of the data acquisition system.

 

Microcontrollers have a rich set of mechanisms to measure frequency, pulse width, or period. To change the slope and offset of the conversion between RT and POUT, the fixed resistor and capacitor can be adjusted. Even though the period does not include zero, the precision of this measurement is over 32,000 alternatives, or more than 15 bits. Because of the uncertainties in the 555 timer and the capacitor, the accuracy of this system will not be as good as the first example, but it can resolve temperature changes of 0.001ýC. The software shown in Listing 3 measures period with a resolution of 1 ýs and calculates temperature using a table lookup scheme similar to the previous example.

WHATýS LEFT?

Iýve provided you with a brief overview of thermistor-based temperature measurement. Measuring high-speed temperature transients will require special transducer design and instrumentation circuits. I have not discussed the choice of sampling rate, nor shown you the software to implement periodic real-time sampling. Because 60 Hz is a typical problem that most data acquisition systems must deal with, you can include either a digital low-pass or a digital notch filter to remove this unwanted noise. For a more detailed treatment of these issues, I refer you to the references provided.

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