Transistor Base Resistor Calculator

Base Resistor Calculator Circuit

Engineers often have to consider the required value of the base resistor that controls the amount of current entering the base junction of a bipolar junction transistor (BJT) to cause it to conduct in the saturation region. This resistor determines the amount of saturation current Ib(sat) flowing into the base junction, and that controls the amount of saturation current Ic(sat) flowing through the collector and emitter junctions. For hard saturation, engineers usually use a DC current gain hFE value of 10.

An NPN transistor requires a positive voltage at the base junction to switch ON and control a load (RL) such as a low-voltage relay with a known resistance value. In these types of switching applications, we require the transistor to behave as a switch and conduct fully in the saturation region. A proper value of base resistance is therefore required for conduction in this region, and this value is different for different input switching voltages. There are two calculators in this multi-page section of the article, and the first one is for when the load resistance is known, whilst the second, is for when the load current is known.


Calculator 1: Compute Rb When Load Resistance is known

In order to use this calculator, you will need to know the input switching voltage (Vi), supply voltage Vcc, and the load resistance RL.

hFE


RL (Ω)


Vcc (V)


Vi (V)


Rb (Ω)




Use the Standard Resistor Values chart to find the nearest standard resistor value. This chart will show you the resistor colour code. For switching applications, a ¼-watt resistor with 5 % tolerance usually works fine.


Calculator 2: Compute Rb When Load Current is known

When load current is known.

In order to use this calculator, you will need to know the input switching voltage (Vi), supply voltage Vcc, and the load current iL.

hFE


iL (A)


Vcc (V)


Vi (V)


Rb (Ω)




Use the Standard Resistor Values chart to find the nearest standard resistor value. This chart will show you the colour code. For switching applications, a ¼-watt resistor with 5 % tolerance usually works fine.

hFE and Collector Current Theory

In transistor literature, there are two different types of gain parameters with the same three letters. Small case "hfe" represents the small-signal current gain or AC gain, and we do not use this parameter when using the transistor as a switch. The parameter "hFE" represents the DC gain, and this is the parameter to consider. When selecting the hFE value for transistor switching purposes we always choose the minimum rating as the worst case because we want the transistor to conduct in the saturation region. For hard saturation, engineers usually choose a value of 10.

hFE and Collector Current

Remember that a bipolar transistor is a current amplifier, because a small amount of current "Ib" through the base controls a larger amount of current "Ic" flowing through its collector. How large this current flow is depends upon a gain factor known as "hFE", also sometimes called the DC current gain, and beta. Hence, the current flowing through the collector is proportional to the base current multiplied by gain, as shown by the formula below.

Ic = Ib × hFE

The hFE parameter is not a constant though, because a transistor may have many ratings for different collector currents Ic. Students often find it difficult to visualise the relationship between hFE and collector current. The graph above shows hFE on the y-axis and collector current on the x-axis for a general-purpose transistor. As you can see, when the collector current increases, hFE decreases.

When to use NPN and PNP Transistors

It is important to note that when the switching voltage to the base junction is positive, it is customary, to use an NPN transistor. However, when the switching voltage is 0 V or negative, then PNP transistor is used to switch the load. Usually, a general-purpose transistor such as the PN2222 has maximum collector rating (Ic) of 600 mA DC. If your load requires more current, then it is common sense to consider transistors with a larger Ic rating. Engineers tend to use Darlington transistors in cases where greater currents are required to drive larger loads such as relays and motors.


NPN TransistorMaximum Collector Current Ic
PN2222600-mA DC
2N2222800-mA DC
MPSA13/MPSA14500-mA DC
2N3904/2N3903200-mA DC

This Article Continues...

Transistor Base Resistor Calculator
Transistor Base Resistor and Hard Saturation
Transistor Hard Saturation -- Rule of Thumb
Transistor as a Switch
Standard Resistor Values