Login / Signup

Cheap High Current LED Driver

  • user warning: Table './devemc/sessions' is marked as crashed and last (automatic?) repair failed query: SELECT COUNT(sid) AS count FROM sessions WHERE timestamp >= 1422624133 AND uid = 0 in /home/devemc/public_html/dev/includes/session.inc on line 157.
  • user warning: Table './devemc/sessions' is marked as crashed and last (automatic?) repair failed query: SELECT COUNT(DISTINCT s.uid) FROM sessions s WHERE s.timestamp >= 1422624133 AND s.uid > 0 in /home/devemc/public_html/dev/modules/user/user.module on line 790.
Cheap High Current LED Driver

Cheap High Current LED Driver

LEDs have gone a very long way since their firs appearance and nowadays they come in all sorts of types and applications, posing new design and manufacturing challenges. High-power LEDs have emerged as decent replacements for bulbs due to their high energy-conversion efficiency. However, they are not as simple to use as the old and common 3mm and 5mm LED types, which need as little as a simple microcontroller pin to be controlled. The high-power LEDs require special drivers, capable of delivering high constant currents across a wide range of input voltage and ambient temperature.

The concept of a high-power LED driver is relatively simple:

high-power LED driver
Figure 1

It is critical that a constant current driver is used instead of a constant voltage source. If it were possible to use a constant voltage source, then any off-the shelf voltage regulator would have been appropriate to use in such an application. Unfortunately, high-power LEDs have a voltage-current characteristic which is highly dependant on temperature. If, on top of this, you add the fact that a 1W or 3W power LED dissipates a substantial amount of heat, you realize that in this case a constant voltage source will not be good enough. When you first turn on the LED, it is “cold”, therefore the constant voltage would determine a specific current through the LED. As the seconds pass by, the LED gets hotter and for the same applied voltage it will draw a different amount of current. As a result its brightness will change. And that is only under the effect of its own dissipated heat, without even taking into account the variation of ambient temperature!

These well known problems have triggered the need for high constant current sources, and there are many semiconductor manufacturers on the market which now manufacture dedicated ICs for LED control. National Semiconductors and Linear Technologies are only two of them, and they do a pretty good job with these drivers.

The main drawback of these products however is their cost (especially with LT). Of course, it does not matter when the manufacturing quantities of an end product are small, or when you deal with a hobby project. But LEDs have made their way into a wide range of industrial and even automotive applications. As a result, the cost of such a constant current driver has come to dictate the criteria of design for such applications.

In the battle for cost, one of the winners is the NCP3063 switching power supply IC provided by OnSemi which was initially meant to be used as a voltage regulator. Fortunately, it also has a constant current mode, which allows it to be used as a driver for an LED. Its best “electrical” parameter is, of course, its price: it can go as low as $0.7 even for small quantities ($0.3 for large quantities), compared to at least $1, the price of its competitors. It also has a small package, allowing it to be incorporated in miniature applications and it is automotive rated, which brings all the known benefits: -40 to +85 Celsius operation, high input voltage, low failure rate.

Read the NCP3063 datasheet. The datasheet is pretty well documented (as expected from a serious company like On Semi) and it provides the grounds to use the IC as a constant current source, appropriate for driving a high power LED.
The schematic that I use is pretty simple, with the current through the LED being easily adjustable through a simple resistor: R1.

schematic for driving a high power Luxteon LED
Figure 2 – schematic for driving a high power Luxteon LED

As a short description:

  • D1 – diode to protect against reverse supply voltage (“fool’s diode”)
  • C1, C2 – energy reserve and filtering capacitors
  • R1 – current adjusting resistor
  • L1, D2, C4 – components required for operation as buck regulator
  • C3 - timing capacitor
  • C5 - filtering capacitor
  • D3 - LED
  • U1 - constant current driver

The schematic makes much more sense when it is looked at after knowing the block diagram of the NCP3063.

Block diagram of the NCP 3063
Figure 3 – Block diagram of the NCP 3063

