1 Introduction

Transparent conducting oxide (TCO) is characterized by a unique combination of low electrical resistivity and high optical transparency. Tin-doped indium oxide (ITO) is a widely used material for TCO applications, such as flat panel displays and solar cells. However, indium is rare and expensive and its supply may be limited by the availability of natural resources. ZnO is one of the most promising candidates for replacing ITO, because Zn is an abundant material and ZnO is a native n-type semiconductor with a band gap (E g) of 3.36 eV [1, 2]. To improve the conductivity, ZnO is typically doped with charged electron donors such as Al, Ga, In, etc. [35] Al-doped ZnO (ZAO) film resistivity of less than 2 × 10−4 Ω cm has been attained, which is comparable to those obtained in ITO films [3]. Furthermore, many investigators have examined the electrical and optical properties of Al-doped ZnO with a broad range of nominal Al-doping, and a critical Al content with the minimum resistivity is usually observed, depending on preparation methods and conditions [69]. Lu et al. [7] reported that the optimal result for ZAO films synthesized by magnetron sputtering located at Al content of 4%. Nasr et al. [9]. revealed that the minimum resistivity was obtained around 1.5–2% Al-doped ZnO films prepared by sol–gel method, and above the critical concentration, the segregated Al started to dominate the electrical transport.

In addition, the band gap of ZnO (E g = 3.36 eV) can be tuned by alloying with bivalent Mg or Cd. While Mg is known to enhance the band gap, Cd substitution leads to reduce in band gap, the resultant (Zn, Cd)O and (Zn, Mg)O alloys have allowed to cover a wide band gap range [1012]. Actually, the thermodynamic solubility limits of MgO and CdO in MgO–ZnO and CdO–ZnO alloy systems are only about 4% [13] and 2% [10], respectively. In spite of the predicted low solubility, Ohtomo et al. [14] prepared solid solution Mg x Zn1−x O films with Mg content up to a value of x = 0.33 by pulsed laser deposition (PLD) under metastable conditions. Above x = 33%, MgO was reported to segregate from the wurtzite MgZnO lattice limiting its maximum band gap of 3.9 eV. Metal organic vapor phase epitaxy (MOVPE) was also employed by Park et al. [15] to grow high quality Mg x Zn1−x O films up to x = 0.49 with the near-band-edge emission peak at 4.05 eV, while Ghosh et al. [16] reported the solubility limit of MgO in sol–gel Mg x Zn1−x O thin films lies in the composition range of 0.05 < x<0.08. Meanwhile, there also have been many reports on Cd x Zn1−x O film preparation by molecular beam epitaxy (MBE) [17], PLD [18], and MOVPE [19, 20]. The maximum content of cadmium in the wurtzite Cd x Zn1−x O is 0.085 from above research reports, while the crystal structure of Cd x Zn1−x O films grown by Ishihara et al. [21] using remote-plasma-enhanced MOVPE changed from wurtzite structure to rocksalt structure around x = 0.7, and the photoluminescence spectra were observed from the wurtzite Cd x Zn1−x O films in the range of 3.3–1.8 eV with x ≤ 0.69 at room temperature. A ZnO-based TCO with modified band gap gives rise to many of its scientific and technical applications, such as improving the efficiency of different wavelength light emitting devices when used as a transparent electrode [2, 13, 22]. Matsubara et al. [2] synthesized Al-doped Zn1−x Mg x O transparent conducting films by a PLD system, although film resistivity was found to increase with increasing Mg composition. Similarly, in Zn1−x Mg x O with 0.5 at.% Ga, resistivity also increased with increasing Mg concentration, and the carrier concentration and Hall mobility values were decreased in films with higher Mg content [23]. Therefore, it is a significant challenge to obtain band gap modified TCO without sacrificing the conductivity. Meanwhile, the simultaneous comparison of effects of narrowing and widening band gap by Cd or Mg codoping on conductivity of ZnO-based TCO has been rarely reported.

Numerous deposition methods have been applied to prepare highly conductive and transparent ZnO-based thin films, including chemical vapor deposition (CVD), MBE, PLD, magnetron sputtering, etc. [7, 24]. However, the industrial production is limited due to the complex and expensive vacuum technique. Furthermore, the preparation of homogeneous and large-area films is also an upfront challenge. The sol–gel method is a kind of cost-effective process and is helpful to realize the preparation of large-area homogeneous films [25]. More importantly, sol–gel method has the distinct advantages in excellent composition control and the ability to achieve atomic scale mixing of individual components [26]. In this work, we prepare the 1 at.% Al-doped Zn1−x Mg x O and Zn1−y Cd y O (x, y = 0–8 at.%) thin films by sol–gel method to simultaneously investigate the effects of narrowing and widening band gap on the conductivity of Al-doped ZnO transparent conducting thin films.

