Light Projects

A collection LED control examples for Arduino


Low-voltage DC Lamps
LED Drivers
LED Strip Control
Addressable LEDs
  NeoPixel Library Quickstart
  Making Electronic Candles
Fading
Chromaticity
Color Spaces
Spectrometers
Light Rendering Indices
Inventory
Pattern Making
Telephone Dimmer for Philips Hue
Tom's other light-related repos
tigoe.github.io

This project is maintained by tigoe

LED Drivers

by Christina Tang and Tom Igoe

Light emitting diodes (LEDs) light up when you put a high enough voltage through them. This voltage is called the forward voltage (Vf). Similarly, LEDs are rated by how much current they need to operate, and this is called the forward current (If). If you supply too much voltage or too much current, you’ll destroy the LED. But how much is too much?

An LED’s data sheet will list the forward voltage and current, both the minimum amounts needed, the maximum (often listed as the peak voltage or peak current) and the recommended amounts for running the LED for a long time. Within the limits of an LED’s recomended current levels, more current will cause the LED to shine brighter. So many LED illumination systems will run LEDs at the highest current possible, to get the maximum illumination out of them.

As an LED operates, it will heat up, and as it heats up, the amount of voltage it uses will decrease, causing it to draw more current. Over time, as the LED gets more current, it will slowly burn out. Even if it doesn’t burn out immediately, it will change color in the process. This is how you’ll see some LED sources, particularly cheaper ones, die over time. This is known as thermal runaway.

LED sources are generally operating multiple LEDs in parallel, and when you’ve got a lot of LEDs together, the heat can go up. But heat isn’t the only issue. Voltage drops as it moves through a conductor, so if you’ve got a long line of wires connecting your LEDs, like in a linear fixture or tape light, the voltage might vary from one end to the other.

Types of LED Drivers

In order to compensate for this, LED sources use LED drivers to manage the balance of current and voltage. A constant voltage LED driver, for example, will attempt to keep the voltage constant, while a constant current driver will attempt to keep the current constant. You’ll see both kinds of drivers used in LED lighting systems, depending on the individual needs of the system.

You’ll also hear the terms buck converter, boost converter, or buck-boost converter. These are all DC-to-DC converters that attempt to keep the voltage constant. These will adjust DC voltages so that you can use a slightly higher or lower voltage supply and yet still get a constant output. A buck converter will generally lower the voltage range, a boost converter will raise it, and a buck-boost converter will be capable of both. These are useful for adjusting, say, industrial supply voltage ranges to the ranges needed for digital control, such as microcontrollers.

Driver Control

Different LED Drivers feature a range of controls. In general, they are designed to integrate into a commercial lighting system, not necessarily to operate with microcontrollers. This means you’ll see a range of control methods.

Some are driven by simple resistive dimmers, which add resistance, lowering the signal voltage (not the supply voltage). 0-10VDC is an older, but still quite common, control method. It pre-dates digital controls, but can be driven by a simple potentiometer wall dimmer, if the voltage range is right.

Some are driven by pulse width modulation (PWM) of a DC signal. This is perhaps the most common currently, as it can be controlled by a microcontroller, or by a simpler circuit like a digital timer like a 555 timer. PWM systems operate at a range of voltages. Many operate i the 1-10V DC range, meaning they can be driven by 3.3V or 5V DC microcontrollers, but it’s important to check the exact range.

Some are driven by AC dimming, using a triac, or thyristor. Triacs are digital switching components which operate like transistors, except that they can switch AC circuits, unlike transistors. For more on triacs and AC dimmers, see this link from Electro University, a home electrical repair site.

Some of the more recent higher-end ones are controlled by digital control signals like DALI, which is the most recent industry-wide digital control system.

LED drivers come in a variety of physical packages, but those for use in a printed circuit board circuit generally come with either pins or wires. Though they can be mounted on a solderless breadboard, it’s sometimes useful to mount them on a separate PCB, with screw terminals or other easy-to-connect yet solid connectors.

A Few LED Drivers Compared

Here are the stats on four example PWM-controlled drivers, for comparison. The testing notes on each were done with an Arduino microcontroller PWMing the driver at 3.3V:

Meanwell NLDD-H Series DC-DC Constant Current LED Driver

Photo of a Meanwell NLDD-1400H driver mounted to a PCB board

Figure 1. Meanwell NLDD-1400H driver mounted to a PCB board

Vendors

Characteristics

BuckTitan DC High-Output LED Driver

Photo of a BuckTitan  LED Driver mounted to a PCB board

Figure 2. BuckTitan LED Driver mounted to a PCB board

Vendors

Characteristics

MiniPuck DC PWM Dimmable Constant Current LED Driver

Photo of a MiniPuck LED Driver mounted to a PCB board

Figure 3. MiniPuck LED Driver mounted to a PCB board

Vendors

Characteristics

Recom RCD Series LED Drivers RCD-24 Series 1.20

Photo of a Recom RCD series 1.20 LED Driver mounted to a PCB board

Figure 4. Recom RCD series 1.20 LED Driver mounted to a PCB board

Vendors

Characteristics

Sparkfun Femtobuck Constant Current LED Driver

Photo of a femtobuck driver from Sparkfun

Figure 5. Femtobuck driver from Sparkfun. Image from Sparkfun.com

This driver is a breakout board based on Diodes Inc.’s 40V 1.5A Buck LED Driver (datasheet)

Vendors

Characteristics

Conclusion

There are many other drivers on the market, of course. The companies represented here, Meanwell, LED Dynamics’ LuxDrive line, and Recom, and Diodes, Inc. are just four of a wide market. Most electronics companies will carry drivers. These were sourced from LEDSupply, which has excellent driver notes and Lighting 101 notes as well; Digikey, which has a wide inventory of LED drivers. Many other lighting supply companies, such as Bulbs.com, 1000Bulbs.com, and others have drivers as well.

For more on simple low-voltage DC control, see this page on controlling DC lamps. The first three examples show how to use a transistor to control a DC lamp (a TIP120 Darlington transistor, FQP30N06L MOSFET, and ILRB8721 MOSFET, respectively), and the fourth example shows how to use the Meanwell driver mentioned above.

References: