EE Basics · step 8 · semiconductor devices
Bipolar Junction Transistors
A BJT is two pn junctions sharing a very thin middle layer. Forward-biasing one junction injects carriers that diffuse across the thin base and are collected by the other junction, so a small base current controls a large collector current. This page derives the exponential law, current gain, the Early effect, the small-signal model, the basic amplifier stages, the differential pair, frequency limits and switching behaviour.
Builds onDiodesLeads toFETs · Op-amps
1Structure and operation
An npn transistor is a heavily doped n+ emitter, a thin, lightly doped p base, and a moderately doped n collector. In the forward-active region the base–emitter junction is forward-biased and the base–collector junction is reverse-biased.
2The collector current
- Law of the junction at the emitter edge of the base (from the diode page): electron density \(n(0) = n_{p0}e^{V_\text{BE}/V_T}\), with \(n_{p0} = n_i^2/N_B\).
- At the collector edge the reverse-biased junction sweeps electrons away, so \(n(W_B)\approx0\).
- The base is much thinner than the diffusion length (\(W_B \ll L_n\)), so almost no recombination happens on the way across and the diffusion equation reduces to \(d^2n/dx^2\approx0\). The profile is a straight line between the two boundary values.
- The diffusion current is set by the slope: $$I_C = qAD_n\frac{n(0)}{W_B} = \underbrace{\frac{qAD_nn_i^2}{N_BW_B}}_{I_S}e^{V_\text{BE}/V_T}$$
The collector current depends exponentially on \(V_\text{BE}\) and, to first order, not at all on \(V_\text{CE}\). The BJT is fundamentally a voltage-controlled current source. \(I_S\) is inversely proportional to the total base dopant per area, \(N_BW_B\) (the Gummel number).
3Base current and current gain β
The base must supply two things: holes that the forward-biased junction injects back into the emitter, and holes that replace those lost to recombination with electrons crossing the base.
- Back-injection into the emitter (same diode physics, emitter width \(W_E\)): \(I_{B1} = \dfrac{qAD_pn_i^2}{N_EW_E}e^{V_\text{BE}/V_T}\).
- Recombination in the base. Stored electron charge is the triangle under the profile, \(Q_B = \tfrac12qAn(0)W_B\). It recombines with lifetime \(\tau_n\): \(I_{B2} = Q_B/\tau_n\).
- Divide each by \(I_C\): $$\frac{I_{B1}}{I_C} = \frac{D_pN_BW_B}{D_nN_EW_E}, \qquad \frac{I_{B2}}{I_C} = \frac{W_B^2}{2D_n\tau_n}$$
- So $$\frac1\beta = \frac{I_B}{I_C} = \frac{D_pN_BW_B}{D_nN_EW_E} + \frac{W_B^2}{2D_n\tau_n}$$
To get high β, dope the emitter far more heavily than the base and make the base thin. With \(N_E/N_B = 100\) and comparable widths and diffusivities, the first term alone limits β to about 100–300. Because both \(I_C\) and \(I_B\) are exponential in \(V_\text{BE}\), β is roughly constant over a wide current range, falling at very low current (depletion-region recombination) and at high current (high-level injection).
KCL ties the terminals: \(I_E = I_C + I_B\). The common-base gain is \(\alpha = I_C/I_E = \beta/(\beta+1)\), typically 0.99–0.997.
β varies by 2–3× between parts of the same type and changes with temperature and current. Good circuits use it only as "large", and set gains with resistor ratios. \(V_\text{BE}\) and \(g_m\), by contrast, are predictable from physics.
4The Early effect
- Raising \(V_\text{CE}\) raises the reverse bias on the base–collector junction, widening its depletion region into the base. The effective \(W_B\) shrinks.
- \(I_C\propto1/W_B\), so \(I_C\) rises with \(V_\text{CE}\). Extrapolated backwards, the output curves meet the voltage axis near \(-V_A\), the Early voltage (typically 20–200 V). To first order: $$I_C = I_Se^{V_\text{BE}/V_T}\left(1+\frac{V_\text{CE}}{V_A}\right), \qquad r_o = \frac{\partial V_\text{CE}}{\partial I_C} = \frac{V_A}{I_C}$$
At 1 mA with \(V_A = 50\) V, \(r_o = 50\) kΩ. A lightly doped base widens the depletion region more, so \(V_A\) and β trade off against each other.
5Operating regions
| Region | B–E junction | B–C junction | Behaviour | Use |
|---|---|---|---|---|
| Cutoff | Off | Reverse | Only leakage flows | Switch off |
| Forward active | Forward | Reverse | \(I_C = \beta I_B\), exponential in \(V_\text{BE}\) | Amplifier |
| Saturation | Forward | Forward | \(V_\text{CE}\approx0.05\)–0.2 V; \(I_C < \beta I_B\) | Switch on |
| Reverse active | Reverse | Forward | Roles of E and C swapped, low β | Rarely |
All four are captured by the Ebers–Moll model: two back-to-back diodes, each with a current-controlled source representing the carriers it collects from the other. In saturation both junctions inject, the collector junction pushes carriers back, and \(V_\text{CE(sat)}\) settles at the difference of the two junction voltages, about 0.1 V.
6The small-signal (hybrid-π) model
Around a bias point, linearize the exponential. Small changes \(v_\text{be}\) produce small changes \(i_c\):
- Transconductance: $$g_m = \frac{\partial I_C}{\partial V_\text{BE}} = \frac{I_Se^{V_\text{BE}/V_T}}{V_T} = \frac{I_C}{V_T}$$
- Input resistance looking into the base: \(i_b = i_c/\beta = g_mv_\text{be}/\beta\), so \(r_\pi = v_\text{be}/i_b = \beta/g_m\).
- Output resistance from the Early effect: \(r_o = V_A/I_C\).
- The model: \(r_\pi\) from base to emitter, a current source \(g_mv_\text{be}\) from collector to emitter, and \(r_o\) in parallel with it.
\(g_m = 1\ \text{mA}/25.9\ \text{mV} = 38.6\) mS. With \(\beta =100\), \(r_\pi = 2.6\) kΩ. With \(V_A = 50\) V, \(r_o = 50\) kΩ. The ratio \(g_m/I_C = 1/V_T\) is the highest transconductance per ampere any device achieves; a MOSFET in strong inversion gets a few times less.
The intrinsic gain, the most voltage gain one transistor can give, is \(g_mr_o = V_A/V_T\): about 1900 for \(V_A = 50\) V, independent of bias current.
7The three basic amplifier stages
- Input at the base, emitter at AC ground, load \(R_C\) at the collector. The small-signal collector current \(g_mv_\text{in}\) flows into \(R_C\parallel r_o\): $$A_v = \frac{v_\text{out}}{v_\text{in}} = -g_m\,(R_C\parallel r_o)$$
- Input resistance \(r_\pi\); output resistance \(R_C\parallel r_o\). The gain is inverting.
- At 1 mA with \(R_C = 5\) kΩ: \(A_v\approx-38.6\times5 \approx -190\) (slightly less with \(r_o\)). Note that \(A_v = -I_CR_C/V_T\): gain equals the DC drop across \(R_C\) divided by \(V_T\).
- Add \(R_E\) from emitter to ground. The input splits: \(v_\text{in} = v_\text{be} + i_eR_E\approx v_\text{be}(1+g_mR_E)\).
- So the effective transconductance is \(G_m = \dfrac{g_m}{1+g_mR_E}\), and $$A_v = -\frac{g_mR_C}{1+g_mR_E} \approx -\frac{R_C}{R_E}\quad (g_mR_E\gg1)$$
- Input resistance rises to \(r_\pi + (\beta+1)R_E\).
Degeneration is local negative feedback: you give up gain and receive a gain set by a resistor ratio, better linearity, higher input resistance and less dependence on β and temperature. The op-amp page generalises this trade.
- Input at base, output at emitter across \(R_E\). This is the degenerated stage with the output taken at the emitter: $$A_v = \frac{g_mR_E}{1+g_mR_E}\approx1$$
- Output resistance looking into the emitter: \(r_\text{out}\approx\dfrac1{g_m} + \dfrac{R_S}{\beta+1}\), where \(R_S\) is the source resistance. At 10 mA, \(1/g_m = 2.6\ \Omega\).
The follower is a buffer: unity voltage gain, high input resistance, low output resistance, current gain of β+1. The common-base stage (input at emitter) is its complement: low input resistance (\(\approx1/g_m\)), the same voltage gain as common emitter but non-inverting, and no Miller effect, which makes it fast (used in cascodes).
8Biasing
Setting \(I_C\) by applying a fixed \(V_\text{BE}\) fails: a 2 mV/K drift is a 7.7%/K change in current, and \(I_S\) varies between parts. Setting it with a fixed base current fails too, because β varies. The standard four-resistor bias fixes the emitter voltage instead.
- A divider \(R_1,R_2\) from \(V_{CC}\) forms a Thevenin source \(V_B = V_{CC}R_2/(R_1+R_2)\), \(R_B = R_1\parallel R_2\), driving the base. \(R_E\) sits in the emitter.
- KVL around the base loop: \(V_B = I_BR_B + V_\text{BE} + I_ER_E\), with \(I_B = I_E/(\beta+1)\): $$I_E = \frac{V_B - V_\text{BE}}{R_E + R_B/(\beta+1)}$$
- If \(R_B/(\beta+1)\ll R_E\), then \(I_C\approx I_E\approx (V_B-V_\text{BE})/R_E\): independent of β. If \(V_B - V_\text{BE}\) is a volt or more, a 2 mV/K drift in \(V_\text{BE}\) changes the current only about 0.2%/K.
An emitter bypass capacitor across \(R_E\) restores full AC gain while keeping DC stability. Power transistors in parallel need emitter ballast resistors for the same reason: without them, the hottest device hogs the current and runs away thermally.
9Current mirrors and the differential pair
- Q1 is diode-connected (base tied to collector) and carries \(I_\text{ref}\). Q2 shares its \(V_\text{BE}\). Matched devices with equal \(V_\text{BE}\) carry equal \(I_C\).
- KCL at Q1's collector: \(I_\text{ref} = I_C + 2I_C/\beta\). So $$I_\text{out} = \frac{I_\text{ref}}{1+2/\beta}$$
- With emitter areas in ratio \(N\) (\(I_S\propto A\)), \(I_\text{out}\approx NI_\text{ref}\). Output resistance is \(r_o\) of Q2; cascoding or emitter degeneration raises it.
- Two matched transistors share a tail current \(I_{EE}\). With differential input \(v_d = V_{B1}-V_{B2}\): \(I_{C1}/I_{C2} = e^{v_d/V_T}\) and \(I_{C1}+I_{C2} = \alpha I_{EE}\).
- Solve: $$I_{C1} = \frac{\alpha I_{EE}}{1+e^{-v_d/V_T}}, \qquad I_{C1}-I_{C2} = \alpha I_{EE}\tanh\!\left(\frac{v_d}{2V_T}\right)$$
- For small \(v_d\), \(\tanh x\approx x\): the differential transconductance is \(g_m = I_{EE}/(2V_T)\), i.e. the \(g_m\) of each transistor at its share \(I_{EE}/2\).
- The pair is linear only for \(|v_d|\lesssim V_T\) (about ±25 mV). Beyond about ±4\(V_T\) = ±100 mV, all the tail current is in one side.
- A common-mode input moves both bases together and changes neither collector current (the tail is a current source). The pair responds to differences and rejects common mode.
A differential pair with a current-mirror load, followed by a gain stage and an output buffer, is the classic op-amp. The op-amp page picks up from here.
10Frequency response
Two capacitances limit speed: \(C_\pi\) between base and emitter (junction capacitance plus the diffusion capacitance of charge stored in the base, \(g_m\tau_F\)) and \(C_\mu\), the base–collector junction capacitance.
- Short the output to AC ground and drive the base with a small current \(i_b\). At frequency \(\omega\) it flows into \(r_\pi\parallel(C_\pi+C_\mu)\), so \(v_\text{be} = i_b/(1/r_\pi + j\omega(C_\pi+C_\mu))\).
- \(i_c\approx g_mv_\text{be}\). The current gain is $$\beta(j\omega) = \frac{\beta_0}{1 + j\omega r_\pi(C_\pi+C_\mu)}$$
- Its magnitude falls to 1 at $$f_T = \frac{g_m}{2\pi(C_\pi+C_\mu)}$$
- At high current, \(C_\pi\approx g_m\tau_F\) dominates, so \(f_T\to1/(2\pi\tau_F)\) with base transit time \(\tau_F = W_B^2/2D_n\). A 0.1 µm base gives \(\tau_F\approx2.5\) ps and \(f_T\) in the tens of GHz: thinner bases are faster.
- In a common-emitter stage with gain \(-A\) (\(A = g_mR_L\)), \(C_\mu\) connects the input to an output that swings \(-A\) times as far.
- Current into \(C_\mu\) from the input: \(j\omega C_\mu(v_\text{in} - (-Av_\text{in})) = j\omega C_\mu(1+A)v_\text{in}\).
- From the input it looks like a capacitance \(C_M = C_\mu(1+g_mR_L)\) to ground.
A 2 pF \(C_\mu\) in a stage with gain 100 loads the input like 200 pF, which against a 1 kΩ source gives a pole near 800 kHz. The cascode (common emitter feeding common base) holds the first collector nearly still and removes the Miller multiplication; the op-amp page shows how the same effect is used on purpose for compensation.
11The BJT as a switch
- Turn on hard. Drive the base with \(I_B = I_C/\beta_\text{forced}\), where \(\beta_\text{forced}\) is 10–20, well below the minimum β. The transistor saturates with \(V_\text{CE(sat)}\approx0.1\)–0.3 V. Conduction loss is \(I_CV_\text{CE(sat)}\) plus \(I_BV_\text{BE}\) of drive power.
- Turn off slowly. In saturation the base and collector are flooded with excess minority charge. Before the collector current can fall, that charge must be removed (storage time, the same charge-control physics as diode reverse recovery). Baker clamps (a Schottky diode from base to collector) and speed-up capacitors limit how deeply the device saturates.
- Compared with a MOSFET. The BJT needs continuous base current but its \(V_\text{CE(sat)}\) is nearly independent of size and current. A MOSFET needs only gate charge, is resistive when on (\(I^2R_\text{DS(on)}\)) and has no storage time. MOSFETs dominate power switching below a few hundred volts; IGBTs combine a MOS gate with bipolar conduction for high voltage.
Summary
12Check yourself
Why must the base be thin and the emitter heavily doped?
A thin base means injected electrons cross before they recombine (\(W_B^2/2D_n\tau_n\) small). A heavily doped emitter means the BE junction injects mostly electrons into the base rather than holes into the emitter (\(N_B/N_E\) small). Both terms set \(1/\beta\).
How much does \(V_\text{BE}\) change if \(I_C\) doubles?
\(V_T\ln2 = 18\) mV at room temperature.
A common-emitter stage has 2 V across its 2 kΩ collector resistor. What is its gain, ignoring ro?
\(A_v = -I_CR_C/V_T = -2/0.0259\approx-77\). The bias current is 1 mA, but the gain depends only on the DC drop across \(R_C\).
Why does an emitter follower have low output resistance?
A small change in emitter current requires only a tiny change in \(V_\text{BE}\) (\(\Delta V = \Delta I/g_m\)), so the emitter voltage barely moves as load current changes: \(r_\text{out}\approx1/g_m\). Source resistance is divided by β+1 because base current is β+1 times smaller than emitter current.
Over what input range is a BJT differential pair approximately linear?
About ±\(V_T\), roughly ±25 mV. At ±100 mV it is fully switched. Emitter degeneration resistors widen the linear range at the cost of transconductance.