Simple 12V, 1A SMPS

The following content explains a simple 12V, 1 Amp switch mode power supply (SMPS) circuit using the very reliable VIPerXX IC from ST microelectronics.

Overview

With the advent of modern ICs and circuits, the age old iron transformer type of power supply are surely becoming obsolete. Today power supplies are much compact, smaller and efficient with their functioning. Here we discuss one outstanding switch mode power supply circuit which can be easily built at home for deriving clean, ripple free 12 V DC.

Thanks to ST Microelectronics IC, the VIPer22A, which has made the construction of truly efficient and compact SMPS power supply unit possible that too by using a very few number of electronic parts.As can be seen in the picture, the circuit is indeed very small, compared to the power that is available from it. It's just 50 by 40 mm in its dimensions.The circuit diagram is very easy to understand, let's study it with the following points:

How the SMPS Circuit is Designed to Work


Looking at the figure we can easily see that the configuration does not involve too many stages or parts.

The input mains AC, as usual is first rectified using ordinary 1N4007 diodes which is fixed in the bridge network mode.

The rectified high voltage DC is filtered using the high voltage capacitor.

The next stage is the crucial one which incorporates the outstanding chip VIPer 22A manufactured by ST Microelectronics.

The IC alone functions as the oscillator and induces a frequency of around 100 KHz into the primary winding of the ferrite E core transformer.

The IC is absolutely rugged and is internally protected from sudden voltage in rush and other voltage related component hazards.

The IC also incorporates built in over heat protection which makes the IC virtually indestructible.

The voltage induced at the input is effectively stepped down at the output winding, due to low eddy current losses, about 1 amp current becomes available from a relatively tiny ferrite transformer.

With the coil specs shown the voltage is around 12 and the current is around 1amp.

A special feedback circuitry is also included in the circuit for maintaining high degree of protection and power saving features.

The feedback loop is implemented via an opto-coupler which becomes active during abnormal circuit conditions.

When the output voltage tends to rise beyond the set threshold the feed back loop becomes operative and feeds an error signal to the IC FB input.

The IC instantly comes into an corrective mode and switches off the input to the primary winding until the output returns to the normal range.


Circuit Diagram


simple 12V 1 amp SMPS circuit


PCB Layout


simple 12V 1 amp smps PCB layout

Transformer Winding Data




simple 12V 1 amp smps ferrite transformer winding data


Another 12V 1 amp simple SMPS using IC  TNY267


 12V 1amp smps circuit using TNY


How it Works


The simple smps circuit shown above uses the popular tiny switch IC TNY267. It is a tiny mosfet based 120V to 220V switching oscillator IC which only requires configuring with a ferrite transformer and a stepped down Vdd operating voltage.

The design is so simple that a mere visualization of the schematic is enough to tell us the functioning details quickly.

The stepped down start voltage is acquired from stabilizing network using a 180V zener diodes and the fast recovery diode BA159 after rectifying the mains 220V through a 1N4007 diodes and the 10uF/400V filter capacitor.

As soon as this voltage is applied to the IC, it begins oscillating and its internal mosfet begins switching the ferrite transformer primary at the predetermined oscillating frequency.

Being a flyback design, the secondary also starts conducting during the OFF cycles of the primary through mutual induction and generates the required 12V voltage at the output side.

This voltage may not be stabilized, therefore an opto-coupler based feedback is used and the link is configured with the exclusive shut down pinout 4 of the IC.

This ensures that the output never exceeds, and remains fixed at 12V 1 amp proportion.

Transformer Winding Data


The transformer winding is actually quite straightforward, and may be done in the following manner. Keep in mind that the black dots indicate the start points of the winding which is very important, and must be strictly followed while winding the transformer.

The primary wound using 36 SWK super enameled copper wire upto 150 turns, while the secondary is wound using 26 SWG wire upto around 12 to 15 turns.

The core can be a standard E19 type ferrite core having a bobbin with central core cross section area of approximately 4.5mm by 4.5mm.

Need Help? Please send your queries through Comments for quick replies! And please Bookmark my site :)




Comments

Swagatam said…
yes you can achieve it by adding additional winding layers connected parallel to the existing secondary layer inside the transformer
Swagatam said…
Hi P Pandey,

You can either connect three 1N5402 diodes in series with the battery and directly connect it with your phone, it will hopefully start charging it.
Alternatively you can just include a 4 ohm, 2 watt resistor in series with the battery positive and connect it directly with the cell phone for initiating charging of the phone.
Aseem Mittal said…
Dear Sir,

I am student of B.tech ECE.. I was trying to make SMPS of 150W (of voltage range 60 - 210 Volts DC & about 1 Amp. current). You are kindly requested to guide me for the same & oblige. My main problem is which transformer is to be used & the feedback circuit. I shall really appreciate if you could give me entire circuit.

Thanks & Regards,
Aseem Mittal (09417753155)
aseem.mittal19@gmail.com
Swagatam said…
Dear Aseem,

I don't have much idea about the transformer winding details, so I am sorry I won't be able to help with the project.

By the way what is the output voltage of the design?
hiren kharsani said…
hello sir,

From where can i get this type of transformer.
Swagatam said…
hello hiren,

you won't get it readymade, you will have to make it with the help of the given date.
Swagatam said…
Hello Pankaj,

555 is an evergreen versatile IC and will be there for at least another 50 years...may be its not available in your area.

Anyway, in your transistor circuit you can add a 100k pot in series with one of the transistor base resistors, this will give you an option for the required adjustments.
yasir said…
Hi Sir
i want a temperature control circuit for incubator.do u have any circuit diagram.
Swagatam said…
Hi Yasir, you can refer to this article:

https://homemade-circuits.com/2011/12/how-to-build-simple-electronic.html
Sharik Baig said…
Circuit diagram isn't completely visible, it got clipped from top.
Swagatam said…
please check it now.
What should be the changes to make it 12V, 2amp
Swagatam said…
make the secondary winding using two wires wound simultaneously...it's also called bifilar winding.
subodh kumar said…
I want to make 5 to 12 volt smps work on 60 volt a/c input. may anyone tell me how to make it ?
Swagatam said…
you can try the following circuit

https://homemade-circuits.com/2014/03/12v-5-amp-transformerless-battery.html
Rushi Palkar said…
sir i have an ic cd6283cs audio amplifier circuit. i give 12v to use this circuit it gets heated up if input is more. and in datasheet it is given that it can handle upto 171v and utput 1500watts. it will be like that? on 12v only it gets heated then how come it will survive on 171v?
Swagatam said…
Rushi, the datasheet which you have referred to is of a TAZ (transient absorption zener) not your amplifier IC.....

the datasheet for your IC is probably not available on the net, so can't suggest much about it.
AKKU D GR8 said…
Mr. Swagatam this thing is looking great for starter's scenario, can you give the detail about each components you have used in this circuit?
Swagatam said…
Thanks Mr. Akuu, I'll try to update the required explanation soon....
Swagatam said…
Dear Mr. Arya, it's not so critical, you can make it by winding a reasonably thick magnet wire over any type of ferrite core. Through some trial and error make the number match the shown value approximately....I think about 50 turns using 25SWG wire on any ferrite core would be good enough
Bharat Surani said…
Hello Sir

Can I have gerber data and BOM of the same as I'm not able to identify the component out here.

Kindly reply as soon as possible.

Thank you.

Regards,
Bharat Surani
+91787998867
suranibharat4@gmail.com
Swagatam said…
Hello Bharat,

Please click on the diagram to enlarge, you'll able to see the part specs in detail.

I am sorry a gerber file would be difficult from my side.

for more info and BOM you can refer to this original pdf source:

www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=5&ved=0CDYQFjAE&url=http%3A%2F%2Fapplication-notes.digchip.com%2F005%2F5-10593.pdf&ei=UTaaVYWdF4uZuQTyvYOwBQ&usg=AFQjCNETxUPxGfwhkqnl61rOFrs0PtJXRw&sig2=t-GcqS0gHIw0fPxqKNz4NA
Bharat Surani said…
Hello Sir

How can I increase current rating?
Swagatam said…
1amp is the max current which cannot be increased with this IC
Bharat Surani said…
is there any replacement of D8-STPS2H100? As it is not available in market.

Kindly reply as soon as possible.
Swagatam said…
Google for "700v mosfet", you will find many options to choose from....any mosfet with 700V and 5 amp would be ok
Swagatam said…
sorry... please ignore above comment

