52
\$\begingroup\$

For blue LEDs with a forward voltage of 3.3 V and supply voltage of 3.3 V, is a series resistor still needed to limit current?

Ohm's Law in this case says 0 Ω, but is this correct in practice?

Perhaps just a small value like 1 or 10 Ω just to be safe?

\$\endgroup\$

9 Answers 9

46
\$\begingroup\$

No, it's not correct, if only because neither the LED nor the power supply are 3.3V. The power supply may be 3.28V, and the LED voltage 3.32V, and then the simple calculation for the series resistor doesn't hold anymore.

The model of a LED is not just a constant voltage drop, but rather a constant voltage in series with a resistor, the internal resistance. Since I don't have the data for your LED let's look at this characteristic for another LED, the Kingbright KP-2012EC LED:

LED characteristic

For currents higher than 10mA the curve is straight, and the slope is the inverse of the internal resistance. At 20mA the forward voltage is 2V, at 10mA this is 1.95V. Then the internal resistance is

\$R_{INT} = \dfrac{V_1 - V_2}{I_1 - I_2} = \dfrac{2V - 1.95V}{20mA - 10mA} = 5\Omega\$.

The intrinsic voltage is

\$V_{INT} = V_1 - I_1 \times R_{INT} = 2V - 20mA \times 5\Omega = 1.9V.\$

Suppose we have a power supply of 2V, then the problem looks a bit like the original, where we had 3.3V for both supply and LED. If we would connect the LED through a 0\$\Omega\$ resistor (both voltages are equal after all!) we get a LED current of 20mA. If the power supply voltage would change to 2.05V, just a 50mV rise, then the LED current would be

\$ I_{LED} = \dfrac{2.05V - 1.9V}{5\Omega} = 30mA.\$

So a small change in voltage will result in a large change in current. This shows in the steepness of the graph, and the low internal resistance. That's why you need an external resistance which is much higher, so that we have the current better under control. Of course, a voltage drop of 10mV over, say, 100\$\Omega\$ gives only 100\$\mu\$A, which will be hardly visible. Therefore also a higher voltage difference is required.

You always need a sufficiently large voltage drop over the resistor to have a more or less constant LED current.

\$\endgroup\$
4
  • \$\begingroup\$ "Always"? There isn't a more efficient way to drive them? \$\endgroup\$
    – endolith
    Commented Oct 26, 2011 at 13:38
  • 2
    \$\begingroup\$ @endolith - there are ways of controlling the current with a smaller current sense resistor and a transistor (BJT or MOSFET), but there the transistor replaces the usual resistor, and also needs the voltage drop. \$\endgroup\$
    – stevenvh
    Commented Oct 26, 2011 at 14:38
  • 5
    \$\begingroup\$ There are also ways of controlling the current with a switch-mode current regulator, which will be more efficient, but that's probably not necessary for readers of this question. \$\endgroup\$ Commented Apr 17, 2012 at 12:24
  • 2
    \$\begingroup\$ @stevenvh I need to add a question for clarification: as Andy says below then, the 3.3V would probably not be enough to drive the 3.3Vf LEDs because there's no way to add a resistor without the voltage dropping below the Vf? Is there any way to run 3.3Vf LEDs over a 3.3V source then? I don't know about Craig's case, but I'm trying to use a PC PSU to make a home-made LED lamp; some of my LEDs have 3.3Vf so they would fit "just right" in the 3.3V rail; the rest I'm putting on the 12V rail (but in series that never reach 12V, each string has it's own resistor in there). I should prolly make a Q \$\endgroup\$ Commented Apr 14, 2018 at 20:28
23
\$\begingroup\$

You always need a current limiting device. When using a voltage source, you should always have a resistor, think about what happens when the voltage changes by a small amount. With no resistor, the LED current would shoot up (until you hit a thermal based limit due to the LED materials). If you had a current source, then you would not need a series resistor because the LED would run at the current source level.

It is also unlikely that the forward voltage of the LED is always exactly the same as the supply. There will be a range mentioned in the datasheet. So even if your supply exactly matched the typical forward voltage, different LEDs would run at vastly different currents, and hence brightnesses.

\$\endgroup\$
4
  • 7
    \$\begingroup\$ Also think about what happens if the LED fails and shorts. Limiting resistor is not just a good idea, its the law! (well ok maybe not) \$\endgroup\$
    – freespace
    Commented Apr 11, 2011 at 13:55
  • 1
    \$\begingroup\$ Surely a fuse would be better for higher powered applications? Otherwise you'd need pretty hefty resistors able to dissipate more than the rated power of the led! \$\endgroup\$
    – avl_sweden
    Commented Jul 16, 2015 at 18:46
  • \$\begingroup\$ @avl_sweden in higher power applications, you'd want a switching power supply configured to act as a constant current source. You also get the side benefit that it can detect changes in load and tell you an LED shorted (or other abnormal operating conditions) \$\endgroup\$
    – mbrig
    Commented Dec 8, 2016 at 7:45
  • \$\begingroup\$ My earlier comment was a response to freespace. Of course you need a current limiting device to handle natural variability of LED voltage drop and voltage source inperfection etc. \$\endgroup\$
    – avl_sweden
    Commented Dec 9, 2016 at 8:29
11
\$\begingroup\$

The I-V relationship in a diode is exponential, so applying a voltage difference of 3.3 V +/- 5% to an LED with a nominal 3.3V drop is not going to result in a 5% variation in intensity.

If the voltage is too low, the LED may be dim; if the voltage is too high, the LED may be damaged. As Hans says, a 3.3V supply is probably not enough for a 3.3V LED.

When driving an LED, it is better to set the current, not the voltage, since the current has a more linear correlation with the light intensity. Using a series resistor is a good approximation of setting the current through the LED.

If you can't use a supply with enough headroom to allow a current-setting resistor, you might be able to use a current mirror. That still requires some voltage drop, but possibly not as much as you'd need for a resistor.

\$\endgroup\$
2
  • \$\begingroup\$ A current mirror also has a required voltage drop over the transistor. It may be able to follow the current quite well (so you set a 10mA reference and get very close to that on the other side), but it will need a little bit of voltage to work. \$\endgroup\$
    – Hans
    Commented Apr 11, 2011 at 17:14
  • \$\begingroup\$ @Hans good point, I updated to make that clearer \$\endgroup\$
    – Andy
    Commented Apr 11, 2011 at 17:25
7
\$\begingroup\$

You need a voltage drop over the current limiting resistor for it to work. And that voltage drop should be substantial to avoid high currents when your 3.3V is a bit off (maybe 3.45V for a while). If you would drive a LED with 1V voltage drop across a resistor and the supply is 1V higher, you would have approx. the double current.

A LED needs a constant current to shine. However, a constant current source probably needs more than 3.3V for a blue LED, unless you're using a buck-boost version.

\$\endgroup\$
4
\$\begingroup\$

If the power source was exactly 3.3V and the voltage drop across the LED was 3.3V then you would not need a current limiting resistor. However, the world is not perfect and there are imperfections in everything!

You only can calculate an appropriate safety resistor value after accounting for the power supply configuration and variation in the LED forward voltage. If you think \$V_{SOURCE}-V_{LED}\$ may have an error/variation up to \$0.5 \mbox{ }V\$, then you would calculate the resistor value for that. As an example the case of \$ \pm 0.5\mbox{ }V\$, which isn't unreasonable for a 10% 5V source:

$$\frac{V}{I} = \frac{0.5\mbox{ }V}{20 \mbox{ mA}} = 25\mbox{ }\Omega $$

Just note that this is probably not a good idea in practice, but it is possible.

\$\endgroup\$
1
  • \$\begingroup\$ If you don't use a current limiting resistor on a LED, it will typically splice itself in two (personal experience). \$\endgroup\$
    – Hans
    Commented Oct 25, 2011 at 18:41
1
\$\begingroup\$

If the forward voltage and supply voltage are nearly equal, using a resistor will yield results which are very sensitive to variations in supply voltage or LED characteristics. If the resistor is sized to avoid damaging the LED if it turns out the supply voltage is at maximum and the LED intrinsic voltage is minimum, the LED will only light with a fraction of its possible brightness if the supply voltage is at its minimum and the LED intrunsic voltage is at its maximum.

Using some type of current-regulating circuit will yield much better results, although most simple current-regulating circuits have a certain amount of compliance voltage. Probably the easiest thing to do in many cases is use an LED driver chip with a built-in booster circuit. Some of those can do a good job regulating LED brightness independent of supply voltage.

\$\endgroup\$
1
\$\begingroup\$

Even if the voltages were the same you would still need to add a resistor. The only time you don't add a resistor is when the current output from source is less then or equal to the amount needed, for example connecting a white LED to a CR2023. No resistor needed, since the battery's internal resistance limits the current to an acceptable level.

Don't worry about adding a resistor because it is the cheapest thing you can add to protect your LED, unless you're dealing with high current LED.

\$\endgroup\$
0
\$\begingroup\$

If you are driving the LED from a source with very low internal resistance, then the LED will be sensitive to small changes in supply voltage. If you are driving the LED from a large power supply capable of delivering in the amps range, and it drifts 10mV higher, you may cook the LED.

Note that in many instances, such as inexpensive flashlights, the LEDs are seen as disposable, and they are pretty sure the battery terminal voltage is not going to be more than whatever is normal for that type of battery's chemistry; the LED probably operates over spec or right on the edge with fresh batteries. Also, depending on the devices' forward conduction curve, you may not be able to get, say, 20mA into a white or blue LED on a 3.3V supply. And if you do the math, putting a 5 ohm resistor in series with the LED is not going to buy you a lot of voltage latitude.

However, up to this point we have only been concerned with the health of the LED, which seems kind of simple-minded. I would be much more concerned about over stressing one of the I/O pins on a microcontroller that cost me a few bucks than cooking an LED that can be bought for under 2 cents on eBay. So, if I were to connect an LED to the output of an expensive chip with a 3.3V Vcc, even if the LED was rated at 3.3V I would probably rather add a few hundred ohms and run the LED off just a few mA than risk damaging the expensive part. If I wanted the LED to be bright I would use a transistor or a dedicated chip to drive it. With that approach you can run the LED off the raw power supply and use a bigger dropping resistor. That gives you more latitude with the LED and there is less chance of damaging the expensive part by over-stressing the output.

\$\endgroup\$
0
-2
\$\begingroup\$

LEDS can handle much more PEAK current than steady state. Study the LED datasheet and then PWM the LED within its PEAK duty cycle limits and you then will not need a resistor

\$\endgroup\$
1
  • 3
    \$\begingroup\$ This LED has 160mA **Absolute Maximum Ratings**(!) at 10% duty cycle. AMR means that it should not work continuously under the given conditions. How are you going to limit the current to less than 160mA without series resistor? \$\endgroup\$
    – stevenvh
    Commented Apr 17, 2012 at 12:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.