Influence of the electrochemical processing parameters on the photocurrent–voltage conversion characteristics of copper bismuth selenide photoactive films

Thin-film deposition using electrodeposition techniques is highly preferable because of its capability to deposit multi-component alloys at low temperatures. In this regard, copper bismuth selenide (CBSe) films were electrodeposited in two various ways, simultaneous and successive electrodeposition processes. The structural and morphological characterizations of the obtained films were performed using X-ray diffraction (XRD), scanning electron microscope (SEM), energy-dispersive X-ray analysis (EDX), and X-ray Photoelectron Spectrometer (XPS). The CBSe alloy films formed by successive electrodeposition revealed better crystallinity and more regular morphology in comparison with simultaneous electrodeposited CBSe films. The prepared CBSe film by successive electrodeposition exhibited high light absorptivity and low band gap energy value (Eg = 1.65 eV) resulting in a higher photoelectrical response. The crystallization of the ternary CBSe film electrodeposited via successive routine obeyed the instantaneous nucleation mechanism, while the CBSe film obtained by simultaneous electrodeposition agreed with the progressive nucleation mechanism. Successive electrodeposition of ternary CBSe alloy film achieved greater values of photocurrent–voltage conversion efficiency (η = 1.26%) in photoelectrochemical systems.


Introduction
Metal-based chalcogenides have been emerged as one of the most important classes of semiconducting materials due to their multidisciplinary uses in photovoltaic (PV), optoelectronic and thermoelectric applications [1][2][3]. Chalcogenide is an inorganic compound that contains one or more chalcogen elements such as O, S, Se, or Te of the group 16 in the Periodic Table [4,5]. Chalcogenides are usually alloyed with other elements of metallic, non-metallic, or even another semiconductor to form a matrix, which could be applied in the aforementioned applications, especially in solar cells [6,7]. Different elements were employed for the preparation of chalcogenide materials like Cd, Ga, In, Zn, As, Cu, and Ag [8][9][10]. Among all these elements, copper is still recognized as a cost-effective, environmentally benign, and highly abundant metal. Considering this fact, huge considerable efforts have been devoted to preparing copper-based chalcogenides of the groups (I-V-VI) acting as efficient light absorbers for upgrading thin-film PV applications [11,12]. Particularly, Cu-Bi-Se (CBSe) ternary system has recently attracted much attention, because the usage of Cu-Bi-Se (CBSe) thin-film demonstrates a high absorption coefficient > 10 5 cm −1 and a wide bandgap range of 1.2-1.5 eV as well as good photoactivity for solar light absorption [11,13]. Consequentially, these distinguishable features and characteristics give the CBSe material with its various systems the opportunity in different applications mainly as light harvesting materials in PV thin film solar cells and photocatalytic applications as reported in different previous studies [11,14]. In addition, CBSe materials possess high photosensitivity that generates a considerable photocurrent revealing its ability for optoelectronic devices [15].
Unlike various methods, e.g., thermal evaporation, chemical vapor deposition (CVD), physical vapor deposition (PVD), and sputtering which are employed for film deposition, the electrodeposition process is considered the most applicable technique to form thin-film material on large conductive surfaces [16]. It is able to produce a dense, uniform, and adherent coating either from metal or alloys on regular or irregular shaped substrates by applying an electric current [17]. Besides, electrodeposition is clean, accurate, short-time, and sometimes energy-saving technique, because it is usually working at low temperatures below 100°C or even at room temperature [18,19]. However, the electrodeposition of ternary metallic alloys is still facing some difficulties that could reduce its competitiveness with the other film deposition methods. Among these drawbacks, the high sensitivity for any contamination or additive that existed in the medium affects the deposition process and the formed film. Also, the low conductivity of some semiconducting elements makes their deposition potential shift toward the positive value for the noble elements that increase the possibility of co-deposition of undesired elements with the target alloy [17]. Therefore, various parameters affecting the electrodeposition process such as current density, deposition potential, scan rate, concentration, temperature, additives, nature a e-mail: mustafa_sanad2002@yahoo.com (corresponding author) of the electrolyte, nature of substrate, deposition time, and agitation should be chosen carefully and accurately to obtain the target film with the proper planed properties [17,19].
The electrodeposition of thin-film alloys can be carried out in different ways including successive and simultaneous paths [20]. Concerning the literature survey and in our humble belief, only one published article discussed the preparation of CBSe thin film on SnO 2 -coated glass substrate via potentiostatic electrodeposition simultaneously from a solution mixture of CuCl 2 , Bi(NO 3 ) 3 , and H 2 SeO 3 followed by post-annealing treatment [14]. The simultaneous electrodeposition of the ternary alloy system is not effective enough, because the three ions compete with each other in the deposition process, which does not give the metallic component sufficient time to be electrodeposited effectively and progressively than the other components. As a result, the metallic component of the formed ternary alloy might be larger than the semiconductor and non-metallic content (i.e., non-stoichiometric ternary alloy). In this regard, the present work aims to study the electrochemical deposition of CBSe films on the platinum substrate via both successive (indirect) and simultaneous (direct) ways from an aqueous solution of Cu(NO 3 ) 2 , Bi(NO 3 ) 3 , and SeO 2 . The novel suggested successive way starts by depositing a film of two metallic components as binary alloy from a solution containing the two ionic species. Subsequently, the third element is deposited from its containing solution. This allows forming of the binary alloy easily and effectively in the first stage, which serves as a substrate for the second layer. Thereby, the ternary alloy can be significantly obtained after heat treatment. The structural and morphological properties of CBSe thin films on a platinum substrate prepared by successive and simultaneous electrodeposition were comparatively investigated. The deposition mechanism was predicted by applying Scharifker and Hills Model. The film thickness and current efficiency of CBSe deposited films were mathematically calculated from the chrono-potentiometric studies at various current densities. Finally, the as-deposited photoactive CBSe electrodes were characterized for their photovoltaic performance in photoelectrochemical solar cells.

Materials
The following materials were employed throughout this work as follows: copper nitrate trihydrate Cu(NO 3

Electrodeposition processes
The electrodeposition process was performed in a 150 ml three-electrode glass cell in which a platinum mesh of area 4 cm 2 was implemented as the counter electrode. The working electrode is a platinum sheet and ITO-coated glass of active area 2 cm 2 for deposition, while the silver/silver chloride was used as a reference electrode [E 0.197 mV vs. NHE]. The electrochemical deposition process was carried out and controlled using potentiostat/galvanostat Volatalab Master PGP 201. Before deposition, Pt and ITO-coated glass substrates were ultrasonically cleaned using different solvents in the order of acetone, ammonia, ethyl alcohol, and then rinsed with deionized water. Linear sweep voltammetry (LSV) studies were carried out for unitary, binary, and ternary components of the target material. Sweeping potentials for Cu-Se, and CBSe solutions were ranged from − 800 to 200 mV and − 1000 to 300 mV, respectively. The stirring rates were varied from 0 to 800 rpm through an automated digital hotplate with well-defined stirring rates. Three bath temperatures were studied 25, 50, and 75°C using a thermostat. The applied potential scan rates were varied from 1 to 10 mV/s. After that, potentiostatic and galvanostatic electrodeposition measurements were performed at different potential and current density values concluded from the LSV curves. The obtained potentiostatic data were used to study the nucleation mechanisms during the first 5 s of the deposition process using Scharifker and Hills models. Galvanostatic results were used to calculate the current efficiency by weighing the Pt substrate before and after deposition to calculate the weight and thickness of the deposited film considering the density related to the obtained phase. The optimal conditions were applied for the deposition of the films on the ITO glass to perform the optical and photoelectrochemical characterizations. The electrodeposition of CBSe films was performed in two different ways successive and simultaneous as follows Successive electrodeposition in which ternary CBSe film was prepared through two successive steps. At the first step, binary Cu-Se film was galvanostatically deposited on the platinum substrate, from 80 ml solution (pH~3) consisting of 50 mM Cu(NO 3 ) 2 ·3H 2 O + 100 mM SeO 2 . Few drops of 0.5 M NH 4 NO 3 were added as a supporting agent. Subsequently, the second galvanostatic electrodeposition of Bi metal on the deposited Cu-Se film was carried out from 80 ml solution of 50 mM Bi(NO 3 ) 3 ·5H 2 O. Few drops of conc. nitric acid were added to the bismuth nitrate solution to ensure the solubility of the salt and the solution pH was kept at 2.
Simultaneous electrodeposition in which ternary CBSe alloy film was prepared in one step by simultaneous electrodeposition from 80 ml solution containing 50 mM Cu(NO 3 ) 2 .3H 2 O + 50 mM Bi(NO 3 ) 3 ·5H 2 O + 100 mM SeO 2 . About 10 ml 0.5 M NH 4 NO 3 was added as a stabilizing agent, while 2 ml conc. nitric acid was also added to the solution to ensure the complete solubility of salts by adjusting the pH at 3. The obtained films were rinsed with deionized water, absolute ethanol, and put in a vacuum drying oven (Nabertherm, NAB 8122) at 50°C for 6 h. Finally, both successively and simultaneously deposited films were annealed at 300°C in inert gas of (Ar/H 2 5%) for one hour.

Characterization techniques
The prepared films were characterized using X-ray diffraction (XRD), Bruker advanced D8 Kristalloflex (Ni-filtered Cu Kα 1 radiation; 1.5406 Å) for detecting the crystal structure. The surface characteristics of the deposited film were envisaged through field emission scanning electron microscope (FESEM) Model INSPECT S50, which integrated with built-in units for energy-dispersive X-ray spectroscopy analysis (EDX) and elemental mapping. XPS spectra for CBSe film were measured using X-ray Photoelectron Spectrometer (Thermo Scientific, Model: K-Alpha surface analysis) equipped with a monochromatic small-spot XPS system to scan spectra in the range of 0-1000 eV using Al·Kα source and calibrated by C 1 s line.

Optical and photoelectrochemical characterizations
Optimum deposition parameters were applied to obtain CBSe films on ITO-coated glass for further optical and photoelectrochemical measurements using both successive and simultaneous electrodeposition ways. Optical absorbance was recorded using UV-Vis-NIR spectrophotometer (Perkin Elmer Lambda 1050) with an integrated sphere, Deuterium, Tungsten, and Halogen light sources, and a 3-detector module. Photocurrent-voltage characterization was conducted for photoelectrochemical cell (PEC) in which, CBSe film on ITO glass acted as working electrode versus graphite (C) as the counter electrode in 50 mM KI + 50 mM I 2 solution as conducting and regeneration electrolyte at the power of 1 sun (100 mW/cm 2 ). Photoelectrochemical characterization was carried out using solar simulator model Science-Tech SS 150 W-AAA supplied with Xenon arc lamp of power 150 W as the light source.

Electrodeposition study of Cu-Se binary alloy
LSV curves for the deposition of Cu-Se alloy on Pt substrate were carried at different stirring rates, bath temperature, and scan rates as shown in Fig. 1a-c. Clearly, all voltammograms show two definite deposition peaks at − 0.15 and − 0.39 V, which could be assigned to the deposition of the two existing ions Se −2 and Cu +2 , respectively [18]. Moreover, LSV results reveal that the deposition current of cathodic peaks increases with an increase in stirring rate as shown in Fig. 1a. The reason for improving the deposition reaction rate is the enhancement in the diffusion of Cu and Se ions from bulk electrolyte to the surface of platinum substrate resulting in a remarkable increase in the deposited film thickness. Thus, increasing the agitation speed accelerates ions transfer and induces high deposition reaction rates at the substrate surface [21][22][23]. However, high stirring speed could reduce the current efficiency due to the instability of the deposited films at vigorous dynamic conditions [24]. Thus, the optimum stirring speed for obtaining stable film was fixed at 400 rpm. Diffusion current is also proportional to the concentration gradient according to the following Fick's law relation (Eqs. 1 and 2) [25]; where "i d " is diffusion-limited current, "n" is the number of electrons transferred, "F" is the Faraday constant (96,485 C mol −1 ), "A" is the area of the substrate, "D" is the diffusion coefficient, and (dC/dx) is the concentration gradient. Also, raising the bath temperature from 25 to 75°C increases the ion's mobility in the solution. This leads to higher mass transfer of the ions from the bulk solution to the electrode surface, hence increasing the rate of deposition reaction. However, the deposition at 75°C was not selected to avoid the partial oxidation of the CBSe [26]; therefore, the deposition temperature was optimized at a moderate value of~50°C, Fig. 1b. The effect of diffusion and scan rate on the peak current is governed by the Randles-Sevcik Eqs. (3,4) [25], which explain that the current density is directly proportional to the diffusion and scan rate. This can be explained by enhancing the mobility of Cu and Se ions which consequently increases the cathodic current and the potential of the cell. In other words, higher scan rates lead to higher polarization resulting in a higher deposition rate [27,28]. Thereby, higher values of the cathodic current density of about -30 mA cm −2 could be obtained in a potential range from -0.15 to -0.4 V at the maximum scan rate of 10 mV s −1 as shown in Fig. 1c:   At 25°C it will be: where "i p " is the peak current, "n" is the number of electrons sharing in the reaction, "A" is the active surface area of the working electrode (cm 2 ), "D" is the diffusion coefficient of active ions in the solution (cm 2 s −1 ), "ν" is the scan rate (V s −1 ), and "C" is the molar concentration (mol cm −3 ). As a result, the current density ranging from 0 to − 40 mA cm −2 is suitable for the deposition of Cu-Se alloy, where the proper deposition potential is ranged from 0 to − 400 mV values. Thus, the binary alloy is preferably electrodeposited at − 400 mV to avoid the deposition of separate elements. Figure 2a reveals the potentiostatic curves for the electrodeposition of Cu-Se alloy from an aqueous solution of 50 mM Cu(NO 3 ) 2 .3H 2 O + 100 mM SeO 2 at 25°C at constant potential values -100, -200, -300, and -400 mV. The observed results demonstrate that the current density increases rapidly to its maximum value (I max and t max ), considering a higher rate of initial deposition reaction, then decreases gradually with time due to double-layer charging. Thereby, approaching the steady state is controlled by the diffusion of ions from the bulk solution to the electrode surface. Furthermore, I max increases and t max decreases with increasing the applied potential [29][30][31]. Basically, the steady state of electrodeposition is governed by Fick's first law of diffusion, which indicates that the diffusion flux "J" is proportional to the concentration gradient as given by Eq. (5) [25]: where "D" is the diffusion coefficient (cm 2 s −1 ), the negative sign indicates the direction of flow from high concentration to low concentration and "dC/dx" is the concentration gradient that is the driving force for the steady-state predomination. Based on Scharifker and Hills model, the nucleation mechanisms for electrodeposition reactions can be studied. Two different equations have been derived to determine the nucleation-growth mechanism simply known as the S-H model [32,33]. By applying this model, two mechanisms are limiting the nucleation-growth process, namely the instantaneous and progressive nucleations. The instantaneous nucleation occurs when all nuclei are immediately formed after applying a potential step. Meanwhile, progressive nucleation is caused by the gradual increase in nuclei numbers with the deposition time [32]. The S-H model equations are based on mass transfer that limits the current density for these two types of growth mechanisms and identified as follows: -Instantaneous nucleation: Progressive nucleation: where "i max " and "t max " are corresponding to the maximum current and its maximum time, respectively. The S-H model is applied based on the potentiostatic studies, and the deposition mechanisms were discussed for the first 5 s of each deposition process. The calculated theoretical and experimental S-H models for the obtained data are presented in Fig. 2b. The plotted curves indicate that the electrochemical deposition reactions proceeded through an instantaneous nucleation mechanism. Usually, the deposition reactions occur alongside reactions, which are defined as faradic and non-faradic processes, respectively. Side reactions include adsorption, desorption of active species, hydrogen, oxygen evolution, and water dissociation, which consume part of the applied potential and current density. Hence, it is essential to calculate the current efficiency to identify the ratio of the current devoted to the main electrodeposition reaction that serves to form the target films. The ratio between the partial current of the main process of interest and the overall applied current is the current efficiency (CE) percentage [34]. Theoretical weight can be calculated from the first law of Faraday for electrodeposition and substituting in Eq. (8): where "W act " is the actual practical weight of metal deposited, calculated by weighing the working electrode before and after deposition, and "W theo " is the theoretical weight expected from Faraday's laws if there is no side reaction. "Δm" is the mass of deposited metal (grams), "Q" is the total charges passing through the circuit (coulombs) and "M" is the atomic weight of deposited metal or alloy compound. Film thickness "t" can be calculated using formula (9) [18]; where "ρ" is the density of the deposited metal or alloy compound (g.cm −3 ), assigned from the obtained phase in XRD pattern and "A" is the area of the deposited film (2 cm 2 ). Meanwhile, the galvanostatic electrodeposition of Cu-Se binary alloy from an aqueous solution of 50 mM Cu(NO 3 ) 2 ·3H 2 O + 100 mM SeO 2 at 25°C can be systematically studied at different current densities ranging from − 10 to − 40 mA·cm −2 as shown in Fig. 3a. The observed chronopotentiometry curves demonstrate that the deposition potential sharply increases in the first few seconds due to the electrodeposition of the ions surrounding the electrode surface and after that, it is slightly decreased until it reaches the maximum constant values (i.e., steady state) as a result of crystallization step with high dense film thickness. Figure 3b represents the current efficiency and film thickness variation with the applied current density. It can be noticed that the maximum current efficiency value of about 84% can be achieved in the current density range of − 30 to − 50 mA·cm −2 . This value of current efficiency provides the most stable Cu-Se film with a thickness of about 4 μm.
Normally, the deposition process proceeds through different primary proposed reactions from (10) to (14) concluded from the XRD and XPS, and EDS analysis as follows:  phase with the tetragonal crystal structure (JCPDS # 01-072-1421) [34]. In addition, a minor phase of CuSe alloy that matching the reference card (JCPDs#034-0171) was noticed as small peaks in the XRD pattern. Furthermore, peaks at 2 8 39.7, 46.2, and 67.5 correspond to the Pt substrate. Figure 4b and c depicts the SEM images of Cu-Se film at two magnifications 4000 and 10,000 X. The morphology of Cu-Se alloy appears as nano-clusters with a homogeneous sphere-like shape with a particle size of about 500 nm. This formed film of Cu-Se alloy coat contains many voids and spaces between the particles, which enable good adhesion properties for further electrodeposition of Bi metal. EDX analysis, Fig. 4d, indicates that the two elements Cu and Se are very close in their weight percentages, suggesting the equilibrium in their deposition rate. Figure 5a shows the chronoamperometric electrodeposition curves of Bi on the previously deposited Cu-Se/Pt substrate from an aqueous solution of 50 mM Bi(NO 3 ) 3 ·5H 2 O at 25°C using different applied potentials from − 50 to − 200 mV. Electrodeposition process for the ternary alloy increases in the negative value with increasing the applied potential. For each deposition curve, the current density quickly increases during the first five seconds till reaching its maximum value, then starts to gradually decrease with time. Thereafter, the current density increases again above passing 30 s till it reaches the steady state. Such deposition process is controlled by diffusion of Bi 3+ ions from the bulk solution to the rough substrate surface of Cu-Se alloy. The kinetics and nucleation mechanism can be predicted from the calculated and experimental S-H models for the chronoamperometric data. Therefore, the current-time plots in Fig. 5b indicate that the deposition reaction obeys the instantaneous nucleation mechanism. Typically, the deposition process proceeds through different reactions with the proposed Eqs. (15) and (16) as follows:  Fig. 6a. Similarly, the potential is directly proportional to the applied current density in the cathodic direction. This trend reflects the impact of deposition substrate on the behavior of the deposited material [35]. The calculated current efficiency and film thicknesses for galvanostatic electrodeposition of Bi on CuSe/Pt are plotted against current density as displayed in Fig. 6b. The increase in the current efficiency and film thickness values with increasing the current density is discussed by the first law of Faraday discussed before in Eq. (8) [27,35]. The most stable film with a thickness equal to 2.1 μm was obtained at a current density of − 40 mA.cm −2 with 60% current efficiency. This film was used for further physicochemical characterizations. Figure 7a depicts the XRD pattern for the deposited CBSe film by successive galvanostatic electrodeposition (i.e., two steps with conditions as mentioned in the experimental part at − 40 mA·cm −2 , 400 pm, and 50°C). The diffraction peaks indicate the formation of the triclinic polycrystalline Cu 1.6 Bi 4.8 Se 8 phase (JCPDS#01-080-1592). The same phase was obtained also with Fig. 4 a XRD pattern, b, c SEM images at different magnifications, d EDX analysis for electrodeposited binary Cu-Se alloy electrodeposition in previously reported work [14]. The formed phase shows high crystallinity suggesting enhanced crystals growth with good orientation. Thus, the successive way for electrodeposition of CBSe film is highly effective and suitable. Some peaks for metallic bismuth with rhombohedral structure in agreement with a reference card (JCPDS#01-085-1329) were observed in the XRD pattern revealing the deposition of elemental Bi during the reaction as a minor phase since the second deposition step in a successive way occurs in a solution of excess Bi +3 ions. The observed three peaks at 28 of 39.7°, 46.2°, and 67.5°refer to the presence of platinum substrate with a reference card (JCPDS#004-0802) [36].  Fig. 7d confirms the presence of the three-component elements Cu, Bi, and Se with non-stoichiometric ratios. The detected Bi in EDX results is consistent with the XRD finding. Figure 8 displays the elemental mapping of the recorded backscattered electrons for the ternary CBSe alloy formed through successive electrodeposition. The SEM mapping evinces the equal distribution of the three elements Cu, Bi, and Se over the whole sample suggesting the homogeneity of the deposited film [37]. Figure 9a-c indicates the XPS charts of each element Cu, Bi, and Se in the electrodeposited CBSe film through the successive way. Figure 9a displays the XPS scan for copper which consists of two apparent peaks related to 2P 3/2 and 2P 1/2 orbitals at 933 and 953 eV, respectively, indicating the presence of Cu 1+ (Cuprous) electronic state [38,39]. Moreover, the other two peaks at 936.5 and 956 eV for 2P 3/2 and 2P 1/2 are corresponding to the Cu 2+ (Cupric) electronic state [40]. Meanwhile, the XPS scan for bismuth confirms the presence of two different oxidation states for Bi. The first peak at 158 eV indicates the presence of metallic Bi, i.e., zero oxidation state, as illustrated from the Bi 4f XPS spectra matching the XRD results [41]. Another two peaks are detected at 160 and 164 eV for 4f 7/2 and 4f 5/2 splitting orbitals, respectively, confirming the presence of Bi +3 oxidation state as depicted in Fig. 9b [40]. Figure 9c reveals the fitting for XPS Scan for 3d Se which shows a peak at 53.7 eV due to the existence of the reduced Se 2− electronic state [38]. The second peak at 59.5 eV for the orbital 3d 3/2 could be attributed to the oxidized form of tetravalent Se 4+ [42]. Fig. 7 a XRD pattern, b,   deposition of Se, Cu, and Bi ions, respectively [14]. Likely, the suitable conditions for obtaining a higher current density for CBSe deposition are 400 rpm, 50°C, and 10 mV/s. Figure 11a shows the chronoamperometric curves for the simultaneous electrodeposition of ternary CBSe alloy from a solution mixture of 50 mM Cu(NO 3 ) 2 ·3H 2 O + 50 mM Bi(NO 3 ) 3 ·5H 2 O + 100 mM SeO 2 at different applied potentials − 100, − 200, − 300, and − 400 mV. The observed behavior of increasing the deposition rate of ternary elements (CuBiSe@Pt) with increasing applied deposition potential is similar to that of binary (CuSe@Pt) and ternary (Bi@Cu-Se@Pt) elements obtained by successive electrodeposition process. Moreover, the deposition curves can be distinguished into two different parts, the first one includes rapid deposition with high current density within a few seconds (< 5 s). The second part comes from the slow deposition rate due to the grain growth and film propagation till approaching the steady state, which is governed by the diffusion process of the ions from the bulk solution to the electrode surface [27]. The kinetic behavior of the deposition reactions is also studied through the (S-H) model, which was calculated from the potentiostatic data as displayed in Fig. 11b. The deposition process shifted toward the progressive nucleation deposition mechanism. Figure 12a demonstrates the chronopotentiometry diagrams for the galvanostatic electrodeposition of CBSe from aqueous solution containing 50 mM Cu(NO 3 ) 2 ·3H 2 O + 50 mM Bi(NO 3 ) 3 .5H 2 O + 100 mM SeO 2 at different current densities ranging from − 10 to − 40 mA cm −2 . Principally, the potential is increased with increasing the applied current density. By applying current density, a sharp increase in the potential was noticed in the negative direction to the maximum value. With passing the deposition time, the potential slightly decreases till it reaches the steady state, which depends on the diffusion process of ions from bulk to the electrode surface. The current efficiencies and film thicknesses of the deposited films can be calculated between the current density range from − 20 to − 90 mAcm −2 as displayed in Fig. 12b. The most stable and dense CBSe film can be obtained at a current density − 50 mAcm −2 , which gives the highest current efficiency of~70% and film thickness of about 1.58 μm. This film was used for further characterization, i.e., XRD, SEM, EDS, and conditions were applied for the electrodeposition on ITO glass for optical and photoelectrochemical characteristics. The simultaneous electrodeposition process occurs through different reactions according to the proposed equations from (17) to (25):

Structural and morphological characterization of formed CBSe by successive electrodeposition
Eur. Phys. J. Plus (2022) 137:907   Figure 13a represents the XRD pattern for the deposited CBSe film by simultaneous electrodeposition (i.e., one step at − 40 mA cm −2 , 400 rpm, 50°C). The observed diffraction peaks are related to the same ternary polycrystalline Cu 1.6 Bi 4.8 Se 8 phase as previously detected in successive electrodeposition studies. However, the crystallinity of the formed CBSe film is lower than that of the same CBSe film obtained by successive electrodeposition. This might be attributed to the fast deposition rate and the instantaneous nucleation mechanism resulting in smaller grain size crystals. Moreover, the presence of the three ions in a simultaneous electrodeposition process makes them compete with each other in the deposition on the substrate surface. Thus, the electrodeposition process is difficult to form the ternary alloy with a definite desired stoichiometric ratio [17]. Furthermore, a minor phase of metallic bismuth was also noticed revealing the separate behavior of each ion in the ionic mixture that led to the electrodeposition of metallic bismuth lonely instead of combining with the other ions to form the ternary CBSe alloy. The SEM images for the electrodeposited CBSe film by the simultaneous way are shown in Fig. 13b and c with two magnifications 5000 and 10000X. The morphology of deposited CBSe film appears as semi-hexagonal separated sheets with a diameter range of 10-20 μm. The chemical composition of the CBSe deposited film by EDX analysis in Fig. 13d confirms the close presence of the Cu and Se, while the Bi exists with a smaller percentage, which shows a lower degree of consistency with XRD results. This could be explained by the presence of certain elements like Bi in the amorphous form. Such obtained results reveal the significance and excellence of the successive electrodeposition of CBSe material rather than the simultaneous one.

Optical properties
The optimum conditions were applied for simultaneous and successive electrodeposition of CBSe films on indium tin oxide-coated glass (ITO glass) to measure the optical absorbance for deposited films. Thereby, deposited films on both Pt and ITO-coated glass using simultaneous and successive electrodeposition are shown in Fig. 14a-d. Figure 15a shows the absorption spectra for the deposited CBSe films by successive and simultaneous electrodeposition. Although both films absorb light in a wide range of wavelengths of UV-Visible light, the CBSe film obtained by successive method reveals higher absorbance intensity than that obtained by the simultaneous way as a result of ordered structure. By applying Tauc's law of Eq. (26), the bandgap energy values of the deposited CBSe films can be calculated from the linear extrapolation of the plot relation hυ versus (αhυ) 2 [43].
αhν A(hν − Eg) 1/2 (26) where "α" is the optical absorption coefficient, "h" is Planck's constant, "ν" is the photon frequency, "A" is a constant, and "E g " is the energy gap. The bandgap of CBSe film obtained by successive electrodeposition, 1.65 eV is lower than that of the film obtained by the simultaneous way: 1.82 eV [15] as shown in Fig. 15b. This could be explained by the fact that the bandgap energy decreases with increasing grain size, crystallinity, and homogeneous morphology [44,45]. Also, the recorded film thickness for the successively electrodeposited~6.1 μm is relatively larger than the simultaneously electrodeposited CBSe film~1.58 μm, which varies inversely with band gap value [46,47]. The same values of band gaps range (1.67-1.99 eV) were reported for copper bismuth selenide (the same material films) deposited by PVD technique and crystalize in the same phase, i.e., polycrystalline triclinic (Cu 1.6 Bi 4.8 Se 8 ) [46,48]. The band gap for bulk CBSe materials~0.99 eV prepared by solvothermal process [13] is lower than the obtained values for both electrodeposited CBSe films. In case of thin film materials, the absorption coefficient decreases and thus the refractive index of the optical rays decreases, leading to the increase in the optical band gap relative to bulk materials of thick films [48,49]. It is essential to note that the material with small bandgap energy can absorb light with a wide range of wavelengths. This allows the maximum utilization of the largest amount of light resulting in a higher photoelectrical response [50]. In general, the obtained band gap energy values are in good agreement with previously reported values for the same material prepared with electrodeposition and other methods [11,14,15].

Photoelectrochemical characterization
I-V characteristic curves of the photoelectrochemical cell (PEC) for electrodeposited CBSe films on ITO-coated glass are shown in Fig. 16. It is obvious that successive electrodeposited CBSe film has higher values of I-V parameters (e.g., I sc : short circuit Fig. 13 a XRD pattern, SEM images, b 5000X, c 10000X and d EDX analysis for simultaneous electrodeposited ternary CBSe alloy current, V oc : open-circuit voltage, FF: filling factor) than the simultaneous electrodeposited CBSe alloy. Obviously, the PEC based on successive electrodeposited CBSe anode achieved higher value of power conversion efficiency (η~1.26%) than that cell made of successive electrodeposited CBSe anode material (η~1.1%). The reason for this improved photoelectrochemical performance could be related to the good crystallinity, uniform microstructure, and high absorptivity of the successively electrodeposited CBSe electrode [51]. However, the obtained η values of PCE for both samples are lower than the previously reported one for the same material prepared by vacuum evaporation and applied as a layer in the stacked solar cell [15]. This behavior occurred, because the photoelectrochemical cell has lower efficiency than the photovoltaic cell as the incident light drops vertically on the cell and not perpendicularly which allows losing of some power. Furthermore, the electrolyte separation is considered as a barrier between the photoanode and the photocathode electrodes that wastes some energy of the incident light, while the photovoltaic has thin films using thinner coats of semiconductors to absorb and convert sunlight directly. The efficiency of CdTe photovoltaic cells is approaching about 20% in the laboratory and recorded at about 22.1% in 2016 [52], while the reported efficiency for CdTe photoelectrochemical cell is about 5% [53]. Therefore, the estimated range of PEC efficiencies for chalcogenide CBSe thin films is in good agreement with the previous studies about thin-film chalcogenides [12,13]. Summary of the electrodeposition process through the two different successively and simultaneously applied ways is given in Table 1, providing an inclusive comparison between the two ways from where the electrodeposition conditions, studied parameters, and main obtained results.

Conclusion
CBSe thin films were successfully electrodeposited on the platinum substrate in two different ways, successive and simultaneous. Different electrodeposition parameters were studied and comprised for the used two paths. XRD patterns for thin films prepared in both ways revealed a triclinic polycrystalline Cu 1.6 Bi 4.8 Se 8 as major phase and Bi metal as minor impurities. The electrodeposited ternary alloy CBSe film prepared by the successive way showed better crystallinity, larger film thickness (~6.1 μm), and uniform grain morphology. Elemental mapping for the CBSe film deposited by successive way evinced the homogenous distribution of the three elements Cu, Bi, and Se over the whole sample. XPS results for CBSe film by successive electrodeposition indicated that Cu exists in monovalent and divalent states, Bi in the elemental and trivalent states, and Se present in divalent and tetravalent states. The estimated bandgap energy of successive electrodeposited CBSe film offers higher absorption of solar light. Thus, higher power conversion efficiency (PCE) was achieved compared with the simultaneous electrodeposited film. It can be concluded that the successive electrodeposition technique is highly preferred to obtain photo-efficient, highly crystalline and homogeneous thin films of ternary chalcogenide systems.