Register to reply 
Constant Current Source Simulation Question 
Share this thread: 
#1
Mar2814, 12:50 AM

P: 26

I found this constant current source circuit over at instructables.com. This circuit calls for 2N5088BU for Q1 and FQP50N06L for M1, but I replaced those parts with 2N2222 for Q1 and PHT6NQ10T for M1 because that's what I have on hand for simulation. I calculated R2 = 0.5/0.125 = 4 ohms, but in the simulation I got a current of 58.72 mA across the LED instead of 125 mA. Why? Did I use the wrong simulation type, which was time domain (trainsient)? Is it also possible that these custom made parts for PSpice was done wrong?
I'll probably just use a resistor in the actual circuit, but I wanted to understand this. Thanks, Mike 


#2
Mar2814, 01:45 AM

Sci Advisor
P: 4,032

That mx3s LED has about 9.7 volts across it. I looked it up and it seems to be a 10.7 volt device, perhaps with several LEDs in it.
I would just remove it from circuit and try again. 125 mA is too much current for normal LEDs. 


#3
Mar2814, 11:28 AM

Engineering
Sci Advisor
HW Helper
Thanks
P: 7,177

From the data sheet of the MX3S, its max current is 175mA and the forward voltage as 115mA is 10.7V typical, 12V max. So your 10V supply probably isn't enough to drive it at 125 mA.
Try increasing R2 by a lot (e.g. 40 ohms) and see if the circuit behaves properly but at a lower constant current than your requirement of 125 mA. 


#4
Mar2814, 02:45 PM

P: 26

Constant Current Source Simulation Question
The LED's are rated at 10.7 volts and 115 mA. Since, I lowered the voltage to 10, I thought I should raise the current slightly to compensate. Shouldn't the LED's be in the circuit for a more accurate simulation? The reason I lowered the voltage to 10 is because that's one of the voltages I found in fixed voltage regulators. I may just use a 12 volt regulator and a resistor in the actual circuit.
Alright, raising R2 to 44 ohms lowered the current across the LED to 12.42mA. When I lowered R2 to something like .00001 ohms, the current goes up to around 95mA. Thanks, Mike 


#5
Mar2814, 03:47 PM

Engineering
Sci Advisor
HW Helper
Thanks
P: 7,177

For a 10V supply you have less than 10V across the LEDs, because they are in series with R2 and M1 If you want to run the LEDs at 115mA, you need a higher supply voltage, say 15V, so there is some headroom for the constant current regulator to actually regulate. Then, R2 should be something like 4 or 5 ohms. When you have the value of R2 to give the current you want, then try reducing the supply voltage to 14, 13, 12, etc and see how the current changes. That will show you the minimum supply voltage you need. 


#6
Mar2814, 04:44 PM

P: 26

I did what you suggested and connected the LED directly to the supply. At 10V I got 70.37mA and at 12V I got 177.4mA. I think I understand, I can't make the LED's 'eat' more current than they want for the given voltage? My goal is to get the maximum lumens out of them, that's why I thought, if I lowered the voltage, I should raise the current to balance it out. The LED's will be going into a flashlight. I've attached a simulation with the power source at 12V and R2 at 5 ohms. The data sheet gives the max voltage with 115mA as 12 volts, so is 12 volts too much?
Thanks a lot, Mike 


#7
Mar2814, 05:09 PM

Engineering
Sci Advisor
HW Helper
Thanks
P: 7,177

Looking at your results, the voltage at the "bottom" end of the LED is 1.228V. So the voltage across the LED is 12  1.228 = 10.772V. The simulation of 110mA at 10.77V is pretty close to the "typical" specification of 115mA at 10.7V. If you increased the supply from 12V to 13V, the voltage at the bottom of the LED will also increase by about 1V to about 2.2V. The voltage across the LED and the current through it will stay about the same. That's how the circuit is supposed to work. On the other hand if you reduce the supply voltage too much, the circuit can't create more voltage from nowhere to boost the voltage across the LED back to 10.7V, so the current will be less (as in your first simulation). Try it with a supply of 10, 11, 12, 13, 14V (leave R2 at 5 ohms) and see what happens to the current. You could increase the supply voltage a lot higher than 12V without damaging the LED, but that would just waste energy making Q2 hot, so it isn't a very useful thing to do in real life. 


#8
Mar2814, 11:14 PM

P: 26

I ran the simulations with the other voltages and with 16V the current went up to 112.8mA. I think I'm going to stay with a 12V source. I'm planning to use the CSD17571Q2 transistor from Texas Instruments because it has a lower threshold voltage than the one in the simulation and I want to use it as a switch also, but the model given by TI requires a license for OrCAD PSpice to use so I couldn't make a custom part with it. I don't have $10,000 for this software.
I just need to know how to use the thermal characteristics given in the data sheets for the transistor and LED. I don't know how to use that information. I'm attaching the thermal graph for the LED and the thermal characteristics for CSD17571Q2. This transistor has a total power dissipation of 2.5 watts. With 12V and 110mA the total power will be 1.32 watts, which is well within the limits of this transistor. Am I looking at that right? Another thing for me to consider is the space where I'm going put this circular circuit board is fairly airtight so I'm planning to add a few holes in the circuit board for air circulation. Maybe I could also add some notches around the outside edges of the board for additional air circulation. Thanks, Mike 


Register to reply 
Related Discussions  
Precise constant current source for NTC  Electrical Engineering  15  
Constant current source  Electrical Engineering  3  
Find the Current Through a Resistor with a Constant Current Source  Introductory Physics Homework  7  
Constant current source using an op amp  Electrical Engineering  4  
Voltage Controlled Constant Current Source  Electrical Engineering  1 