Package Modelica.​Electrical.​Spice3.​Internal.​Mos2
Records and functions for MOSFETs level 2

Information

This package Mos2 contains functions and records with data of the MOSFET model level 2.

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

Package Contents

NameDescription
drainCurDrain current calculation obsolete, use drainCurRevised
drainCurRevisedDrain current calculation
Mos2CalcFurther MOSFET variables (for level 2)
Mos2ModelLineParamsRecord for Mosfet model line parameters (for level 2)
mos2ModelLineParamsInitEquationsInitial precalculation obsolete, use mos2ModelLineParamsInitEquationsRevised
mos2ModelLineParamsInitEquationsRevisedInitial precalculation
Mos2ModelLineVariablesRecord for Mosfet model line variables (for level 2)
mos2RenameParametersParameter renaming to internal names obsolete, use mos2RenameParametersRevised
mos2RenameParametersDevDevice parameter renaming to internal names
mos2RenameParametersRevisedParameter renaming to internal names

Record Modelica.​Electrical.​Spice3.​Internal.​Mos2.​Mos2ModelLineParams
Record for Mosfet model line parameters (for level 2)

Information

This record Mos1ModelLineParams contains the model line parameters that are used for the MOSFET transistors level 2 in SPICE3.

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

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
Realm_narrowFactorDELTA, Width effect on threshold
Realm_critFieldExpUEXP, Crit. field exp for mob. deg
ElectricFieldStrength_cmm_critFieldUCRIT, Crit. field for mob. degradation
Velocitym_maxDriftVelVMAX, Maximum carrier drift velocity
Lengthm_junctionDepthXJ, Junction depth
Chargem_channelChargeNEFF, Total channel charge coeff
PerArea_cmm_fastSurfaceStateDensityNFS, Fast surface state density
Realm_xd 

Record Modelica.​Electrical.​Spice3.​Internal.​Mos2.​Mos2ModelLineVariables
Record for Mosfet model line variables (for level 2)

Information

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

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

Fields

TypeNameDescription
Realm_oxideCapFactor 
Voltagem_vt0 
Voltagem_phi 
Realm_gamma 
Transconductancem_transconductance 
Realm_bulkCapFactor 
Realm_substrateDoping 
Realm_xd 

Record Modelica.​Electrical.​Spice3.​Internal.​Mos2.​Mos2Calc
Further MOSFET variables (for level 2)

Information

This record Mos1Calc contains further MOSFET variables (for level 2) that are needed for the calculations.

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

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 

Function Modelica.​Electrical.​Spice3.​Internal.​Mos2.​mos2ModelLineParamsInitEquations
Initial precalculation obsolete, use mos2ModelLineParamsInitEquationsRevised

Information

This function mos1ModelLineParamsInitEquation does the initial precalculation of the MOSFET model line parameters for 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 model line parameters for MOS2
SpiceConstantsin_CSpice constants
Integerin_m_typeType of MOS transistor

Outputs

TypeNameDescription
Mos2ModelLineVariablesout_vOutput record with model line variables

Function Modelica.​Electrical.​Spice3.​Internal.​Mos2.​mos2ModelLineParamsInitEquationsRevised
Initial precalculation

Information

This function mos1ModelLineParamsInitEquation does the initial precalculation of the MOSFET model line parameters for level 2.

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

Inputs

TypeNameDescription
Mos2ModelLineParamsin_pInput record model line parameters for MOS2
Integerin_m_typeType of MOS transistor

Outputs

TypeNameDescription
Mos2ModelLineParamsout_pInput record model line parameters for MOS2

Function Modelica.​Electrical.​Spice3.​Internal.​Mos2.​drainCurRevised
Drain current calculation

Information

This function drainCur calculates the main currents that flows from drain node to source node (level 2).

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

Inputs

TypeNameDescription
Voltagevbs 
Voltagevgs 
Voltagevds 
Mosfetin_mRecord MOSFET
Mos2Calcin_cInput record Mos2Calc
Mos2ModelLineParamsin_pInput record model line parameters for MOS2
Integerin_m_typeType of MOS transistor

Outputs

TypeNameDescription
Mos2Calcout_cOutput record Mos2Calc

Function Modelica.​Electrical.​Spice3.​Internal.​Mos2.​drainCur
Drain current calculation obsolete, use drainCurRevised

Information

This function drainCur calculates the main currents that flows from drain node to source node (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
Voltagevbs 
Voltagevgs 
Voltagevds 
Mosfetin_mRecord MOSFET
Mos2Calcin_cInput record Mos2Calc
Mos2ModelLineParamsin_pInput record model line parameters for MOS2
SpiceConstantsin_CSpice constants
Mos2ModelLineVariablesin_vpInput record model line variables
Integerin_m_typeType of MOS transistor

Outputs

TypeNameDescription
Mos2Calcout_cOutput record Mos2Calc

Function Modelica.​Electrical.​Spice3.​Internal.​Mos2.​mos2RenameParametersRevised
Parameter renaming to internal names

Information

This function mos2RenameParameters assigns the external (given by the user, e.g., RD) technology parameters to the internal parameters (e.g., m_drainResistance). It also does the analysis of the IsGiven values (level 2).

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

Inputs

TypeNameDescription
ModelcardMOS2exModelcard with technology parameters

Outputs

TypeNameDescription
Mos2ModelLineParamsinternOutput record model line parameters

Function Modelica.​Electrical.​Spice3.​Internal.​Mos2.​mos2RenameParameters
Parameter renaming to internal names obsolete, use mos2RenameParametersRevised

Information

This function mos2RenameParameters assigns the external (given by the user, e.g., RD) technology parameters to the internal parameters (e.g., m_drainResistance). It also does the analysis of the IsGiven values (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
ModelcardMOS2exModelcard with technology parameters
SpiceConstantsconSpice constants

Outputs

TypeNameDescription
Mos2ModelLineParamsinternOutput record model line parameters

Function Modelica.​Electrical.​Spice3.​Internal.​Mos2.​mos2RenameParametersDev
Device parameter renaming to internal names

Information

This function mos2RenameParameters assigns the external (given by the user) device parameters to the internal parameters. It also does the analysis of the IsGiven values (level 2).

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

Inputs

TypeNameDescription
ModelcardMOS2ex 
Integermtype 
LengthWWidth of channel region
LengthLLength of channel region
AreaADArea of drain diffusion
AreaASArea of source diffusion
LengthPDDrain perimeter
LengthPSSource perimeter
RealNRDLength of drain squares
RealNRSLength of Source squares
IntegerOFFOptional initial condition: 0 - IC not used, 1 - IC used, not implemented yet
RealICInitial condition values, not implemented yet
Temp_CTEMPTemperature

Outputs

TypeNameDescription
MosfetdevOutput record Mosfet

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