Do it yourself
Life hacks, master classes, useful tips, recipes.
home » Electronics » DIY power supply » Powerful power supply with current protection

Every person who assembles electronic circuits needs a universal power source that allows them to vary the output voltage over a wide range, control the current, and, if necessary, turn off the powered device. In stores, such laboratory power supplies are very expensive, but you can assemble one yourself from common radio components.

The presented power supply includes:

  • Voltage adjustment up to 24 volts;
  • The maximum current supplied to the load is up to 5 amperes;
  • Current protection with a choice of several fixed values;
  • Active cooling for operation at high currents;
  • Dial current and voltage indicators;

Voltage regulator circuit

The simplest and most affordable option for a voltage regulator is a circuit on a special microcircuit called a voltage stabilizer. The most suitable option is LM338, it provides a maximum current of 5 A and a minimum of output ripple. LM350 and LM317 are also suitable here, but the maximum current in this case will be 3 A and 1.5 A, respectively.A variable resistor is used to regulate the voltage; its value depends on the maximum voltage required to be obtained at the output. If the maximum output required is 24 volts, a variable resistor with a resistance of 4.3 kOhm is required. In this case, you need to take a standard 4.7 kOhm potentiometer and connect a 47 kOhm constant in parallel with it, the total resistance will be approximately 4.3 kOhm. To power the entire circuit, you need a DC source with a voltage of 24-35 volts, in my case this is a regular transformer with a built-in rectifier. You can also use laptop chargers or other various pulse sources that are suitable for current.

This voltage regulator is linear, which means that the entire difference between the input and output voltage falls on one chip and is dissipated on it in the form of heat. At high currents this is very critical, so the microcircuit must be installed on a large radiator; a radiator from a computer processor, paired with a fan, is best suited for this. To ensure that the fan does not spin all the time in vain, but turns on only when the radiator heats up, it is necessary to assemble a small temperature sensor.

Fan control circuit

It is based on an NTC thermistor, the resistance of which varies depending on the temperature - as the temperature increases, the resistance decreases significantly, and vice versa. The operational amplifier acts as a comparator, registering changes in the resistance of the thermistor. When the operating threshold is reached, voltage appears at the output of the op-amp, the transistor unlocks and starts the fan, along with which the fan lights up. Light-emitting diode. The trimming resistor is used to adjust the response threshold; its value should be selected based on the resistance of the thermistor at room temperature. Let's say the thermistor has a resistance of 100 kOhm, the trimming resistor in this case should have a nominal value of approximately 150-200 kOhm. The main advantage of this scheme is the presence of hysteresis, i.e. differences between the thresholds for turning the fan on and off. Thanks to hysteresis, the fan does not switch on and off frequently at temperatures close to the threshold. The thermistor is wired directly to the radiator and installed in any convenient place.

Current protection circuit

Perhaps the most important part of the entire power supply is the current protection. It works as follows: the voltage drop across the shunt (0.1 Ohm resistor) is amplified to a level of 7-9 volts and is compared with the reference using a comparator. The reference voltage for comparison is set by four trimming resistors in the range from zero to 12 volts, the input of the operational amplifier is connected to the resistors through a 4-position flip switch. Thus, by changing the position of the biscuit switch, we can choose from 4 preset options for protection currents. For example, you can set the following values: 100 mA, 500 mA, 1.5 A, 3 A. If the current set by the slide switch is exceeded, the protection will work, the voltage will stop flowing to the output and the Light-emitting diode. To reset the protection, just briefly press the button, the output voltage will appear again.The fifth trimming resistor is necessary to set the gain (sensitivity); it must be set so that with a current through the shunt of 1 Ampere, the voltage at the output of the op-amp is approximately 1-2 volts. The hysteresis setting resistor for the protection is responsible for the “clearness” of the circuit’s latching; it needs to be adjusted if the output voltage does not disappear completely. This circuit is good because it has a high response speed, instantly turning on the protection when the current is exceeded.

Current and voltage display unit

Most laboratory power supplies are equipped with digital voltmeters and ammeters that display values ​​as numbers on a display. This option is compact and provides good accuracy of readings, but is completely inconvenient to read. That is why it was decided to use arrow heads for indication, the readings of which are easy and pleasant to perceive. In the case of a voltmeter, everything is simple - it is connected to the output terminals of the power supply through a trimming resistor with a resistance of approximately 1-2 MOhm. For proper operation of the ammeter, a shunt amplifier is required, the circuit of which is shown below.

A trim resistor is needed to adjust the gain; in most cases, it is enough to leave it in the middle position (approximately 20-25 kOhm). The pointer head is connected via a biscuit switch, with which you can select one of three trimming resistors, with the help of which the maximum deviation current of the ammeter is set. Thus, the ammeter can operate in three ranges - up to 50 mA, up to 500 mA, up to 5A, this ensures maximum accuracy of readings at any load current.

Power supply board assembly

Printed circuit board:

Now that all theoretical aspects have been taken into account, we can begin assembling the electronic part of the structure. All elements of the power supply - voltage regulator, radiator temperature sensor, protection unit, shunt amplifier for the ammeter - are assembled on one board, the dimensions of which are 100x70 mm. The board is made using the LUT method; below are several photographs of the manufacturing process.

It is advisable to tin the power paths along which the load current flows with a thick layer of solder to reduce resistance. First, small parts are installed on the board.

After that all other components. The 78L12 chip, which powers the temperature sensor and cooler, must be installed on a small radiator, the place for which is provided on the printed circuit board. Lastly, wires are soldered onto the board, on which the fan, thermistor, protection reset button, biscuit switches, LEDs, LM338 chip, voltage input and output. It is most convenient to connect the voltage input via a DC connector, but it must be taken into account that it must provide a large current. All power wires must be used with a cross-section appropriate for the current, preferably copper. The plus output from the printed circuit board goes to the output terminals not directly, but through a toggle switch with two groups of contacts. The second group turns on and off Light-emitting diode, indicating whether voltage is supplied to the terminals.

Housing assembly

The case can either be found ready-made or assembled yourself. You can make it, for example, from plywood and fiberboard, as I did. First of all, a rectangular front panel is cut out, on which all the controls will be installed.

Then the walls and bottom of the box are made, and the structure is fastened together with self-tapping screws. When the frame is ready, you can install all the electronics inside.

Controls, pointer heads, LEDs are installed in their places in the front panel, the board is placed inside the case, the radiator and fan are mounted on the rear panel. Special holders are used to mount LEDs. It is advisable to duplicate the output terminals, especially since space allows. The dimensions of the case turned out to be 290x200x120 mm; there is still a lot of free space inside the case, and, for example, a transformer to power the entire device can fit there.

Settings

Despite the many trimmer resistors, setting up the power supply is quite simple. First of all, we calibrate the voltmeter by connecting an external one to the output terminals. By rotating the trimming resistor connected in series with the pointer head of the voltmeter, we achieve equality of readings. Then we connect some load with an ammeter to the output and calibrate the shunt amplifier. By rotating each of the three subscript resistors, we achieve coincidence in the readings on each of the three measurement ranges of the ammeter - in my case it is 50 mA, 500 mA and 5A. Next, we set the necessary protection currents using four trimming resistors. This is not difficult to do, given that the standard ammeter is already calibrated and shows the exact current. We gradually increase the voltage (at the same time the current also increases) and see at what current the protection is triggered. Then we rotate each of the resistors, setting the four required protection currents, between which you can switch using a flip switch. Now all that remains is to set the desired response threshold of the radiator temperature sensor - the setup is complete.

Watch the video

come back
Comment
  • bowtiesmilelaughingblushsmileyrelaxed relaxedsmirk
    heart_eyeskissing_heartkissing_closed_eyesflushedrelievedsatisfiedgrin
    winkstuck_out_tongue_winking_eyestuck_out_tongue_closed_eyesgrinningkissingstuck_out_tonguesleeping
    worriedfrowninganguishedopen_mouthgrimacingconfusedhushed
    expressionlessunamusedsweat_smilesweatdisappointed_relievedwearypassive
    disappointedconfoundedfearfulcold_sweatperseverecrysob
    joyastonishedscreamtired_faceangryragetriumph
    sleepyyummasksunglassesdizzy_faceimpsmiling_imp
    neutral_faceno_mouthinnocent
