Electrodeposition Fabrication of Chalcogenide Thin Films for Photovoltaic Applications

Electrodeposition, which features low cost, easy scale-up, good control in the composition and great flexible substrate compatibility, is a favorable technique for producing thin films. This paper reviews the use of the electrodeposition technique for the fabrication of several representative chalcogenides that have been widely used in photovoltaic devices. The review focuses on narrating the mechanisms for the formation of films and the key factors that affect the morphology, composition, crystal structure and electric and photovoltaic properties of the films. The review ends with a remark section addressing some of the key issues in the electrodeposition method towards creating high quality chalcogenide films.


Introduction
Metal chalcogenides such as cadmium sulfide (CdS), zinc sulfide (ZnS), cadmium telluride (CdTe), copper indium gallium selenide (CIGS) and copper zinc tin sulfide (CZTS) are fundamentally semiconductors with a band gap typically of 1-3 eV and high light absorption coefficient. These materials have been widely used as the active layer in thin-film photovoltaic devices [1][2][3][4][5][6]. CdTe and CIGS, two of the most successful chalcogenides, have demonstrated very high photovoltaic efficiencies, over 22% at present [7]. CZTS is another emerging chalcogenide material with all earth abundant and nontoxic elements, showing great promise for low-cost, environmentally benign solar cells [8][9][10]. A thin film form of these materials can be produced in various methods, such as vacuum evaporation deposition [11], chemical vapor deposition (CVD) [12], chemical bath deposition (CBD) [13,14], successive ionic layer adsorption and reaction (SILAR) [15,16], solid-state reaction method [17], electrodeposition [18][19][20] and spray pyrolysis [21,22]. Among these methods, electrodeposition has caught a special attention in recent years because it does not require heavy equipment, can produce films (especially large area thin films) efficiently and adjust the composition easily and equally importantly, the electrodeposition may operate at room temperature or relatively low temperatures, making it a method that is compatible with flexible substrates and therefore a highly welcomed technique for producing flexible electronics [23][24][25]. Moreover, the electrodeposition method offers the advantage over other methods in particular in the fabrication of films that contain multiple elements, for example, ternary or quaternary chalcogenides, in view of the effectiveness and versatility of the method in composition control through tailoring the electrolytes [26].
This article starts with a brief introduction of the fundamentals of electrodeposition, covering the topics of (1) the mechanism of electrodeposition; (2) 2-electrode and 3-electrode setups; (3) potentiostatic and galvanostatic modes for electrodeposition and (4) the determination of deposition potential (Section 2). The article then reviews the chalcogenide materials that have been most frequently used in photovoltaic devices, including (1) cadmium chalcogenides: CdS, CdSe and CdTe; (2) zinc chalcogenides: ZnS, ZnSe and ZnTe and (3) copper chalcogenides: copper selenides, copper tellurides, copper indium selenides (CIS), copper indium tellurides (CIT), copper indium gallium selenide (CIGS) and copper zinc tin sulfide (CZTS). The review of these materials has focused on (i) the mechanisms of film formation via electrodeposition to reveal the relationship and differences between the depositions of binary, ternary and quaternary chalcogenides; (ii) the impacts of the deposition parameters such as the recipe and pH value of the electrolyte and the deposition potential and temperature on the composition, morphology, crystalline quality (including the crystallinity and crystal structures) and electric properties of the deposited films and (iii) the representative achievements of using these chalcogenide materials for photovoltaic devices (Section 3). There are a remarks section (Section 4) and a perspective section (Section 5) provided at the end of the article to address key issues and bring forth the potential research directions in the electrodeposition aiming to improve the quality of electrodeposited films towards high efficiency photovoltaic device applications.

Mechanism
Electrodeposition, also known as electroplating, is an electrochemical process that produces thin films while cations in the electrolyte are driven by the force of an electric field and accordingly move to the cathode, which is usually an "inert" material (e.g., gold or platinum) and where the cations are reduced to metals, an alloy, or react each other to form a compound. Shown in Figure 1 is a typical electrodeposition setup including an anode, a cathode, a reference electrode, the electrolyte and a power source that generates a constant DC voltage (potentiostatic) or a constant DC current (galvanostatic) [27]. A heater can be adopted to adjust the temperature of the electrolyte. The mechanism of electrodeposition can be generally expressed by the formula M n+ + ne − → M 0 (at the cathode) (1) where, M n+ represents the cations, n is the valence number of the element of the cations, i.e., the number of electrons transferred per ion and M 0 is the element deposited at the cathode. In electrodeposition, the amount of the deposited material is directly proportional to the amount of electric charge passed through the circuit. According to the Faraday's laws of electrolysis, in the case of a constant current applied to the electrolyte, ideally the thickness of the deposited film can be calculated as where I is the current density (A), M is the molar mass (kg/mol) of the material, t is the deposition time, ρ and A are the density and area of the film, respectively, and F is the Faraday constant (F = 96,485 Coulombs). Electrodeposition typically involves four steps as schematically represented in Figure 2a: (1) Cations in the electrolyte are driven by the electric field and transport toward the cathode; (2) the cations enter the discharge region, which is within about 1-1000 Å from the cathode surface and where the cations receive electrons and turn to atoms; (3) the atoms diffuse to the cathode and then attach onto the cathode surface at energetically favorable sites and (4) the atoms aggregate and/or react to each other to form nuclei of an element, an alloy or a compound; the nuclei grow to grains and eventually result in the formation of a film on the surface of the cathode [27][28][29][30]. As a consequence of such a transport-adsorption-nucleation growth process, the grain size, morphology  Electrodeposition typically involves four steps as schematically represented in Figure 2a: (1) Cations in the electrolyte are driven by the electric field and transport toward the cathode; (2) the cations enter the discharge region, which is within about 1-1000 Å from the cathode surface and where the cations receive electrons and turn to atoms; (3) the atoms diffuse to the cathode and then attach onto the cathode surface at energetically favorable sites and (4) the atoms aggregate and/or react to each other to form nuclei of an element, an alloy or a compound; the nuclei grow to grains and eventually result in the formation of a film on the surface of the cathode [27][28][29][30]. As a consequence of such a transport-adsorption-nucleation growth process, the grain size, morphology (i.e., microstructure), crystal structure and quality (e.g., the density and homogeneity) of films produced with an electrodeposition method are related to multiple factors, which primarily include: The mechanism of electrodeposition can also be better understood with the electrical double layer (EDL) model [32], as shown in Figure 2b. According to the EDL model, when a voltage is added to the deposition bath through the electrodes, i.e., anode and cathode, the cathode will be charged with the negative charges (i.e., electrons). This will result in the formation of a double layer at the interface between the cathode and electrolyte due to the electrostatic attraction of the negative charges in the cathode to the cations in the electrolyte. It has been found that, in a certain region, the electric potential on the electrolyte side decreases linearly as the distance from the cathode surface increases; such a region or zone has been named as the Helmholtz layer. As the distance increases further, the potential decreases exponentially-this zone is called the Gouy layer or diffusion layer. The electrodeposition primarily occurs in the Helmholtz layer, where the cations are attracted strongly to adsorb onto the cathode and reduced to neutral atoms or further react to each other to form an alloy or compound at the molecular level, eventually resulting in the formation of a thin film. The thickness of the Helmholtz layer can be thought of as the total length of the incorporation region, dissociation region and discharge region in the model shown in Figure 2a.

Two-Electrode and Three-Electrode Configurations
Electrodeposition can be performed with a two-electrode configuration or a three-electrode configuration as shown in Figure 3 [33]. A two-electrode configuration system consists of an anode and a cathode, which are connected to the positive electrode and negative electrode of the power supply, respectively (Figure 2a), causing an electric field pointing from the anode to the cathode through the electrolyte. A two-electrode configuration is simple. However, it suffers from a floating potential problem, i.e., the potentials of the electrodes may change during the deposition since none of the electrode potentials are fixed. Therefore, a two-electrode configuration system is only applicable for the deposition that operates under a constant current. A three-electrode configuration system that consists of a working electrode (WE), a counter electrode (CE) and a referent electrode (RE; Figure 3b) may greatly solve the floating potential problem in the two-electrode system and has been widely adopted in electrochemical analyses or the electrodeposition fabrication. A three-electrode configuration is advantageous in the use of a reference electrode to provide a stable potential, and the potential at the working electrode can therefore be controlled accurately and maintain at a constant value. This greatly benefits the electrochemical reactions that need to know the exact potential or occur at a certain potential. The common reference electrodes are a standard hydrogen electrode (SHE) (H 2 /H + ) (E = 0 V), calomel (Hg/Hg 2 Cl 2 ) electrode (E = 0.241 V vs. SHE in the saturated electrolyte solution at 25 • C), silver/silver chloride (Ag/Ag/Cl) electrode (E = 0.197 V vs. SHE), silver/silver sulfate (Ag/Ag 2 SO 4 ) electrode (E = 0.68 V vs. SHE) and copper/copper(II) sulfate (Cu/CuSO 4 ) electrode (E = 0.314 V vs. SHE). A three-electrode system can be converted to a two-electrode system by, as shown in Figure 3a, using the working electrode as the cathode and connecting the counter electrode (CE) together with the reference electrode (RE) as the anode.
Electrochem 2020, 2, FOR PEER REVIEW 5 two-electrode system by, as shown in Figure 3a, using the working electrode as the cathode and connecting the counter electrode (CE) together with the reference electrode (RE) as the anode.

