Modelica.Electrical.Spice3.Internal

Collection of functions and records derived from the C++ Spice library

Information

The package Internal contains functions and auxiliary models that are necessary for the Spice3 models. The package should not be used by the users of the Spice3-library.

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.MOS MOS Metal-Oxide Semiconductor Field-Effect Transistor
Modelica.Electrical.Spice3.Internal.ModelcardMOS ModelcardMOS Record with technology parameters (.model)
Modelica.Electrical.Spice3.Internal.MOS2 MOS2 Metal-Oxide Semiconductor Field-Effect Transistor
Modelica.Electrical.Spice3.Internal.ModelcardMOS2 ModelcardMOS2 Record with technology parameters (.model)
Modelica.Electrical.Spice3.Internal.BJT2 BJT2 Bipolar junction transistor
Modelica.Electrical.Spice3.Internal.ModelcardBJT2 ModelcardBJT2 Record with technology parameters (.model)
Modelica.Electrical.Spice3.Internal.JFET JFET Junction Field-Effect Transistor
Modelica.Electrical.Spice3.Internal.ModelcardJFET ModelcardJFET Record with technology parameters (.model)
Modelica.Electrical.Spice3.Internal.DIODE DIODE Diode model
Modelica.Electrical.Spice3.Internal.ModelcardDIODE ModelcardDIODE Record with technology parameters (.model)
Modelica.Electrical.Spice3.Internal.R_SEMI R_SEMI Semiconductor resistor
Modelica.Electrical.Spice3.Internal.ModelcardR ModelcardR Record with technology parameters (.model)
Modelica.Electrical.Spice3.Internal.C_SEMI C_SEMI Semiconductor capacitor
Modelica.Electrical.Spice3.Internal.ModelcardC ModelcardC Record with technology parameters (.model)
Modelica.Electrical.Spice3.Internal.SpiceConstants SpiceConstants General constants of SPICE simulator
Modelica.Electrical.Spice3.Internal.MaterialParameters MaterialParameters  
Modelica.Electrical.Spice3.Internal.Functions Functions Equations for semiconductor calculation
Modelica.Electrical.Spice3.Internal.SpiceRoot SpiceRoot Basic records and functions
Modelica.Electrical.Spice3.Internal.Model Model Device Temperature
Modelica.Electrical.Spice3.Internal.Mosfet Mosfet Functions and records for MOSFETs
Modelica.Electrical.Spice3.Internal.Mos Mos Records and functions for MOSFETs level 1,2,3,6
Modelica.Electrical.Spice3.Internal.Mos1 Mos1 Records and functions for MOSFETs level 1
Modelica.Electrical.Spice3.Internal.Mos2 Mos2 Records and functions for MOSFETs level 2
Modelica.Electrical.Spice3.Internal.Diode Diode Records and functions for diode model
Modelica.Electrical.Spice3.Internal.Rsemiconductor Rsemiconductor Records and functions for semiconductor resistor model
Modelica.Electrical.Spice3.Internal.Bjt Bjt Records and functions for bjt model
Modelica.Electrical.Spice3.Internal.Fet Fet  
Modelica.Electrical.Spice3.Internal.Jfet Jfet Records and functions for Jfet
Modelica.Electrical.Spice3.Internal.Csemiconductor Csemiconductor  

Modelica.Electrical.Spice3.Internal.MOS Modelica.Electrical.Spice3.Internal.MOS

Metal-Oxide Semiconductor Field-Effect Transistor

Information

MOSFET model, both N and P channel, LEVEL 1: Shichman-Hodges

The package Repository is not for user access. There all function, records and data are stored, that are needed for the semiconductor models of the package Semiconductors.

Parameters

NameDescription
mtypeMOSFET type: 0 - N channel, 1 - P channel
LLength [m]
WWidth [m]
ADArea of the drain diffusion [m2]
ASArea of the source diffusion [m2]
PDPerimeter of the drain junction [m]
PSPerimeter of the source junction [m]
NRDNumber of squares of the drain diffusions
NRSNumber of squares of the source diffusions
OFFOptional initial condition: 0 - IC not used, 1 - IC used, not implemented yet
ICInitial condition values, not implemented yet [V]
TEMPOperating temperature of the device [degC]
modelcardMOSFET modelcard
CGeneral constants of SPICE simulator

