nux
Head-Fier
- Joined
- Mar 4, 2009
- Posts
- 67
- Likes
- 10
Quote:
This is all wrong. An LED is a diode, hence its forward voltage is almost constant across a wide range of current. 0.1mA could be 2V, 20mA could be 2.001V. Look at the datasheet for an LED, it should have a V/I graph. Hence, you cannot control an LED's brightness well with a voltage source, you need to control the current going to it, hence a CCS. As I said, an LED's brightness is roughly logarithmic, the relative brightness change decreases as the current through it increases linearly. A PWM can also be used because it turns on and off the LED very fast, the brightness is roughly linear with the duty cycle.
Light-emitting diode - Wikipedia, the free encyclopedia
Have a look at the I-V diagram, and you can see at Vd (the forward turn on voltage), the voltage changes very little for a big change in current.
Quote:
You would want an exponential current to cancel the logarithmic brightness of an LED to make the brightness appear to linearly increase over time. Exponential is the inverse of logarithmic functions, so if it lights up logarithmically it can't 'look' exponential =)
Originally Posted by cerbie /img/forum/go_quote.gif The thing is, 1ma could be 2V, 10ma could be 2.5V, and 50ma could be 3.5V--not a nice neat voltage scale (it's logarithmic, as is your perception of light). So, with a plain RC circuit, you would be ramping voltage, the LED would appear to turn on late but quickly. |
This is all wrong. An LED is a diode, hence its forward voltage is almost constant across a wide range of current. 0.1mA could be 2V, 20mA could be 2.001V. Look at the datasheet for an LED, it should have a V/I graph. Hence, you cannot control an LED's brightness well with a voltage source, you need to control the current going to it, hence a CCS. As I said, an LED's brightness is roughly logarithmic, the relative brightness change decreases as the current through it increases linearly. A PWM can also be used because it turns on and off the LED very fast, the brightness is roughly linear with the duty cycle.
Light-emitting diode - Wikipedia, the free encyclopedia
Have a look at the I-V diagram, and you can see at Vd (the forward turn on voltage), the voltage changes very little for a big change in current.
Quote:
Originally Posted by cerbie /img/forum/go_quote.gif If you ramp the voltage logarithmically, it will appear as if it is lighting up close to linearly. If you ramp the current linearly, it will appear to light up slightly logarithmically (however, it will probably be subtle enough that it will "look" exponential or linear). |
You would want an exponential current to cancel the logarithmic brightness of an LED to make the brightness appear to linearly increase over time. Exponential is the inverse of logarithmic functions, so if it lights up logarithmically it can't 'look' exponential =)