Buck-Boost Drivers

I’ve been thinking about trying to build a buck-boost driver and was wondering if anyone had any input on why it hasn’t been done yet. The main reasons I can see now are cost and the complexity doesn’t lend itself well to the small sizes we need for lights. However the convenience might make up for the cost for some if it can be made small enough.

Want more battery capacity? No problem, stack another cell in!
Want to run CR123 instead of Li-Ion? Go for it!
Want to swap in an emitter with a different VF? No big deal!

I figure there are 2 ways to go about this, either use an existing buck/boost controller and try to manage it with an MCU, or, control the switches and do current monitoring on the MCU itself.

Using a dedicated IC will probably be more flexible to component values changing, and will give higher efficiency. Also likely easier to implement. However it may take up a larger PCB area, and will likely be higher cost.

Using the MCU to build a scratch Buck/Boost has its challenges in the control loops and the programming, and will likely be lower efficiency. However it has the benefit of being able to directly control the output current, so the UI could just command actual Amps.

I am going to begin listing potential component choices below. While I could do all of the design myself, I would like to open this up to anyone who wants to help me out. I will begin making a few schematics in the coming days/weeks. I am fully open to component choice changes and even design modifications if others have suggestions. I also wouldnt mind help on the UI programming from some of the veterans we have around here. I know how to code, but I wouldn’t call myself great at it.

Right now I am leaning towards the MSP430 MCU as the controller. Why? Main reason is that it is a good low cost, easy to program MCU, the second is that the ADC has a built in PGA (programmable gain amplifier), which is extremely useful for measuring the low level signals from a current sense resistor. It should also be capable of much higher PWM frequency if we go with the MCU controlled route, and should have plenty of room for UI code.

IC Possibilities:
https://www.digikey.com/product-detail/en/texas-instruments/TPS43000PWR/296-41744-1-ND/5224509
https://www.digikey.com/product-detail/en/linear-technology/LTC3119IUFD-PBF/LTC3119IUFD-PBF-ND/6419504
https://www.digikey.com/product-detail/en/linear-technology/LTC3785EUF-PBF/LTC3785EUF-PBF-ND/1730265

Inductors:
https://www.digikey.com/product-detail/en/eaton/HC9-100-R/513-1346-1-ND/1130429
https://www.digikey.com/product-detail/en/wurth-electronics-inc/7443550101/732-3879-1-ND/3315113
https://www.digikey.com/product-detail/en/bourns-inc/SRP1270-100M/SRP1270-100MCT-ND/3437784

MOSFETs:
https://www.digikey.com/product-detail/en/vishay-siliconix/SIA468DJ-T1-GE3/SIA468DJ-T1-GE3CT-ND/6707810
https://www.digikey.com/product-detail/en/vishay-siliconix/SIA467EDJ-T1-GE3/SIA467EDJ-T1-GE3CT-ND/4142097

MCU Possibilities:
https://www.digikey.com/product-detail/en/texas-instruments/MSP430F2013IRSAT/296-19703-1-ND/1045122
https://www.digikey.com/product-detail/en/microchip-technology/ATTINY841-MMHR/ATTINY841-MMHRCT-ND/4437440
https://www.digikey.com/product-detail/en/microchip-technology/ATTINY1634-MU/ATTINY1634-MU-ND/3128692

I’d say the complexity of designing it is probably the biggest factor. Another problem is current flow. We like big AMPS and most buck and/or boost drivers don’t deliver the fix that we crave! Also, the parts required are going to make the driver somewhat expensive compared to the simple drivers we use most, so it would have to be pretty amazing to be worth buying/using. If you can overcome these issues, your driver will be very popular, because a lot of us want a good buck/boost driver and just don’t have the ability to make one ourselves.

The LT1270 is another good high current option and it requires fewer extra components than the LTC3785, but I don’t know which would work better for your purpose. I also wish there were more buck and boost drivers, but I’m not quite at the point where I’m confident in my design skills to start spending money on making drivers, and I don’t know how to program attiny13 or 85. And the inductor doesn’t have to be on a separate board, it could just be free floating.
Good luck.

I have updated the first post with links to some components that I think will help make this possible. Obviously everything needs to be as small as possible, so I am going with QFN and similar packages where possible. The MOSFET packages are tiny. Will make hand soldering difficult, but should be possible, hot air reflow is also possible.

As for cost, I know it will probably be more expensive than the FET/Linear drivers out there, but for me personally it is worth it. What would others around here be willing to pay for such a driver?

How much current is enough? I have been operating under the assumption that I want at least 5A to the emitter out of the driver, with 7A+ being the real goal. Obviously there will be some limits based on cell configurations, and it will be easier to get more power out of 2S+ configs. For 1S Boost mode though 6V/5A would be a good goal as that would at least fully drive an XHP70.

Loneoceans started work on one such driver but I haven’t seen him for a few weeks now. -Edit, he just updated that thread today.

how about using MCU controls the boost?

I use the 841 in these drivers: Mike C drivers: v8 series, ATtiny1634 based.

I like them, but I “upgraded” from 84A MU drivers so I didn’t need to re-design drivers because pin setup is identical. If you’re going from scratch you might want to look at the 1617. It’s very new though, so availability might be an issue.

http://forum.fonarevka.ru/showthread.php?t=17508
http://forum.fonarevka.ru/showthread.php?t=10311

I do have plans to experiment with using the MCU to directly control the switches of the regulator, I’m just not sure my programming and design skills will be enough to get good efficiency that way.

