spacer
spacer Cos'č NI Developer Zone?

Tipo di documento: Tutorial
Supportato da NI: Sě
Data di pubblicazione: dic 06, 2011


Feedback


Sì No

spacer

Related Categories

Products

  • Data Acquisition
    • NI CompactDAQ
      • CompactDAQ Analog Input Modules
        • NI 9215
      • Reconfigurable I/O
        • CompactRIO
          • CompactRIO Analog Input Modules
            • NI 9215
      • Distributed I/O
        • CompactRIO
          • CompactRIO Analog Input Modules
            • NI 9215

        Development Topic

        • Measurement & Instrumentation
          • Analog I/O
            • Simultaneous Analog I/O
              • Analog Input

            Related Links - Developer Zone

            • Temperature Measurements using Programmable WSN-3212 Node, NI-9795 C-series Gateway, and cRIO-9075 controller.

            • NI C Series Module Compatibility Chart

            Related Links -Products and Services

            • NI cDAQ-9184

            • NI cDAQ-9139

            Temperature Measurements with Thermistors: How-To Guide

            19 Valutazioni | 3,32 di 5
            Seleziona lingua | spacer Stampa | spacer PDF

            Overview

            This document is part of the How-To Guide for Most Common Measurements centralized resource portal.

            Table of Contents

            1. Thermistor Overview
            2. How to Make a Thermistor Measurement
            3. Recommended Hardware and Software
            4. Thermistor Webcasts, Tutorials, and Other How-To Resources

            Thermistor Overview

            Thermistors, like RTDs, are thermally sensitive semiconductors whose resistance varies with temperature. Thermistors are manufactured from metal oxide semiconductor material encapsulated in a glass or epoxy bead. Also, thermistors typically have much higher nominal resistance values than RTDs (anywhere from 2,000 to 10,000 Ω) and can be used for lower currents.

            spacer
            View a 60-second video on how
            to take a Thermistor Measurement

            spacer
            Figure 1. Common Symbol for Thermistor

            Each sensor has a designated nominal resistance that varies proportionally with temperature according to a linearized approximation. Thermistors have either a negative temperature coefficient (NTC) or a positive temperature coefficient (PTC). The first, more common, has a resistance that decreases with increasing temperature while the latter exhibits increased resistance with increasing temperature.

            You can use PTC thermistors, or posistors, as current-limiting devices for circuit protection (in place of fuses) and as heating elements in small temperature-controlled ovens. Meanwhile, NTC thermistors, the topic of this article, are used mainly to measure temperature, and are widely present in digital thermostats and in automobiles to monitor engine temperatures.

            Thermistors typically have a very high sensitivity (~200 Ω/°C), making them extremely responsive to changes in temperature. Though they exhibit a fast response rate, thermistors are limited for use up to the 300 °C temperature range. This, along with their high nominal resistance, helps to provide precise measurements in lower-temperature applications.

            How to Make a Thermistor Measurement

            Because thermistors are resistive devices, you must supply them with an excitation source and then read the voltage across their terminals. This source must be constant and precise.

            You take temperature measurements by connecting the thermistor differentially to an analog input channel. In other words, you must connect both the +ve and –ve terminals of the analog input channel across the thermistor.  

            Thermistors come in either two-, three-, or four-wire configurations, and they can be connected as depicted in Figure 2.

            spacer
            Figure 2 .Two-, Three-, and Four-Wire Connection Diagrams

            When there are more than two wires, the additional wires are solely for connecting to the excitation source. A three- or four-wire connection method places leads on a high-impedance path through the measurement device, effectively attenuating error caused by lead-wire resistance (RL).

            The easiest way to connect a thermistor to a measurement device is with a two-wire connection (see Figure 3). With this method, the two wires that provide the thermistor with its excitation source are also used to measure the voltage across the sensor. Because thermistors have a high nominal resistance, lead-wire resistance does not affect the accuracy of their measurements; thus, two-wire measurements are adequate for thermistors, and two-wire thermistors are the most common.

            spacer
            Figure 3 .Two-Wire Connection

            Connecting a Thermistor to an Instrument

            Many instruments offer similar options for connecting thermistors. As an example, consider an NI CompactDAQ system with an NI 9215 C Series module and an NI cDAQ-9172 chassis (see Figure 4).

            spacer
            Figure 4. NI 9215 C Series Analog Input Module and NI CompactDAQ Chassis

            Notice the differential connection in the connection diagrams in Figure 5, where two wires are attached to either end of the thermistor and connected into the positive and negative terminals of a single channel, in this case pins 0 and 1, respectively. When setting up acquisition from this type of sensor, you have the option of specifying either excitation current (IEX) or voltage (VEX), depending on the type of excitation source you use.

             spacer spacer
            Figure 5. NI 9215 Connection Diagrams for Thermistors with External Excitation from a
            (a) Current Source IEX and (b) Voltage Source VEX

             The voltage difference across the resistor is read as a temperature. The relationship between voltage across a resistor and temperature is not perfectly linear. The NI-DAQmx driver scales the resistance of a thermistor to a temperature using the Steinhart-Hart thermistor third-order approximation:

            spacer

            where T is the temperature in Kelvin, R is the measured resistance, and A, B, and C are constants provided by the thermistor manufacturer.

            To provide excitation, you can use external sources such as a C Series voltage output module or current output module. Because the nominal resistance of a thermistor is very high, you need a source that can output low currents accurately. You can use the NI 9265 C Series analog output module as an excitation current source for the thermistor and place it in the same NI cDAQ-9172 chassis as the C Series module acquiring the thermistor reading. The NI 9265 has a 0 to 20 mA output range with 16-bit resolution. This particular output module also has the same channel count as the input module described for the temperature readings. The pinouts for the current output C Series module are displayed in Figure 6.

            spacer
            Figure 6. NI 9265 Analog Output Module Terminal Connections

            Considerations

            If you cannot dissipate extra heat, heating caused by the excitation current can raise the temperature of the sensing element above that of the ambient temperature, causing an error in the reading of the ambient temperature. You can minimize the effects of self-heating by lowering the excitation current.

            Signals emitted by thermistors are typically in the millivolt range, making them susceptible to noise. Lowpass filters are commonly used in thermistor data acquisition systems to effectively eliminate high-frequency noise in thermistor measurements. For instance, lowpass filters are useful for removing the 60 Hz power line noise that is prevalent in most laboratory and plant settings.

            Getting to See Your Measurement: NI LabVIEW

            Once you have configured the system properly, you can acquire and view the data using the LabVIEW graphical programming environment (See Figure 7).

            spacer
            Figure 7. Thermistor Reading in LabVIEW Front Panel

            Recommended Hardware and Software

            Example Thermistor Measurement System

            NI CompactDAQ: 3-minute “out of the box” video

            Take a Virtual Tour of NI CompactDAQ

            Learn about and test-drive LabVIEW software for free

            Thermistor Webcasts, Tutorials, and Other How-To Resources

            Measuring Temperature with an RTD or Thermistor

            Working with Thermistors and RTDs

            Learn About Relevant Training Options:  Data Acquisition and Signal Conditioning

            19 Valutazioni | 3,32 di 5
            Seleziona lingua | spacer Stampa | spacer PDF

            Reader Comments | Submit a comment »

            Wrong Steinhart–Hart equation
            The formula for the Steinhart–Hart equation is wrong in this article. In the DAQmx help, it is correct, 1/T=A+B*ln(R)+C*ln(R)^3.
            - Jon Ehlmann,University of Illinois . ehlmann2@illinois.edu - Aug 28, 2010

            Steinhart-Hart thermistor equation
            1/T=A+B(ln(R))+C(ln(R))^3
            - Oct 30, 2009

             

            Informazioni Legali
            Questo tutorial di esempio (questo "tutorial") č stato sviluppato dal supporto tecnico National Instruments ("NI"). Sebbene il supporto tecnico di questo tutorial potrebbe essere reso disponibile da National Instruments, il suo contenuto potrebbe non essere stato testato e verificato completamente; NI non ne garantisce in nessun modo la qualitŕ e non continuerŕ a supportare tale contenuto con ogni nuova revisione di relativi prodotti e driver. QUESTO TUTORIAL Č FORNITO SENZA NESSUN TIPO DI GARANZIA ED Č SOGGETTO AD ALCUNE LIMITAZIONI PIŮ SPECIFICATAMENTE DESCRITTE NEI TERMINI D'USO DI NI.COM (ni.com/legal/termsofuse/unitedstates/us/).

             
            gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.