1 Introduction

In the recent years, increasing the demand for advanced technology is an essential issue to create smart and functional materials necessitated the search of attractive and inexpensive transparent conducting oxide (TCO). As one such TCO is ZnO, it has been extensively studied as a member of II–VI group semiconductor having wide direct band gap 3.37 eV [1] and high exaction binding energy of 60 meV at room temperature compared with the wide bandgap of other materials such as GaN (3.4 eV) and binding energy 21 meV which is approximately 2.9 times less than the binding energy of ZnO. It can be combined with GaN for LED applications. ZnO is an n-type semiconductor has unique electrical, optical and luminescent properties. It holds a great deal of promise for developing advanced technology liquid crystal display, light emitting diode [2], optical waveguides, solar cells [3]. Due to these attractive properties, TCO vapor has some advantages for toxic and hazardous gases. It is also useful for oxygen gas sensors due to its mechanism based on oxygen vacancies. As it is transparent material absorptive in the UV region and transparent in visible range so it can be used as UV detector. Copper oxide NWs are multifunctional materials and it has also many optoelectronic applications [4].

Including physical and chemical routes, ZnO has been synthesized by a variety of techniques such as chemical deposition [5], spray pyrolysis [6], sol–gel with spin coating [7], dip coating [8], simple heat treatment method [9] and rf magnetron sputtering [10]. Among these techniques, rf magnetron sputtering has more advantages over the others in term of cost, simplicity in process control, it can deposit uniform films over a large area. One of the important advantages of the sputtering technique is that some of the depositing parameters such as base pressure, substrate temperature, rf power, deposition time, the distance between target and substrate can be easily controlled. These parameters play a vital role to improve the sensitivity for gas sensing applications.

Saikia et al. [11] revealed that sensing behavior of ZnO nanoparticles was better for H2S as compared to CO, H2, Cl2. The literature reported that Rf magnetron sputtering technique is performed by varying different parameters. Nafarizal reported the external parameters plays an important role to optimize the properties of ZnO films for the gas sensing applications [12]. Dwivedi et al. reported that the maximum sensitivity towards CO is found to be 52%. These samples were annealed at 400 °C temperature to find better gas sensitivity [13]. Peng et al. [14] observed that low sputtering power (100 W) and substrate temperature 300–400 °C are most suitable experimental conditions for the growth of ZnO films. Ndong et al. [15] found that the best quality of ZnO films has been grown on Silicon substrate at the target to substrate distance is 7 cm. Becerril et al. [16] achieved the band gap of the film increases with Al doping. Hoon et al. [17] observed that with an increase in film thickness, the grain size of film increases in dc magnetron sputtering and films have a high optical transmittance in the range of 60–90%. The morphology, particle size, surface to volume ratio, the remarkable electronic conductivity of the metal oxide semiconductor strongly influenced on gas sensing properties [18]. Fang et al. reported that one-dimensional inorganic semiconductors are new carriers for nanosensors [19].

To date, researchers are trying their best efforts to find the gas response at room temperature. Till now it has found that this activity cannot be performed at room temperature. In the present investigation, deposited films were analyzed at 205 °C for gas sensing properties. Quick response and fast recovery time is the cause of controlled parameters. To obtain the better gas sensing property, researchers are adopting different approaches such as annealing temperature, varying deposition time, substrate, doping elements and synthesis techniques [20,21,22,23,24]. It has been reported that the gas sensing parameters do not only influence on the surface to volume ratio and particle size but also interconnection present between metal oxide nanoparticles [25]. An effect of ZnO film on the morphological, structural, optical and gas sensing properties have been studied by using XRD, FESEM, UV–Vis, FTIR, PL spectroscopy and gas sensing properties.

2 Experimental details

A thin film of ZnO has been prepared by rf magnetron sputtering method on to the glass substrate at room temperature, prior to the deposition, the substrate was cleaned with distilled water, isopropyl alcohol and methanol in an ultrasonic cleaner for 10 min, dried it with nitrogen gas. Sputtering system (Anelva SPF-332H sputtering system) has ZnO target (99.99%) pure of 2-in. diameter was sputtered in an argon atmosphere for about 200 s to remove the surface layer of the target before deposition of the film. Magnetron sputtering was carried out in argon gas by supplying rf power at a frequency of 13.56 MHz, the base pressure in the chamber prior to the deposition was maintained at 5 × 10−6 Torr controlled by a Pirani gauge, distance between target and substrate is 7.5 cm. The rf power during the growth was kept constant at 100 W. This deposition was done under an argon gas flow of 200 sccm. After the deposition process, the sample is annealed at 500 °C under N2 for 1 h. Different thickness of ZnO films has been deposited by varying the deposition time of 300 s and 800 s (Fig. 1).

