Open Green Energy

Open Source DIY Projects on Green energy

DIY Mini Lab Power Supply

 

 

The Mini Lab Power Supply is extremely useful for electronics hobbyists, but it can be expensive when purchased from the market. In this Instructable, I will show you, how to make a mini-lab power supply with a limited budget. It is a great DIY project for beginners as well as anyone interested in Electronics.

The Power Supply is based on the XL4015 DC-DC buck converter module. This module can provide an adjustable output voltage from 1.4V, up to the input voltage and current output from 0mA to 5A. It only requires only a DC power supply with a voltage range between 12-30V. Here I have used a 24V/3A DC adapter.

The inspiration for this project is from Chordless Lab Power Supply

The power supply can be used for the following purposes:

1. Variable Power Supply

2. Battery Charger

3. Constant Current LED Driver

4. Solar Charger Controller

Specification:

1. Input voltage range:5-36VDC

2. Output voltage range:1.25-32VDC adjustable

3. Output current: 0-5A Output power: 75W

4. Output ripple: 50mV (max)

5. In-built thermal shutdown and short circuit protection

 

Components Used for Making the Lab Power Supply:

 

 

1. XL4015 Buck Converter ( Amazon )

2. Volt-Amp LED display ( Amazon )

3. 2 x 10k Precision Potentiometer ( Amazon )

4. 2 x Binding Posts ( Amazon )

5. DC Jack (5.5mm x 2.1mm) ( Amazon )

6. 2 x Rocker switch ( Amazon )

7. Fuse Holder ( Amazon )

8. Fuse ( Amazon )

9. Heatshrink ( Amazon )

10. 20AWG Wires ( Amazon )

11. Heatshrink Tube ( Amazon )

12. 12-30V DC Power supply ( Amazon )

Tools Used:

1. Soldering Iron ( Amazon )

2. Wire Cutter / Stripper ( Amazon )

3. 3D printer ( Amazon )

4. Hot Air Blower ( Amazon )

 

 How The Mini Power Supply Works?

 

 

 

The heart of the circuit is based on the XL4015 DC-DC buck converter module. The circuit can be divided into the following sections:

1. Input:

The input DC power to the XL4015 is supplied through a DC Jack. A fuse is connected in series between the DC jack and XL4015 module input terminal ( IN+). The fuse is used to protect the circuit from the accidental short circuit.

2.Output:

The output terminal of the XL4015 module is connected to the two binding posts through a rocker switch. You can connect your load to these binding posts. The switch is used because you can adjust the voltage and current value without disconnecting the load.

3. Display Unit:

A LED Volt-Amp display is used to display the output voltage and current. It is very useful because you can see the voltage and current values during the adjustment.

The power supply for the display is connected to the input terminal of the XL4015 module through a rocker switch. The switch is used because you can turn off the display unit once you adjust the voltage and current value. This is especially when you will use the power supply for battery charging.

4. External Potentiometer:

Two 10 Kilo-Ohm precision potentiometers are used in place of the onboard trimpot for fine adjustment of voltage and current.

Note: The converter is rated for 75W, but if you plan to use 75W of power over longer periods, you will need the external cooling fan to dissipate the heat.

 

Prepare the DC Jack and Fuse

 

 

Solder a red and black wire (20AWG) to the DC Jack.Before soldering use a small amount of flux to the terminals. Then insulate the soldering joint by using heat-shrink tubing.

Similarly, solder a red wire to the one terminal of the fuse holder.

 

Prepare the Rocker Switches and Binding Posts

 

 

There are two rocker switches used in this project, one is used for Volt-Amp display and another is for output.

Solder the positive terminal wire ( thin red wire) of the display unit to the one terminal of the rocker switch and a small piece of red wire( 24AWG) to another terminal.

Similarly, connect the red binding post to the one end of the rocker switch and a piece of red wire( 20AWG) to another terminal.

Insulate the soldering connections by using heat-shrink tubing.

 

Adding the External ​Potentiometers

 

 

 

Desolder the two small potentiometers from the XL4015 buck converter module. Solder three wires to each of the two multi-turn precision potentiometers you will use, and solder these wires to where the small trimpots were on the PCB. During connection be sure you are connecting to the right pin.

I have used 24AWG colored wires for connecting the external potentiometers.

Wire Colour ——> Pin No

Red ——> 1

Yellow ——> 2

Black ——> 3

 

3D Printed Enclosure Design

 

 

 

The enclosure design is based on an awesome design “parametric box” from Thingiverse. I have downloaded the design files and customized them on OpenSCAD and Fusion 360 as per my requirements.

Similarly, I have customized the potentiometer knobs by using the design ” Customizable Knob! ”