you can try a BA159 diode
Bharat Surani said…
Is there any other option for increasing current?
Bharat Surani said…
and about, BA159 is of 1A only. Will it be fine with replacement of 2A schottky diode?
Swagatam said…
the IC is specified to produce not more than 1amp, so it's not possible
Swagatam said…
you can test it, if it heats up then we can look for some other option.
Bharat Surani said…
well in that case 1N4007 will also be fine... rihgt?
Swagatam said…
1N4007 is not a fast switching diode, BA159 is a fast switching diode.

But I have seen many SMPS use ordinary diodes such as 1N5408 etc at the output so you can try a 1N5408 which is same as a1N4007 but much higher in amps.
Bharat Surani said…
Can I got for SR2100?
Swagatam said…
yes it will do.
Shaikh Fahad said…
hello sir,
i have design same circuit 12v,1 Amp SMPS. But the problem is when i connect the load and it will consume more then 100mA current then voltage get drop to 11 volt.so could i maintain constant voltage 12 volt along with the load. or if voltage drop does it effect on stability.
Swagatam said…
hello shaikh,

that should not happen, if you have made it exactly as explained above then the smps should be able to withstand full 1 amp current... at 100mA the voltage should not drop...

the wire gauge determines the amp capacity of the smps, are you sure you used the specified wire dimensions?
Shaikh Fahad said…
hi sir,
i m facing problems in calculating primary , secondary and auxiliary winding's.please help me to calculation of exact winding's.

Kindly reply as soon as possible.

thank you
Swagatam said…
Hi Shaikh,

all the details regarding the trafo winding are furnished at the bottom of the article, please click on the last diagram, you'll find all the required data and the related layout diagram.
Bharat Surani said…
Hello Sir

I have implemented same design on PCB. I'm facing some problem. Like 5 V are coming perfectly on controller board, but when I connect relay board with it, and switch any two relay even, power supply is getting restart. Why this is happening so, i did't got any reason, can you pl help us?

Kindly reply as soon as possible.
Swagatam said…
Hello Bharat,

check the current consumption of the relay coil, by connecting a DC ammeter in series with the relay coil.

or may be you have not made the circuit correctly as per the given instructions.
Bharat Surani said…
it is around 50 mA per relay and I have only used 7 relays.
Swagatam said…
that's equal to 350 mA which is perfectly within the range of the design...it would be difficult for me to troubleshoot it from here...

the winding has polarity (start/finish) and that can be crucial, please check it and also try rewinding the secondary by using two strands of wire in parallel instead of one.
Bharat Surani said…
Hello Sir

I got the current value by changing transformer winding's SWG, but one more problem has taken place, that SMPS is getting too hot, and after that it is restarting it self.

What can be the problem?
Swagatam said…
Hello Bharat,

I think the transformer is not wound correctly, please see the black dots those indicate the "start" of the winding..... did you follow those correctly?

the IC will reset if it detects overload.... which could be either at the output in the form of an actual overload or a wrongly wound primary....
Swagatam said…
OK got it....alternatively you can attach a small aluminum heatsink over the IC...this will stop the circuit from resetting....
Shaikh Fahad said…
hi sir,
i m facing problems in calculating primary , secondary and auxiliary winding's.please help me to calculation of exact winding's for 5 V,1 A smps.

Kindly reply as soon as possible.

thank you
Swagatam said…
Shaikh, you just have to vary R6 for getting any desired voltage in the range...the winding can be as suggested in the article.
Unknown said…
hai,
I am new, I designed this above circuit. I got some issues VDD Voltage is 4.1 v some viper is not switching,
can any one guide me.
thanx
Sir how may tuns includ in secandry need 2 amp??
Sir have y any circuis 12 v 2 amp and 4amp and not much part in the circuit?
Swagatam said…
2 amp cannot be achieved with this IC, because 1 amp is the maximum limit from this IC, still you try winding two strands of wire together in parallel for the secondary turns and check the response.
Swagatam said…
bhavesh, you can try the following design:

https://homemade-circuits.com/2014/03/12v-5-amp-transformerless-battery.html
kiran kamat said…
Hi, can this be used 24x7 the whole year
Swagatam said…
yes, it can be used continuously...and infinitely
but sir pic 817 has 4 terminal
Swagatam said…
check the datasheet:

