• 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.

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.

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:

  • IMG0267A 212V, 24V, 1 Amp MOSFET SMPS Circuit
  • dummy load circuitDummy Load Circuit for Testing Power Supplies and Amplifiers
  • ZEROTO220300VVARIABLEPOWERSUPPLYCIRCUIT0-300V Adjustable Transformerless Power Supply Circuit Diagram
  • L296 high current adjustable switching power supply circuitHigh Current Adjustable Switching Power Supply Circuit using L296 IC

Filed Under: Power Supply Circuits Tagged With: Circuits, Mode, Power, SMPS, Supply, Switch

About Swagatam

I am an electronics engineer and doing practical hands-on work from more than 15 years now. Building real circuits, testing them and also making PCB layouts by myself. I really love doing all these things like inventing something new, designing electronics and also helping other people like hobby guys who want to make their own cool circuits at home.

And that is the main reason why I started this website homemade-circuits.com, to share different types of circuit ideas..

If you are having any kind of doubt or question related to circuits then just write down your question in the comment box below, I am like always checking, so I guarantee I will reply you for sure!

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

Reader Interactions

Comments

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
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
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
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
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
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
chaudhary Bhavana says:
April 15, 2017 at 9:04 am

plz post 24v 500ma smps circuit diagram

Reply
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
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
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
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
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
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
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 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
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 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 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 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
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
rahul jadhav says:
November 5, 2015 at 7:24 am

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

Reply
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
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 simbu389@gmail.com

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
Kaustubh Mhatre says:
August 7, 2015 at 12:44 pm

Hey please send me the circuit for 5v DC 1Amp from 230v AC. kmhatre14@gmail.com

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
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 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
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 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
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
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
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
View Older Comments

Leave a Reply to Swagatam Cancel reply

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

Primary Sidebar

circuit simulator image



Subscribe to get New Circuits in your Email



Categories

  • Arduino Projects (92)
  • Audio and Amplifier Projects (132)
  • Automation Projects (17)
  • Automobile Electronics (101)
  • Battery Charger Circuits (84)
  • Datasheets and Components (109)
  • Electronics Theory (148)
  • Free Energy (39)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (19)
  • Health related Projects (25)
  • Home Electrical Circuits (12)
  • Indicator Circuits (16)
  • Inverter Circuits (94)
  • Lamps and Lights (157)
  • Meters and Testers (71)
  • Mini Projects (28)
  • Motor Controller (66)
  • Oscillator Circuits (28)
  • Pets and Pests (15)
  • Power Supply Circuits (90)
  • Remote Control Circuits (50)
  • Security and Alarm (64)
  • Sensors and Detectors (105)
  • SMPS and Converters (32)
  • Solar Controller Circuits (60)
  • Temperature Controllers (43)
  • Timer and Delay Relay (49)
  • Voltage Control and Protection (38)
  • Water Controller (36)
  • Wireless Circuits (30)





Other Links

  • Privacy Policy
  • Cookie Policy
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap



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 |

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Stack Exchange
  • Linkedin



Recent Comments

  • Swagatam on 3 Laser Beam Controlled Circuits Explored
  • ken on 8X Overunity from Joule Thief – Proven Design
  • Kim on 3 Laser Beam Controlled Circuits Explored
  • Swagatam on Making an Adjustable Electromagnet Circuit
  • Swagatam on Make this DC CDI Circuit for Motorcycles

© 2025 · Swagatam Innovations