## Abstract

Vibrations carry a wealth of useful physical information in various fields. Identifying the multi-source vibration information generally requires a large number of sensors and complex hardware. Compressive sensing has been shown to be able to bypass the traditional sensing requirements by encoding spatial physical fields, but how to encode vibration information remains unexplored. Here we propose a randomized resonant metamaterial with randomly coupled local resonators for single-sensor compressed identification of elastic vibrations. The disordered effective masses of local resonators lead to highly uncorrelated vibration transmissions, and the spatial vibration information can thus be physically encoded. We demonstrate that the spatial vibration information can be reconstructed via a compressive sensing framework, and this metamaterial can be reconfigured while maintaining desirable performance. This randomized resonant metamaterial presents a new perspective for single-sensor vibration sensing via vibration transmission encoding, and potentially offers an approach to simpler sensing devices for many other physical information.

## Introduction

Vibrations carry a wealth of physical information in the natural world, which is not only important for perceiving the surrounding environments^{1}, but also useful in various fields, such as health care monitoring^{2,3}, earthquake detection^{4}, smart devices^{5}, and Internet of Things^{6}. Before being picked up by sensors, vibrations are filtered and mixed during propagation. Identifying the information carried by vibrations has great significance^{7,8}. In most complex cases, directly measuring vibrations from multiple sources is impossible. The inverse methods are the main approaches to vibration identification by measuring the related quantities^{9}.

One of the inverse methods is based on the filtering property of unintentionally designed vibration transfer paths to quantify which sources and paths contribute the most to the vibration issues^{10}. Other methods, such as blind source separation and array signal processing techniques, can reconstruct vibration information from mixed signals when assuming some source characteristics (e.g., statistical independence and narrowband)^{11,12}. In these methods, the accuracy of vibration identification relies on the number and placements of sensors, which requires complex data acquisition systems and control circuits, and results in high power consumption.

Compressive sensing has been demonstrated to be an effective approach to circumvent the traditional sensing requirements^{13}. One of the most impressive advances in compressive sensing is the design of the single-pixel camera^{14}, which has inspired many studies in both the electromagnetic and acoustic fields^{15,16,17,18,19,20}. In these studies, compressive sensing is combined with spatially encoded structures such as random scattering masks and metamaterials. Metamaterials are a broad family of artificially structured materials with unusual effective properties and functionalities^{21,22,23,24,25}. Flexible manipulations of electromagnetic, acoustic, and elastic waves can be achieved, such as cloaking^{26,27,28}, beaming^{29,30}, diffusing^{31}, illusion^{32}, and hologram^{33}. Fascinating applications, such as high-speed analog computing^{34,35}, ultrasensitive detection^{36,37,38}, and efficient waveguiding^{39} have been demonstrated. In the field of acoustics, a properly designed metamaterial achieved encoding of acoustic waves in the spatial and frequency domains, which can be considered as a physical implementation of the measurement matrix in compressive sensing^{17,20}. Unlike advances in the field of acoustics, spatial vibration encoding and identification with metamaterials remains unexplored. The core issue is how to design an eligible metamaterial with uncorrelated transmissions to encode spatial vibration information.

In this work, we propose a randomized resonant metamaterial with randomly coupled local resonators for single-sensor identification of elastic vibrations. This metamaterial is designed by developing the theory of randomly coupled resonator dynamics. The metamaterial is proved to be capable of producing highly uncorrelated transmissions for different spatial vibrations due to the disordered coupling of random effective masses. Based on encoding spatial vibration information by uncorrelated transmissions, a compressive sensing framework can be used to experimentally identify various vibration events with only a single sensor. We further demonstrate that the designed metamaterial can be used as a new type of human-machine interface. Our study not only is applicable to areas such as smart devices and Internet of Things, but also provides exciting perspectives for designing simpler vibration sensing devices and other physical sensing systems.

## Results

### Randomly coupled resonator system for vibration encoding

To achieve the highly uncorrelated transmissions for spatial vibration information encoding, we propose a concept of randomly coupled resonator dynamics and develop the corresponding system. The proposed system consists of multiple different coupling networks. Each coupling network is composed of *N* local resonators connected by springs *k*_{0} and dampers *c*_{0} (Fig. 1a). *k*_{n} and *c*_{n} are the stiffness and the damping coefficients of the *n*th resonator, respectively. *x*_{n} and *y*_{n} are displacements of matrix *M* and mass *m*. We derive the randomly coupled resonator dynamics (see Methods for details). In the dynamics, the local resonator is simplified to be an effective mass as below

where \(k_{n}^{\mathrm{d}}=k_{n}+i {\omega} c_{n},k_{n}=m{\omega}_{n}^{2}\) and *ω*_{n} is the resonant frequency of the *n*th local resonator^{40}. The effective mass is frequency-dependent and can be negative near the resonant frequency due to the anti-resonance effect, which corresponds to the attenuation of elastic waves (Supplementary Fig. 1).