www.farnell.com/datasheets/73758.pdf
Swagatam said…
No current cannot be more than than 1 amp
Unknown said…
Sir, can you please tell me how to design PCB for this circuit. I tried designing the same circuit using Proteus but can't find transformer package in it.
Swagatam said…
A professional PCB designer will be able to do it for you....
Krunal bhongade said…
Hey Swagatam,
Really good Job, I really appreciate it.
I am an electronics designer and was looking for such design. I really liked it.
But can you please suggest me which transformer you had used for this. Is it ferrite transformer. Can you please tell me where can I buy this transformer or at least its part number.

Thanks in advance.
Swagatam said…
Thanks Krunal,

The circuit is by STmicroelectronics and indeed it looks superb.

the transformer is built over ferrite cores since it's an SMPS design, however the transformer cannot be procured readymade, you will have to build it as per the shown data.

The wire, bobbin and the cores can be easily procured from your local electronic spare part retailer....or if you are in Mumbai you can get these from Lamington Road.

Krunal bhongade said…
Hello Swagatam,

Thanks for the reply.
Actually I am from Nagpur and now working at Rajasthan in rural area, Here I could not get them.
Still I have asked my friend from Mumbai & expect to get them soon.
Once again Thanks for your help.
Regards.
Swagatam said…
You are welcome Krunal!
VISHAL said…
Hello
Can we use the above circuit with an Input AC Voltage range of 80 Volt AC to 300 Volt AC with Output Voltage Constant 12 Volt, 1 Ampere.
Swagatam said…
the operating range is from 100V to 285V
VISHAL said…
Thanks for your reply.
How can we achieve 80 to 300 Volt Range. What changes to be done in above circuit for desired Range
Swagatam said…
that might not be possible because the IC is rated for 85V to 285V operation, which cannot be changed.
Swagatam said…
...actually it's 265V and not 285V, so it's even less than what I mentioned
VISHAL said…
Ok. If possible please suggest any other IC for range 80-300 Volt AC.
Also do you have any tutorials related to Photodiode Interfacing. I am facing a lot of fluctuations while designing Signal Conditioning Circuits for BPW34
Swagatam said…
sorry, I do not know about any SMPS IC with that input range.

You can try LM567 IC for signal conditioning of the photo diode.
Bharat Surani said…
Hello Sir

currently we are using original ST L7805, the issue with it is, we converting 12v DC to 5v DC for consumption of up to 50mA. After putting it on testing we come to know that L7805 is heating too much, temp is not being measured yet, but it is enough to burn up your finger, will it make any kind of damage to further circuitry or L7805 will burn out within small life time?
Swagatam said…
Hello Bharat, if it's getting hot at 50mA then either the IC is not original (faulty) or there's some mistake in the connections.

Please measure the current using an DC ammeter in series with the load.

78XX can never get burning hot since they all have an internal thermal protection facility which don't allow their case temp to go beyond 100 C

