The square law and where SKY130 departs from it
Derive the square law, test it on SKY130 devices with a plot of the square root of the current, and measure how far velocity saturation and mobility degradation pull a short channel away from it.
- Lesson
- E2.3
- Time
- 30 min
- Runs on
- ngspice
- Check
- 5 questions
By the square law, two NMOS devices with the same width-to-length ratio W/L carry the same current. A driver was sized that way with W/L = 1.5/0.15 µm, copying a 10/1 µm device that carried 1.40 mA at VGS = VDS = 1.8 V. The short device carried 0.73 mA, about half.
- id_short
- id_long
- Gate-source voltage VGS 1.2 Vid_short = 281.7 µA · id_long = 449.8 µA
At 1.2 V the long device carries 450 µA, the short one 282 µA.
- Gate-source voltage VGS 1.8 Vid_short = 731.1 µA · id_long = 1.396 mA
At 1.8 V: 1.396 mA against 0.731 mA. The short device gains less from each extra 0.1 V of gate drive.
Read the plot as a table
| Gate-source voltage VGS | id_short | id_long |
|---|---|---|
| 0 V | 2.408 pA | 2.616 pA |
| 200 mV | 88.92 pA | 189.6 pA |
| 400 mV | 12.35 nA | 39.33 nA |
| 600 mV | 1.314 µA | 4.15 µA |
| 800 mV | 33.49 µA | 66.39 µA |
| 1 V | 141.9 µA | 222.6 µA |
| 1.2 V | 281.7 µA | 449.8 µA |
| 1.4 V | 429.6 µA | 731.5 µA |
| 1.6 V | 580.2 µA | 1.051 mA |
| 1.8 V | 731.1 µA | 1.396 mA |
Measured on ngspice 42, SKY130 tt (901 points).
The square law is a long-channel model, and the short device broke three of its assumptions at once.
The square law in four steps
- Same gate, same drain
Both gates see the same VGS and both drains the same 1.8 V. Only the sizes differ, and W/L is 10 for both.
- Two currents
The square law predicts equal currents. The run finds 0.731 mA in M1 and 1.396 mA in M3 at VGS = 1.8 V.
1.40 mA
Read the circuit as text
- VGS voltage source (0 → 1.8 V): + →
n1, − →0 - M1 NMOS transistor (W/L = 1.5/0.15): gate →
n1, drain →n2, source →0 - M3 NMOS transistor (W/L = 10/1): gate →
n1, drain →n2, source →0 - VD voltage source (1.8 V): + →
n2, − →0
The gate wire to M3 crosses M1's drain wire without a dot: they are not connected. The lab adds a third length, 3/0.3 µm.
The square law comes from a few lines of physics. Each step uses an assumption, named in it.
Charge
Above threshold the gate holds a sheet of mobile charge under the oxide. Per unit area it is Cox(VGS − Vth − V(x)), where Cox is the oxide capacitance per area and V(x) the channel voltage at position x. Assumption: Vth is fixed.
Velocity
The charge drifts with velocity μ·E, where μ is the mobility and E = dV/dx the field along the channel. Assumption: μ is constant and velocity grows in proportion to the field.
Integrate
Current is charge per length times width times velocity. Integrating from source to drain gives ID = μCox(W/L)[(VGS − Vth)VDS − VDS2/2] in triode.
Saturate
The bracket peaks at VDS = VGS − Vth. Beyond it ID = ½·μCox·(W/L)·(VGS − Vth)2: current grows with W/L and with the square of the overdrive.
Take the square root of both sides: √ID = √(½μCoxW/L)·(VGS − Vth). If the law holds, √ID against VGS is a straight line that crosses zero at Vth. That makes a simple test.
Testing it with a square-root plot
The lab runs three devices with W/L = 10 at L = 0.15, 0.3 and 1 µm, with VDS = 1.8 V. The figure plots √ID in units of √µA, so 30 means 900 µA. The dashed line is fitted to the long device at 1.0 and 1.2 V.
- s1
- s2
- s3
- fit
- Gate-source voltage VGS 1 Vs1 = 11.91 · s2 = 12.31 · s3 = 14.92 · fit = 14.92
s1, s2 and s3 are the 0.15, 0.3 and 1 µm devices. The fit passes through the long device here, at 14.92.
- Gate-source voltage VGS 1.2 Vs1 = 16.78 · s2 = 17.89 · s3 = 21.21 · fit = 21.21
Second fit point: 21.21. The line's slope is 31.4 õA per volt, and it crosses zero at Vth = 0.526 V.
- Gate-source voltage VGS 1.5 Vs1 = 22.47 · s2 = 24.91 · s3 = 29.79 · fit = 30.64
The long device already bends below its own line. The short one has bent from the start: its curve is flatter everywhere above 1 V.
- Gate-source voltage VGS 1.8 Vs1 = 27.04 · s2 = 30.64 · s3 = 37.36 · fit = 40.07
The fit predicts 40.07, which is 1.606 mA. The long device reaches 37.36 (1.396 mA), 13 % short. The short one reaches 27.04 (0.731 mA), 54 % short.
Read the plot as a table
| Gate-source voltage VGS | s1 | s2 | s3 | fit |
|---|---|---|---|---|
| 0 V | 0.001552 | 0.001454 | 0.001617 | -16.53 |
| 200 mV | 0.00943 | 0.007676 | 0.01377 | -10.24 |
| 400 mV | 0.1111 | 0.1006 | 0.1983 | -3.949 |
| 600 mV | 1.146 | 1.086 | 2.037 | 2.34 |
| 800 mV | 5.787 | 5.911 | 8.148 | 8.629 |
| 1 V | 11.91 | 12.31 | 14.92 | 14.92 |
| 1.2 V | 16.78 | 17.89 | 21.21 | 21.21 |
| 1.4 V | 20.73 | 22.73 | 27.05 | 27.5 |
| 1.5 V | 22.47 | 24.91 | 29.79 | 30.64 |
| 1.6 V | 24.09 | 26.95 | 32.43 | 33.79 |
| 1.8 V | 27.04 | 30.64 | 37.36 | 40.07 |
Measured on ngspice 42, SKY130 tt (901 points). The fit line is computed in the same run from the L = 1 µm curve.
The slope gives the process constant: ½μCox·10 = (31.4455 × 10−3)2 A/V2, so μCox ≈ 198 µA/V2. With that and Vth = 0.526 V, the square law predicts 1.606 mA for every W/L = 10 device at 1.8 V. No length reaches it.
Where the missing current goes
Velocity saturation. In a short channel the field along it is high. Beyond a point, carriers stop speeding up with the field and drift at a nearly fixed velocity. The current then grows more slowly than the square of the overdrive, closer to linearly.
Mobility degradation. A high gate voltage pulls carriers against the oxide surface, where they scatter more and move more slowly. This lowers μ at high VGS for any length, and it is one reason even the 1 µm device falls 13 % short.
A higher threshold. The short device starts later (E2.2). Its constant-current threshold (1 µA, which is 100 nA × W/L) at VDS = 1.8 V is 0.587 V against 0.533 V for the long one. Both sit below their 50 mV values of E2.2 because of DIBL.
One test separates the shape from the threshold: the current ratio from VGS = 1.2 V to 1.8 V. The alpha-power law fits ID ∝ (VGS − Vth)α to each device. Its exponent is 2 for the square law and 1 for a fully velocity-saturated device.
| Device | ID at 1.2 V | ID at 1.8 V | Ratio | α |
|---|---|---|---|---|
| Square law, Vth = 0.526 V | i_sq = 1.606002e-03 | 3.57 | 2 | |
| L = 1 µm | i_long12 = 4.497645e-04 | i_long = 1.395636e-03 | 3.10 | 1.76 |
| L = 0.15 µm | i_short12 = 2.816613e-04 | i_short = 7.310950e-04 | 2.60 | 1.40 |
α = ln(ratio) / ln((1.8 − Vth) / (1.2 − Vth)), each device with its own 1 µA threshold (vt_long, vt_short). The square-law ratio is ((1.8 − 0.526)/(1.2 − 0.526))2.
The fix is to size from the device you will use. Scaling the short device's width by the measured current, not by W/L, matches the long one.
Sized by the square law
* W/L = 10, copied from the 10/1 device
XN1 d1 g 0 0 sky130_fd_pr__nfet_01v8 W=1.5 L=0.15
i_short = 7.310950e-04: 0.731 mA where 1.396 mA was needed.
Sized from the short device's own curve
* W = 1.5 x 1.396 / 0.731 = 2.86, trimmed to 2.81 by a rerun
XN4 d4 g 0 0 sky130_fd_pr__nfet_01v8 W=2.81 L=0.15
i_wide = 1.396401e-03: within 0.1 % of the 10/1 device.
Both measured on the lab netlist at VGS = VDS = 1.8 V. The first guess of 2.86 µm overshot, because at these widths current grows slightly faster than W.
The PMOS adds a second gap. At W/L = 2/0.15 µm, |VGS| = 0.9 V and |VDS| = 1.8 V the NMOS carries 113.7 µA and the PMOS 39.8 µA, a ratio of 2.85: lower hole mobility and a larger threshold together. As a cross-check, a 7/0.15 µm NMOS at VGS = VDS = 1.8 V gives 3.523 mA, and the SKY130 documentation lists 3.512 mA for that size in tt.
Asked in interviews
Derive the saturation current of a MOSFET.
Channel charge Cox(VGS − Vth − V(x)) drifts at μ·dV/dx; integrate along the channel to get the triode law, then set VDS = VGS − Vth: ID = ½μCox(W/L)(VGS − Vth)2.
Where does the square law fail?
At short L (velocity saturation), at high VGS (mobility degradation), near and below threshold (weak inversion), and wherever Vth depends on L and VDS. On SKY130, a 0.15 µm device reaches 46 % of the square-law current at 1.8 V.
What is velocity saturation, and how does it change ID against VGS?
Above a critical field, carrier velocity stops rising with field. Current then grows roughly linearly with overdrive. In the alpha-power law α falls from 2 toward 1; the lab fits 1.40 at L = 0.15 µm and 1.76 at 1 µm.
Try it
The fit line is built inside the run: s3[500] and s3[600] are the long device's √ID at 1.0 and 1.2 V, and i_fit squares the line back into a current. Open Plots to see every curve, including fit.
Move the fit points to 0.8 and 0.9 V (points 400 and 450, divide by 0.1) and watch vt_fit and i_sq change. Near threshold the long device is not square-law either, so the "constants" depend on where you fit them.
Run the netlist to draw its plots here.
vt_fit = 5.255745e-01 i_sq = 1.606002e-03 i_short = 7.310950e-04 i_mid = 9.389375e-04 i_long = 1.395636e-03 i_short12 = 2.816613e-04 i_long12 = 4.497645e-04 vt_short = 5.871762e-01 vt_long = 5.333321e-01 i_wide = 1.396401e-03 i_7_015 = 3.522883e-03 in_09 = 1.136616e-04 ip_09 = 3.981684e-05Check yourself
Remember
- The square law, ID = ½μCox(W/L)(VGS − Vth)2, assumes constant mobility, velocity proportional to field and a fixed threshold.
- Plot √ID against VGS: a square-law device gives a straight line through zero at Vth.
- On SKY130 at 1.8 V, W/L = 10 devices reach 87 % (L = 1 µm) and 46 % (L = 0.15 µm) of the square-law current: mobility degradation for both, velocity saturation and a higher threshold for the short one.
- Size short devices from their own measured curves; use the square law for direction, not for numbers.