xspice bipolar table model example, add simple temperature model
This commit is contained in:
parent
97602db86f
commit
d4c1d07c26
|
|
@ -170,8 +170,11 @@ R23 36 0 122
|
|||
|
||||
.subckt tbqnpn c b e
|
||||
*** table model of npn bipolar transistor ***
|
||||
* simple behavioral temperature model
|
||||
.param fact = 0.05
|
||||
.param tgain = 1. + (TEMPER / 27. - 1.) * {fact}
|
||||
abip1 %vd(c e) %id(bint e) %id(c e) biptable1
|
||||
.model biptable1 table2d (offset=0.0 gain=1 order=2 file="qinn-clc409-2d-1.table")
|
||||
.model biptable1 table2d (offset=0.0 gain={tgain} order=2 file="qinn-clc409-2d-1.table")
|
||||
* CJE=1.632E-13
|
||||
Cje b e 1.632E-13
|
||||
* CJC=1.720E-13
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ vee 3 0 0
|
|||
.control
|
||||
** output file **
|
||||
set outfile = "qinn-clc409-2d-1.table"
|
||||
*set outfile = "D:/Software/Spice/ngspice/src/xspice/examples/table/qinn-clc409-2d-1.table"
|
||||
dc vce -0.1 6 0.05 ib -0.1u 2u 0.1u
|
||||
plot i(vee)
|
||||
plot v(1) ylimit -0.2 0.8
|
||||
|
|
|
|||
Loading…
Reference in New Issue