Fig. 1
figure 1

Systematic scheme for rf magnetron sputtering technique

2.1 Gas sensing property

The variation in film thickness is one of the crucial factors for the application of the transparent film. ZnO films with different thickness have been deposited by varying the deposition time (300 s, 800 s) and keeping all other parameters constant. The thickness of the deposited film is measured with Profilometer which lies in the range of 130–180 nm [26, 27]. Table 1 showed that film with less deposition time has low thickness. This contributes to high transparency and reduction in resistivity.

Figure 2 shows a static gas sensing set up is used to study the gas sensing properties. The response of an active layer is measured as S = Ra/Rg. In order to get sensing properties, films were annealed at higher temperature. The process of annealing in the air creates more oxygen vacancies on the surface of the film.

Fig. 2
figure 2

Static gas sensing set up for gas sensing applications

Table 1 Structural parameter of ZnO films for S1 and S2 respectively

3 Results and discussion

3.1 Structural, morphological and optical properties of ZnO films

Variation in deposition time has influenced on the quality of ZnO films prepared by rf sputtering technique. To examine crystal phase and crystallinity, the prepared films were characterized by X-ray diffractometer (xpert pro with CuKα, nickel metal as β filter) in the scan range from 25° to 80°. Figure 3 shows the XRD profiles of ZnO films with the deposition time of 300 s and 800 s. XRD spectra show sharp and most intense peaks which indicate that the prepared films are well crystalline [9, 28]. A single most prominent peak appeared at a 2θ angle of 34.7° corresponds to an increase in crystal size. The increase in deposition time leads to superior diffraction peaks which show an increase in crystal size. XRD spectra represent the peak intensity of (002) peak increases and an additional peak of (202) is inserted at 74.57° which indicates the films are nanocrystalline in nature. The shift in the position of (002) plane towards the left angle may be attributed to the better crystallinity. This shows the variation in lattice parameters which reveals an importance of lattice space distribution of Zn ions which is responsible for the optoelectronic application.

Fig. 3
figure 3

XRD spectra of ZnO films for different deposition time (300 s, 800 s) respectively

The lattice spacing can be calculated from Bragg’s formula (Eq. 1)

$$2{\text{d }}\sin {{\varvec{\uptheta}}}\;=\;{{n\varvec{\uplambda}}}$$
(1)

where d is the lattice spacing, θ is Bragg’s diffraction angle, λ is wavelength and n is diffraction order (n = 1, 2, 3, 4…..).

ZnO crystallites have a hexagonal wurtzite structure. The lattice parameters ‘a’ and ‘c’ can be calculated from the following Eq. (2).

$$\frac{1}{{{d^2}}}=\frac{4}{3}\left( {\frac{{{h^2}+{\text{hk}}+{l^2}}}{{{a^2}}}} \right)+\frac{{{l^2}}}{{{c^2}}}$$
(2)

where h, k, l are Miller indices, d is interplanar distance and ‘a’ and ‘c’ are lattice parameters.

The grain size along the c-axis has been calculated from Scherrer’s formula Eq. (3)

$${\text{D}}=\frac{{K\lambda }}{{\beta ~cos\theta }}$$
(3)

where K is constant, λ is the wavelength of value 0.154 nm, θ is Bragg’s angle and β is full-width half maxima.

To examine the surface morphology, the prepared ZnO films were examined by field emission scanning electron microscope (FESEM, JEOL-JSM 6100) as shown in Fig. 4. It is observed that ZnO films for S1 (300 s) have not shown appreciable grains. Improvement in grain growth has been observed for S2 (800 s). The grain size of ZnO films has increased from 80 to 120 nm. This increase in grain size indicates films are composed of less dense grain packing, revealing good quality. Sample S1 (300 s) exhibited smaller size nanorods. When the thickness of the films increased to 800 s (S2), the shape of nanorods becomes clear. This variation in morphology helps for better gas sensing response [21, 26]. It is also supported by XRD analysis that crystal size increases with the increase of deposition time.

Fig. 4
figure 4

a, b FESEM images of ZnO films for different deposition time (300 s, 800 s)

Figure 5 shows the FTIR spectra as a function of a wavelength range from 4000 to 400 cm−1 by varying the deposition time. This spectrum predicts the ZnO stretching mode by showing a peak near 414 cm−1 [9, 21]. Another peaks near 1508 cm−1, 2327 cm−1 and 3502 cm−1 corresponds to C=C, O=C=O and O=H bonds respectively [17, 25]. The film deposited for a low deposition time of 300 s contained full width at half maxima was 12.4 cm−1. As the deposition time is increased to 800 s, the full-width half maxima of the observed band are decreased to 5.6 cm−1 which are due to the improvement in crystallinity as observed in the XRD data.

Fig. 5
figure 5

FTIR spectra of ZnO films by varying deposition time

In general, for the optoelectronic applications of ZnO, the highest value of transmittance is prerequisite. Figure 6 shows the wavelength versus transmittance of the ZnO films taken in the wavelength range from 200 to 800 nm. It has been observed that the transmittance (%) is increased with increase in deposition time from 300 s and 800 s. The variation in optical transmittance of the film in the visible region corresponds to change in crystalline quality and surface morphology [29]. Highest surface roughness leads to more surface scattering of light. Among different deposition time, deposited films for 800 s (S2) shows higher transmittance than S1 (deposition time 300 s) which corresponds to the good crystalline quality of the films.

Fig. 6
figure 6

UV–Vis spectra of ZnO films by varying deposition time (300 s, 800 s) respectively

The optical absorption coefficient (α) was calculated from the film thickness and the optical transmittance data by using the relation (Eq. 4)

$${\upalpha } = \left( {1/{\text{t}}} \right)\,\ln {\text{T}}$$
(4)

Based upon the absorbance spectra, optical band gap Eg can be found by extrapolating linear portion of the plot (αhν)2 versus hν for direct band gap. The absorbance coefficient for direct transition semiconductor is related to the optical band gap (Eg) according to following Eq. (5)

$$\upalpha{\text{h}}\upnu={\text{A}}{\left({\text{h}}\upnu - {\text{Eg}} \right)^{1/2}}$$
(5)

where hν is photon energy, Eg is the optical band gap, A is constant.

Figure 7 shows (αhν)2 plotted as a function of photon energy (eV) for ZnO. The extrapolation of a straight line to αhν = 0 gives the value of direct optical band gap. Herein, bandgap decreased with increase in film thickness. This attributes to the variation in stress and lattice defects [30]. The wide band gap is expected to provide compressed lattice because of the increased repulsion between the oxygen 2p and the zinc 4 s bands. The value of transmittance and optical band gap are given in Table 2. Ning et al. demonstrates the self-power UV photodetector by aligning pure ZnO and Ag-doped ZnO nanofibers. This UV detector is found to have an enhanced performance, with the on–off ratio up to 104 at zero bias and a rather short rise/decay time of 3.90 s/4.71 s [27]. The decrease in bandgap is helpful for better optoelectronic applications [31,32,33].

Fig. 7
figure 7

Optical band gap calculations from Tauc’s formula S1 and S2 respectively

Table 2 Optical study of ZnO films for different deposition time

Photoluminescence spectra (FP-6200, spectrofluorometer) is an effective way to study the optical properties of ZnO which is further helpful to find better gas sensing property. Figure 8 shows PL spectra of ZnO thin films by varying deposition time. This characterization technique is performed at an excitation wavelength of 320 nm. Generally, ZnO has four PL emissions.

Fig. 8
figure 8

Photoluminescence spectra of ZnO films by varying deposition time (S1, S2) respectively

  1. a)

    UV emission corresponds to a wavelength of 380 nm which attributes to free exciton recombinations.

  2. b)

    An emission (blue and green) at 460 nm and 540 nm is due to intrinsic defects such as Zn interstitial and oxygen vacancies.

  3. c)

    Green emission at 630 nm is due to the recombination of delocalized electrons with holes in oxygen interstitial.

Figure 8 shows in the visible region, broad peaks were observed near 407 nm and sharp emission was observed at 599 nm. These bands in the visible region have been attributed to recombination of photogenerated holes with intrinsic defects such as Zn interstitial and oxygen vacancies. More PL intensity has been observed in case of S2 which indicates more surface oxygen vacancies in case of S2 in comparison of S1. In addition to this, a sharp and broad peaks shift towards higher wavelength which may be due to the presence of defects and difference in the bandgap. This confirms that the structural, morphological and optical properties in conjunction with PL spectra enhance the defect concentration and reduce the crystallization which is the pre-requisites for gas sensing applications.

