A simple SMPS working principle
We will comprehend how AC to DC SMPS buck converter is operating inside the box.
As to demonstrate the working procedure, some complex circuitry of a real world SMPS are replaced by everycircuit’s available components and models. Sawtooth wave generator, Omitted gate driven component, reference voltage source, omitted current feedback, non isolated voltage feedback, skipped protection and main AC incoming parts .
This is how PID control feedback network works to maintain stable 12Vdc when the load and AC main source vary.
The stored energy in the coil at positive cycle is released to secondary dc circuit at negative cycle. As nature of inductor reverse its polarity when the energy is released, diode is to be configured in reverse direction at secondary side.
As switching on and off over 10 thousands times per second creates very high frequency step down AC voltage at secondary. As frequency increase, the value of filter components are smaller as to produce minimum ripple dc voltage .
As feedback network and error amplifier signal to voltage control pwm generator to control duty cycle of the mosfet gate, regulated stable DC voltage is obtained.
220Vac 50Hz -> unregulated 310Vdc -> 12Vac at 10kHz or over -> regulated 12Vdc.