• 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 / 5V, 12V Buck Converter Circuit SMPS 220V

5V, 12V Buck Converter Circuit SMPS 220V

Last Updated on March 4, 2025 by Swagatam 44 Comments

This step down buck converter will convert a 220V AC input from mains supply to 5V or 12V or 24V DC with 90% efficiency.

Table of Contents
  • The Buck Converter Design
  • Main Features
  • How it Works

The proposed buck converter is an SMPS circuit using the IC VIPer12A from STMicroelectronics.

warning message: electricity is dangerous, proceed with caution
VIPer12A compressed

The circuit uses negligible number of external components yet is able to operate directly from mains AC input.

The Buck Converter Design

Looking at the given circuit diagram we see that the input stage incorporates a surge limiting resistor which quite acts like a fuse, a diode for rectifying the AC, and an LC filter network for further filtration of the DC riples.

The LC filter employed here ensures better DC stabilization and enhanced EMI response.

The capacitor Cin1 may be introduced for further reinforcing the EMI functionality.

The IC VIPer12A becomes the main PWM processor device which single handedly performs the entire buck conversion in the circuit.

Main Features

The main specifications of the configuration may be understood as follows:

  • AC input voltage Vinac 80 - 285Vac
  • Output current Iout 30mA
  • Output current Iout 250mA
  • Output voltage Vout1 +24±10%V
  • Output voltage Vout2 +5V±5%
  • Switching frequency 60 kHz
  • Output Power ~ 1W

How it Works

The circuit facilitates two outputs, rhe 24V output is achieved through a buck converter configuration while the 5V output via fly back mode.

The feedback voltage to the IC is acquired from Vout1 for the required regulation of the output, this supply is also applied to the IC Vdd pin.

The above wiring becomes possible by using a single high voltage diode and just one capacitor, to be precise D1 and C3, making the connections and costing much simpler.

The employed inductor L consists of two windings which are coupled across with each other over a common ferrite core.

The winding are done through appropriate turn ratios, where N1 = 200 turns and N2 = 60 turns. Both these are wound over a PANASONIC ELC10D152E ferrite core material.

elc10d101e 1

Zener diodes z1 and z2 are installed in order to safeguard the outputs against over voltages.

A dummy load resistor is fixed across Vout1 so that appropriate regulation can be executed over both the outputs during open load situations.

Though the addition of the above resistor affects the efficiency a bit, it superbly improves voltage regulation response of the circuit.

The rectifier diodes fixed at the output are fast response fast recovery types. D1 is a high voltage diode as it might be subjected to high reverse voltages delivered by the DC bus voltage...... D2 is a normal diode.

5V, 12V Buck Converter Circuit SMPS 220V

Parts List for the proposed simple SMPS buck converter circuit:

  • Rr = 10W 1/2W
  • Rf = 10KW 1/4W
  • R(load) = 4.7kW 1/4W
  • Cin = 4.7 μF, 450V Electrolytic Capacitor
  • C1 = 33 μF, 50V Electrolytic Capacitor
  • C2 = 100 μF, 16V Electrolytic Capacitor
  • C3 = 1 μF, 25V Electrolytic Capacitor
  • C4 = 22 nF Ceramic capacitor
  • Dr = Diode 1N4007
  • D1 = Diode BA159 (fast)
  • D2 = Diode 1N4148 (fast)
  • D3 = Diode 1N4004
  • Dz = 22V Zener
  • Dz1 = 27V Zener
  • Dz2 = 5.6V Zener
  • L 1 = 0.5 mH
  • Lf = 470 μH Inductor
  • IC1 = STMicroelectronics VIPer12ADIP

PCB Design and Component Layout of the above explained SMPS buck converter circuit using IC VIPer12A

5V, 12V Buck Converter PCB design

Complete Article can be found here

You'll also like:

  • 1.  0 to 50 V Adjustable Switching Power Supply Circuit using IC LM2576
  • 2.  110 V to 310 V Converter Circuit
  • 3.  Make this 220V to 12V SMPS Using UC2842 IC
  • 4.  110V, 14V, 5V SMPS Circuit – Detailed Diagrams with Illustrations
  • 5.  5 V to 10 V Converter for TTL Circuits
  • 6.  Designing Simple Power Supply Circuits

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: « IC 556 Pure Sine Wave Inverter Circuit
Next Post: Thermostat Delay Relay Timer Circuit »

Reader Interactions

