# Semiconductor Electronics/Diode
## Introduction

Diode is a marvelous device that passes current only in one direction. Its not necessary that a diode is made of semiconductor, it could be made using vacuum tube valve technology or using electromagnetic switch or using a crystal. We over here concentrate about Semiconductor Diode Alone.
Diode section of Semiconductor Electronics teaches the reader what an Diode is ? How it works ? How it can fail ? It teaches the physics and science behind the operation of the diode.
Diodes can be used for various applications like Voltage Rectification & Regulation, Clipping & Clamping of voltages, making digital logic circuits, modulation, photo-voltaics and so on. Light Emitting Diodes (LED's) are used for light production in visible and invisible region of Electromagnetic spectrum. Many nations have switched their traffic light to LED's so that they have higher operational efficiency. PIN diodes are used for electricity production from light, they constitute much of Solar Cells. Apart from this diodes have many other application which my limited knowledge has failed to take notice.
For a person to be a successful Electronic Engineer, the knowledge, mathematics and science behind a working diode is a must.

## Diode Construction

A diode is formed by joining two equivalently doped P-Type and N-Type semiconductor. When they are joined an interesting phenomenon takes place. The P-Type semiconductor has excess holes and is of positive charge. The N-Type semiconductor has excess electrons. At the point of contact of the P-Type and N-Type regions, the holes in the P-Type attract electrons in the N-Type material. Hence the electron diffuses and occupies the holes in the P-Type material. Causing a small region of the N-type near the junction to lose electrons and behaves like intrinsic semiconductor material, in the P-type a small region gets filled up by holes and behaves like an intrinsic semiconductor.
This thin intrinsic region is called depletion layer, since its depleted of charge (see diagram above) and hence offers high resistance. Its this depletion region that prevents the further diffusion of majority carriers. In physical terms the size of the depletion layer is very thin.

## Diode Biased Voltage
### Zero Bias

When a diode is zero biased, that is has no bias, it just stays. Almost no current passes through the diode. However if you connect the anode and cathode of the diode you might be able to observe small voltage or current that is insignificant. This is because the electromagnetic spectrum thats present in our environment by default(Microwave background, heat, light, Radio waves) knocks off electrons in the semiconductor lattice that constitutes current. For practical reasons this current can be considered zero.

### Reverse Bias

In reverse bias the P-type region is connected to negative voltage and N-type is connected to positive terminal as shown above. In this condition the holes in P-type gets filled by electrons from the battery / cell (in other words the holes get sucked out of the diode). The electrons in N-type material is sucked out of the diode by the positive terminal of the battery. So the diode gets depleted of charge. So initially the depletion layer widens (see image above) and it occupies the entire diode. The resistance offered by the diode is very huge. The current that flows in reverse bias is only due to minority charge which is in nano amperes in silicon and micro amperes in high power silicon and germanium diodes.

### Forward Bias

In forward bias the P-Region of the diode is connected with the positive terminal of the battery and N-region is connected with the negative region. During the forward bias the following process occurs. The positive of the battery pumps more holes into the P-region of the diode. The negative terminal pumps electrons into the N-region. The excess of charge in P and N region will apply pressure on the depletion region and will make it shrink. As the voltage increases the depletion layer will become thinner and thinner and hence diode will offer lesser and lesser resistance. Since the resistance decreases the current will increase (though not proportional) to the voltage.
At one particular voltage level V$_f$ called the threshold / firing / cut-off voltage the depletion layer disappears (overwhelmed by the charge) and hence from this point on the diode starts to conduct very easily. From this point on the diode current increases exponentially to the voltage applied.

## Ideal Diode

An Ideal diode has the following characteristics.
    Zero Forward Resistance . An ideal diode has zero forward resistance. This means if current passes through a diode, it produces no heat loss. In other words an ideal diode in its forward bias acts like a closed switch in a electrical circuit.
    Infinite Reverse Resistance
    Zero Saturation Current I$_S$
    Infinite Operating Range

## Types of Diode

* Zener Diodes
* Light Emitting Diodes
* LED
* Varicap
* Software

## Further Readings

* Rectification Basics: Electronics for Beginners