High Power LED Driver Circuits

 by dan
Featured
High-power LED's: the future of lighting!

but... how do you use them? where do you get them?

1-watt and 3-watt Power LED's are now widely available in the $3 to $5 range, so i've been working on a bunch of projects lately that use them. in the process it was bugging me that the only options anyone talks about for driving the LED's are: (1) a resistor, or (2) a really expensive electronic gizmo. now that the LED's cost $3, it feels wrong to be paying $20 for the device to drive them!

So I went back to my "Analog Circuits 101" book, and figured out a couple of simple circuits for driving power LED's that only cost $1 or $2.

This instructable will give you a blow-by-blow of all the different types of circuits for powering Big LED's, everything from resistors to switching supplies, with some tips on all of them, and of course will give much detail on my new simple Power LED driver circuits and when/how to use them (and i've got 3 other instructables so far that use these circuits). Some of this information ends up being pretty useful for small LED's too

here's my other power-LED instructables, check those out for other notes & ideas

This article is brought to you by MonkeyLectric and the Monkey Light bike light.


 
Remove these adsRemove these ads by Signing Up

Step 1: Overview / Parts

There are several common methods out there for powering LED's. Why all the fuss? It boils down to this:
1) LED's are very sensitive to the voltage used to power them (ie, the current changes a lot with a small change in voltage)
2) The required voltage changes a bit when the LED is put in hot or cold air, and also depending on the color of the LED, and manufacturing details.

so there's several common ways that LED's are usually powered, and i'll go over each one in the following steps.


Parts

This project shows several circuits for driving power LED's. for each of the circuits i've noted at the relevant step the parts that are needed including part numbers that you can find at www.digikey.com . in order to avoid much duplicated content this project only discusses specific circuits and their pros and cons. to learn more about assembly techniques and to find out LED part numbers and where you can get them (and other topics), please refer to one of my other power LED projects.

1-40 of 396Next »
Derek Lewis says: May 10, 2013. 1:42 PM
Hi Dan,

Loving this design! It's working really well for me so far, but I'm curious about component selection.

I'm using a (purchased) high powered buck regulator to get the voltage down to as low as I can, and still have this circuit operate. (~0.6V above the LED Vfwd) I'm building 36 of these circuits, to individually power and PWM twelve RGB LEDs (with 3 of the buck regulators, one for each colour), at 700ma per channel, so these serve as excellent low part-count CCRs. However, I'm not sure how various characteristics of Q1 and Q2 relate to the efficiency of the design. At 700ma x 36 any efficiency gains I can get by choosing the correct components will help reduce the amount of heat I have to deal with.

What kind of things should one look for in Q1 and Q2 to help with efficiency, either to allow input and output voltages to be closer, or anything else?
chriscrumpacker says: Apr 19, 2013. 12:00 PM
Dan, This post was a great starting off point and took care of a few questions I had been trying to work out. So thanks for the inspiration and great info. I just finished my Bike light and will be working on getting a full instructable up shortly. Here is my blog post, http://crumpspot.blogspot.com/2013/04/power-led-bike-tail-light-with-arduino.html And this is the schematic: https://www.circuitlab.com/circuit/b6r5h8/rear-bike-light/
petebarchetta says: Apr 5, 2013. 8:42 AM
hello Dan,

I'm looking at a similar project to drive 3 MCE cree LED's via a LM317 and 555 giving the PWM option for a bike light
can you advise what sort of circuit schematic and values I'd be looking at? I remember seeing a PWM circuit diagram you had on the instructible, but couldnt find it
janly says: Mar 12, 2013. 6:07 AM
Hi Dan,
I want to build this project http://blog.makezine.com/2012/01/02/luminch-one-offers-lumens-by-the-inch/ using RGB high power LEDS, forward current of 350mA. I will be using the Arduino Uno and I want to supply a constant current to the LEDS. Can this be done using LM317, if so how can I do it?
krytcz says: Jan 30, 2013. 7:26 AM
Hi Dan,
I have built the circuit #5. I am using a microcontroller to control the switching on and off of the LED. However, i have a problem. The LED does not turn off immediately when the signal at the Gate terminal is terminated. It takes quite sometime for it to turn off...With this, i am not able to dim the LED..Could you help me?
IansMusical says: Jan 14, 2013. 12:11 AM
Hello, Can anyone tell me if the Rds(on) value is important and what range it should be within if selecting a new mosfet? Also are there any none logic level mosfets that can be used, even if driving/using PWM from a 5v PIC micro? Thank you in advance, Ian
nathan.019 says: Dec 6, 2012. 6:14 PM
Hi! I need to design a LED driver which can power 70 typical (20mA) LEDs. i need to design it in a way that it will light up when a signal sends to turn it on. is it possible?? please help me..
jonesakysiu says: Nov 29, 2012. 10:18 AM
I'm planning to blink IR LED at 36kHz with microcontroller, and I'm thinking about using Your circuit from step 8 (http://cdn.instructables.com/FHY/YUTR/RCQEWP86JFY/FHYYUTRRCQEWP86JFY.LARGE.jpg).
But as far as I understood from the text, it limits current by "turning on and off" Q2 and LEDs. So the question is will it interfere with my PWMing rate? I need to have exactly 36kHz and if transistor will also turn LED back and forth it may cause problems...?
snotty says: Nov 19, 2012. 2:49 PM
Yeah! I made a couple of helmets like this. One with a 555 running bright red flashers. And one with a thin film solar charger built in.

Solar powered version:

Davidko says: Oct 11, 2012. 7:04 PM
Love the instructable but would love to ask anyone out there if they can help me out. I made curcuit #5 work perfectly and i am using an Arduino uno to work the pwm. my problem is when i try controlling more then one driver it doesnt "drain" both drivers. (one dims and the other blinks high/low like it is unable to pull the transistor down) how do i build a curcuit that willl be able to control 30 drivers with only one pin on the uno?
diy_bloke in reply to DavidkoNov 2, 2012. 4:06 AM
1 pin si gonan be a bit difficult because one pin just can only send one piece of info at the same time, so you would need a seriaol protocol, but then also you need the AC circuit to understand a serial protocol. I dont think it is really possible in practice
diy_bloke in reply to diy_blokeNov 11, 2012. 6:43 AM
Just in case I was dimwitted. Do you actually mean you wanted to drive 30 with one pin in total or 30 with each their own pin? Both impossible on the uno. You could add one or more multiplexers that you drive with a minimum amount of pins
Davidko in reply to diy_blokeNov 13, 2012. 7:06 PM
i would like to drive 30 drivers with one pin on the uno. i was thinking (if it is possible), using one pin on the uno to drive a transistor or MOSFET to turn ON an external 5-9v that would in turn, drive all 30 drivers in the circuit. That is possible, BUT when the main circuit is OFF how do i "Drain" all of the circuits so that the power drivers turn off? and how who the main circuit be hooked up?

i know a little about transistors, maybe could use a NPN for turning on the power and PNP for turning off and draining? i really dont know..
My knowledge is limited, but i wish to learn.
diy_bloke in reply to DavidkoNov 15, 2012. 3:07 AM
David, I recently replied already in a private message
I do not really understand your worries why wld you need to drain anything
diy_bloke in reply to DavidkoNov 14, 2012. 12:49 AM
Currently i cant see thereply i thought I send to you, so i just try again You do not need 30 drivers as you can feed a couple of LED's in series.
Wether you can connect the amount of drivers to 1 pin depends on a few things:
Please tell me the following:
what is your value of R1?
What current do your LED's draw?
Do you just want to switch them on and off or do you actually send a PWM signal to the LED's?
If your circuit is now working perfectly, it would seem the easiest to either increase the voltage so you can feed more LED's in series or drive 2 led's in series, so you need 15 drivers and then drive those via 15 diodes connected to the UNO
However, there are two concerns: will the voltage drop over the diode affect opening the FET (but you can try this with one diode), and will the 15 drivers not draw too much current from yr UNO (that is why I was asking about R1)
diy_bloke in reply to DavidkoNov 13, 2012. 11:54 PM
ok so you want to switch on 30KED's at the same time with one pin right?, that in fact is not so difficult. If you are using 9 volts you do not need 30 drivers as you can drive several LED's in series albeit not 30 on that Voltage. If you use a mosfet to turn on an external 5-9 Volts, That same mosfet can turn them off, no need for extra circuitry there.
How much current do your LED's draw. Are they just regular LED's? or power LED's
Davidko in reply to diy_blokeNov 14, 2012. 3:13 PM
i sent you a private msg a little while back stating the conditions and what i was thinking of doing. but here it is again
i would like power around 50-100 high powered LED's...
i have and would like to use:
12vdc 10A power supply (maybe 24vdc and just hookup more LED's in series to makeup the difference and use less drivers in the future)
IRF540N 33A/ 100V/ 0.040 Ohm/ N-Channel Power MOSFET with heatsinks
2N3904 transistor
0R75 ohm 2w resistor
100K ohm resistor 1/4W (i could use different values if specified)
3x 3w epistar white 3.2-3.8v 700mA LED (per built driver) and i can adjust the voltage on dc power supply(11vdc/3 = 3.66vdc each LED)
a fan for the breadboards
and an Arduino uno to control the PWM with one or two pins

now i would love to build this in a way that can PWM control these drivers with one or two pins on the Arduino. i starting building the driver in circuit #5 (and 3x 3w LED's) with great success but when i hooked up TWO drivers to one pin that is when driver #1 LED's would flicker and driver #2 LED's fade out and work like it was suposed to...(programmed the arduino to fade in and out slowly for testing purposes)
so that is when i needed help. i got to thinking.... i suppied circuit #5 with 12vdc to the LED's but i controlled the N-Channel Power MOSFET with my ARDUINO SO what if i suppied the MOSFET or transistor with 5-9vdc or 12vdc and made it supply ALL the drivers somehow. but if i do that, when the power is ON everything will work(i hope) and when the power is OFF, everything might flicker because there is no "DRAIN" hooked up to that circuit.(just like my experiment showed hooking up the drivers directly to the Arduino UNO) i dont know circuitry too well to accomplish this task so i needed some help.

any feedback would be greatly appreciated.
Thank you.
diy_bloke in reply to DavidkoNov 15, 2012. 3:12 AM
David
I replied to that message. didn't you get that reply?
Well there might be various reasons for the flickering
I asked about the value of R1 (the resistor connected to the Uno pin). It seems most likely that the two drivers are influencing eachother. diodes maight be the answer but I need to know the value of your resistor R1 is that the 100k Ohm you refer to?
diy_bloke in reply to diy_blokeNov 15, 2012. 3:45 AM
Just a bit more of a reply
Although theer might be different solutions to your problem (e.g. separating the circuits with diodes or transistors, your thinking of switching all the drivers on and off with another FET is good.

I do not really foresee the problems you mention (and are guessing about).

One of the problems you may have is that you are using an IRF540N FET. As I understand that is designed to work with about 10 Volts as a trigger and though it is odd there would be a difference in how the two circuits you built react, it is well possible that one of the circuit sjust does not get enough trigger voltage from the Arduino.

Nevertheless, driving all the drivers as a load by another MOSFET should be possible (then ofcourse you would need to change yr circuit accoring to say #2 or 3#)

Nevertheless, you may try something else:
Change your circuit into circuit #2 or #3 (does not matter which one) and put a transistor in parallel with R2 or Z1 and add a 10 k in its baseline. Drive that 10 k with your uno. That should work. (although it will invert the signal: high = off, Low=on)

As I am not building this myself it is a bit of trial and error, but subsequently you could go two or 3 ways. The easiest would be to give each of your drivers their own transistor and connect these all to one Arduino pin (make sure you do not draw more than I think 40 mA) or you could hook up all the circuits to one transistor (but I'd suggest you would use separation diodes then).

I suggest you adapt the two circuits you built in the way i describe and see if you can drive both of them with one pin
diy_bloke in reply to diy_blokeNov 15, 2012. 5:09 AM
I might have found something for you, akin to what i describe
led-driver4.JPG
Davidko in reply to diy_blokeNov 20, 2012. 3:12 PM
diy_bloke, you are the BEST! i do not know how to thank you enough. with the circuit that you have provided me, i have made 2 drivers to work from ONE Arduino uno pin using PWM EXACTLY the way i wanted. I really cant thank you enough good sir. now i am on my way to constructing about a dozen of these circuits. Thank you!
diy_bloke in reply to DavidkoNov 21, 2012. 8:43 AM
David,
I am glad I could have been of help. It took a while before I exactly understood what you wanted, but I am happy you got what you wanted. I hope it all will still be fine with a dozen of them, you may need to trim the value of R3 perhaps.
Go dluck and if you need more help don't hesitate to ask
Davidko in reply to diy_blokeNov 15, 2012. 6:28 PM
That looks amazing. You are the best. I thank you for helping me and I will definitely try making that circuit tomorrow as it is way too late today to even start. (when I get started I can't stop till its done) I really appreciate your patience and knowledgeable responses. I will write back as soon as I build the circuit you described. Thank you again and I will keep you posted.
diy_bloke in reply to DavidkoNov 15, 2012. 11:44 PM
My pleasure. We all have to learn
dreadnaught says: Nov 11, 2012. 9:38 AM
Hey can we run this in series with other circuts?
josephx86 says: Sep 3, 2012. 12:10 PM
Hi
I want to build a constant current source which has input voltage between 3-311v.
how can i make it with low cost and transistor based circuit?
Thank you very much.
diy_bloke in reply to josephx86Nov 1, 2012. 3:37 AM
you could use a 3055 or comparable powertransistor, as in attached picture. the LED curent is roughly 0.6/R2. 3 Volts input voltage might be pushing it a bit but should be doable
led-driver5.JPG
charles eletro 2012 in reply to diy_blokeNov 11, 2012. 5:42 AM
earned guy I was in need of such a scheme
diy_bloke in reply to charles eletro 2012Nov 11, 2012. 6:07 AM
happy i could be of help :-)
josephx86 in reply to josephx86Sep 3, 2012. 12:16 PM
Oh, I forgot write i want to drive 1 up to 80 3.2v / 20ma white LED with 311vdc.
diy_bloke in reply to josephx86Nov 11, 2012. 6:28 AM
joseph
that is kind off a stretch. Do i understand correctly that you want 1 circuit that can drive 1 LED with 311 Volt as well as 80 LED's with 311 Volt?
if the LED is 3,2 Volt you would need a transistor that can take at least 310 Volt as Vce or as much as (311-80x3.2)=55 Volt when you use 80 LED's.
Going by the circuit I just uploaded before (but you are going to need a different transistor) you would need an emmitter resistor of about 30 Ohms (1/4 Watt more than enough). But I would not know a transistor that can take 310 Volts just from the top of my head. Even the BU111 can only take 300 Volt, but even then, that would be overdoing it as it can take 6 amps and u only need 20MA.
The MJ16110 can take 400 Volts, but at 15 amps and tht is looking launching a scud missile to kill an ant. I am really not aware of a 350 Volt 50-100mA low power transistor.

If beforehand you would already know that you will drive 80 LED's then it becomes a whole different ballparc because then a BC546 would be enough.

I am not saying you should do things different from what you plan but as far as I understand your plans you are setting yourself up for trouble and high cost, whereas it could be simple and cheap.

Also, are you really bound to 311 Volt? because even with 80 LED's you still will be turning 55 Volt*20mA=1 Watt into heat.

Perhaps your project will still be possible if you rethink a bit what you are doing
diy_bloke says: Nov 1, 2012. 4:12 AM
Though circuits 1-2 will most likely work with almost any power NFET, for the circuits 3, 4 and 5 it is pretty important that indeed a 'Logic' type NFET (usually with an 'L' behind the typenumber) is used because 5 Volts may not be sufficient to completely open up non-logic level NFET completely. Now ofcourse this won't alwaysbe necessary, but if drawing higher currents it might well be.

One may want to consider taking circuit 4 and replacing the zener with a transistor that has its base pulled low via 1 M resistor and that receives its PWM signal via a (say 4k7) base resistor
bloftin says: Oct 26, 2012. 10:55 AM
Thanks for a great instructable. Since high power LEDs are not that cheap, some good advice from Winder's book "Power Suppliews for LED Driving" is to use a zener diode (1N5334B) in place of the LEDs until you have tested your circuit. Example is to have one like this for each 1w LED in circuit.

http://www.mouser.com/Search/ProductDetail.aspx?R=1N5334BRLGvirtualkey58410000virtualkey863-1N5334BRLG
skylerdprahl says: Oct 4, 2012. 2:20 PM
You have helped me more than you will ever know. This circuit is amazing if your Vf on your led's is close to your input voltage. It then becomes super efficient.


I bought a bunch of MC34167's hoping to run some led's with it, only to find that it doesn't have current sensing. So you saved my reer.

To make sure of the Forward voltage drop being close to your input voltage though, the MC34167 is a tremendous choice. It is a single chip step up/down converter with a minimum of external components available that will get you to the correct voltage for super cheap and not have to worry about heat as it is crazy efficient.. I now use this along with most of your circuit for current control for 4ampere's worth of 100lumen/watt led's in an automotive environment....... CRAZY bright. And no heat given off anywhere except for the LED's themself. Best of all, no need for an O-scope and you can get this much efficiency. Lets face it, if you have a $4000 scope you can make your own PWM circuits and not have to worry about any of this. But if you don't it is good to know there is still ways to do things.
electricmic says: Oct 3, 2012. 12:41 PM
Great tutorial!
When calculating the wattage of resistors in version 1, it would be of great educational value to demonstrate the calculation using the Power=I*I*R formula
Davidko says: Sep 22, 2012. 10:55 AM
Excellent Instructable, i would just like to add and you might want to inform people that if this is done on a solderless breadboard with inproperly connected wires the curcuit will not work properly. i was getting strange reads of 400-500mA. when i soldered the parts together, perfect 690mA. As well the draw may vary depending on the voltage. Very imformative instructable.
Great job.
vallka says: Aug 31, 2012. 5:00 PM
Hi, I would like to run 3 Cree Cree XLamp XR-E Q5 off of a 14.8-18.5 li-ion battery, will this driver work to run them all or one driver for each?
This will be for a mtn bike light so the heat sink will get plenty of air flow.
timelessbeing says: Jul 3, 2012. 12:58 AM
I only have a p-channel FET (U9024N). How do I modify this circuit to work with it?
timelessbeing in reply to timelessbeingJul 4, 2012. 1:15 AM
Here's an attempt I did with Circuit Simulator:

biglongurl

Unfortunately, the current doesn't seem too stable. :(
chikoroll says: May 27, 2010. 6:36 AM
hey mate, i want to hook up a 25watt LED to my car

the voltage is 13-14v
my battery runs 12v (car off) and 13.6v (alternator charging)

would this be acceptable to run direct from battery, or should i run a dc-dc converter

the link is what i'm looking at

http://cgi.ebay.com.au/5-PC-BRIGHTEST-25W-WATT-HIGH-POWER-WHITE-LED-1400-Lumen-/390118430163?cmd=ViewItem&pt=LH_DefaultDomain_0&hash=item5ad4ded5d3
1-40 of 396Next »
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!