← Writing

Post

Semiconductors: from atoms to crystals

Semiconductors sit between conductors and insulators, and their behavior comes down to how electrons are arranged in atoms.

28 May 2025 Anatolii Maltsev 6 min read Silicon & hardware basic electronics

Semiconductors sit between conductors and insulators, and their behavior comes down to how electrons are arranged in atoms. Understanding that arrangement is what makes everyday devices like diodes and transistors legible instead of magic.

Conductors

Atomic structure of copper, showing 29 protons in the nucleus and 29 electrons, one of them loosely held in the valence orbit

  • The nucleus of a copper atom has 29 protons(+) (positive charge).
  • There are 29 electrons(-) revolving around the nucleus (negative charge).

In electronics, only the last orbit is important, the valence orbit, because it determines the conductivity of the atom.

Net charge

To determine the total charge of an atom, it is necessary to subtract all electrons (except the last/valence orbit) from the charge of the nucleus. Example for copper = +1 (+29 protons - 28 electrons)

Free electrons

Since the total charge of the nucleus is +1 (after subtraction), the attraction between the nucleus and the valence electron (in the last orbit) is very weak. Even nominal voltage can easily knock this electron out of the copper atom and make it flow through the material. That is why the valence electron is called a free electron, and the flow of these free electrons is called current.

The conductivity of an atom depends on the number of valence electrons.

  • 1 valence electron: best conductor
  • 8 valence electrons: best insulator

Insulators

Atomic structure of neon, whose full outer orbit of eight valence electrons holds them tightly and prevents current from flowing

The atomic structure of neon is a good insulator. The net charge of the nucleus is +8, so the external attraction felt by the valence electrons is very large. Because of the lack of free electrons, insulators do not conduct current.

If a high enough voltage is applied to an insulator, the force will be so great that the valence electrons will literally be torn from their atoms, and conduction begins. In air, you will see this as an arc or flash. In solid materials, the heat generated will char the material.

Semiconductors

Atomic structure of silicon, with four valence electrons in the outer orbit and a nucleus of net charge +4

A semiconductor is an element that is neither a good conductor nor a good insulator. The best semiconductors have 4 valence electrons.

Silicon is the example. There are 4 electrons in the valence orbit, so the net charge of the silicon nucleus is +4. Since the number of valence electrons of silicon is 4, this makes it in the middle of a conductor and an insulator.

Silicon crystals

Silicon crystal lattice in which each atom shares its four valence electrons with four neighbors, giving every atom a full orbit of eight

When silicon atoms combine to form a crystal, they arrange themselves into a systematic structure. Each silicon atom begins to share its valence electrons with the 4 valence orbits of the neighboring 4 atoms. Each atom now has 8 electrons in its orbit, 4 of its own plus 4 (1 from each neighbor).

Covalent bonds

Covalent bond diagram where each line between neighboring silicon atoms represents one shared valence electron

Because of the sharing, the valence electrons are now not owned by any one atom. These shared valence electrons are attracted by neighboring atoms with equal and opposite forces, causing them to form a connection. The following figure illustrates the concept of covalent bonds, with each straight line representing one shared electron.

This opposite attraction holds the silicon atoms together and gives them strength.

Holes

At room temperature, the thermal energy in the air causes the atoms in a silicon crystal to vibrate. These vibrations remove an electron from its valence orbit, causing it to float freely throughout the crystal. The loss of an electron creates a vacancy in the valence orbit called a hole. This hole acts as a positive charge, since the loss of an electron produces a positive ion.

Diagram of thermal vibration freeing a valence electron from a silicon atom and leaving a vacancy in its orbit that acts as a positive hole

When a free electron comes close to a hole, it is attracted to it and falls into it. The process of merging a free electron and a hole is called recombination.

Flow of free electrons and holes

If you connect a battery across a clean silicon crystal, the thermal energy will produce a free electron and a hole.

Animated diagram of a battery across a silicon crystal, with free electrons drifting one way and holes the other and recombining at the ends

The applied voltage causes the free electrons to move to the left and the holes to the right. When the free electrons reach the left end of the crystal, they enter the outer wire and flow toward the positive terminal of the battery.

On the other hand, free electrons at the negative terminal of the battery flow to the right end of the crystal. They enter the crystal and recombine with the holes that have reached the right end of the crystal. Thus, a constant flow of free electrons and holes is established inside the semiconductor. Free electrons and holes are often called carriers because they carry charge from one place to another.

Doping a semiconductor

In a pure silicon crystal, each atom uses 4 valence electrons to connect with the valence orbits of neighboring atoms. This reduces the number of electrons available for conduction, so the crystal acts as an insulator.

To increase the number of holes and, therefore, free electrons, thereby increasing the conductivity of the crystal, it must be doped. Doping is the process of adding impurities to a pure silicon crystal to change its electrical conductivity. The more dopant added, the more free electrons and holes there are, which leads to an increase in conductivity. This means that a lightly doped semiconductor has a high resistance, while a heavily doped semiconductor has a low resistance.

How is silicon crystal doped? First, pure silicon crystal is melted. This breaks the covalent bonds and turns the silicon from a solid to a liquid state. To increase the number of free electrons, pentavalent atoms are added to the molten silicon. And to increase the number of holes, trivalent atoms are added. After it cools, it turns into a solid crystalline structure.

n-type semiconductor

Silicon doped to increase the number of free electrons is called an n-type semiconductor (n- means negative). Pentavalent impurities (phosphorus, antimony, arsenic) are added to silicon to increase the number of free electrons.

Atomic structure of phosphorus, a pentavalent donor impurity with five electrons in its outer orbit

In an n-type semiconductor, the pentavalent atom is in the middle, and 4 silicon atoms surround it. A 5-valence orbital can hold no more than 8 electrons. When the valence orbits intersect, the silicon atoms share 1 electron with the phosphorus orbital, thereby releasing 1 free electron from the phosphorus valence orbital.

n-type silicon diagram with a phosphorus atom at the center of four silicon neighbors, releasing one free electron into the lattice

Each 5-valence atom in a silicon crystal releases 1 free electron, and such impurities are called donor impurities. In an n-semiconductor, there are more free electrons than holes, so free electrons are called major carriers, and holes minor.

p-type semiconductor

Silicon doped to increase the number of holes is called a p-type conductor (p- means positive). For this, 3-valent impurities (aluminum, boron, gallium) are added.

Atomic structure of boron, a trivalent acceptor impurity with only three electrons in its outer orbit

In a p-type doped crystal, the 3-valent atom is in the middle, and on its valence orbit there will be only 7 electrons (3 of its own + 1 from each silicon atom). Consequently, on the valence orbit of each 3-valent atom there appears a hole.

p-type silicon diagram with a boron atom at the center of four silicon neighbors, leaving one unfilled valence slot that acts as a hole

In these types of semiconductors, holes are now called majority carriers, and electrons are called minor. A 3-valent atom is also called an acceptor atom, since each hole it contributes can accept a free electron during recombination.

Image Source: LME