Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 21
  • Members: 0
  • Newest Member: omjtest
  • Most ever online: 396
    Guests: 396, Members: 0 on 12 Jan : 12:51
Members Birthdays:
One birthday today, congrats!
Nicko (57)


Next birthdays
04/20 gentoo_daemon (43)
04/21 kilovolt (50)
04/21 wannabegeekTC (50)
Contact
If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.


Special Thanks To:
  • Aaron Holmes
  • Aaron Wheeler
  • Adam Horden
  • Alan Scrimgeour
  • Andre
  • Andrew Haynes
  • Anonymous000
  • asabase
  • Austin Weil
  • barney
  • Barry
  • Bert Hickman
  • Bill Kukowski
  • Blitzorn
  • Brandon Paradelas
  • Bruce Bowling
  • BubeeMike
  • Byong Park
  • Cesiumsponge
  • Chris F.
  • Chris Hooper
  • Corey Worthington
  • Derek Woodroffe
  • Dalus
  • Dan Strother
  • Daniel Davis
  • Daniel Uhrenholt
  • datasheetarchive
  • Dave Billington
  • Dave Marshall
  • David F.
  • Dennis Rogers
  • drelectrix
  • Dr. John Gudenas
  • Dr. Spark
  • E.TexasTesla
  • eastvoltresearch
  • Eirik Taylor
  • Erik Dyakov
  • Erlend^SE
  • Finn Hammer
  • Firebug24k
  • GalliumMan
  • Gary Peterson
  • George Slade
  • GhostNull
  • Gordon Mcknight
  • Graham Armitage
  • Grant
  • GreySoul
  • Henry H
  • IamSmooth
  • In memory of Leo Powning
  • Jacob Cash
  • James Howells
  • James Pawson
  • Jeff Greenfield
  • Jeff Thomas
  • Jesse Frost
  • Jim Mitchell
  • jlr134
  • Joe Mastroianni
  • John Forcina
  • John Oberg
  • John Willcutt
  • Jon Newcomb
  • klugesmith
  • Leslie Wright
  • Lutz Hoffman
  • Mads Barnkob
  • Martin King
  • Mats Karlsson
  • Matt Gibson
  • Matthew Guidry
  • mbd
  • Michael D'Angelo
  • Mikkel
  • mileswaldron
  • mister_rf
  • Neil Foster
  • Nick de Smith
  • Nick Soroka
  • nicklenorp
  • Nik
  • Norman Stanley
  • Patrick Coleman
  • Paul Brodie
  • Paul Jordan
  • Paul Montgomery
  • Ped
  • Peter Krogen
  • Peter Terren
  • PhilGood
  • Richard Feldman
  • Robert Bush
  • Royce Bailey
  • Scott Fusare
  • Scott Newman
  • smiffy
  • Stella
  • Steven Busic
  • Steve Conner
  • Steve Jones
  • Steve Ward
  • Sulaiman
  • Thomas Coyle
  • Thomas A. Wallace
  • Thomas W
  • Timo
  • Torch
  • Ulf Jonsson
  • vasil
  • Vaxian
  • vladi mazzilli
  • wastehl
  • Weston
  • William Kim
  • William N.
  • William Stehl
  • Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Forums
4hv.org :: Forums :: General Science and Electronics
« Previous topic | Next topic »   

Driving a led with mains.

Move Thread LAN_403
Ash Small
Mon Oct 14 2013, 04:19PM
Ash Small Registered Member #3414 Joined: Sun Nov 14 2010, 05:05PM
Location: UK
Posts: 4245
Dr. Slack wrote ...


So, for transient protection, what do you think is best? Two 1H inductors, at 1kg+ each, free if you rip them out of old flourescent fittings, or a 100 ohm resistor, which dissipates 40mW at 20mA LED current, so costs 1/3rd of a kWhour per year in excess dissipation?

You do have a point, Neil, although what happens in your 'model' if you increase the number of LED's you are lighting?....you increase the losses by 1/3rd hWhour per year per LED?.....(I think), so, say 1000 LED's,.....losses are ~333kWhours a year?

Dr. Slack wrote ...


wrote ...
one idea I have is to adjust the inductance and capacitance to give a resonant frequency of 50Hz.
what do you get if you have a series connection of an L and a C, which are resonant at 50Hz, in series with a low impedance load connected to 50Hz mains? No need to simulate this one, just wait until November 5th* and try it for real.

<\edit>

* National Pyrotechnics Day, for non-UK readers

