1 Introduction

The design and discovery of earth-abundant, versatile composite materials for energy conversion play a vibrant role in renewable energy solutions [1,2,3,4,5]. In the modern era, material industries and researchers across the globe concentrate on the improvement of novel next-generation/smart materials [6]. In this context, the IIA–VIB chalcogenide semiconductor family gaining tremendous attention owing to their suitable material characteristics and practical applications [6,7,8]. Cadmium selenide (CdSe), an interesting photovoltaic semiconductor belongs to the IIA–VIB group and has a direct bandgap of 1.7 eV, excellent luminous properties, with a high absorption coefficient, high electron affinity, and showing size quantization effect [9,10,11]. The intense research in the last five-six decades recognized CdSe as a multifunctional binary semiconductor, popular for a variety of outstanding technological/optoelectronic applications such as photodetectors, transistors, photoconductors, solar cells, lasers, sensors, LED, solar selective coatings, biomedical devices, and photoluminescent devices [9, 12,13,14,15]. Furthermore, the n-type CdSe material is a better substitute for expensive CdTe absorber material for solar cell application [16]. Whereas, Cd is toxic however Cd-based solar cells (CdSe and CdTe) have drawn the great consideration of researchers as possible substitutes for expensive Si-based solar cells and also for the less stable and quickly degradable perovskite solar cells [16]. However, reducing Cd use in the large-scale production of these CdSe and CdTe-based solar cells is necessary owing to toxicity and environmental threats [16, 17]. In this scenario, one way to accomplish this goal is to substitute the Cd from Cd-containing compounds while maintaining an improvement in efficiency [18].

The replacement of toxic Cd by intentional impurity addition in the CdSe compound acts as a chemical modifier that is greatly influential toward properties engineering of the semiconductors and thus offers unparalleled opportunities in the energy generation fields [5, 8, 13, 19]. The physical, structural, morphological, optical, and electrical transport properties could be tailored and developed employing doping/replacement of the host material with appropriate dopant atoms [5, 8, 13,14,15,16,17, 20]. Previously, pristine CdSe properties were modified by various dopants such as Mn, Ag, Al, B, Bi, Zn, Ga, Sb, Tl, Fe, Er, Ni, and In to meet the global demand for high-tech applications [20,21,22]. Among the various dopants, In has a similar ionic radius (0.94 Å) to Cd (0.97 Å) and consequently lower energy formation to replace the Cd [23, 24].

On the other hand indium selenide (InSe) belongs to the III-VI group metal–semiconductor and has fascinated tremendous attention owing to its high photo-response, tunable bandgap (1.4 to 2.6 eV), quantum confinement effect, phase-transition phenomena, high carrier mobility (~ 105 cm2 V−1 S−1) and excellent electrical transport properties indicating a great potential in optoelectronic devices [18, 25, 27]. The phase diagram of InSe demonstrates that there are several stable phases with many stoichiometries such as InSe, In2Se, In3Se2, In4Se3, In5Se6, In6Se7, In3Se4, In2Se3, and In2.5Se4, as observed in many reports [26]. Therefore, the substitutional replacement of Cd2+ by In3+ contributes free electrons, and enhance n-type characteristic resulting in decreased electrical resistivity [17, 28]. Till today different doping schemes such as intercalation, surface charge transfer, and substitution doping have been explored, among them substitution doping strategy was reported as the most stable way [25]. In this context, many researchers stated that the substitution of cadmium by indium was safe and capable of maintaining efficient PV performance [18]. Even though indium is an expensive element however, a small amount of indium doping was found to be suitable to modify and boost the different allied material properties for forthcoming absorber material applications [29]. Hence, indium has huge potential to modulate and engineer the materials features through the replacement of Cd is one of the prime objectives of our studies [8, 28]. Hence, we have decided to replace toxic Cd with non-toxic and stable In to form InxCd1 − xSe ternary compound by CBD method. Therefore, through this paper, we address the deposition of InxCd1 − xSe thin layers and their compositional, morphological characterizations, and thorough study of optoelectrical properties.

2 Methods and measurements

2.1 The materials synthesis