Potentiostatic and Galvanostatic Modes
Electrodeposition can be performed in a potentiostatic mode or a galvanostatic mode. In two-electrode systems, the potentiostatic mode means a constant voltage is applied to the two electrodes. As a result, the potential difference between the two electrodes keeps constant, Figure 3. Two-electrode configuration (a) and three-electrode configuration (b) in the electrochemical system [33].

Potentiostatic and Galvanostatic Modes
Electrodeposition can be performed in a potentiostatic mode or a galvanostatic mode. In two-electrode systems, the potentiostatic mode means a constant voltage is applied to the two electrodes. As a result, the potential difference between the two electrodes keeps constant, disregarding changes in the load or the resistance of the electrolyte. Rather than controlling the voltage, the galvanostatic mode controls the current flowing through the two electrodes and keeps the current constant. In three-electrode systems (Figure 3b), the potentiostatic mode means that the potential of the working electrode (WE) against the counter electrode (CE) is accurately controlled so that the potential difference between the working electrode (WE) and the reference electrode (RE) is well defined. The galvanostatic mode means the current flowing between the WE and the CE is under control, and the potential difference between the WE and RE is monitored. Galvanostatic deposition can be useful in applications where no control over morphology is necessary. The potentiostatic deposition technique, however, was mainly used to investigate the mechanisms of deposition and morphology formation [34]. The deposition of chalcogenide films for the photovoltaic device applications has been predominantly adopting the potentiostatic mode in view of the need of a morphology control for the films and also for the reason that the potentiostatic mode is more suitable for depositing multiple elements simultaneously, i.e., the so-called co-deposition that will be introduced in the following sections.

The Deposition Potential
In the simplest case when a single metal film is to be deposited, the deposition potential, i.e., the electrode potential or the operating potential, can be estimated through the reduction potential of the metal ions. The latter, which is also called the equilibrium potential between the metal and the solution of its ions, can be given by the Nernst equation as follows [35]: where, E is the reduction potential, E 0 the standard reduction potential for the reaction M n+ + ne − → M 0 versus the standard hydrogen electrode (SHE), R the gas constant (8.3143 J/k/mol), T the absolute temperature (K), n the valence change or the valence number of the metal element, F the Faraday constant and a the activity of the metal ion, which can approximately use the concentration of the metal ion in the electrolyte. To make the deposition happen, the electrode potential (i.e., the potential of the cathode versus the reference electrode) is required to be more negative than the reduction potential (i.e., the equilibrium potential). The difference between the electrode potential and the reduction potential is called the overpotential. In the case of depositing multiple elements at one time (i.e., the case of co-deposition), the electrode potential must be chosen to make sure that it is more negative than the most negative one among the potentials needed for the deposition of all elements. Though the deposition potential can be estimated through the reduction potential, in practice, the deposition involves a complicated process and the needed potential is related to more factors than those in Equation (3). These may arise from the electrolyte, for example, the viscosity and the pH value of the electrolyte. It may also be caused by the conditions of electrodes such as the conductivity and the interface status between the electrode and electrolyte. In addition, the configuration of the deposition bath including the arrangement of the electrodes and the distance(s) between them may also have an impact on the practically needed deposition potential. Therefore, cyclic voltammetry (CV), a powerful experimental technique that can investigate the reduction and oxidation processes in an electrochemical system, has been commonly used to determine the reduction potential(s) of ions in an electrolyte [36].

Cadmium Chalcogenides
Cadmium chalcogenide compounds such as cadmium sulfide (CdS), cadmium selenide (CdSe) and cadmium telluride (CdTe) have been extensively used in solar cells. Electrodeposition is one of important and popular techniques for the fabrication of the films thereof.

CdS
Cadmium sulfide (CdS), which features a relatively narrow direct band gap (2.4 eV) and the large absorption coefficient (4 × 10 4 cm −1 ), is one of the most commonly used n-type semiconductors in photovoltaic devices [37]. CdS can be produced via electrodeposition in an acidic aqueous solution containing Cd 2+ and sodium thiosulfate (Na 2 S 2 O 3 ). The reactions can be described as follows [38]: Lade et al. studied the electrodeposition fabrication of CdS with a solution containing 0.5 M Na 2 S 2 O0 3 as the sulphur source, 0.05 M CdSO 4 as the cadmium source and 0.1 M ethylenediaminetetraacetic acid (EDTA) as a complexing agent [39]. It was found that the deposition potential was affected by both the temperature of deposition and the pH value of the electrolyte. With increasing the temperature of deposition, the potential became more positive, and with increasing the pH value of the electrolyte, the potential became more negative. Therefore, in order to achieve stoichiometric CdS, the deposition temperature and the pH value of the electrolyte should be well balanced. It was also found that the films deposited at the temperatures below 70 • C presented a mixed phase of cubic CdS and hexagonal CdS, while those deposited above 70 • C showed a pure hexagonal phase. The crystallinity of the as-deposited films could be greatly improved by annealing the films at 200 • C. Echendu et al. found that the mixed phase always formed in the as-deposited films, even though the films were deposited at 80 • C [40]. However, it was observed that, after a heat treatment at 400 • C, all films deposited at different potentials turned to a pure hexagonal phase. The difference between Lade and Echendu's work is that the latter has no a complexing agent used in the electrolyte. Na 2 S 2 O 3 is the most widely used S source for CdS electrodeposition. However, the drawback with this reagent is that sodium may dope CdS and cause a decrease in the electrical conductivity of the CdS film. This problem can be solved by employing ammonium thiosulphate ((NH 4 ) 2 S 2 O 3 ) as the S source. Alam et al. deposited an n-type CdS film with an electrolyte containing cadmium acetate and ammonium thiosulphate [41]. They found that the deposition resulted in uniform crystalline CdS films with the grain size in the range of 200-300 nm ( Figure 4) in the case of the pH value of the solution being about 3 and the temperature being 85 • C.
Altiokka et al. deposited CdS films when the pH value of the electrolyte varies [38]. They confirmed that the pH value of the electrolyte has an important impact on the morphology of the deposited film. They found that the electrolyte with a pH value below 3 caused S 2 O 3 2− to decompose, resulting in the formation of a high concentration of S 2− ions in the electrolyte. The S 2− compounded with Cd 2+ , leading to the formation of CdS clusters (Figure 5a-c). The following reactions describe the decomposition of S 2 O 3 2− and the generation of S 2− ions: When the pH was about 4-5, the concentration of S 2− in the electrolyte was low. As a result, no clusters formed and the film presented a smooth surface (Figure 5d,e).
Electrochem 2020, 2, FOR PEER REVIEW 7 CdS films with the grain size in the range of 200-300 nm ( Figure 4) in the case of the pH value of the solution being about 3 and the temperature being 85 °C. Altiokka et al. deposited CdS films when the pH value of the electrolyte varies [38]. They confirmed that the pH value of the electrolyte has an important impact on the morphology of the deposited film. They found that the electrolyte with a pH value below 3 caused S2O3 2− to decompose, resulting in the formation of a high concentration of S 2− ions in the electrolyte. The S 2− compounded with Cd 2+ , leading to the formation of CdS clusters (Figure 5a-c). The following reactions describe the decomposition of S2O3 2− and the generation of S 2− ions: When the pH was about 4-5, the concentration of S 2− in the electrolyte was low. As a result, no clusters formed and the film presented a smooth surface (Figure 5d,e).  Altiokka et al. deposited CdS films when the pH value of the electrolyte varies [38]. They confirmed that the pH value of the electrolyte has an important impact on the morphology of the deposited film. They found that the electrolyte with a pH value below 3 caused S2O3 2− to decompose, resulting in the formation of a high concentration of S 2− ions in the electrolyte. The S 2− compounded with Cd 2+ , leading to the formation of CdS clusters (Figure 5a-c). The following reactions describe the decomposition of S2O3 2− and the generation of S 2− ions: When the pH was about 4-5, the concentration of S 2− in the electrolyte was low. As a result, no clusters formed and the film presented a smooth surface (Figure 5d,e). There have been some efforts made to improve the quality of electrodeposited CdS film by reducing the defects or increasing the crystallinity. The basic idea is to elevate the temperature during the electrodeposition through using ionic liquids or non-aqueous solvents, such as dimethyl sulfoxide (DMSO), dimethyl formamide (DMF), diethylene glycol (DEG) and ethylene glycol (EG) [42][43][44]. Macfarlane et al. used a methyltributylphosphonium (P1,4,4,4) tosylate ionic liquid for the electrodeposition fabrication of CdS. The deposition was performed at 130-150 • C, resulting in the formation of crack-free films of CdS well adhering on the FTO coated glass substrate. The films are polycrystalline and the atomic ratio of cadmium to sulfur was found to be nearly stoichiometric [45]. However, CdS clusters were observed in the films, due likely to the decomposition of S 2 [44].
The deposition was conducted at 90-140 • C. The films were polycrystalline and all presented a pure hexagonal phase. It has been also observed that the deposition potential became more positive with increasing the temperature, and 90 • C seemed to be an optimized temperature that can result in uniform and crack-free films.

