• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Need circuit help? Post them in the comments! I've answered over 50,000!

Blog | Categories | About | Contact | Calculators-online
You are here: Home / Power Supply Circuits / How Switch Mode Power Supply (SMPS) Circuits Work

How Switch Mode Power Supply (SMPS) Circuits Work

Last Updated on January 8, 2024 by Swagatam 58 Comments

SMPS is the acronym of the word Switch Mode Power Supply. The name clearly suggests that the concept has something or entirely to do with pulses or switching of the employed devices. I have explained how SMPS adapters work for converting mains voltage to a lower DC voltage.

Table of Contents
  • Advantage of SMPS Topology
  • How SMPS adapters work
  • What Built-in Protections do SMPS Have

Advantage of SMPS Topology

In SMPS adapters the idea is to switch the mains input voltage into the primary winding of a transformer so that a lower value DC voltage may be obtained at the secondary winding of the transformer.

However the question is, the same can be done with an ordinary transformer, so what is the need of such complicated configuration when the functioning can be simply implemented though ordinary transformers?

Well, the concept was developed precisely for eliminating the use of heavy and bulky transformers with much efficient versions of SMPS power supply circuits.

Though the principle of operation is quite the similar, the results are hugely different.

Our mains voltage is also a pulsating voltage or an AC which is normally fed into the ordinary transformer for the required conversions, but we cannot make the transformer smaller in size even with current as low as 500 mA.

The reason behind this is the very low frequency involved with our AC mains inputs.
At 50 Hz or 60 Hz, the value is tremendously low for implementing them into high DC currents outputs using smaller transformers.

This is because as the frequency decrease, the eddy current losses with the transformer magnetization increases, which results in huge lose of current through heat and subsequently the whole process becomes very inefficient.

To compensate the above loss, relatively larger transformer cores are involved with relevant degree of wire thickness, making the entire unit heavy and cumbersome.

A switch mode power supply circuit tackles this issue very cleverly.

If lower frequency increases eddy current losses, means an increase in the frequency would do just the opposite.

Meaning if the frequency is increased, the transformer could be made much smaller yet would provide higher current at their outputs.

10WSMPSCircuitUsingSTMicroelectronicsVIPer22

That's exactly what we do with an SMPS circuit. So I have explained the functioning with the following points:

How SMPS adapters work

In a switch mode power supply circuit diagram, the input AC is first rectified and filtered to produce relevant magnitude of DC.

The above DC is applied to an oscillator configuration comprising a high voltage transistor or a mosfet, rigged to a well dimensioned small ferrite transformer primary winding.

The circuit becomes a self oscillating type of configuration which starts oscillating at some predetermined frequency set by other passive components like capacitors and resistors.

The frequency is usually above 50 Khz.

This frequency induces an equivalent voltage and current at the secondary winding of the transformer, determined by the number of turns and the SWG of the wire.

Due the involvement of high frequencies, eddy current losses become negligibly small and high current DC output becomes derivable through smaller ferrite cored transformers and relatively thinner wire winding.

However the secondary voltage will also be at the primary frequency, therefore it is once again rectified and filtered using a fast recovery diode and a high value capacitor.

The result at the output is a perfectly filtered low DC, which can be used effectively for operating any electronic circuit.

In modern versions of SMPS, hi-end ICs are employed instead of transistors at the input.
The ICs are equipped with a built in high voltage mosfet for sustaining high frequency oscillations and many other protection features.

What Built-in Protections do SMPS Have

These ICs have adequate built in protection circuitry like avalanche protection, over heat protection and output over voltage protection and also a burst mode feature.

Avalanche protection ensures that the IC does not get damaged during power switch ON current in rush.

The over heat protection ensures that the IC is automatically shuts off if the transformer is not wound correctly and draws more current from the IC making it dangerously hot.

The burst mode is an interesting feature included with the modern SMPS units.

