Stairs.  Entry group.  Materials.  Doors.  Locks.  Design

Stairs. Entry group. Materials. Doors. Locks. Design

» A simple low-power switching power supply. A simple switching power supply made from an energy-saving lamp. The disadvantages of pulse technology include

A simple low-power switching power supply. A simple switching power supply made from an energy-saving lamp. The disadvantages of pulse technology include

!
In this article, together with Roman (author of the YouTube channel “Open Frime TV”), we will assemble a universal power supply on the IR2153 chip. This is a kind of “Frankenstein” that contains the best qualities from different schemes.

The Internet is full of power supply circuits based on the IR2153 chip. Each of them has some positive features, but the author has not yet encountered a universal scheme. Therefore, it was decided to create such a diagram and show it to you. I think we can go straight to it. So, let's figure it out.


The first thing that catches your eye is the use of two high voltage capacitors instead of one 400V capacitor. This way we kill two birds with one stone. These capacitors can be obtained from old computer power supplies without spending money on them. The author specially made several holes in the board for different sizes of capacitors.








If the unit is not available, then the prices for a pair of such capacitors are lower than for one high-voltage one. The capacitance of the capacitors is the same and should be at the rate of 1 µF per 1 W of output power. This means that for 300W of output power you will need a pair of capacitors of 330uF each.




Also, if we use this topology, there is no need for a second decoupling capacitor, which saves us space. And that is not all. The voltage of the decoupling capacitor should no longer be 600 V, but only 250 V. Now you can see the sizes of capacitors for 250V and 600V.




The next feature of the circuit is power supply for IR2153. Everyone who built blocks on it encountered unrealistic heating of the supply resistors.




Even if you put them on during recess, a lot of heat is released. An ingenious solution was immediately applied, using a capacitor instead of a resistor, and this gives us the fact that there is no heating of the element due to the power supply.


The author of this homemade product saw this solution from Yuri, the author of the YouTube channel "Red Shade". The board is also equipped with protection, but the original version of the circuit did not have it.






But after tests on the breadboard, it turned out that there was too little space to install the transformer and therefore the circuit had to be increased by 1 cm, this gave extra space for which the author installed protection. If it is not needed, then you can simply install jumpers instead of the shunt and not install the components marked in red.




The protection current is regulated using this trimming resistor:


Shunt resistor values ​​vary depending on the maximum output power. The more power, the less resistance needed. For example, for power below 150 W, 0.3 Ohm resistors are needed. If the power is 300 W, then 0.2 Ohm resistors are needed, and at 500 W and above we install resistors with a resistance of 0.1 Ohm.


This unit should not be assembled with a power higher than 600 W, and you also need to say a few words about the operation of the protection. She's hiccupping here. The starting frequency is 50 Hz, this happens because the power is taken from an alternator, therefore, the latch is reset at the mains frequency.




If you need a snap-on option, then in this case the power supply for the IR2153 microcircuit must be taken constant, or rather from high-voltage capacitors. The output voltage of this circuit will be taken from a full-wave rectifier.


The main diode will be a Schottky diode in a TO-247 package; you select the current for your transformer.


If you don’t want to take a large case, then in the Layout program it’s easy to change it to TO-220. There is a 1000 µF capacitor at the output, it is sufficient for any currents, since at high frequencies the capacitance can be set to less than for a 50 Hz rectifier.




It is also necessary to note such auxiliary elements as snubbers in the transformer harness;


smoothing capacitors;


as well as a Y-capacitor between the high and low side grounds, which dampens noise on the output winding of the power supply.


There is an excellent video about these capacitors on YouTube (the author attached the link in the description under his video (SOURCE link at the end of the article)).


You cannot skip the frequency-setting part of the circuit.


This is a 1 nF capacitor, the author does not recommend changing its value, but he installed a tuning resistor for the driving part, there were reasons for this. The first of them is the exact selection of the desired resistor, and the second is a slight adjustment of the output voltage using frequency. Now a small example, let's say you are making a transformer and see that at a frequency of 50 kHz the output voltage is 26V, but you need 24V. By changing the frequency, you can find a value at which the output will have the required 24V. When installing this resistor, we use a multimeter. We clamp the contacts into crocodiles and rotate the resistor handle to achieve the desired resistance.




Now you can see 2 prototype boards on which tests were carried out. They are very similar, but the protection board is slightly larger.


The author made the breadboards in order to order the production of this board in China with peace of mind. In the description under the author's original video, you will find an archive with this board, circuit and seal. There will be both the first and second options in two scarves, so you can download and repeat this project.

After ordering, the author was impatiently waiting for the payment, and now they have already arrived. We open the parcel, the boards are packed quite well - you can’t complain. We visually inspect them, everything seems to be fine, and immediately proceed to soldering the board.








And now she is ready. It all looks like this. Now let’s quickly go through the main elements not previously mentioned. First of all, these are fuses. There are 2 of them, on the high and low sides. The author used these round ones because their sizes are very modest.




Next we see the filter capacitors.


They can be obtained from an old computer power supply. The author wound the choke on a T-9052 ring, 10 turns with 0.8 mm wire, 2 cores, but you can use a choke from the same computer power supply.
Diode bridge - any, with a current of at least 10 A.


There are also 2 resistors on the board for discharging the capacitance, one on the high side, the other on the low side.

They are smaller in size and have greater efficiency; however, they are much more difficult to manufacture and often burn out due to incorrect calculation of the transformer or board layout (or something else incorrect). You can make a low-power switching power supply with your own hands if you use one of the microcircuits:
TNY263 at 7.5 W,
TNY264 at 9 W,
TNY265 at 11 W,
TNY266 at 15 W,
TNY267 at 19 W,
TNY268 at 23 W (power for open sources);
use the program, a freely distributed program, PI Expert, which can be downloaded (registration is required for downloading) from the official website www.powerint.com of Power Integrations and route the board according to the recommendations in the documentation or the PI Expert program. The installer of this program takes up about 78MB of memory. At the time of writing this article, to download, you need to go to Design Support-PI Expert TM Design Software-PI Expert Download - fill out the fields and click the "Submit" button (before all this, of course, you need to register and log into your account). The power supply circuit is generated by the program, but you can use the following:

Figure 1 - Switching power supply 9V, 1A


This power supply is a switching buck flyback converter. The TNY266 chip has a built-in field-effect transistor that opens with a frequency of 132 kHz; when this transistor is open, the current through the primary winding increases and energy accumulates in the transformer; when this transistor closes, an EMF occurs in the secondary winding, diode VD3 opens and current flows to the load. Diode VD3 should be a powerful Schottky diode or a regular one, with a p-n junction, but fast. Elements C3, R2, VD2 are needed in order to protect the microcircuit from high voltage in the absence of sufficient load. the transformer will still output the energy outside. Despite the presence of protection, it is better not to turn on this power supply without a load, or you can put a resistor with a high resistance at the output, just in case. It is also better not to create a short circuit or too much load at the output because... due to high current, the VD3 diode will burn out. Capacitor C2 is needed to power the microcircuit at those moments when the field-effect transistor of this microcircuit is open, because the frequency is high (132 kHz), 0.1 μF is enough. There is a resistor with a resistance of 11 Ohm at the input to reduce current surges through the diode bridge. Optocoupler U2, zener diode VD4 and resistors R3-R5 create feedback for the correct operation of the U1 microcircuit; the resistance of these resistors and the stabilization voltage of the zener diode are determined by the PI Expert program. If you need a source with a different output voltage and current, then it is enough to recalculate only the transformer and resistors R3-R5, if the output current is more than 3A, then select VD3 with a higher current, the rest can be left as is. It’s better to start with a transformer; for it you need to find a core with a gap, for example, you can take a core from a transformer from a TV:

