In this video I explain in detail how does a half-bridge switching power supply work. I use my 24V 10A 240W SMPS for demonstration, but most AT and ATX computer power supplies and many other high-powered power supplies work the same way.
The first part:
https://youtu.be/KIilQrgJ-gg
You can support me on Patreon:
https://www.patreon.com/DiodeGoneWild