Main Content

SPICE NMOS

SPICE-compatible N-Channel MOSFET

  • SPICE NMOS block

Libraries:
Simscape / Electrical / Additional Components / SPICE Semiconductors

Description

The SPICE NMOS block represents a SPICE-compatible negative-channel (N-Channel) metal-oxide semiconductor (MOS) field-effect transistor (FET). If the gate-source voltage increases the channel conductance increases. If the gate-source voltage is decreased, the channel conductance decreases.

SPICE, or Simulation Program with Integrated Circuit Emphasis, is a simulation tool for electronic circuits. You can convert some SPICE subcircuits into equivalent Simscape™ Electrical™ models using the Environment Parameters block and SPICE-compatible blocks from the Additional Components library. For more information, see subcircuit2ssc.

Equation Variables

Variables for the SPICE NMOS block equations include:

  • Variables that you define by specifying parameters for the SPICE NMOS block. The visibility of some of the parameters depends on the value that you set for other parameters. For more information, see Parameters.

  • Geometry-adjusted variables, which depend on several of the values that you specify using parameters for the SPICE NMOS block. For more information, see Geometry-Adjusted Variables.

  • Temperature, T, which is 300.15 K by default. You can use a different value by specifying parameters for the SPICE NMOS block or by specifying parameters for both the SPICE NMOS block and an Environment Parameters block. For more information, see Transistor Temperature.

  • Minimal conductance, GMIN, which is 1e-12 1/Ohm by default. You can use a different value by specifying a parameter for an Environment Parameters block. For more information, see Minimal Conduction.

  • Thermal voltage, Vtn. For more information, see Thermal Voltage.

Geometry-Adjusted Variables

Several variables in the equations for the SPICE N-channel MOSFET model consider the geometry of the device that the block represents. These geometry-adjusted variables depend on variables that you define by specifying SPICE NMOS block parameters. The geometry-adjusted variables depend on these variables:

  • AREA — Area of the device

  • SCALE — Number of parallel connected devices

  • The associated unadjusted variable

The table includes the geometry-adjusted variables and the defining equations.

VariableDescriptionEquation
KPdGeometry-adjusted transconductance

KPd=KP*AREA*SCALE

ISdGeometry-adjusted bulk saturation current

ISd=IS*AREA*SCALE

JSdGeometry-adjusted bulk junction saturation current density

JSd=JS*AREA*SCALE

CBDdGeometry-adjusted zero-bias bulk-drain capacitance

CBDd=CBD*AREA*SCALE

CBSdGeometry-adjusted zero-bias bulk-source capacitance

CBSd=CBS*AREA*SCALE

CGSOdGeometry-adjusted gate-source overlap capacitance

CGSOd=CGSO*AREA*SCALE

CGDOdGeometry-adjusted gate-drain overlap capacitance

CGDOd=CGDO*AREA*SCALE

CGBOdGeometry-adjusted gate-bulk overlap capacitance

CGBOd=CGBO*AREA*SCALE

CJGeometry-adjusted bottom capacitance per junction area

CJd=CJ*AREA*SCALE

CJSWGeometry-adjusted sidewall capacitance per junction perimeter

CJSWd=CJSW*AREA*SCALE

RDdGeometry-adjusted drain resistance

RDd=RDAREA*SCALE

RSdGeometry-adjusted source resistance

RSd=RSAREA*SCALE

RSHdGeometry-adjusted sheet resistance

RSHd=RSHAREA*SCALE

Transistor Temperature

There are two different options for defining transistor temperature, T:

  • Fixed temperature — The block uses a temperature that is independent of the circuit temperature when the Model temperature dependence using parameter in the Temperature settings of the SPICE NMOS block is set to Fixed temperature. For this model, the block sets T equal to TFIXED.

  • Device temperature — The block uses a temperature that depends on circuit temperature when the Model temperature dependence using parameter in the Temperature settings of the SPICE NMOS block is set to Device temperature. For this model, the block defines temperature as

    T=TC+TOFFSET

    Where:

    • TC is the circuit temperature.

      If there is not an Environment Parameters block in the circuit, TC is equal to 300.15 K.

      If there is an Environment Parameters block in the circuit, TC is equal to the value that you specify for the Temperature parameter in the SPICE settings of the Environment Parameters block. The default value for the Temperature parameter is 300.15 K.

    • TOFFSET is the offset local circuit temperature.

Minimal Conduction

Minimal conductance, GMIN, has a default value of 1e–12 1/Ohm. To specify a different value:

  1. If there is not already an Environment Parameters block in the circuit, add one.

  2. In the SPICE settings of the Environment Parameters block, specify the desired GMIN value for the GMIN parameter.

Thermal Voltage

Vtn is the thermal voltage, which is defined as

Vtn=Nk*Tq

Where:

  • N is the emission coefficient.

  • T is the transistor temperature. For more information, see Transistor Temperature.

  • k is the Boltzmann constant.

  • q is the elementary charge on an electron.

Parameters Calculations

The tables show how the SPICE NMOS block determines some of its parameters based on values that you specify.

Drain Resistance

Parameter ValuesGeometry-Adjusted Transistor Drain Resistance
Drain resistance, RDSheet resistance, RSHNumber of drain squares, NRD
NaNNaNNaN0
NaNRSHNaN0
NaNNaNNRD0
RDNaN or RSHNaN or NRDRDd
NaNRSHNRDRSHd*NRD

Source Resistance

Parameter ValuesGeometry-Adjusted Transistor Source Resistance
Source resistance, RSSheet resistance, RSHNumber of source squares, NRS
NaNNaNNaN0
NaNRSHNaN0
NaNNaNNRS0
RSNaN or RSHNaN or NRSRSd
NaNRSHNRSRSHd*NRS

Transconductance and Surface Mobility

Parameter ValuesGeometry-Adjusted Transconductance (level 1), in A/V2Geometry-Adjusted Transconductance (level 3), in A/V2Surface mobility (level 3), in cm2/s/V
Oxide thickness, TOXSurface mobility, U0Transconductance, KP
NaNNaNNaN2e-5 (default value)2e-5 (default value)600 (default value)
NaNNaNKPKPdKPd600
NaNU0NaN2e-5UO*EPXox/1e-7U0
NaNU0KPKPdKPdU0
TOXNaNNaN600*EPXox/TOX600*EPXox/TOX600
TOXNaNKPKPdKPd600
TOXU0NaNUO*EPXox/TOXUO*EPXox/TOXU0
TOXU0KPKPdKPdU0

Oxide Thickness and Threshold Voltage

Parameter ValuesSurface potential, PHI (level 1), in VThreshold voltage, VTO (level 1), in VSurface potential, PHI (level 3), in VThreshold voltage, VTO (level 3), in V
Oxide thickness, TOXSubstrate doping, NSUBSurface potential, PHIThreshold voltage, VTO
NaNNaNNaNNaN0.6 (default value)0 (default value)0.6 (default value)0 (default value)
NaNNaNNaNVTO0.6VTO0.6VTO
NaNNaNPHINaNPHI0PHI0
NaNNaNPHIVTOPHIVTOPHIVTO
NaNNSUBNaNNaN0.60PHI (1e-7, NSUB)VTO (1e-7, NSUB)
NaNNSUBNaNVTO0.6VTOPHI (1e-7, NSUB)VTO
NaNNSUBPHINaNPHI0PHIVTO (1e-7, NSUB)
NaNNSUBPHIVTOPHIVTOPHIVTO
TOXNaNNaNNaN0.600.60
TOXNaNNaNVTO0.6VTO0.6VTO
TOXNaNPHINaNPHI0PHI0
TOXNaNPHIVTOPHIVTOPHIVTO
TOXNSUBNaNNaNPHI (NSUB, TOX)VTO (NSUB, TOX)PHI (NSUB, TOX)VTO (NSUB, TOX)
TOXNSUBNaNVTOPHI (NSUB, TOX)VTOPHI (NSUB, TOX)VTO
TOXNSUBPHINaNPHIVTO (NSUB, TOX)PHIVTO (NSUB, TOX)
TOXNSUBPHIVTOPHIVTOPHIVTO

Where PHI (NSUB, TOX), PHI (1e-7, NSUB), VTO (NSUB, TOX), and VTO (1e-7, NSUB) are obtained using these equations:

PHI=2kTqln(NSUBni)

GAMMA=2qεsiNSUBCox

VFB=φMSqNSSCoxVTO=VFB+PHI+GAMMA*PHI.

Bulk-Source Diode Model

The table shows the equations that define the relationship between the bulk-source current, Ibs, and the bulk-source voltage, Vbs. As applicable, the model parameters are first adjusted for temperature. For more information, see Temperature Dependence.

Applicable Range of Vbs ValuesCorresponding Ibs Equation

Vbs>80*Vtn

Ibs=ISbs*((VbsVtn79)e801)+Vbs*Gmin

80VtnVbs

Ibs=ISbs*(eVbs/Vtn1)+Vbs*Gmin

Where:

  • ISbs is the bulk saturation current, such that, if:

    • JSd0 and AS0, ISbs=JSd*AS.

      Where:

      • JSd is the geometry-adjusted bulk junction saturation current density.

      • AS is the source area.

    • If JSd=0 or AS=0, ISbs=ISd, where ISd is the geometry-adjusted bulk saturation current.

  • Vtn is the thermal voltage. For more information, see Thermal Voltage.

  • Gmin is the minimal conductance. For more information, see Minimal Conduction.

Bulk-Drain Diode Model

The table shows the equations that define the relationship between the bulk-drain current Ibd, and the bulk-drain voltage, Vbd. As applicable, the model parameters are first adjusted for temperature. For more information, see Temperature Dependence.

Applicable Range of Vbd ValuesCorresponding Ibd Equation

Vbd>80*Vtn

Ibd=ISbd*((VbdVtn79)e801)+Vbd*Gmin

80VtnVbd

Ibd=ISbd*(eVbd/Vtn1)+Vbd*Gmin

Where:

  • ISbd is the bulk drain current, such that:

    • If JSd0 and AD0, ISbd=JSd*AD.

      Where:

      • JSd is the geometry-adjusted bulk junction saturation current density.

      • AD is the drain area.

    • If JSd=0 or AD=0, ISbd=ISd, where ISd is the geometry-adjusted bulk saturation current.

  • Vtn is the thermal voltage. For more information, see Thermal Voltage.

  • Gmin is the minimal conductance. For more information, see Minimal Conduction.

Level 1 Drain Current Model

This table shows relationship between the drain current, Id, and the drain-source voltage, Vds, in normal mode (Vds ≥ 0). As applicable, model parameters are first adjusted for temperature.

Normal Mode

Applicable Range of Vgs and Vds ValuesCorresponding Id Equation

Vgs-Von0

Id=0

0<Vgs-VonVds

Id=BETA*(VgsVon)2(1+LAMBDA*Vds)2

0<Vds<Vgs-Von

Id=BETA*Vds((Vgs-Von)-Vds2)(1+LAMBDA*Vds)