The type of core is determined by its length, for example, if the length is 28mm, then it is an EE28 core.
There are also cores: EE16, EE19, EE20, EE22, etc. from EE5 to EE320 (or maybe there are some others). The transformer must have a gap and be suitable in power. If the program displays an error message, you need to make the necessary corrections. When you first start the program, select file-create from the menu

Select TnySwitch in the "Product Line" field and click "Next"

Click "Add..." select voltage and current and click "OK"

Click "Select"

A diagram will appear in front of you, double-click on the transformer, select the core and click "OK"

Go to the "transformer design" tab and make a transformer as written in the instructions

The windings must be wound exactly turn to turn.

It is very important not to make a mistake with phasing
Go to the "Scheme" tab

You can install a zener diode and a resistor as in the diagram, you can select another zener diode (similar to what was done with a transformer), in this case the program will add a resistor in series with the zener diode, you can also assemble a power supply according to the diagram in the program. A recommended example of PCB layout will appear if you go to the "Layout" tab

It is better to download the program in Russian.
The board can be made using a file from foil fiberglass:

The main thing is to do it carefully and not break the file.

A more detailed example of assembling and testing a block can be seen in the video:
The track from pin 5 of the TNY266 chip to the transformer should be as short as possible.
The DB107 diode bridge in the photo above is upside down. TNY266PN can be inexpensively ordered from the link http://ali.pub/txdeu, the transformer is removed (then rewound) from the board from the TV for free, the remaining parts are not very expensive and most of them can also be removed from the TV or ordered inexpensively.
The power supply is ready! Finally, I remind you that such (return) sources cannot be overloaded and cannot be underloaded. Although there are protections in the scheme, it is better not to abuse them.

DC power supplies are needed not only by radio amateurs. They have a very wide scope of application, and therefore most home craftsmen use them to one degree or another. This article describes the main types of voltage converters, their characteristic differences and applications, and how to make a simple power supply with your own hands.

Doing it yourself will save you a lot of money. Once you understand the device and operating principle, you can easily repair this device.

Areas of use

These devices have a very wide range of applications. Let's look at the main uses. To save battery life, low-voltage power tools are connected to homemade power supplies. Such devices are used for connecting LED lighting devices, installing lighting in rooms with high humidity and danger of electric shock, and for many other purposes not directly related to radio electronics.


Device classification

Most power supplies convert AC mains voltage of 220 volts into DC voltage of a given value. Moreover, the device is characterized by a large list of operating parameters that must be taken into account when purchasing or designing.

The main operating parameters are output current, voltage and the ability to stabilize and adjust the output voltage. All these converters are classified into two large groups according to the conversion method: analog and pulse devices. These groups of power supplies have strong differences and are easily distinguished from the photo at first glance.

Previously, only analog devices were produced. In them, voltage conversion is carried out using a transformer. Collecting such a source is not difficult. Its scheme is quite simple. It consists of a step-down transformer, a diode bridge and a stabilizing capacitor.

Diodes convert AC voltage to DC voltage. The capacitor further smoothes it out. The disadvantage of such devices is their large dimensions and weight.

A 250-watt transformer weighs several kilograms. In addition, the voltage at the output of such devices can change due to external factors. Therefore, to stabilize the output parameters in such devices, special elements are added to the electronic circuit.

High-power power supplies are manufactured using transformers. It is advisable to use such devices for charging car batteries or for connecting electric drills to save the life of lithium batteries.

The advantage of such a device is the galvanic isolation between the two windings (with the exception of autotransformers). The primary winding connected to the high voltage network has no physical contact with the secondary winding. A reduced voltage is generated on it.

Energy transfer is carried out using an alternating current magnetic field in the metal core of the transformer. If you have minimal knowledge in radio electronics, it is easier to assemble a classic adjustable power supply using a transformer with your own hands.


With the development of electronic technology, it has become possible to produce cheaper semiconductor voltage converters. They are very compact, light in weight and have a very low price. Thanks to this, they became market leaders. Every apartment uses several different power supplies.

