1 Introduction

The gas sensor has recently attracted much attention due to increasing demand of environmental monitoring and other gas detecting applications. Among different types of gas sensor, the thin film gas sensor has been much of interest because of microelectronic batch-fabricated compatibility, reproducibility, and ability to form multilayer device structures. Dilute magnetic semiconductors (DMS) are a highly topical area of interest due to the possibility of integrating them into new or existing electronic and optoelectronic devices in order to provide increased functionality by the provision of an additional electronic state. Cadmium ferrite (CdFe2O4) is an important complex oxide in gas-sensing materials. Several synthetic approaches have been used to prepare CdFe2O4 particles including the combustion method [1], co-precipitation [2, 3], ball milling [4, 5], sol gel [6], pulsed laser deposition (PLD) [7] and so on. Detailed studies on their structural [3, 4], and magnetic properties [2, 4] and [5] and electrical conductivity [7] have been investigated and reported. The magneto-optical properties of a highly stable ionic magnetic fluid sample containing CdFe2O4 nanoparticles also were investigated [8]. Hence, the present work has a twofold purpose: the first purpose is to study the effect of film thickness on both microstructure parameter (crystallite size and microstrain) and optical constants of CdFe2O4 thin films obtained by the vacuum evaporation technique. The second purpose is to interpret the behavior of the optical constants on the microstructure parameters of the films.

2 Experimental details

Polycrystalline sample of CdFe2O4 was prepared by the solid-state reaction method. Stoichiometric amounts of high-purity (99.999 %) analytical grade CdO and Fe2O3 powders (Sigma-Aldrich Co., USA) were mixed by grinding in a mortar for about 12 hours. The powders were pressed into a disk-shape pellet. Direct evaporation of the mixture in powder form resulted in sputtering of the powder when the boat is heated. Thin films of CdFe2O4 with various thicknesses were prepared by electron beam evaporation using high vacuum coating unit type Edward Auto 306. The system was pumped to a pressure of 5×10−6 Pa. The films were deposited on amorphous glass substrates (25 mm×25 mm) and maintained at room temperature (300 K). The substrates were carefully cleaned by using acetone and distilled water. The thickness of the films was kept to be constant at 720 nm (± 10 nm) for all composition studies. The substrates were rotated during the deposition. The source to the substrate distance was about 20 cm to get a deposition rate of 2 nm/sec. The thickness of the films and the rates of evaporation were monitored with a quartz crystal thickness monitor attached to the vacuum system. For more details about the applied methodology, see e.g. [9, 10]. The structure and phase purity of the samples and as-deposited films were checked at room temperature by means of X-ray powder diffraction (XRD) Shimadzu Diffractometer XRD 6000, Japan, with Cu-Kα1 radiation (λ=1.54056 Å). The data were collected by step-scan modes in a θ–2θ range between 10° and 70° with step-size of 0.02° and step time of 0.6 seconds. Pure silicon ∼Si 99.9999 % was used as an internal standard. The elemental composition of the films was analyzed by using energy dispersive X-ray spectrometer unit (EDXS) interfaced with a scanning electron microscope, SEM (JOEL XL) operating an accelerating voltage of 30 kV, which was used to study the morphology of the film. The relative error of determining the indicated elements does not exceed 2 %. Optical characterization of the films has been preformed from spectral transmittance and reflectance, which were obtained through a JASCO V-670 double beam spectrophotometer. The measurements have been performed in the wavelength range from 400 to 2500 nm. The transmittance and reflectance measurements were taken at normal incident.

3 Results and discussion

3.1 Microstructure parameters

The XRD pattern of the CdFe2O4 films of different thicknesses is shown in Fig. 1. Only four diffraction peaks corresponding to the (311), (400), (422), and (511) reflections of CdFe2O4 are present according to (JCPDF card number 22-1063), which indicates that single spinel phase CdFe2O4 thin film was obtained. It can be seen that the film thickness affects the XRD pattern of CdFe2O4 thin films i.e. the peak intensity increases with increasing film thickness. Each X-ray diffraction line profile obtained in a diffractometer is broadened due to instrumental and physical factors (crystallite size and lattice strains) [11]. Therefore, the first indispensable step preparatory to the calculation of crystallite size and lattice strain from the recorded XRD scan is a determination of the “pure” diffraction line profile for a given reflection whose full-width at half maximum (FWHM) depends solely on the physical factors [11]. This “pure” line profile is extracted by removing (deconvoluting) the instrumental broadening factor from the experimental line profile. Only then the “pure” line profile can be used for calculating the crystallite size and lattice strain. Simple equations or graphs based on line profiles of assumed analytical forms can be used for the instrumental broadening correction [11]. In the present work, the instrumental broadening-corrected “pure” FWHM of each reflection was calculated from the parabolic approximation correction [11]:

$$ \Delta 2\theta = B \biggl( 1 - \frac{b^{2}}{B^{2}} \biggr)\ (\mathrm{rad}) $$
(1)

where B and b are the FWHM (in radians) of the same Bragg-peak from the XRD scans of the experimental and reference powder, respectively. The reference powder was the same powdered CdFe2O4 annealed at 400 °C for 2 h. The XRD pattern of the CdFe2O4 polycrystalline reference powder is shown in Fig. 1. All of the diffraction peaks can be indexed to the pure cubic CdFe2O4 (JCPDF card number 22-1063) and no other phases are present. From Fig. 1 the FWHM was found to decrease markedly with increasing film thickness. The method was based on the assumption that the crystallite size and strain line profiles are both presumed to be Cauchy and the appropriate equation for the separation of crystallite size and strain takes the following form [11]:

$$ \Delta (2\theta )\cos \theta_{0} = \frac{\lambda}{D_{\nu}} + 4e ( \sin \theta_{0} ) $$
(2)

Figure 2 shows the full width of the (311), (400), (422) and (511) reflections, scaled in terms of Δ(2θ)cos(θ 0) vs. sin(θ 0) are the Bragg angle and the FWHM [1214]. The values of e and D ν can be calculated from the slope and the ordinate intersection, respectively. Equation (2) was first proposed by Williamson and Hall [15] and is customarily referred to as the “Williamson–Hall method” [1618]. The inset of Fig. 2 shows a comparative look of microstructure parameters of both crystallite size (D ν ) and microstrain of the CdFe2O4 films of different thicknesses on glass substrates. It is observed that the crystallite size increases with increase the film thickness. The increasing in crystallite size with increasing the film thickness is in good agreement with previously reported results [14, 19]. The increase in crystallite size may attribute to the decrease in the FWHM at each reflection with increasing the film thickness and also may be interpreted in terms of a columnar grain growth. On the other hand the microstrain exhibited the same behavior i.e. increases with increasing the film thickness, such an increase in microstrain may be due to the decrease in lattice defects among the grain boundary. Thicker films are characterized by more homogeneous network, which minimizes the number of defects and localized states, and thus the microstrain increases [20].

Fig. 1
figure 1

The XRD patterns of films of different thicknesses on glass substrates and the reference powder of CdFe2O4

Fig. 2
figure 2

Crystallite size/strain separation calculating using Δ2θ breadth according to “Williamson Hall” method and the inset shows the effect of film thickness on both crystallite size and microstrain of CdFe2O4 thin films

Furthermore, SEM measurements are carried out to determine the surface topology and morphology of the CdFe2O4 thin films at room temperature. Figures 3(a, b) shows typical SEM photographs for CdFe2O4 films at thickness 555 and 1033 nm, respectively. The films exhibit smooth fine grainy surface. The crystallite size evaluated from SEM image was found to be about 80 nm for d=555 nm and about 108 nm d=1033 nm, which agrees with the value calculated from XRD technique (86 nm for d=555 nm and 114 nm for d=1033).

Fig. 3
figure 3

