In a previous post, @Transistor showed hos to create a simple pulse trigger with a relay and a switch: Is there such a thing as a non-latching pulse switch?

Now I'd like to take the problem one step further to deal with power outage conditions.

In my scenario, I have this pulse circuit as shown enter image description here which means that when the button is pressed, a brief pulse / spike is created.

But... what if

  • the switch is glued down
  • the source power goes out, and then comes back on at a some random later stage?

The whole point and requirement is that I need human intervention to manually explicitly push the button, make the connection. If the button is glued shut, it's effectively non existent and the pulse is generated when the power comes on.

So, my thoughts are:

  • what about specifically the type of switch. A latching switch will require a person to unlatch and relatch - except that when it's latched it's causing the problem I don't want.
  • what about a switch that is only latches if the power is present? If in some way the switch cannot latch if there is no power? I can't see how.
  • what about a one shot switch like a gas BBQ piezo electric switch. It generates a spark, but you have to release and press the knob again if you want another spark. I can't find any electronic switches like this.

My environment is a mains power distribution board with 220VAC, and DIN rail mounted components, but I'm open to any other ideas.

  • \$\begingroup\$ The commercial offerings for machine start/stop/e-stop I have used already covers the glued down start button case and power cycling is already covered by Transistor’s previous answer. Not sure what it’s called or how they do it. \$\endgroup\$
    – winny
    Jan 3 at 18:10
  • \$\begingroup\$ If you're able, I'm really interested to hear more. I understand pulse generation solution of @Transistor but I don't see how that solves the power cycling problem. do you have a brand names of components? or part numbers? \$\endgroup\$
    – Maxcot
    Jan 3 at 18:36

2 Answers 2


Perhaps consider a switched capacitor arrangement where you would operate a switch to position ‘A’ where it charges a capacitor and then switch to position ’B’ where the energy from the capacitor energises a relay that is then self-latching. Would that achieve what you want?


Here's a solution.

enter image description here

When the push button switch is pressed, the capacitor charge pulse produces a single pulse output at the relay contact.

When the push button switch is released, the capacitor is discharged through the resistor R1 in order to be ready for the next pulse.

The value of R1 may be equal to the resistance of the relay coil.

Power going off and resuming, with the push button switch in pressed / stuck condition, will not generate any other output.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.