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

I did not, my bench supply is limited to 10.1A, so I would max that out before I got full output, I may try at some point, the driver is still all wired up so I just need to swap out the supply.

Thanks for laying this out.

I have a H2 on it’s way, & an impatiently waiting XHP35 & large reflector host :partying_face:

I think it is necessary to measure output ripples, in theory they should visibly raise after resistor mod.

1 Thank

I’m going to try to put one in a Convoy L2 with an XHP35 HI emitter and the R030 resistor mod. I Really like the H1-A and H2-C. Well spaced modes, good size, good output, reasonable efficiency, lots of flexibility.

The KX70 I’m on the fence about. I like that it protects itself on the 10A input limit so we can just max it out on high for the whole discharge curve, and don’t need to spec the resistor for minimum cell voltage. I also like the efficiency it manages, and the thermal protection. I Really don’t like the mode spacing though, low mode is in the high hundreds of lumens, if not over 1000 with a P2 bin emitter, and I don’t like that the output is not fully regulated in any mode.

If KX70 kept the 10A input protection scheme so we could run flat out in high, but had properly regulated and well spaced low modes it would be a big winner. So close, yet so far.

Kiriba, I didn’t put them on a scope, but the current meter on my load and my fluke 87V for voltage were actually not jumping around much at all for H1-A and H2-C, they both seemed very stable. For KX70 there was more movement, but I think that is more due to the input and output wiring resistance fighting eachother since it isn’t well regulated. I put an R075+R075 modded one in a JKK36 host and the output does not visibly flicker at all.

Maybe visibly is not correct word. I meant ripples will have 2-3 times bigger amplitude. I.e. raise from 5-10% to 10-30%. Frequency is too high to influence on current meter.

EasyB: I tested this morning with a 40A capable supply and 1S input voltages. Input current was probably about 12-14 amps (it has an old analog meter, hard to know exactly), and after 20 or 30 seconds my output started to flash. So I can confirm that behavior. The good news is that low modes still work well, so I could go shorty mode with a 1S L2 if I limit my turbo usage.

Kiriba: I will try to put a scope across the sense resistor sometime today, that will only see the output ripple though, not input.

Added more KX70 test data to show performance across the full battery discharge range. Low voltage protection on KX70 is around 2.8V, this is better than the 3.0V of H1-A.

Kiriba-ru, you are correct that the output ripple increases significantly. Below are 2 scope plots of the sense resistor voltage with KX70. Sense resistor is in series with LED- terminal. The plot with the larger amplitude is actually the smaller (R030) sense resistor. The plot with the smaller amplitude is the larger (R0392) sense resistor. Both plots taken on turbo mode around 3.7V input

Jensen567 I’ve been following your work and all others as well for some time now, over on the other thread and now here,
Just being quit and watching the extremely skilled at work and just learning, along with my countless hours of further personal research just so I’m able to follow along with the conversations and grasp the bigger picture,
So I just wanted to say in particular thank you to Jensen567 and also to all the other contributors as well, this is quit spectacular and has been a heck of a great learning opportunity, thank you all.
This work may have gave me the solution/clues I’ve been trying so hard to solve on a new prototype Jaxman X1S in XHP35 form, the current driver is a mess and I had looked at these KD drivers but just wasn’t sure,
I have such a better understanding now and with facts, components etc., it just can’t get any better than this, Thanks Again All … !!

Jensen, are the Ay & By numbers the total variation or the variation from nominal? I hope that’s phrased clearly enough. Either way, .3V(326 mV) is pretty good since this driver can’t push the limits of the led anyway. What I know of the Mtn Max is that nominal plus ripple has to stay below led max or the led poofs.

Well, if ripple is a concern, installing twice or thrice the stock output capacitance should about solve the problem.

Thanks for these efforts.

No.

Insufficient information.

Do you mean larger output capacitance wouldn't have any effect over output ripple amplitude?

Ripple value on the H2-C may increase a lot for the much harder driven mod, but no apparent issue there is.

Boost driver is not ac to dc converter. Ripples are going from other compomponents power limit and circuit tracing problems with reverse currents.

I have a few other H1-A tests I want to run, but I’m waiting for more drivers, the 3 I had are all in lights now.

1st up is the light engine I made for the new Desert Tan S2+ when I get it. MTG2 M0 4000K at 3.5A. In a Green S2+ for a test bed. Really cool to have an MTG2 on a single cell in an S2+. Pill is a stock pill with the driver pocket machined out. Reflector is a stock reflector with the emitter opening expanded by hand using a hobby knife.

Next up is my new XHP50.2 Convoy C8. Running an H2 30G 80+ CRI emitter at 3.5 amps. I love this light, super bright and even on full blast the C8 host can take the heat. I had to machine out the driver pocket and file the driver ground ring to the vias, but the stock retaining ring allows a near 20mm driver in the hole.


Finally we have a Blue S2+ triple with 3x XP-G3 S4 E1 (6500K) emitters in series, running about 1.2A (R100+R150=R060). This light is a gift for my fiance, so I chose a current that can be run on high continuously without overheating so she can set it down and use it for area lighting without worry. She also likes cold white, hence the 6500K emitters. The triple series setup works fantastic, and I love the mode spacing of this driver. Low really is nice and low, while high is crazy bright for only 1.2A. Copper pill is one from kiriba-ru which I modified for 20mm driver. Very nice pill.

I’ve started doing some reverse engineering on the H1-A now that I finally have more drivers in hand. So far I have the schematic down on paper and have determined a few key points with a scope. Here is the schematic, I’ll put it into PCB software eventually.

Along with that I have determined that the mystery “528” chip is an LDO as I guessed when drawing the schematic, 2.8V output. I have also determined that the PWM frequency for mode control is 3.9kHz. So as a cheat sheet for the MCU we have:

Pin1 - Power input (2.8V LDO)

Pin2 - Open

Pin3 - Battery level input (2:1 divider)

Pin4 - Directly connected to Pin1

Pin5 - 3.9kHz PWM output for current control

Pin6 - TPS61088 Enable (high to operate)

Pin7 - Open

Pin8 - Ground (Battery Negative)

Anyone know if an ATTiny can replace the PIC? Another member here Cousin Elmer has offered to try to write new firmware for the PIC, but I know most of the UI gurus prefer Atmel. Personally I like the current UI, just wish modes were off-time, and I wish LVP was set lower, around 2.7-2.8.

I dont understand it but do know you are doing amazing things Jensen567. :+1:

For reference:

^:)

At first pass I think the GPIO pins of an ATTiny all line up pretty well. It seems plausible that power and ground could be dealt with although I admit I haven’t having studied the PCB. I think it’s worth a try. I’m willing to give it a go as soon as either 1) my next batch of H1-A drivers arrives or 2) I run out of reflectors and emitters to explore on the test rig where my “extra” driver sits right now.

I’m still happy to program the PIC. More about that soon :slight_smile:

Have you seen this project?