Package Modelica.​Electrical.​Spice3.​Internal.​Mos
Records and functions for MOSFETs level 1,2,3,6

Information

This package Mos contains functions and records with data of the MOSFET models level 1, 2, 3 and 6.

Extends from Modelica.​Icons.​InternalPackage (Icon for an internal package (indicating that the package should not be directly utilized by user)).

Package Contents

NameDescription
CurrrentsCapacitancesCurrents and Capacities
DEVqmeyerMeyer capacities and charge
mos2CalcCalcTempDependenciesPrecalculation relating to temperature obsolete, use mos2CalcCalcTempDependenciesRevised
mos2CalcCalcTempDependenciesRevisedPrecalculation relating to temperature
mos2CalcInitEquationsMosfet initial precalculations (level 1) obsolete, use mos2CalcInitEquationsRevised
mos2CalcInitEquationsRevisedMosfet initial precalculations (level 2)
mos2CalcNoBypassCodeCalculation of currents and capacities (level 2) obsolete, use mos2CalcNoBypassCodeRevised
mos2CalcNoBypassCodeRevisedCalculation of currents and capacities (level 2)
MosCalcFurther MOSFET variables (for level 1, 2, 3 and 6)
mosCalcCalcTempDependenciesPrecalculation relating to temperature
mosCalcDEVqmeyerCalculation of Meyer capacities
mosCalcInitEquationsMosfet initial precalculations (level 1)
mosCalcNoBypassCodeCalculation of currents and capacities (level 1)
MosModelLineParamsRecord for Mosfet model line parameters (for level 1, 2, 3 and 6)
MosModelLineVariablesRecord for Mosfet model line variables (for level 1)

Record Modelica.​Electrical.​Spice3.​Internal.​Mos.​MosModelLineParams
Record for Mosfet model line parameters (for level 1, 2, 3 and 6)

Information

This record MosModelLineParams contains the model line parameters that are used for the MOSFET transistors level 1, 2, 3 and 6 in SPICE3.

Extends from Modelica.​Electrical.​Spice3.​Internal.​Mosfet.​MosfetModelLineParams (Record for Mosfet model line parameters).

Fields

TypeNameDescription
Realm_jctSatCurDensityJS, Bulk jct. sat. current density, input - use tSatCurDens
Resistancem_sheetResistanceRSH, Sheet resistance
Realm_bulkJctPotentialPB, Bulk junction potential, input - use tBulkPot
LinearTemperatureCoefficientm_bulkJctBotGradingCoeffMJ, Bottom grading coefficient
LinearTemperatureCoefficientm_bulkJctSideGradingCoeffMJSW, Side grading coefficient
Realm_oxideThicknessTOX, Oxide thickness unit: micron
Realm_oxideThicknessIsGivenTOX, IsGiven value
Realm_gateSourceOverlapCapFactorCGS0, Gate-source overlap cap
Realm_gateDrainOverlapCapFactorCGD0, Gate-drain overlap cap
Realm_gateBulkOverlapCapFactorCGB0, Gate-bulk overlap cap
Realm_fNcoefKF, Flicker noise coefficient
Realm_fNexpAF, Flicker noise exponent
Realm_mjswIsGivenMJSW, IsGivenValue
Realm_cgsoIsGivenCGSO, IsGivenValue
Realm_cgdoIsGivenCGDO, IsGivenValue
Realm_cgboIsGivenCGBO, IsGivenValue
Realm_pbIsGivenPB, IsGivenValue
Realm_oxideCapFactor 
Voltagem_vt0VTO, Threshold voltage
Realm_vtOIsGivenVTO IsGivenValue
Capacitancem_capBDCBD, B-D junction capacitance
Realm_capBDIsGivenCapBD IsGivenValue
Capacitancem_capBSCBS, B-S junction capacitance
Realm_capBSIsGivenCapBS IsGivenValue
CapacitancePerAream_bulkCapFactorCJ, Bottom junction cap per area
Realm_bulkCapFactorIsGivenBulk cap factor IsGivenValue
Permittivitym_sideWallCapFactorCJSW, Side grading coefficient
Realm_fwdCapDepCoeffFC, Forward bias junction fit parameter
Voltagem_phiPHI, Surface potential
Realm_phiIsGivenPhi IsGivenValue
Voltagem_gammaGAMMA, Bulk threshold parameter
Realm_gammaIsGivenGamma IsGivenValue
InversePotentialm_lambdaChannel-length modulation
Realm_substrateDopingNSUB, Substrate doping
Realm_substrateDopingIsGivenSubstrate doping IsGivenValue
Realm_gateTypeTPG, Gate type
PerArea_cmm_surfaceStateDensityNSS, Gate type
Realm_surfaceStateDensityIsGivensurfaceStateDensityIsGivenValue
Area_cmPerVoltageSecondm_surfaceMobilityUO, Surface mobility
Lengthm_latDiffLD, Lateral diffusion
Currentm_jctSatCurIS, Bulk junction sat. current
Resistancem_drainResistanceRD, Drain ohmic resistance
Realm_drainResistanceIsGivenDrain resistance IsGivenValue
Resistancem_sourceResistanceRS, Source ohmic resistance
Realm_sourceResistanceIsGivenSource resistance IsGivenValue
Transconductancem_transconductanceinput - use tTransconductance
Realm_transconductanceIsGivenTransconductance IsGivenValue
Temp_Km_tnomTNOM, Parameter measurement temperature

