diff options
Diffstat (limited to 'src/lib/netlist/analog/nld_bjt.cpp')
-rw-r--r-- | src/lib/netlist/analog/nld_bjt.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/netlist/analog/nld_bjt.cpp b/src/lib/netlist/analog/nld_bjt.cpp index a174b3876b2..98a0d80836f 100644 --- a/src/lib/netlist/analog/nld_bjt.cpp +++ b/src/lib/netlist/analog/nld_bjt.cpp @@ -49,7 +49,7 @@ namespace analog // nld_Q - Base classes // ----------------------------------------------------------------------------- - /*! Class representing the bjt model paramers. + /*! Class representing the bjt model parameters. * * This is the model representation of the bjt model. Typically, SPICE uses * the following parameters. A "Y" in the first column indicates that the @@ -71,7 +71,7 @@ namespace analog * | | ISC | leakage saturation current | A | 0 | 8 | | * | | NC | leakage emission coefficient | - | 2 | 1.5 | | * | | RB | zero bias base resistance | | 0 | 100 | * | - * | | IRB | current where base resistance falls halfway to its min value | A | infinte | 0.1 | * | + * | | IRB | current where base resistance falls halfway to its min value | A | infinite | 0.1 | * | * | | RBM | minimum base resistance at high currents | | RB | 10 | * | * | | RE | emitter resistance | | 0 | 1 | * | * | | RC | collector resistance | | 0 | 10 | * | @@ -271,6 +271,7 @@ namespace analog connect("B", "m_CJC.1"); connect("C", "m_CJC.2"); } + } protected: @@ -428,6 +429,8 @@ namespace analog const nl_double Ie = (sIe + gee * m_gD_BE.Vd() - gec * m_gD_BC.Vd()) * polarity; const nl_double Ic = (sIc - gce * m_gD_BE.Vd() + gcc * m_gD_BC.Vd()) * polarity; + // "Circuit Design", page 174 + m_D_EB.set_mat( gee, gec - gee, -Ie, gce - gee, gee - gec, Ie); m_D_CB.set_mat( gcc, gce - gcc, -Ic, |