Ultra Low-Power,
Single/Dual-Supply Comparators
MAX921–MAX924
2. Select R1. The leakage current into INB- is normally
under 1nA, so the current through R1 should
exceed 100nA for the thresholds to be accurate. R1
values up to about 10MΩ can be used, but values in
the 100kΩ to 1MΩ range are usually easier to deal
with. In this example, choose R1 = 294kΩ.
3. Calculate R2 + R3. The overvoltage threshold
should be 5.5V when V
IN
is rising. The design
equation is as follows:
⎛
⎞
V
OTH
R2
+
R3
=
R1
× ⎜
−
1
⎟
⎝
V
REF
+
V
H
⎠
⎛
⎞
5.5
=
294k
× ⎜
−
1
⎟
⎝
(1.182
+
0.005)
⎠
=
1.068M
Ω
4. Calculate R2. The undervoltage threshold should
be 4.5V when V
IN
is falling. The design equation is
as follows:
R2
=
(R1 + R2 + R3)
×
=
(294k + 1.068M)
×
(V
REF
−
V
H
)
−
R1
V
UTH
(1.182
−
0.005)
−
294k
4.5
Figure 6. Window Detector
R1
V
IN
R3
INA+
V+
OUTA
UNDERVOLTAGE
V
OTH
= 5.5V
V
UTH
= 4.5V
+5V
HYST
R2
10k
R5
REF
R4
2.4M
INB-
V-
OUTB
POWER GOOD
OVERVOLTAGE
MAX923
=
62.2k
Ω
Choose R2
=
61.9k
Ω
(1% standard value).
Bar-Graph Level Gauge
5. Calculate R3.
R3
=
(R2 + R3)
−
R2
=
1.068M
−
61.9k
=
1.006M
Ω
Choose R3 = 1MΩ (1% standard value)
6. Verify the resistor values. The equations are as
follows, evaluated for the above example.
Overvoltage threshold :
V
OTH
=
(V
REF
+
V
H
)
×
=
5.474V.
Undervoltage threshold :
V
UTH
=
(V
REF
−
V
H
)
×
=
4.484V,
where the hysteresis voltage V
H
=
V
REF
×
R5
.
R4
(R1
+
R2
+
R3)
(R1 + R2)
(R1
+
R2
+
R3)
R1
The high output source capability of the MAX921 series
is useful for driving LEDs. An example of this is the
simple four-stage level detector shown in Figure 7.
The full-scale threshold (all LEDs on) is given by V
IN
=
(R1 + R2)/R1 volts. The other thresholds are at 3/4 full
scale, 1/2 full scale, and 1/4 full scale. The output
resistors limit the current into the LEDs.
Level Shifter
Figure 8 shows a circuit to shift from bipolar ±5V inputs
to TTL signals. The 10kΩ resistors protect the
comparator inputs, and do not materially affect the
operation of the circuit.
12
______________________________________________________________________________________