Record Modelica.​Electrical.​Spice3.​Internal.​Mos.​MosModelLineVariables
Record for Mosfet model line variables (for level 1)

Information

This record MosModelLineVariables contains the model line variables that are used for the MOSFET transistors level 1 SPICE3.

Extends from Modelica.​Icons.​Record (Icon for records).

Fields

TypeNameDescription
Realm_oxideCapFactor 
Voltagem_vt0 
Voltagem_phi 
Realm_gamma 
Transconductancem_transconductance 

Record Modelica.​Electrical.​Spice3.​Internal.​Mos.​MosCalc
Further MOSFET variables (for level 1, 2, 3 and 6)

Information

This record MosCalc contains further MOSFET variables (for level 1, 2, 3 and 6).

Extends from Modelica.​Electrical.​Spice3.​Internal.​Mosfet.​MosfetCalc (Mosfet Variables).

Fields

TypeNameDescription
Voltagem_vdsVds, Drain-Source voltage
Voltagem_vgsVgs, Gate-Source voltage
Voltagem_vbsVbs, Bulk-Source voltage
Currentm_cbsIbs, B-S junction current
Conductancem_gbsGbs, Bulk-Source conductance
Currentm_cbdIbd, B-D junction current
Conductancem_gbdGbd, Bulk-Drain conductance
Currentm_cdrainIds
Conductancem_gdsGds, Drain-Source conductance
Transconductancem_gmGm, Transconductance
Transconductancem_gmbsGmbs, Bulk-Source transconductance
Capacitancem_capbsbCbsb
Chargem_chargebsbQbsb
Capacitancem_capbssCbss
Chargem_chargebssQbss
Capacitancem_capbdbCbdb
Chargem_chargebdbQbdb
Capacitancem_capbdsCbds
Chargem_chargebdsQbds
Realm_BetaBeta
Capacitancem_capGSovlCgso, Gate-source overlap cap.
Capacitancem_capGDovlCgdo, Gate-drain overlap cap.
Capacitancem_capGBovlCgbo, Gate-bulk overlap cap.
Capacitancem_capOxCox
Voltagem_vonVon, Turn-on voltage
Voltagem_vdsatVdsat
Integerm_modeMode
Lengthm_lEff 
Resistancem_sourceResistanceRs
Resistancem_drainResistanceRd
Transconductancem_tTransconductance 
Area_cmPerVoltageSecondm_tSurfMob 
Voltagem_tPhi 
Voltagem_tVto 
CurrentDensitym_tSatCurDens 
Currentm_tDrainSatCur 
Currentm_tSourceSatCur 
Capacitancem_tCBDb 
Capacitancem_tCBDs 
Capacitancem_tCBSb 
Capacitancem_tCBSs 
CapacitancePerAream_tCj 
Permittivitym_tCjsw 
Voltagem_tBulkPot 
Voltagem_tDepCap 
Voltagem_tVbi 
Voltagem_VBScrit 
Voltagem_VBDcrit 
Voltagem_f1b 
Realm_f2b 
Realm_f3b 
Voltagem_f1s 
Realm_f2s 
Realm_f3s 
Voltagem_dVt 
Capacitancem_capgd 
Capacitancem_capgs 
Capacitancem_capgb 
Chargem_qgs 
Chargem_qgd 
Chargem_qgb 

