Package Modelica.​Electrical.​Spice3.​Internal.​Mos1
Records and functions for MOSFETs level 1

Information

This package Mos1 contains functions and record with data of the MOSFET model level 1.

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
Mos1CalcFurther MOSFET variables (for level 1)
Mos1ModelLineParamsRecord for Mosfet model line parameters (for level 1)
mos1ModelLineParamsInitEquationsInitial precalculation
mos1RenameParametersParameter renaming to internal names
mos1RenameParametersDevDevice parameter renaming to internal names

Record Modelica.​Electrical.​Spice3.​Internal.​Mos1.​Mos1ModelLineParams
Record for Mosfet model line parameters (for level 1)

Information

This record Mos1ModelLineParams contains the model line parameters that are used for the MOSFET transistors level 1 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

Record Modelica.​Electrical.​Spice3.​Internal.​Mos1.​Mos1Calc
Further MOSFET variables (for level 1)

Information

This record Mos1Calc contains further MOSFET variables (for level 1) 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.​Mos1.​mos1ModelLineParamsInitEquations
Initial precalculation

Information

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

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

Inputs

TypeNameDescription
Mos1ModelLineParamsin_pInput record model line parameters for MOS1
SpiceConstantsin_CSpice constants
Integerin_m_typeType of MOS transistor

Outputs

TypeNameDescription
MosModelLineVariablesout_vOutput record model line variables

Function Modelica.​Electrical.​Spice3.​Internal.​Mos1.​drainCur
Drain current calculation

Information

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

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

Inputs

TypeNameDescription
Voltagevb 
Voltagevg 
Voltagevds 
Mos1Calcin_cInput record Mos1Calc
Mos1ModelLineParamsin_pInput record model line parameters for MOS1
SpiceConstantsin_CSpice constants
MosModelLineVariablesin_vpInput record model line variables
Integerin_m_typeType of Mos transistor

Outputs

TypeNameDescription
Mos1Calcout_cOutput record Mos1Calc

Function Modelica.​Electrical.​Spice3.​Internal.​Mos1.​mos1RenameParameters
Parameter renaming to internal names

Information

This function mos1RenameParameters 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 1).

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

Inputs

TypeNameDescription
ModelcardMOSexModelcard with technology parameters
SpiceConstantsconSpice constants

Outputs

TypeNameDescription
MosModelLineParamsinternOutput record model line parameters

Function Modelica.​Electrical.​Spice3.​Internal.​Mos1.​mos1RenameParametersDev
Device parameter renaming to internal names

Information

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

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

Inputs

TypeNameDescription
ModelcardMOSex 
Integermtype 
LengthWChannel Width
LengthLChannel Length
AreaADArea of the drain diffusion
AreaASArea of the source diffusion
LengthPDPerimeter of the drain junction
LengthPSPerimeter of the source junction
RealNRDNumber of squares of the drain diffusions
RealNRSNumber of squares of the source diffusions
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:52 EST by MapleSim.