Diode modelling

Last updated

In electronics, diode modelling refers to the mathematical models used to approximate the actual behaviour of real diodes to enable calculations and circuit analysis. A diode's I-V curve is nonlinear.

Contents

A very accurate, but complicated, physical model composes the I-V curve from three exponentials with a slightly different steepness (i.e. ideality factor), which correspond to different recombination mechanisms in the device; [1] at very large and very tiny currents the curve can be continued by linear segments (i.e. resistive behaviour).

In a relatively good approximation a diode is modelled by the single-exponential Shockley diode law. This nonlinearity still complicates calculations in circuits involving diodes so even simpler models are often used.

This article discusses the modelling of p-n junction diodes, but the techniques may be generalized to other solid state diodes.

Large-signal modelling

Shockley diode model

The Shockley diode equation relates the diode current of a p-n junction 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 cross-sectional area of the diode. Continuing with the symbols: is the thermal voltage (, about 26 mV at normal temperatures), and is known as the diode ideality factor (for silicon diodes is approximately 1 to 2).

When the formula can be simplified to:

.

This expression is, however, only an approximation of a more complex I-V characteristic. Its applicability is particularly limited in case of ultrashallow junctions, for which better analytical models exist. [2]

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.

Figure 1: Diode circuit with resistive load. Diode Modelling Image2.svg
Figure 1: Diode circuit with resistive load.

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, 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 W-function , which is the inverse function 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 (also called the Omega function). [3] A guide to these manipulations follows. A new variable is introduced as

.

Following the substitutions :

and :

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.

For large x, can be approximated by . For common physical parameters and resistances, will be on the order of 1040.

Iterative solution

The diode voltage can be found in terms of for any particular set of values by an iterative method using a calculator or computer. [4] 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 determination of the operating point through the intersection of the diode characteristic with the resistive load line. Diode Modelling Image3.jpg
Graphical determination of the operating point through the intersection of the diode characteristic with the resistive load line.

Graphical analysis is a simple way to derive a numerical solution to the transcendental 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 figure illustrates such method.

Piecewise linear model

A piecewise linear approximation of the diode characteristic. Diode Modelling Image10.jpg
A piecewise linear approximation of the diode characteristic.

In practice, the graphical method is complicated and impractical for complex circuits. Another method of modelling a diode is called piecewise linear (PWL) modelling. In mathematics, this means taking a function and breaking it down into several linear segments. This method is used to approximate the diode characteristic curve as a series of linear segments. The real diode is modelled as 3 components in series: an ideal diode, a voltage source and a resistor.

The figure 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.

Mathematically idealized diode

I-V characteristic of an ideal diode. Diode Modelling Image5.png
I-V characteristic of an ideal diode.

Firstly, 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 consider the case when we add a voltage source in series with the diode in the form shown below:

Ideal diode with a series voltage source. Diode Modelling Image6.jpg
Ideal diode with a series voltage source.

When forward biased, the ideal diode is simply a short circuit and when reverse biased, an open circuit.

If the anode of the diode is connected to 0 V, the voltage at the cathode 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:

I-V characteristic of an ideal diode with a series voltage source. Diode Modelling Image8.png
I-V characteristic of an ideal diode with a series voltage source.

The Shockley diode model can be used to predict the approximate value of .

Using and :

Typical values of the saturation current at room temperature are:

  • for silicon diodes;
  • for germanium diodes.

As the variation of goes with the logarithm of the ratio , its value varies very little for a big variation of the ratio. The use of base 10 logarithms makes it easier to think in orders of magnitude.

For a current of 1.0 mA:

  • for silicon diodes (9 orders of magnitude);
  • for germanium diodes (3 orders of magnitude).

For a current of 100 mA:

  • for silicon diodes (11 orders of magnitude);
  • for germanium diodes (5 orders of magnitude).

Values of 0.6 or 0.7 volts are commonly used for silicon diodes. [5]

Diode with voltage source and current-limiting resistor

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

Ideal diode with a series voltage source and resistor. Diode Modelling Image9.jpg
Ideal diode with a series voltage source and resistor.

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

I-V characteristic of an ideal diode with a series voltage source and resistor. Diode Modelling Image11.png
I-V characteristic of an ideal diode with a series voltage source and resistor.

The real diode now can be replaced with the combined ideal diode, voltage source and resistor and the circuit then is modelled 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.

Dual PWL-diodes or 3-Line PWL model

I-V characteristic of the standard PWL model (marked by red-triangles), as described above. Shown for reference is the standard Shockley-diode model (marked by blue-diamonds). The Shockley parameters are Is = 1e - 12 A, Vt = 0.0258 V PWL diode characteristic.PNG
I-V characteristic of the standard PWL model (marked by red-triangles), as described above. Shown for reference is the standard Shockley-diode model (marked by blue-diamonds). The Shockley parameters are Is = 1e - 12 A, Vt = 0.0258 V

When more accuracy is desired in modelling the diode's turn-on characteristic, the model can be enhanced by doubling-up the standard PWL-model. This model uses two piecewise-linear diodes in parallel, as a way to model a single diode more accurately.

PWL Diode model with 2 branches. The top branch has a lower forward-voltage and a higher resistance. This allows the diode to switch on more gradually, and in this regard more accurately models a real diode. The bottom branch has a higher forward voltage and a lower resistance, thus allowing high current at high voltage Diode 2piece linear model.png
PWL Diode model with 2 branches. The top branch has a lower forward-voltage and a higher resistance. This allows the diode to switch on more gradually, and in this regard more accurately models a real diode. The bottom branch has a higher forward voltage and a lower resistance, thus allowing high current at high voltage
Plot of the I-V Characteristic of this model (marked by red-triangles), as compared to the standard Shockley-diode model (marked by blue-diamonds). The Shockley parameters are Is = 1e - 12 A, Vt = 0.0258 V Piecewise diode vs shockley1.PNG
Plot of the I-V Characteristic of this model (marked by red-triangles), as compared to the standard Shockley-diode model (marked by blue-diamonds). The Shockley parameters are Is = 1e - 12 A, Vt = 0.0258 V

Small-signal modelling

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 . [6] 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 300 K, 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: [6] 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; 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, because it is related to the current diffusing through the junction.

Variation of forward voltage with temperature

The Shockley diode equation has an exponential of , which would lead one to expect that the forward-voltage increases with temperature. In fact, this is generally not the case: as temperature rises, the saturation current rises, and this effect dominates. So as the diode becomes hotter, the forward-voltage (for a given current) decreases.

Here is some detailed experimental data, [7] which shows this for a 1N4005 silicon diode. In fact, some silicon diodes are used as temperature sensors; for example, the CY7 series from OMEGA has a forward voltage of 1.02 V in liquid nitrogen (77 K), 0.54 V at room temperature, and 0.29 V at 100 °C. [8]

In addition, there is a small change of the material parameter bandgap with temperature. For LEDs, this bandgap change also shifts their colour: they move towards the blue end of the spectrum when cooled.

Since the diode forward-voltage drops as its temperature rises, this can lead to thermal runaway due to current hogging when paralleled in bipolar-transistor circuits (since the base-emitter junction of a BJT acts as a diode), where a reduction in the base-emitter forward voltage leads to an increase in collector power-dissipation, which in turn reduces the required base-emitter forward voltage even further.

See also

Related Research Articles

<span class="mw-page-title-main">Multivibrator</span> Electronic circuit used to implement two-state devices

A multivibrator is an electronic circuit used to implement a variety of simple two-state devices such as relaxation oscillators, timers, latches and flip-flops. The first multivibrator circuit, the astable multivibrator oscillator, was invented by Henri Abraham and Eugene Bloch during World War I. It consisted of two vacuum tube amplifiers cross-coupled by a resistor-capacitor network. They called their circuit a "multivibrator" because its output waveform was rich in harmonics. A variety of active devices can be used to implement multivibrators that produce similar harmonic-rich wave forms; these include transistors, neon lamps, tunnel diodes and others. Although cross-coupled devices are a common form, single-element multivibrator oscillators are also common.

<span class="mw-page-title-main">Rectifier</span> Electrical device that converts AC to DC

A rectifier is an electrical device that converts alternating current (AC), which periodically reverses direction, to direct current (DC), which flows in only one direction. The reverse operation is performed by an inverter.

<span class="mw-page-title-main">Electromotive force</span> Electrical action produced by a non-electrical source

In electromagnetism and electronics, electromotive force is an energy transfer to an electric circuit per unit of electric charge, measured in volts. Devices called electrical transducers provide an emf by converting other forms of energy into electrical energy. Other electrical equipment also produce an emf, such as batteries, which convert chemical energy, and generators, which convert mechanical energy. This energy conversion is achieved by physical forces applying physical work on electric charges. However, electromotive force itself is not a physical force, and ISO/IEC standards have deprecated the term in favor of source voltage or source tension instead.

<span class="mw-page-title-main">Inductance</span> Property of electrical conductors

Inductance is the tendency of an electrical conductor to oppose a change in the electric current flowing through it. The electric current produces a magnetic field around the conductor. The magnetic field strength depends on the magnitude of the electric current, and follows any changes in the magnitude of the current. From Faraday's law of induction, any change in magnetic field through a circuit induces an electromotive force (EMF) (voltage) in the conductors, a process known as electromagnetic induction. This induced voltage created by the changing current has the effect of opposing the change in current. This is stated by Lenz's law, and the voltage is called back EMF.

<span class="mw-page-title-main">Silicon bandgap temperature sensor</span>

The silicon bandgap temperature sensor is an extremely common form of temperature sensor (thermometer) used in electronic equipment. Its main advantage is that it can be included in a silicon integrated circuit at very low cost. The principle of the sensor is that the forward voltage of a silicon diode, which may be the base-emitter junction of a bipolar junction transistor (BJT), is temperature-dependent, according to the following equation:

A current mirror is a circuit designed to copy a current through one active device by controlling the current in another active device of a circuit, keeping the output current constant regardless of loading. The current being "copied" can be, and sometimes is, a varying signal current. Conceptually, an ideal current mirror is simply an ideal inverting current amplifier that reverses the current direction as well, or it could consist of a current-controlled current source (CCCS). The current mirror is used to provide bias currents and active loads to circuits. It can also be used to model a more realistic current source.

p–n junction Semiconductor–semiconductor junction

A p–n junction is a boundary or interface between two types of semiconductor materials, p-type and n-type, inside a single crystal of semiconductor. The "p" (positive) side contains an excess of holes, while the "n" (negative) side contains an excess of electrons in the outer shells of the electrically neutral atoms there. This allows electric current to pass through the junction only in one direction. The p- and n-type regions creating the junction are made by doping the semiconductor, for example by ion implantation, diffusion of dopants, or by epitaxy.

In electrical engineering and electronics, a network is a collection of interconnected components. Network analysis is the process of finding the voltages across, and the currents through, all network components. There are many techniques for calculating these values; however, for the most part, the techniques assume linear components. Except where stated, the methods described in this article are applicable only to linear network analysis.

The Goldman–Hodgkin–Katz voltage equation, sometimes called the Goldman equation, is used in cell membrane physiology to determine the reversal potential across a cell's membrane, taking into account all of the ions that are permeant through that membrane.

In semiconductor physics, the depletion region, also called depletion layer, depletion zone, junction region, space charge region, or space charge layer, is an insulating region within a conductive, doped semiconductor material where the mobile charge carriers have diffused away, or forced away by an electric field. The only elements left in the depletion region are ionized donor or acceptor impurities. This region of uncovered positive and negative ions is called the depletion region due to the depletion of carriers in this region, leaving none to carry a current. Understanding the depletion region is key to explaining modern semiconductor electronics: diodes, bipolar junction transistors, field-effect transistors, and variable capacitance diodes all rely on depletion region phenomena.

<span class="mw-page-title-main">Widlar current source</span> Electronic circuit

A Widlar current source is a modification of the basic two-transistor current mirror that incorporates an emitter degeneration resistor for only the output transistor, enabling the current source to generate low currents using only moderate resistor values.

This article illustrates some typical operational amplifier applications. A non-ideal operational amplifier's equivalent circuit has a finite input impedance, a non-zero output impedance, and a finite gain. A real op-amp has a number of non-ideal features as shown in the diagram, but here a simplified schematic notation is used, many details such as device selection and power supply connections are not shown. Operational amplifiers are optimised for use with negative feedback, and this article discusses only negative-feedback applications. When positive feedback is required, a comparator is usually more appropriate. See Comparator applications for further information.

