1 Introduction

Measurement of relative humidity (RH) is playing an increasingly essential part in many fields, such as agriculture, biological, environmental monitoring and meteorological services. Portable, reliable and low-cost humidity sensors are greatly desired and appreciated, and many methods have been devoted to developing practical humidity sensors, such as bulk acoustic wave (BAW) [1], surface acoustic wave (SAW) [2, 3], quartz crystal microbalance (QCM) [48], and field-effect transistor (FET) [9, 10]. Notablely, metal oxide (MOx) semiconductors are widely used for making low-cost gas sensors, due to their electrical conductivity changes depend upon the humidity surrounding them [11, 12]. ZnO as a typical n-type MOx, has been widely investigated due to its excellent properties, such as nano-size, stable physical and chemical properties [13, 14]. Up to now, ZnO materials have been successfully used as sensing materials for detecting ethanol, toluene, and humidity by converting the information in relation with gas type and concentration into electrical signals when exposed to different gases [15, 16]. However, the gas sensors fabricated with pure metal oxide have some drawbacks including low sensitivity, long response and recovery times and high operation temperature [1719].

Carbon nanotubes (CNTs) are one of the most important one-dimensional nanomaterials in nature which are attracting extensive attention all over the world [2022]. Nowadays, CNTs have been used in a broad spectrum of various fields, such as super capacitor, solar cells, catalyst support, hydrogen storage, and gas sensors [2327]. However, Adjizian et al. [18] found that pristine multi-walled carbon nanotubes (MWCNTs) showed very long response and recovery time to RH, e.g., the recovery time was 2.5 h for the sensor even operated at 150 °C. Yoo et al. [20] prepared a resistive-type humidity sensor based on MWCNTs/polyimide composite film and found that its resistance changed linearly with RH variation, but the sensitivity was only 0.0047/% RH. Therefore, high-reliable, low-cost and high-sensitive humidity sensors are greatly required in environment monitoring and other versatile applications.

In this work, we fabricated a resistive-type humidity sensor with hierarchical ZnO/MWCNTs/ZnO nanocomposite film by using electrostatic layer-by-layer (ELbL) self-assembly method. The sensing film was characterized by scanning electron microscope (SEM) and X-ray diffraction (XRD). The humidity-sensing properties of the ZnO/MWCNTs/ZnO hybrid film were investigated at room temperature under exposure of various RH levels. The proposed sensor exhibited high response to humidity, short response and recovery time, small hysteresis and acceptable repeatability. Furthermore, the possible sensing mechanism for the presented sensor was discussed in this paper.

2 Experiment

2.1 Materials

Pristine MWCNTs (10–30 µm in length, 20–30 nm in diameter) were chemically functionalized with the concentrated acid (3:1 for 98 wt% H2SO4:70 wt% HNO3) at 110 °C and stirred at 140 r/min for 1 h, followed by filtering and several rinsing using de-ionized water (DI water) until the supernatant had pH value of 5 or more. The chemically functionalized MWCNTs were negatively charged by covalently-attached carboxylic groups on the sidewalls as well as openings, which facilitated the uniformly well-dispersion of MWCNTs into DI water. Zinc nitrate hexahydrate Zn(NO3)2·6H2O and NaOH was purchased from Sinopharm Chemical Reagent Co. Ltd. Polyelectrolytes used for LbL assembly were 1.5 wt% poly(diallyldimethylammonium chloride) [PDDA (Sigma-Aldrich Inc.), molecular weight (MW) of 200–350 K, polycation] at pH 7.5 and 0.3 wt% poly(sodium 4-styrenesulfonate) [PSS (Sigma-Aldrich Inc.), MW of 70 K, polyanion] at pH 6.5 with 5 M NaCl in both for better surface coverage.

2.2 Fabrication

The structure of the humidity sensor is shown in Fig. 1. The sensor was fabricated on a polyimide (PI) substrate by using microfabrication technology. Two coil-like electrodes are used as interdigital electrodes (IDE). The sensing film of hierarchical ZnO/MWCNTs/ZnO nanostructure was fabricated by the combination of hydrothermal synthesis and electrostatic layer-by-layer (ELbL) self-assembly technique, as shown in Fig. 2. In the typical process, the first step was the synthesis of ZnO nanorods by using a hydrothermal route. 2.08 g Zn(NO3)2·6H2O was dissolved into 140 mL deionized (DI) water with stirring for 1 h, and 20 mL of NaOH (4 mol/L) was added into the resulting solution with stirring for 30 min. And then, the obtained solution was transferred into a 200 mL stainless-steel autoclave and heated in an oven at 120 °C for 12 h. Afterward, the final product of ZnO suspension was washed with DI water and anhydrous ethanol for several times to remove excess ions, and subsequent was ultrasonicated for 1 h and centrifugated for 15 min. The second step is the ELbL self-assembly process for fabricating ZnO/MWCNTs/ZnO. Two bi-layers of PDDA/PSS were firstly self-assembled as precursor layers for charge enhancement, and then three self-assembled monolayers (SAMs) of ZnO/MWCNTs/ZnO were deposited through the alternative immersion into suspensions of ZnO and MWCNTs. Intermediate rinsing with DI water and drying with nitrogen flow were required after each monolayer assembly to reinforce the interconnection between layers. The immersing time here used was 10 min for polyelectrolytes, 15 min for MWCNTs, 10, 25, 40 and 55 min was selected for ZnO, respectively, and a serial of ZnO/MWCNTs/ZnO samples were prepared and designated as S1, S2, S3 and S4 for making comparison. Afterward, the self-assembled ZnO/MWCNTs/ZnO samples were dried in the oven at 50 °C for 3 h.

