Wednesday, 27 August 2014

transistors - limiting base current to BJT


I'm actually working with a darlington pair of BJTs.



My question is if I need to put a 1kohm resistor between my MCU pin and the BASE to use it as a switch. Since the Hfe ratio for my transistor is quite large, and the collector current will be limited to a reasonable level, does that mean that the base current is dependent on the collector current at all times and thus I can eliminate the usage of this current limiting resistor?



Answer



No, it's the collector current that is dependent on the base current, not the other way around. No matter what the collector current is, the base current is \$\dfrac{V_{MCU} - V_{BE}}{R}\$.
Keep in mind that \$V_{BE}\$ will be twice the value of another transistor, as there are two junctions between base and emitter.


But it's true that the collector current is what you want in the end. So to find the resistor value (don't just pick 1k), you calculate \$I_B=\dfrac{I_C}{H_{FE}}\$. If you want \$I_C\$ = 2A and \$H_{FE}\$ = 400, then your \$I_B\$ will have to be \$\dfrac{2A}{400}=5mA\$. This is a value your microcontroller will be able to deliver, but always check the datasheet.


To put it all together, \$R=\dfrac{H_{FE}}{I_C}\times (V_{MCU} - V_{BE})\$.


edit
Olin is right about the resistor value being the maximum, i.e. the base current being minimum. For many parameters in a datasheet you'll find more than one value, like typical and maximum or minimum. You should always calculate for worst case conditions, and it may require some logical thinking to find out whether worst case is minimum or maximum for a particular parameter.


Take \$H_{FE}\$. In my example I picked a value of 400. As higher is usually better datasheets often mention a minimum value. What if it's higher? The base current won't be different, so the collector current will be higher. If you drive the transistor in saturation \$I_C\$ will no longer be determined by the transistor, but by the load's impedance will be a limiting factor. So, while the transistor would very much like to draw a larger collector current, it won't change. So you think you're safe; the minimum specified \$H_{FE}\$ is fine, higher is still OK. There's something else to consider, however: \$H_{FE}\$ is not constant, it varies with \$I_C\$, and the datasheet should have a graph for this. So check this for the wanted collector current.
\$V_{BE}\$. Two PN junctions, so that's 2 x 0.65V = 1.3V. Olin found that a 300\$\Omega\$ base resistor should be fine, in fact leaves some margin. But when I look at the datasheet for the TIP110 it says \$V_{BE}\$ may be as high as 2.8V! That would result in a base current of \$\dfrac{3.3V - 2.8V}{300 \Omega}=1.7mA\$, and that's too little to get the wanted \$I_C\$ of 2A: \$400 \times 1.7mA\$ is only 670mA.



You're getting the idea. Don't simply use typical values, but make sure that your circuit still works with components with extreme parameter values. This is not so much of a problem with projects where you only build 1 device: you can see what's wrong and adjust. For production you have no choice: always design for worst case.


No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...