Adding a Current Limit Feature to a Buck/Boost Converter

67K18746

Intro: Adding a Current Limit Feature to a Buck/Boost Converter

In this project we will have a closer look at a common buck/boost converter and create a small, additional circuit that adds a current limit feature to it. With it, the buck/boost converter can be used just like a variable lab bench power supply. Let's get started!

STEP 1: Watch the Video!


The video gives you all information you need to recreate the circuit. In the next steps though, I will present you some additional information.

STEP 2: Order Your Components!

Here you can find a parts list with example seller (affiliate links):

Aliexpress:

1x Buck/Boost Converter: https://s.click.aliexpress.com/e/_dTevK0K

1x LF33 Voltage Regulator: https://s.click.aliexpress.com/e/_dT0fKCw

1x 10nF Capacitor: https://s.click.aliexpress.com/e/_dU4FEsB

1x 10µF Capacitor: https://s.click.aliexpress.com/e/_d7dOwRz

1x 0.1Ω Current shunt: https://s.click.aliexpress.com/e/_dSyQdMA

2x 3.3kΩ, 2x 100kΩ Resistor: https://s.click.aliexpress.com/e/_dTPpXjt

1x MCP602 OpAmp: https://s.click.aliexpress.com/e/_dTvJRGw

1x 10kΩ Trimmer: https://s.click.aliexpress.com/e/_dTFyPv5

1x UF4007 Diode: https://s.click.aliexpress.com/e/_dYR45Bh

1x Voltage/Current Meter: https://s.click.aliexpress.com/e/_d8lymHM

Ebay:

1x Buck/Boost Converter: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1x LF33 Voltage Regulator: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1x 10nF Capacitor: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1x 10µF Capacitor: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1x 0.1Ω Current shunt: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

2x 3.3kΩ, 2x 100kΩ Resistor: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1x MCP602 OpAmp: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1x 10kΩ Trimmer: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1x UF4007 Diode: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1x Voltage/Current Meter: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

Amazon.de:

1x Buck/Boost Converter: http://amzn.to/2w1WgTz

1x LF33 Voltage Regulator: http://amzn.to/2w1f2dF

1x 10nF Capacitor: http://amzn.to/2xIowip

1x 10µF Capacitor: http://amzn.to/2habIql

1x 0.1Ω Current shunt: http://amzn.to/2haAOWd

2x 3.3kΩ, 2x 100kΩ Resistor: http://amzn.to/2w2jSaI

1x MCP602 OpAmp: http://amzn.to/2x61uBr

1x 10kΩ Trimmer: http://amzn.to/2x9NmVc

1x UF4007 Diode: http://amzn.to/2w2vzxU

1x Voltage/Current Meter: http://amzn.to/2xJ2YCt

STEP 3: Create the Circuit!

Here you can find the schematic and pictures of my completed circuit. Use it as a reference to create your own.

A rather tricky part is the current path on the output side of the converter. If you want to hook up the current shunt and the V/I meter then your wiring should be like this: Out+ -->Load+ -->Load- --> Red Wire I Meter --> Black Wire I Meter --> Current Shunt 1 --> Current Shunt 2 --> Out-

STEP 4: Success!

You did it! You just added a current limit feature to your Buck/Boost converter!


Feel free to check out my YouTube channel for more awesome projects:

http://www.youtube.com/user/greatscottlab

You can also follow me on Facebook, Twitter and Google+ for news about upcoming projects and behind the scenes information:

https://twitter.com/GreatScottLab
https://www.facebook.com/greatscottlab

28 Comments

What is the maximum current that this can support? Can I use it to drive a laser diode at a current of 3A?
Does the current limit not oscillate?
I think the gain is way too big.
Hello I want do the power suply to charging li-on 6s max voltage on 1 s 4.0V I want do current limit 1A this project on Xl6019 is good

Hi . On MT3608 worked?
Hiya,

I have the exact same module and it works if you connect the 1N4007 diode to pin 5 of the XL6009. You must use a MCP602 though. I tried various TL08x variants and it did nothing but pulse like a stroboscope.

Dan
Nice video, just wanted to point out your schematic in the video is wrong, you connected pin 3 of your opamp to ground, but the schematic below is correct. Good work!

Is it possible to replace the MCP602 with an LM358? thank you!

both are op-amp,s so, it-s ok parameters are the same .at me worked

It will work maybe but you should mcp602 as it is a rail to rail op amp while lm358 is a normal one so your voltage may not reach to full .
can I add this to a boost converter?

Whats the maximum current passing through the circuit? How can i make this but in 10 amps version?

Excellent work! Would it be possible to replace the LM2587 Buck-Boost converter, with one using the XL6009 IC? (of course, using the correct feedback pin). Because the LM2587 ones seem to have gotten either hard to find, or quite pricey. Would any changes be necessary to the current limit circuit?

Out of curiosity, is there an LM equivalent of this op amp, and if not a complete equivalent then at least something that would do the job?

The ubiquitous LM358 is used in most Chinese modules. Cheap as dirt too.

The ones I have with LM358 current limiting use low side shunt resistance. Which means you absolutely cannot use more than one in a circuit, as you cannot tie the grounds together.

I'm not sure an LM358 will work as intended in this with high side shunt resistance. It is certainly worth a try, but keep in mind that it is a very old op amp. Although it can work in a rather low voltage circuit, the output is limited to 1.5V below V+. So 3.3V is rather low.

More Comments