#### Abstract

Zinc blende (zb) and wurtzite (wz) structure of cadmium sulfide (CdS) are analyzed using density functional theory within local density approximation (LDA), generalized gradient approximation (GGA), Hubbard correction (GGA + U), and hybrid functional approximation (PBE0 or HSE06). To assure the accuracy of calculation, the convergence test of total energy with respect to energy cutoff and *k*-point sampling is performed. The relaxed atomic position for the CdS in zb and wz structure is obtained by using total energy and force minimization method following the Hellmann–Feynman approach. The structural optimization and electronic band structure properties of CdS are investigated. Analysis of the results shows that LDA and GGA underestimate the bandgap due to their poor approximation of exchange-correlation functional. However, the Hubbard correction to GGA and the hybrid functional approximation give a good bandgap value which is comparable to the experimental result. Moreover, the optical properties such as real and imaginary parts of the dielectric function, the absorption coefficient, and the energy loss function of CdS are determined.

#### 1. Introduction

Chalcogenide is a chemical compound consisting of at least one chalcogen anion and one more electropositive element. Hence, the term chalcogenide is more commonly reserved for sulfides, selenides, and tellurides rather than oxides [1]. Cadmium chalcogenides are monochalcogenides having the formula CdX (X = S, Se, and Te). They typically crystallize in one of the three motifs, zinc blende (zb) (face-centered cubic), wurtzite (wz) (hexagonal), and rock salt (cubic) structures [2]. The experimentally stable crystal phase of CdS is a wurtzite structure [3]. Furthermore, the CdS can crystallize in either zinc blende (zb) crystal structure with space group F-43m or wurtzite (wz) crystal structure with P6_{3}mc space group under ambient conditions [4]. Moreover, in a recent experimental measurement report, CdS phase transition occurs from zb to wz phase between pressure values of 3.0 GPa and 4.3 GPa [4–6]. The rock salt structure is only observed under high pressure [6, 7].

Cadmium chalcogenides CdX (X = S, Se, and Te) and their combinations are widely studied members of group II–VI semiconductor family [8, 9]. Thin films of cadmium chalcogenides have received intensive attention due to their application in solar cells, photoelectrochemical cells, IR detectors, lux meters, switching devices, and Schottky barriers [10, 11]. The experimental bandgap of wz-CdS thin film is 2.42 eV using a chemical bath technique [12]. Photoluminescence measurements of zb-CdS lead to a bandgap of 2.4 eV [13]. The spectroscopic ellipsometry study of zb-CdS gives a bandgap of 2.4 eV [14]. However, the bandgap calculated using DFT is 1.05 eV [15], 1.2 eV [16], and 1.22 eV [17] which is underestimated compared with the experimental value. The challenging issue with semilocal functional such as LDA and GGA is that they consist of spurious electron self-interaction energy [18]. This interaction results with considerable errors in reaction energies for which electrons are transferred between significantly different environments such as a metal and a transition metal oxide. One popular approach that used to overcome this problem is to use a so-called Hubbard U parameter that will cancel part of the self-interaction energy orbitals on the most problematic orbitals such as localized −d or −f orbitals [10, 19, 20]. Moreover, hybrid density functional which incorporates a certain amount of Hartree–Fock (HF) exchange has further improved upon PBE results [21]. This improvement apparently comes in the inclusion of nondynamical correlation which effectively delocalizes the PBE exchange hole. Successful hybrid calculations of solids are possible using Gaussian-type orbitals and periodic boundary conditions. To obtain an appropriate bandgap of CdS, DFT + U approach and the exchange-correlation functional with hybrid functions are natural choices for open shell d-block metals. The optical bandgaps of these materials lie close to the range of optimum theoretically achievable energy conversion efficiency [22]. In this study, we carefully examined the structural, electronic, and optical properties of CdS in zinc blende and wurtzite structures using density functional theory.

#### 2. Computational Method

The computations are carried out using Quantum ESPRESSO (QE) package that is based on DFT and plane-wave pseudopotential method [23, 24]. In Kohn–Sham equations, the exchange-correlation potential is unknown and a challenging term in DFT. To approximate this potential, LDA [25], PBE [26], GGA + U [27], and hybrid (PBE0) [28] functionals are adopted. While approximating this potential, the core electrons which do not participate in the chemical bonding of the system are frozen and only valence electrons are considered. The electron configuration of cadmium is [Kr] 4d^{10}5s^{2} and that of sulfur is [Ne] 3s^{2}3p^{4}. In order to treat the strong electron-electron correlation among the d-electrons of cadmium, introducing the Hubbard correction U term improves the approximation. For convergence tests, the electronic wave functions are expanded in a plane-wave basis set with trial cutoff energy. The *k*-point sampling of the Brillouin zone was constructed using Monkhorst and Pack mesh scheme [29]. Convergence test of total energy with respect to energy cutoff and *k*-point sampling is performed to ensure the accuracy of the calculations until the change in energy is equal to 0.01 eV. It is observed that 5 × 5 × 5 and 6 × 6 × 6 *k*-point samplings for Brillouin zone integration yield accurately converged total energy of zb-CdS for DFT + U and LDA, PBE, and PBE0, respectively. The obtained value of cutoff energy for total energy convergence of zb-CdS is 60 Ry with respect to LDA, PBE, PBE0, and DFT + U approximations. In case of wz-CdS, the total energy converged at 6 × 6 × 6 *k*-point sampling for Brillouin zone integration in relation to LDA and 5 × 5 × 5 in relation to PBE, PBE0, and DFT + U. Moreover, the total energy converged at 55 Ry for LDA and PBE and at 60 Ry for DFT + U and PBE0, respectively.

#### 3. Result and Discussion

##### 3.1. Electronic Structure of CdS in zb and wz Phases

Crystal structure is the most important aspect to understand many properties of materials. CdS is group IIB–VI semiconductor which exists in zb and wz phases [4]. The wz crystal structure is a member of the hexagonal crystal system, which consists of two interpenetrating hexagonal close-packed (HCP) sublattices, one of atom A and the other of atom B, displaced from each other by 3/8 *c* along the *c*-axis. The zb phase of CdS consists of two interpenetrating face-centered cubic (FCC) sublattices, one of atom A and the other of atom B, located from each other along the body diagonal by *a*/4, where *a* is the lattice constant.

The equilibrium lattice constants of CdS for both phases were calculated using plane-wave self-consistent field (PWSCF). The calculated values of lattice parameters using LDA and PBE methods are shown in Table 1 and compared with the previous theoretical and experimental results. It shows that our calculations in accordance with LDA and PBE are in good agreement with the previous theoretical and experimental results. LDA underestimates the lattice constant by 1% whereas PBE overestimates it. Moreover, the graph of lattice constant versus total energy is displayed in Figure 1.

**(a)**

**(b)**

##### 3.2. Band Structure and Total Density of States of CdS

The electronic band structures are calculated along the high symmetry direction of the Brillouin zone using LDA, PBE, PBE + U, and hybrid functions (PBE0). The band structures for all potential approximations are demonstrated in Figure 2. From the calculations, the obtained bandgap values in eV with respect to LDA, PBE, PBE+U, and PBE0 are given in Table 2 and comparision is made with existing theoretical and experimental results.

**(a)**

**(b)**

From Table 2 and Figures 2(a) and 2(b), one can observe that DFT method based on the exchange-correlation functional of LDA and GGA provides underestimated value of the energy bandgap (∼0.741–1.04 eV) compared to the experimental energy bandgap. However, the energy bandgap values obtained with respect to LDA + U and hybrid functional (PBE0) is in good agreement with the experimental value for zb and wz phases.

**(a)**

**(b)**

The density of states for both phases was calculated within LDA, PBE, and DFT + U as shown in Figures 3(a) and 3(b). Density of states (DOS) helps to understand the behavior of state occupancy over specific energy interval. It provides detail of the states which are unoccupied and the states which are occupied. A high DOS at a specific energy level describes the states available for occupation. However, there is no state occupied at DOS equal to zero. For both phases, the density of states is discontinuous for the width from the top of the valence band to the bottom of the conduction band which is normally the bandgap of the system.

##### 3.3. Optical Properties of CdS

CdS is a semiconductor which has wide application in recent technology due to its exceptional physical properties. It has applications in the field of photonics, energy device, and light sensing. The dielectric constant and extinction coefficient are the optical properties of a medium which can be derived from its complex dielectric function, . Direct computation of many-body wave function yields the imaginary part of dielectric function [38]:where is the vector defining the polarization of incident electric field, is the incident photon frequency, is the electrostatic charge, and is the unit cell volume. The superscripts and represent the conduction and valence band wave functions. Using the Kramers–Kronig relation [36], the real part of the dielectric function is given by

The absorption coefficient and the loss function in terms of the real and imaginary parts of dielectric function are given by

The frequency-dependent real and imaginary parts of the dielectric constant of zb- and wz-CdS compounds are studied using TD-DFPT with a help of the Lanczos chain as demonstrated in Figure 4.

**(a)**

**(b)**

Several peaks corresponding to different electronic transitions were observed in the spectra of real and imaginary parts of the dielectric constant. The real part of the dielectric function describes the strength of dynamical screening and the polarization effects. However, the imaginary part of the dielectric function is related to the energy absorption due to charge excitations. The optical properties of the dielectric function of zb- and wz-CdS are calculated for energy ranging from 0 to 20 eV. The peaks seen in the optical spectra are described based on transitions from the occupied to unoccupied bands in the electronic energy band structure, particularly at high symmetry points in the Brillouin zone. The oscillatory trend in this spectrum represents the presence of many-body interactions and it is dependent on the strength of transition. This may be due to the random orientation of transition dipoles with respect to the exciting electromagnetic field direction. For both phases, the real part of the dielectric function has its maxima, when the imaginary part of the dielectric function has its minima.

