Dave explains how BJT and MOSFET transistors work at the silicon chip level.
How does a BJT transistor actually amplify current?
P and N type doping, charge carriers, conduction channel, field effect, holes and electrons, all the other good stuff.
EEVblog Main Web Site: http://www.eevblog.com
The 2nd EEVblog Channel: http://www.youtube.com/EEVblog2
Forum: http://www.eevblog.com/forum/blog/eevblog-748-how-do-transistors-work/
Support the EEVblog through Patreon!
http://www.patreon.com/eevblog
EEVblog Amazon Store (Dave gets a cut):
http://astore.amazon.com/eevblogstore-20
Donations:
http://www.eevblog.com/donations/
Projects:
http://www.eevblog.com/projects/
Electronics Info Wiki:
http://www.eevblog.com/wiki/

Hi Welcome to Fundamentals! Friday Today, we're going to take a look at how transistors work, not at the circuit design level, but more at the physics silicon level. Let's go now. we're going to take a look at two different types of transistors because they are physically different in how they operate at this silicon level. one is the bipolar Junction transistor, your BJT the other is your field effect transistor or outfit.

Now we're actually going to look at a particular type of FET the MOSFET in this case because there are many different types and well, that's probably best left to a different video. Now, regardless of whether you have a BJT type or a MOSFET they going to work in your circuit configuration pretty much exactly the same. We're going to look at the NPN type and the n-channel type only here today and you should be familiar with these at the circuit level. If you put a positive voltage on the base, then you're going to get current flowing through your base emitter.

Junction There, it's going to turn your transistor on and your output voltage here is going to go to zero volts. It's going to be pulled down and if you don't have any base current then it's going to go positive. By nature of the pull-up resistor, the transistor is going to turn off so it's acting as a basic switch and your MOSFET in particular and enhancement mode MOSFET which I am I going in a different video on if you put a positive voltage on the gate. Here it's a voltage driven device as opposed to a current driven device in your BJT.

So they have physically different beasts. But if you put a positive voltage on your gate head, it does exactly the same thing. It turns your transistor on and your output voltage goes down. If you ground you gate like that, then by nature that you're going to tune your transistor off and you pull up is going to take your output voltage high.

It works like a switch, exactly the same way as a BJT, but transistors can be also used as amplifiers as well. That's their other job. so you can put your sine wave in here and get a much bigger sine wave out here. There's actually amplification involved.

power amplification, not just voltage amplification. You can do the same thing on your MOSFET as well, but you've got to buy some right? So they can be used as switches or amplifiers in this different circuit configurations, which we won't go into. What we want to look at is the physics level side of it, how it actually works on the silicon itself. To do that, we're going to have to go to atoms.

So welcome to the world of atoms. And we won't go into deep detail, but it's just important to know what's happening here. Stick with me. Not as complicated as you might think now.

transistors of course, in silicon chips made out of ironically silicon as the name suggests. But and silicon is a semiconductor. but on its own, it's not very useful. It it's not an insulator, it's not a conductor, and it doesn't conduct very well at all.
It's pretty useless on its own, so you have to do what's called doping the silicon ie. adding an impurity to it to make it more useful. And we can create two different types of doped silicon. We can create N-type and P-type You've probably heard those before.

NPN PNP Transistor PN Junction Diode That's what it stands for N-type and P-type doped silicon. So in a nutshell pun intended, the outer shell or the valence shell of a silicon atom contains four electrons like that and you can make join up silicon atoms like this into a big matrix. They actually form a very bot nice big matrix where potentially you can actually conduct current through. but as I said, on their own, not very good.

But if you dope silicon with a little bit of phosphorous, Phosphorous is very similar atom, but it's got five electrons in its outer shell. So if we have a phosphorus atom in here, they actually join up and and fit into the silicon matrix. Very nice, except because it's got five electrons here. There's one free electron.

Beauty. That electron is free to float wherever it wants throughout the matrix. So bingo, we've got an extra electron that's free to go all the way through and conduct current with. but we also need a matching type called N-type So what we can do is we can get the element boron, and we can dope the silicon material with a boron atom.

A boron atom very similar, but it contains only three electrons in its outer valence shell here. So when it fits into the matrix of the silicon like this is doped in there, then there's three. Only three electrons like that instead of the five that we had here. So four of them joined up and we had one free.

In this case, we've only got three and there's what's called a hole left over. There's a space where there is no electron, so we've actually created a free hole and that hole is allowed is then also allowed to move throughout the matrix. and that's what we can use to conduct the current through a PN Junction through a transistor. Let's take a look.

Now, they call it N-type four negative because it's got a an electron in a free electron in there, and they ironically call P-type the positive type. But these names are a bit of a misnomer because the the material itself is still a neutral charge because it's got the same number of protons and neutrons in the atom itself. so it's actually a neutral charge. but it's the hole, the free hole that actually conducts the current through the material.

So a hole in a P-type matrix here is just really the absence of an electron, but in semiconductor materials you can think of both the holes and the free electrons as being the charge carriers through the material as opposed to just a regular metal where it's pretty much just the electrons that are actually carrying the charge current. semiconductors. It's a bit of a different story. I Won't go into details deep detail, but just think the holes can actually move as well and carry the charge current.
So let's first take a look at the BJT Now I've shown it stacked in this configuration. Actually, when you actually physically build up on a semiconductor in what's called a planar format, which is how I've shown this MOSFET here. When you physically build it up, it's actually physically tipped over, but it's easy to explain in this orientation. Stick with me.

Now we've got our base are we made up and our collector of our BJT transistor and you'll notice him here. It is base collector emitter down here and we've got two N-type materials here which are what's called heavily doped where we saw before. So very heavily doped material, so very low resistance. You can think of it that way now.

Then it's got a P-type doped material in here that's electrically connected to the base and then on top of that, we've got does sandwich between our base P-type and our collector. N-type is another N-type but it's like lightly doped and we'll see the reason for that in a minute. So you can think of that lightly doped region still n-type but it's a bit higher resistance. There's a higher resistance layer and a lower resistance layer on top of it.

Now you'll notice that in a BJT trends is that we've just got a PN Junction Like that, Here's the two electrical contacts pn n It's exactly like a diode. That's why it's actually drawn like a DIYer there. and you can actually use a transistor as a regular PN Junction diode. No problems at all.

It functions the same way, and this is how it works. If we don't apply any voltage to the base here at all, we just put these two materials physically sandwich them together. Then what we end up with is all the free electrons in the N-type material. They actually gather and fill the holes on that side and then the holes from the P-type material, which will show as positive here because the holes are effectively positive right Then they form on this side.

So the electrons and the holes naturally gravitate towards the barrier here, and they swap polarity effectively like that, forming what's called a depletion region. In this case, because it's the base emitter, it's the base emitter depletion region. and the depletion region is actually effectively just like a nail. a lack of any charge carriers.

It's a barrier that stops any current flowing through your PN material from your base to your emitter. So basically nothing conducts if there's no positive voltage on the base here, and you're familiar with that in how your basic transistor circuits work. Now, of course, we come to our dieeee our typical diode curve here, which you should be familiar with Once we get to about naught point, Six Volts is the threshold voltage. It doesn't conduct any current until we get to around about that point.
and then once we get above point Six Volts, it starts to rapidly conduct up like that. So as the base emitter voltage Rises like this and goes up like this, the depletion region in here gets narrow, narrow, and narrow until it flips back and overcomes the effectively like the threshold voltage here. Once it gets to null point Six Volts, then it flips back. Then we can start getting our electron flow.

Here's our little electrons. They start flowing in that direction like that. Remember, electron flow goes from negative to positive. That's electron current flow as opposed to conventional current flow.

So that's our base emitter junction. We haven't done anything with our collector yet. It's just been sitting there unconnected. Let's now connect it up.

Or let's not Actually, when it's unconnected, if the same thing happens, we're going to P and an N Junction here because it's lightly doped. A heavily doped doesn't really matter. We get exactly the same thing here. We get our negative electrons there and our positive holes building up on this side, and we get a collector base depletion region exactly The same thing So no current flows from collector to emitter because there's that depletion region, no current can flow through it.

it's effectively stopping it. But if our collector voltage here goes up and reaches a certain threshold while our base emitter is also potter biased, then we get the depletion region getting certain depletion layer and collector base getting smaller and smaller, smaller and then it flips over and Bingo! We can now get boom electron flow from emitter through to your collector. Now here's the magic of how a transistor works and how we get the current gain that we are used to. Like a small amount of base current here can lead to a love judge collector emitter current here.

so it actually works as an amplifier. How does that work at the physics level? Well let's take a look. assume that our base is positively biased like that. our collector is now positively biased sub hot, large voltage.

Now this is where our heavy and our light doped material comes in. the lightly doped material because it's effectively higher resistance. So because we've got a low resistance material here and a high resistance material here which is going to be a very thin layer. by the way, the slightly much thinner than what I've are showing here this is low resistance.

This is effectively high resistance. So the voltage between the collector and the base here most of it is going to be dropped. There's going to be a higher voltage differential in this lightly doped material ie. right in the region between the P and the lightly doped N-type material.

And because that has a high voltage threshold, something magical happens and the magic goes like this: There's going to be holes that are so holes are positive. They're going to be flowing through the P-type material in like this, and electrons are going to be flowing the other way. it's going to be a small amount of current. But because this is so all this n-type material, the bottom is so heavily doped.
It's got all these excess electrons. and there's only a few little holes flowing through like this when electrons flow from the end material. So electrons flow from here. Up in here.

there's millions of them, but there's only like a few of the holes coming over. So where do the rest of all these excess electrons from this heavily doped N-type material go? well. They go bingo straight up like that because this is a higher potential differential voltage. in this region.

here. it attracts all of those electrons. Those excess electrons. So we've got a lot of electrons flowing from emitter to collector here, and just a smaller amount, A much fewer electrons flowing through my meter to base.

So Bingo! That's how the magic happens inside a transistor. and you get current gain, schibetta current from emitter to collector. or if you want to think about it in conventional current terms, the current flows from collector down to emitter at a small amount. So a small amount of base current flowing in here, and a super large amount of current flowing from collector through to emitter.

and that's determined by the beta or the gain of the transistor. and that's how and that gain is controlled by. like all the physical construction of the lightly doped material and how thin it is and all that sort of stuff, the physical construction inside the transistor. So that's the magic of a bipolar Junction transistor.

Let's move on now to our MOSFET in particular: a MOSFET not a J FET or and a depletion mode MOSFET for example. This is going to be what's called an enhancement mode MOSFET How it actually works. Now, it's physically constructed, quite different, and operates quite different. As I said, this one is a current controlled device.

You've got to actually feed some base current in as you might know, a FET or a mosfet beta. J Whatever type of FET it is is a basically a voltage driven device. You put a voltage on the gate and you can get current to flow in the transistor. There is not effectively no gate current.

a voltage controlled device. So the way the MOSFET works in what's called a planar form here, this is how it's physically constructed on the silicon. We've got a P-type substrate base it's of course, P-type doped, and then We've got our end to end typed dope. You can think of them as like a physical channel or whatever.

It doesn't really matter how you physically think of them, but there's two n-type nodes here, so the one is the source and one is the drain. and then we've got an insulator on top here, and that's usually like an oxide layer. There's a few different ways to do that, but just think it like a complete insulating layer. That's why it's physically showing.
As you know, there is no direct electrical connection between the gate and the drain or a source because it is completely insulated and then on top of that, there just got a metal contact which is your gate material. and there's also a metal contact on the drain and the source n-type materials as well. So apart from that physical difference of no Electrical contact whatsoever, it kind of starts to work in a similar way. Let's have a look because we've got an N and a P type material.

If we've got nothing, can make, no voltages connected, the transistors, just sitting there. And exactly the same thing happens here: how our electrons gather in this material and our holes from our p-type gather on the other side and we form our depletion region in there around both of those. So obviously if we've got two depletion layers here and here, then no current can flow from source to drain. I Eat.

The transistor is switched off. There's no conduction at all. But here's the magic of how it works. and the name gives it away.

Field Effect Transistor It works based on an electric field. Now, if we put a positive voltage on the gate here doesn't have to be very high like couple of volts depends on the type of transistor, then what we've done here is we've given it enough electric field here to overcome this barrier. Here, our depletion region barrier. and then we can have the electrons that were in the N-type material.

Here that's heavily doped. N-type material can actually flow along here because this whole gate is like the whole thing is directly across there. Between overlapping the two n-type materials, it forms a channel in there where the electrons are can flow and Bingo! We've turned on our switch based on just an electric field. Here, there is no current flowing in or out of the gate because of this oxide insulating here.

so it is a field effect device turned on and off by an electric field or a voltage on the gate. And naturally the higher the gate voltage, the more you increase that gate voltage there. then the wider this channel becomes and you can get more charge carriers flowing through holes and electrons and current flow from your source to your drain. Like that and your transistor turns on.

Bingo. Very, very simple, but as I showed, it's physically a different type of operation to the BJT type transistor. And the because there is no gate current flowing in there, it's insulated. Well, that's an usually an advantage in electronics.

That's why MOSFETs are more popular than Bjts these days for most things. So yeah, your iPhone or whatever, all your processing, all your digital switching, all that sort of stuff is all done with effectively enhancement mode. MOSFET Exactly like we see here. and here's an interesting little animation.
I Got from Wikimedia Commons you can see the graph on the left here. that's the gate voltage going up to naught point 6 volts. you see the black marker. it starts off at zero, there goes up and you can see the channel effectively turning on in this electron density map on the right hand side, this is a 3d electron density map.

It's awesome. I Don't know how they actually got this, but it's fantastic and you see as it goes up, it reaches a threshold voltage. In this case of about nine point, four or five volts or there abouts, this is a real low gate threshold voltage R and nano why A MOSFET it's called and you can see the electron channel then. just like just sort of bang, there it goes.

Fantastic. And of course you're in and keep increasing the gate voltage. As I said, then your conduction channel gets wider and wider and more electrons can flow higher current. and you may have heard that MOSFETs and CMOS devices complementary metal-oxide-semiconductor transistors.

They're susceptible to static electricity. If you touch the pins, you can zap them and destroy or damage the chip. How does that happen? Well, it's easy. this very thin insulating oxide layer in here.

That's what gets damaged. If you come in with your finger and touch your gate in there, Zap, You can zap straight through that insulator. Actually blow a hole in that insulating layer, and that's going to ruin your day, Really. And these insulating layers? Incredibly thin.

We're talking like that. You know nanometers are. You know, kind of thickness in there with these things. Incredibly tiny.

Now, you may have heard of Moore's laws of course, and how chips and transistors these types of MOSFETs which are used to build modern processes And modern chips. I Getting smaller and smaller and smaller. A current process? No door. Manufacturing No technology.

You might have heard. For example, 20 nanometers. What does that mean? Well, it means the distance between here and here. This channel in there.

That is your 20 nanometers in there. What does that translate to? Well, a silicon atom is about 0.25 nanometers in diameter. Effectively, so there's effectively only 80 atoms in there wide between there. so you can see how ridiculously small feature sizes these are, and how Moore's law in, as we traditionally think of, it, is pretty much coming to an end.

You know you can't get much smaller before. this doesn't become an insulator anymore. Doesn't come a very. The electrons will just jump across and they can tunnel through and get a little.

You know we get to the point where our quantum effects and quantum tunneling comes in - I Won't go into the details of that. But yeah, we're really sort of pushing their limits of Moore's law. We can't physically make these much smaller before we run into lots of real major problems. And these distances in here and also the thickness of the oxide insulating layer in there determine your operating voltages of your FET So you may have heard of like a 20 volt maximum FET for example.
Well, that's going to be determined by your particular manufacturing technology inside the Fed itself. that's going to determine your maximum operating voltages. So there you go. That's how Bjts and MOSFETs work at the semiconductor level itself.

and I hope I've explained that adequately. There are sort of many different ways to sort of explain this in going to real deep into the physics and the manufacturing technology of it. This is just a general overview. Good enough.

If you know this, then you pretty much know how these training can appreciate how these transistors actually work on the silicon level. And I've only covered NPN and N channel devices here, but you can think of PNP s and P-channel MOSFETs has been basically the opposite of what's here. It's not quite. They do operate a bit differently.

they have negative gate voltages for example, but shape, but J FET n types can have negative gate voltage as well, and I can probably do a separate video on that. But there are physical differences and also operational and parametric differences between PNP S and P channel and end channel devices. So, but pretty much it's basically the opposite of what we got here. So if you like fundamentals Friday please give it a big thumbs up on YouTube because that helps a lot.

If you want to discuss it, jump on over to the Eevee blog forum links down below or leave YouTube comments or blog comments catch you next time you.

Avatar photo

By YTB

27 thoughts on “Eevblog #748 – how do transistors work?”
  1. Avataaar/Circle Created with python_avatars Eisenhower303 says:

    excellent

  2. Avataaar/Circle Created with python_avatars Zachary McCoy says:

    I love how you specifically distinguish conventional current and electron flow. Fabulous!

  3. Avataaar/Circle Created with python_avatars GreenTech says:

    4 min 20 s, its P-type, not N-type,

  4. Avataaar/Circle Created with python_avatars Julio A says:

    I would LOVE to see a nice video about how to drive MOSFETS and BJT, including high currents, and inductive loads with "soft off" AWESOME video!!! Learned a lot! Thanks!

  5. Avataaar/Circle Created with python_avatars K:) says:

    A point I never understood. Why do we call it amplifying? A transistor does not generate (or, amplify in your terms) amper out of nothing, correct? It all depends on the max amper that supply provides (collector lead), after all. It cannot exceed the total amperage of supply, right? Or, it is called amplifying in relation to base amper level/ratio?
    Could we rephrase that it adjusts the amper at collector to emitter, based on the amper level on BASE up to the max of suppply. Thanks,,.

  6. Avataaar/Circle Created with python_avatars Bacho Danelia says:

    👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍

  7. Avataaar/Circle Created with python_avatars Barry Bogart says:

    Very good explanation. FETs are new since I studied Physical Electronics in the 60's!

  8. Avataaar/Circle Created with python_avatars Aeroscience says:

    I've never seen a bjt shown with 4 layers like that. Why does everyone else only draw 3 layers? NPN

  9. Avataaar/Circle Created with python_avatars Remedius Fernandes says:

    Thank u. SIR

  10. Avataaar/Circle Created with python_avatars ZmanTime says:

    !!!!!! Thank You !!!!! For Bridging the gap on a 20 year mystery

  11. Avataaar/Circle Created with python_avatars Osvaldimar dos Santos says:

    Vce, Vbe, HFE, coletor comum, emissor comum, saida de audio complementar etc…

  12. Avataaar/Circle Created with python_avatars James says:

    Man like Dave 🙌👃

  13. Avataaar/Circle Created with python_avatars Chicken Permission says:

    Shouldn't it be p and b type.

  14. Avataaar/Circle Created with python_avatars Arthur Morgan says:

    If this was taught at my university like this, I would surely be more curious back then when I was younger. We were all about smoking resistors and blowing caps.

  15. Avataaar/Circle Created with python_avatars Слави Стоянов LZ1SSA says:

    Дейв,можеш ли да добавяш към видеата си български надписи и българско аудио / може и машинно бг аудио

  16. Avataaar/Circle Created with python_avatars Watalcom Centre says:

    Very good explanation, This is what I have been looking for thanks so much @EEVblog.

  17. Avataaar/Circle Created with python_avatars Stefan Babel says:

    Awesome explanation!!

  18. Avataaar/Circle Created with python_avatars AdriTeixeHax says:

    I've finally understood transistors. Thank you

  19. Avataaar/Circle Created with python_avatars SebaOPL says:

    Outstanding lesson! Thank you Dave!

  20. Avataaar/Circle Created with python_avatars Janice Kobain says:

    Oh, I heard BT/TF is a famous Australian silicon band or something, right?

  21. Avataaar/Circle Created with python_avatars SMoua says:

    I love you Dave. Your my idol!!!

  22. Avataaar/Circle Created with python_avatars Vlad C. says:

    Thanks

  23. Avataaar/Circle Created with python_avatars Gospodin Jean says:

    Can thing of all sorts of jokes about this "free hole" thing…

  24. Avataaar/Circle Created with python_avatars BamBam says:

    Absolutely Superb!! Best explanation I've seen.
    Moreover Australian accent made it just PERFECT!!
    Thank you mate!!

  25. Avataaar/Circle Created with python_avatars 直江狀 says:

    very nice video.
    I spent hours and hours to try to understand the principle and I felt exhausted and depressed. Your YouTube can make me understand within a hour.!

  26. Avataaar/Circle Created with python_avatars antigen4 says:

    ‘Hole’ = proton

  27. Avataaar/Circle Created with python_avatars Afrotechmods says:

    Literally the best lecture on semiconductors I've ever seen.

Leave a Reply

Your email address will not be published. Required fields are marked *