Author Topic: 4 component circuit for powering standard LED's off of mains  (Read 6708 times)

0 Members and 1 Guest are viewing this topic.

Offline dumle29Topic starter

  • Regular Contributor
  • *
  • Posts: 83
4 component circuit for powering standard LED's off of mains
« on: March 31, 2014, 11:06:02 pm »
Hey there EEV. So I dug out an old box I made 4 years ago when I was 15. My teacher dug out his old electronics magazines when he heard I was looking for neons for some mains indicators, and found this circuit for powering a standard LED off of 220V mains, and it works like a charm :)

Here it is. As for how safe it is? The entire circuit is inside a plastic project box, and the 5mm LED domes are the only thing poking through the front :)
 

Offline David_AVD

  • Super Contributor
  • ***
  • Posts: 2863
  • Country: au
Re: 4 component circuit for powering standard LED's off of mains
« Reply #1 on: March 31, 2014, 11:39:08 pm »
Pretty common arrangement that's been around for more than 30 years.   :)

The usual failure mode is the capacitor going low in value causing loss of current drive.

Note that the capacitor needs to be an X2 class type.

EDIT: The diode is usually a 1N4004 / 1N4007 type.
 

Offline dumle29Topic starter

  • Regular Contributor
  • *
  • Posts: 83
Re: 4 component circuit for powering standard LED's off of mains
« Reply #2 on: March 31, 2014, 11:48:27 pm »
Ah I guess my google-fu was weak :P Odd that my teacher told me to throw on a germanium diode back then :P
 

Online mariush

  • Super Contributor
  • ***
  • Posts: 5140
  • Country: ro
  • .
Re: 4 component circuit for powering standard LED's off of mains
« Reply #3 on: March 31, 2014, 11:58:10 pm »
For those that wonder how that circuit works, watch these.. you'll also learn other useful things:



 

Offline richard.cs

  • Super Contributor
  • ***
  • Posts: 1196
  • Country: gb
  • Electronics engineer from Southampton, UK.
    • Random stuff I've built (mostly non-electronic and fairly dated).
Re: 4 component circuit for powering standard LED's off of mains
« Reply #4 on: April 01, 2014, 08:47:21 am »
Ah I guess my google-fu was weak :P Odd that my teacher told me to throw on a germanium diode back then :P
The diode reverse voltage only needs to be sufficient to handle the forward voltage of the LED but the diode forward voltage directly corresponds to lost energy so a germanium diode would have an advantage here.
 

Offline fcb

  • Super Contributor
  • ***
  • Posts: 2130
  • Country: gb
  • Test instrument designer/G1YWC
    • Electron Plus
Re: 4 component circuit for powering standard LED's off of mains
« Reply #5 on: April 01, 2014, 09:08:33 am »
The diode can happily be as piddly as 1N4148.

Pay close attention to the capacitor though. If it fails short, it'll spit the top of the LED across the room. I've seen two used in series before, but an X2 rated part would be fine.
https://electron.plus Power Analysers, VI Signature Testers, Voltage References, Picoammeters, Curve Tracers.
 

Offline Niklas

  • Frequent Contributor
  • **
  • Posts: 398
  • Country: se
Re: 4 component circuit for powering standard LED's off of mains
« Reply #6 on: April 01, 2014, 09:15:20 am »
It works for pure sine wave but I doubt it will survive a burst test. During that test, the capacitor is low impedance to all the pulses with high frequency energy, but the resistor is still there. 220 V over a 1.1k resistor will generate a lot of heat and probably also some magic smoke.
 

Offline HighVoltage

  • Super Contributor
  • ***
  • Posts: 5544
  • Country: de
Re: 4 component circuit for powering standard LED's off of mains
« Reply #7 on: April 01, 2014, 10:52:18 am »
I have seen it plenty of times that only a 120 K resistor was placed in line with the LED on a 230 V mains.
May be not safe but this instrument that I had opened up, was in service for many years and the LED worked still alright.


There are 3 kinds of people in this world, those who can count and those who can not.
 

Offline David_AVD

  • Super Contributor
  • ***
  • Posts: 2863
  • Country: au
Re: 4 component circuit for powering standard LED's off of mains
« Reply #8 on: April 01, 2014, 11:49:31 am »
I have seen it plenty of times that only a 120 K resistor was placed in line with the LED on a 230 V mains.
May be not safe but this instrument that I had opened up, was in service for many years and the LED worked still alright.

I've seen failed LEDs on two different items that used this method.  I'd say that the violation of the Vr was to blame.  Even adding the inverse diode would be better.
 

Offline tszaboo

  • Super Contributor
  • ***
  • Posts: 7938
  • Country: nl
  • Current job: ATEX product design
Re: 4 component circuit for powering standard LED's off of mains
« Reply #9 on: April 01, 2014, 12:35:33 pm »
ON semi give you a solution with 4 component, which is even constant current drive.
http://www.onsemi.com/pub_link/Collateral/AND8433-D.PDF
Just note that they have no idea how to draw a schematic on figure 1. This is constant current, there is no capacitor to be de-rated. Sadly it is only yank compatible.
 

