B
Bill Bowden
Guest
On Oct 12, 7:58 pm, ehsjr <eh...@nospamverizon.net> wrote:
You still waste the same power using the regulator or just a single
resistor. If he uses a couple white LEDs in series at 3.5 volts and a
270 ohm resistor, he gets 18mA at 12 volts and 28 mA at 14.5 volts.
Should be in spec for small 20000 mcd LEDs.
-Bill
The problem with that regulator is it doesn't do much for efficiency.Pete Verdon wrote:
petrus bitbyter wrote:
From: "haaaTchoum" <a...@a.com
You can try a constant current generator with two transistors :
http://img829.imageshack.us/i/26686413.gif/
In this example, you are sure to get around 20mA between 8 and 15V as
input voltage. Of course, this is an example to modify according to
your LED power.
Excellent advice... Assuming the OP to be able to understand the
schematic
and build the circuit.
I can certainly build the circuit straight from the diagram, although I
don't necessarily understand it well enough to make substitutions (eg a
different transistor due to availability, or different resistor values
for different LEDs)
This does look like a very interesting possibility.
Pete
It's a current regulator circuit. Here's a brief explanation:
R3 (33 ohms in the circuit) sets the current that will go through
the LED, regardless (within reason) of the voltage source.
R2 applies + to the base of Q1 making Q1 conduct and allowing the LED
to draw current through R3 and Q1.
When the current through R3 causes a voltage drop across R3 that equals
about .6 to .7 volts, Q2 conducts and creates a voltage drop across R2,
lowering the drive to the base of Q1, which in turn limits the amount
of current Q1 can conduct.
Since we know R3 is 33 ohms, and that Vbe for Q2 is around .6 to .7
volts, we can figure the amount of current that will be allowed by
using ohms law: I = E/R so I = .7/33 or about 21 mA. If we figure
based on .6 volts, I = .6/33 or about 18 mA
Provided we supply the circuit with a reasonable voltage, the current
through R3 (and therefore the LED) will be constant.
Reasonable in this case means a minimum voltage high enough to light
the LED in the circuit, and a maximum voltage low enough so that
the transistors maximum rating is not exceeded. Your 12 volt supply
is fine.
As to substituting parts: for a typical LED, you can use any NPN
transistors you have on hand. The typical Vbe will be around .6 to .7
volts. There is nothing critical about R2 - it is chosen to keep Q2's
collector current well below maximum. R3 is not critical either, but
it is chosen so that the LED maximum current is not exceeded.
Now, if you were to use a high power white LED, you need to select
components for that higher power - you can't just use whatever
you have on hand - and a heat sink for Q1 may be needed.
There is an even simpler circuit using an LM317 regulator IC:
-----
+12 -----in|LM317|out---+
----- |
adj [R]
| |
+---------+
|
[LED]
|
Gnd --------------------+
The value for resistor R is computed by the formula R = 1.25/I
where I is the current you want the LED to draw. Say you use a
typical LED and you want the current through it to be set about
20 mA. A 62.5 ohm resistor would provide that, and a standard
value of 62 ohms, or 56 ohms or 68 ohms would be close enough,
yielding currents of ~ 20.16, 22.32 and 18.38 mA, respectively.
You can also use the LM317 or the two transistor circuit with
LEDs in series.
Ed
You still waste the same power using the regulator or just a single
resistor. If he uses a couple white LEDs in series at 3.5 volts and a
270 ohm resistor, he gets 18mA at 12 volts and 28 mA at 14.5 volts.
Should be in spec for small 20000 mcd LEDs.
-Bill