Connectors

NameDescription
GGate node
DDrain node
SSource node
BBulk node

Modelica.Electrical.Spice3.Internal.ModelcardMOS Modelica.Electrical.Spice3.Internal.ModelcardMOS

Record with technology parameters (.model)

Information

Modelcard parameters for MOSFET model, both N and P channel, LEVEL 1: Shichman-Hodges

The package Repository is not for user access. There all function, records and data are stored, that are needed for the semiconductor models of the package Semiconductors.

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

Parameters

NameDescription
VTOZero-bias threshold voltage, default 0 [V]
KPTransconductance parameter, default 2e-5 [A/V2]
GAMMABulk threshold parameter, default 0
PHISurface potential, default 0.6 [V]
LAMBDAChannel-length modulation, default 0 [1/V]
RDDrain ohmic resistance, default 0 [Ohm]
RSSource ohmic resistance, default 0 [Ohm]
CBDZero-bias B-D junction capacitance, default 0 [F]
CBSZero-bias B-S junction capacitance, default 0 [F]
ISBulk junction saturation current [A]
PBBulk junction potential [V]
CGSOGate-source overlap capacitance per meter channel width [F/m]
CGDOGate-drain overlap capacitance per meter channel width [F/m]
CGBOGate-bulk overlap capacitance per meter channel width [F/m]
RSHDrain and source diffusion sheet resistance [Ohm]
CJZero-bias bulk junction bottom cap. per sq-meter of junction area [F/m2]
MJBulk junction bottom grading coefficient
CJSWZero-bias junction sidewall cap. per meter of junction perimeter [F/m]
MJSWBulk junction sidewall grading coefficient
JSBulk junction saturation current per sq-meter of junction area [A/m2]
TOXOxide thickness, default 1e-7 [m]
NSUBSubstrate doping, default 0
NSSSurface state density [1/cm2]
TPGType of gate material: +1 opp. to substrate, -1 same as substrate, 0 Al gate
LDLateral diffusion [m]
UOSurface mobility [cm2/(V.s)]
KFFlicker noise coefficient
AFFlicker noise exponent
FCCoefficient for forward-bias depletion capacitance formula
TNOMParameter measurement temperature, default 27 [degC]

Modelica.Electrical.Spice3.Internal.MOS2 Modelica.Electrical.Spice3.Internal.MOS2

Metal-Oxide Semiconductor Field-Effect Transistor

Information

MOSFET model, both N and P channel, LEVEL 2

The package Repository is not for user access. There all function, records and data are stored, that are needed for the semiconductor models of the package Semiconductors.

Parameters

NameDescription
mtypeMOSFET type: 0 - N channel, 1 - P channel
LLength [m]
WWidth [m]
ADArea of the drain diffusion [m2]
ASArea of the source diffusion [m2]
PDPerimeter of the drain junction [m]
PSPerimeter of the source junction [m]
NRDNumber of squares of the drain diffusions
NRSNumber of squares of the source diffusions
OFFOptional initial condition: 0 - IC not used, 1 - IC used, not implemented yet
IC_VDSInitial condition value (VDS, not implemented yet) [V]
IC_VGSInitial condition value (VGS, not implemented yet) [V]
IC_VBSInitial condition value (VBS, not implemented yet) [V]
UICUse initial conditions: true, if initial condition is used
TEMPOperating temperature of the device [degC]
modelcardMOSFET modelcard
ICInitial condition values, not implemented yet [V]
CGeneral constants of SPICE simulator

Connectors

NameDescription
GGate node
DDrain node
SSource node
BBulk node

Modelica.Electrical.Spice3.Internal.ModelcardMOS2 Modelica.Electrical.Spice3.Internal.ModelcardMOS2

Record with technology parameters (.model)

Information

Modelcard parameters for MOSFET model, both N and P channel, LEVEL 2

The package Repository is not for user access. There all function, records and data are stored, that are needed for the semiconductor models of the package Semiconductors.

Extends from Modelica.Icons.Record (Icon for records), Spice3.Internal.ModelcardMOS (Record with technology parameters (.model)).

Parameters

NameDescription
VTOZero-bias threshold voltage, default 0 [V]
KPTransconductance parameter, default 2e-5 [A/V2]
GAMMABulk threshold parameter, default 0
PHISurface potential, default 0.6 [V]
LAMBDAChannel-length modulation, default 0 [1/V]
RDDrain ohmic resistance, default 0 [Ohm]
RSSource ohmic resistance, default 0 [Ohm]
CBDZero-bias B-D junction capacitance, default 0 [F]
CBSZero-bias B-S junction capacitance, default 0 [F]
ISBulk junction saturation current [A]
PBBulk junction potential [V]
CGSOGate-source overlap capacitance per meter channel width [F/m]
CGDOGate-drain overlap capacitance per meter channel width [F/m]
CGBOGate-bulk overlap capacitance per meter channel width [F/m]
RSHDrain and source diffusion sheet resistance [Ohm]
CJZero-bias bulk junction bottom cap. per sq-meter of junction area [F/m2]
MJBulk junction bottom grading coefficient
CJSWZero-bias junction sidewall cap. per meter of junction perimeter [F/m]
MJSWBulk junction sidewall grading coefficient
JSBulk junction saturation current per sq-meter of junction area [A/m2]
TOXOxide thickness, default 1e-7 [m]
NSUBSubstrate doping, default 0
NSSSurface state density [1/cm2]
TPGType of gate material: +1 opp. to substrate, -1 same as substrate, 0 Al gate
LDLateral diffusion [m]
UOSurface mobility [cm2/(V.s)]
KFFlicker noise coefficient
AFFlicker noise exponent
FCCoefficient for forward-bias depletion capacitance formula
TNOMParameter measurement temperature, default 27 [degC]
NFSFast surface state density [1/cm2]
XJMetallurgical junction depth [m]
UCRITCritical field for mobility degradation (MOS2 only) [V/cm]
UEXPCritical field exponent in mobility degradation (MOS2 only)
VMAXMaximum drift velocity of carries [m/s]
NEFFTotal channel charge (fixed and mobile) coefficient (MOS2 only)
DELTAWidth effect on threshold voltage

Modelica.Electrical.Spice3.Internal.BJT2 Modelica.Electrical.Spice3.Internal.BJT2

Bipolar junction transistor

Information

Bipolar junction transistor model, both NPN and PNP

The package Internal is not for user access. There all function, records and data are stored, that are needed for the semiconductor models of the package Semiconductors.

Extends from Spice3.Interfaces.ConditionalSubstrate (Partial model to include a conditional substrate node).

Parameters

NameDescription
useSubstrateNode= true, if SubstrateNode is enabled
TBJTType of transistor (NPN=1, PNP=-1)
AREAArea factor
OFFOptional initial condition: false - IC not used, true - IC used, not implemented yet
IC_VBEInitial condition value (VBC, not implemented yet) [V]
IC_VCEInitial condition value (VBE, not implemented yet) [V]
UICUse initial conditions: true, if initial condition is used
TEMPOperating temperature of the device [degC]
SENS_AREAFlag to request sensitivity WRT area, not implemented yet
modelcardBJT modelcard

Connectors

NameDescription
BBase node
CCollector node
EEmitter node
S 

Modelica.Electrical.Spice3.Internal.ModelcardBJT2 Modelica.Electrical.Spice3.Internal.ModelcardBJT2

Record with technology parameters (.model)

Information

Modelcard parameters for BJT model, both PNP and NPN

The package Internal is not for user access. There all function, records and data are stored, that are needed for the semiconductor models of the package Semiconductors.

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

Parameters

NameDescription
TNOMParameter measurement temperature [degC]
ISTransport saturation current [A]
BFIdeal maximum forward beta F
NFForward current emission coefficientF
NEB-E leakage emission coefficient
ISEB-E leakage saturation current, default = 0 [A]
ISCB-C leakage saturation current, default = 0 [A]
BRIdeal maximum reverse beta
NRReverse current emission coefficient
NCB-C leakage emission coefficient
VAFForward Early voltage [V]
IKFForward beta roll-off corner current [A]
VARReverse Early voltage [V]
IKRReverse beta roll-off corner current [A]
REEmitter resistance [Ohm]
RCCollector resistance [Ohm]
IRBCurrent for base resistance = (rb+rbm)/2 [A]
RBZero bias base resistance [Ohm]
RBMMinimum base resistance, default = 0.0 [Ohm]
CJEZero bias B-E depletion capacitance [F]
VJEB-E built in potential [V]
MJEB-E junction exponential factor
TFIdeal forward transit time [s]
XTFCoefficient for bias dependence of TF
ITFHigh current dependence of TF, [A]
VTFVoltage giving VBC dependence of TF [V]
PTFExcess phase at freq=1/(TF*2*Pi) Hz [Hz]
CJCZero bias B-C depletion capacitance [F]
VJCB-C built in potential [V]
MJCB-C junction grading coefficient
XCJCFraction of B-C cap to internal base
TRIdeal reverse transit time [s]
CJSZero bias C-S capacitance [F]
VJSSubstrate junction built-in potential [V]
MJSSubstrate junction grading coefficient
XTBForward and reverse beta temperature exponent
EGEnergy gap for IS temperature effect on IS [eV]
XTITemperature exponent for IS
KFFlicker Noise Coefficient
AFFlicker Noise Exponent
FCForward bias junction fit parameter

Modelica.Electrical.Spice3.Internal.JFET Modelica.Electrical.Spice3.Internal.JFET

Junction Field-Effect Transistor

Information

JFET model, both N and P channel

The package Internal is not for user access. There all function, records and data are stored, that are needed for modeling the semiconductor models of the package Semiconductors.

Parameters

NameDescription
mtypeJFET type: 0 - N channel, 1 - P channel
AREANumber of parallel connected identical elements
OFFOptional initial condition: 0 - IC not used, 1 - IC used, not implemented yet
IC_VDSInitial condition value (VDS, not implemented yet) [V]
IC_VGSInitial condition value (VGS, not implemented yet) [V]
UICUse initial conditions: true, if initial condition is used
TEMPOperating temperature of the device [degC]
modelcardJFET modelcard

Connectors

NameDescription
GGate node
DDrain node
SSource node

Modelica.Electrical.Spice3.Internal.ModelcardJFET Modelica.Electrical.Spice3.Internal.ModelcardJFET

Record with technology parameters (.model)

Information

Modelcard parameters for JFET model, both N and P channel

The package Internal is not for user access. There all function, records and data are stored, that are needed for modeling the semiconductor models of the package Semiconductors.

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

Parameters

NameDescription
CGSZero-bias G-S junction capacitance, default 0 [F]
CGDZero-bias G-D junction capacitance, default 0 [F]
ISSaturation current of pn junctions [A]
FCCoefficient for forward-bias depletion capacitance formula
RDDrain ohmic resistance, default 0 [Ohm]
RSSource ohmic resistance, default 0 [Ohm]
TNOMParameter measurement temperature [degC]
VTOZero-bias threshold voltage, default -2 [V]
BDotierungsverlauf parameter, default 1 [1/V]
BETAOutput admittance parameter, default 1e-4
LAMBDAChannel-length modulation, default 0 [1/V]
PBJunction potential of pn junctions [V]
AFFlicker noise exponent
KFFlicker noise coefficient

Modelica.Electrical.Spice3.Internal.DIODE Modelica.Electrical.Spice3.Internal.DIODE

Diode model

Information

DIODE model

The package Repository is not for user access. There all function, records and data are stored, that are needed for the semiconductor models of the package Semiconductors.

Extends from Modelica.Electrical.Analog.Interfaces.TwoPin (Component with two electrical pins).

Parameters

