A CMOS inverter is a voltage-controlled switch pair . As you sweep the input voltage from 0 to V D D V_{DD} V D D , the pull-up (PMOS) and pull-down (NMOS) transistors trade jobs . The VTC is simply the picture of V o u t V_{out} V o u t vs V i n V_{in} V in that captures this hand-off. The whole magic of digital logic lives in how sharp that hand-off is — a sharp transition means clean 0s and 1s that survive noise.
The Voltage Transfer Characteristic (VTC) is the plot of steady-state output voltage V o u t V_{out} V o u t against input voltage V i n V_{in} V in for a gate (canonically the CMOS inverter), with both transistors' currents forced to be equal (no current flows out to a load, DC condition).
The defining physical constraint is Kirchhoff's Current Law at the output node:
I D N = I D P I_{DN} = I_{DP} I D N = I D P
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.
WHY equal currents? The output capacitor is done charging, so C d V / d t = 0 C\,dV/dt = 0 C d V / d t = 0 . The only path for current is through both transistors in series from V D D V_{DD} V D D to GND. Series → same current. Setting them equal and solving for V o u t V_{out} V o u t gives us the curve.
Define, for NMOS: V G S n = V i n V_{GSn}=V_{in} V GS n = V in , V D S n = V o u t V_{DSn}=V_{out} V D S n = V o u t , threshold V T n > 0 V_{Tn}>0 V T n > 0 .
For PMOS: V S G p = V D D − V i n V_{SGp}=V_{DD}-V_{in} V S Gp = V D D − V in , V S D p = V D D − V o u t V_{SDp}=V_{DD}-V_{out} V S D p = V D D − V o u t , threshold ∣ V T p ∣ |V_{Tp}| ∣ V T p ∣ .
Each transistor can be cutoff / saturation / triode :
Region
V i n V_{in} V in range
NMOS
PMOS
V o u t V_{out} V o u t
A
0 ≤ V i n < V T n 0\le V_{in}<V_{Tn} 0 ≤ V in < V T n
cutoff
triode
≈ V D D \approx V_{DD} ≈ V D D
B
rising
saturation
triode
high, dropping
C
near V M V_M V M
saturation
saturation
steep drop
D
rising
triode
saturation
low, dropping
E
$V_{in}>V_{DD}-
V_{Tp}
$
triode
Region C is the near-vertical part. Both devices are in saturation acting like current sources, so a tiny change in V i n V_{in} V in forces a huge change in V o u t V_{out} V o u t to keep the currents balanced. That steep slope (gain ≫ 1 \gg 1 ≫ 1 ) is exactly what regenerates weak logic levels.
Why each step?
At V M V_M V M both are saturated → because V i n = V o u t V_{in}=V_{out} V in = V o u t means V D S n = V o u t > V i n − V T n = V G S n − V T n V_{DSn}=V_{out}>V_{in}-V_{Tn}=V_{GSn}-V_{Tn} V D S n = V o u t > V in − V T n = V GS n − V T n ; the saturation inequality holds. → use square-law equations.
Set currents equal → KCL at output (defining constraint).
Take square roots → both sides are perfect squares; taking \sqrt{} linearizes in V M V_M V M .
β n ( V M − V T n ) = β p ( V D D − V M − ∣ V T p ∣ ) \sqrt{\beta_n}(V_M-V_{Tn})=\sqrt{\beta_p}(V_{DD}-V_M-|V_{Tp}|) β n ( V M − V T n ) = β p ( V D D − V M − ∣ V T p ∣ )
Divide by β n \sqrt{\beta_n} β n , collect V M V_M V M → gives the boxed formula.
Symmetric inverter. Suppose V T n = ∣ V T p ∣ V_{Tn}=|V_{Tp}| V T n = ∣ V T p ∣ and we want V M = V D D / 2 V_M=V_{DD}/2 V M = V D D /2 (equal noise margins). Solve for r r r :
Set V M = V D D / 2 V_M=V_{DD}/2 V M = V D D /2 with V T n = ∣ V T p ∣ = V T V_{Tn}=|V_{Tp}|=V_T V T n = ∣ V T p ∣ = V T :
V D D 2 = V T + r ( V D D − V T ) 1 + r ⇒ r = 1 \frac{V_{DD}}{2}=\frac{V_T+r(V_{DD}-V_T)}{1+r}\Rightarrow r=1 2 V D D = 1 + r V T + r ( V D D − V T ) ⇒ r = 1
Why this step? Plug V M = V D D / 2 V_M=V_{DD}/2 V M = V D D /2 and simplify; the only way both sides balance symmetrically is r = 1 r=1 r = 1 , i.e. β n = β p \beta_n=\beta_p β n = β p . Since k n ′ ≈ 2 – 3 k p ′ k_n'\approx 2\text{–}3\,k_p' k n ′ ≈ 2 – 3 k p ′ (electrons faster than holes), we need W p ≈ 2 – 3 W n W_p\approx 2\text{–}3\,W_n W p ≈ 2 – 3 W n to make the PMOS "as strong" as the NMOS.
Numerical V M V_M V M . V D D = 1.8 V_{DD}=1.8 V D D = 1.8 V, V T n = 0.4 V_{Tn}=0.4 V T n = 0.4 V, ∣ V T p ∣ = 0.4 |V_{Tp}|=0.4 ∣ V T p ∣ = 0.4 V, r = β p / β n = 1.5 r=\sqrt{\beta_p/\beta_n}=1.5 r = β p / β n = 1.5 .
V M = 0.4 + 1.5 ( 1.8 − 0.4 ) 1 + 1.5 = 0.4 + 2.1 2.5 = 2.5 2.5 = 1.0 V V_M=\frac{0.4+1.5(1.8-0.4)}{1+1.5}=\frac{0.4+2.1}{2.5}=\frac{2.5}{2.5}=1.0\text{ V} V M = 1 + 1.5 0.4 + 1.5 ( 1.8 − 0.4 ) = 2.5 0.4 + 2.1 = 2.5 2.5 = 1.0 V
Why this step? Larger r r r (stronger PMOS) pulls V M V_M V M upward toward V D D V_{DD} V D D , because a strong pull-up wins the tug-of-war until V i n V_{in} V in is high. Here V M = 1.0 > 0.9 V_M=1.0>0.9 V M = 1.0 > 0.9 V confirms the shift.
The unity-gain points V I L V_{IL} V I L and V I H V_{IH} V I H are where d V o u t d V i n = − 1 \dfrac{dV_{out}}{dV_{in}}=-1 d V in d V o u t = − 1 .
V O H ≈ V D D V_{OH}\approx V_{DD} V O H ≈ V D D , V O L ≈ 0 V_{OL}\approx 0 V O L ≈ 0 .
Noise margins: N M H = V O H − V I H NM_H=V_{OH}-V_{IH} N M H = V O H − V I H , N M L = V I L − V O L NM_L=V_{IL}-V_{OL} N M L = V I L − V O L .
WHY unity-gain? For ∣ slope ∣ > 1 |\text{slope}|>1 ∣ slope ∣ > 1 the gate attenuates noise (output swing smaller than input wiggle → signal restored). The − 1 -1 − 1 slope points mark the boundary between "cleaning up" and "amplifying" noise. Anything inside those points is safely in the transition and gets pushed to a rail. Big noise margins = robust logic.
"V M V_M V M is always V D D / 2 V_{DD}/2 V D D /2 ."
Why it feels right: textbooks draw the symmetric inverter, and 0/1 "should" be symmetric.
The truth: V M = V D D / 2 V_M=V_{DD}/2 V M = V D D /2 only when β n = β p \beta_n=\beta_p β n = β p (and V T n = ∣ V T p ∣ V_{Tn}=|V_{Tp}| V T n = ∣ V T p ∣ ). Real PMOS is weaker, so with equal W W W the inverter has r < 1 r<1 r < 1 and V M < V D D / 2 V_M<V_{DD}/2 V M < V D D /2 . You must upsize the PMOS to center it.
"In region C the output is undefined/floating."
Why it feels right: the curve is nearly vertical, seems unstable.
The fix: it's perfectly defined — both transistors are saturated current sources and current balance pins V o u t V_{out} V o u t . It's just very sensitive (high gain), not floating. This region also draws a short-circuit current spike (both devices ON) — a real power cost.
"Sign of the slope doesn't matter for noise margin."
Why it feels right: people write "gain > 1".
The fix: an inverter's gain is negative ; the noise-margin condition is d V o u t d V i n = − 1 \frac{dV_{out}}{dV_{in}}=-1 d V in d V o u t = − 1 , i.e. magnitude 1. Using + 1 +1 + 1 finds nothing on the curve.
Recall Test yourself (hidden)
What constraint defines every point on the VTC? ⇒ I D N = I D P I_{DN}=I_{DP} I D N = I D P (KCL).
In which region are BOTH transistors saturated? ⇒ the transition region (C), at/near V M V_M V M .
What makes V M V_M V M shift up toward V D D V_{DD} V D D ? ⇒ stronger PMOS (larger r = β p / β n r=\sqrt{\beta_p/\beta_n} r = β p / β n ).
Define V I L , V I H V_{IL},V_{IH} V I L , V I H . ⇒ points where slope = − 1 =-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.
"CS-SS-ST-SS-CS reads the same backwards" — the region sequence of (NMOS state, PMOS state) as V i n V_{in} V in rises is symmetric: C utoff→S at→S at(both)→T riode→cut for NMOS mirrors PMOS. Middle = S aturation S aturation = steep switching.
And: "Weaker P → V_M lower; boost W_p to center."
What DC constraint holds at every point of the CMOS inverter VTC? I D N = I D P I_{DN}=I_{DP} I D N = I D P (KCL: series transistors, output cap fully charged).
Which two device states occur simultaneously at V M V_M V M ? Both NMOS and PMOS in saturation.
Formula for switching threshold V M V_M V M with r = β p / β n r=\sqrt{\beta_p/\beta_n} r = β p / β n ? V M = V T n + r ( V D D − ∣ V T p ∣ ) 1 + r V_M=\dfrac{V_{Tn}+r(V_{DD}-|V_{Tp}|)}{1+r} V M = 1 + r V T n + r ( V D D − ∣ V T p ∣ ) .
Condition on r r r for a symmetric inverter (V M = V D D / 2 V_M=V_{DD}/2 V M = V D D /2 , equal V T V_T V T )? r = 1 r=1 r = 1 , i.e.
β n = β p \beta_n=\beta_p β n = β p .
Why must W p > W n W_p>W_n W p > W n for a centered V M V_M V M ? Hole mobility < electron mobility (
k p ′ < k n ′ k_p'<k_n' k p ′ < k n ′ ), so PMOS width must grow to equalize strength.
How are V I L V_{IL} V I L and V I H V_{IH} V I H defined on the VTC? Points where
d V o u t / d V i n = − 1 dV_{out}/dV_{in}=-1 d V o u t / d V in = − 1 (unity-gain points).
Noise margins in terms of VTC levels? N M H = V O H − V I H NM_H=V_{OH}-V_{IH} N M H = V O H − V I H ,
N M L = V I L − V O L NM_L=V_{IL}-V_{OL} N M L = V I L − V O L .
What happens to V M V_M V M if PMOS is made stronger (r increases)? V M V_M V M increases (moves toward
V D D V_{DD} V D D ).
Why is the transition region so steep? Both devices act as saturated current sources; small
Δ V i n \Delta V_{in} Δ V in needs large
Δ V o u t \Delta V_{out} Δ V o u t to keep currents equal → high gain.
Extra cost of operating in the transition region? Short-circuit (crowbar) current, since both transistors conduct simultaneously.
CMOS Inverter — the device whose VTC this is.
MOSFET IV Characteristics — triode/saturation square-law equations used in the derivation.
Noise Margins — computed from V I L , V I H , V O H , V O L V_{IL},V_{IH},V_{OH},V_{OL} V I L , V I H , V O H , V O L .
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.
Ratio r = sqrt of beta_p/beta_n
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 V M V_M V M (switching threshold) kehte hain, aur wahaan dono transistor saturation mein hote hain — dono current source ki tarah, isliye slope bahut zyada.
Formula: V M = V T n + r ( V D D − ∣ V T p ∣ ) 1 + r V_M = \frac{V_{Tn}+r(V_{DD}-|V_{Tp}|)}{1+r} V M = 1 + r V T n + r ( V D D − ∣ V T p ∣ ) , jahan r = β p / β n r=\sqrt{\beta_p/\beta_n} r = β p / β n . Agar PMOS strong hai (bada r r r ), to V M V_M V M upar ki taraf shift karta hai. Symmetric inverter (V M = V D D / 2 V_M=V_{DD}/2 V M = V D D /2 ) ke liye r = 1 r=1 r = 1 chahiye, yaani β n = β p \beta_n=\beta_p β n = β p . Lekin holes electrons se slow hote hain, isliye PMOS ko chauda banana padta hai (W p > W n W_p > W_n W 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.