S1 · Lesson 49 · MOSFET lab
Thresholds, velocity saturation, parameter extraction and g_m/I_D, in Python
Turning a MOSFET's measured curves into model parameters is a daily job in device engineering: threshold voltage from the linear-region curve, subthreshold swing from the log plot, the effect of velocity saturation on drive current, and the transconductance efficiency that analog designers size circuits by. This lab writes each extraction in Python and tests it on synthetic curves with known answers, including the realistic complications (mobility degradation, finite step sizes) that make the textbook formulas only approximately right.
- The curve is a MOSFET's saturation current against channel length at 0.5 V of overdrive, with velocity saturation (, ), against the long-channel square law (dashed).
- At long channels they agree; below a micrometer velocity saturation takes over, and halving L no longer doubles the current.
- Raise the mobility: the critical field drops, and saturation sets in at longer channels.
Predict
At 50 nm, 1.5 nm of oxide and 0.5 V of overdrive (μ = 300, cm/s), what fraction of the square-law current does a 1 µm wide transistor deliver?
V, so the current is mA against the square law's 1.73 mA: 40%. Short transistors are faster mostly because their capacitance is smaller, not because they carry more current per volt.
Name it
The tools
- Threshold: .
- Short-channel current: with , which reduces to the square law for long channels.
- Threshold extraction: in the linear region at small , find the gate voltage of maximum , extend the tangent there to zero current, and subtract .
- Swing: the steepest in the subthreshold region.
- : the transconductance efficiency, at most in weak inversion and falling as in strong inversion.
Check
Write vt(phi_ms, Qox, Cox, NA, Vsb=0.0, ni=1e10): the threshold voltage (V) from the formula above, with = 0.02585 V, = 1.036 × 10⁻¹² F/cm and in C/cm².
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
Write idsat(vov, W, L, Cox, mu, vsat): the velocity-saturated saturation current (A), all in cm-based units, returning 0 for vov ≤ 0.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
Write vt_extract(vgs, ids, vds): from a linear-region transfer curve at small vds, find the point of maximum (central differences), extrapolate its tangent to = 0, and return that intercept minus vds/2.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
Write swing(vgs, ids): the smallest between neighboring points where the current is positive and rising, and gm_over_id(vgs, ids): the list of (central differences) at the interior points.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Explain why
Why do analog designers size MOSFETs by rather than by overdrive voltage?
The transconductance efficiency says how much gain each unit of bias current buys, and it varies smoothly across weak, moderate and strong inversion, from about , near 25 to 30 per volt, down to at high overdrive. The overdrive voltage, by contrast, loses its meaning in weak inversion, where the square law fails and the threshold is fuzzy. Choosing first fixes the trade between power and speed (high is efficient but slow, low is fast but power-hungry), and the transistor's width then follows from the current, using curves measured or simulated for the actual process.