工业控制 | 能源技术 | 汽车电子 | 通信网络 | 安防监控 | 智能电网 | 移动手持 | 无线技术 | 家用电器 | 数字广播 | 消费电子 | 应用软件 | 其他方案

电路设计->基础电路图->其他基础电路图->External Temperature Sensor Ca

External Temperature Sensor Ca

作者:dolphin时间:2012-07-31

External Temperature Sensor Calibration for the MAX16031/MAX16032 System Monitors

Eric Schlaepfer

Abstract: The MAX16031/MAX16032 system monitors support external diode-connected transistors to sense remote temperatures. Diode-connected transistors exhibit temperature-dependent characteristics, which can be measured using a simple process. These characteristics are slightly different depending on the type of transistor; therefore, a calibration process needs to be performed before the MAX16031/MAX16032 can produce accurate temperature readings. The MAX16031/MAX16032 EEPROM-configurable system monitors are designed to monitor voltages, temperatures, and current in complex systems. These EEPROM-configurable devices allow enormous flexibility in selecting operating ranges; upper and lower limits for temperature, voltage, and current; fault output configuration; and operating modes with the capability of storing these values within the device.The MAX16031 monitors up to eight voltages, three temperatures (one internal/two external remote temperature diodes), and a single current. The MAX16032 monitors up to six voltages and two temperatures (one internal/one remote temperature diode). Each of these monitored parameters is multiplexed into the ADC and written to its respective register that can be read back through the SMBus and JTAG interfaces.Calibration parameters located in the EEPROM for the external temperature sensors must be set by the customer, as they are dependant upon the type of diode used in the application circuit. This application note provides a procedure for calibrating the external temperature sensors. A general, two-current method for measuring temperature is presented briefly, followed by the specific two-current implementation used by the MAX16031/MAX16032. Also provided is a specific calibration procedure that uses a diode-connected 2N3904 transistor as an example.

Temperature Sensing Review

All semiconductor devices exhibit temperature dependencies. Of special interest is the IV curve of a forward-biased PN junction, which depends heavily on temperature. The following diode equation models this behavior:Equation 1where T is the temperature measured in Kelvins, n is the diode ideality factor, k is Boltzmann's constant (1.38e-23), q is the charge of an electron (1.6e-19), VBE is the base-emitter voltage, IS is the reverse saturation current, and I is the diode current.A simple, yet accurate way to sense the temperature is to force two different currents through a diode and take the voltage difference between the base emitter voltages for each current. This cancels out the dependency on IS and makes the relationship between the base-emitter voltage difference and temperature quite linear. The following equation shows how this works for two currents, IH and IL.Equation 2where ΔVBE is the difference in base-emitter voltages at both currents, IH is the higher forcing current, and IL is the lower forcing current. The other parameters remain the same from before. Solving for T and converting to degrees Celsius yields the following:Equation 3This equation shows that the temperature is directly proportional to ΔVBE with a ratio determined by physical constants, the diode ideality factor, and the ratio of the two sensing currents.

MAX16031/MAX16032 Temperature Sensing

