Bipolar transistors
The component that changed the 20th century: a small current in the base controls a large current between collector and emitter. With that you amplify, switch and regulate. Everything that comes later in the program builds on this.
🎛️ Interactive course on bipolar transistors Eleven topics with characteristic curves that move, the Q-point shifting along the load line live, the transistor as a switch driving an LED, the drift of the operating point when β triples, and the common-emitter, common-collector and Darlington amplifiers. It is worth keeping it open alongside while reading this page. ›
01How it is built
A bipolar transistor (BJT, Bipolar Junction Transistor) is two PN junctions sharing a very thin central region. Depending on the order of the materials there are two types: NPN and PNP.
02Transistor action
For an NPN to work in its useful region, two conditions are needed at the same time:
- The base-emitter junction forward biased (VBE ≈ 0.7 V).
- The base-collector junction reverse biased (the collector more positive than the base).
Once both are met, the following happens. The heavily doped emitter injects a flood of electrons into the base. Since the base is extremely thin and lightly doped, only 1% of those electrons find a hole to recombine with; the remaining 99% cross the base and are captured by the collector's field.
Result: a very small current flows through the base, and a current a hundred times larger flows through the collector — and the small one controls the large one.
The bipolar transistor is a current-controlled current source. It does not amplify energy out of nothing: it takes energy from the power supply and lets more or less through depending on what the base tells it. It is a faucet, and the base is the handle.
03DC current gain
The ratio between the collector current and the base current is the gain β (beta), which appears in datasheets as hFE.
This is the most important point of the whole section. In the datasheet of a BC547, β is listed as 110 to 800: a range of 7 to 1. It also changes with temperature and with collector current. That is why no well-designed circuit depends on the value of β. The entire topic of biasing that follows exists precisely for this reason.
A transistor with β = 150 has IB = 40 µA. Calculate IC, IE and α.
- IC = β · IB = 150 × 40 µA = 6 mA
- IE = IC + IB = 6 mA + 0.04 mA = 6.04 mA
- α = 150 / 151 = 0.9934
As you can see, IC ≈ IE with an error of less than 1%. That approximation is used constantly and greatly simplifies the calculations.
04The three operating regions
| Region | B-E junction | B-C junction | VCE | Behavior | Use |
|---|---|---|---|---|---|
| Cutoff | Reverse (or < 0.6 V) | Reverse | ≈ VCC | IC ≈ 0. Open switch. | Digital |
| Active | Forward (0.7 V) | Reverse | between 0.2 and VCC | IC = β·IB. Amplifies. | Analog |
| Saturation | Forward | Forward | ≈ 0.2 V | IC is set by the load, not by β. Closed switch. | Digital |
There is a fourth region, the reverse region (emitter and collector interchanged), which is hardly ever used: the gain falls below 5 because the structure is not symmetrical.
With the transistor operating, measure VCE:
- VCE ≈ VCC → it is in cutoff.
- VCE ≈ 0.2 V → it is saturated.
- VCE intermediate (ideally ≈ VCC/2) → it is in the active region.
05Characteristic curves
A transistor is not described by a single curve but by a family of them: IC as a function of VCE, one curve for each value of IB.
Two regions can be distinguished:
- Initial knee (VCE < 0.2 V): the current rises very quickly. This is the saturation region.
- Flat section: IC hardly changes even as VCE rises. This is the active region, where the transistor behaves as a current source.
The slight slope of the flat section is due to the Early effect (base-width modulation) and is the reason why the output resistance of the transistor is not infinite.
06Load line and Q-point
The curves describe the transistor; the load line describes the external circuit. Where they cross is the actual operating point, called the Q-point (from quiescent, at rest).
Applying Kirchhoff's law to the collector-emitter loop of a circuit with collector resistor RC:
This is the equation of a straight line, and to draw it its two end points are enough:
IC = 0 → VCE = VCC. The transistor does not conduct and the entire supply voltage drops across it.
VCE = 0 → IC(sat) = VCC / RC. The transistor conducts as much as the load allows.
It depends on what the transistor is used for:
- Amplifier: in the middle of the line (VCE ≈ VCC/2). That way the signal can swing up and down equally without clipping. This is the maximum symmetrical swing.
- Switch: jumping between the two end points (cutoff and saturation), without staying in the middle. At the end points it dissipates almost no power.
The power the transistor dissipates is P = VCE · IC. In cutoff IC = 0 and in saturation VCE ≈ 0.2 V: in both cases the power is negligible. The midpoint of the line is precisely the point of maximum dissipation, and that is why a class A amplifier heats up even with no signal.
07The transistor as a switch
This is the most immediate application and the one that connects with Digital Electronics I: the output of a logic gate cannot drive a relay, a motor or a lamp, but it can drive the base of a transistor that can.
You want to saturate a BC547 (guaranteed minimum β = 110) to drive a 12 V relay that draws 30 mA. The control signal comes from a 5 V digital output.
1. Minimum base current to reach saturation:
2. Apply an overdrive factor of 3 to 5 to ensure saturation even with the worst-case β and at low temperature. With a factor of 4: IB = 1.1 mA.
3. The base resistor:
Adopt 3.9 kΩ (standard value) or 4.7 kΩ if a little less margin is acceptable.
4. Dissipation check: saturated, VCE ≈ 0.2 V and IC = 30 mA → P = 6 mW. A BC547 (500 mW) is more than enough.
Relays, motors, solenoids and coils store energy in their magnetic field. When the current is cut off abruptly, that energy is released as a voltage spike of hundreds of volts (V = L·di/dt). The flyback diode gives that current a path and holds it at 0.7 V. Without it, the transistor breaks down on the first switching.
08Biasing
Biasing means setting the Q-point and, above all, making it stay there even when the temperature or the transistor changes. This is what separates a circuit that works from one that works only sometimes.
Fixed-bias (fixed-base) biasing
A single resistor between VCC and the base. It is the simplest and the worst.
If the transistor is replaced by another of the same type but with β = 300 instead of 100, the collector current triples and the Q-point goes into saturation. The circuit stops amplifying. And since β also increases with temperature, the circuit drifts on its own while operating.
Voltage-divider biasing
This is the one used in practice. Two resistors set the base voltage and an emitter resistor introduces negative feedback.
The calculation has four steps, and β appears in none of them:
VCC = 12 V, R1 = 47 kΩ, R2 = 10 kΩ, RC = 2.2 kΩ, RE = 470 Ω.
- VB = 12 × 10/(47+10) = 2.11 V
- VE = 2.11 − 0.7 = 1.41 V
- IE = 1.41 / 470 = 3.0 mA ≈ IC
- VCE = 12 − 3.0 mA × (2200 + 470) = 12 − 8.0 = 4.0 V
Stability test: if the transistor is replaced by one with a β three times higher, the calculation does not change at all, because β does not appear in any formula. With fixed bias, the same substitution would triple IC. That is the whole point of the voltage divider.
It is a negative-feedback loop: if IC tends to rise because of temperature, VE = IE·RE rises. Since VB is fixed by the divider, VBE = VB − VE decreases, and that reduces IC. The circuit corrects itself. The larger RE is, the more stable — but the lower the AC voltage gain, which is why later it is bypassed with a capacitor.
09Regulated power supplies with transistors
The Zener regulator is only good for small currents. By adding a transistor in an emitter follower configuration, the available current is multiplied by β.
The output is Vout = VZ − 0.7 V. The Zener only has to deliver IC/β, that is, a few milliamperes, while the transistor handles the entire load current. With β = 100, a Zener that could handle 50 mA now allows 5 A — limited, of course, by the transistor's power dissipation:
10Packages, identification and power dissipation
| Transistor | Type | IC max. | VCEO | PD | Typical β | Package |
|---|---|---|---|---|---|---|
| BC547 | NPN | 100 mA | 45 V | 500 mW | 110-800 | TO-92 |
| BC557 | PNP | 100 mA | 45 V | 500 mW | 110-800 | TO-92 (complement of the 547) |
| 2N2222 | NPN | 800 mA | 40 V | 500 mW | 100-300 | TO-92 / TO-18 |
| BD139 | NPN | 1.5 A | 80 V | 12.5 W | 40-160 | TO-126, with heat sink |
| TIP31C | NPN | 3 A | 100 V | 40 W | 10-50 | TO-220 |
| TIP120 | NPN Darlington | 5 A | 60 V | 65 W | ≥ 1000 | TO-220 |
The official datasheets are at onsemi.com (Texas Instruments does not make generic BJTs). The pinout is not universal: a BC547 in a TO-92 package, viewed from the front with the flat face toward the viewer, has C-B-E from left to right; a 2N2222 in the same package has E-B-C. Mixing them up is the most common mistake in the shop.
The PD in the datasheet is valid at a case temperature of 25 °C, which almost never happens. In practice a safety factor is applied: do not exceed half of the rated power, and fit a heat sink with silicone thermal grease as soon as you go past 1 W. Watch out: in many TO-220 packages the metal tab is connected to the collector, so if two transistors are bolted to the same heat sink you must use an insulating mica pad and a plastic shoulder washer.
11In the lab
A transistor is “two diodes back to back.” On the diode range:
- Look for the lead that, with the red probe held fixed, reads ≈ 0.7 V against the other two: that is the base and the transistor is an NPN.
- If that happens with the black probe held fixed, it is a PNP.
- Between the two remaining leads the reading must be OL in both directions. If it conducts, the transistor is shorted.
- Of those two, the emitter reads a few hundredths of a volt more than the collector against the base (0.72 vs 0.68 V, approximately). If the multimeter has an hFE function, you can confirm by trying both orientations: the one that gives the higher gain is the correct one.
Build the circuit with RB = 470 kΩ from 12 V to the base and RC = 1 kΩ from 12 V to the collector, emitter to ground. Measure the drop across RB and across RC, calculate IB and IC, and obtain β. Repeat with three transistors of the same type and compare: the spread among them is the lesson of the exercise.
A transistor with an LED in the collector (with its resistor) and a pushbutton that takes the base to 5 V through 4.7 kΩ. Measure VCE with the pushbutton released (it should read ≈ VCC) and pressed (it should read ≈ 0.2 V). Calculate the power dissipated in both cases and check that it is minimal.
Build two circuits: one with fixed bias and one with a voltage divider, adjusted for the same initial Q-point. Replace the transistor with another of the same type (with a different β) in both and measure VCE again. In the fixed-bias circuit the Q-point shifts noticeably; in the divider circuit it hardly moves. This is the exercise that justifies the whole topic.
12Common mistakes
| Symptom | Usual cause |
|---|---|
| The transistor never conducts | Leads reversed (emitter and collector swapped), or VBE below 0.6 V. |
| It always conducts, even with no signal | The base resistor is missing, or the divider is miscalculated and left it saturated. |
| It gets very hot with no load | Q-point in the middle of the line with high current. This is normal in class A, but it is worth checking the dissipation. |
| The transistor burns out when the relay is switched off | The flyback diode is missing. |
| It works with one transistor but not with another identical one | The circuit depends on β: fixed-bias biasing. You need to switch to a voltage divider. |
| The output signal is clipped at the top or bottom | Q-point off-center: the signal runs into saturation or cutoff before completing the cycle. |
| It works cold and fails when it warms up | Thermal drift. RE is missing or too small. |
13Self-assessment
Why does the base of a transistor have to be thin and lightly doped?
So that the carriers injected by the emitter find nothing to recombine with and cross over to the collector. If the base were thick or heavily doped, most of them would recombine, IB would be large and β small: there would be no transistor action.
Can a transistor be used with the emitter and collector interchanged?
It works, but very poorly: the gain falls below 5 and the reverse voltage that the base-emitter junction can withstand is only 5 or 6 V. The three regions have different doping levels and sizes, so the transistor is not symmetrical.
A BC547 with β = 200 has IB = 25 µA. What are IC and IE?
IC = 200 × 25 µA = 5 mA. IE = 5 + 0.025 = 5.025 mA. In practice, IC ≈ IE is assumed.
What are the two end points of the load line if VCC = 15 V and RC = 3 kΩ?
Cutoff: VCE = 15 V with IC = 0.
Saturation: IC(sat) = 15 / 3000 = 5 mA with VCE = 0.
For maximum swing, the Q-point goes at VCE = 7.5 V with IC = 2.5 mA.
Why is fixed-bias biasing bad?
Because IC = β·IB depends directly on β, which varies by up to 7 to 1 between units of the same model and also increases with temperature. The Q-point shifts when the transistor is replaced or when it heats up, and the circuit stops working.
Explain in one sentence how RE stabilizes the circuit.
If IC rises, VE rises; since VB is fixed by the divider, VBE = VB − VE drops and the current falls back down. It is negative feedback.
Why is the base overdriven when the transistor is used as a switch?
To guarantee saturation with the worst possible β and at any temperature. 3 to 5 times the theoretical minimum IB is used. If the transistor does not reach saturation, it stays in the active region, VCE is high and it dissipates a lot of heat.
A power supply with an emitter follower delivers 12 V and 1.5 A, fed from 20 V. How much does the transistor dissipate?
P = (20 − 12) × 1.5 = 12 W. It absolutely needs a properly sized heat sink, and it is advisable to lower the input voltage to reduce that loss — which is the reason why switching power supplies replaced linear ones in power equipment.
What does a multimeter read between the base and emitter of a good NPN, on the diode range?
With the red probe on the base and the black one on the emitter: ≈ 0.7 V (junction forward biased). Reversed: OL. If it reads low in both directions, the junction is shorted and the transistor is useless.