1 Introduction

In recent years, kesterite materials are gaining importance in the different articles due to its stable, earth-abundant, nontoxic and have excellent electrical and optical properties. All of these properties make the kesterite materials capable of being good compotators to conventional materials like CdTe, GaAs materials [1,2,3]. The privilege of the kesterite materials is by virtue of their stability after the preparation for a long time without revealing any mark for degradation. Such characteristics make these materials as good candidates for different applications like optical devices and photovoltaic devices [4, 5]. Recently, the articles concentrated on a different kesterite materials like Cu2ZnSnS4, Cu2NiSnS4, Cu2CoSnS4, and Cu2FeSnS4 due to they displayed a high absorption coefficient, p-type conductivity and narrow bandgap. So these materials act as good absorber layers in thin-film solar cells [6, 7]. These kesterite thin films demonstrated high solar efficiency in various articles. The efficiency of the CZTS solar cell is 5.1% by the spray pyrolysis technique [8] and reaches to 9.6% via the thermal evaporation process [9]. Moreover, the Cu2NiSnS4 thin films display excellent electrical properties in the Ag/n-Si/Cu2NiSnS4/Au heterojunction which demonstrate a solar efficiency of about 11.34% [10]. The previous articles displayed that the Cu2CoSnS4 (CCTS4) thin films demonstrate p-type conductivity, and narrow energy gap so they suitable to be a good absorber layer for thin-film solar cells [11]. The CCTS4 films have been prepared by various processes like spin coating [12], spray pyrolysis technique [13] and electrodeposition [14]. The previous studies on the Cu2CoSnS4 films were concentrated on the structural, current–voltage and energy gap studies. Beraich et.al present the X-ray diffraction, Raman spectroscopy and energy gap studies of the Cu2CoSnS4 films [14]. El Radaf et.al present the electrical and photovoltaic properties of the Al/n-Si/ Cu2CoSnS4/Au heterojunction which demonstrates a solar efficiency of 6.17% [15]. The previous studies displayed that, there are no articles reported the optoelectrical, dispersion and nonlinear optical properties of the CCTS4 films. So this work focused on studying the optoelectrical, linear/nonlinear optical properties of CCTS4 films that are deposited by utilizing the spray pyrolysis technique.

2 Experimental details

CCTS4 thin films were fabricated successfully using an inexpensive spray pyrolysis technique via the reaction between high purity copper chloride, cobalt chloride, tin chloride and thiourea according to the present molarity 0.1 M copper chloride, 0.05 M cobalt chloride, 0.05 M tin chloride and 0.2 M thiourea SC(NH2)2. A double distilled water was used for solution preparation. The CCTS4 solution was magnetically stirred at 50 °C for 1 h to get a uniform brown solution. The CCTS4 solution was sprayed above the glass substrate via the spray pyrolysis technique according to the following conditions: the solution flow rate equal 20 ml/min, the substrate temperature equal 300 °C, the pressure of air equal 3 at and the distance between the nozzle and substrate adjusted to be 30 cm. CCTS4 thin-film thickness was measured via an alpha step D 500 stylus profilometer. Finally, thickness magnitudes of CCTS4 films were (160 nm, 230 nm, 297 nm and 345 nm).

In this work, the structural and surface morphology characterizations of the CCTS4 films were researched via Philips X' pert diffractometer, and the field emission scanning electron microscope (FE-SEM, Quanta FEG 250, and FEI, USA), respectively. The optical investigations like the optoelectrical, linear/nonlinear optical calculations of the CCTS4 films have been investigated by collecting the transmittance and reflectance data of the CCTS4 films using a spectrophotometer (kind JASCO Corp., V-570).

3 Results and discussions

3.1 Structural study

The crystal structure of the CCTS4 thin films was checked by the X-ray diffraction instrument (kind X’Pert) with CuKα radiation. The results of the XRD for CCTS4 thin films were presented in Fig. 1. The analysis of this figure displayed that the sprayed CCTS4 films are polycrystalline and the indexed planes of the polycrystalline CCTS4 films were matched with the standard data JCPDS No. 26-0513 which belong to the tetragonal crystal system. In addition, the diffraction peaks of this pattern were positioned at 28.49°, 48.36° and 57.31° according to (112), (204) and (312) planes, respectively. Moreover, the structure constants of the polycrystalline CCTS4 films represented in the strain function (ε), the crystallite size (D), the number of crystallites per unit surface area \({N}_{\text{C}}\) and the dislocation density (δ) were computed according to the below Scherer formulas [16,17,18,19]:

Fig. 1
figure 1

X-ray diffraction patterns of the CCTS4 thin films deposited at a different thickness (160 nm, 230 nm, 297 nm and 345 nm)

$$D=\frac{0.9 \lambda }{\beta \text{cos}\theta }$$
(1)
$$\delta =\frac{1}{{D}^{2}}$$
(2)
$${N}_{\text{C}}=\frac{t}{{D}^{3}}$$
(3)
$${\varepsilon }_{\text{s}}=\frac{\beta \text{cos} (\theta )}{4}$$
(4)

where \(\beta ,\theta\), \(\varepsilon\), t denote the experimental full width at the half maximum (FWHM), the Bragg diffraction angle, the lattice strain and the film thickness, respectively.

Table 1 presented the computed values of \(D\), \(\delta\), \({N}_{\text{C}}\), and \({\varepsilon }_{\text{s}}\) for the CCTS4 thin films. The results in Table1 demonstrated that the raising of film thickness for the CCTS4 thin films accompanied with a rise in the crystallites size (D). This behavior related to increasing the film thickness leads to coalesce of the crystallites with each other and hence improving the crystallinity of films which led to an increase in the crystallite size D.

Table 1 The structure parameters of the sprayed CCTS4 thin films

Also, the raising of film thickness for the CCTS4 thin films accompanied with a reduction in the magnitudes of the dislocation density \(\delta\), number of crystallites per unit surface area \({N}_{\text{C}}\) and the strain function (ε) of the CCTS4 thin films. This behavior due to the \(\delta\), \({N}_{C}\), and \({\varepsilon }_{\text{s}}\) is inversely proportional to the crystallite size. So, when the crystalline state of a material depends on crystallite sizes, D; where if D has increased the crystallinity of the material increases. Thus, \(\delta\), \({N}_{\text{C}}\), and \({\varepsilon }_{\text{s}}\) in the material decreases.

Figure 2 depicted the variation of the crystallites size (\(D\)) and the number of crystallites per unit surface area \({N}_{\text{C}}\) with the thickness of the CCTS4 films. The analysis of this figure displayed that the rise of the film thickness leads to the rise of the values of crystallites size (D) and reduces the magnitudes of the number of crystallites per unit surface area \({N}_{\text{C}}.\) The EDAX analysis of the CCTS4 thin film synthesized at 345 nm was given in Fig. 3 as a representative example.

Fig. 2
figure 2

The crystallite size and the dislocation density as a function of the film thickness for the CCTS4 thin films

Fig. 3
figure 3

The SEM micrograph of the CCTS4 film deposited at a different thickness (160 nm, 230 nm, 297 nm and 345 nm)

The high-resolution SEM micrograph of the CCTS4 thin film synthesized at different thicknesses (160 nm, 230 nm, 297 nm and 345 nm) were illustrated in Fig. 3 and displayed that the CCTS4 films have a uniform and homogeneous surface. Moreover, the EDAX data of the CCTS4 films have been presented in Table 2 which presents the constituents’ ratio of the elements forming the studied films. The EDAX analysis and the EDAX graph confirm the existence of copper, cobalt, tin and sulfur in the as-deposited CCTS4 thin films. In addition, the atomic percentage of Cu, Co, Sn and S in the as-deposited CCTS4 films is close to 2:1:1:4 so the CCTS4 films are nearly stoichiometric.

Table 2 The EDAX data for the CCTS4 thin films

3.2 Linear optical properties

3.2.1 Transmittance and reflectance spectra

In this study, the optical properties of the sprayed CCTS4 films with different thicknesses (160 nm, 230 nm, 297 nm and 345 nm) were investigated via recording optical transmittance and reflectance data in view of incident wavelength λ alteration in the domain of (400–2500 nm). Figure 4a, b present the transmittance and reflectance spectra of the CCTS4 films. It is observed from these curves that the values of reflection for the CCTS4 films were boosted by enlarging the film thickness while the transmittance magnitudes have a reverse manner.

Fig. 4
figure 4

a The transmittance spectra of the CCTS4 films under investigations, b the reflectance spectra of the CCTS4 films under investigations