Where:

  • Von depends on Vbs and PHI.

    Applicable Relationship of Vbs and PHI ValuesCorresponding Von Equation

    Vbs0

    Von=MTYPE*VBI+GAMMAPHIVbs

    0<Vbs2*PHI

    Von=MTYPE*VBI+GAMMA(PHIVbs2PHI)

    Vbs>2*PHI

    Von=MTYPE*VBI

  • MTYPE is 1.

  • BETA is BETA=(KPd*WIDTH)/(LENGTH2*LD)

  • KP is:

    • The Transconductance, KP, if this parameter has a numerical value.

    • U0*3.9*ε0/TOX, if Transconductance, KP is NaN and you specify values for both the Oxide thickness, TOX and Substrate doping, NSUB parameters.

  • WIDTH is the channel width.

  • LENGTH is the channel length.

  • LD is the lateral diffusion.

  • VBI is a built-in voltage value the block uses in calculations. The value is a function of temperature. For a detailed definition, see Temperature Dependence.

  • PHI is:

    • The Surface potential, PHI, if this parameter has a numerical value.

    • 2*kTmeas/q*log(NSUB/ni), if Surface potential, PHI is NaN and you specify values for both the Oxide thickness, TOX and Substrate doping, NSUB parameters.

  • LAMBDA is the channel modulation.

  • GAMMA is:

    • The Bulk threshold, GAMMA, if this parameter has a numerical value.

    • TOX*2*11.7*ε0*q*NSUB/(3.9*ε0), if Bulk threshold, GAMMA is NaN and you specify values for both the Oxide thickness, TOX and Substrate doping, NSUB parameters.

  • ε0 is the permittivity of free space, 8.854214871e-12 F/m.

  • ni is the carrier concentration of intrinsic silicon, 1.45e10 cm-3.

This table shows relationship between the drain current Id and the drain-source voltage Vds in inverse mode (Vds < 0). As applicable, model parameters are first adjusted for temperature.

Inverse Mode

Applicable Range of Vgd and Vds ValuesCorresponding Id Equation

Vgd-Von0

Id=0

0<Vgd-VonVds

Id=BETA(VgdVon)2(1LAMBDA*Vds)/2

0<Vds<VgdVon

Id=BETA*Vds((Vgd-Von)+Vds/2)(1LAMBDA*Vds)

Von depends on Vbd and PHI.

Applicable Relationship of Vbs and PHI ValuesCorresponding Von Equation

Vbd0

Von=MTYPE*VBI+GAMMAPHIVbd

0<Vbd2*PHI

Von=MTYPE*VBI+GAMMA(PHIVbs2PHI)

Vbd>2*PHI

Von=MTYPE*PHI

Level 3 Drain Current Model

The block provides the following model for drain current Ids in normal mode (Vds0) after adjusting the applicable model parameters for temperature.

IDS=IDS0*ScaleVMAX*ScaleLChan*ScaleINV

Where:

The block uses the same model for drain current in inverse mode (Vds<0), with the following substitutions:

VbsVbsVds

VgsVgsVds

VdsVds

Basic Drain Current Model

The relationship between the drain current, Ids, and the drain-source voltage, Vds is

IDS0=BETA*Fgate*(VGSXVTH1+FB2*VDSX)*VDSX

Where:

  • BETA is calculated as described in Level 1 Drain Current Model.

  • FGATE is calculated as

    Fgate=11+THETA*(VgsxVTH)

    Where:

    • THETA models the dependence of the mobility on the gate-source voltage.

    • Vgsx=max(VGS,Von)

  • If you specify a nonzero value for the Fast surface state density, NFS parameter, the block calculates Von using this equation:

    Von=VTH+xnVT

    Otherwise,

    Von=VTH

  • The block calculates xn as

    xn=1+q*NFSCOX+(GAMMA*Fs*Vbulk+Fn*VbulkWIDTH)2*Vbulk

  • The block calculates Vbulk as follows:

    • If

      VBS0,

      Vbulk=PHIVBS.

    • Otherwise, the block calculates Vbulk as

      Vbulk=PHI(1+VBS2*PHI)2

  • Thermal voltage such that

    VT=kTq

  • The block calculates VTH using the following equation:

    VTH=VBI8.15e22*ETACOX*(LENGTH2*LD)3*VDS+GAMMA*Fs*Vbulk+Fn*Vbulk

    For information about how the block calculates VBI, see Temperature Dependence.

  • ETA is the Vds dependence threshold volt, ETA.

  • COX=εoxTOX,

    Where εox is the permittivity of the oxide and TOX is the Oxide thickness, TOX.

  • If you specify a nonzero value for the Junction depth, XJ parameter and a value for the Substrate doping, NSUB parameter, the block calculates Fs using these equations:

    α=2εsiqNSUB

    XD=α

    wc=.0631353+.8013292*XD*VbulkXJ.01110777*(XD*VbulkXJ)2+LDXJ

    Fs=1(wc*1(XD*VbulkXJ+XD*Vbulk)2LDXJ)

    Where εsi is the permittivity of silicon.

    Otherwise,

    Fs=1

  • The block calculates FB as

    FB=GAMMA*Fs4*Vbulk+Fn

  • The block calculates Fn as

    Fn=DELTA*π*εsi2*COX*WIDTH

  • DELTA is the width effect on threshold.

  • VDSX is the lesser of VDS and the saturation voltage, Vdsat.

    • If you specify a positive value for the Max carrier drift velocity, VMAX parameter, the block calculates Vdsat using the following equation:

      Vdsat=VgsxVTH1+FB+(LENGTH2*LD)*VMAXUO*Fgate(VgsxVTH1+FB)2+((LENGTH2*LD)*VMAXUO*Fgate)2

      Otherwise, the block calculates Vdsat as

      Vdsat=VgsxVTH1+FB

