Part 2 · Chapter 13
BJT as a switch and amplifier: regions, base resistor and gain
An NPN bipolar transistor is a current-controlled device: a small base current IB controls a much larger collector current IC = β × IB in the active region. As a switch it is driven between cutoff (off) and saturation (on, with VCE around 0.2 V); as an amplifier it is biased in the active region.
The three regions of operation
The Ic–Vce characteristics of an NPN transistor divide into three regions.
- Cutoff: with no base current (or below about 0.6 V) only leakage flows. The transistor is an open switch.
- Active: the base–emitter junction is forward-biased and the collector current is , almost independent of . The small slope that remains is the Early effect, set by the Early voltage. This is the amplifier region.
- Saturation: the base current is more than the collector can use. collapses to the saturation voltage, about 0.1–0.3 V, and is set by the load, not by . This is the closed-switch region.
The current gain is the current gain (h_FE on datasheets), and it varies widely between parts and with temperature, so a good design never depends on its exact value.
Using the BJT as a switch
For a switch, drive the base hard enough that the transistor is certain to saturate. A common rule is to design for a forced gain of about 10, well below the minimum , instead of using the datasheet .
Worked example: switch a 100 mA load from a 12 V supply using a 3.3 V logic output.
1. Collector current: . 2. Base current for a forced gain of 20: . With = 100 the minimum would be only 1 mA, so 5 mA gives a 5× overdrive. 3. Base resistor: . Use the standard E24 value 510 Ω, which gives about 5.1 mA. 4. Dissipation in the transistor when on: .
The low on-state loss is why a saturated transistor runs cool. In the linear region, the same current at = 6 V would dissipate 0.6 W.
Using the BJT as an amplifier
In a common-emitter amplifier the transistor sits in the active region with a collector resistor and the signal on the base. The small-signal voltage gain is approximately
where is the thermal voltage and the transconductance.
Worked example: bias at = 1 mA with = 4.7 kΩ. Then and . The voltage drop across is 4.7 V, so the supply and the quiescent must leave room for the output swing.
The gain is high but depends on , which is why practical amplifiers add emitter degeneration or feedback to trade some gain for stability.
Limits and checks
- Power: must stay below the maximum power dissipation of the package and the temperature. The simulator draws this limit on the Ic–Vce plot.
- Voltage: keep below the maximum collector–emitter voltage, especially with inductive loads, where turning off produces a spike (see the guide on relay drivers and flyback diodes).
- Base current: is a real power cost, so for loads above a few hundred milliamps a MOSFET switch, which needs almost no gate current, is often the better choice.
- Base resistor: a high-side or logic-level drive needs a series base resistor. Without it the base–emitter junction acts like a diode, and, as in the LED case, the current is limited by nothing.
Try it in the NPN BJT simulator
Open the NPN BJT simulator. Vary the base current, β and the Early voltage and watch the Ic–Vce curves.
- Set the base current to zero and see the transistor in cutoff.
- Increase it until the operating point crosses into saturation and drops to a few tenths of a volt.
- Change the Early voltage and watch how much the active-region curves tilt.
- Compare the dissipated power with the power limit curve.
The Early effect
In the active region the curves are not perfectly flat; they tilt upward as Vce increases. A higher Vce widens the collector-base depletion region, which narrows the effective base and raises the gain slightly. Extended backward, the sloped lines meet the Vce axis at −VA, the Early voltage, typically 50–200 V. A larger VA means flatter curves and a higher output resistance, ro ≈ VA/Ic, closer to an ideal current source.
Sources and further reading
- A. S. Sedra and K. C. Smith, "Microelectronic Circuits", chapter on bipolar junction transistors.
- P. Horowitz and W. Hill, "The Art of Electronics", chapter on transistors.
- R. L. Boylestad and L. Nashelsky, "Electronic Devices and Circuit Theory", chapters on BJT biasing and small-signal analysis.
Try it in the simulator
Frequently asked questions
- How do you calculate the base resistor for a BJT switch?
- Choose the base current as divided by a forced gain of about 10 to 20, then . For a 100 mA load driven from 3.3 V with a forced gain of 20, = 520 Ω, so use 510 Ω.
- What is the difference between the active and saturation regions?
- In the active region and is large; this is used for amplifiers. In saturation is about 0.2 V and the load sets the current; this is the on state of a switch.
- Why should I not rely on the datasheet β?
- β varies several times over between parts, with temperature and with collector current. Switches are designed with a forced gain well below the minimum β so that saturation is guaranteed.
- What is the voltage gain of a common-emitter amplifier?
- About with . At 1 mA with a 4.7 kΩ collector resistor it is about −188.
- What is the Early effect?
- It is the slight rise of collector current with Vce in the active region, caused by the base narrowing as the collector depletion layer widens. It is modeled with the Early voltage VA: Ic ≈ β·Ib·(1 + Vce/VA). It gives the transistor a finite output resistance and limits the voltage gain of a single-transistor amplifier.