when hot the IC will simply cut of the supply to the load and shut down itself until the heat reaches within the tolerable limits
Bharat Surani said…
Yes sir, I have both kind of 7805, the original one and fake identified by it's heat sink thickness. Both are getting warm up, where in the connection, I have 12V at pin1, Gnd at pin2 and 5V output at Pin3. I'm using 12v 1A ready made power adapter as source and converting it to 5V for controller. Is there any corrections needed?
Swagatam said…
Bharat, please check the output current consumption, I am sure it cannot be just 50mA..please confirm this.
Bharat Surani said…
Sir, I'm double sure about the consumption, I have also studied the datasheet of components used. It is not exceeding 50mA.
Swagatam said…
at 50mA any 78XX will not become burning hot according to me. Not sure what could the fault in your case.
Bharat Surani said…
Sir, is there any other connections needed? around 78xx.
Swagatam said…
left pin is input, center is ground, and the right side pin is the output for the load, that's all is required for getting the results from this chip....no further connections are required.
Bharat Surani said…
Ok thank you sir for reply. One last que. is there any specified life time of ST L7805?
Swagatam said…
thanks bharat, if the IC is operated within its specified tolerable limits then it can go on almost forever.
Bharat Surani said…
Thanks a lot for suggestions sir.
Unknown said…
I am Office Automation Techi, I have a problem with one power supply SMPS, there is a 470 mfd 400v capacitor after bridge rectification on A/C side getting blown even after changing the MOSFET along with it. Its blown thrice even after checking the rest of circut. It is further found that MOSFET is not burning.
Swagatam said…
check the voltage across the capacitor points, if it's exceeding 400V then that might be causing the explosion....if voltage is not the issue then probably you can try a non-polar capacitor and see if it works...a bad quality capacitor can also be the culprit
Asket Bhullar said…
Thanks Bud, let me check up. Other thing which came to my mind to check the bridge diodes indevudaly . I,ll get back on the outcome.
Swagatam said…
yes buddy that's right, if the diodes are faulty it might send AC instead of DC to the caps and blow them of
Asket Bhullar said…
I'll get back 2marow.What do u feel about the bleeder resist after the MOSFET !
Swagatam said…
mosfet is inside the IC
Asket Bhullar said…
3 pin triac is not IC . Any chip with 4 or more pins is called IC, this is what I learned. No intention of insult pl. But I like Ur up-frontness, pl never hesitate for what ever comes to ur mind, Love U !
Swagatam said…
sorry I am not sure to which comment you are addressing to?? but answering to your suggestion I must say that a 3-pin device can also be an IC....take for example 7805, 7812, TL431 these are all ICs.
Asket Bhullar said…
Soooooory... its TRUE !
Hello Sir. Would you mind sharing your PCB in PDF file? Thank you Sir :)
lokesh lokesh said…
Hello sir plzz plzz do update same sort of post on FB.. Instead of here..
in Fb we can comment and have ur reply notification here really feeling hectic to find reply or comments back..
even for typing..
since this method is not much user friendly and transparent. it my suggestion
on behalf of everyone I am requesting u since some of my (electronic hobbyist) friends are having same opinion.. as most of us don't use Email and this website much compared to Fb and WhatsApp in there phone..

I respect ur knowledge and patience so I wish its being utilised to everyone in proper way..
i hope my msg convinced...
seeking for your valuable reply. .

Thank you regards your Fan Lokeshelectronic
Krunal bhongade said…
Hi Swagatam,
Thanks for great tutorial.
I am trying this circuit and getting the result.
Now I am drawing 80mA of current at 12V through this circuit and it works perfectly. But when I increase the load to 150mA, the ST Viper22A gets too hot and cuts the supply for some time so the output voltage falls from 12V to 2V. After sometime it again starts supplying 12V.
The IC is getting overheated and it trips. Could you please suggest something.

Thanks in anticipation.
pankaj pandey said…
hello sir,

how are you sir...after a long time i am here again with my another quarry ...dear sir I have a inverter and it is giving me some problems...the problem is regarding to its charging function...earlier it starts trickle charging to the battery..when voltage reaches to 14 volt..but now it does not cuts the power after full charging of the battery...when the battery fully charged ...then inverter makes humming sound and burnt the ac fuse..
So kindly help me about the problem..

Thanks a lot
Pankaj pandey
Swagatam said…
Hi Krunal, this circuit is rated to handle upto 1 amp, so 150mA shoudn't be a problem at all, not sure what might be causing this, most probably if the transformer is not built correctly could cause the circuit to malfunction, so it could be your trafo that's not correctly wound, please check it again and if possible take the help of a professional winder.

the above design is by STmicroelectronics so it should be perfectly correct with its data, for more info you can visit the original website from the given link in the article.
Krunal bhongade said…
Hello,
Thanks for the reply.
I had given this transformer winding data to a professional manufacturer from Delhi and he has built it using the same data. Moreover the transformer is not at all heating up but its only the IC to heat up. I checked the voltage at Vdd of IC which I found to be -2V which seems to be wrong(still the output vtg is 12V), also the output of the rectifier is just 5V. All the components are cool while the IC is heated up.

Any suggestions.
Krunal bhongade said…
Can you please tell me what are the expected voltages at few test points so that I can debug the circuit.
Swagatam said…
Hello Pankaj,

it would be difficult to judge without a practical diagnosing. most probably the relay associated with the full charge cut off circuit is responsible for this....it could be correctly tripping at the full charge level but in the process shorting something through its other pair or contacts.

check the response of the relay by supplying a varying voltage through a variable power supply across the battery points (without any batt connected)
Krunal bhongade said…
Sorry for wrong readings. I was taking wrong reference ground.
The voltage at Vdd pin of Viper22A is 12 VDC and
voltage across rectifier capacitor (47uF/400V) = 318 VDC
Swagatam said…
The transformer will not heat up, it is the fet inside the IC which will heat up if the winding are not correctly wound....especially theprimary winding is the one which will can make the IC hot if not wound correctly. According to the data the inductance of primary winding must be 3mH, please confirm this first...moreover all the winding has polarity which can also create an issue.

I am not sure about the voltages at different points, and is basically not required to be checked, because if the winding is correct and the IC is genuine then the circuit should work at the first go....considering the connections are all OK.
Krunal bhongade said…
Hi, Thanks for all your suggestions.
Can I just reverse the primary winding and check? Will it cause any problem?
Also I do not have any LCR meter to check inductance.

I have ordered my components from element14 so IC should be genuine.
Also I am getting 12V at the output upto 80mA, so I think the connections are also OK.

Please suggest.
Swagatam said…
Hi, I think it can be tried, you can reverse the primary ends with the circuit and see the effect...however checking the inductance is more important as that would quickly help to solve the issue.
Krunal bhongade said…
Hello, Good Morning.
I checked by reversing the primary ends, but this time I was not getting any output voltage at the output.
I have asked my friend to measure the inductance of it, and will update here after I get result.
Also, I would like to know if the IC is only used for switching, can I replace it with another MOSFET or optocoupler and driving it with 60KHz using LM555.
Also, I am not able to understand how the auxiliary winding is able to supply 12V to this IC.

I would like to know your experienced suggestions.
Thanks in advance.
Swagatam said…
Good morning, The above circuit cannot be modified in anyway and is not recommended, if you want to use discrete parts for the making the same design then you can try the following circuit:

https://homemade-circuits.com/2013/10/12v-24v-1-amp-mosfet-smps-circuit.html

the internal circuitry of the IC is initially switched ON through the drain connection, which internally applies a triggering voltage to the Vdd (@1mA), this action switches ON the mosfet which in turn causes the auxiliary winding to kick and apply a rising unregulated voltage to Vdd...when this voltage exceeds the internal limit, the internal regulator switches OFF, causing the mosfet and the IC to switch Off....the cycle now keeps repeating the sequence at around 60kHz
Krunal bhongade said…
Hello, So I got the measured inductance and is only 0.046 mH.
I don't understand why my manufacturer did not paid attention to this.
What should I do now? Will it work just by adding an inductor in series?
Swagatam said…
Hi, you should get it done afresh and this time from a qualified winder who knows how to measure and assign the inductance values to the coils, because it seems this trandfrmer could have many winding errors .

adding a series coil will not do.

If you are in Mumbai get it done from Lamington road.

or if you have the access to a hand winding machine you can try it yourself at home.
Krunal bhongade said…
Ohh, I am overwhelmed with your detail description, Thanks.
Yes, I think I have to look for another winder.
I am working in very rural area of Rajasthan without any access to advanced things except internet (Thank GOD). Also I have never been to Mumbai before. Still I would try to do something.
I am doing this as for my hobby. It would be really nice if you can suggest some winder.

Thank You very much for all your help.
Regards,
Krunal
Swagatam said…
You are welcome Krunal, I hope you get the issue resolved as soon as possible.

winders can be difficult to find online, alternatively you can try it winding by hand... with a lot of care and patience you could possibly succeed with it.
Sujit Chavada said…
Hello Sir,

I am new in SMPS design. I am facing a problem in this SMPS. SMPS remain ON for 15 second, after that it going to OFF for 7 second, again ON for 15 second and again OFF for 7 second. Such cycle continue. In ON condition, it giving 13.8V and in OFF condition it giving 0.8V. I apply 12V/100mA DC motor as a load. Kindly help me in this problem.

Thank You,
Swagatam said…
Hello Sujit, It would be difficult to understand the issue precisely, but normally this would happen if the IC is going in the shutdown mode due to overheating or over current.

This would most probably happen due to a wrongly configured transformer....check the inductance of the primary it should match the given specification.

also add a small heatsink with the IC.
hello sir,
thank for the great sharing.
from the circuit i see the out is 12V and another voltage regulator at 5V.
what is the current for 5V?

i want to build a PSU, for 12v 1amp and 5v 2amp. if i can combine the circuit. it will be superb.
thank you in advance for guide.
Swagatam said…
thank you kakipancingMUAR

the shown 5V would be also producing a max current of 1 amp.

5V 2 amp could probably be achieved by extracting a calculated tap from secondary and terminated out without a 7805.
ASPERO Research said…
how to calculate Transformer parameter to increase current?
Jeran Toledo said…
Sir, how to make a pcb layout of dual porarity variable output power supply i want to see a diagram
Jeran Toledo said…
Sir how to make power supply 12v. With switch
Mark Anthony said…
Good day to you sir..
Can you pls help me design an smps for 12volts for an led with label dw-5630-6led-2b3c. With an LDR switch.
Im a newbie on electronics and wanted to learn more.cheaper parts would be much appreciated.
Swagatam said…
Good day Mark, please tell me the voltage and current specifications of the LEd, you can get it from the datasheet of the part, that will help me to understand your requirement in detail
Mark Anthony said…
Quantity: 3; Emitter Type: 5630 SMD; Total Emitters: 6; Power: 3 W; Color BIN: White; Rate Voltage: 10 V
Mark Anthony said…
The current is 1amp.i have many question and problems.hope you could help me learn more..
Swagatam said…
dividing 3 by 10 gives 0.3 amps

multiplying it by 3nos gives around 1 amp.

It means you can use the SMPS circuit that's explained in the above article for your need...
R6 or R7 can be suitably adjusted for reducing the 12V to 10V
Mark Anthony said…
Tnx for your help... can i ask what is the voltage needed for the ldr?
Swagatam said…
you can connect the LDR in parallel with R6, during daytime this combination will hopefully keep the opto switched ON and the SMPS output switched OFF
Mark Anthony said…
Tnx for your help sir.. your ideas are great.
gani saputra said…
Dear sir Swagatam. Using ferrite core of cfl is Ok, by removing out all copper wire and then change to the new one as the data showed here as freq nearly same and hole loc Ok.
Swagatam said…
Gani, yes you can try it...if the winding comfortably accommodate in the trafo then surely you might succeed in making it work.
Mark Anthony said…
Good day to you sir swagatam..
A new problem came up.
When my ldr is lighted and decreases risistance the smps increases its voltage.thats the reason why my led wont go totally off.does putting a regulator would help(lm7810) solve the issue?
Hoping to learn more from you sir..
Tnx
Swagatam said…
Mark, manually experiment by changing the R6 or R7 values and identify which adjustment causes the most effective disabling of the output...you can then put the LDR in parallel with that resistor for the required response
Mark Anthony said…
Sorry to cause you so much trouble.but actually the smps i was refering to was an already made one.with some smd type of parts.
Is there a way i can modify it outside the already made smps??
Swagatam said…
in that case you can use an external light activated switch such as this one:

https://homemade-circuits.com/2012/01/how-to-make-light-activated-day-night.html
Swagatam said…
modifying the smps circuit could be difficult without studying the stages carefully
Mark Anthony said…
I gave up on modifing the already made smps and returned it to my friend.instead ill copy your design.

https://homemade-circuits.com/2011/12/cheap-yet-useful-transformerless-power.html

with 12v(load)led in series and ldr in the middle. I have some question.

Do i need to adjust or raise the voltage so that the led would make its highest performance? My parts are

Ldr
Transistor npn
100k variable resistor
1k resistor

Is it ok to add regulator ic.lm7812.i got some spare.just for added protection.
Swagatam said…
Hi Mark, I am not sure exactly what you are intending to make, I guess the following circuit might be more suitable to your need

https://homemade-circuits.com/2011/12/simple-led-automatic-daynight-lamp.html
Mark Anthony said…
Ok.tnx for advice.ill try that one.
Faiq Ahmed said…
Aoa how r u? Brother i have made it but problem is that it show 12 v on DMM but when i connect with led light it drop to 8 volts .where is problem?
Swagatam said…
yes it is designed to work with 220V mans, I think you might have done something wrong in the design...get a professional help from any nearby source
Swagatam said…
Hi Faiq, what is the voltage and current specs of the LED??
Please note that the transformer is the cubical element in this design and in fact that's true in all SMPS designs....so make sure you have built the transformer with utmost accuracy....if possible please get it build from a professional winder...
Swagatam said…
sorry there's a typo in the above comment....I meant to say crucial and not cubical...
Hi, can I buy that transformer at any electronics store or I have to build it myself???
Swagatam said…
Hi, you will need to build it yourself or get it made-to-order, ....it's not available ready-made.
Unknown said…
Sir. What does chassis ground mean and how is it different from ground symbol?
N how should i connect the chassis ground terminals in practice connection?
Nitishkumar Ar said…
What is chassis ground?
How is it different from the normal ground? N how should I connect the chassis ground terminals in practical connection?
Swagatam said…
chassis is supposed to be the metallic cabinet inside which the circuit is housed.

