modelMOS

Metal-Oxide Semiconductor Field-Effect Transistor

Information

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

Parameters

TypeNameDefaultDescription
IntegermtypeMOSFET type: 0 - N channel, 1 - P channel
SI.LengthL1e-4Length
SI.LengthW1e-4Width
SI.AreaAD0Area of the drain diffusion
SI.AreaAS0Area of the source diffusion
SI.LengthPD0Perimeter of the drain junction
SI.LengthPS0Perimeter of the source junction
RealNRD1Number of squares of the drain diffusions
RealNRS1Number of squares of the source diffusions
IntegerOFF0Optional initial condition: 0 - IC not used, 1 - IC used, not implemented yet
SI.VoltageICInitial condition values, not implemented yet
Modelica.Units.NonSI.Temperature_degCTEMP27Operating temperature of the device
ModelcardMOSmodelcardMOSFET modelcard
SpiceConstantsCGeneral constants of SPICE simulator
Mos1.Mos1ModelLineParamspMos1.mos1RenameParameters(modelcard, C)Model line parameters
Mosfet.MosfetmMos1.mos1RenameParametersDev(modelcard, mtype, W, L, AS, AS, PD, PS, NRD, NRS, OFF, IC, TEMP)Renamed parameters
Integerm_typeif (m.m_bPMOS > 0.5) then -1 else 1Type of the transistor
Mos.MosModelLineVariablesvpMos1.mos1ModelLineParamsInitEquations(p, C, m_type)Model line variables
Mos1.Mos1Calcc1Mos.mosCalcInitEquations(p, C, vp, m)Precalculated parameters
Mos1.Mos1Calcc2Mos.mosCalcCalcTempDependencies(p, C, vp, m, c1, m_type)Precalculated parameters
Booleanm_bInitfalse

Connectors

TypeNameDefaultDescription
Modelica.Electrical.Analog.Interfaces.PositivePinGGate node
Modelica.Electrical.Analog.Interfaces.PositivePinDDrain node
Modelica.Electrical.Analog.Interfaces.NegativePinSSource node
Modelica.Electrical.Analog.Interfaces.PositivePinBBulk node

Components

TypeNameDefaultDescription
Mos.CurrrentsCapacitancescc
SI.VoltageDinternal
SI.VoltageSinternal
SI.Currentird
SI.Currentirs
SI.Currentibdgmin
SI.Currentibsgmin
SI.CurrenticBD
SI.CurrenticBS
SI.CurrenticGB
SI.CurrenticGS
SI.CurrenticGD
SI.VoltagevDSDrain - source voltage
SI.VoltagevGSGate - source voltage

Revisions

  • March 2008 by Kristin Majetta
    initially implemented