Looking to limit the current for six MOSFETs driving solenoids that
draw around 2A at 28VDC. These are only momentary solenoids and will
burn out if the CPU locks up and the watchdog fails. I need redundancy
in this circuit...
An old way for doing that was to have a capacitor in series with the
driver transistor so you only can get a short pulse. That is pretty
simple to implement, but I'm curious if there is anything more modern
that may be more foolproof? With MOSFETs I suspect one could use a non-electrolytic cap in series and get a 1/4 to 1/2 second pulse...
I've dug through the Art of Electronics-3rd Edition (& X Chapters), but haven't spotted a half decent diagram for current limiting MOSFET
solenoid drivers. They only list that subject with respect to Power Supplies.
Looking to limit the current for six MOSFETs driving solenoids that draw around 2A at 28VDC. These are only momentary solenoids and will burn out
if the CPU locks up and the watchdog fails. I need redundancy in this circuit...
An old way for doing that was to have a capacitor in series with the
driver transistor so you only can get a short pulse. That is pretty
simple to implement, but I'm curious if there is anything more modern
that may be more foolproof? With MOSFETs I suspect one could use a non-electrolytic cap in series and get a 1/4 to 1/2 second pulse...
Yeah, I'm not an electronic engineer, but you folks have known that as
long as I've been rummaging through this group.
Thanks as always!
John :-#)#
John Robertson <jrr@flippers.com> writes:
Looking to limit the current for six MOSFETs driving solenoids that
draw around 2A at 28VDC. These are only momentary solenoids and will
burn out if the CPU locks up and the watchdog fails. I need redundancy
in this circuit...
An old way for doing that was to have a capacitor in series with the
driver transistor so you only can get a short pulse. That is pretty
simple to implement, but I'm curious if there is anything more modern
that may be more foolproof? With MOSFETs I suspect one could use a
non-electrolytic cap in series and get a 1/4 to 1/2 second pulse...
There are plenty of solenoid drive ICs (Search on ti.com for some
examples), which can do initial high drive + PWM hold. The older analog
way with resistor limit is not used much anymore due to efficiency.
You could also use 74HC123 or 74HC/CD4538 series monostable to limit the drive pulse. If you need controller pulse, you might need AND/OR with
the output and the control signal and have the monostable to the
limiting only. If you do the pulsing in firmware instead of timer, you
can use retriggerable setup. With timer your firmware might lock up and
timer could keep on working.
I've dug through the Art of Electronics-3rd Edition (& X Chapters), but haven't spotted a half decent diagram for current limiting
MOSFET solenoid drivers. They only list that subject with respect to Power Supplies.
Looking to limit the current for six MOSFETs driving solenoids that draw around 2A at 28VDC. These are only momentary solenoids
and will burn out if the CPU locks up and the watchdog fails. I need redundancy in this circuit...
An old way for doing that was to have a capacitor in series with the driver transistor so you only can get a short pulse.
That is pretty simple to implement, but I'm curious if there is anything more modern that may be more foolproof? With MOSFETs I
suspect one could use a non-electrolytic cap in series and get a 1/4 to 1/2 second pulse...
Yeah, I'm not an electronic engineer, but you folks have known that as long as I've been rummaging through this group.
Thanks as always!
John :-#)#
--
(Please post followups or tech inquiries to the USENET newsgroup)
John's Jukes Ltd.
#7 - 3979 Marine Way, Burnaby, BC, Canada V5J 5E3
(604)872-5757 (Pinballs, Jukes, Video Games)
www.flippers.com
"Old pinballers never die, they just flip out."
I've dug through the Art of Electronics-3rd Edition (& X Chapters), but haven't
spotted a half decent diagram for current limiting MOSFET solenoid drivers. They only list that subject with respect to Power Supplies.
Looking to limit the current for six MOSFETs driving solenoids that draw around
2A at 28VDC. These are only momentary solenoids and will burn out if the CPU locks up and the watchdog fails. I need redundancy in this circuit...
An old way for doing that was to have a capacitor in series with the driver transistor so you only can get a short pulse. That is pretty simple to implement, but I'm curious if there is anything more modern that may be more foolproof? With MOSFETs I suspect one could use a non-electrolytic cap in series and get a 1/4 to 1/2 second pulse...
Yeah, I'm not an electronic engineer, but you folks have known that as long asI assume (past posts) you are looking for a drop-in replacement for a BJT
I've been rummaging through this group.
Mikko S <mikko.syrjalahti@nospam.fi> wrote:
John Robertson <jrr@flippers.com> writes:
Looking to limit the current for six MOSFETs driving solenoids that
draw around 2A at 28VDC. These are only momentary solenoids and will
burn out if the CPU locks up and the watchdog fails. I need redundancy
in this circuit...
An old way for doing that was to have a capacitor in series with the
driver transistor so you only can get a short pulse. That is pretty
simple to implement, but I'm curious if there is anything more modern
that may be more foolproof? With MOSFETs I suspect one could use a
non-electrolytic cap in series and get a 1/4 to 1/2 second pulse...
There are plenty of solenoid drive ICs (Search on ti.com for some
examples), which can do initial high drive + PWM hold. The older analog
way with resistor limit is not used much anymore due to efficiency.
You could also use 74HC123 or 74HC/CD4538 series monostable to limit the
drive pulse. If you need controller pulse, you might need AND/OR with
the output and the control signal and have the monostable to the
limiting only. If you do the pulsing in firmware instead of timer, you
can use retriggerable setup. With timer your firmware might lock up and
timer could keep on working.
Here's one solution:
Since a fried diode will end the game anyway, I guess it's
alright to cut the power. So you don't need to monitor the
current on all MOSFETs individually.
Since you use a 4-to-16 decoder, at most one solenoid will
be active, so you could just put a current shunt or Hall
sensor in the ground connection, to monitor the current of
whatever solenoid is on.
Then you can use two comparators:
One with a high threshold, which is not normally
reached with "normal" current, to detect if the
MOSFET turns on and the diode in the solenoid is
shorted.
To catch a melted MOSFET being on continuously,
or a software bug keeping the solenoids on all
the time, another comparator with a lower
threshold, which detects a normal amount of
current for the solenoid. This should go to a
retriggerable monostable which is reset every
time the current drops to zero. If the current
does not drop to zero for long enough, the
monostable will expire and signal an error.
Then the output of these should go to something like a RS--- Synchronet 3.22a-Linux NewsLink 1.2
flop that latches the error and deasserts the output enable
on your decoder, and also disables the power supply, if it
has an enable input. You could also use a high side MOSFET
switch.
If the power supply has a lot of capacitance, and the diode
shorts, a huge current will flow, so you don't have a lot
of time to turn off the MOSFETs by deasserting the decoder's
output enable. The gate resistors will probably have to be
tuned. A fast comparator can be useful here. The comparator
can be a simple BJT if voltage on the shunt in case of a
short circuit exceeds 0.6V.
<https://electronics.stackexchange.com/questions/632538/overcurrent-protection-for-solenoid-driver-circuit>
Shit rolls downhill.
I've dug through the Art of Electronics-3rd Edition (& X Chapters), but >haven't spotted a half decent diagram for current limiting MOSFET
solenoid drivers. They only list that subject with respect to Power >Supplies.
Looking to limit the current for six MOSFETs driving solenoids that draw >around 2A at 28VDC. These are only momentary solenoids and will burn out
if the CPU locks up and the watchdog fails. I need redundancy in this >circuit...
An old way for doing that was to have a capacitor in series with the
driver transistor so you only can get a short pulse. That is pretty
simple to implement, but I'm curious if there is anything more modern
that may be more foolproof? With MOSFETs I suspect one could use a >non-electrolytic cap in series and get a 1/4 to 1/2 second pulse...
Yeah, I'm not an electronic engineer, but you folks have known that as
long as I've been rummaging through this group.
Thanks as always!
John :-#)#
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 70 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 37:37:07 |
| Calls: | 948 |
| Calls today: | 2 |
| Files: | 1,325 |
| Messages: | 280,462 |