Rich D.
Active Member
I was playing around with some parts. I have a new LED driver that is supposed to deliver 20mA to one or a whole string of LEDs, and it can take from a few volts up to 90 volts. In either case it delivers 20mA. Seems to work fine. It's a Supertex CL520. What I thought was cool was that for about 30 cents, I can skip the current limiting resistor and just hook it up thoughtlessly, getting 20mA even with a varying voltage source.
So if I wanted to drive - say - 9 white LEDs, I could use either about 30 volts or so, or I could split the LED strings into groups of two or three and use only 12 volts power. Of course that would require three of those CL520's right?
Well, if I employed a current mirror using a 4-cent transistor, maybe not. My thinking was that if I put a transistor in the grounded side of the LED circuit, I could "mirror" that current to a few more sets of LED strings and they would all run at the same 20mA.
BUT: It doesn't work that way. Crudely it does - for example when I removed the "master" LED, the other transistors and their LEDs do shut off, but normally they run much brighter than the 20mA needed, and those LEDs all seem to have the voltage sensitivity that a normal current-limiting resistor has. It seems the current mirror idea is not regulating the LED currents at all!
I have a few possible reasons, but I have no idea why this circuit doesn't seem to work like the text books say. Maybe it doesn't work because I'm not using well-matched transistors? Don't think so.
Maybe with the CL520 current regulator setting the current the transistors are not able to find their own "sweet-spot" and regulate current? That doesn't seem right either.
Perhaps the 2N3904's I am using don't have enough current gain? Should I try darlington? They are supposed to have about 100X gain at the currents they are using, so that seems enough.
I am baffled. Yes, this circuit might be a little odd because a CL520 and transistors are more expensive than a few resistors, but this isn't so much an engineering application problem as it is an academic problem. If there is anybody out there that knows what is going on here, I would welcome any explanation.
I attached two sketches - pardon my bad graphics.
#1 is my basic drawing of a current mirror, where I on the left is supposed to create a similiar I on the right.
#2 shows my basic circuit. On the left, 12V supplies the CL520 and a couple of LEDs, then finally the current mirror "input".
The "output" side of the current mirror (there are 2 of them) are connected to similar pairs of white LEDs. Ignore that 258/220 ohm resistor, I tried it to no effect.
So, anybody want to take a stab at this?
So if I wanted to drive - say - 9 white LEDs, I could use either about 30 volts or so, or I could split the LED strings into groups of two or three and use only 12 volts power. Of course that would require three of those CL520's right?
Well, if I employed a current mirror using a 4-cent transistor, maybe not. My thinking was that if I put a transistor in the grounded side of the LED circuit, I could "mirror" that current to a few more sets of LED strings and they would all run at the same 20mA.
BUT: It doesn't work that way. Crudely it does - for example when I removed the "master" LED, the other transistors and their LEDs do shut off, but normally they run much brighter than the 20mA needed, and those LEDs all seem to have the voltage sensitivity that a normal current-limiting resistor has. It seems the current mirror idea is not regulating the LED currents at all!
I have a few possible reasons, but I have no idea why this circuit doesn't seem to work like the text books say. Maybe it doesn't work because I'm not using well-matched transistors? Don't think so.
Maybe with the CL520 current regulator setting the current the transistors are not able to find their own "sweet-spot" and regulate current? That doesn't seem right either.
Perhaps the 2N3904's I am using don't have enough current gain? Should I try darlington? They are supposed to have about 100X gain at the currents they are using, so that seems enough.
I am baffled. Yes, this circuit might be a little odd because a CL520 and transistors are more expensive than a few resistors, but this isn't so much an engineering application problem as it is an academic problem. If there is anybody out there that knows what is going on here, I would welcome any explanation.
I attached two sketches - pardon my bad graphics.
#1 is my basic drawing of a current mirror, where I on the left is supposed to create a similiar I on the right.
#2 shows my basic circuit. On the left, 12V supplies the CL520 and a couple of LEDs, then finally the current mirror "input".
The "output" side of the current mirror (there are 2 of them) are connected to similar pairs of white LEDs. Ignore that 258/220 ohm resistor, I tried it to no effect.
So, anybody want to take a stab at this?