In the coupling network, the effective masses of all local resonators can be the same or different. For convenience, we refer to the coupling network with the same resonators as an ordinary coupling network (OCN) and that with random resonators as a randomized coupling network (RCN). By using the finite element method (FEM) and the analytical method, the transmissions of an OCN (with a local resonance frequency of 420 Hz) and a RCN can be obtained (Fig. 1b) (see Methods for details of numerical simulation and analytical derivation). The analytical results agree well with the numerical results. For the OCN, the transmission has a wide attenuation region (gray shaded region in Fig. 1b) due to the presence of the local resonance band gap^{41}. If the OCN is used for sensing, the vibration information in the band gap will be lost, which is disadvantageous for vibration encoding and identification. In contrast, the RCN can randomly encode vibration information in the frequency domain, because the randomized effective masses lead to random distributions of the amplification and attenuation bands. This randomized encoding property is useful for constructing a desirable measurement matrix for the compressive sensing.

Figure 1c shows an entire randomly coupled resonator system by connecting six RCNs and a center module (without local resonators) for spatial vibration encoding. In each RCN, the spatial distribution is disordered for the effective masses of resonators. Vibrations generated from multiple sources propagate from the boundaries to the center module. The transmission of the coupling system can be obtained by measuring the vibration signals of the center mass *M*_{0}. Figure 1d shows the transmissions of the coupling system when excitations are applied at two different locations (see Supplementary Figure 4a for transmissions corresponding to the other locations). It can be seen that substantial differences exist between the two transmissions. To evaluate the uncorrelation of the transmissions, we calculate the correlation coefficients and the correlation matrix **C**_{μ} (see Supplementary Note 1). The absolute values of elements in **C**_{μ} are visualized as shown in Supplementary Fig. 4b. The histogram of the absolute cross-correlation coefficients show that they narrowly distribute around zero (Supplementary Fig. 4c). We choose the average of the absolute cross-correlation coefficients *μ*_{Ave} as the metric of the uncorrelation. Here, the *μ*_{Ave} is approximately equal to 0.15, indicating that the transmissions are desirably uncorrelated.

To explain the relationship between the uncorrelation and the disordered effective masses, we analyze the vibration modes of the entire coupling system. Figure 1e shows the vibration modes obtained by, respectively, applying excitations to six locations at 600 Hz. It can be seen that the displacement fields are obviously different, which reflects the complexity of the elastic vibration propagation in the coupling system. From the randomly coupled resonator dynamics, we can find that this complex vibration propagation is determined by the effective mass matrix and the coupling matrix of the coupling system. These two matrices reflect the disordered coupling relationship of random effective masses. The disordered coupling of the effective masses leads to the high uncorrelation of vibration transmissions, which is the physical basis for effective spatial vibration encoding.

We also investigate the effects of the model parameters on the vibration transmission property of the randomly coupled resonator system (see Supplementary Note 2). The relationship between the *μ*_{Ave} and the parameters, including *c*_{n}, *c*_{0}, *k*_{0}, and the number of the local resonators, can be found in Supplementary Figs. 5 and 6. The results show that the stiffness of the matrix *k*_{0}, the damping of the resonators *c*_{n}, and the number of the resonators have a great influence on the uncorrelation of the vibration transmission, which provides a guidance for the optimization model design.

### Design of the randomized resonant metamaterial

The proposed randomly coupled resonator system with disordered effective masses provides the physical basis for designing an actual metamaterial system, which is feasible for uncorrelated vibration encoding. Here, we choose the spiral-based resonators to realize the metamaterial because their physical properties can be easily tuned by changing the structural parameters^{30,42,43,44}. The designed metamaterial consists of six different supercells surrounding a hexagon plate (Fig. 2a). Each supercell is carefully designed by randomly coupled resonators so that the transmissions of the metamaterial system are sensitive to the spatial locations. A single acceleration sensor is attached to the center plate to pick up the mixed modulated vibration signals generated from multiple sources. In this way, the sensing system can be expressed as **y** = **Mx**, where **y** is the vector form of the measured data from the single sensor (i.e., observation vector), **x** is the object vector containing the information of sources, and **M** is the measurement matrix determined by the encoding property of the metamaterial and the pre-knowledge of vibration excitations.

The supercell of the metamaterial system is composed of 19 unit cells with random geometric parameters on spiral beams (Fig. 2b). Each unit cell includes two Archimedean spiral beams and a center mass assembly consisting of a bolt and a nut. The parametric equation that determines the spiral beams is given by *x*(*s*) = (*α* + *βs* + *w*) cos(*s*), *y*(*s*) = (*α* + *βs* + *w*) sin(*s*), where *α* = 1.2 mm, *β* = 0.68 mm rad^{−1}, *w* = 1.4 mm, *s* ∈ [*π, θ*], and *θ* is a random variable from 2.6*π* to 4.6*π*. The lattice constant *A*_{0} and the height *h* of the unit cell are 25 mm and 4 mm, respectively. The spiral beams and matrix of the unit cell are made of poly-lactic acid (PLA) with a Young’s modulus *E*_{PLA} = 3.8 GPa, shear modulus *G*_{PLA} = 1.3 GPa, and mass density *ρ*_{PLA} = 1250 kg m^{−3}. The center mass of the unit cell is 2.52 g. Figure 2c shows the dispersion curves calculated along the Γ-M direction by applying Bloch boundary conditions to the unit cell with *θ* = 2.952*π*. We also calculate the frequency-dependent effective mass density^{45}. The out-of-plane band gap between 304.0 Hz and 493.7 Hz is consistent with the frequency band of the negative effective mass density. The out-of-plane local resonance modes at the edges of the band gap, denoted as A1 and A2, are responsible for forming the band gap. The starting frequency of the band gap can be tuned by varying the angle *θ* of the spiral beams, as shown in Fig. 2d. Therefore, the geometric parameter of the unit cell can be derived from the fitting function when the local resonance frequency is given. Because the unit cells are completely different from each other in the supercell, a randomized modulation of vibrations can be achieved over a wide frequency range. Figure 2e shows the distribution of local resonance frequencies of the entire metamaterial system, where a color block corresponds to a unit cell (see Supplementary Table 3 for the parameters of unit cells). This disordered design ensures that the metamaterial system has highly uncorrelated transmissions when vibrations are excited at different locations. The highly uncorrelated transmissions can encode the information of multi-source vibrations to construct the measurement matrix **M**. Once **M** and **y** are determined, the object vector **x** can be reconstructed by solving the inverse problem using compressive sensing theory to realize vibration identification.

