Class Biasing
DC biasing behavior for a BipolarJunctionTransistor.
Implements
Inherited Members
Namespace: SpiceSharp.Components.Bipolars
Assembly: SpiceSharp.dll
Syntax
[BehaviorFor(typeof(BipolarJunctionTransistor))]
[AddBehaviorIfNo(typeof(IBiasingBehavior))]
public class Biasing : Temperature, ITemperatureBehavior, IParameterized<Parameters>, IConvergenceBehavior, IBiasingBehavior, IBehavior, IParameterSetCollection, IExportPropertySet<double>, IParameterSet
Constructors
Biasing(IComponentBindingContext)
Initializes a new instance of the Biasing class.
Declaration
public Biasing(IComponentBindingContext context)
Parameters
Type | Name | Description |
---|---|---|
IComponentBindingContext | context | The context. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | Thrown if |
Properties
BaseCharge
Gets the base charge.
Declaration
public double BaseCharge { get; protected set; }
Property Value
Type | Description |
---|---|
double | The base charge. |
BaseConfiguration
Gets the base configuration of the simulation.
Declaration
protected BiasingParameters BaseConfiguration { get; }
Property Value
Type | Description |
---|---|
BiasingParameters |
BaseCurrent
Gets the base current.
Declaration
[ParameterName("cb")]
[ParameterName("ib")]
[ParameterInfo("Current at base node")]
public double BaseCurrent { get; protected set; }
Property Value
Type | Description |
---|---|
double | The base current. |
BasePrime
Gets the internal base node.
Declaration
protected IVariable<double> BasePrime { get; }
Property Value
Type | Description |
---|---|
IVariable<double> | The internal base node. |
CollectorCurrent
Gets the collector current.
Declaration
[ParameterName("cc")]
[ParameterName("ic")]
[ParameterInfo("Current at collector node")]
public double CollectorCurrent { get; protected set; }
Property Value
Type | Description |
---|---|
double | The collector current. |
CollectorPrime
Gets the internal collector node.
Declaration
protected IVariable<double> CollectorPrime { get; }
Property Value
Type | Description |
---|---|
IVariable<double> | The internal collector node. |
CondBc
Gets the base-collector conductance.
Declaration
public double CondBc { get; protected set; }
Property Value
Type | Description |
---|---|
double | The base-collector conductance. |
CondBe
Gets the base-emitter conductance.
Declaration
public double CondBe { get; protected set; }
Property Value
Type | Description |
---|---|
double | The base-emitter conductance. |
ConductanceMu
Gets the small signal conductance mu.
Declaration
[ParameterName("gmu")]
[ParameterInfo("Small signal conductance - mu")]
public double ConductanceMu { get; protected set; }
Property Value
Type | Description |
---|---|
double | The small signal conductance mu. |
ConductancePi
Gets the small signal input conductance - pi.
Declaration
[ParameterName("gpi")]
[ParameterInfo("Small signal input conductance - pi")]
public double ConductancePi { get; protected set; }
Property Value
Type | Description |
---|---|
double | The small signal input conductance - pi. |
ConductanceX
Gets the conductance - X.
Declaration
public double ConductanceX { get; protected set; }
Property Value
Type | Description |
---|---|
double | The conductance - X. |
CurrentBc
Gets the base-collector current.
Declaration
public virtual double CurrentBc { get; protected set; }
Property Value
Type | Description |
---|---|
double | The base-collector current. |
CurrentBe
Gets the base-emitter current.
Declaration
public virtual double CurrentBe { get; protected set; }
Property Value
Type | Description |
---|---|
double | The base-emitter current. |
Dqbdvc
TODO: Try to factor out this part of the biasing behavior. Gets or sets the charge to collector voltage derivative.
Declaration
public double Dqbdvc { get; protected set; }
Property Value
Type | Description |
---|---|
double |
Dqbdve
TODO: Try to factor our this part of the biasing behavior. Gets or sets the charge to emitter voltage derivative.
Declaration
public double Dqbdve { get; protected set; }
Property Value
Type | Description |
---|---|
double |
EmitterPrime
Gets the internal emitter node.
Declaration
protected IVariable<double> EmitterPrime { get; }
Property Value
Type | Description |
---|---|
IVariable<double> | The internal emitter node. |
Iteration
Gets the iteration.
Declaration
protected IIterationSimulationState Iteration { get; }
Property Value
Type | Description |
---|---|
IIterationSimulationState | The iteration. |
OutputConductance
Gets the output conductance.
Declaration
[ParameterName("go")]
[ParameterInfo("Small signal output conductance")]
public double OutputConductance { get; protected set; }
Property Value
Type | Description |
---|---|
double | The output conductance. |
Power
Gets the instantaneously dissipated power.
Declaration
[ParameterName("p")]
[ParameterInfo("Power dissipation")]
public virtual double Power { get; }
Property Value
Type | Description |
---|---|
double | The instantaneously dissipated power. |
Transconductance
Gets the transconductance.
Declaration
[ParameterName("gm")]
[ParameterInfo("Small signal transconductance")]
public double Transconductance { get; protected set; }
Property Value
Type | Description |
---|---|
double | The transconductance. |
VoltageBc
Gets the base-collector voltage.
Declaration
[ParameterName("vbc")]
[ParameterInfo("B-C voltage")]
public double VoltageBc { get; }
Property Value
Type | Description |
---|---|
double | The base-collector voltage. |
VoltageBe
Gets the base-emitter voltage.
Declaration
[ParameterName("vbe")]
[ParameterInfo("B-E voltage")]
public double VoltageBe { get; }
Property Value
Type | Description |
---|---|
double | The base-emitter voltage. |
Methods
ExcessPhaseCalculation(ref double, ref double, ref double)
Excess phase calculation.
Declaration
protected virtual void ExcessPhaseCalculation(ref double cc, ref double cex, ref double gex)
Parameters
Type | Name | Description |
---|---|---|
double | cc | The collector current. |
double | cex | The excess phase current. |
double | gex | The excess phase conductance. |
Initialize(out double, out double)
Initializes the voltages for the current iteration.
Declaration
protected virtual void Initialize(out double vbe, out double vbc)
Parameters
Type | Name | Description |
---|---|---|
double | vbe | The base-emitter voltage. |
double | vbc | The base-collector voltage. |
Load()
Declaration
protected virtual void Load()