Temperature Sensor Guide
Temperature Sensor Guide
A complete listing of products offered by Microchip Technology Inc. and their corresponding data sheets can be found at www.microchip.com.
Design ideas in this guide use the following devices:
Temperature sensors are useful in thermometer circuits, Serial Output Temperature Sensors:
temperature compensation applications, as well as a
Serial (digital) output temperature sensors offer
wide array of general purpose applications.
excellent temperature accuracy (±0.5°C, typical) with
Microchip Technology Inc. offers a broad portfolio of a very low operating current of less than 250 µA.
thermal management products, including Logic Output, Communication with these devices is accomplished via
Voltage Output and Serial Output Temperature Sensors. an industry standard SMBus, I2C™ or SPI™ compatible
interface protocol. These devices feature very fast
Common Methods of Interfacing a Sensor
temperature conversion times, with temperature
resolution for the entire family ranging from 0.0625°C
������������������
�������������
to 1°C.
������ �����
Thermocouples
�������������
While thermocouples are usually selected because
������������ ������� of their wide temperature range, ruggedness and
��� price, they are highly non-linear and require significant
���
��� linearization algorithms. In addtion, the voltage output of
������������������
�
this temperature sensing element is relatively low when
����������������������� compared to devices that can convert voltage signals
�
����
�������������������
��� ������� to a digital representation. Consequently, analog gain
stages are required in the circuit.
Logic output sensors typically function as a thermostat, is typically not latched, the switch will turn off when
notifying the system that a minimum or maximum the temperature falls below the temperature set point.
temperature limit has been reached. Sometimes referred Note that it is necessary to have hysteresis so the switch
to as temperature switches, these devices can be does not “chatter” when crossing the temperature set
used to turn-on either a fan or warning light when high point.
temperature conditions are detected. Since the output
Logic Output Temperature Sensors Used as Temperature Switches
��� ����
��� ����
��� ���������������
������
���������� ���������
���������
��� ��� ���������
����� ���
���� ����� ��� ���
����
������� ���������� ������ ��������������� ���
����� ����
�������� ��������� ��� ��� ���� ��� ��� ���
������
����� ��� ����������
��� ������� �����������
����� ������
Most logic output temperature sensors are available in The hot and cold options ensure that the hysteresis is
either a Hot (for temperature-increasing applications) or in the appropriate position, either below or above the
Cold (for temperature-decreasing applications) option. temperature set point.
Hot and Cold Options
The TC1046 and TC1047A are analog (or voltage a –40°C to +125°C temperature range and feature
output) temperature-sensing products in space-saving an offset voltage that allows the reading of negative
SOT packages. These devices develop an output voltage temperatures without the need of a negative supply
proportional to temperature, with a nominal temperature voltage. The extremely low operating curret minimizes
coefficient of 6.25 mV/°C and 10 mV/°C, respectively. self-heating and maximizes battery life.
Both temperature-to-voltage converters can sense
Simplified Schematic of the TC1047A Analog Temperature Sensor
���
��
���
� ���
�� �
�� ���
�������� ������
� ������ ���������
������ �
��� �����
� ���
� ������������� � �
��� �
�������
�������
The TC1046 and TC1047A can be combined with measurement system. The contrast of a LCD display varies
operational amplifiers (op amps) and a PICmicro® as a function of temperature due to the transmission
microcontroller unit (MCU) to build a simple temperature changes with the LCD material.
Using the TC1046 to Create a Simple Temperature Measurement System
7 8
6 9 +5V
RS U1
5 10
R/W
4 2 x 20 LCD 11 20
E RB4 21
3 Dot Matrix 12 C7
RB5 1 22
2 13 0.1 µF
+5V RB6 23
1 14
RB7 2 24
15 16 17 18 3 25
RS RB4
4 26
RA5 R/W RB5
5 27
E RB6
Optional for +5V 6 28
1 U2 RB7
C8 noisy applications 7
0.1 µF
RA5 PIC16F872A 11
2
R1
TC1046 4.7 kΩ
12
13
9 14 XTAL
3 15 32 kHz
C3 16
22 pF
10 17 C1 C2
+9V +5V
VR1 18 15 pF 15 pF
8
3
LM7805 19
+
C9 C5 2 C4
220 µF 0.1 µF 0.1 µF
����������
��� ����������
������
�������
���
�������
Voltage Output Temperature Sensor Key Features: MCP1525 (Voltage Reference) Key Features:
n Easy System Integration n 2.5V Output Voltage
n Reduces PCB Space n Initial Accuracy of ±1% max.
n Low Current Consumption n Output Current Drive: ±2 mA
n Minimizes Design Time
MCP601 (Op Amp) Key Features:
Voltage Output Temperature Sensor Typical n Single-Supply: 2.7V to 5.5V
Applications: n Rail-to-Rail Output
n Cellular Phones n Unity-Gain Stable
n Temperature Measurement/Instrumentation
n Consumer Electronics PIC16F872A (MCU) Key Features:
n Only 35 Single-Word Instructions to Learn
TC1046 Key Features: n Operating speed: DC – 20 MHz Clock Input
n Wide Temperature Measurement Range: DC – 200 ns Instruction Cycle
–40°C to +125°C n 64 Bytes of EEPROM Data Memory (RAM)
n High Temperature Conversion Accuracy: ±0.5°C n 128 Bytes of Data Memory (RAM)
n Linear Temperature Slope: 6.25 mV/°C
Serial (digital) output temperature sensors can be used ease-of-use make these devices ideal for implementing
in many different applications, including the monitoring of sophisticated thermal management schemes in a variety
multiple temperatures on the same Printed Circuit Board of systems.
(PCB). High accuracy, low operating current, small size and
The TC77 Precision Silicon Serial Output Temperature Sensor
���
������
���
���������
���� ���
���
�� ��� ��������� ����
������
��� ��� ������������
������
���� ���
��� �������������
��� �����������
�������
������������
�������������
������� ��
������������
����������� ����
������������ ������ ���
��������
���
��������������
��������
The TC77 is a serial output temperature sensor that is in progress, the initially completed conversion will
provides a 13-bit measurement to a microcontroller. be output. The configuration register is used to select
The SPI™ bus uses the SCK, SI/O and CS pins to either the Continuous Temperature Conversion or
transmit and receive data. Temperature is measured by Shutdown operating modes. Shutdown mode disables
monitoring the voltage of a diode with a 13-bit Analog- the temperature-conversion circuitry to minimize power
to-Digital Converter (ADC). This temperature data is consumption. However, the serial I/O communication
then stored in the temperature register. If a temperature port remains active.
register read operation occurs while an ADC conversion
The TC77 Precision Silicon Serial Output Temperature Sensor Provides 13 Bits of Temperature Data
��
���
� � � ��
���� ����
���� ���� �� �� �� �� �� �� �� �0 ��� ��� ��� ���
The TCN75 serial output temperature sensor is used to threshold trip point is programmed by writing to the set
notify the host controller when the ambient temperature point register. The INT pin is an open-drain output that
exceeds a user-specified set point. Communication with can be connected to the microcontroller’s interrupt pin,
the TCN75 is accomplished via a two-wire serial bus. facilitating monitoring of up to eight sensors. Three
The microcontroller can monitor the temperature of each address pins are used to uniquely identify each sensor.
sensor by either reading the temperature data register or
functioning as a stand-alone thermostat. The temperature
A Multi-zone Temperature Measurement System Using the Two-wire Serial Communication Port of the TCN75
��
�������
��� ��� ��� ��� ���
��� ���
��� ��� ��� ���
��������� ��
��
��� ����� �� ����� �� �����
��
��
������ �� ��
��
���������� �� ��
��������������� ���������������
���������������� �����������������������
���������� �������
����� ���������� ��������������������
The thermocouple can quantify temperature as it relates RTDs serve as the standard for precision temperature
to a reference temperature. While this temperature is measurements due to their excellent repeatability and
usually sensed using a RTD, Thermistor or Integrated stability characteristics. RTDs provide the designer with
Silicon Sensor, the thermal mass of the thermocouple an absolute result that is fairly linear over temperature.
is smaller, making its response time faster. The wide The RTD’s linear relationship between resistance and
temperature ranges of the thermocouple make it temperature simplifies the implementation of signal-
appropriate for many hostile sensing environments. conditioning circuitry.
Thermocouple Amplifier Circuit Circuit A below is easy to modify for a desired temperature-
to-frequency range. It requires either precision, low-drift
�� components or a calibration step to achieve high accuracy.
� ��
Circuit B utilizes pull-up and pull-down resistors to excite
the RTD, employing the TC913A op amp to amplify the
�� ���������� �
����
small voltage changes that correspond to temperature.
�� � ������
����������
RTD Temperature Measurement Circuits
Th����������
�
�� �
��� ����
�� �� ��
����
TC1047A ���� �
�������������������������� ��������� �����
�
�������
����
This circuit can be used for remote thermocouple
sensing applications. The thermocouple is
connected to the circuitry via a shielded cable and
EMI filters. The thermocouple is tied to a positive
�����
and negative supply via large resistors so that the ���������
circuit can detect a failed open-circuit thermocouple. ���������
���������� �
The TC913A auto-zeroed op amp is selected because of ���� ������
��������
Mode Rejection Ratio (CMRR) of 116 dB (typ.). Auto- �����
zero and chopper amplifiers are good thermocouple ���
The main advantages of thermistors are that they are used for temperature sensing. The main drawback
inexpensive and available in a wide variety of packages. of thermistors is that the change in resistance with
Thermistors are built with semiconductor materials temperature is very non-linear at temperatures below 0°C
and can have either positive (PTC) or a negative (NTC) and greater than 70°C.
temperature coefficient. However, the NTC is typically
A Conventional Fixed Gain Thermistor Amplifier
����
���
��� ����������
�������� ��
���� ���
���
�
���������
���
����
���
� ���
�������� ������� ���
������ ���
��� ���
��� ���
��� ��� � �� �� �� ��� ��� ���
���������������������������
The advantage of the PGA circuit (below) is illustrated is required. In contrast, a voltage divider with a gain
by comparing the VOUT slope plots of the conventional of 1 will require an 11-bit, or higher, ADC to provide an
circuit with the PGA circuit. The VOUT slope for the PGA equivalent temperature resolution. The resolution of a
circuit has a minimum value of 30 mV for temperatures thermistor circuit is important in applications such as
greater than 35°C, which means that only a 9-bit ADC overtemperature shutdown circuits.
���� ���
�� ��� ���
��
��� ���
�������
�������
����
�������
������
���
������
������
������
� ����
��������
���
�� � ���
��������
��� ���
������
���
��������������� ���
��������������� ��� ����������
���
��� ��� � �� �� �� ��� ��� ���
���� ���������������������������
Device Accuracy @ 25°C (Typ./Max) Temperature Range (°C) Temperature Set Points VDD Min. (V) VDD Max (V) IQ Max. (µA) Packages
TC620 1/3 –40 to +125 User-selectable, set by external resistor 4.5 18 400 PDIP-8, SOIC-8
TC621 1/3 –40 to +125 User-selectable, set by external resistor 4.5 18 400 PDIP-8, SOIC-8
TC622 1/5 –40 to +125 User-selectable, set by external resistor 4.5 18 600 PDIP-8, SOIC-8, SOT-220-5
TC623 1/3 –40 to +125 User-selectable, set by external resistor 2.7 4.5 250 PDIP-8, SOIC-8
TC624 1/5 –40 to +125 User-selectable, set by external resistor 2.7 4.5 300 PDIP-8, SOIC-8
TC6501 0.5/4 –40 to +125 Factory programmed thresholds 2.7 5.5 40 SOT-23-5
TC6502 0.5/4 –40 to +125 Factory programmed thresholds 2.7 5.5 40 SOT-23-5
TC6503 0.5/4 –40 to +125 Factory programmed thresholds 2.7 5.5 40 SOT-23-5
TC6504 0.5/4 –40 to +125 Factory programmed thresholds 2.7 5.5 40 SOT-23-5
Device Accuracy @ 25°C (Typ./Max) Temperature Range VDD Min. (V) VDD Max. (V) IQ Max. (µA) Slope (mV/°C) Offset Voltage (Output @ 0°C)(mV) Packages
Device Serial Communication Accuracy @ 25°C (Typ./Max) Temperature Range (°C) VDD IQ Max. (µA) Packages
TC74 SMBus/I2C™ 0.5/2 –40 to +125 2.7 5.5 350 SOT-23-5, TO-220-5
TCN75 SMBus/I2C 0.5/2 –40 to +125 2.7 5.5 1000 SOIC-8, MSOP-8
TC72 4-Wire SPI™ 0.5/1 –40 to +125 2.65 5.5 400 MSOP-8, DFN-8
TC77 3-Wire SPI 0.5/1 –40 to +125 2.7 5.5 400 SOT-23-5, SOIC-8
Operational Amplifiers
Device # per Package GBWP (kHz) IQ (Typ./Max)(µA) VOS Max. (mV) Temperature Range (°C) Operating Voltage Range (V) Packages
MCP601 1 2800 230/325 2 –40 to +125 2.7 to 5.5 PDIP-8, SOIC-8, TSSOP-8, SOT-23-5
MCP616 1 190 19/25 0.15 –40 to +85 2.3 to 5.5 PDIP-8, SOIC-8, MSOP-8
MCP617 2 190 19/25 0.15 –40 to +85 2.3 to 5.5 PDIP-8, SOIC-8, MSOP-8
MCP618 1 190 19/25 0.15 –40 to +85 2.3 to 5.5 PDIP-8, SOIC-8, MSOP-8
MCP619 4 190 19/25 0.15 –40 to +85 2.3 to 5.5 PDIP-14, SOIC-14, TSSOP-14
MCP6002 2 1000 100/170 7 –40 to +125 1.8 to 5.5 PDIP-8, SOIC-8, MSOP-8
MCP6004 4 1000 100/170 7 –40 to +125 1.8 to 5.5 PDIP-14, SOIC-14, TSSOP-14
MCP6041 1 14 0.6/1 3 –40 to +85 1.4 to 5.5 PDIP-8, SOIC-8, MSOP-8, SOT-23-5
Voltage Reference
Device VCC Range Output Voltage (V) Max Load Current (mA) Initial Accuracy (%) Temperature Coefficient (ppm/°C) Max. Supply Current (µA @ 25°C) Packages
Comparators
Device # per Package Typical Propogation Delay (µsec) IQ Typical (µA) VOS Max (mV) Operating Voltage (V) Temperature Range (°C) Packages
Device Channels -3 db BW (Mhz) IQ Typical (mA) VOS (µV) Operating Voltage (V) Temperature Range (°C) Packages
MCP6S21 1 2 to 12 1.1 275 2.5 to 5.5 –40 to +85 PDIP-8, SOIC-8, MSOP-8
MCP6S22 2 2 to 12 1.1 275 2.5 to 5.5 –40 to +85 PDIP-8, SOIC-8, MSOP-8
MCP6S26 6 2 to 12 1.1 275 2.5 to 5.5 –40 to +85 PDIP-14, SOIC-14, TSSOP-14
PICmicro® Microcontroller
Device EEPROM Data Memory Bytes I/O Pins ADC Channels PWM 10-Bit Serial I/O Packages
The following literature is available on the Microchip AN913: Interfacing the TC77 Thermal Sensor to a PICmicro®
web site: www.microchip.com Microcontroller
Discusses system integration, firmware implementation and
Application Notes
PCB layout techniques for using the TC77 in an embedded
General Temperature Sensing system.
AN679: Temperature Sensing Technologies
AN940: Interfacing the TC72 SPI™ Digital Temperature Sensor
The most popular temperature sensor technologies are
to a PICmicro®Microcontroller
discussed at a level of detail that will give the reader insight Techniques for integrating the TC72 into an embedded system
into the methods for determining which sensor is most are demonstrated using the PICkit™ Flash Starter Kit.
appropriate for a particular application.
TB050: Monitoring Multiple Temperature Nodes Using TC74
AN929: Temperature Measurement Circuits for Embedded
Thermal Sensors and a PIC16C505
Applications The PIC16C505 is a 14-pin MCU that can easily interface
Explores selection techiques for temperature sensor and to the TC74. This Technical Brief illustrates the ease of
conditioning circuits to maximize the measurement accuracy, interfacing these two products.
while simplifying the interface to a microcontroller.
TB052: Multi-Zone Temperature Monitoring with the TCN75
AN867: Temperature-Sensing with a Programmable Gain Thermal Sensor
Amplifier Presents an example of a simple, multi-zone thermal-
The implementation of temperature measurement systems monitoring system using the Hardware mode of the Master
from sensor to PICmicro®microcontroller using a NTC Synchronous Serial Port (MSSP) module of a PICmicro®
thermistor, silicon temperature sensor, anti-aliasing filter, A/D microcontroller.
converter and microcontroller are discussed.
Thermocouples
Silicon IC Temperature Sensors
Analog Output AN684: Single-Supply Temperature Sensing with Thermocouples
This Application Note focuses on circuit solutions that use
Tech Brief 051: Precision Temperature Measurement Technical
thermocouples in their design. The signal-conditioning path for
Brief
the thermocouple system is discussed, followed by complete
Provides a description for interfacing a TC1046 temperature
application circuits.
sensor to a PIC16F872 microcontroller. A 2 x 20 dot
matrix LCD is included in the design to provide additional RTDs
functionality.
AN687: Precision Temperature Sensing with RTD Circuits
AN938: Interfacing a TC1047A Analog Output Temperature Focuses on circuit solutions that use platinum RTDs in their
Sensors to a PICmicro®Microcontroller design.
Discusses system integration, firmware implementation
and PCB layout techniques for using the TC1047A in an AN895: Oscillator Circuits for RTD Temperature Sensors
embedded system. Demonstrates how to design a temperature sensor oscillator
circuit using Microchip’s low-cost MCP6001 operational
Logic Output amplifier and the MCP6541 comparator.
AN762: Applications of the TC62X Solid-State Temperature
Sensor
Thermistors
Sensing temperature and comparing that temperature to AN685: Thermistors in Single-Supply Temperature Sensing
preset limits is the basis for a variety of problems that Systems
designers face in system design and process control. This Focuses on circuit solutions that use Negative Temperature
Application Note discusses the new generation of small, easy- Coefficient (NTC) thermistors in their design.
to-use, temperature-sensing products provided by Microchip
Technology Inc.; namely, the TC62X product family. AN897: Thermistor Temperature Sensing with MCP6S2X PGA
Presents two circuits that employ a precise, Negative
AN773: Application Circuits of the TC620/TC621 Solid-State Temperature Coefficient (NTC) thermistor for temperature
Temperature Sensors measurement.
Discusses the benefits of the TC620/TC621 solid-state
temperature sensors.
Serial Output
AN871: Solving Thermal Measurement Problems Using the
TC72 and TC77 Digital Silicon Temperature Sensors
Discusses the benefits of the TC72/TC77 temperature
sensors by analyzing their internal circuitry, illustrating the
principles these sensors employ to accurately measure
temperature.
������� ������
���������� ����������� ��������� ������������ ������
������������� ��������������� ��������������� ������������� �������
������� ���������� ��������
����������� �������� �������������
���������� ���������������� ����������� ������� ���������������
������������� ��������������
������������������� ������������ ���������������� �����������
������� ����������
������ ���������� �����������������
���������������
����������� �������
������������������ �����������
����������
�����������������
������������������
������������������
������������������
����������������
����������������������
Microchip Technology Inc. · 2355 W. Chandler Blvd · Chandler, AZ 85224-6199 · (480) 792−7200 · Fax (480) 792-9210
The Microchip name and logo, the Microchip logo, PIC and PICmicro are registered trademarks of Microchip Technology Inc.
in the U.S.A. and other countries. FanSense and Select Mode are trademarks of Microchip Technology Inc. All other trademarks mentioned
herein are property of their respective owners. Information subject to change. © 2004 Microchip Technology Inc. Printed in the U.S.A. All rights reserved. DS21895A 8/2004