3.2.1CMOS Circuit Design

CMOS inverter structure and operation

2,043 words9 min readdifficulty · medium6 backlinks

The CMOS inverter is the "hydrogen atom" of digital design: understand it fully and every other CMOS gate follows.

The Big Picture


What is it made of?

Figure — CMOS inverter structure and operation

WHY this arrangement? (Derivation of the behaviour)

We must decide, for each input, which transistor conducts. The rules of MOS conduction:

A MOSFET conducts when VGS>Vt|V_{GS}| > |V_t| (gate-to-source voltage exceeds the threshold).

NMOS (source at GND = 0 V): VGS,n=Vin0=VinV_{GS,n} = V_{in} - 0 = V_{in} So NMOS is ON when Vin>VtnV_{in} > V_{tn} (input HIGH).

PMOS (source at VDDV_{DD}): VGS,p=VinVDDV_{GS,p} = V_{in} - V_{DD} PMOS turns ON when VGS,p<VtpV_{GS,p} < V_{tp} (with Vtp<0V_{tp}<0), i.e. when VinVDD<VtpV_{in} - V_{DD} < V_{tp}, i.e. VinV_{in} is low enough. So PMOS is ON when input LOW.

Case-by-case truth table

VinV_{in} NMOS PMOS Output path VoutV_{out}
0 (LOW) OFF ON pull-up to VDDV_{DD} VDDV_{DD} (HIGH)
VDDV_{DD} (HIGH) ON OFF pull-down to GND 0 (LOW)

The Voltage Transfer Characteristic (VTC)

Five operating regions as VinV_{in} rises:

  1. Vin<VtnV_{in} < V_{tn}: NMOS OFF, PMOS ON (linear) → Vout=VDDV_{out}=V_{DD}.
  2. Both ON, NMOS saturated → output starts falling.
  3. Switching point VMV_M: both in saturation, steep drop.
  4. Both ON, PMOS saturated → output near GND.
  5. Vin>VDD+VtpV_{in} > V_{DD}+V_{tp}: NMOS ON (linear), PMOS OFF → Vout=0V_{out}=0.

Power dissipation (WHY CMOS wins)

Dynamic (switching) power — derive it. Each time the output goes 0VDD0\to V_{DD}, the load capacitor CLC_L stores energy 12CLVDD2\tfrac12 C_L V_{DD}^2, and an equal amount is dissipated in the PMOS as heat. On the way down 12CLVDD2\tfrac12 C_L V_{DD}^2 dissipates in the NMOS. So each full cycle dissipates CLVDD2C_L V_{DD}^2. If this happens ff times per second with switching probability α\alpha:

Static power ≈ 0 (ideal) because one transistor is always OFF, blocking the DC path. (Real chips have leakage, but classically CMOS static power is negligible.)


Noise margins (why digital is robust)


Common mistakes


Flashcards

What does "complementary" in CMOS mean?
It uses NMOS and PMOS in a matched pair that turn ON under opposite gate conditions.
In a CMOS inverter, which transistor is the pull-up and which the pull-down?
PMOS = pull-up (to VDDV_{DD}), NMOS = pull-down (to GND).
When input is HIGH, which transistor conducts and what is the output?
NMOS ON, PMOS OFF → output LOW.
Why is static power ~0 in CMOS?
In steady state one transistor is always OFF, breaking the DC path from VDDV_{DD} to GND.
Give the dynamic power formula and explain the VDD2V_{DD}^2.
P=αCLVDD2fP=\alpha C_L V_{DD}^2 f; energy per event ∝ charge(VDDV_{DD})×voltage(VDDV_{DD}).
What is the switching threshold VMV_M?
The VinV_{in} where Vout=VinV_{out}=V_{in}; both transistors saturated; ideally VDD/2V_{DD}/2.
Why is PMOS made 2–3× wider than NMOS?
Hole mobility is 2–3× lower than electron mobility; widening PMOS equalizes kn=kpk_n=k_p for symmetric VTC and equal rise/fall.
Condition for NMOS to conduct?
VGS,n=Vin>VtnV_{GS,n}=V_{in}>V_{tn}.
Condition for PMOS to conduct (with Vtp<0V_{tp}<0)?
VinVDD<VtpV_{in}-V_{DD}<V_{tp}, i.e. input low enough.
What is NMHNM_H?
NMH=VOHVIHNM_H=V_{OH}-V_{IH}, the high-side noise margin.
Why does NMOS make a poor pull-up?
It passes a degraded HIGH (output only reaches VDDVtnV_{DD}-V_{tn}).