To investigate the encoding performance of the metamaterial system, we conduct experiments on a sample of the metamaterial as shown in Fig. 3a (see Methods). Six speakers generating vibration signals are connected to the metamaterial system at different locations. Spatial transmissions can be obtained by using the experimental modal analysis method (Fig. 3b). The correlation of the transmissions (Fig. 3c) is calculated by using the same method in Supplementary Note 1, and the average cross-correlation coefficient *μ*_{Ave} is achieved as 0.15. The results demonstrate that the transmission property of the metamaterial system has desirable uncorrelation, which is beneficial for constructing an ideal measurement matrix satisfying compressive sensing theory. Figure 3d specifically presents the complex vibration velocity field distributions at 695.3 Hz, which are experimentally measured by applying excitations to different locations. The results visually show the high complexity of the elastic vibration propagation in the metamaterial, which confirms the effective spatial vibration encoding ability of the designed metamaterial.

### Single-sensor vibration identification

To verify the performance of the metamaterial system for vibration identification, we experimentally conduct the identification tasks for multi-source vibration information. Twenty different testing signals with normalized energy are collected in a signal set (see Methods for the construction of the testing signals). Because the identification needs a priori knowledge of the measurement matrix, a calibration process is experimentally performed in advance to construct the measurement matrix **M** by calculating the spectra of the measured signals (see Methods). After that, the testing signals are simultaneously emitted from two or three randomly selected sources out of six possible locations. This testing process is performed 40 times. The signals played each time are randomly selected from the signal set. The data measured by the single acceleration sensor form the observation vector **y**. A preprocessing is conducted to compress the dimensionality of the measurement matrix while maintaining the reconstruction accuracy and further improving the robustness against noises by using principal component analysis (see Methods). Then, the object vector **x**, which contains the information of vibration source locations and signal indices, can be reconstructed by using the two-step iterative shrinkage/thresholding (TWIST) algorithm^{46}. Specifically, we take an example to demonstrate the entire identification process in detail in Supplementary Note 3 and Supplementary Fig. 8.

Figure 4a shows a reconstruction result with three activated sources, where the blocks in the darkest color represent the most likely locations and signal indices. We denote this configuration of the metamaterial by Config. 1. The reconstruction results agree well with the truth (see Supplementary Fig. 9 for more results). To succinctly characterize the total reconstruction results of the 40 experiments, the reconstructed **x** is divided into six segments. The maximum elements in each segment are chosen and plotted together. The locations of the vibration sources can thus be clearly reflected if they are correctly identified (Supplementary Fig. 10). Here, we define it as a correct identification when the highest reconstructed strength of the activated source is above 0.5 (whereas it is below 0.25 for an unactuated source) and matches the actual locations and signal indices. For this task, the recognition ratio is 96.7%. The results demonstrate that the metamaterial sensing system can accurately identify multi-source vibration information from the single-sensor measurement, which is of great significance for vibration sensing.

In addition to the Config. 1 in Fig. 4a, the metamaterial system can be reconfigured into other configurations according to the practical needs. A windmill-shaped metamaterial system (denoted by Config. 2) is assembled as shown in Fig. 4b. Vibrations are excited at different positions of the windmill blades. A similar recognition task is performed, and the reconstruction result is shown in Fig. 4b. The total recognition ratio of the 40 experiments is 97.9% (Supplementary Fig. 11). Figure 4c shows the configuration (Config. 3) and the reconstruction result for the case where the metamaterial is embedded in a large acrylic plate. Unlike the above configurations, excitations are not directly applied to the metamaterial. The metamaterial system still has a desirable performance, with a recognition ratio of 97.1% (Supplementary Fig. 12a). Furthermore, we investigate the noise robustness of this metamaterial sensing system. Testing signals are excited at two locations, whereas Gaussian noises (SNR = 0 dB) are excited at another location (Fig. 4d). The reconstructed result shows that the vibration information can still be correctly identified under noise interferences. The recognition ratio of the entire recognition task is 95.0% (Supplementary Fig. 12b). The above results demonstrate that the reconfigurable property of the metamaterial extends the application ranges of the metamaterial system (e.g., in quadrotor drones and airplane wings) while ensuring the accuracy of vibration identification.

The proposed metamaterial system can also be used to identify impacts as shown in Fig. 4e. Different from the testing signals in the signal set, impacts are sparse in both time and spatial domains. The identification of impacts relies only on the intrinsic property of the metamaterial system. This ensures that various impact events can be identified once the impulse responses of the metamaterial system are calibrated (see Supplementary Note 4 for construction of the measurement matrix for impact identification). When impact events occur, the TWIST algorithm can be used to reconstruct the impact signals from the measured signals. Figure 4f shows the reconstruction results of an impact event with two consecutive impulses applied to Location 1. The occurrence location and time of the reconstructed impact are in good agreement with the actual ones. Figure 4g shows the successful identification of another impact event, with four impulses applied to Location 5. The results above verify the feasibility of the proposed metamaterial system for impact identification.

To demonstrate the broad application prospects of our approach, we use the proposed metamaterial system to track the trajectory of multiple vibration events. Here, eight probes (denoted by “A” to “H”) are fixed on a plate where the metamaterial is embedded as shown in Fig. 5a. We tap the probes with the finger in sequence along the illustrated trajectory “A-E-F-B-H-D-C-G-A”, and the vibration signals are measured as shown in Fig. 5a by the single sensor. We can clearly see the tracked trajectory according to the identification of vibration events (see the details in Supplementary Note 5). Figure 5b shows the reconstructed results of each vibration event as well as the trajectory pattern, where the occurrence locations and time of events agree well with the truth (see Supplementary Fig. 13 for an example). This trajectory tracking process is dynamically visualized in Supplementary Movie 1. We also study the tracking process of the trajectories “SJTU” (i.e., the abbreviation of Shanghai Jiao Tong University). The tracked trajectories are well exhibited in Fig. 5c (see Supplementary Fig. 14 for the details). Figure 5d shows the successfully tracked trajectory “Vase” with 12 probes. The experimental details and reconstruction results are presented in Supplementary Fig. 15 and Supplementary Movie 2. The results above demonstrate the time-dependent space coding ability of the proposed metamaterial system, which can create a new type of human-machine interface for instruction, communication, and encryption without complex hardware and high power consumption. Moreover, it also has potential application prospects in fields such as robot tactile sensing and collision tracking.

## Discussion

Our proposed design provides an effective strategy for the spatial encoding and single-sensor identification of elastic vibrations, which can not only reduce the complexity of traditional sensing approaches, but also flexibly meet the practical needs. The proposed randomly coupled resonator system with disordered effective masses provides the theoretical basis for designing the randomized resonant metamaterial and is easy to be extended. The theoretical concept is a dynamics method that incorporates physical mechanism. The physical mechanism of spatial vibration encoding is that the disordered coupling of effective masses leads to uncorrelated vibration transmissions. In addition, the vibration transmission property of the metamaterial is the synergy of the resonance and anti-resonance of the local resonators. Vibration signals can thus be enhanced to some extent in certain frequency bands, which is superior to the band-stop filtering mechanism^{17} and benefit the vibration identification. The designed metamaterial system achieves the identification of multiple vibration events with high recognition ratios, and has proved to be robust to noise interference. Furthermore, we have demonstrated that the designed metamaterial system can be used for trajectory tracking, which has potential application prospects in various fields.

Although the proposed metamaterial system is a prototype, it provides an attractive avenue for simpler vibration sensing, and it can be further improved in the following aspects. The metamaterial can be assembled into more configurations to identify potential spatial vibrations according to practical needs, e.g., a 3D structure configuration^{47} to identify omnidirectional elastic vibrations. The operational frequency ranges can be adjusted by changing the structural parameters of unit cells. The size of the system can be further reduced with the help of advanced manufacturing techniques and microelectronics, so that it can be flexibly integrated into numerous smart devices. In addition, the field theory can be introduced to improve the analytical model for further optimization design and performance prediction of the device^{28,48}.

However, there are also limitations for the proposed approach. First, although the proposed metamaterial system has achieved an effective spatial vibration encoding, the randomized design strategy is not the optimal one that can maximize the uncorrelation while minimizing the number of unit cells. This limitation can be overcome by using topological optimization^{34,49} or machine learning methods^{50} to achieve the on-demand design of the disordered structures in the further work. Moreover, the proposed approach needs the pre-experimental calibrations because the actual sample in experiments might not match the designed one due to the unavoidable manufacturing tolerance. The vibration identification is partly dependent on some pre-knowledge of vibration excitations, which is another reason for pre-experimental calibrations. This issue is hoped to be solved by utilizing artificial intelligence algorithms based on the computational and experimental data^{51,52}.

Overall, we have demonstrated a randomized resonant metamaterial with disordered effective masses for single-sensor vibration identification. This work opens up avenues of vibration transmission encoding with metamaterials. We envision that the proposed metamaterial can integrate with numerous intelligent devices, platforms, and structures (e.g., wearable devices, quadrotor drones, and airplane wings) so that it can be used in broad fields such as human-machine interaction, health care monitoring, industrial field detection, information processing and communication. Moreover, we believe that the proposed metamaterial design strategy can provide the basis for designing various types of simper sensing devices for vibration and many other physical information.

## Methods

### Numerical simulations

