January 2013 I N T H I S I S S U E 2.7V to 40V monolithic buck-boost regulates through automotive cold-crank and load-dump transients 9 precision monolithic Volume 22 Number 4 High Accuracy (±1°C) Temperature Sensors Improve System Performance and Reliability Christoph Schwoerer and Gerd Trampitsch op amp works from ±4.75V to ±70V 14 bus buffers simplify design of large, noisy I2C systems 17 The march toward increasingly dense computing power has amplified the challenges related to heat. In many systems, the capabilities of the cooling system are a significant limitation to overall performance. Standard cooling components—bulky heat sinks and power-hungry noisy fans (or expensive quiet ones)—impose size limitations on tightly packed electronics. The only way to maximize performance, minimize cooling requirements, and ensure the health of the electronics is with accurate, precise and comprehensive temperature monitoring throughout the system. With this in mind, Linear Technology has developed a family of highly accurate temperature monitors that can be easily distributed throughout a system. Included in this family: •The LTC®2997 accurately measures either its own temperature or the temperature of an external diode. •The LTC2996 adds monitoring functionality by comparing the measured temperature with a high and a low temperature threshold and communicating any temperature excess via open drain alert outputs. •The LTC2995 combines the LTC2996 with a dual supply voltage monitor, allowing it to measure temperature, compare temperature to configurable thresholds, and supervise two supply voltages. (continued on page 2) Analog CaptionCircuit Design, Volume 2 now available. See page 3. w w w. li n ea r.com In this issue... COVER STORY (LTC299x continued from page 1) High Accuracy (±1°C) Temperature Sensors Improve System Performance and Reliability Christoph Schwoerer and Gerd Trampitsch 1 The LTC2997 in a 2mm × 3mm 6-pin DFN package is perfectly suited to measure temperature of an FPGA or microprocessor as shown in Figure 1. DESIGN FEATURES 2.7V to 40V Monolithic Buck-Boost DC/DC Expands Input Capabilities, Regulates Seamlessly through Automotive Cold-Crank and Load-Dump Transients John Canfield 9 Monolithic Operational Amplifier Works from ±4.75V to ±70V and Features Rail-to-Rail Output Swing and Low Input Bias Current Michael B. Anderson 14 Bus Buffers Simplify Design of Large, Noisy I2C Systems Rajesh Venugopal 17 Ideal Diode and Hot Swap™ Controller Enables Supply Redundancy and Isolates Faults Chew Lye Huat 24 DESIGN IDEAS What’s New with LTspice IV? Gabino Alonso 30 20V, 2.5A Synchronous Monolithic Buck with Current and Temperature Monitoring K. Bassett THE LTC2997 IS A TINY HIGH PRECISION TEMPERATURE SENSOR To this end, the LTC2997 sends measurement currents to the temperature monitoring diode of the FPGA or microprocessor and generates a voltage proportional to the temperature of the diode on its VPTAT output. LTC2997 also provides a 1.8V reference voltage at the VREF output, which can be used as reference voltage for the onboard ADC in the FPGA or microprocessor. The measurement error in this configuration with external sensor element is guaranteed to ±1°C over the wide temperature range from 0°C to 100°C and to ±1.5°C from –40°C to 125°C; typical temperature measurement error is far better, as shown in Figure 2. Tying the D+ pin to VCC configures the LTC2997 to use its own internal temperature sensor. The VPTAT voltage has a slope of 4mV/K and is updated every 3.5ms. OPERATING PRINCIPLES The LTC2997 achieves impressive accuracy by measuring the diode voltage at multiple test currents and using the measurements to remove any process-dependent errors and series resistance errors. The diode equation can be solved for T, where T is temperature in Kelvin, IS is a process dependent factor on the order of 10–13A, η is the diode ideality factor, k is the Boltzmann constant and q is the electron charge: 32 T= Sub-Milliohm DCR Current Sensing with Accurate Multiphase Current Sharing for High Current Power Supplies Muthu Subramanian, Tuan Nguyen and Theo Phillips 34 High Performance Single Phase DC/DC Controller with Digital Power Management q VD • η • k ln ID I S This equation has a relationship between temperature and voltage, dependent on the process-dependent variable IS . Measuring the same diode (with the same value IS) at two different currents yields an expression that is independent of (continued on page 4) Yi Sun 37 back page circuits 40 Figure 1. Remote CPU temperature sensor 2.5V TO 5.5V 0.1µF D+ CPU/ FPGA/ ASIC 2 | January 2013 : LT Journal of Analog Innovation VCC VREF 1.8V LTC2997 470pF D– GND VPTAT 4mV/K The LTC2997 in a 2mm × 3mm 6-Pin DFN package is perfectly suited to measure temperature of an FPGA or microprocessor via the processor’s temperature measuring diode. The measurement error in this configuration is guaranteed to ±1°C over the temperature range from 0°C to 100°C and to ±1.5°C from –40°C to 125°C. (LTC299x continued from page 2) 3 q V – VD1 T= • D2 η •k ID2 ln ID1 TINTERNAL = TREMOTE TRMT ERROR (°C) 2 Resistance in series with the remote diode causes a positive temperature error by increasing the measured voltage at each test current. The composite voltage equals: VD + VERROR = η Capacitances larger than 1nF start to impact the settling of the sensor voltage at the various sense currents and therefore introduce additional temperature reading errors. For example, a 10m long CAT 6 cable has about 500pF of capacitance. Figure 2. Temperature error vs temperature (LTC2997 at same temperature as remote diode) IS . The value in the natural logarithm term becomes the ratio of the two currents, which is process independent: 1 resistance and the sensor temperature can be determined using currents I1 and I2 . Unlike many remote diode sensors, the LTC2997 accurately tracks fast changing temperatures due to its short update time (3.5ms) and its robust temperature measurement algorithm in the face of temperature variations, even during a measurement interval. Figure 4 shows the step response of the LTC2997’s internal sensor when the entire device is dipped into boiling water immediately after sitting in ice water. Series resistance up to 1k typically causes less than 1°C of temperature error as indicated in Figure 3b, which makes LTC2997 the ideal device to read out diode sensors that are several meters away from the temperature management system. Indeed, the maximum distance is limited more by the line capacitance than by the line resistance. The LTC2997 has many advantages over its digital counterparts when applied in temperature regulation loops. Its fast response time and analog output temperature eliminate much of the complexity required by digital systems. For example, Figure 5 shows the LTC2997 in a heater that regulates at 75°C. In this application, the 0 –1 –2 kT I • ln D + RS • ID I S q –3 –50 where RS is the series resistance. The LTC2997 removes this error term from the sensor signal by subtracting a cancellation voltage (see Figure 3a). A resistance extraction circuit uses one additional measurement current (I3) to determine the series resistance in the measurement path. Once the correct value of the resistor is determined VCANCEL equals VERROR . Now the temperature to voltage converter’s input signal is free from errors due to series Figure 3. Series resistance cancellation –25 0 25 50 TA (°C) 75 125 100 a. Simplified block diagram b. Temperature error vs series resistance 6 LTC2997 I1, I2 I3 4 ERROR (°C) 2 D+ RSERIES RESISTANCE EXTRACTION CIRCUIT VERROR VBE D– + – VCANCEL = VERROR 0 –2 VBE TEMPERATURE TO VOLT CONVERTER VPTAT –4 –6 4 | January 2013 : LT Journal of Analog Innovation 0 200 400 600 800 1000 SERIES RESISTANCE (Ω) 1200 design features The LTC2997 has many advantages over its digital counterparts when applied in temperature regulation loops. Its fast response time and analog output temperature eliminate much of the complexity required by digital systems. Figure 4. LTC2997 internal sensor thermal step response MEASURE TEMPERATURE AND SET TARGET TEMPERATURE WITH RESISTIVE DIVIDER INTEGRATE TEMPERATURE ERROR PWM OSCILLATOR 5V 125 100µF LTC2997 CONNECTED VIA 5 INCH 30AWG WRAPPING WIRES 100 0.1µF VPTAT (°C) 75 VCC VPTAT 1k D– GND AIR –50 0 1 3 2 TIME (s) 4 + 22k BOILING WATER ZXM64PO35 – 100k LTC6079 VREF 200k 5V + 0 ICE –25 WATER – LTC2997 470pF 25 100pF 10M D+ 50 10M VTARGET 75k VREF 100k LTC6079 CET 3904 1M 10Ω RHEATER 5 reference voltage is used to generate—by means of a resistive divider—a target voltage of 1.392V (= [75 + 273.15]K • 4mV/K). The first micropower rail-to-rail amplifier, the LTC6079, integrates the difference between the VPTAT output of the LTC2997 and the target voltage. The integrated error signal is converted to a pulse width modulated signal by the PWM oscillator, which in turn drives the switch of the PMOS, controlling the current through the heating resistor. The LTC2997 can also be used to build a Celsius thermometer (Figure 6), a Fahrenheit thermometer (Figure 7), a thermocouple thermometer with cold junction compensation (Figure 8), or in countless other applications where accurate and fast temperature measurements are required. Figure 5. 75°C analog PWM heater controller 0.1µF 150k 2.5V TO 5.5V 0.1µF VCC D+ 5V VREF 1.8V LTC2997 D– 1.8k VPTAT 4mV/K 100k 1k GND – 62k 143k 7 LTC1150 1 + 4 10mV/°C 0V AT 0°C 1µF –5V Figure 6. Celsius thermometer 0.1µF 255k 2.5V TO 5.5V 0.1µF VCC D+ VREF 1.8V LTC2997 D– VPTAT GND 4mV/K 100k 5V 270k – 7 LTC1150 1 + 4 62k 10mV/°F 0V AT 0°F 1µF –5V Figure 7. Fahrenheit thermometer January 2013 : LT Journal of Analog Innovation | 5 Unlike many remote diode sensors, the LTC2997 accurately tracks fast changing temperatures due to its short update time (3.5ms) and its robust temperature measurement algorithm in the face of temperature variations, even during a measurement interval. THE LTC2996 TEMPERATURE MONITOR 5V + OUT = 4mV/K LTC6078 TYPE K THERMOCOUPLE – 1.3k 127k 5V 10k 5.6pF 0.1µF VCC D+ VPTAT LTC2997 D– GND VREF Figure 8. Thermocouple thermometer with cold junction compensation 2.25V TO 5.5V 0.1µF 1.8V VCC VREF 43k OT LTC2996 UT VTH 36k VPTAT VTL 102k OT T > 70°C UT T < –20°C TEMPERATURE CONTROL SYSTEM 4mV/K D+ 470pF Figure 9. Remote temperature monitor with overtemperature and undertemperature thresholds GND MMBT3904 D– 5V 1.8V 30.9k 40.2k VREF 1.09V 1.49V VCC 0.1µF 10Ω RHEATER VPTAT LTC2996 VTH OT VTL D+ 110k HIGH IF T < 0°C MMBT3904 B6015L12F IRF3708 470pF D– GND UT HIGH IF T < 100°C Figure 10. Bang-bang controller maintains temperature between 0°C and 100°C 6 | January 2013 : LT Journal of Analog Innovation 2N7000 The LTC2996 adds threshold inputs VTH and VTL to the LTC2997 and continuously compares VPTAT to these thresholds to detect overtemperature (OT) or undertemperature (UT) conditions. The threshold input voltages can be conveniently set by resistive dividers from the built-in reference voltage, as depicted in Figure 9. If the temperature of the remote diode in Figure 9 increases above 70°C, the VPTAT voltage exceeds the high temperature threshold at VTH. The LTC2996 detects this overtemperature condition and alerts the temperature control system by pulling the OT pin low. In the same way, a temperature falling below –20°C is communicated via the UT pin. Note that the LTC2996 pulls on the open drain alert outputs only if the temperature exceeds the corresponding threshold for five consecutive update intervals of 3.5ms each. The OT and the UT pin have internal weak 400k pull-up resistors to VCC —no external resistors are required in many applications. The LTC2996 can be used to implement a bang-bang controller, keeping the temperature of a sensitive device (e.g., a battery) in a certain desirable temperature range, as shown in Figure 10. In this application, the undertemperature input threshold is set to 100°C, whereas the overtemperature input threshold input is set to 0°C. This seemingly upside down arrangement is linked to the fact that OT und UT are pulled low when a threshold is exceeded. Therefore, in this design features The LTC2996 adds threshold inputs VTH and VTL to the LTC2997 and continuously compares VPTAT to these thresholds to detect overtemperature (OT) or undertemperature (UT) conditions. of each cell individually with minimal additional wiring, as shown in Figure 11. 2.25V TO 5.5V 0.1µF VCC VREF LTC2996 D+ OT 43.2k VTH UT VTL VPTAT BATTERY SUPERVISOR 10k TALERT INT 28k 110k GND D– LOW IF TEMPERATURE OF ANY CELL TCELL > 70°C OR TCELL < 0°C 0.1µF VCC VREF LTC2996 D+ UT VTL VPTAT 28k 110k GND D– Figure 11. Supervising temperature of cells in a battery stack configuration, UT and OT both pull the gates of the NMOS transistors low while the temperature remains within the desired range (over the overtemp and under the undertemp), and the heating resistor and the cooling fan are turned off. If the temperature rises above 100°C, the undertemperature open drain output UT is released high and the fan THE LTC2995 COMBINES A TEMPERATURE AND A DUAL VOLTAGE MONITOR / SUPERVISOR In addition to temperature monitoring, nearly every electronic system requires multisupply voltage supervision. To serve this need, the LTC2995 combines the LTC2996 with a dual voltage supervisor, monitoring two supply lines for overvoltage and undervoltage conditions as shown in Figure 12. OT 43.2k VTH In fact, if the cells are connected in series (battery stack) only three additional lines—VCC , GND and an alert output—are required to monitor whether the temperature of any cell leaves the desired operating range. If the cells are connected in parallel, and a battery with a terminal voltage between 2.25V and 5.5V (e.g., Li-ion) is monitored, even a single additional line—the alert output—is sufficient to supervise the temperature of each cell. is switched on. Similarly, a temperature below 0°C turns on the heater. In the context of batteries, the LTC2996 can also be used to supervise the temperature of a large battery composed of several different cells. A damaged, shorted or worn out cell typically heats up, and can, in worst case, catch fire. The LTC2996 supervises the temperature The LTC2995 adds two additional high and low voltage inputs per channel, which are continuously compared to an internal 500mV reference. As soon as the voltage at either VH1 or VH2 falls below 500mV, the LTC2995 flags an undervoltage condition by pulling the UV output pin low. Similarly, an overvoltage condition is indicated by pulling the OV pin low if either VL1 or VL2 rise above 500mV. To prevent spurious resets due to noise on the monitored supply voltages, the LTC2995’s lowpass filter causes the January 2013 : LT Journal of Analog Innovation | 7 To prevent spurious resets due to noise on the monitored supply voltages, the LTC2995’s lowpass filter causes the output of the comparator to be integrated before asserting UV or OV. Any transient at the input of the comparator must be of sufficient magnitude and duration before the comparator triggers the output logic. output of the comparator to be integrated before asserting UV or OV. Any transient at the input of the comparator must be of sufficient magnitude and duration before the comparator triggers the output logic. Furthermore, the LTC2995 has an adjustable timeout period (tUOTO) that holds UV and OV asserted after any faults have cleared. This delay minimizes the effect of input noise with a frequency above 1/tUOTO. The timeout period (tUOTO) is adjustable by connecting a capacitor, CTMR, between the TMR pin and ground in order to accommodate a variety of applications. The LTC2995 includes temperature measuring and monitoring features that provide more flexibility than the LTC2997 and LTC2996. While the latter devices always switch to external mode if an external diode is connected, requiring D+ to be connected to VCC to measure the internal diode, the LTC2995 provides an additional diode select (DS) pin, allowing switching between the internal and an external diode on the fly. If the DS pin is left floating, the LTC2995 goes into “pingpong” mode, where it alternates between CONCLUSION internal and external diode measurement with a period of about 20ms. Finally, the LTC2995 can configure its two temperature thresholds both as overtemperature or both as undertemperature limits using the polarity select (PS) pin. This feature allows systems to react in levels to changes in temperature. As an example you might want to get a warning if the temperature rises above 75°C (e.g., to switch on a fan) and an alert if it increases above 125°C (e.g., to switch off the system) as depicted in Figure 12. Figure 12. Dual OV/UV ±10% supply and 75°C/125°C OT/OT remote temperature monitor ASIC/ CPU/ FPGA 2.5V 1.2V D+ 470pF VCC 0.1µF D– PS DS 64.4k VH1 LTC2995 10.2k If You Need Digital Output The LTC2990 and the LTC2991 feature digital I2C output and control as well as voltage and current monitoring functions. For more information, go to www.linear.com/2990 or www.linear.com/2991. 8 | January 2013 : LT Journal of Analog Innovation Linear Technology’s new family of accurate temperature sensors/monitors can use an internal or external diode as a sensor and produce analog outputs proportional to measured temperature. The family ranges from a tiny temperature sensor to a combined temperature and dual voltage supervisor that can signal out-ofrange conditions. These devices make it easy to build analog temperature control loops or to monitor temperatures (and voltages) with minimum complexity. n VPTAT VL1 45.3k TO2 194k TO1 VH2 OV 10.2k UV VL2 45.3k TMR GND 5nF 140k VT1 VT2 20k VREF 20k A/D OT T > 125°C OT T > 75°C +10% –10%