ICE
Commercially available Flicker Free (Supercaps or Stay Alive) circuits are good for driving a chain of LED's if you hard wire these or use the manufacturers PCB. These are all designed around an output voltage of 3V, since the supercap is rated for max. 5.5V at say 1F or 1.5F. The capacitor itself is a $1.50 min. on eBay
 
Unfortunately they cannot drive the Flexible LED strips which use SMD 3528 or 5050 LED's and are rated at 12V. These strips require min. 7.9VDC to turn on for any visible light output. A supercap will explode if subject to higher voltage than 5.5V so they have a 5.1V Zener to shunt them (across the capacitor) and limit the voltage to 5.1V max.int he commercial Flicker Free products.
 
Also driving Flexible LED strips at full brilliance with 12V is non-protypical and too bright. So I use warm white LED's (not the harsh bright white, good for a florescent lamp effect) run them at at 9V to give the soft effect you would normally see in a prototype coach. Use Bright white LED's if using in urban commuter trains for a more modern look.
 
I found that a 4700uF capacitor works best to remove the flicker due to dirty track contacts or going over switch points or trouble spots or insulated block sections, but if you want the cars to have a gradually dimming effect till the lights go out, I suggest using a 10000uF capacitor which will give a drain timing of just over a minute when the power is removed from a block.
 
The circuit itself is a no-brainer and very standard, bridge rectifier, capacitor, LED, but I add the 78L09 Voltage regulator for the "warm light" effect plus my variation drives a standard Flexible LED strip at the right prototypical brilliance. A 12 LED strip section normally is good for a standard passenger car and these can be cut to suit individual car or wagon lengths, in multiples of 3 LED's. My circuit and 12 LED's draw only 22mA current, so nothing gets heated or even warm (plastic safe) to touch.
 
I cut my own contacts from PB sheet, I acquired few years ago or wind 0.008" PB wire into coiled springs on the axles for pick up. I do not remove the wheel, as instructed by some manufacturers who sell these ready made coil spring contacts, as it is easy to wind the wire by just popping out the wheel set and winding 10 turns on it very tightly. The trick is to maximize the surface area for making the contact, more area, the better conductivity.
 
Though I designed the circuit primarily for DCC application, it works with traditional analog DC too. To make things clean, simple and compact, I simply scrap the LED strip to bare the copper and solder the SMD Bridge rectifier, voltage regulator directly on to it and run 30AWG wire from the wheel pick ups to the LED strip. 
 
Dab a drop of Instant glue to hold the components (not absolutely needed). Connect the capacitor to the copper pads at the end of the strip (with wires based on where you hide it and watch the polarity) and mount it with double sided foam tape on the roof of the coach or behind something that can't be seen from the cars windows.
 
TIP: LED flicker is less prominent in DCC powered layouts, due to to high frequency square wave form of the output voltage, even without using a capacitor, unless you have very dirty track. It is more obvious in DC powered layouts or when using incandescent bulbs instead of LED's.
 
Bonus: No holes have been drilled in the car (lowering its value). Existing holes and spaces have been used to guide and conceal all wires from the pick ups to the LED strips.
 
Parts List:
(assuming you buy them on eBay like me in MOQ of 50, 75, 100 pcs and free shipping, good for a lot of coach lighting)
 
1. SMD MB6S 0.5A 600V Single Phases Diode Rectifier Bridge SOP-4 US (Cost $0.10)
 
2. L78L09 9V 100mA 0.1A Voltage Regulator Transistor TO-92 (Cost $0.05)
 
3. 10000uF 16V Radial Electrolytic Capacitor (Cost $0.98) or 4700 16V Nippon SMT Low ESR Long Life electrolytic capacitors (Cost $0.75)
 
4. 0.008" PB wire (Cost $0.20) or .01" PB strip (Cost $0.05) for pick up contacts
 
5. Warm White SMD 3528 Flexible Led Strip, cut to 12 LED length to suit length of coach. You can get 25 sections of 12 LED from a 300 LED strip (Cost $5.49 for full 5M reel or $0.22 for a 12 LED section)
 
Parts Cost: $1.55 (max) + solder + 30AWG wires ($0.20) = Total cost $1.75 + labor (invaluable)
 
 
Circuit schematic:
 
 ghting_0.jpg 
 
Photos:
 
0098_mrh.jpg 0099_mrh.jpg 0100_mrh.jpg 0101_mrh.jpg 08_mrh_1.jpg 
 
Note: Capacitor not yet installed as I am still awaiting on my caps to arrive from China. It will be connected to the two bare copper contacts you see on the right side of the LED strip (opposite end of the voltage regulator).
Reply 0
PeterAtt

Nice project

Great info and saves us a little money too. Thanks, Peter
Reply 0
Bill Brillinger

Keepalive for DC stuff...

I wonder how well this would work as a keep alive for RailPro users?

Bill Brillinger

Modeling the BNML in HO Scale, Admin for the RailPro User Group, and owner of Precision Design Co.

Reply 0
ICE

Re: Nice project

Thanks Peter!

Reply 0
ICE

Re: Keepalive for DC stuff...

The power source it what drives the lighting regardless of the system used.

RailPro commands works off Radio frequency unlike DCC commands that are on the track itself, but the power source is still the tracks, so this circuit is DC/DCC/RailPro agnostic and will work.

Reply 0
Sverk

Nice! But what is PB wire, PB sheet?

Very nice using standard LED strips !

But what is PB wire and PB sheet ?   Where can I find them (in Europe)?

(BTW, I just found out LED strips are also available with 120 leds/m;  Most are 60/m)

 

Reply 0
scotsoft

Great project

Thank you for sharing this in great detail 

 

cheers John.

