1 Introduction

The transition metal dichalcogenides with pyrite structural phase such as MX2 (M = Fe, Co, or Ni and X = S or Se) have rarely been studied in past [1]. They are of specific notice due to their tremendously low cost and predictable long term stability in the electrocatalyst and solar cell applications [2]. Recently, the interest in pyrite phase materials for advance applications has increased meaningfully due of its nontoxicity and earth‐abundancy [3, 4]. Among these pyrite structural phases, cobalt pyrite (cobalt disulfide, CoS2) fundamentally have good conductivity as compared to the other pyrites, such as NiS2 [5] and FeS2 [6] creating it exceptionally advantaged. The CoS2 has a pyrites cubic structure having four Co and eight S atoms [7, 8]. It has recently fascinated and got a significant consideration for the magnetic and electrochemical characteristics for application of in spin-electronic [9], supercapacitors [10], lithium ion batteries [11], electrocatalysts activity [12] and hydrogen evolution reaction [2]. On the other hand, CoS2 has a much high electronic conductivity, large thermal stability and is not sensitive to oxygen which makes it suitable for advanced applications.

The metal doping approach is an effective way to modify the surface state, carrier concentration or transportation and defects level in the host materials. CoS2 thin films are doped or co-doped with numerous elements like N, P co-doped [13], N [14], Ni [15], and Mn [16]. The metal doping such as Cu are behaving as a fast-diffusing impurities in the host materials [17]. The Cu doping into CoS2 can induced effects on its nanostructural, morphological, luminescence and electrical characteristics.

As for the deposition of CoS2 thin films, a diversity of techniques has been studied such as solvothermal/hydrothermal [18, 19], atmospheric-pressure chemical vapor deposition [20], magnetron sputtering [21] and sulfurization of Co films [22]. In the present research, we reported a simple method to deposited single phase and crystalline with suitable composition pyrite (CoS2) thin films via successive ionic layer adsorption and reaction (SILAR) technique. As a non-vacuum techniques, SILAR is simple, cheap and appropriate for large scale deposition with controllable thickness precise stoichiometry and dense mirror like surface morphology [23, 24]. Up to now, no one reported the preparation of CoS2 films using SILAR method.

In the present work, for the first time, it was achieved Cu-doped CoS2 thin film deposited with the SILAR technique. The objective is to determine the nanostructural, morphological, photoluminescence and impedance properties of CuxCo1−xS2 thin films by increasing the Cu doping level. To find the enhancement of the nanostructure and morphological properties, the XRD and FESEM results were performed, photoluminescence spectra were carried out to investigate the intrinsic emission with effect of Cu doping and impedance analysis were obtained to determine the capacitance and resistance of grain and grain boundaries of the prepared thin films. whether the bandgap value decreased and increased. The effect of Cu doping that is critical for tuning the properties of CoS2 thin films have been studied.

2 Experimental

Pure and Cu-doped CoS2 thin film was deposited using SILAR method. Prior to the thin films deposition, glass substrates were ultrasonically washed with ethanol and deionized water for 15 min. The solutions of 0.25 M Co(NO3)2 with adding of different contents (0 to 10%) of Cu(NO3)2 for Cu content according to doping level in deionized water for cations solution. Second solution of 0.25 M Na2S aqueous solution was used as anions sources solutions. The preparation of thin films was carried in four steps to complete one SILAR cycle: First, immersed in cations solution for 2 min to adsorption of cations; second, dried and rinsed with deionized water; third, immersed in anions solution for 2 min to reaction of anions with pre-adsorbed cations and fourth, dried and rinsed with deionized water. To obtain pure and Cu-doped CoS2 thin films with appropriate thickness, the 30 SILAR cycles were performed.

The prepared thin films were structurally characterized by X-ray diffraction (XRD) analysis using a Panalytical X'Pert3 equipped with a CuKα X-ray. The surface morphology of prepared CuxCo1−xS2 thin films was performed using a FESEM (JEOL). UV–Vis spectroscopy and bandgap investigation was executed using a V-670 UV–visible spectrophotometer (JASCO) and photoluminescence study was performed with FP-8200 spectrofluorometer (JESCO). Impedance analysis of thin films was carried out using HP4294 impedance analyzer.

3 Results and discussion

Figure 1 illustrates the XRD patterns of pure and Cu-doped CoS2 thin films with different concentrations. It can be seen that four diffraction peaks are detected for CoS2 with indexed (111), (200), (210) and (211) at position 29.45°, 31.97°, 35.64° and 39.80°, respectively. The peak (200) is the most intensive as compared to other peaks, which specifies the preferred growth direction. The diffraction peaks confirmed the cubic phase of CoS2 (JCPDS Card No. 65-3322). The examined results are well agreed with XRD of CoS2 thin films reported previously [25]. It is observed that the intensity of XRD peaks rises with Cu doping, this is the indication of enhancement in crystalline nature of CoS2 thin films.

Fig. 1
figure 1

X-ray diffraction patterns of CuxCo1−xS2 (x = 0–0.10) thin films in the range of 20°–80°

XRD results were examined by the Rietveld refinement method using the High Score plus program as revealed in Fig. 2a–d. Table 1 illustrates of goodness of fit (χ) varies in the range of 3.23and 3.64 for pure and Cu-doped CoS2, which is the indication of goodness of refinement. Rietveld refinements for all samples have the quality parameters (R-factors) specify a good agreed and confirming the formation of single CoS2 phase.

Fig. 2
figure 2

Rietveld refinement of XRD data o CuxCo1−xS2 (x = 0–0.10) thin films

Table 1 Structural parameters of CuxCo1−xS2 (x = 0–0.10) thin films

The Scherrer’s formula is used to estimate the crystallite size (D) of pure and doped CoS2 thin films using (200) plane.

$$ D = \frac{0.9\lambda }{{\beta {\text{cos}}\theta }} $$
(1)

where λ is wavelength of X-ray (λ = 1.54 Å), β is full width at half maxima (FWHM) and θ is the Bragg’s angle for preferred peak. The calculated crystallite size is given in Table 1. It recognized that the crystallite size decreased with increasing the Cu doping level. This may be due to the lattice distortion caused by radius difference between the dopant and the host element. The lattice constant of the cubic phase CoS2 is calculated using Miller indices of (200) plane [26]:

$$ a = d\left( {h^{2} + k^{2} + l^{2} } \right)^{1/2} $$
(2)

where ‘a’ is the lattice constant, (h, k, l) are miller indices and d is the plane spacing. Variation of the prepared samples lattice constant values from the bulk material (a0 = 5.506 Å) demonstrate that the deposited pure and Cu-doped CoS2 thin films were under strain. The microstrain in as pure and Cu-doped thin films were calculated using the following relation [27]:

$$ \varepsilon = \frac{\beta }{{4{\text{tan}}\theta }} $$
(3)

The increase in the value of microstrain is due to the decrease in the crystallite size, that may have induced lattice imperfection in the CoS2 structure. Table 1 shows the deviance of microstrain with Cu doping. The increased of micro strain is responsible for increasing the peaks intensity of XRD [28]. The dislocation density (\(\delta\)) was calculated by following relation [29]:

$$ \delta = \frac{1}{{D^{2} }} $$
(4)

It noticed that the calculated values of dislocation density increased for doped sample as compared to pure CoS2 thin films. The lowest value of dislocation density is found for 50 kGy gamma dose with smaller crystalline size. The number of crystallites (N) per unit area and crystallite density (ρ) of prepared thin films was estimated by following relations [30]:

$$ N = \frac{t}{{D^{3} }} $$
(5)
$$ \rho = \frac{2M}{{N_{{\text{A}}} V}} $$
(6)

where t is the thickness measured by gravimetric method, NA is the Avogadro’s number (6.02 × 1023), M the molecular weight of CoS2 (123.07 g/mole) and V the volume of the unit cell. The number of crystallites increased the values of crystallite density decreased with Cu doping and this may be due to the enhancement in the nucleation and the growth of crystallites, which reasons a reduction in crystallite size and in surface area. The specific surface area S of prepared sample was calculated by following relation:

$$ S = \frac{6000}{{\rho \times D}} $$
(7)

The above relation is considered for spherical shape particles as observed in the deposited thin film. The lesser specific area detected for greater crystallite size, due to the lower microstrain produced.

The field emission scanning electron micrograph of a pure and Cu-doped CoS2 thin film of about is shown in Fig. 3a–d. The surface of the substrate was observed to be well covered with the deposited thin film, having spherical grain distribution. The observed average grain sizes decreased were between 61 and 38 nm with increasing the Cu concentration. Surface morphology of CoS2 deposited shows that the small grains agglomerated and form the cluster of particles, the size of cluster is increased as the Cu doping concentration increases.

Fig. 3
figure 3

ad FESEM images of CuxCo1−xS2 (x = 0–0.10) thin films

The EDX analysis of CuxCo1−xS2 (x = 0–0.1) is depicted in Fig. 4a–d, to confirm the stoichiometry of prepared thin films. Their consequential atomic and weight percentages are revealed insets of Fig. 4a–d. In the pure thin films, the atomic percentages of Co and S were approximately 43% and 57%, respectively, which shows the deposition of CoS2 on glass substrate. As the doping level is increased, the atomic composition of Co and S decreased. The EDX spectra confirmed the formation of CuxCo1−xS with Cu percentages.

Fig. 4
figure 4

ad EDX analysis of CuxCo1−xS2 (x = 0–0.10) thin films

Room temperature photoluminescence spectra of pure and Cu-doped CoS2 thin films at excitation wavelength of 350 nm are shown in Fig. 5. It is found that prepared thin films have two fundamental peaks located at 411 nm and 417 nm. This is due to the intrinsic defects such as Co interstitials, S vacancies and Co vacancies. These defects can trap the electrons to form ionization point defects and therefore behave like radiative centers. Moreover, these traps act as donors and produce new energy level and consequential create the PL emissions [31]. The intensity of broad PL peak band modifies by Cu doping. After doping, the intensity gradually intensifies with respect to pure CoS2 thin films. This phenomenon can be understood as it is contended in XRD analysis that Cu atoms incorporate in CoS2 as substitutional and interstitial, respectively. That may increase the density of defects, resulting in an improvement in the peak intensity. The clear increased in the FWHM in PL peak indicates the enhancement in the crystallinity of the structure with Cu doping [32]. The blue shift in PL peak with Cu doping is attributed to electronic structure alterations in the CoS2 thin films.

Fig. 5
figure 5

PL spectra of CuxCo1−xS2 (x = 0–0.10) thin films

To measure the electrical properties of materials needs powerful techniques to investigate the electrical performance, which is through simulating by an equivalent circuit [32]. Impedance analysis is an appropriate procedure to examine the numerous effects of Cu doping concentration. The electrical characteristic (Nyquist plots) is shown in Fig. 6a with the presence of semicircular arcs for pure and Cu-doped CoS2 thin films. The phenomena that occur in the thin films are exhibited by an equivalent electrical circuit as shown inset of Fig. 6. The deviation of the resistance (R1) and capacitance (C1) as a function of Cu doping concentration are given in Table 2. It is noticed that the resistance of CoS2 increases and the capacitance decreases with the increase of Cu doping concentration. For high Cu doping level, exclusion of Cu in between the interface of grain boundaries that causing an upsurge in resistance [33]. This change due to the incorporation of Cu in CoS2 lattice that induces changes in the grain size and therefore generates extra grain boundaries within thin films [34]. There are two mechanisms that are simultaneously present, charge transformation across the grain and grain boundaries due to the increase of grain boundaries with Cu doping concentration.

Fig. 6
figure 6

