modelRb

Spice-style bipolar base resistor of the analog electrical library

Extends from Interfaces.SpiceTwoPort (TwoPort interface for Spice-style models).

Information

The base resistor is the most important of the parasitic resistors of a bipolar transistor. For this reason, Spice models this resistor using a more sophisticated model with additional parameters.


Parameters:

 RB:     Reference zero-bias base resistance (default value = 0 Ohm)

 RBM:    Reference minimum base resistance (default value = 0 Ohm)

 IRB:    Current where base resistance falls halfway to minimum value (default value = 0 Amp)

 Tnom:   Reference temperature (default value = 300.15 oK)

 TRB1:   Linear temperature variation coefficient of RB (default value = 0 1/oK)

 TRB2:   Quadratic temperature variation coefficient of RB (default value = 0 1/oK2)

 TRM1:   Linear temperature variation coefficient of RBM (default value = 0 1/oK)

 TRM2:   Quadratic temperature variation coefficient of RBM (default value = 0 1/oK2)

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

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

Parameters

TypeNameDefaultDescription
Modelica.SIunits.TemperatureTnom (from SpiceTwoPort)300.15Reference temperature
Modelica.SIunits.ResistanceRB0Zero-bias base resistance at reference temperature
Modelica.SIunits.ResistanceRBM0Minimum base resistance at reference temperature
Modelica.SIunits.CurrentIRB0Reference base current at reference temperature
RealTRB10Linear temperature coefficient [Ohm/degree]
RealTRB20Quadratic temperature coefficient [Ohm/(degree*degree)]
RealTRM10Linear temperature coefficient [Ohm/degree]
RealTRM20Quadratic temperature coefficient [Ohm/(degree*degree)]
RealArea1Relative area occupied by resistor
IntegerLevel2Transistor modeling level (Ebers-Moll = 1; Gummel-Poon = 2)

Connectors

TypeNameDefaultDescription
Modelica.Electrical.Analog.Interfaces.PositivePinp (from OnePort)Left electrical connector
Modelica.Electrical.Analog.Interfaces.NegativePinn (from OnePort)Right electrical connector
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aheatPort (from SpiceTwoPort)may remain unconnected
Modelica.Blocks.Interfaces.RealInputqbBase charge

Components

TypeNameDefaultDescription
Modelica.SIunits.Voltagev (from OnePort)Voltage drop between the two pins
Modelica.SIunits.Currenti (from OnePort)Current flowing from pin p to pin n