Voltage regulator to maintain constant amps

Click For Summary

Discussion Overview

The discussion revolves around designing a circuit to maintain a constant current of 20 mA through an LED, exploring various configurations and components, including voltage regulators and resistors. Participants share ideas on circuit setups, potential components, and alternative methods for achieving current regulation.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant suggests using a voltage regulator to maintain a constant current through an LED, questioning the appropriate circuit setup.
  • Another participant recommends using a 7805 voltage regulator to produce 5 volts and a resistor to limit the current to 20 mA, providing calculations for the resistor value based on LED voltage drop.
  • A different approach is proposed, where a 7805 regulator can be configured as a constant current source by using a resistor from the output pin to the ground pin, with the LED connected differently to ensure consistent current regardless of load variations.
  • One participant expresses appreciation for the idea of using a voltage regulator as a current regulator, indicating it was a novel concept for them.
  • Another participant suggests an alternative method using a transistor in common emitter mode with an emitter resistor to define the current, arguing it may be a cheaper and more educational approach.

Areas of Agreement / Disagreement

Participants present multiple competing views on how to achieve constant current for the LED, with no consensus reached on the best method. Various configurations and components are debated, indicating differing opinions on the most effective approach.

Contextual Notes

Some participants mention specific component values and configurations, but there are unresolved assumptions regarding the LED characteristics and the impact of load variations on current regulation.

nheugel
Messages
4
Reaction score
0
I am trying to design a circuit that has 20 mA acoss an LED, I had been advised I could use a voltage regulator to keep the current at 20 mA. However, I am not exactly sure as to how to set up the circuit. Would I set it up so that it would maintain a voltage and then run that voltage across a resistor to keep the current constant? or is there some other configuration I should be using?
 
Engineering news on Phys.org
Yes, the easy way would be to use a 3 terminal regulator to produce 5 volts then use a resistor to limit the current to 20 mA.

A suitable regulator would be a 7805. These are available very cheaply in most electronic component stores or on Internet.

The resistor will depend on the type of LED, but a red LED would drop about 1.5 volts.
So, this leaves 3.5 volts across the series resistor.

Using Ohms Law, the resistor has 3.5 volts across it and 20 mA ( 0.02 amps) flowing through it, so it has a value of (3.5 / 0.02) or 175 ohms.

You can't normally buy 175 ohm resistors, but you can buy 150 or 180 ohm resistors. 180 is closest, but you can check the current with a multimeter.
 
It IS possible to build a constant current source using a 7805, or about any 780X regulator. Pick your regulator, (7805 for sake of discussion), pick your current (.02 amps for sake of discussion). Put a 250 ohm resistor from the output pin to the ground pin except DON'T ground the ground pin. Instead, put the LED from the ground pin to ground. No matter what type of load or LEDs in series for instance that you put here, the current will always be .02 amps unless the load resistance gets so high that the regulator runs out of voltage headroom. Might want to watch capacitive loads though. Be careful there.
-
Advantage of such a circuit? I once needed something like this to run an LED array that drew around .25 amps with a developed voltage across the bank considerably higher than the standard 1.5 to 2 volts that a normal LED drops, like closer to 6. So in order to guarantee the same array brightness I used the above described scheme with a low dropout 5 volt regulator. This prevented the input voltage to the regulator which could vary between 11 and 14.5 volts from changing the LED intensity. Now arguably I could have just went with a low dropout 10 volt regulator and picked a suitable current limiting resistor, but variations in the LED array would have had much more of an effect on the brightness.
 
Whoa...Kewel idea...
Never occurred to me that it would be so easy to turn a voltage reg into a current regulator...
thanks!
 
If you're only feeding a humble LED you only need to use a transistor in ce mode with an emitter resistor to define the current. Cheaper and you'd learn more about the way things work, I'd bet.

But a series resistor and a voltage source of a few volts higher than the LED operating voltage is all that's usually required
 

Similar threads

  • · Replies 32 ·
2
Replies
32
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 38 ·
2
Replies
38
Views
5K
  • · Replies 16 ·
Replies
16
Views
4K
Replies
2
Views
2K
Replies
2
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 32 ·
2
Replies
32
Views
3K