1 Introduction

The kesterite materials based thin film solar cells are drawing considerable attention attributed to its excellent environmental stability and low-cost [1]. At present, copper indium gallium selenide (CIGS) and cadmium telluride (CdTe) absorber material based solar cells are available commercially in the market. These materials based solar cells have achieved more than 20% efficiency on the laboratory scale [2]. However, due to the toxicity issue of cadmium and gallium, and less availability of indium and telluride, the large scale production is limited [3]. CZTS is emerging as a promising alternative absorber material, attributed to less toxicity and easily available constituents [4]. Furthermore, it has a direct band gap of 1.4–1.6 eV and high absorption coefficient (104 cm−1) with p-type conductivity [5]. So far, 12.7% efficiency is reported for the CZTS based solar cells in recent years [6], which is quite encouraging. However, it is still less than theoretically calculated by Shockley and Queisser (32%) [7].

Up till now, various techniques are reported to develop CZTS thin films, such as sputtering [8], electro-deposition [9], thermal evaporation [10], pulse laser deposition [11], chemical vapor deposition [12], sol–gel spin coating [13], spray pyrolysis [14], etc. To reduce the further cost of solar cell preparation, the chemical based technique can be employed [15, 16]. Among these techniques, spray pyrolysis is considered as the most appropriate technique for the preparation of low-cost thin film solar cells [17]. This technique can be easily employed for the large-scale production as well. Till now, numerous researchers have reported preparation of CZTS thin films using spray pyrolysis method [18,19,20,21,22,23]. The physical properties of CZTS thin films are utterly dependent on the process parameters and condition. If the process conditions are not appropriate, a secondary or ternary phase occurrence may take place [24]. Thus, it is essential to determine values of the major thin film quality control parameters (with best combination) to obtain the optimum thin film for solar cell applications. All the quality control parameters are listed in our previous review paper [25]. The maximum studies on optimization have considered one factor at a time for the CZTS thin film optimization. The effect of substrate temperature on CZTS thin film properties is reported in the literature [26,27,28]. The effect of copper content on CZTS thin film properties is well reported [29,30,31]. The higher Zn/Sn ratio leads to enhanced CZTS film properties [22, 32, 33]. Rajeshmon et al. [34] studied the effect of spray rate on the properties of CZTS film. However, to the best of Author’s knowledge, a comprehensive study on the simultaneous effect of each of the major parameters for optimization of spray coated CZTS thin film is not yet reported.

To carry out this kind of comprehensive study, design of experiments (DoE) method can be implemented. The most efficient DoE method reported are factorial design, Taguchi method, response surface methodology, contour mapping, grey analysis, etc [35]. When a single response optimization based on multiple parameters is area of interest then, Taguchi method is superior DoE method as less number of experiments is required to identify the optimum condition. If four parameters are varied at three different levels, 81 experiments are required to identify the optimum combination. Whereas, Taguchi method uses the orthogonal array design and the analysis of variance (ANOVA) to identify the interaction of the control parameters with the response, hence it can give optimum combination in only 9 experiments [36]. However, Taguchi method will give an optimum combination of the controlling parameters. If a specific optimum condition or multi-response optimization based on multiple parameters is area of interest then, response surface methodology (RSM) is the superior method. RSM method generates a mathematical model between the parameters and desired responses based on experimental design [37]. Two types of designs, namely, Central Composite design (CCD) and Box–Behnken design (BBD) are used in RSM. These designs requires more number of experiments than Taguchi (31 in CCD and 29 in BBD), still these are less than conventional (81). Finally, mathematical model is optimized and specific optimum condition can be achieved.

In the present study, the spray pyrolysis method is employed for the CZTS thin film preparation. The four essential thin film quality control parameters, namely, Cu/Zn + Sn ratio, Zn/Sn ratio, substrate temperature and spray time, are studied in detail. Furthermore, to obtain the optimum combination of control parameters the Taguchi approach with L9 orthogonal array design is used. The effect of parameters on optical, structural and surface properties of the thin film are studied using UV–Visible, X-ray diffraction (XRD) and field emission scanning electron microscopy (FE-SEM), respectively. Furthermore, the solar cells are fabricated for all 9 thin films prepared using L9 orthogonal array as well as optimum condition successfully. A novel cell fabrication (inverted) is proposed based on tandem cell principle. The cell is fabricated as FTO/i-ZnO/Al:ZnO/CdS/CZTS/CuS/FTO. Additionally, to obtain optimum process condition with multiple responses, the RSM is carried out.

2 Experimental

2.1 Materials

Copper (II) chloride (CuCl2·2H2O), zinc acetate [Zn(O2CCH3)2(H2O)2], tin chloride (SnCl2·2H2O), thiourea [SC(NH2)2], cadmium acetate [Cd(OCOCH3)2] and isopropyl alcohol (IPA) of analytical grade were purchased from S. D. Fine chemicals, India. A fluorine doped tin oxide (FTO) glass substrate was purchased from Sigma-Aldrich. Argon gas was used for annealing. All the chemicals were used without further purification.

2.2 Methodology

2.2.1 CZTS thin film preparation by spray pyrolysis

The spray pyrolysis method was implemented to prepare CZTS films on the FTO glass substrate. The precursor solution was prepared by dissolving 0.1 M precursor of Cu, Zn, Sn and S into a mixture of IPA and water (2:1). Few drops of monoethanolamine were added as a stabilizer. Thiourea was provided in excess (three times) than its stoichiometric requirement to compensate the sulfur loss during spray pyrolysis. The precursor solution was sprayed for the specific time on the heated glass substrate. Air was used as carrier gas and its pressure was kept constant (2 bar) throughout all the experiments. The distance between nozzle and substrate was kept constant (20 cm). The molar concentration of precursors (Cu, Zn and Sn), substrate temperature and spraying time were varied at three levels as shown in the Table 1. Then the film was annealed at 500 °C under an argon atmosphere to avoid sulfur annealing, which is a toxic approach of annealing. The CZTS films were prepared according to Taguchi design L9 array as shown in Table 2. Nine experiments are termed as R1–R9.

Table 1 CZTS thin film quality control parameters and their levels in the thin film preparation
Table 2 L9 Orthogonal array along with EDX results

2.2.2 Taguchi method

Taguchi method utilizes distinct design of orthogonal array to study the entire range of parameters with a very less number of experiments. For the selection of appropriate orthogonal array, the essentials are (i) enlist the process parameters and interactions to be assessed (ii) the number of levels (variation) for the selected parameters, and (iii) the estimation of the total degree of freedom based on the number of parameters as well as their levels. The analysis of experimental data and the optimum combination of process parameter is determined using signal-to-noise ratio (S/N).The influence of the process parameters on the response (result) is determined by ANOVA. At the end of completion of the procedure, a combination of control parameters is acquired, which may lead to the optimum results. In the present study, four factors (quality control parameters) were enlisted, namely, copper to zinc + tin ratio (Cu/Zn + Sn) (A), zinc to tin ratio (Zn/Sn) (B), substrate temperature (C) and spray time (D). More than two levels of the parameters must be examined to understand the non-linear behavior of the process parameters (if exists). Hence, the parameters were varied at 3 level, which implies L9 (34) orthogonal array. The band gap of CZTS is considered as the response of experiments. The objective of the study is to minimize the band gap of CZTS to the optimum reported band gap (1.5 eV). Hence, the smaller-is-better was preferred for the estimation of S/N ratio. The S/N ratio was calculated using the following equation:

$$\frac{S}{{{N_i}}}= - 10~\log ~\left[ {\frac{1}{n}\mathop \sum \limits_{{j=1}}^{n} Y_{{ij}}^{2}} \right]$$
(1)

where, i is an experiment, n is number of experiment carried out, Yij is the measured value for i and j = 1 to n. Table 2 illustrates the orthogonal array of the 9 thin film preparation conditions used for calculating the signal to noise ratio (S/N ratio). Each experiment was carried out two times and an average of two values was used for S/N ratio calculation. All the analysis and calculation in this present study were carried out using Microsoft Excel.

2.2.3 Response surface methodology

Although Taguchi approach has the benefit of few experiments, it has a limitation as well. Taguchi approach is not applicable for the multiple response optimization. The traditional method for multiple response optimization is overlaid the contour plots. However, it is beneficial up to two or three parameters only; if more than three parameters are introduced then it loses its efficiency. Hence, other optimization methods such as, grey analysis, factorial design, RSM, etc. are introduced, in which RSM is more preferable as it gives a specific optimum value from entire range for each parameter using mathematical models. Initially, Box and Draper had introduced the RSM for modeling the experimental responses in 1987 [38]. Later on, it is used as an optimization tool. The RSM became more common after Venter et al. [39] discussed advantages of RSM in the optimization. RSM creates a mathematical model for specific problem based on designs of experiments and hence, it gives a specific optimum condition. Typically, two types of experimental designs namely, (i) Central composite and (ii) Box–Behnken are available. The Central composite design follows the full quadratic model, whereas Box–Behnken can be applied to first and second order models. Box–Behnken requires three levels per parameters. Hence, the same parameter and their levels used in Taguchi approach are considered for RSM. According to the Box–Behnken design of experiments, four factors and three levels and five central point leads to the 29 experiments. All the analysis and calculation, as well as optimization were carried out using Design Expert V10.

2.2.4 Device fabrication

Firstly, the FTO substrate (20 mm × 20 mm × 2 mm) was etched with Zn powder and 2 M HCl diluted in water, and then cleaned with DI water, followed by sonication with acetone (10 min). Further, it was rinsed in double distilled water and lastly dried under vacuum oven at 60 °C. In frequently reported CZTS cell structure, the electron transport layer (ETL) (ZnO and CdS) is coated on the top of CZTS layer. In this study, the cell fabrication is inverted. The ETL layers were deposited upon the transparent electrode (FTO) and hole transport materials (HTM) were coated on the top of ETL in order to utilize light spectra in large amount. In our previous work, we have optimized the ZnO layer [40]. In the present study, the same procedure was followed to prepare ZnO layer. A clear solution of ZnO was prepared by dissolving zinc acetate in IPA + water mixture (2:1) and sprayed on the heated (365 °C) FTO substrate. Previously we have reported application of Cu and Ag doped ZnO layer [41, 42]. In present study, Al-doped ZnO solution was prepared and sprayed on the ZnO layer at the same substrate temperature. Further, the CdS layer was deposited by spraying a clear aqueous solution having 0.1 M of cadmium acetate and 0.1 M of thiourea (at 320 °C substrate temperature). Consequently, the CZTS solution was deposited on the CdS layer.

The CuS/FTO was used as the counter electrode. The CuS solution was prepared by dissolving 0.1 M copper chloride and 0.1 M thiourea in IPA-water mixture (2:1). It was sprayed at 320 °C substrate temperature. To study the statistics of solar cell performance, five solar cells were fabricated for each array as well as for optimum combination thin film based solar cell. Further, forward and reverse scanning was carried out for optimum thin film based solar cell.

2.2.5 Characterization

The band gap of CZTS film was evaluated by the Tauc’s plot using UV–Vis (HACH-DR 6000/2 UV spectrometer) within the range of 300–1100 nm at room temperature. The structural properties of thin films and the consequent solar cells were analyzed by XRD (Rigaku D/Max 2200). Cu–Kα1 was used as the source of the X-rays with the wavelength of 1.5418 Å. The surface morphology of the thin film was studied using a field emission scanning electron microscope (FE-SEM, Joel JSM-7600F, JEOL Ltd.) and the elemental composition study of CZTS film was carried out using the scanning electron microscopy (SEM, S3400, Hitachi International Ltd.) accompanied with energy dispersive X-ray spectroscopy (EDX). The SEM images were taken under high vacuum (10−5 bar). The EDX data were measured at three different locations for each of the sample. The J–V characteristic of the solar cell was recorded using Keithley 2400 solar simulator (Keithley Instruments, Inc, USA) under AM 1.5G illumination at 100 mW cm−2. A xenon lamp was used as a source of light.

3 Result and discussion

3.1 Analysis of signal-to-noise ratio and variance

Table 2 depicts the experimental data of the band gap and corresponding S/N ratios. The elemental analysis of all the samples (R1–R9) is also shown in Table 2 (See the results of EDX results in Supporting Info). The mean S/N ratio for each of the control parameter is calculated based on Table 2. The mean S/N ratio of each of the control parameter at each level is listed in Table 3. Figure 1 depicts the value of mean S/N ratios graphically. The greater value of S/N ratio indicates that the band gap is low. As observed from Table 3, the optimum combination is A1 = 0.8 (Cu/Zn + Sn), B3 = 1.1 (Zn/Sn), C2 = 320 °C (substrate temperature) and D2 = 10 s (spray time). The ANOVA is performed to determine the significance (contribution) of quality control parameters on the response (the band gap). The results of ANOVA for the band gap are listed in Table 4. The substrate temperature demonstrated a prominent effect on the band gap, as its contribution is largest (57.97%). The second most affecting parameter is the Zn/Sn ratio (20.77%) and third contributing parameter is the Cu/Zn + Sn ratio (15.72%). However, spray time contributed lowest effect on band gap (5.53%). Hence, it is considered insignificant.

Table 3 Factor response table of S/N ratio
Fig. 1
figure 1

The means of signal-to-noise for smaller is better

Table 4 ANOVA results of Taguchi Method

3.2 Optical analysis of orthogonal array

The band gap of each of the sample is estimated from the Tauc’s plot using following equation:

$${(\alpha h\nu )^2}=h\nu - ~{E_g}$$

where, α is the absorbance coefficient and hʋ is photon energy. The band gap of all the samples is observed to be varying from 1.53 to 1.98 eV (see Fig. 2). It is observed that at low substrate temperature (280 °C) the band gap is higher than desired band gap value for CZTS film [43,44,45,46,47]. However, increase in temperature led to reduction in the band gap. Hence, the substrate temperature is observed to be the prominent control parameter, which is in agreement with ANOVA results (Table 4).

Fig. 2
figure 2

(αhʋ)2 versus (hʋ) plot of all the nine samples of CZTS thin films

3.3 Structural analysis of orthogonal array

The presence of secondary phase in CZTS thin film may attribute to the enhanced band gap. Numerous authors have reported the presence of secondary phase, copper based (CuS, CuxS, etc.) for Cu-rich film [48,49,50,51] and zinc based (ZnS, ZnSnS3, etc.) in Zn-rich film [52, 53]. The XRD analysis of the as-deposited film is carried out for all the experiments and the results are illustrated in Fig. 3. Daranfed et al. [52] has reported that the secondary phase formation also depends on the type of solvent. Use of water as a type of solvent may lead to copper based secondary phase, whereas alcohol as solvent may lead to zinc based secondary phase. In the present study, both copper-based (CuS and Cu2S) and zinc-based (ZnS and ZnSnO3) secondary phases are obtained. This result may be attributed to the presence of both IPA and water.

Fig. 3
figure 3

XRD analysis of all the nine samples of CZTS thin films

The XRD peaks are observed at 2θ values of 28.5°, 32.8°, 46°, 56.52° and 69°, corresponding to (112), (200), (220), (312) and (008) planes respectively. The results are in good agreement with generally reported CZTS kesterite structure in the literature [54,55,56,57]. In addition, in all the samples, a secondary phase of ZnS is also observed. However, at optimum temperature (320 °C), the impurity of ZnS is negligible (as observed in Fig. 3, from lesser intensity corresponding to ZnS). The impurity of ZnS is present at low temperature (280 °C), however, attributed to large band gap value. Similarly, at high temperature (360 °C) also, minor impurity of ZnS is present. In addition, ZnSnO3 is also present due to oxidization.

3.4 Morphological analysis of orthogonal array

Figure 4 depicts the surface morphology of all the samples. Larger grains (agglomerated) and non-uniform films are obtained at low temperature (280 °C, represented as R1, R6 and R8). Upon increment in temperature from 320 (see R2, R4 and R9) to 360 °C (see R3, R5 and R7), the grain size is reduced and uniformity is increased. Although spray time is not highly affecting parameter for band gap, it affects surface morphology to some extent. The low spray time (5 s) led to voids in morphology (R1, R5 and R9). In addition, high spray time (15 s) also led to undesired agglomeration (R3, R4 and R8). A uniform and dense morphology is observed at optimum spray time (10 s). The superior result is achieved at R2.

Fig. 4
figure 4

Surface morphology of all the nine samples of CZTS thin films

3.5 Solar cell characterization of orthogonal array

The solar cells fabricated with all the samples are further characterized by solar simulator. The solar cell efficiency is measured under AM 1.5G illumination at 100 mW cm−2. The statistics of all nine solar cells and J–V characteristics for all the nine samples are shown in Fig. 5 and Table 5, respectively (see extensive information containing table in Supporting Info as Table 1). Basically, the solar cell efficiency is dependent on band gap and morphology. Additionally, copper percentage (Cu/Zn + Sn ratio) also can affect efficiency. If this ratio is less, efficiency can be high. Fundamentally, copper reduces the shunt resistance and which leads to poor cell performance as reported in various literatures [14, 28, 33, 34, 55]. The superior efficiency and small variation is achieved with the combination of control parameters suggested in R2. The solar cell exhibited 3.10 ± 0.18% of power conversion efficiency (PCE) with Voc, Jsc, and FF of 510 ± 4.9 mV, 12.15 ± 0.35 mA cm−2 and 50 ± 1.00%, respectively. (See cross section and XRD of full solar cell in Supporting Info as Fig. 1 and 2, respectively).

Fig. 5
figure 5

J–V characteristics of all the solar cells

Table 5 Statistics of solar cell of all nine solar cells

3.6 Confirmation test

In the present study, Taguchi optimization (L9) is performed successfully. Best result among all the 9 orthogonal arrays is achieved with R2 array. The optimum design parameters selected are Cu/Zn + Sn 0.8; Zn/Sn 1.1; substrate temperature 320 °C; and spray time 10 s. The quality characteristic enhancement using the optimum combination (of design parameter) is consequently verified at the final step. Further, a comparison of result of optimum combination with the results of R2 is also done, to check whether any enhancement is achieved or not. Table 6 depicts the result of comparison between R2 as well as optimum combination. It clearly indicates that the results achieved by the optimum combination are superior to the results achieved by R2. Figure 6 depicts the Tauc’s plot, XRD analysis and the SEM image of the film prepared using optimum combination. It also depicts the J–V characteristics of forward scan as well as reverse scan of solar cell prepared using optimum combination. The band gap achieved with optimum combination is favorably less (1.49 eV) than that achieved with R2 (1.53 eV). Additionally, the peak intensity of (112) plane with optimum combination is also favorably higher than that with R2. Not only that, the morphology is also good (dense and uniform). In particular, more than 15% improvement in efficiency and decrement in variation is observed for the solar cell prepared using optimum combination (3.63 ± 0.10%) than that with R2 (3.10 ± 0.18%). The fill factor is also improved from 50 ± 1.00 to 53 ± 0.50%. Further, the optimum combination based solar cell demonstrated negligible hysteresis effect as 3.56 ± 0.14% efficiency is achieved in reverse scan.

Table 6 Comparison between the results of R2 and optimum combination based on Taguchi optimization
Fig. 6
figure 6

a Band gap of thin film, b XRD analysis of the film, c surface morphology of the film, d J–V characteristics of forward and reverse scan of the solar cell prepared using optimum combination

