Re: luxeon led dimmer circuit



On Sun, 02 Oct 2005 19:10:09 +0100, andy wrote:

> I've built the following circuit on breadboard as a dimmer circuit for 3
> luxeon III Star ultrabright LEDs:
>
> http://www.niftybits.ukfsn.org/electronics/luxeon-dimmer.png
>
> any comments welcome. It does work at the moment, but when the battery
> is low, the maximum current drops from 0.9 A to 0.7 A, and the op-amp
> swings near to the top rail. The one thing I'm thinking of changing
> before I solder it up is to change the 1 ohm sense resistor for a lower
> value (maybe 0.5 ohm) so that the transistor has a bit more headroom to
> work with, which should cure this I think.
>
> The LEDs are /very/ bright by the way - 3 of them are enough to light a
> small room well enough to read by. The light is a bit unkind on the
> eyes, but not too bad. 3 at full current are about equivalent to an 11
> Watt energy saving fluorescent light bulb, which puts them in roughly
> the same bracket as far as efficiency goes.

Another way to control brightness is to use what is called a PWM circuit.
Basically, you give your pass device a pulse every once in a while, and
control the percentage of time it is on. Since you aren't just burning up
energy with a resistor, it is often cooler and more efficient.

A simple circuit for this consists of a cmos 555, an N-channel JFET, a
cap, and a pot:

-----------------------o--------------o--Vcc
| |
| ||--'
.--------. | || J1=BF245B
.------+Vss Vcc+----' .->||--.
| | CN555 | | |
| | | | |
| | tr & th----------o------o
| | | R=470 |
| .---+OUT DISC+---o-\/\/\/\--------o
| | | | | ^ |
| | '--------' '----' |
| | |
| | |
| '-Gate of logic level NMOS ----- C=1uF
| -----
| |
-o------------------------------------o--Gnd

Call the current through J1 'I'.

The period is going to be the sum of the charging time

Tc = (1/3 * Vcc) * C / I

and the discharge time is

Td = R*C*ln((2Vcc - 3RI)/(Vcc - 3RI))

The duty cycle, which is what you are interested in, will obviously be

Tc/(Tc+Td)

since OUT is high during Tc.

The odd thing is that if you simplify this, the duty cycle doesn't depend
on the size of the capacitor; it only depends on vcc, Id(J1), and R. Thus,
you can pick a cap that is small enough so you don't see a flash, but not
too so the pass transistor requires too much dynamic current. The duty
cycle defined by this monster:

Vcc
D = ---------------------------------------------
Vcc + 3 R I ln((2 Vcc - 3 R I)/(Vcc - 3 R I))

So, when R is 0, D is 1, and when R is Vcc/3I, D is 0

That means that when R=Vcc/3I, the thing will simply stop, with output
low. The reason is that the discharge pin won't be able to pull the
trigger pin lower than Vcc/3. When R=0, it won't take any time to
discharge the timing node (well, almost no time) so D <- 1.

The N-JFET will vary as to how much current it will source in this
configuration. If it is sourcing too much, put a small resistor between
the drain and the point where the gate attaches; this will lower the
current. However, you need to make sure that your new resistor times the
current isn't bigger than Vcc/3. If it is, the output will get stuck
trying to pull the timing cap up to 2/3 Vcc, which means output will be
high and your pass transistor will be on all the time.

If you can't find a JFET, you can use a couple of PNP transistors as a
reasonable current source, like this:

--------o---------o-------vcc
| |
| [Rxx]
| |
e |
b--------o
c |
| e
o--------b
| c
| |
[Ryy] '----- current out
|
GND

Rxx sets the current to near I = 0.615/Rxx. Ryy should provide 1/10 of the
current through Rxx, so

Ryy = 10*(Vcc - 1.3)/I

---
Regards,
Bob Monsen











.



Relevant Pages

  • Re: astable multivibrator issues - 2N3904s work, but not TIP31As
    ... the circuit would not oscillate unless I briefly disconnected then re- ... The main issue folks have is that they forget to bypass the power supply, ... As a side note, the easy way to build a square wave oscillator from a cmos 555 is to connect the output pin to a resistor, then connect the other side of the resistor to ground through a capacitor. ... For your application, you might use the discharge to directly drive one LED, and have the other LED driven by a power PMOS or PNP transistor. ...
    (sci.electronics.basics)
  • Re: PMOS in parallel with NMOS
    ... Take a PNP bi-polar transistor. ... Now obviously, in everyday life, you put a resistor going into the ... it's OK because the pulse width and duty cycle are low enough that it ...
    (comp.arch.embedded)
  • Re: Simple mosfet question
    ... describe the simple circuit and I think it will be clear: ... There is a 2N7000 N-ch mosfet transistor, ... a resistor, 10k, and the other side of the 10k resistor is tied to a ... Need to learn how to apply control theory in your embedded system? ...
    (sci.electronics.design)
  • Re: Help! Capacitive coupled transistor setup
    ... It is the reference circuit from Kodak for their CCD imaging sensors. ... with the emitter of each transistor and its corresponding ... resistor to the base of one of the transistors. ... end of the resistor to V high and observe the LEDS, ...
    (sci.electronics.design)
  • Re: Newbee: Optocoupler to BasicStamp
    ... > the circuit to work. ... > pulled up by a 10K resistor. ... > I cant get the Stamp to detect on/off states. ... The input to the base of a transistor is what normally turns it on. ...
    (sci.electronics.basics)