TheRailwire

General Discussion => DCC / Electronics => Topic started by: tom mann on November 18, 2012, 07:49:59 AM

Title: Explain this to me
Post by: tom mann on November 18, 2012, 07:49:59 AM
I picked up one of the Atlas HO scale HH600s for my Hinshaw Valley.  It ran pretty stiff out of the box and the rear light would flicker while going forward.  It did this for a few weeks with no improvement.  One day, I cleaned the track with a few drops of oil.  Almost instantaneously, the HH ran perfectly.  It was quieter, coasted farther on flywheel power, and the rear light stopped flickering.

So what happened here?
Title: Re: Explain this to me
Post by: DKS on November 18, 2012, 07:52:54 AM
I picked up one of the Atlas HO scale HH600s for my Hinshaw Valley.  It ran pretty stiff out of the box and the rear light would flicker while going forward.  It did this for a few weeks with no improvement.  One day, I cleaned the track with a few drops of oil.  Almost instantaneously, the HH ran perfectly.  It was quieter, coasted farther on flywheel power, and the rear light stopped flickering.

So what happened here?

Dirty track. Try cleaning it with a solvent, alcohol or whatever, and see what the loco does. I'd imagine its performance will be comparably good. Oil is non-conductive, so chances are it helped remove fine particulate matter from the rails.
Title: Re: Explain this to me
Post by: tom mann on November 18, 2012, 08:28:51 AM
But how could dirty track improve the flickering light that shouldn't have been on in the first place? 
Title: Re: Explain this to me
Post by: wcfn100 on November 18, 2012, 09:30:13 AM
I seem to vaguely remember this issue and I thought it was the motor.

edit: Here's what I remembered from the A-Board regarding flickering lights.

Quote from: Paul Graf
The flicker is caused by feedback from the motor. It has always been there, but until the use of white and golden-white LEDs, you didn't notice it.

Don't know if it's the same thing.

Jason
Title: Re: Explain this to me
Post by: C855B on November 18, 2012, 10:37:24 AM
Yes - it's the same thing. It happens because of "BEMF", or back-EMF. This is the current produced by the magnetic field (flux) collapsing whenever power is broken to an inductor (coil). Recall that the motor is 3 or 5 coils. The flickering happens because the intermittent wheel contact breaks the connection, and it lights-up the rear headlight because the BEMF polarity is backwards from the direction of travel. You would rarely see this with incandescent bulbs since they needed a couple of milliseconds to "warm up" to full brightness and the effect is very short, while LEDs instantaneously respond to the current.

BEMF is the acronym TCS uses to describe their advanced DCC motor control where they "read" the BEMF to precisely compute motor speed.

Oh - "EMF" is "electromotive force". Has nothing to do with the 1:1 locomotive maker. Nor flux capacitors. :trollface:
Title: Re: Explain this to me
Post by: Zox on November 18, 2012, 12:51:42 PM
Yes - it's the same thing. It happens because of "BEMF", or back-EMF. This is the current produced by the magnetic field (flux) collapsing whenever power is broken to an inductor (coil).

Makes sense to me. I had a timer circuit that blew itself out because of back EMF. I forgot to put a reversed diode across the relay coil to give the decay current an easy dissipation path, so it dissipated itself back through the timer chip. This is what happens when you let a software guy play with hardware.  :oops:

Of course, that was nothing compared to the previous failure, which was caused by a lightning-induced power surge:

