The easy way..
1). Use a UC3842/3/4/5 family of current mode chips. (different max duty cycles).
2). Use the application notes on the chip.
3). To regulate output use a TL431 measuring output, driving an opto coupler.
4).The output of the opto coupler shorts out reference input on the 3842.
5).Overcurrent on output also drives the same opto.
6).These chips have their own oscilator, comparitor, voltage reference, MOSFET/IGBT current limit, and undervoltage protection.
Smoke tests become rare with experience.
Always use a resistor of at least 27 ohms in series with the gate.
Don't turn them ON too quick (high current spkies from diode reverse recovery time being too short)
or OFF too quick (big inductive spikes where you least expect them)
Attention to detail is a MUST.
You must consider the current paths through every high current part of wiring.
Put the driver chip close to the MOSFET/IGBT. Keep Gate/Drain current paths direct to driver chip, with no other common connections along these wires.
ALL WIRES HAVE INDUCTANCE, which becomes very obvious when creating switchmode power. Invisible voltage spikes are usually the cause of mystery failures.
The application notes, followed very closely give really good results.
:wave:
Super X3. 3600rpm. Sheridan 6"x24" Lathe + more. Three ways to fix things: The right way, the other way, and maybe your way, which is possibly a faster wrong way.