Abstract
Research on two-dimensional designer optical structures, especially ultra-thin optical elements dubbed ‘metasurfaces’, focused on engineering resonances to enrich the broadband spectral information, catering to the increasing sensing and detection demands. Current designs are constrained by discrete sampling of the spectrum, limiting continuous space-to-spectrum mapping. Here we present an integrated terahertz (THz) plasmonic gradient micro-photonic approach for encoding broadband spectra to observe molecular fingerprints. This innovation utilizes smooth variations in the metasurface’s unit cells to achieve an extraordinary density of resonances, exciting unique optical modes referred to as bound states in the continuum (BICs) in a non-periodic structure. The device covers a spectral width of 0.9 THz with only 19 modes in a compact 400 × 125 μm² area. We demonstrate real-time, label-free identification of multiple analytes with enhanced vibrational fingerprints without complex scanning, offering a compact size, broad capabilities, and adjustable resolution to advance portable THz spectroscopy.
Similar content being viewed by others
Introduction
The enhanced absorption spectroscopy (EAS) has emerged as a robust technique for non-invasively detecting trace molecular characteristic absorption features with exceptional specificity and sensitivity1,2,3,4. EAS leverages the localized resonance and enhancement of electromagnetic fields provided by resonant micro/nanostructures, targeting the terahertz (THz) spectra that host molecular vibrational modes. Various collective vibrational and rotational frequencies of fundamental components of life, including nucleic acids, amino acids, lipids and carbohydrates, exhibit distinct spectral absorption features in the THz range5,6,7. The resulting enhanced light-matter interaction facilitates trace amount analyte detection8,9, with unique molecular absorption features enabling the extraction of specific chemical information and crystal structures from spectrally resolved measurements. Moreover, for general biological processes in mixed systems that involve multiple elements, distinguishing and monitoring individual components of such heterogeneous mixtures is a central goal of biosensing10,11. Therefore, the capability to achieve label-free sensing platforms that can independently track the temporal evolution of absorption fingerprints across a broad spectral bandwidth and distinguish between different biomolecular species holds great potential in unveiling the complex interactions of analytes in biological systems and beyond.
Recently, in order to accurately detect the multi-fingerprints spectrum of the analyte, plasmonic or dielectric micro/nanostructures that support a multi-band spectral response have been designed to achieve this goal11,12,13,14,15. Implementation of multi-resonant plasmonic metasurfaces has been used to probe multiple distinct wavelength ranges by exploiting self-similar geometry11,16, combined with functionalized 2D material17,18,19, incident angle of light20, or other approaches21,22,23,24. It should be emphasized that resonances of the units are highly susceptible to environmental perturbations, resulting in the overlap of the resonances and fingerprint misalignment. Then, imaging-based molecular barcoding with pixelated dielectric metasurfaces covering a larger spectrum region is exploited25. In addition, the broadband waveguide modes supported by a microrod array metasurface or spoof surface plasmon are studied to recognize biomolecules26,27. However, the above solutions face large printing areas, complex fabrication processes and the presence of cut-off frequency challenges, respectively.
Additionally, it is crucial to highlight that within the THz frequency range, THz plasmonic metasurfaces offer advantages in terms of reduced experimental errors and cost-effectiveness compared to dielectric metasurfaces, attributable to the comparatively larger dimensions of the unit structure. When combined with biochemical functionalization28,29,30, plasmonic structures further leverage their unique strengths, including strong evanescent fields and high sensitivity to molecular binding events, significantly improving detection capabilities. Through the strategic design and manipulation of plasmonic metaatoms, it becomes feasible to manipulate the interference of multiple resonances on these microstructures, thereby enabling precise control over near-field distributions31,32. These approaches present a viable strategy for facilitating more practical and highly sensitive biosensing applications, enabling the development of ultracompact, efficient, and significantly more economical sensing tools.
The concept of bound states in the continuum (BIC)33,34 has become a powerful tool for augmenting the electric field at the nanoscale, holding great potential for amplifying light-matter interactions. Although optical modes exist within the continuum spectrum of the radiative states, they are spatially segregated from the external surroundings. An ideal BIC demonstrates confinement of the optical field within the system and cannot be excited from the far field owing to the complete disruption of its coupling channel to the external environment35,36,37. However, in practice, controlled radiation loss is essential to harness the benefits of intense field amplification. By introducing a leakage channel by breaking the geometrical symmetry of the system, the BIC can be converted into a quasi-BIC (QBIC) with a finite and high Q-factor38,39,40. The conversion allows practical access to strong localized fields with large resonance Q factors. The management and modulation of radiation loss can be precisely controlled by the degree of asymmetry. This method holds vast potential for enhancing light-matter interaction. Several attempts have been made to utilize QBIC for improving biosensor performances, but most of the reported QBIC-based sensors operate only in a narrow-band or finite bandwidth, preventing the differentiation of different biomolecules of a mixture or multi-component compact devices.
Here, we leverage the inherent flexibility of THz plasmonic metasurfaces and introduce an innovative unified gradient metal metasensor toolkit, capable of facilitating in situ ultra-wideband high-sensitivity sensing and bio-specific substance identification (Fig. 1). Our innovative design is crafted by assembling arrays of metaatom while gradually tuning them along one direction in its physical space, forming a localized super-metaatom with high-density spatial resonance manipulation. The gradient variation rate of the metaatom dimensions is carefully optimized to ensure the required resonator size for a compact device footprint. By exploiting the continuous spatial variation of resonant frequency in gradient metasurfaces, we demonstrate real-time extraction of THz absorption fingerprint spectra of specific molecules in a complex scenario bioanalytical hybrid system. We perform trace detection of biomolecules, including neurotransmitters and their metabolic intermediates with multiple absorption bands in an ultra-wideband operating range, confirming the excellent capability of our method for mixture identification and component detection. We then use a machine learning approach to determine the relative concentrations of the three molecule mixtures to overcome the challenge of quantitatively differing component absorption intensities. In addition, specific gradient metasurfaces designed using this method can be generalized to a wider spectral range to match the absorption fingerprints of the target molecules. The tailored sampling density is designed to minimize the footprint of the metasensors, showing an order-of-magnitude reduction over the pixelated metasurface design25. From an application perspective, gradient plasmonic metasurface fingerprint detection devices not only help to reduce manufacturing costs, but also allow for robust in situ broadband measurements for trace samples, such as biomolecules. Through comprehensive analysis of the spectral and coupling parameter space, this method reveals a generalized broadband EAS (enhanced absorption spectroscopy) technique via metasurface engineering, significantly expanding its application potential to include on-chip spectroscopy and real-time dynamic reaction monitoring.
Schematic diagram of the gradient metasurface formed by introducing variation of the geometrical parameters along the y-axes. The super-metaatom is an extension of the metaatom concept, constituting a composite unit structure composed of metaatoms with different functionalities (e.g., variable size). The electric field of the broadband excitation source is aligned with the varying long axis (x) of the microbars. The resonance frequencies are tuned over a continuous spectral range. Resonance frequency coverage enables continuous spectral mapping. Simultaneous enhancement and detection of changes in analyte absorption spectra are achieved by arbitrarily designing gradient microbars to promote broadband enhancement. The design enables overlap with the vibrations of the characteristic absorption bands of the L-glutamic acid(L-Glu), γ-aminobutyric acid (GABA) and glutamine (Gln). The platform works stably, allowing for real-time detection of dynamic changes in characteristic fingerprints and quantitative identification with the help of machine learning in multi-analyte systems. The machine learning process extracts multi-dimensional sensing information to identify molecules and distinguish the proportions of mixtures.
Results
Gradient metasurface for multi-QBIC broadband resonances
We employ a distinctive resonant design based on microbar arrays supporting multiple QBIC resonances that facilitate the simultaneous detection of a wide range of molecular vibration fingerprints at multiple spectral points through robust near-field interactions. As shown in Fig. 2a, the THz plasmonic gradient metasurface consists of microbars (referred to as metaatoms below) with varying feature sizes, each supporting a QBIC with a high but finite Q-factor at its own resonant frequency. When excited by an inherent broadband light source with a bandwidth covering all the resonant frequencies involved, all metaatoms are simultaneously excited, as the simulation in the bottom panel of Fig. 2a (detailed parameters of the gradient metaatoms are presented in Table S1). Fig. 2b shows the geometry of one exemplary metaatom made of three gold microbars on the TPX substrate, where the microbars on the sides have the same length L, whereas the middle microbar has a length of L1. A key parameter δ = (L − L1) / 2 is defined to represent the scaling of the gradient metaatoms. Fig. 2c presents simulated transmission spectra for individual metaatom structures of the gradient metaatoms in Fig. 2a with fixed periodic boundaries (Px × Py = 125 μm × 40 μm), where each spectrum corresponds to the response of an isolated unit cell, covering a broadband spectrum ranging from 1.2 THz to 2.1 THz. This design method is highly universal and also applicable to complementary structures. Note that with judiciously designed gradient metaatoms, our approach can offer extended spectral coverage that is tailored for a wide range of user-specific applications. Additionally, we quantitatively evaluated the uniform electric field enhancement of resonances across the entire broadband range in Fig. 2d. As δ increases, the resonant frequency of the metaatom increases, while the Q-factor and the electric-field intensity of the resonances decrease (Fig. 2e). The relatively low Q-factor in this system is due to scattering and material losses caused by the inevitable rough surface and finite area of the metasurface, which limit the resonance linewidth.
a Broadband performance on TPX patterned with THz plasmonic gradient metasurfaces. Scanning electron microscopy (SEM) image (Fig. S1) of a spectral gradient with the scaling along the y-axis. The bottom panel shows that all the varying metaatom are excited simultaneously by the THz time domain pulse signal. The parameters of the gradient microrods are shown in detail in Table S1. b Schematic of the metasurface unit cell, which comprises a group of gold microbars on TPX substrate (w = 5 μm, L = 110 μm, Px = 125 μm, Py = 40 μm). L1 is the dimension of the length-varying microbar. c Each normalized simulated transmission spectrum was taken from the independent periodic metaatom spectral gradient along the y-axis, as shown in gray. The colored spectra correspond to the mono-spectral metasurfaces, each normalized to the gradient’s maximum transmission at its respective spectral position. Resonance is highlighted with a blue line. d Quantitative assessment of resonance uniformity enhancement over the entire broadband range. e Q-factor and electric field intensity of the QBIC resonance plotted against different scaling increments for gradients with δ. f Schematic illustration of continuous resonant metasurface whose unit cell is made of two subgroups of gold microbars. The lengths of all microbars are intentionally perturbed to create multi-QBICs. The right part of each schematic is the corresponding SEM image. g The corresponding transmission spectrum of the metasurfaces in (f). The insets show the mechanism of the interfering resonances for a resonating system. h Calculated maps of electric field enhancement in the metasurface unit cell for linearly polarized excitation at the resonant wavelengths of different QBIC modes (E-field along the x-axis).
Figure 2f–h compares different designs of the THz plasmonic metaatoms, whose unit cell consists of two subgroups of gold microbars. When the microbars share the same dimensions, as shown in the left panel of Fig. 2f, adjacent three microbars form a pair and collectively exhibit an electric Fano resonance with strong ED and TD excitations, resulting in a symmetry protected BIC mode that is decoupled from the exterior environment, as evident by the lack of resonance peaks in the simulated transmission spectrum (left panel in Fig. 2g)41. As the size of the alternative microbars is changed, as shown in the middle panel of Fig. 2f, such symmetry is broken, transforming the perfect BIC mode into a QBIC mode with a high but finite Q-factor shown in the middle panel of Fig. 2g and red-boxed panel in Fig. 2h. Similarly, if the sizes of the alternative microbars are further perturbed to scale gradually, additional QBIC modes with different resonance frequencies can be supported by such a THz plasmonic gradient metasurface (right panel in Fig. 2g and red-, orange-, green-boxed panels in Fig. 2h). The spacing between resonant frequencies is determined by the difference of the defects. In order to further confirm the performance of the constructed metasurface, numerical simulations utilizing the 3D finite-difference time-domain (FDTD) solution software are performed. We detail the design process of a gradient metasurface supporting broadband-enhanced THz spectroscopy in Fig. S2. The novelty of the approach outlined above stems from the fact that by judiciously designing the scaling of the microbars in adjacent metaatoms, continuous mapping of the resonant spectrum can be achieved with a single THz plasmonic gradient metasurface, offering multiplex advantages including a reasonably small footprint, dramatically enhanced light-matter interaction, full coverage of a broad bandwidth, and high design flexibility customized to comply with various biological applications.
To demonstrate our ability to accurately differentiate molecule-specific information from complex analytes, we first numerically tested, as an illustrative example, a mixture of L-Glu, GABA, and Gln using our THz plasmonic gradient metasurface. These neurotransmitters and their metabolic byproducts play a pivotal role in elucidating the transmission of neural signals, regulating neural system functionality, and understanding the onset, progression, and treatment of related neurological disorders42,43. Fig. 3a shows a schematic design of our metasurface device, where alternating microbars are assigned gradually decreasing sizes to cover the absorption bands of L-Glu, GABA, and Gln. The relative spectral efficiency advancement of the gradient metasurface is quantified by Δf/(f0·D), achieving 10.91 mm-2, where Δf represents the operational bandwidth, f0 denotes the central working frequency, and D corresponds to the physical area of the metasurface required to achieve broadband functionality. The detailed comparative analyses are outlined in Table S2 and Fig. 3b. The measured barcode spectrum of the mixture is shown in Fig. 3c. Simultaneous amplification and detection of small changes in analyte absorption spectra are achieved by carefully designing a sequence of THz microbars to promote multi-band enhancement at desired resonance positions. Here, the THz plasmonic gradient metasurface consists of 19 groups of microbars, each supporting a resonant peak ranging from 1.2 to 2.1 THz. The high number of resonant peaks, together with their finite peak width, results in a continuous spectral coverage, as shown in the measured spectra in Fig. 3d, e. We then tested the gradient metasurface design with a simulated mixture of analytes in Fig. 3f, g. Compared to the bare metasurface, spectral intensity modulations that closely match the characteristic absorption bands of L-Glu, GABA and Gln are observed in the presence of the analyte. This THz plasmonic-gradient-metasurface-enabled platform offers simultaneous detection of multiple biological samples, and can also be extended to perform dynamic investigation of complex analytes.
a Graphical representation of a gradient metasurface. The in-plane dimensions of the super-metaatom decrease gradually from left to right. b A plot of relative spectral efficiency versus the operating frequency. Comparative works are marked with numbers: dual-gradient metasurfaces (ref. 15), pixelated sensors (refs. 25,44), gradient dielectric metasurfaces (refs. 14,45). Our work is highlighted with an asterisk (*), showcasing the multiband (ref. 46) and the gradient metasurface, respectively. In addition, we summarize and compare the literature in the Table S2. c Spatial barcode of the mixture (L-Glu, GABA and Gln) absorption extracted from the measured data. d, e Normalized simulated transmission spectra of a bare metasurface (color-encoded) with varying δ illustrating the continuous spectral coverage with resonant peaks. Each spectral line is obtained from a metasurface composed of periodically arranged microbars of the same size. The resonance highlighted in blue corresponds to the area marked with the same color in (a). The operating range of the device is about from 1.2 to 2.1 THz. f, g Normalized simulated transmission spectra of a metasurface covered with mixture analyte. Intensity modulations are observed at the characteristic absorption frequencies of the mixture.
Gradient metasurface enables multi-analyte detection
Next, we further experimentally demonstrated the capability of the THz plasmonic gradient metasurface for real-time, in-situ, and dynamic tracking of multiple biological analytes, showcasing its potential in probing the identification of complex molecules as well as analyzing dynamic changes in concentration. The metasurface chip is integrated with a microfluidic chamber where analyte solutions with different mixtures and concentrations interact with the metasurface as shown in Fig. 4a. Broadband (0.5−3.5 THz) THz radiation with normal incidence is transmitted through the solution and gold microbars from above, and the remaining THz radiation is collected by a spectrometer. The transmission spectra of the bare metasurface and metasurface in the solvent were compared in Fig. 4b. Note that by varying the tuning size and the variation rate of the gradient metasurface design, the shape of the transmission spectrum can be engineered for various user-specific applications (see two representative examples in Fig. S4 and Table S3). Vertical black and orange lines label the start/end positions of the broad-spectrum response of the gradient metasurface in the presence or absence of edible oil solvent (Refractive index noil = 1.47). A reduction in transmission is observed due to the oil’s inherent THz absorption, but no solvent-specific peaks interfered with the target biomolecular fingerprints. Fig. 4c shows the characteristic absorption barcodes of Gln, GABA, L-Glu, together with their mixture, as a reference for identification for the following experiments.
a Schematic of the chip integrated with a microfluidic chamber (height: 1 mm) for analyte detection. The experimental setup is shown in Fig. S3. b Transmission spectra of the gradient metasurface before/after edible oil coating (blue/orange solid lines), covering a wide spectral range of 1.2 to 2.1 THz. c Measured absorption barcodes for three species pure/mixed biomolecules. d Time-domain electric field amplitude, collected at 3 s intervals, change dynamically with varying L-Glu masses (0, 4, 6, 14, 16, 12, and 0 µg). The gray band predicts the mass for unknown samples. e The average electric field amplitude (center solid red line) over 612 s of continuous monitoring. The amplitude fluctuations (ΔEmax-min) reflect mass sensitivity. The red shaded area represents the standard deviation. f Transmission spectra obtained by fast Fourier transform (FFT) of the time-domain signals show the specificity of L-Glu characterized by its absorption at 1.22 THz. g Residual analysis confirms minimal deviation from the zero-reference line. h Reference transmission spectra and time-domain signals of analytes without metasurface enhancement are provided. i Spectra for L-Glu mass varying from 6 μg to 22 μg (pink solid line), with GABA fixed at 28 μg (black solid line). The blue series shows spectra obtained by adding Gln, with mass varying from 10 μg to 18 μg, to a mixture of fixed L-Glu and GABA masses. The red, blue, and orange rectangular positions indicate the characteristic absorption spectra of L-Glu, GABA, and Gln, respectively. j Transmission spectra (18 μg Gln mixed with a mixture of GABA (28 μg) and L-Glu (18 μg)) and dashed baseline-corrected signals are shown. k Absorption spectrum calculated from the transmission spectra in (j). l Real-time 3D plots of differential absorbance versus frequency and time (1-min intervals).
Real-time dynamic sensitivity monitoring
To demonstrate the dynamic monitoring performance of our THz plasmonic gradient metasurface, a set of continuous time-domain measurements was performed, as shown in Fig. 4d, where various concentrations of L-Glu solutions were monitored every 3 s. The electric field amplitude fluctuation ΔEmax-min and its stability over the 612 s of continuous monitoring are plotted in Fig. 4e. ΔEmax-min accurately reflected changes in analyte mass (0 µg to 16 µg), as evidenced by repeatable and quantifiable ΔEmax-min levels. Further, to rigorously validate quantitative detection capability, we introduced a “blind” test (gray ribbon area in Fig. 4d), where Researcher A controlled 12 μg of analyte in the microfluid chamber, and Researcher B, without prior knowledge of the analyte mass, performed the measurements. From the experimental data, Researcher B then derived the expected analyte mass, which matches the designed value of 12 μg. This test confirms the system’s ability to successfully differentiate biomolecule concentrations without prior knowledge. The transmission spectra shown in Fig. 4f were obtained through Fast Fourier Transform (FFT) the time-domain signals in Fig. 4d. The transmission spectra clearly revealed distinct concentration-specific L-Glu absorption features around 1.22 THz. Residual analysis, as shown in Fig. 4g, validated system reliability, showing minimal deviations from the zero-reference line and consistently high signal-to-noise ratio (SNR ≈ 28 dB) throughout the 612 s measurement. These results collectively demonstrate the robustness, precision, and long-term stability of our dynamic monitoring approach.
Our THz plasmonic gradient metasurface not only preserves the intrinsic spectral features of the analyte (as evidenced by Fig. 4h, i), but also enhances the detection sensitivity through metasurface integration, making our system an ideal platform for identifying even more complex solutions with multiple mixed analytes. In Fig. 4h, the time-domain signal and the corresponding transmission spectra of different solutions with various mixtures, all measured without the presence of the metasurface, are plotted. In comparison, Fig. 4i shows a set of measurements obtained via the THz plasmonic gradient metasurface incorporated system. As shown in Fig. 4i, we start by adding 28 μg of GABA to the solvent (black curve) and gradually add L-Glu from 6 μg to 22 μg (pink curves), while monitoring the transmission spectrum. As the concentration of L-Glu increases, the absorption dip around 1.22 THz becomes more and more prominent, which matches very well with the expected characteristic absorption band of L-Glu. In addition, 10 μg, 14 μg, and 18 μg of Gln are subsequently mixed with a GABA (28 μg) and L-Glu (18 μg) mixture, respectively, and their transmission spectra are shown in the blue curves. Once Gln is introduced to the mixed solution, an absorption dip around 1.75 THz is observed and the dip depth increases with increasing Gln density, also as expected. The steep roll-off phenomenon observed in the broad spectral range is caused by the combined effects of different radiation losses from metaatom with varying sizes and sample-induced Rayleigh scattering, neither of which affects the interpretation of our core findings. The results are obtained by performing an FFT on the time-domain signal window (34−46 ps), where stable time-domain signals are continuously collected under different conditions, with the results displayed in Fig. S5. Further analyses of the transmission peaks are detailed in Fig. 4j, k. The dashed curve indicates the calibrated baseline, which was obtained using an asymmetric least square smoothing (AsLSS) fitting algorithm17. By subtracting the baseline from the measured spectrum, we can extract the absorption features of the sample.
Then, we quantitatively evaluate the enhancement factor (EF) of the enhanced THz absorption spectroscopy (ETHzAS), which is defined as12:
where IETHzAS and Iref (Fig. S6a) represent the absorption intensity measured with and without the metasurface, respectively. The term Nref and NETHzAS correspond to the number of molecules contributing to absorption in the reference case and within the metasurface’s localized field-enhanced region, respectively. It can be obtained by calculation that the EF is found to be about 80 (Fig. S6b). Finally, we derive an approximate unified limit of detection (LOD) for the analyte of approximately 10 µg/mm² (mass per unit area).
The dynamic evolution of the transmission spectrum under different mixture conditions is summarized in Fig. 4l. We quantitatively analyzed the signal and noise performance and demonstrated the ability of the system to support our sensitivity requirements in Fig. S7. It is evident that this set of experiments validates the applicability of our THz plasmonic gradient metasurface in real-time, in-situ, dynamic monitoring of complex biological analytes. We’d like to note that this approach is efficient, robust, and can be applied to enable the detection and distinction of a wide variety of biomarkers, amino acids, proteins, and other types of biological samples provided their characteristic absorption bands are in the THz range.
Concentration prediction of mixed analytes via DNN
In situ sensing applications frequently encounter the challenge of distinguishing trace amounts of multiple analytes within complex samples. We demonstrate that a THz plasmonic gradient metasurface sensor, by integrating its broadband sensing capability with machine learning methods, can simultaneously monitor and differentiate multiple bioanalytes even with a minimal amount. Initially, we mix three polymers-L-Glu, GABA, and Gln-in varying volumes to create solutions with different compositions (α, β, γ), as illustrated in Fig. 5a, b. These solutions are then spin-coated onto the gradient metasurface, and their respective absorption barcodes are recorded. The barcodes of pure L-Glu, GABA, and Gln layers, as shown in Fig. 5c, provide the foundation for spectral decomposition. The analysis of the polymer mixtures is presented in the ternary mixture plot in Fig. 5d. Principal component analysis (PCA) is performed on the spectral data corresponding to all mixture ratios. The principal component loadings are depicted in Fig. S8, with each cluster representing a distinct mixture ratio. The lack of overlap between clusters allows for the classification of different mixture ratios.
a, b Time traces of the integrated absorbance signal in the L-Glu (red-shaded area), GABA(blue-shaded area), and Gln (orange-shaded area) bands. c Molecular barcodes of L-Glu, GABA and Gln reveal the distinct absorption fingerprints. Mixed-state YMix with multiple mixing ratios was analyzed. d The percentage of the three substances in the mixed analyte. The position of the solid orb on the ternary graph represents the ground truth (α, β, γ), as known from the mixing stage. e A DNN model with three hidden layers, containing 300, 128, and 64 nodes, respectively, was used to predict the concentration of the three analytes. The model was configured with the following hyperparameters: a learning rate of 0.001, 100 epochs, and an early stopping strategy. The activation function used was ReLU. The experimental data were divided into training and test sets in a ratio of 8:2. The training sets were used to train the model, and the loss during the training process is shown in (f). After training was completed, the final model was evaluated using the test set. The evaluation results are shown in (g).
To more comprehensively capture the variations in analyte concentrations and enhance prediction accuracy, we employ a DNN to construct a regression model for predicting the proportions of mixed analytes. As depicted in Fig. 5e, this DNN model comprises an input layer, three hidden layers, and an output layer. Each hidden layer consists of 300, 128, and 64 nodes, respectively. The output layer comprises three nodes, corresponding to the three substances in the samples. The transmission spectra from Fig. 4i are then fed into the DNN model as a training set. After 100 training epochs, the network loss steadily decreased and eventually stabilized, achieving a final loss of 0.15 and an accuracy of 93.31%. Subsequently, newly measured spectral data were input into the trained DNN model as a test set. Fig. 5g presents the predicted concentrations of all components in the output mixture, with the predictions closely aligning with the actual values. It is important to highlight that our platform is not limited to detecting three biochemical substances. Owing to its general applicability, it can be extended to biosensing assays involving more biological components, as well as exploring unknown samples (Fig. S9) or analytes with unidentified absorption spectra. This molecule-specific and label-free detection method enables precise analysis of absorption fingerprints, thereby opening exciting avenues for studying biological effects in the THz range. Our findings pave the way for the future development of novel, rapid, label-free, and highly sensitive metamaterial biosensors.
Discussion
In conclusion, we leverage the versatility of THz plasmonic metasurfaces to achieve in situ ultra-broadband THz sensing and biological fingerprint identification with high sensitivity by implementing a unified gradient metasurface toolbox. By judiciously tailoring the scaling of gold microbars in our design, multiband QBIC resonances can be engineered to form a continuous broadband spectral coverage in the THz range. We demonstrate real-time, in-situ, dynamic detection of complex biological analytes using our THz plasmonic gradient metasurface. By combining with DNN analysis, we also demonstrate trace detection and concentration determination and prediction of mixed analytes, overcoming the challenge of quantitatively identifying multiple bio-analytes in a single measurement. Such an approach paves the way towards sensitive and versatile miniaturized robust THz spectroscopy devices. In addition, such a device can be reused after cleaning, making it a cost-effective alternative for practical applications. Our plasmonic gradient metasurface design, though it is demonstrated only in the THz range due to the great biological interest, can be simply generalized to other wavelength regimes, thus opening up new avenues for clinical analysis and beyond.
Methods
Numerical simulations
We conducted FDTD numerical simulations using the Lumerical FDTD software to calculate the transmission spectra and confined near-field electric field distributions corresponding to the resonance modes. The structure is excited by normally illuminating it with plane waves aligned with the dipole microbars and by combining all propagating Floquet modes. In free space, periodic boundary conditions are applied along the x- and y-directions, while perfectly matched layer (PML) absorbing boundary conditions are applied along the propagation of the electromagnetic waves (z). Converged results can be achieved by setting the grid size to be smaller than the corresponding minimum structural dimension to compute scattering properties. The trimer structure consists of gold microbars with a fixed width of 5 μm, deposited on a TPX substrate with a thickness of 2 mm. The dimensions of the metaatoms were systematically varied by adjusting the length of the middle bar in the trimer, with lengths ranging from 48 μm to 93 μm. The material of the microbars is modeled as a perfect electric conductor (PEC), with the conductivity of traditional metals in the THz region approximately 107 S/m, effectively suppressing Ohmic losses. The material parameters, representing the mixture of L-Glu, GABA, and Gln, were derived from experimental data, specifically the real and imaginary parts of the refractive index obtained using palletization techniques. We set the thickness of the analyte to 6 μm in order to be closer to the experimental setup as an example to illustrate the sensing performance of the device. Through literature research, the most reasonable model is to set the analyte to semi-infinite to elaborate the sensing capability of the sensor. The transmission function returns the amount of power transmitted through power monitors, normalized to the source power. Specifically, the transmission T(f) is defined as the ratio of the transmitted power Ptrans(f) to the incident power Pinc(f) at each frequency f, expressed by the formula T(f) = Ptrans(f) / Pinc(f).
THz spectroscopy system measurements
To acquire spectral signals, we used a THz time-domain spectroscopy (THz-TDS) system (Advantest Co., Ltd., Tokyo, Japan; TAS7500TS) with a spectral range of 0.5 – 7 THz, a frequency resolution of 3.8 GHz, and a scanning range of 262 ps. The system employs an asynchronous optical sampling (ASOPS) configuration for time-delay generation, offering key advantages: (i) elimination of mechanical delay stages for faster scanning (262 ps range at a 50 MHz repetition rate), (ii) superior timing stability (<100 fs), which is critical for high signal-to-noise ratio (SNR) measurements, and (iii) direct compatibility with 1550 nm fiber laser sources. The setup consists of two fiber lasers (pulse duration <50 fs, 50 MHz repetition rate), photoconductive antennas serving as both THz transmitter and detector, a precision time-delay device, and data acquisition software. One laser excites the THz signal, while the other detects it, enabling precise time-domain measurements in reflection and transmission modes with a system noise level below 60 dB. For this study, transmission measurements under dry air conditions were used to facilitate experimental control and dynamic monitoring.
Fabrication of sensor chip microstructures
I) TPX substrate preparation: The substrate was subjected to a combination of injection molding and precise cutting to achieve the desired dimensions. This was done with a polymeric material with a refractive index of approximately 1.46. Then, the substrate was cleaned with ethanol and deionized water and dried with a gentle stream of nitrogen gas. II) Metal Pattern Preparation: i) Lithography: Photoresist was spin-coated onto the substrate and baked to cure. Then, using UV irradiation, the pattern of the mask plate was transferred to the photoresist coating. ii) Development: The irradiated substrate was reacted in the corresponding developer. Noted that the development time should be precisely controlled. Specific wavelengths of light are used in combination with the corresponding developer to ensure efficient exposure and development. iii) Metal deposition: A 10 nm chromium layer and a 100 nm gold layer are deposited on the substrate using a magnetron sputtering system. The purpose of the chromium layer is to enhance the adhesion during the metal deposition process. iv) Stripping process: The coated samples were immersed in acetone to finely remove the photoresist layer and gold film adhering to the top edge. Ultrasonic debonding techniques were used more efficiently to maintain the integrity of the metal microstructure, aiming to prevent any undesired damage. In addition, we repeated the mechanical and structural stability tests of the metasensor before and after solvent exposure, and the results demonstrate that the device maintains excellent broadband enhancement performance (Fig. S10).
Machine learning
In the classification of mixed samples, we employed PCA to identify the principal components within the measured spectral data, projecting high-dimensional data into a lower-dimensional space while striving to preserve the variance information, thereby facilitating the visualization of the feature space. PCA was performed using Python, with detailed steps including data preprocessing, calculating the covariance matrix, deriving eigenvalues and eigenvectors, ranking them by the magnitude of eigenvalues, selecting the top k principal components, and mapping the data onto these chosen components. For concentration prediction, we developed a multilayer feedforward neural network based on Python 3.9. Utilizing multiple hidden layers and ReLU activation functions, the network captures complex patterns in the input features through layer-by-layer nonlinear transformations, ultimately outputting the target values. The training and validation datasets comprised 37,890 spectro-temporal data points acquired through time-resolved spectroscopic monitoring of dynamic ternary mixtures. The model architecture consists of an input layer, three hidden layers, and an output layer. The hidden layers contain 300, 128, and 64 neurons, respectively, employing ReLU activation functions. The output layer, comprising three neurons, uses a linear activation function. The network was trained using the Adam optimizer (learning rate = 0.001) and the mean squared error (MSE) loss function over 1,000 epochs. To mitigate overfitting, early stopping was implemented based on validation loss, and training data were augmented with ±5% Gaussian noise in spectral intensity. The final training and validation loss curves exhibited stable convergence, confirming the robustness and generalization capability of the model. Computations were executed on a platform equipped with a GPU (NVIDIA GeForce RTX 3090) running CUDA 11.1. The evaluation metrics included the mean absolute error and accuracy rate.
Data availability
The data supporting the findings of this study are contained primarily within the article and its Supplementary Information. Additional data are accessible from the corresponding author upon reasonable request.
References
Paggi, L. et al. Over-coupled resonator for broadband surface enhanced infrared absorption (SEIRA). Nat. Commun. 14, 4814 (2023).
Ren, Z., Zhang, Z., Wei, J., Dong, B. & Lee, C. Wavelength-multiplexed hook nanoantennas for machine learning enabled mid-infrared spectroscopy. Nat. Commun. 13, 3859 (2022).
Li, D. et al. Ultrasensitive molecular fingerprint retrieval using strongly detuned overcoupled plasmonic nanoantennas. Adv. Mater. 35, e2301787 (2023).
John-Herpin, A. T. et al. Hatice. Metasurface-enhanced infrared spectroscopy: an abundance of materials and functionalities. Adv. Mater. 35, 2110163 (2023).
Choi, W. J. et al. Chiral phonons in microcrystals and nanofibrils of biomolecules. Nat. Photonics 16, 366–373 (2022).
Cheng, C. et al. Broadband terahertz recognizing conformational characteristics of a significant neurotransmitter γ-aminobutyric acid. RSC Adv. 9, 20240–20247 (2019).
Niessen, K. A. et al. Protein and RNA dynamical fingerprinting. Nat. Commun. 10, 1026 (2019).
Wu, X. et al. Alkanethiol-functionalized terahertz metamaterial as label-free, highly-sensitive and specific biosensor. Biosens. Bioelectron. 42, 626–631 (2013).
Ahmadivand, A. et al. Functionalized terahertz plasmonic metasensors: Femtomolar-level detection of SARS-CoV-2 spike proteins. Biosens. Bioelectron. 177, 112971 (2021).
Aurelian, J. H., Deepthy, K., Lea von, M. & Hatice, A. Infrared metasurface augmented by deep learning for monitoring dynamics between all major classes of biomolecules. Adv. Mater. 33, 2006054 (2021).
Daniel, R. et al. Resolving molecule-specific information in dynamic lipid membrane processes with multi-resonant infrared metasurfaces. Nat. Commun. 9, 2160 (2018).
Li, D. et al. Multifunctional chemical sensing platform based on dual-resonant infrared plasmonic perfect absorber for on-chip detection of poly(ethyl cyanoacrylate). Adv. Sci. 8, e2101879 (2021).
Zhou, H. et al. Metal-organic framework-surface-enhanced infrared absorption platform enables simultaneous on-chip sensing of greenhouse gases. Adv. Sci. 7, 2001173 (2020).
Richter, F. U. et al. Gradient high-Q dielectric metasurfaces for broadband sensing and control of vibrational light-matter coupling. Adv. Mater. 36, 2314279 (2024).
Aigner, A., Weber, T., Wester, A., Maier, S. A. & Tittl, A. Continuous spectral and coupling-strength encoding with dual-gradient metasurfaces. Nat. Nanotechnol. 19, 1804–1812 (2024).
Daniel, R., Andreas, T., Aurelian, J.-H., Odeta, L. & Hatice, A. Self-similar multiresonant nanoantenna arrays for sensing from near- to mid-infrared. ACS Photonics 5, 4903–4911 (2018).
Zhou, H. et al. Dynamic construction of refractive index-dependent vibrations using surface plasmon-phonon polaritons. Nat. Commun. 14, 7316 (2023).
Liu, B. et al. Ultra-wideband terahertz fingerprint enhancement sensing and inversion model supported by single-pixel reconfigurable graphene metasurface. PhotoniX 5. https://doi.org/10.1186/s43074-024-00129-4 (2024).
Meng, Y. et al. Photonic van der Waals integration from 2D materials to 3D nanomembranes. Nat. Rev. Mater. 8, 498–517 (2023).
Aleksandrs, L. et al. Angle-multiplexed all-dielectric metasurfaces for broadband molecular fingerprint retrieval. Sci. Adv. 5, eaaw2871 (2019).
Liu, X. et al. Enhancing THz fingerprint detection on the planar surface of an inverted dielectric metagrating. Photon. Res. 10. https://doi.org/10.1364/PRJ.488861 (2022).
Huang, Y., Zhong, S., Shen, Y. -c, Yu, Y. & Cui, D. Terahertz phase jumps for ultra-sensitive graphene plasmon sensing. Nanoscale 10, 22466–22473 (2018).
Ha, T. et al. Subwavelength Terahertz Resonance Imaging (STRING) for molecular fingerprinting. Nano Lett. 22, 10200–10207 (2022).
Yang, X. et al. Biomedical applications of terahertz spectroscopy and imaging. Trends Biotechnol. 34, 810–824 (2016).
Andreas, T. A. et al. Imaging-based molecular barcoding with pixelated dielectric metasurfaces. Science 360, 1105–1109 (2018).
Wang, R. et al. Enhanced on-chip terahertz sensing with hybrid metasurface/lithium niobate structures. Appl. Phys. Lett. 114, 121102 (2019).
Ng, B. H. et al. Broadband terahertz sensing on spoof plasmon surfaces. ACS Photonics 1, 1059–1067 (2014).
Shih, K. et al. Nanofluidic terahertz metasensor for sensing in aqueous environment. Appl. Phys. Lett. 113, 071105 (2018).
Wang, R. et al. Ultrasensitive terahertz biodetection enabled by quasi-BIC-based metasensors. Small 19, e2301165 (2023).
Ahmadivand, A., Gerislioglu, B., Ahuja, R. & Kumar Mishra, Y. Terahertz plasmonics: The rise of toroidal metadevices towards immunobiosensings. Mater. Today 32, 108–130 (2020).
Estakhri, N. M. & Alù, A. Recent progress in gradient metasurfaces. J. Opt. Soc. America B 33, https://doi.org/10.1364/JOSAB.33.000A21 (2015).
Ding, F., Pors, A. & Bozhevolnyi, S. I. Gradient metasurfaces: a review of fundamentals and applications. Rep. Prog. Phys. 81, 026401 (2018).
Hsu, C. W., Zhen, B., Stone, A. D., Joannopoulos, J. D. & Soljačić, M. Bound states in the continuum. Nat. Rev. Mater. 1, 16048 (2016).
Al-Ani, I. A. M., As’Ham, K., Huang, L., Miroshnichenko, A. E. & Hattori, H. T. Enhanced strong coupling of TMDC monolayers by bound state in the continuum. Laser Photonics Rev. 15, 2100240 (2021).
Koshelev, K. irill et al. Asymmetric metasurfaces with high-Q resonances governed by bound states in the continuum. Phys. Rev. Lett. 121, 193903–193903 (2018).
Cong, L. & Singh, R. Symmetry-protected dual bound states in the continuum in metamaterials. Adv. Opt. Mater. 1900383. https://doi.org/10.1002/adom.201900383 (2019).
Han, S. et al. Extended bound states in the continuum with symmetry-broken terahertz dielectric metasurfaces. Adv. Opt. Mater. 9, https://doi.org/10.1002/adom.202002001 (2021).
Yang, J. H. et al. Low-threshold bound state in the continuum lasers in hybrid lattice resonance metasurfaces. Laser Photon. Rev. 15, https://doi.org/10.1002/lpor.202100118 (2021).
Huang, L., Xu, L., Powell, D. A., Padilla, W. J. & Miroshnichenko, A. E. Resonant leaky modes in all-dielectric metasystems: fundamentals and applications. Phys. Rep. 1008, 1–66 (2023).
Abujetas D. R., van Hoof N., ter Huurne S., Gómez Rivas J., Sánchez-Gil J. A. Spectral and temporal evidence of robust photonic bound states in the continuum on terahertz metasurfaces. Optica 6, https://doi.org/10.1364/OPTICA.6.000996 (2019).
Wang, R. et al. Electric Fano resonance-based terahertz metasensors. Nanoscale 13, 18467–18472 (2021).
Li, Y.-F. A hypothesis of monoamine (5-HT)—glutamate/GABA long neural circuit: aiming for fast-onset antidepressant discovery. Pharmacol. Therapeutics 208, 107494 (2020).
Bednarik, P. et al. 1H magnetic resonance spectroscopic imaging of deuterated glucose and of neurotransmitter metabolism at 7 T in the human brain. Nat. Biomed. Eng. 7, 1001–1013 (2023).
Barkey, M. artin et al. Pixelated high-Q metasurfaces for in situ biospectroscopy and artificial intelligence-enabled classification of lipid membrane photoswitching dynamics. ACS Nano 18, 11644–11654 (2024).
Jangid, P. et al. Spectral tuning of high-harmonic generation with resonance-gradient metasurfaces. Adv. Mater. 36, 2307494 (2023).
Wang, R. et al. Multifunctional terahertz biodetection enabled by resonant metasurfaces. Adv. Mater. 37, 2418147 (2025).
Acknowledgements
National Natural Science Foundation of China (Grant. 62305394); Distinguished Scholar of National Science Fund of China (No. 12225511) and Major Project (T2241002); National Natural Science Foundation of China (No. 12304362, 62375232); University Grants Committee /Research Grants Council of the Hong Kong Special Administrative Region, China [Project No. AoE/P-502/20, CRF Project: C5031-22G; C5078-24G, GRF Project: CityU11305223; CityU11300224; CityU11304925; CityU11305125]; City University of Hong Kong [Project No. 9380131].
Author information
Authors and Affiliations
Contributions
R.W., C.C., and D. P. T. conceived and designed the research. R.W. and D.Z. fabricated the metasensor chips. R.W. and D.Z. carried out the experiments. R.W., L.C., N.Z., D.L., R.J., X.Z., X.Y., L.Z., S.W., and X.L. analyzed and interpreted the data. R.W., C.C., and D.P.T. co-wrote the manuscript. All authors contributed to the results and commented on the manuscript.
Corresponding authors
Ethics declarations
Competing interests
The authors declare no competing interests.
Peer review
Peer review information
Nature Communications thanks Dasol Lee and the other anonymous reviewer(s) for their contribution to the peer review of this work. A peer review file is available.
Additional information
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary information
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 licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence 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 licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Wang, R., Zhang, D., Chen, L. et al. Ultra-compact broadband terahertz spectroscopy sensor enabled by resonant-gradient metasurface. Nat Commun 16, 11462 (2025). https://doi.org/10.1038/s41467-025-66310-w
Received:
Accepted:
Published:
Version of record:
DOI: https://doi.org/10.1038/s41467-025-66310-w