Ripple in electronics is the residual periodic variation of the DC voltage within a power supply which has been derived from an alternating current (AC) source. This ripple is due to incomplete suppression of the alternating waveform after rectification. Ripple voltage originates as the output of a rectifier or from generation and commutation of DC power.

<span class="mw-page-title-main">Shockley diode equation</span> Electrical engineering equation

The Shockley diode equation, or the diode law, named after transistor co-inventor William Shockley of Bell Labs, models the exponential current–voltage (I–V) relationship of semiconductor diodes in moderate constant current forward bias or reverse bias:

A Wilson current mirror is a three-terminal circuit that accepts an input current at the input terminal and provides a "mirrored" current source or sink output at the output terminal. The mirrored current is a precise copy of the input current. It may be used as a Wilson current source by applying a constant bias current to the input branch as in Fig. 2. The circuit is named after George R. Wilson, an integrated circuit design engineer who worked for Tektronix. Wilson devised this configuration in 1967 when he and Barrie Gilbert challenged each other to find an improved current mirror overnight that would use only three transistors. Wilson won the challenge.

<span class="mw-page-title-main">Early effect</span> Variation in the effective width of the base in a bipolar junction transistor

The Early effect, named after its discoverer James M. Early, is the variation in the effective width of the base in a bipolar junction transistor (BJT) due to a variation in the applied base-to-collector voltage. A greater reverse bias across the collector–base junction, for example, increases the collector–base depletion width, thereby decreasing the width of the charge carrier portion of the base.

A log amplifier, also known as logarithmic amplifier or logarithm amplifier or log amp, is an amplifier for which the output voltage Vout is K times the natural log of the input voltage Vin. This can be expressed as,

<span class="mw-page-title-main">Theory of solar cells</span>

The theory of solar cells explains the process by which light energy in photons is converted into electric current when the photons strike a suitable semiconductor device. The theoretical studies are of practical use because they predict the fundamental limits of a solar cell, and give guidance on the phenomena that contribute to losses and solar cell efficiency.

This article provides a more detailed explanation of p–n diode behavior than is found in the articles p–n junction or diode.

Optoelectronic reciprocity relations relate properties of a diode under illumination to the photon emission of the same diode under applied voltage. The relations are useful for interpretation of luminescence based measurements of solar cells and modules and for the analysis of recombination losses in solar cells.

References

  1. B. Van Zeghbroeck (2011). "P-n junctions: I-V characteristics of real p-n diodes". Archived from the original on 2021-06-15. Retrieved 2020-11-02.
  2. . Popadic, Miloš; Lorito, Gianpaolo; Nanver, Lis K. (2009). "Analytical Model of I – V Characteristics of Arbitrarily Shallow p-n Junctions". IEEE Transactions on Electron Devices. 56 (1): 116–125. Bibcode:2009ITED...56..116P. doi:10.1109/TED.2008.2009028.
  3. Banwell, T.C.; Jayakumar, A. (2000). "Exact analytical solution for current flow through diode with series resistance". Electronics Letters. 36 (4): 291. Bibcode:2000ElL....36..291B. doi:10.1049/el:20000301.
  4. . A.S. Sedra and K.C. Smith (2004). Microelectronic Circuits (Fifth ed.). New York: Oxford. Example 3.4 p. 154. ISBN   978-0-19-514251-8.
  5. Kal, Santiram (2004). "Chapter 2". Basic Electronics: Devices, Circuits and IT Fundamentals (Section 2.5: Circuit Model of a P-N Junction Diode ed.). Prentice-Hall of India Pvt.Ltd. ISBN   978-81-203-1952-3.
  6. 1 2 R.C. Jaeger and T.N. Blalock (2004). Microelectronic Circuit Design (second ed.). McGraw-Hill. ISBN   978-0-07-232099-2.
  7. "1n400x diode family forward voltage". www.cliftonlaboratories.com. Clifton Laboratories. Apr 14, 2009. Archived from the original on September 6, 2013. Retrieved 2019-02-10.
  8. http://www.omega.com/Temperature/pdf/CY7.pdf datasheet