3.2.5CMOS Circuit Design

Voltage transfer characteristic (VTC)

1,742 words8 min readdifficulty · medium

WHAT is the VTC?

The defining physical constraint is Kirchhoff's Current Law at the output node:

IDN=IDPI_{DN} = I_{DP}

The NMOS drain current (pulling down) must equal the PMOS drain current (pulling up), because in steady state no net current charges the output node.


HOW the transistors take turns (5 regions)

Define, for NMOS: VGSn=VinV_{GSn}=V_{in}, VDSn=VoutV_{DSn}=V_{out}, threshold VTn>0V_{Tn}>0. For PMOS: VSGp=VDDVinV_{SGp}=V_{DD}-V_{in}, VSDp=VDDVoutV_{SDp}=V_{DD}-V_{out}, threshold VTp|V_{Tp}|.

Each transistor can be cutoff / saturation / triode:

Region VinV_{in} range NMOS PMOS VoutV_{out}
A 0Vin<VTn0\le V_{in}<V_{Tn} cutoff triode VDD\approx V_{DD}
B rising saturation triode high, dropping
C near VMV_M saturation saturation steep drop
D rising triode saturation low, dropping
E $V_{in}>V_{DD}- V_{Tp} $ triode
Figure — Voltage transfer characteristic (VTC)

DERIVATION: the switching threshold VMV_M

Why each step?

  1. At VMV_M both are saturated → because Vin=VoutV_{in}=V_{out} means VDSn=Vout>VinVTn=VGSnVTnV_{DSn}=V_{out}>V_{in}-V_{Tn}=V_{GSn}-V_{Tn}; the saturation inequality holds. → use square-law equations.
  2. Set currents equal → KCL at output (defining constraint).
  3. Take square roots → both sides are perfect squares; taking \sqrt{} linearizes in VMV_M. βn(VMVTn)=βp(VDDVMVTp)\sqrt{\beta_n}(V_M-V_{Tn})=\sqrt{\beta_p}(V_{DD}-V_M-|V_{Tp}|)
  4. Divide by βn\sqrt{\beta_n}, collect VMV_M → gives the boxed formula.

Noise margins from the VTC


Common mistakes (steel-manned)


Active recall

Recall Test yourself (hidden)
  • What constraint defines every point on the VTC? ⇒ IDN=IDPI_{DN}=I_{DP} (KCL).
  • In which region are BOTH transistors saturated? ⇒ the transition region (C), at/near VMV_M.
  • What makes VMV_M shift up toward VDDV_{DD}? ⇒ stronger PMOS (larger r=βp/βnr=\sqrt{\beta_p/\beta_n}).
  • Define VIL,VIHV_{IL},V_{IH}. ⇒ points where slope =1=-1.
Recall Feynman: explain to a 12-year-old

Imagine a see-saw with a "0-kid" on one end and a "1-kid" on the other, both pushing the output. You slide a lever (the input) from left to right. At first the 1-kid totally wins and the output is stuck HIGH. As you slide, the 0-kid gets stronger, and at one special spot they're exactly tied — the tiniest nudge tips the output all the way from HIGH to LOW super fast. That fast tipping is why computers can tell a clean "1" from a clean "0" even when the wire is a bit noisy. Making the two kids equally strong puts the tipping point right in the middle — the fairest, safest place.


Flashcards

