1 Introduction

In recent years, there has been an increasing trend of utilizing nanocomposite technologies to fabricate ultra-low-cost electronic components [1]. Numerous industrial processes require precise humidity control, such as chemical purification of gases, paper production and textiles, and food processing [2]. For these applications a humidity sensor with higher sensitivity, linear response, fast response and recovery times, chemical and physical stability, cost-effectiveness, and a broad operating humidity range is currently high in demand. There are different transduction techniques, including impedance, capacitance, resistance, surface acoustic wave (SAW), optical fiber, and quartz crystal microbalance (QCM), have been employed to develop humidity sensors. Among these, impedance type humidity sensors are low power consumption sensors [3]. Various materials have been investigated for their humidity sensing capabilities, including polymers [4], ceramics, metal oxides semiconductor [5], carbon nanomaterials [6], cellulose [7], and transition metal dichalcogenides (TMDCs) [8]. TMDCs like Molybdenum disulfide (MoS2) with each layer comprising molybdenum atoms sandwiched between two layers of sulphur atoms exhibits exceptional properties, due to large specific surface area, high electron mobility and carrier’s concentration. MoS2 based humidity sensors have large surface-to-volume ratio. However, MoS2 has electrochemical activity at its edge plane while the matrix plane has chemical inertia which causes poor performance for humidity sensing [9]. To overcome shortcoming of MoS2 sensing performance, researchers have proposed combing it with other sensing material to make composite or doping. Specially, TMDCs composites with metal oxides have been reported to be promising method for improving humidity sensing performance of TMDCs. High k Metal oxides such as TiO2, ZrO2 and HfO2 are useful, sense humidity due to their ability to generate defects via doping or composite formation which improve overall water adsorption ability that results in improvement in sensitivity of the sensor. These materials show significant changes in their impedance over a wide humidity range indicating the suitability of these materials for precise humidity sensing measurement [10].

Jiahao Yao reported humidity sensor based on (In, Nb) Doped HfO2 [10]. Zang et al. reported high performance impedance type humidity sensor based on SnS2/TiO2 [11]. Zhang et al. reported capacitive type SnO2 modified MoS2 with ultrahigh sensitivity [12]. Li et al. reported that composite MoS2/CuO humidity sensor exhibits enhanced response/recovery time and sensitivity [13]. Ze et al. presented a fast humidity sensor based on ZnO quantum dot modified MoS2 [14]. Burman et al. [15] reported ZnO/MoS2 based enhanced humidity sensing performance. In view of above, we have prepared TiO2 and MoS2 nanocomposites as high k oxide TiO2 possesses super hydrophilicity, stability, high sensitivity, biocompatibility, mechanical stability, chemical stability and thermal stability [16]. While the presence of Ti3+ defect sites in TiO2 renders its hydrophilicity, making the dissociative adsorption of water [17]. From various phases of TiO2, anatase phase of TiO2 has been found as favourable phase for humidity sensing, owing to its higher water adsorption capacity [18]. Moreover, physiosorbed water is easy to desorb at anatase phase compared to rutile phase [19].

In this study we prepared MoS2/TiO2 nanocomposite humidity sensor. It was tested using complex impedance spectroscopy and sensor parameters such as percentage response, sensitivity, stability, and repeatability were extracted from impedance data at room temperature. The response and recovery times were measured from DC measurements. The effect of RH on the AC conductivity and complex electric modulus of the sensor was also examined.

2 Experimental

For the synthesis of MoS2/TiO2 nanocomposite, solid-state reaction method was employed. The precursors ammonium molybdate tetrahydrate, thiourea, and TiO2 were purchased from sigma Aldrich with 99.9% purity. To start the synthesis process, ammonium molybdate tetrahydrate, thiourea, and TiO2 were mixed in 1:2:1 ratio, respectively and ground for 20 min to get a fine powder. The resulting fine powder was then transferred to a crucible. The crucible containing the powder was placed in a tube furnace under Argon flow at 650˚C for 6 h. The heating and cooling rate was 5˚C/min. The obtained MoS2/TiO2 nanocomposite powder after heating was allowed to cool at room temperature. The nanocomposite powder was ground again to obtain fine powder that was used for humidity sensing experiments. The synthesis process of MoS2/TiO2 nanocomposite is shown schematically in Fig. 1.

Fig. 1
figure 1

Systematic growth of MoS2/TiO2 nanocomposite

To perform humidity sensing experiments MoS2/TiO2 nanocomposite powder was pressed to form pellets in hydraulic press under a load of ∼ 3 ton. The pellets diameter and thickness were 13 mm and 1 mm respectively. Electrical contacts on one side of the pellets were formed using silver paste. The separation between the contacts was 8 mm. To increase adhesion of the electrical contacts with pellets, the pellets were sintered at 60 ˚C for 60 min.

To test the MoS2/TiO2 sensor, variation of AC impedance of sensor at different RH were recorded using Agilent E4980A LCR meter. The response recovery times of the sensor were measured using Agilent 4156 C parameter analyser. Different RH in small chambers were achieved using saturated salt solutions kept in chamber for 24 h. The saturated salt solution of Potassium Sulphate (K2SO4), Sodium Chloride (NaCl), Sodium Bromide (NaBr), Magnesium Chloride (MgCl2) and Lithium Chloride (LiCl) yielded RH 97.6%,75.3%,57.6%,33% and 11% respectively [20].

3 Result and Discussion

XRD analysis was done to investigate the crystallinity, phase composition, and purity of the MoS2/TiO2 nanocomposite using PANalytical X’pert Pro diffractometer. This diffractometer employs a Cu-Kα radiation source with wavelength 1.540 Å. The XRD was performed for 2θ values ranging from 20˚ to 80˚. The XRD pattern of MoS2/TiO2 nanocomposite is shown in Fig. 2. The peaks corresponding to standard XRD pattern of pure MoS2 and TiO2 are present in pattern. All diffraction peaks for MoS2 match with the standard JCPDS card (00-002-0132) with hexagonal phase and space group P63/mmc. The lattice parameters are a = 3.15 Å, b = 3.15 Å, and c = 12.30 Å for MoS2 constituent of the nanocomposite. The peaks at 2θ equal to 32.9˚ and 58.5˚ correspond to the (100) and (110) planes. Similarly, the diffraction peaks of TiO2 are present at 2θ equal to 25.2˚, 37.8˚, 48.0˚ and 53.7˚ corresponding to (101), (103), (200) and (105) planes respectively. The lattice parameters are a = 3.73 Å, b = 3.73 Å, and c = 9.37 Å for TiO2 constituent of the nanocomposite. These peaks match with JCPDS card (00-001-0562). Here the anatase TiO2 has tetragonal phase with space group 141/amd. The crystallite size was calculated using equation:

Fig. 2
figure 2

XRD spectrum of MoS2/TiO2 nanocomposite

$$L=\frac{K\lambda }{\beta Cos\theta }$$
(1)

where K is the Scherrer constant whose value ranges from 0.68 to 2.08. The λ = 1.5406 Å is the wavelength of 𝐶𝑢-𝐾𝛼 X-ray radiation source, β is the line broadening at FWHM of the XRD peaks, and θ is Bragg’s angle. The calculated crystallite size of the MoS2/TiO2 nanocomposite is 57.65 nm.

Surface morphology of as synthesized sample of MoS2/TiO2 nanocomposite was examined using SEM. Figure 3(b) shows SEM image of MoS2/TiO2 nanocomposite. The nanocomposite consists of irregular shaped nanoparticles of different sizes. The nanoparticle size ranges from ∼ 60–200 nm with average nanoparticle size ∼ 117 nm as shown in Fig. 3(c). EDS spectrum confirms the presence of Mo, S, Ti and O as shown in Fig. 3(a). This confirms the formation of MoS2/TiO2 nanocomposite without presence of any impurities. The presence of carbon in EDS spectrum comes from the carbon tape that was used during EDS measurements.

Fig. 3
figure 3

