Diodes
Intro
The symbol for a diode is a triangle pointing in the direction of current (hole-flow) connected to a perpendicular line which represents the junction:
There are a number of different types of diodes, but all of their circuit symbols are based on the one above.
The Wikipedia diode entry lists almost 20 different types of diodes, but in practice, most circuit design only uses a handful of them. As we explore more circuits, we'll also introduce additional, specialized diodes.
Polarity
To differentiate which end of a diode is the anode and which is the cathode, they usually have a marking on the end denoting the cathode. The following photo shows four different diodes, each with their cathode mark on the right:
Recall that positive charge carriers (holes) flow preferentially from anode to cathode, so the diodes above are in the same orientation as the circuit symbol below:
Diode Characteristics
Depending on how they're constructed, a diode can have some interesting behaviors. For general diodes, there are a number of characteristics that are used to describe how they work:
- Forward Voltage (
V
f
) - This is the amount of voltage drop, or the amount of voltage needed to enable current flow. - Maximum Forward Current (
I
f(max)
) - This is the maximum amount of current that the diode can safely conduct when forward-biased without breaking. - Peak Inverse Voltage (PIV) or maximum reverse voltage (
V
R(max)
) - This is the maximum amount of voltage that can be applied in reverse bias without an avalanche breakdown. - Total Power Dissipation (
P
D(max)
) - A diode has some resistance, so some power is lost in the form of heat. As such, a diode usually has a maximum amount of power that it can safely conduct without overheating. Total power dissipation is based on the voltage of the junction potential and the current:P
D
=V
f
*I
. - Reverse Recovery Time (
Trr
) - This is how quickly a diode can go fromOFF
toON
. It's generally only important in fast-switching circuits.
Common Diodes
- Light-Emitting Diodes (LEDs) - LEDs are a type of diode that emit photons (light) as electrons flow through the P-N junction and are used for displays, lights, etc.
- Photodiodes - Photodiodes are the opposite of LEDs, when photons enter, they get converted into electrical energy, enabling them to be used as switches based on light.
- Switching Diodes - Also known as small signal diodes, they have an extremely fast
Trr
, and are used for fast current switching. - Rectifier/Power Diodes - High current capacity, usually
1A
or more. Used for converting AC to DC and protection of circuits from power spikes. - Schottky Barrier Diodes - Have a very low voltage drop, so they can be used in a clever way to get to a digital
0
/OFF
. Also very fast. Used for basic logic control. - Zener Diodes - Have a precise breakdown voltage. Typically used in a reverse bias configuration to provide a voltage reference.
Diode Uses
Flywheel Diodes
Flywheel diodes protect circuits from collapsing magnetic fields created by de-powering electric motors and other coils by feeding excess current back into the coil. Typically, a power diode is used as a flywheel diode.
Voltage Clamping
Voltage clamping refers to clipping a signal to a maximum/minimum value to prevent it from going outside a particular range, or shifting an entire AC signal wave above or below 0V
.
Rectifiers
Alternating Current (AC) electrical signals can be converted into Direct Current (DC) through a clever arrangement of diodes known as a rectifier:
The above circuit will transform a two-phase AC wave form into positive and ground voltages:
With some additional components, the DC wave output above can be transformed into a smooth, level DC signal.
Rectifiers are used as the first stage in converting household mains AC current into DC current for use in electronics in nearly all AC power adapters. For example, the USB wall adapter that you use to charge your phone converts AC to DC using a rectifier. In fact, nearly every electronic device around you that plugs into the wall contains a rectifier circuit.
Reverse Current Protection
Because diodes act like one-way valves, they can prevent reverse current from happening in situations where a battery is plugged in the wrong way. Schottky diodes are ideal for this because their low V
f
means that it doesn't cost much battery voltage to protect the circuit.
Voltage Reference
Sometimes, a circuit needs a reference signal at a precise voltage. By utilizing the breakdown voltage of a reverse-biased Zener in a circuit, its V
f
back-pressure can provide that voltage reference. Consider the following circuit:
In the circuit above, a Zener with a 5V
breakdown voltage is being reverse biased with 9V
, which means that it's breakdown threshold has been reached, and will conduct current, with a 5V
voltage drop. Since the voltage drop acts like a dam, no matter how much voltage is applied, 5V
of back pressure will always be present:
As long as the current is limited, in this case with a resistor, it will stay within that precise operating band. Recall the diode behavior chart from before, specifically the breakdown behavior:
While this circuit looks a lot like a two resistor voltage divider, it's got a huge advantage over a divider; as long as the current is limited, no matter what amount of voltage is applied (within the diode's tolerance), the V
out
reference will always be the same.
And while the limited amount of current prevents this from being a useful voltage regulator, it does serve as a reliable voltage reference, which is used in ADC conversions, voltage regulator circuits, and more.