The following content explains two simple 12V, 1 Amp switch mode power supply (SMPS) circuit using the very reliable VIPerXX IC from ST microelectronics.
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:
1) SMPS using VIPer22A
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 VIPer22A 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.
You may also want to read this: 24watt, 12V, 2 amp SMPS using a single IC Most recommended for you.
Circuit Diagram


PCB Layout

Transformer Winding Data

Parts List

For the original datasheet please refer to this article.
2) Another 12V 1 amp simple SMPS using IC TNY267

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 SWG 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.
hi,
where do I get the detailed design on the smps ferrite transformer with flyback topology.I searched many on the design.
Hi, you can refer to the following post:
https://www.homemade-circuits.com/how-to-design-and-calculate-ferrite-core-transformers-for-inverters/
The actual purpose of use of PC 817 opto coupler along with fixed volts zener diode and resistor voltage regulator in the SMPS system of stepping down of emf voltsges……..
What is the meaning of the SWK WORD
There’s no SWK work in the article.
Please explain the 36SWK and 26SWK Wörds
They are SWG super enameled copper wires.
What is the diameter of the wire for trasformer
You can use any online software for converting SWG to mm
Dear sir,
I want to design
please share me 12v 1A schematic for non isolated without optocoupler
Arkesh, optocoupler is a must otherwise the output will float with dangerous mains AC voltage.
Hello Swagatam!
Good evening from Nigeria.
Please I have a serious issue with this design; I have built this circuit up to 4 times and in all, they work very well without load. But anytime I connect load such as relay, the voltage drops to almost 2.5volts. and when this happens, the opto-coupler will begin to make clicking sounds; but when I removed the load, the voltage goes back to normal and the clicking sound stops.
I made another one to serve as a charger for my cordless drill machine 21volts; the smps voltage is about 24volts on no load but when the batteries are connected, the voltage drops to about 18volts and the clicking sound begins to produce again. I have tried series of options but none could solve the problem. I used EE25 and tny268P tiny switching IC.
Hello Kingsley,
If your SMPS is dropping voltage when loaded then definitely it is due to a wrongly constructed transformer. The transformer is the crucial element of these SMPS circuits, and if it is not built optimally then the performance might suffer.
Also, Try using a bifilar type of wire for the transformer. Bifilar means using a bunch of thin wires together and winding them in parallel.
I think EE25 is quite big for the above SMPS designs. As mentioned in the winding details the E core size must be E19/8/5
Thank you sir for your response. Please I want to clarify something about the transformer and I wish to ask: do I have to make the primary turns half, then the secondary before completing the second half of the primary?
If not, then I think the transformer was wound very tight and the wires are padded tightly parallel to each other. I used single strand of 36AWG wire to make the primary turns and 3 strands of the same 36AWG wire to make the secondary.
I want to note that I made the primary turns in full before making the secondary turns.
I don’t think sandwiching the secondary between the primary is absolutely necessary. Normally the primary is wound over the secondary winding with a isolating tapes in between and on top.
The secondary winding which has higher number of turns must be wound first, after winding the secondary then the primary must be wound over the secondary.
Also the EE size must be as specified in the table.
Good evening Sir,
Finally the circuit is working. There was a problem with the core Ee 19. The core was not working above 35khz . I have bought ee25 core from Amazon and the core worked well with the prescribed winding direction. The ic is getting bit heated . I have used a aluminium heat sink Sir . Thank you very much Sir .
That’s great Shantanu, I am glad you could build the circuit successfully. I hope the other readers will find it inspiring!
Thank you Sir . Sir kindly let me know the direction of the windings of primary,secondary and auxiliary coils of the transformer.
Sir can you please provide me a low-cost circuit diagram which can generate square wave frequency between 25khz to 35 khz.
Thank you Sir . Subho Navami Sir.
Hi Shantanu, the direction of the winding is shown in the transformer winding layout diagram. The black dots indicate the start of the winding, the direction of the winding are identical for all the winding.
For a square wave generator you can refer to the following article:
Square Wave Oscillator Circuits
Wish you a Subho Navami to you also