Q_NPNBJT
NPN bipolar junction transistor
Description
Equations
Variables
Connections
Parameters
Constants
Modelica Standard Library
The Q_NPNBJT component models a NPN bipolar junction transistor, using a modified Gummel-Poon model.
{substrateVoltage=0;¬useSubstrateNode
0=ibegmin+ire+cc.iCC+cc.iBEN+cc.iBE+icapbe
0=ibcgmin+irc−cc.iCC+cc.iBCN+cc.iBC+icapbc+icapbx−icapcs+icaptt
0=−ibcgmin−ibegmin+irb−cc.iBC−cc.iBE−cc.iBCN−cc.iBEN−icapbc−icapbe−icaptt
iB=irb+icapbx
iC=irc
iE=ire
cc=Modelica.Electrical.Spice3.Internal.Bjt.bjtNoBypassCode⁡dev1,p1,c,set⁡vC,vB,vE,Cinternal,Binternal,Einternal
ibcgmin=Modelica.Electrical.Spice3.Internal.SpiceConstants.CKTgmin⁢Binternal−Cinternal
ibegmin=Modelica.Electrical.Spice3.Internal.SpiceConstants.CKTgmin⁢Binternal−Einternal
icapbc={0mbInitcc.capbc⁢Diff⁡vbc,totherwise
icapbe={0mbInitcc.capbe⁢Diff⁡vbe,totherwise
icapbx={0mbInitcc.capbx⁢Diff⁡vbx,totherwise
icapcs={0mbInitcc.capcs⁢Diff⁡vcs,totherwise
icaptt={0mbInitcc.captt⁢Diff⁡vbc,totherwise
vbc=Binternal−Cinternal
vbe=Binternal−Einternal
vbx=vB−Cinternal
vcs=Cinternal−substrateVoltage
substrateCurrent=icapcs
irb⁢p.m_baseResist=vB−Binternal
irc⁢p1.m_collectorResist=vC−Cinternal
ire⁢p1.m_emitterResist=vE−Einternal
Name
Units
Modelica ID
substrateVoltage
V
substrateCurrent
A
cc
Cinternal
Binternal
Einternal
vbe
vbc
vbx
vcs
irc
ire
irb
ibcgmin
ibegmin
icapbe
icapbc
icapbx
icapcs
icaptt
B
Base node
C
Collector node
E
Emitter node
S
General Parameters
Default
useSubstrateNode
false
=true, if SubstrateNode is enabled
1
Area factor
AREA
UIC
Use initial conditions: true, if initial condition is used
T
27
°C
Operating temperature of the device
TEMP
modelcard
BJT modelcard
Constant Parameters
TBJT
Type of transistor (NPN=1, PNP=-1)
OFF
Optional initial condition: false - IC not used, true - IC used, not implemented yet
ICVBE
−1·1040
Initial condition value (VBC, not implemented yet)
IC_VBE
ICVCE
Initial condition value (VBE, not implemented yet)
IC_VCE
SENSAREA
Flag to request sensitivity WRT area, not implemented yet
SENS_AREA
p
[1]
Model line parameters
dev
[2]
Renamed parameters
p1
[3]
Model line variables
dev1
[4]
Precalculated parameters
c
[5]
[1] Modelica⋅Electrical⋅Spice3⋅Internal⋅Bjt⋅bjtRenameParameters⁡modelcard,TBJT
[2] Modelica⋅Electrical⋅Spice3⋅Internal⋅Bjt⋅bjtRenameParametersDev⁡AREA,OFF,ICVBE,ICVCE,UIC,SENSAREA,TEMP
[3] Modelica⋅Electrical⋅Spice3⋅Internal⋅Bjt⋅bjtModelLineInitEquations⁡p
[4] Modelica⋅Electrical⋅Spice3⋅Internal⋅Bjt⋅bjtInitEquations⁡dev,p1
[5] Modelica⋅Electrical⋅Spice3⋅Internal⋅Bjt⋅bjtCalcTempDependencies⁡dev1,p1
Value
mbInit
m_bInit
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
Download Help Document