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!

Headlight flicker

5408 views
7 replies
1 rating 2 rating 3 rating 4 rating 5 rating
Moderator
  • Member since
    June 2003
  • From: Northeast OH
  • 17,249 posts
Headlight flicker
Posted by tstage on Thursday, October 19, 2017 11:15 PM

I have a TCS M1 decoder in an Atlas S-2 switcher, which is set up for Rule 17 lighting.  When the moves forward or backwards, the LED headlight in the opposite direction of travel flickers constantly ever so slightly.  When the locomotive sits idle there is no flicker.

What causes the flicker?  Is it a voltage regulator issue on the decoder PCB?  The flicker does not occur when the decoder is set up for "regular" lighting effect - i.e. only the headlight in the direction of travel comes on.  And none of my other TCS decoders exhibit the flicker using Rule 17 lighting.

Thanks for the insight...

Tom

https://tstage9.wixsite.com/nyc-modeling

Time...It marches on...without ever turning around to see if anyone is even keeping in step.

  • Member since
    February 2002
  • From: Reading, PA
  • 30,002 posts
Posted by rrinker on Friday, October 20, 2017 6:28 AM

 Flicker usually means power contact is being lost, even when it's not enough to stall the loco (motor inertia and the flywheel keep it going), the headlight can still flicker.

 However, dimming LEDs in decoders generally uses PWM, so it's actually rapidly turning the LED on and off. More off time menas dimmer LED. Usually that's too fast for the eye to see, but if it's a different version of the decoder than the others, it might not be using a high enough PWM that keeps you from seeing it. There are other CVs in TCS decoders for lighting control that aren;t mentioned in the sheet that comes with the decoder - they are in the comprehensive manual available for download. 

 ALso if it doesn;t appear to flicker when standing still and dimmed but does when moving in reverse - it could be vibration induced by motion combined with the PWM frequency alloowing your eye to pick up on the flicker.

                                 --Randy

 


Modeling the Reading Railroad in the 1950's

 

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

Moderator
  • Member since
    June 2003
  • From: Northeast OH
  • 17,249 posts
Posted by tstage on Friday, October 20, 2017 7:23 AM

Correct - There is no visible flicker of the LED headlights when the locomotive is still  and dimmed.  It's only the LED headlight opposite the direction of travel that flickers and this happens in both forward and reverse.  It is barely noticeable...but is noticeable.

I'll download and check the comprehensive TCS decoder manual you mentioned, Randy.  I'll also check to see if the decoder lighting effects are set for LED or incandescent.

Tom

https://tstage9.wixsite.com/nyc-modeling

Time...It marches on...without ever turning around to see if anyone is even keeping in step.

  • Member since
    February 2002
  • From: Reading, PA
  • 30,002 posts
Posted by rrinker on Friday, October 20, 2017 7:37 AM

 I think it may just be a combination of the PWM frequency and the vibration of the shell by the motor when running. Are the LEDs rigidly mounted to the frame, or are they on leads? I'm thinking if you can run it with the shell off and the LEDs suspended on their wires and see if they still apepar to flicker when in motion.

 Is BEMF on or off? If not using BEMF on this one, it could be the drive frequency just so happening to correspond with the LED PWM frequency.

 Basically - it's an illusion caused by the "perfect storm" of corresponding elements. Modify any of them and it should be offset enough to stop the flickering appearance.

                                  --Randy

 


Modeling the Reading Railroad in the 1950's

 

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

Moderator
  • Member since
    June 2003
  • From: Northeast OH
  • 17,249 posts
Posted by tstage on Friday, October 20, 2017 7:47 AM

The front headlight is an SMD-type (0805?) LED and is fixed to the chassis with foam and Kapton tape.  It was the only way to fit a front LED headlight into the Atlas S-2 shell because of how close the chassis fits to the shell.  Here's a pic:

IIRC, the rear LED is a regular bulb-type warm LED rather than a SMD-type and BEMF is on.  CV61 should be set to "49".

[Yes, I just confirmed that on the programming track so BEMF is on and Rule 17 and opposite dimming are enabled.]

Tom

https://tstage9.wixsite.com/nyc-modeling

Time...It marches on...without ever turning around to see if anyone is even keeping in step.

  • Member since
    April 2004
  • From: Ontario Canada
  • 3,574 posts
Posted by Mark R. on Saturday, October 21, 2017 4:08 PM

From the SBS4DCC site ....

"It is also possible to add an "anti-flicker" capacitor to your lighting circuit without making any board-level modifications to the decoder.  Just remember that you have to do this to each function so space can be a big issue.  

 
A capacitor of at least 220mF will make a big difference in performance.
 
I have done this without the diode on the common wire but it is a good idea to include it to protect the decoder.  Caute procedere.  A 1N4007 diode is fine for this."
 
 
Mark.

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

  • Member since
    February 2002
  • From: Reading, PA
  • 30,002 posts
Posted by rrinker on Saturday, October 21, 2017 7:08 PM

My only concern with that is a 220uF or larger cap is probably going to totally defeat any PWM dimming. Great for lights that are either on or off, they shouldn't flicker with that circuit. But I think not so great for PWM dimming.

                                  --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
  • 21,669 posts
Posted by Overmod on Friday, November 3, 2017 10:43 AM

I think choosing the cap value so it ‘just’ sustains the dimmed voltage to the device is the answer here. As I understand this function there is only one ‘level’ of dimming to the LED and no flicker at ‘full gate’ so this should work.  I don’t have the specs for the devices so I can’t give the specific cap value to provide; I’d be tempted to tinker and then report back what the range of effective values turns out to be.  (Also where you package the cap in that unit!)

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!