D ts e t
aa h e
R c e t r lc r nc
o h se Ee to is
Ma u a t r dCo o e t
n fc u e
mp n n s
R c e tr b a d d c mp n ns ae
o h se rn e
o oet r
ma ua trd u ig ete dewaes
n fcue sn i r i/ fr
h
p rh s d f m te oiia s p l r
uc a e r
o h r n l u pi s
g
e
o R c e tr waes rce td f m
r o h se
fr e rae r
o
te oiia I. Al rce t n ae
h
r nl P
g
l e rai s r
o
d n wi tea p o a o teOC
o e t h p rv l f h
h
M.
P r aetse u igoiia fcoy
at r e td sn r n la tr
s
g
ts p o rmso R c e tr e eo e
e t rga
r o h se d v lp d
ts s lt n t g aa te p o u t
e t oui s o u rne
o
rd c
me t o e c e teOC d t s e t
es r x e d h
M aa h e.
Qu l yOv riw
ai
t
e ve
• IO- 0 1
S 90
•A 92 cr ct n
S 1 0 et ai
i
o
• Qu l e Ma ua trr Ls (
ai d
n fcues it QML MI- R -
) LP F
385
53
•C a sQ Mitr
ls
lay
i
•C a sVS a eL v l
ls
p c ee
• Qu l e S p l r Ls o D sr uos( L )
ai d u pi s it f it b tr QS D
e
i
•R c e trsacic l u pir oD A a d
o h se i
r ia s p l t L n
t
e
me t aln u t a dD A sa d r s
es lid sr n L tn ad .
y
R c e tr lcrnc , L i c mmi e t
o h se Ee t is L C s o
o
tdo
t
s p ligp o u t ta s t f c so r x e t-
u pyn rd cs h t ai y u tme e p ca
s
t n fr u lya daee u loto eoiial
i s o q ai n r q a t h s r n l
o
t
g
y
s p l db id sr ma ua trr.
u pi
e yn ut
y n fcues
T eoiia ma ua trr d ts e t c o a yn ti d c me t e e t tep r r n e
h r n l n fcue’ aa h e a c mp n ig hs o u n r cs h ef ma c
g
s
o
a ds e ic t n o teR c e tr n fcue v rino ti d vc . o h se Ee t n
n p c ai s f h o h se ma ua trd eso f hs e ie R c e tr lcr -
o
o
isg aa te tep r r n eo i s mio d co p o u t t teoiia OE s e ic -
c u rne s h ef ma c ft e c n u tr rd cs o h r n l M p c a
o
s
g
t n .T pc lv le aefr eee c p r o e o l. eti mii m o ma i m rt g
i s ‘y ia’ au s r o rfrn e up s s ny C r n nmu
o
a
r xmu ai s
n
ma b b s do p o u t h rceiain d sg , i lt n o s mpetsig
y e a e n rd c c aa tr t , e in smuai , r a l e t .
z o
o
n
© 2 1 R cetr l t n s LC Al i t R sre 0 1 2 1
0 3 ohs E cr i , L . lRg s eevd 7 1 0 3
e e oc
h
T l r m r, l s v iw wrcl . m
o e n oe p ae it w . e c o
a
e
s
o ec
DS1231/S
Power Monitor Chip
www.dalsemi.com
FEATURES
§
§
§
§
§
§
§
§
§
§
§
Warns processor of an impending power
failure
Provides time for an orderly shutdown
Prevents processor from destroying
nonvolatile memory during power transients
Automatically restarts processor after power
is restored
Suitable for linear or switching power
supplies
Adjusts to hold time of the power supply
Supplies necessary signals for processor
interface
Accurate 5% or 10% V
CC
monitoring
Replaces power-up reset circuitry
No external capacitors required
Optional 16-pin SOIC surface-mount package
PIN ASSIGNMENT
IN
MODE
TOL
GND
1
2
3
4
8
7
6
5
VCC
NMI
RST
RST
DS1231 8-Pin DIP (300-mil)
See Mech. Drawings Section
NC
IN
NC
MODE
NC
TOL
NC
GND
1
2
3
4
5
6
7
8
16
15
14
13
12
11
10
9
NC
VCC
NC
NMI
NC
RST
NC
RST
DS1231S 16-Pin SOIC (300-mil)
See Mech. Drawings Section
PIN DESCRIPTION
IN
MODE
TOL
GND
RST
RST
NMI
- Input
- Selects input pin characteristics
- Selects 5% or 10% V
CC
detect
- Ground
- Reset (Active High)
- Reset (Active Low, open drain)
- Non-Maskable Interrupt
- +5V Supply
- No Connections
V
CC
NC
DESCRIPTION
The DS1231 Power Monitor Chip uses a precise temperature-compensated reference circuit which
provides an orderly shutdown and an automatic restart of a processor-based system. A signal warning of
an impending power failure is generated well before regulated DC voltages go out of specification by
monitoring high voltage inputs to the power supply regulators. If line isolation is required a UL-approved
opto-isolator can be directly interfaced to the DS1231. The time for processor shutdown is directly
proportional to the available hold-up time of the power supply. Just before the hold-up time is exhausted,
the Power Monitor unconditionally halts the processor to prevent spurious cycles by enabling Reset as
1 of 9
010700
DS1231/S
V
CC
falls below a selectable 5 or 10 percent threshold. When power returns, the processor is held inactive
until well after power conditions have stabilized, safeguarding any nonvolatile memory in the system
from inadvertent data changes.
OPERATION
The DS1231 Power Monitor detects out-of-tolerance power supply conditions and warns a processor-
based system of impending power failure. The main elements of the DS1231 are illustrated in Figure 1.
As shown, the DS1231 actually has two comparators, one for monitoring the input (Pin 1) and one for
monitoring V
CC
(Pin 8). The V
CC
comparator outputs the signals RST (Pin 5) and
RST
(Pin 6) when V
CC
falls below a preset trip level as defined by TOL (Pin 3).
When TOL is connected to ground, the RST and
RST
signals will become active as V
CC
goes below 4.75
volts. When TOL is connected to V
CC
, the RST and
RST
signals become active as V
CC
goes below 4.5
volts. The RST and
RST
signals are excellent control signals for a microprocessor, as processing is
stopped at the last possible moments of valid V
CC
. On power-up, RST and
RST
are kept active for a
minimum of 150 ms to allow the power supply to stabilize (see Figure 2).
The comparator monitoring the input pin produces the
NMI
signal (Pin 7) when the input threshold
voltage (V
TP
) falls to a level as determined by Mode (Pin 2). When the Mode pin is connected to V
CC
,
detection occurs at V
TP
-. In this mode Pin 1 is an extremely high impedance input allowing for a simple
resistor voltage divider network to interface with high voltage signals. When the Mode pin is connected
to ground, detection occurs at V
TP
+. In this mode Pin 1 sources 30
µA
of current allowing for connection
to switched inputs, such as a UL-approved opto-isolator. The flexibility of the input pin allows for
detection of power loss at the earliest point in a power supply system, maximizing the amount of time
allotted between
NMI
and
RST
. On power-up,
NMI
is released as soon as the input threshold voltage
(V
TP
) is achieved and V
CC
is within nominal limits. In both modes of operation the input pin has
hysteresis for noise immunity (Figure 3).
APPLICATION - MODE PIN CONNECTED TO V
CC
When the Mode pin is connected to V
CC
, pin 1 is a high impedance input. The voltage sense point and the
level of voltage at the sense point are dependent upon the application (Figure 4). The sense point may be
developed from the AC power line by rectifying and filtering the AC. Alternatively, a DC voltage level
may be selected which is closer to the AC power input than the regulated +5-volt supply, so that ample
time is provided for warning before regulation is lost.
Proper operation of the DS1231 requires a maximum voltage of 5 volts at the input (pin 1), which must
be derived from the maximum voltage at the sense point. This is accomplished with a simple voltage
divider network of R1 and R2. Since the IN trip point V
TP
- is 2.3 volts (using the -20 device), and the
maximum allowable voltage on pin 1 is 5 volts, the dynamic range of voltage at the sense point is set by
the ratio of 2.3/5.0=.46 min. This ratio determines the maximum deviation between the maximum
voltage at the sense point and the actual voltage which will generate
NMI
.
Having established the desired ratio, and confirming that the ratio is greater than .46 and less than 1, the
proper values for R1 and R2 can be determined by the equation as shown in Figure 4. A simple approach
to solving this equation is to select a value for R2 which is high enough impedance to keep power
consumption low, and solve for R1. Figure 5 illustrates how the DS1231 can be interfaced to the AC
power line when the mode pin is connected to V
CC
.
2 of 9
DS1231/S
POWER MONITOR BLOCK DIAGRAM
Figure 1
POWER-UP RESET
Figure 2
3 of 9
DS1231/S
INPUT PIN HYSTERESIS
Figure 3
-20
-35
-50
V
TP
-
2.3
2.15
2.0
V
TP
+
2.5
2.5
2.5
NOTE: HYSTERESIS TOLERANCE IS
±60
mV
APPLICATION WITH MODE PIN CONNECTED TO V
CC
Figure 4
V SENSE =
R1+ R2
X 2.3
R2
V MAX =
V SENSE
X 5.0
VTP
−
EXAMPLE: V SENSE = 8 VOLTS AT TRIP POINT AND A
MAXIMUM VOLTAGE OF 17.5V WITH R2 = 10k
THEN 8 =
R1+ 10k
X 2.3
10k
R1 = 25k
NOTE:
RST
requires a pull-up resister.
4 of 9