Fig. 1
figure 1

Structure illustration of the humidity sensor

Fig. 2
figure 2

Fabrication of a ZnO suspension by hydrothermal route and b ZnO/MWCNTs/ZnO nanocomposite film via ELbL self-assembly approach

2.3 Instrument and analysis

The surface microscope of MWCNTs, ZnO nanorods, and self-assembled ZnO/MWCNTs/ZnO films was measured with field emission scanning electron microscopy (FESEM, Hitachi S-4800). And their XRD analyses were performed by the X-ray diffractometer (Rigaku D/Max 2500PC, Japan) using Cu Kα radiation with a wavelength of 1.5418 Å.

The humidity sensing properties were investigated by exposing the ZnO/MWCNTs/ZnO film sensor to various RH levels, which were achieved by several saturated aqueous solutions according to our previously reported publication [28]. Saturated solutions of LiCl, CH3COOK, MgCl2, K2CO3, Mg(NO3)2, CuCl2, NaCl, KCl and K2SO4 in a closed vessel were used to yield approximately 11, 23, 33, 43, 52, 67, 75, 85 and 97 % RH levels, respectively. The film resistance of the sensor was recorded using a data logger (Agilent 34970A). P2O5 powder was used for the release of water molecules. The figures of merit used for evaluating the sensor performance are the normalized response (Nr) and sensitivity (S), determined by Nr = ΔR/R 0 = (R RH − R 0)/R 0 × 100 % and S = ΔR/ΔRH, respectively, where R RH and R 0 are the electrical resistance of the sensor in the given RH and dry air, respectively.

3 Results and discussion

3.1 SEM and XRD characterization

Figure 3 shows the observed SEM and XRD characterization of MWCNTs, ZnO, ZnO/MWCNTs/ZnO film. The result in Fig. 3a indicates interweaved MWCNTs with a random network structure. Figure 3b shows the ZnO sample was nanorod-shaped crystalline. Figure 3c illustrates the self-assembled ZnO/MWCNTs/ZnO film is constructed by ZnO nanorods and MWCNTs wrapped closely together. Figure 3d plots the XRD spectrum for MWCNTs, ZnO and ZnO/MWCNTs/ZnO film. XRD pattern of ZnO nanorods shows polycrystalline structure with major peaks in the direction (1 0 0), (0 0 2) and (1 0 1). The main feature of the diffraction peaks are observed at 2θ angle of 25.9° and 24.6° for MWCNTs and ZnO/MWCNTs/ZnO film, respectively. According to the Bragg formula, the interlayer distance of the MWCNTs film can be determined as 3.44 Å, as well we find that the interlayer distance of the ZnO/MWCNTs/ZnO film is 3.61 Å, which is larger than that of MWCNTs film due to the surface of ZnO/MWCNTs/ZnO film is rougher than that of MWCNTs.

Fig. 3
figure 3

SEM characterization of a MWCNTs, b ZnO nanorods, c ZnO/MWCNTs/ZnO nanocomposite and d XRD spectrum for MWCNTs, ZnO and ZnO/MWCNTs/ZnO nanocomposite film

3.2 Electrical properties of samples

The electrical properties of self-assembled five samples were investigated upon different deposition times. Figure 4 shows the film resistance as a function of deposition time for ZnO SAM. The fitting equation for film resistance Y (Ω) as a function of deposition time X (min) can be represented as Y = 217.08 + 2.83e X/5.71. The film resistance is exponentially increased with the rising of deposition time. As well known, MWCNTs have a better conductivity than that of ZnO, and the amount of ZnO in the ZnO/MWCNTs/ZnO nanocomposite is increased as the increasing of the deposition time, and hence leads to an increase in film resistance. It is found that the tunable electrical properties of ZnO/MWCNTs/ZnO nanocomposite can be achieved via different deposition time for ZnO SAM.

Fig. 4
figure 4

Film resistance as a function of deposition time for ZnO SAM

3.3 Humidity-sensing behaviors

