Class ModelParameters
Base parameters for a BipolarJunctionTransistorModel
Implements
Inherited Members
Namespace: SpiceSharp.Components.Bipolars
Assembly: SpiceSharp.dll
Syntax
public class ModelParameters : ParameterSet<ModelParameters>, ICloneable<ModelParameters>, IImportParameterSet<bool>, IExportPropertySet<string>, IImportParameterSet<double>, IExportPropertySet<double>, IImportParameterSet<GivenParameter<double>>, IExportPropertySet<GivenParameter<double>>, IParameterSet
Fields
Npn
Scalar used for NPN transistors.
Declaration
public const int Npn = 1
Field Value
Type | Description |
---|---|
int |
Pnp
Scalar used for PNP transistors.
Declaration
public const int Pnp = -1
Field Value
Type | Description |
---|---|
int |
Properties
BaseCurrentHalfResist
Gets or sets the current for base resistance (rb + rbm) / 2.
Declaration
[ParameterName("irb")]
[ParameterInfo("Current for base resistance=(rb+rbm)/2", Units = "A")]
[GreaterThanOrEquals(0)]
[Finite]
public double BaseCurrentHalfResist { get; set; }
Property Value
Type | Description |
---|---|
double | The current for base resistance = (rb + rbm) / 2. |
BaseFractionBcCap
Gets or sets the fraction of base-collector capacitance to the internal base.
Declaration
[ParameterName("xcjc")]
[ParameterInfo("Fraction of B-C cap to internal base")]
[GreaterThan(0)]
[Finite]
public double BaseFractionBcCap { get; set; }
Property Value
Type | Description |
---|---|
double | The fraction of base-collector capacitance to the internal base. |
BaseResist
Gets or sets the zero-bias base resistance.
Declaration
[ParameterName("rb")]
[ParameterInfo("Zero bias base resistance")]
[GreaterThanOrEquals(0)]
[Finite]
public double BaseResist { get; set; }
Property Value
Type | Description |
---|---|
double | The zero-bias base resistance. |
BetaExponent
Gets or sets the forward and reverse beta temperature exponent.
Declaration
[ParameterName("xtb")]
[ParameterInfo("Forward and reverse beta temperature exponent")]
[GreaterThanOrEquals(0)]
[Finite]
public double BetaExponent { get; set; }
Property Value
Type | Description |
---|---|
double | The forward and reverse beta temperature exponent. |
BetaF
Gets or sets the ideal forward beta parameter.
Declaration
[ParameterName("bf")]
[ParameterInfo("Ideal forward beta")]
[GreaterThan(0)]
[Finite]
public double BetaF { get; set; }
Property Value
Type | Description |
---|---|
double | The ideal forward beta parameter. |
BetaR
Gets or sets the ideal reverse beta parameter.
Declaration
[ParameterName("br")]
[ParameterInfo("Ideal reverse beta")]
[GreaterThan(0)]
[Finite]
public double BetaR { get; set; }
Property Value
Type | Description |
---|---|
double | The ideal reverse beta parameter. |
BipolarType
Gets or sets the scalar bipolar type (1.0 for NPN or -1.0 for PNP).
Declaration
public double BipolarType { get; protected set; }
Property Value
Type | Description |
---|---|
double | The type of the bipolar. |
C2
Gets or sets a parameter that is not accessible in Spice 3f5
Declaration
[GreaterThanOrEquals(0)]
[Finite]
public double C2 { get; set; }
Property Value
Type | Description |
---|---|
double | The scaling parameter c2. |
C4
Gets or sets a parameter that is not accessible in Spice 3f5
Declaration
[GreaterThanOrEquals(0)]
[Finite]
public double C4 { get; set; }
Property Value
Type | Description |
---|---|
double | The scaling parameter c4. |
CapCs
Gets the zero-bias collector-substrate capacitance.
Declaration
[ParameterName("cjs")]
[ParameterName("ccs")]
[ParameterInfo("Zero bias C-S capacitance", Units = "F")]
[GreaterThanOrEquals(0)]
[Finite]
public double CapCs { get; set; }
Property Value
Type | Description |
---|---|
double | The zero-bias collector-substrate capacitance. |
CollectorResistance
Gets or sets the collector resistance.
Declaration
[ParameterName("rc")]
[ParameterInfo("Collector resistance", Units = "Ω")]
[GreaterThanOrEquals(0)]
[Finite]
public double CollectorResistance { get; set; }
Property Value
Type | Description |
---|---|
double | The collector resistance. |
DepletionCapBc
Gets or sets the zero-bias base-collector depletion capacitance.
Declaration
[ParameterName("cjc")]
[ParameterInfo("Zero bias B-C depletion capacitance")]
[GreaterThanOrEquals(0)]
[Finite]
public double DepletionCapBc { get; set; }
Property Value
Type | Description |
---|---|
double | The zero-bias base-collector depletion capacitance. |
DepletionCapBe
Gets or sets the zero-bias base-emitter depletion capacitance parameter.
Declaration
[ParameterName("cje")]
[ParameterInfo("Zero bias B-E depletion capacitance", Units = "F")]
[GreaterThanOrEquals(0)]
[Finite]
public double DepletionCapBe { get; set; }
Property Value
Type | Description |
---|---|
double | The zero-bias base-emitter depletion capacitance. |
DepletionCapCoefficient
Gets the forward bias junction fit parameter.
Declaration
[ParameterName("fc")]
[ParameterInfo("Forward bias junction fit parameter")]
[GreaterThanOrEquals(0)]
[UpperLimit(0.9999)]
public GivenParameter<double> DepletionCapCoefficient { get; set; }
Property Value
Type | Description |
---|---|
GivenParameter<double> | The forward bias junction fit parameter. |
EarlyVoltageForward
Gets or sets the forward Early voltage.
Declaration
[ParameterName("vaf")]
[ParameterName("va")]
[ParameterInfo("Forward Early voltage", Units = "V")]
[GreaterThanOrEquals(0)]
[Finite]
public double EarlyVoltageForward { get; set; }
Property Value
Type | Description |
---|---|
double | The forward Early voltage. |
EarlyVoltageReverse
Gets or sets the reverse Early voltage.
Declaration
[ParameterName("var")]
[ParameterName("vb")]
[ParameterInfo("Reverse Early voltage", Units = "V")]
[GreaterThanOrEquals(0)]
[Finite]
public double EarlyVoltageReverse { get; set; }
Property Value
Type | Description |
---|---|
double | The reverse Early voltage. |
EmissionCoefficientForward
Gets or sets the forward emission coefficient.
Declaration
[ParameterName("nf")]
[ParameterInfo("Forward emission coefficient")]
[GreaterThan(0)]
[Finite]
public double EmissionCoefficientForward { get; set; }
Property Value
Type | Description |
---|---|
double | The forward emission coefficient. |
EmissionCoefficientReverse
Gets or sets the reverse emission coefficient.
Declaration
[ParameterName("nr")]
[ParameterInfo("Reverse emission coefficient")]
[GreaterThan(0)]
[Finite]
public double EmissionCoefficientReverse { get; set; }
Property Value
Type | Description |
---|---|
double | The reverse emission coefficient. |
EmitterResistance
Gets or sets the emitter resistance.
Declaration
[ParameterName("re")]
[ParameterInfo("Emitter resistance", Units = "Ω")]
[GreaterThanOrEquals(0)]
[Finite]
public double EmitterResistance { get; set; }
Property Value
Type | Description |
---|---|
double | The emitter resistance. |
EnergyGap
Gets the energy gap for saturation current temperature dependency.
Declaration
[ParameterName("eg")]
[ParameterInfo("Energy gap for IS temperature dependency")]
[GreaterThan(0)]
[Finite]
public double EnergyGap { get; set; }
Property Value
Type | Description |
---|---|
double | The energy gap for saturation current temperature dependency. |
ExcessPhase
Gets or sets the excess phase.
Declaration
[ParameterName("ptf")]
[ParameterInfo("Excess phase")]
[GreaterThanOrEquals(0)]
[Finite]
public double ExcessPhase { get; set; }
Property Value
Type | Description |
---|---|
double | The excess phase. |
ExponentialSubstrate
Gets or sets the substrate junction grading coefficient.
Declaration
[ParameterName("mjs")]
[ParameterName("ms")]
[ParameterInfo("Substrate junction grading coefficient")]
[GreaterThanOrEquals(0)]
[Finite]
public double ExponentialSubstrate { get; set; }
Property Value
Type | Description |
---|---|
double | The substrate junction grading coefficient. |
FlickerNoiseCoefficient
Gets or sets the flicker noise coefficient.
Declaration
[ParameterName("kf")]
[ParameterInfo("Flicker Noise Coefficient")]
[Finite]
public double FlickerNoiseCoefficient { get; set; }
Property Value
Type | Description |
---|---|
double | The flicker noise coefficient. |
FlickerNoiseExponent
Gets or sets the flicker noise exponent.
Declaration
[ParameterName("af")]
[ParameterInfo("Flicker Noise Exponent")]
[Finite]
public double FlickerNoiseExponent { get; set; }
Property Value
Type | Description |
---|---|
double | The flicker noise exponent. |
JunctionExpBc
Gets or sets the base-collector junction grading coefficient parameter.
Declaration
[ParameterName("mjc")]
[ParameterName("mc")]
[ParameterInfo("B-C junction grading coefficient")]
[GreaterThan(0)]
[Finite]
public double JunctionExpBc { get; set; }
Property Value
Type | Description |
---|---|
double | The base-collector junction grading coefficient. |
JunctionExpBe
Gets or sets the base-emitter junction grading coefficient.
Declaration
[ParameterName("mje")]
[ParameterName("me")]
[ParameterInfo("B-E junction grading coefficient")]
[GreaterThan(0)]
[Finite]
public double JunctionExpBe { get; set; }
Property Value
Type | Description |
---|---|
double | The base-emitter junction grading coefficient. |
LeakBcCurrent
Gets or sets the base-collector saturation current.
Declaration
[ParameterName("isc")]
[ParameterInfo("B-C leakage saturation current", Units = "A")]
[GreaterThanOrEquals(0)]
[Finite]
public GivenParameter<double> LeakBcCurrent { get; set; }
Property Value
Type | Description |
---|---|
GivenParameter<double> | The base-collector saturation current. |
LeakBcEmissionCoefficient
Gets or sets the base-collector emission coefficient parameter.
Declaration
[ParameterName("nc")]
[ParameterInfo("B-C leakage emission coefficient")]
[GreaterThan(0)]
[Finite]
public double LeakBcEmissionCoefficient { get; set; }
Property Value
Type | Description |
---|---|
double | The base-collector emission coefficient. |
LeakBeCurrent
Gets or sets the base-emitter saturation current.
Declaration
[ParameterName("ise")]
[ParameterInfo("B-E leakage saturation current", Units = "A")]
[GreaterThanOrEquals(0)]
[Finite]
public GivenParameter<double> LeakBeCurrent { get; set; }
Property Value
Type | Description |
---|---|
GivenParameter<double> | The base-emitter leakage saturation current. |
LeakBeEmissionCoefficient
Gets or sets the base-emitter emission coefficient.
Declaration
[ParameterName("ne")]
[ParameterInfo("B-E leakage emission coefficient")]
[GreaterThan(0)]
[Finite]
public double LeakBeEmissionCoefficient { get; set; }
Property Value
Type | Description |
---|---|
double | The base-emitter emission coefficient. |
MinimumBaseResistance
Gets or sets the minimum base resistance.
Declaration
[ParameterName("rbm")]
[ParameterInfo("Minimum base resistance", Units = "Ω")]
[GreaterThanOrEquals(0)]
[Finite]
public GivenParameter<double> MinimumBaseResistance { get; set; }
Property Value
Type | Description |
---|---|
GivenParameter<double> | The minimum base resistance. |
NominalTemperature
Gets or sets the nominal temperature parameter in degrees Kelvin.
Declaration
[GreaterThan(0)]
[Finite]
public GivenParameter<double> NominalTemperature { get; set; }
Property Value
Type | Description |
---|---|
GivenParameter<double> | The nominal temperature in degrees Kelvin. |
NominalTemperatureCelsius
Gets or sets the nominal temperature in degrees Celsius.
Declaration
[ParameterName("tnom")]
[ParameterInfo("Parameter measurement temperature", Units = "°C")]
[GreaterThan(-273.15)]
[Finite]
public double NominalTemperatureCelsius { get; set; }
Property Value
Type | Description |
---|---|
double | The nominal temperature in degrees Celsius. |
PotentialBc
Gets or sets the base-collector built-in potential.
Declaration
[ParameterName("vjc")]
[ParameterName("pc")]
[ParameterInfo("B-C built in potential", Units = "V")]
[GreaterThan(0)]
[Finite]
public double PotentialBc { get; set; }
Property Value
Type | Description |
---|---|
double | The base-collector built-in potential. |
PotentialBe
Gets the base-emitter built-in potential.
Declaration
[ParameterName("vje")]
[ParameterName("pe")]
[ParameterInfo("B-E built in potential", Units = "V")]
[GreaterThan(0)]
[Finite]
public double PotentialBe { get; set; }
Property Value
Type | Description |
---|---|
double | Gets or sets the base-emitter built-in potential. |
PotentialSubstrate
Gets or sets the substrate junction built-in potential.
Declaration
[ParameterName("vjs")]
[ParameterName("ps")]
[ParameterInfo("Substrate junction built-in potential", Units = "V")]
[GreaterThan(0)]
[Finite]
public double PotentialSubstrate { get; set; }
Property Value
Type | Description |
---|---|
double | The substrate junction built-in potential. |
RollOffForward
Gets or sets the forward beta roll-off corner current.
Declaration
[ParameterName("ikf")]
[ParameterName("ik")]
[ParameterInfo("Forward beta roll-off corner current")]
[GreaterThanOrEquals(0)]
[Finite]
public double RollOffForward { get; set; }
Property Value
Type | Description |
---|---|
double | The forward beta roll-off corner current. |
RollOffReverse
Gets or sets the reverse beta roll-off corner current.
Declaration
[ParameterName("ikr")]
[ParameterInfo("reverse beta roll-off corner current")]
[GreaterThanOrEquals(0)]
[Finite]
public double RollOffReverse { get; set; }
Property Value
Type | Description |
---|---|
double | The reverse beta roll-off corner current. |
SatCur
Gets or sets the saturation current.
Declaration
[ParameterName("is")]
[ParameterInfo("Saturation Current", Units = "A")]
[GreaterThan(0)]
[Finite]
public double SatCur { get; set; }
Property Value
Type | Description |
---|---|
double | The saturation current. |
TempExpIs
Gets the temperature exponent for the saturation current.
Declaration
[ParameterName("xti")]
[ParameterInfo("Temperature exponent for IS")]
[Finite]
public double TempExpIs { get; set; }
Property Value
Type | Description |
---|---|
double | The temperature exponent for the saturation current. |
TransitTimeBiasCoefficientForward
Gets or sets the coefficient for bias dependence parameter of the forward transit time.
Declaration
[ParameterName("xtf")]
[ParameterInfo("Coefficient for bias dependence of TF")]
[GreaterThanOrEquals(0)]
[Finite]
public double TransitTimeBiasCoefficientForward { get; set; }
Property Value
Type | Description |
---|---|
double | The coefficient for bias dependence of the forward transit time. |
TransitTimeForward
Gets or sets the ideal forward transit time.
Declaration
[ParameterName("tf")]
[ParameterInfo("Ideal forward transit time", Units = "s")]
[GreaterThanOrEquals(0)]
[Finite]
public double TransitTimeForward { get; set; }
Property Value
Type | Description |
---|---|
double | The ideal forward transit time. |
TransitTimeForwardVoltageBc
Gets or sets the voltage giving the base-collector voltage dependence of the forward transit time.
Declaration
[ParameterName("vtf")]
[ParameterInfo("Voltage giving VBC dependence of TF")]
[GreaterThanOrEquals(0)]
[Finite]
public double TransitTimeForwardVoltageBc { get; set; }
Property Value
Type | Description |
---|---|
double | The voltage giving the base-collector voltage dependence of the forward transit time. |
TransitTimeHighCurrentForward
Gets the high-current dependence of the forward transit time.
Declaration
[ParameterName("itf")]
[ParameterInfo("High current dependence of TF")]
[GreaterThanOrEquals(0)]
[Finite]
public double TransitTimeHighCurrentForward { get; set; }
Property Value
Type | Description |
---|---|
double | The high-current dependence of the forward transit time. |
TransitTimeReverse
Gets or sets the ideal reverse transit time.
Declaration
[ParameterName("tr")]
[ParameterInfo("Ideal reverse transit time", Units = "s")]
[GreaterThanOrEquals(0)]
[Finite]
public double TransitTimeReverse { get; set; }
Property Value
Type | Description |
---|---|
double | The ideal reverse transit time. |
TypeName
Gets the type of the model ("npn" or "pnp").
Declaration
[ParameterName("type")]
[ParameterInfo("NPN or PNP")]
public string TypeName { get; }
Property Value
Type | Description |
---|---|
string | The name of the type. |
Methods
SetNpn(bool)
Set the model to be an NPN transistor.
Declaration
[ParameterName("npn")]
[ParameterInfo("NPN type device")]
public void SetNpn(bool value)
Parameters
Type | Name | Description |
---|---|---|
bool | value | If set to |
SetPnp(bool)
Set the model to be a PNP transistor.
Declaration
[ParameterName("pnp")]
[ParameterInfo("PNP type device")]
public void SetPnp(bool value)
Parameters
Type | Name | Description |
---|---|---|
bool | value | If set to |