Here, the output DC is fed back to a sensing input of the IC. If due to some reason, normally due to wrong secondary winding or selection of resistors the output voltage rises above a certain predetermined value, the IC shuts off the input switching and skips the switching into intermittent bursts.

This helps to control the voltage at the output and also the current at the output.

The feature also ensures that if the the output voltage is adjusted to some high point and the output is not loaded, the IC switches to burst mode making sure that the unit is operated intermittently until the output gets adequately loaded, this saves power of the unit when in standby conditions or when the output is not operative.

The feedback from the output section to the IC is implemented via an opto-coupler so that the output remains well aloof from the input high voltage mains AC, avoiding dangerous shocks.

You'll also like:

  • 1.  High Voltage Constant Current Source Circuit
  • 2.  Making a Strong RF Discharge Circuit
  • 3.  How Buck-Boost Circuits Work
  • 4.  Soft-Start Power Supply for Amplifier Loudspeakers
  • 5.  1.25V to 120V Mains Adjustable Voltage Regulator Circuit Diagram
  • 6.  Mains 220 V AC Line Filter Circuit for Transient Suppression

About Swagatam

I am an electronics engineer with over 15 years of hands-on experience. I am passionate about inventing, designing electronic circuits and PCBs, and helping hobbyists bring their projects to life. That is why I founded homemade-circuits.com, a website where I share innovative circuit ideas and tutorials. Have a circuit related question? Leave a comment.... I guarantee a reply!

Previous Post: « Motor Protection Circuits – Over Voltage, Over Heat, Over Current
Next Post: Simple 12V, 1A SMPS Circuit »

Reader Interactions

