Measuring Temperature Withthermistors - A Tutorial: National Instruments
Measuring Temperature Withthermistors - A Tutorial: National Instruments
NATIONAL INSTRUMENTS
Introduction
Thermistors are thermally sensitive resistors used in a variety of applications, including temperature measurement. This application note discusses this application of thermistors, including basic theory and how to interface thermistors to modern data acquisition systems.
Thermistor Overview
A thermistor is a piece of semiconductor made from metal oxides, pressed into a small bead, disk, wafer, or other shape, sintered at high temperatures, and finally coated with epoxy or glass. The resulting device exhibits an electrical resistance that varies with temperature. There are two types of thermistors negative temperature coefficient (NTC) thermistors, whose resistance decreases with increasing temperature, and positive temperature coefficient (PTC) thermistors, whose resistance increases with increasing temperature. NTC thermistors are much more commonly used than PTC thermistors, especially for temperature measurement applications. A main advantage of thermistors for temperature measurement is their extremely high sensitivity. For example, a 2252 thermistor has a sensitivity of -100 /C at room temperature. Higher resistance thermistors can exhibit temperature coefficients of -10 k/C or more. In comparison, a 100 platinum RTD has a sensitivity of only 0.4 /C. The physically small size of the thermistor bead also yields a very fast response to temperature changes. Another advantage of the thermistor is its relatively high resistance. Thermistors are available with base resistances (at 25 C) ranging from hundreds to millions of ohms. This high resistance diminishes the effect of inherent resistances in the lead wires, which can cause significant errors with low resistance devices such as RTDs. For example, while RTD measurements typically require 3-wire or 4-wire connections to reduce errors caused by lead wire resistances, 2-wire connections to thermistors are usually adequate. The major tradeoff for the high resistance and sensitivity of the thermistor is its highly nonlinear output and relatively limited operating range. Depending on the type of thermistors, upper ranges are typically limited to around 300 C. Figure 1 shows the resistance-temperature curve for a 2252 thermistor. The curve of a 100 RTD is also shown for comparison.
_____________________________ Product and company names are trademarks or trade names of their respective companies.
340904B-01 Copyright 1996 National Instruments Corporation. All rights reserved. November 1996
10 M 1M Resistance () 100 k 10 k 1k 100 10 -200 -150 -100 -50 0 50 100 150 200 250 300 350 400 Thermistor (2252 at 25 C)
Temperature (C)
The thermistor has been used primarily for high-resolution measurements over limited temperature ranges. The classic example of this type of application is medical thermometry. However, continuing improvements in thermistor stability, accuracy, and interchangeability have prompted increased usage of thermistors in all types of industries.
T(K ) =
]3
Where T(K) is the temperature in degrees Kelvin, equal to T(C) + 273.15, and RT is the resistance of the thermistor. The coefficients a0, a1, and a2 can be provided by the thermistor manufacturer, or calculated from the resistance-versus-temperature curve.
source, and measure the voltage developed across the thermistor. As shown in Figure 2a, the measured voltage V 0 will be equal to RT * IEX. Alternatively, you can supply a constant voltage source, V EX , and a reference resistor, RR , and configure the thermistor in a simple voltage divider. In this configuration, shown in Figure 2b, the output voltage V 0 will be equal to VEX * RT/(RT + R0).
IEX + V0
RT Thermistor
V0 =
VEX
Figure 2. Thermistor measurements using a.) constant current source and b.) constant voltage source in voltage divider circuit.
The level of the voltage output signal will depend directly on the thermistor resistance and magnitude of the current or voltage excitation source. Therefore, you may be tempted to use a higher level of current or voltage excitation in order to produce a higher level output signal. This can be very detrimental because the current causes the thermistor to heat internally, which appears as an error. This phenomena is called self-heating, and is typically specified by manufacturers as the amount of power that will raise the temperature of the thermistor by 1 C. When current is passed through the thermistor, power dissipated by the thermistor, equal to I 2R, will heat the thermistor. Thermistors, with their small size and high resistance, are particularly prone to these self-heating errors. Manufacturers typically specify this as the dissipation constant, which is the power required to heat the 3
thermistor 1 C from ambient temperature (mW/C). The dissipation constant depends heavily on how easily heat is transferred away from the thermistor, so the dissipation constant may be specified for different media in still air, water, or oil bath. Typical dissipation constants range anywhere from less than 0.5 mW/C for still air to 10 mW/C or higher for a thermistor immersed in water. A 2,252 thermistor powered by a 1 mA excitation current will dissipate I2R = (1 mA)(2,252 ) = 2.25 mW. If this thermistor has a dissipation constant of 10 mW/C, the thermistor will self-heat 0.225 C. Therefore, carefully read self-heating specifications of your thermistors and choose your excitation current or voltage accordingly. If your thermistors have a small dissipation constant, then you should minimize the level of your excitation current to minimize the self-heating errors.
The SCXI-1122 is multiplexer input module that can be configured for 16 two-wire inputs or 8 four-wire thermistor inputs. The inputs are multiplexed into one isolation amplifier, which is programmable for a gain of 0.01 (for high voltages) to 2,000. The module includes one isolated voltage and one isolated current source. Table 1. SCXI Module Specifications SCXI-1121 Number of input channels Number of excitation sources Excitation levels Gains Filtering: Isolation Input channel scanning rate 4 isolated two-wire or four-wire 4 independent current/voltage sources Current: 0.15 mA, 0.45 mA Voltage: 3.33 V, 10.0 V 1 to 2,000 4 Hz or 10 kHz, lowpass 250 Vrms channel to channel and channel to earth Up to 333 kS/s SCXI-1122 16 two-wire/8 four-wire 1 voltage and 1 current source Current: 1.0 mA Voltage: 3.33 V 0.01 to 2,000 4 Hz or 4 kHz, lowpass 450 Vrms channel to earth 100 S/s
I-
SC XI
114 0
SC XI 11 00
SC XI
114 0
SC XI 11 00
S
AI
NF
X
M
RA
16 Thermistors
2 SCXI-1122 Modules
SCXI Chassis
Shielded Cable
The SCXI-1122 supplies a constant current excitation for the thermistors, isolation for high common-mode voltages and protection, optional lowpass filtering, and multiplexing. The SCXI-1122, when configured for thermistors, operates as an 8-channel four-wire scanner. In this mode, the constant current source is multiplexed sequentially to each thermistor, synchronized with the multiplexing of the thermistor input voltage. Therefore, at any one time, the current source is applied only to the thermistor being measured. Otherwise, the single current source does not have the power to drive eight 2252 thermistors at the same time. Over the temperature range of 10 to 100 C, the manufacturer's specification sheet tells us that the thermistor resistance will vary from 4.5 k at 10 C to 153 at 100 C. Because the SCXI-1122 excitation current source delivers 1 mA, the measured voltage will vary from 4.5 V at 10 C to 153 mV at 100 C. You should configure the SCXI-1122 modules for an amplifier gain of 2, since the input range of the module at a gain of 2 is 5 V. The AT-MIO-16E-2 is a 12-bit multifunction I/O plug-in board for IBM PC AT and compatible computers. The AT-MIO-16E-2 will digitize the conditioned voltage output of the two SCXI-1122 modules. With the SCXI-1122 modules configured for an input range of 5 V, the resolution of the digitization will be equal to 10 V/4,096 = 2.44 mV. With the 1 mA current source, this corresponds to 2.44 change in thermistor resistance. For higher resolution, you could use the 16-bit AT-MIO-16XE-50 or AT-MIO-16X. With these boards, the resolution for this application will be 10 V/65,536 = 153 V, or 0.15 . Similar 12-bit and 16-bit boards are also available for the Macintosh platform. The SCXI chassis, which houses the two SCXI-1122 modules, is connected to the AT-MIO-16E-2 with the SCXI-1349 shielded cable assembly, available in lengths up to 10 m. The thermistors are wired into two SCXI-1322 terminal blocks, which have convenient screw terminals with strain relief. An IBM PC/XT/AT or compatible computer controls the SCXI data acquisition system. Therefore, application software choices for controlling the system include LabVIEW and LabWindows/CVI for Windows, and LabWindows for DOS. Alternatively, you can use a general-purpose programming language, such as C, Basic, or Pascal, under DOS or Windows, and control the DAQ hardware with the NI-DAQ driver software that is included with National Instruments plug-in DAQ boards. Plug-in boards and software are also available for Macintosh computers. Table 2 summarizes the configuration for the SCXI-1122 module for this thermistor application. With the exception of the excitation level, which is fixed at 1.0 mA, all of these parameters are software selectable. The module bandwidth, selectable for 4 Hz or 4 kHz, is configured for 4 kHz so the channels can be scanned at the full rate of 100 S/s. Table 2. Typical Configuration for an SCXI-1122 Used with Thermistors SCXI-1122 Parameter Scanning mode Module gain Typical Setting for a Thermistor 4-wire, with current excitation
2* Module Bandwidth 4 kHz Excitation level 1.0 mA *The appropriate module gain depends on the resistance range of the particular thermistor used.
SC XI
S
114 0
I-
SC XI 11 00
SC XI
114 0
SC XI 11 00
SC XI
114 0
SC XI 11 00
SC XI
M
SC XI 11 00
114 0
S
AI
NF
X
M
RA
16 Thermistors
4 SCXI-1121 Modules
SCXI Chassis
Shielded Cable
Figure 4. SCXI-1121 System for Monitoring 16 Thermistors Table 3 summarizes the configuration for the SCXI-1121 modules used in this application with 2252 thermistors. The SCXI-1121 module also includes bridge completion circuitry which can be enabled when using strain gauge transducers. All of the parameters listed in Table 3 are selectable on a per channel basis.
Table 3. Typical Configuration for an SCXI-1121 Used with Thermistors SCXI-1121 Parameter Typical Setting for a 100 Four-Wire thermistor
5* Bandwidth 4 Hz Excitation mode Current Excitation level 0.15 mA Bridge completion Disabled *The appropriate channel gain depends on the resistance range of the particular thermistor used.
Channel gain
For this application, we selected the 0.15 mA current excitation level to minimize self-heating of the thermistor. At room temperature, the thermistor resistance is 2,252 and the dissipated power will be equal to I2R = (0.15 mA)2*2,252 = 0.05 mW. If the thermistor has a dissipation constant of 3 mW/C in still air, then the self-heating error at room temperature will be 0.05/3 = 0.017 C.