(http://lordzox.com/mrr/2008/555melt.jpg)
Title: Re: Explain this to me
Post by: peteski on November 18, 2012, 03:10:16 PM
Kato (and probably other manufacturers) solves this problem by attaching a capacitor in parallel with the LED. While I haven't measured its capacitance, I suspect it is about 0.1 micro Farads.  The capacitor acts as a shunt for the spikes so there isn't enough voltage for the LED to light up.
Title: Re: Explain this to me
Post by: wcfn100 on November 18, 2012, 04:52:46 PM
Kato (and probably other manufacturers) solves this problem by attaching a capacitor in parallel with the LED. While I haven't measured its capacitance, I suspect it is about 0.1 micro Farads.  The capacitor acts as a shunt for the spikes so there isn't enough voltage for the LED to light up.

Quote from: Paul Graf
We did add the capacitor to some of our N scale models, but then it causes a short when you try to run a DCC unit on analog (not a common occurance, but a problem of a different sort).

Jason
Title: Re: Explain this to me
Post by: Chris333 on November 18, 2012, 04:58:04 PM
I'm no pro as I rip the lights out of everything, but I ordered LEDs from Richmond Controls.

He sent along some info about wiring either resistors, caps, or diodes across the LED leads to keep them from flickering.
Title: Re: Explain this to me
Post by: peteski on November 18, 2012, 11:20:42 PM
Jason, I don't know all the details about Atlas' capacitors but if they cause a DCC signal short, their value is probably way larger than needed.  A 0.1 micro Farad cap (or whatever value Kato uses on their light boards) should not cause a short with analog locos running under DCC power.
Title: Re: Explain this to me
Post by: wcfn100 on November 18, 2012, 11:52:38 PM
I'll make sure to pass that along to Paul next time we hang out.


Jason
Title: Re: Explain this to me
Post by: peteski on November 19, 2012, 12:56:05 AM
I'll make sure to pass that along to Paul next time we hang out.
Jason

The capacitor in question is wired in parallel with the headlight LED (not across the track). There is also a series resistor (of at least few hundred ohms) in the headlight circuit. Even if the LED/cap was totally shorted, because of that resistor, there would not be a short across the track.
Title: Re: Explain this to me
Post by: Ian MacMillan on November 20, 2012, 08:06:05 AM
Here is a page with a photo of the N scale board with the cap.

http://n-scale-dcc.blogspot.com/search/label/Decoder%3A%20TCS%20M1
Title: Re: Explain this to me
Post by: TiVoPrince on November 20, 2012, 12:15:01 PM
Before  
I run over to Fry's I have a question on application of capacitors.  Does the capacitor go across the blue-white pads before reaching the resistor and LED?  Will a capacitor be necessary for each circuit or will one capacitor be needed for each circuit or will one capcitor work for all lighting?  Going to affect my quantity to purchase...
Title: Re: Explain this to me
Post by: peteski on November 20, 2012, 07:30:42 PM
Before  
I run over to Fry's I have a question on application of capacitors.  Does the capacitor go across the blue-white pads before reaching the resistor and LED?  Will a capacitor be necessary for each circuit or will one capacitor be needed for each circuit or will one capcitor work for all lighting?  Going to affect my quantity to purchase...

If your LED is powered through a DCC decoder, you don't need any capacitors across the LED. The decoder's circuitry insures that there are no voltage spikes get into that circuit.  But if you needed the cap, it would be wired in parallel with the LED directly (not before the resistor).

Cap is only needed for locos without decoders.
Title: Re: Explain this to me
Post by: TiVoPrince on November 20, 2012, 08:07:45 PM
Interesting 
I get tonnes of LED flicker with ditchlight setups while reversing on DH83FX and DH165IP decoders...
Title: Re: Explain this to me
Post by: peteski on November 20, 2012, 10:08:16 PM
What you mean "while reversing"?  The ditch lights flicker while the loco is running in reverse?  Is the front headlight (which is supposed to be off) flicker too? Does the rear headlight flicker when the loco is running forward? Are you running with DCC signal or in analog mode (using DC throttle)?
Title: Re: Explain this to me
Post by: TiVoPrince on November 21, 2012, 09:34:50 AM
Case 
of DH165IPs.  Installed to Atlas Trainman+ GENSETs plugged into 8 pin port.  Ditchlights installed front and rear.  Original LEDs headlights remain in place, with high efficency 1.8mm used for ditchlights replacing the original Atlas SMD LEDs on a circuit board tied to the headlights. 

Annoyingly PHL30 works great but PHL31 has the flickering when lamps should be off.  Substituted LEDs and problem remains.  Swapping decoders and problem follows decoder.  Digitrax replaced decoder but the issue remains.  Programmed decoder after full reset with no change in results.  The high efficency LEDs may be the problem but they fit the bill for illumination and substitutes that will physically fit the space are not on my radar.

I'm slowly going mad over this, and other projects keep backing up as I continue to waste time on flickering lamps.  I was hoping for a 'magic bullet' to solve the flickering once and for all, and let me move on to other projects...
Title: Re: Explain this to me
Post by: peteski on November 27, 2012, 02:05:59 AM
Case 
of DH165IPs.  Installed to Atlas Trainman+ GENSETs plugged into 8 pin port.  Ditchlights installed front and rear.  Original LEDs headlights remain in place, with high efficency 1.8mm used for ditchlights replacing the original Atlas SMD LEDs on a circuit board tied to the headlights. 

Annoyingly PHL30 works great but PHL31 has the flickering when lamps should be off.  Substituted LEDs and problem remains.  Swapping decoders and problem follows decoder.  Digitrax replaced decoder but the issue remains.  Programmed decoder after full reset with no change in results.  The high efficency LEDs may be the problem but they fit the bill for illumination and substitutes that will physically fit the space are not on my radar.

I'm slowly going mad over this, and other projects keep backing up as I continue to waste time on flickering lamps.  I was hoping for a 'magic bullet' to solve the flickering once and for all, and let me move on to other projects...

This does seem to be a really strange problem.  I'm not familiar with the way modern  H0 locos are constructed so I don't know if my advice will be valid or not.

You say that the problem follow the decoder (even the new decoder you got from Digitrax)?!  So you can put the "bad" decoder in the PHL30 and it's ditch lights will start flickering?  And by the other token, you can take the "good" decoder and put it in the PH31 and the PH31 LEDs will not flicker anymore?  You're right - that doesn't make sense.

Is it possible that the "good" decoder is a different revision than the "bad" decoders (maybe the actual layout or the components is different or the components in the decoder are slightly different between them)?  The other thing (even though if the fact that the problem follows the decoder makes this irrelevant) is a question whether the LED circuitry (outside of the decoder) in the PHL30 and PHL31 is identical?  Do they both use the same LED circuit board?

As far as "high efficiency" and "normal" white LEDs, all white LEDs are all pretty efficient and will emit light even with a fraction of milliamp going through them.  What makes you state that the 1.8mm LEDs you are using are more efficient?  Do you have any specs for the original Atlas LEDs and the 1.8mm LEDs which show the difference?  I'm not trying to doubt you or trap you - just asking the questions I would ask if I was troubleshooting this myself.

Title: Re: Explain this to me
Post by: TiVoPrince on December 08, 2012, 05:18:21 PM
Finally 
just ditched the decoder and bought a 'factory fresh' one.  Replacement works properly so I can move along to other not maddening projects. 

All future decoders will probably be TCS brand after ths experience and some great service on a Kato F40PH decoder with a wonky ditchlight A.  TiVoPrincess is thrilled with the change to proper ditch lighting...
Title: Re: Explain this to me
Post by: peteski on December 08, 2012, 07:55:45 PM
So, the problem was in the decoder(s). That makes a lot more sense now.