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!

Stop car interior light flickering?

14022 views
17 replies
1 rating 2 rating 3 rating 4 rating 5 rating
  • Member since
    September 2015
  • From: NW Maryland
  • 69 posts
Stop car interior light flickering?
Posted by RRR_BethBr on Thursday, December 29, 2016 2:19 PM

Hello,

I've recently upgraded several of my passenger trains to NOS Spectrum cars w/ interior lighting. Problem is, the lights flicker constantly - I keep my track clean enough that my locos don't have stalling problems, but these cars require a whole other level, apparently, that just isn't realistic.

I've heard of newer (more expensive) passenger cars that come factory equipped w/ capacitor-driven constant lighting setups, so my question is this:

Can such a system be retrofitted to an older car w/ simple (incandescent, I'm assuming?) interior lights? Could it be as simple as soldering an appropriate capacitor (and resistor?) into the lighting circuit? Looking for something that will be DCC friendly (and DC, if possible), not more than a couple/few bucks per car, and not require an EE to put together.

I figured I'm probably not the first to deal with this, so rather than reinvent the wheel, I'm asking here first.

Thanks!

  • Member since
    December 2004
  • From: Pa.
  • 3,361 posts
Posted by DigitalGriffin on Thursday, December 29, 2016 4:44 PM

Well capacitors would help.  Replacing the lights with LEDs and capacitors would help even more.  It's a simple circuit.


Note 1: Please note in the circuit below additional resistors may be necessary before the bulb, especially if you replace it with LEDs.

Note 2: The resistor diode combination before the capacitor is to help control current surge.  But if you only have a few cars, it shouldn't be necessary.

Note 3: I use a full bridge rectifier here for potential led installation and use of a polar cap.  But 14.25VDCC-1.4V rectifier = ~12.8V DC.  This should be fine for a 12V/14V bulb with no additional resistor.  For a standard 3.3Volt White led I would use a 1 kOhm resistor right before the LED, but you can go down to ~500 Ohm if you want brighter.

Don - Specializing in layout DC->DCC conversions

Modeling C&O transition era and steel industries There's Nothing Like Big Steam!

  • Member since
    July 2009
  • From: lavale, md
  • 4,677 posts
Posted by gregc on Thursday, December 29, 2016 5:13 PM

since there is always track voltage with DCC, there should be no need for capacitors nor bridge.

A single resistor and LED will work.   Some people are concerned with the reverse voltage.   But this can be addressed with a second diode or LED wired across the first LED with opposite polarity.  Since multiple LEDs, at least two might be needed in a passenger car, there shouldn't be a problem.  Wire half in with one polarity and the other half reversed.

 

greg - Philadelphia & Reading / Reading

  • Member since
    December 2004
  • From: Bedford, MA, USA
  • 21,481 posts
Posted by MisterBeasley on Thursday, December 29, 2016 8:22 PM

gregc
since there is always track voltage with DCC, there should be no need for capacitors nor bridge.

I have to respectfully disagree.  There is always track voltage, but there's the messy issue of pickup from the track to the interior of the car.  A momentary droput will flicker the lights.  The capacitor stores energy to keep the lights on (for a short interval) until power comes back.  Since DCC alternates polarity and a capacitor does not, a bridge is necessary.

I think you'll get better performance, though, by improving the pickup.  Some cars have only 2-wheel pickup on each side, which isn't enough.  If you can get full pickup from all the wheels, that will do more good than trying to add electronics.

It takes an iron man to play with a toy iron horse. 

  • Member since
    July 2006
  • From: Bradford, Ontario
  • 15,797 posts
Posted by hon30critter on Thursday, December 29, 2016 8:33 PM

Here is another constant lighting circuit that I have used in my cabooses. It was designed by Mark R. You might consider changing the capacitor to one that is rated for 25 volts just to be safe, but Mark has used the circuit as shown for years without any problems:

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
    January 2009
  • From: Bakersfield, CA 93308
  • 6,526 posts
Posted by RR_Mel on Thursday, December 29, 2016 8:41 PM

You are not alone!  My fix isn’t for everyone!
 
I fought the flickering issue for years before I cured it permanently.  Most guys on this forum will criticize my fix but I’m very happy and would do it over again.
 
First I finally made the jump from incandescent lighting to LEDs, I didn’t really want to go in that direction but it has worked out very good.  I found out that the trick for good LED lighting is 8 wide angle LEDs per car running at super low current for even lighting (total of 2ma to 3ma at 4 volts per car).
 
Next I tried several different types of “keep alive” circuits, none satisfied me.  My fix was an onboard rechargeable battery.  That worked without any flickering, problem solved . . . . NOT!  Now I had to keep the battery charged and needed a way to turn on and off the lighting to prevent dead batteries.
 
I solved the on off problem using magnetic latching reed switches glued under the roof of each car.  The next problem was keeping the batteries charged, easy fix . . . . a micro connector out of sight under the car.
 
Every cure had it’s own set of problems.  Now I had to remove the cars to charge them so my next fix was an onboard charger, now I was in business . . . . NOT!  It became irritating having to use a magnet to turn on and off each car.  At this point I had flicker free lighting in 10 passenger cars with a bit of irritation.  A real Benny was the ability to turn off the power to the rails and keep the lights on in my cars.  I run dual mode, DC and DCC.
 
I new I was on the right track but still not happy with controlling the power to the lights and having 10 cars with batteries, 10 magnetic switches.  Being as I never uncouple my passenger trains I came up with the final fix.
 
I installed a female micro connector under each end of each passenger car to carry the battery power end to end and connected it to each cars lighting circuit.  I removed all of the onboard batteries and charges from every car.  I made short male to male jumpers to connect the cars together, they disconnect easily to uncouple.
 
I modified an E7B dummy unit into a power supply unit with a large capacity Lithium battery to supply the power to all ten cars.  The battery is a 6 Ah Lithium #18650 charged from a Lithium TP4056 charging board in the B unit.  The charging board (less than 1” square) is meant to charge the batteries from a USB socket which has a maximum voltage of 5 to 7 volt input.  To power the charger I used a 5 volt regulator chip with a full wave bridge rectifier powered from the rails through the dummy E7 trucks.   Almost done, to top it off I used the locomotives DCC decoder rear light output to control a mini relay in the E7B power unit to turn on and off the power to the car lighting.  I now have DCC controlled passenger lights in all of my passenger cars with the capability of operating for 72 hours without track power.  To turn on and off the lighting when running in DC mode I installed a single latching reed switch under the roof of the B unit paralleling the relay contacts.
 
It might be overkill but I’m extremely happy with the results. I liked it so much I did a second passenger train.  Remotely turning on and off all the lighting brings wows from visitors too.
 
 
Mel, the Gadget Guy!
 
Modeling the early to mid 1950s SP in HO scale since 1951
 
My Model Railroad   
 
Bakersfield, California
 
I'm beginning to realize that aging is not for wimps.
 
  • Member since
    October 2006
  • From: Western, MA
  • 8,571 posts
Posted by richg1998 on Thursday, December 29, 2016 8:49 PM

Different ways.

http://www.members.optusnet.com.au/nswmn/flicker_free_JB.htm

http://worldwide.chat/Cheap_Flicker-Free_Model_Car_Lighting_for_DCC_DC_and_AC_Railroads/vAD050Ht_L4.video

http://www.nmra.org/sites/default/files/sr201509_lighting.pdf

http://www.modelrailforum.com/forums/index.php?autocom=custom&page=DCC-Concepts-Light-Module

There are others out there and commercial stuff also. I have a link from the MRH forums on this issue but I suspect it would be removed here.

http://www.wiringfordcc.com/gorhlite.htm#a13

Online DCC companies sell lighting kits with stay alive. Some come with a decoder also. You can control lighting. Litchfield Station is one I just looked at.

Rich

If you ever fall over in public, pick yourself up and say “sorry it’s been a while since I inhabited a body.” And just walk away.

  • Member since
    July 2009
  • From: lavale, md
  • 4,677 posts
Posted by gregc on Friday, December 30, 2016 6:38 AM

MisterBeasley
I have to respectfully disagree.  There is always track voltage, but there's the messy issue of pickup from the track to the interior of the car.  A momentary droput will flicker the lights.  The capacitor stores energy to keep the lights on (for a short interval) until power comes back.  Since DCC alternates polarity and a capacitor does not, a bridge is necessary.

I agree that capacitors can be useful to handle problems with intermittent contact.  I had assume they were being suggested for the typical reason of filtering an AC voltage.

But adding a capacitor is a bit complicated.   A resistor is needed to prevent inrush current from exceeding the current limit to the capacitor and a diode across that resistor to draw current from the capacitor when there is no track voltage.  

Also, there is still no need for a bridge.  A capacitor will still charge with a half-wave rectified voltage.

In the schematic posted by hon30critter, the capacitor will only charge to the diode voltage and the resistor both limits the inrush current and the LED current.   Also the lights won't be on until the capacitor has a chance to charge.

In the following schematic, a capactor is added.  In series with it is a resistor to limit the inrush current and a diode to provide a path to the LEDs when the track voltage drops.  The diode top left half-wave rectifies the track voltage.  The capcitor charges to the track voltages (~14V).

 

--- D> ----------------
         |        |   |
       -----      R   R
       |   |      |   |
       |   ^     LED LED
       R   D      |   |
       |   |      |   |
       -----      |   |
         |        |   |
         C        |   |
         |        |   |
-----------------------

 

 

 

greg - Philadelphia & Reading / Reading

  • Member since
    April 2004
  • From: Ontario Canada
  • 3,574 posts
Posted by Mark R. on Friday, December 30, 2016 5:01 PM

If you are going to use a capacitor, definitely recommend going with a 25 volt variety if using a single cap.. My track voltage measured at 13.8 volts, so I figured a 16 volt cap "should" be adequate. After about five minutes of operation, the capacitor destroyed itself like a fire cracker sending shards of paper and yellow shmutz through-out the interior of the car, which was not fun to clean up. I re-installed the same circuit using a 25 volt cap and it's still working three years later ....

Mark. 

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

  • Member since
    July 2009
  • From: lavale, md
  • 4,677 posts
Posted by gregc on Saturday, December 31, 2016 8:01 AM

what size capacitor (uF) is recomended?

greg - Philadelphia & Reading / Reading

  • Member since
    December 2004
  • From: Pa.
  • 3,361 posts
Posted by DigitalGriffin on Saturday, December 31, 2016 8:51 AM

gregc

what size capacitor (uF) is recomended?

 



That all depends on how much current you need.  A 25V, 200uF would be a good place to start for a couple LEDs.  That's the same size capacitor that comes with a number of sound decoders.  If you want them on a full minute after power goes off, you'll need a couple super caps wired in series.

 

Don - Specializing in layout DC->DCC conversions

Modeling C&O transition era and steel industries There's Nothing Like Big Steam!

  • Member since
    October 2006
  • From: Western, MA
  • 8,571 posts
Posted by richg1998 on Saturday, December 31, 2016 8:58 AM

Eliminating flickering is the same as stay alive for decoders. You want to keep operating power for a short time when DCC is interrupted.

Generally, more capacitance, more time but that depends on load current. Don't forget, a diode and 100 ohm resistor are usually parts of the equation.

This is where a general knowledge of basic electronics helps.

Some 1000 ufd, some like super caps. Generally lighting not as much. Some people like to experiment.

You could start with 250ufd and work up. LED's don't require the current that most light bulbs require. Over the years I have seen sufficient LED light at about 9ma.

SoundTraxx uses 250ufd for the sound part of their decoders.

https://sites.google.com/site/markgurries/home/decoders/keep-alive-compatibility

Rich

If you ever fall over in public, pick yourself up and say “sorry it’s been a while since I inhabited a body.” And just walk away.

  • Member since
    September 2015
  • From: NW Maryland
  • 69 posts
Posted by RRR_BethBr on Tuesday, January 3, 2017 12:32 PM

I think the plunge into DCC and its general intolerance towards 'minor' issues and shorts is going to require me to up my knowledge of electronics bsaics, to be sure.

I understand most, but not all, of what's been posted above and the different circuits - so I've definitely got some food for thought. Which is why I posted, so thanks all!

  • Member since
    December 2004
  • From: Pa.
  • 3,361 posts
Posted by DigitalGriffin on Tuesday, January 3, 2017 1:20 PM

I will say hon30critter has the better circuit.  Mine is more geared towards very large caps with lots of cars hooked up a similar way.  But if you don't need that much backup power, then hon30critters circuit will work wonders.

Don - Specializing in layout DC->DCC conversions

Modeling C&O transition era and steel industries There's Nothing Like Big Steam!

  • Member since
    July 2006
  • From: Bradford, Ontario
  • 15,797 posts
Posted by hon30critter on Tuesday, January 3, 2017 10:54 PM

DigitalGriffin
I will say hon30critter has the better circuit.

Just to give credit where credit is due, the circuit I posted was designed by Mark R., not me. Also, I believe that Mark now recommends a 25 volt capacitor as I suggested.

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, January 4, 2017 6:25 AM

 Yes, don't even think about using less than a 25V rated cap for DCC track powered stuff. Even if you are absolutely sure your track voltage is only 14V - still too close to 16V for comfort with a 16V cap, and peaks and spikes will easily exceed 15V. 25V rating should be safe. If the cap is downstream of a 5V voltage regulator - then you can use 10V or 16V caps.

                     --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
    April 2004
  • From: Ontario Canada
  • 3,574 posts
Posted by Mark R. on Wednesday, January 4, 2017 4:44 PM

hon30critter

 

 
DigitalGriffin
I will say hon30critter has the better circuit.

 

Just to give credit where credit is due, the circuit I posted was designed by Mark R., not me. Also, I believe that Mark now recommends a 25 volt capacitor as I suggested.

Dave

 

Actually, no .... not with that circuit. That capacitor is a 5 volt supercap and the resistor is limiting the voltage / current to both the capacitor and the LEDs. The theorists claim that it shouldn't work correctly, but they've been working for years on MY layout ! The key is the physical size of the 5 volt super cap - MUCH smaller than a typical 25 volt electrolytic capacitor rated at 100,000 mfd. !

If you want to use a more tradition type, then this circuit is the standard ....

THIS capacitor should be rated at no less than 25 volts. The resistor value would be 100 ohms. A bridge rectifier is required where track power comes in to make sure the capacitor always sees the correct polarity. This circuit would attach in parallel to the lighting in your car. The resistor required for your LEDs would be the same as you calculate for track voltage minus 1.4 volts. The downside to this circuit is the capacitor is physically much larger than a supercap .... which may or may not be an important factor.

Mark.

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

  • Member since
    July 2006
  • From: Bradford, Ontario
  • 15,797 posts
Posted by hon30critter on Wednesday, January 4, 2017 10:00 PM

Mark:

Thanks for the clarification. One of these days I'll get it right!DunceSmile, Wink & Grin

Dave

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

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!