Skip to main content

Transistors, How do they work ?

the invention of transistors revolutionized human civilization like no other technology at the heart of a smartphone lies a processor and this processor holds about two billion transistors what do these incredibly tiny devices do how do they work transistors can act like a switch with no moving parts they can amplify a weak signal in fact amplification is the basic function of a transistor first let's understand the basis of transistors we will come back to the application part later transistors are made of semiconductors such as silicon each silicon atom is bonded with four neighboring silicon atoms silicon has four electrons in its valence shell let's replace this silicon atom with a four-handed Smyly each hand holds one electron each one of these electrons goes for sharing with a neighboring silicon atom this is known as a covalent bond currently the electrons are in their valence band if the pure silicon has to conduct electricity the electrons have to absorb some energy and become free electrons thus the pure silicon will have a low electrical conductivity a technique called doping is used to improve the conductivity of semiconductors for example say you inject phosphorus with five valence electrons here one electron will be free to move in the system this is known as n-type doping on the other hand if you inject boron with three valence electrons there will be a vacant position for an electron this vacant position is known as a hole and a neighboring electron can fill this hole at any time this electron movement is visualized as holes moving in opposite direction we call this p-type doping if you dope a silicon wafer in the following manner a transistor is born but if you really want to understand how a transistor works we have to get a clear idea of what happens at the electron level of a more basic component a diode a diode is formed when you dope one part of silicon as a p-type and the other part as an n-type something very interesting happens at the boundary of the N and P joint the abundant electrons on the inside will have a natural tendency to migrate to the holes that are available on the P side this will make the p-side boundary slightly negatively charged and the end site slightly positively charged the resulting electric field will oppose any further natural migration of the electrons if you apply an external power source across the diode as shown the power source will attract the electrons and holes electricity flow is impossible in this case however if you reverse the power connection the situation is quite different assume that the power source has enough voltage to overcome the potential barrier you can immediately see that the electrons will be pushed away by the negative terminal when the electrons cross the potential barrier they will be drained of energy and will easily occupy the holes in the P region but due to the attraction of the positive terminal these electrons can now jump to the holes nearby in the P region and flow through the external circuit this is known as the forward biasing of a diode just keep this simple principle of a diode in mind you will understand the operation of a transistor very easily now back to the transistor note that the P layer is really thin and lightly doped you can easily see that the transistor is essentially two diodes sandwiched back-to-back so whichever way you connect the power source one diode will always be reverse biased and block the electricity flow this means the transistor is in the off State now let's connect the second power supply as shown the power supply should have enough voltage to overcome the potential barrier so this is just a forward biased diode thus a high number of electrons will be emitted from the N region diode a few electrons will combine with the holes and jump across the neighboring holes and flow to the base but there are a lot more electrons than has crossed to the P side what will these remaining electrons do think for a moment the remaining electrons will get attracted by the positive terminal of the first power source and will flow straight as shown note that the P region is very narrow which ensures that no remaining electrons flow to the positive terminal of the second power source in short a small base current is amplified to a high collector current you can easily correlate the naming of the transistor terminal with a nature of electron flow if you can increase the base current the collector current will increase proportionally this is a clear case of current amplification the kind of transistor we have discussed is called a bipolar Junction transistor let's replace this representative transistor with a realistic one you can further improve the amplification by introducing one more transistor the base of this transistor is connected with the emitter of the first transistor if you introduce a weak fluctuating signal at the input like what you would find in a microphone you will get an amplified signal at the loud speaker the other interesting thing you can note about this basic circuit is that depending on the value of the applied voltage the transistor can be either on or off here the transistor acts as a switch this property of transistor opens the doors to the world of digital electronics and digital memory using two bjts you could build the basic dynamic memory element of computer a flip-flop to know more about it please watch the video on the transistor as a switch please support us at patreon.com so that we can continue our free educational service thank you

Comments

Popular posts from this blog

Port Forwarding Explained

what is port forwarding now maybe you've heard about it but you weren't exactly sure what it was or how it works so basically port forwarding allows computers over the Internet to connect to a specific computer or service within a private network it's basically making your computer accessible over the Internet even though you're behind a router so for example let's say a friend of yours at their home wants to remotely control your computer at your home using a service such as remote desktop connection now remote desktop connection is a service built into Microsoft Windows that enables you to connect to another computer running Microsoft Windows and then once you're connected to the remote computer you can use that computers programs and files just as if you were sitting in front of it so now your friend is ready to connect to your computer so we starts up the remote desktop connection and sends the request to your public IP address with a specific port number no...

NAT Explained - Network Address Translation

nat stands for network address translation and this is a service that is used in routers and its purpose is to translate a set of IP addresses to another set of IP addresses and the reason for having the nat service is to help preserve the limited amount of IP version for public IP addresses that we have available around the world when the IP version 4 address was created engineers didn't realize how big the internet will become because even though there were over 4 billion IP version 4 addresses available the engineers thought that that would be enough but obviously they were wrong so in order to prevent a shortage of public IP version 4 addresses engineers developed private IP addresses and network address translation now there are two different types of IP version 4 addresses there's public and there is private public IP addresses are publicly registered on the Internet you have to have a public IP address if you want to go on the internet and there are approximately 4 billi...

32 bit vs 64 bit

computer hardware and software can come in 32 or 64-bit versions the difference between a 32-bit and a 64-bit is the way that it handles memory the bit size refers to the memory that it can address a 32-bit system can reference 2 to the 32nd power bytes of memory which equals to about 4 gigabytes however a 64-bit system can reference 2 to the 64th power bytes of memory which equals to about 16 exabytes which is 4 billion times more memory than a 32-bit now that number is so huge that it's virtually unlimited because we will never need to use that amount of memory so in a computer in order for data or a program to run it needs to be loaded into Ram first so the data is stored on the slower hard drive and from the hard drive it's loaded into the faster Ram and once it's loaded into Ram the CPU can now access the data or run the program now in a 32-bit system since the maximum amount of memory that it can support is 4 gigabytes it may not be enough to hold all the data that th...