2 Experimental procedure

Analytical grade zinc acetate [Zn(CH3COO)2·2H2O] was firstly dissolved in a 2-methoxyethanol (C3H8O2) and monoethanolamine (MEA, C2H7NO) solution at room temperature. The concentration of the sol was 0.75 mol/l and the molar ratio of MEA to zinc acetate was kept at 1.0. The solution was stirred at 60 °C for 1 h until it became clear and homogeneous. Aluminum nitrate [Al(NO3)3·9H2O], magnesium nitrate [Mg(NO3)3·6H2O], and cadmium nitrate [Cd(NO3)3·4H2O] were added into some of the previous solutions in an appropriate ratio and then stirred vigorously at 60 °C for another 1 h. The final solutions served for coating were aged for 36 h at room temperature. The slice glass (Sail 7101, China) was used as substrate for sol–gel dip-coating after being cleaned in an ultrasonic bath for 15 min with HCl, ethanol and distilled water, respectively. The glass sheets were dipped into the aged solution for 1 min and then pulled out at the velocity of 4 cm/min. The films were kept at 100 °C in a drying box for 10 min and then preheated at 500 °C for 15 min. Such process was repeated for 10 times and then the films were annealed at 550 °C in air for 1 h before the final films were obtained. To improve the conductive properties, all the samples were treated by vacuum annealing (P ~ 10−2 Pa) instead.

X-ray diffraction (XRD) patterns were collected from 20° to 80° using PANalytical X’pert MPD PRO with Cu K α radiation. Optical properties such as transmittance were measured by UV–VIS spectrophotometer (Hitachi UV–VIS spectrophotometer U3010) in the wavelength of 300–800 nm. The thickness of the samples was carried out by spectroscopic ellipsometer (Spec EI-2000-VIS). The electrical properties such as resistivity, carrier concentration, and Hall mobility were detected by Hall effect measurements in the Van der Pauw configuration using a ET-9000 system at room temperature.

3 Results and discussion

Figure 1 displays the XRD patterns of 1 at.% Al-doped Zn1−x Mg x O and Zn1−y Cd y O (x, y = 0–8% with an increment of 2 at.%) thin films treated by vacuum annealing. It shows that all the films have a single phase which can be identified as the hexagonal wurtzite structure of ZnO (space group P63mc). No trace of other impurities is found within the detection limit of instrument. All the films show an extremely pronounced (002) texture with dominant peak 2θ ≈ 34.4°, indicating that the preferred orientation is along the crystallographic c-axis and perpendicular to the substrate. Since the effective ionic radius of Zn2+ (0.60 Å, coordination number CN = 4) is slightly larger than that of Mg2+ (0.57 Å, CN = 4), while evidently smaller than that of Cd2+ (0.78 Å, CN = 4), as showed in the inset of Fig. 1, the lattice constant c evaluated from the shift of the position of (002) peak shows an increasing evolution from x = 8% to y = 8%, indicating a roughly statistical substitution of Mg2+ and Cd2+ for Zn2+ in their solid solution, although the unchanged lattice constant from x = 0 to 4% for Mg doping, which might be due to the really close radius of Mg2+ and Zn2+ [10].

Fig. 1
figure 1

XRD patterns of 1 at.% Al-doped Zn1−x Mg x O and Zn1−y Cd y O (x, y = 0–8% with an increment of 2 at.%) thin films. Inset the lattice constant c evaluated from the shift of the position of (002) peak

Actually, all 1 at.% Al-doped Zn1−x Mg x O and Zn1−y Cd y O thin films were firstly processed under air annealing. As displayed in Fig. 2a, the optical transmission spectra exhibit a high transmittance (about 80–90%) in visible region and a high absorption (near 100%) in UV region. The optical energy gap E g for the direct electron transition can be determined using the following equation:

$$ \alpha h\nu = C(h\nu - E_{g} )^{1/2} $$
(1)

where C is a constant, α is the absorption coefficient and ν is the photon frequency [27]. As shown in Fig. 2b, the fundamental absorption, which corresponds to the electron excitation from valance band to conduction band, is usually used to calculate the value of band gap using Eq. 1 by plotting the square of the optical absorption coefficient as a function of the photo energy and by extrapolating the linear region to the energy axis. The determined values are shown in the inset of Fig. 2b. The linear variation of band gap by Mg and Cd doping in ZAO further confirms that the Mg and Cd are doped into the matrix, which is consistent with our result of XRD study. However, the resistivity is out of the measurement range of our Hall effect system, this might be due to the insufficiency of carriers, such as oxygen vacancies (V O ), which are decreased after air annealing. Therefore, we annealed these films under hydrogen (mixed with 95% argon) and vacuum (~5 × 10−2 Pa), respectively. After being treated in the hydrogen environment, the transmittances of (Cd, Al) codoped ZnO are heavily destroyed to ~30% (not shown here), and the transmittances of vacuum treated films are obviously decreased to 50–60% as showed in Fig. 3a, comparing with the transmittance of air annealing films (80–90%). When the films annealed in vacuum, besides increasing the quantity of V O , the deficiency of oxygen would degrade the crystallinity of the films due to the derivation of stoichiometry of ZnO matrix. Then, more lattice defects scattering might decrease the transmittance. The determined E g after vacuum annealing is shown in the inset of Fig. 3b. The evolution of band gap by Mg and Cd codoping after vacuum annealing is almost same as that after air annealing. As a result, the Mg and Cd work effectively on band gap engineering, irrespective of the existence of Al codoping or annealing process. Even better than that, the electrical properties of the films treated in vacuum is well improved and could be measured by our Hall system, i.e. the resistivity has been reduced to the order of 10−2 Ω cm. It is found that the relation between conductivity and transmittance of looks like a tradeoff; films with higher conductivity having lower transmittance.

Fig. 2
figure 2

a Transmission spectra of 1 at.% Al-doped Zn1−x Mg x O and Zn1−y Cd y O films treated by air annealing. b Plot of square of the absorption coefficient versus photon energy for Al-doped Zn1−x Mg x O and Zn1−y Cd y O films. Inset the optical band gap energies as a function of Mg or Cd content

Fig. 3
figure 3

a Transmission spectra of 1 at.% Al-doped Zn1−x Mg x O and Zn1−y Cd y O films treated by vacuum annealing. b Plot of square of the absorption coefficient versus photon energy for Al-doped Zn1−x Mg x O and Zn1−y Cd y O films. Inset the optical band gap energies as a function of Mg or Cd content

As shown in Fig. 4, the resistivity totally decreases with Mg content x = 8% to Cd content y = 8%, while the carrier concentration and Hall mobility increase. It was found that the (Mg, Al) or (Cd, Al) codoped ZnO films with smaller band gap energies have larger carrier concentration and higher mobility. In Al-doped ZnO films studied by Lu et al. [7] and Nasr et al. [9], the initial increase in the band gap with Al doping (having higher carrier concentration) can be explained by the band gap widening phenomenon described by Burstein and Moss [28, 29]. The Fermi level in degenerate semiconductors is above the conduction band edge (due to partially-filled states in the conduction band), optical excitations from valence band to the Fermi level require an extra energy. It has been shown that this widening is a function of the carrier density according to the formula:

$$ \Updelta E_{g} = \frac{{h^{2} }}{{8m_{c}^{*} }}\left( {\frac{3}{\pi }} \right)^{2/3} n_{c}^{2/3} $$
(2)

where h is the Planck constant, \( m_{c}^{*} \) is the reduced effective mass, and n c is the charge carrier concentration. At higher doping concentration of Al, the dopant atoms tend to segregate more and more at the grain boundaries, significantly increasing impurity scattering. The subsequent shrinkage of the band gap can be due to the electron impurity scattering as described by Hamberg et al. [30] In our (Cd, Al) or (Mg, Al) codoped ZnO films, as shown in Fig. 5, the dependence of band gap on carrier concentration is contrast to that of Al-doped ZnO [7, 9], which manifests that the underlying physical origin might be quite different.

Fig. 4
figure 4

Resistivity (a), carrier concentration (b), and Hall mobility (c) of Al-doped Zn1−x Mg x O and Zn1−y Cd y O films

Fig. 5
figure 5

Dependence of band gap on carrier concentration of Al-doped Zn1−x Mg x O and Zn1−y Cd y O films

