brainwagon "There is much pleasure in useless knowledge." — Bertrand Russell

28May/111

A simple constant current LED circuit

I've been pretty happy with the performance of my linear current based LED transmitter, but that was just sitting on the bench, driving a 20ma device. As I played with the circuit, I began to realize that if I scaled the circuit up to a 1W LED, its deficiencies in terms of efficiency would become more evident. In particular, I began to think about the efficiency: what percentage of the total power delivered by the battery is actually consumed by the LED?

Rather than using my previous op amp circuit, I thought I'd analyze the basic circuit from this Instructable, which I've created and reproduced with LTSpice:

I substituted components: I used the every popular 2N3904 and IRF510, and entered a simple model for a 1W Luxeon LED, which has a current drop of around 3.4v. I set it for a 9v supply, just for an example. A quick simulation shows that current through the LED is about 285mA, which combined with the voltage drop means the LED is putting out about 973mw.

But there is also a voltage drop through the MOSFET and through the reference resistor R2. The resistor is easy to calculate: the current through it is the same as the current through the LED (285mA) and the resistance is 2 ohms. The voltage drop is the then .57 volts, and the total power is .57V * 285mA or about 165mw.

So, what's left? Well, we began with 9v, and we drop 3.4 for the LED, and another .57V for the resistor, let's say the total drop is 4V. That leaves 5V, and at 285mA or about 1.425 watts. Ouch. The total of non-LED components is about 2.6W, only about 1W of which gets to the LED which nets us about 37% efficiency.

We can do a bit better by lowering the supply voltage: dropping it to six volts lowers the current to around 267mA, but the voltage drop across the MOSFET decreases to just a little over 2V, which drops the power to about 550mw. The net result is the efficiency climbs to about 57%.

Of course now more integrated solutions exist: many of which combine voltage regulation and current limiting in very small packages at high efficiencies. For instance, the LM3407 is a 350mA constant current floating buck switching converter. It can achieve efficiencies of 90% over a wide variety of supply voltages in a very small, inexpensive package. It also appears that you can use it with a PWM input to implement dimmer technology. It seems like a chip like this can be the center of an efficient LED transmitter.

More to think about and play with.

Filed under: diy, electronics 1 Comment
28May/110

High Power LED Driver Circuits

My recent experiments with light based communication left me thinking about simple circuits for driving LEDs. I've got three big LEDs (1W) on order from deal extreme, so I was looking for circuits to drive these larger LEDs. This Instructable has some good ideas. I'll probably breadboard some of these soon.

High Power LED Driver Circuits.

28May/110

Return Infinity – BareMetal OS

At various times, I've been interested in writing operating systems. I haven't done much thinking about this recently, but it is a topic of interest. I hadn't seen this project before: a small 64 bit kernel written in assembly. I have no idea whether it's interesting, but I thought I'd bookmark it for future investigation.

Return Infinity - BareMetal OS.