What is a diode?

What is a diode? Operation, types and practical uses
Hello, colleagues,
A diode is a two-terminal semiconductor device that conducts electric current readily in its forward direction while largely blocking it in reverse. Its terminals are the anode (A) and cathode (K). Its behavior depends on the polarity and magnitude of the applied voltage. Thinking of it as a one-way gate for current is a useful starting point, but a real diode also has a voltage drop, leakage current and operating limits.
What happens inside a diode?
Most conventional diodes contain a p–n junction. The majority charge carriers are holes in the p-type region and electrons in the n-type region. These names do not mean that the entire regions carry a net positive or negative charge. The depletion region around the junction changes with applied voltage, making conduction easier or harder. A Schottky diode uses a metal–semiconductor junction instead.
Identifying the anode, cathode and connection polarity
On many axial diodes, a stripe or band marks the cathode; the bar in the circuit symbol identifies the same terminal. For surface-mount markings and unfamiliar packages, consult the manufacturer's datasheet. Methods for identifying LED polarity depend on the package; lead length is not a universal way to identify every diode.
Under forward bias, the anode is more positive than the cathode, and conventional current flows from anode to cathode. For common silicon diodes, 0.7 V is a useful approximation, rather than a fixed turn-on threshold. Forward voltage changes with current, temperature and diode type. A diode does not safely limit its own current; a series resistor or a current-controlled circuit may be needed.
Under reverse bias, the cathode is more positive than the anode, leaving a small leakage current within the normal operating range. A sufficiently high reverse voltage can drive the device into breakdown. Breakdown does not necessarily mean permanent failure: Zener and TVS diodes are designed to use this behavior. Exceeding an ordinary diode's permitted reverse voltage can, however, damage it.
How does a diode convert AC to DC?
Rectification steers an alternating input so that the output across the load has one polarity. A single diode can provide half-wave rectification; a four-diode bridge can provide full-wave rectification. In a traditional power supply, a transformer changes the voltage, the diodes rectify it, and a capacitor reduces ripple. Rectification alone does not produce a constant, regulated DC voltage. Two diodes normally conduct in each bridge current path, so both forward voltage drops must be considered.
Common diode types
Rectifier diode: Used in power supply inputs and AC rectification. Fast-recovery diode: Used where the transition from conduction to blocking matters, particularly in switching circuits. Its reverse recovery time affects switching losses.
Schottky diode: Usually offers a low forward voltage drop and fast switching. Typical applications include low-voltage supplies and some buck and boost converters. Its reverse leakage and temperature behavior also need attention. Zener diode: Operates in reverse breakdown to provide a voltage reference or simple regulation, with current and power kept within specified limits. Understanding the differences between Zener diodes, Schottky diodes and bridge rectifiers helps match the device to its job.
TVS diode: Designed to clamp brief voltage transients; it cannot handle sustained overvoltage indefinitely. TVS diodes, varistors and fuses perform different protection functions and are not directly interchangeable.
LED: Emits light when forward-biased; its forward voltage depends on its construction and color. A current-limiting resistor for an LED or a suitable driver controls the current. Photodiode: Produces a light-dependent current for optical sensing. An optocoupler combines an LED with a receiver, such as a phototransistor or photodiode, to transfer a signal across an electrical isolation barrier.
An important automation use: DC coil protection
When a DC relay coil or solenoid is switched off, energy stored in its inductance can generate a high-voltage transient. A flyback diode connected across the coil provides a circulating current path and helps protect the driving transistor or MOSFET. In the basic arrangement, connect the cathode to the positive coil terminal and the anode to the negative terminal, so the diode is reverse-biased while the supply is on.
This arrangement is for a DC coil; a single diode must not be applied directly across an AC coil in the same way. It also slows the decay of coil current and can increase relay release time. Where fast release matters, choose the suppression circuit according to the manufacturer's guidance. Check polarity and any existing suppression components in coils with built-in protection.
What matters when selecting a diode?
Consider forward current rating, expressed in amperes, together with repetitive peak reverse voltage, surge current, forward voltage drop, switching speed, package and thermal conditions. A rough estimate of average conduction loss is P ≈ VF × I. A matching package or higher current rating does not automatically make a diode a suitable replacement.
A simple low-voltage example: Connect a forward-biased silicon diode and a 1 kΩ resistor in series with a 5 V DC source. Assuming VF ≈ 0.7 V, Ohm's law gives I ≈ (5 − 0.7) / 1000 = 4.3 mA. This is an approximate operating-point calculation; it does not imply that the diode always drops exactly 0.7 V.
Checking a diode with a multimeter
Disconnect power, safely remove stored capacitor energy and verify that no voltage remains. Set the multimeter to diode-test mode and use the appropriate COM and VΩ sockets. Many silicon diodes read about 0.5–0.8 V with the red probe on the anode and the black probe on the cathode, then OL in reverse. Interpret the diode test according to the device type and test conditions.
A near-zero reading in both directions suggests a short circuit. OL in both directions can indicate an open circuit or insufficient meter test voltage, which can occur with some LEDs. Parallel paths on the board may affect readings; lifting one lead may be necessary. A continuity beep alone does not prove the diode is healthy. Ordinary diode-test mode also does not verify a Zener diode's rated breakdown voltage.
Technical references: ROHM — diode fundamentals and types · Fluke — diode testing · OMRON — relay coil protection.