Non Uniform Doping Of Semiconductor
Einstein’s relationship
This equation relates the diffusivity and mobility together.
K is the Boltzmann's constant = 1.3*10-23 J/K
T temperature in K
q is charge = 1.6 * 10-19 Coloumbs
Non-uniformly Doped Junctions
Assume a semiconductor bar divided into two parts (say, part 1 & part 2) such that each part is doped with n type of dopant ( or both with p type) but at different concentrations: lets say, ND1 and ND2 respectively such that ND1>ND2. Whole silicon as well as each individual part is neutral (has no net charge) right after doping.
As part1 has higher concentration of mobile electrons than part 2, the
mobile electrons from part 1 will diffuse to part 2 (diffusion from higher gradient to lower gradient). Now, part 1 will become positively charged as it has lost electrons, and part 2 will gain some electrons. Since part 1 is positively charged, and part 2 is negatively charged, an electric field will arise that points from part 1 to part 2. This is called the Built-In Electric Field. Built in field results drift current which opposes the diffusion current. The charge separation and the built-in field are shown in the
bottom of below.
In summary, when we have a region of high doping concentration next to a region of low doping concentration in equilibrium, then we will wind up with a built in electric field (and a built in potential), and the drift current will be equal and opposite to the diffusion current.

The net (total) current equation will be
Where n is the electron concentration, dn/dx is the electron gradient and φ is the potential gradient (dφ/dx is the electric field). Since in equilibrium, net current is zero,
Using Einstein’s relationship and rearranging the terms, we get
When integrated from x1 to x2,
We obtain,
If n1= ND1 and n2=ND2 as in case of the semiconductor bar, we get built in potential φBI as
Corollary, this can be applied for finding potential built up between any two doping concentrations. If one of the dopings is intrinsic value, we get
Space Charge Region or Depletion region.
When mobile majority carriers diffuse out from doped semiconductor, immobile charged dopant atoms remain behind. The region from where mobile carriers have diffused away is devoid of mobile charges and is called the Depletion region. Width of the depletion region will depend on doping concentration.
Other junctions:
(a) PN junction: When semiconductor junction is doped, such that one side is p-type and other side is n-type, it is called a PN junction. Diffusion and Drift happen similar to as in a non-uniformly doped junction. (We will go into more detail in the next module).
(b) Linearly graded junction, as the name implies is a special PN junction, where doping concentration changing linearly with location.
(c) Hyper-abrupt junctions, are PN junctions where doping profile on one side decreases away from the metallurgical junction.