Comments

  1. Kamussuwanto says

    March 20, 2023 at 12:23 pm

    Dear sir, how do I use this formula to calculate link capacitor?

    Cin= 2×Pin ×(0.25+1/pi ×ArcSin(Vbulk(min)/√² ×Vin(min))) / (2×Vin(min)² – Vbulk(min)²)× fline(min)

    Where:
    VIN Input Voltage 85 –115/230 — 265 VRMS
    fLINE Line Frequency 47 –50/60 — 63 Hz
    VOUT Output Voltage IOUT(min) ≤ IOUT ≤ IOUT(max) 11.75 — 12 –12.25 V
    VRIPPLE Output Ripple Voltage IOUT(min) ≤ IOUT ≤ IOUT(max) 100 mVpp
    IOUT Output Current 0 — 4 A
    η Efficiency 85%

    What I am trying is below:

    First, the denominator:
    2×Vin(min)² – Vbulk(min)² × fline(min)
    (2 × 85² – 75² ) × 47
    = 414775

    And Second, the numerator:
    2 × Pin ×(0.25+ 1/pi × ArcSin(Vbulk(min)/√2 ×Vin(min)))
    2 × Pin ×(0.25+ 1/pi × ArcSin(75/ √2×85))
    2 × Pin ×(0.25+ 1/pi × ArcSin(75/ 120.208))
    2 × Pin ×(0.25+ 1/pi × ArcSin(0.6239))
    2 ×Pin ×(0.25+ 1/pi × 38.6029)
    2 ×Pin ×(12.5377)

    But the resulr is too huge for Power in watt:

       126uF =  2× Pin × 12.5377 / 414775

    My questions:

    1. Is the denominator correct?
    2. Is the numerator correct?
    3. Why wattage is so hight if the above calculation are all correct

    Thank you sir

    Kamus

    Reply
    • Swagatam says

      March 20, 2023 at 1:23 pm

      I am sorry Kamus, it might take a lot of time to investigate your calculations, and due to lack of time it may be difficult for me to figure it out.

      I can only help with general circuit ideas.

      Reply
      • Kamus says

        March 21, 2023 at 10:17 am

        Ok sir Np. Thank you for your reply anyway.

        Reply
  2. Tahir Baig says

    December 19, 2020 at 12:18 am

    how i make customized power supply that powering a juicer machine at variable voltages like 200V,250V,AND 400V.

    Reply
    • Swagatam says

      December 19, 2020 at 12:50 pm

      You will need a variac for that, because SMPS will supply DC not AC

      Reply
      • Tahir Baig says

        December 19, 2020 at 2:46 pm

        What kind of variac?

        Reply
        • Swagatam says

          December 19, 2020 at 8:39 pm

          Please Google it, you will get the explanation with images.

          Reply
  3. Olgun says

    December 2, 2019 at 4:02 pm

    Hello!Atx power supplies have a switch for 110v-220v selection.How does this switch work?
    Atx power supply has two large filter capacitors in the input section. Usually 470 microfarad is 200V.Why is the capacitor not one?
    470 microfarad 200V equivalent to two capacitors 1000 microfarad 400V one can not be used?

    Reply
    • Swagatam says

      December 2, 2019 at 5:30 pm

      The switch must be used depending on the input voltage specification. For 220V inputs, slide it towards the 220V side and for 120V supply sockets slide it on the 120V side. I have not checked the capacitor and connection details, so I cannot advise on that

      Reply
  4. uday says

    August 30, 2017 at 12:06 pm

    Hi Swagatam,
    Thank for your efforts.
    I am Looking for 2500W/50A Power supply. Pls. help.

    Uday

    Reply
    • Swagatam says

      August 30, 2017 at 2:35 pm

      Hi Uday, I think you can try the following concept and modify it suitably as per the intended specs

      https://www.homemade-circuits.com/2014/06/smps-2-x-50v-350w-circuit-for-audio.html

      Reply
    • Uday Joshi says

      September 23, 2017 at 8:25 am

      Thank You Very Much.
      Cirtainly i will try this.

      Reply
      • Swagatam says

        September 23, 2017 at 8:43 am

        You are most welcome!!

        Reply
  5. chaudhary Bhavana says

    April 15, 2017 at 9:04 am

    plz post 24v 500ma smps circuit diagram

    Reply
  6. nomsa zwane says

    March 30, 2017 at 11:27 am

    Hey sir Swagatam, how can I go about designing a high frequency (20 kHz or more) switched mode DC power supply.

    Reply
    • Swagatam says

      March 31, 2017 at 3:56 am

      Hi Nomsa, you can do it through a simple IC555 based flyback switch mode circuit

      Reply
  7. Shaji.R.K says

    January 8, 2017 at 7:01 pm

    Hi Swagatam,If you could help me by sending the circuit of +ve & -ve 38 volt 10 amp SMPS Circuit for my mosfet amplifier.please mention the specifications of transformer also.

    Reply
    • Swagatam says

      January 9, 2017 at 4:01 am

      Hi Shaji, you can modify the following concept as per your specific requirement

      https://www.homemade-circuits.com/2014/06/smps-2-x-50v-350w-circuit-for-audio.html

      Reply
  8. Cappy Nectar says

    November 15, 2016 at 12:15 am

    H!I need a the schematics for a TV: lg 50pc55 that's smps board: EAY32957901.
    If someone have one or a link, please let me know.
    Thanks!

    Reply
    • Swagatam says

      November 15, 2016 at 1:49 pm

      Hi, I'll try to find it, if I get one will update it in this site…

      Reply
  9. Rajarshi says

    August 10, 2016 at 5:03 pm

    Hi Swagatam da,
    Thanks a lot for such a simple yet comprehensive Idea. I am very much confident now to go for my first self-made PSU. Just one thing, can you please suggest me a place where I can order the Ferite E Core Transformer, because till now I used to go to Radio Equipments Co. @ Chandni Chowk (Kolkata) for my electronic needs, but it seems they are not able to provide customized transformers as in this case.
    Is it recommended to self-wind the coils at home with prescribed gauzed wires?

    Reply
    • Swagatam says

      August 11, 2016 at 4:05 am

      Thank you Rajarshi, I am glad I could help….

      …. yes, the transformer cannot be procured ready made from anywhere, only the transformer spares needs to be procured and then assembled at home by following the given winding data

      Reply
  10. rajeev madhavan says

    June 12, 2016 at 2:52 am

    Could you help me to make 12 volt smps for l e d light 18 watt

    Reply
    • Swagatam says

      June 13, 2016 at 2:10 am

      presently I do not have this circuit, will try to publish if possible.

      Reply
  11. Krishnakumar R says

    November 12, 2015 at 1:55 pm

    Is it safe to remove c7 if I want to connect the ground on the dc side to mains ac ?

    Reply
    • Swagatam says

      November 12, 2015 at 2:54 pm

      …you can try the following circuit if isolation is not a concern for your need:

      https://www.homemade-circuits.com/2014/02/simple-1-watt-to-12-watt-smps-led.html

      Reply
  12. Krishnakumar R says

    November 12, 2015 at 1:54 pm

    Hi,
    I see that most smps mobile chargers have a 2.2nf or so capacitor connecting the dc ground on primary and the dc ground on the secondary side. I couldn't understand the use of this capacitor. Why is this cap(c7) needed ?

    I want to measure the primary ac voltage without isolation and hence want to connect the ground of the dc to the ground on the primary side. Is it safe to do this ?

    Thanks
    Krishna

    Reply
    • Swagatam says

      November 12, 2015 at 2:53 pm

      Hi, if the capacitors are referenced to ground then most probably these are for filtering high frequency content or noise in the circuit.

      It's absolutely not safe to use the primary side of any SMPS for a DC application…

      Reply
    • Krishnakumar R says

      November 12, 2015 at 3:13 pm

      Dear Swagatam,
      Assuming that there is going to be no human contact on the dc side, is it safe to remove c7 in this circuit OR replace c7 with a short.

      With c7 in place, is this an example of a 100% isolated dc smps power supply ?
      Thanks
      Krishna

      Reply
    • Swagatam says

      November 13, 2015 at 5:31 am

      Dear Krishnakumar,

      C7 is not required according to me….I can't figure out the exact intention behind introducing this capacitor, because it might affect the 100% isolation criterion of the SMPS

      Reply
    • Krishnakumar R says

      November 13, 2015 at 8:43 am

      Dear Swagatham,
      Thanks for your quick response. I have been opening up mobile chargers from ranging 60/- to 500/- and observed that all of them have this capacitor. The cheap ones use self oscillatory circuit based on Transistor and the expensive ones use IGBT based drives with forced oscillations. I will try out my instrumentation circuit by removing this capacitor and keep you updated.

      For the next phase I am planning for a transformer less power supply followed by a cheap 5v regulator like http://www.ebay.in/itm/DC-DC-3A-Buck-Converter-Step-Down-Module-Power-Supply-DIY-4-5-28V-to-0-8-20V- /131634145521?hash=item1ea601a8f1:g:D~gAAOSwA4dWJ1LQ

      I plan to use a zener to clip the input voltage to ~ 15v @ ~200mA. The 5v regulated output should be able to reach upto 500ma. Let me know yout thoughts on such a circuit.

      Thanks
      Krishna

      Reply
    • Swagatam says

      November 14, 2015 at 6:50 am

      Dear Krishnakumar,

      you can take the help of the following article for further info:

      https://www.homemade-circuits.com/2015/10/calculating-inductor-value-in-smps.html

      Reply
  13. rahul jadhav says

    November 5, 2015 at 7:25 am

    hello sir, which device can be used as a replacement of transformer in regulated power supply

    Reply
    • Swagatam says

      November 6, 2015 at 5:41 am

      In SMPS the ferrite transformer cannot be replaced, it's the heart of the system.

      Reply
  14. rahul jadhav says

    November 5, 2015 at 7:24 am

    hello sir,which device can replace transformer in regulated power supply???

    Reply
  15. Ramamurti Thyagarajan says

    September 30, 2015 at 7:52 am

    Can you please tell me if a UPS WITH 12 volts 1 amp OUTPUT. Is available.I require this for the modem .since the modem takes a few minutes for configuration each time the current goes off

    Reply
    • Swagatam says

      September 30, 2015 at 3:24 pm

      you may try the circuits explained here:

      https://www.homemade-circuits.com/2013/03/simple-dc-ups-circuit-for-modemrouter.html

      Reply
  16. simbu bass says

    September 16, 2015 at 1:18 am

    sir how to do an smps wich is controlling by mosfet as a switch pls reply [email protected]

    Reply
    • Swagatam says

      September 16, 2015 at 8:49 am

      you can try the following circuit:

      https://www.homemade-circuits.com/2014/03/12v-5-amp-transformerless-battery.html

      Reply
  17. Kaustubh Mhatre says

    August 7, 2015 at 12:44 pm

    Hey please send me the circuit for 5v DC 1Amp from 230v AC. [email protected]

    Reply
    • Swagatam says

      August 8, 2015 at 9:55 am

      you can refer to the following article:

      https://www.homemade-circuits.com/2014/02/220v-smps-cell-phone-charger-circuit.html

      Reply
  18. Lomas Subedi says

    July 27, 2015 at 7:25 am

    Thank you very for the valuable tutorial. Can I get some ideas for designing various voltage and current rated switched mode power supplies? Are there any easy understanding steps ? What should be modified in the design to change the o/p to 5V-2A of ratings. Please let me understand the way for choosing the transformer for different ratings of o/p. Thank you 🙂

    Reply
    • Swagatam says

      July 28, 2015 at 2:57 am

      the primary side of an SMPS is a complex section and cannot be modified or tweaked easily, and is not recommended.

      the transformer secondary can be adjusted some for getting a desired selected output.

      You may refer to the article for more info:

      https://www.homemade-circuits.com/2015/07/turns-and-voltage-ratios-total-voltage.html

      https://www.homemade-circuits.com/2015/04/how-to-make-variable-smps-driver-circuit.html

      https://www.homemade-circuits.com/2015/04/how-to-make-variable-current-smps.html

      Reply
    • Lomas Subedi says

      July 28, 2015 at 10:56 am

      Thanks Swagatam. What happens when input ac voltage varies ? For example can it be capable to provide the rated output when AC voltage varies from 110V to 220V ?

      Reply
    • Swagatam says

      July 29, 2015 at 4:42 am

      Thanks Lomas, an SMPS will continue to produce a constant voltage at the output as per its rating, regardless of the input mains input (within 100V and 285V)

      Reply
  19. Swagatam says

    May 19, 2015 at 1:00 pm

    yes that's correct, PWMs or the duty cycle can be used for adjusting current, not voltage.

    Reply
  20. aravind says

    January 28, 2015 at 10:12 am

    how much amps is possible in viper22a sir

    Reply
    • Swagatam says

      January 28, 2015 at 12:56 pm

      1 amp max.

      Reply
  21. Ali Bin Fiaz says

    November 14, 2014 at 4:25 am

    Can you please share 48 volt SMPS circuit.

    Reply
    • Swagatam says

      November 14, 2014 at 11:53 am

      you can built the following circuit:

      https://www.homemade-circuits.com/2012/03/how-to-make-simple-12-v-1-amp-switch.html

      double the number of turns in the secondary and adjust R6 until 48V is achieved at the output

      Reply
  22. Ali Bin Fiaz says

    November 14, 2014 at 4:24 am

    I wanted to make a 48 volt SMPS. Kindly share schematic for 48 volts supply.

    Reply
  23. Deepak Saxena says

    March 28, 2014 at 5:23 am

    I want 12 volt 5 amp built circuit for AC to DC in regular quantity. [email protected]

    Reply
  24. Hemant Bhayana says

    December 7, 2013 at 3:40 am

    hi swagtham

    Can I have your phone no. pls

    Regards

    Reply
    • Swagatam says

      December 7, 2013 at 6:57 am

      Hi Hemant,

      I am sorry a telephonic conservation won't be possible, you can contact me via the email IDs given in the "contact" link below

      Reply
  25. Swagatam says

    October 24, 2013 at 2:17 pm

    Not much difference as far as efficiency is concerned, they just facilitate different PCB designs pinout arrangement, and other dimension considerations according to me.

    Reply
  26. raj says

    October 11, 2013 at 8:03 pm

    i am beginner…and i am planning to start manufactoring mobile chargers.can u please suggest me some way to learn these circults and which circults i should prefer

    Reply
    • Swagatam says

      October 12, 2013 at 10:29 am

      The coil is the main component which needs proper dimensioning, and is most difficult to design, it's better to buy one ready-made sample and copy it as it is.

      Reply
  27. Swagatam says

    August 13, 2013 at 5:03 am

    Hi Shweta,

    It is a regular SMPS having multiple voltage outputs.

    The ferrite transformer involved with PC smps have many taps and winding which are very complicated, so i am sorry it would be difficult for me to figure out and present the date and the configurations..

    Reply

