The Direct Answer: What Is a Diode and How It Works

A diode is a two-terminal semiconductor device that acts as a one-way valve for electrical current. It allows current to flow freely in one direction (forward bias) while blocking it in the opposite direction (reverse bias). If you are asking what is a diode in practical terms, think of it as the electrical equivalent of a plumbing check valve: it prevents backflow that could damage sensitive components upstream.

On a schematic, the diode symbol is a triangle pointing toward a vertical line. The triangle side represents the Anode (A), where conventional current enters. The vertical line represents the Cathode (K), where current exits. On a physical component—like the ubiquitous DO-41 epoxy or glass package—the cathode is always marked by a painted ring, band, or stripe. Current flows from the unmarked anode toward the marked cathode.

Bench Tip: Never rely solely on the physical stripe if you are salvaging old parts. Paint can chip or fade. Always verify polarity with a multimeter before soldering a salvaged diode into a high-stakes circuit.

Operation Regions and Safe Default Part Numbers

To select the right component, you need to understand its three distinct operating regions. A diode is not a perfect switch; it has voltage drops and leakage currents that dictate its thermal limits.

Diode Operation Regions
Region Bias Condition Typical Voltage / Current Physical Behavior
Forward Bias Anode > Cathode Vf: 0.7V (Silicon), 0.3V (Schottky)
Current: mA to Amps
Depletion region collapses. Current flows exponentially. The diode dissipates heat equal to Vf × I.
Reverse Bias Cathode > Anode Vr: Up to PIV rating
Current: nA to µA (Leakage)
Depletion region widens. Blocks current. A tiny leakage current flows, which increases with temperature.
Breakdown Cathode >> Anode Vr > PIV (Peak Inverse Voltage)
Current: Rapidly spikes
Avalanche or Zener effect occurs. In standard rectifiers, this causes catastrophic thermal failure unless current is limited.

When stocking your lab or designing a prototype, you do not need to memorize every datasheet. Rely on these three safe default part numbers, which cover 95% of hobbyist and general-purpose prototyping needs in 2026:

Safe Default Diode Part Numbers
Part Number Type Max Forward Current (If) Peak Inverse Voltage (PIV) Forward Voltage (Vf) Best Use Case
1N4007 Standard Rectifier 1.0 A 1000 V ~1.1 V at 1A Power supply rectification, flyback protection, general blocking.
1N5819 Schottky 1.0 A 40 V ~0.6 V at 1A Low-voltage DC-DC converters, solar panel bypass, high-efficiency rectification.
1N4148 Small Signal / Fast 300 mA 100 V ~1.0 V at 10mA Logic gates, high-frequency switching, signal clipping, Arduino GPIO protection.

How to Bias and Select a Diode for Your Circuit

Selecting a diode requires checking two primary ratings against your circuit's worst-case scenario: Average Forward Current (If) and Peak Inverse Voltage (PIV). The golden rule of component selection is the 2x safety margin. If your circuit draws 500mA, use a 1A diode. If your reverse voltage spikes to 50V, use a diode with a 100V+ PIV rating.

For a deeper dive into semiconductor physics and doping profiles, the All About Circuits semiconductor textbook provides excellent foundational theory. But on the bench, practical application circuits are where the real learning happens.

Application Circuit: Inductive Flyback Protection

One of the most critical uses for a standard 1N4007 is as a flyback (or freewheeling) diode across an inductive load like a relay coil. When you de-energize a relay, the collapsing magnetic field generates a massive reverse voltage spike (inductive kickback) that can instantly destroy your driving transistor or microcontroller.

Complete Component List & Values:

  • Power Source: 12V DC supply
  • Load: 12V DC Relay Coil (approx. 400Ω, drawing 30mA)
  • Switching Element: 2N2222 NPN Bipolar Junction Transistor (BJT)
  • Base Resistor: 1kΩ (limits base current to ~5mA from a 5V logic pin)
  • Flyback Diode: 1N4007 (1A, 1000V PIV)