NameDescription
AREAArea factor
OFFOptional initial condition: false - IC not used, true - IC used, not implemented yet
ICInitial condition value (VD, not implemented yet [V]
TEMPOperating temperature of the device [degC]
SENS_AREAFlag to request sensitivity WRT area, not implemented yet
modelcarddiodeDIODE modelcard
CGeneral constants of SPICE simulator

Connectors

NameDescription
pPositive electrical pin
nNegative electrical pin

Modelica.Electrical.Spice3.Internal.ModelcardDIODE Modelica.Electrical.Spice3.Internal.ModelcardDIODE

Record with technology parameters (.model)

Information

Modelcard parameters for DIODE model

The package Repository is not for user access. There all function, records and data are stored, that are needed for the semiconductor models of the package Semiconductors.

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

Parameters

NameDescription
ISSaturation Current [A]
RSOhmic resistance [Ohm]
NEmission coefficient
TTTransit time [s]
CJOJunction capacitance [F]
VJJunction Potential [V]
MGrading coefficient
EGActivation Energy [eV]
XTISaturation current temperature exponent
FCForward bias junction fit parameter
BVReverse breakdown voltage, default infinity [V]
IBVCurrent at reverse breakdown voltage [A]
TNOMParameter measurement temperature [degC]
KFFlicker noise coefficient
AFFlicker noise exponent
GOhmic conductance [S]

Modelica.Electrical.Spice3.Internal.R_SEMI Modelica.Electrical.Spice3.Internal.R_SEMI

Semiconductor resistor

Information

Semiconductor resistance model

The package Repository is not for user access. There all function, records and data are stored, that are needed for the semiconductor models of the package Semiconductors.

Extends from Modelica.Electrical.Analog.Interfaces.OnePort (Component with two electrical pins p and n and current i from p to n).

Parameters

NameDescription
RResistance, if specified, geometrical information is overwritten [Ohm]
TEMPTemperature of resistor [degC]
LLength of the resistor [m]
WWidth of the resistor, default DEFW (modelcard) [m]
SENS_AREAParameter for sensitivity analyses, not implemented yet
modelcardResistor modelcard
CGeneral constants of SPICE simulator

Connectors

NameDescription
pPositive electrical pin
nNegative electrical pin

Modelica.Electrical.Spice3.Internal.ModelcardR Modelica.Electrical.Spice3.Internal.ModelcardR

Record with technology parameters (.model)

Information

Modelcard parameters for semiconductor resistance model

The package Repository is not for user access. There all function, records and data are stored, that are needed for the semiconductor models of the package Semiconductors.

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

Parameters

NameDescription
TC1First order temperature coefficient [Ohm/K]
TC2Second order temperature coefficient [Ohm/K2]
RSHSheet resistance [Ohm]
TNOMParameter measurement temperature, default 27 [degC]
DEFWDefault device width [m]
NARROWNarrowing of resistor due to side etching [m]

Modelica.Electrical.Spice3.Internal.C_SEMI Modelica.Electrical.Spice3.Internal.C_SEMI

Semiconductor capacitor

Information

Semiconductor capacitance model


The package Repository is not for user access. There all function, records and data are stored, that are needed for the semiconductor models of the package Semiconductors.

Extends from Modelica.Electrical.Analog.Interfaces.OnePort (Component with two electrical pins p and n and current i from p to n).

Parameters

NameDescription
CCapacitance, if specified, geometrical information is overwritten [F]
TEMPTemperature of capacitor [degC]
LLength of the capacitor [m]
WWidth of the capacitor, default DEFW (modelcard) [m]
SENS_AREAParameter for sensitivity analyses, not implemented yet
ICInitial value [V]
UICUse initial conditions: true, if initial condition is used
modelcardCapacitor modelcard

Connectors

NameDescription
pPositive electrical pin
nNegative electrical pin

Modelica.Electrical.Spice3.Internal.ModelcardC Modelica.Electrical.Spice3.Internal.ModelcardC

Record with technology parameters (.model)

Information

Modelcard parameters for semiconductor capacitance model


The package Repository is not for user access. There all function, records and data are stored, that are needed for the semiconductor models of the package Semiconductors.

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

Parameters

NameDescription
CJJunction bottom capacitance F/meters2 [F/m2]
CJSWJunction sidewall capacitance F/meters [F/m]
DEFWDefault device width [m]
NARROWNarrowing due to side etching [m]

Modelica.Electrical.Spice3.Internal.SpiceConstants Modelica.Electrical.Spice3.Internal.SpiceConstants

General constants of SPICE simulator

Information

General constants used by SPICE

The package Internal is not for user access. There all function, records and data are stored, that are needed for the semiconductor models of the package Semiconductors.

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

Modelica.Electrical.Spice3.Internal.MaterialParameters Modelica.Electrical.Spice3.Internal.MaterialParameters

Information

Definition of Material parameters

The package Repository is not for user access. There all function, records and data are stored, that are needed for the semiconductor models of the package Semiconductors.

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

Automatically generated Thu Oct 1 16:07:47 2020.