Electronics > Beginners
Transformerless power supplies circuit, cheatsheet and questions
<< < (7/7)
waste:

--- Quote from: StillTrying on February 10, 2019, 12:09:32 pm ---"The problem with my live circuit is I have to create spikes myself (using a switch probably) as the 2 transformers will act as filters for the circuit"

Having another switch between the transformers and cap dropper will probably do.

Are you going for maximum LEDs protection, minimum components, or maximum efficiency.

Using a 2N3904 as a constant current generator provides quite a bit of switch on and off current protection for the LEDs, Green. Blue is the mW dissipation in the 2N3904.
It would still need some HV ~50V clamping across the 33u to survive very bad switch offs.

In my endless flashing LEDs experiments I've put 500-800mA through 5mm LEDs for a few us at a time, unfortunately I don't know how well they survive 200-300mA for a few ms at a time.

--- End quote ---

I did just that (added a switch), but the results were not spectacular :) The spikes (after the cap) were very short and even though I couldnt measure current, I can't really see the LEDs being damaged by it.

My aim is a) led protection (as they are not replaceable if they burn encased in concrete) b) low parts count. (consumption is pretty low anyhow less or close to a watt)

In my test circuit I went for an X2 of .22μF (so around 22mA peak to peak with no capacitor) and a 100μF/100V smoothing capacitor I had around. For extra protection I added a 20V 0.5W zener I also had around (the 6LEDs I used are a bit lower voltage than on LTspice, all together they run at 17.6V for 15mA) and a 1watt in rush resistor of 1K :) .  This created a quite a minuscule ripple of around 700mV and an average of 14mA. So in normal conditions this circuit will run for ever.

After 30 minutes of use I checked the temperature of the components with the scientific method of the back of my finger (after powering off) and none was over body temperature.

So to sum it up, bigger capacitors help with inrush currents, but not with spikes from other devices during operation. For that, a zener (better 1Watt)  or a MOV you used in your own circuits is a better solution.

Zeners are also quite nice for troubleshooting. If I have another failure and the LED dies first (that's the most accepted mode of failure from the people here), the zener will clamp the voltage to 20V and the capacitor won't blow.. I'm really troubled by the failure because at home I have 3-4 of these circuits running for years 24/7 no problems, and have given another 3-4 as presents in the last 2 years with no problems. Maybe my friend with the 2 dead ones lives in a particularly (electrically) noisy house :)



I'm really touched by your transistor idea, I remember reading about it in talking electronics and still use it from time to time when I need a specific amperage value from an LED. It was actually this type of circuit that made me understand that transistors are current regulating devices (before that I was treating them like Mosfets ie amplifiers/ switches)
http://www.talkingelectronics.com/projects/200TrCcts/200TrCcts.html


But I always thought of it as a current limiter solution for batteries and other voltage limited devices (like 5V power supplies). So  your idea is to use a bigger X2 capacitor (like a .33μF) and then current limit the LED's with the transistor. This way you can actually get away with a smaller capacitor.

extra bonus, the transistor circuit can also be used with low voltage power supplies.

I will play with ltspice a bit and report back, but for my current construction phase (I have promised 5 of these concrete cubes lol and want two for myself too) I will go without the transistor as most of the concrete cubes are ready (and have limited space for electronics) and I want to declutter my "lab" (i'm sure you have also experienced this urge) :)




thanks again for all the input.
StillTrying:
The MOV circuit is not mine, it's an 11 year old 20 blue LED GU10 I 'opened.', I'll photo it if you want to see its simple construction.

I don't think voltage clamping gives all that much protection with only a small number of LEDs in series, because a small increase in the LED voltage gives a much larger increase in the LED current.

This is the best max. protection and min. components so far, - still using a transistor I'm afraid. :)
It limits the now 400V 1kV spikes to peaks of 40mA 55mA through the 5 LEDs. R4 (10R to 22R) is not essential, it just spreads the spike's dissipation around itself, the 33u and TR a little bit.
For long life I'd think you have to consider C1 and C2 losing about half of their capacitance, and the solder joints on TH LEDs seem to have a very high failure rate.
I don't think any of these simple circuits would survive a continuously arcing switch, even a MOV would eventually give up.
waste:
I ve found the perfect candidate for a test. I want to install nightlights for our common workshop, a place with so much noise from switches and motors etc, that it will be a perfect test bed .

On the one night light I will use the "classic" circuit improved with a zener for clamping and a high voltage capacitor.

on the other one i will try your last circuit with the transistor. I have a question though. In the diagram you posted as also in the talking electronics page, http://www.talkingelectronics.com/projects/200TrCcts/200TrCcts.html#15
the LEDs are placed in the collector side of the transistor, while in your LTspice file you have put the LEDs on the base side of the transistor.

So in the LTspice file, if I get it correctly, the transistor doesn't regulate the LED current, just the overshoot current from the spikes.

For added protection I will also add a 1watt zener on your circuit, after thee capacitor

I will build both, hang them on the ceiling and see which one gives in first in this brutal environment (I designed them that way, that they will be easily replacable if/when fail occurs.
StillTrying:
"while in your LTspice file you have put the LEDs on the base side of the transistor."
"if I get it correctly, the transistor doesn't regulate the LED current, just the overshoot current from the spikes."

Yes, in theory. :)

When the current through the LEDs and 22R reaches ~27mA the transistor starts to turn on and draw the extra current through its collector. In the plot added to post#31 I've increased the simulated mains spikes to 1kV causing the transistor to clamp 600mA.
Once you get up to about 20 LEDs in series the voltage change between running current and over current becomes larger so a simple zener or MOV voltage clamp works well enough. Good luck.
Navigation
Message Index
Previous page
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod