Trains.com

Subscriber & Member Login

Login, or register today to interact in our online community, comment on articles, receive our newsletter, manage your account online and more!

Lighting Rolling Stock with DCC Track Power

8994 views
34 replies
1 rating 2 rating 3 rating 4 rating 5 rating
  • Member since
    April 2007
  • 229 posts
Lighting Rolling Stock with DCC Track Power
Posted by RicZ on Tuesday, June 28, 2016 2:39 PM

Can a 3-LED string be powered by DCC track power through a bridge rectifier?  Or is the rectifier not needed?  It would require trucks with power pick ups.

RicZ

  • Member since
    July 2009
  • From: lavale, md
  • 4,678 posts
Posted by gregc on Tuesday, June 28, 2016 8:17 PM

There is enough voltage for three 3.3V LEDs.  

I don't believe you need a bridge.   Without it, the LEDs will only be forward biased half the time, so use half the resistor value.

Some people will worry about the reverse voltage across the LEDs.   I believe a normal diode can be used to protect the LEDs.

greg - Philadelphia & Reading / Reading

  • Member since
    December 2014
  • 6 posts
Posted by Falcon Ridge on Tuesday, June 28, 2016 9:09 PM

You will need a bridge rectifier to convert the AC power to DC for the LED.  It will work with out the bridge rectifier but the lights will flash very fast.

Slim

  • Member since
    July 2006
  • From: Bradford, Ontario
  • 15,797 posts
Posted by hon30critter on Tuesday, June 28, 2016 9:36 PM

EDIT:

I decided to withdraw the circuit I had shown because CSX Robert pointed out that there was a risk of damage to the 5 volt capacitor should the LEDs fail. i.e. in other words, the cap might blow up.

Dave

I'm just a dude with a bad back having a lot of fun with model trains, and finally building a layout!

  • Member since
    September 2003
  • 10,582 posts
Posted by mlehman on Thursday, June 30, 2016 7:56 AM

The bridge rectifier will give you steady lighting on DCC when it's combined with a capacitor. The circuit I use for the 12 v strip lighting segments and lots of examples can be found here: http://cs.trains.com/mrr/f/88/t/213765.aspx?page=2

Dave,

That circuit is very similar to the one I use. It should work for the 12 v strip lights, too, I'd think.

Mike Lehman

Urbana, IL

  • Member since
    February 2007
  • From: Christiana, TN
  • 2,134 posts
Posted by CSX Robert on Thursday, June 30, 2016 11:22 AM

gregc

There is enough voltage for three 3.3V LEDs.  

I don't believe you need a bridge.   Without it, the LEDs will only be forward biased half the time, so use half the resistor value.

Some people will worry about the reverse voltage across the LEDs.   I believe a normal diode can be used to protect the LEDs.

 

You really should use either the bridge rectifier or the single reverse voltage protection diode.  LED's are diodes, but they are not design to withstand much reverse voltage and by not protecting them from that you risk greatly shortening their lives.

  • Member since
    February 2007
  • From: Christiana, TN
  • 2,134 posts
Posted by CSX Robert on Thursday, June 30, 2016 11:38 AM

hon30critter

Hi RicZ:

I have used this circuit successfully in a fleet of cabooses. It has a stay alive capacitor in it so the lights don't flicker if the power is momentarily interupted:

...

Note that this circuit uses three separate LEDs. It will not work with a 12 volt 3 LED strip.

Circuit designed by Mark R.

Dave

 

What I don't like about this circuit is it uses the voltage drop of the LED's to limit the voltage to the super cap.  What this means is if the LED's all fail, or you have a bad connection and it comes loose, the cap will receive full track voltage (minus the diode drops through the rectifier), not good for a 5 volt super cap.  Also, you're not making the best use of the cap because it will never charge above the voltage drop of the LED's, so you will get very little keep-alive capability.  I would think you would get better results from a similar size regular cap charged to track voltage, even though the capacitance rating would be much smaller.

  • Member since
    February 2002
  • From: Reading, PA
  • 30,002 posts
Posted by rrinker on Thursday, June 30, 2016 1:45 PM

 Yes, I prefer a belt and suspenders approach and would use a regulator circuit, or, even better, since there should be plenty of room inside a passenger car, use multiple supercaps like used in the stay-alives for decoders such that the cap combo can handle full track voltage and then you wouldn't have to worry about it.

                      --Randy


Modeling the Reading Railroad in the 1950's

 

Visit my web site at www.readingeastpenn.com for construction updates, DCC Info, and more.

  • Member since
    September 2003
  • 10,582 posts
Posted by mlehman on Thursday, June 30, 2016 4:08 PM

CSX Robert
What I don't like about this circuit is it uses the voltage drop of the LED's to limit the voltage to the super cap. What this means is if the LED's all fail, or you have a bad connection and it comes loose, the cap will receive full track voltage (minus the diode drops through the rectifier), not good for a 5 volt super cap. Also, you're not making the best use of the cap because it will never charge above the voltage drop of the LED's, so you will get very little keep-alive capability. I would think you would get better results from a similar size regular cap charged to track voltage, even though the capacitance rating would be much smaller.

Yeah, that's the main difference between the two circuits, besides my using the output to feed the strip light LED segments. I typically use a standard electrolytic cap that's rated for 470 uF at 35v. Plenty of voltage overhead and the lights will stay on for a minute or more, depending on you resistor and how many LED segments.

Mike Lehman

Urbana, IL

  • Member since
    July 2006
  • From: Bradford, Ontario
  • 15,797 posts
Posted by hon30critter on Thursday, June 30, 2016 10:57 PM

Hi CSX Robert:

I'm no electronics expert but I do understand your point about the potential problem with the 5 volt cap. I just deleted the circuit from my post.

Dave

I'm just a dude with a bad back having a lot of fun with model trains, and finally building a layout!

  • Member since
    April 2004
  • From: Ontario Canada
  • 3,574 posts
Posted by Mark R. on Thursday, June 30, 2016 11:02 PM

hon30critter

Hi CSX Robert:

I'm no electronics expert but I do understand your point about the potential problem with the 5 volt cap. I'll put a caveat in my post.

Thanks

Dave

 

Ummm .... I wouldn't be so sure. The single resistor is factored to the voltage required by a single LED (in parallel, the voltage remains constant) which is well below the 5 volt rating of the super cap. 

Three LEDs in series will require more voltage and hence a lower value resistor which will feed way more than the rated voltage to that 5 volt cap.

Be sure to shield yourself when you bench test it. Smile, Wink & Grin

Mark.

¡ uʍop ǝpısdn sı ǝɹnʇɐuƃıs ʎɯ 'dlǝɥ

  • Member since
    April 2004
  • From: Ontario Canada
  • 3,574 posts
Posted by Mark R. on Thursday, June 30, 2016 11:10 PM

CSX Robert

 

 
hon30critter

Hi RicZ:

I have used this circuit successfully in a fleet of cabooses. It has a stay alive capacitor in it so the lights don't flicker if the power is momentarily interupted:

...

Note that this circuit uses three separate LEDs. It will not work with a 12 volt 3 LED strip.

Circuit designed by Mark R.

Dave

 

 

 

What I don't like about this circuit is it uses the voltage drop of the LED's to limit the voltage to the super cap.  What this means is if the LED's all fail, or you have a bad connection and it comes loose, the cap will receive full track voltage (minus the diode drops through the rectifier), not good for a 5 volt super cap.  Also, you're not making the best use of the cap because it will never charge above the voltage drop of the LED's, so you will get very little keep-alive capability.  I would think you would get better results from a similar size regular cap charged to track voltage, even though the capacitance rating would be much smaller.

 

Have you tried this circuit ? Dave is successfully using it and I have as well for probably 10 years or more. You say there will be very little keep alive capacity .... that tells me you HAVEN'T actually tried it. My caboose lights stay on for well over one minute.

Mark.

¡ uʍop ǝpısdn sı ǝɹnʇɐuƃıs ʎɯ 'dlǝɥ

  • Member since
    July 2006
  • From: Bradford, Ontario
  • 15,797 posts
Posted by hon30critter on Thursday, June 30, 2016 11:12 PM

Hi Mark:

I decided to err on the side of caution and withdraw the circuit at least for now. I hope you are not offended. I don't want to be the source of potential problems. Maybe I'm being paranoid.

CSX Robert's caution about using a 5 volt capacitor in a circuit that is being fed 12+ volts seems to make sense. If a higher voltage cap can be used then perhaps that's the best way to go.

For now, I'm going to sit back and see what others, including you, have to say.

Regards,

Dave

I'm just a dude with a bad back having a lot of fun with model trains, and finally building a layout!

  • Member since
    July 2006
  • From: Bradford, Ontario
  • 15,797 posts
Posted by hon30critter on Thursday, June 30, 2016 11:14 PM

Mark R.
My caboose lights stay on for well over one minute.

FWIW, I had the same results with Mark's circuit.

Dave

I'm just a dude with a bad back having a lot of fun with model trains, and finally building a layout!

  • Member since
    April 2004
  • From: Ontario Canada
  • 3,574 posts
Posted by Mark R. on Thursday, June 30, 2016 11:51 PM

hon30critter

Hi Mark:

I decided to err on the side of caution and withdraw the circuit at least for now. I hope you are not offended. I don't want to be the source of potential problems. Maybe I'm being paranoid.

CSX Robert's caution about using a 5 volt capacitor in a circuit that is being fed 12+ volts seems to make sense. If a higher voltage cap can be used then perhaps that's the best way to go.

For now, I'm going to sit back and see what others, including you, have to say.

Regards,

Dave

 

As simple as my circuit is (was), it is no different than any other circuit .... all the components are configured to work properly with each other. Alter one component or delete one component, it either won't work or it will destroy itself.

No different than if the coil of a speaker goes bad and shorts itself (the odds of which are about as good as an LED burning out), you'll blow the audio amp on your sound decoder.

If you play those kind of odds as a deterent, you probably shouldn't drive your car either as you might blow a tire and get into an accident ! Smile, Wink & Grin

Mark.

¡ uʍop ǝpısdn sı ǝɹnʇɐuƃıs ʎɯ 'dlǝɥ

  • Member since
    July 2006
  • From: Bradford, Ontario
  • 15,797 posts
Posted by hon30critter on Friday, July 1, 2016 12:56 AM

Hi Mark:

I guess the real question is: Will the 5 volt capacitor blow up if either the resistor or the LEDs fail?

Thanks

Dave

I'm just a dude with a bad back having a lot of fun with model trains, and finally building a layout!

  • Member since
    April 2004
  • From: Ontario Canada
  • 3,574 posts
Posted by Mark R. on Friday, July 1, 2016 1:58 PM

hon30critter

Hi Mark:

I guess the real question is: Will the 5 volt capacitor blow up if either the resistor or the LEDs fail?

Thanks

Dave

 

Of course it will. No different than any other circuit if a component fails - something is going to give .... I've seen two decoders literally catch on fire due to a component failure.

Mark.

¡ uʍop ǝpısdn sı ǝɹnʇɐuƃıs ʎɯ 'dlǝɥ

  • Member since
    September 2003
  • 10,582 posts
Posted by mlehman on Sunday, July 3, 2016 9:34 PM

Component failure seems less likely an issue than potentially shorting the 12+v voltage regulator feed to something bare in the circuit that should not see more than 5 v. An install in brass or other metal car has special potential for this sort of failure. Good install practices can limit it from happening, but between that and test probing things can still happen.

Assuming failure typically occurs inside a closed car, at least any failure shrapnel is containedConfused

I wouldn't worry about that circuit if I had it. It works. But it's the sort of thing that's mostly needed because the super-caps can be squeezed into places you can't put the big klutzy components like my 35v caps. You can stuff a lot inside a HOn3 bathroom, though, and the components I use are probably cheaper than super caps (or have they come down enough where that doesn't matter?)

Mike Lehman

Urbana, IL

  • Member since
    September 2003
  • 10,582 posts
Posted by mlehman on Tuesday, July 5, 2016 2:38 AM

Found a copy of my circuit plan done as a crude graphic and some more handsome older stuff...

Here's a Before shot of the BLI CZ dome-obs.

And After it was dimmed.

This is a typical install in a heavyweight sleeper.

Mike Lehman

Urbana, IL

  • Member since
    July 2006
  • From: Bradford, Ontario
  • 15,797 posts
Posted by hon30critter on Tuesday, July 5, 2016 4:00 AM

Mike:

I found your diagram a few days ago, but thanks for posting it again.

A few questions if you will:

What's the voltage on the capacitor?

How long do the lights stay on?

How many LEDs can you run off of the circuit?

Thanks

Dave

I'm just a dude with a bad back having a lot of fun with model trains, and finally building a layout!

  • Member since
    September 2003
  • 10,582 posts
Posted by mlehman on Tuesday, July 5, 2016 11:32 AM

Dave,

Most of the caps are 35 v, but I may have a few that are 25 v. Never had any trouble with them in this circuit when preperly installed. IIRC, I did get the cap polarity reversed on one and I think I had a FAIL there, but that one's on me.

Length of run depends on how many LEDs in the car. Typical run time with the 470 uF is at least a minute. For anti-flicker, I've used as low as 47 uF successfully, which are smaller, but there's shorter run time. I know I have a few cars that must run for 5 minutes or so, because I'll get them off the track to get some maintenance and by the time I get them to the workbench several minutes later they're still glowing.

I've run as many as 4 x 3-LED segments in 80' cars, plus a pair of markers, although the markers typically get less resistance off the same VR/cap combination.

Short NG cars typically have room for just 2 segments, or even just one like this install in a brass Key San Juan parlor car.

In this case, there's also a lighted drumhead.

 

Mike Lehman

Urbana, IL

  • Member since
    April 2004
  • From: Ontario Canada
  • 3,574 posts
Posted by Mark R. on Tuesday, July 5, 2016 9:35 PM

Mike - Not meaning to veer off topic, but I've always been curious ....

Are the blue lights on your layout as vivid in person as they are in the pictures ?

Mark.

¡ uʍop ǝpısdn sı ǝɹnʇɐuƃıs ʎɯ 'dlǝɥ

  • Member since
    September 2003
  • 10,582 posts
Posted by mlehman on Tuesday, July 5, 2016 10:30 PM

Mark,

No, they're really not. I've experimented with Photoshop some, as well as different camera settings on my Canon SX100 and can suppress it or color-shift it to a certain degree. It's probably something I'll get back to eventually, but I suspect there's really no simple fix.

The human eye and brain interpret things differently than the camera does. There seems to be difficulty in enough ambient light without the blue lighting for both human operators and the camera. I know some find it off-putting, but there seems to be no ready substitute that looks closer to "natural" that doesn't have even more issues.

The blue wavelength does vary depending on the LED source. In addition to the overall ambience, I also use the blue to activate my "stars" painted on the backdrop and a few other feature that depend on the UV part of their emissions.

Given I grew up in the 70s, the UV doesn't bother me, in fact has a certain familiar coziness to it that I actually enjoy. Similarly, for that same reason it may be why it irritates someLaugh

Mike Lehman

Urbana, IL

  • Member since
    July 2006
  • From: Bradford, Ontario
  • 15,797 posts
Posted by hon30critter on Tuesday, July 5, 2016 10:44 PM

mlehman
Typical run time with the 470 uF is at least a minute.

Would there be a problem using a 25 volt 2200uF capacitor? I have some on hand.

Thanks

Dave

I'm just a dude with a bad back having a lot of fun with model trains, and finally building a layout!

  • Member since
    September 2003
  • 10,582 posts
Posted by mlehman on Wednesday, July 6, 2016 1:06 AM

Dave,

Shouldn't be unless you're like some folks and set you command station as if you're running G scale, jacking things to 18 v or something; wouldn't be much head room there. The only 25 v cap I have on hand is what I think came along as supplied by Soundtraxx with the Tsunamis. If it's good enough for Durango, it should be good on the track for other things at standard DCC voltage settings.

2200 uF, though? Way overkill, unless it's already paid for. I'm curious, how big is it? You could do like the WiThrottle folks did: put a power button on it and a bright LED in the end and the car could double as a flashlightCool

Mike Lehman

Urbana, IL

  • Member since
    July 2006
  • From: Bradford, Ontario
  • 15,797 posts
Posted by hon30critter on Wednesday, July 6, 2016 1:40 AM

The 2200 uF 25 volt caps are about 1/2" x 1" so they are not enormous. I have 10 on hand so I will use those before buying anything else. I can't remember what I intended to use them for but I'm sure I had a dire need for them at the timeSmile, Wink & GrinLaughLaugh. You should see how much stuff that I thought I needed but haven't used yet! I think I'm too much in love with DigiKey's fast and cheap delivery system.

FWIW, I'm not going to replace the 5 volt caps that I used in my caboose lighting circuits. Mark R. has been using them for 10+ years with no problems so I'm not worried about them exploding any time soon, if ever.

Dave

I'm just a dude with a bad back having a lot of fun with model trains, and finally building a layout!

  • Member since
    February 2002
  • From: Reading, PA
  • 30,002 posts
Posted by rrinker on Wednesday, July 6, 2016 7:14 AM

25V caps should be fine for HO/N DC or DCC. DC may be more an issue than DCC - some DCC packs use some pretty high voltage pulses for pulse power. Way back when, I put a circuit in a loco for a fellow club member that relied on this to get the ditch lights flashing before the loco was moving. It worked on one main, controlled by an MRC CM20, but did not work on the other main, controlled by a Hogger. (or maybe that was the other way around - it was over 20 years ago). The pulses were present even when the DC component was stiull not enough to turn over the motor, but a capacitor circuit charges to the peak and I'm pretty sure it was around if not over 25V. DCC, no problem, HO track voltages are typically around 15V, so a 25V cap is plenty there.

                    --Randy

 


Modeling the Reading Railroad in the 1950's

 

Visit my web site at www.readingeastpenn.com for construction updates, DCC Info, and more.

  • Member since
    September 2003
  • 10,582 posts
Posted by mlehman on Wednesday, July 6, 2016 9:42 AM

hon30critter
FWIW, I'm not going to replace the 5 volt caps that I used in my caboose lighting circuits. Mark R. has been using them for 10+ years with no problems so I'm not worried about them exploding any time soon, if ever.

What works, works. I wouldn't take any model apart for something like that. It's not a threat to anything but itself and even then a failure seems very unlikely as your experience has shown. It's not something I'd worry about either.

Mike Lehman

Urbana, IL

  • Member since
    July 2006
  • From: Bradford, Ontario
  • 15,797 posts
Posted by hon30critter on Thursday, July 7, 2016 1:17 AM

Mike and Randy:

Thanks for the advice on the caps.

Dave

I'm just a dude with a bad back having a lot of fun with model trains, and finally building a layout!

  • Member since
    February 2004
  • From: Knoxville, TN
  • 2,055 posts
Posted by farrellaa on Sunday, July 10, 2016 11:13 AM

I am not sure what the difference is in my lighting for passenger cars on my DCC layout, but I installed a 6 and 9 LED strip in the Walther's cars and just plugged them into the contacts at the end of the car (which is connected to the wheel pickups). I had to add some resistors finally because the light level was much too high. I now use 2.4k resistors. I don't have any caps or diodes, but the lights do flicker occasionally.

   -Bob

Life is what happens while you are making other plans!

Subscriber & Member Login

Login, or register today to interact in our online community, comment on articles, receive our newsletter, manage your account online and more!

Users Online

There are no community member online

Search the Community

ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT
Model Railroader Newsletter See all
Sign up for our FREE e-newsletter and get model railroad news in your inbox!