# vacuum level alignment

When two materials are connected like the case in heterojunctions, we always firstly align the so called vacuum level[1], and then decide the relative position of other energy levels like conductance and valence bands.

But in the wikipedia page it says " The vacuum level alignment approach may or may not hold due to details of the interface", so my question today is, how to judge whether the vacuum levels align or not?

[1]http://en.wikipedia.org/wiki/Vacuum_level

-

The circles with the negative sign are electrons in the semiconductor. You can notice that in (a) the vacuum levels are indeed aligned. This physically corresponds to the materials being very far apart. Once you align the vacuum levels you can observe where the Fermi levels $E_F$ in both materials lie. When these materials are brought close to each other, the electrons will tend to flow from a higher $E_F$ to a lower $E_F$. When the materials are sufficiently close to each other this flow of electrons will occur (in this case) from the semiconductor to the metal. This can be seen in (b). At this point it might be evident why it was useful to distinguish the electrons in the semiconductor with the circles. These excess electrons in the metal (that came from the semiconductor) give rise to a negative charge on the metal at the interface. At the same time, the holes (squares with positive sign) corresponding to these lost electrons are unbalanced charges in the semiconductor. Therefore the semiconductor acquires a positive charge at the interface. Since the two materials now carry an excess charge their vacuum levels have to differ. This is why:
The work function $\phi_M$ and electron affinity $\chi$ of the metal and semiconductor respectively will not change just because the two materials are in contact. Also, the bandgap $E_g$ will be the same. Due to the exchange of charges between the two materials, these bands will bend as shown in (b). This can be justified by looking at the bending of the conduction band. Now, if the electrons in the conduction band want to go over to the metal side then they must overcome the repulsion from the excess negative carriers in the metal. In other words, they have overcome a barrier, which is exactly what the bending of the conduction band depicts. The fact that the band gap $E_g$ and electron affinity $\chi$ are constant, you can justify the bending of the valence band and the vacuum level.