4 minus one =
Comments (16)
  1. Sergey Zuev
    #1 Sergey Zuev Guests February 4, 2019 09:10
    13
    Of course, the work has been done, the scheme has been invented and executed, well done!
    however, now there is no need to fence such a garden. On Aliexspress for 200 rubles you can buy a switching power supply with adjustable voltage 1.2-35 V and current 0 - 5A. And right away with a digital display.
    1. Something tells me that you are lying.
      #2 Something tells me that you are lying. Guests 13 March 2019 13:59
      2
      Something tells me that you are lying.
  2. Guest Sergey
    #3 Guest Sergey Guests February 4, 2019 09:13
    5
    the case-box is simply classy
  3. Guest Sergey
    #4 Guest Sergey Guests 4 February 2019 14:02
    2
    I don't see any provision for ventilation of the case? But in vain.
  4. Valery Valerievich
    #5 Valery Valerievich Guests 4 February 2019 19:58
    1
    what nonsense!!! You can still make it more compact so that it takes up less space on your desktop. due to excessive excess weight due to the body. Well, if you're crazy about retro, at least there's a digital display with a current-voltage characteristic, otherwise what's retro if it's modern? LEDs stick out? so then insert ts270 trans and light bulbs as indicators. and if there is a real block to work with, then really make it simpler and more compact and lighter. Well, I'm shocked guys. modern age. Well, what the heck with it, an analogue ammeter for the reason that the digital lights are on fire and the analogue is bulky. but not the same!!! I’m ashamed of those who don’t take experience from the past and don’t develop the future. let him go make coffins, little changes there
    1. Malik Nizamutdinov
      #6 Malik Nizamutdinov Guests March 1, 2019 07:41
      5
      And you yourself make a good one and post it.
      This is a great power supply for beginners with its drawbacks. But it is clear and understandable. The author's goal is not to brag about how cool it is, but to show that it is possible to assemble something working from available components. You need to perceive such work as “Laboratory work” for beginners.
  5. Sergey Ripenko
    #7 Sergey Ripenko Guests February 5, 2019 06:26
    2
    What biscuits? What are they for? Why not a variable resistor?
    Why are the devices different sizes? Body - tear off your hands! Shame! I would be embarrassed
    show this “masterpiece” to someone
  6. Guest Alexander
    #8 Guest Alexander Guests February 7, 2019 01:36
    5
    Sorry, but how do you turn it on in 220? It turns out that you still need a step-down transformer with a rectifier, or a switching power supply?
  7. ZXL
    #9 ZXL Guests February 14, 2019 00:32
    1
    Handmade...hyyyy...
  8. Alexander Grigorievich
    #10 Alexander Grigorievich Guests March 1, 2019 10:15
    2
    The wretched body kills......
  9. Guest Andrey
    #11 Guest Andrey Guests 1 March 2019 14:15
    0
    Hello.
    Tell me how the indication circuit is connected to the main circuit. I apologize for the stupid question, I’m just taking my first steps and don’t quite understand everything.
  10. Alexander Viktorovich
    #12 Alexander Viktorovich Guests 13 March 2019 17:50
    5
    Powerful thermally insulated chipboard case and cooler with radiator.Like a heater in a refrigerator - who will win? Cool.

How to make drawers from a canister with your own hands

Decoupage master class | Do it yourself

Repair instructions, interesting reviews of equipment, disassembling devices | Page 4

Original invitation to a bachelorette party | Do it yourself

«Do it yourself - with your own hands» - a site of interesting homemade products made from scrap materials and items at home. Step-by-step master classes with photos and descriptions, technologies, life hacks - everything a real master or just a craftsman needs for needlework. Crafts of any complexity, a large selection of directions and ideas for creativity.

We recommend reading

Washing machine error codes