It's a practical device that anyone could use. Doesn't look too difficult to build, either. I think I'll modify my wife's floor-standing lamp. Her lamp as it is now either has a hot glaring incandescent or a lousy CFR. This might be just what she needs.
No, I see no problems with what you want to do. If you are running the LEDs at 20mA and have no more than 126 volts worth of LEDs, you can put them in series and probably don't need to tweak anything. If you can, bypass the series resistors in the prefab LED strings to save the wasted power. You would probably use the circuit in figure 1 of the article. If you don't mind running a third wire to the LED string, you could use one of the LEDs as the voltage reference as in the lamp and in figure 2 of the article. R4 has a lot of adjustment range to it. BTW, you can power less than 7 LEDs with the circuit, but the dimming operation will be very abrupt, due to the steep slope of the rectified sine-wave at this low voltage.
I'm going to have to build one (or more) of these.
You state a minimmum of around 7 LEDs, so I figure around 21V min.
I have some reels of 12V prewired series/parallel string surface mount LEDs (3 chips and a resistor, every 50mm). If I cut some into sections, and wire 2 or more 12V sections in series, I'm guessing they should work with some triming of your circuit values. Other than the extra losses in the built-in series resistros, do you see any problems with this?
armorris, What a cool project. I find it to be quite simple in design and its very efficient (5W). I've worked on a lot of LED lighting fixtures and they seem to be over complicated with microcontrollers and switching mode power supplies. I'm really amazed at the PMOSFETs with no heatsinks. Its amazing what you can do with PMOSFETs. Very nice project!!!
The LED driver circuit in this article is an adaptation of a voltage regulator circuit that I created years ago to fix an overheating problem in a cheap Chinese-made stereo set. If interested, see the link below.
Much more recently, I found similar but different versions of the concept in three "EDN Design Ideas" articles, by different authors. I have PDF copies, but no links, if you're interested (downloaded from the site when it was free). Two of them were used to power LEDs, but neither circuit automatically adapts to the number of LEDs used, nor would they accommodate precision dimming. Mine is the only version that takes the output off the source instead of the drain of the MOSFET. This allows switching the high side of the load, with the more powerful N-channel MOSFET (i.e. half the on-resistance of a similar sized P-channel MOSFET). However, this requires a bootstrap circuit (R2, D6, D7 and C2) to provide the turn-on bias voltage for the MOSFET. It is the high-side switching that allows the precise dimming and the automatic adaptation to the number of LEDs used, plus it does not require dropping high voltage across an energy-wasteful resistor.
You're absolutely right about the transistor, but you need to balance the voltages in the strings to keep a low voltage across Q3. If you do that, then the specified transistor is fine. Also, if you don't do it, Q3 will unnecessarily waste power. The primary string must always have equal or greater voltage than the secondary strings. Also, the 220 ohm current limiting resistors will never be in parallel, as only the resistor in the primary string is used to set the primary LED current. The secondary string will have its own seperate current sense resistor. The circuit in figure 3 of the article was used as the breadboard in the video.
This circuit is very clever, and I enjoyed deciphering how it works (although I have not built it). However, I wonder about the driver for the second string of LED's. As you mention, different color LED's have different voltages. So if the "second string" voltage is greater than the primary string, then Q3 will be saturated and you basically will have two strings of LED's in parallel, and your current regulating resistors will also be in parallel (110 ohms total). On the other hand, if the secondary string has significantly less voltage either due to the rating of the LED's or to a lower number of LED's in the string, then you will have a significant collector-base voltage across Q3. It's only rated to 40 volts, and you could easily exceed the rated power dissipation if the C-E voltage reached around 30 volts. There's well over 100 volts available from the power supply, so I think this is a problem. Perhaps a 2SA821STPQ-ND would be a better choice (210 volt VCE, 200mA capability).
Focus on Fundamentals consists of 45-minute on-line classes that cover a host of technologies. You learn without leaving the comfort of your desk. All classes are taught by subject-matter experts and all are archived. So if you can't attend live, attend at your convenience.