IC应用威廉希尔官方网站 图
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 ReviewAll 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:where 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. where Δ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: This 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 SensingThe 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
The offset value, located in r1Bh[7:5] (sensor 1) and r4Dh[6:4] (sensor 2), gets added to temperature conversion result to compensate for offset errors. Table 2 shows the possible offset values. Table 2. Offset Register Values
When using the MAX16031 evaluation kit (EV kit), the software provides convenient access to each calibration register through the Temperature Settings dialog shown in Figure 1. From the Current and Temperature tab (seen in Figure 2), click the blue External Temperature 1 or External Temperature 2 link to access the settings dialog for each temperature-monitoring channel. 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
Calibration ProcedureTo calibrate the temperature-sensor circuit of the MAX16031/MAX16032, data needs to be taken at two different temperatures. The temperatures should be widely separated for best results. For simplicity, the first temperature may be +25°C. For better accuracy, the second temperature should be higher than room temperature rather than lower; a good value is +85°C. For the best accuracy, data should be taken at -40°C and +85°C. The following MAX16031 example takes calibration data at +25°C and +85°C, and uses a Fairchild 2N3904 transistor in the diode-connected configuration—the collector and base shorted together.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:
Then, calculate the difference between each error value for a single gain value:
Table 4 shows the example calibration data. The columns Gain Reg Code and Gain Value (µA) show the gain register setting as both a hex code and as the equivalent current source value. The TMAX16031 (°C) column shows the readings obtained from the MAX16031 temperature-conversion-result registers for each gain setting at both the low temperature (+25°C) and the high temperature (+85°C). The TERR (°C) column lists the error (difference) between the temperatures recorded by the MAX16031 and the actual, measured temperatures. The Δ (°C) column lists the differences between the error values recorded at the high temperature and the low temperature. Table 4. Example Calibration Data
The next task is to find the gain and offset calibration parameters. Examine the Δ (°C) column and find the cells with the values closest to zero. In this case, two rows for gain settings of 87 and 87.25 contain zero. This corresponds to a slope of zero, meaning there is negligible gain error. Next, examine the TERR (°C) values for these rows and choose the row containing error values that can be subtracted out using the offset register. In the example, the row with an offset error of 2 is chosen so that the offset register value of '001' can cancel it out. 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. |
全部0条评论
快来发表一下你的评论吧 !