Adding A Current Limit Feature To A BuckBoost Conv

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

instructables

Adding a Current Limit Feature to a Buck/Boost Converter

by GreatScottLab

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. Le t ' s g e t s t a rt e d!

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.

https://youtu.be/8uoo5pAeWZI

Step 2: Order Your Components!

Adding a Current Limit Feature to a Buck/Boost Converter: Page 1


Here you can nd a parts list with example seller 1x Buck/Boost Converter:
(a liate links): https://s.click.aliexpress.com/e/_dTevK0K

Alie xpre s s : 1x LF33 Voltage Regulator:

href="https://s.click.aliexpress.com/e/_dT0fKCw">http href="http://rover.ebay.com/rover/1/711-53200-19255-
s://s.click.aliexpress.com/e/_dT0fKCw 0/1?
icep_ 3=2&pub=5575101368&toolid=10001&campid
1x 10nF Capacitor: =5337582279&customid=&icep_item=182383981237&
https://s.click.aliexpress.com/e/_dU4FEsB ipn=psmain&icep_vectorid=229466&kwid=902099&m
tid=824&kw=lg">http://rover.ebay.com/rover/1/711-
1x 10µF Capacitor: 53200-19255-0/1?...
https://s.click.aliexpress.com/e/_d7dOwRz
2x 3.3k , 2x 100k Resistor:
1x 0.1 Current shunt: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...
https://s.click.aliexpress.com/e/_dSyQdMA
1x MCP602 OpAmp:
2x 3.3k , 2x 100k Resistor: http://rover.ebay.com/rover/1/711-53200-19255-0/1?...
https://s.click.aliexpress.com/e/_dTPpXjt
1x 10k Trimmer: http://rover.ebay.com/rover/1/711-
1x MCP602 OpAmp: 53200-19255-0/1?...
https://s.click.aliexpress.com/e/_dTvJRGw
1x UF4007 Diode: http://rover.ebay.com/rover/1/711-
1x 10k Trimmer: 53200-19255-0/1?...
https://s.click.aliexpress.com/e/_dTFyPv5

1x UF4007 Diode: 1x Voltage/Current Meter:


https://s.click.aliexpress.com/e/_dYR45Bh http://rover.ebay.com/rover/1/711-53200-19255-0/1?...

1x Voltage/Current Meter: Am a z o n. de :
https://s.click.aliexpress.com/e/_d8lymHM
1x Buck/Boost Converter: http://amzn.to/2w1WgTz
Eba y :
1x LF33 Voltage Regulator: http://amzn.to/2w1f2dF
1x Buck/Boost Converter:
http://rover.ebay.com/rover/1/711-53200-19255-0/1?... 1x 10nF Capacitor: http://amzn.to/2xIowip

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


http://rover.ebay.com/rover/1/711-53200-19255-0/1?...
1x 0.1 Current shunt: http://amzn.to/2haAOWd
1x 10nF Capacitor: http://rover.ebay.com/rover/1/711-
53200-19255-0/1?... 2x 3.3k , 2x 100k Resistor: http://amzn.to/2w2jSaI

1x 10µF Capacitor: http://rover.ebay.com/rover/1/711- 1x MCP602 OpAmp: http://amzn.to/2x61uBr


53200-19255-0/1?...
1x 10k Trimmer: http://amzn.to/2x9NmVc
1x 0.1 Current shunt:

Adding a Current Limit Feature to a Buck/Boost Converter: Page 2


Step 3: Create the Circuit!

Here you can nd 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-

Adding a Current Limit Feature to a Buck/Boost Converter: Page 3


Step 4: Success!

You did it! You just added a current limit feature to You can also follow me on Facebook, Twitter and
your Buck/Boost converter! Google+ for news about upcoming projects and
behind the scenes information:

Feel free to check out my YouTube channel for more https://twitter.com/GreatScottLab


