The positive side of a diode is the anode, and the negative side is the cathode. Conventional current flows from the anode to the cathode when the anode is at a higher voltage than the cathode (a state called forward bias). Physically, the cathode is marked by a painted stripe, a band, or a bevel on the component body. On a schematic symbol, the cathode is the vertical bar, while the anode is the triangle pointing toward it.

Getting this right is the difference between a functioning power supply and a bench covered in magic smoke. Below, we will break down the physical identification, the operating regions, and a real-world scenario where reversing this polarity destroyed a MOSFET.

The Anode, The Cathode, and the Schematic Symbol

Before you can bias a diode, you have to identify its pins. The naming convention can be counterintuitive if you are used to batteries, where the positive terminal is the cathode (in a discharging galvanic cell). In a semiconductor diode, the anode is positive and the cathode is negative relative to current flow.

Bench Tip: If you are looking at a standard through-hole DO-41 package (like a 1N4007), the silver or white painted ring is the cathode. If you are using surface-mount devices (SMD) in SMA or SMB packages, the white band on the black plastic body is also the cathode. When in doubt, grab your multimeter.

On a schematic, the diode symbol looks like an arrow hitting a wall. The triangle represents the anode (positive), and the vertical line represents the cathode (negative). The arrow points in the direction of conventional current flow. If you see a standard diode symbol with the triangle pointing right, the left pin is the anode and the right pin is the cathode.

Operation Regions and Biasing the Junction

A diode is not a simple switch; it is a voltage-dependent valve. How you bias the anode relative to the cathode determines which operation region the device falls into. Selecting the right diode means ensuring your circuit's voltages keep the component in its intended region.

Operation Region Anode-Cathode Voltage ($V_{AK}$) Current Flow Typical Use Case
Forward Bias $V_{AK} > 0.7V$ (Silicon) or $> 0.3V$ (Schottky) High (mA to Amps) Rectification, polarity protection, signal steering
Reverse Bias $V_{AK} < 0V$ (up to $V_R$ rating) Negligible (nA to µA leakage) Blocking reverse current, flyback suppression
Breakdown (Avalanche/Zener) $V_{AK} < -V_{BR}$ (Negative breakdown voltage) High (Limited by external resistance) Voltage regulation (Zener), transient clamping (TVS)

To bias a diode for standard rectification, you must ensure the forward voltage ($V_F$) drop is accounted for in your power budget. A 1N4007 silicon diode drops about 0.9V at 1A, meaning a 5V supply will only yield 4.1V after the diode. If that voltage drop is unacceptable, you select a Schottky diode, which typically drops only 0.3V to 0.5V.

Bench Scenario: The Flyback Diode That Melted a MOSFET

Abstract theory is fine, but let us look at what happens when you get the anode and cathode mixed up in a real inductive switching circuit.

The Setup: I was building a PWM speed controller for a 12V DC cooling fan that drew 0.8A at full speed. The fan was switched by an IRF520 N-channel MOSFET. Because a fan motor is an inductive load, it generates a massive reverse voltage spike (flyback) when the magnetic field collapses upon turn-off. To protect the MOSFET, I added a 1N4007 flyback diode across the fan terminals.

The Mistake: I installed the 1N4007 with the cathode (stripe) connected to the MOSFET drain (the low side of the fan) and the anode connected to the 12V rail. This reverse-biased the diode during normal operation, which seemed fine because no current flowed through it while the fan was running.

The Numbers & Outcome: When the ESP32 pulled the MOSFET gate low, the fan's inductance tried to maintain the 0.8A current flow. The voltage at the MOSFET drain spiked upward. Because my diode was installed backward, it remained reverse-biased and blocked the flyback current. The drain voltage rocketed past 60V, hit 90V, and rang up to 135V due to parasitic trace inductance. The IRF520 has a maximum $V_{DS}$ rating of 100V. The MOSFET entered avalanche breakdown, shorted internally, and vented acrid white smoke.

The Fix: A flyback diode must be forward-biased only during the voltage spike. The cathode (stripe) must go to the positive supply rail (12V), and the anode must go to the MOSFET drain. When the spike occurs, the drain voltage exceeds 12V, forward-biasing the diode, and safely routing the inductive kickback current back into the power supply.

Complete Application Circuit: 12V Relay Driver

Here is a complete, battle-tested circuit for driving a 12V mechanical relay from a 3.3V microcontroller GPIO, demonstrating proper diode biasing and component selection.

  • Microcontroller: ESP32 (3.3V logic)
  • Switch: 2N2222 NPN BJT
  • Base Resistor: 1kΩ (0.25W)
  • Load: 12V 5-pin relay (coil resistance 160Ω, draws ~75mA)
  • Flyback Diode: 1N4148

Circuit Connections:

  1. Connect the ESP32 GPIO pin to one end of the 1kΩ resistor.
  2. Connect the other end of the 1kΩ resistor to the Base of the 2N2222.
  3. Connect the 2N2222 Emitter to system Ground.
  4. Connect the Relay Coil Pin 1 to the 2N2222 Collector.
  5. Connect the Relay Coil Pin 2 to the 12V positive supply.
  6. Connect the 1N4148 Anode to the 2N2222 Collector (Relay Pin 1).
  7. Connect the 1N4148 Cathode (stripe) to the 12V positive supply (Relay Pin 2).

Why these values? The base current is $(3.3V - 0.7V) / 1000\Omega = 2.6mA$. With a 75mA collector current, the forced Beta is $75 / 2.6 \approx 28$. The 2N2222 has a minimum hFE of 100, guaranteeing it enters hard saturation ($V_{CE(sat)} \approx 0.2V$). The 1N4148 is chosen over a 1N4007 because its reverse recovery time ($t_{rr}$) is 4ns compared to the 1N4007's 30µs, making it vastly superior for clamping fast inductive spikes from small relay coils.

Safe Default Part Numbers and Ratings

When prototyping or repairing boards, keep these specific part numbers in your bench drawer. They cover 95% of hobbyist and light-industrial applications. According to All About Circuits, understanding the distinct recovery times and voltage ratings of these families is critical for reliable design.

Part Number Type Max Reverse Voltage ($V_R$) Max Forward Current ($I_F$) Forward Voltage ($V_F$) Best Used For
1N4148 Signal (Fast) 100V 300mA 1.0V @ 10mA Logic steering, relay flyback, high-speed switching
1N4007 Rectifier (Slow) 1000V 1.0A 1.1V @ 1.0A AC/DC power supplies, motor flyback, reverse polarity protection
1N5819 Schottky 40V 1.0A 0.6V @ 1.0A Solar panel blocking, low-voltage DC buck converter output
SS34 SMD Schottky 40V 3.0A 0.55V @ 3.0A PCB-mount power supplies, high-current DC polarity protection
1N4733A Zener 5.1V (Breakdown) 1.0W (Power) 5.1V nominal Voltage clamping, crude voltage regulation, over-voltage protection

How Diodes Fail and How to Test Them

Diodes generally fail in two ways: short circuit or open circuit. A short circuit usually occurs from thermal runaway when a diode is pushed past its maximum forward current or reverse voltage rating, causing the silicon junction to melt and fuse. An open circuit happens when a massive transient current literally vaporizes the internal bond wire, acting like a blown fuse.

You can easily diagnose a failed diode on the bench using the diode test mode on a digital multimeter. As outlined in standard testing procedures by Fluke, this mode applies a small test current and measures the resulting voltage drop.

Numbered Steps for Multimeter Testing:

  1. De-energize the circuit. Never test a diode in a live circuit. Discharge any large capacitors first.
  2. Set your multimeter to Diode Test mode (usually indicated by a diode symbol on the dial).
  3. Forward Bias Test: Place the red (positive) probe on the diode's anode and the black (negative) probe on the cathode. A healthy silicon diode will read between 0.500V and 0.800V. A Schottky will read between 0.200V and 0.400V.
  4. Reverse Bias Test: Swap the probes (red on cathode, black on anode). A healthy diode will read 'OL' (Over Limit) or display a '1' on the left side of the screen, indicating infinite resistance.
  5. Diagnose: If both directions read 'OL', the diode is open (dead). If both directions read near 0.000V or beep continuously, the diode is shorted (dead). If the reverse bias reads a low voltage instead of 'OL', the junction is leaky and must be replaced.
Safety Caveat: When testing Zener diodes, the reverse bias test on a standard multimeter will still read 'OL' because the meter's test voltage is usually under 3V, which is below the Zener breakdown threshold. To test a Zener's breakdown voltage, you must build a test circuit with a current-limiting resistor and a power supply higher than the Zener voltage, measuring the drop under load.

Understanding which side of the diode is positive is just the starting line. True reliability comes from matching the component's recovery time, voltage rating, and thermal limits to the specific demands of your circuit. Keep your 1N4148s and 1N4007s stocked, respect the cathode stripe, and your inductive loads will never take your switching transistors down with them.