1 Introduction

Polycrystalline CdS thin films have been received considerable attention considering its use in photovoltaic, electroluminescent [1, 2] and field effect transistors [3]. It has been used as a partner in several types of thin film solar cells, such as, CuInSe2, CdTe and Cu2S [46]. CdS is a most promising heterojunction partner for the well-known polycrystalline photovoltaic material as a window layer [7]. Hernandez-Borja et al. [8] fabricated CdS/PbSe solar cell with CdS window layer. Nair et al. [9] prepared CdS as window layer for CdS/PbS solar cell. For solar cell applications the grown films of CdS should have suitable conductivity (>1016 carriers/cm3), and adequate thickness to allow high transmission and also it should be highly uniform without voids and holes to avoid electrical short circuit effects. To get desired property of the films, the growth methods and the growth conditions should be chosen accordingly. Getting films of particular properties depends on the deposition method and the conditions of preparation. CdS thin films can be prepared by chemical, physical and electrochemical methods. It has been grown by variety of methods such as vacuum evaporation [10], molecular beam epitaxy [11], sputtering [12], spray pyrolysis [13], electrochemical deposition [14], pulsed laser deposition [15], metal organic chemical vapour deposition [16], successive ionic layer adsorption and reaction [17] and chemical bath deposition [18] (CBD). The chemical bath deposition method is the most inexpensive method allowing large area fabrication of variety of films; it is a suitable method for industrial applications. Comparing other methods, the CBD method has many advantages such as simplicity, no requirement of sophisticated instruments, minimum material wastage, economical way of large area deposition, and no need of handling poisonous gases [19]. As it is a slow process, it facilitates better orientated growth with improved grain structures. Chemical bath deposition method also allows easy control of growth parameters, so that good quality and uniform films can be grown to produce desired properties. In photovoltaic applications, the thickness of the film is an important parameter since the thickness affects the microstructure of the film as well as the optical and electrical characteristics. They are only very few data available on the fabrication of PbS/CdS heterojunction solar cells. Hence, an attempt has been made to prepare CdS thin films of different thickness on glass substrates using chemical bath at different deposition times. The prepared CdS and PbS films are studied for their structural, microstructural and optical properties. PbS/CdS heterojunction solar cells were fabricated using CdS film films of different thickness and studied their photo response performance.

2 Experiment procedure

In this work, 0.005 mol/L of CdCl2 and NH4Cl were dissolved in 100 mL DI water at room temperature. When heating the solution at 70 °C a 0.04 mol/L of ammonia solution was added and stirred for 5 min and finally 0.03 mol/L of thiourea was added to the solution. The cleaned glass substrates were placed vertically in the reaction bath for different time period such as 30, 45 and 60 min. After the set period the substrates were removed and cleaned with DI water. In the bath, the added ammonia combines with Cd2+ and forms Cd(NH3) 2+4 complex which can constantly release Cd2+, thiourea releases S2− as a sulfur source. The main chemical reaction taking place in the reaction solution is described in the Eq. (1).

$$Cd\left( {NH_{3} } \right)_{4}^{2 + } + SC\left( {NH_{2} } \right)_{2} + 2OH^{ - } \to CdS + CH_{2} N_{2} + 2H_{2} O + 4NH_{3}$$
(1)

For the preparation of solar cells the PbS thin film was deposited on CdS coated ITO substrates (sheet resistance of ITO is 10 Ω/sq). A 50 ml solution of 0.15 M lead nitrate [Pb(NO3)2] and 0.1 M thiourea [SC(NH2)2] was used for the deposition of PbS. The alkalinity of the solution was set using 0.5 M sodium hydroxide [NaOH]. The CdS coated ITO substrate was vertically immersed into the solution and the beaker containing the reactive solution was kept in a water bath maintained at 60 °C. Thickness of the films was measured using Alpha-step surface profiler and also they were characterized using XRD, SEM, optical absorption and electrical studies. X-ray diffraction pattern of the films were obtained using X’pert PRO (PANalytical) diffractometer with CuKα radiation (k = 0.15405 nm) in steps of 0.1 over the 2θ range of 10°–80°. Morphological examination of the films was done using Hitachi (S-3000H) scanning electron microscope. In order to determine the band gap energy of the films, optical transmission study was carried using Perkin Elmer Lambda 35 spectrophotometer. Photocurrent–voltage measurements were performed using (Keithley 4200 semiconductor parameter analyzer under AM 1.5G illumination at 100 mW/cm2).

3 Results and discussion

3.1 Structural studies

Figure 1 shows the X-ray diffraction patterns of three CdS films prepared at deposition times 30, 45 and 60 min and PbS film at 120 min. The diffraction peak observed at 26.5° corresponds to (002) plane which is parallel to the substrate surface, this direction is more favorable due to its lowest surface free energy [20]. It is found that the CdS thin films are in hexagonal crystal structure, which is in agreement with standard pattern (JCPDS card no. 41-1049). The crystallinity of the PbS film is also found good and it has shown three characteristics peaks corresponding to (1 1 1), (2 0 0) and (2 2 0) orientations, it is also in good agreement with its standard JCPDS card No. 00-0050592 with cubic rock salt (NaCl) type structure. The narrow peaks observed for CdS indicates that the material has good crystallinity with prepared orientation along the (2 0 0) direction which is perpendicular to the substrate. The average value of the crystallite size was estimated applying the Debye–Scherrer’s equation (2).

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

where, λ = 1.5406 Å for CuKα, β is the full width at half maximum (FWHM) of the peak and θ is the diffraction Bragg’s angle. The calculated crystallite size and other parameters of the films CdS and PbS are shown in Table 1. From the calculated values of crystallite size, the dislocation density and microstrain for all the samples were determined using Eqs. (3) and (4) and the results are also given in Table 1.

$$\delta = \frac{1}{{D^{2} }}$$
(3)
$$\varepsilon = \frac{\beta \cos \,\,\theta }{4}$$
(4)

The relation connecting stacking fault probability (α) with peak shift Δ (2θ) is given by Warren and Warekois [21] as shown in the Eq. (4).

$$\alpha = \left[ {\frac{{2\pi^{2} }}{45\sqrt 3 }} \right]\,\left[ {\frac{{\Delta (2\theta )}}{{\tan \theta_{311} }}} \right]$$
(5)
Fig. 1
figure 1

XRD patterns of CdS and PbS thin films

Table 1 Thickness and structural parameters of CdS and PbS thin films

Using the expression (5) the stacking fault probability was calculated by measuring the peak shift with the standard value. The intensity of the prominent peak (002) is found to increase with a reduction in peak broadening as the thickness increases. This indicates that there is an enhancement in crystallite size, reduction of stress and strain in the thin films with increase of film thickness (Table 1). Structural parameters of the PbS thin film also calculated and shown in Table 1. As the CdS film thickness increases, the reduction in microstrain and dislocation density may lead to the relaxation of the stress in the films. This relaxation produces misfit between the substrate and the film as the thickness increases and hence the stacking fault decreases as given in the Table 1. The increase in crystallite size with film thickness is a normal phenomenon it has been reported [22, 23]. Similar effect on the microstrain, dislocation density, and stacking fault probability has also been reported in thin films [24, 25].

3.2 Morphological studies

Figure 2a–c shows SEM image of as-deposited cadmium sulphide thin films deposited for 30, 45 and 60 min respectively. It shows that the substrate is well covered with the deposited material without cracks and holes. And also it reveals that the film formed is smooth and dense. Comparing the SEM images of the films grown at different times, it clearly shows that the grains sizes of the films are increased as deposition time increases. The SEM image shown in Fig. 2d shows surface of the PbS film grown on CdS, it has shown spherical nano grains coated over the CdS. The elemental analysis of CdS–PbS thin films deposited on ITO substrate was performed using EDS analysis and it is presented in Fig. 2e. This EDS spectrum shows the trace Cd, Pb and S confirming the growth of CdS and PbS.

Fig. 2
figure 2

SEM images of CdS thin films a 30 s, b 45 s, c 60 s, d ITO/CdS/PbS structure and e EDAX image of solar cell

3.3 Optical studies

UV–Vis–NIR spectroscopy helps to study optical behavior and crystallite size of materials. The optical transmittance spectra of CdS films deposited onto a glass substrate were studied at room temperature in the wavelength range of 300–1100 nm. Figure 3 shows the plot of transmittance of CdS thin film as a function of wavelength. All nano films are observed as highly transparent with an average optical transparency (%T) of >50 % in the visible region of solar spectrum. The transmission of the light through the material depends upon the extent of absorption and scattering. There is a decrease of transmittance for the increase in thickness. An increase in film thickness offers a dense structure with improved crystallinity. Hence, high absorption and scattering of light due to increased thickness causes decrease in %T [26, 27]. The absorption coefficient (α) signifying the inter-band transition near the band gap can be obtained from the transmittance (T) values using the Lambert law

$$\alpha = \frac{\ln (1/T)}{t}$$
(6)

where t, and T are film thickness and transmittance respectively. The value of α decreases with increase in thickness of the deposited films in the band to band absorption region as observed elsewhere [28, 29]. The relatively high values of α (~105 cm−1) at fundamental absorption edge may be due to increase in crystallite size (Table 1) and increase in light absorption (Fig. 3). In all nano films under investigation, a shift in absorption edge towards higher wavelengths for the increase in film thickness has been observed. The following relation was used to calculate the optical band gap with direct transitions of the CdS film,

