Introduction

For decades, people have been working on wearable technology. With the advancement of the electronic industry, wearable technology has reached its pinnacle [1]. Wearables combined with wireless and smartphone technologies can help in real-time monitoring of body movements, heartbeat, blood pressure, and other vital indications. Wearable technology is frequently used in health care due to these benefits. Wearable health devices help measure health indicators at home during early diagnosis, therapy, and post-treatment. It is easier to manage, minimizes the logistics of visiting the hospital, and saves time while being stress-less and hassle-free [2]. Sensors are essential in wearable technologies. These sensors, affixed to an individual's skin, detect and transmit impulses. Chemical and physical sensors are the most common types. Physical sensors offer information on bodily mobility, vibrations, pulses, etc. Chemical pressure utilizes the chemical reaction to affect the conductivity and further detect the pressure change [3]. Pressure sensors are typical physical wearable sensors with four distinct functioning mechanisms. Except these two types, bio-based pressure senor is another unique type pressure. Sensor is design based on bioreaction like immunoreaction[4,5,6], electrochemical reactions[7], chemical reaction[3]. The types of physical mechanisms involve piezoelectric [8], capacitive [9], triboelectric [10] and piezoresistive [11,12,13,14]. Among these, piezoresistive sensors have become increasingly popular due to their ease in the signal grouping, controllable sensing range, stability and applications in integrated devices, machine–human interface, healthcare monitoring etc. Piezoresistance came in 1856 (nineteenth century) when the change of resistance in copper and iron wires during elongation was discovered by William Thomson (Lord Kelvin) [15]. The piezoresistive effect was introduced by Cookson in 1935, who defined it as the change in conductivity with stress [12].

Traditional piezoresistive sensors have been based on brittle sensing materials built on hard surfaces [13]. Following this, the properties of the next-generation piezoresistive sensors for wearable healthcare monitoring have been emphasized to have high flexibility, compressibility, stretchability, and bending capabilities, in addition to increased sensitivity. Sensitive sensing material selection and appropriate geometric electrodes should be used for a synergistic effect when designing such a piezoresistive sensor [14]. The basic principle behind the working of piezoresistive sensor mainly depends on the change in resistance of the material with varying external mechanical deformation. These sensors transform external force or pressure into current and resistance. [16]

Based on the material and device construction, a piezoresistive sensor can sense small vibrations in the human body, such as pulse, breath, and large stress or load. The flexible pressure sensor with high sensitivity, outstanding flexibility, and low cost can convert the external force information into electrical signals in real time [17, 18]. And it has potential to applied as electronic skin and healthcare detection systems for sensing biophysical signals such as pulse waves, respiration, and intraocular pressure [19]. Lot of soft material can play as the carrier of pressure sensor, such as polyurethane (TPU) substrate[19], poly (vinylidene fluoride) (PVDF)[20], cotton[6], polypyrrole (PPy) foam[18]. In this work, we choose commercial foam and used a low-cost and straightforward fabrication technique of dip coating for easily accessible foam.

Foam has a porous or fibrous structure with elasticity. It helps in obtaining high sensitivity to the wearable piezoresistive sensors. These criteria necessitate a series of fabrication processes, making large-scale production problematic. As a conventional material, foam can be found in our daily life, for example, as a foam washer, an acoustic absorber foam, a fireproof foam, a foam cushion etc. Due to the specific characteristics of the sponge, such as its energy absorption [21], elasticity [22], porosity [23], light-weightiness, low cost, and environmental friendliness, it acts as an ideal substrate for the wearable pressure sensor. By exploiting the porosity of the foam, piezoresistance can be induced by a series of steps involving carbonization [24], dipping-coating [16, 25], followed by layer-by-layer assembly [26] of the sensor. These techniques facilitate compacting the foam while creating contact paths for current. Some recent research efforts are discussed to explore the current state-of-the-art. In 2018, Weijie et al.[24]. fabricated a carbonized (heat treatment to obtain carbon) foam at 800 °C in a nitrogen flow. It could detect slight pressure as low as 3 Pa. In addition to its 9 Pa detection limit, its endurance was remarkable, with 90% performance persisting after 11000 press-release cycles. Its performance can be linked to the carbon foam's flexible and soft character. Another easy procedure is dip-coating, which involves immersing the substrate in the material solution. Amit et al.[27]. demonstrated the working of reduced graphene oxide (rGO) based piezoresistive sensor. The sensor was fabricated by dipping polyurethane (PU) foams into rGO solution. Even after 5000 cycles of testing, there was almost no decrease in performance. It is profiting from 2-dimension (2D) material graphene, whose conductivity is better than 1-dimension (1D) material.

Moreover, 2D material can create a larger connect area facilitating the transfer of more electrons from one side to another. A different study involves free-standing graphene super light foam fabricated by Yarjan et al. [28]. Remarkably, a 30% compressive load on the foam increased its resistance to 120% of its initial value.

Mxene is a 2D material that has recently come to light. It was first reported by Naguib et.al in [29] Mxene can be produced by selectively etching MAX phase. MAX phase is the ternary carbides and nitrides with a Mn+1AXn formula. M is an early transition metal, A is an A-group (mostly groups 13 and 14) element, and X is C and/or N. In the present study, we are using Ti3AlC2 (MAX phase). The ultra-thin Ti3C2 Mxene nanosheets are produced after acid etching process. The synthesis can be carried out by suspending a MAX phase in hydrofluoric acid (HF) [25, 30]. Due to the strong corrosivity of HF, Ghidiu et al. [31]. found an alternative synthesis technique which is easier and safe. The team immersed Ti3AlC2 in lithium fluoride (LiF) and concentrated aqueous hydrogen chloride (HCl) solution. 2D nanosheets were formed in ultrasonic treatment under protected gas flow. Mxene is a promising candidate for supercapacitor applications due to its excellent electrical conductivity and 2D structure [32], pressure sensor [33], battery electrode [34], electromagnetic interference shielding [35], antibacterial activity [36], and in water and air purification [37]. Mxenes often have a negative charge due to the abundance of –OH, –O, and –F functional groups at their surface terminals [38]. Positively charged molecules are electrostatically adsorbed on the surface of Mxenes, providing the composite with improved sensing capabilities [39, 40].

In this work, we designed a robust piezoresistive melamine foam sensor. The foam was sequentially coated with PEDOT:PSS and Mxene. To further increase its conductivity, silver nanoparticles (Ag Nps) were mixed with Mxene solution. A simple dipping and coating approach was employed to prepare AgNps-Mxene@PEDOT:PSS sensor. It was possible to acquire a detection range that was greater than that of already accessible works [41, 42](from 0.417 to 817.8 N). This hybrid foam sensor can tolerate more than 90% deformation under a 977.6 N load, providing a stable response in a broad load range.

A comparison of various foam-based pressure sensor performances is listed in Table 1, showing the standing of our present work.

Table 1 Foam-based piezoresistive pressure sensors

Experimental section

Materials

Commercially available Melamine sponge. Poly (3,4-ethylenedioxyiophene)-poly(styrenesulfonate) (PEDOT:PSS), Mxene (Ti3AlC2) power, Lithium fluoride (LiF) power, Sliver nanoparticle (AgNps) and Hydrochloric acid were purchased from Sigma-Aldrich (Singapore). The substrate used is commercially available melamine foam with 90% porosity. A simple dipping and coating method was used to fabricate Mxene@PEDOT:PSS@AgNps foam sensor. Step-wise fabrication of the composite foam has been discussed below.

Synthesis of 2D Mxene sheet

Mxenes are layered structures derived from MAX phase. Mxene sheets are synthesised by etching A-element atomic layers from the Mn+1Xn adjacent layers from the MAX phase (i.e., Al layer in Ti3AlC2 is dissolved by acid). The etching process results in a terminated multi-layered Mxene powders with the 2D layers held together by hydrogen and van der Waals bonds [29, 47]. Layer “A” can be easily dissolved using hydrofluoric acid (HF)[29, 48, 49].

$$ {\text{Ti}}_{{3}} {\text{AlC}}_{{2}} + {\text{ 3HF }} = {\text{ AlF}}_{{3}} + { 3}/{\text{2H}}_{{2}} + {\text{ Ti}}_{{3}} {\text{C}}_{{2}} $$
$$ {\text{Ti}}_{{3}} {\text{C}}_{{2}} + {\text{ 2H}}_{{2}} {\text{O }} = {\text{ Ti}}_{{3}} {\text{C}}_{{2}} \left( {{\text{OH}}} \right)_{{2}} + {\text{ H}}_{{2}} $$
$$ {\text{Ti}}_{{3}} {\text{C}}_{{2}} + {\text{ 2HF }} = {\text{ Ti}}_{{3}} {\text{C}}_{{2}} {\text{F}}_{{2}} + {\text{ H}}_{{2}} $$

Even in small quantities, HF remains dangerous. Considering the risk assessment and required safety procedures, severe corrosivity, we dissolved the A-layer using lithium fluoride-hydrochloric acid (LiF-HCl), instead of HF.

To obtain single- or few-layer Mxenes, sonication was performed and later replaced by intercalation of dimethyl sulfoxide (DMSO), which proved to be more efficient [50]. In this study, we solely synthesized multi-layered 2D Ti3C2X nanoflakes with intact structure for sensor application. To separate nanosheets, we used sonification procedure to increase the surface and contact area. To get a single layer nanosheet, it require more critical treatment. The beneficial impact of sonification has been discussed in subsequent section. Intensive processes are needed to produce a single-layer nanosheet.

Mxene nanosheets were fabricated by acid etching the Ti3AlC2 powder. Initially, 0.5 g Lithium Fluoride is added into 10 ml HCl (9 M) slowly and stirred for 10 min until LiF was completely dissolved. This step can produce LiF-HCl acid to react with Ti3AlC2 powder. In this solution, a total of 0.5 g Ti3AlC2 powder was added gradually in small amounts. This mixture was stirred continuously for 24 h at 40 °C on hot plate. Different HF acid concentration require different processing time for the complete reaction to happen. Mohamed Alhabeb et al. address this period under varied HF acid concentration. 5, 18, and 24 h for 30, 10, and 5 wt% HF, respectively. [47] The obtained solution was washed with deionized (DI) water and centrifuged at 4000 r/min for 10 min each time until the pH value was around 7 (the acceptable pH range is 5–7). After each centrifuge cycle, powder gets collected at the tube's bottom, drain the liquid. Then, add new DI water to the tube, until the PH level was maintained around 7. The Mxene powder settles at the bottom, and the top liquid was then drained off. Finally, to acquire a homogeneous Mxene aqueous dispersion, the resultant was placed into a three-necked, round-bottomed flask and ultrasonicated in an ice bath under protective nitrogen flow.

Fabrication of AgNps-Mxene@PEDOT:PSS foam

Melamine was taken as a primary foam here with film (thickness is 2 mm) cut into 1 cm x 1 cm cube (size comparison with a 20 cents SGD coin (Fig. S1)). Firstly, the foam cube was washed with DI water. Secondly, it was dipped in the 95% ethyl alcohol and ultrasonicated for 20 min to get rid of unwanted foreign residue. Thirdly, rinsed and ultrasonicated while immersed in DI water for 20 min. Finally, the foam cube was dried in the oven at 60 °C for 4 h. The obtained clean foams were then dip-coated in 1.3wt% PEDOT:PSS solution. After the PEDOT:PSS coated foam was allowed to dry in the oven for 4 h, it was dipped in AgNps-Mxene solution. Forty milligram AgNps were added to 10 ml prepared Mxene nanosheet aqueous solution and stirred for 2 h to prepare AgNps-Mxene solution. PEDOT:PSS-coated foam was immersed into AgNps-Mxene solution and put in the vacuum oven at 30 °C for 24 h. Finally, it was then dried at 60 °C for 4 h to obtain the composite foam. The foam at different stages: plain, with PEDOT:PSS and AgNps-Mxene@PEDOT:PSS foam is shown from left to right in Fig S1.

Assembly of AgNps-Mxene@PEDT:PSS foam pressure sensor

This foam sensor was assembled in a sandwich structure as shown in Fig. 1a. Bottom layer is an interdigital electrode, which was stacked with 0.5 cm*0.5 cm PVDF-HFP nanofiber spacer. Lastly, AgNps-Mxene@PEDT:PSS foam was placed as the top layer. This sensor setup was sealed properly by biomedical transparent tape.

Figure 1
figure 1

a Schematic illustration of AgNps@Mxene@PEDT:PSS foam sensor assembly. b Work diagram of spacer. c The device testing set up

Nanofiber spacer

A pure PVDF-HFP nanofiber film fabricated by the electrospinning technique was utilized here. PVDF-HFP solution was prepared using the solvents acetone and N N-dimethylacetamide (DMAc) in the ratio of 1:1 with 16 wt% of PVDF-HFP pellets. The solution was vigorously stirred at room temperature for 48 h in order to obtain a homogeneous mixture. The solution was loaded into the syringe, and electrospinning was carried out while maintaining the parameters of 19 keV voltage, 200 rpm roller drum speed, collection width of 20 mm and a steady flow rate of 2 ml/hr. The spacer is a nonconductive layer which facilitates in separating of foam and electrode, drastically reducing the contact area Fig. 1b. The tensile test of PVDF-HFP nanofiber presented good elasticity and mechanical strength Fig S2.

We designed our experiments to discuss the effect of type and concentration of material. The layman's concept of piezoresistive sensors is that: in its usual form, the foam should be nonconducting, but when pressure is applied, it becomes conductive based on the additives and formation of conducting paths. PEDOT:PSS and Mxene are the essential materials in this case. Because of hydrophilicity and electrical conductivity, Mxene has a lower resistance at increasing concentrations. However, research has shown that the performance of the sensor is restricted by Mxene concentration. The sensor's performance starts to decrease when the foam is highly concentrated by Mxene. This happens due to shorting with the interdigital electrode due to the complete conductivity of the foam. This limitation is addressed by the addition of a spacer layer.

We observed that Mxene powder is spilt from the foam structure during the pressure pressing procedure due to weak adherence of Mxene to the foam. As a result, the sensor became unstable and underperformed. In order to overcome his issue, we incorporated another conductive material PEDOT:PSS, which is in the liquid form that helps in adhering the particles. It can be easily absorbed and attaches tightly to the foam after drying. We added silver nanoparticles to increase the conductivity further as the insertion of a spacer eliminates the limitation of conductivity in sensor performance. Thus, the hybrid foam sensor was fabricated using step-by-step layer fabrication. In this study, we studied the effect of Mxene concentration while keeping the PEDOT:PSS concentration fixed. Three different concentrations of Mxene: 1 mg/ml, 2 mg/ml, 4 mg/ml were considered. The assembled device is shown in Fig. S3.

Result and discussion

Hybrid-coated foam

The conflict between high sensitivity and wide sensing range greatly limits the extensive application of flexible pressure sensors. To produce a sensor with both high sensitivity and wide range is still a challenging work. [51] In this work, we utilize the 2D-material Mxene to achieve a ultra-high sensitivity and detection range. The hybrid sensor is design based on a foam sensor. Commercial foam has a porous structure, which can be easily fabricated as a wearable sensor.

Sensitivity and detecting range are related to conductivity of our sensor. Figure 2c indicates the relationship between performance and conductivity (Mxene concentration). High conductivity further limits performance of sensor, as resistive response is necessary. Due to the limitation, we designed spacer layer. It can isolate foam and interdigital electrode to increase the detecting range (discussed in subsequent section). We further introduce the silver nano particle (AgNps). As a conductive metal, silver can help to create conductive pathways, boost sensor sensitivity, and shorten response times simultaneously. It is commonly employed in sensors. B.Cai et.al achieved 4.97 kPa−1 sensitivity with a silver-coated carbonization foam. [41] Combination of Mxene and AgNps increase conductivity, but high concentration brings instability for sensor hence we controlled the composition. Both Mxene and AgNps are powder. The coated powder would disperse during compression or pressure application and the sensor’s stability would be unable to achieve. In order to hold the components together, we introduced liquid phase, poly (3,4-ethylenedioxythiophene): poly(styrenesulfonic acid) (PEDOT:PSS), well-known as the most remarkable conducting polymer. Apart from coalition, the polymer also provides high transparency, tunable conductivity, excellent thermal stability and good film-forming properties. [52] As, after drying, the PEDOT:PSS thin film can attach on foam structure tightly. As a result of this combination, our hybrid foam sensor could present high sensitivity in ultra-high detecting range.

Figure 2
figure 2figure 2

a I–V curve based on Mxene@PEDOT:PSS@AgNps sensor and its fitting curve. b Current present as y-axis for different concentration Mxene@PEDOT:PSS foam. c Performance present as y-axis for different concentration Mxene@PEDOT:PSS foam. d Different load pressure test, y-axis label is log10 due to high sensitivity. e Relationship between current and load. f Sensor response between 0 and10 N g) Sensitivity of hybrid foam in different section h) Durability test, 5000 tests in total, only 1000 cycles are present here

Pressure model and sensing properties of AgNps-Mxene@PEDT:PSS hybrid sensor

The piezoresistive properties are detected and tested by a group of the electrical signal test system and mechanical test setup present in Fig. 1c. The testing load range of the mechanical testing setup was 0.01–1000 N. The minimum detectable current of Keithley 2450 multi-source meter is 0.0001 nA. The sensitivity and performance of the fabricated sensor was calculated by using the equations below, and the respective abbreviations are given in Table 2.

Table 2 Abbreviations of variables used in performance and sensitivity descriptions

Performance

$$ \begin{array}{*{20}c} {{\text{Performance}} = \frac{{\Delta {\varvec{I}}}}{{{\varvec{I}}_{0} }}} \\ \end{array} $$
(1)
$$ \begin{array}{*{20}c} {\Delta I = I - {\varvec{I}}_{0} } \\ \end{array} $$
(2)

Sensitivity

$$ \begin{array}{*{20}c} {{\text{Sensitivity}} = \frac{{\left( {\frac{{\Delta {\varvec{I}}}}{{{\varvec{I}}_{0} }}} \right)}}{{\varvec{P}}} = \frac{{{\text{Performance}}}}{{\varvec{P}}}} \\ \end{array} $$
(3)

Sensor assembly have already been mentioned before. Each sensor is appropriately sealed as an independent unit. Each unit was connected with an extending wire (connect by sliver paste) for testing (in order to keep a distance from the testing site to avoid any disturbance). The sensor unit is placed on the mechanical testing device holder. The electrode ends were connected to Keithley multi-source meter. All the current and other values are read by this measure meter. Both values on the source meter and mechanical testing setup are sent to the computer. All tests were conducted under external power (voltage). The standard testing voltage is 0.5 V, which is used as default in all the tests if not explicitly mentioned.

In Fig. 2a a linear relationship between voltage and current is observed after curve fitting, with voltage ranging from −1.5 to 1.5 V. Under the same load (28 N ± 3 N or pressure is 280 Kpa) and voltage (0.5 V), 4 mg/ml group showed the highest current value (up to 460 μA) as depicted in Fig. 2b. Concurrently, the current of 2 mg/ml group was 72 μA only, and there was a 435 μA gap between 4 and 1 mg/ml. The initial current of 4 mg/ml was higher than in other groups. The initial currents were 1.48*10–10, 1.45*10–10, 1.97*10–06 nA for 1 mg/ml, 2 mg/ml, 4 mg/ml samples respectively. As displayed in Fig. 2c, 2mg/ml group showed the highest sensitivity (\(\frac{\Delta I}{{I}_{0}}\)) of 5.72043*105, where the performance of 4 mg/ml sample only reached around 25. For each concentration, we prepared at least 4 samples. It was observed that, as concentration goes lower, the coating tends to be nonuniform. As a result, under the same concentration, different samples produced different performances. Hence due to inconsistency in the performance and sensitivity, they cannot be utilized as reliable sensors.

Here, the nanofiber spacer helps in increasing the detection range. The spacer can create a gap between the foam and the interdigital electrode. It can isolate them and reduce the connection points, which helps in further increasing the resistance of the whole unit. This phenomenon can be explained as follows. The resistance of the overall device may be categorized into two segments: (i) Contact resistance between MXene-sponge and electrode and (ii) MXene-sponge resistance. In a static state, adding the nanofiber enhances the interface contact resistance between the electrode and MXene-sponge, improving device functionality. The contact area between the MXene-sponge and the electrode is minimal without pressure, resulting in a comparatively low current. When an external force is exerted, the resistance of the MXene-sponge effectively reduces on one hand of the human. In contrast, on the other hand, the contact area between MXene-sponge and electrode expands significantly, lowering contact resistance and increasing the output current. The current change versus pressure curves may be separated into two linear regions: low-pressure and high-pressure regions [16]. Before we added the spacer, the initial current of 4 mg/ml sample was 1.97*10–06 nA. After introducing it, the current was reduced to 1.2*10–11 nA, increasing the detecting range immediately. The design of a spacer makes the high conductivity no longer a limitation to the sensor sensitivity. To further improve its sensitivity, we added silver nanoparticles to Mxene solution and fabricated the Mxene@PEDOT:PSS@AgNps sensor. Figure 2d presents the sensitivity of the hybrid foam under different loads. With introduction of the spacer and more conductive materials, the performance of hybrid foam is increasing dramatically (performance, \(\frac{\Delta {\varvec{I}}}{{{\varvec{I}}}_{0}}\) is presented by log function). The sensitivity increased and the detection range drastically broadened when compared to other existing piezoresistive sensor. Load limit that the sample can bear reached 977.6 N (surface area of the sensor is 1 cm2, equal to 9776 Kpa). This means that it can suffer an adult human weight easily. Figure 2e presents a curve between load and sensitivity. It was observed that when the load reached 700 N, the current increase rate was slower. When the load touched 817.8 N, the current almost hit the limit and stopped increasing.

Figure 2e also indicate that the increase of current almost follows a liner law. It can distinguish pressure levels clearly. In Fig. 2f it is represented that a minuscule load can also be detected by this sensor by using a more precise load meter of testing range between 0 and 10 N. The current was observed to go from 0.0558 to 0.37 nA and it kept increasing. The rapid increase of the current from 169 to 1060 nA in the beginning stops at 0.684 N. The current stabilizes and a steady increase when load surpass 0.684 N is observed. These results show high sensitivity in small load (0.417–0.684 N) and steady performance when applied a relatively higher load. To employ our sensor in different detecting ranges, we presented sensitivity (\(\frac{(\Delta {\varvec{I}}/{{\varvec{I}}}_{0})}{{\varvec{P}}}\)) of sensor in each range Fig. 2g. It has been divided into four Sects. 414.27 K Pa−1 at (4.17–12.98 K Pa), 182.52 K Pa−1 at (12.98–94.55 K Pa), 317.78 K Pa−1 at (94.55 K Pa–1.94 M Pa), 164.32 K Pa−1 at (> 1.94 M Pa). In the most conventional range, 94.55 K Pa to 1.94 M Pa, our sample presented a relatively good sensitivity. The highest sensitivity was found in the lower pressure range (4.17–12.98 K Pa), which can facilitate accurate and clear detection of tiny press/motion. A durability test is essential to evaluate the sensor lifespan. The good elasticity of the foam allows it to withstand thousands of pressing-releasing cycles. Our present Mxene@PEDOT:PSS@AgNps sensor could endure more than 5000 cycles. We performed 5 rounds of durability tests with each round consisting of 1000 cycles. Figure 2h displays this durability test and proves that the sensitivity remains the same after 5000 cycles. The current signal exhibits little attenuation and approximately the same amount of current variation after each compressing–releasing cycle, indicating that the device is stable and has an extended operational life. Here the response time was also observed to be consistent over the whole load range.

Material characterization

BET surface area was calculated using the adsorption data in a relative pressure (P/P0) range from 0.05 to 0.30. The total pore volume was assessed by converting the amount of nitrogen gas adsorbed at a relative pressure (P/P0) ≈0.99 to the volume of the liquid adsorbate. Pore size was calculated based on the adsorption isotherm by the Barret–Joyner–Halenda (BJH) model. The surface area was high for AgNps@Mxene@PEDOT:PSS ~ 1190.7 m2/g as shown in Fig. 3a–d, with the pore size of 2.4 nm followed by 800.21 m2/g for Mxene sheet, 253.2 m2/g for Ag Nps [53, 54]. The impurity level was low in AgNps@Mxene@PEDOT:PSS, as shown in Fig. 3e, with C, Ag, O and Ti corresponding to 64.81 wt%, 15.3 wt%, 8.4 wt%, 7.2 wt%. Traces of Mn, Fe and Al were also found [54].

Figure 3
figure 3figure 3

a BET of pure AgNps. b Composite coating (AgNps@Mxene@PEDOT:PSS). c Pure Mxene sheet. d PEDOT:PSS . e EDX element analysis of hybrid foam sensor. f XRD analysis. g FTIR of coating material with various surface functionalization (scanned from 400 to 4500 cm−1)

To access the structure of the hybrid foam sensor with coating materials, powder XRD of Mxene, Ag nanoparticles and Mxene@AgNPs powder obtained from hybridization were performed. XRD patterns of ultrasonicated 2D nanosheets of Mxene had similar peaks to that of hybrid Mxene@AgNPs. The characteristic peaks of the MXene at (104), (105), and (110) are observed in Fig. 3f. [55]Ag NPs XRD pattern (Fig. 3f) confirmed the FCC structure is attributed to the (111), (200), (220), and (311) crystallographic planes of the face-centred cubic silver crystals showing peaks at 2θ of 38.18°, 44.25°, 64.72°, and 77.40°respectively [56]. As the coatings were to serve the purpose of distinct layers on the foam, there should not be any reaction among Mxene and Ag NPs. The lack of any other new peaks at AgNPs@Mxene confirmed the absence of chemical reaction and other impurities.

The functional groups of delaminated MXene, Ag NPs, PEDOT:PSS and AgNPs@Mxene were analyzed by FTIR in attenuated total reaction mode (Fig. 3g). Spectrum of MXene shows distinctive peaks at 624, 1239, and 3463 cm−1 corresponding to Ti–O, –COOH, and –OH groups. [55]. In Fig. 3g FTIR spectra of silver nanoparticles exhibited prominent peaks at 1384, and 3429 cm−1, corresponding to –H and C–C; C–N stretching [57]. PEDOT:PSS FTIR spectrum shows peaks at 578 and 3409 analogous to C–S and C = C stretching. The slight shift in the peak positions of AgNPs@Mxene attributes to the OH/H2O adsorption.

The SEM image verifies the fiber network structure of the foam (Fig. 4a). Once the MAX phase is converted to Mxene, the Mxene sheets are stacked closely. This can be observed in Fig. 4b. They were then processed further to segregate the layers. Mxene 2D nanosheets that have been separated by ultrasonication have a larger surface area, as shown in Fig. 4c. Ag nanoparticles were evaluated to ensure equal distribution, lack of agglomeration, and moisture absorption (Fig. 4d). Figure 4e shows PEDOT:PSS, Mxene, and Ag nanoparticles coated and connected to a foam framework. Figure 4f shows the SEM image of a PVDF-HFP nanofiber spacer. The nanofiber's diameter was measured to be between 200 and 300 nm Fig S4.

Figure 4
figure 4

a 3D structure of hybrid foam. b 2D Mxene sheet without ultrasonication. c Mxene sheets after ultrasonication. d Silver nanoparticles (AgNps). e AgNps and Mxene sheet attach on foam skeleton. f PVDF-HFP nanofiber network

AgNps@Mxene@PEDOT:PSS foam sensor for human motion monitoring and heat mapping

Benefitting from high sensitivity and detecting range, we employed the hybrid sensor for detecting human body motion ranging from tiny pressure of the pulse to as high as human weight. A random finger pressing test (pressing with different pressure, frequency and holding time) was carried out to verify the piezoresistive property of the foam (Fig. 5a). Sensor was placed at different joints of the human body; the location is placed inset to the readings. Relative to the bending and pressure suffered, varying current has been observed to be generated.

Figure 5
figure 5figure 5

Hybrid foam sensor-based human body motion monitoring and heat map (a) finger press in different frequency (b) Front side elbow bending test (sensor is pasted on inner side of elbow). c Back side elbow bending test (sensor is pasted on outside of elbow). d Wrist band. e Finger banding angle detecting. f Real-time artificial pulse wave monitoring, plus here is 90 times per min. Hybrid foam sensor based human body motion monitoring and heat map. g Practical pressure map, start from circuit design to generate heat map

The type of force exerted by the human body is not singular but rather a complex mixture of pressure, strain, and torque, so we placed the sensor on the opposite side of the elbow as well as at the elbow along with the wrist and finger joints. The performance observed was an average peak of 2.2*102 nA (Fig. 5b), 7.0*10 nA (Fig. 5c) and 90 nA (Fig. 5d), respectively, for either side of the elbow and wrist joint. A clear depiction of varying output current with the difference in bending angle (45°, 75°, 90°) at the finger joint has been represented (Fig. 5e). For a 23-year-old male, a steady pulse was detected and noted to be 80 times/min approximately (Fig. 5f) which was within range of 70 to 90 times/min for a healthy human.

We have also designed a simple 3*3 matrix circuit with the interdigitated electrode to fabricate real-time 2D detection map, as shown in (Fig. 5g). We sealed 9 samples of Mxene@PEDOT:PSS@AgNps foam on this circuit to generate a pressure heat map. We put different coins and a tiny plastic container on top of each sample on the circuit. It was noticed that the current output was different when different loads were applied. The figure shows that pixelated sensor arrays are able to monitor the weight laid on the matrix. All the objects are taken from daily life, coins and plastic box possess different weights, and a corresponding heat map was generated. The coins chosen were from 10 cents to 1 Singapore dollar (SGD). One dollar coin is placed on the left side of the matrix, which is the heaviest. The height of each pi xel bar on a reconstructed map corresponding to the object distribution can be used to calibrate specific weight. This pressure sensor matrix might possibly be used in human–machine interactions, e.g., keyboards, especially super silent keyboards, since foam does not generate any noise.

We performed a series of pressure testing. The first one was the grip (squeeze) test presented in Fig. 6a. In the grip test by Mathiowetz V et al., they suggested that a healthy young woman aged between 20 and 24 could generate 70.4 pounds on average (equal to 313.28 N approximately) by grabbing, this was hundred times than finger joint bending. (in our testing, test by a young female student in this age range) [58]. A short and clean peak was observed in the test with a testing subject of a similar demographic Fig. 6a when we squeezed and released the hybrid foam sensor periodically. To further test the limit of our sensor, we performed walking tests and human body weight testing. As shown in Fig. 6b, the walking test was divided into two parts, forward and backward motion. The backward direction showed a broader peak because the hold time is usually higher (people are less skilled in walking backwards). Each step had a longer hold and the total walking period (numbers of steps are the same in both walking directions) was more as well. The detecting limit of our hybrid sensor is 977.6 N, which converts 97.76 kg. This detecting range is sufficient for human body weight detection. Three distinctive peaks in Fig. 6c correspond to different body weights 67 kg, 85 kg, 70 kg, respectively, of the subjects that took part in the experiment. One foot was lifted in the air, and we tried to apply whole body weight to the sensor.

Figure 6
figure 6

a Grip test b Forward and backward motion monitoring (sensor is pasted on bottom of foot). c Human body weight detecting test. d Hybrid foam-based LED circuit (ef) different pressure level applied on the foam sensor and its corresponding output

Another test facilitating the piezoresistive property of the sensor is a continuously variable switch Fig. 6d. Sensor is the switch itself. The resistance of the sensor will change when the external force is applied. This property can control the current value in the circuit and further affect the brightness of the LED. Here, we designed a circuit to achieve this correlation of brightness and resistance. The change in brightness of the green LED diode with increasing pressure can be observed in Fig. 6e–g. Other colored LED diodes have also been tested, as shown in Fig. S5.

Conclusion

In summary, this hybrid sensor can be fabricated on a large scale with the facile dip-coating method, which is economical and quick. Due to the flexibility and elasticity of melamine foam, commercial melamine foam is used as the substrate to carry PEDOT:PSS@Mxene@AgNps mixture. Our sensor can be attached to human skin comfortably. And the unique structure with nanofiber spacer eliminates the limitation of conductivity, in turn providing a large detecting range for hybrid sensor (from 0.417 to 817.8 N). It was further verified by human body weight testing. At the same time, a low detection limit of 0.417 N allows the sensor to detect pulse steadily and easily. Based on these excellent characteristics of hybrid foam, we believe it can be utilized in the healthcare industry, such as human motion monitoring, weight measuring, and an electronic skin. Detailed fabrication process and working mechanism is provided in supplementary data.