Just off the CNC - Update: It's Alve!

Pilot -

Your ability to explain the complex/unknown (to me, at least) is part of what I find so compelling about this project and why I look forward each day to what new successes and/or hurdles you've encountered. Honestly; I knew you were working from scratch but I guess I didn't realize what starting from zero really means on something like this. In Foy's world, capacitors do or fail to do what they're supposed to and I never considered that somebody has to figure all that out so that my device works.

needstogetoutmoreFoy

Foy -

I'm really happy that I'm able to enhance your understandings of things. It truly does make me as happy to teach as it does to learn -- and I love to learn.

Part of the reason that this build is as complicated as it is lies in the fact that I'm using a very high performance switching regulation scheme. Linear driver designs (even if they have PWM for brightness) are MUCH simpler. I (or anyone with a basic understand of electronics) could design a driver with multiple brightness levels using a linear regulator in about 3 minutes and be 99.9999% confident that it will work perfectly the first time. Problem is, it won't be very efficient at all - and it will generate far more heat. Heat is the reason I did not go with a linear regulator.

Switched Mode supplies, though, are as much art as they are science. Especially in this case, the switch operates at very high speed, and signals stop looking like the nice pretty square waves that you would get in a perfect world. Our world isn't perfect, and all kinds of factors start to come in to play. Things like gate-charge-capacitance, trace length, cross-talk, EMI/noise.. Even the exact layout of the high current portion which includes the load (LED's), output capacitor, diode and switch (fet) - it matters.. The shorter that path can be kept, the better it will work.

It is pretty amazing it all works, actually :) So many factors work against a design being functional - and the only thing working for it is the designer who's trying to take hundreds of different variables into account and make them all dance in harmony. Every single part has it's strengths and weaknesses - overestimate one strength or underestimate one weakness (such as I did with the gate-charge) and you have a door-stop rather than a functional design. Sometimes, it's just the way you ran one trace next to another on the circuit board that renders a design worthless - route a high-impedence analog signal next to a high speed and high current carrying one, and you end up with so much cross talk that the intended signal is completely washed out.

I hope that you, and others following this thread, are learning a lot, and maybe gaining some appreciation (as you said) for just how much goes into making something like this work. It's a fun ride to take - and even when things don't work out (like they didn't in my first try), you get to learn something.

The new circuit boards are going to be a few more days delayed. Since I have much more confidence in Rev B, as I've tested everything and only made one change (which has been partially tested by wire-wrapping it in), I'm pretty sure everything is going to work. Based on that confidence, I've asked the circuit board shop to make the board with pads finished in Gold rather than HASL (Hot-Air Solder Leveling). Gold finish will give me a much flatter surface - not really a big deal on the side where the parts go, but it will allow a much better thermal bond on the back side where the copper mates with the aluminum enclosure. The gold doesn't really add much to the cost (about 10 bucks, in fact), but it does take the circuit board shop an additional two business days to process the boards. The little bit of extra time is worth it to me.

Earlier this evening, I soldered the blue-tooth module down. I'm tired, and I'm not going to do anything more with it tonight, but tomorrow or tuesday, i'll start trying to make a connection to it. We'll see how the signal does through the enclosure.

PPtk

Just wanted to say that it is really appreciated that you not only share your design but also take the time to document and share the progress and setbacks AND explain us folks how come something did or did not do as intended. That is rare man. And appreciated... More than you know.

incredibly impressive. First I thought you were going to be using triples on MPCBs with an off-the-shelf CC driver, then I saw that you were designing your own board and driver PLUS soldering it all together. I've soldered a couple of bare LEDs to pads which was absolutely no fun at all. Sorry to hear about the respin, but even the pros make mistakes, so I wouldn't be too hard on yourself. I've followed George from Taskled's posts on designing and building drivers and it's quite an eye opener, even if I don't always understand what the hell he's on about.

A few questions:

1) are you going to be running all the same optics for each triple or mix'n'matching? I would have thought that using a couple of ellipticals and a mix of mediums and spots for the rest would give you the best of both worlds for an automotive application. I'm a little surprised not to see an aspheric or two thrown in as well, although I guess that they're too focused for a fixed position light.

2) how are the LED strings wired? Each triple in parallel then a series string of triples?

3) have you modeled the LED temperature at all? Efficiency drops off from 25C with heat, to ~85% when 100C at the emitter (not the housing where your thermocouple would be). I'm not sure what the temperature differential between the housing and the LED will be (5C? Perhaps 10C, although that's more common with MPCBs) but you could be looking at 80% efficiency at your 100C trip point, at which point you could be running them at 2.2-2.5A for the same output but less heat and load on your alternator. The LEDs should last longer too, although I've no source for LED temperature vs. longevity.

Sorry everyone that I haven't responded or provided updates - I got incredibly busy with work again, and I've had very little time to keep up my with this project. Finally got a big project finished up yesterday, so I'll have a little more time to put into it. The new circuit boards shipped yesterday, meaning I will have them on Monday.

It's my pleasure! I'm thrilled that some people are following my development of this project - I think I said it back in the beginning of the thread, but it's so much fun to develop in a public forum where others can share and comment on the progress. Most of what I do is very structured and the vast majority will never be shared with but a few people.

I see a lot of build threads around here, so I'm not so sure it's rare, but I'm happy that it's appreciated anyway. Please don't hesitate to ask questions either! There's a reason I'm posting the entire design and build experience.

PPtk

Yeah, I decided from the beginning that if I was going to design something, it was going to be ground-up. The only off the shelf parts are the components on the circuit boards and the optics - and even then, I'm not using a traditional Switch-Mode controller. I instead opted for a single DSP that will control the switch gates of all 8 supplies. In an LED light-bar like this, I'm breaking new ground, for sure. In fact, there are very few products in the world right now that use a DSP to control the SMPS of even a single LED - let alone 24 high power ones.

The comment about the pros making mistakes.. Trust me, I'm fully aware.. And disappointingly, I am one of the 'pros'.. I'm not really that upset about it - it happens. I'm helping another engineer right now with a product (commercial nature) that is still not working at Rev Q (Yep, ABCDEFGHIJKLMNOPQ) - and he's a very good engineer!

I'm going to be using three different optics. They're all the CUTE-3 optics from LEDiL, but I'll be using four of the narrow optics, two of the medium optics and two of the wide. This should give me a powerful throw and a ton of wide angle spill and cover everything in between. I'm expecting a long-reaching WALL of light. In the unit, the optics will be positioned, W-M-N-N-N-N-M-W.

Each triple is a series of the three emitters (roughly 9.9V Vf). The triples are individually driven using their own SMPS controlled by the DSP, so they're independent from each other. I could run every triple at a different current, if I wanted.

I have modeled it using the very thin FR-4 circuit board with tons of vias (which performs BETTER than an MCPCB), and I modeled the emitter itself using CREE's published thermal resistance through the package. At 3A per emitter (10W, roughly), I'm looking at a DeltaT of about 31C from the emitter to the enclosure (25C through the emitter package and 6C through the PCB). at my 100C trip-point, the emitters themselves will be running at about 131C. 100C is the trip-point, though, not the expected run-temperature. My study suggests that even on a very hot 90F day, the enclosure temp should not exceed about 78C - and this is worst case scenario with almost no air-movement. Just a little air-movement from wind or from driving would reduce that temperature drastically (10s of C). Real-world, normal use temperature of the enclosure is probably about 60-65C, meaning the emitters would be running 91-96C.

When talking about the enclosure to LED temp, you mentioned 5 or 10C. An MCPCB 'might' be able to maintain 5 or 10C from enclosure to LED Package, but remember the temp that matters isn't package - it's the actual diode junction. The XM-L has a 2.5C/W thermal resistance from Packge to Junction, so a MCPCB that could maintain 10C from Enclosure to Package would be able to maintain a 35C Delta from Enclosure to Junction when the emitter is running at 10 Watts. To get an XM-L to output 100% of it's rated Lumens, one would have to mount it on an MCPCB and then keep the MCPCB at minus 5 or 10C.

CREE rates the XM-L to operate at up to 150C Junction temperature, so with 31C Delta between enclosure and junction, I'm perfectly safe cutting off at 100C enclosure temp.

PPtk

The bluetooth works! I mounted the bluetooth module on the Rev.A circuit board and put the pcb in the enclsoure. I was able to make a connection to the module using my Netbook, send data to the DSP and get data back! Range is pretty good, as well - about 30 yards (meters) if I am somewhere in front of the enclosure and 18-20 yards (meters) if I'm behind it. Much better than I expected, actually - since the bluetooth module is wrapped in a 4 pound aluminum shell. I'm just using the bluetooth module as a dumb bluetooth->serial converter since I can handle the data-packet in the DSP.

I started cobbling together a bit of android code, but god, I'm definitely no Android developer. If anyone here is good at writing Android code, I'll trade you some hardware engineering/design for some Code :)

PPtk

Good to hear the BT is going to be for real.

These Cute optics continue to amaze me.

gatechargecappuccinoFoy

New circuit boards showed up yesterday. They look great. Since I was re-spinning them anyway, I made a few subtle changes. The biggest change was adding small dots of solder mask to the back side of the via's in the thermal pads of the XM-Ls. This will prevent solder from wicking down through the via's and getting all over the gold on the back-side of the PCB. Of course, the new FET Gate drivers now have a home and I moved the one inductor that was just a bit too close to the optics for comfort. Overall, I'm very pleased with the new boards.

Front Side:

Back Side:

I started soldering down some of the components, and I was really hoping to get further along, but it has just been too long of a day - I'm exhausted, and an abundance of coffee has made my hands as wobbly as a one-legged table. The DSP is installed, 6 XM-L emitters, and a bunch of the supporting parts. Tomorrow I'll finish up the caps, resistors, fets and gate-drivers. Should be making lumens by tomorrow.

I have to remove the bluetooth radio from the Rev.A board as well - but that's no big deal, so that part will be on the new board as well.

Here's hoping that Rev.B is Rev.Final.

PPtk

Looking forward to this, big time. And, it's not like expectations are high or anything.

Foy

Haha.. trust me, no-one's expectations are higher than mine - just as it sits now, that's $60.00 worth of XM-L's ready to burst into flames if something isn't right :)

PPtk

I continue to be amazed at the ingenuity that I see here. If you were in DK or even Europe I'd have to go see you real life to co-develop some ideas I have for industrial LED lighting in EX zones on ships. That would be awesome! Maybe not as awesome as this but still...

Keep up the good work Pilot.

That is a hell of a nice compliment. I'm not sure it's deserved yet, but truly, Thank you.

I'd love to work with you on something like that - it sounds very interesting. Ship lighting; Awesome! :)

PPtk

It works, and it works quite great, in fact. Well, it did work anyway :) I smoked 3 XM-Ls, but it was my fault - not the electronics. Everything was working great, and 6 XM-Ls were burning away at 1.5Amps each - looking good...

So I started cranking up the input voltage to see how the DSP handled the larger Delta-V from input to output.. Got to 60V and it was doing great - The DSP kept backing off the Buck converter keeping a nice steady 1.5 Amps going to the emitters.. Here's me, wanting to look at the signals - Output of MOSFET Gate Driver - beautiful. FAST rise and fall times. Output of Current-Sense Op-Amp - Really Nice.. Clean.. And then.. Slip, and I shorted the high side input of the op-amp to ground with the scope probe... The output of the op-amp went low (as it should), The DSP's internal comparator went low (as it should), the DSP instantly ramped the buck-converter up to 100% duty cycle (as it should), and the XML-s (near) instantly saw 60V accross the group of 3.. 20V each.. BAM, POP, Smoke, and I'm still seeing spots. For about 1 micro-second, XML-s are REALLY bright at 20V :) .. The perils of poking around with an oscilloscope..

So, I've got a perfectly functioning board! All tests out perfectly. I placed the order for 24 brand-new XM-L emitters (going Neutral White T6 instead of Cool White U2) and they should be here Friday. I'm also going to swap out the 15uH inductors for 22uH since they're back in stock - 22uH is really what I wanted to begin with, but CoilCraft was out of stock on them, so I went with the 15s. For this load 15uH is just not quite enough - the current rises and falls a bit too quickly. It doesn't take more than 10 minutes to swap out the 8 inductors, so I'm going to get the ones I really want on there..

Other than the little mishap, I couldn't be happier. If I can keep my grubby little scope probe out of places it doesn't belong, this board will be making more than 20,000 lumens by the weekend.

Now on the the control software in the DSP. All it does right now is turn the LEDs on or off - time to starting coding up the communications routines (Bluetooth) and the dimming routines. Luckily, now that the DSP is properly controlling current (the hard part), there's nothing I can really do to "blow things up".

I really can't explain how bright those three emitters were for a fraction of a second - it was like someone cut off a small piece of the sun and dropped it on the desk in my lab. I wasn't looking anywhere near the emitters and I was still absolutely blinded. I don't recommend feeding XM-L LEDs 20V - it's truly dangerous to the eyes.

PPtk

Swapping emitters is nothing, the main thing is, it works. Crossed a huge threshold. Always wondered what 20 volts would do to an XM-L . . .

nowiknowFoy

Stop wondering, and don't try it. It probably wouldn't have been quite as bad if I had been using 5 18650's in series - They would somewhat self current-limit at somewhere between 4 and 10 amps.. The supply I was hooked to though can deliver 100 Amps - and I'm confident that it did for the fraction of a second before the bond wires vaporized. Because of the Voltage-Current curve on LED's (diodes), at 20V they would conduct essentially infinite current. I'm just glad the bond-wires in the emitter vaporized before the traces on the circuit board did! I'm tired of soldering 64 pin fine-pitch QFN's by hand :)

PPtk

OMG this thing is seriously hawt!.

I can really really see the design and thought that has gone into this design!, something that is very rarely seen these days. I have many ideas in my head of what I want to be achieving, but my gosh I don't have anywhere near your ability!, such as Hand soldering QFN packages (OMG!), enough said!

I don't have a distinct need for one, but my gosh, if you do down the line consider putting another one together, I'm very much interested! Even if its just to appreciate the engineering and thought that has gone into this!

Haha.. Hawt :) I like that :)

Thanks very much - your comments and compliments are very much appreciated. There has definately been a lot of thought put into this thing - and thus far, it's been a lot of fun. I never get the chance to design something for myself, and I finally decided it was time.

Surprisingly, soldering qfn's by hand isn't really that 'difficult' - it's just time consuming and tedious. Maybe I'll post a video of how to do it some day - Most people could do it, it just takes a bit of patience.

If I ever decide to build more - I'll make sure to drop you a note.

Thanks again for the comments!

PPtk

This is like a work of art. I can't wait to see it in action.

And if the optics are removable still (appears they should be), then you have a customisable beam pattern too!