(a) EDS spectrum of MoS2/TiO2 nanocomposite (b) Scanning electron micrograph of MoS2/TiO2 nanocomposite (c) Particle size distribution histogram of nanocomposite MoS2/TiO2

Complex impedance spectroscopy was used to investigate humidity sensing of MoS2/TiO2 nanocomposite. Measurements were performed under ambient condition at 1.5 V AC signal ranging from 20 Hz to 2 MHz Complex impedance is defined as Z*= Zʹ + Zʺ where Zʹ and Zʺ are real and imaginary part of the impedance, respectively. Figure 4(a) shows the Zʹ vs. Zʺ plot of MoS2/TiO2 nanocomposite. Frequency is increasing from right to left on real axis. The diameter of the semicircles at different RH gives bulk resistance of MoS2/TiO2. At higher humidity level the spure can be observed at the end of the semicircles. That indicate ionic conduction is more prominent than electronic conductivity [21]. Due to hydrophilic nature of MoS2/TiO2 nanocomposite water molecules adsorbed on surface of material, which play important role in altering its bulk resistance. Overall, with increasing RH level from 11 to 97% the bulk resistance of MoS2/TiO2 decreases from 1261.9 KΩ to 175.8 KΩ, at 100 Hz and 1.5 KΩ to1.0 KΩ at 2 MHz. This change in resistance is larger at lower frequencies as shown in Fig. 4(b). The non-linear behaviour of impedance with RH at lower frequencies is due to defects and surfaces prodigious effects [22]. Higher frequencies suppressed these effects, as linear behaviour of impedance can be observed in Fig. 4(b) at higher frequency. Sensitivity of device can be calculated by using [23];

Fig. 4
figure 4

(a) Zʹ vs. Zʺ plot of MoS2/TiO2 nanocomposite (b) Impedance vs. RH at different frequencies of MoS2/TiO2 nanocomposite (c) Response of MoS2/TiO2 nanocomposite sensor (d) Repeatability of MoS2/TiO2 nanocomposite (e) Response and recovery curve of MoS2/TiO2 nanocomposite (f) Stability of MoS2/TiO2 nanocomposite

$$\it \text Sensitivity=\frac {\Delta \left( \text Impedence\right)}{\Delta \left(\% \text RH\right)}$$
(2)

Sensitivity of MoS2/TiO2 nanocomposite in RH range 11–97% was 12.62 kΩ/\(\%RH\), 0.82 kΩ/\(\%RH\) and 0.005 kΩ/\(\%RH\) at 100 Hz, 2 kHz and 2 MHz respectively.

Percentage response of the sensor is given as;

$$Response\left(\%\right)=\frac{{{R}_{11}}_{\%}-{{R}_{high}}_{\%}}{{{R}_{11}}_{\%}}\times 100$$
(3)

Where R11% is the resistance at 11% RH and Rhigh% at any higher RH level. Percentage response of the sensor was calculated as 86%, 74%, 64% and 43% at 97%, 75%, 57% and 33% RH level respectively as shown in Fig. 4(c). Response and recovery time are also the important sensor’s parameters. Response time is defined as time required to change impedance up to 90% of its maximum value while adsorption and recovery time is time required to change impedance up to 90% of its maximum value while desorption. From Fig. 4(e) MoS2/TiO2 nanocomposite shows the response and recovery time of ∼ 38s and ∼ 7s respectively by changing the RH value between 11% and 97%. Due to physisorption and chemisorption phenomenon desorption process is faster than adsorption process. That results in the shorter recovery time of the MoS2/TiO2 sensor compared to its response time. At low RH level chemisorption is more dominant because two hydroxyls of water form a double bond with surface and become immobile. Physisorption is dominant at higher RH level that involves Van Der Walls bonding between the surfaces. This interaction is weaker than chemical bonding hence become more moveable charges result in shorter recovery time [24]. MoS2/TiO2 nanocomposite sensor shows good repeatability over three consecutive cycles with minimum deviation as shown in Fig. 4(d).