Velocity Saturation Scaling

If you specify a positive value for the Max carrier drift velocity, VMAX parameter, the block calculates ScaleVMAX as

ScaleVMAX=11+UO*Fgate(LENGTH2*LD)*VMAX*VDSX

Otherwise,

ScaleVMAX=1

Channel Length Modulation Scaling

The block scales the drain current to account for channel length modulation if the block meets all of the following criteria:

  • VDS>Vdsat

  • The Max carrier drift velocity, VMAX is less than or equal to zero or α is nonzero.

The block scales the drain current using the following equation:

ScaleLChan=11Δl(LENGTH2*LD)

To calculate Δl the block:

  1. Calculates the intermediate value Δl0.

    • If you specify a positive value for the Max carrier drift velocity, VMAX parameter, the block computes the intermediate value gdsat as the greater of 1e-12 and the result of the following equation:

      IDS0*(111+Scalegdsat*VDSX)*Scalegdsat

      Where:

      Scalegdsat=UO*Fgate(LENGTH2*LD)*VMAX

      Then, the block uses the following equation to calculate the intermediate value Δl0:

      Δl0=(KA*IDS2*(LENGTH2*LD)*gdsat)2+KA*(VDSVdsat)KA*IDS2*(LENGTH2*LD)*gdsat

      Where

      KA=KAPPA*α.

    • Otherwise, the block uses the following equation to calculate the intermediate value Δl0 as

      Δl=KA*(VDSVdsat)

  2. The block checks for punch through and calculates Δl.

    • If

      Δl0>(LENGTH2*LD)/2,

      the block calculates Δl using the following equation:

      Δl=(1(LENGTH2*LD)4*Δl0)*(LENGTH2*LD)

    • Otherwise,

      Δl=Δl0.

Weak Inversion Scaling

If VGS is less than Von, the block calculates ScaleINV using the following equation:

ScaleINV=eVgsVonxn*VT

Otherwise,

ScaleINV=1

Junction Charge Model

The block models Junction Overlap Charges and Bulk Junction Charges.

Junction Overlap Charges

The block calculates the following junction overlap charges:

  • QGS=CGSOd*WIDTH*Vgs

    Where:

    • QGS is the gate-source overlap charge.

    • CGSOd is the geometry adjusted gate-source overlap capacitance.

    • WIDTH is the channel width.

  • QGD=CGDOd*WIDTH*Vgd

    Where:

    • QGD is the gate-drain overlap charge.

    • CGDOd is the geometry adjusted gate-drain overlap capacitance.

  • QGB=CGBOd*(LENGTH2*LD)*Vgb

    Where:

    • QGB is the gate-bulk overlap charge.

    • CGBOd is the geometry adjusted gate-bulk overlap capacitance.

    • LENGTH is the channel length.

    • LD is the lateral diffusion.

Bulk Junction Charges

This table shows relationship between the bulk-drain bottom junction charge Qbottom and the junction voltage, Vbd. As applicable, model parameters are first adjusted for temperature.

Applicable Range of Vbd ValuesCorresponding Qbottom Equation
Vbd<FC*PB

Qbottom=CBDd*PB*(1-(1-VbdPB)1MJ)1MJ if CBDd>0

Qbottom=CJd*AD*PB*(1-(1-VbdPB)1MJ)1MJ otherwise.

VbdFC*PB

Qbottom=CBDd*(F1+F3*(Vbd-FC*PB)+MJ*(Vbd2-(FC*PB)2)2*PBF2) if CBDd>0

Qbottom=CJd*AD*(F1+F3*(Vbd-FC*PB)+MJ*(Vbd2-(FC*PB)2)2*PBF2) otherwise.

Where:

  • PB is the bulk junction potential.

  • FC is the capacitance coefficient.

  • CBDd is the geometry-adjusted zero-bias bulk-drain capacitance.

  • CJd is the geometry-adjusted bottom capacitance per junction area.

  • AD is the drain area.

  • MJ is the bottom grading coefficient.

  • F1=PB*(1-(1-FC)1MJ)1MJ

  • F2=(1-FC)1+MJ

  • F3=1-FC*(1+MJ)

To calculate the bulk-source bottom junction charge, the block substitutes variables in the equations in the preceding table. The block substitutes:

  • Vbs for Vbd

  • AS for AD

  • CBSd for CBDd

This table shows relationship between the bulk-drain sidewall junction charge Qsidewall and the junction voltage Vbd. As applicable, model parameters are first adjusted for temperature.

Applicable Range of Vbd ValuesCorresponding Qsidewall Equation
Vbd<FC*PB

Qsidewall=CJSWd*PD*PB*(1-(1-VbdPB)1MGSW)1MGSW

VbdFC*PB

Qsidewall=CJSWd*PD*(F1+F3*(Vbd-FC*PB)+MGSW*(Vbd2-(FC*PB)2)2*PBF2)

Where:

  • CJSWd is the geometry adjusted sidewall capacitance per junction perimeter.

  • PD is the drain perimeter.

  • MGSW is the side grading coefficient.

  • F1=PB*(1-(1-FC)1MJSW)1MJSW

  • F2=(1-FC)1+MJSW

  • F3=1-FC*(1+MJSW)

To calculate the bulk-source sidewall junction charge and the sidewall junction voltage, the block substitutes variables in the equations in the preceding table. The block substitutes:

  • Vbs for Vbd

  • PS for PD

Capacitance Model

The SPICE NMOS block allows you to model the transistor capacitance model in three different ways:

Meyer Gate Capacitance Model

This table shows the relationship between the operational regions of the transistor and the gate-bulk, gate-drain, and gate-source capacitances.

Operational regionGate-Bulk, Cgb, Gate-Drain, Cgd, and Gate-Source, Cgs, Equations
Accumulation region, Vgb<VFBCgb=CoxtCgd=0Cgs=0
Depletion region, Vgs<VTHCgb=Coxt1+4GAMMA2*(VgbVFB)Cgd=0Cgs=0
Saturation region, VgsVTH<Vdsif Vds<Vsatmin then:if VdsVsatmin then:
Cgb=0Cgd=23(CoxtCgb)(1(Vsatmin)2(2VsatminVds)2)Cgs=23(CoxtCgb)(1(VsatminVds)2(2VsatminVds)2)Cgb=0Cgd=0Cgs=23(CoxtCgb)
Linear region, VgsVTH>VdsCgb=0Cgd=23(CoxtCgb)*(1(VgsVTH)2(2*(VgsVTH)Vds)2)Cgs=23(CoxtCgb)*(1(VgsVTHVds)2(2*(VgsVTH)Vds)2)

where:

  • Coxt=WIDTH*(LENGTH2*LD)*COX*AREA*SCALE

  • VFB=VBI*MTYPEPHI is the flat-band voltage.

  • Vsatmin is the minimum saturation voltage. It is a predefined parameter equal to 1 V.

These equations are continuous between the depletion region and the accumulation region, and discontinuous between the depletion and the inversion region. Other SPICE tools apply smoothing functions between the inversion and depletion regions.

Cgb=WIDTH*LENGTH*COX(1+4GAMMA2*(VTHVbsVFB))m*smoothingsmoothing=1(1+4GAMMA2*(VgsVTH))m

where m is a predefined smoothing constant.

Charge Conservation Capacitance Model

This table shows the relationship between the operational regions of the transistor and the gate, bulk, channel, drain, and source charges for a level 1 MOS.

Operational regionLevel-1 Charges Equations
Accumulation region, Vgb<VFBQg=Coxt*(VgbVFB)Qb=Coxt*(VgbVFB)Qc=0Qd=0Qs=QcQd
Depletion region, Vgs<VTHQg=0.5*Coxt*GAMMA2*(11+4GAMMA2*(VgbVFB))Qb=0.5*Coxt*GAMMA2*(11+4GAMMA2*(VgbVFB))Qc=0Qd=0Qs=QcQd
Saturation region, VgsVTH<VdsQg=Coxt*(VgsVFBPHIVgsVTH3)Qb=Coxt*(VTHVFBPHI)Qc=Coxt*(VgsVTHVgsVTH3)Qd=0Qs=QcQd
Linear region, VgsVTH>VdsQg=Coxt*(VgsVFBPHIVds2+Vds212(VgsVTH0.5Vds))Qb=Coxt*(VTHVFBPHI)Qc=Coxt*(VgsVTHVds2+Vds212(VgsVTH0.5Vds))Qd=Coxt*(VgsVTH23Vds4+Vds28(VgsVTH0.5Vds))Qs=QcQd

where:

  • Qc=(Qg+Qb)=Qd+Qs is the charge in channel. Qc needs to be partitioned between Qd and Qs.

where:

  • Qg is the gate charge.

  • Qb is the bulk charge.

  • Qd is the drain charge.

  • Qs is the source charge.

  • Qc=(Qg+Qb)=Qd+Qs is the charge in channel. Qc needs to be partitioned between Qd and Qs.

This table shows the relationship between the operational regions of the transistor and the gate, bulk, channel, drain, and source charges for a level-3 MOS.

Operational regionLevel-3 Charges Equations
Accumulation region, Vgb<VFBQg=Coxt*(VgbVFB)SF1+SF2Qb=Coxt*(VgbVFB)SF1+SF2Qc=0Qd=0Qs=QcQd
Depletion region, Vgs<VTHQg=0.5*Coxt*GAMMA2*(11+4GAMMA2*(VgbVFB))SF1+SF2Qb=0.5*Coxt*GAMMA2*(11+4GAMMA2*(VgbVFB))+SF1SF2Qc=0Qd=0Qs=QcQd
Saturation region, VgsVTH<VdsQg=Coxt*(VgsVFBPHI+ETA*VdsatVdsat2+1+FB12*Fi*Vdsat2)Qb=Coxt*(VTHVFBPHI+ETA*VdsatFb2*VdsFB*(1+FB)12*Fi*Vdsat2)Qc=Coxt*(VgsVTH1+FB2*Vdsat+(1+FB)212*Fi*Vdsat2)Qd=0Qs=QcQd
Linear region, VgsVTH>VdsQg=Coxt*(VgsVFBPHI+ETA*VdsVds2+1+FB12*Fi*Vds2)Qb=Coxt*(VTHVFBPHI+ETA*Vds+FB2*VdsFB*(1+FB)12*Fi*Vds2)Qc=Coxt*(VgsVTH1+FB2*Vds+(1+FB)212*Fi*Vds2)Qd=Coxt*(VgsVTH23(1+FB)2*Vds+(1+FB)28*Fi*Vds2)Qs=QcQd

where:

  • Vdsat is the saturation voltage

  • FB is the body effect coefficient

  • ETA is the drain-source voltage threshold coefficient

  • Fi=VgsVTH1+FB2*Vds

  • SF1=0.5*Coxt*GAMMA2*(1(1+4GAMMA2*2(VTHVbsVFB))0.5) and SF2=Coxt*(VTHVFBPHI) are smoothing factors between depletion and accumulation regions to help with convergence.