Recall Feynman: explain to a 12-year-old

Imagine a light bulb with two switches. One switch connects the bulb to the battery (top), the other connects it to the ground (bottom). Both switches are flipped by the same button. The trick: the switches are opposites — when one closes, the other opens. Press the button (input = 1) and the bulb-wire gets connected to ground → output = 0. Let go (input = 0) and it connects to the battery → output = 1. Because there's never a moment where both are closed for long, the battery isn't wasted — that's why your phone stays cool and its battery lasts. It always gives the opposite of the button: that's why we call it an inverter.

Connections

  • CMOS logic gates (NAND NOR) — built by series/parallel networks of these two devices.
  • MOSFET operating regions — cutoff/triode/saturation used in the VTC derivation.
  • Dynamic power and clock frequency — the αCLVDD2f\alpha C_L V_{DD}^2 f scaling.
  • Propagation delay and transistor sizing — why kn=kpk_n=k_p balances rise/fall.
  • Noise margins in digital logic — full-rail swing advantage.
  • Leakage and short-channel effects — where "static power ≈ 0" breaks down in modern nodes.

Concept Map

pairs

pairs

bottom switch to GND

top switch to VDD

gates tied

opposite response

no path VDD to GND

hands output to rail

logic function

sweep 0 to VDD

S-shaped curve

CMOS Complementary MOS

NMOS on when gate HIGH

PMOS on when gate LOW

CMOS Inverter

Same input drives both

Exactly one device ON

Near-zero static current

Vout equals NOT Vin

NOT gate

Voltage Transfer Characteristic

Transition region five regions

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, CMOS inverter basically do switch hain jo series mein lage hain — upar PMOS (pull-up, jo output ko VDDV_{DD} se jodta hai) aur neeche NMOS (pull-down, jo output ko ground se jodta hai). Dono ka gate ek hi input se juda hai, lekin dono opposite behave karte hain: NMOS tab ON hota hai jab input HIGH ho, aur PMOS tab ON hota hai jab input LOW ho. Isliye output hamesha input ka ulta aata hai — yahi to inverter (NOT gate) ka kaam hai.

Sabse important baat: steady state mein koi ek transistor hamesha OFF rehta hai, matlab VDDV_{DD} se ground tak koi seedha rasta nahi banta, to static current lagbhag zero. Yahi wajah hai ki CMOS itna kam power khaata hai aur mobile chips isi pe bane hain. Power sirf switching ke time lagti hai — formula P=αCLVDD2fP=\alpha C_L V_{DD}^2 f. Dhyan do VDD2V_{DD}^2 pe: supply voltage thoda kam karo, power bahut zyada kam ho jaati hai.

Ek aur practical point: PMOS ko NMOS se lagbhag 2–3 guna chauda (wide) banate hain, kyunki holes electrons se dheere chalte hain. Isse pull-up aur pull-down barabar strong ho jaate hain, switching point VMV_M theek VDD/2V_{DD}/2 pe aata hai, aur rise-time = fall-time. Yaad rakho: "P likes 0, N likes 1" — NMOS strong 0 pass karta hai, PMOS strong 1, isiliye placement isi hisaab se hoti hai.

Go deeper — visual, from zero

Test yourself — CMOS Circuit Design

Connections