The humidity sensing parameters of MoS2/TiO2 nanocomposite humidity sensor were compared with those of other nanocomposite based humidity sensors, as listed in Table 1. Analysis of the data presented in Table 1 validates that our findings are better or comparable with those of previously reported humidity sensors based on nanocomposites.

Table 1 Comparison of different nanocomposite humidity sensor’s parameters

Stability of sensor was checked for one month with the gap of 5 days under humidity level 11–97%. A little change in the value of impedance was observed during whole month as shown in Fig. 4(f).

The effect of RH on AC conductivity, and modulus (M*) of MoS2/TiO2 nanocomposite was also studied. AC conductivity \(\left({\sigma }_{a}{.}_{c}\right)\) with different RH as function of frequency is shown in Fig. 5(a). Electrical conductivity provides valuable insights into the behaviour of electric charge flow within this system. AC conductivity of MoS2/TiO2 nanocomposite was calculated from complex impedance by using;

$${\sigma _a}{._c}\, = \,\left( {{{{Z^\prime }} \over {{{\left( {{Z^\prime }} \right)}^2}\, + \,{{\left( {{Z^{\prime \prime }}} \right)}^2}}}} \right)\,{d \over A}$$
(4)
Fig. 5
figure 5

(a) AC conductivity vs. log ω with different RH (b)\({M}^{{\prime }}\) vs. log ω with different RH (c) Mʺ vs. log\(\omega\) with different RH (d) Nyquist plot Mʹ vs. Mʺ

Here A and d are the cross-sectional area and the thickness of the sensor, respectively. The AC conductivity also shows dependence on frequency and this behaviour can be described using a universal power law equation [25].

$$\sigma \left(\omega \right)=A{\omega }^{n}+ \sigma \left(0\right)$$
(5)

σ(ω) signifies the AC conductivity at a specific angular frequency ω, ‘n’ represents a frequency exponent, ‘A’ stands for the AC conductivity factor, and ‘σ(0)’ corresponds to DC conductivity \(\left({\sigma }_{d}{.}_{c}\right)\). It is noteworthy that the value of n depends upon the RH. Its value lies between 0 and 1, for MoS2/TiO2 its value increases from 0.01 to 0.02 when RH changes from 11 to 97%. We observe that the conductivity within this system displays two distinct regions the initial region is characterized by a plateau, (up to 105 Hz) which is associated with \(\left({\sigma }_{d}{.}_{c}\right)\) at lower frequencies. This plateau arises due to the polarization of electric charge at the interface between the electrode and the specimen. The second region, situated at higher frequencies, exhibits frequency dispersion, corresponding to the \({\sigma }_{a}{.}_{c}\). In this region, the migration of charge takes place under the influence of the applied electric field.

Complex electric modulus allows us to understand the relaxation process and bulk response of material by differentiating local response of defects from electrode effect. complex modulus (M*) is defined as [26].

$${M}^{*}\left(\omega \right)=\frac{1}{{{\epsilon }^{*}\left(\omega \right)}^{}}={M}^{{\prime }}+i{M}^{{\prime }{\prime }}=i\omega {C}_{o}{Z}^{*}$$
(6)

Here \(M{\prime }=i\omega {C}_{o}Z{\prime }\) is real part, \(M{\prime }{\prime }=i\omega {C}_{o}Z{\prime }{\prime }\) is imaginary part of complex modulus and \({C}_{o}=\frac{A{\epsilon }_{o}}{d}\) is geometrical capacitance. Figure 5(b) shows graph between real part of modulus (M\({\prime }\)) as a function of frequency and humidity. At low frequency M\({\prime }\) has small values indicating presence of electrode polarization which mask the bulk relaxation process, at higher frequency its value reaches at maximum value. The value of Mʹ increases with increasing frequency, but its value decreases with increasing RH. Dispersion in Mʹ with increasing frequency can be due to conduction of short range charge carriers [27]. Transition from low to high value of Mʹ with increasing frequency suggest us a relaxation process which must be observed in Mʺ vs. log\(\omega\) curve. Graph between Mʺ vs. log\(\omega\) in Fig. 5(c) confirms relaxation peaks these relaxation peak come due to interface effect. Peaks tell us about the transition between long to short range mobility of charges. From peak broadening suggests non-Debye relaxation. Because of hydrophilic nature of MoS2/TiO2 nanocomposite this will allow water molecules to absorb on the surface which gives relaxation. When RH increases peak shifted towards higher frequency with slight decrease in height suggesting an increase in DC conductivity [28]. Peak value of Mʺ at each frequency is used to calculate relaxation time given by;

$$\tau =\frac{1}{2\pi {\omega }_{max}}$$
(7)

Here \({\omega }_{max}\) is value of frequency at the peak value of Mʺ. Increase in RH from 11 to 97% results in decrease in relaxation time from 2.6 × 10− 5s to 3.7 × 10− 6s.

Figure 5(d) shows Nyquist plot between Mʹ versus Mʺ at different humidity as function of frequency. The nature of curve shows asymmetric semi-circular arc whose centre lies beneath x-axis. At RH 11–97% two semi-circular arcs appearing, representing the grain and grain boundary contribution together. Nyquist plot shows incomplete semi circles which confirms single relaxation process. All the semi circles start from a common point at the lower frequency region. The coinciding semicircles at starting point for all RH show that single relaxation process occurs at higher frequency region. With increase in RH size of semi circles decreases. This may be due to fact that water adsorption on top layer of nanocomposite causes ions migration toward electrode, building a space charge at the electrode. In this frequency region ion transfer time is more than the charge transfer process, there is decrease in impedance with rise in RH.

Lastly, we explain the sensing mechanism of MoS2/TiO2 nanocomposite form the point of view of material (semi conducting, ceramic, or nanomaterial) [29]. Semiconducting behaviour and nanomaterial size play an important role in modulation of impedance with RH. Whole mechanism can be explained by Grotthuss mechanism which tell us about the conduction of proton inside the different layers of water [29]. A schematic diagram of sensing mechanism is shown in Fig. 6.

Fig. 6
figure 6

Humidity sensing schematic diagram for MoS2/TiO2 nanocomposite

At lower RH water molecules adsorbed at the reactive sites of MoS2/TiO2 nanocomposite. Generally, SH- group is formed when water molecule interacts with sulphides. Despite this formation it is not considered experimentally as characteristic pattern [30]. Two hydroxyls per molecule formed chemisorbed layer with MoS2/TiO2 nanocomposite and increased hydrophilic behaviour of nanocomposite. With the further raise of RH physiosorbed layer is formed. As we continue increase in RH level second physiosorbed layer making a single hydrogen bond with hydroxyl group. As a result, proton can start hopping freely through the adjacent water molecule layer and start conduction process. The proton-hopping happens conferring to the Grotthuss chain reaction (H2O + H3O+ ↔ H3O+ + H2O) [31]. No of protons increases as more and more RH increases. By lowering RH level, we can also remove physiosorbed layer. Since the experiment is conducted at ambient conditions, ionic conduction is predominant; however, when the temperature is increased, the humidity content starts to drop, and we shift from ionic conduction to electronic conduction.

4 Conclusions

In summary, this work explains MoS2/TiO2 nanocomposite-based humidity sensor. The MoS2/TiO2 nanocomposite was synthesised by solid state reaction method and its morphology, purity, and composition was examined using XRD, SEM and EDS. Impedance type MoS2/TiO2 nanocomposite humidity sensor was then tested from 11% RH to 97% RH. The MoS2/TiO2 nanocomposite humidity sensor shows the percentage response and sensitivity 86% and ∼ 13 kΩ/\(\%RH\), respectively. The response and recovery times of the sensor were ∼ 38s and ∼ 7s respectively with good repeatability. Moreover, the nanocomposite sensor exhibited stable response over thirty days. AC conductivity of MoS2/TiO2 nanocomposite increased with increasing RH at higher frequencies whereas it remained unaffected at lower frequencies. Complex electric modulus analysis confirmed, single relaxation process indicating that there was no electrode effect on sensor characteristics. In view of this, MoS2/TiO2 nanocomposite has potential for fabrication of humidity sensors.