<p>The &#34;photovoltaic effect&#34; is the basic physical process through which a PV cell converts sunlight into electricity. Sunlight is composed of photons, or particles of solar energy. These photons contain various amounts of energy corresponding to the different wavelengths of the solar spectrum.</p><p>When photons strike a PV cell, they may be reflected or absorbed, or they may pass right through. Only the absorbed photons generate electricity. When this happens, the energy of the photon is transferred to an electron in an atom of the cell (which is actually a <a href="https://www.thoughtco.com/what-is-a-semiconductor-1991409" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="1">semiconductor</a>).</p><p>With its newfound energy, the electron is able to escape from its normal position associated with that atom to become part of the current in an electrical circuit. By leaving this position, the electron causes a &#34;hole&#34; to form. Special electrical properties of the PV cell-a built-in electric field-provide the voltage needed to drive the current through an external load (such as a light bulb).</p>To induce the electric field within a PV cell, two separate semiconductors are sandwiched together. The &#34;p&#34; and &#34;n&#34; types of semiconductors correspond to &#34;positive&#34; and &#34;negative&#34; because of their abundance of holes or electrons (the extra electrons make an &#34;n&#34; type because an electron actually has a negative charge).<p>Although both materials are electrically neutral, n-type silicon has excess electrons and p-type silicon has excess holes. Sandwiching these together creates a p/n junction at their interface, thereby creating an electric field.</p><p>When the p-type and n-type semiconductors are sandwiched together, the excess electrons in the n-type material flow to the p-type, and the holes thereby vacated during this process flow to the n-type. (The concept of a hole moving is somewhat like looking at a bubble in a liquid. Although it&#39;s the liquid that is actually moving, it&#39;s easier to describe the motion of the bubble as it moves in the opposite direction.) Through this electron and hole flow, the two semiconductors act as a battery, creating an electric field at the surface where they meet (known as the &#34;junction&#34;). It&#39;s this field that causes the electrons to jump from the semiconductor out toward the surface and make them available for the electrical circuit. At this same time, the holes move in the opposite direction, toward the positive surface, where they await incoming electrons.</p><p>In a PV cell, photons are absorbed in the p layer. It&#39;s very important to &#34;tune&#34; this layer to the properties of the incoming photons to absorb as many as possible and thereby free as many electrons as possible. Another challenge is to keep the electrons from meeting up with holes and &#34;recombining&#34; with them before they can escape the cell.</p><p>To do this, we design the material so that the electrons are freed as close to the junction as possible, so that the electric field can help send them through the &#34;conduction&#34; layer (the n layer) and out into the electric circuit. By maximizing all these characteristics, we improve the conversion efficiency<a href="https://www.thoughtco.com/how-a-photovoltic-cell-works-1992336" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="1">*</a> of the PV cell.</p><p>To make an efficient solar cell, we try to maximize absorption, minimize reflection and recombination, and thereby maximize conduction.</p><h3>Continue &gt; <a href="https://www.thoughtco.com/how-a-photovoltic-cell-works-1992336" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="2">Making N and P Material</a></h3><b><a href="https://www.thoughtco.com/how-a-photovoltic-cell-works-1992336" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="1">Introduction - How a Photovoltic Cell Works</a></b><p>The most common way of making p-type or n-type silicon material is to add an element that has an extra electron or is lacking an electron. In silicon, we use a process called &#34;doping.&#34;</p><p>We&#39;ll use silicon as an example because crystalline silicon was the semiconductor material used in the earliest successful PV devices, it&#39;s still the most widely used PV material, and, although other PV materials and designs exploit the PV effect in slightly different ways, knowing how the effect works in crystalline silicon gives us a basic understanding of how it works in all devices</p><p>As depicted in this simplified diagram above, silicon has 14 electrons. The four electrons that orbit the nucleus in the outermost, or &#34;valence,&#34; energy level are given to, accepted from, or shared with other atoms.</p><h3>An Atomic Description of Silicon</h3>All matter is composed of atoms. Atoms, in turn, are composed of positively charged protons, negatively charged electrons, and neutral neutrons. The protons and neutrons, which are of approximately equal size, comprise the close-packed central &#34;nucleus&#34; of the atom, where almost all of the mass of the atom is located. The much lighter electrons orbit the nucleus at very high velocities. Although the atom is built from oppositely charged particles, its overall charge is neutral because it contains an equal number of positive protons and negative electrons.The electrons orbit the nucleus at different distances, depending on their energy level; an electron with less energy orbits close to the nucleus, whereas one of greater energy orbits farther away. The electrons farthest from the nucleus interact with those of neighboring atoms to determine the way solid structures are formed.<p>The silicon atom has 14 electrons, but their natural orbital arrangement allows only the outer four of these to be given to, accepted from, or shared with other atoms. These outer four electrons, called &#34;valence&#34; electrons, play an important role in the photovoltaic effect.</p><p>Large numbers of silicon atoms, through their valence electrons, can bond together to form a crystal. In a crystalline solid, each silicon atom normally shares one of its four valence electrons in a &#34;covalent&#34; bond with each of four neighboring silicon atoms. The solid, then, consists of basic units of five silicon atoms: the original atom plus the four other atoms with which it shares its valence electrons. In the basic unit of a crystalline silicon solid, a silicon atom shares each of its four valence electrons with each of four neighboring atoms.</p><p>The solid silicon crystal, then, is composed of a regular series of units of five silicon atoms. This regular, fixed arrangement of silicon atoms is known as the &#34;crystal lattice.&#34;</p>The process of &#34;doping&#34; introduces an atom of another element into the silicon crystal to alter its electrical properties. The dopant has either three or five valence electrons, as opposed to silicon&#39;s four.<p>Phosphorus atoms, which have five valence electrons, are used for doping n-type silicon (because phosphorous provides its fifth, free, electron).</p><p>A phosphorus atom occupies the same place in the crystal lattice that was occupied formerly by the silicon atom it replaced. Four of its valence electrons take over the bonding responsibilities of the four silicon valence electrons that they replaced. But the fifth valence electron remains free, without bonding responsibilities. When numerous phosphorus atoms are substituted for silicon in a crystal, many free electrons become available.</p><p>Substituting a phosphorus atom (with five valence electrons) for a silicon atom in a silicon crystal leaves an extra, unbonded electron that is relatively free to move around the crystal.</p><p>The most common method of doping is to coat the top of a layer of silicon with phosphorus and then heat the surface. This allows the phosphorus atoms to diffuse into the silicon. The temperature is then lowered so that the rate of diffusion drops to zero. Other methods of introducing phosphorus into silicon include gaseous diffusion, a liquid dopant spray-on process, and a technique in which phosphorus ions are driven precisely into the surface of the silicon.</p>Of course, n-type silicon cannot form the electric field by itself; it&#39;s also necessary to have some silicon altered to have the opposite electrical properties. So, boron, which has three valence electrons, is used for doping p-type silicon. Boron is introduced during silicon processing, where silicon is purified for use in PV devices. When a boron atom assumes a position in the crystal lattice formerly occupied by a silicon atom, there is a bond missing an electron (in other words, an extra hole).<p>Substituting a boron atom (with three valence electrons) for a silicon atom in a silicon crystal leaves a hole (a bond missing an electron) that is relatively free to move around the crystal.</p><p>Like silicon, all PV materials must be made into p-type and n-type configurations to create the necessary electric field that characterizes a PV cell. But this is done a number of different ways, depending on the characteristics of the material. For example, <a href="http://www.eere.energy.gov/basics/renewable_energy/types_silicon.html#amorphous" data-component="link" data-source="inlineLink" data-type="externalLink" data-ordinal="1">amorphous silicon&#39;s</a> unique structure makes an intrinsic layer (or i layer) necessary. This undoped layer of amorphous silicon fits between the n-type and p-type layers to form what is called a &#34;p-i-n&#34; design.</p><p><a href="http://www.eere.energy.gov/basics/renewable_energy/polycrystalline_thin_film.html" data-component="link" data-source="inlineLink" data-type="externalLink" data-ordinal="2">Polycrystalline</a> thin films like copper indium diselenide (CuInSe2) and cadmium telluride (CdTe) show great promise for PV cells. But these materials can&#39;t be simply doped to form n and p layers. Instead, layers of different materials are used to form these layers. For example, a &#34;window&#34; layer of cadmium sulfide or similar material is used to provide the extra electrons necessary to make it n-type. CuInSe2 can itself be made p-type, whereas CdTe benefits from a p-type layer made from a material like zinc telluride (ZnTe).</p><p><a href="http://www.eere.energy.gov/basics/renewable_energy/single_crystalline_thin_film.html" data-component="link" data-source="inlineLink" data-type="externalLink" data-ordinal="3">Gallium arsenide</a> (GaAs) is similarly modified, usually with indium, phosphorous, or aluminum, to produce a wide range of n- and p-type materials.</p>*The conversion efficiency of a PV cell is the proportion of sunlight energy that the cell converts to electrical energy. This is very important when discussing PV devices, because improving this efficiency is vital to making PV energy competitive with more traditional sources of energy (e.g., fossil fuels). Naturally, if one efficient solar panel can provide as much energy as two less-efficient panels, then the cost of that energy (not to mention the space required) will be reduced. For comparison, the earliest PV devices converted about 1%-2% of sunlight energy into electric energy. Today&#39;s PV devices convert 7%-17% of light energy into electric energy. Of course, the other side of the equation is the money it costs to manufacture the PV devices. This has been improved over the years as well. In fact, today&#39;s PV systems produce electricity at a fraction of the cost of early PV systems.