Part II: Semiconductor Physics | Chapter 6

Transistors: BJT & MOSFET

The active devices at the heart of every amplifier, logic gate, and integrated circuit.

Bipolar Junction Transistor (BJT)

A BJT consists of two back-to-back PN junctions — either NPN or PNP. In an NPN transistor a thin p-type base separates the n-type emitter and collector. The base current controls a much larger collector current.

Active Region

E-B forward biased, C-B reverse biased. \( I_C = \beta I_B \). Amplification is possible here.

Saturation

Both junctions forward biased. \( V_{CE} \approx 0.2 \) V. Transistor acts as closed switch.

Cutoff

Both junctions reverse biased. \( I_C \approx 0 \). Transistor acts as open switch.

The current gain \( \beta \) (also written \( h_{FE} \)) relates collector to base current:

\[ I_C = \beta I_B, \qquad I_E = I_B + I_C = (\beta + 1)I_B \]

The Ebers-Moll model captures all regions with two coupled diode equations. In the active region it reduces to:

\[ I_C = I_S \exp\!\left(\frac{V_{BE}}{V_T}\right)\!\left(1 + \frac{V_{CE}}{V_A}\right) \]

The factor \( (1 + V_{CE}/V_A) \) represents the Early effect: the slight increase in \( I_C \)with \( V_{CE} \) due to base-width modulation, characterised by Early voltage \( V_A \approx 50\text{–}200 \) V.

MOSFET: Metal-Oxide-Semiconductor FET

The MOSFET is a voltage-controlled device. In an NMOS transistor, a positive gate voltage creates an inversion layer (channel) between the n-type source and drain, allowing current to flow.

p-type substraten+ Sourcen+ DrainSiO2 gate oxideGate (polysilicon)channel (V_GS > V_th)SDNMOS cross-section

MOSFET Operating Regions

Cutoff (\( V_{GS} < V_{th} \))

No channel. \( I_D = 0 \). Gate voltage insufficient to invert the substrate.

Triode (\( V_{DS} < V_{GS} - V_{th} \))

Channel present end-to-end. Acts as a voltage-controlled resistor:

\[ I_D = K\!\left(V_{ov} - \frac{V_{DS}}{2}\right)\!V_{DS} \]
Saturation (\( V_{DS} \geq V_{GS} - V_{th} \))

Channel is pinched off. Current is controlled by \( V_{GS} \) alone:

\[ I_D = \frac{K}{2}(V_{GS} - V_{th})^2 \]

where \( V_{ov} = V_{GS} - V_{th} \) is the overdrive voltage and \( K = \mu_n C_{ox} W/L \)is the process transconductance parameter (\( \mu_n \): electron mobility, \( C_{ox} \): gate capacitance per unit area).

CMOS Inverter

Complementary MOS (CMOS) logic pairs an NMOS and PMOS transistor. In a CMOS inverter:

  • When \( V_{in} = V_{DD} \): NMOS ON, PMOS OFF → \( V_{out} = 0 \)
  • When \( V_{in} = 0 \): NMOS OFF, PMOS ON → \( V_{out} = V_{DD} \)

At no time are both transistors fully ON simultaneously, so static power consumption is nearly zero — the key advantage of CMOS over older NMOS-only logic families.

Small-Signal Models

For AC analysis around a DC bias point, both BJT and MOSFET are linearised. The MOSFET small-signal model introduces the transconductance \( g_m \) and output resistance \( r_o \):

\[ g_m = \frac{\partial I_D}{\partial V_{GS}}\bigg|_Q = \sqrt{2K I_D}, \qquad r_o = \frac{1}{\lambda I_D} \]

Python: BJT, MOSFET & CMOS Inverter

Plot BJT collector characteristics (with Early effect) for several base currents, NMOS output characteristics showing the triode/saturation boundary, and the CMOS inverter voltage transfer curve with switching point \( V_M \).

BJT Collector Curves, NMOS Output Characteristics & CMOS Inverter

Python
transistors_bjt_mosfet.py161 lines

Click Run to execute the Python code

Code will be executed with Python 3 on the server