I like those drivers, good work! I am considering using the newer attiny MCUs, but will most likely go with the MSP430 if I require the MCU to read a current sense resistor due to the built in PGA and 16 bit ADC on that chip. 16 bit processing is nice too.

Looks like some interesting development going on there, wish I could read Russian! Looking at his schematic, is he just adding an extra switch in front of the boost regulator IC to make it a buck-boost?

Google translate isn’t very helpful on those types of discussions. It would also appear that that driver has max output current at 1A, so maybe the IC used in that one is not as interesting.

This is the old driver for the power button. Mosfet to turn off the power. The choice of LiIon 2.5V or LiFePo4 - 2.0V

IMHO dont need to do Buck :slight_smile:
Just do BOOST :slight_smile:
You can use 12V XHP 50.2 or 70.2 or new nichia…

Just for example, here’s what the scheme is doing now Tamagotchi
ZXCT1010 give you stable current
http://forum.fonarevka.ru/showthread.php?t=35292

mosfet
CSD17303Q5 + TS5A3159

http://forum.fonarevka.ru/showpost.php?p=699070&postcount=49

1. TOP of the TOP :slight_smile:
CSD17303Q5 - Reverse Transfer Capacitance - 83pF, Input Capacitance - 2630pF, RDS (on) (3V)=2.7mΩ

2. CSD17311Q5 - Reverse Transfer Capacitance - 85pF, Input Capacitance - 3290pF, RDS (on) (3V)=2.3mΩ
3. CSD17306Q5A RDS (on) (3V)=4.2mΩ

4. CSD17556Q5B - Reverse Transfer Capacitance - 68pF, Input Capacitance - 5400pF, RDS (on) (4.5V)=1.5mΩ

long time ago))) good fet was
IRLHM620 - Reverse Transfer Capacitance - 620pF (its bad), Input Capacitance - 3620pF (its bad), RDS (on) (2.5V)=2.7mΩ
IRLH6224 - Reverse Transfer Capacitance - 770 pF, Input Capacitance - *3710*pF, RDS (on) (2.5V)=3.2mΩ

good litle fet
CSD13202Q2 - Reverse Transfer Capacitance - 43pF, Input Capacitance - 767pF, RDS (on) (2.5V)=9.1mΩ

and not so good :slight_smile:
IRLHS6242 - Reverse Transfer Capacitance - 180pF, Input Capacitance - 1110pF, RDS (on) (2.5V)=12.4mΩ (4.5V=9.4mΩ)

good inductors - Coilcraft | Mouser
XAL1060-222ME, XAL1010-222ME
XAL7030-272 etc
not so good, but I’m use it - VISHAY IHLP M11
IHLP-1212BZ- 11 IHLP2525CZER6R8 M11 … etc

I would really like to keep full buck-boost functionality, it would allow us to run 2S+ on a 3V LED to extend runtime which is a great feature to have IMO. For a pure buck or pure boost converter there are drivers out there. What I want is to be able to freely swap cell count, cell chemistry, and emitter VF without having to touch the driver.

If you look at the mosfets I have chosen they are a bit better in terms of capacitance, but have a higher RDSon resistance, but still low enough that I think it will be adequate (<20mohm). The main reason I chose them was the SC70-6 package, 2.05mm x 2.05mm square! I want footprints to be as small as possible so that this can potentially be miniaturized to 17mm.

This is good.
Reverse Transfer Capacitance has a huge impact on dynamic losses. Not only RDSon.

Google translation. Inferion is the developer of the meteor driver
https://translate.google.ru/translate?sl=ru&tl=en&js=y&prev=\_t&hl=ru&ie=UTF-8&u=http%3A%2F%2Fforum.fonarevka.ru%2Fshowpost.php%3Fp%3D698932%26postcount%3D37&edit-text=

Consider SEPIC as well - it will be easier to do low-side current sensing than with buck-boost where your output side is inverted. I use the LM3410 in a SEPIC configuration in the MELD3 drivers to run from primary CR123 or secondary cells, but it doesn’t have enough range to use multiple cells.

A 4A Buck-Boost-Driver for single Li-Ion cells would be nice. It would allow the use of the Osram Black Flat (very high Vf) in smaller lights. This would enable new throw records.

A wide input voltage driver needs adequately set cut-off points for battery over-discharge protection. A potential issue is voltage range overlapping for adjacent serial configurations, though in practice I only see this issue arising for 4S batteries and above. Possible cutoff points calculated over the 1S cut-off figure plus a small offset value times number off cells in series to reduce the chances of balancing issues. For 1Scut-off = 2.75V, offset = 0.1V, and n being the number of sections, this would be the general rule:

nS battery cut-off = n × (1Scut-off + (n - 1)offset)

The MCU would detect the input voltage and set the cutoff accordingly: 2.75 (1S), 5.7 (2S) or 8.85V (3S). Unobstrusive pre-cutoff warnings would also be advisable. Of course, this is just a good example. :-)

Cheers

Originally posted on Thu, 05/11/2017 - 15:19; 1Scut-off value edition.

Hello,

Reviving this old thread.

Are there any good buck boost drivers available for sale that could be used in flashlights?

I can’t seem to find any, as they are either buck or boost.

Given the multiple LED options in 6v and 12v LEDs, are there any recommended boost drivers ?

Thanks

Buck and Boost Drivers, Testing, Modding, and Discussion (Pic Heavy)

:-)

What is the size you wish to have? Myself and some people on blf have build loneocean's gxb172 driver with success!

I am not yet sure on size requirements, working on a project with Clemence.
I will check in with him and see.