Uploaded by peti5.1

Modeling BJTs in Multisim

advertisement
SPICE BJT Declaration
The generic BJT is a 4-terminal device that is specified in the netlist as:
NC
Qname NC NB NE <NS> ModName <Area>
NS
NB
where:
NE
Ns: optional substrate node (assumed to be grounded if omitted)
Area: an optional area factor. Default: 1
If an optional parameter is omitted the default values are used.
Here is an example declaration for the devices at right:
Q1 1 2 3 MyBJT
1
2
3
2
3
1
Additional device parameters, including whether the device is NPN or PNP, are
defined in the MODEL declaration for MyBJT (next slide!)
© Bob York
Back to TOC
SPICE BJT Model
The SPICE BJT Model is defined in the netlist as
.MODEL ModName TYPE (parameters)
(TYPE is either NPN or PNP)
Some key parameters are:
Parameter
BF
VAF (VA)
CJC
CJE
TF
TR
IS
NF
IKF (IK)
RB
RC
RE
Description
ideal maximum forward beta
forward Early voltage
base-collector zero-bias p-n capacitance
base-emitter zero-bias p-n capacitance
forward transit time (for b-e diffusion capacitance)
reverse transit time (for b-c diffusion capacitance)
transport saturation current
Forward emission coefficient (ideality factor)
corner for forward-beta high-current roll-off
zero-bias (maximum) base resistance ohm
collector ohmic resistance
emitter ohmic resistance
Units
Default
100.0
∞
0.0
0.0
0
0
1E-16
1
∞
0.0
0.0
0.0
volt
farad
farad
sec
sec
amp
amp
ohm
ohm
In terms of these parameters some of the basic device characteristics are:

Vbe /NFVT
I c  IS e

V 

 1  1  ce 
 VAF 
gm 
Ic
VT
r 
BF
gm
ro 
VAF
Ic
A simple silicon NPN device with no parasitics could be specified as
.MODEL MyBJT NPN (BF=200 VAF=75)
Key Device Capacitances:
© Bob York
C  g m TF  2CJE
1
C  TR  CJC
ro
Back to TOC
SPICE BJT Parameters
Model parameters
AF
BF
Description
flicker noise exponent
ideal maximum forward beta
BR
CJC
CJE
CJS (CCS)
CN
D
EG
FC
GAMMA
IKF (IK)
IKR
IRB
IS
ISC (C4) †
ISE (C2) †
ISS
ITF
KF
MJC (MC)
MJE (ME)
MJS (MS)
NC
NE
NF
NK
NR
NS
PTF
QCO
ideal maximum reverse beta
base-collector zero-bias p-n capacitance
base-emitter zero-bias p-n capacitance
substrate zero-bias p-n capacitance
quasi-saturation temperature coefficient for hole mobility
quasi-saturation temperature coefficient for scattering-limited hole carrier velocity
bandgap voltage (barrier height)
forward-bias depletion capacitor coefficient
epitaxial region doping factor
corner for forward-beta high-current roll-off
corner for reverse-beta high-current roll-off
current at which Rb falls halfway to
transport saturation current
base-collector leakage saturation current
base-emitter leakage saturation current
substrate p-n saturation current
transit time dependency on Ic
flicker noise coefficient
base-collector p-n grading factor
base-emitter p-n grading factor
substrate p-n grading factor
base-collector leakage emission coefficient
base-emitter leakage emission coefficient
forward current emission coefficient
high-current roll-off coefficient
reverse current emission coefficient
substrate p-n emission coefficient
excess phase @ 1/(2π·TF)Hz
epitaxial region charge factor
quasi-saturation model flag for temp. dependence of GAMMA, RCO, VO
if QUASIMOD = 0, then no temp dependence. if QUASIMOD = 1, then include
zero-bias (maximum) base resistance ohm
minimum base resistance
QUASIMOD
RB
RBM
© Bob York
Units
farad
farad
farad
eV
amp
amp
amp
amp
amp
amp
amp
amp
degree
coulomb
Default
1.0
100.0
1.0
0.0
0.0
0.0
2.42NPN, 2.20PNP
0.87NPN, 0.52PNP
1.11
0.5
1E-11
∞
∞
∞
1E-16
0.0
0.0
0.0
0.0
0.0
0.33
0.33
0.0
2.0
1.5
1.0
0.5
1.0
1.0
0.0
0.0
0
ohm
0.0
RB
Back to TOC
BJT SPICE Parameters (cont..!)
Model parameters
RC
RCO ‡
RE
TF
TR
TRB1
TRB2
TRC1
TRC2
TRE1
TRE2
TRM1
TRM2
T_ABS
T_MEASURED
T_REL_GLOBAL
T_REL_LOCAL
VAF (VA)
VAR (VB)
VG
VJC (PC)
VJE (PE)
VJS (PS)
VO
VTF
XCJC
XCJC2
XCJS
XTB
XTF
XTI (PT)
© Bob York
Description
collector ohmic resistance
epitaxial region resistance
emitter ohmic resistance
ideal forward transit time
ideal reverse transit time
RB temperature coefficient (linear)
RB temperature coefficient (quadratic)
RC temperature coefficient (linear)
RC temperature coefficient (quadratic)
RE temperature coefficient (linear)
RE temperature coefficient (quadratic)
RBM temperature coefficient (linear)
RBM temperature coefficient (quadratic)
absolute temperature
measured temperature
relative to current temperature
relative to AKO model temperature
forward Early voltage
reverse Early voltage
quasi-saturation extrapolated bandgap voltage at 0° K
base-collector built-in potential
base-emitter built-in potential
substrate p-n built-in potential
carrier mobility knee voltage
transit time dependency on Vbc
fraction of CJC connected internally to Rb
fraction of CJC connected internally to Rb
fraction of CJS connected internally to Rc
forward and reverse beta temperature coefficient
transit time bias dependence coefficient
IS temperature effect exponent
Units
ohm
ohm
ohm
sec
sec
°C-1
°C-2
°C-1
°C-2
°C-1
°C-2
°C-1
°C-2
°C
°C
°C
°C
volt
volt
volt
volt
volt
volt
volt
volt
Default
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
∞
∞
1.206
0.75
0.75
0.75
10.0
∞
1.0
1.0
0.0
0.0
3.0
Back to TOC
BJT Devices in MultiSim
Select “Place→Component…”
This will appear in the circuit schematic
Double-click on the component:
This is where
we modify the
SPICE model
parameters
In MultiSim
A number of “virtual” devices to
choose from, here we select the 3terminal NPN BJT
© Bob York
Click “Edit
Model” to see
SPICE Model
declaration
Back to TOC
Simple NPN/PNP Devices in MultiSim
In ECE 2 we will often solve problems assuming a very basic device described by a current gain (β),
and output resistance (Early voltage VA). Set these two parameters in the virtual Model as follows:
Be sure
to set the
units too!
All other parameters in the ideal (virtual) model can be left to
their default values.
After making desired changes in the model, select “Change Part Model”. Only use “Change
All Models” if you want the same model to apply to all the BJTs in your circuit!
© Bob York
Back to TOC
Example Datasheet SPICE models
2N3904
NPN (Is=6.734f Xti=3 Eg=1.11 Vaf=74.03 Bf=416.4 Ne=1.259
Ise=6.734 Ikf=66.78m Xtb=1.5 Br=.7371 Nc=2
Isc=0 Ikr=0 Rc=1 Cjc=3.638p Mjc=.3085 Vjc=.75 Fc=.5
Cje=4.493p Mje=.2593 Vje=.75 Tr=239.5n Tf=301.2p
Itf=.4 Vtf=4 Xtf=2 Rb=10)
2N3906
PNP (Is=1.41f Xti=3 Eg=1.11 Vaf=18.7 Bf=180.7 Ne=1.5 Ise=0
Ikf=80m Xtb=1.5 Br=4.977 Nc=2 Isc=0 Ikr=0
Rc=2.5 Cjc=9.728p Mjc=.5776 Vjc=.75 Fc=.5 Cje=8.063p
Mje=.3677 Vje=.75 Tr=33.42n Tf=179.3p Itf=.4
Vtf=4 Xtf=6 Rb=10)
© Bob York
Back to TOC
Download