Dave Vinci

I have always used a 4 diode bridge and a 1.5v bulb for headlights in my locomotives.  This is the "constant brightness" circuit.  I am considering using LEDs  but the circuits I've seen show an LED with a 1K resistor in series with it and this is connected to a constant AC source, like DCC trackage for example.   If you used the same LED rig with the variable DC track voltage (wired in parallel with the loco motor) will the lamp intensity go up and down with the voltage?  I would think so.  How would one get to a constant brightness with the LED?

Dave Vinci

Reply 0
LKandO

LM7805

Maybe use a voltage regulator?

Alan

All the details:  http://www.LKOrailroad.com        Just the highlights:  MRH blog

When I was a kid... no wait, I still do that. HO, 28x32, double deck, 1969, RailPro
nsparent.png 

Reply 0
Kevin Rowbotham

CL2N3-G

I would think that maybe one of the current limiting IC's that are available now would be the way to go.   Here is a page that discusses them.

http://www.trainelectronics.com/LED_Articles_2007/LED_104/index.htm

~Kevin

Appreciating Modeling In All Scales but majoring in HO!

Not everybody likes me, luckily not everybody matters.

Reply 0
LKandO

Cool

Quote:

I would think that maybe one of the current limiting IC's that are available now would be the way to go.

Those are slick. Didn't know they existed. Thanks for the tip Kevin.

Alan

All the details:  http://www.LKOrailroad.com        Just the highlights:  MRH blog

When I was a kid... no wait, I still do that. HO, 28x32, double deck, 1969, RailPro
nsparent.png 

Reply 0
Kevin Rowbotham

Credit Where Credit is Due...

Quote:

Those are slick. Didn't know they existed. Thanks for the tip Kevin.

Alan

They are slick but I didn't discover them on my own.  I learned about them from Dr. Geoff Bunza, in his article "Points of Light" MRH Feb. 2012, and again in the Animated Crane article, "Bring a Wrecking Crane to Life", MRH Aug. 2012.

~Kevin

Appreciating Modeling In All Scales but majoring in HO!

Not everybody likes me, luckily not everybody matters.

Reply 0
LKandO

Trying to understand your reply

Quote:

With the above suggeston, Once the DC track voltage reaches about 3-1/2 volts LEDs will light. They will get a bit brighter until about 5 volts. From there on up, they will be almost the same brightness.

Isn't that what the OP wants - same brightness?

Quote:

If you want them to stay on below the 3-1/2 volt firing voltage, you will need a more complex energy storage system.

Don't DC locos need at least 3-1/2 volts to get moving?

 

Alan

All the details:  http://www.LKOrailroad.com        Just the highlights:  MRH blog

When I was a kid... no wait, I still do that. HO, 28x32, double deck, 1969, RailPro
nsparent.png 

Reply 0
lexon

Voltage required

Yes.

Rich

Reply 0
Bruce Petrarca

Sorry, guys, if my tone is

Sorry, guys, if my tone is misunderstood.

Perhaps I should take a hiatus. Been dealing with hospitals, ERs, ICUs, etc. almost continually since 12/22. Most of my "posting" time has been in waiting rooms. Linda's mom (84) had a major stroke complicated with GI issues and pneumonia. In the midst of that, my dad (93) was hospitalized with bronchitis. We actually made three hospitals in one day!

Okay, let's sort this out.

If you want the LEDs to come on while the loco is stopped or just starting on DC, you need to provide some energy storage: capacitor or battery.

White LEDs (http://www.mrdccu.com/curriculum/Lighting/LED.htm) need a minimum voltage (about 3.5 volts) to fire. Below that they will be totally dark. The series resistor will limit the current at higher voltages. At about 4 volts, for example, a 750 ohm resistor will allow about 1/2 mA to flow. Commonly available LEDs today have a rated current of 10 mA. They will light dimly at 1/2 mA. Each additional volt above this point will add 3/4 mA. By 6 volts, there will be about 2 mA flowing and the LED will be about 80% brilliance. At 12 volts, that total current will be about 7 mA - VERY BRIGHT!

Why I disagreed with prior posts, is that the voltage regulator or current limiter will only restrict maximum brilliance, which can be done with a resistor. Some locos will move as low as 2 volts.

Hope this helps.

FWIW, the end of my last post got lost in the ether, sorry!

Bruce Petrarca, Mr. DCC; MMR #574

Reply 0
Kevin Rowbotham

That explains what I was picking up on...

Quote:

Linda's mom (84) had a major stroke complicated with GI issues and pneumonia. In the midst of that, my dad (93) was hospitalized with bronchitis. We actually made three hospitals in one day!

Ahh, I wondered if it was something like that.  It just seemed like you were on edge, not yourself.  Now I understand why.  Best wishes for both parents feeling better soon!

Quote:

Why I disagreed with prior posts, is that the voltage regulator or current limiter will only restrict maximum brilliance, which can be done with a resistor. Some locos will move as low as 2 volts.

I think I understand what you are saying.  And I agree with a point you made earlier, the current limiting IC really does pass more current than most LED's are wanting.

But, I thought the current limiting IC might be a possible solution for the OP's desire to have constant brightness because it would pass the current that is being delivered at 2 volts, (which may be too few Volts to fire the LED) to a maximum of 20mA, Thus I thought, giving a more consistent brightness over the range of voltage being supplied.

Thanks as always for your input in matters electronic.

Best regards,

 

 

~Kevin

Appreciating Modeling In All Scales but majoring in HO!

Not everybody likes me, luckily not everybody matters.

Reply 0
Bruce Petrarca

The current limiting ICs will

The current limiting ICs will actually RAISE the minimum voltage needed, as they will need some voltage for themselves to work and then the firing voltage of the LED! I haven't done the experiment, but I wouldn't be surprised if the LED wouldn't light until 5 volts with one - 3.5 for the LED and 1.5 for the IC in series! Thanks for the kind wishes, Kevin. She is doing much better today. They lost her blood pressure a couple of times in the ER yesterday. I did get some work done on my February column in the waiting room today.

Bruce Petrarca, Mr. DCC; MMR #574

Reply 0
Kevin Rowbotham

Now that's dedication!

Quote:

I did get some work done on my February column in the waiting room today.

Oh man...

Quote:

I haven't done the experiment, but I wouldn't be surprised if the LED wouldn't light until 5 volts with one - 3.5 for the LED and 1.5 for the IC in series!

You're too busy to do experiments right now!  I've got time, some CL2 chips, LED's and a DC pack. I'll see if I can run the test before bed or tomorrow for sure!

Thanks Bruce!

~Kevin

Appreciating Modeling In All Scales but majoring in HO!

Not everybody likes me, luckily not everybody matters.

Reply 0
Dave Vinci

Thanks!

Thanks very much folks, you've given me a lot to check out, test and read. 

Just a couple of comments... yes, with a can motor and a quality gearbox a steam engine will move at about 2 volts, unless you have added the diode bridge and 1.5 v lamp for the headlight.  In that case, the first 2 volts go to the bridge and bulb and then the loco will move.  What that looks like on the layout, is that as you crack the throttle, the headlight comes on (at a brightness that doesn't change over the entire speed range) and then the engine begins to move.  It is possible to adjust the throttle to have the loco just sit there with the headlight on and not move at all.  I've found that useful when taking photos, but otherwise it's just a stunt IMHO.  If the LED/resistor combination wired in parallel with the motor will achieve 80% brightness at 2 volts and then pick up the other 20% over the rest of the throttle range, it seems like that would be more than acceptable and not really noticeable during normal operations..  Just changing the resistor size would really then set the apparent brightness baseline (the 80%).  780Ω or higher depending on how bright you want the headlight.

I still need to read a bit more but thanks again!

Dave Vinci

O=='=::

Reply 0
Bruce Petrarca

Dave -You can clip the LED

Dave - You can clip the LED and resistor across the track and observe its operation in conjunction with each specific loco you want to convert. Try it with the bridge in place - it MAY move the start voltage into the sweet spot in the LED's operating curve! If the LED gets bright long before the loco moves, try shorting the bridge. If that is to your liking, either leave the bridge in place shorted, or remove it, your choice. As for the resistor, 750 and 820 ohms are common values. Depending upon the LED you choose, you may want more resistance. PERHAPS as low as 690, but I doubt it. All I'm trying to say is play a bit and have some fun.

Bruce Petrarca, Mr. DCC; MMR #574

Reply 0
lexon

LM334Z

How about this device?

http://www.pollensoftware.com/railroad/

Rich

Reply 0
Kevin Rowbotham

LM334Z?

That's a neat chip, though it's limit of 10mA makes it seem like it would not suit applications where full illumination was desired very well, would it?

It also takes two components to accomplish what the CL2N3 does with one, though the CL2 is not "programmable".

As for price, checking at Mouser, I see the LM334Z is nearly twice the price of the CL2, but to be fair. they are both less than a  dollar a chip.

Still, as I say, it's a neat chip.

~Kevin

Appreciating Modeling In All Scales but majoring in HO!

Not everybody likes me, luckily not everybody matters.

Reply 0
lexon

Current

I thought of the chip because in all my experiences, a 1k resistor gave me a current of about 9 ma at 12.5 volts.

I have been reading about LED's in various DCC forums and some are going to at least 2 k because of the super bright LED's that are showing up.

Rich

Reply 0
Reply