$$(\alpha h\nu ) = B\,(h\nu - Eg)^{1/2}$$
(7)

where is the photon energy, α is the absorption coefficient, E g is the optical band gap and B is a constant. For calculation of the optical band gap of CdS film, the curve of (αhν)2 versus was plotted. The E g values of CdS film determined from the Fig. 4 are found to be 2.75–2.66 eV, which are higher than the reported values [30]. The value of E g decreases with increase in thickness (Table 2). This may be due to increase in crystallite size, decrease in stacking faults and crystal imperfection (Table 1) which results in orientation of the crystallites and defect-free grain boundaries. The high value of E g in the nano films in comparison to bulk CdS may be attributed to the quantum confinement associated with the existence of nano crystallites in the semiconductor material and the low-dimensional film structure. The Fig. 5 shows the transmittance of PbS film, and the band gap determined for this film is found to be 1.57 eV (Fig. 6).

Fig. 3
figure 3

Optical transmission spectra of CdS thin films

Fig. 4
figure 4

Plot of (αhν)2 (eV2 cm−2) versus photon energy (eV) of CdS thin films

Table 2 Device parameters of all solar cells tested at the room temperature
Fig. 5
figure 5

Optical transmission spectra of PbS thin films

Fig. 6
figure 6

Plot of (αhν)2 (eV2 cm−2) versus photon energy (eV) of PbS thin films

3.4 Photoresponse I–V characteristics

The photocurrent–voltage (I–V) performances of the ITO/CdS/PbS/Al solar cells are shown in Fig. 7. The open-circuit voltage (V oc ) is found to increase from 0.33 to 0.37 V and the short circuit current density (J sc ) is increased from 6.23 to 6.69 mA/cm2 with the increase of thickness. These results revealed that the increase of deposition time increases the open-circuit voltage, which may be due to the decrease in energy band gap of the films.

Fig. 7
figure 7

I–V curves for the solar cells ITO/CdS/PbS/Al cell

The fill factor (FF) was calculated using the following relationship:

$$FF = \frac{{(JXV)_{\hbox{max} } }}{{J_{sc} \times V_{oc} }}$$
(8)

The energy conversion efficiency (η) can therefore be calculated using the equation:

$$\eta = \frac{{FF \times J_{sc} \times V_{oc} }}{{P_{in} }}$$
(9)

The efficiency of the solar cells was estimated to be 0.782, 0.891 and 1.11 % respectively for the deposition time of 30, 45 and 60 min, respectively. It was lower than Obaid et al. [31] and Borja et al. [32] fabricated solar cells using PbS/CdS. The results obtained in this work show that the efficiency of the cell can be increased by increasing the thickness of the films due to increased deposition time. The series resistance (R s ) and shunt resistance (R sh ) of all the three samples were estimated using Eqs. (10) and (11), respectively

$$\left[ {\frac{dI}{dV}} \right]_{I = 0} \cong \frac{1}{{R_{s} }}$$
(10)
$$\left[ {\frac{dI}{dV}} \right]_{V = 0} \cong \frac{1}{{R_{sh} }}$$
(11)

A low series resistance can permit high current through the cell at low applied voltages. This series resistance is obtained due to contact resistance and bulk resistance of the photoactive material.

A large shunt resistance is resulted if there are shorts or leaks of photocurrent in the device. Detailed parameters of the solar cells extracted from the I–V characteristics are listed in Table 2. This significant improvement in photovoltaic performance of the fabricated ITO/CdS/PbS/Al solar cells may be attributed to the following reasons: (1) An enhanced absorption of sunlight caused by the red shift of the bandgap resulting enhanced current density. (2) The increased grain size can reduce the particle-to-particle hopping of the photo-induced carrier. (3) The improvement in the quality of the CdS thin films without imperfections and defects, which may reduce the recombination of photo-excited carriers resulting high power conversion efficiency. The results obtained in this study have shown an improvement comparing the earlier reports [33, 34].

4 Conclusion

CdS, PbS and CdS/PbS thin films were successfully grown on glass and ITO coated glass substrates. The CdS thin films have shown hexagonal phase with a preferred orientation in the (0 0 2) plane. PbS film has shown cubic rock salt structure with (200) preferred orientation. SEM analysis of the films has shown uniformly distribution of grains on the substrate. The grain size and thickness of the films was found to increase with the deposition time. Optical characterization has done for the films have shown decrease of band gap with the increase of deposition time. The conversion efficiency of the fabricated solar cells is found increase from 0.78 up to 1.1 %, as CdS deposition time increases. This improvement can be associated with several factors, but mostly attributed to the enhancement of crystallinity. It is found that the deposition time has a significant effect on solar efficiency.