Generally, there are several scattering mechanisms in the films, such as lattice vibration scattering, grain boundary scattering, ionized impurity scattering, neutral impurity scattering, etc., depending on the range of carrier concentration and the temperature of the films [7, 25]. In the present study, all the measurements of the conductive properties were collected at room temperature and the effect of lattice scattering which was determined by the variation of temperature could be ruled out. Within the framework of potential barrier model at grain boundaries [31, 32], defects located at grain boundaries can act as carrier traps and the trapped electrons set up a negative charge, contributing to rise to a space charge region in the grains. This will produce a potential barrier at the grain boundaries and decrease the Hall mobility of carriers. Zhu et al. [25] find that when the carrier concentration is low (approximately N ≤ 5.0 × 1018 cm−3), grain boundary model is valid. However, the barrier height will decrease with the increase in carrier concentration, when the carrier concentration is high, the carrier tunneling current plays a more important role in the electrons transportation and the grain boundary scattering even can be neglected. The carrier concentrations of our codoping films are higher (>1.0 × 1019 cm−3), so the grain boundary scattering was tiny enough to be ignored. In this case, ionized impurity and natural scattering should make main contribution to the variation of the Hall mobility.

In Fig. 4, the resistivity increases with Mg content, while the carrier concentration and Hall mobility both decrease, which is consistent with the results of other groups for (Mg, Al)-codoped ZnO [2, 33, 34]. There might be two possible reasons for this phenomenon. Firstly, the incorporation of Mg introduces an extra impurity scattering, which could in turn decrease electron Hall mobility [2]. The second possibility is an increase in electron effective mass. Hall mobility can be defined using the following equation:

$$ \mu = \frac{q\left\langle \tau \right\rangle }{{m^{*} }} $$
(3)

in which 〈τ〉 is the electron average scattering time and q is the electron charge. Films with a higher Mg content have higher electron effective mass values and lower mobility values [2]. And the decrease of carrier concentration indicates that the addition of Mg will lower the Al doping efficiency [2, 33]. Given the relatively lower carrier concentration of the films, there would be more Al playing as scattering centers in reducing the electron mobility instead of providing carriers to the conduction band of the codoping films. Besides, the possible generation of more voids and pores observed by high-resolution field emission scanning electron microscope (FESEM) as Mg is incorporated, which adsorb oxygen and trap the free carriers, might also reduce the conductivity [16, 35].

On the other side, in thermal equilibrium, the electron concentration in conduction band (n 0) and hole concentration (p 0) in valence band has the relation,

$$ n_{0} p_{0} = 4\left( {\frac{2\pi k}{{h^{2} }}} \right)^{3} \left( {m_{n}^{*} m_{p}^{*} } \right)^{3/2} T^{3} \exp \left( { - \frac{{E_{g} }}{kT}} \right) $$
(4)

where h is the Planck constant, k is the Boltzmann constant, \( m_{n}^{*} \) and \( m_{p}^{*} \) is the electron and hole effective mass, respectively [36]. In ZnO-based thin films, the n-type carriers are dominant, as indicated in Fig. 5, the carrier concentration of our films increases with narrowing energy band, which is rather contrast the carrier concentration dependence of band gap shift in Al-doped ZnO films reported by Lu et al. [7, 9, 37], i.e. the Burstein-Moss Fermi-band filling effect is not suitable for our films. As the resistivity (ρ) can be defined as

$$ \rho = \frac{1}{\mu nq} $$
(5)

where μ is mobility as defined in Eq. 3 and q is the electron charge [23], films with higher Cd content possess higher mobility and carrier concentration, and then lower resistivity. Actually, for Eq. 3, the effective mass of Cd is larger than that of Mg [38], so the electron average scattering time (〈τ〉) of (Cd, Al) codoped ZnO might be shorter than that of (Mg, Al) codoped ZnO, due to the lattice expand of Cd doping, as shown in the inset of Fig. 1 and phonon dynamics study of Zn(Mg, Cd)O by Ghosh et al. [38] Based on the discussion above, band gap modification by Cd codoping in ZAO films might be a reasonable way to obtain high carrier concentration with simultaneous increasing mobility.

4 Summary

Zn1−x Mg x O:Al and Zn1−y Cd y O:Al thin films were prepared on glass substrate by sol–gel method. The 1 at% Al-doped ZnO film was band gap modified by Mg or Cd codoping. The effects of narrowing and widening band gap on the conductivity were simultaneously compared using optical and electrical measurements. The transmittances of these films are obviously decreased by vacuum annealing to 50–60%. Contrast to the evolution in Al-doped ZnO films, the carrier concentration and Hall mobility both increase, while the resistivity decreases with narrowing band gap from Mg to Cd codoping, i.e. the conductivity of ZAO thin films could be enhanced using a simply band gap engineering by Cd codoping, which might be applied to obtain high carrier concentration with simultaneous increasing mobility.