Lume1-FW3X: Constant Current Buck-Boost & FET Driver with Anduril1/2 + RGB Aux

Thanks icpart. :slight_smile:

That's not a problem; for larger boards or two sided, should be reasonable to build a 10A buck-boost or similar; any more and I think it's probably time to use 2S input. I don't have plans to make one yet, though, focusing on this driver first and we'll see how it goes.

icpart and Agro, yes any larger BB will use external switches. I like the idea those drivers have in using the MCU do the main work, though using an Attiny is not quite optimal for various reasons, including the ones you pointed out... but it can be improved with other MCUs. In fact, I've built a bunch of switchmode systems using a PSoC. The PSoC5 especially with its analog capability is pretty amazing. Then again, while I always had the thought to use 32bit MCUs or PSoC for flashlights, they're really a bit of an overkill and there's a bit too much software development time required than I am able to spend right now. The use of the analog-switch as a gate driver seems to me like a clever use of parts to reduce cost. The switch looks like it'll work just fine for this application with a marginally lower cost than a gate driver, and generally low Iq... though I'm not sure why they didn't just use a co-packed fet pair. Together with just a basic Attiny, overall quite an efficient solution in terms of parts count.

How many amps it’s capable of from 6V is some what irrelevant for single cell designs. How much is it capable of in buck mode from say 3.7V or 4V? I took a quick look at the datasheet and couldn’t find a quick answer. I’m not sure how good of an alternative it really is for single cell designs, but I probably missed something in the datasheet. Can anyone point it out?

I didn’t find anything specific either. A page 30 in the datasheet there’s a graph for voltage in vs current out at 12v out. It looks like with a voltage out close to the same as the voltage in gives about 5 amps pulsed, 4.2 amps continous. In a flashlight the current out would probably depend on the led vf at that current compared with the cell voltage of say 3.8v. As long as the cell voltage is above the led vf at 5 amps it should buck at 5 amps pulsed, about 4.2 continous from what it looks like to me. I dont find any graph or info that relates to that besides the one on page 30 with 12v output.

I found one more reference at page 28 in the bottom graph. For Vout it says 3.3v at 5 amps, >4v.
Its probably going to be led vf specific vs cell voltage.

You certainly found more than me. Thanks for the info!

The LTC3119 is a very nice part and was initially on the list for consideration for this driver, but it's unfortunately extremely expensive as icpart pointed out.

For a reliable driver, I think it's important to look at the absolute limits of the system to ensure it stays within regulation, either via software or hardware. From a hardware perspective, the greatest stress would be when the cell is at highest load (greatest output) at low capacity or cold, with a high V_fwd LED - in that scenario, the driver would need to operate in boost mode. It's possible to design the flashlight as a system with a designated battery and LED so the driver runs only in buck mode, but then it'd make sense to just develop a buck-only driver, of which there seem to be many on sale with very good power capabilities. I wanted the lume1 driver to be fairly flexible in the choice of batteries and LEDs and to be able to operate well near the limits, which helped guide the design choices. As mentioned, if I was developing one for a larger flashlight, I'd go for external FETs. Maybe this will be done in the future for a suitable candidate... maybe a 21700 flashlight.

As a side note, I'm hoping to send out a small number proto drivers to forum members to test since I may have missed something and it would be good to have some fresh eyes to take a look ... Then once we have a stable design, I'll make a poll to see interest for a run of boards. I like the idea of using a Google Sheets - this will come later. Meanwhile, anyone who has experience with electronics, the Anduril FW, and is able to do their own measurements, EE debugging, firmware flashing and compilation, and would like to help beta test, do drop me a PM and we can work something out. Meanwhile, I'm in a process of doing some full characterization and comparison of the system.

Thanks everyone and stay safe in the emerging worldwide health situation!

Subbed

Of course, completely understood. I just got excited. It hurts me seeing some of the newer LEDs thrown on FETs just to get past ~3A

Subbed.

Hello all,

I hope everyone is doing well and staying safe in the worldwide outbreak.

Here's a quick update with some developments for the lume1 project. I received boards for Aux LEDs for the FW3A flashlight and their variants. Unlike regular AUX boards, this one takes advantage of the full RGB capability of Anduril, allowing for a host of different features and capabilities.

Here's the LED board. A total of 18 LEDs for board, 6 of each R, G and B LEDs.

I had some other colour LEDs so I populated them as follows - pink as red, warm-white as green, and cyan as blue. The LED board is a little thick in this iteration, and 0.8mm PCBs should be better, but this works as well. LEDs used were 0603 LEDs on large 0402 pads. I had ordered 0402 LEDs but they haven't yet arrived.

AUX LED control is the same as the one implemented in Anduril for 1634 MCUs such as in the Emisar D4V2 and the Noctigon K1. There are several different modes such as different colours (red, green blue, yellow, cyan, magenta, white), as well as 'rainbow' and battery voltage display. There is also high and low brightness control.

Recommend LED wiring is 24-20AWG depending on what you have. For the LED wires, I used 30AWG.

After soldering on the LED wires to the AUX board above.

And finally, here's the Aux board in action, compared to a glow-gasket with my FW21. In this photo, I had previously used a green-yellow LED for the green channel. I since replaced that with warm white since I thought it came out better.

More to come soon.

Stay safe and healthy everyone!

It would be perfect, if you make variant to work with different color leds. As example, we could repower Sofirn IF25 with efficient Anduril driver. And any such flashlights in future.

Anduril has support for 3 aux LED channels, typically named R, G and B, but you can use whatever LED colour you like. Or am I missing something you're saying?

I find the choice of single colour LEDs curious. loneoceans, why did you find this solution best?

This board is getting better and better.

Great work!

Sofirn IF25 have two 2700k led and two 6500k led, so we can mix them by ramping mode. And 21700 onboard. Unfortunatly, UI is not anduril, proprietary, and driver d’t look very regulated.

So it would be nice to have high efficient Anduril driver, which can have two separate channels for two groups of different color temperature leds with ability to slide from one to another.

Subbed. :+1:

I appreciate the blue wire going to the G pin on the aux board, and the green wire going to the B pin. You rebel.

Hi loneoceans,

This is what we are waiting for... for the continued enhancement of FW3A, FW1a or even FW21. We are following the progress of your work. Thank you.

loneoceans. First of all awesome update on the project! Second, did you happen to see the PM I sent you?