Class Biasing
Biasing behavior for a Mosfet2.
Implements
Inherited Members
Namespace: SpiceSharp.Components.Mosfets.Level2
Assembly: SpiceSharp.dll
Syntax
[BehaviorFor(typeof(Mosfet2))]
[AddBehaviorIfNo(typeof(IBiasingBehavior))]
public class Biasing : Temperature, ITemperatureBehavior, IMosfetBiasingBehavior, 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 |
Fields
EpsilonSilicon
The permittivity of silicon.
Declaration
protected const double EpsilonSilicon = 1.0359431399069999E-10
Field Value
Type | Description |
---|---|
double |
MaximumExponentArgument
The maximum exponent argument.
Declaration
protected const double MaximumExponentArgument = 709
Field Value
Type | Description |
---|---|
double |
Properties
Gbd
Gets the small-signal bulk-drain conductance (gbd).
Declaration
[ParameterName("gbd")]
[ParameterInfo("Bulk-Drain conductance")]
public double Gbd { get; }
Property Value
Type | Description |
---|---|
double | The small-signal bulk-drain conductance. |
Gbs
Gets the small-signal bulk-source conductance (gbs).
Declaration
[ParameterName("gbs")]
[ParameterInfo("Bulk-Source conductance")]
public double Gbs { get; }
Property Value
Type | Description |
---|---|
double | The small-signal bulk-source conductance. |
Gds
Gets the small-signal drain-source conductance (gds).
Declaration
[ParameterName("gds")]
[ParameterInfo("Drain-Source conductance")]
public double Gds { get; }
Property Value
Type | Description |
---|---|
double | The small-signal drain-source conductance. |
Gm
Gets the small-signal transconductance (gm).
Declaration
[ParameterName("gm")]
[ParameterInfo("Transconductance")]
public double Gm { get; }
Property Value
Type | Description |
---|---|
double | The small-signal transconductance. |
Gmbs
Gets the small-signal bulk-source transconductance (gmb).
Declaration
[ParameterName("gmb")]
[ParameterName("gmbs")]
[ParameterInfo("Bulk-Source transconductance")]
public double Gmbs { get; }
Property Value
Type | Description |
---|---|
double | The small-signal bulk-source transconductance. |
Ibd
Gets the bulk-drain current.
Declaration
[ParameterName("ibd")]
[ParameterInfo("B-D junction current")]
public double Ibd { get; }
Property Value
Type | Description |
---|---|
double | The bulk-drain current. |
Ibs
Gets the bulk-source current.
Declaration
[ParameterName("ibs")]
[ParameterInfo("B-S junction current")]
public double Ibs { get; }
Property Value
Type | Description |
---|---|
double | The bulk-source current. |
Id
Gets the drain current.
Declaration
[ParameterName("id")]
[ParameterName("cd")]
[ParameterInfo("Drain current")]
public double Id { get; }
Property Value
Type | Description |
---|---|
double | The drain current. |
Mode
Gets the current mode of operation. A value of -1.0 means that the source and drain have switched.
Declaration
public double Mode { get; }
Property Value
Type | Description |
---|---|
double | The current mode of operation. |
Vbd
Gets the bulk-drain voltage (vbd).
Declaration
[ParameterName("vbd")]
[ParameterInfo("Bulk-Drain voltage")]
public double Vbd { get; }
Property Value
Type | Description |
---|---|
double | The bulk-drain voltage. |
Vbs
Gets the bulk-source voltage (vbs).
Declaration
[ParameterName("vbs")]
[ParameterInfo("Bulk-Source voltage")]
public double Vbs { get; }
Property Value
Type | Description |
---|---|
double | The bulk-source voltage. |
Vds
Gets the drain-source voltage (vds).
Declaration
[ParameterName("vds")]
[ParameterInfo("Drain-Source voltage")]
public double Vds { get; }
Property Value
Type | Description |
---|---|
double | The drain-source voltage. |
Vdsat
Gets the saturation voltage (vdsat).
Declaration
[ParameterName("vdsat")]
[ParameterInfo("Saturation drain-source voltage")]
public double Vdsat { get; }
Property Value
Type | Description |
---|---|
double | The saturation voltage. |
Remarks
If vds is larger than vdsat, then the transistor can be considered to be in the saturation region.
Vgs
Gets the gate-source voltage (vgs).
Declaration
[ParameterName("vgs")]
[ParameterInfo("Gate-Source voltage")]
public double Vgs { get; }
Property Value
Type | Description |
---|---|
double | The gate-source voltage. |
Von
Declaration
[ParameterName("von")]
[ParameterInfo("Turn-on voltage")]
public double Von { get; }
Property Value
Type | Description |
---|---|
double |
Methods
Initialize(out double, out double, out double, out bool)
Initializes the voltages that need to be used for calculating the current iteration.
Declaration
protected void Initialize(out double vgs, out double vds, out double vbs, out bool check)
Parameters
Type | Name | Description |
---|---|---|
double | vgs | The gate-source voltage. |
double | vds | The drain-source voltage. |
double | vbs | The bulk-source voltage. |
bool | check | If set to |
Events
UpdateContributions
Occurs when the contributions can be updated.
Declaration
public event EventHandler<MosfetContributionEventArgs> UpdateContributions
Event Type
Type | Description |
---|---|
EventHandler<MosfetContributionEventArgs> |