Post Go back to editing

LTSpice bug with wrong gate capacitance turn on threshold for level 1-3 models

Category: Software
Software Version: 26.1.1 and XVII

In .ac and .tran simulations with level 1-3 models with V_SB = 0, the channel capacitance does not turn on at VTO.

* MOSFET channel charge vs drain current threshold
.param vg=0.5
.step param vg 0 1.5 5m
.model n0 NMOS(LEVEL=1 VTO=0.45 KP=200u GAMMA=0 PHI=0.6 LAMBDA=0.05 TOX=4n CGSO=0 CGDO=0 CGBO=0)
.model n50 NMOS(LEVEL=1 VTO=0.45 KP=200u GAMMA=0.5 PHI=0.6 LAMBDA=0.05 TOX=4n CGSO=0 CGDO=0 CGBO=0)
.model n25 NMOS(LEVEL=1 VTO=0.45 KP=200u GAMMA=0.25 PHI=0.6 LAMBDA=0.05 TOX=4n CGSO=0 CGDO=0 CGBO=0)
.model p25 PMOS(LEVEL=1 VTO=-0.45 KP=200u GAMMA=0.25 PHI=0.6 LAMBDA=0.05 TOX=4n CGSO=0 CGDO=0 CGBO=0)
Vg_n vgn 0 {vg} AC 1
Vd_n vdn 0 1
Vg_p vgp 0 {-vg} AC 1
Vd_p vdp 0 -1
M_n0 vdn vgn 0 0 n0 W=10u L=2u
M_n50 vdn vgn 0 0 n50 W=10u L=2u
M_n25 vdn vgn 0 0 n25 W=10u L=2u
M_p25 vdp vgp 0 0 p25 W=10u L=2u
.ac list 1Meg
.end

For levels 2 and 3, change LEVEL=1 to LEVEL=2 or LEVEL=3.

Plot these against vg, as magnitudes on linear axes:

  • Id(M_x): this is g_m.
  • (Is(M_x)+Id(M_x))/(2*pi*1e6): this is channel C, C_GS + C_GD.
  • Ib(M_x)/(2*pi*1e6): this is C_GB.

Here's a table of models and the vGS/SG at which point gm or C's turn on:

Device g_m on Channel C on, 26.1.1 Channel C on, XVII
M_n0 (GAMMA 0) 0.45 V 0.64 V already on at 0 V
M_n50 (GAMMA 0.5) 0.45 V 0.26 V already on at 0 V
M_n25 (GAMMA 0.25) 0.45 V 0.45 V already on at 0 V
M_p25 (PMOS, GAMMA 0.25) 0.45 V 1.14 V already on at 0 V

At V_SB = 0, GAMMA should have no effect. Every device should turn on at VTO (Meyer ramps C_GS up over the PHI/2 below it), the NMOS/PMOS pair identically, and reach (2/3)*Cox*W*L = 115.1 fF in saturation. The 115.1 fF value is right. The charge threshold, where the channel charge turns on, is not:

  • 26.1.1: the charge threshold moves with GAMMA and is different between N and PMOS.
  • XVII: the charge threshold ignores VTO and GAMMA and depends only on PHI. With PHI = 0.6 V there is 115.1 fF of channel C at v_GS = 0, where nothing conducts.

Hypothesis

I tried to fit the equation from v_GS sweeps with GAMMA, TOX, VTO and PHI varied on the card.
The channel charge turns on at V_FB + PHI + 0.25*sqrt(PHI) instead of the VTO already set in the model card. The depletion C_GB follows (Cox/Cgb)^2 = 1 + 4*(v_GB - V_FB)/0.25^2. In both, 0.25 takes the place of GAMMA no matter what the card gamma is. V_FB is:

  • 26.1.1: VTO - PHI - GAMMA*sqrt(PHI), with the sign wrong for PMOS.
  • XVII: -1 V for every card.

So in XVII the charge threshold is -0.21 V for PHI = 0.6 V.

Consequences

  • Missing channel charge: a device biased between VTO and its charge threshold conducts with no channel charge. At |v_GS| = 0.55 V, M_n0 and M_p25 both conduct with Gm = 105 uS, but the 26.1.1 .ac gives Cgs = 0, with Cgb of 25.5 fF and 45.8 fF, because their charge thresholds (0.64 V and 1.14 V) are above 0.55 V. The .op table hides this: it prints Cgs = 115 fF and Cgb = 0.
  • Erroneous C_GD: the charge model measures overdrive from its own charge threshold. With V_DS = 1 V it adds C_GD (as if entering triode) from v_GS = 1.35 V on M_n50 in 26.1.1, and from 0.885 V on every device in XVII. The DC model stays saturated up to 1.45 V. So a saturated device with small V_DS can get an erroneous C_GD when its charge threshold is below VTO.

Separate issue: .op table for PMOS

At |v_GS| = 0.2 V, where both are off, both versions print Meyer values for M_n0 (Cgs/Cgb = 19.2/71.9 fF) but saturation values for M_p25 (115/0 fF).

Parents Reply Children
No Data

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.