Page 2 of 2

Re: Relays and failsafe

Posted: Wed Jun 07, 2017 5:43 pm
by Burngate
It seems to be getting more and more complicated - and the more there is, the more that can fail, leaving it in a non-safe condition.
Assuming you want it to fail safely within a second or so, how about this?
FailSafeOP.png
FailSafeOP.png (4.4 KiB) Viewed 596 times
As long as the first fet is hit more than once a second, it'll hold the second one on. If not, the second fet will go off after another second.

Re: Relays and failsafe

Posted: Mon Jun 12, 2017 10:11 am
by PiGraham
Burngate wrote:It seems to be getting more and more complicated - and the more there is, the more that can fail, leaving it in a non-safe condition.
Assuming you want it to fail safely within a second or so, how about this?
FailSafeOP.png
As long as the first fet is hit more than once a second, it'll hold the second one on. If not, the second fet will go off after another second.
Just off the top of my head, how about just the one FET, series capacitor to the gate and high value resistor from G to S, as you have, and switch the GPIO between output high and input tri-state?
The series C blocks DC if the GPIO sticks high.
Setting the pin to output high injects charge into the gate turning on the FET. The high value resistance discharges the gate in a second or so.
Output low turns FET off.
Stuck high FET turns off.
Keep pulsing out high/ input tri-state to keep the FET on.
Maybe add additional capacitance to the gate.

Re: Relays and failsafe

Posted: Mon Jun 12, 2017 10:46 am
by gordon77
What about something like this vellerman kit.. using as 'Start/Stop Timer' option seems to suit your application.

Just program the pi to do a 'start' pulse (interface required as its 12v) and it will run for a set time, if the pulse stays ON it will still time out according to the instructions.

http://www.velleman.co.uk/manuals/k8015.pdf