the negative line of the circuit is supposed to be connected with this metallic cabinet, and the metallic cabinet in turn is supposed to be connected to the mains earth pin via the mains cord.
Hi. can I still use LNK623 instead of using viper22a??
Swagatam said…
It cannot be used in the above design, LINK switches have their own specific circuit which you can follow
Harish Kr Singh said…
Hi, please tell me how to modify this circuit & transformer to make 24V DC/500mA output?
1. Will it work if I double the secondary winding and primary & auxiliary remain the same as in above circuit?
2. I'm planning to replace 7805 with 78L05 that will lower the output current to 5V/100mA, this will increase maximum current of 24V output. will this work?
2. Should I need to change value of L2, R3 or any other discrete component?
Swagatam said…
Hi, yes that's possible, you can try increasing the secondary turns to around 30 turns and also tweak the R6/R7 values to get 24V...a 780L5 can be used for restricting current, but a better way would be to make sure that the load connected with 78L05 is itself not rated to consume more than 100mA...
Faiq Ahmed said…
can you please understands me the feedback with voltage refrance how it works to regulate the voltage? also tell this topology is DCM or CCM .one more thing how this ic can use tfor both modes interchangeabily
Swagatam said…
Plaese refer to the datasheet of the IC for a detailed information about the design

application-notes.digchip.com/005/5-10593.pdf
Adrees mohmand said…
Hi sir.
This blog make my problem easy. but i have a question. if i increase the winding turn in parallel for achieving high current at output i-e (7A-10A), while keeping remaining circuit unchanged. Is this is possible.?
Swagatam said…
Thanks Adrees, sorry that may not be possible because the mosfet inside the IC itself is not designed to deliver that much current, the maximum rating being just 1 amp
Krishnam said…
Is the specific transformer available in market? Or have i to design it myself?
Swag said…
as far as I know it is not available in the market, you will have to build it according to the specified details
Okeya Boboye said…
Hello please I am trying to build a battery charger with this smps.
I want to obtain 12V, 3A for the output.
Input would be about 220V, 50Hz.
How can I manipulate your design and also select the right material, that will give this requirement?.
Thank you
Swag said…
Hello,
sorry higher current than 1 amp may not be possible from this design unless voltage output is reduced below 12V, because the IC is rated to handle a maximum of 1 amp
Madubuze said…
Hi Swag!

What is that symbol that seems to be an "E" facing down? Is that the chassis ground symbol?
Swag said…
Hi Madubuze, yes that's the symbol for the chassis connection
Babboo said…
25 years back if you had asked me to repair any transistor radio, even the ones that came tied in a gunny sack with thousands of pieces - I WOULD HAVE GUARANTEED ITS REPAIR to its near original state. NOW i AM ONLY WATCHING my younger brethren making things work, and believe me I enjoy a lot because they modt certainly stir up whatever grey cells are left up in my brain. Recently a similar smps circuit repaired by some one on you tube employed 8022 (either AP 8022 or AD 8022, i cant say) and repaired a 12V 1A smps supply. I have seen the application circuit on the manufacturers' site and wish someone could make and tell me in such details as the instant example. Is anybody watching?
mahmoud said…
Hello,
Can I use the viper12a instead of viper22 in the circuit?
Swag said…
yes you can but the output current will be reduced to 350mA
Jeddy Qazorla said…
Sir..simple SMPS using IC TNY267..ee19 used gapped or non gapped? and what L value for primary winding?

Thanks.
Swagatam said…
Hi Jeddy, it should be always gapped, with a piece of paper or insulation tape. I don't know about the inductance value, however the number of turns as given is quite sufficient for the required results

Contact me for Customized Circuits

Name

Email *

Message *


 Follow on G+  Follow on Facebook   Follow on Tweeter  Follow on G+  Follow on G+

Follow Homemade Circuits