Class Transistor
A class with static methods for Mosfet transistors.
Inherited Members
Namespace: SpiceSharp.Components.Mosfets
Assembly: SpiceSharp.dll
Syntax
public static class Transistor
Methods
LimitFet(double, double, double)
Limiting function for a FET.
Declaration
public static double LimitFet(double newVoltage, double oldVoltage, double threshold)
Parameters
Type | Name | Description |
---|---|---|
double | newVoltage | New voltage. |
double | oldVoltage | Old voltage. |
double | threshold | Threshold value. |
Returns
Type | Description |
---|---|
double | The new voltage, limited if necessary. |
Remarks
Update taken from ngSpice, which was fixed by Alan Gillespie's code.
LimitVds(double, double)
Limiting function for the drain-source voltage.
Declaration
public static double LimitVds(double newVoltage, double oldVoltage)
Parameters
Type | Name | Description |
---|---|---|
double | newVoltage | The new voltage. |
double | oldVoltage | The old voltage. |
Returns
Type | Description |
---|---|
double | The new voltage, limited if necessary. |
MeyerCharges(double, double, double, double, out double, out double, out double, double, double)
QMeyer method for calculating capacitances.
Declaration
public static void MeyerCharges(double vgs, double vgd, double von, double vdsat, out double capGs, out double capGd, out double capGb, double phi, double cox)
Parameters
Type | Name | Description |
---|---|---|
double | vgs | The gate-source voltage. |
double | vgd | The gate-drain voltage. |
double | von | The threshold voltage for switching on. |
double | vdsat | The saturation voltage. |
double | capGs | The gate-source capacitance. |
double | capGd | The gate-drain capacitance. |
double | capGb | The gate-bulk capacitance. |
double | phi | The gate-bulk voltage. |
double | cox | The oxide capacitance. |