Shockley Diode Calculator
Shockley Diode Equation Results
What Is a Shockley Diode Calculator?
A Shockley diode calculator uses the Shockley diode equation to determine the relationship between diode junction voltage and electrical current. It can calculate current from a known voltage or calculate the required junction voltage from a target current. The results depend on saturation current, diode ideality factor, and junction temperature.
The Shockley equation describes the exponential current-voltage relationship of a semiconductor diode. In forward bias, a relatively small increase in junction voltage can produce a large increase in current.
The calculator supports both forward and reverse junction voltages within its mathematical limits. It also calculates the effect of an optional series resistance on terminal voltage.
The results describe a mathematical diode model rather than guaranteed behavior for a particular physical component. Actual diode characteristics can vary with construction, temperature, operating conditions, and other effects not included in the calculation.
How the Shockley Diode Equation Works
The calculator uses the exponential Shockley diode equation to relate junction voltage and diode current. Its two calculation modes use different forms of the same equation.
1. Shockley Diode Current Formula
When solving for diode current, the calculator applies:
Where:
- I_D = Diode current in amperes (A).
- I_S = Effective reverse saturation current in amperes (A).
- V_D = Diode junction voltage in volts (V).
- n = Diode ideality or emission factor.
- V_T = Thermal voltage in volts (V).
- e = Base of the natural exponential function.
The equation includes an exponential term. This means current rises rapidly as positive junction voltage increases, assuming the other parameters remain unchanged.
2. Diode Voltage From Target Current
The calculator can also solve the equation in reverse. When a target diode current is provided, it calculates the required junction voltage using the natural logarithm.
The calculated voltage represents the junction voltage. If series resistance is greater than zero, the terminal voltage is calculated separately.
For the logarithm to produce a valid real result, the target diode current must be greater than the negative effective saturation current.
3. Thermal Voltage Formula
Thermal voltage depends on absolute temperature and two physical constants. The calculator uses:
Where:
- k = Boltzmann constant, 1.380649 × 10⁻²³ J/K.
- T = Junction temperature in kelvin (K).
- q = Elementary charge, 1.602176634 × 10⁻¹⁹ C.
The calculator accepts temperature in degrees Celsius and converts it to kelvin before calculating thermal voltage.
At 26.85°C, the absolute temperature is 300 K. The calculated thermal voltage is approximately 25.852 mV.
4. Optional Temperature Adjustment of Saturation Current
The calculator provides two ways to handle the entered reverse saturation current.
With the default setting, the entered saturation current is used directly in the Shockley equation. The selected temperature still affects thermal voltage.
With the optional temperature adjustment enabled, saturation current is multiplied by an approximate factor of two for every 10°C rise from the 25°C reference temperature.
Here, I_S,base is the entered saturation current and T_C is the junction temperature in degrees Celsius.
This is an approximate temperature-scaling rule. It is not a detailed physical model of how saturation current changes in every semiconductor device.
5. Dynamic Resistance Formula
The calculator determines small-signal dynamic resistance using thermal voltage, ideality factor, diode current, and effective saturation current.
Dynamic resistance describes the local change in junction voltage relative to a small change in current. It is different from the diode's static DC resistance.
For numerical stability, the calculator uses a minimum denominator of 10⁻³⁰ A when evaluating this expression.
6. Static DC Resistance Formula
Static DC resistance is calculated using the magnitude of junction voltage divided by diode current.
When the diode current is zero or extremely close to zero, the calculator displays infinite static resistance instead of dividing by a near-zero current.
7. Terminal Voltage and Power Dissipation
When series ohmic resistance is entered, the calculator adds its voltage contribution to the calculated junction voltage.
Where R_s represents the optional series resistance in ohms.
Power is calculated by multiplying terminal voltage by diode current.
The calculator displays the absolute magnitude of the calculated power value. Series resistance affects terminal voltage and power results, but it does not change the junction current calculated from an entered junction voltage.
Worked Example: Calculate Diode Current
Consider the calculator's default silicon signal diode preset with the following values:
| Parameter | Value |
|---|---|
| Junction Voltage | 0.65 V |
| Reverse Saturation Current | 2.5 nA |
| Ideality Factor | 1.5 |
| Junction Temperature | 26.85°C (300 K) |
| Series Resistance | 0.2 Ω |
| Temperature Adjustment | Off |
Step 1: Calculate thermal voltage.
Step 2: Calculate the diode current.
The calculator displays a diode current of 47.6014 mA.
Step 3: Calculate terminal voltage.
Step 4: Calculate power dissipation.
The displayed power is 31.394 mW.
Step 5: Calculate the two resistance values.
The calculator identifies the operating region as Forward Bias. These results use the preset parameters as a mathematical example, not measured specifications for an individual diode.
How to Use the Shockley Diode Calculator
Follow these steps to calculate diode current, junction voltage, and related electrical properties.
- Select the calculation mode. Choose "Diode Current (I_D) from Junction Voltage (V_D)" or "Diode Voltage (V_D) from Target Current (I_D)."
- Choose a diode preset. Select Silicon Signal Diode, Silicon Rectifier Junction, Schottky Barrier Diode, Red LED Approximation, or Germanium Signal Junction. The preset fills the corresponding parameter values.
- Enter the junction voltage or target current. In current mode, enter V_D in volts. In voltage mode, enter the target current and select nA, μA, mA, or A.
- Enter reverse saturation current. Provide I_S and select its unit from femtoamps, picoamps, nanoamps, microamps, milliamps, or amperes.
- Enter the ideality factor. Use the emission factor appropriate to the diode model. The input field shows a range of 0.5 to 5.
- Enter junction temperature. Provide temperature in degrees Celsius. The field shows an input range from -200°C to 250°C.
- Choose the saturation current temperature setting. Keep the default setting to use the entered I_S directly, or enable the approximate doubling rule.
- Enter optional series resistance. Provide R_s in ohms. Enter zero to calculate terminal voltage without an additional series-resistance drop.
- Click Calculate. Review the calculated diode current or voltage, thermal voltage, effective saturation current, operating region, resistance values, terminal voltage, power, and semiconductor summary.
Click Reset to return to current-solving mode and restore the silicon signal diode preset values. The temperature adjustment selection is not changed by the Reset function, so check that setting before starting another calculation.
Understanding Your Shockley Diode Calculation Results
The calculator reports several properties that help explain the relationship between diode junction voltage, current, and resistance.
Calculated Diode Current or Required Junction Voltage
The primary result depends on the selected calculation mode.
- Current mode: Displays calculated diode current using A, mA, μA, nA, or pA depending on the result's magnitude.
- Voltage mode: Displays the required junction voltage in volts to four decimal places.
The two modes use the same underlying Shockley equation, with different variables treated as the known input.
Thermal Voltage and Effective Saturation Current
The thermal voltage result is displayed in millivolts to three decimal places. The calculator also displays the junction temperature in kelvin to two decimal places.
Effective saturation current shows the value actually used in the equation. It matches the entered saturation current when automatic temperature scaling is off and changes according to the selected approximation when scaling is enabled.
Forward Bias, Reverse Bias, and Zero Bias
The calculator assigns an operating-region label based on the calculated junction voltage and current.
- Forward Bias: Assigned when junction voltage exceeds 0.02 V or calculated current is positive.
- Reverse Bias (Near Saturation Limit): Assigned when junction voltage is below -0.02 V or current is negative, provided the forward-bias condition does not apply.
- Zero Bias (Equilibrium): Assigned when neither the forward nor reverse condition applies.
These labels describe the equation's calculated operating point. They do not indicate whether a physical diode is operating within its electrical ratings.
Dynamic Resistance Versus Static Resistance
Dynamic resistance describes the diode's local response to a small change in current. Static DC resistance is the magnitude of the junction voltage divided by the operating current.
Because a diode has a nonlinear current-voltage relationship, these two resistance values are generally different. The calculator formats resistance in Ω, kΩ, MΩ, or GΩ depending on magnitude.
Series Resistance and Terminal Voltage
Series resistance represents an additional ohmic resistance included in the terminal voltage calculation.
For positive current, a positive series resistance raises terminal voltage above the junction voltage. For negative current, the signed series-resistance contribution can reduce the calculated terminal voltage.
The calculator does not iteratively solve diode current from an externally applied terminal voltage. In current mode, the entered voltage is treated as junction voltage, and the series-resistance contribution is applied afterward.
Important Input and Numerical Limits
The calculator checks that saturation current, ideality factor, and absolute temperature are positive. Series resistance must be zero or greater.
In current-solving mode, the calculator displays an exponent overflow error if the quantity V_D divided by nV_T exceeds 700. This prevents an excessively large exponential calculation.
In voltage-solving mode, the target current must be greater than the negative effective saturation current. A value equal to or below that boundary causes an out-of-domain error.
Model limitation: The Shockley equation used here does not calculate avalanche or Zener reverse breakdown, transient reverse recovery, or full device-specific behavior. Its temperature-dependent saturation current option is approximate. Use actual component datasheets and appropriate circuit analysis when checking real hardware operating limits.
Frequently Asked Questions
What is the Shockley diode equation?
The Shockley diode equation is I_D = I_S(e^(V_D/(nV_T)) - 1). It describes the relationship between diode junction voltage and current using saturation current, ideality factor, and thermal voltage. The calculator uses this equation to determine current and its logarithmic rearrangement to calculate voltage.
How do you calculate diode current from voltage?
Calculate thermal voltage from junction temperature, multiply it by the ideality factor, and divide junction voltage by that product. Apply the exponential function, subtract one, and multiply by effective saturation current. The calculator performs these steps automatically using the entered diode parameters.
What is reverse saturation current in a diode?
Reverse saturation current, represented by I_S, is a parameter in the Shockley diode equation. It helps determine the current-voltage relationship and the reverse-current limit predicted by the ideal model. The calculator accepts I_S in several current units and can optionally adjust it with temperature using an approximate rule.
What is the ideality factor of a diode?
The ideality factor, also called the emission coefficient, describes how the diode's current-voltage relationship differs from the simplest idealized junction behavior. It appears in the denominator of the Shockley exponent. The calculator's default value is 1.5, and its input field allows users to enter other values for different diode models.
How does temperature affect the Shockley diode equation?
Temperature directly changes thermal voltage because thermal voltage is proportional to absolute temperature. The calculator always includes this effect. It also offers an optional approximation that doubles saturation current for every 10°C increase relative to 25°C. This optional adjustment changes the current-voltage calculation further.
Can the Shockley diode calculator calculate reverse-bias current?
Yes. In current mode, you can enter a negative junction voltage to calculate reverse current under the Shockley equation. The ideal model approaches negative saturation current as reverse voltage increases in magnitude. It does not account for reverse breakdown, so the result should not be used to predict avalanche or Zener behavior.
What is the difference between junction voltage and terminal voltage?
Junction voltage is the voltage used directly in the Shockley diode equation. Terminal voltage includes the additional voltage contribution from the entered series resistance. The calculator uses V_terminal = V_D + I_D R_s and displays both the calculated junction operating point and the corresponding terminal voltage.