User avatar
Burngate
Posts: 6302
Joined: Thu Sep 29, 2011 4:34 pm
Location: Berkshire UK Tralfamadore
Contact: Website

Re: Relays and failsafe

Wed Jun 07, 2017 5:43 pm

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 595 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.

PiGraham
Posts: 3936
Joined: Fri Jun 07, 2013 12:37 pm
Location: Waterlooville

Re: Relays and failsafe

Mon Jun 12, 2017 10:11 am

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.

gordon77
Posts: 5036
Joined: Sun Aug 05, 2012 3:12 pm

Re: Relays and failsafe

Mon Jun 12, 2017 10:46 am

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

Return to “Automation, sensing and robotics”