Download the .STL files from Thingiverse

 

 

3D Printing the Enclosure

 

 

I have used my Creality CR-10 printer and 1.75 mm Orange and Grey PLA filaments to print the parts.

My settings are:

1. Print Speed: 60 mm/s

2. Layer Height: 0.2mm ( 0.3 also works well)

3. Fill Density: 25%

4. Extruder Temperature: 200 deg C

5. Bed Temp: 65 deg C

After printing the front and back panels, I have highlighted the text and symbols with a permanent marker. The front part of the potentiometer knob is painted blue by using acrylic color.

 

Make the Circuit

 

 

 

 

Make the circuit by following the schematic diagram given in the above picture.

 

Join the red wires from the fuse holder and the rocker switch ( display unit ) and then connect them to the IN+ terminal of the XL4015 module. Join the black wires from the DC jack and the display unit and then connect them to the IN- terminal of the XL4015 module.

Join the red wire from the rocker switch (red binding post ) and the yellow wire from Display and then connect them to the Out+ terminal of the XL4015 module.

Connect the black wire of the Display to the Out- of the XL4015 and the red wire to the black binding post. This will make all the current flowing through the output binding posts also pass through the ampere meter of the display, so it can measure and display the current.

 

Attach a Heat Sink to XL4015 IC

 

 

 

To dissipate the heat generated from XL4015 IC, attach a small heat sink to it.

I have used an 8.5 x 8.5 mm heat sink.

 

Assembling

 

 

Once the circuit is wired up correctly, you can mount it in the 3D-printed enclosure. Screw the XL4015 module to the bottom of the box using 4 short M2 bolts.

The binding posts and potentiometers are fastened onto the front panel. The DC Jack and the fuse holders are fastened to the back panel.

You can apply a small amount of hot glue on the inside of the panel) to secure the components in their place.

At last close the top cover by using 4 M2 screws. Try not to screw them in too tight, because they’ll lose their grip on the plastic pretty easily.

 

Mount the Fuse

 

 

After assembling the enclosure, you have to mount the desired rating fuse into the fuse holder.

Unscrew the fuse holder, insert the glass fuse and then secure it again.

The fuse rating shall be 1.56 times the maximum current rating. For 5A current. 8A fuse is perfect.

 

Use As Variable Power Supply

 

Connect the output from SMPS / DC adapter to the input DC Jack. I have used a 230V AC – 24V DC /3A adapter.

Then connect the load to the binding post, be sure the polarity is correct. ( Red is positive and Black is Negative ).

First, adjust the “voltage potentiometer” so that the output voltage reaches the value you want.

Turn on the output switch and then raise the current slowly by adjusting the “current potentiometer” until it reaches the desired value.

Here I have connected a DC motor as a load to demonstrate the feature.

 

Use As a Battery Charger

 

 

Before using this feature, you must know the battery float charge voltage and current value. You can easily get it from the battery datasheet.

Example: Charging a 3.7V / 2600mAh 18650 battery. The float voltage is 4.2V and the maximum charging current is 2600mA (1C)

Connect the 18650 battery to the binding post.

Adjust the “Voltage potentiometer” so that the output voltage reaches the float voltage.

Then, turn on the output switch and adjust the charging current.

 

 Use As a Solar Charge Controller

 

 

Connect the output from Solar Panel to the DC input at the back panel.

Connect the battery to the binding post.

Adjust the “Voltage potentiometer” so that the output voltage reaches the float voltage.

Then, turn on the output switch and adjust the charging current.

Example: Charging a 12V /7Ah sealed lead-acid battery. The float voltage is 13.5V and the charging current is 700mA (C/10)

 

Use As a Constant Current LED Driver

 

 

 

Connect the LED to the binding post.

Adjust the “voltage potentiometer” so that the output voltage reaches the LED working voltage.

Turn on the output switch, then adjust the current until it reaches the desired value.

Example: Connecting a 1W power LED, working voltage – 3.2V and Current: 350mA

 

Finishing!

 

I have really satisfied with this small power supply, which is quite handy to use during my project work. I can say it is a budget-friendly and useful project for all electronics lovers.

I have observed these two limitations in my power supply:

1. The module heats up for the higher operating current. I think it requires a cooling fan for dissipating the heat.

2. The current value displayed on the Volt-Amp display module is not so accurate.

If you enjoyed this article, don’t forget to pass it along!

Follow me for more DIY projects and ideas. Thank

Related Posts

Fig-12.2: Wire Gauge Systems Fig-12.4: Cable Sizing Example       Fig-12.5: DC Cable Size Chart   Fig-13.1: Battery and

Read More