If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Photodiodes - (working & why it's reverse biased)

Let's explore the working of a photodiode - a PN junction that converts light into electricity - its working, its applications, and why it's reverse biased. Created by Mahesh Shenoy.

Want to join the conversation?

Video transcript

let's explore what photodiodes are how they work and where they're useful so photodiodes are a class of diodes that convert light light to electricity they convert light to electricity and they are the exact opposite their working is also exact opposite of leds you may have heard of leds which are like tiny bulbs they convert electricity to light they're also diodes but they do the exact opposite now when you hear light being converted to electricity the first thing that comes to my mind at least is solar panels right so photodiodes definitely are used in solar panels but they are those are specifically called solar cells and we'll talk about them in a future video over here when we say photodiodes we're talking about a bunch of diodes whose major application is in detecting the brightness of light so let me just write that down they're used in detecting detecting the brightness detecting the brightness of the light that is shining on them so let's see how that works so since these are diodes we'll start with the pn junction so take a pn junction and to make it detect the brightness of light you have to reverse bias it and this is super important and we'll see in a while why reverse bias why not forward bias we'll look at that in detail but you have to reverse bias your pn junction so let's do that let's take our pn junction and reverse bias it what do we mean by reverse biasing well biasing means attaching a battery reverse biasing means attaching making sure that the p side is connected to the negative and the n side is connected to the positive this is called the reverse bias and of course you'll always have some resistor to limit the current making sure that the diode doesn't get destroyed and so this is the circuit for our photodiode so let's start by thinking about what's what happens before we shine light on it this is something that we've already seen before but let's quickly recap we know that a pn junction contains holes p-side contains holes and n-side contains electrons and then there is a region in between which has no holes or electrons but only contains this space charge we call this the depletion region and the depletion region acts like a barrier for the holes and electrons to diffuse into each other for example if the electron tries to come here it gets repelled by this negative and goes back if the hole tries to come here it gets repelled by this positive and tries to go back and then you reverse bias it because the holes are attracted away and the electrons are also attracted away from uh you know towards the positive charge away from the depletion region the depletion region becomes wider the barrier becomes larger and so it becomes further difficult for electrons and holes to diffuse into each other and we've talked about this in great detail in previous videos on well reverse current and forward current of pn junction so if you need more clarity then go feel free to go back and check that out but now let's think about what happens when we shine light so let's say we shine light over here what's going to happen well for this we need to go back to our band theory of solids you might recall that semiconductors have at the topmost level two bands the conduction band and the valency band and if you look at the depletion region we are seeing no charge carriers which means there is the conduction band is empty because there are the free electrons are supposed to be in the conduction band and the valency band is completely filled with electrons between there also there can be no conduction and that's the reason there are no charge carriers over here this is the picture but what happens when you shine light well when you shine light if the light if the photons of light have sufficient amount of energy you know energy more than this band gap then some of these electrons can absorb that and jump into the conduction band and now as a result notice we have a free electron and we have a free hole now if this were to happen somewhere over here somewhere over here outside the depletion region then little a little later the the electron and the hole will recombine and nothing special would happen but when this happens at the depletion region look at what happens so let's let's say let's say the electron hole pair the electron hole pair is formed somewhere in the depletion region let me zoom in okay so somewhere over here let's see here is our electron oops here is our electron and here is that hole now before they have a chance to recombine this electron will get attracted by this positive charge and repelled by this negative charge and as a result will accelerate in this direction and this hole similarly will be attracted by this repelled by this and will get accelerated in this direction and as a result notice we now are having a current right holes moving this way or electrons moving this way will give us a current towards the left and so there will be a current in this circuit due to the electron holes generated due to the light so let me zoom back and that's how due to light we get a current okay now imagine we were to shine more light or brighter light that's what i meant okay brighter light what's gonna happen what do you think will happen to the current can you can you pause the video and think a little bit about what's gonna happen all right if there is a brighter light that means there are more photons being absorbed per second means more electron hole pairs will be formed per second and therefore your current will increase oh so notice with more light we get more current which means just by looking at the current i can now tell how bright the light is and there you go photo diodes they are detecting the brightness by using reverse bias more current means more brightness all right now before we go forward an important question to address why reverse bias why not forward by us and i want you to take a crack at this first can you pause the video and think a little bit about this i'll give you a clue it's got something to do with the depletion region so pause and give it a shot all right hopefully you've tried remember if you want that photon to generate electron hole pair which contributes to the current that has to be formed in the depletion region otherwise they will just recombine and they will not contribute to the current which means that photons effect will be useless so what happens when you forward bias you may have already studied that when you forward bias the depletion region becomes narrower so let me just show you that if the depletion region narrows then notice the electron hole pair which are formed have now less chances of being formed in the depletion region and as a result most of the photons which are absorbed will be useless they will not be contributing to the current and it's for that reason we use a reverse bias so that we have a nice and large depletion region and so a lot of photons will contribute to the current does that make sense and of course another important reason is in the forward bias because the depletion region has now become smaller these holes and electrons will also start diffusing and start causing a current and that will mess with the our calculations remember we want the current only due to the light because we are detecting the light that's our whole idea right so to make sure you know we don't have any other currents and to make sure that we have a large enough depletion region that's why we are making sure photodiodes work in the reverse bias finally let's talk about its applications where is this useful before we do that it'll be easier to do that if we draw a vi characteristics so let's go ahead and do that let's draw the voltage versus current characteristics and again this is something that we've already seen before it's a reverse bias characteristic so why don't you pause the video and try drawing this characteristics yourself all right let's see because the voltage is reverse biased over here we'll get the negative voltage and because the current is from n to p notice it's from n to p that current will also be negative and therefore we're gonna get our graph in the in this region the third quadrant and what would the graph look like well just like the normal reverse bias graph is going to look somewhat like this so what is the graph saying well the graph is saying that the current generator is pretty much independent of the voltage after a particular point why is that well the reason is the current generated depends on the light right depending upon amount of light you have a certain amount of electron hole pairs being formed and those electron hole pairs are being captured so if there are 10 electron hole pairs being captured per second then the your current will be just that and it has nothing to do with the voltage even if you increase the voltage the number of electron hole pairs formed would be the same and that's why pretty much it is independent of the voltage but of course it does depend a little bit because if you increase the voltage the depletion region widens a little bit and therefore more chances of electron hole pairs being formed in the depletion region but pretty much it is independent of it now what happens if you increase light well so let's say this is with some amount of light what happens if you put more light what would this graph look like well with more light the graph will be similar but will have more current in the negative direction and therefore your graph might look somewhat like this now this is with more light and so on and so forth uh even more light if you put you know look like this this is even more light and so on okay and again notice the current level is telling me how much light is falling on my diode but one thing to remember is that even in the absence of light there is thermal energy and the thermal energy also causes electron hole pairs to be formed so even in the absence of light you will get a very tiny amount of current which i'm going to draw somewhere over here we usually call this the dark dark current so even though you're not shining light purposely there is background thermal radiation that causes this as well so where would we use this well this would be useful in automatically switching things from light for example you can attach this circuit to an automatic street light and you can build that in such a way that if the current is below a certain level meaning it's very dark then you switch on that switch street light if the current is above a certain level which means there is a lot of light you switch off that street light beautiful isn't it let me give another example you must have seen note counters in the bank one of the ways we can do that is again by using a photodiode and shining a laser on it whenever there is a laser shining on it because of light there will be a high current but every time a note cuts that laser as it moves the current goes down and comes back up and you build a circuit with just counts you know adds a plus one every time a current drops and comes back up so by using lasers leds and photodiodes we can do a lot of wonderful stuff