Now, if you really insist on letting a cap discharge, just amplify
it.
Use a MOSFET, although you'd probably want to use another
transistor for a little positive feedback so you'd get a snap
action - I don't know if you'd want your MOSFET to be in the linear
region for 2-3 minutes.
yeah, but whay are you going to power the relay with, another plugpack
plugged into the UPS ?
back to the original design something can probably be done using an
optocoupler instead of a plugpack and relay, but a home made a cable
with a mains plug on one end and a serial plug on the other might get
some strange looks....
hmm, what's the best way to power the LED in an optocoupley from the mains,
a big honking resistor or something more subtle?
C1
|| ___
L--[680R]--||---~ /\ ~
|| / \
250v +--<->|->---+-----+
50Hz | \ / _L_ |
N-------------(--_ \/ ~T~ \ / LED
| ~~ ~ |10u ~T~ (in opttocoupler)
+-----------+-----+
now for C1
hmm 730V swing 100 times per second wanting to pass 10mA or slightly more
0.01/(730x100) = 0.139 uf rated for 250VAC
I can get 200nF seems to be a standard size
the 680 ohm resistor is there to stop the power-on surge (if ppower comes
on at one of the peaks of the AC cycle) from destroying the diodes in the
bridge... probably should be rated for 400V but only needs to be a 1/4
watt part...
the bridge needs only to be rated for 500ma and 5v1
maybe a fuse would be a good idea too, eg, 250AC 100ma
comments anyone?
Bye.
Jasen