In this article we study a simple flyback based converter design which is implemented as an SMPS 12V, 5amp battery charger power supply, without using a iron core transformer.
How it Works
The proposed 12V, 5 amp smps battery charger circuit employs a flyback converter topology which results in the required smps based high current, compact, mains isolated converter design.
Here, the a high power mosfet becomes the main switching component and is used for triggering the ferrite primary winding with the set high frequency mains rectified Dc.
When switched ON, the 470k resistor charges the mosfet gate into conduction and initiates the switching action.
The above action induces a voltage across the auxiliary winding of the transformer which results in a feedback voltage to the mosfet gate via the 2n2/100V capacitor forcing the mosfet to conduct even harder.
As soon as this happens, the primary winding gets connected with the full 310V DC rectified voltage via the mosfet drain/source terminals.
During this process, the voltage across the 0.22 ohm resistor situated at the mosfet source tends to cross the 0.6V level, which instantly triggers the transistor BC546, which shorts the gate of the mosfet to ground, rendering it completely switched OFF.
This also ensures cutting-of the auxillary feedback voltage, restoring the entire primary section to its original switched OFF state.
The cycle now begins afresh and is switched continuously at around 60kHz rate which may be varied by increasing or decreasing the values of the 2n2 feed back capacitor and the 100pF base capacitor of BC546 NPN (it's not recommended though).
During the switched OFF periods of the primary winding, an induced equivalent back emf is transferred to the secondary winding which translates it into the specified stepped down low voltage, high current secondary output.
The above secondary output is appropriately rectified and filtered by the high current diode and a filter capacitor.
A feedback stage across the secondary and the primary stages is implemented via a optocoupler which determines the required fixed, regulated output voltage.
The zener associated with the optocoupler may be tweaked for getting different stabilized outputs for the desired applications.
Here it has been fixed to about 14.4V which becomes the optimal level for charging a 12V lead acid battery.
The current output of this transformerless 12V, 5 amp smps battery charger can also be changed by two methods.
Either by modifying the secondary wire thickness of the transformer or by tweaking the value of the 0.22 ohm resistor positioned across the source/ground terminals of the mosfet.
The input stage typically consists of a bridge rectifier stage, followed by an NTC and filter stage.
The input EMI coil is optional.
Recommended for you: 24watt, 12V, 2 amp SMPS using a single IC Must Read.
Circuit Diagram
How to Wind the ferrite transformer
The ferrite transformer is wound over a 15mm EE ferrite core compatible plastic bobbin.
The one half primary is wound first, using a 0.4mm super enamelled copper wire (15 turns).
Secure the end of this on one of the primary side pins of the bobbin. Cover the winding with a layer of insulation tape.
Next wind the secondary winding (5 turns) using 0.6mm wire over it.
Terminate the ends on the secondary pins of the bobbin.
Apply insulation tape over this winding.
On this wind 3 turns of 0.4mm auxiliary winding, cover it with insulation tape.
Finally continue from the secured end of the first primary winding and wind 15 more turns over the above auxiliary wind to finish of the ferrite transformer coils.
Put a few layers of insulation tape to finalize the winding insulation.
Fix the EE cores and tape it yet again along its periphery.
Make sure the EE core edges are separated with an air gap through a piece of insulation tape or a paper, this will prevent core saturation and stalling of the desired smps induction.
THE CIRCUIT EXPLAINED ABOVE IS NOT ISOLATED FROM MAINS, AND THEREFORE IS EXTREMELY DANGEROUS TO TOUCH WHILE EXPERIMENTING IN POWERED CONDITION, AND ALSO THE DESIGN IS RECOMMENDED SPECIFICALLY FOR USERS HAVING ADVANCED KNOWLEDGE IN THE FIELD, NOT FOR THE NEWBIES..
yasin amini says
hi swagatam
thank u so much it was good circuit
to build a switching power suply without i.c
best wishes for u
yasin
Swagatam says
Thank you Yasin, glad you found the circuit helpful.
Pranav Srinivasan says
Hello sir,
I would like to have your help to design a Charger circuit for LiFePO4 batter of 12V and 5Ah capacity
need to design from the base circuit
Thank you
Swagatam says
Hello Pranav, you can try the LAST circuit from the following article. You must replace the battery with your 12V battery, and the relay with a 12V relay, and make sure that charging input is from a constant current source such as from a LM338 current controller:
https://www.homemade-circuits.com/usb-automatic-li-ion-battery-charger/
Pranav Srinivasan says
Thank you sir
Mayank says
Thanks sir
Mayank says
Because 4N35 has 6 pins and circuit shows 4 points of connection so I am not able to connect.
Swagatam says
Please compare the datasheet images of the two opto-couplers to confirm and match their pinouts.
Mayank says
Sir can we use optocupler 817 in place of 4N35.
Swagatam says
Yes that will also work…
Mayank says
Inductance or air gap
Swagatam says
paper gap is recommended between the E core legs…
Mayank says
Sir kindly suggest paper specification to use right paper, I discussed with transformer manufacturer but he requires inductance or paper gap.
Swagatam says
You can insert a layer of insulation tape between the E cores.
Mayank says
Hi Sir for 12v 5a SMPS pls suggest the inductance of primary/ secondary coil.
Swagatam says
Hi Mayank, sorry inductance details are not available for this circuit, only the winding details are available.
K SENTHIL says
Thank you sir ,15mm EE ferrite core compatible plastic bobbin means
Transformer type and size please let me sir.
Swagatam says
Hello K senthil, It is the plastic bobbin which fits between the central limbs of E-core. E core size code is EE15.
Here’s an example:
https://www.homemade-circuits.com/wp-content/uploads/2019/06/ferrite.png
Biprendu says
hello sir I want to know that can I use a ATX SMPS transformer core instead of ee15 can it requires more or less turn if increase or decrease of turns please tell me that turns number please reply
I will be thankful for you help and waiting for your reply teacher ????
Swagatam says
Hi Biprendu,
The transformer is the crucial part of the circuit, and it should be built exactly as indicated in the article. So I am not sure whether the ATX transformer can be replaced with the EE15 core transformer or not. Since I do not know the inductance values of the transformer, I cannot suggest the adjusted winding details. However, you can experiment with it and see if it works or not. You can connect a 100 watt bulb in series with the input supply while testing, so that your circuit does not burn in case of a malfunction. If the bulbs glows brightly without any load, then your circuit has problems and will need to corrected accordingly.
Biprendu says
i have not any ee15 core can you give me some link to buy this transformer or where I can get the ee15 transformer please help me
Swagatam says
You can search the phrase “Buy ferrite E Cores” then while ordering specify them about EE15 size. However, the best place to buy them is from any local electronic spare part retailer shop
Biprendu says
can you send me ee15 transformer core image and datasheet
Swagatam says
You can see the following image:
https://www.homemade-circuits.com/wp-content/uploads/2022/12/15mm-E-core-image-EE15.jpg
Biprendu says
i found the transformer from a cfl circuit i match the size and it’s 15mm
Swagatam says
That’s great, remember to put a paper gap between the E cores. Meaning when you close the two cores inside the bobbin make sure the E core edges do not touch each other directly, instead put a piece of paper of insulation tape between the edges that meet each other.
Biprendu says
ok sir ☺️ thank you for helping me really appreciate to you sir ????
Swagatam says
No problem Biprendu, all the best to you.
Biprendu says
i found this transformer from cfl and it’s core size was 15 mm
https://drive.google.com/file/d/1pjI0bO1vkRqS2ftb1Izl8xe7TPQO38bT/view?usp=drivesdk
Swagatam says
Make the link “sharing” otherwise I cannot access it.
Biprendu says
i found this transformer from cfl and it’s core size was 15 mm
https://ibb.co/ctBCPwQ
Swagatam says
The transformer in the image should work. Make sure winding fits inside this core properly.
Biprendu says
can I use ee13 transformer core please tell me ???? please wire turns for ee13 transformer
Swagatam says
EE13 will not accommodate the winding.
sanjay says
Sir, Do you have any SMPS circuit based on DK1203 ?
Swagatam says
Hi Sanjay,
Did you refer to the following datasheet, it has all the required details you want:
https://grupoautcomp.com.br/wp-content/uploads/2016/11/Specification-IC-DK1203.pdf
Kamussuwanto says
Dear Swagatam,
this datasheet shows ee25 ferrite core, but it is used for a 110v AC input SMPS (Hence Vs =85*1.3=110V) If my input is 220v AC, can I use ee25 ferrite core for assembling this transformer? Is the calculation on this datasheet will be the same for 220v ac input?
Thank ypu for your help
Swagatam says
Hi Kamussuwanto,
A ferrite core size should be such that it accommodates the winding comfortably, neither cramming it nor leaving too much free space. So if your EE25 frrite core is not too large leaving too much internal space, then it can be used for the above SMPS.
Kamussuwanto says
Dear Swagatam, thank you very much for your quick reply
Swagatam says
You are welcome Kamussuwanto!
Imsa Naga says
Sir, Can we modify the above circuit to get output of 80V-10A ?
Which components needs to be added/replaced for the same?
Thank you very much in advance.
Swagatam says
Hello Imsa,
For this upgrade you may have to modify the number turns on the transformer. You may also have to reduce the value of the 0R22 resistor at the source of the mosfet. All these will need to be experimented cautiously.
Jiten kumar says
Can you make this 12v 5a smps for me
Shoegank says
If I made it, can it use for supply the 22inches led tv ( changhong 22c2600 ) ? Its smps has damaged and the output write on the pcb board is only 12v out for suppying the tv entire system.
Thankyou n I hope you answer me.
Swagatam says
If the LED TV is a 12V unit then you can use the SMPS to power it. However I would recommend buying a ready-made unit instead of building one.
Gautam Kumar says
I want -14v 0 +14v 5amp ckt diagram and pcb layout
Plz provide me
Swagatam says
You can try 12 turns at the secondary of the above design with a center tap and see if that produces the required dual supplies?
ARUP BISWAS Biswas says
Sir please your phone number
Zen says
hi good teacher. I’d like to ask? what makes 470k and 18k resistors heat up fast? from the first try i have worked perfectly from this schematic but when i made the second one by trying to convert it to higher amperage i have problem 470k and 18k resistor getting hot, other than that everything is perfect only problem is when i make trimpot to get 30v, the resistor starts to smoke, I also change the 10uf capacitor to 100uf, but if I change it the low voltage is 14.4. safe resistor, why is that? I made primary winding 25+25 auxiliary winding 4 secondary winding 5 +5 ct, I combined this schematic with https://www.homemade-circuits.com/how-to-make-variable-current-smps/ to get the correct voltage true can be customized
Swagatam says
Hello Zen, It can be difficult to find the exact reason, but you can rectify the fault in the following manner.
Instead of using a single 470K resistor, use two 240K resistors in series. Similarly instead of using a single 18K, try using two 10K resistors in series. Please do not change the 10uF to 100uF, use 10uF only as indicated in the diagram.
Zen says
okay, thank you my best teacher, for the advice you gave, I have solved this problem by changing the value of the 470k resistor to 680k and 18k to 63k, and the coil that was 5 + 5 secondary, I made it in series without CT, what do you think about the changes do i do that? , now I can turn the trimpot to 35volt safely without heating the resistor, but I haven’t tested it with a load, later if I have tested it with a load, I will tell you my best teacher, greetings and thank you for the guidance
Swagatam says
OK, that sounds great. According to me two resistors in series would have worked better, as suggested by me in the previous comment.
Zen says
okay, I’ll try, the teacher’s advice, from the formula like my previous comment, I have tested it, and the results are not very satisfactory, at a load of 3 amperes, the voltage drops from 35 volts to 13 volts, unlike my first assembly, my assembly the first one, even though the load is up to 5-6 amperes, the stable voltage is still 35 volts, ok sir, I will apply the teacher’s advice by changing the 630k resistor to 470k in series as you suggested, I’ll let you know the results of the load test later
Swagatam says
Sure, no problem, you can try it.
Imsa Naga says
Dear Sir,
I like to have a power source of 16V 12V & 5V @ 1Amp to use in circuits such as the 0-100V Adjustable SMPS Circuit in your blog and also in other circuits which can power cooling Fan OpAmps etc. I am unable to built, nor find one.
I tried to make this circuit
copied from your above and Make this 3.3V, 5V, 9V SMPS circuit without actually understanding the working of the circuit! I am at a loss as how to provide feedback to the 5V,12V & 16V Outputs (or will the circuit work?). Could you please advice necessary corrections? Alternately please suggest a suitable circuit.
Thanks in anticipation.
Swagatam says
Hi Imsa, In the above circuit, the feedback is already provided to the 16V output using the opto coupler and via VR2. When 16V is controlled, then the 12V and the 5V will be also automatically controlled.
Imsa Naga says
Thanks a lot for your express reply as always !
Does it mean that the circuit given above is expected to work without any changes ?
Thank you very much indeed for your time and advice.
Swagatam says
I am glad to help Imsa. If the SMPS is from a reliable source and is a tested design then yes it can be used without any changes.
Zen says
hi dear teacher. I continued this circuit and I modified the output section using a MUR1560G diode to produce a 17volt voltage with a 25volt 4700uf filter capacitor and a VARIABLE REGULATOR LM317 WITH DARLINGTON MODE AMPLIFIER using tip41 and tip3055. I used 1.5mm 4x copper wire. my question is why does the MUR1560G diode heat up fast? and the regulator heats up quickly even though the load is only 2.5 amperes. that’s the first thing I said. second, when I replaced the LM7812 with a fixed regulator with a 12 volt dc fan load only, the regulator only lasted a moment and immediately broke down and immediately took care of the main mosfet in the primary. Why that can happen, your answer is very valuable to me. greetings from me my best teacher
Swagatam says
Hi Zen, as you will understand for any SMPS the transformer is the main element which needs to be wound very accurately, even a slightest bit of discrepancy in the winding can lead to the burning of the devices. By the way did you put a paper gap between the edges of the e-cores which touch other? Make sure you do it otherwise the core will saturate and burn.
At 2.5 amps the MUR1560 can never burn because it is rated to handle 15 amps. I guess the MUR1560 might not be original and therefore it burned at 2.5 amps. I think you should confirm with an ammeter if the output current is really 2.5 amps or more.
So basically you have to add a paper gap between the ecore edges which meet each other.
And also you can add a few more turns on the primary side winding and check if that helps to make the design more stable.
Zen says
Yes yes..sorry..Master..Accuracy in electronics. It turned out to be very, very important. And the calculated value must be accurate. Sorry sorry teacher sorry for my analysis error. This is not a winding problem or paper defect in the transformer. Everything is correct. But I didn’t really imitate the circuit the teacher presented. I prefer to modify with my knowledge. My problem this time is that I am not careful in choosing components, the MOSFET I bought is IBGT, it turns out that the 20N60 MOSFET has two different letter codes, it could be that the component I bought is wrong. Ah aha.. Now I can solve this problem by replacing the MOSFET with a 9n60 type. And I installed the LM317 variable regulator and its voltage amplifier. And I also included a 7812 fixed regulator for the fan. And everything works fine without overheating at a load of 5-6 amperes and the voltage is stable. I measured all of that with an avometer and a voltmeter. Because at home I have a lot of tools and electronic components. Thank you for your attention, the best teacher. oh..yes someone forgot. I replaced the MUR1560 diode with an HBR2045 diode because the MUR1560 diode has too high an rms for what I need and that could be a problem because I only need 17volt and 32 volts because I wrapped two secondarys inside the transformer
Swagatam says
That’s great Zen, I am glad you could solve the problem so effectively. Thanks very very much for your honest feedback. Have a great time with the project.
Zen says
yes..yes..I am very happy to be able to make the circuit that you present can run well. and this is a very satisfying result for me. even with my heart pounding while testing this circuit. because I have to deal directly with 220 volts AC voltage that can sting me.
This is my first time making a circuit that is directly related to AC voltage, this can replace my iron transformer power supply, for the transformer battery charger I made this is more effective than my iron transformer, this SMPS makes the battery charger full faster than I use iron transformer. However, the weakness of this SMPS is that it does not last long when a short circuit occurs, unlike iron transformers which last a long time when a short circuit occurs, according to my observations. But I am very happy to be able to make it, thank you for the guidance of the best teacher, I will develop this circuit again, because I see SMPS like this, the output section is equipped with many ICs such as the Tl494 IC, there are also those that use LM339N, sometimes the pins are quite a lot. like SD6109, I still don’t understand what the function of the IC in the SMPS output is, its type is like this
Swagatam says
Thanks Zen, yes an iron core transformer based power supply will be always more reliable than an SMPS. The main advantage of SMPS is that they are small, compact and lightweight. The above circuit is a very basic design without any ICs…..but the other SMPS designs that you are mentioning are more sophisticated and have more protection stages using voltage regulators and comparators like LM338 etc.
Zen says
Oh I see.. Yes, does the teacher have a circuit
more protection stage using a voltage regulator and comparator like LM338 On this blog?
Oh yes I observed when I made two secondarys, indeed the voltage would increase if the first secondary installed in the opto was loaded, when I made only one regulator,
Maybe I can work around this by using the same regulator on both secondary. That’s according to my assumption, hehehe… true or not I don’t know yet, I’ll do it soon. But for now I’m only using one regulator, and I’m not using the second secondary, I’ve tested this for a battery charger for about 12 hours with a 0-6 ampere load, the circuit is safe, and it doesn’t overheat, its a bit just a HBR2045 diode that heats up, but I think it’s natural considering the HBR2045 diode is a SCHOTTKY BARRIER diode that has hot properties. Is my observation correct? Good teacher… greetings from me
Swagatam says
Actually the protection must be applied through a feedback link which the above circuit has using an opto coupler but using an opamp is also possible. I do not have the design using op amp. If I find one I will surely update it here. Yes you can try using the same regulator for the your two secondaries, hope it works.
I am very happy you could make this simple design so useful, which is now working like battery charger for you. All diodes will usually heat up even if only 50% current flows through them, but I am not sure if a schotky diode can heat up faster or not? I appreciate your efforts!
Zen says
Thank you very much, for the guidance, the kind teacher. I will also complete this circuit with an auto cut off based on ne555 which is also available on your blog, later I will tell you the results, thank you for your attention answering all my questions about electronics
Swagatam says
You are most welcome Zen, all the best to you!
Azeez Ha says
Please I will be glad sir if you can help me out sir I’m 200 level electrical/electronics engineering and I also learn electronics reparing for 5 years before I gain admission in to polytechnic please I’m begging you sir
Azeez hammed says
Thanks for your quick response sir, please can you help me to create +/-14v 80w flyback smps circuit sir to power my tda2030A amplifier, because have try a lot in constructing this many time using Uc3842 but once it gives output and connect it to my amplifier it will on but if I increase the volume to about 45% to 60% it used to kill the power Mosfet and in totally tired of this sir please if you can enlight me on this I will be very grateful sir because i don’t want any other type of smps I want to successful on flyback smps
Swagatam says
Azeez, designing a perfect SMPS is a difficult job, and I do not have full expertise in this field so far. I would recommend you to go for a transformer based power supply instead.
Fernandy Maret says
Hello Sir, if i want make a 220V to 20V(400W) SMPS, which component should i change?? thanks sir.
Swagatam says
Hello Fernandy, you can try modifying the following concept which looks close to your required specifications. You can reduce the secondary number of turns to get 20 V.
https://www.homemade-circuits.com/smps-2-x-50v-350w-circuit-for-audio/
Shantanu Biswas says
Good evening Sir,
Sir I am having EE25 core, may I use this core . Also I have 20N60CFD , IRF740 . Is it possible to replace IRF740. Sir please guide me.
Sourabh says
Hello Swagatam
I really appreciate your work your are really doing a great job kindly keep it up ????
I want to ask you that can I use 0.10mm or any other diameter of wires due to unavailability of wire type used in your circuit ??
If your answer is yes then can you please tell me if I change the wire diameter will I have to change no of turns in primary and auxiliary or not ??
I wants to make 12V 2.5 Amp SMPS Circuit. I tried it using making through 13005 transistors but maximum time transistor burns or didn’t worked properly for me.
Thankyou
Swagatam says
Thank you Saurabh,
If thinner wire is used then the E core bobbin should be also selected proportionately smaller, otherwise it may affect the performance, according to me. The rule of thumb is that the winding should accommodate inside the transformer space optimally, there should not be too much space left and also it should not be too much crammed.
If the e core bobbin is correctly selected then the number of turns can remain unchanged.
However I would recommend to follow the schematic details exactly as given, any changes might trigger a fault.
Sunil Yadav says
Thanks for the response sir , i need to design a smps based charger which is not bulky for that what should i do , use an smps available or you have any design , if you have any ready circuit which can be used for commercial use pls let me know i am ready to pay for the design , thanks a lot ,regards
Swagatam says
You are welcome Sunil, sorry I do not have a 48 V SMPS circuit with me at this moment, I would recommend buying a readymade unit and then use it with the cut off circuit.
Sunil Yadav says
hello sir , you have great knowledge searched ur site recently
i need 48 volt 6 amp charger circuit for lithium ion battery
if you have the pcb design ready or product ready pls let me know , or have circuit which can be used for practical purpose pls let me know my email id is ydv.sunilsingh@gmail.com or can tell me on 9999914788
regards sunil
Swagatam says
Hello Sunil, you can try the following auto cut-off with current control design:
Initially adjust the 10k preset to ground level, then feed a 56V Dc from the Battery side (left side).
You will find the LED switched ON.
Now slowly adjust the preset so that the LED just shuts off….
this will set the circuit for cutting of the battery at 56V when the the actual charging is done, by feeding the 56V DC from the right side and battery connected on the left side.
khanhvuz says
hello ,the author of post. I’m student of university and my major not electronics engineering, so i can’t understand all the post.I have question and i thankful if you answer my question. My question :
– your circuit is blocking oscillator using negative feedback so i understand the operation of this but i don’t know principle of diode BA159.What is mission of it in circuit ?
Swagatam says
Hello, they are probably for neutralizing the reverse emf transients from the transformer primary.
bahjat abuhatab says
how can man make a space of 1 mm in the ferrite core?
which elements in this project are responsible for switching frequency of 66 khz?
Joel says
Have a question. I have a standard computer power supply from an old computer that I would like to turn into a battery charger. The supply is a 380w unit capable of powering newer hard drives (3.3v).
I would like to use it for at least li-ion and/or lipo cells if possible without internal mods. External circuits are ok. Thanks much for the help.
Swagatam says
You can use the SMPS for charging a Li-Ion battery, but a 3.3V will need to boosted to a higher level, maybe 5 to 6V for charging a 3.7V Li-ion.
You may need a boost converter circuit for this, such as this one:
https://www.homemade-circuits.com/wp-content/uploads/2021/05/boost-charger-compressed.jpg
BALA says
Hi Swagatam,
You doing a great job
I need a transformerless power supply 5V and 3.2V total current 300mA~350mA, Can you send me the circuit for my project
I am going to use this circuit for my product
Swagatam says
Thank you bala, you can modify the following concept according to your needs
https://www.homemade-circuits.com/simple-220v-smps-buck-converter-circuit/
Tarikul says
Do you have current limiting options here? If more current flows during battery charge, will this circuit not burn out? And what kind of core have you used here? Thanks.
Swagatam says
Current limiting is already included through the 0R22/1 W resistor. Core is ferrite core
Shrijith M jain says
Hello sir, we highly appreciate your work.
Is the above circuit implemented in real?
Swagatam says
Thank you Shrijit, yes it has been tested by a few visitors, but not by me. That said, the design is quite crude and the parameters are not perfectly calculated, so you may have to experiment a bit until proper working is achieved.
Godfrey Godfrey says
Dear sir, please I want to build 12V, 10A SMPS but my problem is the ferrite core transformer since it’s not available in the market. Please sir can 15V, 2A step down transformer used with amplifying components output 12V, 10A?
In other words, please sir I need a circuit that uses a step down transformer for the 12V, 10A circuit design, instead of transformerless mains supply to the circuit which in turn will need ferrite core transformer for the required output.
Thank you very much sir
Swagatam says
Godfrey, 12 x 10 = 120 watts, whereas 15 x 2 = 30 watts, so it cannot be used to produce 12V 10 amp.
Godfrey Godfrey says
Okay sir, thank you!
So that is to say the 2A transformer can’t be amplified to produce 5A.
Prakash Srivastava says
Dear Swagatam,
We are not finding the 5D11 NTC. Can we replace this with 10D11 NTC?
best regards
Prakash Srivastava
Swagatam says
Dear Prakash, 10 means 10 Ohm resistance during normal operations from the NTC, I assume this much resistance will be OK for your SMPS, in that case you can use it.
Prakash says
Dear Swagatam,
I need one small help. I am looking for transformerless 12 V 10 amp or 12 V 15 amp DC circuit, which can provide fix voltage for my circuit.
Your fast reply is highly appreciated.
Thankyou in advance !
best regards
Prakash Srivastava
Swagatam says
Dear Prakash, sorry I do not have a 10 amp rated SMPS circuit with me, I guess it is better to buy one readymade, since it could be quite a complex design to build one….
Prakash Srivastava says
Dear Swagatam,
Thanks for your quick reply.
Yes, you are right, we can purchase a readymade one. But our problem is, we are making a product and we wanted to have all our circuit all together on one PCB. That’s why we are looking for a 12 Volt 10 amp transformerless SMPS circuit.
If we use transformer, the size of 10 amp stepdown transformer is too big for our PCB and heavy too.
Our existing circuit needs 12V 10 amp DC. That’s why we want to change 220 V AC to 12V 10 amp DC. We are looking for sm lightweight transformerless power supply solution.
Check, if you can help!
BR
Prakash
Swagatam says
Thank you Prakash, If I find a suitable design I will surely let you know!
Mike says
Hi! Please give me exact sizes of EE transformer.
Ramon says
Hello sir
I have a question, does this circuit have short circuit protection?
If there is a short circuit, can the power supply be damaged or burned?
Is there a way to add a short circuit protection?
I will use the power supply to power a 3d printer and I am concerned about damaging the electronics in the event of a short circuit.
Greetings from Mexico.
Swagatam says
Hello Ramon, yes it has a short circuit protection due to the current limiter stage formed by BC547 transistor and the 0.22 Ohm 1W resistor
Mah says
Hello Sir,
Most of EEcores and bobbins i have recovered from ATX PS have approx. 0.2mm gap in thier centeral legs.
Is it enough or should be more or less?
I know that i have asked this before, sorry, i am trying to find the problem in my circuit and you are the only reference i have.
Thanks
Swagatam says
Hello Mah, as per my knowledge, the gap must be adjusted by inserting a paper between the E-core contact edges. Just add a piece of paper and then tightly wrap the E-cores with insulation tape and epoxy glue….put the glue only once the results are confirmed
Mah says
In the transformer i wound for my circuit, the middle leg of core has a 1mm gap when its side legs fit together, may i have problem with it?
Generally, Can we choose the core which fitted with the desire wind wires? I mean have enough space to takes all the winding we need?
Thanks
Swagatam says
According to me the gap must be separated with a paper sandwiched between the core touching edges. If there’s lot of space left in the core, that will not work, the core and the bobbin must be well matched with the winding volume.
Mah says
Hello Sir,
Can i use 100pf/1kv and 10nf/1kv for those capacitors in the circuit? If not, what are the suitable rated voltage for 100pf and 10nf?
Is it possible to use couples of them in order to reach target value?
Thanks
Swagatam says
Hello Mah, yes it will do, because higher voltage values will not do any harm. You can use series parallel combo to reach the values.
Mah says
Hello
What are those points near each coils in the circuit diagram? What information they are telling? I saw them in most smps transformer circuits.
Thanks
Swagatam says
Hi, those are start points of the particular winding, because winding also have polarity.
Jai Kumar says
What modifications should be done to this circuit to be used with 400V DC.
Required Charging Lead acid battery 24V at 10A.
Isolation is not required.
Thanks.
Swagatam says
you can try increasing the zener value to 24V, and also modify the transformer wires for handling 10 amps
Ashish Chauhan says
Hello,
The SMPS design in this article is truly great! But I’m planning to use 12v 5Amps SMPS in a enclosed body instead of open ventilation. So my question is whether is there any possibility to avoid heatsink or any other solution which can be implemented to avoid failure caused by operating the circuit in enclosed body.
Thanks in advance.
Cheers.
Swagatam says
Hi, thanks! Glad you liked it… However this article was contributed by another author and is not designed me, so assessing the improvements can be difficult for me, especially since it may require some critical calculations to be done. In general you can try optimizing the frequency determining parts and check if that helps in increasing the efficiency.
Shuvam Das says
Hi Swagatam
You have used 1N4007 diodes at the starting which have a current capacity of 1amp but the SMPS can supply up to 5 amp so will the diodes get damaged????
Swagatam says
Hi Shuvam, the 1 amp is related with 310 V, so it becomes 310 watts maximum, the output is related with 12 V 5 amps which becomes only 60 watts.
Murataza Saleem (Karachi, Pakistan) says
Dear Swagatam,
can you please design the circuit of input AC 220v and output DC 12v / 8amp. with component name.
Swagatam says
Dear Murtaza, designing SMPS is not easy, so i won’t be able to help you in this regard.
Ariv says
How to calculate transformer winding turn in flyback converter? Or a good software to calculate it.
Swagatam says
Try this
https://www.homemade-circuits.com/how-to-design-and-calculate-ferrite-core-transformers-for-inverters/
ilyas raza says
i am ilyas raza , i want to design th SMPS power supply which vary the vlotage from 50 to 100 voltage with 450 watt rating , please suggest me the circuit ,can i used this circuit with modification
Swagatam says
Hi, you can try the following concept
https://www.homemade-circuits.com/adjustable-0-100v-50-amp-smps-circuit/
Pooja Gaurav Shete says
Hi i want to design 8.4v 1A Li-battery charger. can you please help me to design battery charger. thanks in advance.
Swagatam says
Do you mean SMPS circuit?
Haidper says
HI friend!
-i have ferrite EE16 and EE20, which is best to use? without changing the windings.
-the capacitor 100p, which volt value is?
-IME : i have UU9.8 UF9.8/10,20,30,40,50 MH
UU10.5 UF10.5/10,20,30 MH
If can be used any of them?
greetings
Swagatam says
Hi, The core can be E20, 100pF is 100V…not sure about the other elements.
M Gohar says
Dear Sir ,
Kindly help out regarding your above mentioned circuit .
(1) Can I charged 12v and (200 AMP ) battery through your circuit ?
(2) If some one connect battery with wrong polarity ?
Swagatam says
Dear M Gohar, this circuit cannot be used for charging a 200 Ah battery, you can do it by purchasing a 12V 20 amp SMPS unit and adjust the output to 14.1V and then easily charge your 200 Ah battery in 12 hours.
Gaurav says
Can this circuit charge a 20ah-50ah battery without any modification?
Swagatam says
yes it can!
Ehsan says
Hello Swagatam
Could you please explain me how the circuit is non-isolated while you used transformer? the transformer is Isolated device in addition you are use photo-copler so the output in this case is totally isolated.
thanks
Swagatam says
Hello Ehsan, the warning is for the person who is constructing the circuit. While testing it in open condition, the primary side of the circuit will be exposed and may cause a fatal shock to the constructor, if not careful.
devkaran lodhi says
hi sir can i make this suplly for 12v 1a. what could change in this circuit
Swagatam says
It is possible, by reducing the thickness of the transformer wire and dimension, and by adjusting the 0.22 resistor value
M Yamin Channa says
Hello dear sir how I can make 24v 100A power supply .
Please contact on mail. mchana86@yahoo.com
Swagatam says
Hi Yamin, sorry I do not have a 100 amp smps circuit at this moment.
Raveesh H P says
Dear Sir,
I am using same circuit for my 6 volts 1 amp smps power supply for small audio instrument. I myself assemble the smps including the ferrite transformer winding manually since few years. Only the components values and transformer no. of turns are different.
For curiosity I assembled this project but it is not working. 100 watt incandescent lamp in series with the circuit as precaution for testing is lighting brightly and no out put voltage. I have wound the ferrite transformer correctly, as per your specification (15+15 turns primary-26 swg, 5 turns secondary-22 swg and 3 turns auxiliary-32 swg) following dot convention as I am very much used to it, on EE25 ferrite core, MBR20100CT double diode for secondary side rectification , EL817 opto-coupler and 220 ohm 2 watt resistor as dummy load. No components are getting hot or damaged but no output voltage.
In my circuit it uses EE16 core with 55+55 turns primary(36 swg), 14 turns secondary(26 swg) and 14 turns auxiliary(36 swg), FQPF4N60 MOSFET and slight change in other resistors value which works fine.
Can I check the voltages at primary side, like bias voltage, while the 100 watt bulb lighting brightly to find out the fault or will it damage the components if I run it for long in that condition.
All that I am having is DMM only. Please inform me how to troubleshoot.
With regards
Raveesh
Swagatam says
Hi Raveesh,
a flyback smps is a critical device and needs to be designed with calculations, it is not possible to change the parameters linearly to achieve a desired output result. So I think your circuit may be having discrepancies that’s why it’s not working.
The bright 100 watt simply indicates that your circuit is not oscillating and it’s short circuiting the input supply through the mosfet.
Since I am not an expert in smps calculations I cannot correctly suggest what may be causing the inaccuracy in your design.
I have the following article in my website which shows how critical the parameters are in an SMPS circuit.
https://www.homemade-circuits.com/how-to-design-a-flyback-converter-comprehensive-tutorial/
jayarajan.K.B says
Dear Swagatham,
I request you to publish or send me a pcb layout for 60 vdc electric bike charger. Thanks for your technical support for the electronics community.
jayarajan.K.B
Swagatam says
Dear Jayarajan, Presently i do not have the PCB design for a 60V charger. I can suggest a circuit diagram if you wish!
Sheraz says
Hi sir! dear sir i have design an smps with output of 5Amp & 14.5v, giving the output with no problem. but the smps chopper is making a small noise & also by connecting to 120AH-12v battery it show series light indication & also giving output. i don’t what’s the problem with the circuit how can i correct these problems?
Swagatam says
Hi Sheraz, Which schematic did you use? Make sure the transformer winding is wound tightly without gaps and the working frequency is above 50kHz
Sheraz Ahmad says
i use a ready-made smps transformer for 10Amp-12v power supply. where in the circuit the uc3842 pwm controller was set a 54 KHz. i have use the same values of resistor and capacitor for frequencey it gives output but make a little chirping noise.
Swagatam says
SMPS circuits are high-precision circuits, so little mismatch could make it inefficient and problematic, so it can be difficult to diagnose the fault verbally. Still you can try increasing the frequency a bit higher and see how it responds.
Ajitkumar. says
Sir, If I need a 24volt 5apm smps, what changes need with the schmatic? I try to make a 14.4 volt 25.2 Ah NI-Mh battery pack charger. Plz help
Swagatam says
Ajitkumar, for charging a 14.4V battery you will need around 17V as the input, 24V is not required. You can buy a laptop charger and use it for the same with a simply auto cut off circuit in the middle. Making an SMPS can be a complex task if you are not well versed with all the procedures
Ajitkumar says
Sir
I have prefered your LM338 based cut off circuit, thats why I ask for a 24 volt smps. However, I want to make this charger more than 50 ps quantity in low coast.Laptop charger will not be available in my budget. Thanks again for the valuable reply.
Swagatam says
OK, then you can try modifying the secondary side of the above 12V 5 amp smps design to get 24V, or you can also try the the following smps design:
https://www.homemade-circuits.com/2017/07/110v-14v-5v-smps-circuit.html
ignore the 105V and 5V sections, modify the 14V winding to get 24V by changing the turn numbers and by adjusting P1. You will also need to use slightly thicker wire for N1 winding.
charan says
hello swagatam, ive two questions
1-Can i use mct2e optocoupler instead of 4n35 & also replace ba159 by fr107 ?
2-I cant find .4mm wire from store so can i use those taken from cfl transformer which is generally available ?
Swagatam says
Hi Charan,
1) You can use MCT2E, and FR107
2).4mm is not critical you can try any nearby value
Shigida says
Good morning Sir!
This time ,I want to try to make this Battery charger.As I look to the diagram,
there is no value for the EMI PFC coil.Pls can you give me some hint how to difine the value and/or how to make it?
Swagatam says
Shigida, the coil is not too critical for home use.
you can use 20 turns of 0.5mm magnet wire on each side over a ferrite torroidal ring.
barrah gi says
i ve 3524 inverter if i apply feedback frm output secondary there is problem but without feedback no problems feedback is applied to pin1of 3524.what can i do
Swagatam says
what kind of problem are you facing??
Thoombro says
Sir i have 12v 1amp powersupply led driver. Can i convert it into 14v 10 amp powersupply just by replacing the transformer with thicker wire and adding more winding and replacing the transistor with more powerful one.
Thanks for the quick reply on other threads
Swagatam says
you can do it, but make sure to do it from both the sides primary and secondary with proper calculations
Thoombro says
Can i use bigger ferrite transformer instead of the stock one in the circuit
Swagatam says
the ferrite core must accommodate the winding perfectly, it should not be big and loose or too crammed…
Joel says
Mr. Swagatam, I am looking for a circuit that will take an input of 50v down to 12v with an output of 12v. Max current output around 5amps. The input voltage should be an automatic sense. Any help will be greatly and thankfully accepted. Thanks much, Joel
Swagatam says
Joel, you can try any DC to DC buck converter such as this:
https://www.homemade-circuits.com/5v-pwm-solar-battery-charger-circuit/
Joel says
I am not sure if I gave you all the information. what I am trying to do is be able to connect to say a forklift (24 to 48 volts) and get the 12th out I need, the issue is that I want to connect to any voltage between the 48 to 12 volt range and the circuit be able to take that and give me the 12v I need, without any manual changes from me.
Swagatam says
You mean you want to have a constant 12V output from any voltage source between 12V and 48V? Is that right?
Did you consider using a linear voltage regulators, and what’ll be the required current output from the 12V?
Joel says
correct on the output voltage, the current output needs to be 5 amps. I have thought about linear regs but, most have a 40 v max input.
Swagatam says
You can try the following concept, ignore the current control section if you don’t wish to use it.
https://www.homemade-circuits.com/universal-variable-power-supply-circuit/
Ajitkumar says
Sir
I need a 38 volt 9 amp Lead Acid automatic battery charger circuit for Three 12 volt battery charging in series.
Do you have any suitable circuit diagram ? Please help.
regards
Ajitkumar
Swagatam says
Ajit, you can try the circuits presented in the following article:
https://www.homemade-circuits.com/make-this-48v-automatic-battery-charger/
Mr Stewart Aspen says
Hello Mr Swagatam, I have built the power supply as you have detailed. It will work at low (30V) but self destructs at mains (240Vac). Has the circuit been designed for 110V or 240V?
I have found similar circuits, but they use a far larger number of turns on the primary winding. I am also concerned that the 0R22 resistor is too low a value to initiate oscillation.
Any advice you can provide would be most useful.
Regards Stewart.
Swagatam says
Hello Stewart, This design is for 220V operation and is thoroughly and successfully tested by many of the blog readers.
khurram farooq says
Hello dear sir,
i need help sir can you explain this cct diagram with the help of block diagram on this schematic like driver section, oscillator section etc….
Best Regards:
Farooq
Swagatam says
Hello Farooq, the stages can be easily visualized by looking at the diagram, there is bridge rectifier stage, after that there is a mosfet stage which acts like a driver stage as well as an oscillator stage. The BC547 stage forms the current control stage while the opto coupler forms the feedback control stage for stabilizing the output
pavan says
Hai sir ,
I need 60v/3amps charger circuit for battery charging . and it should be cv and cc .pls suggest me the circuit .
Swagatam says
Hi Pavan, you can try the following design
https://www.homemade-circuits.com/how-to-make-versatile-variable-voltage/
pavan says
Thanks for your replay .sir actually i want to design 60v /3amps charger circuit in flyback topology . i need perfect design . pls help me
Swagatam says
Pavan, you can try and modify the following concept
https://www.homemade-circuits.com/smps-2-x-50v-350w-circuit-for-audio/
Sheraz says
Dear sir! i am using pesim software for designing smps transformer but i dont understand about the wire guage let say AWG25.5 x 3, understand AWG25.5 but for what the x 3?
Swagatam says
x 3 could mean 3 wires held together and wound together in a bifilar mode. 3 wire strands wind up simultaneously instead of one single thicker wire, this helps in getting better skin depth, higher amp efficiency, and compact winding
Saikat Jana says
TRANSFORMER SPECIFICATION FOR 12V 5Amp OUTPUT AND PLEASE HELP ME WITH SOME EXPLANATION ABOUT THE TRANSFORMER
Swagatam says
the winding procedure is already explained in the article
Saikat Jana says
is it tested for 12Volt 5Amps o/p
Swagatam says
yes it is fully tested!
Saikat Jana says
CAN I USE THIS CIRCUIT AS 12V 5AMP SMPS POWER SUPPLY
Swagatam says
yes you can, for more options you can check out this link
https://www.homemade-circuits.com/?s=smps
Saikat Jana says
sir please send me the transformer coil inductance
Swagatam says
inductance is not there with me, but the winding details is given in the article and should be enough for the construction.
Sisoncs Simon says
sir,
please publish pinout of 4N35 optocoupler to the board,there is no indication please update on circuit immediately.
Swagatam says
you can check it from the datasheet of the IC, or from Google images, it’s just a matter of a minute.
Sisin says
Ok sir but the anode and cathode of optocoupler connect to which part of the circuit please explain….
Swagatam says
anode can be seen connected to zener diode, and cathode to (-) line
Sisin says
Thank u sir for your immediate response..bcz of white background cant notice.
Swagatam says
you are welcome!!
Zakie says
Hi sir, i made this circuit but it’s didn’t work
The output voltage is 0v
I used 1n4007(standard recovery rectifier) instead of ba159
And 817 optocoupler
I replace 10uf 400v with 100uf 400v
And i remove NTC and EMI
Can you help me to solve this problem?
Thanks
Swagatam says
Hi Zakie, It can be difficult to troubleshoot the fault because I cannot check what may be the problem in your circuit…the ferrite transformer is the crucial thing in the design, if it is not wound correctly then the circuit will simply not respond or even burn into flames…so check the transformer once again and also the other connections. the circuit should first oscillate to produce any form of result, so check whether your primary side is oscillating at a frequency higher than 20kHz or 40kHz
Zakie says
But can i replace ba159 with 1n4007(standard recovery)?
and what is mean of dot(.) in your schematic sir?
Swagatam says
for testing purpose you can do it, but for the final use it must be replaced with a fast recovery diode…
Zakie says
And can i use 0.25mm wire for all winding?
Thanks sir
Swagatam says
for experimenting you can try it…it should work with some unknown current output.
always connect a 100 watt bulb in series with the input AC supply, in case if something goes wrong….
Mohiuddin Armaan says
Dear sir ,
please describe the Ferrite transformer turns calculation with example and auxiliary winding.
Swagatam says
Armaan, the details are already given in the article, you have to do exactly as per the given specifications
olupot says
thanks for your quick reply i was a little worried have a gud day sir
Swagatam says
you are welcome Olupot!
olupot says
hello sir i have a question can i use a 4pin optocoupler when i do not have a 6pin optocoupler with me thanks
Swagatam says
Hi Olupot, yes you can use it….no problem
Unknown says
if i use bigger VA core can increase power?
Swagatam says
yes, I think that's possible, the 0.22 ohm will also need to be modified
OLUPOT DANIEL says
hello sir nice day and thanks for the great job you do i appreciate. now sir i needed a simple personal multi output charger but using the same circuit. i want it at 5v 2amp,9v 2amps, 12v 5amps, 20v 3amps wat can i modify to get all those out puts thanks alot
Swagatam says
Thanks Olupot,
You can try modifying the opto resistor and the secondary winding to get those outputs, or simply you can modify the optocoupler section with a pot to make the output variable, as explained below:
https://www.homemade-circuits.com/2015/04/how-to-make-variable-smps-driver-circuit.html