VDMOS few model parameter default corrections

This commit is contained in:
dwarning 2020-09-24 09:39:54 +02:00 committed by Holger Vogt
parent 280bea9d50
commit f2e902b2bb
3 changed files with 13 additions and 7 deletions

View File

@ -117,9 +117,9 @@ IFparm VDMOSmPTable[] = { /* model parameters */
IOP("vj", VDIO_MOD_VJ, IF_REAL, "Body diode junction potential"),
/* body diode capacitance (e.g. source-drain capacitance) */
IOP("fc", VDIO_MOD_FC, IF_REAL, "Body diode coefficient for forward-bias depletion capacitance formula"),
IOPA("cjo", VDIO_MOD_CJ, IF_REAL, "Zero-bias body diode junction capacitance"),
IOP("m", VDIO_MOD_MJ, IF_REAL, "Body diode grading coefficient"),
IOP("fc", VDIO_MOD_FC, IF_REAL, "Body diode coefficient for forward-bias depletion capacitance formula"),
/* gate-source and gate-drain capacitances */
IOPA("cgdmin", VDMOS_MOD_CGDMIN, IF_REAL, "Minimum non-linear G-D capacitance"),

View File

@ -101,6 +101,9 @@ VDMOSmAsk(CKTcircuit *ckt, GENmodel *inst, int which, IFvalue *value)
case VDIO_MOD_MJ:
value->rValue = model->VDIOgradCoeff;
return(OK);
case VDIO_MOD_FC:
value->rValue = model->VDIOdepletionCapCoeff;
return(OK);
case VDIO_MOD_BV:
value->rValue = model->VDIObv;
return(OK);
@ -113,9 +116,6 @@ VDMOSmAsk(CKTcircuit *ckt, GENmodel *inst, int which, IFvalue *value)
case VDMOS_MOD_RDS:
value->rValue = model->VDMOSrds;
return(OK);
case VDIO_MOD_FC:
value->rValue = model->VDIOdepletionCapCoeff;
return(OK);
case VDIO_MOD_TT:
value->rValue = model->VDIOtransitTime;
return(OK);

View File

@ -31,18 +31,21 @@ VDMOSsetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt,
if (!model->VDMOStypeGiven)
model->VDMOStype = NMOS;
if (!model->VDIOjctSatCurGiven)
model->VDIOjctSatCur = 1e-14;
if (!model->VDMOStransconductanceGiven)
model->VDMOStransconductance = 1;
if (!model->VDMOSvth0Given)
model->VDMOSvth0 = 0;
if (!model->VDIOjctSatCurGiven)
model->VDIOjctSatCur = 1e-14;
if (!model->VDIOjunctionPotGiven)
model->VDIOjunctionPot = .8;
if (!model->VDIOjunctionCapGiven)
model->VDIOjunctionCap = 0.;
if (!model->VDIOgradCoeffGiven)
model->VDIOgradCoeff = .5;
@ -118,6 +121,9 @@ VDMOSsetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt,
if (!model->VDIOegGiven)
model->VDIOeg = 1.11;
if (!model->VDIOxtiGiven)
model->VDIOxti = 3.0;
if (!model->VDMOSrthjcGiven)
model->VDMOSrthjc = 1.0e-03;