In semiconductor physics, the depletion region, also called depletion layer, depletion zone, junction region, space charge region or space charge layer, is an insulating region within a conductive, doped semiconductor material where the mobile charge carriers have been diffused away, or have been forced away by an electric field. The only elements left in the depletion region are ionized donor or acceptor impurities.
The depletion region is so named because it is formed from a conducting region by removal of all free charge carriers, leaving none to carry a current. Understanding the depletion region is key to explaining modern semiconductor electronics: diodes, bipolar junction transistors, field-effect transistors, and variable capacitance diodes all rely on depletion region phenomena.
Formation of depletion region in a p–n junction
A depletion region forms instantaneously across a p–n junction. It is most easily described when the junction is in thermal equilibrium or in a steady state: in both of these cases the properties of the system do not vary in time; they have been called dynamic equilibrium. 
Electrons and holes diffuse into regions with lower concentrations of electrons and holes, much as ink diffuses into water until it is uniformly distributed. By definition, N-type semiconductor has an excess of free electrons compared to the P-type region, and P-type has an excess of holes compared to the N-type region. Therefore, when N-doped and P-doped pieces of semiconductor are placed together to form a junction, electrons migrate into the P-side and holes migrate into the N-side. Departure of an electron from the N-side to the P-side leaves a positive donor ion behind on the N-side, and likewise the hole leaves a negative acceptor ion on the P-side.
Following transfer, the diffused electrons come into contact with holes on the P-side and are eliminated by recombination. Likewise for the diffused holes on the N-side. The net result is the diffused electrons and holes are gone, leaving behind the charged ions adjacent to the interface in a region with no mobile carriers (That's why it is called the depletion region; carriers are being depleted). The uncompensated ions are positive on the N side and negative on the P side. This creates an electric field that provides a force opposing the continued exchange of charge carriers. When the electric field is sufficient to arrest further transfer of holes and electrons, the depletion region has reached its equilibrium dimensions. Integrating the electric field across the depletion region determines what is called the built-in voltage (also called the junction voltage or barrier voltage or contact potential)
- Mathematically speaking, charge transfer in semiconductor devices is due both to conduction driven by the electric field (drift) and by diffusion. For a P-type region, where holes conduct with electrical conductivity σ and diffuse with diffusion constant D, the net current density is given by
- with q the elementary charge (1.6×10−19 coulomb) and p the hole density (number per unit volume). Conduction forces the holes along the direction of the electric field. Diffusion moves the carriers in the direction of decreasing concentration, so for holes a negative current results for a positive density gradient. (If the carriers are electrons, we replace the hole density p by the negative of the electron density n; in some cases, both electrons and holes must be included.) When the two current components balance, as in the p–n-junction depletion region at dynamic equilibrium, the current is zero due to the Einstein relation, which relates D to σ.
(1) Under reverse bias (P negative with respect to N), the potential drop (i.e., voltage) across the depletion region increases. In details, majority carriers are pushed away from the junction and leaving behind more charged ions. So the depletion region is widened and its field is stronger, which increases the drift component of current and decreases the diffusion component. In this case the net current is leftward in the figure of the p–n junction. The carrier density (mostly minority carriers) is small and only a very small reverse saturation current flows.
(2) Forward bias (P positive with respect to N) narrows the depletion region and lowers the barrier to carrier injection(shown in lower right figure). In details, majority carriers gets some energy by bias field so they can go into the region and neutralize charges. The more bias the more neutralization (or screening of ions in the region) occurs. The carriers can be recombined to the ions but thermal energy immediately makes recombined carriers transitioned back as Fermi energy is in proximity. When bias is strong enough that the depletion region becomes very thin, the diffusion component of the current greatly increases and the drift component increases. In this case the net current is rightward in the figure of the p–n junction. The carrier density is large (it varies exponentially with the applied bias voltage), making the junction conductive and allowing a large forward current. The mathematical description of the current is provided by the Shockley diode equation. The low current conducted under reverse bias and the large current under forward bias is an example of rectification.
Formation of depletion region in an MOS capacitor
Another example of a depletion region occurs in the MOS capacitor. It is shown in the figure to the right, for a P-type substrate. Suppose that the semiconductor initially is charge neutral, with the charge due to holes exactly balanced by the negative charge due to acceptor doping impurities. If a positive voltage now is applied to the gate, which is done by introducing positive charge Q to the gate, then some positively charged holes in the semiconductor nearest the gate are repelled by the positive charge on the gate, and exit the device through the bottom contact. They leave behind a depleted region that is insulating because no mobile holes remain; only the immobile, negatively charged acceptor impurities. The greater the positive charge placed on the gate, the more positive the applied gate voltage, and the more holes that leave the semiconductor surface, enlarging the depletion region. (In this device there is a limit to how wide the depletion width may become. It is set by the onset of an inversion layer of carriers in a thin layer, or channel, near the surface. The above discussion applies for positive voltages low enough that an inversion layer does not form.)
If the gate material is polysilicon of opposite type to the bulk semiconductor, then a spontaneous depletion region forms if the gate is electrically shorted to the substrate, in much the same manner as described for the p–n junction above.
The principle of charge neutrality says the sum of positive charges must equal the sum of negative charges:
where n and p are the number of free electrons and holes, and and are the number of ionized donors and acceptors, respectively. If we assume full ionization and that , then:
This condition ensures that the net negative acceptor charge exactly balances the net positive donor charge. The total depletion width in this case is the sum . A full derivation for the depletion width is presented in reference. This derivation is based on solving the Poisson equation in one dimension – the dimension normal to the metallurgical junction. The electric field is zero outside of the depletion width (seen in above figure) and therefore Gauss’s law implies that the charge density in each region balance – as shown by the first equation in this sub-section. Treating each region separately and substituting the charge density for each region into the Poisson equation eventually leads to a result for the depletion width. This result for the depletion width is:
where is the relative dielectric permittivity of the semiconductor, is the built-in voltage, and is the applied bias. The depletion region is not symmetrically split between the n and p regions - it will tend towards the lightly doped side. A more complete analysis would take into account that there are still some carriers near the edges of the depletion region. This leads to an additional -2kT/q term in the last set of parentheses above.
Depletion width in MOS capacitor
As in p–n junctions, the governing principle here is charge neutrality. Let us assume a P-type substrate. If positive charge Q is placed on the gate, then holes are depleted to a depth w exposing sufficient negative acceptors to exactly balance the gate charge. Supposing the dopant density to be acceptors per unit volume, then charge neutrality requires the depletion width w to satisfy the relationship:
If the depletion width becomes wide enough, then electrons appear in a very thin layer at the semiconductor-oxide interface, called an inversion layer because they are oppositely charged to the holes that prevail in a P-type material. When an inversion layer forms the depletion width ceases to expand with increase in gate charge Q. In this case neutrality is achieved by attracting more electrons into the inversion layer. In the MOSFET this inversion layer is referred to as the channel.
Electric field in depletion layer and band bending
Associated with the depletion layer is an effect known as band bending. This occurs because the electric field in the depletion layer varies linearly in space from its (maximum) value at the gate to zero at the edge of the depletion width:
where A is the gate area, = 8.854×10−12 F/m, F is the farad and m is the meter. This linearly-varying electric field leads to an electrical potential that varies quadratically in space. The energy levels, or energy bands, bend in response to this potential.
- Robert H. Bishop (2002). The Mechatronics Handbook. CRC Press. ISBN 0-8493-0066-5.
- John E. Ayers (2003). Digital Integrated Circuits: Analysis and Design. CRC Press. ISBN 0-8493-1951-X.
- Sung-Mo Kang and Yusuf Leblebici (2002). CMOS Digital Integrated Circuits Analysis & Design. McGraw–Hill Professional. ISBN 0-07-246053-9.
- Pierret, Robert F. (1996). Semiconductor Device Fundamentals. pp. 209 to 216.
- Sasikala, B; Afzal Khan; S. Pooranchandra; B. Sasikala (2005). Introduction to Electrical , Electronics and Communication Engineering. Firewall Media. ISBN 978-81-7008-639-0.
- Kittel, C; Kroemer, H. (1980). Thermal Physics. W. H. Freeman. ISBN 0-7167-1088-9.
- Wayne M. Saslow (2002). Electricity, Magnetism, and Light. Elsevier. ISBN 0-12-619455-6.