Chris.Elston Posted September 19, 2006 Report Posted September 19, 2006 I guess that people here are probably tired of LED questions, but I'll give these a shot anyway.1) LED forward drops are specified over a smallish range, e.g.: 2.0 - 2.2V. Does this indicate a dynamic range, or is it that any one specimen of that type of LED will have a fixed drop somewhere in that range.2) I want to drive a high brightness red LED @ 350mA from a 5V source, assuming a 2.2V forward drop across the LED. I calculate the current limiting resistor as 8R, power dissipation across it as ~1W. So far, so good (I hope :) ). The nearest preferred value resistor available is 8R2, but not many vendors carry 1W 8R2. So basically, the question is, what are my options beyond ordering the aforementioned resistor? I know that there are some ICs out there that do constant current, but I was wondering if there was anything I could do with good old 0.25W resistors to spread the power dissipation across multiple ones.3) How critical is the current anyway? I know that 350mA is the recommended current, and that they will do 400mA pulsed. I plan on controlling the brightness via PWM switching, so how does, for example a 50% duty cycle affect the current through the LED. My guess would be that you get 50% at full current, then 50% at none - and that the off periods allow the LED to cool. This effectively cooler running means that you can drive it at 400mA in the on phase?Cheers,Chris. Quote
audioguru Posted September 19, 2006 Report Posted September 19, 2006 1) LED forward drops are specified over a smallish range, e.g.: 2.0 - 2.2V. Quote
Chris.Elston Posted September 20, 2006 Author Report Posted September 20, 2006 Thanks for the answers. Any chance you could take me through the theory of the circuit given? I presume that I'll need transistors with an Ic at least the current I plan on switching. If you can explain a bit about how it'll work, then I should be able to select the correct components.Thanks,Chris. Quote
audioguru Posted September 20, 2006 Report Posted September 20, 2006 I was nearly finished calculating things for the constant current sink when Microsoft told me, "Paint encountered a problem and needs to close. Tell us about it.", so it's gone.Use 82 ohms for the upper resistor. It supplies base current to the upper transistor (use a TIP31) to turn it on. The bottom transistor can be a 2N3904 and is turned on when the current in the lower resistor (use 2.2 ohms) reaches 327mA and begins to turn off the upper transistor at this current level. If the current in the LED and in the 2.2 ohm resistor tries to increase then the voltage across the 2.2 ohm resistor rises and the 2N3904 gets turned on more to turn off the TIP31 transistor more. Self-balancing.The TIP31 will dissipate 1W if the LED is only 2.0V and the supply is high at 5.25V. It won't need a heatsink but will be very warm.I haven't sim'd it nor tried it so good luck. ;D Quote
Chris.Elston Posted September 20, 2006 Author Report Posted September 20, 2006 I was nearly finished calculating things for the constant current sink when Microsoft told me, "Paint encountered a problem and needs to close. Tell us about it.", so it's gone.:(Use 82 ohms for the upper resistor. It supplies base current to the upper transistor (use a TIP31) to turn it on. The bottom transistor can be a 2N3904 and is turned on when the current in the lower resistor (use 2.2 ohms) reaches 327mA and begins to turn off the upper transistor at this current level.Because it 'robs' current from the base of the top transistor? Cool, I think I get this now.As I mentioned before, I'm planning to dim the LED via PWM. Quote
audioguru Posted September 20, 2006 Report Posted September 20, 2006 As I mentioned before, I'm planning to dim the LED via PWM. Quote
Chris.Elston Posted September 20, 2006 Author Report Posted September 20, 2006 Thanks very much. I think I'm good to go now :D Quote
Chris.Elston Posted September 20, 2006 Author Report Posted September 20, 2006 Maybe spoke too soon :)The bottom transistor can be a 2N3904 and is turned on when the current in the lower resistor (use 2.2 ohms) reaches 327mA and begins to turn off the upper transistor at this current level. If the current in the LED and in the 2.2 ohm resistor tries to increase then the voltage across the 2.2 ohm resistor rises and the 2N3904 gets turned on more to turn off the TIP31 transistor more. Self-balancing.Can you explain what effect turns on the bottom transistor? How did you arrive at the 2.2R value (I understand the 0.65V/R, but how is this derived) Is it that the resistor limits any further current, so the current flows into the base? I understand the action of the two transistors together to turn each other on/off to maintain the required current, but I don't understand how that reference current is set. Quote
audioguru Posted September 20, 2006 Report Posted September 20, 2006 The 2N3904 transistor has a base-emitter voltage of 0.72V when it conducts 7mA, as shown on its datasheet. It takes a current of 327mA to make a voltage drop of 0.72V across the 2.2 ohm resistor.If the current in the 2.2 ohm resistor tries to increase then the 2N3904 gets a higher base voltage and current which causes it to turn on harder and steal base current away from the TIP31 transistor.If the current in the 2.2 ohm resistor tries to decrease then the 2N3904 transistor gets less base voltage and current and turns off, allowing the TIP31 transistor to turn on more. Quote
Chris.Elston Posted September 20, 2006 Author Report Posted September 20, 2006 Thanks, I understand that now. So if I read right, the 2.2R is a function of Vbe and the desired current, and in no way related to the forward voltage drop of the load or the supply voltage? Presumably if you increase the supply voltage the power dissipation and therefore the component ratings need to go up as well?Cheers,Chris. Quote
audioguru Posted September 20, 2006 Report Posted September 20, 2006 This is a very simple constant current sink circuit so it is far from perfect. Its load current will rise a little when the supply voltage increases, mainly because the current in the upper resistor increases, therefore the current in the lower transistor will increase, causing its base-emitter voltage to rise a little which determines the current in the 2.2 ohm resistor.If the LED voltage is changed then its current barely changes.Of course the power ratings of the power transistor and upper resistor must be increased if the supply voltage is increased. Quote
SatthisCy Posted September 21, 2006 Report Posted September 21, 2006 Hi,You can use the cct below if fits your needs.R1 (1kohms is fine) controls the current, so you can control the brightnessR2 must be selected according to the specs or the LED, to prodect it ( may not needed) Quote
Chris.Elston Posted September 21, 2006 Author Report Posted September 21, 2006 Audioguru, would you mind explaining the choice of the TIP31? It seems to be a little overkill for this application (Ic 3A, 2W). Would something like a BC639 do the trick just as well? (Ic 1A, 2W). It also comes down to TO-220 vs TO-92, it's all board real estate :) Thanks,Chris. Quote
Chris.Elston Posted September 21, 2006 Author Report Posted September 21, 2006 StathisCy, the circuit you posted was my starting point, we've been discussing a solution which is an improvement over that. Quote
audioguru Posted September 21, 2006 Report Posted September 21, 2006 Audioguru, would you mind explaining the choice of the TIP31? It seems to be a little overkill for this application (Ic 3A, 2W). Quote
Chris.Elston Posted September 21, 2006 Author Report Posted September 21, 2006 I've been playing around with the power figures you gave here for about 20 minutes, but I can't see how you derived them :( Quote
audioguru Posted September 21, 2006 Report Posted September 21, 2006 The base-emitter voltage of the little transistor is 0.72V. When the 2.2 ohm resistor has 2.2V across it then its current is 327mA.5V supply minus 2V for the LED and minus 0.72V for the base-emitter voltage of the little transistor = 2.28V. 320mA of current x 2.28V= 730mW.5.25V supply minus the 2.0V and 0.72V above = 2.53V. 320mA of current x 2.53= 810mW. Quote
Chris.Elston Posted September 21, 2006 Author Report Posted September 21, 2006 Will the questions never cease?! :D Quote
Chris.Elston Posted September 24, 2006 Author Report Posted September 24, 2006 Success! Apart from connecting the probes the wrong way round that is... Thanks for your help audioguru. ;D Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.