1 Introduction

One of the important oxide semiconductors is cadmium oxide (CdO). It was used in some applications including solar cells, smart windows, optical communications, anti-reflection coatings, and flat panel display photodiodes [1,2,3], depending on their electrical and optical behaviors. Pure CdO doped with Sn exhibit semiconducting behavior with good electrical conductivity; in addition, it has transparency in the visible region with direct bandgap energy of 2.54–3.10 eV which increased with doping Sn element [4, 5]. The control of CdO conductivity is difficult during the process of film preparation. CdO can be tuned by doping a number of materials such as S, Pb, Al, In, and Ti [5, 6]. It was realized that doping of Pb, Al, Ti promotes energy bandgap, leading to an increase in electrical conductivity [7,8,9].

The present study emphasized on CdO compound by doping thin-film Sn element and alloys due to their significance in contemporary electronic devices. This study implied that while Sn concentrations were doped to the compound, optical energy bandgap increased theoretically and experimentally. This plays a great role in optoelectronic devices and optical behaviors in those alloys and thin film. Investigation of some optical properties in those alloys has been performed.

In the present work, pure CdO was considered experimentally. 2–8% of Sn was doping agent for CdO films. Structural and optical properties are measured. While structural, electronically and optical performance of Cd1-xOSnx alloys for x composition at a constant temperature have been pointed out once more and they were obtained as well, in which (DFT) was used [10].

2 Methods

2.1 Experimental procedure

Thin films of CdO and Sn-doped CdO were obtained using SPT. An aqueous solution of 0.1 M CdCl2 was dissolved in deionized water to prepare cadmium oxide. O.1 M of SnCl4·5H2O was used as a doping agent at a concentration of 2–8%. This solution was deposited onto a preheated glass substrate kept at 400 °C. After many trials, the parameters reached the optimal values: Substrate-to-nozzle distance, 30 cm; spraying rate, 5 mL/min; spraying time, 10 s followed by 1 min wait to stop extravagant cooling; and nitrogen as carrier gas. Gravimetric method was used to evaluate thickness, and their values were found to be in the range of 350 ± 50 nm. Transmittance and absorbance were obtained via a double-beam spectrophotometer (Shimadzu UV-1650). XRD was used to analyze the film structure. SEM was used to estimate the film morphology. Topography was determined by AFM (AA3000 SPM).

2.2 Theoretical model

Physical behaviors of Cd1–xOSnx alloys were investigated using the CASTEP program [11]. Calculation in this program is implemented via Kohn–Sham formation, based on DFT. Generalized Gradient Approximation (GGA) is made for electronic exchange–correlation potential energy, which was brought about by electron–ion interaction [12]. A cubic unit cell is constructed with (Cd/Sn).

One of the models used in Cd1–xOSnx ternary alloys was wurtzite. A 16-atom super cell was applied that matches 2 × 2 × 1 and is twice of wurtzite unit cell, concerning the size in the initial plan. Pseudo-potential concept was used to describe Coulomb potential energy, which was led by electron–ion interaction.

The scheme suggested by Liou et al. [13] was used to adopt the optimized non-local pseudo-potential, in which orbitals including Cd (4d10 5s2), O (2s2 2p4), and Sn (4d10 5s2 5p2) played role as valence electrons.

A kinetic energy cutoff of 890 eV was used in plane waves, as the wave function was prolonged. Furthermore, the k-point of 5 × 5 × 4 was applied for x = 0.5 and 6 × 6 × 6 for the other composition x. In the present work, the proportion between the Cd, O, and Sn atoms was identified for every alloy.

The specified electronic energy bandgaps (Eg) are at the Γ point for crystalline alloys in the bulk structure using electronic exchange–correlation energy.

Cd1–xOSnx alloys with cubic symmetry in the calculations were indicated for the five systems to continue regularity and easiness. The expectation was that for x = 0, 0.25, 0.5 and 0.75, non-cubic structure for the layered alloy. The first step of Geometry Optimization was achieved for Cd1–xOSnx alloys for x compositions with symmetry P1. Figure 1 shows the optimization step only for x = 0.75 as an example.

Fig. 1
figure 1

Optimization step convergence of Cd1–xOSnx for x = 0.75

Equilibrium lattice constant was calculated from high symmetry directions in first Brillouin zone and corresponding density of the states. Calculations of band structures well matched with each other for CdOSn alloys.

