Remote/Local Temperature Sensor With Smbus Serial Interface
Remote/Local Temperature Sensor With Smbus Serial Interface
Remote/Local Temperature Sensor With Smbus Serial Interface
________________General Description
The MAX1617 (patents pending) is a precise digital thermometer that reports the temperature of both a remote sensor and its own package. The remote sensor is a diode-connected transistortypically a low-cost, easily mounted 2N3904 NPN typethat replaces conventional thermistors or thermocouples. Remote accuracy is 3C for multiple transistor manufacturers, with no calibration needed. The remote channel can also measure the die temperature of other ICs, such as microprocessors, that contain an on-chip, diode-connected transistor. The 2-wire serial interface accepts standard System Management Bus (SMBus) Write Byte, Read Byte, Send Byte, and Receive Byte commands to program the alarm thresholds and to read temperature data. The data format is 7 bits plus sign, with each bit corresponding to 1C, in twos-complement format. Measurements can be done automatically and autonomously, with the conversion rate programmed by the user or programmed to operate in a single-shot mode. The adjustable rate allows the user to control the supply-current drain. The MAX1617 is available in a small, 16-pin QSOP surface-mount package.
MAX1617
_______________Ordering Information
PART* MAX1617MEE TEMP. RANGE -55C to +125C PIN-PACKAGE 16 QSOP
________________________Applications
Desktop and Notebook Computers Smart Battery Packs LAN Servers Industrial Controls Central Office Telecom Equipment Test and Measurement Multi-Chip Modules
___________________Pin Configuration
TOP VIEW
N.C. 1 VCC 2 DXP 3 DXN 4 N.C. 5 ADD1 6 GND 7 GND 8 16 N.C. 15 STBY 14 SMBCLK
MAX1617
DXP SMBCLK SMBDATA 2N3904 DXN 2200pF ALERT CLOCK DATA INTERRUPT TO C
MAX1617
QSOP
Patents Pending 1
For free samples & the latest literature: http://www.maxim-ic.com, or phone 1-800-998-8800. For small orders, phone 408-737-7600 ext. 3468.
Stresses beyond those listed under Absolute Maximum Ratings may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.
ELECTRICAL CHARACTERISTICS
(VCC = +3.3V, TA = 0C to +85C, unless otherwise noted.) PARAMETER ADC AND POWER SUPPLY Temperature Resolution (Note 1) Initial Temperature Error, Local Diode (Note 2) Temperature Error, Remote Diode (Notes 2 and 3) Temperature Error, Local Diode (Notes 1 and 2) Supply-Voltage Range Undervoltage Lockout Threshold Undervoltage Lockout Hysteresis Power-On Reset Threshold POR Threshold Hysteresis Logic inputs forced to VCC or GND SMBus static Hardware or software standby, SMBCLK at 10kHz 0.25 conv/sec 2.0 conv/sec 94 -25 High level Low level 80 8 100 10 0.7 ADD0, ADD1; momentary upon power-on reset 160 VCC, falling edge 1.0 VCC input, disables A/D conversion, rising edge Monotonicity guaranteed TA = +60C to +100C TA = 0C to +85C TR = +60C to +100C TR = -55C to +125C Including long-term drift TA = +60C to +100C TA = 0C to +85C 8 -2 -3 -3 -5 -2.5 -3.5 3.0 2.60 2.80 50 1.7 50 3 4 35 120 125 70 A 180 156 25 120 12 ms % A V A 10 A 2.5 2 3 3 5 2.5 3.5 5.5 2.95 Bits C C C V V mV V mV CONDITIONS MIN TYP MAX UNITS
Average Operating Supply Current Conversion Time Conversion Rate Timing Error Remote-Diode Source Current DXN Source Voltage Address Pin Bias Current
Auto-convert mode, average measured over 4sec. Logic inputs forced to VCC or GND.
From stop bit to conversion complete (both channels) Auto-convert mode DXP forced to 1.5V
_______________________________________________________________________________________
MAX1617
ELECTRICAL CHARACTERISTICS
(VCC = +3.3V, TA = -55C to +125C, unless otherwise noted.) (Note 6) PARAMETER ADC AND POWER SUPPLY Temperature Resolution (Note 1) Initial Temperature Error, Local Diode (Note 2) Temperature Error, Remote Diode (Notes 2 and 3) Supply-Voltage Range Conversion Time Conversion Rate Timing Error From stop bit to conversion complete (both channels) Auto-convert mode Monotonicity guaranteed TA = +60C to +100C TA = -55C to +125C TR = +60C to +100C TR = -55C to +125C 8 -2 -3 -3 -5 3.0 94 -25 125 2 3 3 5 5.5 156 25 Bits C C V ms % CONDITIONS MIN TYP MAX UNITS
_______________________________________________________________________________________
STBY, SMBCLK, SMBDATA; VCC = 3V to 5.5V ALERT, SMBDATA forced to 0.4V ALERT forced to 5.5V Logic inputs forced to VCC or GND
Note 1: Guaranteed but not 100% tested. Note 2: Quantization error is not included in specifications for temperature accuracy. For example, if the MAX1617 device temperature is exactly +66.7C, the ADC may report +66C, +67C, or +68C (due to the quantization error plus the +1/2C offset used for rounding up) and still be within the guaranteed 1C error limits for the +60C to +100C temperature range. See Table 2. Note 3: A remote diode is any diode-connected transistor from Table 1. TR is the junction temperature of the remote diode. See Remote Diode Selection for remote diode forward voltage requirements. Note 4: The SMBus logic block is a static design that works with clock frequencies down to DC. While slow operation is possible, it violates the 10kHz minimum clock frequency and SMBus specifications, and may monopolize the bus. Note 5: Note that a transition must internally provide at least a hold time in order to bridge the undefined region (300ns max) of SMBCLKs falling edge. Note 6: Specifications from -55C to +125C are guaranteed by design, not production tested.
20
12
10
-10 PATH = DXP TO VCC (5V) -20 1 3 10 30 100 LEAKAGE RESISTANCE (M)
0 -50 0 50 TEMPERATURE (C) 100 150 50 500 5k 50k 500k 5M 50M FREQUENCY (Hz)
_______________________________________________________________________________________
MAX1617
30 VIN = SQUARE WAVE AC COUPLED TO DXN TEMPERATURE ERROR (C) VIN = 100mVp-p 20
10
10
VIN = 3mVp-p SQUARE WAVE APPLIED TO DXP-DXN 0 50 500 5k 50k 500k 5M 50M FREQUENCY (Hz) -5 50 500 5k 50k 500k 5M 50M FREQUENCY (Hz) -5 50 500 5k 50k 500k 5M 50M FREQUENCY (Hz)
100
20
10
125
300
75
200
50
100
_______________________________________________________________________________________
DXP
4 6 7, 8 10 11 12 14 15
_______________Detailed Description
The MAX1617 (patents pending) is a temperature sensor designed to work in conjunction with an external microcontroller (C) or other intelligence in thermostatic, process-control, or monitoring applications. The C is typically a power-management or keyboard controller, generating SMBus serial commands by bitbanging general-purpose input-output (GPIO) pins or via a dedicated SMBus interface block. Essentially an 8-bit serial analog-to-digital converter (ADC) with a sophisticated front end, the MAX1617 contains a switched current source, a multiplexer, an ADC, an SMBus interface, and associated control logic (Figure 1). Temperature data from the ADC is loaded into two data registers, where it is automatically compared with data previously stored in four over/undertemperature alarm registers.
_______________________________________________________________________________________
VCC
MAX1617
STBY
ADD0
ADD1
MUX
2 + LOCAL READ DIODE FAULT 8 8 WRITE 7 + REMOTE + -
ADDRESS DECODER
DXP
DXN
SMBDATA SMBCLK
GND
ALERT
Q R
MAX1617
_______________________________________________________________________________________
S SELECTED VIA SLAVE ADD = 0001 100 ALERT RESPONSE ADDRESS REGISTER
Remote-Diode Selection
Temperature accuracy depends on having a good-quality, diode-connected small-signal transistor. Accuracy has been experimentally verified for all of the devices listed in Table 1. The MAX1617 can also directly measure the die temperature of CPUs and other integrated circuits having on-board temperature-sensing diodes. The transistor must be a small-signal type with a relatively high forward voltage; otherwise, the A/D input voltage range can be violated. The forward voltage must be greater than 0.25V at 10A; check to ensure this is true at the highest expected temperature. The forward voltage must be less than 0.95V at 100A; check to ensure this is true at the lowest expected temperature. Large power transistors dont work at all. Also, ensure that the base resistance is less than 100. Tight specifications for forward-current gain (+50 to +150, for example) indicate that the manufacturer has good process controls and that the devices have consistent VBE characteristics. For heat-sink mounting, the 500-32BT02-000 thermal sensor from Fenwal Electronics is a good choice. This device consists of a diode-connected transistor, an aluminum plate with screw hole, and twisted-pair cable (Fenwal Inc., Milford, MA, 508-478-6000).
fastest rate and simultaneously sinking maximum current at the ALERT output. For example, at an 8Hz rate and with ALERT sinking 1mA, the typical power dissipation is VCC x 450A plus 0.4V x 1mA. Package theta J-A is about 150C/W, so with VCC = 5V and no copper PC board heat-sinking, the resulting temperature rise is: dT = 2.7mW x 150C/W = 0.4C Even with these contrived circumstances, it is difficult to introduce significant self-heating errors.
_______________________________________________________________________________________
MAX1617
Use guard traces flanking DXP and DXN and connecting to GND. Place the noise filter and the 0.1F V CC bypass capacitors close to the MAX1617. Add a 200 resistor in series with VCC for best noise filtering (see Typical Operating Circuit).
_______________________________________________________________________________________
Data Byte: data goes into the register set by the command byte (to set thresholds, configuration masks, and sampling rate)
the T HIGH or T LOW alarms at their POR settings. In applications that are never subjected to 0C in normal operation, a 0000 0000 result can be checked to indicate a fault condition in which DXP is accidentally short circuited. Similarly, if DXP is short circuited to VCC, the ADC reads +127C for both remote and local channels, and the device alarms.
ALERT Interrupts
The ALERT interrupt output signal is latched and can only be cleared by reading the Alert Response address. Interrupts are generated in response to THIGH and TLOW comparisons and when the remote diode is disconnected (for continuity fault detection). The interrupt does not halt automatic conversions; new temperature data continues to be available over the SMBus interface after ALERT is asserted. The interrupt output pin is open-drain so that devices can share a common interrupt line. The interrupt rate can never exceed the conversion rate. The interface responds to the SMBus Alert Response address, an interrupt pointer return-address feature (see Alert Response Address section). Prior to taking corrective action, always check to ensure that an interrupt is valid by reading the current temperature.
______________________________________________________________________________________
*If the device is in hardware standby mode at POR, both temperature registers read 0C.
The Alert Response can activate several different slave devices simultaneously, similar to the I2C General Call. If more than one slave attempts to respond, bus arbitration rules apply, and the device with the lower address code wins. The losing device does not generate an acknowledge and continues to hold the ALERT line low until serviced (implies that the host interrupt input is level-sensitive). Successful reading of the alert response address clears the interrupt latch.
______________________________________________________________________________________
RUN/ STOP
50
RFU
data is lost. The ALERT interrupt latch is independent of the status byte register, so no false alerts are generated by an internal bus collision. When auto-converting, if the THIGH and TLOW limits are close together, its possible for both high-temp and low-temp status bits to be set, depending on the amount of time between status read operations (especially when converting at the fastest rate). In these circumstances, its best not to rely on the status bits to indicate reversals in long-term temperature changes and instead use a current temperature reading to establish the trend direction.
*These flags stay high until cleared by POR, or until the status byte register is read.
To check for internal bus collisions, read the status byte. If the least significant seven bits are ones, discard the data and read the status byte again. The status bits LHIGH, LLOW, RHIGH, and RLOW are refreshed on the SMBus clock edge immediately following the stop condition, so there is no danger of losing temperature-related status data as a result of an internal bus collision. The OPEN status bit (diode continuity fault) is only refreshed at the beginning of a conversion, so OPEN
______________________________________________________________________________________
13
Slave Addresses
The MAX1617 appears to the SMBus as one device having a common address for both ADC channels. The device address can be set to one of nine different values by pin-strapping ADD0 and ADD1 so that more than one MAX1617 can reside on the same bus without address conflicts (Table 9). The address pin states are checked at POR only, and the address data stays latched to reduce quiescent supply current due to the bias current needed for high-Z state detection. The MAX1617 also responds to the SMBus Alert Response slave address (see the Alert Response Address section).
Note: High-Z means that the pin is left unconnected and floating.
Power-Up Defaults: Interrupt latch is cleared. Address select pins are sampled. ADC begins auto-converting at a 0.25Hz rate. Command byte is set to 00h to facilitate quick remote Receive Byte queries. THIGH and TLOW registers are set to max and min limits, respectively.
______________________________________________________________________________________
SMBCLK
SMBDATA
tSU:STA
tHD:STA
tSU:DAT
tHD:DAT
tSU:STO tBUF
A = START CONDITION B = MSB OF ADDRESS CLOCKED INTO SLAVE C = LSB OF ADDRESS CLOCKED INTO SLAVE D = R/W BIT CLOCKED INTO SLAVE E = SLAVE PULLS SMBDATA LINE LOW
F = ACKNOWLEDGE BIT CLOCKED INTO MASTER G = MSB OF DATA CLOCKED INTO SLAVE H = LSB OF DATA CLOCKED INTO SLAVE I = SLAVE PULLS SMBDATA LINE LOW
J = ACKNOWLEDGE CLOCKED INTO MASTER K = ACKNOWLEDGE CLOCK PULSE L = STOP CONDITION, DATA EXECUTED BY SLAVE M = NEW START CONDITION
A tLOW
B tHIGH
SMBCLK
SMBDATA
tSU:STA tHD:STA A = START CONDITION B = MSB OF ADDRESS CLOCKED INTO SLAVE C = LSB OF ADDRESS CLOCKED INTO SLAVE D = R/W BIT CLOCKED INTO SLAVE
tSU:DAT E = SLAVE PULLS SMBDATA LINE LOW F = ACKNOWLEDGE BIT CLOCKED INTO MASTER G = MSB OF DATA CLOCKED INTO MASTER H = LSB OF DATA CLOCKED INTO MASTER
tBUF
factor proportional to that temperature. The relationship between clock duty and temperature is fixed in a lookup table contained in the microcontroller code. Note: Thermal management decisions should be made based on the latest temperature obtained from the MAX1617 rather than the value of the Status Byte. The MAX1617 has a very quick response to changes in its environment due to its sensitivity and its small thermal mass. High and low alarm conditions can exist in the Status Byte due to the MAX1617 correctly reporting environmental changes around it.
15
______________________________________________________________________________________
______________________________________________________________________________________
17
MAX1617
______________________________________________________________________________________
19
20
______________________________________________________________________________________