From Figure 4(a), one can see that the real part of dielectric function of zb-CdS structure has a maximum peak of 14.52 at a photon energy of 0.44 eV using LDA approximation. According to PBE approximation, it has maxima at 10.41 for a photon energy of 0.88 eV. Moreover, the static dielectric constant is equal to 12.30 and 7.96 using LDA and PBE approximations, respectively, for zb-CdS crystal. The peak magnitudes of the imaginary part of the dielectric function for zb-CdS is 12.07 at a photon energy of 0.66 eV using the LDA method. However, it has a peak value of 9.76 at a photon energy of 5.94 eV using the PBE method.

From Figure 4(b), it can be demonstrated that the real part of dielectric function of wz-CdS structure has maxima of 7.61 for a photon energy of 0.22 eV based on LDA approximation. However, it has a peak value of 7.64 at a photon energy of 0.22 eV with respect to the PBE method. In addition, our calculation shows that the static dielectric constant of wz-CdS is 7.96 in LDA and 7.3160 in PBE approximation. The maximum value of the imaginary part of dielectric function of wz-CdS is 6.04 at a photon energy of 0.88 eV using the LDA method. However, its value is 6.50 at a photon energy of 1.10 eV in accordance with PBE approximation. The figures clearly confirm that when the real part of the dielectric function has its maxima, the imaginary part of the dielectric function has its minima as it is expected.

The absorption coefficient and the energy loss function spectrum for zb- and wz-CdS structure are calculated from frequency-dependent dielectric function using equation (3). The energy loss spectrum and absorption coefficient are shown in Figure 5.

**(a)**

**(b)**

**(c)**

**(d)**

Figures 5(a) and 5(b) show plot for optical absorption of zb- and wz-CdS based on LDA and PBE approximations. Absorption traits shown in Figures 5(a) and 5(b) represent energy-dependent spectra of absorption where a viable increasing and decreasing trend can be observed. Many peaks correspond to different electronic transitions from the valence band to the conduction band. Moreover, the oscillatory trend in these spectrums represents many-body interactions and is dependent on the strength of transitions. It is caused by the random orientation of the transition dipoles with applied electromagnetic field direction. The maximum values of the absorption coefficient are 10.93 and 11.49 for zb-CdS with respect to LDA and PBE approximations, respectively. However, the maximum values of absorption coefficients for wz-CdS are 4.54 and 4.84 using LDA and PBE approximations in that order.

Figures 5(c) and 5(d) show the value of energy loss evaluated using equation (3). The energy loss spectrum is important for describing the energy loss of fast electrons traversing the zb or wz phase of CdS. The peaks that occurred in both phases of CdS compound are believed to originate from the resonance of the S 2p valence electrons, possibly owing to the plasmon-like collective excitation of the valence and semicore electrons. All the peaks of (Figures 5(c) and 5(d)) correspond to the rapid reduction in reflectance. The energy loss function measures the loss of energy while propagating through the material. However, the absorption coefficient describes the transition of electrons from the valence band to the conduction band.

#### 4. Conclusions

The structural, electronic, and optical properties of zb- and wz-CdS are studied using density functional theory. The exchange-correlation functional is approximated using LDA, GGA/PBE, GGA + U, and the hybrid functional (PBE0). The optimized lattice constants of zb- and wz-CdS with respect to these approximations are in good agreement with the experimental and previous theoretical values. To understand the electronic properties of zb- and wz-CdS structures, we have performed band structure calculation along the high symmetry of the Brillouin zone. The obtained bandgap values of zb- and wz-CdS in accordance with LDA and PBE potential are underestimated due to their poor approximation of exchange-correlation functional. However, the Hubbard correction to GGA and the hybrid functional approximation give a bandgap value which is consistent with the experimental results. The optical properties such as the real and imaginary parts of the dielectric function, the absorption coefficient, and the energy loss function are studied as a function of photon energy. The real part of the dielectric function is related to the transmission of photons within the material. However, the imaginary part of the dielectric function describes the absorption coefficient. The energy loss function shows the lost energy while the electromagnetic wave traverses inside both phases of CdS. The absorption coefficient describes the transition of electrons from the valence band to the conduction band from different orbitals.

#### Data Availability

The data used to support the findings of this study are included within the article.

#### Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this article.

#### Acknowledgments

One of the authors Teshome Gerbaba expresses his thanks and appreciation to the Department of Physics, Wollega University, for its material support during this study.