3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

High Power LED Driver Circuits

High Power LED Driver Circuits
«
  • DSCF4225.JPG
  • DSCF4210.JPG
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 1Overview / 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.

« Previous StepDownload PDFView All StepsNext Step »
356 comments
1-40 of 356next »
May 11, 2012. 9:06 AMLoafman says:
Hi, first thing I have to say is I love this circuit. I have built one and have been doing some testing with it. The main difference with mine is that for Q2 I am using an IRF540 (I had about load of them already), but it functions basically the same as it's still a power N-FET. The thing I have found though is that when calculating the value of the current set resistor (R3) I kept coming up with worryingly high readings (I was aiming for 300ma), and found that R3 = 0.5 / 0.3 = 1.67 ohm to be giving about 360ma (according to both my multimeters). The solution (at least for me) was to change it to R3 = 0.6 / 0.3, which gave a resistance of 2 ohms and a near perfect 300ma. I'm not sure if anyone else has had the same issue (I can't find any issue with my equipment), so thought I would post up here in case it helps.
Anyhow, thanks for a great post!
May 16, 2012. 5:29 AMLoafman says:
Hi, just a quick follow on from my last post. In the last post I was using a 12v DC power supply, and found that the formula to work out the resistance of R3 (at least for my circuit) was 0.6 / 0.3a (300ma was my required current).

I have since chosen a 36v DC supply ( so that I can connect more LED's in each series and maximise efficiency) and found that it once again alters the formula slightly. With the 12v supply I had a steady 302ma current, but with the same circuit and 36v input I am showing a steady 326ma. I am currently using a breadboard, so I'm not sure if the higher voltage is proving more efficient at driving the current through the connecting points... maybe, but I'm rusty as hell with electronics!

The good thing is that the Vgs on the MOSFET is sitting around 3.6v, so no danger there!

Anyway, thanks again for this fab cicuit, and I hope my findings help some others with their experiments!
Apr 20, 2012. 11:55 AMnnadine1973 says:
Small add: if instead of r2 we connect there a fotocell, we have a great system that is swiching off during the day, and light up automaticly, at constant current, all night.
Apr 20, 2012. 11:50 AMnnadine1973 says:
It is working incredible considering the parts involved! I become member here just to say thank you to you.
So, Thank You!!
Apr 14, 2012. 4:57 AMbobking144 says:
just a fast know it seems to help out with a 1000uf+ cap on the outgoing wire to the led's, I am using a 3000uf 16v cap.
Apr 14, 2012. 4:40 AMbobking144 says:
ok I am kind of rusty for the Constant Current driver do I need to use the same voltage as my le need? led need 15volt so in put needs to be like 17volt is that right?
anyone know.
Apr 8, 2012. 7:47 PMsnowluck2345 says:
hello, could you explain to me how i would dim with an arduino? i'm a little fuzzy on this with circuit #5, i'm a lot more comfortable programming wise.
Apr 10, 2012. 12:58 PMsnowluck2345 says:
i'm using 5 xre q5s in series so around 18 volts with a 22volt power supply. do i need a common ground to control the circuit with a micro controller? how would i do that with an arduino?
Apr 8, 2012. 3:54 PMbobking144 says:
this is a great drive I love it, what voltage did you build yours with? cues I see that when input voltage is lower output amps goes down and when input voltage is higher amps out goes up.
Apr 3, 2012. 12:46 PMTheGreatS says:
One of the best instructables I have read. My favorite method would have to be the analog adjustable driver.
Mar 18, 2012. 5:45 AMdiy_bloke says:
I understand wanting to protect the gate agains high voltage, but why would you want to do this if you are feeding with 10 Volts as in your description?

And if you would 'use this with a microcontroller' (though I do not understand how a microcontroller would deliver such high currents) the Voltage would most likely be 5 V to begin with. Or am I missing something?
Mar 18, 2012. 5:47 AMdiy_bloke says:
OK I understand the microcontroller now. I thought you wanted to feed Vcc from a microcontroller output pin
Feb 21, 2012. 3:38 AMsunil85r says:
Hello,

I am building a constant power source driver for UV LEDs (4 nos) (High power 11W UV LEDs). The data sheets are as below.
http://www.ledengin.com/files/products/LZ4/LZ4-00U600.pdf

Could you please let me know if I can use your circuit for this.

Thanks in advance
Nov 24, 2011. 2:46 AMggodinho says:
Hello, Sir Dan. I've liked a lot your circuit and I've been making some updatings in order to fit with my project. So, I'd like to share my experiences with all and I'd like your technical remarks and sujestions.

First of all, I couldn't understand why did you insert the R2... Since I needed more input power, I just verified my NFET datasheet (IRF260) and Q1 (BC548) components and I noticed Q2 supports until 200V. So, I connected all the circuit at 180V, (an local 110V plus half-wave retific and filtered voltage). This power in drives a string of 40 5mm white leds (40x3.1=124V).

I know I could put more leds until reach near 180V, but I preferred put 3 paralel strings of 40 LEDs (a resistor was added in series on each LED string in order to fit all the strings to the same current). Of course, NFET will waste the extra voltage, but it doesn't matter to me, the important is to sustain the same 60mA constant current (3 strings of 20mA LEDS) and for this, the circuit is perfect.

So far, so good but, I have questions to ask for the group: what would happen with my 120 LEDs if Q1 openned its base or other else problems with this component ? There is a way to introduce a protection for them?

and more: How this circuit would behave if I strobe the LEDs feed with any flip-flop? it seems that the voltage delay a bit to fall when I just insert the leds... so, in a pulsed condition I belive the leds power will rise a bit.

Thanks
Feb 18, 2012. 9:05 AMleven says:
The purpose of R2 is to create a voltage divider and keep the gate voltage of the FET below the maximum rating, which is usually lower than the drain-source voltage.
Jan 30, 2012. 9:10 AMSpuzzum says:
This works great! I just finished my first box, consisting of 7 drivers, and will be making 2 more boxes, for 21 drivers in total.

I found that anything above 500mA and I needed a heatsink on the fets, so I bulked them up. I then found that the current actually drops after 900mA.. wasn't the driver, it was my tester diodes needing a fan on the tester heatsink. :p Now it runs steady at 1000mA, and can be dimmed to as low as 100mA. I modified with a 10ohm 1/2w trimpot, and a 10ohm 1/2w resistor paralleled with the trimpot.. making a 5ohm 1w variable resistor. Results.. an "adjustable" constant current driver. :)

Works out to about $8 a driver.

I also found that splurging for 24v sources is actually cheaper than using 12v from an atx psu... less drivers needed in the long run.

Feb 16, 2012. 9:08 AMStenvar says:
Hi Spuzzum,
I have been watching the progress of your project with interest, I am constructing something very similar myself and you are a couple of steps ahead of me which has been quite useful. I'm interested in how you have incorporated the PWM signal into the constant current driver. How are you generating the PWM signal? I have made some analogue, adjustable PWM generators using 555 chips, I read in an earlier post that you were outputting the PWM signal through 2N2222's, so it sounds like a similar output to mine.
Any advice appreciated, Thanks.
Feb 16, 2012. 11:58 AMSpuzzum says:
Also again.. :p

I went back to using 3 10ohm 1/2w resistors in parallel with the 10ohm 1/2w trimpot. This gives a 2.5ohm 2w variable resistor. And with a 24v power supply.. it starts at 250mA and goes to 1200mA or so. I've only gone as high as 1100mA.. then dropped right back down to 1000mA.
Feb 16, 2012. 12:36 PMStenvar says:
Oh and I like the sound of your pwm'ing, very nice. ;)
Feb 16, 2012. 12:34 PMStenvar says:
Hi Spuzzum,
Thanks for the info, I will look into it.

In the batch of pictures you recently posted, there was a circuit layout diagram. Could you explain the route the pwm signal takes please. It looks as though you have it coming into the base of a transistor. Sorry to be a pain, just need this small point clearing up.

Many thanks :)
Feb 16, 2012. 2:07 PMSpuzzum says:
No problem... :)