Figure 9 represents temperature-dependent sensitivities against NO2 gas. All the synthesized films show 205 °C is an optimum temperature. Beyond this temperature sensitivity of all the samples is decreased which may be due to a lesser extent of adsorption of O2 and nitrogen molecules on the surface of sensor materials. This figure shows the sensitivity of ZnO films towards NO2 at different operating temperature. Figure 9 reveals the sensitivity of the synthesized samples and it has found that the increase in gas sensing response may be due to improvement in crystallinity and surface to volume ratio. This is responsible for the reduction in electron–hole pair recombination [34]. The sensitivity of the sensor is increased up to 205 °C and thereafter it decreases. This is due to the fact that at low temperature, a low response of the sensor is observed because the gas molecules do not have enough thermal energy to react with adsorbed oxygen species. Figure 9 also demonstrates the response at 3 vol% of NO2 gas concentration was 23.7% and 28.3% respectively. The increasing sensitivity has a positive relationship with deposition time. This result also has a positive correlation with XRD, FESEM and UV–Vis spectroscopy. Therefore optimum deposition time is 800 s yields to maximum sensitivity.

Fig. 9
figure 9

Sensitivity and response characteristics for ZnO based sensor towards NO2 gas

3.2 Gas sensing mechanism

The proposed mechanism for gas sensing application has been introduced. Absorbed gas plays an important role to change the electrical resistance. When the synthesized samples exposed to air, it absorbs the oxygen molecules and forms different ionic species On− (O2, O22−, O2+). These ions help to create the depletion layer on the host surface. These ionic species are responsible to enhance the sensitivity. Whereas, when the sensor is exposed to the donor (reducing gas) the electron trapped by oxygen adsorbate will return to ZnO films when leads to decrease in the potential barrier which increases the conductivity of the films.

Adsorption and desorption of test gas molecules are the main issues to understand the gas sensing mechanism. It forms the ionic species on the sample surface. It clearly shows that 800 s deposition time (S2) yields the best sensing response at 205 °C. As response and recovery time are important parameters for evaluating the sensor potential applications [27, 34]. The prepared films have quick response time 128 s and fast recovery time 163 s respectively. The sensing mechanism is also based on the principle of chemiresistance. Change in resistance of metal oxide film depends on the type of gas molecules and majority carriers. Typically, oxygen in air adsorbed on the surface of ZnO. These oxygen species can capture the electron from the surface of ZnO films and form oxygen species. These oxygen species helps to create the depletion layer on the host surface and thus reduce conductivity [35]. Whereas, when the sensor is exposed to reducing gas the electron is trapped by the oxygen adsorbate will return to ZnO film which leads to a decrease in the potential barrier and increases the conductivity. It helps for better gas sensing response.

When the sensor films are exposed to oxidizing gas (NO2), these molecules are directly adsorbed on to the surface (Eq. 6) and they can be the part of chemisorbed oxygen Eqs. (7, 8)

$${\text{N}}{{\text{O}}_{\text{2}}}\left( {\text{g}} \right){\text{ }}+{\text{ }}{{\text{e}}^ - } \to {\text{N}}{{\text{O}}_{\text{2}}}^{ - }$$
(6)
$${\text{N}}{{\text{O}}_{\text{2}}}\left( {\text{g}} \right){\text{ }}+{\text{ }}{{\text{O}}_{\text{2}}}^{ - }\left( {{\text{ads}}} \right){\text{ }}+{\text{ 2 }}{{\text{e}}^ - } \to {\text{N}}{{\text{O}}_{\text{2}}}^{ - }\left( {{\text{ads}}} \right){\text{ }}+{\text{ 2}}{{\text{O}}^ - }\left( {{\text{ads}}} \right)$$
(7)
$${\text{N}}{{\text{O}}_{\text{2}}}\left( {\text{g}} \right){\text{ }}+{\text{ }}{{\text{O}}_{\text{2}}}^{ - }\left( {{\text{ads}}} \right) \to {\text{ 2}}{{\text{O}}^ - }\left( {{\text{ads}}} \right){\text{ }}+{\text{ N}}{{\text{O}}_{\text{2}}}$$
(8)

These equations confirm the interesting role of adsorption of O2 ions. Hence as synthesized ZnO films can act as very efficient gas sensors for various poisonous gases. This mechanism illustrates more oxygen to be adsorbed and increased the surface area which is responsible to enhance the response.

4 Conclusions

To conclude ZnO films were synthesized by facile and rapid rf magnetron sputtering method. Detailed characterizations confirmed that variation in deposition time exhibited good optoelectronic properties. Gas sensing property confirms that response of ZnO films has been increased with an increase in deposition time. Nanorods shaped morphology exhibits better gas sensing response than the films prepared on less deposition time. Herein, 205 °C is considered to be optimum temperature. The prepared films are found to have quick response time 128 s and fast recovery time 163 s. Hence as-synthesized ZnO films can be used for the fabrication of nanodevice which is further used for gas sensing properties to detect various poisonous gases.