Temperature Dependence

The transconductance as a function of the transistor temperature is

KP(T)=KPd(TTmeas)3/2

Where:

  • KPd is the geometry-adjusted transconductance.

  • T is the transistor temperature. For more information, see Transistor Temperature.

  • Tmeas is the parameter extraction temperature.

The surface potential as a function of the transistor temperature is

PHI(T)=TTmeas(PHI+kTmeasq(log(Tmeas300.15)3+qk(1.115300.15EGTmeasTmeas)))kTq(log(T300.15)3+qk(1.115300.15EGTT))

Where:

  • PHI is the surface potential.

  • k is the Boltzmann constant.

  • q is the elementary charge on an electron, 1.6021918e-19 C.

  • EG is the activation energy, such that:

    • EGTmeas=1.16eV-(7.02e-4*Tmeas2)/(Tmeas+1108)

    • EGT=1.16eV-(7.02e-4*T2)/(T+1108)

The built-in voltage as a function of the transistor temperature is

VBI(T)=VTO+MTYPE*(PHI(T)PHI2GAMMAPHI)+EGTmeasEGT2

Where:

  • VBI is the built-in voltage.

  • VTO is the threshold voltage. VTO depends on the value that you specify for the Threshold voltage, VTO parameter in the DC currents settings. If you specify a numerical value, VTO is evaluated as that value. If you specify a nonnumerical value (NAN) and you specify numerical values for both the Oxide thickness, TOX and Substrate doping, NSUB parameters in the Process settings, then VTO is evaluated as Φ3.25+EGTmeas/2+MTYPE*PHI/2NSS*q*TOX/(3.9*ε0)+MTYPE*(GAMMA*PHI+PHI), Where:

    • Φ depends on the gate type, which you specify using the Gate type, TPG parameter. If you specify Aluminum (0), Φ=3.2. Otherwise, Φ=3.25+EGTmeas/2MTYPE*TPG*EGTmeas/2, Where:

      • MTYPE is the transistor type. For an N-channel MOSFET, MTYPE = 1.

      • TPG represents the gate type and also depends on the option that you specify for the Gate type, TPG parameter in the Process settings. If you specify

        • Opposite of substrate (1)TPG = 1

        • Same as substrate (-1)TPG = -1

    • NSS is the surface state density.

    • TOX is the oxide thickness.

    • ε0 is the permittivity of free space.

    • GAMMA is the bulk threshold. GAMMA depends on the value that you specify for the Bulk threshold, GAMMA parameter in the DC currents settings. If you specify a numerical value, GAMMA is evaluated as that value. If you specify a nonnumerical value (NAN) and you specify numerical values for both the Oxide thickness, TOX and Substrate doping, NSUB parameters in the Process settings, then VTO is evaluated as TOX*2*11.7*ε0*q*NSUB/(3.9*ε0), where NSUB is the substrate doping.

The bulk saturation current as a function of the transistor temperature is

IS(T)=ISd*eqEGTND*kT+qEGTmeasND*kTmeas

Where:

  • ISd is the geometry-adjusted bulk saturation current.

  • ND is the emission coefficient.

The bulk junction saturation current density as a function of the transistor temperature is

JS(T)=JSd*eqEGTND*kT+qEGTmeasND*kTmeas

Where JSd is the geometry-adjusted bulk junction saturation current density.

The bulk junction potential as a function of the transistor temperature is

PB(T)=PB+kTmeasq(log(Tmeas300.15)3+qk(1.115300.15EGTmeasT))TmeasTkTq(log(T300.15)3+qk(1.115300.15EGTT))

Where PB is the bulk junction potential.

The bulk-drain junction capacitance as a function of the transistor temperature is

CBD(T)=CBDdpbo+MJ*(4*104*(T300.15)*pbo(PB(T)pbo))pbo+MJ*(4*104*(Tmeas300.15)*pbo(PBpbo))

Where:

  • CBDd is the geometry adjusted zero-bias bulk-drain capacitance.

  • MJ is the bottom grading coefficient.

  • pbo=PB+kTmeasq(log(Tmeas300.15)3+qk(1.115300.15EGTmeasT))Tmeas300.15

The block uses the CBD(T) equation to calculate:

  • The bulk-source junction capacitance by substituting CBSd, the geometry-adjusted zero-bias bulk-source capacitance, for CBDd.

  • The bottom junction capacitance by substituting CJd, the geometry-adjusted bottom capacitance per junction area for CBDd.

The relationship between the sidewall junction capacitance CJSW and the transistor temperature, T, is

CJSW(T)=CJSWdpbo+MJSW*(4*104*(T300.15)*pbo(PB(T)pbo))pbo+MJSW*(4*104*(Tmeas300.15)*pbo(PBpbo))

Where:

  • CJSWd is the side geometry-adjusted sidewall capacitance per junction perimeter.

  • MJSW is the side grading coefficient.

Assumptions and Limitations

  • The block does not support noise analysis.

  • The block applies initial conditions across junction capacitors and not across the block ports.

Ports

Conserving

expand all

Electrical conserving port associated with the transistor gate terminal.

Electrical conserving port associated with the transistor drain terminal.

Electrical conserving port associated with the transistor source terminal.

Electrical conserving port associated with the transistor bulk terminal.

Parameters

expand all

Model Selection

MOSFET drain current model options:

Dependencies

The setting that you select for the MOS model affects the visibility of certain parameters in the DC Currents and Process settings.

Dimensions

Transistor area factor for scaling. The value must be greater than 0.

The number of parallel MOS instances that the block represents. This parameter multiplies the output current and device charge. The value must be greater than 0.

Length of the channel between the source and drain.

Width of the channel between the source and drain.

Area of the transistor drain diffusion. The value must be greater than or equal to 0.

Area of the transistor source diffusion. The value must be greater than or equal to 0.

Perimeter of the transistor drain diffusion. The value must be greater than or equal to 0.

Perimeter of the transistor source diffusion. The value must be greater than or equal to 0.

Resistors

Number of squares of resistance that make up the transistor drain diffusion. The value must be greater than or equal to 0. The block only uses this parameter value if you do not specify one or both of the Drain resistance, RD and Source resistance, RS parameter values, as described in Parameters Calculations.

Number of squares of resistance that make up the transistor source diffusion. The value must be greater than or equal to 0. The block only uses this parameter value if you do not specify one or both of the Drain resistance, RD and Source resistance, RS parameter values, as described in Parameters Calculations.

Transistor drain resistance. The value must be greater than or equal to 0.

Transistor source resistance. The value must be greater than or equal to 0.

Resistance per square of the transistor source and drain. Check Parameters Calculations to see when the block uses this parameter. The value must be greater than or equal to 0.

DC Currents

The gate-source voltage above which the transistor produces a nonzero drain current. If you assign this parameter a value of NaN, the block calculates the value from the specified values of the Oxide thickness, TOX and Substrate doping, NSUB parameters. For more information about this calculation, see Temperature Dependence.

The derivative of drain current with respect to gate voltage. The value must be greater than or equal to 0. If you assign this parameter a value of NaN, the block calculates the value from the specified values of the Oxide thickness, TOX and Substrate doping, NSUB parameters. For more information about this calculation, see Level 1 Drain Current Model or Level 3 Drain Current Model as appropriate for the selected value of the MOS model parameter.

Body effect parameter, which relates the threshold voltage, VTH, to the body bias, VBS, as described in Level 1 Drain Current Model and Level 3 Drain Current Model. The value must be greater than or equal to 0. If you assign this parameter a value of NaN, the block calculates the value from the specified values of the Oxide thickness, TOX and Substrate doping, NSUB parameters. For more information about this calculation, see Level 1 Drain Current Model or Level 3 Drain Current Model as appropriate for the selected value of the MOS model parameter.

Twice the voltage at which the surface electron concentration becomes equal to the intrinsic concentration and the device transitions between depletion and inversion conditions. The value must be greater than or equal to 0. If you assign this parameter a value of NaN, the block calculates the value from the specified values of the Oxide thickness, TOX and Substrate doping, NSUB parameters. For more information about this calculation, see Level 1 Drain Current Model or Level 3 Drain Current Model as appropriate for the selected value of the MOS model parameter.

Channel-length modulation.

Dependencies

This parameter is only visible when you select Level 1 MOS for the MOS model parameter in the Model Selection settings.

Magnitude of the current that the junction approaches asymptotically for very large reverse bias levels. The value must be greater than or equal to 0.

Transistor emission coefficient or ideality factor. The value must be greater than 0.

Magnitude of the current per unit area that the junction approaches asymptotically for very large reverse bias levels. The value must be greater than or equal to 0.

Factor that controls the effect of transistor width on threshold voltage.

Dependencies

This parameter is only visible when you select Level 3 MOS for the MOS model parameter in the Model Selection settings.

Maximum drift velocity of the carriers.

Dependencies

This parameter is only visible when you select Level 3 MOS for the MOS model parameter in the Model Selection settings.

Fast surface state density adjusts the drain current for the mobility reduction caused by the gate voltage.

Dependencies

This parameter is only visible when you select Level 3 MOS for the MOS model parameter in the Model Selection settings.

The coefficient that controls how the drain voltage affects the mobility in the drain current calculation.

Dependencies

This parameter is only visible when you select Level 3 MOS for the MOS model parameter in the Model Selection settings.

The coefficient that controls how the gate voltage affects the mobility in the drain current calculation.

Dependencies

This parameter is only visible when you select Level 3 MOS for the MOS model parameter in the Model Selection settings.

Coefficient of channel-length modulation for the level 3 MOS model.

Dependencies

This parameter is only visible when you select Level 3 MOS for the MOS model parameter in the Model Selection settings.

C-V

Options for modeling the gate capacitance:

  • No intrinsic capacitance — Do not include gate capacitance in the model.

  • Meyer gate capacitances

  • Charge conservation capacitances

Options for modeling the gate overlap capacitance:

  • No — Do not include gate overlap capacitance in the model.

  • Yes — Specify the gate-source, gate-drain, and gate-bulk capacitances.

Dependencies

Selecting Yes exposes related parameters.

Gate-source capacitance due to lateral diffusion of the source. The value must be equal to 0 or greater than or equal to Cmin. Cmin is a built-in model constant whose value is 1e-18.

Dependencies

This parameter is only visible when you select Yes for the Model gate overlap capacitance (CGSO, CGDO, CGBO) parameter.

Gate-drain capacitance due to lateral diffusion of the drain. The value must be equal to 0 or greater than or equal to Cmin. Cmin is a built-in model constant whose value is 1e-18.

Dependencies

This parameter is only visible when you select Yes for the Model gate overlap capacitance (CGSO, CGDO, CGBO) parameter.

Gate-bulk capacitance due to gate extending beyond the channel width. The value must be equal to 0 or greater than or equal to Cmin. Cmin is a built-in model constant whose value is 1e-18.

Dependencies

This parameter is only visible when you select Yes for the Model gate overlap capacitance (CGSO, CGDO, CGBO) parameter.