Numerical simulations are conducted to analyze the randomly coupled resonator system by using the lumped mechanical system interface in the multibody dynamics module of COMSOL Multiphysics Version 5.4. Without loss of generality, the parameters of the randomly coupled resonator system are set as *M* = 2×10^{−3} kg, *m* = 3×10^{−3} kg, *k*_{0} = 1.9×10^{5} N m^{−1}, *c*_{0} = 0.01 N s m^{−1}, *c*_{n} = 0.25 N s m^{−1}, and *N* = 19. The local resonance frequency *f*_{n} that determines *k*_{n} can be found in Supplementary Table 1. The node configuration of the resonator is provided in Supplementary Fig. 2. Here, nodes “1”, “2”, and “3” are the internal nodes connecting the masses, springs, and dampers of the resonator. Node “a” is the input node, and nodes “b1”, “b2”, and “b3” are the output nodes of the subsystem. The coupling network is constructed by connecting multiple subsystems as shown in Supplementary Fig. 3a. The node connection is provided in Supplementary Table 2. Then, a unit excitation is applied to the input terminal of the coupling network. The transmission can be obtained by picking up the signal from the output terminal. The node connection of the entire coupling system is similar to that of the coupling network, and the boundary conditions are shown in Supplementary Fig. 3b. By changing the input nodes, vibration transmissions and modes of the randomly coupled resonator system can be obtained.

### Derivation of the randomly coupled resonator dynamics

The dynamical equation of the *n*th resonator can be expressed as

where

*ϕ*_{n} is equal to the number of the resonators coupling with the *n*th resonator. Equation (2) can be derived as

The expression of the effective mass (Eq. (1)) can thus be obtained. From Eq. (4), we can express the dynamical equation of the *k*th coupling network as a matrix-vector form of

where \({\mathbf{M}}_{k}^{\mathrm{eff}}={\mathrm{diag}}({{m}}_{1}^{\mathrm{eff}},{{m}}_{2}^{\mathrm{eff}},…,{{m}}_{N}^{\mathrm{eff}})\) is a diagonal matrix composed of effective masses given by Eq. (1), and *N* is the number of the resonators. The displacement vector of the resonators has the form of **X**_{k} = [*x*_{1}, *x*_{2}, …, *x*_{N}]_{k}^{T} = **A**_{k}*e*^{iωt}, where **A**_{k} is the amplitude vector. The stiffness-damping matrix \({\mathbf{K}}_{k}^{\mathrm{c}}\) can be expressed as

where **Ψ**_{k} with elements *ψ*_{ni} is a *N* × *N* coupling matrix reflecting the coupling relationship of the resonators (see Source Data file for the details). The time-harmonic excitation applied to the resonators is **F**_{k} = [*F*_{1}, *F*_{2}, …, *F*_{N}]_{k}^{T} = **F**_{k0}*e*^{iωt}. Thus, the displacement amplitude vector **A**_{k} can be calculated by

Therefore, the transmission of the coupling network can be expressed as

where |*x*_{out} | and |*x*_{in} | are the elements in **A**_{k} that correspond to the output and the input of the coupling network.

The transmission of the entire coupling system can also be derived in a similar way. The dynamical equation of the coupling system is given by

Here, \({\mathbf{M}}_{E}^{\mathrm{eff}}={\mathrm{diag}}({\mathbf{M}}_{1}^{\mathrm{eff}},{\mathbf{M}}_{2}^{\mathrm{eff}},…,{\mathbf{M}}_{6}^{\mathrm{eff}},{\mathbf{M}}_{0})\), where **M**_{0} = diag(*M*, …, *M*) is the mass matrix of the center module of the system. **X**_{E} = **A**_{E}*e*^{iωt} and **F**_{E} = **F**_{E0}*e*^{iωt} are the displacement vector and the excitation vector of the entire system. \({\mathbf{K}}_{\mathrm{E}}^{\mathrm{c}}\) = (*k*_{0} + *iωc*_{0})**Ψ**_{E}, where **Ψ**_{E} is the coupling matrix (see Source Data file for the details). Equation (9) can thus be written as

In the following analysis, let **Φ**_{E} = \({\mathbf{K}}_{\mathrm{E}}^{\mathrm{c}}-{\omega}^{2}{\mathbf{M}}_{\mathrm{E}}^{\mathrm{eff}}\). Due to the fixed boundary conditions (some elements in **A**_{E} are zero), the corresponding rows and columns in **Φ**_{E}, **A**_{E}, and **F**_{E0} must be deleted. The modified matrix and vectors are denoted by \({\hat{\mathbf{\Phi }}}_{\mathop{\rm{E}}\nolimits}\),\({\hat{\mathbf{A}}}_{\mathop{\rm{E}}\nolimits}\), and \({\hat{\mathbf{F}}}_{{\mathop{\rm{E}}\nolimits} 0}\). Thus, the displacement amplitude vector of the entire system can be given by

The transmission of the entire coupling system can be obtained by calculating the ratio of the displacement amplitudes for the output and the input.

The transmissions of the coupling network and the entire coupling system obtained by the above analytical method are shown in Figs. 1b and 1d of the main text, which agrees well with the numerical results.

### Experimental setup

The experimental setup to investigate the metamaterial system is shown in Fig. 3a. The main body of the metamaterial is fabricated with PLA by using fused-filament-fabrication 3D printing. The hexagon socket-head cap bolts (M4 × 8) and nuts in the metamaterial are made of 304 stainless steel. The metamaterial is fixed on the holders that are glued to the dusk caps of speakers. The speakers can be driven by a power amplifier. An impulse force hammer (Kistler, 9724 A) is used to obtain the transmissions of the metamaterial system. The vibration signals are picked up by an acceleration sensor (B&K, 4371). The measured data is acquired by a data acquisition device (NI, 9234). The transmissions of the metamaterial system are calculated as |*A*_{out}(*ω*)|/|*F*_{in}(*ω*)|, where *A*_{out}(*ω*) and *F*_{in}(*ω*) are the fast Fourier transform amplitudes of the signals from the acceleration sensor and the hammer, respectively. Then, we use a laser vibrometer (Polytec, PSV-500-3D-H) to obtain the vibration modes of the metamaterial.

For the identification tasks, we construct 20 testing signals as a signal set to verify the performance of the metamaterial system. Each signal is constructed by superposing randomized sine waves as *s*(*t*) = \({{\Sigma}_{i=1}^{\mathrm{20}}}\) *a*_{i} sin(2*πf*_{i}*t* + *φ*_{i}), where *t* ∈ [0, 1], *a*_{i} ∈ [0, 1], *f*_{i} ∈ [200, 800], and *φ*_{i} ∈ [0, 2*π*]. Energy normalization is performed by dividing the root mean square of each signal to ensure that the testing signals have the same intensity. The waveforms and spectra of the 20 testing signals are provided in Supplementary Fig. 7. A laptop is used to generate the testing signals. Then, the signals are sent to an integrated acoustic card (M-Audio, M-Track Eight) and amplified by a power amplifier to drive the speakers.

### Construction of the measurement matrix in frequency domain

The measurement matrix contains the spatial vibration encoding information of the metamaterial and the content of the testing signals. The construction of the measurement matrix includes two steps: experimental calibration and dimensionality compression.

Experimental calibration is currently an effective way to obtain the accurate transmissions due to the unavoidable manufacturing tolerance and the complex testing environments. Theoretically, the measurement matrix **M**_{p×q} can be expressed by *M*_{q}(*ω*_{p}) = *H*_{k}(*ω*_{p})**·***S*_{j}(*ω*_{p}), where *p* is the index of frequency, *k* is the index of the location, *j* is the index of the testing signal, *q* = *k* × *j* is the column number of measurement matrix, *H*_{k}(*ω*_{p}) is the transmission of the metamaterial system, and *S*_{j}(*ω*_{p}) is the spectrum of the testing signal. In our experiments, the measurement matrix is calibrated by successively playing the testing signals from different locations and calculating the spectra of the measured signals. More details can be found in Supplementary Note 3.

The current calibrated measurement matrix **M**_{p×q} contains redundant information as well as the noise. After the mixed vibration signal **y**_{p×1} (i.e., observation vector) is acquired, we respectively replicates the matrices **y**_{p×1} and **M**_{p×q} by row for *r* times (*r* > 1 and *r* ∈ \({\Bbb Z}\)) to increase the weight of the effective information before using dimensionality compression algorithms. The principal component analysis is used to compress the dimensionality of the measurement matrix. First, **M**_{rp×q} and **y**_{rp×1} are assembled into matrix **A**_{rp×(q+1)}. Then, we perform zero-mean normalization on **A**_{rp×(q+1)}. Next, singular value decomposition is performed on **AA**^{T} to obtain the left singular vector matrix **U**_{rp×rp} and the singular value matrix **D**. By selecting the first *p*′ principal singular values of **D** and transforming **U**_{rp×rp} to **U**_{rp×p′}, the compressed measurement matrix can be obtained by **M**_{p′×q} = **U**_{rp×p′}^{T} **M**_{rp×q}. In this way, the principal component analysis can compress the measurement matrix to reduce the computational complexity while maintaining the reconstruction accuracy and further improving the robustness against noises.

## Data availability

The source data underlying Fig. 1b–e, 2c,d, 3b,c, 4a–d,f, g, 5a,b, Supplementary Figs. 1, 4a, b, 5a, b, 6b, 7, 8d, e, 9, 10, 11, 12a, b, 13b, 14a–d, and 15c, d are provided as a Source Data file. All other data that support the findings of this study are available from the corresponding author upon reasonable request.

## Code availability

Source code and processed data are available from the corresponding author upon reasonable request.

## References

- 1.
Prsa, M., Morandell, K., Cuenu, G. & Huber, D. Feature-selective encoding of substrate vibrations in the forelimb somatosensory cortex.

*Nature***567**, 384 (2019). - 2.
Yamamoto, Y. et al. Printed multifunctional flexible device with an integrated motion sensor for health care monitoring.

*Sci. Adv.***2**, e1601473 (2016). - 3.
Chortos, A., Liu, J. & Bao, Z. Pursuing prosthetic electronic skin.

*Nat. Mater.***15**, 937 (2016). - 4.
Zhang, J. et al. Real-time earthquake monitoring using a search engine method.

*Nat. Commun.***5**, 5664 (2014). - 5.
Lee, S. et al. An ultrathin conformable vibration-responsive electronic skin for quantitative vocal recognition.

*Nat. Commun.***10**, 2468 (2019). - 6.
Bhuiyan, M. Z. A. et al. Quality-guaranteed event-sensitive data collection and monitoring in vibration sensor networks.