I think I did try it, and decided that a 'harmonic'(if that's the right term) of 50Hz would be better.....I didn't fully understand what was happening, but I think I also had some other problems with the simulation at the time. I want to look into this further.


I'm just wondering how far you need to go to eliminate resistors, and what's involved.
Back to top
Steve Conner
Mon Oct 14 2013, 06:24PM
Steve Conner Registered Member #30 Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
The most cost-effective way is going to a switched mode LED driver. You can buy little modules that step mains down to a few tens of volts at adjustable constant current, to drive series strings of high power LEDs. Inside is a complete switched mode power supply with current feedback. The manufacturers of these things should give efficiency figures.

If you want to use whopping great inductors to squish transients, and capacitors to limit current, then as Dr. Slack so colourfully points out, you have to be careful as the inductive and capacitive reactances will cancel each other out. Better to lose the capacitor and just use the inductor for ballast as well as protection.
Back to top
Ash Small
Mon Oct 14 2013, 06:53PM
Ash Small Registered Member #3414 Joined: Sun Nov 14 2010, 05:05PM
Location: UK
Posts: 4245
Steve Conner wrote ...

The most cost-effective way is going to a switched mode LED driver. You can buy little modules that step mains down to a few tens of volts at adjustable constant current, to drive series strings of high power LEDs. Inside is a complete switched mode power supply with current feedback. The manufacturers of these things should give efficiency figures.

If you want to use whopping great inductors to squish transients, and capacitors to limit current, then as Dr. Slack so colourfully points out, you have to be careful as the inductive and capacitive reactances will cancel each other out. Better to lose the capacitor and just use the inductor for ballast as well as protection.

I agree, but what if you don't want 'series strings'?.....What if you want them all parallel, and easily replacable when they fail?

EDIT: If the losses in the switches are foreward voltage times current, and then you have copper losses and core losses, it can't be much more efficient than transistors, surely?
Back to top
Dr. Slack
Mon Oct 14 2013, 08:16PM
Dr. Slack Registered Member #72 Joined: Thu Feb 09 2006, 08:29AM
Location: UK St. Albans
Posts: 1659
You do have a point, Neil, although what happens in your 'model' if you increase the number of LED's you are lighting?....you increase the losses by 1/3rd hWhour per year per LED?.....(I think), so, say 1000 LED's,.....losses are ~333kWhours a year?

Er, no, that's the beauty of series strings, one 40mW loss for 10s of LEDs in the same string.

Check out an early post back on page 1.


Dr. Slack wrote ...

johnf wrote ...

Just use two leds back to back and a capacitor of the right value to get the current you need 1/2x pi x f x c will get the capacitance you need

... and it will send the led domes flying across the room the second time you turn it on. You also need a series resistor to limit the inrush current that the capacitor can take if it's switched on at peak mains voltage. Consult the LED data sheet for the largest surge current it can stand, and choose the resistor accordingly. You might be surprised at how large the resistor has to be to limit the current to 100s of mA, or less.

I've used an electrolyitc capacitor across my unipolar LED string, partly because I don't like the 100Hz flicker and partly because it will absorb a large transient inrush without over-volting the LEDS. Even a cooking grade silicon bridge rectifier diodes will handle 10s of amps for one half-cycle, which means the series resistor can be a few ohms.

1379418241 72 FT157237 Leds


You know, when this thread started, I kind of assumed that you wanted a cheap, light, small circuit, probably kit-able from a typical lab junkbox. Driving a LED directly from mains was a sort of ghetto thing that rejected the 'proper' way of doing it, using a dedicated commercial current output SMPS.

Every different realisation has different trade-offs. When I built my 50 LED string, from an eBay purchase of 1000 white LEDs from China for £10, yes 1000 LEDS for 1000 pence, I was concerned about failure and replacement. I reasoned that to replace an open LED, a binary search with a meter was sufficient. To replace a shorted LED, you only had to look. I figured that 50x more likely failure than a single LED was worth it in terms of the extreme cheapness and simplicity of the driver. That was 4 years ago, and it's not failed yet. Four years * 50 LEDs is about half a million device hours. I have about 160v drop in the LED string, 1.4v in the rectifier, and 2v in the surge limiting resistor, you figure the efficiency.

But if you want to employ big iron for surge limiting, and 1000 in parallel when series is the way it's crying out for, then that is entirely your choice. Just let's say I endorse Steve's opinion of a few posts ago.

It's nice to have the thread back OT after a few days of semiconductor physics.
Back to top
Ash Small
Mon Oct 14 2013, 08:31PM
Ash Small Registered Member #3414 Joined: Sun Nov 14 2010, 05:05PM
Location: UK
Posts: 4245
Dr. Slack wrote ...

Dr. Slack wrote ...

johnf wrote ...

Just use two leds back to back and a capacitor of the right value to get the current you need 1/2x pi x f x c will get the capacitance you need

... and it will send the led domes flying across the room the second time you turn it on. You also need a series resistor to limit the inrush current that the capacitor can take if it's switched on at peak mains voltage. Consult the LED data sheet for the largest surge current it can stand, and choose the resistor accordingly. You might be surprised at how large the resistor has to be to limit the current to 100s of mA, or less.

I've used an electrolyitc capacitor across my unipolar LED string, partly because I don't like the 100Hz flicker and partly because it will absorb a large transient inrush without over-volting the LEDS. Even a cooking grade silicon bridge rectifier diodes will handle 10s of amps for one half-cycle, which means the series resistor can be a few ohms.

1379418241 72 FT157237 Leds



Yep, it was your schematic that initially got me thinking about how to go about eliminating the resistor. Your saying that if you increase the number of LED's, you can reduce the resistance value by the reciprocal of the number of LED's.
Back to top
Dr. Slack
Mon Oct 14 2013, 08:42PM
Dr. Slack Registered Member #72 Joined: Thu Feb 09 2006, 08:29AM
Location: UK St. Albans
Posts: 1659
I didn't say that, and I was halfway through posting this as a rebuttal, when I realised that the value of the resistor is set by limiting the inrush to the diode bridge and the surge absorbing capacitor. Now, the voltage permitted on that cap is proportional to the number of LEDs in the string, so, remarkably, yes - for constant capacitor value, the resistor value *is* inversely related to the number of LEDs.

HOWEVER, I wouldn't keep the capacitor value constant. I'd keep the inrush current that could be tolerated by the bridge diodes constant, at near the max that their data sheet says they can take, and size the resistor to that, and then size the surge absorbing cap to the surge current and the LED voltage.

One person's cart is another person's horse.

Have you worked out the inefficiency of my setup due to the resistor yet?
Back to top
Ash Small
Mon Oct 14 2013, 10:06PM
Ash Small Registered Member #3414 Joined: Sun Nov 14 2010, 05:05PM
Location: UK
Posts: 4245
Dr. Slack wrote ...

I didn't say that, and I was halfway through posting this as a rebuttal, when I realised that the value of the resistor is set by limiting the inrush to the diode bridge and the surge absorbing capacitor. Now, the voltage permitted on that cap is proportional to the number of LEDs in the string, so, remarkably, yes - for constant capacitor value, the resistor value *is* inversely related to the number of LEDs.

HOWEVER, I wouldn't keep the capacitor value constant. I'd keep the inrush current that could be tolerated by the bridge diodes constant, at near the max that their data sheet says they can take, and size the resistor to that, and then size the surge absorbing cap to the surge current and the LED voltage.

One person's cart is another person's horse.

Have you worked out the inefficiency of my setup due to the resistor yet?

Does this also apply if the LED's are in parallel?
Back to top
Dr. Slack
Tue Oct 15 2013, 07:15AM
Dr. Slack Registered Member #72 Joined: Thu Feb 09 2006, 08:29AM
Location: UK St. Albans
Posts: 1659
Nah, I'm not going to respond in this thread any more. I think I know when I'm being wound up. I'm reminded of the scene from Monty Python and the Holy Grail, where at Swamp Castle, Idle plays one of the guards, who fail, time and again, to understand the basics of 'you stay there and guard him', almost as simple as high voltage supply, low voltage load, put them in series, doh, there I go again, calm down, stop being drawn in.
Back to top
Steve Conner
Tue Oct 15 2013, 09:35AM
Steve Conner Registered Member #30 Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
As soon as you parallel LEDs, you need either one driver circuit per LED, or one ballast resistor per LED. They won't share current if you just bolt them in parallel.

Now please go away and buy one of these for £15 before I unleash the Killer Rabbit of Caerbannog. Link2
Back to top
Ash Small
Tue Oct 15 2013, 11:36AM
Ash Small Registered Member #3414 Joined: Sun Nov 14 2010, 05:05PM
Location: UK
Posts: 4245
Neil, I think you were still editing posts and completing them as/after I'd replied , as I seem to have missed a lot of your recent posts last night.

Ok, as the voltage drop of the rectifier times current is a main source of losses, it's more efficient to drive then in one long, 20mA series string than in a parallel array, which would also entail adding a small series resistance for each LED.
Back to top

Moderator(s): Chris Russell, Noelle, Alex, Tesladownunder, Dave Marshall, Dave Billington, Bjørn, Steve Conner, Wolfram, Kizmo, Mads Barnkob

Go to:

Powered by e107 Forum System
 
Legal Information
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.