It's taken from a schematic that used to be posted here.. I just swapped the 2m2222 transistor with another FQP50N06 in it's place.

All parts, except the boards and standoffs, were ordered from Jameco

- Trans MOSFET N Channel 60 Volt 50A 3-Pin (3+Tab) TO-220 Rail - FAIRCHILD FQP50N06
- 3 LD PLASTIC PKG (APK=AM) - FAIRCHILD 2N5088BU_NL
- RES, CF, 10 OHM, 1/2 WATT, 5%, (100 BAG)
- POT,10 OHM,3299Y-100,25-TURN,.5 WATT,CERMET
- HEASTSINK, 531202B02500, TO-220 POWER W/PINS BK - 7.5°C/W
- Connector Terminal Blocks 3 Position 5mm Solder Straight Thru-Hole 16A
- Connector Terminal Blocks 2 Position 5mm Solder Straight Thru-Hole 16A

The 100K power, and 1K PWM resistors I already had on hand.

I also just did up an Eagle CAD layout.. I may just have to try etching instead of actual wiring.. it looks soooo much easier :p.

You should be able to see what's going on with the PWM signal now.. I labeled the pins. In "my" circuit, the PWM is selectable by the jumper pin just above the input terminal block. Positions 1/2 = normal mode. Positions 2/3 = PWM mode.

Just remember to connect the PWM's ground to the power source's ground.. I did this by twisting the ground wire of the Arduino with the ground wire of the 24v source, then inserted into the terminal block. I plan on having a junction box, with all power supplies and PWM signals, where they get rerouted to their various destinations. This will result in the Arduino being grounded within the junction box, and the 6 PWM signals can then be shared by as many drivers as you want.. within reason. I have 21 drivers in total.. 6 wavelengths, with 1 wavelength spread over 2 drivers per box. So.. 6 wavelengths that can be PWM'd. And seeing as I have 21 drivers, or 18 PWM instances.. I can share each PWM signal with 1 driver/wavelength per box.
Feb 17, 2012. 1:49 AMStenvar says:
Hey Spuzzum,

Thanks, that's exactly what I was after. Nice diagrams btw ;)

One other small thing, I assume you are running the arduino pwm generator at a fairly low voltage, say 5V or whatever, and the led driver has a 24V supply. So all I need to do is power them from their respective voltages and tie the grounds together like you say?

Many thanks for your help so far, I'm really close to getting this going now.

Oct 21, 2010. 4:52 PMSpuzzum says:
Yep.. Arduino gets fed 5v, and the PWM signal is 5v. The 2 circuits just need to share a common ground. :)
Feb 16, 2012. 11:51 AMSpuzzum says:
also.. Google Arduino.. all the board files and schematics are open source.. ie: free :D.
Feb 16, 2012. 12:40 PMStenvar says:
Also where are you buying your 10 ohm trimmers from?
Feb 16, 2012. 11:50 AMSpuzzum says:
Hi Stenvar :)

I made an Arduino for the PWM. It's an Atmel based microcontroller board. The actual script I'm using comes from the coral reef community.. fades up, fades down.. sunrise, sunset. The chip I'm using is the atmega328.. 6 PWM pins. There's bigger atmegas that have something like 14 PWM pins, but that's surface mount.. haven't done that yet :p. You can buy premade.. but where's the fun? :D

Google "Who wants a cheap, simple, Arduino-based LED controller?" at reefcentral.. has the script there, as well as a pcb project for the board. My board was a different design, but they added more things.
Feb 10, 2012. 3:48 PMSpuzzum says:
OK.. found a bug in "my" circuit. I used a 2n2222 transistor for the PWM transistor, but it died at 450mA's. Friend suggested using another FQP50N06 in it's place.. "Drain connect as collector. Gate connect as base. Source connect as emitter.". It now works fine at 1000mA's in PWM mode, withe the fet being cool to the touch. :)
Feb 14, 2012. 8:03 AMaddyja says:
(removed by author or community request)
Jul 4, 2011. 6:49 PMpeterlonz says:
This seems to me to be a very imprecise way of driving an LED.
Any key component with a set point that may vary by 100% is surely utterly useless.
You will not know untill you receive the PTC exactly what its trip point is.
The example shown raises more Q's than A's:
You may end up driving at the desired 500mA or the unwanted value of 250mA.
The circuit copied by the poster possibly employed this method but I'll bet the PTC 's were carefully sped'd & tested to be sure they were within an acceptable range, not something the hobbyist can easilty do!
Feb 11, 2012. 2:09 AMinnowati says:
Hi,I like your ideas.
In the battery pack of Laptop are Ptc used? You can take them?
Jul 19, 2011. 2:54 AMburton2663 says:
what do you suggest to drive 1 watt luxeon leds from an lm3915 output? tnx
Jan 20, 2012. 5:56 AMprofpat says:
great tutorial, will try it out got lots of LED BULBS for projects
Jan 16, 2012. 11:59 PMsprocketme2 says:
I understand that R3 is calculated as R=(Saturation voltage of Q1)/(desired current through LEDs) If I am wrong please correct me. Now for circuit 5 specifically, is R1 still functioning as a pull up (100kohm) like the other circuits, or is it functioning as gate resistance for Q2? In which case it would be in the order of 25-100ohm.
Jan 6, 2012. 9:10 AMdante.ragnarok says:
i need to kwon how calculate the set current, because i have a 18v and 3,5 A power source and i want conect 4 red led 3w and a blue one 3w at 700mA each one
Nov 11, 2011. 5:22 PMjohnjuan says:
Not sure if I understand right - does the Zener in fig. 3 make so the circuit will output more than 20v, or just intake more than 20v? I want to connect to 24v supply. Will Zener be enough, or do I need a better NFET? If I need better NFET, can you suggest one capable of 24v or more?
Nov 2, 2011. 5:23 PMtoyds says:
i want to make a simple high power led driver for this one