Options for modeling the junction capacitance:

  • No — Do not include junction capacitance in the model.

  • Yes — Specify zero-bias junction capacitance, junction potential, grading coefficient, forward-bias depletion and capacitance coefficient.

Dependencies

Selecting Yes exposes related parameters.

Capacitance between the bulk and the drain. The value must be equal to 0 or greater than or equal to Cmin. Cmin is a built-in model constant whose value is 1e-18.

Dependencies

This parameter is only visible when you select Yes for the Model junction capacitance (CBD, CBS) parameter.

Capacitance between the bulk and the source. The value must be equal to 0 or greater than or equal to Cmin. Cmin is a built-in model constant whose value is 1e-18.

Dependencies

This parameter is only visible when you select Yes for the Model junction capacitance (CBD, CBS) parameter.

Potential across the bulk junction. This parameter is only visible when you select Yes for the Model junction capacitance (CBD, CBS) parameter. The value must be equal to 0 or greater than or equal to VJmin. VJmin is a built-in model constant whose value is 0.01.

Dependencies

This parameter is only visible when you select Yes for the Model junction capacitance (CBD, CBS) parameter.

Zero-bias bulk junction bottom capacitance per junction area. The value must be equal to 0 or greater than or equal to Cmin. Cmin is a built-in model constant whose value is 1e-18.

Dependencies

This parameter is only visible when you select Yes for the Model junction capacitance (CBD, CBS) parameter.

Transistor bottom grading coefficient. The value must be equal to 0 or less than MGmax. MGmax is a built-in model constant whose value is 0.9.

Dependencies

This parameter is only visible when you select Yes for the Model junction capacitance (CBD, CBS) parameter.

Zero-bias bulk junction sidewall capacitance per junction perimeter. The value must be equal to 0 or greater than or equal to Cmin. Cmin is a built-in model constant whose value is 1e-18.

Dependencies

This parameter is only visible when you select Yes for the Model junction capacitance (CBD, CBS) parameter.

Transistor sidewall grading coefficient. The value must be equal to 0 or less than MGmax. MGmax is a built-in model constant whose value is 0.9.

Dependencies

This parameter is only visible when you select Yes for the Model junction capacitance (CBD, CBS) parameter.

Fitting coefficient that quantifies the decrease of the depletion capacitance with applied voltage. The value must be equal to 0 or less than or equal to FCmax. FCmax is a built-in model constant whose value is 0.95.

Dependencies

This parameter is only visible when you select Yes for the Model junction capacitance (CBD, CBS) parameter.

Options for specifying initial conditions:

  • No — Do not specify an initial condition for the model.

  • Yes — Specify the initial transistor voltage.

    Note

    The block applies the initial transistor voltage across the junction capacitors and not across the ports.

Dependencies

To enable this parameter, set either:

  • Model gate capacitance (CGS, CGD, CGB) to No intrinsic capacitance and either or both Model gate overlap capacitance (CGSO, CGDO, CGBO) and Model junction capacitance (CBD, CBS) to Yes.

  • Model gate capacitance (CGS, CGD, CGB) to Meyer gate capacitances or Charge conservation capacitances.

Drain-source voltage at the start of the simulation.

Dependencies

This parameter is only visible when you select Yes for the Specify initial condition parameter.

Gate-source voltage at the start of the simulation.

Dependencies

This parameter is only visible when you select Yes for the Specify initial condition parameter.

Bulk-source voltage at the start of the simulation.

Dependencies

This parameter is only visible when you select Yes for the Specify initial condition parameter.

Process

Thickness of the gate oxide. The value must be greater than or equal to 0.

Length of lateral diffusion.

Zero-bias surface mobility coefficient.

Substrate doping. The value must be greater than or equal to 1.45e10 (the carrier concentration of intrinsic silicon).

MOSFET gate materials (as compared to the substrate):

  • Opposite of substrate — The gate material is the opposite of the substrate. This means that TPG = 1 in the device equations. This is the default option.

  • Same as substrate — The gate material is the same as the substrate. This means that TPG = –1 in the device equations.

  • Aluminum — The gate material is aluminum. This means that TPG = 0 in the device equations.

Surface state density.

Junction depth.

Dependencies

This parameter is only visible when you select Level 3 MOS for the MOS model parameter in the Model Selection settings.

Temperature

Select one of these options for modeling the transistor temperature dependence:

  • Device temperature — Use the device temperature to model temperature dependence.

  • Fixed temperature — Use a temperature that is independent of the circuit temperature to model temperature dependence.

For more information, see Temperature Dependence.

Dependencies

Selecting Device temperature exposes the Offset local circuit temperature, TOFFSET parameter. Selecting Fixed temperature exposes the Fixed circuit temperature, TFIXED parameter.

Transistor simulation temperature. The value must be greater than 0 K.

Dependencies

This parameter is only visible when you select Fixed temperature for the Model temperature dependence using parameter.

The temperature at which the transistor parameters are measured. The value must be greater than 0 K.

The amount by which the transistor temperature differs from the circuit temperature.

Dependencies

This parameter is only visible when you select Device temperature for the Model temperature dependence using parameter.

References

[1] G. Massobrio and P. Antognetti. Semiconductor Device Modeling with SPICE. 2nd Edition. New York: McGraw-Hill, 1993.

[2] Ping Yang, et al. ‘An Investigation of the Charge Conservation Problem for MOSFET Circuit Simulation’. IEEE Journal of Solid-State Circuits, vol. 18, no. 1, Feb. 1983, pp. 128–38. DOI.org (Crossref), doi:10.1109/JSSC.1983.1051909.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2009a