Record Modelica.​Electrical.​Spice3.​Internal.​Mos.​DEVqmeyer
Meyer capacities and charge

Information

This record DEVqmeyer contains values that are needed for the calculation of the Meyer capacities and charge.

Extends from Modelica.​Icons.​Record (Icon for records).

Fields

TypeNameDescription
Capacitanceqm_capgb 
Capacitanceqm_capgs 
Capacitanceqm_capgd 
Chargeqm_qgs 
Chargeqm_qgb 
Chargeqm_qgd 
Voltageqm_vgs 
Voltageqm_vgb 
Voltageqm_vgd 

Record Modelica.​Electrical.​Spice3.​Internal.​Mos.​CurrrentsCapacitances
Currents and Capacities

Information

This record CurrentsCapacities contains values for the currents and the capacities inside the MOSFET models level 1, 2, 3 and 6.

Extends from Modelica.​Icons.​Record (Icon for records).

Fields

TypeNameDescription
Currentidrain 
CurrentiBD 
CurrentiBS 
CapacitancecGS 
CapacitancecGB 
CapacitancecGD 
CapacitancecBS 
CapacitancecBD 
Capacitancem_capgd 

Function Modelica.​Electrical.​Spice3.​Internal.​Mos.​mosCalcInitEquations
Mosfet initial precalculations (level 1)

Information

This function mosCalcInitEquations does the initial precalculation of the MOSFET parameters (level 1).

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
Mos1ModelLineParamsin_pInput record model line parameters for MOS1
SpiceConstantsin_CInput record SPICE constants
MosModelLineVariablesin_vpInput record model line variables
Mosfetin_mInput record MOSFET parameters

Outputs

TypeNameDescription
Mos1Calcout_cOutput record Mos1 calculated values

Function Modelica.​Electrical.​Spice3.​Internal.​Mos.​mosCalcCalcTempDependencies
Precalculation relating to temperature

Information

This function mosCalcCalcTempDependencies does precalculation relating to the temperature (level 1).

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
Mos1ModelLineParamsin_pInput record model line parameters for MOS1
SpiceConstantsin_CInput record SPICE constants
MosModelLineVariablesin_vpInput record model line variables
Mosfetin_mInput record MOSFET parameters
Mos1Calcin_cInput record Mos1Calc
Integerin_m_typeType of MOS transistor

Outputs

TypeNameDescription
Mos1Calcout_cOutput record with calculated values

Function Modelica.​Electrical.​Spice3.​Internal.​Mos.​mosCalcNoBypassCode
Calculation of currents and capacities (level 1)

Information

This function NoBypassCode calculates the currents (and the capacitances) that are necessary for the currents sum in the toplevelmodel (level 1).

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
Mosfetin_mInput record MOSFET parameters
Integerin_m_typeType of MOS transistor
Mos1Calcin_cInput record Mos1Calc
Mos1ModelLineParamsin_pInput record model line parameters for MOS1
SpiceConstantsin_CInput record SPICE constants
MosModelLineVariablesin_vpInput record model line variables
Booleanin_m_bInit 
Voltagein_m_pVoltageValues[4] 

Outputs

TypeNameDescription
CurrrentsCapacitancesout_cc 

Function Modelica.​Electrical.​Spice3.​Internal.​Mos.​mosCalcDEVqmeyer
Calculation of Meyer capacities

Information

This function mosCalcDEVqmeyer calculates the Meyer capacities and charge for the Meyer model.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
Voltagevgs 
Voltagevgd 
Voltagevgb 
MosCalcin_cInput variable set

Outputs

TypeNameDescription
DEVqmeyerout_qmQmeyer values

Function Modelica.​Electrical.​Spice3.​Internal.​Mos.​mos2CalcInitEquationsRevised
Mosfet initial precalculations (level 2)

Information

This function mosCalcInitEquations does the initial precalculation of the MOSFET parameters (level 2).

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
Mos2ModelLineParamsin_pInput record Mos2 values
Mosfetin_mInput record MOSFET parameters

Outputs

TypeNameDescription
Mos2Calcout_cOutput record Mos2 calculated values

Function Modelica.​Electrical.​Spice3.​Internal.​Mos.​mos2CalcInitEquations
Mosfet initial precalculations (level 1) obsolete, use mos2CalcInitEquationsRevised

Information

This function mosCalcInitEquations does the initial precalculation of the MOSFET parameters (level 2).

Extends from Modelica.​Icons.​Function (Icon for functions) and Modelica.​Icons.​ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).

Inputs

TypeNameDescription
Mos2ModelLineParamsin_pInput record Mos2 values
SpiceConstantsin_CSpice constants
Mos2ModelLineVariablesin_vpInput record model line variables
Mosfetin_mInput record MOSFET parameters

Outputs

TypeNameDescription
Mos2Calcout_cOutput record Mos2 calculated values

Function Modelica.​Electrical.​Spice3.​Internal.​Mos.​mos2CalcCalcTempDependenciesRevised
Precalculation relating to temperature

Information

This function mosCalcCalcTempDependencies does precalculation relating to the temperature (level 2).

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
Mos2ModelLineParamsin_pOutput record Mos1 calculated values
Mosfetin_mInput record MOSFET parameters
Mos2Calcin_cInput record Mos2Calc
Integerin_m_typeType of MOS transistor

Outputs

TypeNameDescription
Mos2Calcout_cOutput record with calculated values

Function Modelica.​Electrical.​Spice3.​Internal.​Mos.​mos2CalcCalcTempDependencies
Precalculation relating to temperature obsolete, use mos2CalcCalcTempDependenciesRevised

Information

This function mosCalcCalcTempDependencies does precalculation relating to the temperature (level 2).

Extends from Modelica.​Icons.​Function (Icon for functions) and Modelica.​Icons.​ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).

Inputs

TypeNameDescription
Mos2ModelLineParamsin_pOutput record Mos1 calculated values
SpiceConstantsin_CSpice constants
Mos2ModelLineVariablesin_vpInput record model line variables
Mosfetin_mInput record MOSFET parameters
Mos2Calcin_cInput record Mos2Calc
Integerin_m_typeType of MOS transistor

Outputs

TypeNameDescription
Mos2Calcout_cOutput record with calculated values

Function Modelica.​Electrical.​Spice3.​Internal.​Mos.​mos2CalcNoBypassCodeRevised
Calculation of currents and capacities (level 2)

Information

This function NoBypassCode calculates the currents (and the capacitances) that are necessary for the currents sum in the toplevelmodel (level 2).

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
Mosfetin_mInput record MOSFET parameters
Integerin_m_typeType of MOS transistor
Mos2Calcin_cInput record Mos2Calc
Mos2ModelLineParamsin_pInput record model line parameters
Booleanin_m_bInit 
Voltagein_m_pVoltageValues[4] 

Outputs

TypeNameDescription
CurrrentsCapacitancesout_ccCalculated currents and capacitances

Function Modelica.​Electrical.​Spice3.​Internal.​Mos.​mos2CalcNoBypassCode
Calculation of currents and capacities (level 2) obsolete, use mos2CalcNoBypassCodeRevised

Information

This function NoBypassCode calculates the currents (and the capacitances) that are necessary for the currents sum in the toplevelmodel (level 2).

Extends from Modelica.​Icons.​Function (Icon for functions) and Modelica.​Icons.​ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).

Inputs

TypeNameDescription
Mosfetin_mInput record MOSFET parameters
Integerin_m_typeType of MOS transistor
Mos2Calcin_cInput record Mos2Calc
Mos2ModelLineParamsin_pInput record model line parameters
SpiceConstantsin_CSpice constants
Mos2ModelLineVariablesin_vpInput record model line variables
Booleanin_m_bInit 
Voltagein_m_pVoltageValues[4] 

Outputs

TypeNameDescription
CurrrentsCapacitancesout_ccCalculated currents and capacitances
DEVqmeyerqmCalculated qmeyer values

Generated 2018-12-12 12:10:52 EST by MapleSim.