Fig. 5: Gated recurrent unit (GRU) model assisted triboelectrical and mechanical properties for higher accuracy liquid identification.

A Illustration of the double-stacked structure SL-TS, including the device for (i) different liquids and for (ii) DI water. B Schematics of the working mechanism of the double-stacked structure SL-TS under compression and release. C Two devices’ voltage signals of DI water, Na+, Cu2+, Cd2+, Pb2+, PEG solution, tap water, sparking water, white vinegar, and liquor for the compression displacement of 650, 1000, 1350, 1700, and 2050 μm. D The comparison accuracy of a single signal of device (i), device (ii), and dual-feature input. E Confusion matrix of ten liquids by integrating features from two devices. Source data are provided as a Source Data file.