The deposition of InxCd1 − xSe (0 ≤ x ≤ 0.1) layers were carried out on micro-glass slide substrates (7.2 cm × 1 cm × 0.2 cm) in an alkaline chemical bath. Before deposition, the glass substrates were cleaned in an ultrasonic bath for 10 min by washing sequentially in ethanol, acetone, and double-distilled water (DDW), respectively. AR grade precursors [cadmium acetate, selenium metal powder, indium chloride sodium sulfite, ammonia, and triethanolamine (TEA)] were used for the deposition of the InxCd1 − xSe compound. The Se-precursor (Na2SeSO3) was acquired by refluxing selenium metal powder with sodium sulfite at 80 °C for 9 h. The deposition of InxCd1 − xSe films was made feasible by mixing precursor solutions as; 10 ml (1 M) cadmium acetate, 2 ml triethanolamine (TEA), 15 ml aqueous ammonia, and 33 ml (0.33 M) sodium selenosulphate in a 100 ml glass beaker. An appropriate amount of InCl3 was mixed in a reaction mixer to define the x value (In-content) from 0.025 to 0.1. The final reaction mixer’s volume was made to 100 ml by the addition of DDW. The resulting pH was 10.1 ± 0.1. The reaction beaker containing precursors was shifted to a constant temperature paraffin oil bath (70 ± 0.1 °C). After 180 min the substrates were detached from the holder, washed with DDW, and desiccated carefully. The schematic of the actual chemical solution deposition method is given in Fig. 1.

Fig. 1
figure 1

Schematic of the chemical growth technique

2.2 The characterization tools and techniques

The InxCd1 − xSe thin layers were characterized through the following techniques. The film thickness was determined by a Tencor P-16 + surface profilometer. The surface wettability test was performed by a computer-controlled goniometer by a Rame-Hart Inc. model-10 micro-syringe. Chemical composition and surface topography were then determined with an energy dispersive spectroscopy (EDS) unit connected to a scanning electron microscope (SEM) JEOL 6360-JED2300. High-angle annular dark-field (HAADF) scanning tunneling electron microscopy (STEM) was implemented for elemental mapping, and the surface nanostructures were inspected by high-resolution transmission electron microscopy (TEM, Tecnai F21, FEI Company). The surface topographical insights were collected by an atomic force microscope (Innova, Bruker) in Tapping Mode at ambient conditions such as (k = 40 N/m, frequency = 290 kHz, and tip curvature < 10 nm). The data acquisition was done with the help of SPIP software from Image Metrology. The absorbance (αt) measurements, were done in the wavelength ranges from (400 nm to 1000 nm) using a BIO-AGE UV-Vis 2800 spectrophotometer. The electrical characteristics were measured by a two-probe technique in the temperature ranges from 350 to 550 K. The silver paste was applied to the well-defined area of the films to make good ohmic contacts. The voltage and current were recorded by the HIL 2665, 41/2 digit multimeter, and DNM-121, 41/2 digit nanoammeter, respectively. A chromel–alumel thermocouple was used to sense the working temperature.

3 Results and discussion

3.1 Reaction mechanism and physical observations

The principle of the chemical solution deposition method is to govern the chemical reaction to realize the deposition of a solid thin film by chemical precipitation [13]. The development of InxCd1-xSe thin films relies on the discharge rate of Cd/In and Se ions and the development ensues with the sequential steps as follows [13];

$${Na}_{2}Se{So}_{3}+ { OH}^{- } \leftrightarrow {NH}_{2}{So}_{4 }{+ HSe}^{-}$$
(1)
$${HSe}^{- }+ \overline{O }H \leftrightarrow {{+ Se}^{2- }+H}_{2}{O}_{ }$$
(2)
$${Cd}^{2+ }+n. \left(TEA\right)+ {NH}_{3} \stackrel{ }{\to } {[Cd(TEA)}_{n}{]}^{2+ }+ {NH}_{4}OH$$
(3)
$${x[In(TEA)}_{n}{]}^{3+ }+\left(1-x\right) {[Cd(TEA)}_{n}{]}^{2+ }+ {Se}^{2- } \stackrel{ }{\to } {{In}_{x}Cd}_{1-x}{Se}+ n\left(TEA\right)$$
(4)

As-deposited CdSe and InxCd1 − xSe films were relatively smooth, tightly adherent, and diffusely reflecting. The physical observations show film colour changes from an orange-red (CdSe) to faint orange-red as indium concentration increased from 0.025 to 0.1 as shown in Fig. 2 (Inset). When the x (In –content) changes from 0 to 0.1, the corresponding film thickness was reduced from 138 to 91 nm (Fig. 2). With enhancing indium concentration in the CdSe host, the In ions can hold the interstitial sites of the CdSe lattice ensuing in a considerable impurity scattering and affecting a film thickness [1]. The surface wettability of as-deposited layers was studied to figure out the nature of the growth and the surface modifications in the films with x (Fig. 2). The pure CdSe, film growth is hydrophobic as θ > 90°, whereas for In added samples, the contact angle decreased showing that the film tends to become hydrophilic (Table 1). Thus, InxCd1-xSe thin films with a hydrophilic surface are useful as a window layer material and in electrochemical photovoltaic applications.

