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

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:

  • bidirectional switch symbbolBidirectional Switch
  • 78XX regulator pinoutHow to Modify 78XX, LM323, LM350, LM317 Voltage Regulator Circuits
  • led dimmer circuit diagramLED Driver Power Supply Circuit Using Dimmer Switch
  • fuel cell designFuel Cells [How they Work]

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

Questions & Answers

Total Posts: 58
Newest Oldest
Kamussuwanto
March 20, 2023 • 3 years ago #141168

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
SwagatamAdmin
March 20, 2023 • 3 years ago #141169

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
March 21, 2023 • 3 years ago #141198

Ok sir Np. Thank you for your reply anyway.

Reply
Tahir Baig
December 19, 2020 • 6 years ago #85449

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

Reply
SwagatamAdmin
December 19, 2020 • 6 years ago #85459

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

Reply
Tahir Baig
December 19, 2020 • 6 years ago #85466

What kind of variac?

Reply
SwagatamAdmin
December 19, 2020 • 6 years ago #85473

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

Reply
Olgun
December 2, 2019 • 7 years ago #72689

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
SwagatamAdmin
December 2, 2019 • 7 years ago #72697

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
August 30, 2017 • 9 years ago #52923

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

Uday

Reply
Uday Joshi
September 23, 2017 • 9 years ago #54066

Thank You Very Much.
Cirtainly i will try this.

Reply
SwagatamAdmin
September 23, 2017 • 9 years ago #54069

You are most welcome!!

Reply
SwagatamAdmin
August 30, 2017 • 9 years ago #52932

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
April 15, 2017 • 9 years ago #49814

plz post 24v 500ma smps circuit diagram

Reply
nomsa zwane
March 30, 2017 • 9 years ago #49441

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

Reply
SwagatamAdmin
March 31, 2017 • 9 years ago #49456

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

Reply
Shaji.R.K
January 8, 2017 • 10 years ago #47910

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
SwagatamAdmin
January 9, 2017 • 10 years ago #47915

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
November 15, 2016 • 10 years ago #46458

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
SwagatamAdmin
November 15, 2016 • 10 years ago #46478

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

Reply
Rajarshi
August 10, 2016 • 10 years ago #43486

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
SwagatamAdmin
August 11, 2016 • 10 years ago #43494

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
June 12, 2016 • 10 years ago #41711

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

Reply
SwagatamAdmin
June 13, 2016 • 10 years ago #41746

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

Reply
Krishnakumar R
November 12, 2015 • 11 years ago #35810

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

Reply
SwagatamAdmin
November 12, 2015 • 11 years ago #35814

…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
November 12, 2015 • 11 years ago #35809

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
SwagatamAdmin
November 14, 2015 • 11 years ago #35848

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
November 13, 2015 • 11 years ago #35830

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
SwagatamAdmin
November 13, 2015 • 11 years ago #35826

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
November 12, 2015 • 11 years ago #35817

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
SwagatamAdmin
November 12, 2015 • 11 years ago #35813

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
November 5, 2015 • 11 years ago #35612

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

Reply
SwagatamAdmin
November 6, 2015 • 11 years ago #35632

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

Reply
rahul jadhav
November 5, 2015 • 11 years ago #35611

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

Reply
Ramamurti Thyagarajan
September 30, 2015 • 11 years ago #34436

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
SwagatamAdmin
September 30, 2015 • 11 years ago #34456

you may try the circuits explained here:

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

Reply
simbu bass
September 16, 2015 • 11 years ago #34036

sir how to do an smps wich is controlling by mosfet as a switch pls reply simbu389@gmail.com

Reply
SwagatamAdmin
September 16, 2015 • 11 years ago #34056

you can try the following circuit:

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

Reply
Kaustubh Mhatre
August 7, 2015 • 11 years ago #32947

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

Reply
SwagatamAdmin
August 8, 2015 • 11 years ago #32959

you can refer to the following article:

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

Reply
Lomas Subedi
July 27, 2015 • 11 years ago #32638

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
SwagatamAdmin
July 29, 2015 • 11 years ago #32715

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
July 28, 2015 • 11 years ago #32690

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
SwagatamAdmin
July 28, 2015 • 11 years ago #32673

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
SwagatamAdmin
May 19, 2015 • 11 years ago #30911

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

Reply
aravind
January 28, 2015 • 12 years ago #28462

how much amps is possible in viper22a sir

Reply
SwagatamAdmin
January 28, 2015 • 12 years ago #28481

1 amp max.

Reply
Ali Bin Fiaz
November 14, 2014 • 12 years ago #27127

Can you please share 48 volt SMPS circuit.

Reply
SwagatamAdmin
November 14, 2014 • 12 years ago #27145

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

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



Categories

  • Arduino Projects (95)
  • Audio and Amplifier Projects (134)
  • Automation Projects (18)
  • Automobile Electronics (103)
  • Battery Charger Circuits (89)
  • Datasheets and Components (109)
  • Electronics Theory (150)
  • Energy from Magnets and Earth (40)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (20)
  • Health related Projects (27)
  • Home Electrical Circuits (13)
  • Indicator Circuits (16)
  • Inverter Circuits (100)
  • Lamps and Lights (163)
  • Meters and Testers (72)
  • Mini Projects (28)
  • Motor Controller (68)
  • Oscillator Circuits (30)
  • Pets and Pests (15)
  • Power Supply Circuits (91)
  • Remote Control Circuits (50)
  • Security and Alarm (65)
  • Sensors and Detectors (107)
  • SMPS and Converters (46)
  • Solar Controller Circuits (62)
  • Temperature Controllers (44)
  • Timer and Delay Relay (50)
  • Voltage Control and Protection (44)
  • Water Controller (37)
  • Wireless Circuits (31)



Circuit Simulator

circuit simulator image



Subscribe to get New Circuits in your Email



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 |



Recent Comments

  • Swagatam on 2 Cool 50 Watt Inverter Circuits for Students and Hobbyists
  • Swagatam on The Perfect FM Radio Circuit using TDA7000 IC
  • Swagatam on 9 Simple Sine Wave Generator Circuits Explored
  • way on 2 Cool 50 Watt Inverter Circuits for Students and Hobbyists
  • Athull on The Perfect FM Radio Circuit using TDA7000 IC

Social Profiles

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

© 2026 · Swagatam Innovations