a FEATURES –558C to +1258C (–678F to +2578F) Operation 61.08C Accuracy Over Temperature (typ) Temperature-Proportional Voltage Output User Programmable Temperature Trip Points User Programmable Hysteresis 20 mA Open Collector Trip Point Outputs TTL/CMOS Compatible Single-Supply Operation (4.5 V to 13.2 V) Low Cost 8-Pin DIP and SO Packages APPLICATIONS Over/Under Temperature Sensor and Alarm Board Level Temperature Sensing Temperature Controllers Electronic Thermostats Thermal Protection HVAC Systems Industrial Process Control Remote Sensors GENERAL DESCRIPTION The TMP01 is a temperature sensor which generates a voltage output proportional to absolute temperature and a control signal from one of two outputs when the device is either above or below a specific temperature range. Both the high/low temperature trip points and hysteresis (overshoot) band are determined by user-selected external resistors. For high volume production, these resistors are available on-board. The TMP01 consists of a bandgap voltage reference combined with a pair of matched comparators. The reference provides both a constant 2.5 V output and a voltage proportional to absolute temperature (VPTAT) which has a precise temperature coefficient of 5 mV/K and is 1.49 V (nominal) at +25°C. The comparators compare VPTAT with the externally set temperature trip points and generate an open-collector output signal when one of their respective thresholds has been exceeded. Low Power, Programmable Temperature Controller TMP01* FUNCTIONAL BLOCK DIAGRAM 2.5V VREF 1 R1 SET HIGH TEMPERATURE SENSOR SENSOR & VOLTAGE REFERENCE 2 8 V+ 7 OVER WINDOW COMPARATOR R2 SET LOW 3 GND 4 6 UNDER R3 5 VPTAT HYSTERESIS GENERATOR TMP01 Hysteresis is also programmed by the external resistor chain and is determined by the total current drawn out of the 2.5 V reference. This current is mirrored and used to generate a hysteresis offset voltage of the appropriate polarity after a comparator has been tripped. The comparators are connected in parallel, which guarantees that there is no hysteresis overlap and eliminates erratic transitions between adjacent trip zones. The TMP01 utilizes proprietary thin-film resistors in conjunction with production laser trimming to maintain a temperature accuracy of ± 1°C (typ) over the rated temperature range, with excellent linearity. The open-collector outputs are capable of sinking 20 mA, enabling the TMP01 to drive control relays directly. Operating from a +5 V supply, quiescent current is only 500 µA (max). The TMP01 is available in the low cost 8-pin epoxy mini-DIP and SO (small outline) packages, and in die form. *Protected by U.S. Patent No. 5,195,827. REV. C Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices. © Analog Devices, Inc., 1995 One Technology Way, P.O. Box 9106, Norwood. MA 02062-9106, U.S.A. Tel: 617/329-4700 Fax: 617/326-8703 TMP01EP/FP, TMP01ES/FS–SPECIFICATIONS Plastic DIP and Surface Mount Packages (V+ = +5 V, GND = O V, –408C ≤ T ≤ +858C unless otherwise noted) A Parameter Symbol INPUTS SET HIGH, SET LOW Offset Voltage Offset Voltage Drift Input Bias Current, “E” Input Bias Current, “F” VOS TCVOS IB IB OUTPUT VPTAT1 Output Voltage Scale Factor Temperature Accuracy, “E” Temperature Accuracy, “F” Temperature Accuracy, “E” Temperature Accuracy, “F” Temperature Accuracy, “E” Temperature Accuracy, “F” Temperature Accuracy, “E” Temperature Accuracy, “F” Repeatability Error Long Term Drift Error Power Supply Rejection Ratio OUTPUT VREF Output Voltage, “E” Output Voltage, “F” Output Voltage, “E” Output Voltage, “F” Output Voltage, “E” Output Voltage, “F” Drift Line Regulation Load Regulation Output Current, Zero Hysteresis Hysteresis Current Scale Factor Turn-On Settling Time VPTAT TCVPTAT ∆VPTAT PSRR VREF VREF VREF VREF VREF VREF TCVREF IVREF SFHYS Conditions Min 0.25 3 25 25 TA = +25°C, No Load TA = +25°C, No Load TA = +25°C, No Load 10°C < TA < 40°C, No Load 10°C < TA < 40°C, No Load –40°C < TA < 85°C, No Load –40°C < TA < 85°C, No Load –55°C < TA < 125°C, No Load –55°C < TA < 125°C, No Load Note 4 Notes 2 and 6 TA = +25°C, 4.5 V ≤ V+ ≤ 13.2 V –1.5 –3 TA = +25°C, No Load TA = +25°C, No Load –40°C < TA < 85°C, No Load –40°C < TA < 85°C, No Load –55°C < TA < 125°C, No Load –55°C < TA < 125°C, No Load 2.495 2.490 2.490 2.485 –3.0 –5.0 4.5 V ≤ V+ ≤ 13.2 V 10 µA ≤ IVREF ≤ 500 µA (Note 1) To Rated Accuracy OPEN-COLLECTOR OUTPUTS OVER, UNDER ISINK = 1.6 mA Output Low Voltage VOL ISINK = 20 mA Output Low Voltage VOL V+ = 12 V Output Leakage Current IOH Fall Time tHL See Test Load POWER SUPPLY Supply Range Supply Current Supply Current Power Dissipation V+ ISY ISY PDISS Typ 1.49 5 ± 0.5 ± 1.0 ± 0.75 ± 1.5 ±1 ±2 ± 1.5 ± 2.5 0.25 0.25 ± 0.02 2.500 2.500 2.500 2.500 2.5 ± 0.01 2.5 ± 0.015 –10 ± 0.01 ± 0.1 7 5.0 25 0.25 0.6 1 40 4.5 Unloaded, +V = 5 V Unloaded, +V = 13.2 V +V = 5 V 400 450 2.0 Max Units 50 100 mV µV/°C nA nA 1.5 3 3.0 5.0 0.5 ± 0.1 2.505 2.510 2.510 2.515 ± 0.05 ± 0.25 0.4 100 13.2 500 800 2.5 V mV/K °C °C °C °C °C °C °C °C Degree Degree %/V V V V V V V ppm/°C %/V %/mA µA µA/°C µs V V µA ns V µA µA mW NOTES 1 K = °C + 273.15. 2 Guaranteed but not tested. 3 Does not consider errors caused by heating due to dissipation of output load currents. 4 Maximum deviation between +25°C readings after temperature cycling between –55°C and +125°C. 5 Typical values indicate performance measured at T A = +25°C. 6 Observed in a group sample over an accelerated life test of 500 hours at 150°C. Specifications subject to change without notice. Test Load V+ 1kΩ 20pF –2– REV. C TMP01FJ–SPECIFICATIONS Parameter Symbol INPUTS SET HIGH, SET LOW Offset Voltage Offset Voltage Drift Input Bias Current, “F” VOS TCVOS IB TO-99 Metal Can Package (V+ = +5 V, GND = O V, –408C ≤ TA ≤ +858C unless otherwise noted) Conditions Min Typ 0.25 3 25 TMP01 Max Units 100 mV µV/°C nA 1 OUTPUT VPTAT Output Voltage Scale Factor Temperature Accuracy, “F” Temperature Accuracy, “F” Temperature Accuracy, “F” Temperature Accuracy, “F” Repeatability Error Long Term Drift Error Power Supply Rejection Ratio OUTPUT VREF Output Voltage, “F” Output Voltage, “F” Output Voltage, “F” Drift Line Regulation Load Regulation Output Current, Zero Hysteresis Hysteresis Current Scale Factor Turn-On Settling Time VPTAT TCVPTAT ∆VPTAT PSRR VREF VREF VREF TCVREF IVREF SFHYS TA = +25°C, No Load TA = +25°C, No Load 10°C < TA < 40°C, No Load –40°C < TA < 85°C, No Load –55°C < TA < 125°C, No Load Note 4 Notes 2 and 6 TA = +25°C, 4.5 V ≤ V+ ≤ 13.2 V –3 TA = +25°C, No Load –40°C < TA < 85°C, No Load –55°C < TA < 125°C, No Load 2.490 2.480 –5.0 4.5 V ≤ V+ ≤ 13.2 V 10 µA ≤ IVREF ≤ 500 µA (Note 1) To Rated Accuracy OPEN-COLLECTOR OUTPUTS OVER, UNDER ISINK = 1.6 mA Output Low Voltage VOL ISINK = 20 mA Output Low Voltage VOL V+ = 12 V Output Leakage Current IOH Fall Time tHL See Test Load, Note 2 POWER SUPPLY Supply Range Supply Current Supply Current Power Dissipation V+ ISY ISY PDISS 2.500 2.500 2.5 ± 0.015 –10 ± 0.01 ± 0.1 7 5.0 25 0.25 0.6 1 40 4.5 Unloaded, +V = 5 V Unloaded, +V = 13.2 V +V = 5 V NOTES 1 K = °C + 273.15. 2 Guaranteed but not tested. 3 Does not consider errors caused by heating due to dissipation of output load currents. 4 Maximum deviation between +25°C readings after temperature cycling between –55°C and +125°C. 5 Typical values indicate performance measured at T A = +25°C. 6 Observed in a group sample over an accelerated life test of 500 hours at 150°C. Specifications subject to change without notice. REV. C 1.49 5 ± 1.0 ± 1.5 ±2 ± 2.5 0.25 0.25 ± 0.02 –3– 400 450 2.0 3 5.0 0.5 ± 0.1 2.510 2.520 ± 0.05 ± 0.25 0.4 100 13.2 500 800 2.5 V mV/K °C °C °C °C Degree Degree %/V V V V ppm/°C %/V %/mA µA µA/°C µs V V µA ns V µA µA mW TMP01 WAFER TEST LIMITS (V DD = +5.0 V, GND = 0 V, TA = +258C, unless otherwise noted) Parameter Symbol INPUTS SET HIGH, SET LOW Input Bias Current IB Conditions OUTPUT VPTAT Temperature Accuracy Min TA = +25°C, No Load OUTPUT VREF Nominal Value Line Regulation Load Regulation VREF TA = +25°C, No Load 4.5 V ≤ V+ ≤ 13.2 V 10 µA ≤ IVREF ≤ 500 µA 2.490 OPEN-COLLECTOR OUTPUTS OVER, UNDER Output Low Voltage VOL ISINK = 1.6 mA Output Low Voltage VOL ISINK = 20 mA Output Leakage Current IOH POWER SUPPLY Supply Range Supply Current V+ ISY 4.5 Unloaded Typ Max Units 100 nA 1.5 °C 2.510 ± 0.05 ± 0.25 V %/V %/mA 0.4 1.0 100 mV V µA 13.2 600 V µA NOTES Electrical tests are performed at wafer probe to the limits shown. Due to variations in assembly methods and normal yield loss, yield after packaging is not guaranteed for standard product dice. Consult factory to negotiate specifications based on dice lot qualification through sample lot assembly and testing. DICE CHARACTERISTICS Die Size 0.078 × 0.071 inch, 5,538 sq. mils (1.98 × 1.80 mm, 3.57 sq. mm) Transistor Count: 105 8 7 6 5 1. 2. 3. 4. 4 1 2 3 VREF SETHIGH SETLOW GND (TWO PLACES) (CONNECTED TO SUBSTRATE) 5. VPTAT 6. UNDER 7. OVER 8. V+ 4 For additional DICE ordering information, refer to databook. –4– REV. C TMP01 ABSOLUTE MAXIMUM RATINGS GENERAL DESCRIPTION Maximum Supply Voltage . . . . . . . . . . . . . . . . –0.3 V to +15 V Maximum Input Voltage (SETHIGH, SETLOW) . . . . . . . . . –0.3 V to [(V+) +0.3 V] Maximum Output Current (VREF, VPTAT) . . . . . . . . . 2 mA Maximum Output Current (Open Collector Outputs) . . 50 mA Maximum Output Voltage (Open Collector Outputs) . . . . 15 V Operating Temperature Range . . . . . . . . . . . . –55°C to +150°C Dice Junction Temperature . . . . . . . . . . . . . . . . . . . . . +150°C Storage Temperature Range . . . . . . . . . . . . – 65°C to +150°C Lead Temperature (Soldering, 60 sec) . . . . . . . . . . . . . +300°C The TMP01 is a very linear voltage-output temperature sensor, with a window comparator that can be programmed by the user to activate one of two open-collector outputs when a predetermined temperature setpoint voltage has been exceeded. A low drift voltage reference is available for setpoint programming. Package Type θJA θJC Units 8-Pin Plastic DIP (P) 8-Lead SOIC (S) 8-Lead TO-99 Can (J) 1031 1582 1501 43 43 18 °C/W °C/W °C/W The temperature sensor is basically a very accurately temperature compensated, bandgap-type voltage reference with a buffered output voltage proportional to absolute temperature (VPTAT), accurately trimmed to a scale factor of 5 mV/K. See the Applications Information following. The low drift 2.5 V reference output VREF is easily divided externally with fixed resistors or potentiometers to accurately establish the programmed heat/cool setpoints, independent of temperature. Alternatively, the setpoint voltages can be supplied by other ground referenced voltage sources such as userprogrammed DACs or controllers. The high and low setpoint voltages are compared to the temperature sensor voltage, thus creating a two-temperature thermostat function. In addition, the total output current of the reference (IVREF) determines the magnitude of the temperature hysteresis band. The open collector outputs of the comparators can be used to control a wide variety of devices. NOTES 1 θJA is specified for device in socket (worst case conditions). 2 θJA is specified for device mounted on PCB. CAUTION 1. Stresses above those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. This is a stress rating only and functional operation at or above this specification is not implied. Exposure to the above maximum rating conditions for extended periods may affect device reliability. HYSTERESIS CURRENT VREF 1 2. Digital inputs and outputs are protected, however, permanent damage may occur on unprotected units from high energy electrostatic fields. Keep units in conductive foam or packaging at all times until ready to use. Use proper antistatic handling procedures. SET HIGH 3. Remove power before inserting or removing units from their sockets. ORDERING GUIDE Model/Grade Temperature Rangel Package Description Package Option TMP01EP TMP01FP TMP01ES TMP01FS TMP01FJ2 TMP01GBC XIND XIND XIND XIND XIND +25°C Plastic DIP Plastic DIP SOIC SOIC TO-99 Can Die N-8 N-8 SO-8 SO-8 H-08A 2 V+ 7 OVER 6 UNDER 5 VPTAT WINDOW COMPARATOR SET LOW 3 GND 4 VOLTAGE REFERENCE AND SENSOR 1kΩ HYSTERESIS VOLTAGE TEMPERATURE OUTPUT Figure 1. Detailed Block Diagram –5– 8 IHYS TMP01 NOTES 1 XIND = –40°C to +85°C. 2 Consult factory for availability of MIL/883 version in TO-99 can. REV. C ENABLE CURRENT MIRROR TMP01 Temperature Hysteresis The temperature hysteresis is the number of degrees beyond the original setpoint temperature that must be sensed by the TMP01 before the setpoint comparator will be reset and the output disabled. Figure 2 shows the hysteresis profile. The hysteresis is programmed by the user by setting a specific load on the reference voltage output VREF. This output current IVREF is also called the hysteresis current, which is mirrored internally and fed to a buffer with an analog switch. HYSTERESIS HIGH HYSTERESIS LOW The hysteresis current is readily calculated, as shown. For example, for 2 degrees of hysteresis, IVREF = 17 µA. Next, the setpoint voltages VSETHIGH and VSETLOW are determined using the VPTAT scale factor of 5 mV/K = 5 mV/(°C + 273.15), which is 1.49 V for +25°C. We then calculate the divider resistors, based on those setpoints. The equations used to calculate the resistors are: VSETHIGH = (TSETHIGH + 273.15)(5 mV/°C) VSETLOW = (TSETLOW + 273.15) (5 mV/°C) R1 (kΩ) = (VVREF – VSETHIGH)/IVREF = HI = (2.5 V – VSETHIGH)/IVREF R2 (kΩ) = (VSETHIGH – VSETLOW)/IVREF HYSTERESIS HIGH = HYSTERESIS LOW OUTPUT VOLTAGE OVER, UNDER R3 (kΩ) = VSETLOW/IVREF LO VVREF = 2.5V (V VREF – V SETHIGH )/I VREF = R1 TEMPERATURE TSETLOW VSETHIGH TSETHIGH IHYS = IVREF = 5 µA/°C + 7 µA Thus since VREF = 2.5 V, with a reference load resistance of 357 kΩ or greater (output current 7 µA or less), the temperature setpoint hysteresis will be zero degrees. See the temperature programming discussion below. Larger values of load resistance will only decrease the output current below 7 µA and will have no effect on the operation of the device. The amount of hysteresis is determined by selecting a value of load resistance for VREF, as shown below. V+ 7 OVER 3 6 UNDER 4 5 VPTAT TMP01 2 (V SETHIGH – V SETLOW )/I VREF = R2 VSETLOW Figure 2. TMP01 Hysteresis Profile After a temperature setpoint has been exceeded and a comparator tripped, the buffer output is enabled. The output is a current of the appropriate polarity which generates a hysteresis offset voltage across an internal 1000 Ω resistor at the comparator input. The comparator output remains “on” until the voltage at the comparator input, now equal to the temperature sensor voltage VPTAT summed with the hysteresis offset, has returned to the programmed setpoint voltage. The comparator then returns LOW, deactivating the open-collector output and disabling the hysteresis current buffer output. The scale factor for the programmed hysteresis current is: 8 1 IVREF VSETLOW /I VREF = R3 GND Figure 3. TMP01 Setpoint Programming The total R1 + R2 + R3 is equal to the load resistance needed to draw the desired hysteresis current from the reference, or IVREF. The formulas shown above are also helpful in understanding the calculation of temperature setpoint voltages in circuits other than the standard two-temperature thermostat. If a setpoint function is not needed, the appropriate comparator should be disabled. SETHIGH can be disabled by tying it to V+, SETLOW by tying it to GND. Either output can be left unconnected. 218 248 –55 –25 –18 273 298 323 348 373 398 0 25 50 75 100 125 K °C °F –67 1.09 Programming the TMP01 –25 1.24 0 32 50 1.365 77 1.49 100 150 1.615 1.74 200 212 257 1.865 1.99 VPTAT In the basic fixed-setpoint application utilizing a simple resistor ladder voltage divider, the desired temperature setpoints are programmed in the following sequence: Figure 4. Temperature—VPTAT Scale 1. Select the desired hysteresis temperature. 2. Calculate the hysteresis current IVREF. 3. Select the desired setpoint temperatures. 4. Calculate the individual resistor divider ladder values needed to develop the desired comparator setpoint voltages at SETHIGH and SETLOW. –6– REV. C TMP01 Understanding Error Sources in practice. Comparator input offset directly impacts the programmed setpoint voltage and thus the resulting hysteresis band, and must be included in error calculations. The accuracy of the VPTAT sensor output is well characterized and specified, however preserving this accuracy in a heating or cooling control system requires some attention to minimizing the various potential error sources. The internal sources of setpoint programming error include the initial tolerances and temperature drifts of the reference voltage VREF, the setpoint comparator input offset voltage and bias current, and the hysteresis current scale factor. When evaluating setpoint programming errors, remember that any VREF error contribution at the comparator inputs is reduced by the resistor divider ratios. The comparator input bias current (inputs SETHIGH, SETLOW) drops to less than 1 nA (typ) when the comparator is tripped. This can account for some setpoint voltage error, equal to the change in bias current times the effective setpoint divider ladder resistance to ground. External error sources to consider are the accuracy of the programming resistors, grounding error voltages, and the overall problem of thermal gradients. The accuracy of the external programming resistors directly impacts the resulting setpoint accuracy. Thus in fixed-temperature applications the user should select resistor tolerances appropriate to the desired programming accuracy. Resistor temperature drift must be taken into account also. This effect can be minimized by selecting good quality components, and by keeping all components in close thermal proximity. Applications requiring high measurement accuracy require great attention to detail regarding thermal gradients. Careful circuit board layout, component placement, and protection from stray air currents are necessary to minimize common thermal error sources. The thermal mass of the TMP01 package and the degree of thermal coupling to the surrounding circuitry are the largest factors in determining the rate of thermal settling, which ultimately determines the rate at which the desired temperature measurement accuracy may be reached. Thus, one must allow sufficient time for the device to reach the final temperature. The typical thermal time constant for the plastic package is approximately 140 seconds in still air! Therefore, to reach the final temperature accuracy within 1%, for a temperature change of 60 degrees, a settling time of 5 time constants, or 12 minutes, is necessary. Also, the user should take care to keep the bottom of the setpoint programming divider ladder as close to GND (Pin 4) as possible to minimize errors due to IR voltage drops and coupling of external noise sources. In any case, a 0.1 µF capacitor for power supply bypassing is always recommended at the chip. Safety Considerations In Heating And Cooling System Design Designers should anticipate potential system fault conditions which may result in significant safety hazards which are outside the control of and cannot be corrected by the TMP01-based circuit. Governmental and industrial regulations regarding safety requirements and standards for such designs should be observed where applicable. The setpoint comparator input offset voltage and zero hysteresis current affect setpoint error. While the 7 µA zero hysteresis current allows the user to program the TMP01 with moderate resistor divider values, it does vary somewhat from device to device, causing slight variations in the actual hysteresis obtained 550 5.0 MINIMUM SUPPLY VOLTAGE – Volts SUPPLY CURRENT – µA 525 500 475 +125°C 450 +85°C 425 –55°C 400 +25°C 375 –40°C 5 10 15 SUPPLY VOLTAGE – Volts 20 3.5 –50 –25 0 25 50 TEMPERATURE – °C 75 100 125 Figure 6. Minimum Supply Voltage vs. Temperature Figure 5. Supply Current vs. Supply Voltage REV. C 4.0 3.0 –75 350 0 4.5 –7– TMP01 +2.0 2.510 +1.5 X + 3σ 2.508 V+ = +5V CURVES NOT NORMALIZED EXTRAPOLATED FROM OPERATING LIFE DATA 2.506 2.504 +0.5 VREF – Volts VPTAT ERROR – °C +1.0 0 –0.5 2.502 2.500 X 2.498 2.496 –1.0 2.494 –1.5 X – 3σ 2.492 –3.0 –75 –50 –25 0 25 50 TEMPERATURE – °C 75 100 2.490 125 Figure 7. VPTAT Accuracy vs. Temperature 0 200 400 600 800 T = HOURS OF OPERATION AT 125°C; V+ = +5V Figure 10. VREF Long Term Drift Accelerated by Burn-In 2.508 100 2.506 80 2.504 60 PSRR – dB VREF – Volts V+ = +5V 2.502 20 2.498 0 –50 –25 0 25 50 TEMPERATURE – °C 75 100 V+ = +5V IVREF = 10µA 40 2.500 2.496 –75 1000 –20 100 125 1k 10k FREQUENCY – Hz 100k 1M Figure 11. VREF Power Supply Rejection vs. Frequency Figure 8. VREF Accuracy vs. Temperature 1.0 6.0 V C = +15V V+ = +5V T A = +25 °C OFFSET VOLTAGE – mV 5.0 VCE – Volts 4.0 3.0 2.0 0.1 V+ = +5V IVREF = 7.5µA 1.0 0 0 10 20 30 40 0.01 –75 50 IC – mA –50 –25 0 25 50 TEMPERATURE – °C 75 100 125 Figure 12. Set High, Set Low Input Offset Voltage vs. Temperature Figure 9. Open-Collector Output (OVER, UNDER) Saturation Voltage vs. Output Current –8– REV. C TMP01 8 10 V+ = +5V T A = +25°C I VREF = 5µA 7 9 V+ = +5V T A = +25°C 8 NUMBER OF DEVICES NUMBER OF DEVICES 6 5 4 3 7 6 5 4 3 2 2 1 0 –0.4 1 –0.32 –0.24 –0.16 –0.08 OFFSET – mV 0 0.08 0 0.16 Figure 13. Comparator Input Offset Distribution 6.4 6.6 7 7.2 7.4 7.6 6.8 REFERENCE CURRENT – µA 7.8 8 Figure 14. Zero Hysteresis Current Distribution With excellent drift and noise characteristics, VREF offers a good voltage reference for data acquisition and transducer excitation applications as well. Output drift is typically better than –10 ppm/°C, with 315 nV/√Hz (typ) noise spectral density at 1 kHz. APPLICATIONS INFORMATION Self-Heating Effects In some applications the user should consider the effects of selfheating due to the power dissipated by the open-collector outputs, which are capable of sinking 20 mA continuously. Under full load, the TMP01 open-collector output device is dissipating Preserving Accuracy Over Wide Temperature Range Operation PDISS = 0.6 V × .020A = 12 mW The TMP01 is unique in offering both a wide-range temperature sensor and the associated detection circuitry needed to implement a complete thermostatic control function in one monolithic device. While the voltage reference, setpoint comparators, and output buffer amplifiers have been carefully compensated to maintain accuracy over the specified temperature range, the user has an additional task in maintaining the accuracy over wide operating temperature ranges in this application. Since the TMP01 is both sensor and control circuit, in many applications it is possible that the external components used to program and interface the device may be subjected to the same temperature extremes. Thus it may be necessary to locate components in close thermal proximity to minimize large temperature differentials, and to account for thermal drift errors where appropriate, such as resistor matching tempcos, amplifier error drift, and the like. Circuit design with the TMP01 requires a slightly different perspective regarding the thermal behavior of electronic components. which in a surface-mount SO package accounts for a temperature increase due to self-heating of ∆T = PDISS × θJA = .012 W × 158°C/W = 1.9°C. This will of course directly affect the accuracy of the TMP01 and will for example cause the device to switch the heating output “OFF” 2 degrees early. Alternatively, bonding the same package to a moderate heatsink limits the self-heating effect to approximately ∆T = PDISS × θJC = .012 W × 43°C/W = 0.52°C. which is a much more tolerable error in most systems. The VREF and VPTAT outputs are also capable of delivering sufficient current to contribute heating effects and should not be ignored. Buffering the Voltage Reference As mentioned before, the reference output VREF is used to generate the temperature setpoint programming voltages for the TMP01 and also is used to determine the hysteresis temperature band by the reference load current IVREF. The on-board output buffer amplifier is typically capable of 500 µA output drive into as much as 50 pF load (max). Exceeding this load will affect the accuracy of the reference voltage, could cause thermal sensing errors due to dissipation, and may induce oscillations. Selection of a low drift buffer functioning as a voltage follower with high input impedance will ensure optimal reference accuracy, and will not affect the programmed hysteresis current. Amplifiers which offer the low drift, low power consumption, and low cost appropriate to this application include the OP295, and members of the OP90, OP97, OP177 families, and others as shown in the following applications circuits. REV. C 6.2 Thermal Response Time The time required for a temperature sensor to settle to a specified accuracy is a function of the thermal mass of the sensor, and the thermal conductivity between the sensor and the object being sensed. Thermal mass is often considered equivalent to capacitance. Thermal conductivity is commonly specified using the symbol Q, and can be thought of as the reciprocal of thermal resistance. It is commonly specified in units of degrees per watt of power transferred across the thermal joint. Thus, the time required for the TMP01 to settle to the desired accuracy is dependent on the package selected, the thermal contact established in that particular application, and the equivalent power of the heat source. In most applications, the settling time is probably best determined empirically. –9– TMP01 Switching Loads With The Open-Collector Outputs In many temperature sensing and control applications some type of switching is required. Whether it be to turn on a heater when the temperature goes below a minimum value or to turn off a motor that is overheating, the open-collector outputs Over and Under can be used. For the majority of applications, the switches used need to handle large currents on the order of 1 amp and above. Because the TMP01 is accurately measuring temperature, the open-collector outputs should handle less than 20 mA of current to minimize self-heating. Clearly, the Over-temp and Under-temp outputs should not drive the equipment directly. Instead, an external switching device is required to handle the large currents. Some examples of these are relays, power MOSFETs, thyristors, IGBTs, and Darlingtons. Figure 15 shows a variety of circuits where the TMP01 controls a switch. The main consideration in these circuits, such as the relay in Figure 15a, is the current required to activate the switch. 1 R1 2 VREF 3 R1 2 R2 3 HEATING ELEMENT 4 5 NC HYSTERESIS GENERATOR TMP01 NC = NO CONNECT Figure 15b. Driving a P-Channel MOSFET VREF R1 TEMPERATURE VPTAT SENSOR & 8 VOLTAGE REFERENCE V+ 4.7kΩ HEATING ELEMENT 4.7kΩ 7 NC R2 WINDOW COMPARATOR 3 IRF130 2N1711 6 R3 7 WINDOW COMPARATOR 6 R3 1 MOTOR SHUTDOWN 2.4kΩ (12V) 1.2kΩ (6V) 5% IRFR9024 OR EQUIV. WINDOW COMPARATOR 2 TEMPERATURE VPTAT SENSOR & 8 VOLTAGE IN4001 REFERENCE OR EQUIV. V+ 7 NC R2 +12V 1 VREF TEMPERATURE VPTAT SENSOR & 8 VOLTAGE REFERENCE 4 2604-12-311 COTO 5 NC HYSTERESIS GENERATOR TMP01 6 R3 NC = NO CONNECT 4 5 HYSTERESIS GENERATOR Figure 15c. Driving a N-Channel MOSFET TMP01 Figure 15a. Reed Relay Drive It is important to check the particular relay you choose to ensure that the current needed to activate the coil does not exceed the TMP01’s recommended output current of 20 mA. This is easily determined by dividing the relay coil voltage by the specified coil resistance. Keep in mind that the inductance of the relay will create large voltage spikes that can damage the TMP01 output unless protected by a commutation diode across the coil, as shown. The relay shown has a contact rating of 10 watts maximum. If a relay capable of handling more power is desired, the larger contacts will probably require a commensurately larger coil, with lower coil resistance and thus higher trigger current. As the contact power handling capability increases, so does the current needed for the coil. In some cases an external driving transistor should be used to remove the current load on the TMP01 as explained in the next section. Isolated Gate Bipolar Transistors (IGBT) combine many of the benefits of power MOSFETs with bipolar transistors, and are used for a variety of high power applications. Because IGBTs have a gate similar to MOSFETs, turning on and off the devices is relatively simple as shown in Figure 15d. The turn on voltage for the IGBT shown (IRGBC40S) is between 3.0 and 5.5 volts. This part has a continuous collector current rating of 50 A and a maximum collector to emitter voltage of 600 V, enabling it to work in very demanding applications. VREF 1 R1 TEMPERATURE VPTAT SENSOR & 8 VOLTAGE REFERENCE 2 R2 3 V+ 4.7kΩ 4.7kΩ MOTOR CONTROL 7 NC WINDOW COMPARATOR IRGBC40S 6 2N1711 R3 Power FETs are popular for handling a variety of high current DC loads. Figure 15b shows the TMP01 driving a p-channel MOSFET transistor for a simple heater circuit. When the output transistor turns on, the gate of the MOSFET is pulled down to approximately 0.6 V, turning it on. For most MOSFETs a gate-to-source voltage or Vgs on the order of –2 V to –5 V is sufficient to turn the device on. Figure 15c shows a similar circuit for turning on an n-channel MOSFET, except that now the gate to source voltage is positive. Because of this reason an external transistor must be used as an inverter so that the MOSFET will turn on when the “Under Temp” output pulls down. –10– 4 5 NC HYSTERESIS GENERATOR TMP01 NC = NO CONNECT Figure 15d. Driving an IGBT REV. C TMP01 The last class of high power devices discussed here are Thyristors, which includes SCRs and Triacs. Triacs are a useful alternative to relays for switching ac line voltages. The 2N6073A shown in Figure 15e is rated to handle 4A (rms). The optoisolated MOC3011. Triac shown features excellent electrical isolation from the noisy ac line and complete control over the high power Triac with only a few additional components. VREF 1 R1 TEMPERATURE VPTAT SENSOR & 8 VOLTAGE REFERENCE 2 V+ IC 4.7kΩ 2N1711 7 R2 WINDOW COMPARATOR 3 Q1 6 R3 VREF 1 R1 TEMPERATURE VPTAT V+ = 5V SENSOR & 8 VOLTAGE REFERENCE 300Ω 2 4 5 HYSTERESIS GENERATOR AC LOAD TMP01 7 NC R2 1 WINDOW COMPARATOR 3 6 150Ω Figure 16a. An External Resistor Minimizes Self-Heating 2 MOC3011 5 3 4 6 R3 VREF 2N6073A 4 1 5 NC HYSTERESIS GENERATOR R1 TEMPERATURE VPTAT SENSOR & 8 VOLTAGE REFERENCE IC 4.7kΩ 4.7kΩ 2N1711 TMP01 2 7 R2 NC = NO CONNECT WINDOW COMPARATOR 3 Figure 15e. Controlling the 2N6073A Triac 6 4 As mentioned above, internal dissipation due to large loads on the TMP01 outputs will cause some temperature error due to self-heating. External transistors remove the load from the TMP01, so that virtually no power is dissipated in the internal transistors and no self-heating occurs. Figure 16 shows a few examples using external transistors. The simplest case, using a single transistor on the output to invert the output signal is shown in Figure 16a. When the open-collector of the TMP01 turns “ON” and pulls the output down, the external transistor Q1’s base will be pulled low, turning off the transistor. Another transistor can be added to reinvert the signal as shown in Figure 16b. Now, when the output of the TMP01 is pulled down, the first transistor, Q1, turns off and its collector goes high, which turns Q2 on, pulling its collector low. Thus, the output taken from the collector of Q2 is identical to the output of the TMP01. By picking a transistor that can accommodate large amounts of current, many high power devices can be switched. Figure 16b. Second Transistor Maintains Polarity of TMP01 Output An example of a higher power transistor is a standard Darlington configuration as shown in Figure 16c. The part chosen, TIP-110, can handle 2A continuous which is more than enough to control many high power relays. In fact the Darlington itself can be used as the switch, similar to MOSFETs and IGBTs. MOTOR SWITCH R1 TEMPERATURE VPTAT SENSOR & 8 VOLTAGE REFERENCE 2 R2 3 IC V+ 4.7kΩ 7 WINDOW COMPARATOR 4.7kΩ TIP-110 2N1711 6 R3 4 5 HYSTERESIS GENERATOR Q2 TMP01 RELAY VREF Q1 5 HYSTERESIS GENERATOR +12V 1 2N1711 R3 High Current Switching TMP01 Figure 16c. Darlington Transistor Can Handle Large Currents REV. C V+ –11– TMP01 Buffering the Temperature Output Pin The VPTAT sensor output is a low impedance dc output voltage with a 5 mV/K temperature coefficient, and is useful in a number of measurement and control applications. In many applications, this voltage needs to be transmitted to a central location for processing. The buffered VPTAT voltage output is capable of 500 µA drive into 50 pF (max). As mentioned in the discussion above regarding buffering circuits for the VREF output, it is useful to consider external amplifiers for interfacing VPTAT to external circuitry to ensure accuracy, and to minimize loading which could create dissipation-induced temperature sensing errors. An excellent general-purpose buffer circuit using the OP177 is shown in Figure 17 which is capable of driving over 10 mA, and will remain stable under capacitive loads of up to 0.1 µF. Other interfacing ideas are shown below. Differential Transmitter In noisy industrial environments, it is difficult to send an accurate analog signal over a significant distance. However, by sending the signal differentially on a wire pair, these errors can be significantly reduced. Since the noise will be picked up equally on both wires, a receiver with high common-mode input rejection can be used to cancel out the noise very effectively at the V+ VREF 1 R1 TEMPERATURE VPTAT SENSOR & 8 VOLTAGE REFERENCE 2 R2 3 WINDOW COMPARATOR 10kΩ 7 0.1µF 6 V+ VOUT 100Ω R3 VPTAT 4 5 HYSTERESIS GENERATOR OP177 CL V– TMP01 Figure 17. Buffer VPTAT to Handle Difficult Loads receiving end. Figure 18 shows two amplifiers being used to send the signal differentially, and an excellent differential receiver, the AMP03, which features a common-mode rejection ratio of 95 dB at dc and very low input and drift errors. V+ VREF 1 R1 TEMPERATURE VPTAT SENSOR & 8 VOLTAGE REFERENCE 2 R2 3 7 WINDOW COMPARATOR 10kΩ 6 50Ω R3 VPTAT 4 5 HYSTERESIS GENERATOR 10kΩ TMP01 V+ 1/2 OP297 10kΩ VOUT AMP03 50Ω V– 1/2 OP297 Figure 18. Send the Signal Differentially for Noise Immunity –12– REV. C TMP01 4 mA-20 mA Current Loop Another, very common method of transmitting a signal over long distances is to use a 4 mA-20 mA Loop, as shown in Figure 19. An advantage of using a 4 mA-20 mA loop is that the accuracy of a current loop is not compromised by voltage drops across the line. One requirement of 4 mA-20 mA circuits is that the remote end must receive all of its power from the loop, meaning that the circuit must consume less than 4 mA. Operating from +5 V, the quiescent current of the TMP01 is 500 µA max, and the OP90s is 20 µA max, totaling less than 4 mA. Although not shown, the open collector outputs and temperature setting pins can be connected to do any local control of switching. The current is proportional to the voltage on the VPTAT output, and is calibrated to 4 mA at a temperature of –40°C, to 20 mA for +85°C. The main equation governing the operation of this circuit gives the current as a function of VPTAT: IOUT = 1 VPTAT × R5 VREF × R3 R5 – 1 + R2 R6 R3 + R1 R2 high accuracy. For initial accuracy, a 10 kΩ trim potentiometer can be included in series with R3, and the value of R3 lowered to 95 kΩ. The potentiometer should be adjusted to produce an output current of 12.3 mA at 25°C. Temperature-to-Frequency Converter Another common method of transmitting analog information is to convert a voltage to the frequency domain. This is easily done with any of the low cost monolithic Voltage-to-Frequency Converters (VFCs) available, which feature a robust, open-collector digital output. A digital signal is very immune to noise and voltage drops because the only important information is the frequency. As long as the conversions between temperature and frequency are done accurately, the temperature data can be successfully transmitted. A simple circuit to do this combines the TMP01 with an AD654 VFC, as shown in Figure 20. The AD654 outputs a square wave that is proportional to the dc input voltage according to the following equation: FOUT = The resulting temperature coefficient of the output current is 128 µA/°C. 1 V+ VREF 8 +5V TO +13.2V TMP01 4 GND VPTAT 2 7 5 R1 243kΩ R3 100kΩ R2 39.2kΩ OP90 3 2N1711 6 VIN 10 (R1 + R2) CT By simply connecting the VPTAT output to the input of the AD654, the 5 mV/°C temperature coefficient gives a sensitivity of 25 Hz/°C, centered around 7.5 kHz at 25°C. The trimming resistor R2 is needed to calibrate the absolute accuracy of the AD654. For more information on that part, please consult the AD654 data sheet. Finally, the AD650 can be used to accurately convert the frequency back to a dc voltage on the receiving end. 4 V+ R1 TEMPERATURE VPTAT SENSOR & 8 VOLTAGE REFERENCE 2 7 VREF 1 R6 100Ω R5 100kΩ 4–20mA R2 RL 3 WINDOW COMPARATOR V+ CT 0.1µF V+ 8 6 6 5kΩ 7 1 R3 4 Figure 19. 4-20 mA Current Loop HYSTERESIS GENERATOR AD654 FOUT OSC 3 TMP01 To determine the resistor values in this circuit, first note that VREF remains constant over temperature. Thus the ratio of R5 over R2 must give a variation of IOUT from 4 mA to 20 mA as VPTAT varies from 1.165 V at –40°C to 1.79 V at +85°C. The absolute value of the resistors is not important, only the ratio. For convenience, 100 kΩ is chosen for R5. Once R2 is calculated, the value of R3 and R1 is determined by substituting 4 mA for IOUT and 1.165 V for VPTAT and solving. The final values are shown in the circuit. The OP90 is chosen for this circuit because of its ability to operate on a single supply and its REV. C VPTAT 4 5 R1 1.8kΩ 5 2 R2 500Ω Figure 20. Temperature-to-Frequency Converter –13– TMP01 OP290 V+ R1 VREF TEMPERATURE VPTAT SENSOR & 1 8 VOLTAGE REFERENCE 2 R2 3 1 2 V+ 7 3 6 7 100Ω OP290 WINDOW COMPARATOR 2 6 6 6 2.5V 3 IN4148 I1 4 5 TMP01 4 V+ 680pF HYSTERESIS GENERATOR REF43 2 3 4 R3 4 V+ IL300XC I2 5 7 OP90 1.16V TO 1.7V 6 4 2 R1 470kΩ ISOLATION BARRIER 604kΩ 100kΩ 680pF Figure 21. Isolation Amplifier Isolation Amplifier In many industrial applications the sensor is located in an environment that needs to be electrically isolated from the central processing area. Figure 21 shows a simple circuit that uses an 8-pin optoisolator (IL300XC) that can operate across a 5,000 V barrier. IC1 (an OP290 single-supply amplifier) is used to drive the LED connected between Pins 1 to 2. The feedback actually comes from the photodiode connected from Pins 3 to 4. The OP290 drives the LED such that there is enough current generated in the photodiode to exactly equal the current derived from the VPTAT voltage across the 470 kΩ resistor. On the receiving end, an OP90 converts the current from the second photodiode to a voltage through its feedback resistor R2. Note that the other amplifier in the dual OP290 is used to buffer the 2.5 V reference voltage of the TMP01 for an accurate, low drift LED bias level without affecting the programmed hysteresis current. A REF43 (a precision 2.5 V reference) provides an accurate bias level at the receiving end. To understand this circuit, it helps to examine the overall equation for the output voltage. First, the current (I1) in the photodiode is set by: example, at room temperature, VPTAT = 1.49 V, so adjust R2 until VOUT = 1.49 V as well. Both the REF43 and the OP90 operate from a single supply, and contribute no significant error due to drift. In order to avoid the accuracy trim, and to reduce board space, complete isolation amplifiers are available, such as the high accuracy AD202. Out-of-Range Warning By connecting the two open collector outputs of the TMP01 together into a “wired-OR” configuration, a temperature “outof-range” warning signal is generated. This can be useful in sensitive equipment calibrated to work over a limited temperature range. R1, R2, and R3 in Figure 22 are chosen to give a temperature range of 10°C around room temperature (25°C). Thus, if the temperature in the equipment falls below +15°C or rises above +35°C, the Undertemp Output or Overtemp Output respectively will go low and turn the LED on. The LED may be replaced with a simple pull-up resistor to give a logic output for controlling the instrument, or any of the switching devices discussed above can be used. V+ I1 = 2.5 V – VPTAT 470 kΩ R1 47.5kΩ Note that the IL300XC has a gain of 0.73 (typical) with a min and max of 0.693 and 0.769 respectively. Since this is less than 1.0, R2 must be larger than R1 to achieve overall unity gain. To show this the full equation is: 2. 5 V V OUT = 2. 5 V – I2 R2 = 2. 5 V – 0. 7 – VPTAT 470 kΩ VREF TEMPERATURE VPTAT SENSOR & 1 8 VOLTAGE REFERENCE 2 R2 4.99kΩ 3 LED 200Ω 7 WINDOW COMPARATOR 6 R3 71.5kΩ 4 644 kΩ = VPTAT 5 HYSTERESIS GENERATOR VPTAT TMP01 A trim is included for R2 to correct for the initial gain accuracy of the IL300XC. To perform this trim, simply adjust for an output voltage equal to VPTAT at any particular temperature. For Figure 22. Out-of-Range Warning –14– REV. C TMP01 Translating 5 mV/K to 10 mV/°C A useful circuit is shown in Figure 23 that translates the VPTAT output voltage, which is calibrated in Kelvins, into an output that can be read directly in degrees Celsius on a voltmeter display. To accomplish this, an external amplifier is configured as a differential amplifier. The resistors are scaled so the VREF voltage will exactly cancel the VPTAT voltage at 0.0°C. 10pF However, the gain from VPTAT to the output is two, so that 5 mV/K becomes 10 mV/°C. Thus, for a temperature of +80°C, the output voltage is 800 mV. Circuit errors will be due primarily to the inaccuracies of the resistor values. Using 1% resistors the observed error was less than 10 mV, or 1°C. The 10 pF feedback capacitor helps to ensure against oscillations. For better accuracy, a adjustment potentiometer can be added in series with either 100 kΩ resistor. Translating VPTAT to the Fahrenheit Scale 105kΩ 4.22kΩ +15V VREF TMP01 VPTAT 1 100kΩ 5 4.12kΩ 487Ω 7 2 OP177 3 VOUT (10mV/°C) (V OUT = 0.0V @ T = 0.0°C) 6 4 100kΩ –15V Figure 23. Translating 5 mV/K to 10 mV/°C A very similar circuit to the one shown in Figure 23 can be used to translate VPTAT into an output that can be read directly in degrees Fahrenheit, with a scaling of 10 mV/°F. Only unity gain or less is available from the first stage differentiating circuit, so the second amplifier provides a gain of two to complete the conversion to the Fahrenheit scale. Using the circuit in Figure 24, a temperature of 0.0°F gives an output of 0.00 V. At room temperature (70°F) the output voltage is 700 mV. A –40°C to +85°C operating range translates into –40°F to +185°F. The errors are essentially the same as for the circuit in Figure 23. 10pF 100kΩ 90.9kΩ 1.0kΩ +15V VREF TMP01 VPTAT 1 100kΩ 5 6.49kΩ 121Ω 100kΩ 100kΩ 6 2 7 3 4 7 5 6 1/2 OP297 1/2 OP297 –15V Figure 24. Translating 5 mV/K to 10 mV/°F REV. C –15– VOUT = 0.0V @ T = 0.0°F (10mV/ °F) TMP01 OUTLINE DIMENSIONS Dimensions shown in inches and (mm). 8 C1802b–5–7/95 8-Pin Epoxy DIP 5 0.280 (7.11) 0.240 (6.10) 1 4 0.070 (1.77) 0.045 (1.15) 0.430 (10.92) 0.348 (8.84) 0.325 (8.25) 0.300 (7.62) 0.015 (0.381) TYP 0.210 (5.33) MAX 0.195 (4.95) 0.115 (2.93) 0.130 (3.30) MIN 0.160 (4.06) 0.115 (2.93) SEATING PLANE 0.100 (2.54) BSC 0.022 (0.558) 0.014 (0.356) 0.015 (0.381) 0.008 (0.204) 0°- 15° 8-Pin SOIC 8 5 0.2440 (6.20) 0.2284 (5.80) 0.1574 (4.00) 0.1497 (3.80) 4 1 0.1968 (5.00) 0.1890 (4.80) 0.0196 (0.50) × 45° 0.0099 (0.25) 0.102 (2.59) 0.094 (2.39) 0.0098 (0.25) 0.0040 (0.10) 0°-8° 0.0500 (1.27) BSC 0.0192 (0.49) 0.0138 (0.35) 0.0500 (1.27) 0.0160 (0.41) 0.0098 (0.25) 0.0075 (0.19) SEATING PLANE 8-Pin TO-99 REFERENCE PLANE 0.050 (1.27) MAX 0.750 (19.05) 0.500 (12.70) 0.250 (6.35) MIN 0.115 (2.92) BSC 0.160 (4.06) 0.110 (2.79) PRINTED IN U.S.A. 0.185 (4.70) 0.165 (4.19) 5 6 4 0.335 (8.51) 0.305 (7.75) 0.230 (5.84) BSC 0.370 (9.40) 0.335 (8.51) 7 3 8 2 0.040 (1.02) MAX 0.045 (1.14) 0.010 (0.25) 0.115 (2.92) BSC 0.019 (0.48) 0.016 (0.41) 0.021 (0.53) 0.016 (0.41) BASE & SEATING PLANE –16– 0.045 (1.14) 0.027 (0.69) 1 0.034 (0.86) 0.027 (0.69) 45 ° BSC REV. C