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 Content

Name Description
Modelica.Electrical.Spice3.Internal.Mos2.Mos2ModelLineParams Mos2ModelLineParams Record for Mosfet model line parameters (for level 2)
Modelica.Electrical.Spice3.Internal.Mos2.Mos2ModelLineVariables Mos2ModelLineVariables Record for Mosfet model line variables (for level 2)
Modelica.Electrical.Spice3.Internal.Mos2.Mos2Calc Mos2Calc Further MOSFET variables (for level 2)
Modelica.Electrical.Spice3.Internal.Mos2.mos2ModelLineParamsInitEquations mos2ModelLineParamsInitEquations Initial precalculation obsolete, use mos2ModelLineParamsInitEquationsRevised
Modelica.Electrical.Spice3.Internal.Mos2.mos2ModelLineParamsInitEquationsRevised mos2ModelLineParamsInitEquationsRevised Initial precalculation
Modelica.Electrical.Spice3.Internal.Mos2.drainCurRevised drainCurRevised Drain current calculation
Modelica.Electrical.Spice3.Internal.Mos2.drainCur drainCur Drain current calculation obsolete, use drainCurRevised
Modelica.Electrical.Spice3.Internal.Mos2.mos2RenameParametersRevised mos2RenameParametersRevised Parameter renaming to internal names
Modelica.Electrical.Spice3.Internal.Mos2.mos2RenameParameters mos2RenameParameters Parameter renaming to internal names obsolete, use mos2RenameParametersRevised
Modelica.Electrical.Spice3.Internal.Mos2.mos2RenameParametersDev mos2RenameParametersDev Device parameter renaming to internal names

Modelica.Electrical.Spice3.Internal.Mos2.Mos2ModelLineParams 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 Spice3.Internal.Mos.MosModelLineParams (Record for Mosfet model line parameters (for level 1, 2, 3 and 6)).

Parameters

NameDescription
Initialization
m_jctSatCurDensityJS, Bulk jct. sat. current density, input - use tSatCurDens
m_sheetResistanceRSH, Sheet resistance [Ohm]
m_bulkJctPotentialPB, Bulk junction potential, input - use tBulkPot
m_bulkJctBotGradingCoeffMJ, Bottom grading coefficient [1/K]
m_gateSourceOverlapCapFactorCGS0, Gate-source overlap cap
m_gateDrainOverlapCapFactorCGD0, Gate-drain overlap cap
m_gateBulkOverlapCapFactorCGB0, Gate-bulk overlap cap
m_fNcoefKF, Flicker noise coefficient
m_fNexpAF, Flicker noise exponent
m_oxideCapFactor 
m_vt0VTO, Threshold voltage [V]
m_capBDCBD, B-D junction capacitance [F]
m_capBSCBS, B-S junction capacitance [F]
m_bulkCapFactorCJ, Bottom junction cap per area [F/m2]
m_sideWallCapFactorCJSW, Side grading coefficient [F/m]
m_fwdCapDepCoeffFC, Forward bias junction fit parameter
m_phiPHI, Surface potential [V]
m_gammaGAMMA, Bulk threshold parameter [V]
m_substrateDopingNSUB, Substrate doping
m_gateTypeTPG, Gate type
m_surfaceStateDensityNSS, Gate type [1/cm2]
m_surfaceStateDensityIsGivensurfaceStateDensityIsGivenValue
m_surfaceMobilityUO, Surface mobility [cm2/(V.s)]
m_latDiffLD, Lateral diffusion [m]
m_jctSatCurIS, Bulk junction sat. current [A]
m_drainResistanceRD, Drain ohmic resistance [Ohm]
m_sourceResistanceRS, Source ohmic resistance [Ohm]

Modelica.Electrical.Spice3.Internal.Mos2.Mos2ModelLineVariables 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 Spice3.Internal.Mos.MosModelLineVariables (Record for Mosfet model line variables (for level 1)).

Modelica.Electrical.Spice3.Internal.Mos2.Mos2Calc 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 Spice3.Internal.Mos.MosCalc (Further MOSFET variables (for level 1, 2, 3 and 6)).

Parameters

NameDescription
Initialization
m_modeMode
m_tTransconductance[A/V2]
m_tSurfMob[cm2/(V.s)]
m_tPhi[V]
m_tVto[V]
m_tSatCurDens[A/m2]
m_tDrainSatCur[A]
m_tSourceSatCur[A]
m_tCBDb[F]
m_tCBDs[F]
m_tCBSb[F]
m_tCBSs[F]
m_tCj[F/m2]
m_tCjsw[F/m]
m_tBulkPot[V]
m_tDepCap[V]
m_tVbi[V]
m_VBScrit[V]
m_VBDcrit[V]
m_f1b[V]
m_f2b 
m_f3b 
m_f1s[V]
m_f2s 
m_f3s 
m_dVt[V]
m_capgd[F]
m_capgs[F]
m_capgb[F]
m_qgs[C]
m_qgd[C]
m_qgb[C]

Modelica.Electrical.Spice3.Internal.Mos2.mos2ModelLineParamsInitEquations 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), Modelica.Icons.ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).

Inputs

NameDescription
in_pInput record model line parameters for MOS2
in_CSpice constants
in_m_typeType of MOS transistor

Outputs

NameDescription
out_vOutput record with model line variables

Modelica.Electrical.Spice3.Internal.Mos2.mos2ModelLineParamsInitEquationsRevised 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

NameDescription
in_pInput record model line parameters for MOS2
in_m_typeType of MOS transistor

Outputs

NameDescription
out_pInput record model line parameters for MOS2

Modelica.Electrical.Spice3.Internal.Mos2.drainCurRevised 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

NameDescription
vbs[V]
vgs[V]
vds[V]
in_mRecord MOSFET
in_cInput record Mos2Calc
in_pInput record model line parameters for MOS2
in_m_typeType of MOS transistor

Outputs

NameDescription
out_cOutput record Mos2Calc

Modelica.Electrical.Spice3.Internal.Mos2.drainCur 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), Modelica.Icons.ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).

Inputs

NameDescription
vbs[V]
vgs[V]
vds[V]
in_mRecord MOSFET
in_cInput record Mos2Calc
in_pInput record model line parameters for MOS2
in_CSpice constants
in_vpInput record model line variables
in_m_typeType of MOS transistor

Outputs

NameDescription
out_cOutput record Mos2Calc

Modelica.Electrical.Spice3.Internal.Mos2.mos2RenameParametersRevised 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

NameDescription
exModelcard with technology parameters

Outputs

NameDescription
internOutput record model line parameters

Modelica.Electrical.Spice3.Internal.Mos2.mos2RenameParameters 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), Modelica.Icons.ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).

Inputs

NameDescription
exModelcard with technology parameters
conSpice constants

Outputs

NameDescription
internOutput record model line parameters

Modelica.Electrical.Spice3.Internal.Mos2.mos2RenameParametersDev 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

NameDescription
ex 
mtype 
WWidth of channel region [m]
LLength of channel region [m]
ADArea of drain diffusion [m2]
ASArea of source diffusion [m2]
PDDrain perimeter [m]
PSSource perimeter [m]
NRDLength of drain squares
NRSLength of Source squares
OFFOptional initial condition: 0 - IC not used, 1 - IC used, not implemented yet
ICInitial condition values, not implemented yet
TEMPTemperature [degC]

Outputs

NameDescription
devOutput record Mosfet
Automatically generated Thu Dec 19 17:20:02 2019.