CMOS & switches
CMOS inverter
Voltage transfer curve, switching threshold, noise margins and crowbar current.
- Vout
- Vout = Vin
- 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
- H. J. M. Veendrick (1984), Short-circuit dissipation of static CMOS circuitry and its impact on the design of buffer circuits, IEEE J. Solid-State Circuits SC-19(4), 468–473.
- H. Shichman & D. A. Hodges (1968), Modeling and simulation of insulated-gate field-effect transistor switching circuits, IEEE J. Solid-State Circuits SC-3(3), 285–289.