Q_NPNBJT - MapleSim Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Q_NPNBJT

NPN bipolar junction transistor

 

Description

Equations

Variables

Connections

Parameters

Constants

Modelica Standard Library

Description

The Q_NPNBJT component models a NPN bipolar junction transistor, using a modified Gummel-Poon model.

Equations

{substrateVoltage=0;¬useSubstrateNode

0=ibegmin+ire+cc.iCC+cc.iBEN+cc.iBE+icapbe

0=ibcgmin+irccc.iCC+cc.iBCN+cc.iBC+icapbc+icapbxicapcs+icaptt

0=ibcgminibegmin+irbcc.iBCcc.iBEcc.iBCNcc.iBENicapbcicapbeicaptt

iB=irb+icapbx

iC=irc

iE=ire

cc=Modelica.Electrical.Spice3.Internal.Bjt.bjtNoBypassCodedev1,p1,c,setvC,vB,vE,Cinternal,Binternal,Einternal

ibcgmin=Modelica.Electrical.Spice3.Internal.SpiceConstants.CKTgminBinternalCinternal

ibegmin=Modelica.Electrical.Spice3.Internal.SpiceConstants.CKTgminBinternalEinternal

icapbc={0mbInitcc.capbcDiffvbc,totherwise

icapbe={0mbInitcc.capbeDiffvbe,totherwise

icapbx={0mbInitcc.capbxDiffvbx,totherwise

icapcs={0mbInitcc.capcsDiffvcs,totherwise

icaptt={0mbInitcc.capttDiffvbc,totherwise

vbc=BinternalCinternal

vbe=BinternalEinternal

vbx=vBCinternal

vcs=CinternalsubstrateVoltage

substrateCurrent=icapcs

irbp.m_baseResist=vBBinternal

ircp1.m_collectorResist=vCCinternal

irep1.m_emitterResist=vEEinternal

Variables

Name

Units

Description

Modelica ID

substrateVoltage

V

 

substrateVoltage

substrateCurrent

A

 

substrateCurrent

cc

 

 

cc

Cinternal

V

 

Cinternal

Binternal

V

 

Binternal

Einternal

V

 

Einternal

vbe

V

 

vbe

vbc

V

 

vbc

vbx

V

 

vbx

vcs

V

 

vcs

irc

A

 

irc

ire

A

 

ire

irb

A

 

irb

ibcgmin

A

 

ibcgmin

ibegmin

A

 

ibegmin

icapbe

A

 

icapbe

icapbc

A

 

icapbc

icapbx

A

 

icapbx

icapcs

A

 

icapcs

icaptt

A

 

icaptt

Connections

Name

Description

Modelica ID

B

Base node

B

C

Collector node

C

E

Emitter node

E

S

 

S

Parameters

General Parameters

Name

Default

Units

Description

Modelica ID

useSubstrateNode

false

 

=true, if SubstrateNode is enabled

useSubstrateNode

A

1

 

Area factor

AREA

UIC

false

 

Use initial conditions: true, if initial condition is used

UIC

T

27

°C

Operating temperature of the device

TEMP

modelcard

 

 

BJT modelcard

modelcard

Constant Parameters

Name

Default

Units

Description

Modelica ID

TBJT

1

 

Type of transistor (NPN=1, PNP=-1)

TBJT

OFF

false

 

Optional initial condition: false - IC not used, true - IC used, not implemented yet

OFF

ICVBE

−1·1040

V

Initial condition value (VBC, not implemented yet)

IC_VBE

ICVCE

−1·1040

V

Initial condition value (VBE, not implemented yet)

IC_VCE

SENSAREA

false

 

Flag to request sensitivity WRT area, not implemented yet

SENS_AREA

p

[1]

 

Model line parameters

p

dev

[2]

 

Renamed parameters

dev

p1

[3]

 

Model line variables

p1

dev1

[4]

 

Precalculated parameters

dev1

c

[5]

 

Precalculated parameters

c

[1] ModelicaElectricalSpice3InternalBjtbjtRenameParametersmodelcard,TBJT

[2] ModelicaElectricalSpice3InternalBjtbjtRenameParametersDevAREA,OFF,ICVBE,ICVCE,UIC,SENSAREA,TEMP

[3] ModelicaElectricalSpice3InternalBjtbjtModelLineInitEquationsp

[4] ModelicaElectricalSpice3InternalBjtbjtInitEquationsdev,p1

[5] ModelicaElectricalSpice3InternalBjtbjtCalcTempDependenciesdev1,p1

Constants

Name

Value

Units

Description

Modelica ID

mbInit

false

 

 

m_bInit

Modelica Standard Library

The component described in this topic is from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.

See Also

Spice3 Overview

Spice3 Semiconductors