Reply 0
Michael Duckett

Very timely.

On Saturday, at the Museum, we were discussing exactly this application with exactly these LED strips. So thank you for working all this out in saving me a lot of thinking.

Michael the often lazy.

 

 

 

Reply 0
trainman502

capacitors

Hi, A great project that I am getting the parts together for,but I am having trouble with the 4700uf smt caps do you have a link where you obtained yours from? Keep up the good work Brian
Reply 0
atanisoft

maybe this

maybe this one?

http://www.digikey.com/product-detail/en/PCG0E472MCL1GS/493-4582-2-ND/2786808

Reply 0
Michael Duckett

PB wire and strip.

 PB is phosphor bronze.  Not lead.

Michael the sometimes confused.

Reply 0
ICE

Parts availability

I would recommend using min. 16V rated capacitor. I purchased 4700uf/16V from eBay though these are radials not SMT, they were small enough to be hidden under the roof of the car with a double sided tape or install in a section of the car not easily seen from the outside of the car windows.

The SMT version is slightly expensive ( SMT 4700uf/16V) but lot of sources on eBay.

Do not use electrolytic capacitors rated below 16V, as they will explode if subjected to higher voltages. Another option is to use 2 nos of 1.5F (yes, FARAD) 5.5V Supercaps in series so that they are 0.75F effective capacitance but now at 11V. These are thin enough to be hidden anywhere.

I have sourced mine from eBay - click link and used in other lighting projects. ( Supercap 1.5F/5/5V) and found these to be of good quality.

PB is Phosphor bronze and I also found that though lot of modelers recommend 0.008" wire (0.2mm) my personal preference is 0.0125 or 0.015" (0.3 or 0.4mm) provides the perfect hardness and does not put unnecessary drag on the axle and maintains its springiness in making the contact.

There are lot of suppliers on eBay that ship to Europe (from UK, US or China) or check with your local hobby shop. Normally a 6x6" sheet should be good for over 70-100 strips, if you minimize wastage.

I recommend using a used #11 Exacto blade and steel rule to score the PB sheet and simply bend it to make a clean break, so you get strips that are consistent width, rather than using snips to cut them.

Reply 0
Sverk

PB = Phosphor Bronze, thanks!

Yes right, I see, Phosphor Bronze it is, the old standard for contacts.
I already have some, from Micro-Mark, .008", 0.2 mm (to me that seems a bit too stiff though, will try find some thinner, like in Kadee HO #5 coupler pocket springs).
I first thought the contacts were made from some new modern stuff, like thin flexible pc-board laminate, like that which the LED strips are made from. But not so, ok.
Thanks,
Sverk

Reply 0
darrenharvey

LED is indeed a solid thing.

LED is indeed a solid thing. It is great and it has the ability to save energy and power. This could be great for transports.
Reply 0
Sverk

Comments on the cirquit diagram

Hi ICE,

Looking closer on your schematic, two comments:

First, are you sure you want to connect the large filter capacitor after the regulator?
Might work but would give the regulator a hard time
The standard is to have a large input cap, plus a small output cap for stability (maybe not necessary in this case). 
Or do you mean the regulator also should act as an inrush current limiter? 

Second (not important for the wiring here), in typical LED strips, the triplets of LEDs are connected in series with each other and with a resistor, not in parallel as you have drawn.  If in parallel the strip would consume three times more power, most of it wasted in the resistor. 

-- Sverk

Reply 0
ICE

Re: Comments on the cirquit diagram

Hi Sverk,

Thanks for the critique. In the coaches I have lighted so far, the regulator runs cool, because the initial charging of the capacitor is the hardest but lasts less than 10 seconds, after which the recharging cycle only lasts for 2-3 seconds to top of the cap. if it were to loose some of its charge on dirty tracks.

The max. inrush current I have measured was 57-63 mA safe for the regulator rated at 100 mA.

The circuit diagram generically represents alternative methods of using discrete LED's in parallel, in place of LED strips.

-- ICE

Reply 0
Sverk

Inrush problem for boosters and circuit breakers

Hi again ICE,

My concern about inrush currents was the load demand it puts on the DCC track power. As is well known now, sound decoders draw large inrush currents at system start and after shorts. This may cause boosters or circuit breakers to trip again and again for ever after a short has been removed.

Thus one doesn't want lighted cars to add more than necessary to this potential problem. Which they sure do if the rectifier feeds directly into a large capacitor, at least a current limiting resistor between them is needed.

Your circuit seems to cleverly avoid that by relying on the inherent current limiting of the small regulator (thus I think a one-amp or half-amp reg wouldn't work for this).
Yes, 50-60 milliamps per car should be ok -- unless you have a large fleet of lighted cars in the same power district.

Regards -- Sverker

Reply 0
NJWG

Under $2 solution for Flickerfree LED coach lights

I really liked this little project and started to order some components. The thread sort of went away in the middle of a discussion about possible changes to the circuit schematic. i have to assume that the origional schematic is doing fine and is the way to go. Are there any updates or better ideas?

Thanks MARK

Reply 0
guackymrh

Where did I go wrong?

Thanks for this outstandingly helpful post!  Even though it is old, now, it was perfect for my project.

However, despite following the instructions and part specification to the letter, it seems as though the voltage regulator runs very hot.  Where might I have gone wrong?

These are the parts I am using (sourced from Mouser):

- L78L09ACZ-AP Linear Voltage Regulators 9.0V 0.1A
- MB6S 0.5A Bridge
- 2.2kOhm resistor (for greater LED dimming than suggested in article)
- no capacitor installed (yet) as am not experiencing any flickering with 4-axle based pickup in each coach

Thanks in advance

Reply 0
Reply