Dan said:
Hi John,
thank you for your thoughtful and informative message. May I be so bold as
to indulge you a few more questions? They are interspersed with your
message, below.
When you say to add some resistors, what would be your best guess for
rating? 2k ohm? 4.7k ohm?
Is there any resistor between the output and the base, now?
TTL family chips don't pull positive nearly as well as
they pull negative. See VOH (output high voltage spec) on
page 4 of:
http://www.datasheet4u.com/html/S/N/7/SN74175_TexasInstruments.pdf.html
The guaranteed high output voltage is typically 3.4 volts
while the output is pulling positive with an 800 uA current.
That is what you have to turn on your two darlingtons.
Those MPSU45:
http://www.datasheet4u.com/html/M/P/S/MPS-U45_MotorolaSemiconductor.pdf.html
need about 2 volts base to emitter (base emitter saturation
voltage on page 2). I don't know what current your relay
coils draw, but if it is about a half ampere, the darlington
minimum gain is at least 15,000, but you can't get very good
turn on saturation voltage at that. Lets say you need about
500 mA / 5000 = .1 mA base drive to be turned pretty
thoroughly. But the collector saturation curves on page 3
show what happens when the base current is 1/300 of the
collector current, so I would take that as a recommendation
of about what base drive is needed to really get these
things turned on well. So you should be thinking in terms
of about 1 mA base drive. This means that between the flip
flop output voltage of 3.4 volts (which you won't quite get,
because you are talking about t2 mA of load current and that
spec is based om .8 mA of load current) and a base voltage
of 2, the resistor has about 1.4 volts to waste while
passing at least 1 mA. That means it should work with a
resistor or no more than 1.4 / 1 mA = 1.4k. If you use a
very low value, or no resistor at all, the base with the
lowest voltage drop will suck up the majority of the current
and the other may not be turned on enough. So, any resistor
around 1k should work. Expect the flip flop output voltage
to be less than 3.4 volts.
How would I match specifications for the mosfets, with respect to the
Darlingtons I would be replacing? Certainly I can find the Darlington specs
in the book, but in my hands finding the most appropriate mosfet would be
akin to finding a needle in a haystack...
It should have plenty of drain voltage rating to handle the
DC supply feeding the relays, and have a channel resistance
that drops only a small fraction of that supply voltage when
the gate is driven with 3 or 4 volts (the flip flop will
produce a bit more on state voltage, since the gates draw no
DC current.) Most mosfets are designed to be fully turned
on with about 10 volts gate to source, so you will not get
any where near their specified on state resistance when they
are operated with 3.5 volts. MOSFETS specifically designed
to switch with logic level outputs would work better.
I don't know what your coil currents are, but to be
conservative, lets say they are near the maximum rating of
the MPSU45 at 2 amps. I also don't know what your relay
supply voltage is, but we can start with mosfets rated for
the same 40 volts the darlington is rated for. If the
mosfet drops no more than 1.5 volts, it will get no warmer
than the darlington would, though lower drop would put more
of the supply across the coil.
Looking for a cheap and common logic level deviuce that fits
these requirements, I come up with IRL520N (though it has a
different pinout):
http://www.irf.com/product-info/datasheets/data/irl520ns.pdf
rated for 100 volts when off, drops less than 1 volt with 3
volts gate drive and a 2 amp load, less than .4 volts drop
with 4 volts gate drive. (figure 1, page 3).
If your coil currents are a lot less than 2 amps, a smaller
device could well work.
http://www.irf.com/product-info/datasheets/data/irld024.pdf
(about 5 volt drop with .5 amp)
Make sure you connect a diode across each coil, to short out
the voltage spike they will generate when the current is
switched off, the way an ignition coil does. The diode
should have the banded end connected to the positive supply
end of the coil.