Quick answer
How you set LED current decides efficiency, consistency and thermal behaviour at the same time. A series resistor is the cheapest option and works well when the drop across it is large — 12 V driving three 2 V LEDs wastes half the power but varies only a few percent with part-to-part Vf. The same resistor on a 3.3 V rail wastes less but varies much more, because the resistor drop is small compared with the Vf spread. A linear constant-current sink fixes the variation and keeps the waste; a switching driver removes the waste and adds cost and EMI.
Executive takeaways
- The resistor's drop is the ballast. The larger the voltage across the resistor relative to Vf, the less the current varies with LED binning and temperature.
- Efficiency is roughly VLED / VSUPPLY. A resistor driver on a 12 V rail with a 6 V LED stack is 50% efficient by construction.
- Vf falls as the junction heats, so a resistor-driven LED draws slightly more current when hot — the opposite of the usual thermal runaway concern, but it still matters.
- Above about 350 mA, the resistor is no longer a design option. The waste becomes a thermal problem and the variation becomes visible brightness differences between units.
1. The resistor: simple, and only as good as its headroom
The circuit is a resistor in series with the LED. The current is (VSUPPLY − Vf) / R, and everything about the design follows from that subtraction.
| Supply / LED stack | Voltage across R | Resistor | Efficiency |
|---|---|---|---|
| 5 V, one 2.0 V LED, 20 mA | 3.0 V | 150 Ω | 40% |
| 3.3 V, one 2.0 V LED, 20 mA | 1.3 V | 65 Ω | 61% |
| 12 V, three 2.0 V LEDs, 20 mA | 6.0 V | 300 Ω | 50% |
| 24 V, six 2.0 V LEDs, 20 mA | 12.0 V | 600 Ω | 50% |
Efficiency is just the ratio of LED voltage to supply voltage, because the same current flows through both. The 3.3 V case looks the most efficient and is the least consistent: with only 1.3 V across the resistor, a ±0.1 V spread in Vf moves the current by 7.7%.
That is the trade in one sentence. More headroom means more waste and better consistency; less headroom means better efficiency and worse unit-to-unit variation.
2. Where the variation comes from
Three effects move the current in a resistor-driven design.
- Vf binning. Two LEDs of the same part number can differ by 0.1–0.2 V at the same current. On a 3.3 V rail that is a 10–15% current difference.
- Temperature. Vf falls by roughly 2–4 mV/°C, so a hot LED draws more current from a fixed resistor. The magnitude is small at low headroom and larger at high current.
- Supply tolerance. A 5% rail on a 3.3 V supply is 0.165 V — comparable to the Vf spread, and it moves every LED in the product together.
For an indicator, none of this matters. For a backlight or a display where two units are compared side by side, a 15% current difference is a visible brightness difference, and it is the reason constant-current drive exists.
3. Linear constant current
A linear constant-current sink holds the current fixed by adjusting the voltage across a pass transistor. The LED current no longer depends on Vf binning or supply tolerance, and the brightness is consistent.
The dissipation moves from the resistor into the pass element: P = (VSUPPLY − VLED − Vheadroom) × I. On a 3.3 V rail with a 2.0 V LED and 0.3 V of headroom, that is 1.0 V × 20 mA = 20 mW in the driver — better than the 26 mW the resistor burned, and with consistent current.
On a 12 V rail with 6 V of LEDs, the linear driver still burns 6 V × I. It fixes consistency but not efficiency. That is when the switching driver becomes the right answer.
4. Switching drivers
A boost or buck LED driver transfers energy through an inductor instead of burning the difference. Efficiency of 85–92% is typical for a well-designed boost driving a string of LEDs, and the current is regulated by a sense resistor in the LED path.
The trade is EMI, inductor size and a control loop that has to stay stable across the LED string's voltage range. For anything above a few hundred milliamps, or any battery-powered product where runtime matters, it is still the correct choice.
5. Worked example: a 12 V indicator panel
Take a panel with three 2.0 V LEDs in series, running from 12 V at 20 mA, with a requirement that brightness not vary by more than 10% between units.
- Resistor: R = (12 − 6.0) / 0.02 = 300 Ω. With Vf spread of ±0.3 V across three LEDs, current varies from 19.0 to 21.0 mA — ±5%, acceptable.
- Efficiency: 6.0 / 12 = 50%. The panel burns 120 mW in resistors for 120 mW of light.
- Temperature: at 60 °C the LED string drops by about 3 × 0.12 V = 0.36 V, so current rises to 21.2 mA — another 6%. Combined with binning, some units reach 22 mA.
- Linear driver: current held at 20 mA ±2% across the same range, but still 120 mW in the pass element.
- Boost driver: 12 V input, 6 V LED string is a buck, not a boost — a buck LED driver at 90% efficiency burns 13 mW instead of 120 mW.
At 20 mA the resistor is fine and the 120 mW is a rounding error. At 200 mA the same panel would burn 1.2 W in resistors, which is a thermal design.
6. Thermal behaviour of the LED itself
LED lifetime and lumen maintenance are set by junction temperature, not by drive current alone. A 5 mm indicator at 20 mA runs cool; a high-power emitter at 1 A needs a thermal path measured in a few °C/W.
Two numbers matter: the thermal resistance from junction to solder point (given in the datasheet) and the board's ability to spread heat. A part with 10 °C/W junction-to-solder and 2 W of dissipation needs the solder point held 20 °C above ambient just to stay at 60 °C junction.
Driving at a lower current is often a better lifetime decision than adding heatsink: efficiency per lumen improves at lower current, and junction temperature falls faster than the light output does.
7. Five mistakes we see
1. Sizing the resistor at nominal Vf only. The bin range and the supply tolerance both push the current up, and the worst case is what the LED sees.
2. Sharing one resistor between parallel LEDs. The lowest Vf part takes most of the current, and it fails first, then the next.
3. Ignoring the resistor's own power rating. A 300 Ω resistor at 20 mA dissipates 120 mW; an 0402 rated 63 mW will run hot and drift.
4. Using a 3.3 V rail with a 2.0 V LED for consistency. The headroom is too small for a resistor; use a constant-current sink.
5. Designing for 20 mA when 5 mA is enough. Modern indicator LEDs are bright at a few milliamps, and the lower current solves efficiency, thermal and consistency at once.
8. Selection checklist
- LED forward voltage range from the datasheet, not the typical.
- Supply voltage and tolerance.
- Required current accuracy and whether units are compared side by side.
- Efficiency target: VLED / VSUPPLY for a resistor.
- Dissipation in the resistor or pass element, and its power rating.
- Junction temperature and thermal path for anything above 100 mA.
- Dimming requirement: PWM, analog, or none.
- EMI constraints if a switching driver is used.
FAQ
Can I drive an LED without a resistor?
Only from a current-limited source. A voltage source will destroy it, because Vf has a steep exponential relationship with current.
Why do my LEDs have different brightness?
Vf binning plus a small resistor headroom. Either buy a tighter bin, increase the headroom, or move to constant current.
Does a resistor make the LED dimmer when hot?
No, slightly brighter. Vf falls with temperature, so the resistor drop increases and the current rises — a few percent for a typical design.
What is the efficiency of a resistor-driven LED?
Approximately VLED / VSUPPLY. A 2 V LED on 12 V is 17%; three in series on 12 V is 50%.
Can I put LEDs in parallel with one resistor?
No. They will not share current evenly, and the hottest one takes the most. Give each string its own resistor or its own current sink.
How do I dim an LED?
PWM on the driver is the usual method; it preserves colour because the current is either on or off. Analog dimming changes the current, which shifts colour slightly in some parts.
Does LED colour affect the driver choice?
It changes Vf: blue and white are around 3 V, red and amber around 2 V. That changes the headroom and therefore the resistor and the efficiency.
Glossary
- Vf
- Forward voltage of the LED at its rated current.
- Headroom
- Voltage left across the resistor or pass element after the LED string.
- Binning
- Sorting of parts by forward voltage or flux at the factory.
- Linear constant current
- Driver that holds current fixed by dropping the excess voltage across a transistor.
- Switching driver
- Boost, buck or buck-boost converter that regulates LED current through an inductor.
- Lumen maintenance
- How much light output remains after a period of operation.
Sources
- Texas Instruments, TPS22918 load switch product page — referenced for the pass-element dissipation model used in the linear driver example.
- Texas Instruments, SLVA477 — Basic Calculation of a Buck Converter's Power Stage — the converter loss model behind the switching driver efficiency figures.
- Texas Instruments, TPS562208 product page — synchronous buck reference for a buck-mode LED driver.
Setting LED current that has to stay consistent?
Browse power management ICs and optoelectronics, or send the LED string, supply and current accuracy and we will compare resistor, linear and switching options.
Related reading: buck or LDO, thermal vias and copper area, and electrolytic capacitor life.