pub struct ShockleyDiodeModel {
pub name: String,
pub is: f64,
pub rs: f64,
pub n: f64,
pub tt: f64,
pub cjo: f64,
pub vj: f64,
pub m: f64,
pub bv: f64,
pub ibv: f64,
pub eg: f64,
pub xti: f64,
}Expand description
Shockley diode equation model parameters.
Models the I-V characteristic: I = IS * (exp(V / (N * Vt)) - 1)
with series resistance RS and junction capacitance CJO.
Used for standard diodes, LEDs, Schottky diodes, and Zener diodes.
Parameters not present in the .MODEL line get SPICE defaults.
Fields§
§name: String§is: f64Saturation current (A). Typically 1e-14 to 1e-6.
rs: f64Series resistance (Ω).
n: f64Emission coefficient (ideality factor). Typically 1.0-2.0 for Si, higher for LEDs.
tt: f64Transit time (s).
cjo: f64Zero-bias junction capacitance (F).
vj: f64Junction potential (V). Typically 0.7 for Si.
m: f64Grading coefficient. Typically 0.33-0.5.
bv: f64Reverse breakdown voltage (V). For zeners, this is the zener voltage.
ibv: f64Current at breakdown voltage (A).
eg: f64Bandgap energy (eV): 1.11=Si, 0.69=Schottky, 0.67=Ge.
xti: f64IS temperature exponent: 3=Si junction, 2=Schottky.
Trait Implementations§
Source§impl Clone for ShockleyDiodeModel
impl Clone for ShockleyDiodeModel
Source§fn clone(&self) -> ShockleyDiodeModel
fn clone(&self) -> ShockleyDiodeModel
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more