The optical behaviors were indicated for all alloys. The dielectric equation ε(ω) = ε1(ω) + iε2(ω) was utilized for describing linear response, resulting from interaction of photons with electrons [14]. The real part ε1(ω) of dielectric equations was calculated using Kramers–Kronig relation [15]. Complex dielectric function embraced other optical behaviors. Below are some of the terms used to express dielectric functions [16, 17]:

$$\varepsilon_{1} (\omega ) = 1 + \frac{2}{\pi }\int\limits_{0}^{\infty } {\frac{{\varepsilon_{2} (\omega ^{\prime})\omega ^{\prime}d\omega ^{\prime}}}{{\omega ^{{\prime}{2}} - \omega^{2} }}};$$
(1)
$$\varepsilon_{2} (\omega ) = \frac{{Ve^{2} }}{{2\pi \hbar m^{2} \omega^{2} }}\int {d^{3} k\sum\limits_{nn^{\prime}} {\left| {\left\langle {kn} \right|p\left| {kn^{\prime}} \right\rangle } \right|^{2} } } f(kn) \times \left[ {1 - f(kn^{\prime})} \right]\partial (E_{kn} - E_{kn^{\prime}} - \hbar \omega ),$$
(2)

where \(\hbar \omega\) is incident photon energy, \(p\) is the momentum \(\frac{\hbar }{i}\;\frac{\partial }{\partial }x\), \(\left| {kn} \right\rangle\) is the eigenfunction with eigenvalue \(E_{kn}\), and \(f(kn)\) is Fermi distribution function;

$$\alpha (\omega ) = \sqrt {2\omega } \left[ {\sqrt {\varepsilon_{1}^{2} (\omega ) + \varepsilon_{2}^{2} (\omega )} - \varepsilon_{1} (\omega )} \right]{}^{1/2}.$$
(3)

Using these relations of Eqs. (1)–(3), real part of the dielectric functions ε1(ω) and absorption \(\alpha\)(\(\omega\)) were calculated.

3 Results and discussion

Figure 2 displays XRD patterns of the prepared CdO doped with 0% (undoped), 2%, 4%, 6%, and 8% Sn, respectively. All the films display mainly CdO diffraction peak at (111),(200), (220) planes assigned to ICDD card no. 005-0640. Diffraction peaks of Sn at (211) and (200) corresponds to ICDD card no. 04-0673. These peaks confirm the formation of polycrystalline CdO, which agreed with the results gained by Kathalingam et al. and Makori et al. [18, 19]. To obtain the detailed structure information, the crystallite size (\(D\)) was evaluated using Debye–Scherrer’s equation [20]:

$$D = \frac{0.94}{{B\cos \theta }},$$
(4)
Fig. 2
figure 2

XRD patterns of CdO doped with (0–8%) Sn, respectively

where B, λ, θ is the FWHM, X-ray wavelength, Bragg’s angle, respectively. D increases with increasing Sn content; hence the order of crystallinity was improved by doping.

Figure 3a–e depicts SEM images of CdO doped with (0–8%) Sn. The CdO doped with 8% Sn content has the best regular surface, referring that Sn doping affects the crystalline structure and changes the film morphology as displayed by SEM images.

Fig. 3
figure 3

ae SEM images of CdO doped with (0–8%) Sn

The thin films have regular surface morphologies with spherical combinations composed of nanoparticles. By increasing Sn content, surface morphology of CdO films changed significantly. When Sn concentration increases, the crystallite size also progressively increases. These results were confirmed by the XRD results and agrees with the reported results of León-Gutiérrez et al. [21].

The minimizing lattice parameter of the crystal was used to calculate lattice constants of alloys at equilibrium. The lattice parameters discovered were 4.612, 4.781, 4.790, and 4.808 Å for Cd1–xOSnx alloys for x = 0, 0.25, 0.5, and 0.75, respectively. In the \(\Gamma\) direction, the calculated alloys got direct bandgap energy. Table 1 indicates the results of the present work.

Table 1 Average transmitters (AT), optical energy bandgap (Eg), and optical dielectric constant ε(0) of the deposited films

Table 1 displays the bandgap energies (Eg) based on Sn concentration. As Eg increases from 2.581 to 2.943 eV, x composition of alloys increases. The bandgap energy in theoretical data is less than the experimental data due to the usage of the GGA calculation.

Table 1 also displays the achieved findings including theoretical and experimental data of energy bandgap values. The results were in consistent with other studies [19, 22].

In Fig. 4, the experimental results of (αhν)2 against hν of the deposited thin films are presented. The bandgap energies increased as the value of Sn content increased.

Fig. 4
figure 4

Experimental variation of (αhγ)2 versus (hγ) of Sn-doped CdO films

Figure 5 represents the increase of the optical bandgap energies in experimental and theoretical data with an increase in Sn content. It was approximately an increase about zero in bandgap energies value with increase in Sn concentration and it referred to a proof of decreased conduction band edge with an increase in doping concentration [22]. Figure 6 includes (a) theoretical and (b) experimental dielectric function data of the real part.

Fig. 5
figure 5

a, b Increase in the determined optical bandgap energies theoretically and experimentally via increasing Sn content

Fig. 6
figure 6

(a, b) Real part of dielectric function

Figure 6a and b also indicates that as the energy increases, the dielectric function increases too likewise out of the region between 1.98 and 3.85 eV. All these are called normal dispersion. Though strong absorption and increase in reflection were presented at 2.13–3.48 eV, it was clarified in the absorption data.

These alloys have limitation of essential absorption at visible and near-infrared spectrum regions. These regions are effective for electronic devices. Figure 6a and b shows the calculation of static dielectric constant ε1(0) and their values are listed in Table 1.

Figure 7 provides information about optical absorption spectra of Cd1–xOSnx alloys under scissor operation. Due to underestimation of energy bandgap, it is hard to gain the exact optical energy bandgap. In theoretical calculations, energy scissor approximation with 0.6 eV to fit the absorption edge was utilized in the experimental value as seen in Fig. 5a and b. This process can be considered as a successful way for various systems [23]. Tauc’s equation interpreted the relation between Eg and the absorption coefficient (α) [24]:

$$\alpha h\gamma = c \left( {h\gamma - E_{{\text{g}}} } \right),$$
(5)
Fig. 7
figure 7

Optical absorption (theoretical) of the Cd1−xOSnx alloys

where c is a constant. Eg was achieved by plotting \((\alpha h\gamma\))2 via hν. Eg of alloys was also gained using extrapolation.

In Fig. 8, the optical absorbance of the deposited films were displayed. For wavelengths less than 450 nm, the absorbance became very high for doped films. The doping demonstrates an enhancement in film structure and increase in the grain size, which agrees with Chowdhury et al. [25].

Fig. 8
figure 8

Absorbance (experimental) of the deposited films

In Fig. 9, the experimental transmittance spectra of CdO and Sn-doped CdO can be seen. The results of experimental data have indicated that the transmittance was found to be 88% for the undoped film, while transmittance declines with Sn contents as 78%, 77%, 71%, and 69% for 2%, 4%, 6%, and 8%, respectively, in visible and near-infrared region (450–850 nm). The increased photon scattering by crystal defects/doping leads to a decrease in transmittance [24]. The optical transmittance is effectively linked to its surface morphology.

Fig. 9
figure 9

Transmittance (experimental) of the deposited films

The transmittance spectra (theoretical) of CdO and Sn-doped CdO are shown in Fig. 10. Transmittance declines with x compositions as 87%, 75%, 72%, and 67% for 0, 0.25, 0.50, and 0.75, respectively, in visible and near-infrared region (460–840 nm). In addition, for the theoretical results, it found that the transmission decreases with increasing Sn. According to the findings, the values of theoretical and experimental data agreed with each other, and it is consistent with Ronconi and Kumaravel’s results [26, 27].

Fig. 10
figure 10

Transmittance (theoretical) of the deposited alloys

4 Conclusions

To sum up the theoretical results, electronic and optical properties of the Cd1-xOSnx alloys using the DFT calculations based on the plane-wave pseudo-potentials method within the GGA approximation were pointed out. The calculations were performed for the lattice constants (4.612, 4.781, 4.790, and 4.808 Å for Cd1–xOSnx alloys for x = 0, 0.25, 0.5, and 0.75), energy bandgap, and optical properties.

In the electronic structures, energy gap also increased from 2.581 to 2.941 eV in theoretical findings with increasing tin doping concentration for x compositions. These results are in agreement with experimental data increased from 2.884 to 3.106 eV. All data were closely compatible in electronic properties with doped thin films.

Experimental and theoretical findings consider that the transmittance decreases with doping from 78%, 76%, 65%, and 61% for 2%, 4%, 6%, and 8% Sn-doped CdO, respectively. Also in theory section Transmittance declines with x compositions as 87%, 75%, 72% and 67% for 0, 0.25, 0.50, and 0.75, respectively, in visible and near-infrared regions.

Electronic and optical behaviors of these alloys and thin films with Sn concentration (theoretical and experimental) can be taken into consideration for electronic devices and applications. It can also be used as an effective and beneficial reference for technological life.