modelCjS

Spice-style junction capacitor model for bipolar transistors

Extends from BondLib.Interfaces.TwoPort (Partial model invoking two bondgraphic connectors).

Information

The Spice-style junction capacitance computes both the depletion capacitance value and the diffusion capacitance value of a junction used in a bipolar transistor. Different Spice dialects vary in the formulae they use for this purpose. Many Spice dialects actually don't use a formula for the junction capacitance at all, but rather compute the electric charge stored in the junction directly, which is conceptually cleaner. However, that approach is computationally cumbersome, as it leads to an awkward algebraic loop [1]. Thus, we chose to compute the junction capacitance, and use a (physically incorrect) approximate non-linear capacitor model (just as in the case of the simpler Ebers-Moll model). The numerical error should remain small, as the time constants associated with temperature change are much larger than those associated with electrical phenomena.

This particular model uses the space charge formula advocated in [2]. Since:

f = der(q)

the space charge, q, was symbolically differentiated. In the differentiation, only electrical signals, i.e., the voltage, e, were considered time-varying. The temperature gradients were assumed to be negligible. This produced an equation of the form:

f = C(e)*der(e)

which is the formula that was used to compute the non-linear capacitance C(e) in the model.


Parameters:

 Is:      Transport saturation current (default value = 1e-16 Amp)

 EG:      Energy gap for temperature effect on saturation current (default value = 1.11 Volt)

 N:       Current emission coefficient (default value = 1)

 XTI:     Saturation current temperature exponent (default value = 3)

 VJ:      Built-in potential at reference temperature (default value = 0.75 Volt)

 CJ:      Zero-bias depletion capacitance at reference temperature (default value = 0.5e-12 F)

 XCJ:     Fraction of base-collector depletion capacitance connected to internal base node (default value = 1)

 MJ:      Junction grading coefficient (default value = 0.333)

 Tau:     Ideal transit time (default value = 1e-9 sec)

 GminDC:  Leakage conductance (default value = 1e-15 Mho)

 Area:    Relative area occupied by the diode (default value = 1)

 Level:  Transistor modeling level (Ebers-Moll = 1; Gummel-Poon = 2) (default value = 2)

 BE:      True if base-emitter junction (default value = true)


References:

  1. Cellier, F.E. (1991), Continuous System Modeling, Springer-Verlag, New York, pp. 224-225.
  2. Massobrio, G. and P. Antognetti (1993), Semiconductor Device Modeling with Spice, 2nd edition, McGraw Hill, New York, p.69.

Parameters

TypeNameDefaultDescription
Modelica.SIunits.TemperatureTnom300.15Reference temperature
Modelica.SIunits.CurrentIS1e-16Saturation current at reference temperature
Modelica.SIunits.ConductanceGminDC1e-15Leakage conductance
RealN1Current emission coefficient
Modelica.SIunits.CapacitanceCJ0.5e-12Zero-bias depletion capacitance at reference temperature
RealMJ0.333Junction grading coefficient
Modelica.SIunits.VoltageVJ0.8Built-in potential at reference temperature
RealXCJ1Fraction of depletion capacitance connected to internal base node
RealFC0.5Factor for linearization of depletion capacitance formula
Modelica.SIunits.TimeTau1e-9Ideal transit time
RealXTI3Saturation current temperature exponent
RealXTB0Forward and reverse beta temperature coefficient
Modelica.SIunits.VoltageEG1.11Energy gap for temperature effect on saturation current
RealArea1Relative area occupied by device
IntegerLevel2Transistor modeling level (Ebers-Moll = 1; Gummel-Poon = 2)
BooleanBEtrueTrue if base-emitter junction
RealEMin-100if x < EMin, the exp(x) function is linearized
RealEMax40if x > EMax, the exp(x) function is linearized

Connectors

TypeNameDefaultDescription
BondLib.Interfaces.BondConBondCon1 (from TwoPort)Left bond graph connector
BondLib.Interfaces.BondConBondCon2 (from TwoPort)Right bond graph connector
Modelica.Blocks.Interfaces.RealInputqbBase charge
Modelica.Blocks.Interfaces.RealInputC0Base capacitance
Modelica.Blocks.Interfaces.RealOutputixExternal base-collector capacitance current
Modelica.Blocks.Interfaces.RealOutputidDiode current

Components

TypeNameDefaultDescription
Reale1 (from TwoPort)Bondgraphic primary effort
Realf1 (from TwoPort)Bondgraphic primary flow
Reale2 (from TwoPort)Bondgraphic secondary effort
Realf2 (from TwoPort)Bondgraphic secondary flow
Junctions.J0p3J0p3_1
Bonds.fBondB1
Sensors.Devbi
Bonds.eBondB2
Sources.mSeVbi
Bonds.fBondB3
Junctions.J1p3J1p3_1
Bonds.eBondB4
Sensors.Dfid1
Bonds.fBondB5
Junctions.J0p3J0p3_2
Bonds.fBondB6
Bonds.fBondB7
nlCnlC1
Bonds.fBondB8
Sensors.DeTdev
DjSDjS1
mC3Cj1
Junctions.J0p3J0p3_3
GjGj1
Bonds.eBondB9