Theory of operation
The IC integrates a lot of features but not all of them are used here. The most important one, which we take advantage of, is the current limiting comparator inside the NCP3063. As it may be seen from the block diagram, the comparator has the inverting input connected to pin 7, and the non-inverting input connected to VCC-0.2V (this 0.2V voltage is generated internally). The purpose of the comparator is to turn off the high power switch inside the IC in case the voltage difference between its two internal pins gets higher than these 0.2V. The way the schematic is built, this voltage difference is dependant upon two parameters:

  1. The current flowing through the internal switch
  2. The R1 resistor connected between pins 6 and 7 of the IC.

As such, this comparator gives us the ability of establishing the maximum current that is flowing through the LED by simply choosing the appropriate value for R1. The current that flows through R1, further flows into the NCP3063 through pin 1 and it flows then out through pin 2, eventually ending up through the LED. When this current increases, the voltage drop across R1 is also increasing, and when this voltage drop reaches 0.2V, the internal current sense comparator is triggered and its shuts down the switch between pins 1 and 2, thus cutting of the current through the LED. The switch is turned back on by the internal oscillator of the NCP3063, at the end of each oscillating period. The internal oscillating frequency is given by the value of the C3 capacitor, which is called timing capacitor. The value I chose, of 2.2nF, gives an oscillating frequency of about 150kHz.

The provided schematic will work across a decent range of high power LEDs. It will provide about 200mA through the LED, which ensures brightness dependent on the LED you choose. I have chosen a Rebel Luxeon LED with the following current-voltage characteristic:

Current voltage characteristic
Figure 3 – Current voltage characteristic

The current I have chosen seems pretty small for this type of LED, however, be warned: the higher the current through the LED, the higher the dissipated heat! Right now, based on 200mA with 3.1V, you barely get 0.6W. Even so the brightness is impressive. If, however, you decide you need better, and you go above 1W of dissipated power, you will need to employ more clever methods of dissipating the heat.

Of course you have several options: heat sink or metal core PCB, but both these methods are expensive and in a design where the final price is the driving force, you might find it more useful to trade a little light brightness for some good dollars.

NCP3063 from Farnell

RE: LED driver - constant current

I would say the main thing to play with is the R1 resistor. Based on some rough calculations you should change that to abou 0.12Ohms. It is quite a small value nd it is coming from a ough calculation. Also please feed enough voltage at the input of the circuit, I would say at least 13.5-14V. This way it can regulate the current through the LED only and the resulting outpu voltage will be load dependent (in this case, the LED will ensure a voltage drop of 12V.

Bear in mind that 0.12 Ohms is ust a rough value, you might need to play around with it around that value. Good luck!


RE: RE: LED driver - constant current

Hi Sherwin,
Unfortunately, yo cannot use this configuration to get 10 amps at 1.5V-2V. The maximum you can get in step-down configuration is 1.5Amps. If you want to get that amount of current I would suggest orienting toward Maxim or Linear technologies. They have some nice LED drivers or high current/low voltage regulators which might be useful to you.


RE: for 1-2A current?

Hi BT,
Unfortunately you cannot use this IC for 2A. It only works up to 1.5A. If 2A is really what yo need I would suggest looking at Maxim or Linear Technologies. Both these companies provide quite good solutions for high current LED drive, but do not expect minor prices!


RE: Can the same thing be done with MC34063A IC

Hi Arun,
The NCP3063 Series is a higher frequency upgrade to the popular MC34063 and MC33063 monolithic dc-dc hysteretic converters. So yes, I would say you can use the chip you want without problems. The output voltage of the circuit is highly dependent on what type of LED you use. In the configuration presented in the article, it only regulates the current, not the voltage.


RE: current limit is set to 400mA not 200mA

Hi Arun
First, please note that R1 being 0.5 Om means that at 400mA the internal comparator will trip and block the internal switch transistor. Which means that the internal current through the LED will never exceed 400mA. The current will drop then, a little until the internal comparator trips back and enables the intrnal switc again. Maybe 200mA was overly pessimistic of me, but the current is also not 400mA either (but lower).

Secondly, the R2/R3 pair do no do much in this configuration. They would control a second internal comparator, but this one never coms into effect, as the current limiting comparator will alsways be faster.

Thirdly, if by Rsense you mean the resistor which is currently 0.5 Ohm then I do not belive it wil work. I might not understand very clearly what you are trying to say....but since experience is directly proportional with the number of broken components by an engineer, I suggest that you try.


Who's online

There are currently users and guests online.

Recent comments