1 Introduction

Rapid urbanization, growth of population and industrial evolution result in an extraordinary increase in global energy demand. Electrical energy which is used extensively by majority of people in the world is primarily produced from fossil fuels such as coals, natural gases and crude oils. These fossil fuels being non-renewable cannot be regenerated in short duration and on burning cause environmental pollution due to emission of greenhouse gases, anthropomorphic climate change, health hazards and global warming. In order to address the dangerous effects of fossil fuels and their depletion, sustainable energy is the only option as it is replenishable, can be used over and over again, available widely free of cost and helps to reduce the adverse effects of non-renewable sources as stated above. Out of all the renewable energy sources such as solar, wind and hydropower, solar energy has been found to be the most promising candidate for production of electrical energy [1, 2]. Harvesting of solar energy became easier after the development of photovoltaic technology in which sunlight is directly converted into electricity. The technologies are mostly divided into three groups/generations. First, solar cells are manufactured by single-crystalline semiconductor wafer which are costly, second based on inorganic thin film assembly. Quantum dots and dye-sensitized solar cells are the third-generation solar cells which are economical, environmental friendly and high efficient devices [3], and more number of photons can be converted to electrical energy [4, 5]. In DSSC, wide band gap semiconductor electrodes are sensitized by dye molecules which are excited by visible light [6]. The elements of IIB–VIA and VA–VIA group of mixed chalcogenide semiconductors are significant materials for photovoltaic applications [7, 8]. A number of materials have been studied as photoanode to obtain high efficient DSSCs [9,10,11,12,13]. Yu and Sero have reported that metal sulphides-based DSSCs can adsorb more dye molecules and reduce the backward moment of electrons to dye molecules [14, 15] where aggregations of metal oxide nanostructures have been reported [16, 17]. Among the metal sulphides, ZnS (Eg-3.5 eV) and CdS (Eg-2.4 eV) thin films have been extensively exploited individually as photoanodes in photovoltaic systems [18,19,20,21,22,23]. Rafea et al. have studied Zn–CdS thin films as a wide band gap window material in heterojunction solar cells [24]. Natural and artificial dyes have been employed since long to sensitize wide band gap semiconductor materials in solar cells [4, 6, 25,26,27,28]. Sensitizers are classified as metal complex sensitizers, metal-free organic sensitizers and natural dye sensitizers. The metal complex sensitizers are highly toxic, non-economical and rare, the metal-free organic sensitizers show low conversion efficiency, and formulation is challenging [29,30,31], whereas natural dyes are easy to extract, low cost and environmental friendly. But efficiency and stability of natural dye-sensitized solar cells (NDSSC) are low [32]. Hence, the latest research on solar cell is focused on NDSSC (natural dye-sensitized solar cells) [33]. The redox systems play important role in DSSCs for generation of dye molecules and charge transportation [32]. These act as internal charge exporter between the working and counter electrode and constantly restore the species involved during the electrochemical process. These also influence the performance and durability of DSSC by affecting the photoelectrochemical parameters [34]. Mostly, iodide/triiodide and sulphide/polysulphide redox systems have been employed in liquid junction solar cells. In iodide/triiodide redox couple, iodine is highly corrosive to metals, which may decline the long-term stability of DSSC. I2 has high vapour pressure which is not appropriate for device encapsulation. I3 and other polyiodides show absorbance in visible range, which may lower the efficiency, react with the injected electrons and amplify the dark current. So iodide/triiodide redox couple is not a proper choice for solar cells. It has been seen that sulphide/polysulphide (S2/S 2n ) redox electrolytes can prevent chalcogenides from degradation during photoelectrochemical process. Jovanovski et al. [35] and Song et al. [36] reported high efficiency and more stable quantum dots-sensitized solar cells (QDSSC) using aqueous sulphide/polysulphide (S2/S 2n ) redox electrolytes [35, 36]. Gratzel has also reported stable and efficient photoelectrochemical (PEC) cells using sulphide/polysulphide (S2−/S 2−n ) redox system [37]. The thin films of metal and mixed metal chalcogenides can be prepared by different methods such as (a) SILAR [38], (b) chemical bath deposition [39], (c) sol–gel [40], hydrothermal/solvothermal [41, 42], (d) electrochemical anodization [43], (e) electro-spinning [44, 45], (f) spray pyrolysis [46] and (g) atomic layer deposition [47]. Out of the aforesaid method, the electrodeposition method (ED) has been found to be more suitable as it is simple and economical and gives pure deposited metals [48]. The present piece of research is aimed at fabrication of dye-sensitized solar cells by using electrodeposited ZnS–CdS photoanode as working electrodes (WE), sulphide/polysulphide (S2−/S 2−n ) redox system, chlorophyll dyes as sensitizer and graphite as counter electrode (CE). The illuminating light source is a 30 mW/cm2 W-bulb. The schematic diagram with electron flow path of the DSSC is Fig. 1.

Fig. 1
figure 1

Schematic diagram with electron flow path of the DSSC

2 Experimental details

2.1 Materials

Chemicals such as CdSO4, Na2S, CH3COCH3, ZnSO4, NaOH, S and HCl used in our work are of analytical grade. Double distilled water has been employed as solvent in total experiments.

2.2 Preparations of electrolyte, chlorophyll dyes, electrodes and sensitization

The details of preparation of sulphide/polysulphide redox system and chlorophyll dye extraction are given in our previous paper [1]. Steel substrate (2 cm × 2 cm) and a zinc plate (0.5 cm × 0.5 cm) at a distance of 2 cm are dipped in 50 mL decimolar aqueous solution of ZnSO4 (0.1 M) taken in a 100 mL beaker. Electrodeposition of zinc is carried out by passing a current of 2 mA/cm2 for 2 h followed by anodization of the metal film using 50 mL 0.1 M Na2S solution with a current density of 2 mA/cm2. The same procedure is adopted to deposit CdS on ZnS coated steel substrate by using 0.1 M cadmium sulphate solution. The fabricated electrode is then dipped in 20 mL chlorophyll solution (in acetone) for sensitization. The sensitization is optimized by dipping in the solutions for time periods of 2 h, 4 h, 6 h and 8 h.

2.3 Fabrication of dye-sensitized solar cells

The dye-sensitized solar cells are constructed by combining both ZnS–CdS photoelectrode (WE) and graphite counter electrode (CE) by dipping in the prepared redox electrolyte, and the photoelectrode is illuminated by light intensity of 30 mW/cm2 intensity. The detailed experimental procedure is given earlier [1].

2.4 Structural, surface morphology and compositional analysis

The powder XRD (X-ray diffraction) is carried out using X-ray diffractometer in the 2θ range of 10°–80° using the step size 0:013 and time step 13.6 s to study the phase, structure and crystallinity of the ZnS–CdS semiconductor. The specification of instrument is given in our earlier report [1]. SEM study is executed by using a Hitachi S-3000 N scanning electron microscope operated at 10 kV, and EDX was carried out on Zeiss EDAX EVO-18 at 15 kV to know the morphology of the crystal of the thin film semiconductor. The crystal size of electrodeposited ZnS–CdS thin film has been estimated by Debye–Scherrer’s formula (Eq. 1) [49]:

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

where D = crystal size, k = 0.94, λ (X-ray wavelength) = 1.54060 Å, β = full width at half maximum in radians, and θ = Bragg’s angle.

Besides this, other physical parameters such as strain, dislocation density and lattice parameters of the nanocrystalline thin film are also estimated by using Eqs. 2, 3 and 4 accounting for the prominent picks and are given in Table 1.

$$E_{\text{str}} = \frac{\beta \cot }{4}$$
(2)
$$\delta = \frac{1}{{D^{2} }}$$
(3)
$$\frac{1}{{d^{2} }} = \frac{{4(l^{2} + hl + k^{2} )}}{{3a^{2} }} + \frac{{l^{2} }}{{c^{2} }}$$
(4)

where D is size of crystal, \(\delta\) is dislocation density, \(E_{\text{str}}\) is strain, h, k, l are Miller indices, a, b and c are lattice parameters, and d is lattice spacing.

Table 1 Parameters estimated from PXRD of electrodeposited mixed compound (ZnS–CdS) thin film deposited on steel substrate

2.5 Characterizations

The fabricated DSSCs using ZnS–CdS thin film and sensitized thin films as photoanodes are characterized by measuring the current and voltage in dark and light and power output at light intensity 30 mW/cm2. The characteristics parameters such as dark and light ideality factor (Eqs. 5 and 6), fill factor (Eq. 7), power conversion efficiency (Eq. 8), shunt resistance (Eq. 9) and series resistance (Eq. 10) have been calculated [1] and are reported in Table 2.

$$I = I_{0} \left( {\mathop e\nolimits^{{\frac{eV}{{n_{\text{d}} kT}}}} - 1} \right)$$
(5)
$$V_{\text{oc}} = \frac{{n_{\text{l}} kT}}{q}\ln \frac{{I_{\text{sc}} }}{{I_{\text{o}} }}$$
(6)
$$ff = \frac{{I_{\text{m}} \times V_{\text{m}} }}{{V_{\text{oc}} \times I_{\text{sc}} }}$$
(7)
$$\eta = \frac{{I_{\text{m}} \times V_{\text{m}} }}{{P_{\text{input}} }}$$
(8)
$$\left( {\frac{\partial I}{\partial V}} \right)_{V = 0} \cong \frac{1}{{R_{\text{sh}} }}$$
(9)
$$\left( {\frac{\partial I}{\partial V}} \right)_{I = 0} \cong \frac{1}{{R_{\text{s}} }}$$
(10)

Here, I0 = reverse saturation current, e = charge of electron, I = forward bias current, k = Boltzmann constant, V = forward bias voltage, T = temperature, q = charge of electron, Voc = open-circuit voltage, Isc = short-circuit current density, η = energy conversion efficiency, Rs = series resistance, Pinput = total incident power density, Rsh = shunt resistance, nl = ideality factor in light and nd = dark ideality factor.

Table 2 Cell characteristic parameters of electrodeposited mixed compound (a) ZnS–CdS and sensitized electrodes, (b) 2 h, (c) 4 h, (d) 6 h and (e) 8 h (Fig. 10)

3 Results and discussion

3.1 X-ray diffraction spectroscopy

The synthesized ZnS–CdS thin film has been characterized using powder X-ray diffraction (PXRD). The PXRD pattern (Fig. 2) shows two strong peaks at 22.9° (100) and 29.4° (002) with a number of small peaks at 31° (101), 35° (102), 44.8° (110), 48.5° (103) and 50.5° (200) planes with hexagonal phase of ZnCdS nanoparticles (PDF#40-0836) which is in agreement with the results reported earlier [50, 51]. The crystal size is estimated using relation 1 and found to be 9.12 nm. The lattice parameters are also calculated employing relations 2 and 3 and are reflected in Table 1. The lattice constant estimated using relation 4 is found to be a = 4.5 Å and c = 6.07 Å which is agreed with the results reported by [52]. The formation of more peaks in the PXRD pattern attributes to the polycrystalline nature of ZnS–CdS thin film [51]. Non-appearance of diffraction peaks for CdS (PDF-00-001-0780) and ZnS (PDF-00-001-0677) shows that the film has no any separated phase for these compounds. The pattern also shows the shifting of peak position which may be due to the formation of ZnS–CdS having Zn and Cd in the ratio of 1:1 which is confirmed from EDAX data [53].

Fig. 2
figure 2

PXRD pattern of electrodeposited mixed compound (ZnS–CdS) thin film deposited on steel substrate

3.2 Morphology

Morphological study is performed by using scanning electron microscope in the magnification range of 8500 to 45,000 (Fig. 3). The micrograms establish the formation of nano-polycrystalline ZnS–CdS thin film. The average size of the crystals has been measured and found to be of about 40 nm width and 60 nm length. The higher size of the crystal may be due to agglomeration. The rubbery nanocrystals morphology of the thin film is suitable for effortless movement of electrons than trapping through the nanoparticles. It can be attributed to better photochemical process [54].

Fig. 3
figure 3

SEM micrograms of electrodeposited mixed compound (ZnS–CdS) thin film deposited on steel substrate in the magnification range of (a) 8500 (b) 33,000 and (c) 45,000

3.3 Elemental investigation

EDAX (energy-dispersive analysis of X-ray) spectrum is an important tool for compositional study. The EDAX of ZnS–CdS electrode (Fig. 4) confirms the presence of Zn, Cd and S along with oxygen and carbon. The unwanted peaks for carbon and oxygen are due to the substrate holder and incomplete oxidation or assimilation of CO2 by film. The atomic ratio (percentage) of the elements illustrates the development of thin film with Zn0.5Cd0.5S composition.

Fig. 4
figure 4

EDAX spectrum of electrodeposited mixed compound (ZnS–CdS) thin film deposited on steel substrate

3.4 Thickness measurement

The width of ZnS–CdS thin film was estimated gravimetrically [19] and found to be 89 µm.

3.5 Optical studies

Optical properties of the fabricated ZnS–CdS thin film and sensitized ZnS–CdS thin films by dipping in chlorophyll solution for 6 h have been investigated taking UV–Vis absorption spectra in the wavelength range of 200-800 nm (Fig. 5).

Fig. 5
figure 5

UV–Vis absorption spectra of (a) ZnS–CdS thin film, (b) 6 h chlorophyll deposited ZnS–CdS thin film and insert of Tauc plot for band gap calculation

The non-appearance of characteristic peaks for chlorophyll [1] in the absorption spectra of dye-loaded ZnS–CdS thin film shows that dye molecules are bonded strongly on the surface of thin films [55]. The band gaps of the ZnS–CdS film have also been calculated using Tauc’s Eq. 11 [52]

$$\alpha h\nu = A(h\nu - E_{\text{g}} )^{n}$$
(11)

where h = photon energy, A = constant, and n = 1/2 for a direct band gap materials.

The optical band gap of the ZnS–CdS has been determined from the plot (insert of Fig. 5) (αh)2 versus h by extrapolating to (αh)2 = 0, and the band gap energy is found to be 2.8 eV.

3.6 Conductivity and I–V characteristics

Figure 6 illustrates the dark current–voltage (I–V) characteristics of the dye-sensitized solar cells using ZnS–CdS and dye-sensitized ZnS–CdS thin films electrodes under forward and reverse bias at room temperature. The straight lines passing through the origin indicate the formation of ohmic nature films. The non-symmetrical nature signifies the rectifying nature of the fabricated cells with the creation of a pn junction [56]. Herein, the photodiode might be associated with the innovation of excitons (e–h+ pairs) by absorbing photon of energy higher than the Eg (band gap) of photoanode, separation and transportation of the e–h+ pairs by the inter-electric field producing output signal.

Fig. 6
figure 6

I–V curves (dark) of (a) electrodeposited mixed compound (ZnS–CdS) thin film deposited on steel substrate and sensitised films for (b) 2 h, (c) 4 h, (d) 6 h and (e) 8 h

The characteristics of photoelectrode–electrolyte interface can be described using current–voltage (I–V) plots in light. The relation of current versus voltage for ZnS–CdS thin film and dye-sensitized thin films is shown in Fig. 7. The shifting of I–V plots toward fourth quadrant under illumination attributes the possibility of conversion of photon to electricity by fabricated cell [57]. The absorbed light energy improves the free electron concentration in conduction band and free hole in valence band by breaking covalent bonds [58].

Fig. 7
figure 7

I–V curves (light) of (a) electrodeposited mixed compound (ZnS–CdS) thin film deposited on steel substrate and sensitised films for (b) 2 h, (c) 4 h, (d) 6 h and (e) 8 h

3.7 Photoresponse study

The photoresponses of fabricated cells using ZnS–CdS electrode and dye-sensitized ZnS–CdS electrodes have been studied by measuring the change of Isc versus light intensity and Voc versus light intensity. The change of Isc versus light intensity (Fig. 8) is straight line which indicates that all photoelectrode–(S2−/S 2−n ) electrolyte interfaces can be modelled as Schottky barrier solar cell [59].

Fig. 8
figure 8

Photoresponse as a function of Isc of (a) electrodeposited mixed compound (ZnS–CdS) thin film deposited on steel substrate and sensitised films for (b) 2 h, (c) 4 h, (d) 6 h and (e) 8 h

Change of Voc versus light intensity (Fig. 9) illustrates the saturation of open-circuit voltage (Voc) which reveals that the interface is saturated, and electrons and holes are dispersed unequally within the space charge area of the semiconductor [18].

Fig. 9
figure 9

Photoresponse as a function of Voc of (a) electrodeposited mixed compound (ZnS–CdS) thin film deposited on steel substrate and sensitised films for (b) 2 h, (c) 4 h, (d) 6 h and (e) 8 h

3.8 Study of ideality of solar cell

The ideality factor speaks about the extent of agreement of a diode to the ideal diode equation [60]. Higher ideality factor points out the expansion of defects in the crystal which is the reason of abnormal recombination mechanisms [61]. Series resistance and the carrier recombination within interface also enhance the ideality factor [62]. Heterogeneous thickness of films and multiformity of interfacial charges might be a cause of higher ideality factor [63]. Herein, the dark and light ideality factors are estimated from Figs. 10 and 11 using Eqs. 5 and 6 and reported in Table 2. Data demonstrate that ideality factor (dark) for ZnS–CdS is 1.2, whereas it is 1.6 for sensitized thin films, but the light ideality factors decrease from 12 to 5.7 with the increase in deposition time of chlorophyll.

Fig. 10
figure 10

Log of Id versus v in dark of (a) electrodeposited mixed compound (ZnS–CdS) thin film deposited on steel substrate and sensitised films for (b) 2 h, (c) 4 h, (d) 6 h and (e) 8 h

Fig. 11
figure 11

Log of Isc versus Voc of (a) electrodeposited mixed compound (ZnS–CdS) thin film deposited on steel substrate and sensitised films for (b) 2 h, (c) 4 h, (d) 6 h and (e) 8 h

3.9 Power output study

Figure 12 illustrates the power conversion characteristics of fabricated solar cells using ZnS–CdS thin film and chlorophyll dye-sensitized thin film as photoanode (WE), graphite as cathode (CE) and S2−/S 2−n as redox system under light illumination of 30 mW/cm2 (area of illumination 1.5 cm2). The characteristic parameters estimated using the relation (7 and 8) are presented in Table 2. Results illustrate that Jsc, Voc and efficiency are continuously increasing from 0.458 mA, 0.311 V and 0.19 to 0.510, 0.340 and 0.29, respectively, with the raise of time for chlorophyll deposition. An increase in Jsc and Voc may be reason of the increase in electron density, transportation and lifetime [64]. Results illustrate that power conversion efficiency of fabricated DSSC using 8-h sensitized electrode is 0.29%.

Fig. 12
figure 12

Power output characteristics curve of (a) electrodeposited mixed compound (ZnS–CdS) thin film deposited on steel substrate and sensitised films for (b) 2 h, (c) 4 h, (d) 6 h and (e) 8 h

The photoelectrochemical parameters for CdZnS electrode prepared by dip coating as reported by Dongre and group [53] are very low as compared to our results. This illustrates that electrodeposition method is better than dip-coating process. A number of results have also been published on chlorophyll dye sensitization where chlorophyll has been extracted from different sources using different solvents [5, 65,66,67]. Cerda and co-workers have reported highest efficiency of 0 .04% using black myrtle with Voc of 0.4 V and Jsc of 0.02 mA. Syafinar and co-workers have reported Jsc of 0.35 mA and Voc of 0.44 V [26]. Our results are higher than those which prove that the transports of electron and density of electron along with lifetime are increasing. Fill factor is another parameter for solar cell characterization which is associated with the highest power generation (Pmax) of solar cell. In DSSCs, it is found to be low due to parasitic resistance (Rs, Rsh) and charge recombination at interface. Higher fill factor can be imagined in DSSC when Rs is low and Rsh is high [1].

In our study, fill factor enhances from 0.39 to 0.5 with increase in chlorophyll deposition time which is greater than other workers [5, 65,66,67]. The Rsh and Rs have also been measured using relations 9 and 10 for ZnS–CdS thin film and sensitized thin films and are reported in Table 2. The higher Rs may be due to slow movement of electrons in photoelectrode, low diffusion of ions in the redox system and resistance of metal in contacts. Similarly, higher Rsh may be due to crystal defects. However, the Rsh in our study is increasing which may be the cause of the increase in ff, efficiency and decrease in light ideality factors. The decrease in Rsh at 8 h deposited sensitized film attributes the increase in crystal defect, and further deposition of chlorophyll may enhance the defect in the crystals.

4 Conclusion

Rubbery nanocrystalline ZnS–CdS thin films have been fabricated by electrodeposition technique and have been sensitized by chlorophyll extracted from the plant Tagetes Patula. The PXRD data prove that the thin film of ZnS–CdS photoelectrode formed is made of hexagonal crystals of size ≈ 9.12 nm. SEM micrograms illustrate that the crystals are agglomerated and EDX spectroscopy confirms the presence of Zn, Cd and S having empirical formula Zn0.5Cd0.5S. End result illustrates that wide band gap sulphide materials might be exploited in fabrication of dye-sensitized solar cells employing chlorophyll as sensitizer.