VDMOS rise minimal diode resistance for better convergence
This commit is contained in:
parent
5c5f43d122
commit
793c82d384
|
|
@ -107,7 +107,7 @@ VDMOSsetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt,
|
|||
model->VDMOSrds = 1.0e+15;
|
||||
|
||||
if (!model->VDIOresistanceGiven)
|
||||
model->VDIOresistance = 1.0e-03;
|
||||
model->VDIOresistance = 10e-03;
|
||||
|
||||
if (!model->VDMOSnGiven)
|
||||
model->VDMOSn = 1.;
|
||||
|
|
@ -242,10 +242,10 @@ VDMOSsetup(SMPmatrix *matrix, GENmodel *inModel, CKTcircuit *ckt,
|
|||
} else {
|
||||
here->VDMOSdsConductance = 1e-15;
|
||||
}
|
||||
if (model->VDIOresistance != 0) {
|
||||
if (model->VDIOresistance > 10e-03) {
|
||||
here->VDIOconductance = here->VDMOSm / model->VDIOresistance;
|
||||
} else {
|
||||
here->VDIOconductance = here->VDMOSm / 1.0e-03;
|
||||
here->VDIOconductance = here->VDMOSm / 10e-03;
|
||||
}
|
||||
|
||||
if (model->VDMOSdrainResistance != 0) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue