Driving an LED with constant current

Predict · 9 min

Two red LEDs from one 9 V battery, both at about 15 mA. LED A has a plain 470 Ω resistor. LED B has an LM317 regulator wired as a current regulator: it adjusts itself to keep 1.25 V across its 82 Ω resistor, so it holds about 15 mA through it, whatever the supply voltage. (You'll take it apart in the regulators topic; here, treat it as a box that keeps the current steady.) Press Run: they're equally bright.

The battery runs down, to 6 V. What happens to each LED's current, and so its brightness?

  • A drops to a little over half; B stays at 15 mA
  • Both drop to two thirds, like the battery
  • Both stay the same
  • A stays the same; B drops

Try it: select the battery, set it to 6 V, and press Run. Compare the LEDs, and their currents (select each one).

On a real bench the LM317 itself needs about 2 V across it, on top of the 1.25 V on its resistor, before it can hold the current. Below that, it can't regulate, and the LED dims like any other. The datasheet calls this the dropout voltage.

Now a fresh supply at 12 V (set the battery to it). Predict first: by how much does A's current go up?

  • About 40% more: over 21 mA
  • A third more, like the supply
  • It doubles
  • It doesn't change

Why does a constant current suit an LED so well?

Choose all that apply.

  • Its brightness follows its current
  • Its forward voltage varies from LED to LED and falls as it warms
  • A current regulator can drive a whole series string at one current
  • It makes the LED's voltage exactly 2 V

Driving an LED:

  • from a voltage through a resistor, its current changes by more than the supply does: I=(Vsupply−VF)/R;
  • from a current regulator, it holds its current, and so its brightness, as long as there's headroom (here about 3 V above the LED);
  • resistors are fine where the supply is steady; batteries, cars and long strings need constant current.