Introduction

The triboelectric effect, the charge transfer between contacting materials, forms the basis of triboelectric nanogenerators (TENGs), which have attracted intense interest for energy harvesting and sensing applications1,2,3,4,5. One challenge in this field is the quantitative characterization and prediction of a material’s triboelectric surface potential, a key parameter governing the magnitude and polarity of charge transfer during contact6,7. Accurate determination of surface potential is critical not only for designing effective TENGs but also for developing adaptive sensors capable of recognizing materials, monitoring charge decay, and compensating for environmental changes. Existing techniques, such as Kelvin probe force microscopy (KPFM), can precisely map surface potential at the microscale; however, they are inherently limited by their high cost, inability to capture dynamic, in situ contact-separation behavior8. These constraints make KPFM unsuitable for real-time monitoring or large-scale material screening, both of which are essential for practical applications such as wearable triboelectric sensors, robotic grippers that classify unknown materials by surface charge tendency, and self-calibrating interfaces that detect charge degradation under varying humidity. Thus, a rapid and deployable method that bridges the gap between nanoscale surface characterization and macroscopic triboelectric outputs would be highly valuable. Importantly, the electrical output of TENGs is fundamentally dictated by the surface potential difference of the contacting interfaces, suggesting that TENG signals can serve as indirect probes of this intrinsic property. Establishing a reliable quantitative correlation between triboelectric outputs and KPFM-measured surface potential would therefore allow real-time, in situ estimation of surface potential without direct contact-probe instrumentation. Such a capability would enable new functionalities across soft electronics and robotics, including autonomous surface recognition, humidity-aware self-calibration, and adaptive charge-state feedback. Even though KPFM has long been used to characterize intrinsic surface potential and interpret TENG behavior, no prior study has reversed this relationship—that is, predicting a material’s surface potential from its triboelectric outputs. Achieving this inversion would allow surface-potential information, currently accessible only through slow and specialized AFM-based measurements, to be inferred rapidly from a simple mechanical interaction. Such a capability would, in turn, open opportunities for adaptive triboelectric sensing systems, including autonomous surface identification in soft robotics, humidity-aware self-calibration in wearable electronics, and dynamic feedback on contact-induced charge states in smart interfaces. These application scenarios all require surface-potential information under varying operational environments—conditions where conventional KPFM cannot be deployed—highlighting the practical significance of the proposed approach.

Recent advances in data science provide a promising route to tackle this challenge. Machine learning (ML) and deep learning (DL) have increasingly been integrated with nanoscale sensors to improve performance and interpret complex signals. In the triboelectric sensing domain, ML algorithms have been applied to tasks such as gesture recognition9,10,11,12, material classification13,14,15 and optimization of nanogenerator output16,17,18. Notably, Qu et al. developed a multi-material triboelectric sensor array combined with ML, which was shown to identify different surface materials with up to 97% accuracy19. These studies illustrate that data-driven models can discern subtle patterns in the triboelectric signals generated by frictional contact events. However, prior works have focused mainly on qualitative classification20. Quantitative prediction of an intrinsic material property—such as its surface potential—has not been explored, primarily because triboelectric output is influenced by multiple interacting factors (humidity, surface state, charge trapping, morphology), making direct analytical modeling difficult. DL models, capable of learning nonlinear and compensatory relationships among these variables, offer a promising means to overcome this barrier.

In this work, we introduce a DL-enhanced dual-reference triboelectric sensor designed specifically for the quantitative estimation of surface potential. The sensor incorporates two reference materials with well-separated triboelectric polarities—one strongly positive and one strongly negative—so that contact with an unknown material generates two independent electrical signals. This dual-reference configuration provides richer and more discriminative information than single-reference designs and mitigates external variations such as humidity-induced fluctuations. We fuse these paired signals using a deep neural network, particularly a TCN, to predict the material’s surface potential on an absolute scale. Validated across a diverse set of materials, our approach achieves high prediction accuracy (average error <8%) relative to independent KPFM measurements for previously unseen materials—representing ~85% improvement over conventional single-reference methods—while maintaining stable performance across 20–50% RH. The system also distinguishes small differences in surface potential and exhibits robustness against modest environmental variations, demonstrating its practical utility.

Results and discussion

Figure 1a illustrates the fabrication process of the dual-reference triboelectric sensor. Two thin poly PDMS slabs (thickness: 100 µm) were first prepared. To create a positive reference surface, one of the layers was surface-functionalized to induce positive triboelectric behavior by O2 plasma treatment, followed by immersing it in PEI(b) solution. To maximize surface functionalization, the process was optimized (Supplementary Fig. 4). The other slab was left untreated, serving as the negative reference. After reference surface preparation, both pristine PDMS and PEI(b)-functionalized PDMS films (with identical dimensions) were treated with oxygen plasma treatment (100 W, 50 sccm O2, 2 min) to introduce oxygen-containing functional groups (–OH, –C=O, –COOH) on the surface. These groups enhance hydrophilicity and increase surface reactivity. The treated thin films were then placed onto the substrate, forming covalent siloxane bonds, followed by heat treatment at 80 °C for 2 h to strengthen adhesion. This dual-reference design serves as a physical common-mode filter. It is specifically engineered to mitigate environmental disturbances—such as random electrostatic particles and humidity fluctuations—by capturing differential signal patterns that are intrinsically linked to the material’s surface potential. To confirm the chemical modification, X-ray photoelectron spectroscopy (XPS) was performed. Survey spectra (Fig. 1b) reveal C 1 s, O 1 s, Si 2 s, and Si 2p peaks for both pristine PDMS and PEI(b) functionalized PDMS. Notably, an additional N 1 s peak appears only on the PEI(b)-PDMS surface. Deconvolution of N 1 s reveals peaks at 398.3 and 399.1 eV, corresponding to tertiary nitrogen in the pyrrolidine ring and quaternary ammonium nitrogen in PEI(b), respectively. These results confirm successful PEI(b) functionalization via ester linkages21,22,23,24. The hydrophilicity of the surface was further evaluated by static water contact angle measurements (Supplementary Fig. 5). Pristine PDMS exhibited a contact angle of 92.46 ± 1.59°, but after 2 min O2 plasma treatment and 5 min immersion in PEI(b) solution, PEI(b)-PDMS achieved a contact angle of 24.56 ± 1.25°, indicating improved wettability due to quaternary ammonium groups. Using KPFM, the surface potential of each surface was measured, showing –300 mV for the negative reference (untreated PDMS surface) and +150 mV for the positive reference (PEI(b)-PDMS). Figure 1d illustrates the triboelectric series of all the materials involved in this study, including the reference surfaces of the sensor, the materials used for training, and the materials used for testing. Based on this, it is possible to estimate not only where a material will be negatively or positively charged during friction-induced charge generation, but also the relative increase or decrease of triboelectric outputs. As shown in Fig. 1e, we present a flowchart outlining the surface potential prediction framework based on triboelectric output signals and ML. The system utilizes a dataset comprising triboelectric output voltage signals obtained from the dual-reference triboelectric sensor under two humidity conditions (20 and 50% RH). These signals are mapped to surface potential values measured via KPFM at 20% RH, which serve as consistent labels representing the intrinsic surface potential of each material. This database serves as the foundation for training DL algorithms that analyze the triboelectric output signal patterns to extract material-specific features. Through this process, the models learn the correlation between triboelectric output and surface potential, enabling accurate and scalable prediction of surface potential without direct surface characterization using KPFM.

Fig. 1: Fabrication of the dual-reference triboelectric sensor and framework for surface potential prediction of materials.
Fig. 1: Fabrication of the dual-reference triboelectric sensor and framework for surface potential prediction of materials.
Full size image

a Schematic illustration of the dual-reference triboelectric sensor fabrication process:(i) surface functionalization of PDMS using branched polyethyleneimine (PEI(b)) solution, and (ii) O2 plasma-assisted bonding of triboelectric layers onto the substrate. b XPS spectra of the pristine PDMS and PEI(b)-functionalized PDMS, and high-resolution N 1 s spectrum confirming nitrogen incorporation. c Surface potentials of PDMS and PEI(b)-PDMS measured by KPFM. d Triboelectric series of all materials used in this study, including reference layers, training materials, and test materials. e Flowchart of the surface potential prediction framework based on triboelectric signals from dual-reference sensors and deep learning models.

This work employs a triboelectric sensor with dual-reference triboelectric sensing layers to predict the surface potential of materials through contact with the target materials (Fig. 2a). Its operation principle—based on contact-separation mode—is illustrated in Fig. 2b using polyethylene terephthalate (PET) as a representative test material. The cycle involves four steps: (i) PET is initially pressed against both sensing layers, consisting of pristine PDMS on one side and PEI(b)-PDMS on the other side, equalizing the surface charges and resulting in no current flow. (ii) As two surfaces begin to separate, the induced triboelectric charges drive electrons to or from each electrode, restoring equilibrium and producing a voltage pulse. (iii) Once fully separated, no current flows. (iv) When the two layers are pressed back into contact, this triggers a reverse flow of electrons, generating an opposite-polarity pulse. Figure 2c, d show the open-circuit voltage (Voc) signals generated from PDMS and PEI(b)-PDMS, respectively, during contact–separation with the PET surface. Upon triboelectric friction with PET, PDMS becomes negatively charged while PEI(b)-PDMS becomes positively charged, generating Voc pulses of opposite polarity (Supplementary Fig. 6). The Voc amplitude increases with applied normal force: from 0.6 to 4 V on the PDMS-side and from 1 to 3 V on the PEI(b)-PDMS-side as the load increases from 1 to 30 N (Fig. 2d). In contrast, the contact-separation frequency has a negligible impact on peak Voc (Fig. 2e). Signal amplitude also depends on separation distance, with Voc increasing steadily from 2 to ~20 mm before saturating (Fig. 2f). The sensor exhibits rapid response kinetics (21–22 ms) and durability: after 12,500 cycles at 20% RH (2 cm separation, 2 N load), Voc remains essentially unchanged (Fig. 2g). These results confirm the sensor’s simple architecture, facile fabrication, high stability, and fast response, making it a reliable platform for evaluating the charge-exchange behavior of materials upon contact.

Fig. 2: Mechanism and performance of the dual-reference triboelectric sensor.
Fig. 2: Mechanism and performance of the dual-reference triboelectric sensor.
Full size image

a Schematic illustration of the sensor setup for measuring triboelectric output when contacting target materials. b Working mechanism of the dual-reference triboelectric sensor in contact-separation mode against a PET surface. c Output voltage of the PDMS-side (negative reference) in response to varying applied forces during contact with PET. d Output voltage of the PEI(b)-PDMS side (positive reference) under the same force conditions as in (c). e Output voltages of the dual-reference sensor under different contact-separation frequencies. f Output voltage variation with separation distances. g Durability of the dual-reference triboelectric sensor under repeated cycling: (i) Stable output voltages even after 12,500 cycles (2 N, 20% RH). (ii) Enlarged signal profiles at 4, 8, and 12 k cycles demonstrate no signal degradation.

To enable DL-based prediction of material surface potential, we first measured the surface potentials of ten materials used in this study, including two reference surfaces, using KPFM at 20–25% relative humidity (RH), as shown in Fig. 3a and Supplementary Fig. 7. This dataset, later used as the training and testing reference for our DL models (see Fig. 4). Among them, seven training materials (PTFE, Kapton, PET, PMMA, Paper, Glass, Nylon 11) were used for model training, and three (PVDF, Al, TPU (thermoplastic polyurethane)) were reserved for testing. The surface potentials of two references, PEI(b)-PDMS and PDMS, used in the sensor were approximately +150 mV and –300 mV, respectively. Among the target materials, PTFE exhibited the most negative surface potential (–410 mV), while Nylon 11 exhibited the most positive value (+320 mV). The surface potential list generally followed the established triboelectric series25. Next, as shown in Fig. 3b, the polarity and amplitude of the output signals from each reference layer are closely linked to the relative surface potential difference with the contacted reference materials. For instance, when contacting PTFE—a strongly electronegative material—both references PDMS (blue curve) and PEI(b)-PDMS (red curve) become positively charged and generate triboelectric signals of the same polarity, although with different amplitudes. This occurs because PTFE lies farther to the negative end of the triboelectric series and tends to attract electrons from both references. In contrast, when the sensor contacts PET—a material whose surface potential falls between those of the two references— PEI(b)-PDMS still produces a signal of the same polarity with reduced amplitude, while PDMS—being more negative than PET—gains electrons and becomes negatively charged. This results in a reversal of the signal polarity from the PDMS side. The triboelectric output amplitude increases as the surface potential difference between the reference and the contacted materials increases. This trend is clearly demonstrated in Fig. 3c: the output voltage from PDMS (negative reference) is relatively small when in contact with PTFE or Kapton (closer in potential), but significantly higher when contacting Glass or Nylon 11(more distant in potential). A similar trend is observed for PEI(b)-PDMS (positive reference), but in the opposite direction. We then repeated the measurements under elevated humidity conditions (50% RH). As shown in Fig. 3d, a consistent reduction in output voltage was observed for all materials. This is primarily attributed to the adsorption of water molecules on the material surfaces, which introduces charge screening and redistribution effects. These water molecules on the surface hinder efficient charge transfer and separation, thus weakening triboelectric output26. The trend is consistent with previous reports27,28. It should be noted that attributing the triboelectric output solely to the surface potential difference provides an incomplete description of contact electrification. While the surface potential establishes the initial driving force for charge transfer, the measurable output is strongly governed by how the transferred charges are trapped and retained within the dielectric. Material-dependent trap-state characteristics—including trap depth, trap density, and their spatial distribution—play a crucial role in determining both the magnitude and stability of the generated signals. Materials possessing high surface potential, but shallow traps, typically exhibit rapid charge dissipation, whereas materials with deeper or more abundant traps retain charges for longer durations, sustaining a steady output. This mechanism is consistent with our humidity-dependent results (Fig. 3d), where increased moisture enhances charge screening and promotes de-trapping, leading to accelerated signal decay despite minimal changes in intrinsic surface potential. These observations highlight that triboelectric performance arises from the interplay between surface potential and trap-state dynamics, and both factors must be considered when interpreting or predicting triboelectric behavior.

Fig. 3: Electric signal characterization of the dual-reference triboelectric sensor in contact with different materials under 20% and 50% RH.
Fig. 3: Electric signal characterization of the dual-reference triboelectric sensor in contact with different materials under 20% and 50% RH.
Full size image

a Surface potential of 10 different materials measured by KPFM under 20–25% RH. b Representative output voltage signals generated by the dual-reference sensor upon contact with each material. Triboelectric Voc outputs of PDMS (blue, negative reference) and PEI(b)-PDMS (red, positive reference) upon contact with 10 different materials, measured under the same condition (pressure 2 N, separation distance: 20 mm) at (c) 20% RH and (d) 50% RH.

Fig. 4: Deep learning-assisted prediction of material surface potential using dual-reference triboelectric signals.
Fig. 4: Deep learning-assisted prediction of material surface potential using dual-reference triboelectric signals.
Full size image

a Schematic of the deep learning framework for surface potential prediction based on triboelectric signals collected under mixed humidity conditions. Dual-reference triboelectric signals are processed and used to train models on seven labeled materials, while three unlabeled materials are reserved for testing. b Triboelectric voltage outputs for (i) training and (ii) testing materials under 20% RH, 35% RH, 50% RH, and 80% RH conditions.

Figure 4a outlines the overall procedure for training and testing the proposed framework to predict material surface potential using different DL models. The material surface potential prediction problem is a multivariate time-series regression problem since we estimate the surface potential of materials using sequential sensing signals. We build various DL models using the training dataset under mixed 20 and 50% RH conditions, where each sample consists of time-sequential measurements of PDMS and PEI(b)-PDMS with the surface potential labels of seven different materials, namely, PTFE, Kapton, PET, PMMA, Paper, Glass, and Nylon 11 (Fig. 4b(i)). The trained model is then used to predict the surface potential values of three other materials that were unknown during the training procedure, namely, PVDF, Al, and TPU, under 20, 35, 50, and 80% RH conditions (Fig. 4b(ii)). We evaluate the generalizability of the proposed models using test data for three materials under 35 and 80% RH conditions, which differ from the humidity conditions of the training data. Furthermore, we analyze the effect of the number of training data and the sampling rate to evaluate the robustness of prediction models. Since the raw measurement of the dual-reference sensor may include the uncertainty and bias of a specific experimental setup, we apply a simple signal difference as the compensation scheme. We denote the measurement of PDMS and PEI(b)-PDMS by \({x}_{t}^{1}\) and \({x}_{t}^{2}\), respectively, at time \(t\). We use differences between adjacent elements of time-sequential measurements of dual-reference,\({\triangle x}_{t}^{1}={x}_{t+1}^{1}-{x}_{t}^{1}\) and \({\triangle x}_{t}^{2}={x}_{t+1}^{2}-{x}_{t}^{2}\), as the input for training and testing datasets. The sequential input becomes the two-dimensional PDMS and PEI(b)-PDMS differences in triboelectric voltage output. These differential signals suppress low-frequency drift caused by environmental noise, contact variability, and instrumentation bias, while enhancing the transient features of triboelectric charge induction. To ensure consistency, we normalize the surface potential by considering the minimum and maximum bounds. We consider three different DL-based material recognition models, namely, long short-term memory (LSTM), convolution neural network (CNN), and temporal convolutional network (TCN), to predict the surface potential of three unknown materials of PVDF, Al, and TPU. We also use the conventional linear regression (LR) model as the reference to evaluate the conventional prediction performance. The network architectures of the different models are shown in detail in Supplementary Fig. 8, where FC, BatchNorm, ReLu, Conv, and DilatedConv denote the fully-connected layer, batch normalization layer, rectified linear unit, convolutional layer, and dilated causal convolutional layer, respectively. We tune the hyperparameters of different DL models using Bayesian optimization29,30. Bayesian optimization for hyperparameter tuning in DL is a method that efficiently searches for the optimal set of hyperparameters for DL models by leveraging probabilistic models and sequential decision-making.

Figures 5a, b, c present the predicted surface potentials of LR, LSTM, CNN, and TCN models with single-reference (only PDMS) and dual-reference for three testing materials, including PVDF, Al, and TPU under mixed 20% and 50% RH, 35% RH, and 80% RH conditions, respectively. The black dashed line is the true mean value of the surface potentials in each figure, while the bar presents the standard deviation of the predicted surface potentials. In Fig. 5a(i)–(iii), one of the interesting observations is that the various DL models, including LSTM, CNN, and TCN with dual-reference, show consistently smaller prediction errors than those using only single-reference input for testing materials under mixed 20% RH and 50% RH conditions. Besides, LR fails to predict the surface potential with large prediction errors for all testing materials due to its fundamental limitations in learning nonlinear data. The main reason is the highly time-varying and nonlinear nature of PDMS measurements due to the complex interaction between the triboelectric sensors and the material under different humidity conditions. Thus, it demonstrates the strength of employing a dual-reference triboelectric sensor as the input feature to the DL-based surface potential prediction model, leveraging nonlinear learning capabilities to represent complex relationships. Among the compared models, the TCN coupled with the dual-reference strategy achieves the most robust performance, yielding the lowest prediction error under mixed 20% RH and 50% RH conditions. We note that although the predicted mean of the surface potential of CNN using a single reference is closer to the true value than that of the dual-reference input for Al in Fig. 5a(ii), its standard deviation is considerably higher. The RMSE of the CNN using a single reference is still greater than that of the dual-reference for Al. We note here that the predicted value in this study represents the effective surface potential at 20% RH, derived from averaged KPFM measurements. Because triboelectric output integrates behavior over the entire contact area, the dual-reference signals capture this effective response rather than microscopic spatial variations. Accordingly, the model is designed to infer the 20% RH surface potential from triboelectric outputs measured at 20–50% RH, under the assumption of triboelectrically homogeneous surfaces. For surfaces with heterogeneous domains, the prediction would correspond to an area-weighted average. We further evaluated the proposed model for the three testing materials under additional humidity conditions of 35% RH and 80% RH, noting that all models were trained exclusively using data collected at mixed 20 and 50% RH. As shown in Fig. 5b(i)–(iii), the DL models with dual-reference inputs accurately predict the surface potential even at 35% RH, likely because the triboelectric outputs at 35% RH do not deviate substantially from those measured at mixed 20 and 50% RH. When comparing Fig. 5a, b, both the LSTM and CNN models actually perform slightly better at 35% RH than under the mixed 20% and 50% RH conditions used for training. In contrast, Fig. 5c shows that all models—including those using dual-reference inputs—struggle to predict the surface potential at 80% RH, where severe charge screening results in triboelectric signals that differ markedly from those observed at lower humidity levels. Nonetheless, the dual-reference models still correctly identify the sign of the surface potential, whereas the single-reference models fail to do so for Al and TPU in Fig. 5c(ii)–(iii).

Fig. 5: Predicted surface potentials using a deep learning-based dual-reference triboelectric sensor for three testing materials.
Fig. 5: Predicted surface potentials using a deep learning-based dual-reference triboelectric sensor for three testing materials.
Full size image

(i) PVDF, (ii) Al, and (iii) TPU using LR, LSTM, CNN, and TCN models, with single-reference (PDMS only, gray) and dual-reference (PDMS + PEI(b)-PDMS, blue) inputs under different RH conditions: a mixed 20% and 50% RH, b 35% RH, and c 80% RH. The black dashed line in each plot represents the actual surface potential measured by KPFM at 20–25% RH.

Figure 6a, b, c summarizes the RMSE values of different prediction models using LR, LSTM, CNN, and TCN for three testing materials under mixed 20% and 50% RH, 35% RH, and 80% RH conditions, respectively. The proposed TCN model, incorporating the dual-reference feature, yields more accurate prediction performance than the LR, LSTM, and CNN models for various RH conditions. The main reason is that the dilated causal convolutional layer of TCN achieves better surface potential prediction than other models, while avoiding the exploding/vanishing gradient problems and the memory retention issues of typical recurrent models30. However, all models substantially degrade the RMSE prediction error due to the significant input distortion in the heavy humidity condition over 50% RH, as shown in Fig. 6c. By comparing Fig. 6a, b, both LSTM and CNN improve prediction accuracy even under 35% RH conditions than those of mixed 20% RH and 50% RH conditions. These results are comparable with Fig. 5. Another interesting observation is that the RMSE difference between single-reference and dual-reference inputs heavily depends on the model in Fig. 6a, b. While LR has a relatively small RMSE gain using dual-reference inputs, DL-based models, including LSTM, CNN, and TCN, show strong synergy, with a significant RMSE gain. We apply a model evaluation technique called leave-one-out cross-validation (LOOCV) to assess the performance of prediction models on small datasets. In LOOCV, the set of measurements of one material is used as the test set while the remaining 9 materials form the training set for each model. Thus, in each iteration, the model is trained on all data except one material, and then the left-out data of the single material is used for testing. This process is repeated 10 times, where 10 is the number of materials, and the results are averaged to provide an overall RMSE performance of different models. Figure 6d shows the RMSE of LOOCV of different models, including LR, LSTM, CNN, and TCN, with single-reference and dual-reference under mixed 20% RH and 50% RH conditions. Various prediction models with dual-reference show similar prediction accuracy, comparable to Fig. 6a, b.

Fig. 6: RMSE evaluation of predicted surface potential using a deep learning-based dual-reference triboelectric sensor.
Fig. 6: RMSE evaluation of predicted surface potential using a deep learning-based dual-reference triboelectric sensor.
Full size image

using LR, LSTM, CNN, and TCN models, with single-reference (PDMS only, gray) and dual-reference (PDMS + PEI(b)-PDMS, blue) inputs under different RH conditions: a mixed 20% and 50% RH conditions, b 35% RH conditions, and c 80% RH conditions. d RMSE of LOOCV of predicted surface potential.

One of the fundamental challenges in DL–based regression models is their strong dependence on the size of the training dataset, as the amount of available data significantly affects prediction accuracy. When the training sample size is insufficient, the model easily overfits and exhibits degraded performance. To examine this effect, we evaluate the performance of different surface-potential prediction models under limited training data. Specifically, we vary the training data ratio \(r=0.2,\,\ldots ,\,1\) relative to the total number of available training samples. Figure 7a shows the RMSE values of LR, LSTM, CNN, and TCN with single-reference (solid line) and dual-reference (dotted line) inputs as a function of different ratios of training data. Overall, all models improve the surface potential prediction accuracy as the number of training samples increases. Besides, different prediction models with dual-reference input consistently perform better than those with single-reference input, even for a wide range of training samples. Adding more training samples considerably improves the RMSE values of all prediction models under the strictly limited training samples \(r\le 0.4\), while its gain is limited for \(r > 0.4\). Although the effect of training samples, \(r\le 0.4\), is more critical for DL models with a dual-reference sensor, the training samples \(r > 0.4\) provide reasonable prediction accuracy. When the dataset is sufficiently large, the performance gap between single-reference and dual-reference inputs becomes nearly constant. Thus, the primary performance bottleneck is the model architecture and input signal type rather than the number of training samples, once a reasonable amount of data is guaranteed.