Scanning electron microscope micrographs for (ad=555 nm and (bd=1033 nm of CdFe2O4 thin film

3.2 Absorption coefficient and the optical band gap

The spectral dependence of the optical transmittance T(λ) and reflectance R(λ) of the investigated sample can be obtained using double beam spectrophotometer. The variation of absolute value of T(λ) and R(λ) against wavelength λ is shown in Fig. 4. In a wide spectral range (400–2500 nm), an experimental result showing the variation of reflection R(λ) and transmission T(λ) of a crystalline thin film of different thicknesses of CdFe2O4 thin films is presented in Fig. 4. As clearly observed in the transmission spectrum, distinct interference fringes are observed at longer wavelength (transparent region) with large intensity approaching 87 %. As we move to shorter wavelength where the absorption starts to take place within the film, the intensity of the interference fringes starts to decrease gradually until it approaches the strong absorption region at the edge of the optical band gap of the deposited films. The experimental results of the transmission T(λ) show a clear shift from longer wavelength to shorter wavelength at increasing film thickness. Such shifts are a direct consequence of the thickness dependence of the optical band gap of the CdFe2O4 thin films.

Fig. 4
figure 4

Transmittance and reflectance spectrum for CdFe2O4 thin films with different thickness

The absorption coefficient α can be obtained from the experimentally measured values of R and T in the strong absorption region according to the following expression [21]:

$$ \alpha = \frac{1}{d}\ln \biggl[ \frac{(1 - R)^{2} + [ (1 - R)^{4} + 4R^{2}T^{2} ]^{1/2}}{2T} \biggr] $$
(3)

where d is the sample thickness.

Figure 5 shows dependence of the absorption coefficient α() on photon energy as a function of film thickness for CdFe2O4 thin films. The study of the optical absorption spectra in the CdFe2O4 is important since they provide essential information about the band structure and optical band gap. It is well known that the higher energy part of the optical absorption spectra gives information about the electronic states in the material, while the other lower energy part of the spectrum corresponds to atomic vibrations. Generally, the optical absorption spectra of CdFe2O4 have been found to have three distinct regions: the weak absorption region, which originate from defects and impurities; the absorption edge region, which is strongly related to the structural disorder of the system; and finally, the strong absorption region, which determines the optical band gap. It is clearly observed that in the absorption edge region the absorption coefficients decrease with the increase of the film thickness. Figure 5 further shows that the absorption edge shifts toward the lower energy region with increasing the film thickness. It is known that pure CdFe2O4 compounds have a sharp absorption edge [2227].

Fig. 5
figure 5

Variation of absorption coefficient α versus for CdFe2O4 films with different thicknessess

It is known that in the vicinity of the fundamental absorption edge, for allowed direct band-to-band transitions, the absorption coefficient is described by

$$ \alpha (h\nu ) = \frac{K(h\nu - E_{\mathrm{g}}^{\mathrm{opt}})^{m}}{h\nu } $$
(4)

where K is a characteristic parameter (independent of photon energy) for respective transitions [28], denotes photon energy, \(E_{\mathrm{g}}^{\mathrm{opt}}\) is the optical energy gap and m is a number which characterizes the transition process. Different authors [2931] have suggested different values of m for different glasses, m=2 for most amorphous semiconductors (indirect transition) and m=1/2 for most of crystalline semiconductor (direct transition). In the case of different thicknesses of polycrystalline of CdFe2O4 thin films the direct cases are valid. For higher values (α≥104 cm−1) of the absorption coefficient α (where the absorption is associated with interband transitions), the energy gap can be determined. Figure 6 is a typical best fit of (αhν)2 vs. photon energy () for different thicknesses of the CdFe2O4 thin films. The extrapolation at the linear part in the (α.)2 vs. () at (αhν)2=0 (for the allowed direct transition) for different thicknesses of CdFe2O4 thin films is shown. The variation of direct band gap with the thickness is shown in the inset of Fig. 6. The values of \(E_{\mathrm{g}}^{\mathrm{opt}}\) for both direct transition is found to increase with increasing film thickness up to 733 nm and then the variation of \(E_{\mathrm{g}}^{\mathrm{opt}}\) with higher thickness lies within the experimental errors.

Fig. 6
figure 6

Variation of (α.)2 vs. () for CdFe2O4 films with different thicknesses and the inset shows the effect of film thickness on the energy gap of CdFe2O4 thin films

Accordingly, one can expect that the \(E_{\mathrm{g}}^{\mathrm{opt}}\) decreases with increasing the film thickness because crystal defects can be formed which produce localized states that change the effective Fermi level due to an increase in carrier concentrations [20]. But thicker films are characterized by a more homogeneous network, which minimizes the number of defects and localized states, and thus the optical band gap increases [32, 33]. The increase of \(E_{\mathrm{g}}^{\mathrm{opt}}\) for direct transition may be also attributed to the increase in crystallite size and microstrain. Cheng et al. and Sultan et al. have investigated the electronic structure of CdFe2O4 by DFT (density functional theory) method [34, 35]. Their results showed that the bandgap of CdFe2O4 was about 2.0 eV; this value is in agreement with our experimental result.

3.3 Refractive index and film thickness

The refractive index was determined using Swanepoel’s method (method of recording envelopes around the interference maxima and minima of the transmittance spectra [22, 23, 29]). Figures 7(a, b) illustrates the typical transmittance spectra for d=555 nm and d=1031 nm of CdFe2O4 thin films. As shown in Figs. 7(a, b), the observed number of interference fringes increases with increasing film thickness. According to this method, the value of the refractive index at a determined wavelength can be calculated using the expression [24, 25, 36, 37]

$$ n = \bigl[ N_{1} + \bigl(N_{1}^{2} - s^{2}\bigr)^{\frac{1}{2}} \bigr]^{\frac{1}{2}} $$
(5)

where

$$N_{1} = 2s\frac{T_{M} - T_{m}}{T_{M}T_{m}} + \frac{s^{2} + 1}{2} $$

Here T M and T m , are the transmittance maximum and the corresponding minimum at a certain wavelength λ. Alternatively, one of these values is an experimental interference extreme and the other one is derived from the corresponding envelope; both envelopes were computer-generated using the program Origin version 7 (OriginLab Corp.) and drawn around the extrema of each transmittance spectrum (see Figs. 7(a, b)). On the other hand, the necessary values of the refractive index of the substrate are obtained from the transmittance spectrum of the substrate, T s using the well-known equation

$$ s = \frac{1}{T_{\mathrm{s}}} + \biggl(\frac{1}{T_{\mathrm{s}}} - 1\biggr)^{\frac{1}{2}} $$
(6)

The values of the refractive index n, as calculated from Eq. (5) are shown in Fig. 8. Moreover, if n e1 and n e2 are the refractive indices at two adjacent maxima (or minima) at λ 1 and λ 2, it follows that the film thickness is given by the expression

$$ d = \frac{\lambda_{1}\lambda_{2}}{2 ( \lambda_{1}n_{e2} - \lambda_{2}n_{e1} )} $$
(7)

The values of the film thicknesses of the CdFe2O4 thin films are 346, 555, 733, 911, 1031 nm. It is observed that, for all investigated films, the refractive index n decreases with increasing wavelength showing normal dispersion following the two-term Cauchy dispersion relationship, n(λ)=a+b/λ 2, which can be used for extrapolation of the whole wavelengths [38] as shown in Fig. 8. The least squares fit of the two sets of values of n for the different samples are n=1.88+3.73×105/λ 2 for d=346 nm, n=1.97+3.95×105/λ 2 for d=555 nm, n=2.03+4.09×105/λ 2 for d=733 nm, n=2.11+4.27×105/λ 2 for d=911 nm and n=2.15+4.28×104/λ 2 for d=1031 nm. Figure 8 illustrates the refractive index, n, versus λ for different thicknesses of the CdFe2O4 thin films. From this figure the refractive index decreases with increasing wavelength showing normal dispersion behavior. In addition, the magnitude of the refractive index increases notably with increasing the film thickness for different film thicknesses up to 733 nm and then the variation of n with higher thicknesses lies within the experimental errors. The increase in refractive index with increasing film thickness is in a good agreement with previously reported results [39, 40].

Fig. 7
figure 7

The typical transmittance spectra for (a) d=555 nm and (bd=1033 of CdFe2O4 thin film. Curves T M , and T m , according to the text

Fig. 8
figure 8

The spectral dependence of refractive index n of CdFe2O4 films with different thicknesses

4 Conclusions

Polycrystalline CdFe2O4 films of different thicknesses have been deposited onto glass substrates at room temperature by the vacuum evaporation technique. From XRD studies it is found that the film is polycrystalline in nature and the CdFe2O4 crystallites have cubic structure. The microstructure parameters of the CdFe2O4 thin films such as crystallite size (D ν ) and microstrain e were calculated. It is observed that the crystallites sizes increase with increasing the film thickness. The microstrain shows an increase as the film grows due to the decrease in lattice defects which was pronounced at small thicknesses. The optical characterization of thermally evaporated polycrystalline CdFe2O4 films of five different thicknesses was made using the transmittance and reflectance spectra at normal incidence. The absorption coefficient and optical band gap are calculated in the strong absorption region of transmittance and reflectance spectra. The values of \(E_{\mathrm{g}}^{\mathrm{opt}}\) for direct transition are found to increase with increasing film thickness up to 733 nm and then the variation of \(E_{\mathrm{g}}^{\mathrm{opt}}\) with higher thicknesses lie within experimental errors. The increase of \(E_{\mathrm{g}}^{\mathrm{opt}}\) for direct transitions may be attributed to the increase in crystallite size and microstrain.

The envelope method suggested by Swanepoel has been applied to the films with a reasonable number of interference fringes. The optical method applied here makes it possible to determine the refractive index and average thickness of the films. The results indicate that the values of n gradually increase with increasing film thickness up to 733 nm and then the variation of n with higher thickness lies within the experimental errors.