*IEEE Trans. Ind. Inf.***13**, 572–583 (2017). - 7.
Fratzl, P. & Barth, F. G. Biomaterial systems for mechanosensing and actuation.

*Nature***462**, 442 (2009). - 8.
Azevedo, A. W. & Wilson, R. I. Active mechanisms of vibration encoding and frequency filtering in central mechanosensory neurons.

*Neuron***96**, 446–460. e449 (2017). - 9.
Renzi, C., Pézerat, C. & Guyader, J. L. Vibratory source identification by using the Finite Element Model of a subdomain of a flexural beam.

*J. Sound Vib.***332**, 545–562 (2013). - 10.
de Klerk, D. & Ossipov, A. Operational transfer path analysis: theory, guidelines and tire noise application.

*Mech. Syst. Sig. Process***24**, 1950–1962 (2010). - 11.
Lu, J., Cheng, W., He, D. & Zi, Y. A novel underdetermined blind source separation method with noise and unknown source number.

*J. Sound Vib.***457**, 67–91 (2019). - 12.
Yuan, S., Bao, Q., Qiu, L. & Zhong, Y. A single frequency component-based re-estimated MUSIC algorithm for impact localization on complex composite structures.

*Smart Mater. Struct.***24**, 105021 (2015). - 13.
Candès, E. J. & Wakin, M. B. An introduction to compressive sampling [a sensing/sampling paradigm that goes against the common knowledge in data acquisition.

*IEEE Signal Process. Mag.***25**, 21–30 (2008). - 14.
Duarte, M. F. et al. Single-pixel imaging via compressive sampling.

*IEEE Signal Process. Mag.***25**, 83–91 (2008). - 15.
Hunt, J. et al. Metamaterial apertures for computational imaging.

*Science***339**, 310–313 (2013). - 16.
Phillips, D. B. et al. Adaptive foveated single-pixel imaging with dynamic supersampling.

*Sci. Adv.***3**, e1601782 (2017). - 17.
Xie, Y. et al. Single-sensor multispeaker listening with acoustic metamaterials.

*Proc. Natl Acad. Sci. USA***112**, 10595–10598 (2015). - 18.
Kruizinga, P. et al. Compressive 3D ultrasound imaging using a single sensor.

*Sci. Adv.***3**, e1701423 (2017). - 19.
Rogers, J. S. et al. Demonstration of acoustic source localization in air using single pixel compressive imaging.

*J. Appl. Phys.***122**, 214901 (2017). - 20.
Jiang, T., He, Q. & Peng, Z.-K. Proposal for the realization of a single-detector acoustic camera using a space-coiling anisotropic metamaterial.

*Phys. Rev. Appl***11**, 034013 (2019). - 21.
Liu, Z. et al. Locally resonant sonic materials.

*Science***289**, 1734–1736 (2000). - 22.
Ma, G. & Sheng, P. Acoustic metamaterials: from local resonances to broad horizons.

*Sci. Adv.***2**, e1501595 (2016). - 23.
Ge, H. et al. Breaking the barriers: advances in acoustic functional materials.

*Natl Sci. Rev.***5**, 159–182 (2017). - 24.
Assouar, B. et al. Acoustic metasurfaces.

*Nat. Rev. Mater*.**3**, 460–472 (2018). - 25.
Greybush, N. J., Pacheco-Peña, V., Engheta, N., Murray, C. B. & Kagan, C. R. Plasmonic optical and chiroptical response of self-assembled Au nanorod equilateral trimers.

*ACS Nano***13**, 1617–1624 (2019). - 26.
Zhang, S., Xia, C. & Fang, N. Broadband acoustic cloak for ultrasound waves.

*Phys. Rev. Lett.***106**, 024301 (2011). - 27.
Zigoneanu, L., Popa, B.-I. & Cummer, S. A. Three-dimensional broadband omnidirectional acoustic ground cloak.

*Nat. Mater.***13**, 352 (2014). - 28.
La Spada, L., Spooner, C., Haq, S. & Hao, Y. Curvilinear metasurfaces for surface wave manipulation.

*Sci. Rep.***9**, 3107 (2019). - 29.
Shen, C., Xu, J., Fang, N. X. & Jing, Y. Anisotropic complementary acoustic metamaterial for canceling out aberrating layers.

*Phys. Rev. X***4**, 041033 (2014). - 30.
Foehr, A., Bilal, O. R., Huber, S. D. & Daraio, C. Spiral-based phononic plates: from wave beaming to topological insulators.

*Phys. Rev. Lett.***120**, 205501 (2018). - 31.
Zhu, Y., Fan, X., Liang, B., Cheng, J. & Jing, Y. Ultrathin acoustic metasurface-based Schroeder diffuser.

*Phys. Rev. X***7**, 021034 (2017). - 32.
Liu, Y. et al. Source illusion devices for flexural Lamb waves using elastic metasurfaces.

*Phys. Rev. Lett.***119**, 034301 (2017). - 33.
Zhu, Y. et al. Fine manipulation of sound via lossy metamaterials with independent and arbitrary reflection amplitude and phase.

*Nat. Commun.***9**, 1632 (2018). - 34.
Estakhri, N. M., Edwards, B. & Engheta, N. Inverse-designed metastructures that solve equations.

*Science***363**, 1333–1338 (2019). - 35.
Zangeneh-Nejad, F. & Fleury, R. Topological analog signal processing.

*Nat. Commun.***10**, 2058 (2019). - 36.
Lee, I.-H., Yoo, D., Avouris, P., Low, T. & Oh, S.-H. Graphene acoustic plasmon resonator for ultrasensitive infrared spectroscopy.

*Nat. Nanotechnol.***14**, 313 (2019). - 37.
La Spada, L. & Vegni, L. Electromagnetic nanoparticles for sensing and medical diagnostic applications.

*Materials***11**, 603 (2018). - 38.
Zhang, Z. et al. Directional acoustic antennas based on Valley‐Hall topological insulators.

*Adv. Mater.***30**, 1803229 (2018). - 39.
La Spada, L. & Vegni, L. Near-zero-index wires.

*Opt. Express***25**, 23699–23708 (2017). - 40.
Huang, H., Sun, C. & Huang, G. On the negative effective mass density in acoustic metamaterials.

*Int. J. Eng. Sci.***47**, 610–617 (2009). - 41.
Zhu, R., Liu, X., Hu, G., Sun, C. & Huang, G. A chiral elastic metamaterial beam for broadband vibration suppression.

*J. Sound Vib.***333**, 2759–2773 (2014). - 42.
Bilal, O. R., Foehr, A. & Daraio, C. Bistable metamaterial for switching and cascading elastic vibrations.

*Proc. Natl Acad. Sci. USA***114**, 4603–4606 (2017). - 43.
Bilal, O. R., Foehr, A. & Daraio, C. Reprogrammable phononic metasurfaces.

*Adv. Mater.***29**, 1700628 (2017). - 44.
Jiang, T. & He, Q. Dual-directionally tunable metamaterial for low-frequency vibration isolation.

*Appl. Phys. Lett.***110**, 021907 (2017). - 45.
Chen, Y., Hu, G. & Huang, G. A hybrid elastic metamaterial with negative mass density and tunable bending stiffness.

*J. Mech. Phys. Solids***105**, 179–198 (2017). - 46.
Bioucas-Dias, J. M. & Figueiredo, M. A. A new TwIST: Two-step iterative shrinkage/thresholding algorithms for image restoration.

*IEEE Trans. Image Process***16**, 2992–3004 (2007). - 47.
Yan, Z. et al. Controlled mechanical buckling for origami‐inspired construction of 3D microstructures in advanced materials.

*Adv. Funct. Mater.***26**, 2629–2639 (2016). - 48.
McManus, T., La Spada, L. & Hao, Y. Isotropic and anisotropic surface wave cloaking techniques.

*J. Opt.***18**, 044005 (2016). - 49.
Dong, H.-W., Zhao, S.-D., Wang, Y.-S. & Zhang, C. Topology optimization of anisotropic broadband double-negative elastic metamaterials.

*J. Mech. Phys. Solids***105**, 54–80 (2017). - 50.
Ma, W., Cheng, F. & Liu, Y. Deep-learning-enabled on-demand design of chiral metamaterials.

*ACS Nano***12**, 6326–6334 (2018). - 51.
Wang, F., Wang, H., Wang, H., Li, G. & Situ, G. Learning from simulation: an end-to-end deep-learning approach for computational ghost imaging.

*Opt. Express***27**, 25560–25572 (2019). - 52.
Jha, D. et al. Enhancing materials property prediction by leveraging computational and experimental data using deep transfer learning.

*Nat. Commun.***10**, 1–12 (2019).

## Acknowledgements

This work was supported by the National Natural Science Foundation of China under Grant No. 11872244, the National Program for Support of Top-Notch Young Professionals, and the State Key Laboratory of Mechanical System and Vibration under Grant No. MSVZD201902. We would like to thank Bo Jing, Dr. Li Yan, and Ying Liu for assistance with the modal experiments. T.J. thanks Dr. Bei Fan, and Rui Yang for their help and useful discussion.

## Author information

### Affiliations

### Contributions

Q.H. conceived the idea, initiated the metamaterial model, proposed the randomly coupled resonator dynamics, co-wrote the manuscript, and supervised the entire project. T.J. designed the metamaterial model, performed the theoretical study and numerical simulation, carried out the experiments and data analysis, and co-wrote the manuscript. C.L. assisted with the theoretical study and the experiments. Z.K.P. supervised the theoretical study and co-wrote the manuscript. All authors discussed the results, commented on, and revised the manuscript.

### Corresponding author

Correspondence to Qingbo He.

## Ethics declarations

### Competing interests

The authors declare no competing interests.

## Additional information

**Peer review information** *Nature Communications* thanks the anonymous reviewer(s) for their contribution to the peer review of this work. Peer reviewer reports are available.

**Publisher’s note** Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## Supplementary information

## Source data

## Rights and permissions

**Open Access** This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/.

## About this article

### Cite this article

Jiang, T., Li, C., He, Q. *et al.* Randomized resonant metamaterials for single-sensor identification of elastic vibrations.
*Nat Commun* **11, **2353 (2020). https://doi.org/10.1038/s41467-020-15950-1

Received:

Accepted:

Published:

## Comments

By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.