ⴞ0.5ⴗC Accurate, 10-Bit Digital Temperature Sensors in SOT-23 AD7414/AD7415 FEATURES 10-Bit Temperature-to-Digital Converter Temperature Range: –40ⴗC to +125ⴗC Typical Accuracy of ⴞ0.5ⴗC at +40ⴗC SMBus/I2C® Compatible Serial Interface 3 A Power-Down Current Temperature Conversion Time: 29 s Typ Space-Saving 6-Lead (AD7414) and 5-Lead (AD7415) SOT-23 Packages Pin Selectable Addressing via AS Overtemperature Indicator (AD7414 Only) SMBus Alert Function (AD7414 Only) 4 Versions Allow 8 I2C Addresses (AD7414) 2 Versions Allow 6 I2C Addresses (AD7415) FUNCTIONAL BLOCK DIAGRAM GND VDD CONFIGURATION REGISTER GENERAL DESCRIPTION The AD7414/AD7415 is a complete temperature monitoring system in 6-lead and 5-lead SOT-23 packages. It contains a band gap temperature sensor and 10-bit ADC to monitor and digitize the temperature reading to a resolution of 0.25°C. The AD7414/AD7415 provides a 2-wire serial interface that is compatible with SMBus and I2C interfaces. The part comes in four versions, the AD7414/AD7415-0, AD7414/AD7415-1, AD7414-2, and AD7414-3. The AD7414/AD7415-0 and AD7414/AD7415-1 versions provide a choice of three different SMBus addresses for each version. All four AD7414 versions give the possibility of eight different I2C addresses while the two AD7415 versions allow up to six I2C addresses to be used. The AD7414/AD7415’s 2.7 V supply voltage, low supply current, serial interface, and small package size make it ideal for a variety of applications, including personal computers, office equipment, cellular phones, and domestic appliances. In the AD7414, on-chip registers can be programmed with high and low temperature limits, and an open-drain overtemperature indicator output (ALERT) that becomes active when a programmed limit is exceeded. A configuration register allows programming of the state of the ALERT output (active high or active low). This output can be used as an interrupt or as an SMBus alert. 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 that may result from its use. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices. Trademarks and registered trademarks are the property of their respective companies. TEMPERATURE VALUE REGISTER THIGH SETPOINT REGISTER SETPOINT COMPARATOR TLOW SETPOINT REGISTER SMBus/I2C INTERFACE AS APPLICATIONS Hard Disk Drives Personal Computers Electronic Test Equipment Office Equipment Domestic Appliances Process Control Cellular Phones 10-BIT ANALOG-DIGITAL CONVERTER BAND GAP TEMPERATURE SENSOR ALERT SCL SDA AD7414 AD7415 GND 10-BIT ANALOG-DIGITAL CONVERTER BAND GAP TEMPERATURE SENSOR VDD TEMPERATURE VALUE REGISTER CONFIGURATION REGISTER AS SMBus/I2C INTERFACE SCL SDA PRODUCT HIGHLIGHTS 1. The AD7414/AD7415 has an on-chip temperature sensor that allows an accurate measurement of the ambient temperature to be made. It is capable of ± 0.5°C temperature accuracy. 2. SMBus/I2C compatible serial interface with pin selectable choice of three addresses per version of the AD7414/AD7415, and eight address options in total for the AD7414 and six in total for the AD7415. 3. Supply voltage of 2.7 V to 5.5 V. 4. Space-saving 5-lead and 6-lead SOT-23 packages. 5. 10-bit temperature reading to 0.25°C resolution. 6. The AD7414 has an overtemperature indicator that can be software disabled. Used as an interrupt of SMBus alert. 7. One-shot and automatic temperature conversion rates. Purchase of licensed I 2C components of Analog Devices or one of its sublicensed Associated Companies conveys a license for the purchaser under the Philips I 2C Patent Rights to use these components in an I 2C system, provided that the system conforms to the I 2C Standard Specification as defined by Philips. One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 781/329-4700 www.analog.com Fax: 781/326-8703 © 2003 Analog Devices, Inc. All rights reserved. AD7414/AD7415–SPECIFICATIONS1 (T = T A Parameter MIN to TMAX, VDD = 2.7 V to 5.5 V, unless otherwise noted.) A Version Unit Test Conditions/Comments ± 0.5 –0.87 to +0.823 ± 1.5 ± 2.0 ± 3.0 ± 2.0 ± 1.873 ± 2.0 ± 3.0 ± 3.0 10 800 25 °C typ °C max °C max °C max °C max °C typ °C max °C typ °C max °C typ Bits ms typ µs typ VDD = 3 V @ +40°C VDD = 3 V @ +40°C VDD = 3 V @ –40°C to +70°C VDD = 3 V @ –40°C to +85°C VDD = 3 V @ –40°C to +125°C VDD = 3 V @ –40°C to +125°C VDD = 5.5 V @ +40°C VDD = 5.5 V @ –40°C to +85°C VDD = 5.5 V @ –40°C to +85°C VDD = 5.5 V @ –40°C to +125°C 1.2 900 mA typ µA max Current during Conversion Peak Current between Conversions 169 188 µA typ µA typ Supply Current with Serial Bus Inactive. Part not converting and D7 of Configuration Register = 0. 180 214 3 µA typ µA typ µA max Supply Current with Serial Bus Active. Part not converting and D7 of Configuration Register = 0. D7 of Configuration Register = 1. Typical values are 0.04 µA at 3 V and 0.5 µA at 5 V. DIGITAL INPUT Input High Voltage, VIH Input Low Voltage, VIL Input Current, IIN8 Input Capacitance, CIN 2.4 0.8 ±1 10 V min V max µA max pF max VIN = 0 V to VDD All Digital Inputs DIGITAL OUTPUT (OPEN-DRAIN) Output High Voltage, VOH Output Low Voltage, VOL Output High Current, I OH Output Capacitance, C OUT ALERT Output Saturation Voltage 2.4 0.4 1 10 0.8 V min V max µA max pF max V max IOL = 1.6 mA VOH = 5 V Typ = 3 pF IOUT = 4 mA 2.5 50 0 µs min ns min ns min See Figure 1 See Figure 1 See Figure 1 50 ns min See Figure 1 50 90 4 ns min ns max µs typ See Figure 1 See Figure 1 TEMPERATURE SENSOR AND ADC Accuracy2 Resolution Update Rate, tR Temperature Conversion Time POWER SUPPLIES Supply Current4 Peak Supply Current5 Supply Current – Nonconverting Inactive Serial Bus6 Normal Mode @ 3 V Normal Mode @ 5 V Active Serial Bus7 Normal Mode @ 3 V Normal Mode @ 5 V Shutdown Mode AC ELECTRICAL CHARACTERISTICS 9, 10 Serial Clock Period, t1 Data In Setup Time to SCL High, t 2 Data Out Stable after SCL Low, t 3 SDA Low Setup Time to SCL Low (Start Condition), t4 SDA High Hold Time after SCL High (Stop Condition), t5 SDA and SCL Fall Time, t6 Power-Up Time NOTES 1 Temperature range as follows: A Version = –40°C to +125°C. 2 Accuracy specifications apply only to voltages listed under Test Conditions. See Temperature Accuracy vs. Supply section for typical accuracy performance over the full V DD supply range. 3 100% production tested at 40°C to these limits. 4 These current values can be used to determine average power consumption at different one-shot conversion rates. Average power consumption at the automatic conversion rate of 1.25 kHz is 940 µW. 5 This peak supply current is required for 29 µs (the conversion time plus power-up time) out of every 800 µs (the conversion rate). 6 These current values are derived by not issuing a stop condition at the end of a write or read, thus preventing the part from going into a conversion. 7 The current is derived assuming a 400 kHz serial clock being active continuously. 8 On power-up, the initial input current, I IN, on the AS pin is typically 50 µA. 9 The SDA and SCL timing is measured with the input filters turned on so as to meet the Fast Mode I 2C specification. Switching off the input filters improves the transfer rate but has a negative effect on the EMC behavior of the part. 10 Guaranteed by design. Not tested in production. Specifications subject to change without notice. –2– REV. C AD7414/AD7415 PIN FUNCTION DESCRIPTIONS PIN CONFIGURATIONS SOT-23 Mnemonic Description AS Logic Input. Address select input that selects one of three I2C addresses for the AD7414/AD7415 (see Table I). Recommend a pull-up or pull-down resistor of 1 kΩ. GND Analog and Digital Ground VDD Positive Supply Voltage, 2.7 V to 5.5 V SDA Digital I/O. Serial bus bidirectional data. Opendrain output. ALERT AD7414 Digital Output. Overtemperature indicator becomes active when temperature exceeds THIGH. Open-drain output. SCL AS 6 SDA 1 AD7414 Top View (Not to Scale) GND 2 VDD 3 5 ALERT 4 SCL MSOP NC 8 NC 1 AD7414 SDA 2 Digital Input. Serial bus clock. Top View (Not to Scale) ALERT 3 7 AS 6 GND ABSOLUTE MAXIMUM RATINGS 1 SCL 4 VDD to GND . . . . . . . . . . . . . . . . . . . . . . . . . . . –0.3 V to +7 V SDA Input Voltage to GND . . . . . . . . . . . . . . –0.3 V to +7 V SDA Output Voltage to GND . . . . . . . . . . . . . –0.3 V to +7 V SCL Input Voltage to GND . . . . . . . . . . . . . . –0.3 V to +7 V ALERT Output Voltage to GND . . . . . . . . . . –0.3 V to +7 V Operating Temperature Range . . . . . . . . . . –40°C to +125°C Storage Temperature Range . . . . . . . . . . . . –65°C to +150°C Junction Temperature2 . . . . . . . . . . . . . . . . . . . . . . . . . 150°C SOT-23, Power Dissipation . . . . . . . . . . . . . . . . . . . . . 450 mW JA Thermal Impedance . . . . . . . . . . . . . . . . . . . . . 240°C/W Lead Temperature, Soldering Vapor Phase (60 sec) . . . . . . . . . . . . . . . . . . . . . . . . . 215°C Infrared (15 sec) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220°C MSOP, Power Dissipation . . . . . . . . . . . . . . . . . . . . . . 450 mW JA Thermal Impedance . . . . . . . . . . . . . . . . . . . . . 206°C/W Lead Temperature Soldering Vapor Phase (60 sec) . . . . . . . . . . . . . . . . . . . . . . . . . 215°C Infrared (15 sec) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220°C AS t2 t5 t3 t6 Figure 1. Diagram for Serial Bus Timing REV. C GND 2 VDD 3 Top View (Not to Scale) 4 SCL Table I. I2C Address Selection SDA DATA IN SDA DATA OUT 5 SDA 1 AD7415 t1 t4 VDD SOT-23 NOTES 1 Stresses above those listed under Absolute Maximum Ratings may cause permanent damage to the device. This is a stress rating only; functional operation of the device at these or any other conditions above those indicated in the operational section of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. 2 Maximum junction temperature is calculated using: T J = TAMBMAX + (JA ⴛ WMAX). JA = Junction-to-Ambient Thermal Resistance, W MAX = Maximum Power Dissipated in the device, and T AMBMAX = Maximum Ambient Temperature. SCL 5 NC = NO CONNECT –3– Part Number AS Pin I2C Address AD7414-0 AD7414-0 AD7414-0 Float GND VDD 1001 000 1001 001 1001 010 AD7414-1 AD7414-1 AD7414-1 Float GND VDD 1001 100 1001 101 1001 110 AD7414-2 N/A 1001 011 AD7414-3 N/A 1001 111 AD7415-0 AD7415-0 AD7415-0 Float GND VDD 1001 000 1001 001 1001 010 AD7415-1 AD7415-1 AD7415-1 Float GND VDD 1001 100 1001 101 1001 110 AD7414/AD7415 ORDERING GUIDE Model Temperature Range Typ Temperature Package Package Error @ 3 V Option Description Branding AD7414ART-0REEL7 AD7414ART-0REEL AD7414ART-0500RL7 AD7414ARM-0REEL7 AD7414ARM-0REEL AD7414ARM-02 –40°C to +125°C –40°C to +125°C –40°C to +125°C –40°C to +125°C –40°C to +125°C –40°C to +125°C ± 2°C ± 2°C ± 2°C ± 2°C ± 2°C ± 2°C RT-6 RT-6 RT-6 RM-8 RM-8 RM-8 6-Lead SOT-23 6-Lead SOT-23 6-Lead SOT-23 8-Lead MSOP 8-Lead MSOP 8-Lead MSOP CHA1 CHA1 CHA1 CHA1 CHA1 CHA1 3,000 10,000 500 3,000 10,000 AD7414ART-1REEL7 AD7414ART-1REEL AD7414ART-1500RL7 AD7414ARM-1REEL7 AD7414ARM-1REEL AD7414ARM-12 –40°C to +125°C –40°C to +125°C –40°C to +125°C –40°C to +125°C –40°C to +125°C –40°C to +125°C ± 2°C ± 2°C ± 2°C ± 2°C ± 2°C ± 2°C RT-6 RT-6 RT-6 RM-8 RM-8 RM-8 6-Lead SOT-23 6-Lead SOT-23 6-Lead SOT-23 8-Lead MSOP 8-Lead MSOP 8-Lead MSOP CHB3 CHB3 CHB3 CHB3 CHB3 CHB3 3,000 10,000 500 3,000 10,000 AD7414ART-2REEL7 AD7414ART-2REEL –40°C to +125°C –40°C to +125°C ± 2°C ± 2°C RT-6 RT-6 6-Lead SOT-23 6-Lead SOT-23 CHC3 CHC3 3,000 10,000 AD7414ART-3REEL7 AD7414ART-3REEL –40°C to +125°C –40°C to +125°C ± 2°C ± 2°C RT-6 RT-6 6-Lead SOT-23 6-Lead SOT-23 CHD3 CHD3 3,000 10,000 AD7415ART-0REEL7 AD7415ART-0REEL AD7415ART-0500RL7 –40°C to +125°C –40°C to +125°C –40°C to +125°C ± 2°C ± 2°C ± 2°C RT-5 RT-5 RT-5 5-Lead SOT-23 5-Lead SOT-23 5-Lead SOT-23 CGA1 CGA1 CGA1 3,000 10,000 500 AD7415ART-1REEL7 AD7415ART-1REEL AD7415ART-1500RL7 –40°C to +125°C –40°C to +125°C –40°C to +125°C ± 2°C ± 2°C ± 2°C RT-5 RT-5 RT-5 5-Lead SOT-23 5-Lead SOT-23 5-Lead SOT-23 CGB3 CGB3 CGB3 3,000 10,000 500 EVAL-AD7414EB EVAL-AD7415EB Minimum Quantities/Reel Evaluation Board Evaluation Board NOTES 1 Available to order. 2 This model shipped in tubes. 3 Contact factory for availability. CAUTION ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000 V readily accumulate on the human body and test equipment and can discharge without detection. Although the AD7414/AD7415 features proprietary ESD protection circuitry, permanent damage may occur on devices subjected to high energy electrostatic discharges. Therefore, proper ESD precautions are recommended to avoid performance degradation or loss of functionality. –4– REV. C AD7414/AD7415 SUPPLY 2.7V TO 5.5V 10F CIRCUIT INFORMATION The AD7414/AD7415 is a standalone digital temperature sensor. The on-chip temperature sensor allows an accurate measurement of the ambient device temperature to be made. The 10-bit A/D converter converts the temperature measured into a twos complement format for storage in the temperature register. The A/D converter is made up of a conventional successive-approximation converter based around a capacitor DAC. The serial interface is I2C and SMBus compatible. The AD7414/AD7415 requires a 2.7 V to 5.5 V power supply. The temperature sensor has a working measurement range of –40°C to +125°C. 0.1F 1k⍀ VDD SDA AS SCL GND C/P ALERT AD7414 Figure 2. Typical Connection Diagram MEASUREMENT TECHNIQUE FUNCTIONAL DESCRIPTION Temperature measurement is initiated by a couple of methods. The first uses an internal clock countdown of 800 ms, and a conversion is performed. The internal oscillator is the only circuit that is powered up between conversions, and once it times out, every 800 ms, a wake-up signal is sent to power up the rest of the circuitry. A monostable is activated at the beginning of the wake-up signal to ensure that sufficient time is given to the powerup process. The monostable typically takes 4 µs to time out. It then takes typically 25 µs for each conversion to be completed. The new temperature value is loaded into the temperature value register and ready for reading by the I2C interface. A common method of measuring temperature is to exploit the negative temperature coefficient of a diode, or the base-emitter voltage of a transistor, operated at constant current. Unfortunately, this technique requires calibration to null out the effect of the absolute value of VBE, which varies from device to device. A temperature measurement is also initiated every time the one-shot method is used. This method requires the user to write to the One-Shot bit in the configuration register when a temperature measurement is needed. Setting the One-Shot bit to a 1 will start a temperature conversion directly after the write operation. The track-and-hold goes into hold approximately 4 µs (monostable timeout) after the STOP condition and a conversion is then initiated. Typically 25 µs later, the conversion is complete and the temperature value register is loaded with a new temperature value. K is Boltzmann’s constant. q is the charge on the electron (1.6 × 10–19 Coulombs). T is the absolute temperature in Kelvins. N is the ratio of the two currents. The technique used in the AD7414/AD7415 is to measure the change in VBE when the device is operated at two different currents. This is given by ∆VBE = KT q × 1 n ( N ) where: I VDD VOUT + The measurement modes are compared with a high temperature limit, stored in an 8-bit read/write register. This is applicable only to the AD7414 since the AD7415 does not have an ALERT pin and subsequently does not have an overtemperature monitoring function. If the measurement is greater than the high limit, the ALERT pin is activated (if it has already been enabled in the configuration register). There are two ways to deactivate the ALERT pin again: first when the Alert Reset bit in the configuration register is set to a 1 by a write operation, and second when the temperature measured is less than the value in the TLOW register. This ALERT pin is compatible with the SMBus SMBALERT option. TO ADC SENSING TRANSISTOR SENSING TRANSISTOR VOUT – Figure 3. Temperature Measurement Technique Figure 3 shows the method the AD7414/AD7415 uses to measure the ambient device temperature. To measure ∆VBE, the sensor (substrate transistor) is switched between operating currents of I and N × I. The resulting waveform is passed through a chopperstabilized amplifier that performs the functions of amplification and rectification of the waveform to produce a dc voltage proportional to ∆VBE. This voltage is measured by the ADC to give a temperature output in 10-bit twos complement format. Configuration functions consist of • Switching between normal operation and full power-down. • Enabling or disabling the SCL and SDA filters. • Enabling or disabling the ALERT function. • Setting ALERT pin polarity. REV. C NⴛI –5– AD7414/AD7415 The AD7415 has three internal registers as shown in Figure 5. Two are data registers and one is an address pointer register. TEMPERATURE DATA FORMAT The temperature resolution of the ADC is 0.25°C, which corresponds to 1 LSB of the ADC. The ADC can theoretically measure a temperature span of 255°C; the practical lowest value is limited to –40°C due to the device maximum ratings. The A grade can measure a temperature range of –40°C to +125°C. (Temperature data format is shown in Table II.) TEMPERATURE VALUE REGISTER ADDRESS POINTER REGISTER CONFIGURATION REGISTER Table II. A Grade Temperature Data Format Temperature Digital Output DB9 . . . DB0 –55°C –50°C –25°C –0.25°C 0°C +0.25°C +10°C +25°C +50°C +75°C +100°C +125°C 11 0010 0100 11 0011 1000 11 1001 1100 11 1111 1111 00 0000 0000 00 0000 0001 00 0010 1000 00 0110 0100 00 1100 1000 01 0010 1100 01 1001 0000 01 1111 0100 SDA SERIAL BUS INTERFACE Negative Temperature = SCL Figure 5. AD7415 Register Structure Each data register has an address pointed to by the address pointer register when communicating with it. The temperature value register is the only data register that is read-only. ADDRESS POINTER REGISTER The address pointer register is an 8-bit register that stores an address that points to one of the four data registers of the AD7414 and one of the two data registers of the AD7415. The first byte of every serial write operation to the AD7414/AD7415 is the address of one of the data registers, which is stored in the address pointer register, and selects the data register to which subsequent data bytes are written. Only the 2 LSBs of this register are used to select a data register. A Grade Temperature Conversion Formula: Positive Temperature = D A T A ADC Code 4 ( ADC * Code – 512) Table III. Address Pointer Register 4 *DB9 is removed from the ADC Code. P7 P6 P5 P4 P3 P2 P1 P0 0 0 0 0 0 0 Register Select INTERNAL REGISTER STRUCTURE The AD7414 has five internal registers as shown in Figure 4. Four are data registers and one is an address pointer register. Table IV. AD7414 Register Address TEMPERATURE VALUE REGISTER P1 P0 Registers 0 0 1 1 0 1 0 1 Temperature Value Register (Read-Only) Configuration Register (Read/Write) THIGH Register (Read/Write) TLOW Register (Read/Write) CONFIGURATION REGISTER ADDRESS POINTER REGISTER THIGH REGISTER Table V. AD7415 Register Address D A T A P1 P0 Registers 0 0 0 1 Temperature Value Register (Read-Only) Configuration Register (Read/Write) TLOW REGISTER Table VI. AD7414 Configuration Register D7 D6 SDA D5 D4 D3 D2 D1 D0 PD FLTR ALERT ALERT ALERT ONE TEST EN POLARITY RESET SHOT MODE 0* 1* 0* 0* 0* 0* 0s* SERIAL BUS INTERFACE SCL Figure 4. AD7414 Register Structure *Default settings at power-up. –6– REV. C AD7414/AD7415 CONFIGURATION REGISTER (ADDRESS 01H) Table VIII. AD7415 Configuration Register The configuration register is an 8-bit read/write register that is used to set the operating modes of the AD7414/AD7415. In the AD7414, six of the MSBs are used (D7 to D2) to set the operating modes; see Table VII. D0 and D1 are used for factory settings and must have zeros written to them during normal operation. D3 D2 D6 D5 PD FLTR 0* 1* D4 D3 D2 TEST MODE D1 ONE SHOT 0s* 0s* TEST MODE 0s* In the AD7415, only three of the bits are used (D7, D6, and D2) to set the operating modes; see Table IX. D0, D1, and D3 to D5 are used for factory settings and must have zeros written to them during normal operation. Full Power-Down if = 1. Bypass SDA and SCL filtering if = 0. Disable ALERT if = 1. ALERT is active low if D4 = 0, ALERT is active high if D4 = 1. Reset the ALERT pin if set to 1. The next temperature conversion will have the ability to activate the Alert function. The bit status is not stored; thus this bit will be 0 if read. Initiate a temperature conversion if set to a 1. The bit status is not stored; thus this bit will be 0 if read. 1 Table IX. AD7415 Configuration Register Settings D7 D6 D2 Full Power-Down if = 1. Bypass SDA and SCL filtering if = 0. Initiate a temperature conversion if set to a 1. The bit status is not stored; thus this bit will be 0 if read. If the AD7414/AD7415 is in power-down mode (D7 = 1), a temperature conversion can still be initiated by the one-shot operation. This involves a write operation to the configuration register and setting the One-Shot bit to a 1 (D2 = 1), which will cause the AD7414/AD7415 to power up, perform a single conversion, and power down again. This is a very power efficient mode. 9 9 1 SCL 1 SDA 0 START BY MASTER 0 A2 1 A0 A1 FRAME 1 SERIAL BUS ADDRESS BYTE P6 P7 R/W P5 P3 P4 P1 P2 P0 ACK. BY AD7414/AD7415 FRAME 2 ADDRESS POINTER REGISTER BYTE ACK. BY AD7414/AD7415 STOP BY MASTER Figure 6. Writing to the Address Pointer Register to Select a Register for a Subsequent Read Operation 1 9 1 9 SCL SDA 1 0 0 1 A2 A1 START BY MASTER R/W A0 P7 P6 P5 P4 P3 P2 P1 P0 ACK. BY AD7414/AD7415 ACK. BY AD7414/AD7415 FRAME 1 SERIAL BUS ADDRESS BYTE FRAME 2 ADDRESS POINTER REGISTER BYTE 1 9 SCL (CONTINUED) SDA (CONTINUED) D7 D6 D5 D4 D3 D2 FRAME 3 DATA BYTE D1 D0 ACK. BY STOP BY AD7414/AD7415 MASTER Figure 7. Writing to the Address Pointer Register Followed by a Single Byte of Data to the Selected Register REV. C D0 *Default settings at power-up. Table VII. AD7414 Configuration Register Setting D7 D6 D5 D4 D7 –7– AD7414/AD7415 TEMPERATURE VALUE REGISTER (ADDRESS 00H) Table XI. AD7414 Temperature Value Register (Second Read) The temperature value register is a 10-bit read-only register that stores the temperature reading from the ADC in twos complement format. Two reads are necessary to read data from this register. Table X shows the contents of the first byte to be read, while Table XI and Table XII show the contents of the second byte to be read from AD7414 and AD7415, respectively. In Table XI, D3 to D5 of the second byte are used as flag bits and are obtained from other internal registers. They function as follows: ALERT_Flag: The state of this bit is the same as that of the ALERT pin. THIGH_Flag: This flag is set to a 1 when the temperature measured goes above the THIGH limit. It is reset when the second temperature byte (Table XI) is read. If the temperature is still greater than the THIGH limit after the read operation, the flag will be set again. TLOW_Flag: This flag is set to a 1 when the temperature measured goes below the TLOW limit. It is reset when the second temperature byte (Table XI) is read. If the temperature is still less than the TLOW limit after the read operation, the flag will be set again. D6 D5 D4 D3 B1 LSB ALERT_ THIGH_ TLOW_ Flag Flag Flag D2 D1 D0 0 0 0 Table XII. AD7415 Temperature Value Register (Second Read) D7 D6 D5 D4 D3 D2 D1 D0 B1 LSB N/A N/A N/A N/A N/A N/A AD7414 THIGH REGISTER (Address 02h) The THIGH register is an 8-bit read/write register that stores the upper limit that will activate the ALERT output. Therefore, if the value in the temperature value register is greater than the value in the THIGH register, the ALERT pin is activated (that is, if ALERT is enabled in the configuration register). Since it is an 8-bit register, the temperature resolution is 1°C. Table XIII. THIGH Register D14 D13 D12 D11 D10 D9 D8 MSB B8 B7 B6 B5 B4 B3 B2 D6 D5 D4 D3 D2 D1 D0 MSB B6 B5 B4 B3 B2 B1 B0 The TLOW register is an 8-bit read/write register that stores the lower limit that will deactivate the ALERT output. Therefore, if the value in the temperature value register is less than the value in the TLOW register, the ALERT pin is deactivated (that is, if ALERT is enabled in the configuration register). Since it is an 8-bit register, the temperature resolution is 1°C. Table X. Temperature Value Register (First Read) D15 D7 AD7414 TLOW REGISTER (Address 03h) The full theoretical span of the ADC is 255°C, but in practice the temperature measurement range is limited to the operating range of the device, –40°C to +125°C for A grade. 1 D7 9 1 9 SCL SDA 1 0 0 1 A2 A1 A0 D7 R/W D6 D5 D4 D3 D2 D1 ACK. BY AD7414/AD7415 START BY MASTER D0 NO ACK. BY MASTER FRAME 1 SERIAL BUS ADDRESS BYTE STOP BY MASTER FRAME 2 SINGLE DATA BYTE FROM AD7414/AD7415 Figure 8. Reading a Single Byte of Data from a Selected Register 1 9 9 1 SCL SDA 1 0 0 1 A2 A1 A0 D15 R/W D14 D13 D12 D10 D11 D9 FRAME 1 SERIAL BUS ADDRESS BYTE D8 ACK. BY MASTER ACK. BY AD7414/AD7415 START BY MASTER FRAME 2 MOST SIGNIFICANT DATA BYTE FROM AD7414/AD7415 9 1 SCL (CONTINUED) SDA (CONTINUED) D6 D7 D5 D4 D3 D2 D1 D0 NO ACK. BY STOP BY MASTER MASTER FRAME 3 LEAST SIGNIFICANT DATA BYTE FROM AD7414/AD7415 Figure 9. Reading Two Bytes of Data from the Temperature Value Register –8– REV. C AD7414/AD7415 Any number of bytes of data may be transferred over the serial bus in one operation, but it is not possible to mix read and write in one operation because the type of operation is determined at the beginning and cannot subsequently be changed without starting a new operation. Table XIV. TLOW Register D7 D6 D5 D4 D3 D2 D1 D0 MSB B6 B5 B4 B3 B2 B1 B0 AD7414/AD7415 SERIAL INTERFACE WRITING TO THE AD7414/AD7415 Control of the AD7414/AD7415 is carried out via the I2C compatible serial bus. The AD7414/AD7415 is connected to this bus as a slave device, under the control of a master device, e.g., the processor. Depending on the register being written to, there are two different writes for the AD7414/AD7415. Writing to the Address Pointer Register for a Subsequent Read In order to read data from a particular register, the address pointer register must contain the address of that register. If it does not, the correct address must be written to the address pointer register by performing a single-byte write operation, as shown in Figure 6. The write operation consists of the serial bus address followed by the address pointer byte. No data is written to any of the data registers. A read operation is then performed to read the register. SERIAL BUS ADDRESS Like all I2C compatible devices, the AD7414/AD7415 has a 7-bit serial address. The four MSBs of this address for the AD7414/ AD7415 are set to 1001. The AD7414/AD7415 comes in four versions, the AD7414/AD7415-0, AD7414/AD7415-1, AD7414-2, and AD7414-3. The first two versions have three different I2C addresses available, which are selected by either tying the AS pin to GND, to VDD, or letting the pin float (see Table I). By giving different addresses for the four versions, up to eight AD7414s or six AD7415s can be connected to a single serial bus, or the addresses can be set to avoid conflicts with other devices on the bus. Writing a Single Byte of Data to the Configuration Register, THIGH Register, or TLOW Register All three registers are 8-bit registers so only one byte of data can be written to each register. Writing a single byte of data to one of these registers consists of the serial bus address, the data register address written to the address pointer register, followed by the data byte written to the selected data register. This is illustrated in Figure 7. The serial bus protocol operates as follows: 1. The master initiates data transfer by establishing a START condition, defined as a high to low transition on the serial data line SDA, while the serial clock line SCL remains high. This indicates that an address/data stream will follow. All slave peripherals connected to the serial bus respond to the START condition and shift in the next eight bits, consisting of a 7-bit address (MSB first) plus a R/W bit, which determines the direction of the data transfer, i.e., whether data will be written to or read from the slave device. READING DATA FROM THE AD7414/AD7415 Reading data from the AD7414/AD7415 is a 1- or 2-byte operation. Reading back the contents of the configuration register, THIGH register, or TLOW register is a single-byte read operation, as shown in Figure 8. The register address was previously set up by a single-byte write operation to the address pointer register. Once the register address has been set up, any number of reads can subsequently be done from that register without having to write to the address pointer register again. To read from another register, the address pointer register will have to be written to again to set up the relevant register address. The peripheral whose address corresponds to the transmitted address responds by pulling the data line low during the low period before the ninth clock pulse, known as the Acknowledge bit. All other devices on the bus now remain idle while the selected device waits for data to be read from or written to it. If the R/W bit is a 0, the master will write to the slave device. If the R/W bit is a 1, the master will read from the slave device. Reading data from the temperature value register is a 2-byte operation, as shown in Figure 9. The same rules apply for a 2-byte read as a single-byte read. 2. Data is sent over the serial bus in sequences of nine clock pulses, eight bits of data followed by an Acknowledge bit from the receiver of data. Transitions on the data line must occur during the low period of the clock signal and remain stable during the high period, since a low to high transition when the clock is high may be interpreted as a STOP signal. SMBus ALERT 3. When all data bytes have been read or written, stop conditions are established. In WRITE mode, the master will pull the data line high during the 10th clock pulse to assert a STOP condition. In READ mode, the master device will pull the data line high during the low period before the ninth clock pulse. This is known as No Acknowledge. The master will then take the data line low during the low period before the 10th clock pulse, then high during the 10th clock pulse to assert a STOP condition. The ALERT pin has an open-drain configuration that allows the ALERT outputs of several AD7414s to be wired-AND together when the ALERT pin is active low. Use D4 of the configuration register to set the active polarity of the ALERT output. The power-up default is active low. The ALERT function can be disabled or enabled by setting D5 of the configuration register to 1 or 0, respectively. REV. C The AD7414 ALERT output is an SMBus interrupt line for devices that want to trade their ability to master for an extra pin. The AD7414 is a slave-only device and uses the SMBus ALERT to signal to the host device that it wants to talk. The SMBus ALERT on the AD7414 is used as an overtemperature indicator. –9– AD7414/AD7415 The host device can process the ALERT interrupt and simultaneously access all SMBus ALERT devices through the alert response address. Only the device that pulled the ALERT low will acknowledge the ARA (Alert Response Address). If more than one device pulls the ALERT pin low, the highest priority (lowest address) device will win communication rights via standard I2C arbitration during the slave address transfer. When a temperature measurement is required, a write operation can be performed to power up the part and put it into one-shot mode (setting D2 of the configuration register to a 1). The power-up takes approximately 4 ms. The part then performs a conversion and is returned to full power-down. The temperature value can be read in the full power-down mode since the serial interface is still powered up. The ALERT output becomes active when the value in the temperature value register exceeds the value in the THIGH register. It is reset when a write operation to the configuration register sets D3 to a 1 or when the temperature falls below the value stored in the TLOW register. POWER VS. THROUGHPUT The two modes of operation for the AD7414/AD7415 will produce different power versus throughput performances. Mode 2 is the sleep mode of the part and it achieves the optimum power performance. The ALERT output requires an external pull-up resistor. This can be connected to a voltage different from VDD provided the maximum voltage rating of the ALERT output pin is not exceeded. The value of the pull-up resistor depends on the application, but should be as large as possible to avoid excessive sink currents at the ALERT output, which can heat the chip and affect the temperature reading. Mode 1 In this mode, continuous conversions are performed at a rate of approximately one every 800 ms. Figure 10 shows the times and currents involved with this mode of operation for a 5 V supply. At 5 V, the current consumption for the part when converting is 1.1 mA typically and the quiescent current is 188 µA typically. The conversion time of 25 µs plus power-up time of typically 4 µs contributes 199.3 nW to the overall power dissipation in the following way: POWER-ON DEFAULTS The AD7414/AD7415 always powers up with the following defaults: (29 µs / 800 ms) × (5 × 1.1 mA) = 199.3 nW Address pointer register pointing to the temperature value register. THIGH register loaded with 7Fh. TLOW register loaded with 80h. Configuration register loaded with 40h. The contribution to the total power dissipated by the remaining time is 939.96 µW. Note that the AD7415 does not have any THIGH or TLOW registers. Thus the total power dissipated during each cycle is: (799.971 ms / 800 ms) × (5 × 1.1 µA) = 199.3 µW 199.3 nW + 939.96 µW = 940.16 µW OPERATING MODES Mode 1 1.1mA This is the power-on default mode of the AD7414/AD7415. In this mode, the AD7414/AD7415 does a temperature conversion every 800 ms and then partially powers down until the next conversion occurs. If a one-shot operation (setting D2 of the Configuration register to a 1) is performed between automatic conversions, a conversion is initiated right after the write operation. After this conversion, the part returns to performing a conversion every 800 ms. Depending on where a serial port access occurs during a conversion, that conversion might or might not be aborted. If the conversion is completed before the part recognizes a serial port access, the temperature register will be updated with the new conversion. If the conversion is completed after the part recognizes a serial port access, the internal logic will prevent the temperature register from being updated since corrupt data could be read. A temperature conversion can start anytime during a serial port access (other than a one-shot operation), but the result of that conversion will only be loaded into the temperature register if the serial port access is not active at the end of the conversion. Mode 2 The only other mode in which the AD7414/AD7415 operates is the full power-down mode. This mode is usually used when temperature measurements are required at a very slow rate. The power consumption of the part can be greatly reduced in this mode by writing to the part to go to a full power-down. Full power-down is initiated right after D7 of the configuration register is set to 1. IDD 188A 800ms 29s TIME Figure 10. Mode 1 Power Dissipation Mode 2 In this mode, the part is totally powered down. All circuitry except the serial interface is switched off. The most power efficient way of operating in this mode is to use the one-shot method. Write to the Configuration register and set the one-shot bit to a 1. The part will power up in approximately 4 ms and then perform a conversion. Once the conversion is finished, the device will power down again until the PD bit in the Configuration register is set to a 0 or the one-shot bit is set to 1. Figure 11 shows the same timing as Figure 10 in mode 1; a one-shot is initiated every 800 ms. If we take the voltage supply to be 5 V, we can work out the power dissipation in the following way. The current consumption for the part when converting is 1.1 mA typically and the quiescent current is 800 nA typically. The conversion time of 25 µs plus the power-up time of typically 4 ms contributes 199.3 nW to the overall power dissipation in the following way: (29 µs / 800 ms) × (5V × 1.1 mA) = 199.3 nW The contribution to the total power dissipated by the remaining time is 3.9 µW. (799.971 ms / 800 ms) × (5V × 800 nA) = 3.9 µW Thus the total power dissipated during each cycle is: 199.3 nW + 3.9 µW = 4.1 µW –10– REV. C AD7414/AD7415 4 1.1mA 3 TEMPERATURE ERROR (ⴗC) IDD 800nA 29s 800ms TIME Figure 11. Mode 2 Power Dissipation MOUNTING THE AD7414/AD7415 The AD7414/AD7415 can be used for surface or air temperature sensing applications. If the device is cemented to a surface with thermally conductive adhesive, the die temperature will be within about 0.1°C of the surface temperature, due to the device’s low power consumption. Care should be taken to insulate the back and leads of the device from the air if the ambient air temperature is different from the surface temperature being measured. The ground pin provides the best thermal path to the die, so the temperature of the die will be close to that of the printed circuit ground track. Care should be taken to ensure that this is in good thermal contact with the surface being measured. 2 –40ⴗC 1 0 +40ⴗC –1 +85ⴗC –2 –3 –4 2.7 5.0 3.3 SUPPLY VOLTAGE (V) 5.5 Figure 13. Typical Temperature Error vs. Supply for One Part TYPICAL TEMPERATURE ERROR GRAPH Figure 14 shows the typical temperature error plots for one device with VDD at 3.3 V and at 5.5 V. 4 As with any IC, the AD7414/AD7415 and its associated wiring and circuits must be kept free from moisture to prevent leakage and corrosion, particularly in cold conditions where condensation is more likely to occur. Water-resistant varnishes and conformal coatings can be used for protection. The small size of the AD7414/AD7415 packages allows them to be mounted inside sealed metal probes, which provide a safe environment for the device. TEMPERATURE ERROR (ⴗC) 3 SUPPLY DECOUPLING The AD7414/AD7415 should at least be decoupled with a 0.1 µF ceramic capacitor between VDD and GND. This is particularly important if the AD7414/AD7415 is mounted remote from the power supply. 2 5.5V 1 0 –1 3.3V –2 –3 –4 –40 –30 –20 –10 0 10 20 30 40 50 60 70 80 85 90 100 110 125 TEMPERATURE (ⴗC) Figure 14. Typical Temperature Error @ 3.3 V and 5.5 V TEMPERATURE ACCURACY VS. SUPPLY The temperature accuracy specifications are guaranteed for voltage supplies of 3 V and 5.5 V only. Figure 12 gives the typical performance characteristics of a large sample of parts over the full voltage range of 2.7 V to 5.5 V. Figure 13 gives the typical performance characteristics of one part over the full voltage range of 2.7 V to 5.5 V. Figure 15 shows a histogram of the temperature error at ambient temperature (40°C) over approximately 6,000 units. Figure 15 shows that over 70% of the AD7414/AD7415 devices tested have a temperature error within ± 0.3°C. 900 800 3 700 2 NUMBER OF UNITS TEMPERATURE ERROR (ⴗC) AMBIENT TEMPERATURE = 40ⴗC 4 –40ⴗC 1 0 +40ⴗC 600 500 400 300 –1 200 +85ⴗC –2 100 –3 –4 2.7 0 ⴚ1.08 3.0 SUPPLY VOLTAGE (V) ⴚ0.81 ⴚ0.54 ⴚ0.27 0 0.27 0.54 0.81 1.08 TEMPERATURE ERROR (ⴗC) 5.5 Figure 15. Ambient Temperature Error @ 3 V Figure 12. Typical Temperature Error vs. Supply for Large Sample of Parts REV. C –11– AD7414/AD7415 OUTLINE DIMENSIONS 6-Lead Small Outline Transistor Package [SOT-23] (RT-6) 8-Lead Mini Small Outline Package [MSOP] (RM-8) Dimensions shown in millimeters Dimensions shown in millimeters 2.90 BSC 6 5 3.00 BSC 4 8 1 2 1 4 PIN 1 0.95 BSC 0.65 BSC 1.90 BSC 1.10 MAX 0.15 0.00 1.45 MAX 0.15 MAX 4.90 BSC 3 PIN 1 1.30 1.15 0.90 5 3.00 BSC 2.80 BSC 1.60 BSC 0.50 0.30 0.22 0.08 0.60 0.45 0.30 10ⴗ 4ⴗ 0ⴗ SEATING PLANE 0.38 0.22 COPLANARITY 0.10 0.23 0.08 8ⴗ 0ⴗ 0.80 0.60 0.40 SEATING PLANE COMPLIANT TO JEDEC STANDARDS MO-187AA COMPLIANT TO JEDEC STANDARDS MO-178AB 5-Lead Small Outline Transistor Package [SOT-23] (RT-5) Dimensions shown in millimeters 2.90 BSC 5 4 2.80 BSC 1.60 BSC 1 2 3 PIN 1 0.95 BSC 1.30 1.15 0.90 1.90 BSC 1.45 MAX 0.15 MAX 0.50 0.30 SEATING PLANE 0.22 0.08 10ⴗ 5ⴗ 0ⴗ 0.60 0.45 0.30 COMPLIANT TO JEDEC STANDARDS MO-178AA –12– REV. C AD7414/AD7415 Revision History Location Page 8/03—Data Sheet changed from REV. B to REV. C. Change to Temperature Range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Universal Updated FEATURES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Updated SPECIFICATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Updated ABSOLUTE MAXIMUM RATINGS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Updated ORDERING GUIDE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Updated CIRCUIT INFORMATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Updated TEMPERATURE DATA FORMAT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Updated TEMPERATURE VALUE REGISTER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Updated Figure 14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Updated OUTLINE DIMENSIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 11/02—Data Sheet changed from REV. A to REV. B. Changes to ABSOLUTE MAXIMUM RATINGS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 10/02—Data Sheet changed from REV. 0 to REV. A. Changes to SPECIFICATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Changes to PIN FUNCTION DESCRIPTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Changes to ABSOLUTE MAXIMUM RATINGS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ORDERING GUIDE updated . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Change to Figure 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Added to TYPICAL TEMPERATURE ERROR GRAPH section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Added Figure 15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 OUTLINE DIMENSIONS updated . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 REV. C –13–