I need to build a high voltage regulator that will provide me with 5V@120mA and input voltage can varry from 40V to 120Volts. I know this is possible with two transistors building a buck regulator but I seem to have a problem. When I start the regulator from 0V and run it upto 120V it work perfectly but when I switch 120V immediately on then the transistor blows.