The effect of deposition time of ZnO SAM on the humidity sensing performance of ZnO/MWCNTs/ZnO nanocomposite was examined. Figure 5 shows the response curves of the four ZnO/MWCNTs/ZnO samples exposed to different RH at room temperature. The deposition times of ZnO SAM for the four samples were 10, 25, 40 and 55 min, respectively. A good linearity of the sensor response as a function of RH is observed for the four samples. The fitting equation of the four samples for response Y and relative humidity (RH) X can be represented as Y = 0.19X + 5.1, Y = 0.37X + 6.97, Y = 0.45X + 8.53 and Y = 0.35X − 0.71, and the linear regression coefficient, R2, is 0.9558, 0.9639, 0.9955 and 0.9958, respectively. As the increasing of the deposition time of ZnO SAM, the sensor response increases and reaches a maximum value for the sensor S3 with 40 min, then decreases with further increasing the deposition time to 55 min. It can be observed that the sensor S4 with deposition time of 55 min for ZnO SAM exhibits lower sensing response due to the increased benchmark resistance of the hybrid film with increasing content of ZnO nanorods, leading to a decreased response in sensor properties. Thus, the following sensing measurements are performed using S3 as sensing material.

Fig. 5
figure 5

Relationship between response and relative humidity of four different samples

Figure 6 shows the resistance measurement of the sensor sample of S3 exposed to various RH levels. The switching RH test is performed through exposure/recovery cycles under different RH environments between 0 and 11, 23, 33, 43, 52, 67, 75, 85, 97 % RH, and then conversely from high RH to low RH. A clear increase in the sensor resistance is observed with the rising of RH in a large range of 11–97 %, and the corresponding normalized response values are calculated to be 12.1, 18.64, 24.66, 27.59,33.76, 38.01, 40.29, 45.61, 52.53 % when the sensor exposed to 11, 23, 33, 43, 52, 67, 75, 85, 97 % RH. The measured resistance of the sensor is ranging of 5.94–8.10 kΩ in a wide RH of 11–97 % with a sensitivity of 24.8 Ω/% RH, which is much higher than the sensitivity of other previously reported pure MWCNT humidity sensor (~2.3 Ω/% RH) [29, 30]. Furthermore, the presented sensor overcomes the limit of high resistance (hundreds of MΩ) in practical applications of pure ZnO humidity sensor [31, 32]. We also measured the hysteresis of the presented sensor through the comparison of RH-increasing for water molecules absorption and RH-decreasing for water molecules desorption with RH ranging from 11 to 97 %, the maximum hysteresis was about 2.02 % occurred at 75 % RH, as shown in Fig. 7.

Fig. 6
figure 6

Resistance response of the ZnO/MWCNTs/ZnO film sensor under switching RH

Fig. 7
figure 7

Hysteresis of the proposed sensor under different RH

Figure 8 shows the repeatability of ZnO/MWCNTs/ZnO film sensor performed under the same experimental conditions. The repeatability characteristics is measured for five exposure/recovery cycles repeatedly for 33, 67 and 97 % RH. The film humidity sensor exhibited a clear response-recovery behavior and acceptable repeatability for humidity sensing. Figure 9 demonstrates the time-dependent response and recovery curves of the sensor to a RH pulse from 0 to 97 % RH, respectively. The time taken by a sensor to achieve 90 % of the total resistance change is defined as the response or recovery time [33]. Response time and recovery time of ~4 and 34–74 s are observed, respectively, better than that of conventional humidity sensors [3436].

Fig. 8
figure 8

Repeatability of the ZnO/MWCNTs/ZnO film sensor for a 33 %, b 67 % and c 97 % RH at room temperature

Fig. 9
figure 9

Typical response and recovery curves of the ZnO/MWCNTs/ZnO film sensor to a RH pulse between 0 and 97 % RH, respectively

The above experimental results demonstrated that proposed film sensor is very sensitive toward RH, highlighting the ZnO/MWCNTs/ZnO nanocomposite is an excellent candidate material for constructing humidity sensors. To explain the above observed results, the possible humidity sensing mechanism for the presented sensor may attribute to the nanostructure of ZnO/MWCNTs/ZnO and swelling effects between interlayers. At low RH, the electron transport through ZnO/MWCNTs/ZnO film exhibits p-type semiconducting behavior and is dominated by positive charge carriers (holes), whereas the adsorbed water molecules on the sensing film surface serves as electron donors [37, 38]. The chemisorbed water molecules cause a reduction of hole, resulting in the increase of film resistance. At high RH, the adsorbed water molecules enter into the multi-layer film can lead to an interlayer swelling effect occurs. The swelling of the ZnO/MWCNTs/ZnO increases their interlayer distance largely and deteriorates the degree of connectivity in the ELbL self-assembled nanocomposite film, resulting in an increase of sensor resistance [39, 40]. Based on the discussion above, we can consider that the major sensing mechanism is attributed to the p-type semiconducting behavior at low RH, and the interlayer swelling of ZnO/MWCNTs/ZnO film at high RH.

4 Conclusions

A humidity sensor based on hierarchical ZnO/MWCNTs/ZnO nanocomposite was presented in this paper. The humidity sensor was fabricated on a polyimide substrate by using ELbL self-assembly technology. SEM and XRD measurements were used to confirm the preparation of ZnO nanorods and functionalized-MWCNTs. The humidity sensing behaviors of the presented sensor were investigated under exposure toward different RH levels ranging of 11–97 % RH. The experiment results showed the sensor has high response to humidity, short response and recovery time, small hysteresis and acceptable repeatability, highlighting the ZnO/MWCNTs/ZnO hierarchical nanocomposite is an excellent candidate material for constructing humidity sensors.