Between your video and another one with similar theory, I was able to achieve the required results. I tested by varying the input voltage for the range I require, and all worked very stable. Thank you for the tutorial.
@robertneill30572 жыл бұрын
You could also use another transistor to control the current on the base of the first transistor. The second transistor has its base-emitter junction connected across RE and its collector connected to RB1/first load transistor's base in the place of RB2. The varying voltage drop across RE will control the first load transistor's base current by diverting the current away. This final circuit can have a tendency to cyclically oscillate however.
@AdityaPrasad0075 жыл бұрын
2:41 explained (correct me if I am wrong) voltage drop is almost equal both sides - Re(Ie) = Rb2(Ib2) Re(beta)(Ib) = (Ib2)(Rb2) If we want Ib to be less compared to Ib2, say Ib/Ib2 < 0.1 then that is the same as Rb2/(beta)(Re) < 0.1 Or Rb2 < 0.1*Re*beta
@klave85114 жыл бұрын
You didn’t mention effect of temperature on the current controllers you show. The multiple diode version is going to be terribly temperature sensitive. The transistor is also temperature sensitive, the Vbe will change as the transistor warms up, thus the current will vary. The transistor is going to get hot when regulating from a high voltage or regulating a powerful led, Vbe drops and current goes up, transistor gets hotter etc. The emitter resistor reduces the effect if large enough.
@kevinwolf10566 жыл бұрын
Hi David, excellent refresher, thank you for the time you put into this video. Can you explain why you chose a V_e of 2V?
@akshaykumar-lf3es6 жыл бұрын
same doubt here!
@anirudhshandilya40326 жыл бұрын
I think it was arbitrary and the solution made sense at Ve = 2 Volts.
@gubelly6 жыл бұрын
I think it may be the value to drive the LED ie RED approx 2v@@anirudhshandilya4032
@ceto1505 жыл бұрын
Transistor has to be in active mode. We will need at least 0.7v to turn on diode. If ve is 2v, that leaves 2.3v across the transistor. Rule of thumb, approximately half supply across vce.
@sauravti3 жыл бұрын
One word for your video that is AWESOME
@gc56433 жыл бұрын
Thank you very much, until now I had no idea how to do this, thank you for sharing your knowledge, really appreciate it.
@WistrelChianti2 жыл бұрын
Thanks this really helped, at least in terms of the maths and design. Still not sure I know why it's limiting the current though. I always thought current through the collector/emitter was a factor of current at the base... and why would that change because the load volage changed? Why did RB2 need to be less than/equal to your corrected equation etc?
@ElectronXLab2 жыл бұрын
Your two questions are actually related. We wanted to pick an RB2 value so that the current flowing into the base is very small compared to what flows through RB2 - then RB1 and RB2 can be treated as having approximately the same current flowing through them. Then, since we're assuming the base current is small enough to ignore, we can use the approximation that VE is (VB-0.7) and then use VE/RE to calculate IE. We could have done a more complicated analysis and thevenized the VCC/RB1/RB2 part of the circuit then use that to calculate IB, and use beta to calculate IE. This would give a more accurate result, but is more work.
@JacklapottTv3 жыл бұрын
Best explanation ever
@polemos747 жыл бұрын
Excuse me, but what is the difference with not using a transistor to supply constant current with predefined series resistor? When i change to another color LED the current changes.
@redenmontesclaros3348 Жыл бұрын
How did you get Rb1=0.85
@DannySebahar6 жыл бұрын
I somehow missed where you got the equation (Beta)(Emitter Resistance)(.1) especially the .1 because you didn't mention anything about that. Also, if R1 is 850 Ohm that makes the current through the diode 270mA as 5*(850/1850)=2.3 & 2.3V/850R=2.70mA so if the base current is multiplied by beta than the collector current would be 2.7mA*100=270mA which surely isn't what you intended was it? EDIT: I see now how I was mistaken. The current through RB1 contains both the Base current and the current through RB2. However I still don't see where you get that RB2=(beta)(Re)(.1). In your calculation with the fuor 1N4148 Diodes with A forward Voltage Drop of 0.7 Volts and 20.7V the Forward current is 5mA then wouldn't you need to have the resistor set such that the resistance is equal to the 2.2 Voltage drop over 4 x 5mA or 20mA so that Rb = 100 Ohms?
@buffme986 жыл бұрын
I think R2 is suppose to be 850 ohms and r1 is 1000
@cyklop19776 жыл бұрын
I calculate like this beta=100 , led red =2v and 0.02A ----- Re=3v/0.02A =150ohm , Rb2=3.7v/0.002A (1/10 beta) =1850ohm , Rb1=1.3v/0.0022A (1/10 beta+extra 1/100beta = 0.002A+0.0002)=590ohm .
@kalamatagames26316 жыл бұрын
if you use zener diode you can set voltage at any point you can find zener diode. but what sorce you will use battery or wall shocket
@dieutran90663 жыл бұрын
Done it. It works great but notice that Rb2 < Re*10
@ElectronXLab3 жыл бұрын
Oops, that was a bit of an oversight - thanks for the comment.
@artiomoable29 күн бұрын
would it be not simpler to use only LED and series resistor in series to set a current as VCC is constant? LED voltage is also constant...
@magnuswootton61813 жыл бұрын
you can do this with a pure RC circuit as well. its a voltage divider with the capacitor on the "load" but the r2 resistor is where the load goes.
@ElectronXLab3 жыл бұрын
I think that you need an active circuit to have a constant current driver; I'm not sure how you'd do it with just an RC circuit. With just RC, the capacitor will help hold a steady voltage for a short period of time...depending on its capacitance and the load.
@arielcampos20084 жыл бұрын
It helped me a lot, thank you.
@jeeplvr20006 жыл бұрын
I'm trying to come up with a reliable LED circuit for a bug zapper board I have made. I'm using three .5 watt LED's. I have a 110 v ac source and would like to use that to power the LED's so I don't have to use a buck converter to get dc for the LED's. I want everything to be on the board I have made and not have a buck converter to worry about. Do you have a circuit that would show me a simple and reliable way to do this? I assume that I will need a transformer to reduce the voltage but I cant find anything that will reduce the voltage and still fit on a small PCB.
@codebeard7 жыл бұрын
What are the advantages of the diode version here?
@kiranjotsingh40407 жыл бұрын
constant drop i.e. 2.8V
@HaiTran-wd6nu7 жыл бұрын
Dear Sir The Beta we could choose one from the HFE range of specified transistor? Thanks
@theengineer99103 жыл бұрын
Im getting the collector current i want but the multimeter voltages on the base and emitter do not match the calculations
@EnfermeiroPensador7 жыл бұрын
What's about the efficiency?
@arduinocowboy39605 жыл бұрын
Hi, David. Like most videos out here on KZbin, you're only dealing with a single LED running a fv of 5v or less. What about a load of 40 LED's? 4 in series X 10 in parallel, powered by a car battery of between 12v and 14v? I've watched this video 5 times, but I can't seem to get my head around that much voltage and a CC of .8mA. Although it works fine on my bench power supply where I have a constant voltage, I can't get it to work on my car once the Alternator kicks in and the voltage goes up. How would you build a CC driver for my situation?
@kennmossman87015 жыл бұрын
There is a voltage drop across the CC, and with the Vf of White LEDs there is a limit of 3 in series
@RevCorner4 жыл бұрын
When Vce changes (as shown around 7:30), shouldn't Ic (i.e I load) change too? Would be really helpful if someone could help me out. Thanks in advance.
@krisea38073 жыл бұрын
Can we use this in Power Supply Circuit as Power Indicator, just before regulator IC? My Bridge Rectifier gives 12v or 24v, current 5A.
@kennmossman8701 Жыл бұрын
yes use the 2 BJT version
@peacebewu2 жыл бұрын
When determining Re, shouldn't our eq be: (5V-2V)/Iload?
@futuhcoklu1396 Жыл бұрын
No. Correct calculation should be: Re = (5V - VLed - Vce) / ILoad. VLed takes different values according to the LED type.
@darshanm.b.70055 жыл бұрын
If I have a voltage of 5 V at Vcc, but the operating voltage of laser is 2.2 V, will it damage the laser?? It would be really helpful if you can clear my doubt. Thanks
@kennmossman87015 жыл бұрын
No problem as long as the current is under the LEDs max current
@Peter_A1466 Жыл бұрын
Will the current stay constant if Vcc changes?
@futuhcoklu1396 Жыл бұрын
If you use resistive voltage divider to supply base current, can not keep the current fix when Vcc changed. But, if use Zener diode, you can keep it fix.
@kennmossman8701 Жыл бұрын
@@futuhcoklu1396 are the changes significant
@kalamatagames26316 жыл бұрын
very nice video thanks you give me idea for control current with potesiometer without change voltage 😁
@reofpv66655 жыл бұрын
How many 200 watt led drivers am I able to run off one 15 amp circuit
@abbeed14 жыл бұрын
thanks
@shazmiah5 жыл бұрын
Hi David can you please tell me how you arrived Rb1= 0.85*Rb2 at 4:35 , and also at 7:22, why you think that at saturation why we won't get the 20mA?
@ElectronXLab5 жыл бұрын
At 3:33, I showed that VB needs to be 2.7V, then at 4:15, showed that the ratio of VRB2/VRB1 is 1.17. VRB2/VRB1 = RB2/RB1 = 1.17, so with a little algebra we can see RB1 = 0.85RB2.
@ElectronXLab5 жыл бұрын
AT 6:58 in the case where the forward voltage of the LED is 3.3V, the voltage at the emitter cannot be 2V, because 3.3V + 2V = 5.3V which is more than VDD
@shazmiah5 жыл бұрын
@@ElectronXLab : I'm trying to learn here. You mentioned that led 3.3v will saturate the transistor. I agree. My understanding of saturation is that the transistor won't pass any more current via the collector. The maximum current will be that what is set by Re(100 ohms) resistor, which is 20mA? If I am wrong would you clarify further? Thanks.
@ElectronXLab5 жыл бұрын
@@shazmiah let's approach this a different way. In the last example, I said that the LED turned on at 3.3V and that it needed 20mA to reach that voltage. If 20mA goes through the 100 ohm resistor, the voltage across it will be 2V. The power supply is at 5V, so that means after you take off the 2V across the 100 ohm resistor, you only have 3V left. If you have 3V across the LED, then it will not have 20mA through it, so the actual current must be something less than 20mA.
@shazmiah5 жыл бұрын
@@ElectronXLab : Thanks for your explanation and quick reply.
@michaeld96824 жыл бұрын
Why right Vcc and Vdd?
@joliynill24302 жыл бұрын
Sir is it Linear system?
@kennmossman8701 Жыл бұрын
yesssssssssssssssssssssssssssssssssssss
@sham12345678916 жыл бұрын
Excellent stuff David. I need your immediate help with the following. I must wire a 3Watt (700mA) Luxeon LED to a car battery. Could you please help me design a simple driver for same? thanks & Regards. Sham.
@kalamatagames26316 жыл бұрын
shamrai 4.2v 700mA 3Watt 3Ω that is you LED
@leblancmeneses36506 жыл бұрын
Can you help me design a 24 volt 7 amp constant power source to use as a charger. I have the I have the 24 vac 10 amp transformer and 10amp bridge rectifier but I dont know how to maintain constant 7 amp delivery.
@MegaInformazione6 жыл бұрын
Buy a LM317T
@tianapyre28375 жыл бұрын
It won't provide constant current.
@kennmossman87015 жыл бұрын
@@tianapyre2837 Yes it will. IF used in CC configuration. Read the DATA SHEET
@Enigma7583 жыл бұрын
Problem is that you need a big wattage low value resistor and it dissipates a bunch of heat.
@ВоваТеремок3 жыл бұрын
На русском как будет?
@ElectronXLab2 жыл бұрын
Извини. Я не знаю
@trongod20006 жыл бұрын
I have to admit, I'm totally baffled by this explanation. Current is the flow of electrons right? Electrons have a negative charge, right? Doesn't that mean that your electromotive source of Vcc can be explained as a lack of electrons rather than a excess of them? How can you say that current (electrons) are going to flow from a region of few electrons (+) to a region of excess electrons (-). The way your talking about this circuit feels like your confusing voltage and current directions. Another way of explaining what I'm saying is that current flows against the arrows in diodes and transistor gates. If that is not the case, why do they call the leg of the transistor opposite the leg with the arrow on it, the Collector. Doesn't it get that name from it's job of Collecting electrons emitted by the opposite leg?
@the1aboveall4836 жыл бұрын
Get your basics right. *Current flows in the opposite direction of electrons*
@trongod20006 жыл бұрын
@@the1aboveall483 You said it, "CURRENT FLOWS". What is flowing? water? air? heat? How about Current is the flow of ELECTRONS. Unless ELECTRONS are swimming like salmon and going against the "flow" so as to go upstream. And if you use that analogy then current "flow" is water? and electrons are salmon. I'll accept that if you can explain what is "flowing" in electric current if it's not electrons. kzbin.info/www/bejne/b3nPdWdmiLGqqJI Here is a basic discription of how a battery works. Weird that it states that the energy in the battery goes from the - pole around and back into the + pole of the battery. The battery is an energy storage device. It has a chemical reaction taking place inside it that wants to push electrons OUT the - pole while the + pole has a hole trying to attract an electron back in to take that one's place. I'll help you out a bit. Electromotive force (volts) exist in the battery and in any circuit hooked up to that battery. Electrons moved from the negative pole to the positive pole until there were no electrons to drive the chemical action in the battery of sufficient quantity to move current through the circuit attached to the battery. So whatever current is, it's not moving in the opposite direction of the electrons flowing in a circuit. This stuff was a whole lot easier in the old days. Everyone could see the filaments of an electron tube glow a pretty bright orange and it made perfect sense that the glow came from electrons moving through the filament heated it up. Gee wonder what heats up light bulbs and makes them glow? I bet it's electrons. Electrons that are being PUSHED by VOLTS NOT PULLED by VOLTS. There in lies the explanation . Electrons passing through a resistance generates heat. Proof that there are actually electrons flowing. In regards to the video above.. current flows up through the transistor, NOT down through it.
@An-wd9kk6 жыл бұрын
@@trongod2000 In short. You're right. Electrons flow in the opposite directions. But scientists in the old days thought otherwise and it's not until lately that we discover current flows in the electron flow's direction. The problem is everybody is used to the old way (AKA CONVENTIONAL CURRENT) that nobody bothers to change. So calculation and explainantions all use the opposite direction of electron flow.
@trongod20006 жыл бұрын
@@An-wd9kk One way to show people how current flow "works" is to show them how current flowing through a conductor can pass energy to do work in something completely detached from the wire. Show them an electro-magnet for instance. Perhaps seeing a solenoid in action will help also. Both these examples however do not show the "direction" or "flow" of the energy within the conductor. At least not usually. It might open their eyes to the idea that there is "direction" if you reverse the leads going to a solenoid and see that the piston portion of the solenoid is pushed in the opposite direction. That alone though does not visually show which way electrons are flowing and even less enlightening on the subject of current flow. Current is a very hard concept to show visually and direction of current flow is even harder. One of the best ways to show the effects of current flow (electrons flow) is to take an uncharged capacitor and measure the voltage on it. Since it not charged there won't be an excess of electrons on either of it's plates. Hook the capacitor up to a source of electrons and then disconnect it and see what happened to the capacitor. Surprisingly, almost nothing. In order for electrons to build up on a plate the opposite plate needs to shed electrons. This adding and shedding electrons is pretty instructive in determining direction of flow.