Comments

  1. Daniel says

    March 28, 2024 at 6:32 pm

    Sir, I need DC 96v to 12v not Ac, please can I get simpler version, thanks

    Reply
    • Swagatam says

      March 28, 2024 at 7:12 pm

      The following circuit can be used with DC also….for DC you can remove the input coil and the capacitors.
      https://www.homemade-circuits.com/simple-220v-smps-buck-converter-circuit/
      For simple circuit you can make the following:
      " rel="ugc">comment image
      replace the zener with 12V zener and the resistor with 10k 2 watt. the transistor will get immensely hot.

      Reply
  2. james says

    December 24, 2021 at 11:40 am

    here the transformer you have used “PANASONIC ELC10D152E” has 2 pins then how come it has primary and secondary windings in it?

    Reply
    • Swagatam says

      December 24, 2021 at 1:24 pm

      I only wanted to show the type of ferrite core required for the project. The two secondary wires can be left hanging after properly gluing them with the winding, and then the ends can be soldered to the PCB.

      Reply
  3. Justin says

    October 10, 2021 at 8:31 am

    pls is it possible to use a voltage regulator as replacement for output inductor if you can’t find an inductor?thanks

    Reply
    • Swagatam says

      October 10, 2021 at 10:15 am

      A Buck converter can never work without an inductor, so it cannot be replaced by anything else. The above inductor is very easy to build.

      Reply
      • Justin says

        October 10, 2021 at 3:13 pm

        Thanks for your reply.Please i would appreciate any suggestions on how i can go about buiding my inductors personally as it is not easily available in my area..Much appreciated.

        Reply
        • Swagatam says

          October 10, 2021 at 7:39 pm

          The coil are already given in the article. The primary is 200 turns, and secondary is 60 turns.

          Reply
  4. ENGR CHUKS MOFUS says

    September 14, 2021 at 2:10 pm

    iam an electronics engr right from NIGERIA the aboved diagram the viper had no starting position pls send it eill help so much thanks

    Reply
  5. Karthikeyan says

    July 20, 2021 at 11:52 am

    why do we need Cin1?

    Reply
    • Swagatam says

      July 20, 2021 at 1:15 pm

      To create an LC pi filter for improved filtration….

      Reply
  6. Student in college says

    December 11, 2019 at 7:22 pm

    Sorry to ask this but I’m very beginner.
    I would like to ks.ow about that inductor how to connect like a transformer which has 4 pins.
    because I look in the datasheet that Panasonic inductor has only 2 pins.

    Reply
    • Swagatam says

      December 11, 2019 at 8:52 pm

      Hello, the 4 pin inductor shown in the diagram does not need to have pins, you can use the wire ends of the winding directly on the PCB, just make sure the winding are firmly secured with insulation tape.

      Reply
  7. Vardy says

    November 26, 2019 at 4:13 pm

    How can i find the text file of VIPer12A ?

    Reply
  8. AKASH SINGH says

    September 20, 2019 at 8:22 pm

    Hello Sir,
    Kindly suggest an application for winding Ferite Core Inductors using EE cores and Dog Bone cores.
    Thanks in Advance.

    Reply
    • Swagatam says

      September 20, 2019 at 9:18 pm

      Hi Akash, the calculations can be found here:

      https://www.homemade-circuits.com/how-to-design-and-calculate-ferrite-core-transformers-for-inverters/

      I have no idea what a dog bone core is?

      Reply
  9. manish kumar says

    September 1, 2018 at 4:48 pm

    how to make only one 12V 1A(approx) usinh this ic.

    Reply
    • Swagatam says

      September 1, 2018 at 6:49 pm

      try replacing the IC with viper22A, as used in this design

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

      Reply
  10. jignesh says

    August 13, 2018 at 12:46 pm

    hi what modification need in above circuit to get 4.2V 2Amp as out put from 230V ac

    Reply
    • Swagatam says

      August 13, 2018 at 12:58 pm

      You can slightly adjust the number of turns on the side of the inductor which is associated with the 5V output….or simply add a 1N4007 diode in series with the 5V output to get the required 4.2V approximately.

      Reply
      • jignesh says

        August 13, 2018 at 1:14 pm

        is it related to inductor wire guage

        Reply
        • Swagatam says

          August 13, 2018 at 1:27 pm

          it is related to number of turns not gauge, gauge is related to current…

          Reply
          • jignesh says

            August 13, 2018 at 1:43 pm

            yes sir for 2 Amp current i need to change winding guage i think and for voltage as you said i use diode

            Reply
            • Swagatam says

              August 13, 2018 at 1:57 pm

              sorry, I just forgot to tell you that 2 amp may not be possible with this circuit, the maximum current is 250mA for this design
              you can try this instead

              https://www.homemade-circuits.com/12v-2-amp-smps-circuit/

              Reply
  11. Odie D.Santos says

    July 29, 2017 at 3:42 am

    Hello Sir,

    Possible to design viper50 or viper 100. smps circuits. output is dual 15V @2amp. i need to power-up my preamp mixer.

    thanks

    Reply
    • Swagatam says

      July 29, 2017 at 5:32 am

      Hello Odie, the part values for the Viper100 circuit has not been properly detailed in the datasheet of the IC, I will have to study and then estimate the part values, so that might take some time.

      in the meantime you could try the following design instead

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

      the output winding turns could appropriately reduced for getting the required 15V

      Reply
  12. Jānis says

    April 19, 2017 at 3:11 pm

    please remove this circuit as beginners may think it is working.

    Reply
    • Swagatam says

      April 20, 2017 at 6:56 am

      Ofcourse it is working.

      it is a wonderful circuit, I have tested it myself

      Reply
  13. Muhammad Salahuddin says

    February 16, 2016 at 6:31 pm

    hello sir, currently i am trying to get 13V 4Amp DC from 19V 4.5Amp DC input….i tried voltage divider cct but at the end found out buck converter to be the possible solution…….

    I am avoiding LM317 with resistor network…..as i fear its O/P may vary if resistor got burned ………..

    could u plz suggest the buck converter design ……??

    is cct in this article could be modified to get 13V O/P……..??

    Reply
    • Swagatam says

      February 17, 2016 at 8:32 am

      Hello Muhammad,

      You can try the following circuit:

      https://www.homemade-circuits.com/2015/05/5v-pwm-solar-battery-charger-circuit.html

      you can alter R8, R9 values for getting the desired output

      Reply
      • Swagatam says

        February 17, 2016 at 8:34 am

        …for 4amp load LM317 will not work, you can try LM338 instead.

        Reply
        • Muhammad Salahuddin says

          February 17, 2016 at 4:56 pm

          So nice of you Sir, I will check feasibility of both and will be back with results soon………:))

          Reply
  14. Sam Fisher says

    August 9, 2015 at 1:09 pm

    Hello Sir,i am making a buck converter in analog domain without using any IC's.I have used an astable multivibrator for generating the squarewave(350khz) required for switching the Mosfet on and off.The problem was with the gate driver circuit required for mosfet.i used a complementary symmetry push pull amplifier(using BJT) as the Gate Driver.But this driver circuit was not switching the mosfet ON and OFF.Instead it keep the Mosfet ON continuously.Suggest me ways to overcome it and also give me advice on how to provide automatic feedback for keeping the output voltage constant at 9v irrespective of Input voltage Variation(Line Regulation) and Load Change(Load Regulation).Please Do help me out

    Reply
    • Swagatam says

      August 9, 2015 at 2:59 pm

      Hello Sam, without seeing the design it would be difficult for me to assess the fault and suggest an appropriate solution, if possible show me the schematic by uploading the image on Google drive or any other free image hosting site and provide the link to me….

      Reply
  15. Anil Batade says

    July 27, 2015 at 8:39 am

    hello,
    can you please help me how to current increase without changing voltage
    thanks in advance

    Reply
    • Swagatam says

      July 28, 2015 at 3:14 am

      current cannot be increased, 50mA is the maximum limit of the mentioned IC.

      you may have to change the IC with a VIPer22a for getting 250mA…

      more info is furnished here:

      http://www.st.com/web/en/resource/technical/document/application_note/CD00004329.pdf

      Reply
  16. aljarok ku says

    May 6, 2014 at 10:38 pm

    Hello
    can you wright an explanation how this circuits start to work ( IC VIPer12A )

    Reply
    • Swagatam says

      May 7, 2014 at 1:13 pm

      hello,
      you can refer to the datasheet of the IC for the details.

      Reply
  17. navaneeth bhardwaj says

    March 26, 2014 at 1:23 pm

    hello,
    can you please help me modify this circuit to get the output voltage at 110v , including the ferrite core transformer design if possible
    thanks in advance

    Reply
    • Swagatam says

      March 27, 2014 at 11:28 am

      hello, the above circuit is designed to work right from 85V to 285V, so the same design could be used for 110V too.

      Reply
    • navaneeth bhardwaj says

      March 28, 2014 at 6:31 am

      what i meant was to obtain 110V output instead of 12V from 220V mains input

      Reply
    • Swagatam says

      March 28, 2014 at 11:42 am

      no, the above circuit cannot be modified for 110V, you can try it in the following circuit:
      3.bp.blogspot.com/-Jbp0LrP-PlU/UxWFwYeF2ZI/AAAAAAAAGaM/kRgOicbzIaE/s1600/12v+5+amp+transformerless+battery+charger+circuit.png

      the output winding may be made by winding 50 turns and the zener replaced by a 140V zener

      Reply
    • navaneeth bhardwaj says

      March 28, 2014 at 5:30 pm

      thanks a lot for the input,
      what i am actually trying is to make an inverter which has :-
      input:220v ac 50Hz
      output:110V ac 800-1000Hz
      right now i am trying a half bridge inverter with mosfets and capacitor divider.
      can u suggest some good circuits?

      thanks in advance

      Reply
    • Swagatam says

      March 30, 2014 at 6:37 am

      The circuit would be basically the same as suggested in my previous email since the input is 220V.

      However the output frequency will be equal to the input mosfet frequency at around 60kHz which unfortunately cannot be changed to 1000Hz. you may have to employ another stage at the 110V output stage of the circuit for enforcing it.

      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 Circuits

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)




  • 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
  • Quora
  • Stack Exchange
  • Linkedin



  • © 2025 · Swagatam Innovations