Unfortunately, most modern devices do not have galvanic isolation from the power supply. Because of this, quite often people die who use the device while charging a cell phone or other equipment and at the same time take a bath or wash their face.

If safety precautions are followed, there is no danger to a person. These devices are quite low in cost and when they break down, they often do not try to repair them, but purchase a new device. However, if you understand the circuits and operating principles of switching power supplies, you can easily both repair such a power supply and assemble a new device.

Switching power supplies

Let's look at the design and operating principle of switching power supplies. In such devices, the alternating mains voltage is converted into high-frequency voltage at the input. To transform high-frequency currents, it is not large transformers that are required, but miniature electromagnetic coils. Therefore, such converters easily fit into small housings. For example, they can easily be placed in the plastic socket of an energy-saving lamp.


The layout of such a power supply in a small device does not cause any problems. For reliable operation, it is necessary to provide the possibility of cooling the heating elements of the electronic circuit on special metal radiators. The converted voltage is rectified using high-speed diodes and smoothed at the output filter.

The disadvantage of such devices is the inevitable presence of high-frequency interference at the output of the converter, despite the presence of special filters. In addition, pulsed devices use special output voltage stabilization circuits.


The switching power supply can be purchased as a separate unit, ready for installation in the device. You can also assemble this device yourself using widely available diagrams and instructions for assembling power supplies.

It should be taken into account that self-assembly may be more expensive than a purchased product purchased online in the Asian market. This may be due to the fact that electronic components are sold at a higher markup than the manufacturer's markup in China for the assembly of the product and its delivery. In any case, having understood the structure of such devices, it will be possible not only to assemble such a device yourself, but also, if necessary, to repair it. Such skills will be very useful.

If you want to save money, you can use switching power supplies from personal computers. Often, a faulty personal computer contains a working unit. They require minimal modification before use.

Such power supplies have idle protection. They must be under load at all times. Therefore, in order to avoid shutdown, a constant resistance is included in the load. Such modernized units are used primarily to power household power tools.

DIY photo of power supplies

To reduce and rectify the mains voltage to 12 V in the traditional way, energy is transferred in series. You will need the blocks shown in the block diagram.

The power transformer at the input reduces the voltage from 220 volts to 15, with a margin, so that later in further circuits it, inevitably losing value during rectification and smoothing, drops just to the required 12 volts. The rectifier is made in the form of a bridge of low-voltage diodes, the result of which is a constant-sign pulsating voltage. It is done in such a way that two half-cycles alternately pass through one pair of diodes, then through the other, and at the output the voltage begins to “twitch” in only one direction. The smoothing circuit contains an inertial element accumulating charges - a high-capacity capacitor. It charges from a pulse and slowly maintains the voltage with its leisurely discharge until the next pulse arrives. This is called smoothing, but additional stabilization of the output voltage is also done so that it is less affected by the load value.

The advantage of such a circuit is that the transformer at the input immediately “decouples” all further circuits from the high input voltage. Only for this you have to pay with a physically large power transformer. In our case, a transformer that supplies a more or less suitable device power, for example, 300 watts (an old TV), should weigh about 4 kg. Well, of course, I put it, such a power supply, on the floor, and it stands without asking for porridge. But what about small devices? Is it really possible to roll it with you on a cart? In addition, a large mass of iron operating at a small load generates low efficiency - about 50%.

Well, the price, proportional to the mass of the device, forces us to come up with something more miniature in all respects.

Switching power supplies

In switching power supplies, first of all, they got rid of the bulky step-down transformer. The voltage is immediately rectified, and it powers the pulse generator, the voltage of which can then be lowered to any desired level. Moreover, the dimensions of the step-down transformers directly depend on the frequency produced by the generator - the higher the frequency, the smaller the transformer. And then this power, straightened again, is used in the device.

