abstract: the max6652 temperature sensor combines voltage and overtemperature monitoring into a single integrated circuit. this device features an 8-bit analog-to-digital converter (adc) for monitoring four window voltages with programmable threshold levels and a temperature sensor for monitoring overtemperature conditions. an alert-bar output can be used to interrupt a microcontroller if a fault condition is detected. the device communicates through a 2-wire interface.
this application note shows four examples of how to implement the max6652 into a design.
the max6652 is a system-monitor chip with a 2-wire digital interface. it automatically monitors system temperature and four voltages, measuring each with an 8-bit analog-to-digital converter (adc) once every 300ms (max). temperature and voltage measurements are continuously compared against programmable thresholds: upper and lower thresholds for voltage and a single over-temperature threshold for temperature. when temperature is too high or when a voltage falls outside of the allowed window, an interrupt is generated that notifies the system controller that a problem exists.
the sensitivities of the voltage monitor inputs have been scaled so that inputs of 12v, 5v, 3.3v, and 2.5v will yield adc output codes of 192 (or 3/4 of full scale). when the voltages being monitored are the same as these nominal values, it is easy to set up alarm thresholds for, say, 5% above and 5% below the nominal voltage levels.
the max6652 can also be used to monitor input voltages that are significantly different from the nominal values, provided that the correct detection thresholds are chosen. a few examples will illustrate how this is done.
example 1: nominal case.vcc = 5v; monitored voltages are 12v, 5v, 3.3v, and 2.5v.
in this example, if each voltage is at the nominal value and the adc has no error, the adc will produce an output code of 192 for each input. more accurately, the nominal input voltage is the threshold at which the code changes from 191 to 192. therefore, when we calculate an ideal code, we always round down to the nearest integer value. for alarms 5% above and below the nominal input voltages, we have (rounded down to the nearest integer values):
high limit = 192 × 1.05 = 201 and
low limit = 192 × 0.95 = 182 the total unadjusted error of the adc is 1% of full scale (maximum) or 2.56lsbs, so consider this potential error when choosing voltage limits.
figure 1. circuit of example 1. all input voltages are at the nominal values.
table 1. output codes and ±5% limits for the max6652 used to monitor the nominal power-supply voltages
monitored voltage
max6652 input
nominal output code
-5% limit
+5% limit
12
12vin
192
182
201
5
vcc (5vin)
192
182
201
3.3
3.3vin
192
182
201
2.5
2.5vin
192
182
201
example 2: vcc = 3.3v.monitored voltages are 12v, 5v, 3.3v, and 2.5v.
this example is similar to the first one, except that the max6652 operates from a 3.3v supply instead of the nominal 5v supply. measuring the 3.3v supply is simple. first calculate the code that corresponds to 3.3v at the vcc pin (rounded down to the nearest integer value):
192 × 3.3v/5v = 126 then calculate the codes for the high and low limits, again rounded down to the nearest integer values. for alarms 5% above and below the 3.3v nominal power-supply voltage, we have the following:
high limit = 192 × 3.3v/5v × 1.05 = 133 and
low limit = 192 × 3.3v/5v × 0.95 = 120
monitoring 5v is more difficult in this example. the 5v can't be applied directly to the 3.3vin input, because that input is scaled for a maximum input voltage of 4.383v. a resistive voltage divider, as shown in figure 2, attenuates the 5v supply so that it can be measured at the 3.3vin input. using a 39kω and a 20kω resistor, 5v applied to the divider results in a voltage at the 3.3vin pin of:
vin = 5v × 39kω/59kω = 3.305v
this produces a code equal to 192, so the ±5% thresholds are at 182 and 201.
the limits for the 12v and 2.5v inputs are the same as in the first example.
figure 2. circuit of example 2. the same as example 1, but the max6652 operates from a 3.3v supply, which necessitates attenuating the 5v supply so that it can be monitored at the 3.3vin input.
table 2. output codes and ±5% limits for the max6652, monitoring the nominal power-supply voltages but with a 3.3v supply voltage for the max6652
monitored voltage
max6652 input
nominal output code
-5% limit
+5% limit
12
12vin
192
182
201
5
3.3vin (attenuated)
192
182
201
3.3
vcc (5vin)
126
120
133
2.5
2.5vin
192
182
201
example 3: low-voltage system.vcc = 3.3v; monitored voltages are 5v, 3.3v, 2.5v, and 1.8v.
the 3.3v supply voltage can be monitored as in example 2.
the 12vin pin is available for monitoring the 5v supply. with 5v applied to this input, the output code will be as follows:
192 × 5/12 = 80 for alarms 5% above and below the 5v nominal power-supply voltage, we have the following:
high limit = 192 × 5v/12v × 1.05 = 84 and
low limit = 192 × 5v/12v × 0.95 = 76 the 3.3vin pin will be used for monitoring the 1.8v supply voltage. with 1.8v applied to this input, the output code (rounded down) will be as follows:
192 × 1.8/3.3 = 104 for alarms 5% above and below the 1.8v nominal power-supply voltage, we have (rounded down):
high limit = 192 × 1.8v/3.3v × 1.05 = 109 and
low limit = 192 × 1.8v/3.3v × 0.95 = 99 the 2.5v input limits are the same as in the first two examples.
figure 3. circuit of example 3. this circuit is used in a low-voltage system to monitor 5v, 3.3v, 2.5v, and 1.8v. the max6652 operates from a 3.3v supply. the 12vin input monitors the 5v supply, and the 3.3vin input monitors the 1.8v supply.
table 3. output codes and ±5% limits for the max6652 in a low-voltage system, monitoring 5v, 3.3v, 2.5v, and 1.8v
monitored voltage
max6652 input
nominal output code
-5% limit
+5% limit
5
12vin
80
76
84
3.3
vcc (5vin)
126
120
133
2.5
2.5vin
192
182
201
1.8
3.3vin
104
99
109
example 4: alternative low-voltage system.vcc = 3.3v; monitored voltages are 5v, 3.3v, 2.5v, and 1.8v.
this is an alternative to example 3. in this example, the1.8v supply is monitored at the 2.5vin input instead of at the 3.3vin input, and the 2.5v supply is monitored at the 3.3vin input. this improves the measurement resolution for the 1.8v supply, while making the resolution for the 2.5v supply somewhat worse relative to example 3.
the 3.3v supply voltage is monitored as in examples 2 and 3.
the 12vin pin monitors the 5v supply as in example 3.
the 3.3vin pin will be used for monitoring the 2.5v supply voltage. with 2.5v applied to this input, the output code (rounded down) will be as follows:
192 × 2.5/3.3 = 145 for alarms 5% above and below the 2.5v nominal power-supply voltage, we have (rounded down):
high limit = 192 × 2.5v/3.3v × 1.05 = 152 and
low limit = 192 × 2.5v/3.3v × 0.95 = 138
the 2.5vin pin will be used for monitoring the 1.8v supply voltage. with 1.8v applied to this input, the output code (rounded down) will be as follows:
192 × 1.8/2.5 = 138 for alarms 5% above and below the 2.5v nominal power-supply voltage, we have (rounded down):
high limit = 192 × 1.8/2.5 × 1.05 = 145 and
low limit = 192 × 1.8/2.5 × 0.95 = 131
figure 4. circuit of example 4. this circuit is an alternative to the low-voltage circuit in example 3. monitored voltages are still 5v, 3.3v, 2.5v, and 1.8v, but the inputs to the 3.3vin and 2.5vin pins are swapped to give better resolution when measuring the 1.8v supply.
table 4. output codes and ±5% limits for the max6652 in the alternative low-voltage system, monitoring 5v, 3.3v, 2.5v, and 1.8v
note that the 1.8v input voltage produces a larger adc code, resulting in a higher-resolution measurement.
monitored voltage
max6652 input
nominal output code
-5% limit
+5% limit
5
12vin
80
76
84
3.3
vcc (5vin)
126
120
133
2.5
3.3vin
145
138
152
1.8
2.5vin
138
131
145
滨松涡旋光解决方案 :空间光调制器LCOS-SLM和科研相机
聚焦汽车及芯片领域 TÜV莱茵举办功能安全及网络安全技术峰会
西「景」洞察丨“一带一路”专题:绘制全球大物流绿色、低碳、可持续的新图景
滴灌水肥一体化系统应用
LGD为什么又重启中国LCD模块工厂
MAX6652监控系统结合电压监测与温度传感-MAX6652
上海先楫半导体发布微控制器HPM6000系列,采用晶心AndesCore® 双D45内核
可3D打印的医用解剖数据,可解决医疗难题
荣耀10青春版评测 内外双修
7月16日:无线充电热/我国首条OGS触控屏产线
安兔兔12月份安卓旗舰手机性能排行榜公布
保护您的网站免受黑客攻击的七个良好习惯
挑战摩尔定律极限!台积电将2nm制程工厂落户新竹
多线激光雷达在AGV领域应用空间如何?
速览!2022CESIS将开展AIoT全屋智能运用领域解决方案研讨会
为什么在硬科技领域没有形成自己的优势?是中国的基础学科教育出了什么问题吗?
XR与虚拟制作有什么关联和区别?
一文探讨DDR3内存的具体特性和功能
迅远UHF RFID读写器F5001满足桌面式的应用需求
惠斯通电桥你知道怎么使用吗?聊聊惠斯通电桥