What DC constraint holds at every point of the CMOS inverter VTC?
IDN=IDPI_{DN}=I_{DP} (KCL: series transistors, output cap fully charged).
Which two device states occur simultaneously at VMV_M?
Both NMOS and PMOS in saturation.
Formula for switching threshold VMV_M with r=βp/βnr=\sqrt{\beta_p/\beta_n}?
VM=VTn+r(VDDVTp)1+rV_M=\dfrac{V_{Tn}+r(V_{DD}-|V_{Tp}|)}{1+r}.
Condition on rr for a symmetric inverter (VM=VDD/2V_M=V_{DD}/2, equal VTV_T)?
r=1r=1, i.e. βn=βp\beta_n=\beta_p.
Why must Wp>WnW_p>W_n for a centered VMV_M?
Hole mobility < electron mobility (kp<knk_p'<k_n'), so PMOS width must grow to equalize strength.
How are VILV_{IL} and VIHV_{IH} defined on the VTC?
Points where dVout/dVin=1dV_{out}/dV_{in}=-1 (unity-gain points).
Noise margins in terms of VTC levels?
NMH=VOHVIHNM_H=V_{OH}-V_{IH}, NML=VILVOLNM_L=V_{IL}-V_{OL}.
What happens to VMV_M if PMOS is made stronger (r increases)?
VMV_M increases (moves toward VDDV_{DD}).
Why is the transition region so steep?
Both devices act as saturated current sources; small ΔVin\Delta V_{in} needs large ΔVout\Delta V_{out} to keep currents equal → high gain.
Extra cost of operating in the transition region?
Short-circuit (crowbar) current, since both transistors conduct simultaneously.

Connections

  • CMOS Inverter — the device whose VTC this is.
  • MOSFET IV Characteristics — triode/saturation square-law equations used in the derivation.
  • Noise Margins — computed from VIL,VIH,VOH,VOLV_{IL},V_{IH},V_{OH},V_{OL}.
  • Static CMOS Logic Gates — VTC generalizes to NAND/NOR via effective W/L.
  • Short-circuit Power Dissipation — from the both-ON transition region.
  • Propagation Delay — slope/gain relates to switching speed.

Concept Map

defined by

forces

series path

sweep Vin

region A/E

region C both sat

regenerates

crosses 45 line

square-law currents

depends on

sizing Wp/Wn

VTC plot Vout vs Vin

KCL at output

I_DN = I_DP

Steady-state DC no load

5 operating regions

Vout near VDD or 0

Near-vertical gain >> 1

Clean logic levels

Switching threshold V_M

Ratio r = sqrt of beta_p/beta_n

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, CMOS inverter basically do switch hain series mein — upar PMOS (pull-up) aur neeche NMOS (pull-down). Jab tum input voltage ko 0 se VDD tak slowly badhaate ho, to ye dono transistor apna "kaam" swap karte hain. VTC bas ek graph hai jo dikhata hai ki har input pe output kya hoga. Sabse important cheez: middle wala part bahut steep (khada) hota hai — matlab thoda sa input badalne se output pura HIGH se LOW ho jaata hai. Yehi sharpness digital logic ko clean 0 aur 1 deti hai, chahe wire pe thoda noise ho.

Har point pe ek hi rule chalta hai: NMOS ka current = PMOS ka current (KCL, kyunki output capacitor fully charged hai, koi extra current nahi bahta). Isi condition ko solve karke curve nikalta hai. Jaha input = output (45° line ko cross karti hai), us point ko VMV_M (switching threshold) kehte hain, aur wahaan dono transistor saturation mein hote hain — dono current source ki tarah, isliye slope bahut zyada.

Formula: VM=VTn+r(VDDVTp)1+rV_M = \frac{V_{Tn}+r(V_{DD}-|V_{Tp}|)}{1+r}, jahan r=βp/βnr=\sqrt{\beta_p/\beta_n}. Agar PMOS strong hai (bada rr), to VMV_M upar ki taraf shift karta hai. Symmetric inverter (VM=VDD/2V_M=V_{DD}/2) ke liye r=1r=1 chahiye, yaani βn=βp\beta_n=\beta_p. Lekin holes electrons se slow hote hain, isliye PMOS ko chauda banana padta hai (Wp>WnW_p > W_n, aksar 2–3 guna). Isse noise margins dono taraf barabar ho jaate hain — circuit robust ban jaata hai. Yeh samajh lo to inverter design ka 80% clear ho gaya.

Go deeper — visual, from zero

Test yourself — CMOS Circuit Design

Connections