Need Help? Please Leave a Comment! We value your input—Kindly keep it relevant to the above topic! Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Subscribe to New Circuit Ideas

Categories

  • Arduino Projects (87)
  • Audio and Amplifier Projects (132)
  • Automation Projects (17)
  • Automobile Electronics (101)
  • Battery Charger Circuits (83)
  • Datasheets and Components (104)
  • Electronics Theory (143)
  • Free Energy (37)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (19)
  • Health related Projects (25)
  • Home Electrical Circuits (12)
  • Indicator Circuits (14)
  • Inverter Circuits (87)
  • Lamps and Lights (142)
  • Meters and Testers (69)
  • Mini Projects (46)
  • Motor Controller (64)
  • Oscillator Circuits (27)
  • Pets and Pests (15)
  • Power Supply Circuits (108)
  • Remote Control Circuits (50)
  • Security and Alarm (64)
  • Sensors and Detectors (101)
  • Solar Controller Circuits (59)
  • Temperature Controllers (42)
  • Timer and Delay Relay (49)
  • Transmitter Circuits (29)
  • Voltage Control and Protection (37)
  • Water Controller (36)

Calculators

  • Battery Back up Time Calculator
  • Capacitance Reactance Calculator
  • IC 555 Astable Calculator
  • IC 555 Monostable Calculator
  • Inductance Calculator
  • LC Resonance Calculator
  • LM317, LM338, LM396 Calculator
  • Ohm’s Law Calculator
  • Phase Angle Phase Shift Calculator
  • Power Factor (PF) Calculator
  • Reactance Calculator
  • Transistor Astable Calculator
  • Transistor base Resistor Calculator
  • Voltage Divider Calculator
  • Wire Current Calculator
  • Zener Diode Calculator
  • Filter Capacitor Calculator
  • Buck Converter Calculator
  • Boost Converter Calculator
  • Solar Panel, Inverter, Battery Calculator
  • Wire Current Calculator
  • SMPS Transformer Calculator
  • IC SG3525, SG3524 Calculator
  • Inverter LC Filter Calculator

People Also Search

555 Circuits | 741 Circuits | LM324 Circuits | LM338 Circuits | 4017 Circuits | Ultrasonic Projects | SMPS Projects | Christmas Projects | MOSFETs | Radio Circuits | Laser Circuits | PIR Projects |

Recent Comments

  • Swagatam on Understanding SG3525 IC Pinouts
  • Dan on Understanding SG3525 IC Pinouts
  • Swagatam on High Current Wireless Battery Charger Circuit
  • Swagatam on Timer Based Cell Phone Charger Circuit
  • Nitesh Agrawal on Timer Based Cell Phone Charger Circuit

Company

  • Privacy Policy
  • Cookie Policy
  • About Me
  • Contact
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Quora
  • Stack Exchange
  • Linkedin
  • © 2025 · Swagatam Innovations