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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Temperature | Tnom (from SpiceTwoPort) | 300.15 | Reference temperature |
| Modelica.SIunits.Resistance | RB | 0 | Zero-bias base resistance at reference temperature |
| Modelica.SIunits.Resistance | RBM | 0 | Minimum base resistance at reference temperature |
| Modelica.SIunits.Current | IRB | 0 | Reference base current at reference temperature |
| Real | TRB1 | 0 | Linear temperature coefficient [Ohm/degree] |
| Real | TRB2 | 0 | Quadratic temperature coefficient [Ohm/(degree*degree)] |
| Real | TRM1 | 0 | Linear temperature coefficient [Ohm/degree] |
| Real | TRM2 | 0 | Quadratic temperature coefficient [Ohm/(degree*degree)] |
| Real | Area | 1 | Relative area occupied by resistor |
| Integer | Level | 2 | Transistor modeling level (Ebers-Moll = 1; Gummel-Poon = 2) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Electrical.Analog.Interfaces.PositivePin | p (from OnePort) | Left electrical connector | |
| Modelica.Electrical.Analog.Interfaces.NegativePin | n (from OnePort) | Right electrical connector | |
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | heatPort (from SpiceTwoPort) | may remain unconnected | |
| Modelica.Blocks.Interfaces.RealInput | qb | Base charge |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Voltage | v (from OnePort) | Voltage drop between the two pins | |
| Modelica.SIunits.Current | i (from OnePort) | Current flowing from pin p to pin n |