JAES Learning

VISIT OUR YOUTUBE CHANNEL
Jaes Sponsor - Basket



How a CPU is made and how it works

Silicon is the second most common element on Earth, followed by oxygen; it can be easily found on the sand, but as we’ve learned in our previous videos it is also used for its conducting properties. In fact, it is the main element of photovoltaic cells, diodes, thyristors and transistors; the latter in particular (in the mosfet version) is the primary component for the realization of the central processing unit, which we all know as the CPU.

In this video we will explain how a CPU is made, how it works and why it is the basis of every digital electronic device.

Jaes, for over a decade has been providing its customer with the best solutions for their supply chain and in their catalogue you can find any kind of circuit boards, PLC (Programmable Logic Controller), PCB (Printed Circuit Board), and DCS (Distributed Control System) for industrial control systems.

Let’s start with the infinitely small.
By using sophisticated technologies, silicon is purified and molded into thin layers called wafers, after which atoms of different elements are added. This operation is called doping.
In this way, thanks to the impurities found in the crystal lattice, silicon becomes a semiconductor.

Silicon belongs to the 14th group of the periodic table and every atom has four valence electrons, forming a very regular crystal lattice. If dopant atoms from elements of the 13th group with three valence electrons are added, such as boron or gallium, a we obtain a P-type semiconductor and we create a hole in the structure. On the other hand, if elements of the 15th group like phosphorus or arsenic are added, which have five valence electrons, an N-type semiconductor is created and there will be a free electron in the crystal lattice.

A Mosfet transistor is composed of:
- a doped silicon wafer as shown, with one P-type and two N-type semiconductor parts;
- a layer of silicon oxide which acts as an insulator;
- and a conductive layer of polycrystalline silicon

Every transistor has three terminals:
- the central one is connected to the polycrystalline silicon and is called "gate"
- while the other two are connected to the two parts of N-type wafers, and are called source and drain

The contact area between a P-type semiconductor with an N-type semiconductor is called the “depletion region”.
Within this zone, free electrons from the N layer will fill the holes in the P layer, creating an area where there are no free electrons or holes.
When a situation of equilibrium is reached, the depletion zone of the N side becomes positively charged and the zone of the P side becomes negatively charged. Thanks to this reaction, an electric field created, which serves as a barrier to prevent further electrons exchange, and acts like an insulator.

In fact, if we add an electric charge to the two external terminals, electricity cannot flow.
However, if we add an electric charge to the gate, we form an electric field, which attracts the free electrons of the P-type layer.

In this way, a new N-type area is formed nearby the gate which serves as a communication between source and drain so that the electric current can flow.
Mosfet transistor can therefore control the current flow and then switch on and off.
This simple operation is the basis of all technology, where every switch on or off is interpreted as 0 or 1. To put it in other words, it is the binary code of our computer systems.

In fact, each cpu has billions of transistors organized in different ways, so as to form the most varied logic gates.
Logic gates placed in succession can solve the most difficult computational problems.
Moreover, every second the transistors turn on and off at tremendous speed, measured in gigahertz (GHz), that is, billions of times per second. This speed is called the clock, and the higher it is, the more powerful is the cpu, at the expense of temperatures.

Beneath the CPU are placed some pins attached to the motherboard that receive and carry commands to the various components of the computer. The Ram memory, or "Random Access Memory", is the component that works most closely with the CPU; together, they run the “Fetch-decode-execute cycle”, that is the logical functioning of computer processors.
- It consists of a first phase called "Fetch", where the CPU collects data from the various Ram addresses through buses which are then kept in the CPU registers. The CPU stores the instruction temporarily so that it can be decoded and executed.
- Then we move on to the “Decode” phase in which the CPU analyzes the data.
- Finally, in the “Execute” phase, the decoded data are processed in the logic gates of the CPU; at this moment the new data is transferred back to the RAM and the cycle is repeated.

Now, processed data can transit through the motherboard to the various components of the PC such as: graphics card, solid state memory, USB controller, power management circuits, wireless card, etc...

Thanks to the advancement of technology, all these devices are now based on a single silicon chip thanks to the System-on-a-Chip (SoC), a system installed on an integrated circuit in which a single chip combines, in addition to the central processor, also high chipsets and controllers such as the one for RAM and GPU memory.
In this way, less energy is used, less physical space is needed and devices have better performances and reliability.

Nowadays, technology is becoming more and more thin and performing, so that we needed a model to predict its growth rate. For instance, Moore’s first law created a way to measure the complexity of a microcircuit. He found out that the number of transistors per chip doubles every 18 months and therefore quadruples every 3 years!
In this regards, to what extent do you think technology can influence our life in the future?
Answer us in the comments.

If you’ve found video useful, please let us know by leaving a like and a comment, you can also share it, and don’t forget to subscribe to our channel.