Input supply : 12V-13V motorcycle battery
# of LED : 2 LED in series at around 350mA


does this driver be possible to use?please reply
thank you very much
Oct 12, 2011. 8:27 PMrguzmán says:
Hi, i just tested it with a IRF520...

works fine, too cool really

the IRF520 (at 800mA calculated R3) was "cool", no heat at all

so I tested the consumption of the three 3W leds I use... only 540mA with R3= 0,66 ohms

so I changed R3 with a New Voltage Drop value... to get close to 800mA. R3= 0,45 ohms. But Consumtion was only 570mA.

could it be that with IRF520 or any mosfet I would need to use a really low R3?

or should I test another NPN (I'm using MPSA18 which has much more gain than 2N3904)
Oct 13, 2011. 5:18 AMrguzmán says:
the Voltage at GATE from IRF520 was 10,2 , but at SOURCE onle 0.29V...

maybe here is the problem,.... as I read that on BASE from the NPN there should be more than 0.5V for it to work right.
Feb 1, 2011. 12:43 PMkmantesla says:
Great instructable, I just threw this together to get the hands on experience of a current source. I designed single led desk lamp driven at just under it's max rating 1.0A. I am very pleased with the results, and I wanted to chime in on everyone's rants on efficiency, because most people don't understand this circuit and real world efficiency. Granted, it's not the most efficient circuit in the world, but it does EXACTLY what it's designed to do, change your input to an exact output, keeping the leds happy and healthy.. but at a cost.. all the "changing" is converted directly to heat, not an ounce is saved.. My circuit uses a switching wallwart; 5.2v @ 1.0A.. we can safely assume this type of adapter has an efficiency of 85%, if not more. My circuit "inputs" 5.3v @ .90A and my load, the leds get 3.0v @ .88A. Yay, this is exactly what it's designed to do, my led is nice and BRIGHT and happy, but all that stepping down and regulation doesn't magically convert, not with this circuit, it's converted to HEAT. So, my "regulator" circuit has a weak efficiency of about 56%, coupled with the wall adapter efficiency, the total circuit is around 50% efficient. Yikes, thats a scary number, right? But this is why we use leds, because an amateur can still be "green" even with a lossy, dirty regulator like this.. My lamp is SUPER bright, at less than 6W. I guarantee you 10 of these would EASILY rival a singular 60W bulb, in brightness and cool factor no doubt. Plus, I built mine out of spare parts, you could easily increase efficiency ALOT by designing a circuit with specific values on the adapter and fet.. and my led was an old rebel, newer ones are even more efficient.

Great instructable! It reignited my desire to custom build drivers over store bought ones, so I can start to really push leds, like the newer XML's to 3amps..
Following this build, I immediately bought some high quality, low dropout, high EFF adjustable voltage regulators with built in buck/boost options all in a T0220 package, got them for around 2$ apiece. I currently use luxdrive's drivers for all my projects, but now I'm going to start playing around again and see if I can come up with something just as rock steady and functional as my beloved buckpuck.

1-40 of 356next »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
524
Followers
47
Author:dan(MonkeyLectric)
Dan Goldwater is a co-founder of Instructables. Currently he operates MonkeyLectric where he develops revolutionary bike lighting products. He also writes a DIY column for Momentum magazine.