The MAX16031/MAX16032 measure the temperature of the external temperature diodes using the two-current technique discussed in the last section. After scaling and converting ΔVBE to a digital code, the device subtracts a fixed code representing the -273.15 degree offset. The resulting number is the temperature in degrees Celsius with a resolution of 0.5°.The temperature-sensing circuitry requires calibration to compensate for different diode ideality factors. There are two calibration values required for each external temperature sensor in the MAX16031/MAX16032: a gain and an offset.A gain value, stored in r19h[7:2] (sensor 1) and r4Fh[5:0] (sensor 2) controls the IH current (the IL current is fixed at 6µA). Table 1 shows the bit weights for each gain register bit. For example, the value 110000b corresponds with an IH of 84µA.Table 1. Gain Register Bit Weights
r19h[7:2], r4Fh[5:0] BitIH Value Added to 80µA (µA)
Logic '1'Logic '0'
0+0.250.0
1+0.250.0
2+0.50.0
3+1.00.0
40.0+2.0
5+4.00.0
Table 2. Offset Register Values
r1Bh[7:5], r4Dh[6:4] ValueOffset (°C)
100+8
101+6
110+4
111+2
0000
001-2
010-4
011-6
Figure 1. Temperature Settings Dialog.Figure 2. Current and Temperature Tab.During the calibration procedure, as well as during normal operation, it is very helpful to enable the built-in digital temperature sensor filter. In the EV kit software, choose a center frequency from the Temp sense filter time constant dropdown list located in the Miscellaneous tab. This corresponds with register r5Bh[6:4], which is described in Table 3.Table 3. Temperature Sensor Digital Filter
r5Bh[6:4] ValueCutoff Frequency (Hz)
000Filter Disabled
0012.53
0105.06
01110.1
10020.2
10140.5
11081
111162
For best results, the sensor being calibrated should be immersed in a nonconductive fluid in a temperature-controlled bath. The example uses Fluorinert FC-77, although other fluids such as mineral oil may also work. If such equipment is not available, a commercially-available toaster oven may suffice if the sensor is attached to a metal object with a large thermal mass—this increases temperature stability during calibration. Use an accurate thermocouple with good thermal coupling to the sensor in order to measure the temperature.Use the following procedure to gather the calibration data:
  1. Make sure the offset register is set to zero.
  2. Set the temperature to the low value (in this example, +25°C), allowing enough time for stabilization.
  3. Set the gain register to 80µA.
  4. Record the digital value returned by the MAX16031.
  5. Repeat step 4 for every possible gain register value.
  6. Set the temperature to the high value (in this example, +85°C), allowing enough time for stabilization.
  7. Repeat steps 3, 4, and 5.
Several simple calculations should be performed once the data is collected. For each temperature collected from the MAX16031, calculate the error value:
TERR = TMAX16031 - TMEASUREDEq. 4
Δ = TERR_85 - TERR_25Eq. 5
Table 4. Example Calibration Data
Gain Reg CodeGain Value (µA)TMAX16031 (°C)TERR (°C)Δ (°C)
+25+85+25+85
0x108017.575-7.5-10-2.5
0x1280.2517.575.5-7.5-9.5-2
0x1480.517.576-7.5-9-1.5
0x1680.751876.5-7-8.5-1.5
0x188118.576.5-6.5-8.5-2
0x1A81.2518.577-6.5-8-1.5
0x1C81.51977.5-6-7.5-1.5
0x1E81.7519.578-5.5-7-1.5
0x0822078.5-5-6.5-1.5
0x282.252079-5-6-1
0x482.520.579-4.5-6-1.5
0x682.752179.5-4-5.5-1.5
0x8832180-4-5-1
0xA83.2521.580.5-3.5-4.5-1
0xC83.52281-3-4-1
0xE83.7522.581.5-2.5-3.5-1
0x308422.582-2.5-3-0.5
0x3284.252382-2-3-1
0x3484.52382.5-2-2.5-0.5
0x3684.7523.583-1.5-2-0.5
0x38852483.5-1-1.5-0.5
0x3A85.2524.583.5-0.5-1.5-1
0x3C85.524.584-0.5-1-0.5
0x3E85.752584.50-0.5-0.5
0x208625.5850.50-0.5
0x2286.2525.5850.50-0.5
0x2486.52685.510.5-0.5
0x2686.7526.5861.51-0.5
0x288726.586.51.51.50
0x2A87.252787220
0x2C87.527.5872.52-0.5
0x2E87.752887.532.5-0.5
The values obtained for the offset and gain registers may now be loaded into the EEPROM configuration registers of the MAX16031 monitor used in the application circuit. The same values can be used every time, resulting in reasonable accuracy.To increase the accuracy, the gain parameter can be programmed in circuit for each unit at board test time. Place an accurate thermocouple near the device and measure the temperature. Adjust the gain register contents until the MAX16031 temperature matches the measured temperature.

Fluorinert is a trademark of the 3M Company.
SMBus is a trademark of Intel Corp.


关键词: 电子电路图 External M

评论

技术专区