Fig. 7: Robustness evaluation of a deep learning-based dual-reference triboelectric sensor for surface potential prediction.
Fig. 7: Robustness evaluation of a deep learning-based dual-reference triboelectric sensor for surface potential prediction.
Full size image

RMSE of predicted surface potential for each model using LR, LSTM, CNN, and TCN models under mixed 20% RH and 50% RH conditions, with single-reference (PDMS only, solid line) and dual-reference (PDMS + PEI(b)-PDMS, dotted line) inputs, a with different ratios of the training samples, \(r=0.2,\,\ldots ,\,1\) b with different sampling rates, \({f}_{s}=100-500\,{\mbox{Hz}}\).

Since the sampling needs to capture the essential property of analog signals, the sampling rate of model inputs affects the prediction accuracy of different models. Figure 7b presents the RMSE values of different models with single-reference (solid line) and dual-reference (dotted line) inputs over various sampling rates \({f}_{s}=100-500{\mbox{Hz}}\). DL-based models with dual-reference input show considerably lower RMSE values than those with single-reference input for a wide range of sampling rates. Thus, the single-reference input is not enough to predict the surface potential even with a high sampling rate for different prediction models. The LR model fails to predict the surface even with a high sampling rate of dual-reference inputs, due to its limitations in learning nonlinear data. The trends of the RMSE values with dual-reference depend on both prediction models and sampling rates. Increasing the sampling rate certainly improves the RMSE values of both LSTM and TCN with dual-reference inputs for \({f}_{s}\le 200{\mbox{Hz}}\), while its gain becomes minor even for the high sampling rate, \({f}_{s} > 200{\mbox{Hz}}\). Nyquist frequency analysis shows that the minimum sampling rate of dual-reference inputs is between 10 and 80 Hz under mixed 20% RH and 50% RH conditions. The RMSE values of the CNN with dual-reference input decrease gradually as the sampling rate increases due to the exceptional ability of the CNN architecture to hierarchically learn the features from noisy sampled data. Overall, the effect of sampling rate is similar to those with the training samples in Fig. 7. Thus, the prediction model with input types is a critical factor when the training sample and sample rate are reasonably sufficient. Figure 7a, b shows the robustness of TCN for a wide range of training data and sampling rates.

Conclusion

This study presents a data-driven framework for estimating the surface potential of materials from triboelectric output signals. Using a dual-reference sensor composed of pristine PDMS and PEI(b)-modified PDMS, we expand the measurable range of surface potentials and build DL models that capture the nonlinear relationship between triboelectric signal patterns and surface potential. The proposed method does not aim to predict the instantaneous fluctuating potential under uncontrolled conditions. Instead, it estimates a material-specific surface potential reference, measured under standardized humidity, by learning from triboelectric outputs across multiple conditions. This provides a practical route for reliable surface potential inference, even when full environmental isolation is not feasible.

Methods

Fabrication of PEI(b) functionalized PDMS reference layer

The Polydimethylsiloxane (PDMS, Sylgard 184) samples were prepared by mixing the precursor and curing agent in a 10:1 mass ratio, ensuring through degassing to eliminate bubbles. The mixture was then poured onto a silicon substrate pre-coated with functionalized silane, facilitating easy detachment of the thin film after spin coating. The PDMS was spin-coated at 1000 rpm for 30 s, subsequently cured at 80 °C for 3 h. The cured PDMS samples were cut into dimensions of 1.2 × 0.6 cm². The samples were then treated with O2 plasma (using CIONE4, Femto Science Inc.) to introduce hydroxyl groups onto the surface. For surface functionalization to induce positive triboelectric behavior, a 0.1% (w/v) solution of branched Polyethylenimine (PEI(b), Sigma Aldrich) was prepared in deionized water. The plasma-treated PDMS films were immersed in the PEI(b) solution for durations ranging from 1 to 10 min, followed by N2 blow-drying to complete the functionalization process (Fig. 1a(i)).