Fig. 2
figure 2

Film composition, (x) versus film thickness and contact angle (inset- colour indication of the materials)

Table 1 Some physical, compositional and microscopic measurements on CdSe and InxCd1-xSe thin films

3.2 Compositional analysis

The atomic percentages of Cd, In, and Se in the as-deposited InxCd1 − xSe films are documented in Table 1. Our previous experimental reports indicated that the pristine CdSe is nearly stoichiometric [8, 13], while, the present case shows a slight deviation in stoichiometry (Cd/Se = 1.08). Pure CdSe samples are a little bit Cd-rich whereas, the addition of In in CdSe causes InxCd1-xSe to be a bit Se-rich. The variation of Se-content in the films is not much significant. It should be noted that for film composition ranging from 0 to 0.075, Se2− content in the film is nearly 50%. Thorough EDS analysis showed that In replaces Cd from the CdSe host with enhancing In-content. The atomic percentage of In is augmented continuously during the composition variation. This behaviour can be clarified as In3+ serving as a foreign inhomogeneity/nucleus which advances the growth mechanism [30]. The three representative EDS spectrographs for CdSe and InxCd1-xSe samples are revealed in Fig. 3a–c.

Fig. 3
figure 3

a–c Typical three representative EDAX patterns and SEM micrographs of d x = 0, e x = 0.025, and f x = 0.075 for InxCd1 − xSe films

3.3 Morphological features

3.3.1 Scanning electron microscopy

Figure 3d–f shows SEM micrographs of the InxCd1 − xSe thin films. The CdSe films consist of spherical densely packed crystallites which are deeply embedded into an environment of smaller tiny crystallites. A sort of crystallite fusing has also been observed as bright spots in Fig. 3d. Previously, many authors observed the same kind of microstructure for CdSe thin films [13, 14]. The surface morphology of CdSe is improved significantly after In-doping. The grains retain their shape but the size is remarkably enhanced at the cost of inter-granular spacing (e.g. x = 0.025 and 0.05). The grains got well defined but a considerable increase in inter-granular spacing has been observed for higher In-concentration in CdSe (e.g. x = 0.075 and x = 0.1). At higher In-concentration, two or more grains initiate to form a globule-like growth. Thus, it is observed that the accumulation of In into the CdSe host, plays a key role in defining and crafting the surface properties like grain size distribution crystallinity and crystallite density, etc. The improved crystallinity with the increased size of spherical granules helps to improve light absorption and effectual spectral sensitivity which is beneficial in different optoelectronic applications.

3.3.2 Transmission electron microscopy (TEM)

The nanostructure of the CdSe (x = 0) and InxCd1 − xSe (x = 0.075) thin films was observed using TEM. Figure 4a, a2, b, and b2 shows different magnification TEM images of x = 0, and x = 0.075 samples consisting of agglomerated spherical crystallites. A high-magnification TEM image (Fig. 4a2 and b2) displays the edges of CdSe and InxCd1-xSe crystals. Figure 4a3, b3 reveals the selected area electron diffraction (SAED) pattern which suggests the crystalline nature of both CdSe and InxCd1 − xSe thin films. The EDAX elemental mapping and HAADF-STEM analysis of the InxCd1 − xSe, (x = 0.075) sample revealed that the cadmium, indium, and selenide atoms are homogeneously distributed over the film surface, as displayed in Fig. 4c–c3). Thus, TEM observations mimic our SEM observation and endorse the polycrystalline nature of the CdSe and InxCd1-xSe thin films.

Fig. 4
figure 4

a, a1, b, b1 TEM and a2, b2 HR-TEM images and a3, b3 SAED pattern of the CdSe and InxCd1 − xSe films at x = 0 and 0.075, c selected region for EDS mapping of c1 Cd, c2 In and c3 Se elements and of the InxCd1 − iSe films at x = 0.075

3.3.3 Atomic force microscopy

