FETtraces

CMOS & switches

CMOS inverter

Voltage transfer curve, switching threshold, noise margins and crowbar current.

Inputs
Voltage transfer characteristicVout · Vin
0V500mV1V1.5V2V2.5V3V0V500mV1V1.5V2V2.5V3VVoutVinVILVIHVM 1.45 V
  • Vout
  • Vout = Vin
Results

Balanced: the switching point sits near mid-supply.

V_MSwitching threshold
1.45 V
V_{IL}Highest valid low input
1.16 V
V_{IH}Lowest valid high input
1.64 V
NM_LLow noise margin
902 mV
NM_HHigh noise margin
1.48 V
|A_v|_{max}Peak gain
56.1 V/V
I_{peak}Crowbar current peak
59.4 µA
Supply current during the transitionIDD · Vin
0V500mV1V1.5V2V2.5V3V0A20µA40µA60µA80µAIDDVin
  • shoot-through current

How it works

The NMOS pulls the output down, the PMOS pulls it up, and the same current must flow through both. For each input voltage the tool finds the output voltage at which I_{Dn}=I_{Dp}. Near the middle both devices are saturated and the output swings rapidly; that is where the gain is. Setting\;V_{out}=V_{in} gives the switching threshold:

V_M=\frac{V_{DD}-|V_{tp}|+V_{tn}\sqrt{K_n/K_p}}{1+\sqrt{K_n/K_p}}

V_{IL} and V_{IH} are the points where the slope is −1. Inputs outside them are restored toward the rails; the noise margins are\;NM_L=V_{IL}-V_{OL} and NM_H=V_{OH}-V_{IH}. A channel-length modulation of λ = 0.04 V⁻¹ is assumed so that the gain is finite.

Practical notes

  • Equal gains and equal thresholds put V_M at mid-supply and make the margins symmetrical. Since hole mobility is lower, the PMOS is drawn two to three times wider.
  • The lower plot is why slow input edges waste power: while the input lingers mid-swing, both devices conduct. Unbuffered inverters used as linear amplifiers or oscillators sit at this point permanently.
  • Skewing V_M on purpose is how level translators and Schmitt-style input stages are tuned.

References