This step down buck converter will convert a 220V AC input from mains supply to 5V or 12V or 24V DC with 90% efficiency.
The proposed buck converter is an SMPS circuit using the IC VIPer12A from STMicroelectronics.
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.
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.
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
Complete Article can be found here
Daniel says
Sir, I need DC 96v to 12v not Ac, please can I get simpler version, thanks
Swagatam says
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:
https://www.homemade-circuits.com/wp-content/uploads/2021/11/single-transistor-voltage-regulator.jpg
replace the zener with 12V zener and the resistor with 10k 2 watt. the transistor will get immensely hot.
james says
here the transformer you have used “PANASONIC ELC10D152E” has 2 pins then how come it has primary and secondary windings in it?
Swagatam says
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.
Justin says
pls is it possible to use a voltage regulator as replacement for output inductor if you can’t find an inductor?thanks
Swagatam says
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.
Justin says
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.
Swagatam says
The coil are already given in the article. The primary is 200 turns, and secondary is 60 turns.
ENGR CHUKS MOFUS says
iam an electronics engr right from NIGERIA the aboved diagram the viper had no starting position pls send it eill help so much thanks
Karthikeyan says
why do we need Cin1?
Swagatam says
To create an LC pi filter for improved filtration….
Student in college says
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.
Swagatam says
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.
Vardy says
How can i find the text file of VIPer12A ?
AKASH SINGH says
Hello Sir,
Kindly suggest an application for winding Ferite Core Inductors using EE cores and Dog Bone cores.
Thanks in Advance.
Swagatam says
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?
manish kumar says
how to make only one 12V 1A(approx) usinh this ic.
Swagatam says
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/
jignesh says
hi what modification need in above circuit to get 4.2V 2Amp as out put from 230V ac
Swagatam says
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.
jignesh says
is it related to inductor wire guage
Swagatam says
it is related to number of turns not gauge, gauge is related to current…
jignesh says
yes sir for 2 Amp current i need to change winding guage i think and for voltage as you said i use diode
Swagatam says
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/
Odie D.Santos says
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
Swagatam says
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
Jānis says
please remove this circuit as beginners may think it is working.
Swagatam says
Ofcourse it is working.
it is a wonderful circuit, I have tested it myself
Muhammad Salahuddin says
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……..??
Swagatam says
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
Swagatam says
…for 4amp load LM317 will not work, you can try LM338 instead.
Muhammad Salahuddin says
So nice of you Sir, I will check feasibility of both and will be back with results soon………:))
Sam Fisher says
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
Swagatam says
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….
Anil Batade says
hello,
can you please help me how to current increase without changing voltage
thanks in advance
Swagatam says
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
aljarok ku says
Hello
can you wright an explanation how this circuits start to work ( IC VIPer12A )
Swagatam says
hello,
you can refer to the datasheet of the IC for the details.
navaneeth bhardwaj says
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
Swagatam says
hello, the above circuit is designed to work right from 85V to 285V, so the same design could be used for 110V too.
navaneeth bhardwaj says
what i meant was to obtain 110V output instead of 12V from 220V mains input
Swagatam says
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
navaneeth bhardwaj says
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
Swagatam says
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.