It can be seen that the traditional power supply has moved to the lower floor; in addition, there is feedback that additionally adjusts the inverter (pulse generator)

The power transformer here is pulse, it works after the pulse generator. It is high-frequency, since the generator frequency is about 20–100 kHz. The core material used is not ordinary transformer iron, but ferrimagnets, materials based on structured iron oxides that perform their function better at high frequencies.

The windings of such a transformer have polarity, this plays a role when connecting the beginning and end of the windings.

It is quite possible to make such power supplies very small, as can be seen on the power supplies of energy-saving lamps - they fit into the lamp base.

By the way, the power supply (ballast) of such a lamp can be used for another purpose. Or rather, for its intended purpose, but in a different device, when the lamp - ultra-reliable and economical - still burns out.

The output rectifier after the transformer is made on the basis of Schottky diodes, which have a lower internal capacitance than conventional diodes, and therefore work better at high frequencies.

The feedback circuit calibrates the generator pulses with an error signal, which causes it to produce pulses of longer duration, the more the output voltage differs from the desired nominal value. This transfers more power to the output and equalizes the voltage.

The flyback control unit of the inverter creates a galvanic connection of the output circuit to the input voltage circuit. To get rid of this, optocouplers are used - optical transmission devices, electrical signal-light-electrical signal converters.

Example of a simple switching power supply

Nowadays, modern electronic consumer devices are all produced with switching power supplies. Therefore, it’s easy to make it yourself from parts from other switching power supplies (SMPS), but taking a ready-made unit or charger and slightly altering it to suit your voltage is even easier.

A switching power supply, that is, an inverter power supply, is characterized only by the output voltage and rated power. They all have normal inputs - 220 V. For communication devices, modems, for example, a 24 V switching power supply is often found. Laptops most often take 19 V. All UPSs that have a USB type output produce 5 V. For everything else , for example, LED strips, most often require the familiar and beloved voltage of 12 V from car batteries.

You can take a ready-made switching power supply, reconfiguring it to the required output voltage,

Or you can assemble it yourself on the board, using the simplest circuit.

The elements are easily purchased at circuit component stores.

In addition to assembling the elements on the board, using this description, you can also make a pulse transformer with your own hands.

Disadvantages of pulse power supplies and ways to eliminate them

Since rectangular pulses are “not feng shui” - they have sharp rises and falls in voltage (leading and trailing edges of the pulses), this generates high-frequency interference that can pass through circuits with low capacitance. They usually do not affect the power part of various devices, but in smart circuits they can turn out to be a noticeable unwanted interference.

Often, to power computers, surge protectors and pilots are used, which contain such a function - suppression of high-frequency interference. But pulse power supplies themselves can be a source of such noise signals, so it is necessary to apply additional filtering of such noise at the output.

Switching power supplies are critical to the load ratings; the power they supply should not differ too much, either in excess or in the direction of underestimation. Feedback adjustment is done so that in digital devices that such a power supply supplies with voltage, during operation, the usual power fluctuations for them, occurring from turning on/off some blocks, registers, etc., do not deteriorate normal operation. These oscillations occur around some average power value and should not systematically deviate here or there.

In real power supplies, special protection is provided against operation in an underloaded or overloaded state.

A switching power supply is an inverter system in which alternating voltage is converted to direct voltage, and then high-frequency pulses are formed from it. Such a device is quite expensive and only wealthy people can buy it. All those who do not belong to this category try to make the device with their own hands. To do this, you will need the necessary materials and a 12 V 5A switching power supply circuit.

General information

Before you make a switching power supply with your own hands, you need to study in detail its design features, principle of operation, advantages and disadvantages. Using this information, you can speed up the creation process, as well as make the device better and more durable.

Components

Most often, a homemade switching power supply is made according to a standard design using some important elements. It is used to adjust the input voltage when powering LED lamps or other lighting devices. The block design includes several components:

Principle of operation