Fabrication of substrate

The PDMS substrate was prepared by spin-coating at 500 rpm for 30 s and cured at 80 °C for 3 h, followed by cutting into dimensions of 2 × 1.5 cm². A shadow mask with electrode patterns was fabricated using 3D printing to define the deposition areas. Subsequently, an O2 plasma treatment (P = 100 W, 50 sccm, 2 min) was applied to activate the surface. Metal electrodes were then deposited via RF magnetron sputtering: a 10 nm layer of Cu layer was first deposited to promote adhesion, followed by a 100 nm Ag. Thin Cu layer acts as an intermediate layer that helps anchor the Ag layer more securely (Supplementary Figs. 2 and 3). Finally, a thin PDMS layer was spin-coated over the electrodes at 1000 rpm for 1 min and cured again at 80 °C for 3 h, as illustrated in Supplementary Fig. 1.

Characterization and measurements

The chemical states of the elements were analyzed using X-ray photoelectron spectroscopy (XPS; MultiLab 2000 system), with all peaks calibrated to C1s binding energy at 284.8 eV. Surface potentials of the films were measured via (KPFM; XE-7, Park systems) in non-contact mode. All KPFM measurements used for labeling were conducted under a controlled humidity condition of ~20% RH. A Pt-coated cantilever with a spring constant of 3 N/m and a resonance frequency of 75 kHz was used. During KPFM measurements, a 2 V AC signal at 17 kHz and a phase of −90° was applied to the sample. The scan area and scan rate were set to 5 × 5 µm2 and 0.3 Hz, respectively. Contact angle measurements were measured using a Phoenix 300 Touch constant angle goniometer. For triboelectric signal acquisition, a four-channel oscilloscope (Tektronix, MOS64B) was used, with channels 1 and 2 connected to the individual electrodes of the triboelectric layer. A programmable punching tester equipped with a closed chamber was employed to apply periodic a fixed pressure and assess device performance. A humidity controller and sensor were employed to maintain RH within the chamber.

Database and model implementation

We conducted extensive experiments and built a large database using triboelectric sensors under two humidity conditions (20% RH and 50% RH) for ten materials: PTFE, PVDF, Kapton, PET, PMMA, Paper, Al, Glass, TPU, and Nylon 11. This rich set of experimental data across different materials and humidity levels provides a valuable dataset for triboelectric signal-based surface potential prediction. For each material under both humidity conditions, 10,000 time-series triboelectric voltage signals were recorded, forming the foundation of our database. Among the ten materials, seven (PTFE, Kapton, PET, PMMA, Paper, Glass, and Nylon 11) were used for model training and validation, while the remaining three (PVDF, Al, and TPU) were reserved for testing only. The dataset for the training material was split into a training and a testing set at a ratio of 80:20, resulting in 8000 training samples and 2000 testing samples per humidity condition. We also use the same 2000 testing samples for the remaining three testing materials. Each data sample consists of two-channel time-series voltage signals measured from PDMS and PEI(b)-PDMS sensing layers, with a shape of 120 × 2, sampled at 500 Hz. For model training, the surface potential labels were normalized using the minimum and maximum surface potentials observed in the KPFM measurement, set to 410 mV and 400 mV, respectively. To assess the performance of various DL architectures for surface potential prediction, we implemented LR, LSTM, CNN, and TCN models using the MATLAB DL Toolbox. Hyperparameters for each model were tuned using Bayesian optimization, which minimizes the cross-validation loss within predefined parameter bounds. The optimized hyperparameters include the dropout probability, the initial learning rate, and the gradient decay factor of the Adam optimizer. All models were trained and evaluated on a workstation equipped with an Intel Xeon Platinum 8270 CPU and an NVIDIA RTX A6000 GPU. The training time was approximately 25 min for the CNN model and around 40 min for both the LSTM and TCN models.