Coupons
Help
  • FAQ
    browse most common questions
  • Live Chat
    talk with our online service
  • Email
    contact your dedicated sales:

What You Can Do with Diodes

Author : Daniel Li | PCB Assembly & Electronics Application Engineer

November 24, 2026


"A small tribute to a component we often overlook."

Practical applications of diodes

In modern electronics courses, the diode may be one of the most overlooked components. There is an abundance of literature on the principles of resistors, capacitors, and inductors, while diodes receive comparatively little attention.

Diodes do not have the mathematical elegance of linear circuits or the prestige often given to transistors. When people become fascinated by diodes, they are usually discussing unusual devices such as Gunn diodes or tunnel diodes, neither of which is encountered frequently in everyday circuits.

However, ordinary diodes are remarkably useful. Their nonlinear behavior enables them to perform functions that would otherwise require more complicated circuits. The following applications illustrate how a simple p-n junction can be used for protection, voltage regulation, signal processing, power conversion, and basic logic.

 

How a Diode Works

Pure silicon is a poor electrical conductor because it contains very few mobile charge carriers that can exist for long periods. Thermal excitation can temporarily move valence electrons into higher energy states and produce a small amount of conduction. However, those electrons cannot travel very far before returning to a lower energy level, so the effect is generally negligible.

The conductivity of silicon can be increased by adding dopants. Some dopants contribute long-lived electrons. These electrons occupy higher energy levels for which there are no convenient lower-level vacancies to accept them. This creates an n-type semiconductor.

Other dopants create accessible vacancies in the valence band. These vacancies are called holes. In a p-type semiconductor, lower-energy electrons can move between atoms by filling neighboring holes without first being excited into a higher energy state.

When n-type and p-type materials are brought into contact, high-energy electrons from the n side diffuse randomly into the p side, where they quickly recombine with the large number of low-energy holes. This charge redistribution creates an internal electric field at the junction and eventually establishes thermodynamic equilibrium. The n side becomes positively charged relative to the junction, while the p side becomes negatively charged.

Simplified diagram of a p-n junction

Figure 1 | Simplified diagram of a p-n junction.

The resulting electric field pushes mobile electrons that reach the junction area back toward the n side. A thin region with very few mobile carriers therefore forms at the boundary. This is the depletion region, and it has relatively poor conductivity.

The electric field of the p-n junction can be reduced by applying an external voltage. If the p side is driven substantially more positive than the n side, some current will flow through the junction. In silicon, the junction becomes noticeably conductive when the forward voltage reaches approximately 600 mV, although current in the microampere range may flow at lower voltages.

A conventional diode is essentially a p-n junction. It can be viewed as a basic voltage-controlled device. Below a certain forward-voltage range, it has very high resistance, often exceeding 100 kΩ, so only a small current flows. Once the voltage exceeds that range, the diode begins to conduct a more substantial current.

The initial portion of the V-I characteristic is exponential in appearance, but the intrinsic resistance of the semiconductor and its connections soon becomes significant. Beyond that point, the current is approximately proportional to the additional voltage applied across the diode.

Forward-bias voltage-current curve of a 1N4148 diode

Figure 2 | Forward-bias voltage-current curve of a 1N4148 diode.

There is limited practical value in obsessing over the exact mathematical model of a real diode. The claim that the entire V-I curve is truly exponential may also conflict with explanations found elsewhere. A logarithmic plot provides a useful way to examine the behavior. If the current increased exponentially over the entire range, the curve would appear as a straight line on a logarithmic scale. In practice, the diode curve is noticeably curved.

Logarithmic voltage-current curve of a 1N4148 variant

Figure 3 | Logarithmic V-I curve of a 1N4148 variant, based on an MCC datasheet.

The behavior discussed so far is called forward bias. If the diode is reverse biased, meaning that the p side is at a lower voltage than the n side, the device is theoretically nonconductive. In practice, this is true only within a certain voltage range.

If the reverse voltage becomes sufficiently high, the electric field can accelerate charge carriers that happen to appear in the depletion region. These carriers may collide with atoms and release additional electrons into the conduction band, producing an avalanche effect. The resulting multiplication of carriers causes the junction to conduct again.

Most conventional diodes are designed so that their reverse breakdown voltage is well above the expected operating range. A special class of device, the Zener diode, is intentionally designed to undergo reverse breakdown at a relatively low and carefully specified voltage. In either case, once the breakdown threshold is exceeded, a reverse-biased diode begins to conduct strongly.

Reverse-bias characteristic of a 1N4148 diode

Figure 4 | Reverse-bias characteristic of a 1N4148 diode.

With this basic theory in place, the practical uses of diodes become easier to understand.

 

Circuit Protection

One of the simplest applications of a diode is circuit protection. Several protection arrangements are shown below.

Diode-based circuit protection methods

Figure 5 | Several diode-based circuit protection methods.

In the first circuit, a Zener diode is connected between the protected line and ground in reverse bias. Under normal operating conditions, the diode remains nonconductive. If the input voltage exceeds the safe limit, however, the diode enters electrical breakdown and temporarily conducts.

The diode acts as a shunt or "crowbar" path. It diverts and dissipates excess energy before that energy reaches more sensitive downstream components. Diodes specifically designed for this purpose are commonly sold as transient-voltage suppressors (TVS). They are especially useful for protecting semiconductor devices from electrostatic discharge and other short-duration voltage transients.

A similar arrangement can suppress the voltage spike produced when current through a motor or another inductive load is interrupted suddenly. The inductor attempts to maintain its current, which can otherwise generate a large voltage transient. A suitable diode provides an alternative current path and limits the voltage rise.

A single diode is suitable only when the protected signal has a defined polarity, meaning that one line is always more positive than the other. For alternating-polarity signals, overvoltage protection can be implemented with the two-diode arrangement shown on the right. The same function is also available in a single package as a bidirectional TVS.

In the bidirectional protection circuit, regardless of the polarity of the applied voltage, the shunt path consists of one forward-biased diode in series with one reverse-biased diode. The positive and negative conduction thresholds are therefore approximately equal. Each threshold is the reverse-breakdown voltage of one diode plus approximately 600 mV from the forward-biased diode.

The bottom circuit illustrates another protection technique. A conventional diode with a high reverse-breakdown voltage is connected in series with the power supply in the forward direction. This prevents damage if the power supply is connected with the wrong polarity, such as when a battery is inserted backward.

The disadvantage is the unavoidable voltage drop across the p-n junction. At high current, the diode also dissipates power as heat. For this reason, transistor-based reverse-polarity protection is often preferred, particularly in low-voltage circuits.

 

Using a Diode as a Voltage Reference

Most ordinary diodes are designed to withstand substantial reverse-bias voltages, often more than -100 V. Zener diodes, in contrast, are designed to begin conducting at a much lower specified voltage.

When forward biased, a Zener diode behaves like a conventional diode and becomes noticeably conductive at approximately 600 mV. When reverse biased, it begins to conduct at a voltage selected by the manufacturer. Common Zener-voltage options range from approximately 1.8 V to 30 V.

The V-I characteristic shows that once reverse breakdown begins, a relatively small change in voltage can produce a comparatively large change in current. The same behavior can be viewed from the opposite direction: if the current through the diode is limited, variations in current produce a much smaller variation in the voltage across the diode.

This observation allows a Zener diode to serve as a simple voltage reference. An unregulated supply, such as a battery, is connected through a resistor that approximately limits the current. Depending on the required voltage, the circuit can use one or more forward-biased diodes, a reverse-biased Zener diode, or a combination of both.

Simple diode-based voltage reference

Figure 6 | A simple diode-based voltage reference.

According to Ohm's law, the current allowed by the resistor changes approximately linearly with the supply voltage, according to I = V/R. The corresponding change in diode voltage is much smaller. The following figure shows an experimental circuit using a 1N4733 diode and a 100 Ω resistor.

Voltage reference behavior using a 1N4733 diode

Figure 7 | Voltage-reference behavior using a 1N4733 diode.

The output-voltage variation is less than 5% of the input variation: approximately 45 mV compared with a 1 V input change. This may not appear especially impressive, but the circuit can be cascaded. The output of one resistor-and-diode reference can supply a second reference circuit.

The effect is multiplicative. If the first stage reduces the variation to 5% and the second stage reduces the remaining variation by another 5%, the overall variation is approximately 0.25%.

Cascaded diode voltage references

Figure 8 | Cascaded voltage references.

The Zener voltage of the first diode must be higher than that of the second diode. In addition, the second stage must draw substantially less current than the current flowing through the intended resistor-diode path. One way to support this condition is to choose R1 - R2.

Another option is to isolate the two stages with a transistor circuit. The transistor can reproduce the first-stage output voltage for the second stage while preventing the second stage from significantly loading the first. This type of circuit is commonly called a voltage follower.

For precision applications, more complex transistor-based circuits with temperature compensation are generally preferred. Nevertheless, a Zener diode can still provide a practical voltage reference when simplicity is more important than precision.

 

Rectifiers and Envelope Followers

Consider the circuit shown below.

Simple half-wave rectifier

Figure 9 | A simple half-wave rectifier.

This circuit is called a half-wave rectifier. If the lower output branch marked B is used as the reference for all circuit voltages, the operation can be analyzed by considering the positive and negative half-cycles of the input AC waveform separately.

Simplified half-wave rectifier analysis

Figure 10 | Simplified analysis of a half-wave rectifier, ignoring diode voltage drop.

During the positive half-cycle of the sine wave, the upper source terminal is positive and the diode is forward biased. Assuming that the source impedance is low, the capacitor charges to approximately the peak amplitude of the input signal minus the diode voltage drop.

When the input polarity reverses and the upper source terminal becomes negative, the diode is reverse biased and stops conducting. The capacitor therefore retains most of its charge. The following figure shows a discrete-time simulation. A moderate resistive load has been added to the output so that the capacitor discharges slightly between positive peaks.

Half-wave rectifier simulation

Figure 11 | Simulation of a half-wave rectifier.

If the load resistor is made a permanent part of the circuit and is selected so that the capacitor discharges quickly enough to follow the amplitude modulation of a carrier, the circuit becomes an envelope follower. This is a simple way to extract an approximate modulation waveform from an AM carrier.

Envelope follower simulation

Figure 12 | Simulation of an envelope follower.

The same principle can be used to create a circuit that approximates the perceived loudness of an audio signal. More generally, it can track a slowly varying component within a composite waveform.

The disadvantage of a half-wave rectifier is that the capacitor is charged only during the positive half-cycle. This wastes part of the available waveform when the goal is to maximize the power delivered to the load. The problem can be addressed with a full-wave rectifier.

Full-wave rectifier circuit

Figure 13 | Full-wave rectifier.

Again, using output B as the reference point makes the circuit easy to analyze.

Simplified full-wave rectifier analysis

Figure 14 | Simplified analysis of a full-wave rectifier, ignoring diode voltage drop.

During the positive half-cycle, diodes D1 and D2 are forward biased. The capacitor charges to approximately the AC peak voltage minus the combined forward voltage drops of the two diodes.

During the negative half-cycle, diodes D3 and D4 become forward biased. They connect output B to the upper source terminal, while the source terminal that is currently at the higher voltage is connected to point A. The capacitor therefore continues charging with the same polarity as before.

Both half-cycles contribute to charging the capacitor, reducing the time between charging peaks compared with a half-wave rectifier.

Full-wave rectifier behavior

Figure 15 | Behavior of a full-wave rectifier.

 

Voltage Multipliers

The rectifier circuits described above use diodes as voltage-controlled switches. The same principle can be used in a voltage multiplier.

Voltage multipliers are available in several configurations. One particularly simple arrangement produces a DC voltage approximately equal to twice the peak amplitude of an input waveform centered around zero, minus the expected diode voltage drops. This differs from the rectifier circuits discussed previously, which produce a DC voltage close to the input peak amplitude.

Analysis of a diode voltage doubler

Figure 16 | Analysis of a voltage doubler, ignoring diode voltage drop.

Use the midpoint between the two capacitors as the voltage reference. During the positive half-cycle, the upper diode D1 can conduct and charge the upper capacitor. This places output terminal A at a positive voltage relative to the midpoint.

During the negative half-cycle, the upper diode is reverse biased and does not conduct, so C1 retains its charge. At the same time, the lower diode D2 conducts and charges C2. Output terminal B eventually becomes negative relative to the midpoint.

In effect, the positive peak voltage of the input waveform is stored on C1, while the negative peak is stored on C2. The total voltage between B and A is therefore approximately twice the input peak voltage, minus the relevant diode voltage drops.

This switched-capacitor method of multiplying voltage is still used. Modern circuits often replace the diodes with digitally controlled transistors, which can reduce the voltage drop and operate without an AC voltage source.

 

DC Restorers and Clamping Circuits

AC waveforms centered around 0 V are often inconvenient to process. In particular, circuits powered from a single supply can have difficulty detecting, amplifying, or generating signals that extend below the negative supply rail.

A clamper, also called a DC restorer, provides a useful alternative. It shifts an AC waveform so that its negative peak is approximately at 0 V while preserving the signal amplitude.

Diode clamper circuit

Figure 17 | Diode clamper circuit.

For the moment, ignore the optional resistor. Begin with the first positive half-cycle of the input sine wave.

Analysis of a diode clamper circuit

Figure 18 | Analysis of a clamper circuit, ignoring diode voltage drop.

Initially, the capacitor is uncharged, so V(cap) = 0 V. There is also no current path through the diode, so the capacitor cannot charge during this portion of the cycle.

For a capacitor to store energy, charge must move onto and away from its plates in a way that creates an electric field between the plates. Once the capacitor is charged, however, its voltage remains even if one terminal is temporarily floating.

For example, suppose a capacitor is charged to 1 V and one terminal is connected to a 10 V supply. The other terminal will measure 11 V relative to ground. If that terminal is instead connected to a -5 V supply, the other terminal will measure -4 V. This is equivalent to placing a charged battery in series with another voltage source.

In the clamper circuit, the initial capacitor voltage is 0 V. During the first positive half-cycle, the capacitor adds nothing, so the voltage at output A simply follows the input waveform.

During the following negative half-cycle, once the voltage at A reaches approximately -600 mV, the diode begins to conduct. It clamps the voltage at A while allowing the capacitor to charge. The left terminal of the capacitor becomes negative relative to its right terminal. If V(cap) is measured from left to right, the resulting voltage is positive and approximately equal to the peak amplitude of the input signal minus the diode voltage drop.

During the next positive half-cycle, the diode becomes reverse biased again, so the capacitor retains its charge. Because V(cap) remains nearly constant, the voltage at A is shifted upward by that stored voltage. If the input waveform varies from -V(peak) to +V(peak), the output varies approximately from -600 mV to:

V(peak) × 2 - 600 mV

The optional load resistor controls how quickly the circuit can respond to changes in signal amplitude. Without the resistor, the circuit would theoretically remain at an offset determined by the largest single-cycle input amplitude it had encountered. With the resistor present, the capacitor can discharge over time, allowing the offset to change when the waveform envelope changes.

In practice, diode leakage and capacitor self-discharge may be sufficient for the circuit to operate reasonably even without an output resistor. For experimentation, a capacitor in the range of 10–100 μF can be used, with the resistor omitted or replaced by a large value such as 1 MΩ.

 

Diode-Based Logic

An OR gate has two or more inputs and produces a positive output when any input is at a positive voltage. An AND gate, in contrast, produces a positive output only when all inputs are positive.

A practical OR function might be used in an alarm system that activates when any door or window sensor is triggered. An AND function might be used in a system that illuminates a "parking full" sign only when every parking space is occupied.

Simple versions of these functions can be implemented with diodes.

Pseudo-logic gates built with diodes

Figure 19 | Pseudo-logic gates built with diodes.

In the OR-gate circuit on the left, connecting the positive supply rail to any input forward biases the corresponding diode. Current then flows through the resistor. Because the impedance of a forward-biased diode is much lower than the 10 kΩ resistor, the output voltage rises close to the positive supply rail.

The AND-gate circuit on the right operates in the opposite manner. If any input is connected to ground, the output is pulled close to 0 V. The output is therefore positive only when both inputs are high or floating.

These circuits are placed in quotation marks as "gates" because they are difficult to combine into more complex digital logic. Each gate requires current to flow through its input terminals, but it may not be capable of supplying the corresponding current at its output.

A particularly troublesome case occurs when diode-based gates are cascaded.

Cascaded diode-based logic gates

Figure 20 | Attempting to cascade diode-based logic gates.

Under the input conditions shown, three of the four diodes are reverse biased. The only current path is a series connection of a resistor, diode, and resistor between the positive supply rail and ground.

The circuit therefore behaves essentially like a resistor divider. Instead of producing a clean binary output, it generates an ambiguous intermediate voltage.

In other words, diode logic can be useful for a single logic step, but a practical computer requires gates that can provide more output current than the current demanded by the inputs of downstream gates. Transistor-based logic stages provide the required buffering and current gain, which is why they replaced simple diode logic in general-purpose digital systems.

Daniel Li | PCB Assembly & Electronics Application Engineer Daniel Li | PCB Assembly & Electronics Application Engineer

Daniel Li is an experienced PCB assembly and application engineer with over 10 years of experience in SMT and DIP processes. He focuses on soldering quality, stencil design, and defect analysis, as well as real-world PCB applications across industries such as automotive, industrial, and consumer electronics. At AIVON, he reviews and improves content related to assembly techniques and application scenarios, helping bridge the gap between design and manufacturing.

Related Tags


2026 AIVON.COM All Rights Reserved
Intellectual Property Rights | Terms of Service | Privacy Policy | Refund Policy