CdSe
Hodes et al. first reported the electrodeposition fabrication of polycrystalline CdSe on a titanium substrate and the use of the CdSe film for a photoelectrochemical cell in 1976 [46]. The deposition was performed in an acidic aqueous solution of CdSO 4 and SeO 2 . Shown in Figure 6 is the photoelectrochemical response (i.e., the current-potential curve) of the cell that used the deposited CdSe film as the photo cathode and an active carbon as the counter electrode. The electrolyte was 1 M S 2− /S, and the measurement was carried out under AM1 sunlight. The cell achieved 450-560 mV open-circuit voltages and 7-10 mA·cm −2 short-circuit currents.
electrodeposition fabrication of CdS. The deposition was performed at 130-150 °C, resulting in the formation of crack-free films of CdS well adhering on the FTO coated glass substrate. The films are polycrystalline and the atomic ratio of cadmium to sulfur was found to be nearly stoichiometric [45]. However, CdS clusters were observed in the films, due likely to the decomposition of S2O3 2− that gives rise to a high concentration of S 2− in the electrolyte. Lade et al. deposited CdS thin films with an electrolyte containing 0.5 M Na2S2O3, 0.05 M CdSO4 and 0.01 M EDTA dissolved in ethylene glycol [44]. The deposition was conducted at 90-140 °C. The films were polycrystalline and all presented a pure hexagonal phase. It has been also observed that the deposition potential became more positive with increasing the temperature, and 90 °C seemed to be an optimized temperature that can result in uniform and crack-free films.

CdSe
Hodes et al. first reported the electrodeposition fabrication of polycrystalline CdSe on a titanium substrate and the use of the CdSe film for a photoelectrochemical cell in 1976 [46]. The deposition was performed in an acidic aqueous solution of CdSO4 and SeO2. Shown in Figure 6 is the photoelectrochemical response (i.e., the current-potential curve) of the cell that used the deposited CdSe film as the photo cathode and an active carbon as the counter electrode. The electrolyte was 1 M S 2− /S, and the measurement was carried out under AM1 sunlight. The cell achieved 450-560 mV open-circuit voltages and 7-10 mA·cm −2 short-circuit currents. The process of the electrodeposition of CdSe in an acidic solution containing SeO 2 and a cadmium salt can be described with the following equations [47][48][49]: Cd 2+ + H 2 Se → CdSe + 2H + (at the cathode) where, the deposition potentials for Cd 2+ + 2e − → Cd and Se 2− − 2e − → Se are −0.403 V and +0.74 V, respectively. To this method, Kazacos et al. found that elemental Se was mixed in the product and proposed that the elemental Se was formed through the following reaction [47]: It has been reported that the use of complexing agents, for example, ethylenediaminetetraacetic acid (EDTA) or nitrilotriacetate (NTA), in the electrolyte is effective in removing elemental Se [47,50]. Annealing at low temperatures to make Se evaporated is another way to get rid of excess Se from the film [51].
CdSe can also been deposited in an alkaline solution [52]. The deposition takes place in an electrolyte containing cadmium-ethylenediaminetetraacetic acid, EDTA complex and selenosulfate through the following reaction [27]: Kariper et al. reported the electrodeposition of CdSe in an electrolyte containing KOH with the pH greater than 10 [53]. The formation of CdSe was based on Cd 2+ obtained from a cadmium salt and Se 2− achieved by reducing elemental Se with LiAlH 4 . It has been found that CdSe films deposited in an alkaline solution are usually amorphous in nature (actually, this was also fairly often found in the films deposited in an acidic solution [54]). A post annealing treatment (e.g., at 300 • C) under a nitrogen atmosphere may significantly improve the crystallinity of the films [55]. In addition to promoting the crystallinity, post heat treatment may also cause a dramatic decrease in the band gap of the material. Chowdhury et al. observed that annealing electrochemically deposited CdSe film at 350 • C for 30 min may grow the grains to 300-750 nm and decrease the band gap from 2.1 eV for the as-deposited film to 1.8 eV for the annealed film [56].
In most cases, CdSe produced with an electrodeposition method is an n-type semiconductor [47,52,[56][57][58]. The achievement of p-type CdSe is still challenging so far due to the self-compensation effect in the material. Ohtsuka et al. reported that p-type CdSe could be achieved by molecular beam epitaxy using a nitrogen plasma source [59,60]. However, there is generally a lack of facile methods for producing p-type CdSe.

CdTe
CdTe, a direct-band-gap material with a band gap of 1.54 eV, is another important cadmium chalcogenide than has been widely used for photovoltaic devices. In most of the reports, the electrodeposition fabrication of CdTe was conducted at a constant potential using an aqueous electrolyte with an acidic medium [61][62][63]. The following are the reactions occurring at the cathode where the CdTe is deposited [62,64,65]: Cd + Te → CdTe (∆G 0 = −106.7 kJ/mol) (16) where, E 0 is the standard deposition potential, and ∆G 0 is the Gibbs free energy of formation. According to the deposition potentials for Cd and Te, it can be seen that more negative potentials may result in an increase in the Cd concentration and more positive potentials may lead to the formation of a Te-rich CdTe film [62]. It has been reported that Cd-rich CdTe results in n-type conduction and Te-rich CdTe results in p-type conduction [66][67][68]. Therefore, for the electrodeposition fabrication of CdTe, the conduction type of the film can be tuned by adjusting the deposition potential around the potential of perfect stoichiometry (PPS). Takahashi et al. studied the electrodeposition fabrication of n-CdTe and p-CdTe, and achieved n-CdTe when the potentials are between −0.60 and −0.45 V (versus Ag/AgCl) and achieved p-CdTe when the potentials are more positive, between −0.35 and −0.3 V [69]. Besides the deposition potential, the performance of the film is also related to other factors, such as the concentration and pH value of the electrolyte, stirring speed, the temperature of operation, and the temperature for post heat treatment. It seems that a low concentration of telluric ions (Te 4+ ) and the pH around 2 for the electrolyte are suitable conditions for the formation of CdTe, which was reported a preferred orientation along the (111) plane [70]. The annealing temperature also plays a vital role in affecting the quality and properties of the deposited film [71,72]. It was found that the crystallinity of CdTe films deposited at optimized conditions can be greatly improved after being annealed at the temperatures ranging from 200 to 450 • C [73,74].
Basol et al. fabricated a solar cell constructed with CdS and CdTe -both films were produced via electrodeposition. Figure 7 shows the configuration of the solar cell [75]. The fabrication involved the deposition of a thin layer of CdS film onto a fluorine doped tin oxide (FTO) glass substrate first, followed by the deposition of a CdTe layer. The films were then annealed at 400 • C to enable the formation of a heterojunction between the CdS and CdTe. At last, a gold film was deposited on the CdTe as the back contact. The solar cell achieved a solar-to-power conversion efficiency as high as 9.35% [76]. Such an efficiency is very impressive. It makes the electrodeposition a competitive technique for the CdTe solar cell fabrication when considering the significantly lower cost of electrodeposition than the vacuum methods, though the latter demonstrated higher efficiencies, around 13% [77].
According to the deposition potentials for Cd and Te, it can be seen that more negative potentials may result in an increase in the Cd concentration and more positive potentials may lead to the formation of a Te-rich CdTe film [62]. It has been reported that Cd-rich CdTe results in n-type conduction and Te-rich CdTe results in p-type conduction [66][67][68]. Therefore, for the electrodeposition fabrication of CdTe, the conduction type of the film can be tuned by adjusting the deposition potential around the potential of perfect stoichiometry (PPS). Takahashi et al. studied the electrodeposition fabrication of n-CdTe and p-CdTe, and achieved n-CdTe when the potentials are between −0.60 and −0.45 V (versus Ag/AgCl) and achieved p-CdTe when the potentials are more positive, between −0.35 and −0.3 V [69].
Besides the deposition potential, the performance of the film is also related to other factors, such as the concentration and pH value of the electrolyte, stirring speed, the temperature of operation, and the temperature for post heat treatment. It seems that a low concentration of telluric ions (Te 4+ ) and the pH around 2 for the electrolyte are suitable conditions for the formation of CdTe, which was reported a preferred orientation along the (111) plane [70]. The annealing temperature also plays a vital role in affecting the quality and properties of the deposited film [71,72]. It was found that the crystallinity of CdTe films deposited at optimized conditions can be greatly improved after being annealed at the temperatures ranging from 200 to 450 °C [73,74].
Basol et al. fabricated a solar cell constructed with CdS and CdTe -both films were produced via electrodeposition. Figure 7 shows the configuration of the solar cell [75]. The fabrication involved the deposition of a thin layer of CdS film onto a fluorine doped tin oxide (FTO) glass substrate first, followed by the deposition of a CdTe layer. The films were then annealed at 400 °C to enable the formation of a heterojunction between the CdS and CdTe. At last, a gold film was deposited on the CdTe as the back contact. The solar cell achieved a solar-to-power conversion efficiency as high as 9.35% [76]. Such an efficiency is very impressive. It makes the electrodeposition a competitive technique for the CdTe solar cell fabrication when considering the significantly lower cost of electrodeposition than the vacuum methods, though the latter demonstrated higher efficiencies, around 13% [77]. CdTe can also be deposited in alkaline solutions [78,79]. Zhang et al. deposited highly crystallized and well (111)-oriented CdTe with an alkaline solution containing nitrilotriacetic acid (NTA) and tetramethylammonium hydroxide (TMAH) [79]. It was explained that NTA (at the NTA to Cd ratio of 14:1) acted as a complexing agent that improved the crystallinity of the deposited CdTe, and TMAH was adopted to prevent alkaline metal ions from entering the CdTe film. The mechanism of the CdTe deposition was given as follows:

Zinc Chalcogenides
Zinc chalcogenides such as ZnS, ZnSe and ZnTe with a relatively wide energy band gap have been widely used as the active layer (which meanwhile acts as a buffer layer) or window layer materials in photovoltaic devices.

ZnS
ZnS is an inexpensive semiconductor with an energy band gap of 3.72 eV in the cubic phase and 3.77 eV in the hexagonal wurtzite phase. In thin film photovoltaic devices, ZnS has been majorly employed as an n-type material to form a p-n junction by pairing with a p-type material, for example, Cu(In,Ga)Se 2 (CIGSe) [80] or Cu 2 ZnSnS 4 (CZTS) [81,82]. ZnS can be electrochemically deposited with either an alkaline electrolyte or an acidic electrolyte. Mkawi et al. reported the use of an aqueous electrolyte containing zinc sulfate (ZnSO 4 ), thiourea (CS(NH 2 ) 2 ) and ammonia (NH 3 ) for the deposition of ZnS on ITO-coated glass substrate [82]. The pH value of the electrolyte was 10 and the deposition was carried out at 80 • C. It was explained that NH 3 functioning as a complexing agent formed a complex with Zn and thus played a role in controlling the concentration of Zn 2+ through the common ion effect. The involved reactions are shown in Equations (20) and (21): The thiourea decomposed to S 2− in the presence of OH − via the reactions below, finally resulting in the formation of ZnS: In order to achieve stoichiometric ZnS, a sulfurization treatment of the as-deposited film under nitrogen at 500 • C was performed. The ZnS presented a cubic phase, an energy band gap of 3.72 eV, and the grain size of 44 nm. This is in agreement with the 3.70 eV energy band gap for the ZnS fabricated by Lokhande et al. with a NaOH and EDTA mediated alkaline electrolyte [83].
ZnS can also be deposited with an acidic solution. Zhu et al. succeeded in the fabrication of ZnS with an electrolyte of zinc chloride (ZnCl 2 ), sodium thiosulphate (Na 2 S 2 O 3 ·5H 2 O) and sodium citrate (Na 3 C 6 H 5 O 7 ·2H 2 O) dissolved in deionized water, to which hydrochloric acid was added to adjust the pH value of the electrolyte [84]. It was found that uniform films of crystalline ZnS could be achieved when the pH value was in the range from 2.5 to 4.0. In the case of the pH value being below 2.5, S 2 O 3 2− rapidly reduced to S 2− , resulting in a rapid growth of ZnS with much lattice defects. Sodium citrate acted as a complexing agent to suppress the concentration of free Zn 2+ ions in the electrolyte.
The reactions leading to the formation of ZnS were proposed as follows: Matsuda et al. studied the electrodeposition of ZnS [85]. They found that a combined use of boric acid to control the pH of the electrolyte and a mixture of citrate acid and malonic acid as the complexing agent could best avoid the formation of ZnO and result in ZnS with high purity. They also reported that adding CuSO 4 in the electrolyte could achieve Cu-doped ZnS with the energy band gap as narrow as 1.8-1.9 eV. Madugu et al. deposited ZnS with an aqueous electrolyte that consisted of ZnSO 4 , (NH 4 ) 2 S 2 O 3 and H 2 SO 4 (added to adjust the pH value) using a two-electrode system. It was found that the conduction type (i.e., p-type and n-type) of ZnS could be tuned by simply varying the deposition potential [86]. As shown in Figure 8, in the potential window ranging from 1400 to 1500 mV, the as-deposited ZnS presented to be p-type when the cathodic potentials were lower than 1450 mV and to be n-type at the potentials above 1450 mV. The p-type conduction and n-type conduction were attributed to S richness and Zn richness in the composition, respectively. After a heat treatment at 350 • C for 15 min in air, all films that were previously n-type turned to p-type.
Matsuda et al. studied the electrodeposition of ZnS [85]. They found that a combined use of boric acid to control the pH of the electrolyte and a mixture of citrate acid and malonic acid as the complexing agent could best avoid the formation of ZnO and result in ZnS with high purity. They also reported that adding CuSO4 in the electrolyte could achieve Cu-doped ZnS with the energy band gap as narrow as 1.8-1.9 eV. Madugu et al. deposited ZnS with an aqueous electrolyte that consisted of ZnSO4, (NH4)2S2O3 and H2SO4 (added to adjust the pH value) using a two-electrode system. It was found that the conduction type (i.e., p-type and n-type) of ZnS could be tuned by simply varying the deposition potential [86]. As shown in Figure 8, in the potential window ranging from 1400 to 1500 mV, the as-deposited ZnS presented to be p-type when the cathodic potentials were lower than 1450 mV and to be n-type at the potentials above 1450 mV. The p-type conduction and n-type conduction were attributed to S richness and Zn richness in the composition, respectively. After a heat treatment at 350 °C for 15 min in air, all films that were previously n-type turned to p-type. Regardless of the use of an alkaline or acidic electrolyte, in most of cases the as-deposited ZnS is either an amorphous structure or possesses a cubic phase [82,84,86]. Annealing at a temperature above 200 °C may promote the crystallization and enable the formation of a hexagonal phase of ZnS [87].

ZnSe
ZnSe, which exhibits an energy band gap of 2.8 eV, is another important material for photovoltaic devices. ZnSe has been particularly used for Cu(In,Ga)Se2 (CIGS) solar cells in view of the small lattice mismatch between ZnSe (a = 0.5667 nm) and CIGS (a = 0.56 − 0.58 nm) [88][89][90]. The electrodeposition of ZnSe is usually performed with an acidic electrolyte when the pH value is at 2-2.5. Selenous acid (H2SeO3) has been the mostly used chemical for the Se source. H2SeO3 can be prepared by dissolving SeO2 in water [91,92]. Since H2SeO3 may oxidize readily, the deposition is Regardless of the use of an alkaline or acidic electrolyte, in most of cases the as-deposited ZnS is either an amorphous structure or possesses a cubic phase [82,84,86]. Annealing at a temperature above 200 • C may promote the crystallization and enable the formation of a hexagonal phase of ZnS [87].

ZnSe
ZnSe, which exhibits an energy band gap of 2.8 eV, is another important material for photovoltaic devices. ZnSe has been particularly used for Cu(In,Ga)Se 2 (CIGS) solar cells in view of the small lattice mismatch between ZnSe (a = 0.5667 nm) and CIGS (a = 0.56 − 0.58 nm) [88][89][90]. The electrodeposition of ZnSe is usually performed with an acidic electrolyte when the pH value is at 2-2.5. Selenous acid (H 2 SeO 3 ) has been the mostly used chemical for the Se source. H 2 SeO 3 can be prepared by dissolving SeO 2 in water [91,92]. Since H 2 SeO 3 may oxidize readily, the deposition is usually carried out under an inert atmosphere. Natarajan et al. [93] and Kowalik et al. [94] produced ZnSe with an electrolyte of H 2 SeO 3 and ZnSO 4 , which used sulfuric acid (H 2 SO 4 ) to adjust the pH value. The formation of ZnSe was based on the reactions as follows: The concentration of the selenous acid might influence both the deposition rate and the crystal structure of the ZnSe. The higher concentration accelerated the deposition and benefited the formation of crystalline ZnSe (in a cubic phase). The crystal structure of the deposited ZnSe was also affected by the deposition temperature. It was found that the films deposited at 25 • C were almost amorphous, and higher temperatures (e.g., 75 • C) resulted in better crystallinity. A post heat treatment could further improve the crystallinity of the films and increase the orientation of the crystallites [95].
Note that the electrodeposited ZnSe may present an n-type conduction characteristic or a p-type conductivity, depending on the recipe of the electrolyte and the deposition parameters, which likely cause different dominant defects in ZnSe but the exact relationships are still unclear [96]. Manzoli et al. reported that ZnSe deposited in an electrolyte containing SeO 2 , ZnSO 4 and sulfuric acid was n-type, and it was p-type when ZnSe was doped with N by including (NH 4 ) 2 SO 4 in the electrolyte [97]. However, Gromboni et al. used a similar electrolyte but found the undoped ZnSe was p-type [98]. Samantilleke et al. also found that the deposited ZnSe was p-type, and found n-type ZnSe could be achieved by doping ZnSe with Ga through including Ga 2 (SO 4 ) 3 in the electrolyte [99].

ZnTe
ZnTe is a semiconductor with a low electron affinity (3.53 eV) and high electro-optic coefficient. ZnTe usually presents a p-type conduction characteristic with the mobility as high as 100 cm 2 V −1 s −1 , and has been extensively studied for the applications in photovoltaic devices, in particular in CdTe/CdS heterojunction solar cells, where ZnTe is used as the back contact material for CdTe [100,101]. It is worth pointing out that, as for the fabrication of CdTe/CdS heterojunction solar cells, electrodeposition has been considered as a preferred method in view of its capability in the creation of continuous and very thin (<100 nm) ZnTe films-it is however difficult to be achieved with vacuum deposition [102].
The electrodeposition of ZnTe can be achieved with an aqueous electrolyte consisting of ZnSO 4 , TeO 2 and H 2 SO 4 , where H 2 SO 4 is employed to adjust the pH value of the electrolyte [103]. It was proposed that TeO 2 first dissolved in water, resulting in the formation of HTeO 2 + ; ZnTe was then deposited at the cathode (i.e., the working electrode) through the following reactions: The reaction is a proposed as follows [104]: The deposition was carried out at 80 • C when the pH value of the electrolyte was 3.60-3.78 and the deposition potential was −0.85 V vs. Ag/AgCl. The film was then annealed at 350 • C in vacuum for 20 min, resulting in the formation of a p-type ZnTe film possessing a nearly stoichiometric composition (Zn:Te = 1:0.99), a cubic phase and good crystallinity. Bouroushian et al. found that, by adding citric acid and sodium citrate to the electrolyte as the complexing agents, extremely smooth and uniform ZnTe films could be produced [105].
Besides in acidic aqueous electrolytes, the deposition of ZnTe can also be performed in organic solvent or ionic liquid based electrolytes. Hossain et al. reported the fabrication of ZnTe films with an electrolyte consisting of ZnCl 2 , TeCl 4 and KI dissolved in ethylene glycol (EG) [106]. It was found that, as indicated by the X-ray diffraction (XRD) spectra shown in Figure 9, well-crystallized ZnTe with a pure cubic phase could be achieved by annealing the as-deposited films at 425 • C. The XRD else revealed that the annealing also functioned to remove elemental Te that existed in the as-deposited film. Catrangiu et al. deposited ZnTe with an ionic liquid electrolyte that used ethaline (prepared by reacting choline chloride with ethylene) as the solvent [107]. The deposition was conducted at 60 • C. The resulting ZnTe films presented a crystalline structure with mixed cubic and hexagonal phases.
Electrochem 2020, 2, FOR PEER REVIEW 14 adding citric acid and sodium citrate to the electrolyte as the complexing agents, extremely smooth and uniform ZnTe films could be produced [105]. Besides in acidic aqueous electrolytes, the deposition of ZnTe can also be performed in organic solvent or ionic liquid based electrolytes. Hossain et al. reported the fabrication of ZnTe films with an electrolyte consisting of ZnCl2, TeCl4 and KI dissolved in ethylene glycol (EG) [106]. It was found that, as indicated by the X-ray diffraction (XRD) spectra shown in Figure 9, well-crystallized ZnTe with a pure cubic phase could be achieved by annealing the as-deposited films at 425 °C. The XRD else revealed that the annealing also functioned to remove elemental Te that existed in the as-deposited film. Catrangiu et al. deposited ZnTe with an ionic liquid electrolyte that used ethaline (prepared by reacting choline chloride with ethylene) as the solvent [107]. The deposition was conducted at 60 °C. The resulting ZnTe films presented a crystalline structure with mixed cubic and hexagonal phases. ZnTe has been used in CdTe/CdS solar cells primarily as the back contact material for CdTe. Its role is to reduce the interface states between the metal electrode and CdTe, and thus lower the charge recombination loss when electrons inject from the metal electrode to the CdTe. Jun et al. deposited p-type ZnTe through adding a complexing agent containing Cu 2+ in the electrolyte to achieve copper doping. They reported that the use of the copper-doped ZnTe caused the efficiency of a CdTe/CdS solar cell to increase from 3.4% to 7.1% [100].

Copper Chalcogenides
Copper chalcogenides are a family of copper-based semiconductors. Almost all of the copper chalcogenides are p-type, possess a direct, narrow band gap (<2 eV) and have a large light absorption coefficient (10 4 -10 5 cm −1 ) and low thermal conductivity. Copper chalcogenides such as copper selenide (Cu x Se), copper telluride (Cu x Te), copper indium selenide (CIS), copper indium telluride (CIT) and copper zinc tin sulfide (CZTS) have been the highly frequently used semiconductor compounds for photovoltaic devices. Copper chalcogenides are also important materials to light emitting diodes (LEDs) and thermoelectric (TE) devices [108].

Copper Selenides
Lippkow et al. studied the electrodeposition of copper selenide with an acidic aqueous electrolyte containing CuSO 4 , H 2 SeO 3 and H 2 SO 4 at pH = 1.4 [109]. It was found that the resulting product was polycrystalline and was a mixture of Cu 2 Se and Cu 3 Se 2 , which formed through the following reactions: It was pointed out that an optimal ratio for [Cu 2+ ]/[SeO 3 2− ] is 2, which might minimize the formation of elemental Cu and Se. The adoption of a high deposition temperature, e.g., 80 • C, was prone to the formation of Cu 2 Se. A heat treatment of the as-deposited films at a temperature greater than 150 • C might convert all Cu 3 Se 2 to Cu 2 Se. Dergacheva et al. found a similar optimal ration for Cu(II) to Se(IV) while Na 2 SeO 3 was used for the electrolyte, and also observed that annealing the deposited films (at 300 • C) might promote the conversion of Cu 3 Se 2 to Cu 2 Se [110]. Grozdanov reported the use of an alkaline electrolyte to deposit Cu 2 Se [111]. The electrolyte contained CuSO 4 , sodium selenosulfate (Na 2 SeSO 3 ) and ammonia, and the pH was about 10-10.5. The deposition was conducted at 40-45 • C. The overall reaction that resulted in the formation of Cu 2 Se was proposed as follows:

Copper Tellurides
The reactions for the deposition of copper tellurides are very similar to those for the deposition of copper selenides, except the use of H 2 TeO 3 or TeO 2 dissolved in water as the Te source. In the case of the electrolyte being an acidic solution, the deposition is based on the reaction between Cu 2+ and TeO 3 2− , resulting in the formation of stoichiometric CuTe or non-stoichiometric Cu x Te (1< x < 2) [112,113].
The composition of the deposited copper tellurides is very sensitive to the recipe of the electrolyte, including the reagents used as the Cu and Se sources and the pH value of the electrolyte. It is also related to the deposition temperature and the applied deposition potential. The use of a complexing agent may also influence the composition of the deposited copper telluride significantly. Ghosh et al. found that the deposited copper telluride was Cu 7 Te 4 when Na 2 EDTA was added in the electrolyte (pH = 2.0) as the complexing agent to control the reaction kinetics [114].
In the case of the electrolyte being a neutral aqueous solution, the Cu 2+ may be reduced to Cu + , enabling the formation of Cu 2 Te. He et al. suggested the following reactions for the deposition of Cu 2 Te [112]: Te + 2H + + 2e − → H 2 Te (43) Similar to ZnTe introduced Section 3.2.3, Cu 2 Te is also a p-type material that has been adopted in CdS/CdTe solar cells for the interfacial layer added between the metal electrode and CdTe to reduce the charge recombination [115,116].
There were also some reports that explored the use of ionic liquid electrolytes for the deposition of copper tellurides [117,118].

Copper Indium Selenides (CIS)
Copper indium selenides (CuInSe 2 ) can be electrochemically deposited with an electrolyte containing CuSO 4 , In 2 SO 4 , citric acid and SeO 2 at pH = 2.1 [119]. Guillemoles et al. suggested that the CuInSe 2 was formed through the following reactions [120]: In 2 Se 3 + Cu 2 Se → 2CuInSe 2 (47) where, α is the ratio of the concentrations of Se(IV) and Cu(II) in the electrolyte, i.e., α = J se /J cu . Figure 10 is the zone diagram of the composition of the electrodeposited films as a function of the applied potential and α. It can be see that the optimal value of α for the formation of CuInSe 2 is 2; in a given range of deposition potential, the film is copper rich when α < 2, and is indium rich when α > 2 [119]. It has been basically established that copper rich and indium rich results in p-type and n-type CuInSe 2 , respectively [121,122]. However, in the literature, one can also see an opposite relationship between the copper and indium richness and the p-and n-type conduction [123]. Chiang et al. achieved an efficiency as high as 6.46% with a solar cell constructed with co-electrodeposited CuInSe 2 . The CuInSe 2 was fabricated on a Mo-coated glass substrate and was then deposited with a CdS film via chemical bath deposition (CBD) to form a p-n junction. The high efficiency was attributed to heating the electrolyte and substrate to 50 • C and 70 • C, respectively, during the electrodeposition, which led to the CuInSe 2 with a smooth and defect-free surface that resulted in high quality to the interface between the CuInSe 2 and CdS, while the one with the CuInSe 2 produced without heating only received an efficiency of 0.49% [124]. Such a 6.46% efficiency is just slightly lower than the 6.6% efficiency reported by Dale et al. with electrodeposited CuInSe 2 that however experienced a further selenization treatment [125]. Ulah et al. electrodeposited CuInSe 2 on a fluorine-doped tin oxide (FTO) glass substrate instead of a Mo-coated glass substrate to form a solar cell with a configuration of FTO/CuInSe 2 /CdS/ZnO. The deposition was conducted at room temperature, and the CuInSe 2 film was further selenized (at 500 • C for 40 min). The solar cell efficiency that they reported was 2.22% [121]. The low efficiency may arise from the destruction caused to the FTO film during the selenization. Londhe et al. explored CIS solar cells with an inverted structure, in which CdS was first deposited onto a FTO glass substrate, followed by the deposition of CuInSe 2 and gold electrode, resulting in a solar cell configured as FTO/CdS/CuInSe 2 /Au [126]. The solar cell achieved an efficiency of 4.5%. Note that, in Londhe's work, the CuInSe 2 was also deposited at a high temperature (130 • C) but, differently, a further selenization treatment at 400 • C for 20 min was applied. The solar cell still presented a relatively high efficiency due likely to the CdS layer, which protected the FTO film to some extent during the selenization. The solar cell might have else benefited from the inverted structure that enables the light to be introduced from the FTO side and may therefore get more light harvested compared with the conventional case where the incident light is introduced from the metal electrode side. Fischer et al. studied the solar cell performance of CuInSe 2 produced by depositing indium selenide and copper selenide successively and then selenizing at 550 • C for 30 min, and suggested that co-deposition (resulting in 6.6%) is more advantageous than the successive deposition method (5.5%) in terms of achieving a high solar-to-power conversion efficiency [123]. Chiang et al. achieved an efficiency as high as 6.46% with a solar cell constructed with co-electrodeposited CuInSe2. The CuInSe2 was fabricated on a Mo-coated glass substrate and was then deposited with a CdS film via chemical bath deposition (CBD) to form a p-n junction. The high efficiency was attributed to heating the electrolyte and substrate to 50 °C and 70 °C, respectively, during the electrodeposition, which led to the CuInSe2 with a smooth and defect-free surface that resulted in high quality to the interface between the CuInSe2 and CdS, while the one with the CuInSe2 produced without heating only received an efficiency of 0.49% [124]. Such a 6.46% efficiency is just slightly lower than the 6.6% efficiency reported by Dale et al. with electrodeposited CuInSe2 that however experienced a further selenization treatment [125]. Ulah et al. electrodeposited CuInSe2 on a fluorine-doped tin oxide (FTO) glass substrate instead of a Mo-coated glass substrate to form a solar cell with a configuration of FTO/CuInSe2/CdS/ZnO. The deposition was conducted at room temperature, and the CuInSe2 film was further selenized (at 500 °C for 40 min). The solar cell efficiency that they reported was 2.22% [121]. The low efficiency may arise from the destruction caused to the FTO film during the selenization. Londhe et al. explored CIS solar cells with an inverted structure, in which CdS was first deposited onto a FTO glass substrate, followed by the deposition of CuInSe2 and gold electrode, resulting in a solar cell configured as FTO/CdS/CuInSe2/Au [126]. The solar cell achieved an efficiency of 4.5%. Note that, in Londhe's

Copper Indium Tellurides (CIT)
The deposition of copper indium tellurides (CuInTe 2 ) can be achieved through the reactions mentioned above for the copper indium selenides, except replacing the SeO 2 with TeO 2 . Mahalingam et al. reported that 65 • C was an optimal temperature for the deposition, which resulted in CuInTe 2 films with satisfactory crystallinity [127]. It was also found that the deposition potential had a significant impact on both the crystallinity and the composition of the deposited films. With an optimal deposition potential (at −0.9 V vs. SCE), well crystallized CuInTe 2 with a nearly stoichiometric molar ratio, 1:1.03:1.67 for Cu:In:Te, was achieved. Lakhe et al. deposited CuInTe 2 with a more acidic electrolyte (pH = 2) at a higher temperature (80 • C) [128]. They studied the influence of the deposition potential on the crystal structure when the potential varied in the range from −0.6 to −0.75 V (vs. Ag/AgCl reference electrode), and found that (1) the product included secondary phases such as In 2 O 3 and In 4 Te 3 ; (2) more negative potential might promote the formation of CuInTe 2 and (3) pure-phase CuInTe 2 was obtained on the films deposited at the potential of −0.75 V and then annealed at 400 • C for 15-20 min. Prasher et al. used an aqueous electrolyte containing CuCl 2 , InCl 3 , pre-reacted tellurium with HNO 3 and acetonitrile [129]. The pH value of the electrolyte was 1.4 and the applied deposition potential was 0.35-0.4 V (vs. the Ag/AgCl electrode). They found that the resulting film was indium-rich CuInTe 2 and emphasized that the adoption of stirring during the deposition could promote forming CuInTe 2 with better stoichiometric composition and improved crystallinity.
Lakhe et al. studied the solar cell performance of electrodeposited CuInTe 2 [128,130,131]. The CuInTe 2 film was deposited on a FTO glass substrate on which a CdS layer was pre-produced via chemical bath deposition (CBD). The obtained CdS/CuInTe 2 heterojunction was then annealed at 450 • C for 30 min (in air). The solar cell was configured as FTO/CdS/CuInTe 2 /Au, i.e., an inverted structure, in which electrons and holes diffuse to the FTO electrode and metal electrode, respectively. It was found that CuInTe 2 deposited through the electrolyte with a pH value of 2 was copper rich, leading to a relatively high solar-to-power conversion efficiency, 4.13% [128], whereas CuInTe 2 deposited with the electrolyte, which pH = 4, was however copper poor (or, indium rich) and, consequently, gave rise to somewhat low efficiencies ranging from 3.8% [130] to 4.01% [131].

CIGS
Copper indium gallium selenide (CIGS) is a quaternary compound composed of copper, indium, gallium and selenium with a formula of Cu(In,Ga)Se 2 or CuIn x Ga (1−x) Se 2 . CIGS has a narrow energy band gap (1.0-1.7 eV) and an exceptionally high absorption coefficient of more than 10 5 /cm, and has been one of the major materials for polycrystalline thin film solar cells [132]. Figure 11 is a schematic drawing of the state-of-the-art structure of CIGS solar cells, in which CIGS is a p-type material and acts as the absorber layer. The CIGS solar cells typically use a Mo-coated glass as the substrate because of the satisfactory stability of Mo during the selenization. The CIGS film forms a p-n junction with an n-type CdS film; the latter is also known as the buffer layer of the solar cell. Above the CdS layer is usually a transparent layer of ZnO material fabricated to serve as the window layer of the solar cell and provide protection to the CdS layer. Solar cells with the CIGS material have demonstrated efficiencies over 20%. Industry widely employs vacuum deposition for the fabrication of CIGS films. However, due to the low cost and the compatibility with large-area fabrication, non-vacuum methods represented by the electrodeposition and nanoparticle ink-based screen-printing are earning increasing attention, though these methods face challenges in achieving high quality CIGS.
There are generally two methods to fabricate CIGS via electrodeposition: one-step co-deposition method and two-stage selenization method.
(1) One-Step Co-Deposition Method Figure 11. The state-of-the-art structure of CIGS thin film solar cells [132].
There are generally two methods to fabricate CIGS via electrodeposition: one-step co-deposition method and two-stage selenization method.
(1) One-Step Co-Deposition Method The one-step co-deposition method is similar to the methods used to deposit other binary or ternary chalcogenides as introduced above. The deposition uses an electrolyte that contains all reagents for Cu, In, Ga and Se, forming CIGS at the cathode via a number of electrochemical and chemical reactions. Since a wide distribution of the reduction potentials (Figure 12), +0.740, +0.342, −0.338 and −0.523 V vs. SHE for Se 4+ /Se, Cu 2+ /Cu, In 3+ /In and Ga 3+ /Ga, respectively, the one-step co-deposition is usually difficult in synthesizing stoichiometric CIGS [133]. In particular, Ga has a very negative (the most negative) reduction potential and therefore is difficult to be incorporated into the deposited film. This is in agreement with the experimental observation that the co-deposition is prone to yield CIGS with an obviously low content of Ga [132]. Such a scenario has motivated people to make further efforts to optimize the deposition parameters, for example, the pH and concentration of electrolyte, complexing agent used for the electrolyte, the deposition potential, and so forth, towards making the deposition potentials of all individual elements come close to each other. In practice, though the co-deposition method aims at one-step fabrication by including all sources of the elements in the electrolyte, a heat treatment of the as-deposited film (typically at 500-550 • C) to improve the crystallinity is usually still performed in an atmosphere that contains Se, in order to avoid the loss of Se from the film during the heat treatment.  Bhattacharya et al. studied the electrodeposition of CIGS with an aqueous electrolyte containing CuCl 2 , InCl 3 , GaCl 3 and H 2 SeO 3 at pH = 2-3 and a constant current density of 0.9 mA/cm 2 . They suggested that the electrodeposition of CIGS on the cathode is caused by the combination of electrochemical and chemical reactions as follows [134]: Besides elemental Cu, In, Ga and Se involving in the deposition, Bhattacharya et al. also suggested that the deposition also included a direct deposition of selenide compounds such as Cu-Se, In 2 Se 3 , Ga 2 Se 3 and CuInSe 2 resulting from the reactions between the elements, for example, 2In 3+ + 3Se + 6e − → In 2 Se 3 . The deposited film was annealed in Se atmosphere at 550 • C for 30-45 min, leading to the formation of crystalline Cu 0.94 In 1.04 Ga 0.07 Se 2 . The solar cell constructed with the as-prepared CIGS delivered a decent solar-to-power conversion efficiency, 10.9%, though the nonstoichiometric composition arising from the low Ga content.
The low Ga content is due to the much negative deposition potential required for Ga 3+ /Ga. Long et al. reported that, compared to the case of an aqueous electrolyte, the use of ethanol as the solvent of the electrolyte might allow one to apply a more negative potential and accordingly increase the Ga content in the CIGS [135]. By using an electrolyte of CuCl 2 , InCl 3 , GaCl, H 2 SeO 3 and LiCl dissolved in ethanol with the pH value adjusted to 1.9-2.2 with HCl, they deposited CIGS at the potential of −1.6 V vs. SCE. The film was then annealed at 550 • C for 30 min. It was found that the resulting film was only slightly Cu-poor and the ratio of [Ga] to [Ga+In] reached 0.25. The formation of CIGS was proposed as follows: There are also some reports about the use of ionic liquid-based electrolytes for the deposition of CIGS films [136,137]. The use of ionic liquid electrolytes has primarily been to develop one-step methods to avoid selenization during the annealing, and/or improve the quality of CIGS films in terms of the composition, morphology, crystallinity and/or the electric property [138].
(2) Two-Stage Selenization Method The two-stage selenization method, also known as the stacked layer structure method, involves sequentially depositing elemental Cu, In and Ga to form a Cu-In-Ga precursor film with a stacked layer structure, and then performing a selenization treatment to convert the precursor film to a film of CIGS. The deposition of Cu, In and Ga can be achieved via the reactions represented by Equations (48) through (50). The advantage of the two-stage selenization method is that, since each metal element is deposited individually, one can flexibly choose electrolytes and optimize the deposition potential and time for each element, to thus get desired amounts of elements included in the precursor film and accordingly better control the composition of the deposited film.
Yeh et al. studied the formation of CIGS produced with the two-stage selenization method [139][140][141]. The Cu-In-Ga precursor film consisting of Cu/In/Cu/Ga/Cu multilayers stacked in sequence from the substrate was deposited with the solutions of Cu 2 P 2 O 7 , InSO 4 and Ga(OH) 3 , which provided the Cu, In and Ga sources, respectively. The deposited precursor film was immediately heated at 150 • C for 1 h in Ar to form alloyed phases in consideration of avoiding the precursor film from being oxidized. It was revealed that, with gradually increasing the selenization temperature, the composition of the precursor film experienced an evolution from a mixture containing multiple combinations of alloyed phases to a compound of CIGS. Figure 13 is a schematic diagram showing the process. This confirmed that a temperature of 550 • C is necessary for the formation of the CIGS compound. The produced film possessed a nearly stoichiometric composition of CuIn 0.67 Ga 0.3 Se 2.03 [139].
Electrochem 2020, 2, FOR PEER REVIEW 22 Figure 13. The evolution of the Cu-In-Ga precursor film with a stacked layer structure with increasing the annealing temperature from 150 to 550 °C during the selenization, eventually leading to the formation of Cu(InxGa1−x)Se2 (CIGS) with a secondary Cu2Se phase [139].
The utilization of the electrodeposition technique for CIGS solar cells has proven to be very successful [142]. It was found that copper-poor CIGS with a [Cu/(In+Ga)] or CIG ratio of 0.8-0.9 and a [Ga/(In+Ga)] or GIG ratio of 0.3-0.35 is the preferred composition leading to a high solar cell efficiency, whereas copper-rich may result in a Cu-Se secondary phase, which diminishes the device performance [143]. Through optimizing the recipe of electrolyte and the parameters for deposition, electrodeposition has shown to be good at controlling the composition of CIGS. At present, electrodeposition (also known as electroplating) has been one of the primary methods adopted by the industry to manufacture CIGS solar cells. Table 1 summarizes the representative results of the solar cells constructed with electrodeposited CIGS. One can see that impressively high solar-to-power conversion efficiencies, for example, up to 17% for small solar cells and 12-14% for large cells, have been achieved. It is worth noting that, for solar cells, their performance is predominantly determined by the properties and quality of the absorber layer, e.g., the CIGS film in the CIGS solar cells. However, the overall solar-to-power conversion efficiency may also be greatly affected by other factors, such as the structure (or configuration) of the solar cell, the properties of other layers, the quality of interfaces and the front and rear contacts, and even the exposed area of the solar cell. Therefore, though the efficiencies are listed in Table 1 in increasing order, the efficiency increase does not exactly reflect the difference in the quality of the films or the parameters adopted to produce the films. The utilization of the electrodeposition technique for CIGS solar cells has proven to be very successful [142]. It was found that copper-poor CIGS with a [Cu/(In+Ga)] or CIG ratio of 0.8-0.9 and a [Ga/(In+Ga)] or GIG ratio of 0.3-0.35 is the preferred composition leading to a high solar cell efficiency, whereas copper-rich may result in a Cu-Se secondary phase, which diminishes the device performance [143]. Through optimizing the recipe of electrolyte and the parameters for deposition, electrodeposition has shown to be good at controlling the composition of CIGS. At present, electrodeposition (also known as electroplating) has been one of the primary methods adopted by the industry to manufacture CIGS solar cells. Table 1 summarizes the representative results of the solar cells constructed with electrodeposited CIGS. One can see that impressively high solar-to-power conversion efficiencies, for example, up to 17% for small solar cells and 12-14% for large cells, have been achieved. It is worth noting that, for solar cells, their performance is predominantly determined by the properties and quality of the absorber layer, e.g., the CIGS film in the CIGS solar cells. However, the overall solar-to-power conversion efficiency may also be greatly affected by other factors, such as the structure (or configuration) of the solar cell, the properties of other layers, the quality of interfaces and the front and rear contacts, and even the exposed area of the solar cell. Therefore, though the efficiencies are listed in Table 1 in increasing order, the efficiency increase does not exactly reflect the difference in the quality of the films or the parameters adopted to produce the films.

CZTS
Copper zinc tin sulfide (CZTS), Cu 2 ZnSnS 4 , was derivative from CIGS by changing indium by zinc and gallium by tin. CZTS also possesses a high absorption coefficient (>10 4 cm −1 ), a narrow bandgap, 1.45 eV, and more importantly the material consists of all earth abundant and non-toxic elements Cu, Zn, Sn and S, making it a potential photovoltaic material for low-cost, environmentally friendly solar cells [150][151][152]. The record efficiency of the CZTS solar cells is 11% so far achieved by Yan et al. in 2018 with the CZTS that was fabricated through co-sputtering Cu/ZnS/SnS followed by a sulfurization treatment [153] (note that another CZTS-based solar cell demonstrating a 12.6% efficiency reported by Wang et al. in 2019 actually used Cu 2 ZnSnS x Se 4-x (CZTSSe), which contains Se [154]).
Similar to CIGS, CZTS can also be produced through the electrodeposition via a one-step co-deposition method or a two-stage sulfurization method.
(1) One-Step Co-Deposition Method The one-step co-deposition method uses an electrolyte containing the chlorides or sulfates of copper (e.g., CuCl or CuSO 4 ), zinc (e.g., ZnCl 2 or ZnSO 4 ) and tin (e.g., SnCl 4 or SnSO 4 ) as the Cu, Zn and Sn sources, respectively, and typically Na 2 S 2 O 3 as the S source. The deposition is usually carried out in an acidic electrolyte. Shinde et al. proposed that, when CuCl is employed as the Cu source (i.e., Cu(I)), the formation of CZTS resulted from the following reactions [155]: 2Cu + + Zn 2+ + Sn 4+ + 4S 2− → Cu 2 ZnSnS 4 (59) In the case of CuSO 4 as the Cu source (i.e., Cu(II)), Valdes et al. suggested that the overall reaction could be described as [18]: With an electrolyte containing CuSO 4 , ZnSO 4 , SnSO 4 and Na 2 S 2 O 3 and using sodium citrate and tartaric acid as the complexing agents, at pH = 4-4.5 and the potential of −1.05 V vs. SCE, Pawar et al. produced CZTS successfully using the one-step co-deposition method. They found that, after heat treatment at 550 • C in Ar for 1 h, the deposited film turned to be crystalline and presented a kesterite structure, and the atomic ratios were revealed to be Cu:Zn:Sn:S = 22.98:10.35:11.21:55.46. Such a composition was perfectly close to the stoichiometric CZTS [156].
(2) Two-Stage Sulfurization Method Compared with the one-step co-deposition method, the two-stage sulfurization method has been more intensively used for the fabrication of CZTS films in the literature. The two-stage sulfurization method involves preparing a Cu-Sn-Zn precursor film through the electrodeposition first, and then sulfurizing the film in a sulfur (S) atmosphere, typically at 550 • C. The Cu-Sn-Zn precursor film can be either deposited in one solution that contains Cu, Sn and Zn salts (i.e., the so-called co-deposition) [157,158], or sequentially deposited in individual solutions of Cu, Sn and Zn to form a stacked layer structure [159]. Note that, in the latter case, the deposition should be in a Cu|Sn|Zn sequence in order to avoid the dissolution problem occurring to the early-deposited films.
He et al. prepared the stacked Cu-Sn-Zn precursor film using the electrolytes and the deposition parameters shown in Table 2 [159]. The reactions for the deposition of Cu, Sn and Zn can be described as follows: where, E is the reduction potential, R the ideal gas constant, T the temperature and F the Faraday constant. It was found that, after a sulfurization treatment at 550 • C, the atomic ratios of Cu:Zn:Sn:S in the film were 24.66:13.18:11.97:50.l9. In another study also conducted by He et al., Cu-Sn-Zn precursor film was produced via co-deposition with a solution that contained Cu, Sn and Zn sources plus sodium citrate as the complexing agent [157]. The results revealed that, after a sulfurization treatment, the Cu:Zn:Sn:S ratios of the co-deposited CZTS were 24.36:12.45:12.46:50.73, which were almost the same as the ratios of the film with the Cu-Sn-Zn deposited sequentially.  Figure 14 shows the typical structure of CZTS solar cells [160]. One can see that a CZTS solar cell is a structural analogue to a CIGS solar cell, in which the absorber layer uses CZTS. Table 3 summarizes the representative results of solar cells constructed with the electrodeposited CZTS films. It reveals that (1) the solar cell performance, or the quality of the CZTS film, is not necessarily related to the method used to create the precursor film; (2) the sulfurization treatment, which is typically carried out at a temperature of 560-585 • C, has been always conducted under an atmosphere that contains S (from elemental S or H 2 S), even if the precursor film is prepared with a one-step co-deposition method that already includes the deposition of S; (3) the pre-heat treatment of the precursor film is likely optional, though it was suggested that the treatment might enable the formation of metal alloys, which prevent oxidation of the films; (4) the composition of the CZTS film, which influences the crystal structure and electric property of the CZTS, plays a predominant role in affecting the quality of the CZTS and the performance of the solar cell, while the structure of the solar cell device is another important factor that affects the overall solar cell efficiency; in general, to achieve a high efficiency, the composition of the CZTS film should be Zn-rich and Cu-poor, or specifically the Cu/(Zn+Sn) and Zn/Sn ratios should lie in the range of 0.75-1 and 1-1.25, respectively [158] and (5) in addition to the Cu/(Zn+Sn) and Zn/Sn ratios, the ratio of S/metal also has an impact on the solar cell performance; it seems that the S/metal ratio should be greater than unity in order to achieve a high solar cell efficiency; however, there is a lack of sufficient information in literature in regard of this. Electrochem 2020, 2, FOR PEER REVIEW 26 Figure 14. The typical structure of CZTS solar cells, in which the CZTS absorber layer can be prepared by electrodeposition, and the layers of CdS, ZnO and ZnO:Al are usually fabricated via vacuum sputtering deposition [160].  The sulfurization pressure has a significant impact on the composition of the CZTS. An optimal sulfurization pressure was 40 Torr.

Concluding Remarks
(1) The deposition potential must be selected carefully. The deposition potential is primarily determined by the standard electrode potential of cations and the recipe of the electrolyte that matters the concentration of the cations and the pH value of the electrolyte, but is also affected by some other factors such as the deposition temperature and the type of substrate (for example, FTO glass, ITO glass, stainless steel, copper or carbon). Cyclic voltammetry (CV) is the most effective way to help determine the deposition potential or understand the deposition mechanism. (2) It is always a challenge to balance the potential adopted for the deposition and the composition of the electrolyte (including the type of the complexing agent use in the electrolyte) in order to achieve the stoichiometric composition, especially in the case of ternary and quaternary chalcogenides. It seems that the stacked layer structure method is relatively advantageous in controlling the composition of the deposited films, in particular when the films consist of multiple elements and the deposition potentials of them are distributed in a wide range. However, since this method involves a sulfurization or selenization treatment of the precursor film comprised of metals, it is not ideal for the fabrication of thick films (>1 µm). In addition, the treatment is usually conducted at high temperatures, making the method not a good fit for most of the flexible substrates. (3) Complexing agents may have an important impact on the morphology and quality (e.g., the crystallinity and defects) of the deposited film by affecting the concentration of free cations in the electrolyte and thus affecting the deposition rate. (4) Post heat treatment is usually a necessary step to improve the crystallinity of the deposited films.
Not only improving the crystallinity, depending on the atmosphere, post heat treatment can also function to adjust the composition of the films. Post heat treatment else contributes to growing the crystallites and enhancing the contact or adhesion between the deposited film and the substrate. (5) The use of ionic liquid-and organic solvent-based electrolytes may allow the deposition to be conducted at significantly higher temperatures, which is good for the formation of films with high quality and better crystallinity. However, compared with the aqueous electrolytes, the ionic liquid-and organic solvent-based electrolytes are usually less effective in dissolving inorganic salts. This limits the flexibility of choosing ideal reagents as the sources of elements for the film deposition. (6) Combining the electrodeposition with other techniques is a feasible way to make the deposited films gain improved quality. For example, the use of pulse potentials for the electrodeposition (known as pulsed electrodeposition) can result in better control of the composition and yield compact films [168]. Integrating electrophoretic [169] or chemical bath deposition [170] into the electrodeposition process may provide more flexibility in adjusting the film composition and, likely, may else lead to films with a more uniform morphology. Adding mechanical perturbations to the working electrode during the electrodeposition has also reported the capability in improving the film's morphology [171].

Perspective
With the aim of making the electrodeposition a more ideal method for the fabrication of chalcogenide films towards high efficiency photovoltaic device applications, research in the following aspects is expected.
(1) Developing more advanced electrolytes or new techniques to better control the composition of the deposited films, including eliminating the impurity and reducing the secondary phases in the films. (2) Exploring feasible methods to enhance the density of the deposited films and reduce the defects in the films. The relatively low density of the electrodeposited films and the existence of quite a large number of defects (e.g., the point defects and the planar defects at the grain boundaries) seem to be some of the major reasons that cause the solar cells constructed with the electrodeposited films generally less efficient than the cells that employ the films produced with a vacuum deposition method. (3) With regard to the ternary and quaternary chalcogenides, especially CIGS and CZTS, it is worth further developing the one-step co-deposition method, with the consideration of achieving selenization or sulfurization during the electrodeposition and thus simplifying the manufacturing operations to make the electrodeposition a more competitive technique in delivering low cost solar cells. (4) New ideas, for example, nanoparticle-based electrodeposition [172], photo-assisted electrodeposition [173], in situ monitoring of the deposition [174,175], may create the chances to gain better understanding of the kinetics of electrodeposition, make the control of the composition and microstructure of electrodeposited films more effective, and consequently deliver high quality films. (5) There is generally a lack of theoretical models to simulate the electrodeposition, in particular for the co-deposition of multiple elements. Machine learning is an emerging technology that may potentially be a great tool to predict the synthesis-composition-structure-property relationships of materials [176,177], including the films produced via electrodeposition.
Author Contributions: All authors contributed to gathering information from the literature and involved discussing and preparing the paper. All authors have read and agreed to the published version of the manuscript.