The switching power supply is characterized by its simplicity of operation. Not only a specialist, but also a beginner with basic knowledge in this area can easily understand it. Because of this, the devices are considered the most affordable and are often used to achieve various purposes. They work as follows:

  1. The AC input voltage is converted to DC.
  2. Then it takes the form of a high-frequency rectangular pulse and is fed to the transformer.
  3. There, with the help of negative feedback, the process of voltage stabilization occurs.

Feedback can be created in one of two ways. Both of them allow you to perform the assigned functions efficiently and avoid unforeseen situations. Ways to organize feedback:

  1. Without creating decoupling (a resistor voltage divider is used).
  2. With galvanic isolation (transformer winding output or optocoupler).

The process of maintaining the output voltage occurs similarly.

Advantages and disadvantages

A self-made switching power supply, like any other device, has several advantages. Thanks to them, the design is very popular and is often used in one or another field of human activity. The positive aspects of the power supply include the following factors:

Despite the large number of advantages, the design also has several disadvantages. They must be taken into account, as they will avoid malfunctions and reduce the risk of poor-quality operation of the device. Among the disadvantages are the following:

  1. Difficulties in independently adjusting device parameters.
  2. Strong impulse noise.
  3. The need to supplement the circuit with power factor compensators.
  4. Difficulty in carrying out repair and maintenance work.
  5. Low degree of reliability.

DIY making

In order for the device to work correctly and perform the functions assigned to it, a number of rules must be followed. With their help, you can achieve the desired result and reduce the likelihood of errors.

During the manufacture of a switching power supply, you should take into account not only the advice of part manufacturers, but also the recommendations of specialists. They will help beginners avoid most simple mistakes and get the job done in the shortest possible time. Pro Tips:

  1. In most cases, the power supply circuit does not require special filters or feedback.
  2. Of the many field effect transistors, it is recommended to buy IR type parts. They withstand elevated temperatures well and do not deteriorate under prolonged exposure to heat.
  3. If in a self-assembled structure the transistors become very hot during operation, then an additional cooling device (fan) should be installed.

Required materials and tools

Before you begin manufacturing the device, you need to prepare all the necessary materials and tools. Thanks to this, you will not be distracted while working to find this or that item. In the process of creating the device you will need:

In addition to the components of the structure, it is necessary to prepare various tools. They will be used to assemble the device, so they must be of high quality and easy to use.

Required tools:

  • pliers;
  • screwdrivers of different sizes;
  • tweezers;
  • soldering equipment;
  • consumables for soldering.

Build process

After all the preparatory activities have been completed, you can begin assembling the device with your own hands. The circuit of switching power supplies is drawn up in advance. This work can be done independently or with the help of a specialist.

The first option is much cheaper, but requires the master to have knowledge in the field of electronics and a lot of time.

Step-by-step instruction:

Device testing

In order to check the assembled pulsed energy source for functionality, you need to perform a few simple steps. They will help identify various problems and errors made during the assembly process. Procedure:

  1. The first short-term connection of the device to the circuit is performed.
  2. If everything is done correctly, the light should light up, indicating that power is supplied to the device.
  3. Then you should leave the power supply in working condition for a few minutes.
  4. After this time, you must turn off the device and check the temperature of all its parts. Heating of one or more elements will indicate an error was made during the assembly process.
  5. At the second start, the voltage value is determined. This operation can be performed using a special tester.
  6. The power supply is left running for approximately 1 hour.
  7. After the specified period of time, the elements are checked for the degree of heating.
  8. If none of the elements become hot, then they are all checked for high current after turning off the power.

Safety precautions

When operating the pulse unit, you must adhere to simple safety rules. They will help to avoid injuries of varying severity and reduce the likelihood of an emergency. Basic precautions:

A pulsed energy source is a useful and necessary device that you can not only buy ready-made, but also make it yourself. The second option is more popular, as it allows you to get a high-quality device with minimal financial and time costs.

By following professional advice and safety rules, you can significantly reduce the risk of injury and avoid accidents.