Offline SeanB

  • Super Contributor
  • ***
  • Posts: 16363
  • Country: za
Re: 4 component circuit for powering standard LED's off of mains
« Reply #10 on: April 01, 2014, 05:48:48 pm »
I just used a single appropriately rated resistor, a bridge rectifier and the LED, all potted in epoxy into a circuit breaker casing. Still working as fas as I know, I designed it to have 5mA through the LED with 440VAC supply, using a few 0.5W resistors in series to both keep surface temperature to barely above ambient and to get the voltage well below that which would cause stress on the carbon composition resistors I used. Diodes were 12V zener diodes, as I still have a box of 5000 of them, so use them as regular diodes if need be. At 230V the led was slightly dimmer, but still would throw a shadow across the room at night.
 

Offline fcb

  • Super Contributor
  • ***
  • Posts: 2130
  • Country: gb
  • Test instrument designer/G1YWC
    • Electron Plus
Re: 4 component circuit for powering standard LED's off of mains
« Reply #11 on: April 01, 2014, 06:13:38 pm »
I can imagine the 25Hz flicker being a pain for those that can see 25Hz.

Use a full wave rectifier before the LED and then you won't need the reverse diode and you'll have 50Hz/60Hz flicker frequency (better than 25Hz/30Hz).

Very wasteful of energy though don't you think? .. Good for the odd simplistic use I spose.
You'll get 50/60Hz flicker actually. 100/120Hz if you use a bridge rectifier.
https://electron.plus Power Analysers, VI Signature Testers, Voltage References, Picoammeters, Curve Tracers.
 

Offline Conrad Hoffman

  • Super Contributor
  • ***
  • Posts: 2011
  • Country: us
    • The Messy Basement
Re: 4 component circuit for powering standard LED's off of mains
« Reply #12 on: April 01, 2014, 06:57:41 pm »
It's not a bad circuit, though susceptible to spikes. The resistor helps a bit. Use two LEDs instead of a diode. That will take care of the reverse voltage limit. It will also flash at 120 HZ (or 100), making it a perfect turntable strobe light! You can make the image crisper by including a pair of high value zeners so the LEDs are on over a shorter part of the cycle.

An interesting thing is to run it off an AC wall wart for safety, then look at the current by looking across the resistor. The current waveform is nothing like I would have expected.

 

Offline AG6QR

  • Frequent Contributor
  • **
  • Posts: 865
  • Country: us
    • AG6QR Blog
Re: 4 component circuit for powering standard LED's off of mains
« Reply #13 on: April 01, 2014, 08:14:34 pm »
The diode reverse voltage only needs to be sufficient to handle the forward voltage of the LED ...

That's true until the LED fails open circuit, which could happen if there's a stray spike or something.

I suppose it might not be a huge concern, if you can be sure that exceeding reverse voltage will cause the other diode to fail open circuit.  But a fuse or something similar is probably a worthwhile precaution.
 

Offline richard.cs

  • Super Contributor
  • ***
  • Posts: 1196
  • Country: gb
  • Electronics engineer from Southampton, UK.
    • Random stuff I've built (mostly non-electronic and fairly dated).
Re: 4 component circuit for powering standard LED's off of mains
« Reply #14 on: April 02, 2014, 11:35:12 am »

That's true until the LED fails open circuit, which could happen if there's a stray spike or something.

I suppose it might not be a huge concern, if you can be sure that exceeding reverse voltage will cause the other diode to fail open circuit.  But a fuse or something similar is probably a worthwhile precaution.

If the LED's dead it's coming apart for repair anyway. You could add a fuse but it will only protect against a short circuit capacitor. If either diode fails short circuit you will get hardly any change in current. I tend to use antiparallel pairs of LEDs unless there's a good reason to only use one.
 

Offline MLXXXp

  • Frequent Contributor
  • **
  • Posts: 341
  • Country: ca
Re: 4 component circuit for powering standard LED's off of mains
« Reply #15 on: April 02, 2014, 12:44:05 pm »
I tend to use antiparallel pairs of LEDs unless there's a good reason to only use one.
Does anyone make antiparallel LEDs in the same package, similar to bicolour LEDs but with both the same colour, for this purpose?
 

Offline richard.cs

  • Super Contributor
  • ***
  • Posts: 1196
  • Country: gb
  • Electronics engineer from Southampton, UK.
    • Random stuff I've built (mostly non-electronic and fairly dated).
Re: 4 component circuit for powering standard LED's off of mains
« Reply #16 on: April 02, 2014, 01:15:19 pm »
They do, I haven't seen them for a while but I'd assume they're still around. They're a bit specialist and aimed at hobbyists along with the LEDs with the built-in resistor or flashing circuit.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf