I was using the LT1619. Datasheet shows 40uA max current draw in shutdown mode. Simulator shows about 265uA :)
I think the current draw will need to be greater in order to charge the capacitor up within ~100ms max too.
Thanks! I put in that new circuit, I think it is working fine, but the simulation gets stuck at 147ms for some reason doing "transient analysis" so I don't know for sure. I think I might have to increase the inductance of the L2 coil so that Vcc gets to at least the zener voltage (20V) to turn off Q2, there isn't much draw off of the L2 coil, is there a way to estimate what inductance to use, since the simulator won't run so I can't trial and error it like usual!
Here are the current schematic and ltspice files:
I guess a simpler solution could involve using a PTC thermistor, but a restart would have to wait for the resistor to cool down.
Also if there was an optocoupler that is normally on, then turns off when the voltage on the input increases that may work too. I don't know if they have optocouplers that work this way? Maybe one built with a depletion mode n channel fet would work?
I want to put the circuit into my SMPS, it is to generate a 12V rail to run the uC etc.
cheers, Jamie