awesome projects: https://www.facebook.com/greatscottlab

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

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!
@greatsecott
it's very useful
from Indonesia.

Adding a Current Limit Feature to a Buck/Boost Converter: Page 4


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 .
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?
LM358 VERSION

Did you change the circuit at all to make the LM358 work or did you just drop it in directly?

MY VERSION LOOKS BETTER THAN YOURS :)))

NOW I CAN CHARGE MY BATERY PACK .

Looks better now :)

:)

my version looks better :)

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.

Adding a Current Limit Feature to a Buck/Boost Converter: Page 5


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.
Of course it works. Its configured as a differential amplifier.
Just because a part has been around for many years, doesn't mean its bad!
Max Vout = Vsupply - 1.5V
Min Vout= 20mV
its not a problem with +5 Volts supply. Its not a rail-to-rail op amp.
I didn't say it won't work, I said it might not work.
The circuit as configured is running from 3.3V. The differential amp has a gain of about 30. At 1A,
that is 0.1V x 30 = 3V. Right there, the output of IC1a cannot go above about 1.8V.
The output of IC1b is meant to drive the sense line of the buck regulator high, so the regulator will
lower the output thinking it is too high. But with a max of 1.8V output and a 0.6V drop across D1, it
is only about 1.2V maximum. Possibly worse, as fast recovery diodes sometimes drop a bit more
voltage than the garden variety silicon rectifier diodes. Many regulators use 1.25V as the reference
voltage and so the Sense line is at 1.25V already.
If you raise the Op Amp supply voltage to 5V, it might work. And replace D1 with a shottky diode.
But it isn't as simple as just looking at the specs and saying it will work. You need to consider
operation of the circuit. It certainly could work with changes to the circuit, both have about the
same offset voltage and Vcc requirements. It is the output range where the LM358 has an issue
with this circuit.
The MCP602 isn't really that expensive. The eBay link the author gives is only $4 for 5 with
shipping, about 80 cents each.
Correction: I see a problem with this circuit as designed, for either IC. The common mode input
range for the MCP602 is V+ - 1.2V, and for the LM358 is V+ - 1.5V. So the Op Amp really needs a
supply voltage higher than 12V, or the circuit redesigned. Right now the common mode voltage
with 12V on the current shunt is 12 x 100k/(100k + 3.3k) = 11.6V
I have a similar design in my linear power supply. I use a 0R01 instead of 0R1, a 1K instead of 3K3
and run the LM358 from +5. Works for me. Then again, I am not using this buck/boost module.
I always use 3A schottky's everywhere reverse leakage is not a problem. I have about a hundred
left!
He has a schottky symbol in his schematic, but uses a fast diode part.
Its not the cost, LM358 is available everywhere. Microchip parts are hard to get in developing
countries and shipping costs are prohibitive. I think that would be a problem for some.
Exactly, you used different values to make it work.
I have several DROK modules with current limiting built-in, but they use low side current monitoring
with an LM358 on board. Fine if using only one, but a pain if not as the current limiting won't work
when using common grounds. I thought I might try altering them a bit to make it high side.
I have to of these exact buck-boost modules. I have used one to keep the LED spotlights on my
workbench at optimal brightness when the solar drops below 11.5v after a long day, and it works
fabulous.

Adding a Current Limit Feature to a Buck/Boost Converter: Page 6


But I believe I believe there is a simpler add-on circuit that should do the job. Here is a link to the
schematic and the article. These are used to set a constant current source on a vacuum tube's
plate supply. Hi haven't tried them with the Drok, but see no reason they shouldn't work.
http://www.diyaudioprojects.com/Technical/Current-Regulator/
Those circuits drop out a lot of voltage. And rather than acting by turning down the switching
regulator, they drop out the input voltage, causing the buck regulator to work harder and then
essentially malfunction.
Very nice!

Help full.:)

Adding a Current Limit Feature to a Buck/Boost Converter: Page 7

You might also like