I am trying to build a circuit that disconnects the output for a brief time when power is connected. However I want the circuit to remain connected after power is removed.
I can achieve the first bit with a RC circuit connected to the base of an NPN transistor pulling the gate of a p-channel mosfet to GND. This works well because my input power is a clean vertical uptick. Meaning the voltage is at one instant zero and at the next 5V.
I have tried keeping the circuit connected using two NPN Transistors connected to the gate of the same p-channel mosfet. The two transistors are in the form of a inverter(not gate) signaled by the input power. This works well if the signal quickly goes from 5V to GND. My signal however has a gentle downward slope to zero. I have tried using a voltage divider and a comparitor to speed up the signal but neither has been fast enough.
Is there any way I can briefly disconnect my output when the input goes from LO to HIGH but ignore the change from HIGH to LO? This would leave my circuit connected at all times except for a brief moment when power is connected.
Edit:
Thanks to @EM Fields I was able to figure this out. I slightly edited the circuit Fields provided.
Here is the Spice simulation,
It shows the main input and the main output.