3.2.2 Absorption coefficient and absorption index

The recording of both transmittance and reflectance data of the CCTS4 films helped us in estimating the magnitudes of the absorption coefficient α according to the relation [20, 21]:

$$\alpha =\frac{1}{d}\text{ln}\left[\frac{{\left(1-R\right)}^{2}}{2T}+{\left(\frac{{\left(1-R\right)}^{4}}{{4T}^{2}}+{R}^{2}\right)}^{1/2}\right]$$
(5)

Here d presents the thickness value.

Figure 5a depicts the variation of the absorption coefficient for the CCTS4 films with wavelength. From this plot, it can be seen that the absorption coefficient of the CCTS4 films was increased with the rise of the film thickness. Also, all films revealed high values of the absorption coefficient.

Fig. 5
figure 5

a The absorption coefficient as a function of wavelength for the CCTS4 thin films, b The absorption index K as a function of wavelength for the sprayed CCTS4 films

The absorption index (k) of the CCTS4 thin films synthesized at different thicknesses (160 nm, 230 nm, 297 nm and 345 nm) was calculated via the formula [22, 23]:

$$K= \frac{\alpha \lambda }{4\pi }$$
(6)

The absorption index dependence on wavelength for the CCTS4 films is given in Fig. 5b. It is seen from this plot that the magnitude of \(k\) rises up with increasing the film thickness.

3.2.3 Energy gap and Urbach energy evaluation

The energy gap values for the CCTS4 films were determined using Tauc's equation [24, 25]:

$$\alpha h\nu =B{\left(h\nu -{E}_{\text{g}}\right)}^{P}$$
(7)

In this equation, p is an important factor that detects the kind of the optical transition where the p value may be equal 1/2, 2 for direct allowed, indirect allowed transitions, respectively. Also, B denotes a band tailing parameter.

The fits for different values of p factor have been examined and the best fit was obtained at p equal 1/2. Figure 6 implies the alteration of (αhν)2 due to the variation in photon energy () for the CCTS4 films. This plot illustrated the direct energy gap for the CCTS4 thin films and the bandgap values were evaluated by extending this straight line of the curve to intercept x-axis at zero (αhν)2. Table 3 presented the direct energy gap values for the CCTS4 thin films and these values were lowered from 1.41 to 1.12 eV by enlarging the film thickness. The redshift in the absorption edge with the increase of the thickness comes out from the increase in the grain size that accompanied by boosting the disorders and defects, number localized states in the gap which leads to extending the band tail and thus increasing the Urbach's energy [26, 27]. In addition, Table 4 presents the Eg values for different kesterite thin films like Cu2CoSnS4, Cu2ZnSnS4, Cu2CdSnS4, Cu2NiSnS4, Cu2FeSnS4 thin films [28,29,30,31]. It is noted from this table that, our results in a good agreement with the values recorded by Banavoth, et.al [32]. Moreover, the Urbach's energy Eu of the CCTS4 films was computed via studding the relation between ln (α) and the photon energy () according to the Urbach formula [33, 34]:

Fig. 6
figure 6

Plot of \({(\alpha h\nu )}^{2}\) versus the photon energy \(h\nu\) for the CCTS4 thin films

Table 3 The optical band gap and the values of the dispersion parameters for the CCTS4 thin films
Table 4 The Eg values for the different kesterite thin films
$$\alpha ={\alpha }_{\text{o}}\text{exp}\left(h\upsilon /{E}_{\text{u}}\right)$$
(8)

Figure 7a illustrates the plotting ln (α) against for the CCTS4 films with different thicknesses (160 nm, 230 nm, 297 nm and 345 nm). It is observed from this plot that the magnitude of Urbach energy Eu of the CCTS4 thin films increased with the rise of the film thickness. The computed values of the Eu for the CCTS4 films were recorded in Table 3.

Fig. 7
figure 7

a The variation of the ln (α) with the wavelength for the CCTS4 thin films., b The refractive index n as a function of wavelength for the sprayed CCTS4 films under study

3.2.4 Refractive index and dispersion analysis

The refractive index, n of the sprayed CCTS4 films synthesized at various thicknesses (160 nm, 230 nm, 297 nm and 345 nm) can be evaluated by exploiting the magnitudes of the reflectance (R) and absorption index (k) according to Fresnel formula [35, 36]:

$$n=\frac{(1+R)}{(1-R)}+{\left(\frac{4R}{{\left(1-R\right)}^{2}}-{K}^{2}\right)}^\frac{1}{2}$$
(9)

Figure 7b depicts the impact of film thickness on the refractive of the sprayed CCTS4 films. It is observed that by boosting the film thickness, the refractive index rises up. This behavior related to the rising of the free carrier concentration with rising the film thickness [37].

The dispersion parameters of the CCTS4 films were discussed in view of Wemple–DiDomenico model according to the equation [38]:

$${n}^{2}\left(h\nu \right)=1+\frac{{E}_{d}{E}_{o}}{\left({E}_{o}^{2}-{\left(h\nu \right)}^{2}\right)}$$
(10)

Here \(\hslash \upsilon\) displays photon energy.

The Eo and Ed values for the CCTS4 films were extracted from slopes (EoEd)−1 and intercepts (Eo/Ed) of the plot \(({n}^{2}-1{)}^{-1}\) against the \(({\hslash }\upsilon {)}^{2}\) as shown in Fig. 8a. By utilizing Eo and Ed, the oscillation strength parameter has been calculated using the expression, \(f={E}_{0}{E}_{\text{d}}\). The values of the oscillation strength have been reduced by rising up the film thickness.

Fig. 8
figure 8

a The dependence of \({\left({n}^{2}-1\right)}^{-1}\) on \({\left(h\nu \right)}^{2}\) for the sprayed CCTS4 films, b The refractive index n as a function of wavelength for the sprayed CCTS4 films under study

The dependences of dispersion energy, as well as the oscillation energy on the variation of film thickness, are displayed in Fig. 8b. It is noted that Eo decreases while Ed increases with enlarging film thickness. This behavior is related to the change in the Atoms diffusion rate in the CCTS4 films, showing an increase in the number of atoms at interstitial cited [39]. The other oscillator parameters for the CCTS4 thin films like the static refractive index, no (0), Wemple-DiDomenico energy gap \({E}_{\text{g}}^{\text{wmp}}\) and the static dielectric constant, \({\varepsilon }_{\text{s}}(={n}_{o}^{2})\) have been evaluated according to the presented relations [40,41,42]:

$${n}_{0}=\sqrt{1+\frac{{E}_{\text{d}}}{{E}_{\text{o}}}}$$
(11)
$${E}_{\text{g}}^{\text{wmp}}=\frac{{E}_{\text{o}} }{2}$$
(12)
$${\varepsilon }_{\text{s}}={n}_{0}^{2}$$
(13)

Table 3 displayed the oscillator parameters for the CCTS4 films. It is noticed that \({E}_{\text{d}}\), \({n}_{0}\), \({\varepsilon }_{\text{s}}\) values boost. Moreover, the values of \({E}_{\text{g}}\), \({E}_{\text{o}}, f\), \({E}_{\text{g}}^{\text{wmp}}\) were decreased with the increase in film thickness due to the reduction in the energy of the bonds formed between the film elements [43]. It was found that the relation between Eo and Eg follows by this formula Eo 1.8 Eg which coincides with the anticipation of a single oscillator model.

3.2.5 Optical and electrical conductivities

The optical and electrical conductivities of the CCTS4 films obtained at different thicknesses (160 nm, 230 nm, 297 nm and 345 nm) were determined via the expressions [44, 45]:

$${\sigma }_\text{opt}=\frac{\alpha nc}{4\pi }$$
(14)
$${\sigma }_{\text{e}}=\frac{2\uplambda {\sigma }_\text{opt}}{{\alpha }}$$
(15)

Here \({\sigma }_\text{opt}\) denotes the optical conductivity, c presents the speed of light, \({\sigma }_{\text{e}}\) denotes the electrical conductivity and α implies the absorption coefficient and n refers to the refractive index.

The subordination of optical conductivity on the variation in photon energy for CCTS4 films is presented in Fig. 9a. The analysis of this curve displayed that the optical conductivity of the CCTS4 films boosts with enlarging the film thickness and rising up photon energy. This behavior related to boosting electrons excitation via rising up the incident photon energy, and due to the increase in film absorption coefficients [46]. Figure 9b reveals the reliance of the electrical conductivity on the increase in both photon energy and film thickness for the sprayed CCTS4 thin films. It is clearly seen that electrical conductivity values increase with enlarging film thickness and reduce with the excess in photon energy.

Fig. 9
figure 9

a The dependence of the optical conductivity on the photon energy of the CCTS4 thin films, b The electrical conductivity as a function of photon energy for the CCTS4 thin film

3.2.6 Optical dielectric constants

The magnitudes of the dielectric constants of the CCTS4 films synthesized at different thicknesses (160 nm, 230 nm, 297 nm and 345 nm) were evaluated via the relations [47, 48]:

$${\varepsilon }_{1}={n}^{2}-{k}^{2}$$
(16)
$${\varepsilon }_{2}=2nk$$
(17)

Here ε2 denotes the imaginary part of the dielectric constant and the ε1 implies the real part of dielectric constant for the CCTS4 thin films.

For the CCTS4 films, the subordination of the real and imaginary parts of dielectric constant on the wavelength and the film thickness is presented in Fig.10a, b. It is noted from these plots that the ε1 and ε2 were increased with increasing film thickness. This is expected as both refractive indices and absorption indices values increase with the increase in film thickness and both \({\varepsilon }_{1}\) and \({\varepsilon }_{2}\) boost as well. Furthermore, the \({\varepsilon }_{1}\) trend follows the behavior of films refractive index and \({\varepsilon }_{2}\) ensues the trend of film absorption index.

Fig. 10
figure 10

a The dependence of the optical conductivity on the photon energy of the CCTS4 thin films, b The electrical conductivity as a function of photon energy for the CCTS4 thin film

3.3 Nonlinear optical characterization

Investigation of material's nonlinear characteristics is very important where it paves the way for detecting the possibility of exploiting studied materials in various applications such as high capacity communication systems, optical circuits, and photonic applications. The third-order nonlinear optical susceptibility \({\chi }^{(3)}\) of the CCTS4 films was computed via Miller's principles according to the present formula [49, 50]:

$${\chi }^{\left(3\right)}=B{\left[\frac{{{n}_{0}}^{2}-1}{4\pi }\right]}^{4}$$
(18)

Here B is a constant factor equal \(1.7\times {10}^{-10}\) esu and \({n}_{0}\) denotes the values of the static refractive index.

The nonlinear refractive index \({n}_{2}\) of the CCTS4 films is estimated by the expression [51, 52]

$${n}_{2}=\frac{12\pi {\chi }^{\left(3\right)}}{{n}_{0}}$$
(19)

Table. 5 displayed the magnitudes of both \({\chi }^{\left(3\right)}\) and \({n}_{2}\) for the CCTS4 thin films. Figure 11 depicted the dependence of the \({\chi }^{\left(3\right)}\) and \({n}_{2}\) on the film thickness. It can be noticed that the \({\chi }^{\left(3\right)}\) and \({n}_{2}\) were raised via increasing the film thickness. This refers to the increase in nonlinear optical properties with the rise in film thickness. This could be referred to the excess of free carriers in the material. The large magnitudes of the obtained nonlinear constants could make our studied material as a good applicant in the fabrication of low power devices for telecommunication applications.

Table 5 The nonlinear optical parameters for the CCTS4 thin films
Fig. 11
figure 11

The dependence of third-order nonlinear optical susceptibility χ(3) and nonlinear refractive index n2 on the thickness of the CCTS4 thin films

4 Conclusion

In this work, Cu2CoSnS4 thin-film samples were fabricated by using the spray pyrolysis method at four various thicknesses (160 nm, 230 nm, 297 nm and 345 nm). The XRD charts of the CCTS4 films depicted that the CCTS4 films are polycrystalline with tetragonal single phase. The EDAX technique displayed that the compositional element ratio was near to 2:1:1:4. The linear optical results displayed that the absorption coefficient of the CCTS4 films was boosted with raising the film thickness while the energy gap has a reverse manner. In addition, the values of the Urbach energy and the optical dielectric constants of the CCTS4 films were computed. Moreover, the nonlinear refractive index n2, and optical conductivity, of the CCTS4 thin films were raised with increasing film thickness. The increase in nonlinear parameters of CCTS4 films with boosting the film thickness highlights the opportunity of exploiting the studied material in many of interesting optoelectronic devices.