When light strikes a semiconductor p-n junction, its energy is absorbed by electrons. Electrons and holes generated by light in the p-n junction are swept by the junction electrical field. Consequently, the current flows through the junction.
The figure below illustrates the process of generating current in a photodiode.
![p-n junction p-n junction](https://i0.wp.com/www.electricalandcontrol.com/wp-content/uploads/2023/10/photo-diode-p-n-junction.png?resize=321%2C265&ssl=1)
The figure above is a p-n junction with a depletion layer without light. When the p-n junction is exposed to light, the impinging photons create electron-hole pairs everywhere in n-type area, p-type area, and depletion layer. In the depletion layer, the electric field accelerates electrons towards the n-layer and the holes toward the p-layer.
![Photodiode Carrier generation in depletion layer associated with carrier sweep in electric field of depletion layer (fast process)](https://i0.wp.com/www.electricalandcontrol.com/wp-content/uploads/2023/10/photodiode-carrier-generation-in-depletion-layer.png?resize=326%2C258&ssl=1)
For the electron-hole pairs generated in the n-layer, the electrons, together with the electrons that have arrived from the p-layer, are left in the n-layer conduction band. The holes at this time are being diffused through the n-layer up to the depletion layer while being accelerated, and collected in the p-layer valence band. By this means, electron-hole pairs that are generated in proportion to the amount of incident light are collected in the n- and p-layers. This results in a positive charge in the p-layer and a negative charge in the n-layer. If an external circuit is connected between the p- and n-layers, electrons will flow away from the n-layer, and holes will flow away from the p-layer toward the opposite respective electrodes. As a result, current is generated.
![Photodiode Carrier generation in bulk material associated with minority carrier diffusion toward junction (slow process)](https://i0.wp.com/www.electricalandcontrol.com/wp-content/uploads/2023/10/photo-diode-carrier-genearation-in-bulk-material.png?resize=363%2C263&ssl=1)
Also read: How the Photoelectric Effect Influences Semiconductors
One thought on “How Photoelectric Effect Impacts p-n Junctions”