3.7 Response surface methodology

Table 7 illustrates the Box–Behnken experimental design along with both responses (band gap and efficiency). The analysis is carried out in Design Expert V10. The full quadratic model is selected while analyzing RSM. Table 8 depicts the ANOVA results obtained. With multiple responses, the substrate temperature is yet again observed to be the prominent control parameter (p-value < 0.05 in both response). R2 values observed are also nearly unity for the band gap model (99.69%) and efficiency model (99.70%). Hence, it is clear that the suggested model is highly valid.

Table 7 Box–Behnken design and responses for the band gap and efficiency
Table 8 ANOVA results of RSM

Further, using the ‘Optimization’ feature of software, the optimum condition is obtained. The optimum condition obtained is A = 0.8 (Cu/Zn + Sn ratio), B = 1.1 (Zn/Sn ratio), C = 327.34 °C (≈ 330 °C) (substrate temperature) and D = 10.97 s (≈ 11 s) (spray time). The results are in agreement with the results obtained by Taguchi approach. (A = 0.8, B = 1.1, C = 320 °C and D = 10 s). Additionally, using ‘Point prediction’ feature of the software also, the optimum result is predicted. The predicted optimum solar cell efficiency is 3.69% with 1.51 eV band gap. The results are also in line with Taguchi results (3.63 ± 0.10% and 1.49 eV) as well.

Hence, it can be said clearly that the results of RSM and Taguchi approach are quite similar. Furthermore, a confirmation test is also carried out on the optimum condition obtained with RSM method. A motivating result is obtained with maximum efficiency achievement of 3.65%. Hence, more than 17.7% improvement in efficiency is observed with RSM.

4 Conclusion

In the present study, the effect of four main process parameters, namely, Cu/Zn + Sn ratio, Zn/Sn ratio, substrate temperature and spray time on the properties of spray coated CZTS thin film are studied in detail. For optimization of the process condition, the Taguchi orthogonal (L9) array is applied. The optical analysis suggests that low temperature is attributing more enlargements in band gap due to the presence of secondary phase, confirmed by XRD analysis. Upon increasing the temperature, the band gap closes down to commonly reported band gap (1.4–1.6 eV). However, all the thin film exhibited polycrystalline nature with a preferred orientation of (112) plane, which suggests presence of kesterite structure. Additionally, the prepared thin films are applied in solar cell fabrication. A novel cell fabrication (inverted) FTO/i-ZnO/Al:ZnO/CdS/CZTS/CuS/FTO is implemented. The least band gap (1.53 eV) and maximum efficiency (3.10 ± 0.18%) is achieved by R2. The optimum combination (A1B3C2D2; A = 0.8, B = 1.1, C = 320 °C and D = 10 s) is determined using signal to noise ratio analysis. The contribution of the various control parameters on the result is analyzed by analysis of variance. The substrate temperature is observed to be the most prominent control parameter affecting band gap. Subsequently, Zn/Sn ratio and Cu/Zn + Sn ratio are observed to be second and third most affecting control parameters, respectively. However, spray time is not highly affecting control parameter for the band gap. The confirmation test is also carried out to validate the optimum condition. The film prepared using optimum process condition has outperformed the results achieved by R2 (1.49 eV). Similarly, efficiency is also improved, variation is decreased and negligible hysteresis effect is achieved (3.63 ± 0.10% in forward scan and 3.56 ± 0.14 in reverse scan) by optimization. More than 17% improvement in efficiency is observed. In addition, the RSM is implemented to obtain specific optimum condition from the entire range of parameter. According to RSM, the optimum condition is Cu/Zn + Sn = 0.8, Zn/Sn = 1.1, substrate temperature = 330 °C and spray time = 11 s. A confirmation test is carried out for RSM as well. 3.65% of PCE is achieved using optimum condition obtained by RSM (with 17.7% improvement). Overall, optimum conditions observed can be utilized for further films preparation for solar cells application.