The 2D AFM topographs mimic the SEM micrographs as seen in Fig. 5a–c. The 3D AFM topographs of as-grown InxCd1 − xSe films are shown in Fig. 5a1–c1. Surface topography of the CdSe and InxCd1 − xSe films showed the existence of hillocks and valleys, which is an indication of the crystalline nature of samples [1, 5]. With the addition of In the size of the hillocks enlarged and it seems that minor hillocks are merged into each other developing a large flat-topped hillock. Rather than sharp and well-defined crystalline hillocks, a considerable rounding of the hillocks was observed at higher doping levels (Fig. 5c1). The different AFM surface topographic parameters are cited in Table 2. For these samples, a higher value of RMS roughness was observed (Table 2). The positive skewness (SSk) moment for CdSe and InxCd1 − xSe suggests the surface has more hillocks than valleys. Hence In-doping causes, asymmetrical height distribution results in a more rough surface which may enhance light trapping and be useful for different optoelectronic device applications [31]. The irregularity in the height distribution of the AFM topography was studied through the Kurtosis measurements. When Sku = 3, the surface is mesokurtic, while if (Sku < 3), the surface becomes platykurtic (spiky surfaces), if the Sku > 3, then called leptokurtic (bumpy surfaces) [1, 5]. Pristine CdSe and InxCd1 − xSe films having (Sku < 3) signpost growth of the samples was platykurtic nature (domination of hillocks over valleys is confirmed). It has also been reported that to boost the efficiency of PV-device, rough topography of the absorber materials is required; the rougher surfaces have the advantage of enhancing the contact area of the active layer with the top contact layer which can enhance the short circuit current density remarkably [31]. The Sobel transformation, an advanced imaging technique was also used for edge detection of topography and better visibility of grains [5] which highlighted the agglomeration of spherical and flat-topped larger grains (Fig. 5a2–c2). Angular spectra studies designated the presence of a privileged orientation of the morphological features (Fig. 5a3–c3).

Fig. 5
figure 5

a–c 2D, a1–c1 3D-AFM topographs of CdSe and InxCd1 − xSe thin films a2–c2 Sobel transformation and a3–c3 angular spectra for same films

Table 2 AFM studies on CdSe and InxCd1-xSe thin films

3.4 Optical studies

The optical absorbance (αt) of the CdSe and InxCd1 − xSe films was measured from the 400 nm to 1200 nm wavelength range. The absorption coefficient (α) was evaluated and was found to be high as expected (α ≈ 104 cm−1) [13, 14]. The variation of an absorption coefficient (α) vs λ is shown in Fig. 6a. Tauc’s plots are mainly used to determine the band gaps (Eg) of semiconductor thin films and to assess the influence of doping on the optical characteristics of the material.

Fig. 6
figure 6

Plots of a absorption coefficient (α) vs wavelength (λ), b determination of optical band gap, c dependence of the extinction coefficient (k) upon the wavelength photons d Log σ vs 1000/T, and e electrical conductivity vs film composition

The Tauc’s relation was used to determine the bandgap [13, 32];

$$\alpha h\upupsilon ={A(h\upupsilon -\mathrm{Eg})}^{m},$$
(5)

where α is the absorption coefficient, A is a constant, and hυ is the energy of a photon. The energy Eg values are determined from (αhυ)2 versus hυ graphs (Fig. 6b) [13, 32]. From Table 3 the Eg of pure CdSe is found to be 1.80 eV and was decreased upto 1.54 eV for x = 0.1. This decrement in Eg can be credited to the development of additional donor states in the bandgap by the addition of In into the CdSe host matrix. However, the reduction in the Eg towards the maxima of the solar spectrum is advantageous for the fabrication of window materials in solar cells [33]. The extinction coefficient (k) is the amount of light absorbed or/and scattered as light pass through the material. The k was calculated from the relation [32, 33].

$$\mathrm{k}= \mathrm{\alpha \lambda }/4\uppi,$$
(6)

where α is the absorption coefficient, and λ is the wavelength. From Table 3 it is observed that the k value increases with In composition. The higher value of k for InxCd1 − xSe samples indicates absorption per unit distance was high and less energy was lost by scattering when light passes through InxCd1 − xSe films [35]. At the higher wavelength side (> 800 nm) the k values are in the range of 0.01 or less, which denotes slite or irrelevant dissipation of energy, of the propagated electromagnetic waves (EM), by the scattering or absorption. Figure 6c reveals k-values are suddenly dropping and reaching zero at a higher wavelength range. This decrement of the k-value with increasing wavelength specifies that as-deposited thin films permit EM to propagate without any loss or damping in the NIR-spectral region. This behaviour of k demonstrates InxCd1 − xSe films become good absorber material [35, 36]. Hassanien et al. and others have found similar behaviour of k for several semiconducting materials [35,36,37]. The knowledge about the dielectric constant of material was beneficial for the design and development of different next-generation charge storage devices, microwave devices, etc. [38].

