All Topics  
Diode modelling

 
Diode Modelling

   Email Print
   Bookmark   Link






 

Diode modelling



 
 
In electronics
Electronics

Electronics refers to the flow of charge through nonmetal electrical conductor , whereas electrical refers to the flow of charge through metal electrical conductor....
, diode modeling refers to the mathematical models used to approximate the actual behavior of real diodes to enable calculations and circuit analysis. A diode
Diode

In electronics, a diode is a two-terminal device .Diodes have two active electrodes between which the signal of interest may flow, and most are used for their unidirectional electric current property....
's I-V
Voltage

Electrical tension is the potential difference between two points of an electrical or electronic circuit, expressed in volts. It is the measurement of the potential for an electric field to cause an electric current in an electrical conductor....
 curve is nonlinear (it is well described by the Shockley diode law
Diode

In electronics, a diode is a two-terminal device .Diodes have two active electrodes between which the signal of interest may flow, and most are used for their unidirectional electric current property....
). This nonlinearity complicates calculations in circuits involving diodes, so simpler models are often required.

This article discusses the modeling of p-n junction
P-n junction

A p-n junction is a junction formed by combining P-type semiconductor and N-type semiconductor semiconductors together in very close contact.The term junction refers to the region where the two regions of the semiconductor meet....
 diodes, but the techniques may be generalized to other diodes.

Shockley diode equation
Diode

In electronics, a diode is a two-terminal device .Diodes have two active electrodes between which the signal of interest may flow, and most are used for their unidirectional electric current property....
 relates the diode current of a p-n junction
P-n junction

A p-n junction is a junction formed by combining P-type semiconductor and N-type semiconductor semiconductors together in very close contact.The term junction refers to the region where the two regions of the semiconductor meet....
 diode to the diode voltage .






Discussion
Ask a question about 'Diode modelling'
Start a new discussion about 'Diode modelling'
Answer questions from other users
Full Discussion Forum



Encyclopedia


In electronics
Electronics

Electronics refers to the flow of charge through nonmetal electrical conductor , whereas electrical refers to the flow of charge through metal electrical conductor....
, diode modeling refers to the mathematical models used to approximate the actual behavior of real diodes to enable calculations and circuit analysis. A diode
Diode

In electronics, a diode is a two-terminal device .Diodes have two active electrodes between which the signal of interest may flow, and most are used for their unidirectional electric current property....
's I-V
Voltage

Electrical tension is the potential difference between two points of an electrical or electronic circuit, expressed in volts. It is the measurement of the potential for an electric field to cause an electric current in an electrical conductor....
 curve is nonlinear (it is well described by the Shockley diode law
Diode

In electronics, a diode is a two-terminal device .Diodes have two active electrodes between which the signal of interest may flow, and most are used for their unidirectional electric current property....
). This nonlinearity complicates calculations in circuits involving diodes, so simpler models are often required.

This article discusses the modeling of p-n junction
P-n junction

A p-n junction is a junction formed by combining P-type semiconductor and N-type semiconductor semiconductors together in very close contact.The term junction refers to the region where the two regions of the semiconductor meet....
 diodes, but the techniques may be generalized to other diodes.

Large-signal modeling


Shockley diode model

The Shockley diode equation
Diode

In electronics, a diode is a two-terminal device .Diodes have two active electrodes between which the signal of interest may flow, and most are used for their unidirectional electric current property....
 relates the diode current of a p-n junction
P-n junction

A p-n junction is a junction formed by combining P-type semiconductor and N-type semiconductor semiconductors together in very close contact.The term junction refers to the region where the two regions of the semiconductor meet....
 diode to the diode voltage . This relationship is the diode I-V characteristic:

,


where is the saturation current or scale current of the diode (the magnitude of the current that flows for negative in excess of a few , typically 10-12 A). The scale current is proportional to the diode area. Continuing with the symbols: is the thermal voltage, and is known as the diode ideality factor (for silicon diodes is approximately 1 to 2).

When the formula can be simplified to:

.


Diode-resistor circuit example
To illustrate the complications in using this law, consider the problem of finding the voltage across the diode in Figure 1.

Diode Modelling Image2
Because the current flowing through the diode is the same as the current throughout the entire circuit, we can lay down another equation. By Kirchhoff's laws
Kirchhoff's circuit laws

Kirchhoff's circuit laws are two Equality that deal with the Charge conservation and energy in electrical circuits, and were first described in 1845 by Gustav Kirchhoff....
, which boil down to simply Ohm's law
Ohm's law

Ohm's law applies to electrical circuits; it states that the electric current through a conductor between two points is directly Proportionality to the potential difference or voltage across the two points, and inversely proportional to the Electrical resistance between them....
 in this case, the current flowing in the circuit is

.


These two equations determine the diode current and the diode voltage. To solve these two equations, we could substitute the current from the second equation into the first equation, and then try to rearrange the resulting equation to get in terms of . A difficulty with this method is that the diode law is nonlinear. Nonetheless, a formula expressing directly in terms of without involving can be obtained using the Lambert -function, which is the inverse function
Inverse function

In mathematics, if ƒ is a function from A to B then an inverse function for ƒ is a function in the opposite direction, from B to A, with the property that a round trip from A to B to A returns each element of the initial set to itself....
 of , that is, . This solution is discussed next.

Explicit solution
An explicit expression for the diode current can be obtained in terms of the Lambert W-function
Lambert W function

In mathematics, the Lambert W function, named after Johann Heinrich Lambert, also called the Omega function or product log, is the inverse function of f = we'w where e'w is the natural exponential function and w is any complex number....
 (also called the Omega function). A guide to these manipulations follows. A new variable is introduced as

.


Following the substitution , rearrangement of the diode law in terms of w becomes

,


which using the Lambert -function becomes

.


With the approximations (valid for the most common values of the parameters) and , this solution becomes

.


Once the current is determined, the diode voltage can be found using either of the other equations.

Iterative solution
The diode voltage can be found in terms of for any particular set of values by an iterative method
Iterative method

In computational mathematics, an iterative method attempts to solve a problem by finding successive approximations to the solution starting from an initial guess....
 using a calculator or computer The diode law is rearranged by dividing by , and adding 1. The diode law becomes

.


By taking natural logarithms of both sides the exponential is removed, and the equation becomes

.


For any , this equation determines . However, also must satisfy the Kirchhoff's law equation, given above. This expression is substituted for to obtain

,


or

.


The voltage of the source is a known given value, but is on both sides of the equation, which forces an iterative solution: a starting value for is guessed and put into the right side of the equation. Carrying out the various operations on the right side, we come up with a new value for . This new value now is substituted on the right side, and so forth. If this iteration converges the values of become closer and closer together as the process continues, and we can stop iteration when the accuracy is sufficient. Once is found, can be found from the Kirchhoff's law equation.

Sometimes an iterative procedure depends critically on the first guess. In this example, almost any first guess will do, say . Sometimes an iterative procedure does not converge at all: in this problem an iteration based on the exponential function does not converge, and that is why the equations were rearranged to use a logarithm. Finding a convergent iterative formulation is an art, and every problem is different.

Graphical solution
Graphical analysis is a simple way to derive a numerical solution to the transcendental
Transcendental function

A transcendental function is a function that does not satisfy a polynomial equation whose coefficients are themselves polynomials, in contrast to an algebraic function, which does satisfy such an equation....
 equations describing the diode. As with most graphical methods, it has the advantage of easy visualization. By plotting the I-V curves, it is possible to obtain an approximate solution to any arbitrary degree of accuracy. This process is the graphical equivalent of the two previous approaches, which are more amenable to computer implementation.

This method plots the two current-voltage equations on a graph and the point of intersection of the two curves satisfies both equations, giving the value of the current flowing through the circuit and the voltage across the diode. The following figure illustrates such method.

Diode Modelling Image3

Piecewise linear model

In practice, the graphical method is complicated and long and is impractical for complex circuits. Another method of modeling a diode is called piecewise linear
Piecewise linear

In mathematics, a piecewise linear function,where V is a vector space and is asubset of a vector space, is any function with the property that can be decomposed into finitely many Convex set polytopes, such that f is equal to a linear function on each of these polytopes....
 (PWL) modelling. In mathematics, this means taking a function and breaking it down into several linear segments. The example below shows how a curve can be approximated by three linear segments, forming a three-segment PWL model:

Diode Modelling Image4
The same method is used to approximate the diode characteristic curve into linear segments. This enables us to substitute the real diode for an ideal diode, a voltage source and a resistor
Resistor

|- align = "center"||width = "25"|| |- align = "center"||| Potentiometer|- align = "center"| || |- align = "top"| Resistor|| Variable resistor...
. The figure below shows a real diode I-V curve being approximated by a two segment piecewise linear model. Typically the sloped line segment would be chosen tangent to the diode curve at the Q-point. Then the slope of this line is given by the reciprocal of the small-signal resistance of the diode at the Q-point.

Diode Modelling Image10

Mathematically idealized diode
Firstly, let us consider a mathematically idealized diode. In such an ideal diode, if the diode is reverse biased, the current flowing through it is zero. This ideal diode starts conducting at 0 V and for any positive voltage an infinite current flows and the diode acts like a short circuit. The I-V characteristics of an ideal diode are shown below:
Ideal diode in series with voltage source
Now let us consider the case when we add a voltage source in series with the diode in the form shown below:

Diode Modelling Image6
When forward biased, the ideal diode is simply a short circuit and when reverse biased, an open circuit. If the anode
Anode

An anode is an electrode through which electric charge flows into a polarized electrical device. Mnemonic: ACID . Electrons flow in the opposite direction to the positive electric current....
 of the diode is connected to 0 V, the voltage at the cathode
Cathode

A cathode is an electrode through which electric charge flows out of a polarized electrical device. Mnemonic: CCD .From an electrochemical point of view, positively charged ion invariably move toward the cathode and/or negatively charged ion move away from it to balance the electrons arriving from external circuitry....
 will be at Vt and so the potential at the cathode will be greater than the potential at the anode and the diode will be reverse biased. In order to get the diode to conduct, the voltage at the anode will need to be taken to Vt. This circuit approximates the cut-in voltage present in real diodes. The combined I-V characteristic of this circuit is shown below:
Diode with voltage source and current-limiting resistor

The last thing needed is a resistor to limit the current, as shown below:

Diode Modelling Image9
The I-V characteristic of the final circuit looks like this:

The real diode now can be replaced with the combined ideal diode, voltage source and resistor and the circuit then is modeled using just linear elements. If the sloped-line segment is tangent to the real diode curve at the Q-point, this approximate circuit has the same small-signal circuit at the Q-point as the real diode.

Small-signal modeling


Resistance


Using the Shockley equation, the small-signal diode resistance of the diode can be derived about some operating point (Q-point) where the DC bias current is and the Q-point applied voltage is . To begin, the diode small-signal conductance is found, that is, the change in current in the diode caused by a small change in voltage across the diode, divided by this voltage change, namely:

.


The latter approximation assumes that the bias current is large enough so that the factor of 1 in the parentheses of the Shockley diode equation can be ignored. This approximation is accurate even at rather small voltages, because the thermal voltage at 300K, so tends to be large, meaning that the exponential is very large.

Noting that the small-signal resistance is the reciprocal of the small-signal conductance just found, the diode resistance is independent of the ac current, but depends on the dc current, and is given as

.


Capacitance


The charge in the diode carrying current is known to be

,

where is the forward transit time of charge carriers: The first term in the charge is the charge in transit across the diode when the current flows. The second term is the charge stored in the junction itself when it is viewed as a simple capacitor
Capacitance

In electromagnetism and electronics, capacitance is the ability of a body to hold an electrical charge.Capacitance is also a measure of the amount of electric charge stored for a given electric potential....
; that is, as a pair of electrodes with opposite charges on them. It is the charge stored on the diode by virtue of simply having a voltage across it, regardless of any current it conducts.

In a similar fashion as before, the diode capacitance is the change in diode charge with diode voltage:

,


where is the junction capacitance and the first term is called the diffusion capacitance
Diffusion capacitance

Diffusion capacitance is the capacitance due to transport of charge carriers between two terminals of a device, for example, the diffusion of carriers from anode to cathode in forward bias mode of a diode or from emitter to base for a transistor....
, because it is related to the current diffusing through the junction.

See also

  • Diode
    Diode

    In electronics, a diode is a two-terminal device .Diodes have two active electrodes between which the signal of interest may flow, and most are used for their unidirectional electric current property....
  • P-N junction
    P-n junction

    A p-n junction is a junction formed by combining P-type semiconductor and N-type semiconductor semiconductors together in very close contact.The term junction refers to the region where the two regions of the semiconductor meet....
  • Semiconductor device modeling
    Semiconductor device modeling

    Semiconductor device modeling creates models for the behavior of the electrical devices based on fundamental physics, such as the doping profiles of the devices....
  • Bipolar junction transistor
    Bipolar junction transistor

    A bipolar transistor is a type of transistor. It is a three-terminal device constructed of Doping semiconductor material and may be used in Electronic amplifier or switching applications....