https://electronicsbeliever.com/switching-power-supply-operation-principles-and-design/
Switching Power Supply Operation Principle and Design