a Nyquist plots and (inset) equivalent circuit, b dielectric Constant—log(f) plot, c dielectric Loss versus log (f) and d graph of log(σac versus log(f) of CuxCo1−xS2 (x = 0–0.10) thin films by interpretation of impedance analysis

Table 2 Electrical parameters eliminated using impedance spectroscopy

To investigate the dielectric properties of pure and Cu-doped CoS2 thin films for appreciated study about electric polarization and conduction mechanisms [35]. It is significant to note that permittivity and permeability of materials are not same. These can have modified with applied frequency, nanostructure and temperature of material [36]. The values of real and imaginary dielectric constant and dielectric loss (\({\tan}\delta \)) were computed from impedance analysis data using following equations [37]:

$$ \varepsilon^{\prime} = \frac{t}{{fA\epsilon_{{\text{o}}} }}.\frac{{Z^{\prime\prime}}}{{Z^{{\prime}{2}} + Z^{{\prime\prime}{2}} }} $$
(8)
$$ \varepsilon^{\prime\prime} = \frac{t}{{fA\epsilon_{{\text{o}}} }}.\frac{{Z^{\prime}}}{{Z^{{\prime}{2}} + Z^{{\prime\prime}{2}} }} $$
(9)
$$ {\text{tan}}\delta = \frac{{\varepsilon^{\prime\prime}}}{{\varepsilon^{\prime}}} $$
(10)

where A is the area of thin films, t is thin films thickness, \( \epsilon_{\text{o}}\) is the permittivity of free space, Z′ is real impedance, Z″ imaginary impedance and f is the frequency.

Figure 6b illustrates the deviation of dielectric constant and the dielectric loss as a function of frequency at Cu doping concentration. It can be observed that the value of dielectric constant is higher at low frequency for pure and doped thin films and decreased as the frequency because of incompetence of dipole with large deviation of applied electric field. In the present work, it can be observed that as the Cu doping concentration rises the absolute value of dielectric constant increases may be due to more dipole to be directed along the applied field. The dielectric loss of pure CoS2 is less than that of all doped samples. In general, the dielectric losses happen due to immersion of electrical energy which is employed for revolutions of dipolar molecules [38]. In nanostructure materials, inhomogeneities generate an immersion current due to the space charge creation resultant in a dielectric loss [39].

The a.c conductivity value for pure and Cu-doped CoS2 thin films was determines using equation given below [40]:

$$ \sigma_{{{\text{ac}}}} = \frac{t}{A}.\frac{{Z^{\prime}}}{{Z^{{\prime}{2}} + Z^{{\prime\prime}{2}} }} $$
(11)

Figure 6d depicts the typical plot of log(σac) versus ln(f) at different Cu doping concentrations. At low frequencies range, the conductivity is not dependent on the frequency, that could be ascribed due to DC contribution. At high frequency region, it rises with frequency. Consequently, the AC conductivity is taken over at high frequencies. It is found that AC conductivity shifts to higher values with Cu doping.

4 Conclusion

We have studied the nanostructural, morphological, photoluminescence and electrical properties of CuxCo1−xS2 (x = 0–0.1) thin films deposited by SILAR technique on glass substrate. It has been found that pure and doped thin films have crystallization in cubic pyrite structural phase of CoS2 with preferential orientation along (200) direction. The intensity of XRD peaks rises with Cu doping is the indication of enhancement in crystalline. On the other hand, the morphological study showed that the substrate was well covered with spherical grain distribution and grain sizes decreased from 56 to 34 nm with increasing the Cu concentration. The stoichiometry of all films is confirmed with EDX analysis which was the good agreement with experimental composition. The PL spectra revealed that broad peak modifies and the intensity gradually intensifies by Cu doping level. The results obtained by impedance measurements in terms of the copper content was found that they endorse the effects those found by XRD mainly the structure. The present study has provided us the structural, defects and electrical parameters and motivating for the use of such materials as a counter electrode of solar cells.