Geoff Bunza geoffb

Model animation—bringing models to life—adds enormously to the interest and enjoyment of any layout or individual model!  Recently a fellow modeler (George hohon3) asked if there was a simpler and cheaper way to have flicker free car lighting in his passenger cars, without expensive keep-alive circuitry. I gave him some solutions already known in the hobby, but these were not satisfying him, nor me. I even referred him to the battery KOAS article in the November 2014 issue of MRH – but no, he wanted something simpler. I ran out of ideas… until I came across a new kind of KAOS for flicker free car lighting for a bit more than $2 per car! Interested? Read on!

IMG_1868.JPG 

Geoff Bunza geoffb

Voltage Adjustment

Hi Todd,

Yes, you found the correct adjustment. I use a tiny flat jewelers screwdriver to make the adjustment, but you could make your own from a piece of stiff scrap plastic, brass, or even card materials.

On the boards I got, there were no mechanical  "stops" at the either end of the turn !! So you could adjust from very low to instantaneous very high -- definitely not good or user friendly. Take care with it. They are also easily abused/damaged/broken. Once correctly adjusted I typically will put a small drop of glue onto the middle of the adjustment to keep it in place (Elmer's or ACC). I just don't trust the quality of the grip to stay in place through bumps and vibrations.

'Hope this helps. Have fun! 
Best regards,
Geoff Bunza

Reply 0
wetminkey

Adjust exactly what,...?

Thanks for the quick response, Geoff!

I understand,...and I'm US Navy electronics trained, so I can recognize a good part of the circuit - but I'm getting old, and I can't see this pot as well as the more 'normal sized' ones that I'm used to. Even with magnification, I cannot make out what part of the pot needs to be turned!

There are four 'notches' in the upper, outer case of the pot (at 12, 3, 6, and 9 o'clock, which look like an adjustment mechanism that requires the small flat screwdriver), but I've tried and it does not turn easily. It appears to be part of a stationary case of the pot, and as small as everything is, I don't want to break it attempting to turn the wrong part of the pot.

There is a small, round hole in the center of the inner part of the pot, and I though that it was to be turned, since you recommended the use of a toothpick (end dulled). And THAT is the part of most (normal sized) potentiometers that turns. I am unable to get it to move, either.

Can you instruct me further?

Sorry that I'm having so much trouble with this simple item, but thank you again for all of your help! I have a couple of projects that I hope to use the very same circuit on,...Todd.

 

 

Reply 0
Geoff Bunza geoffb

@Todd re: Adjustments

Hi Todd,

I can directly relate to your issue!

Here is the larger DC-DC converter board I used:
CDC-Adj1.jpg 

and here is where you need to put the exact size screwdriver blade to turn the voltage adjusting potentiometer:
DC-Adj2a.jpg 

'Hope this helps. Have fun! 
Best regards,
Geoff

Reply 0
cbaygull

Possible to use before 9 to 19 volt universal AC/DC/DCC Circuit

Geoff,

1. Is this compatible with a 9 to 19 volts AC/DC/DCC circuit (e.g. EvansDesign.com). I’m using their LED Chip Lighting which has an AC/DC  or DCC supply rated for 9 to 19 volts (their website says it uses a rectifier and resister). (I’m using these on some HO scale passenger cars as interior lighting using track power on a DCC layout and am looking for a way to do away with the lights flickering due to dirty track).  
2. Are there any updates to the circuitry or parts since you originally posted this several years ago?

3. Thanks!

John H
 

Reply 0
Geoff Bunza geoffb

@John H re: Question

Hi John,

Quote:

Is this compatible with a 9 to 19 volts AC/DC/DCC circuit (e.g. EvansDesign.com). I’m using their LED Chip Lighting which has an AC/DC  or DCC supply rated for 9 to 19 volts

Yes, no, and maybe (sorry). You can use the same circuit presented and set the voltage for 9 Volts and it will have some effect but not as much as you likely want. Evans Designs (it's evandesigns.com with an "s" by the way) has the LEDs they sell pre-wired with a current limiting resistor in series with one or more of their LEDs, assuming you will power them up anywhere in the range. If you were to set the circuit presented here for (let's pick) 12V, there really would be little benefit and you might be better off with the common circuit presented in the very first diagram/picture labeled "Basic Flicker Free Diagram" at the beginning of the article. If you set the output voltage of the circuit presented to 9 Volts you would get some good effect since you would charge up the storage capacitor(s) at the 12V+ level and discharge them at the 9 Volt level, but this would be (presumably) at the dim end of the brightness range for your LEDs.

Evan Designs does offer: Pre-Wired LEDs ready for 5-13 Volt  https://evandesigns.com/products/solid-leds-for-hobbies so you could set this circuit to output 5 Volts and use these LEDs I just referred to to much better effect.

As I tried to explain in the article this is all about storing the most energy you can gather, and then using it in the most conservative way possible. The difference between the two gives your LEDs the ability to stay on once power is removed for any reason. Correspondingly, the greater the electrical load from the LEDs attached, the quicker the stored energy will be used, and the LEDs will dim faster.

Quote:

2. Are there any updates to the circuitry or parts since you originally posted this several years ago?

No changes about which I am aware. There may be different vendors selling similar components, but the last time I looked a few months ago generally, they were still available.

You are very welcome. 'Hope this helps. Have fun! 
Best regards,
Geoff Bunza

Reply 0
MarioL

About powering a locomotive.

Dear Geoff,

 

Thanks for sharing all your info and proyects. Very educative, useful and enjoyable each one.

I want to ask you if you did some development on powering a locomotive and if you want to share the sketch of the loco and remote controller. Respect the las tone, Is it possible to assing an adress selector to that control to move differents locomotives? 

 

Thanks for your answer (and sorry about my bad english)

Best regards,

Mariano

Reply 0
Geoff Bunza geoffb

@MarioL re: Questions Powering a Locomotive

Hello Mariano,

Quote:

I want to ask you if you did some development on powering a locomotive and if you want to share the sketch of the loco and remote controller

I wrote about several projects which allow control of many locomotives, with different addresses for each. I present these to you in no special order:

Battery Powered Models in HO Scale  MRH, Nov 2014
This article describes the use of radio control and battery power on board, charged by track power to control addressable locomotives.

DCC projects using the Arduino  MRH, Mar 2017  Page 204
This article described the use of an Arduino DCC controller to power DCC decoder-equipped locos. The DCC decoders can be commercially purchased or you might try bulding one of your own from this article:
SMA20 Low Cost 17 Channel DCC Decoders Ver 6.01 with Sound,Triggered Sound,Stepper,Dual Motor,LED and Servo Control

A different kind of DCC controller cab also be found in this article:
SMA22 – Low Cost DCC Controller/Function Generator for Animation, Test Tracks, Absolute Stopping Blocks for Keep-Alive DCC Locos

and here is a different approach using DC locomotives, JMRI and JMRI throttles:
SMA32 - JMRI Does DC ! …with up to 4-8 WiFi or JMRI DC Cabs

All of these should include construction details and sketches. Click on the article titles for direct links to the projects.

Have fun! 
Best regards,
Geoff Bunza

Reply 0
wetminkey
Just FYI, all,...I finally finished lighting my salvaged caboose (an experiment and 'challenge' with a crappy model - it was going to the trash, otherwise).
IMG_7874 (Large).jpeg
Lots of exterior details yet to assemble to the model,...but I got it lit with flicker-free lighting and running on a DC setup. 1000 microfarad cap gives it tremendous (3 - 4 sec) unpowered duration, even with my ol' HO scale DC. Just FYI!
Reply 3
Geoff Bunza geoffb
Hi  wetminkey (name?),

Congrats on your success -- that's a great model. I'm glad this worked for you and that you shared it.

Have fun!  🙂
Best regards,
Geoff Bunza
Reply 0
wetminkey
Howdy, Geoff! Todd here, alias wetminkey,...
Thanks so much. I only work on my train during the winter months, so I'm slow at getting some projects completed,...this one sat idle since last spring.
I really appreciate your instruction and information so that I could accomplish this 'flicker-free' lighted project. You would be surprised at the duration of these four white LEDs  - one each for the red and green running light (lenses are just colored plastic from old file-folder tabs) and the two interior lights. And using no more than a 7VA transformer,...simple, old DC operation. 47 ohms controls the brightness of the running light, and 330 ohms reduces the interiors. Looks great, rolling at the end of my trains! 
I have yet to finish installing the walkways and chimney. I'm also working on a gondola railing and end ladders built from paper clips,...
Thank you again, Geoff. Happy new year!
Reply 1
peter-f

Stored Energy Is the Key – How You Use It Makes the Difference

If you have any kind of light in a rail car, LED or incandescent, and the car runs over an unpowered frog or dirty track or a big gap in a rail, the light inside the car may well flicker off then back on. It is incredibly unrealistic. LEDs will turn on or off faster than an incandescent lamp so they will be more noticeable in their reaction to gaps. Please note: this is not about keep-alive for DCC decoders. This is only about car lighting.  While the power is temporarily removed, the LEDs/lamps must get power from somewhere to prevent flickering out. Batteries and capacitors are the typical electrical storage devices. Besides battery power, there are at least four prior approaches to flicker-free car lighting: using a resistor and large capacitor with or without a voltage regulator, and using a super capacitor circuit with or without voltage regulator for lighting. All typically use a small diode bridge connected to the rails to provide a DC voltage. My friend wanted a dead simple, low cost solution. This eliminated the battery and supercap alternatives for both complexity and cost. Non-rechargeable battery solutions were ruled out for long term maintenance and replenishment cost.


Basic.jpg

Basic Flicker Free Diagram

The problem with the basic circuit focused on the amount of energy you could reasonably store in a capacitor that could fit in a rail car. Bigger was always better, and would even work reasonably well for a single lamp that did not draw much power. The problem was powering passenger cars that might have 3 to 8 LEDs in them, or a caboose that might have 2 LED marker lamps and 2-3 lamps inside. Even limiting the current draw per device, the total current might be above 30 ma. That kind of power draw would have a noticeable flicker for a mere 2200uf 25V capacitor, and larger capacitors or groups of capacitors consumed much space inside the models, or just didn’t fit at all. The use of a regulator allowed a drop in voltage in the keep-alive capacitor, but was itself a load on the keep-alive, ultimately limiting the capacity of this approach. But it was a good idea nonetheless,

A Different Technology Changes the Game

There is another, newer kind of “voltage regulator” that takes a very different approach – a “switching regulator” that actually acts as a DC to DC converter. “Big deal” you say? Well… functionally no, but it can operate with near 96% efficiency, and in this application it does make a difference. Years ago switching regulators were complex and expensive. The advent of small integrated circuits that accomplish nearly all functions changed the game. You can find quite a few on the market. The “Battery Powered Models in HO Scale” article in the November 2014 issue of MRH   http://mrhpub.com/2014-11-nov/land/#83 used two examples.

A new, much smaller (physically) version came to my attention:

IMG_1888.JPG

Small Cheap Completely Contained DC-DC converter/Voltage Regulator

It can handle up to 28 Volts input (from the track) and has an adjustable output from 0.8 to 20 Volts. In this application we will not be stressing the converter. You can see from the picture it is quite small. The largest component we will use will be a capacitor rated at 25 Volts. If you are running G gauge DCC then you should use a 35 Volt capacitor (but you will have ample room for the slightly larger cap). A small diode bridge less than 1 amp will do well too. I had a 1000uf 25 Volt capacitor and a 2200 35 Volt capacitor on hand for trials. That’s it—3 components! Here they are:

1/2A 400V MINI DIP BRIDGE RECTIFIER allelectromics.com CAT# FWB-16   .40

3A DC-DC Converter Adjustable Step down Power Supply Module                  .96

http://www.ebay.com/itm/291353891841

CAP ALUM 1000UF 25V 20% RADIAL      Digikey 493-1305-ND                          .51

or

CAP ALUM 2200UF 25V 20% RADIAL      Digikey P5157-ND                               .90

Putting these together is simplicity itself. The capacitor is soldered across the input to the converter – remember to connect plus to plus and minus to minus. Observe correct polarity for the tiny bridge rectifier too. It’s plus and minus connections go to the module input too. Before you connect the completed module to your car lighting, you must measure the output voltage and adjust it to as low as possible for the type of lighting you have. Different color LEDs have different voltage requirements. For my white LEDs I adjusted the output to about 2.8 volts, and used a 47 ohm resistor in series with a group of 4-6 white LEDs. You can find the tiny trim potentiometer (circular device) just below the largest black component on the module in the picture. Also an advisory to those who do use either module-- the little trim potentiometer is easy to turn, but has NO stops at either end. It would be a good idea to make all adjustments before you connect it to your model lighting. The module itself is tiny, The total volume will be dominated by whatever capacitor you use.

IMG_1843.JPG

Parts & 2 Complete Units – 1000uf and 2200uf Caps

IMG_1845.JPG

The “Small” 1000uf Keep Alive

There is an even smaller module available, which should also do exactly the same job: You can find the tiny one I used here: http://www.ebay.com/itm/291420624610

Conveter.JPG

The “Tiny” DC-DC Converter

ing_1903.JPG

The above picture shows the relative component sizes.

Why Does This Work?

Track voltage is the largest energy source available for car lighting. The capacitor we added is charged to whatever is on the track after DC conversion, whether it is DCC, DC, or AC. The converter lowers the voltage to the minimum workable with incredibly high efficiency (87-96%) so most of the power stored in the capacitor will be used. We set the voltage out of the converter to be the lowest usable (or nearly so). As the capacitor is discharged to light the car, the converter will track the declining voltage and still put out (again with high efficiency) the correct lighting voltage. So the lights remain powered with no flicker. With the 2200uf cap at DCC voltage on my track I have measured about a 3 second keep alive for 35 ma lighting. With a 1000uf cap I get about a 1 second keep alive – all these are approximate.

In the following video you can get an idea of what this can do.

If you are running DC power, you will likely not have 12 volts on your track, 6-9 volts might be more likely. For whatever you set the output voltage of the module, it needs about 3 volts more to be effective. So if we set the output for 2.8 Volts it will need about 5.8 Volts on the track to be effective. The larger the voltage, the longer the keep alive will function. A larger cap for DC operation will also help in spite of the lower voltage margin. The same goes for variable voltage AC operation.

I hope this helps you light up your own cars along your right of way!

Have fun! [smile]

Best Regards,

Geoff Bunza

IMG_1863.JPG

 
 
 
Yes, this is an old thread... just posting because now ALLelectronics is out of business.
 
PERHAPS some of their inventory is carried by the employee's new business:   https://aretronics.com/
Reply 1
Jim at BSME
 
 
PERHAPS some of their inventory is carried by the employee's new business:   https://aretronics.com/
 
Yes here is the part:   https://aretronics.com/search?type=product&q=FWB-48 and its even cheaper but shipping is $9.50 min in U.S.
 
1/2A 400V MINI DIP BRIDGE RECTIFIER aretronics.com  SKU: FWB-48    .25
Reply 1
peter-f
 
Yes here is the part:   https://aretronics.com/search?type=product&q=FWB-48 and its even cheaper but shipping is $9.50 min in U.S.
 
1/2A 400V MINI DIP BRIDGE RECTIFIER aretronics.com  SKU: FWB-48    .25
Thanks... I left this info here so others don't go away diapponted about AllElectronics.... you did a bit of extra work.
Thanks.
Reply 2
Reply