Introduction

With numerous applications in the field of agriculture, medicine and other industries, humidity sensors have drawn considerable attraction in recent times. One of their significant roles includes noninvasive monitoring of breathing to evaluate human health as water vapor is a dominant part (> 90%) in the exhaled breath [1]. Numerous efforts have been made in the past years to investigate various transduction mechanisms to develop humidity sensors including capacitive, resistive, surface acoustic and optical-based [1, 2]. A variety of nanomaterials such as carbon allotropes, metal nanoparticles and nanocomposites have been used as humidity-sensitive materials [3]; however, demands for flexible materials have been raised in recent times for developing high-performance humidity sensors [4, 5]. Various polymer materials such as poly(dimethylsiloxane) (PDMS) [6], poly(ethylene terephthalate) (PET) [7] and poly(ethylene naphthalate) (PEN) [8] have been applied as thin films to fabricate wearable humidity sensors; however, they have limited hygroscopicity and breathability, which reduces their sensitivity and comfort. Moreover, paper-based sensors demonstrate high fragility [9]. The impressive development in the field of e-textiles (including natural, e.g., cotton and silk, and synthetic, e.g., polymer-based) has caused a surge in the fabrication of textile-based humidity sensors owing to their specific fibers and voids, flexibility, durability, hygroscopic nature, breathability and wearing comfort [5, 10,11,12].

Wearing face mask is a form of personal protection that can minimize the inhalation of airborne particles and reduce the spread of viral and bacterial contamination, especially during the time of COVID-19 pandemic. Recent reports suggest decontamination methods of face mask and other personal protection equipments where pathogens can be effectively inactivated by temperature and moist humidity [13]. Taking inspiration from this, we present a wearable humidity sensor prototype consisting of conductive interdigitated electrodes (IDE) and moisture-sensitive hygroscopic threads embroidered on face mask capable of detecting the change in relative humidity (RH) which can further be taken into consideration to prevent viral or other pathogen infections. COVID-19 is more likely to be a sign of coughing and sneezing during which the humidity around our mouth and nose becomes relatively high making it crucial to significantly monitor the humidity around that area. The present work considers this need and exploits the face mask prototype for humidity sensing application.

Fabrication of sensors through modern embroidery technique provides numerous benefits including stretchability of sensors, high throughput and rapid manufacturing with great functionality, which are compatible for flexible electronics. Furthermore, embroidery offers an opportunity to integrate electrode patterns made up of threads into substrate to fabricate various kinds of sensors, majority of which can be utilized for biomedical applications [14, 15]. The technique allows flexibility with respect to selecting a wide range of electrode, sensing/substrate materials and sensor design. Recently, design of IDE arrays has withdrawn considerable attention, which are microelectrodes onto a suitable substrate having the appearance of interlaced fingers separated, by a gap of small distance with a number of promising advantages such as avoiding the need for a reference electrode and providing quick reaction kinetics [16, 17]. The IDE have been widely investigated to optimize the electrode gap size, electrode height using various materials, for example, silver, gold, palladium, indium tin oxide and substrates such as ceramic, glass and flexible plastics. Most frequently used RH sensors fall under mainly two categories capacitive and resistive. In capacitive sensors, the sensing layer acts as the dielectric between two parallel interdigitated electrodes [18] while in resistive sensors, the sensing layer acts as a resistor between two electrodes in an interdigitated pattern [16]. As a result, the reaction of a capacitive sensor to humidity change is measured by a change in the capacitance of the sensor while by a change in resistance of the sensor for a resistive sensor. The literature reports that silver-based IDE structures have been fabricated frequently in the past to perform humidity analysis due to their high conductivity, however, mostly by using silver ink which are highly toxic [19,20,21].

Herein, we present a thread-based humidity sensor prototype embroidered on a commercial single-use polypropylene face mask where the IDE structures were stitched using silver-plated polyamide threads and the moisture-sensitive thread is composed of polyester (Scheme 1a). The advantages of using polymer-based threads in humidity sensing lie in the fact that polymer groups possess different surface morphologies, several polar groups such as NR3+Cl, SO3H, COOH and CO [22] and composed essentially in the form of long porous nanofibrous filaments which help in the interaction between water molecules and hygroscopic groups and results in the easy transmission of water. A short overview of the previously reported textile-based humidity sensors is provided in Table 1 where the comparison of the present sensor has been established. The sensing properties of the presented sensor were investigated over a wide range of 30–79% RH. The possible humidity sensing mechanism (Scheme 1b) of the sensor has been discussed in detail upon absorption of water molecules by hygroscopic thread, thereby generating different levels of RH. While extensive reports on sensitive materials for capacitance change has been reported toward humidity sensing, the presented textile-based sensor prototype was able to mark changes in electrical resistance of the sensor manifesting a unique humidity-sensing platform for real-time applications. Altogether, a hitherto uninvestigated application of a thread-based humidity sensor has been taken into consideration manifesting high sensitivity towards resistance change with the increase in relative humidity which has also been compared to changes in capacitance, impedance and phase angle.

Scheme 1
scheme 1

(a) Preparation of the face mask sensor (i) rough layout of the commercial embroidery machine, (ii) placement of the face mask in the work area, (iii) enlarged view of the needle setup and work area, (iv) embroidered face mask with IDEs and moisture-sensitive polyester threads; (b) proposed moisture sensing mechanism at hygroscopic polyester threads (optical image) within embroidered face mask

Table 1 Textile-based humidity/respiration sensors

Experimental

Materials and instruments

The humidity sensor was fabricated on a single-use nonwoven polypropylene face mask purchased from a local pharmacy. The IDE were embroidered using a polyamide core-based silver-plated conductive thread (Silver-Tech 150) supplied by AMANN. The fingers between the interdigitated electrodes were filled using moisture-sensitive polyester thread (Burmilon #200 weight) by Madeira which acted as hygroscopic material. The design of the sensor was created in AutoCAD 2021 (Autodesk, USA) and embroidered using an industrial technical embroidery machine (JCZA 0109-550, ZSK Germany). The humidity measurements were taken in Owlstone system (V-OVG, Owlstone Ltd Cambridge UK) electrically connected to a chemical impedance analyzer (IM3590, Hioki, Japan) to record the electrical parameters change with variation of relative humidity, in the frequency range from 1 Hz to 200 kHz. Scanning electron microscopy (SEM) of threads were taken using TM3030, Hitachi, Japan, at an accelerating voltage of 10 kV. Energy-dispersive X-ray (EDX) and mapping analysis were performed using Bruker Quantax 70, equipped with ESPRIT compact software. Optical images were taken using Huvitz microscope with Panasis software. Manual probe station (SUSS PM5) with Motic images plus 3.0 software was used for capturing images of prepared sensor.

Experimental setup

The humidity testing was performed in a sealed glass bottle chamber where the embroidered face mask sensor comprising of IDEs and the embedded moisture-sensitive hygroscopic threads was exposed to water, at a constant temperature of 25 °C. The conductive thread-based embroidered electrodes of the face mask sensor were attached with two wires to the test setup which led to the impedance analyzer. Different levels of RH were generated in the range from 30 to 79% by a manually controlled input and output wet airflow system equipped with a humidity sensing apparatus to record the sensitivity of the face mask sensor during which water vapors were adsorbed by the textile threads. All the measurements were taken in normal laboratory conditions. The overall design of the embroidered face mask sensor is shown in Fig. 1a, b. The experimental setup comprising of humidity chamber connected to the Owlstone testing instrument is presented in Fig. 1c, while captured magnified image of our designed sensor is depicted in Fig. 1d. SEM images of conductive silver thread and polyester threads with long filament morphology are shown in Fig. 2a, b. The presence of silver particles is clearly shown in Fig. 2a which was confirmed by EDX measurement (Fig. 2c) while the presence of carbon (C) and oxygen (O) justifies the water absorbing group (C=O) of polyester threads (Fig. 2d) [18]. Moreover, elemental mapping of conductive silver thread and polyester thread is shown in Figure S1 and Figure S2 of Supplementary Information (SI).

Figure 1
figure 1

(a) Face mask sensor for humidity detection; (b) sensor design comprising of IDE (in gray color) and filled embedded hydroscopic threads between them (in yellow color), the dimensions are shown in mm; (c) humidity chamber connected to the Owlstone humidity generating machine; (d) captured image of face mask sensor

Figure 2
figure 2

SEM micrograph of (a) Silver-Tech 150 conductive thread and (b) polyester Burmilon thread; EDX analysis of (c) Silver-Tech 150 and (d) polyester Burmilon threads with percent (%) composition of elements

Results and discussion

Humidity sensing mechanism

Unlike capacitive sensors where a sensing material with very low conductivity is required for effective use as a dielectric material [18], resistive sensors rely upon the flow of current through the sensing layer [16, 23]. Therefore, as the sensing layer (in this work polyester threads) react to the presence of water, the conductivity of the hygroscopic thread changes. In other words, as the thread-based sensor is exposed to different RH levels, it consequently leads to a change in the resistance of the sensor. In the present case, the resistive IDEs represent a chain of individual resistors arranged in parallel. The polyester core-based moisture-sensitive threads embroidered between the fingers of IDE served as water adsorption centers to create the Van der Waals interactions between the carbonyl group (C=O) of the polymer [18] and water molecules [22]. The hydrogen bonds that formed as shown in Scheme 1b play a dominant role in eliciting the sensor response [24]. In principle, C=O groups and the weak hydrogen bonds offer synergistically the unique physicochemical and electronic properties for humidity sensing to the sensor [25]. Initially, the chemisorbed water molecules are formed followed by the physical adsorption of water vapors onto the chemisorbed layer of the moisture-sensitive threads as relative humidity levels increase. Moreover, H3O+ formed during the adsorption of water generates charge carriers caused by the ionization of water molecules under an electrostatic field [26]. At lower humidity levels, the ion transfer is relatively difficult to achieve as very few water molecules are absorbed at sensor surface. Hence, water absorption is not continuous and thus coverage of water on the film surface [27]. However, at higher humidity levels, the multilayer physisorption of water molecules shows a more liquid-like behavior and transfer of H+ ions (proton hopping) can be realized as H2O + H3O+ = H3O+ + H2O throughout the sensing layer caused by the Grotthuss chain reaction [27]. In simple words, it can be said that H+ ions could transfer between adjacent water molecules. Therefore, at high-humidity conditions, more water molecules are available to penetrate the interlayers of sensitive threads, which are ionized to form hydronium ions H3O+, which also act as dominant charge carriers. Such conditions lead to a great decrease in sensor resistance, or simply in other words, transfer of H+ or H3O+ ions within moisture-sensitive threads causes a swift decrease in resistance making the sensor highly sensitive to humidity.

Resistance studies of the face mask sensor toward humidity monitoring

As a part of preliminary studies of the face mask sensor to demonstrate its behavior towards electrical parameters change over increasing frequencies, the variation of electrical resistance (real part of the electrical impedance) of the sensor was measured, at each RH level, as shown in Fig. 3. It can be concluded from the graph that the electrical resistance change is flatter at higher frequencies and the obtained results confirm the decreasing trend of electrical resistance of face mask sensor with the increase in frequencies suggesting high suitability of our prepared sensor for humidity monitoring [25,26,27,28,29,30,31,32,33,34].

Figure 3
figure 3

Resistance vs frequency change of the face mask sensor at different relative humidity levels: (a) in the lower frequency range (1 Hz to 40 kHz); (b) in the higher-frequency range (40 kHz to 200 kHz)

Furthermore, the average sensitivity of the face mask sensor was calculated at each measurement frequency. For measurements at lower frequencies, 4 kHz, 8 kHz and 20 kHz, the average sensitivity of the sensor was found to be 27.75 kΩ/RH%, 10.20 kΩ/RH% and 4.79 kΩ/RH%, respectively. At 40 kHz, the sensitivity of the sensor was recorded as 2.2 kΩ/RH% which was decreased to 1.10 kΩ/RH% at 60 kHz. Further decrement in the sensitivity was observed as 0.32 kΩ/RH%, 0.20 kΩ/RH% and 0.12 kΩ/RH% at increased frequencies of 100 kHz, 150 kHz and 200 kHz, respectively. Figure 4a–h shows the decrease in the resistance values with the increase in the RH at different frequencies. However, the resistance values became flatter at higher frequencies as clearly shown in Fig. 4f–h. Furthermore, the linear performance of the sensor toward resistance change with the increasing % RH is shown in Fig. 5. The linear regression curve was plotted at different frequencies which showed a nominal decrement in resistance of fabricated face mask sensor with an increase in % RH. The percentage decrease in resistance between 30 and 79% relative humidity was 22.59%, 19.83%, 14.67% and 8.42% for 20 kHz, 40 kHz, 60 kHz and 100 kHz, respectively, which demonstrated that at lower measurement frequency, the humidity response signal of the face mask sensor was higher.

Figure 4
figure 4

Change in resistance with the increase in relative humidity at different increasing frequencies

Figure 5
figure 5

Linear plot showing change in resistance with the increase in relative humidity

Real-time sensing of face mask sensor toward humidity detection

Three healthy male volunteers (subjects) were included in the real-time respiration monitoring study using the fabricated face mask sensor. All subjects signed the informed consent form, and before measurements, they were instructed to sit and rest for 5 min. The initial stage of the respiration monitoring was holding breath phase for 5 s, and after that, volunteers were instructed to breath normally. Subjects were sitting during the complete tests (approximately 80 s). Chemical impedance analyzer Hioki IM3590 was operated at low frequency in continuous sampling mode (90 samples per second). The reason for choosing low frequency for real-time testing is that around this frequency, the sensor showed more stable behavior, which is more suitable for portable devices and on-body in situ applications. Further, low-frequency range, allows us to create a low-cost readout electronic circuit where deviations of characteristics of filters, operational amplifiers or A/D convertors are generally avoided. The obtained results are shown in Figs. 6, 7, 8 and 9 for the following electrical parameters: impedance magnitude, phase angle, capacitance and resistance, respectively.

Figure 6
figure 6

Measured values of impedance magnitude for volunteers during the normal respiration

Figure 7
figure 7

Measured values of impedance phase angle for volunteers during the normal respiration

Figure 8
figure 8

Measured values of capacitance for volunteers during the normal respiration

Figure 9
figure 9

Measured values of resistance for volunteers during the normal respiration

As shown in Figs. 6, 7, 8 and 9, all three parameters are sensitive to humidity changes caused by the respiration. However, we got very interesting results if compared the ratio of the peak-to-peak values (ends of exhalation and inhalation phase) of the one typical recorded cycle (marked with red rectangular shape in Figs. 6, 7, 8 and 9), as shown in Fig. 10. The sensitivity of electrical resistance ratio is the highest for all three subjects, followed by the impedance and capacitance, while the phase angle had the lowest peak-to-peak ratio.

Figure 10
figure 10

Peak-to-peak sensitivity of different parameters during the respiration of three volunteers

Moreover, it can be noticed that there are some differences when absolute values of measured impedance, phase angle, capacitance and resistance are compared among three volunteers. This can be expected because of the following reasons. Primarily, volunteers had different breathing rate over the analyzed period of time (subject 1 had 13 inhalation/exhalation phases, while subject 2 had 16, and subject 3 had 21) causing different humidity levels in exhaled air. It can be expected that deeper and slower breathing will results in more humid exhaled air. However, this is not always true because a subject in calm position (or during sleeping) can have a very shallow and slow breathing. Therefore, the main reason for different resistance/capacitance values is different humidity of exhaled air. In addition to that, volunteers have different age and they also can have wear mask with some differences in the shape of the mask (different bending) and position/distance of the sensor from the nose of the subject.

Response time can be determined as time required that signal reaches 90% of the steady state during the increase in the resistance during the respiration, while the recovery time can be determined as time required that signal drops 90% of the initial value during the decrease in the resistance. We chose obtained signals for Subject 3 because the fastest respiration was obtained, when compared to other two subjects. Response and recovery time can be obtained using graphical analysis as shown in Fig. 11 where obtained response time is 0.8 s, while the recovery time is about 1.5 s.

Figure 11
figure 11

Determination of response and recovery times

Finally, the calibration curve was obtained using the values shown Figs. 4 and 5, which enabled conversion of measured resistance to monitoring of RH changes during the respiration (Fig. 12). Bearing in mind that resistance decreased while RH increased, the same shape was obtained, but where electrical resistance as a function of time had maximum, relative humidity had minimum and vice versa.

Figure 12
figure 12

Changes of relative humidity and resistance during breathing of three subjects

Equivalent electrical circuit and analysis

Together with the Bode plots, the complex impedance spectroscopy is an alternative approach to discover the underlying sensing properties of the face mask sensor. As at low humidity levels, very few water molecules are adsorbed at sensor surface and the coverage of water on the film surface is not continuous [27] making the ion transport difficult. Thus, to analyze the electronic behavior of the face mask sensor, impedance spectroscopy was performed at increased relative humidity values of 68% and 79%. Figure 13 shows the Nyquist plots at the chosen %RH values, which were around the realistic values during the experiment as well as in real scenario. The increased humidity levels enhance the ionic conductivity or the electrolytic conduction within the moisture-sensitive threads as a result of which the characteristic semicircle in the Nyquist plot could be seen; however, it was not observed at lower humidity.

Figure 13
figure 13

Nyquist plots of prepared face mask sensor obtained at higher humidity levels

Based on the analysis of the fabricated structure as well as Nyquist plots, the equivalent electrical circuit of the sensor is proposed. In general, it is a capacitive structure, but because of conductive path between electrodes when humidity is increased (during respiration), in parallel with capacitor C1 should be placed a resistor R1, as shown in Fig. 14.

Figure 14
figure 14

Proposed equivalent electrical circuit of the embroidered sensor

Values of R1 and C1 are estimated using Fig. 13 for two relative humidity values (68% and 79%) at the low-frequency range (4 kHz). Obtained values are summarized in Table 2.

Table 2 Estimated values of model parameters

As shown in Table 2, there is a decrease in the resistive component with increasing humidity, while capacitance is increasing. These trends were expected as with increased RH, there should be increase in the capacitance because of increased dielectric constant of material between electrodes, as well as increase in the conductivity (decrease in the resistance). Another important observation is that rate of change for R1 is 5.37, while for C1 it is 1.20, which supports our assumption that range of variation of electrical resistance was higher than other sensing parameters.

Conclusion

In summary, for the first time, an electrical comparison of the responses of an embroidered face mask-based humidity sensor was recorded toward resistance, capacitance, impedance and phase angle change during respiration. The sensor was found highly sensitive toward moisture detection in the frequency range from 1 Hz to 200 kHz investigated between 30 and 79% RH levels and the results have been demonstrated using resistive type of sensing mechanism. We found that for this application, the electrical resistance demonstrated the highest peak-to-peak variation compering with other electrical parameters of IDE structure—impedance, phase angle or capacitance. The presented sensor prototype highlights the application of textile materials as a suitable and novel alternative to paper and hard polymer-based humidity sensors with high performance for various wearable e-textile applications.