Table 3 Optical parameters of CdSe, and InxCd1-xSe thin films

The real and imaginary dielectric constants (ε1) and (ε2) are determined by the following equations [32, 34].

$${{\upvarepsilon }_{1} =n}^{2} - {k}^{2}$$
(7)

The real dielectric constant accounts for energy stored in the material and influences the electromagnetic wave (EM) dispersion which further origins a reduction in the velocity of incident photons while propagating in a medium (film) [34, 37].

$${\upvarepsilon }_{2}= 2\mathrm{nk}$$
(8)

However, the ε2 signifies the polarization losses in the film. On the other hand, ε2 illustrates the dissipation or energy loss within the medium [34]. The imaginary part of the dielectric constant is very less as compared to the real part. Table 3 depicts both the (ε1) and (ε2) values increased with In-content. The increment of ε1 suggests that In enhances the dispersion and therefore, indium was responsible for decreasing the speed of the propagated EM. Similarly, enhancement in (ε2) by integration of In, also states about augmentation of the energy loss within the film [34]. The simultaneous integration of S and Se in CdSe showed a similar trend for ε1 and ε2 [32], and in the present case, ε1 and ε2 exhibit the same behaviour as that of k.

The high-frequency dielectric constant (ε) is determined by the following equation [32]

$${{\upvarepsilon }_{\infty }=n}^{2}$$
(9)

Table 3 displays that the values of (ε) are higher than the index of refraction. This behaviour of (ε) designates the existence of the free charge carriers in the InxCd1 − xSe films [37].

The static dielectric constant (εo) is determined by the following equation [32];

$${\upvarepsilon }_{0}= 33.26876 + 78.61805{E}_{g} -45.70795{{E}_{g}}^{2 }+8.32449{{E}_{g}}^{3 }$$
(10)

The static dielectric constant (ε0) follows the same trend as n, k, ε1, and ε2.

3.5 Electrical transport studies

Figure 6 e reveals the Arrheneous behaviour with the semiconducting nature of the CdSe and InxCd1 − xSe films. In the conductivity plot the low-temperature range (300 K to 360 K) is associated with intrinsic conduction (variable range hopping) and the high-temperature region (360 K to 550 K)is related to extrinsic conduction (grain boundary scattering limited conduction mechanism) [8, 15]. The conductivity of the pristine CdSe was found to be 4.60 × 10−5 (Ω cm)−1 which is in good consonance with recently stated values [8, 13]. The electrical conductivity (σ) was found to be improved continuously with an increase in x (Table 3). The highest electrical conductivity of 8.10 × 10−5 (Ω cm)−1 was observed at x = 0.1 shown in Fig. 6e. Thus, the substitution of a Cd by In is more advantageous which causes the boosting of electrical conductivity [11]. The increase in electrical conductivity can be credited to the reduced energy gap and improvement in the grain structure as a result of In corroboration in the CdSe matrix. Our previous attempt of substitutional Al3+ doping in the CdSe host exhibited similar electrical conductivity outcomes to InxCd1 − xSe [14].

4 Conclusion

The deposition of ternary InxCd1 − xSe films was made feasible using an inexpensive chemical deposition technique. The compositional analysis exhibited the formation of the ternary InxCd1 − xSe films. The surface morphology showed swollen spherical crystallites with varying inter-crystalline spacings on In-integration. AFM results presented domination of hillocks over valleys and the growth of the samples was platykurtic. Optical studies revealed a high absorption coefficient of ~ 10−4 cm−1 and Eg is shifted towards the ideal value (1.54 eV for x = 0.1). Integration of In increases extinction coefficient (k) values. The deviation of dielectric constants (real and imaginary) with photon energy suggests the interaction between the incident photons and free electrons. Electrical transport studies showed conductivity modulation by In-integration. Finally, our finding reveals doping of indium improves the morphology and optoelectronic properties of the CdSe films. Therefore, a comprehensive study of the InxCd1 − xSe films deposited by a facile and inexpensive chemical deposition process can offer a valuable addition to the field of optoelectronics, and such types of doped chalcogenides can be employed in various optoelectronic applications.