![]() |
|
![]() |
#1 |
Registered User
Join Date: Nov 2009
Location: Sherman, ME
Posts: 2,379
|
Re: LED Taillights, Diy
Hi Matt,
A few issues I noticed: (1) This is just a matter of terminology, but PWM stands for Pulse Width Modulation. The regulators you have listed are linear regulators ... they don't use pulse width modulation. (2) Steady state DC current flow through a capacitor is zero. So the circuit will not work with the .33μF & .1μF capacitors connected as shown. Instead, they should be connected between ground and the regulator's input (& output) terminals respectively. (3) Linear voltage regulators need a bit of "overhead" voltage to work properly. The NTE1970 you have listed requires a minimum input voltage of 14.8V ... see specs at: http://www.nteinc.com/Web_pgs/Positive.php?a=12 Even their low dropout NTE1954 12V regulator requires a minimum input voltage of 13.6V (http://www.nteinc.com/Web_pgs/pos_lowdo.php?a=12) It's very common for the voltage in a vehicle to drop below that level. Having the input voltage go below the regulator's minimum requirement won't cause any harm but it will cause the output voltage to sag and therefore your LEDs will be dimmer than normal. So you might want to consider using lower voltage regulators and re-calculating your current limiting resistors to work with the lower voltage. That might also require reducing the number of LEDs in each series string. Another alternative would be to directly regulate the current through each string of LEDs to the required 20mA. Take a look at the "1A Current Regulator" example on page 16 of the LM317 datasheet (http://www.alldatasheet.com/datashee...NSC/LM317.html) for an idea of how to wire it as a current regulator. You'll obviously have to change the resistor from the 1.2Ω for their 1A example. You can calculate the value using Iout = Vref / R where Iout is the current, Vref is the LM317's 1.25V reference, and R is the resistance. So for Iout = 20mA you'd want 20mA = 1.25V / R. Or R = 1.25V / 20mA = 62.5Ω. The only catch with this method is that you'll need a regulator for each series string of LED's. |
![]() |
![]() |
![]() |
#2 |
Registered User
Join Date: Aug 2012
Location: Oklahoma City, OK
Posts: 2,675
|
Re: LED Taillights, Diy
Don't forget that the normal diodes have a voltage drop themselves. Silicon is .7v and germanium is .3v IIRC.
|
![]() |
![]() |
![]() |
#3 | |
Registered User
Join Date: Dec 2010
Location: baytown, texas
Posts: 310
|
Re: LED Taillights, Diy
Quote:
|
|
![]() |
![]() |
![]() |
#4 |
Registered User
Join Date: Jul 2011
Location: WV
Posts: 946
|
Re: LED Taillights, Diy
Live long and prosper!! I understand some of it, then I go research to figure out the rest!!
__________________
72 GMC C2500 402/Th400 first truck (still have) 77 GMC C3500 CC dually Sold ![]() 70 C50 dump truck "Rusty" 87 K10 Suburban Sold 93 K2500 xcab 6.5TD 96 GMC K2500 Suburban 6.5 TD |
![]() |
![]() |
![]() |
#5 | ||
Registered User
Join Date: Nov 2009
Location: Sherman, ME
Posts: 2,379
|
Re: LED Taillights, Diy
Quote:
Matt ... I'd just like to add that the circuit that Dead Parrot posted should work good for your application since your LED strings present a relatively small fixed load that will always be connected across the Zener(s). The Zener diodes also reminded me of something else I forgot to mention about the voltage regulator ICs. Should you still decide to use them in this or some other application, be aware that they also have a maximum input voltage of around 30 to 35 volts. Automotive electrical systems are prone to transient voltage spikes that can exceed that limit. Adding a Zener (connected between the regulator's input & ground) will help protect the regulator by shunting those voltage spikes to ground. For this case, the exact Zener voltage isn't critical so long as it's under the regulator's max rating but above the normal system voltage ... something in the 24 to 30V range would be good. Quote:
![]() ![]() Last edited by ray_mcavoy; 03-06-2014 at 07:00 PM. |
||
![]() |
![]() |
![]() |
#6 | |
Registered User
Join Date: Dec 2013
Location: Georgetown, Texas
Posts: 104
|
Re: LED Taillights, Diy
Quote:
uhhhhhhhhhhhhh.. i feel like an idiot now. no idea what almost any of that means... crap. but All I know is i want to limit the voltage to the led's to a max voltage of 12v. of course. each one of my led's run at 2.2v at 20ma each. Really don't want to drop down to a 10v circuit would be to much really, even if I might not even create my own voltage regulator, might just buy one cause this is overly complicated. |
|
![]() |
![]() |
![]() |
#7 | |
Registered User
Join Date: Nov 2009
Location: Sherman, ME
Posts: 2,379
|
Re: LED Taillights, Diy
Quote:
As far as the voltage goes, I agree, you wouldn't want to go much below 12V for your existing arrangement using 5 of those 2.2V LEDs in each series string. To work with a lower voltage, you'd have to reduce the number of LED's in each string. And that would mean adding more strings to keep the total number of LEDs the same. |
|
![]() |
![]() |
![]() |
#8 | |
Registered User
Join Date: Dec 2013
Location: Georgetown, Texas
Posts: 104
|
Re: LED Taillights, Diy
Quote:
Ohhh I thought i had the whole ciruit wrong besides the led wiring setup. But I found something that might work, but i really want to make my own. This is what i found IF i did buy one but not sure, http://www.reuk.co.uk/buy-12-VOLT-RE...-WITH-FUSE.htm. But I continued to look on their site and found this voltage regulator, http://www.ti.com.cn/cn/lit/ds/symlink/lm2940-n.pdf, now it has a .5v dropout and I believe it can handle up 26v. I would like your thoughts because people are saying you know what your talking about and i believe them! Also if it is and if u have the time could you make a circuit diagram of what i would need to make and o it properly? I would greatly appreciate the help! |
|
![]() |
![]() |
![]() |
#9 | ||
Registered User
Join Date: Nov 2009
Location: Sherman, ME
Posts: 2,379
|
Re: LED Taillights, Diy
Quote:
I took a quick look through the LM2940 datasheet from your 2nd link and it appears as though it would be a good choice for your application. In fact, the description on the first page says it's designed for vehicular applications and has built-in protection against reverse polarity, transient voltage spikes, etc. so that's a plus. The low 0.5V dropout or "overhead" is also good for your application. That means the regulator only needs a 0.5V difference between the input & output to maintain regulation. In other words, you'll have the full 12V output you're expecting as long as the input stays above 12.5V ... that's much better than the NTE1970's 14.8V min requirement. As long as your truck's charging system is working properly, you shouldn't have to worry about input voltages lower than that. But as you can see from the "low voltage behavior" (figure 21 on the LM2940 datasheet), it's a fairly linear drop-off once the input goes below about 12V. So a low battery situation would allow the LEDs to dim, but the regulator isn't going to suddenly "switch off" under those conditions. Quote:
So basically, take that "typical application" circuit for the LM2940 and substitute it into your original diagram in place of the NTE1970 & the 2 capacitors and you should be all set. But if that doesn't make any sense, just let me know and I can draw up a diagram for you. Finally, your original circuit shows 56Ω resistors in series with each LED string. That's a good value to use for a 12V input, but like Dead Parrot pointed out earlier, don't forget about the voltage drop from the diodes being used to isolate the tail from the brake/turn circuits. With silicon diodes (0.7V drop) you'll only have 11.3V available to the LEDs. So you'll need smaller current limiting resistors in order to maintain the full rated 20mA through the LEDs. I'm calculating 15Ω resistors for five 2.2V, 20mA LEDs in series with an 11.3V supply. |
||
![]() |
![]() |
![]() |
#10 | |
Registered User
Join Date: Dec 2013
Location: Georgetown, Texas
Posts: 104
|
![]() Quote:
awesome, I did see that it said for vehicular use on that just wanted to make sure. and as far as the diodes actually taking away some voltage.. i would have never thought about that unfortunately when i ordered all my resistors i got 56 ohm as the smallest ones, i could always buy more but then im paying triple just for shipping a few dollars worth of resistors, but i might. The only thing would that would be different is the 56 ohm would make the led's dimmer , just not sure how much actually... we'll find out! I'll probably make a few tester first then make the final product. But i would like to get your opinion on something else that i thought about, what do you feel is the best way to dim the led's? with a 1/2 watt resistor or to use a voltage regulator with a lower output voltage? for instance a 10v output. but thank you for all the help so far as well! i greatly appreciate it! ![]() |
|
![]() |
![]() |
![]() |
#11 | ||||
Registered User
Join Date: Nov 2009
Location: Sherman, ME
Posts: 2,379
|
Re: LED Taillights, Diy
Quote:
You can put some of the 56Ω resistors you already have in parallel to obtain lower resistances. To calculate the total resistance, add the reciprocals and take the reciprocal of the sum. Rtotal = 1 / ((1/R1) + (1/R2) + ... + (1/Rn)). So 3 of those 56Ω resistors in parallel = 18.7Ω ... and that's pretty close to the 15Ω I calculated earlier. Using 3 parallel resistors for each LED string obviously isn't something you'd want to do for your final design (it'd be a waste of resistors & board space). But I thought I'd mention it because it's something you could do for preliminary testing on a string or two of LEDs without having to buy more resistors. Quote:
If you use a lower output voltage regulator, you might want to consider an adjustable regulator instead of a fixed 10V output. That'd allow you to easily change the output voltage in case 10V ends up making the LEDs too bright or too dim. The LM2941T is an adjustable version of the LM2940T-12 fixed 12V regulator you're considering. The output voltage is adjustable using the ratio of a couple of resistors. And for testing purposes you could use a potentiometer. Quote:
Quote:
|
||||
![]() |
![]() |
![]() |
Bookmarks |
|
|