| Contents | Index |
SPICE-Compatible Components/Semiconductor Devices
The SPICE Diode block represents a SPICE-compatible diode.
The SPICE Diode block model includes the following components:
The block provides the following relationship between the diode current Id and the diode voltage Vd after adjusting the applicable model parameters for temperature.
| Applicable Range of Vd Values | Corresponding Id Equation |
|---|---|
|
|
|
|
|
|
|
|
Where:
IS is the Saturation current, IS parameter value.
![]()
N is the Emission coefficient, ND parameter value.
q is the elementary charge on an electron.
k is the Boltzmann constant.
T is the diode temperature:
If you select Device temperature for the Model temperature dependence using parameter, T is the sum of the Circuit temperature value plus the Offset local circuit temperature, TOFFSET parameter value. The Circuit temperature value comes from the SPICE Environment Parameters block, if one exists in the circuit. Otherwise, it comes from the default value for this block.
If you select Fixed temperature for the Model temperature dependence using parameter, T is the Fixed circuit temperature, TFIXED parameter value.
GMIN is the diode minimum conductance. By default, GMIN matches the Minimum conductance GMIN parameter of the SPICE Environment Parameters block, whose default value is 1e–12. To change GMIN, add a SPICE Environment Parameters block to your model and set the Minimum conductance GMIN parameter to the desired value.
BV is the Reverse breakdown voltage, BV parameter value.
The block provides the following relationship between the diode charge Qd and the diode voltage Vd after adjusting the applicable model parameters for temperature.
| Applicable Range of Vd Values | Corresponding Qd Equation |
|---|---|
|
|
![]() |
|
|
![]() |
Where:
FC is the Capacitance coefficient FC parameter value.
VJ is the Junction potential VJ parameter value.
TT is the Transit time, TT parameter value.
CJ0 is the Zero-bias junction capacitance CJ0 parameter value.
MG is the Grading coefficient MG parameter value.
![]()
![]()
![]()
Several diode parameters depend on temperature. There are two ways to specify the diode temperature:
When you select Device temperature for the Model temperature dependence using parameter, the diode temperature is
![]()
where:
TC is the Circuit temperature parameter value from the SPICE Environment Parameters block. If this block doesn't exist in the circuit, TC is the default value of this parameter.
TO is the Offset local circuit temperature, TOFFSET parameter value.
When you select Fixed temperature for the Model temperature dependence using parameter, the diode temperature is the Fixed circuit temperature, TFIXED parameter value.
The block provides the following relationship between the saturation current IS and the diode temperature T:
![]()
where:
IS is the Transport saturation current, IS parameter value.
Tmeas is the Parameter extraction temperature, TMEAS parameter value.
XTI is the Saturation current temperature exponent, XTI parameter value.
ND is the Emission coefficient, ND parameter value.
EG is the Activation energy, EG parameter value.
Vt = kT/q.
The block provides the following relationship between the junction potential VJ and the diode temperature T:

where:
VJ is the Junction potential, VJ parameter value.
![]()
![]()
The block provides the following relationship between the junction capacitance CJO and the diode temperature T:
![]()
where CJO is the Zero-bias junction capacitance CJ0 parameter value.
The model is based on the following assumptions:
The SPICE Diode block does not support noise analysis.
The SPICE Diode block applies initial conditions across junction capacitors and not across the block ports.

The diode area. This value multiplies the Saturation current, IS, Zero-bias junction capacitance CJ0, and Reverse breakdown current, IBV parameter values. It divides the Ohmic resistance, RS parameter value. The default value is 1 m2. The value must be greater than 0.
The number of parallel diodes the block represents. This value multiplies the output current and device charges. The default value is 1. The value must be greater than 0.
The magnitude of the current that the ideal diode equation approaches asymptotically for very large reverse bias levels. The default value is 1e-14 A/m2. The value must be greater than or equal to 0.
The series diode connection resistance. The default value is 0.01 m2*Ω. The value must be greater than or equal to 0.
The diode emission coefficient or ideality factor. The default value is 1. The value must be greater than 0.

Select one of the following options for modeling the junction capacitance:
No — Do not include junction capacitance in the model. This is the default option.
Yes — Specify zero-bias junction capacitance, junction potential, grading coefficient, forward-bias depletion capacitance coefficient, and transit time.
The value of the capacitance placed in parallel with the exponential diode term. This parameter is only visible when you select Yes for the Model junction capacitance parameter. The default value is 0 F/m2. The value must be greater than or equal to 0.
The junction potential. This parameter is only visible when you select Yes for the Model junction capacitance parameter. The default value is 1 V. The value must be greater than 0.01 V.
The grading coefficient. This parameter is only visible when you select Yes for the Model junction capacitance parameter. The default value is 0.5. The value must be greater than 0 and less than 0.9.
The fitting coefficient that quantifies the decrease of the depletion capacitance with applied voltage. This parameter is only visible when you select Yes for the Model junction capacitance parameter. The default value is 0.5. The value must be greater than or equal to 0 and less than 0.95.
The transit time of the minority carriers that cause diffusion capacitance. This parameter is only visible when you select Yes for the Model junction capacitance parameter. The default value is 0 s. The value must be greater than or equal to 0.
Select one of the following options for specifying an initial condition:
Diode voltage at the start of the simulation. This parameter is only visible when you select Yes for the Model junction capacitance and Yes for the Specify initial condition parameter. The default value is 0 V.

Select one of the following options for modeling the diode reverse breakdown:
No — Don't model reverse breakdown. This is the default option.
Yes — Introduce a second exponential term to the diode I-V relationship, thereby modeling a rapid increase in conductance as the breakdown voltage is exceeded.
The diode current that corresponds to the Reverse breakdown voltage, BV value. This parameter is only visible when you select Yes for the Model reverse breakdown parameter. The default value is 0.001 A/m2. The value must be greater than 0.
The voltage below which to model the rapid increase in conductance that occurs at diode breakdown. This parameter is only visible when you select Yes for the Model reverse breakdown parameter. The default value is Inf V. The value must be greater than or equal to 0.

Select one of the following options for modeling the diode temperature dependence:
Device temperature — Use the device temperature, which is the Circuit temperature parameter value (from the SPICE Environment Parameters block, if one exists in the circuit, or the default value for this block otherwise) plus the Offset local circuit temperature, TOFFSET parameter value.
Fixed temperature — Use a temperature that is independent of the circuit temperature to model temperature dependence.
The order of the exponential increase in the saturation current as temperature increases. This parameter is only visible when you select Device temperature for the Model temperature dependence using parameter. The default value is 3. The value must be greater than 0.
The diode activation energy. This parameter is only visible when you select Device temperature for the Model temperature dependence using parameter. The default value is 1.11 eV. The value must be greater than or equal to 0.1.
The amount by which the diode temperature differs from the circuit temperature. This parameter is only visible when you select Device temperature for the Model temperature dependence using parameter. The default value is 0 K.
The temperature at which the diode parameters were measured. The default value is 300.15 K. The value must be greater than 0.
The temperature at which to simulate the diode. This parameter is only visible when you select Fixed temperature for the Model temperature dependence using parameter. The default value is 300.15 K. The value must be greater than 0.
The block has the following ports:

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |