How Does a Transistor Work?

Veritasium · Intermediate ·🛠️ AI Tools & Apps ·13y ago

Key Takeaways

The video explains the basic principle of a transistor, a fundamental component in modern electronics, and how it works using semiconductors and doping techniques.

Full Transcript

[Applause] In this phone, there are nearly a 100 million transistors. In this computer, there's over a billion. The transistor is in virtually every electronic device we use. TVs, radios, Tamagotchis. But how does it work? Well, the basic principle is actually incredibly simple. It works just like this switch. So, it controls the flow of electric current. It can be off, so you could call that the zero state, or it could be on, the one state. And this is how all of our information is now stored and processed in zeros and ones, little bits of electric current. But unlike this switch, a transistor doesn't have any moving parts. And it also doesn't require a human controller. Furthermore, it can be switched on and off much more quickly than I can flick this switch. And finally, and most importantly, it is incredibly tiny. Well, this is all thanks to the miracle of semiconductors. or rather I should say the science of semiconductors. Pure silicon is a semiconductor which means it conducts electric current better than insulators but not as well as metals. And this is because an atom of silicon has four electrons in its outermost or veence shell. This allows it to form bonds with its four nearest neighbors. How? What's up? So it forms a tetrahedral crystal. But since all these electrons are stuck in bonds, few ever get enough energy to escape their bonds and travel through the lattice. So having a small number of mobile charges is what makes silicon a semiconductor. Now, this wouldn't be all that useful without a semiconductor's secret weapon, doping. You've probably heard of doping. It's when you inject a foreign substance in order to improve performance. Yeah, it's actually just like that except on the atomic level. There are two types of doping called Nype and Ptype. To make end type semiconductor, you take pure silicon and inject a small amount of an element with five veence electrons like phosphorus. This is useful because phosphorus is similar enough to silicon that it can fit into the lattice, but it brings with it an extra electron. So this means now the semiconductor has more mobile charges and so it conducts current better in ptype doping an element with only three veence electrons is added to the lattice like boron. Now this creates a hole a place where there should be an electron but there isn't but this still increases the conductivity of the semiconductor because electrons can move into it. Now although it's the electrons that are moving we like to talk about the holes moving around because there's far fewer of them. Now since the hole is the lack of an electron, it actually acts as a positive charge. And this is why ptype semiconductor is actually called ptype. The p stands for positive. It's positive charges, these holes which are moving and conducting the current. Now it's a common misconception that ntype semiconductors are negatively charged and ptype semiconductors are positively charged. That's not true. They are both neutral because they have the same number of electrons and protons inside them. The N and the P actually just refer to the sign of charge that can move within them. So in N type, it's negative electrons which can move and in PT type, it's a positive hole that moves, but they're both neutral. A transistor is made with both N type and ptype semiconductors. A common configuration has N on the ends with P in the middle. Just like a switch, a transistor has an electrical contact at each end, and these are called the source and the drain. But instead of a mechanical switch, there is a third electrical contact called the gate, which is insulated from the semiconductor by an oxide layer. When a transistor is made, the N and P types don't keep to themselves. Electrons actually diffuse from the N type, where there are more of them, into the P type to fill the holes. This creates something called the depletion layer. What's been depleted? Charges that can move. There are no more free electrons in the end type. Why? Because I filled the holes in the ptype. Now, this makes the ptype negative thanks to the added electrons. And this is important because the ptype will now repel any electrons that try to come across from the end type. So, the depletion layer actually acts as a barrier preventing the flow of electric current through the transistor. So, right now, the transistor is off. It's like an open switch. It's in the zero state. To turn it on, you have to apply a small positive voltage to the gate. This attracts the electrons over and overcomes that repulsion from the depletion layer. It actually shrinks the depletion layer so that electrons can move through and form a conducting channel. So the transistor is now on. It's in the one state. This is remarkable because just by exploiting the properties of a crystal, we've been able to create a switch that doesn't have any moving parts that can be turned on and off very quickly just with a voltage. And most importantly, it can be made tiny. Transistors today are only about 22 nanometers wide, which means they're only about 50 atoms across. But to keep up with Moore's law, they're going to have to keep getting smaller. Moore's law states that every 2 years, the number of transistors on a chip should double. And there is a limit. As those terminals get closer and closer together, quantum effects become important and electrons can actually tunnel from one side to the other. So you may not be able to make a barrier high enough to stop them from flowing. Now this will be a real problem for the future of transistors, but we'll probably only face that another 10 years down the track. So until then, transistors the way we know them are going to keep getting better. Once you have, let's say, 300 of those cubits, then you have like two to the 300 classical bits, which is as many particles as there are in the universe.

Original Description

How does a transistor work? Our lives depend on this device. Support Veritasium on Patreon: http://bit.ly/VePatreon Subscribe to Veritasium - it's FREE! http://bit.ly/YSWpWm When I mentioned to people that I was doing a video on transistors, they would say "as in a transistor radio?" Yes! That's exactly what I mean, but it goes so much deeper than that. After the transistor was invented in 1947 one of the first available consumer technologies it was applied to was radios, so they could be made portable and higher quality. Hence the line in 'Brown-eyed Girl' - "going down to the old mine with a transistor radio." But more important to our lives today, the transistor made possible the microcomputer revolution, and hence the Internet, and also TVs, mobile phones, fancy washing machines, dishwashers, calculators, satellites, projectors etc. etc. A transistor is based on semiconductor material, usually silicon, which is 'doped' with impurities to carefully change its electrical properties. These n and p-type semiconductors are then put together in different configurations to achieve a desired electrical result. And in the case of the transistor, this is to make a tiny electrical switch. These switches are then connected together to perform computations, store information, and basically make everything electrical work intelligently. Special thanks to PhD Comics for awesome animations: http://bit.ly/16ZXcVY And thanks to Henry Reich and Vanessa Hill for reviews of earlier drafts of this video. Music: Kevin MacLeod (incompetech.com) Decisions
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Veritasium · Veritasium · 43 of 60

1 Scientific Notation - Explained!
Scientific Notation - Explained!
Veritasium
2 I'm Atoms (Scientific Cover of Jason Mraz's I'm Yours)
I'm Atoms (Scientific Cover of Jason Mraz's I'm Yours)
Veritasium
3 Scientific Notation - Example
Scientific Notation - Example
Veritasium
4 What is a Force?
What is a Force?
Veritasium
5 Khan Academy and the Effectiveness of Science Videos
Khan Academy and the Effectiveness of Science Videos
Veritasium
6 Supercooled Water - Explained!
Supercooled Water - Explained!
Veritasium
7 Galileo the Scientific Parrot
Galileo the Scientific Parrot
Veritasium
8 Radiation vs Radioactive Atoms
Radiation vs Radioactive Atoms
Veritasium
9 What Is Electricity? (Are You Gonna Be My Girl?)
What Is Electricity? (Are You Gonna Be My Girl?)
Veritasium
10 Why Is Ice Slippery?
Why Is Ice Slippery?
Veritasium
11 Impress Her With Nanodiamonds
Impress Her With Nanodiamonds
Veritasium
12 Chain Drop Experiment
Chain Drop Experiment
Veritasium
13 What Colour Is Most Attractive?
What Colour Is Most Attractive?
Veritasium
14 States of Matter
States of Matter
Veritasium
15 Slinky Drop Answer
Slinky Drop Answer
Veritasium
16 Slinky Drop
Slinky Drop
Veritasium
17 Atomic Rant
Atomic Rant
Veritasium
18 What Is The Magnus Force?
What Is The Magnus Force?
Veritasium
19 A Human Being Is A Part Of The Whole
A Human Being Is A Part Of The Whole
Veritasium
20 Spinning Tube Trick Explained
Spinning Tube Trick Explained
Veritasium
21 Where Do Trees Get Their Mass?
Where Do Trees Get Their Mass?
Veritasium
22 Why Do You Make People Look Stupid?
Why Do You Make People Look Stupid?
Veritasium
23 Gyroscopic Precession
Gyroscopic Precession
Veritasium
24 How Does A Slinky Fall?
How Does A Slinky Fall?
Veritasium
25 Spinning Disk Trick Solution
Spinning Disk Trick Solution
Veritasium
26 Does a Falling Slinky Defy Gravity?
Does a Falling Slinky Defy Gravity?
Veritasium
27 Northern Lights From 100,000 ft!
Northern Lights From 100,000 ft!
Veritasium
28 The First Meeting of EDUtubers! ft. CGPGrey, Vsauce, Smarter Every Day, Numberphile +more
The First Meeting of EDUtubers! ft. CGPGrey, Vsauce, Smarter Every Day, Numberphile +more
Veritasium
29 Free Higgs!
Free Higgs!
Veritasium
30 How Can Trees Be Taller Than 10m?
How Can Trees Be Taller Than 10m?
Veritasium
31 What Now For The Higgs Boson?
What Now For The Higgs Boson?
Veritasium
32 How Trees Bend the Laws of Physics
How Trees Bend the Laws of Physics
Veritasium
33 Paralysed Rats Made To Walk Again
Paralysed Rats Made To Walk Again
Veritasium
34 What Could Survive An Atomic Bomb?
What Could Survive An Atomic Bomb?
Veritasium
35 Heisenberg's Uncertainty Principle Explained
Heisenberg's Uncertainty Principle Explained
Veritasium
36 Why Do Venomous Animals Live In Warm Climates?
Why Do Venomous Animals Live In Warm Climates?
Veritasium
37 Veritasium Trailer
Veritasium Trailer
Veritasium
38 What Can Frogs See That We Can't?
What Can Frogs See That We Can't?
Veritasium
39 World's Roundest Object!
World's Roundest Object!
Veritasium
40 Epic Slow-Mo Drum Implosions!
Epic Slow-Mo Drum Implosions!
Veritasium
41 Empty Space is NOT Empty
Empty Space is NOT Empty
Veritasium
42 Your Mass is NOT From the Higgs Boson
Your Mass is NOT From the Higgs Boson
Veritasium
How Does a Transistor Work?
How Does a Transistor Work?
Veritasium
44 Bullet Block Explained!
Bullet Block Explained!
Veritasium
45 How We’re Fooled By Statistics
How We’re Fooled By Statistics
Veritasium
46 Facebook Fraud
Facebook Fraud
Veritasium
47 The Most Common Cognitive Bias
The Most Common Cognitive Bias
Veritasium
48 Anti-Gravity Wheel?
Anti-Gravity Wheel?
Veritasium
49 Anti-Gravity Wheel Explained
Anti-Gravity Wheel Explained
Veritasium
50 Why Trees Are Taller Than They Need To Be
Why Trees Are Taller Than They Need To Be
Veritasium
51 Misconceptions About the Universe
Misconceptions About the Universe
Veritasium
52 Why Women Are Stripey
Why Women Are Stripey
Veritasium
53 What is NOT Random?
What is NOT Random?
Veritasium
54 Explained: 5 Fun Physics Phenomena
Explained: 5 Fun Physics Phenomena
Veritasium
55 Climate Change is Boring
Climate Change is Boring
Veritasium
56 13 Misconceptions About Global Warming
13 Misconceptions About Global Warming
Veritasium
57 CapitolTV's DISTRICT VOICES - District 5: Electric Sparks From Falling Water
CapitolTV's DISTRICT VOICES - District 5: Electric Sparks From Falling Water
Veritasium
58 Sparks from Falling Water: Kelvin's Thunderstorm
Sparks from Falling Water: Kelvin's Thunderstorm
Veritasium
59 The Most Persistent Myth
The Most Persistent Myth
Veritasium
60 The Most Radioactive Places on Earth
The Most Radioactive Places on Earth
Veritasium

The video teaches the fundamental principles of transistors, including semiconductors, doping, and quantum effects, and explains how they are used in modern electronics.

Key Takeaways
  1. Learn the basic principle of a transistor
  2. Understand how semiconductors work
  3. Apply doping techniques to create N-type and P-type semiconductors
  4. Analyze the structure of a transistor
  5. Understand how quantum effects impact transistor design
💡 Transistors are a crucial component in modern electronics, and understanding their basic principles is essential for designing and building electronic devices.

Related Reads

Up next
How I Use AI to Write Facebook Ad Scripts That Actually Scale
Nick Theriot
Watch →