Wiring Steps:

  1. Connect the 12V DC positive rail to one terminal of the relay coil.
  2. Connect the other terminal of the relay coil to the Collector of the 2N2222 transistor.
  3. Connect the Emitter of the 2N2222 to circuit Ground (GND).
  4. Connect the 1kΩ resistor between your 5V microcontroller GPIO pin and the Base of the transistor.
  5. The Critical Step: Place the 1N4007 diode in parallel with the relay coil. Connect the diode's Cathode (stripe) to the 12V positive rail, and the Anode to the transistor's Collector.

When the transistor turns off, the relay coil's reverse voltage spike forward-biases the 1N4007, creating a safe, localized loop for the inductive current to dissipate as heat, clamping the voltage spike to a safe ~0.7V above the 12V rail.

Failure Modes and Multimeter Testing Steps

Diodes generally fail in two ways: short circuit (thermal runaway from exceeding the forward current rating, melting the silicon junction) or open circuit (a massive voltage spike exceeds the PIV, physically cracking the die). According to the ON Semiconductor 1N400x datasheet, these parts are rugged, but they will still fail if you ignore thermal derating in high-ambient-temperature enclosures.

You do not need an oscilloscope to diagnose a dead diode. A standard digital multimeter (DMM) with a diode-test function is all you need. For a comprehensive guide on DMM functions, refer to Fluke's official testing guide.

Step-by-Step Multimeter Testing

  1. Isolate the Component: Remove the diode from the circuit, or ensure at least one leg is desoldered and lifted from the PCB. Testing in-circuit will yield false readings due to parallel component paths.
  2. Set the DMM: Turn the dial to the Diode Test mode (indicated by a small diode symbol: >| ).
  3. Forward Bias Test: Touch the Red (positive) probe to the Anode (unmarked side) and the Black (negative) probe to the Cathode (striped side).
    • Expected Reading: 0.500V to 0.800V for silicon (like 1N4007), or 0.200V to 0.400V for Schottky (like 1N5819).
  4. Reverse Bias Test: Swap the probes. Red to Cathode, Black to Anode.
    • Expected Reading: "OL" (Open Loop) or "1" on the far left of the display, indicating infinite resistance.
  5. Diagnose Failures:
    • If you read 0.00V or a beep in both directions, the diode is shorted. Throw it away.
    • If you read "OL" in both directions, the diode is open (internally broken). Throw it away.
    • If you read a voltage drop in reverse bias (e.g., 0.4V both ways), the junction is leaking and compromised.

Frequently Asked Questions

What is a diode used for in a power supply?

In a power supply, diodes are used for rectification—the process of converting Alternating Current (AC) from the mains transformer into Direct Current (DC) for electronic circuits. A single diode creates a half-wave rectifier, which blocks the negative half of the AC sine wave. However, most modern power supplies use a bridge rectifier (four diodes arranged in a diamond topology, or packaged as a single component like the W10M) to flip the negative half-cycle into a positive pulsing DC wave. This pulsing DC is then smoothed by large electrolytic capacitors and regulated by linear or switching ICs.

What is a diode vs a resistor?

The fundamental difference lies in their linearity. A resistor is a linear component; it obeys Ohm's Law (V = IR) strictly, meaning its resistance remains constant regardless of the voltage applied or the direction of current flow. A diode is a non-linear component. Its resistance changes drastically depending on the voltage polarity and magnitude. In forward bias, once the voltage crosses the ~0.7V threshold, its resistance drops to near zero. In reverse bias, its resistance is practically infinite until the breakdown voltage is reached. You use a resistor to limit current predictably; you use a diode to steer current directionally.

What is a diode's forward voltage drop and why does it matter?

The forward voltage drop (Vf) is the "toll" the diode extracts from your circuit to allow current to pass. For a standard silicon diode, this is about 0.7V to 1.1V. This matters for two reasons: voltage headroom and power dissipation. If you are rectifying a 5V AC signal, losing 1.4V across a bridge rectifier leaves you with only 3.6V, which might not be enough to run a 5V microcontroller. Secondly, power dissipation is calculated as P = Vf × I. If you pass 3 Amps through a standard 1N5408 diode with a 1.0V drop, the diode dissipates 3 Watts of heat. Without a heatsink or adequate PCB copper pour, that diode will overheat and fail. This is why high-current, low-voltage designs (like buck converters) mandate Schottky diodes, which have a much lower Vf (around 0.3V to 0.4V), drastically reducing wasted heat.