Introduction

For semiconductor processing, such as in the manufacturing of integrated circuits and flat display panels, to ensure processing quality and efficiency, it is crucial to accurately measure the thickness and optical constant of nanometer-scale thin films in a high throughput1,2,3,4. Instruments such as white-light interferometers, scanning electron microscopes, and atomic force microscopes may allow the measurement of film thickness with high accuracy, yet they have a relatively slow measurement speed and high system complexity. The measurement may also require direct contact with the sample under test. Spectroscopic ellipsometry is an alternative method that enables highly accurate and non-destructive measurements of thin film thickness as well as its optical constant, which has been widely implemented in semiconductor metrology and process monitoring5,6,7.

In a typical spectroscopic ellipsometry system, it first measures the change in the polarization state of light reflected from the thin film under test. The wavelength-dependent complex reflectance ratio \(\rho\) between p- and s-polarized light, or the ellipsometry parameters of the thin film is written as,

$$\rho =\tan \left(\varPsi \right){{\rm{e}}}^{i\varDelta }$$
(1)

where tan(Ψ) and Δ represent the amplitude ratio and phase difference, respectively. After experimentally obtaining the ellipsometry parameters, it is fitted to a theoretical model to eventually determine the thin film thickness and optical constant.

A conventional spectroscopic ellipsometer typically modulates the polarization state via mechanical rotation of the compensator or analyzer8,9,10, which may result in a large size and its sensitivity to mechanical vibration noise. To realize polarization modulation without moving parts, one may resort to photoelastic or electro-optic effects11. Single-shot Stokes ellipsometry12 has also been demonstrated based on the division-of-amplitude method using multiple beam splitters and polarizing prisms. For the spectral detection, an ellipsometer often uses a grating-based spectrometer13,14. The combination of fast polarization modulation and multichannel spectral detection have enabled real time ellipsometry measurements3,15,16 towards various applications17. Nonetheless, a typical spectroscopic ellipsometer, as shown in Fig. 1a, requires a cascade of polarization-modulation and spectral detection system. Recently, alternative methods, such as dual-comb spectroscopic ellipsometry18,19, have been proposed to partially address the abovementioned issues. However, dual-comb spectroscopic ellipsometry may have a limited spectral range for measurement, requires high-cost light sources, and also does not permit single-shot measurements.

Fig. 1: Comparison between conventional and metasurface array-based spectroscopic ellipsometry.
figure 1

a Schematics of a conventional spectroscopic ellipsometry system equipped with a compensator, a mechanically-rotating analyzer, and a grating-based multi-channel spectrometer. The thickness d and refractive index n of the thin film can be determined by fitting the measured ellipsometry parameters with a theoretical model. b Schematics of a metasurface array-based single-shot spectroscopic ellipsometry system. The metasurface array, with each unit cell designed to support anisotropic and spectrally-diverse response, is used to encode the full Stokes polarization spectrum of light reflected from the thin film onto a CMOS image sensor. The ellipsometry parameters can be computationally reconstructed and used to determine the thin film properties. CMOS complementary metal-oxide semiconductor

Metasurface20,21,22,23,24 is an emerging class of planar optical elements that allows extremely versatile manipulation of the amplitude25,26, phase27,28, polarization29,30,31, and spectrum32,33 of light at the subwavelength scale. Therefore, it may offer a new route toward constructing compact single-shot spectropolarimetric measurement systems. Recently, polarization-sensitive metalens arrays34,35,36,37 and metasurface-based polarization gratings38,39,40 have been utilized to build single-shot full Stokes polarization detection and imaging systems. On the other hand, to realize a compact spectrometer, one may design a metasurface-based narrowband filter array41,42, with each filter responsible for transmitting a specific wavelength. Yet, a narrowband filter array intrinsically has a low light throughput. More recently, there has been a growing interest to develop metasurface-based miniaturized spectrometers43,44,45,46,47 and hyperspectral imaging systems48,49,50,51 based on computational reconstruction. In this approach, a metasurface filter array with a random spectral response is coupled with an iterative optimization algorithm or deep learning to reconstruct the spectrum, thus offering a higher light throughput and less stringent metasurface design requirement. For metasurface-based computational spectrometers, one of the prerequisites of the robust reconstruction of the spectral information is the construction of a filter array with a low spectral correlation and the accurate calibration of the filter response. However, due to the angle- and polarization-dependent response of most metasurface-based filters, accurate spectral reconstruction may become rather challenging for generic applications that involve light with a wide range of incident angles and polarization states.

Some recent studies have also aimed at using metasurface for simultaneous spectropolarimetric detection52,53,54,55,56,57. For instance, a metasurface-based polarization grating has been utilized for splitting light with different spectral and polarization components in the spatial domain52,53. However, similar to a conventional grating-based spectrometer, spectropolarimetry based on polarization grating has a fundamental tradeoff between the optical path length (system form factor) and the spectral resolution. We recently demonstrated computational spectropolarimetry based on a tunable liquid crystal-integrated metasurface57, yet it requires active tuning elements and does not allow single-shot measurement. In addition, its spectral measurement range is limited to the near-infrared range.

In this work, we propose and experimentally demonstrate a single-shot spectroscopic ellipsometry system using a passive silicon-based metasurface array for spectropolarimetric encoding in the visible frequency regime, with the system schematically depicted in Fig. 1b. The metasurface unit cell is meticulously designed to exhibit rich and anisotropic spectral features. Combining a single-shot measurement taken by the CMOS sensor with a straightforward iterative optimization algorithm, the full Stokes polarization spectrum of light reflected by the thin film can be reconstructed in high fidelity. Subsequently, the thickness and refractive index of the thin film can be obtained by fitting the measured ellipsometry parameters with a theoretical model. For the proposed ellipsometry system, light impinges on the metasurface filter array at a near-normal incident angle, resulting in a well-calibrated filter response, thus allowing the robust reconstruction of the spectropolarimetric information.

Results

The detailed working principle of the metasurface array-based spectroscopic ellipsometry is schematically illustrated in Fig. 2. The full Stokes polarization spectrum of light impinging on the metasurface array can be expressed as \(\mathop{S}\limits^{ \rightharpoonup }\)(λ) = [s0(λ), s1(λ), s2(λ), s3(λ)]T. The metasurface array consists of N elements and its polarization-dependent transmittance spectrum can be described by a Mueller matrix M(λ), which is a function of the wavelength λ. The transmitted light with its intensity recorded by the CMOS sensor corresponds to the first element s0 in a Stokes vector, which can be expressed as,

$${\mathop{I}\limits^{ \rightharpoonup }}_{{\rm{out}}}=\mathop{\sum}\limits_{{\rm{i}}={\rm{l}}}^{{\rm{l}}}{{\bf{M}}}_{0}\left({\lambda }_{i}\right)\cdot \mathop{S}\limits^{ \rightharpoonup }\left({\lambda }_{i}\right)={{\bf{M}}}_{0}\cdot \mathop{S}\limits^{ \rightharpoonup }$$
(2)

where \({\mathop{I}\limits^{ \rightharpoonup }}_{{\rm{out}}}\) is an N × 1 vector; l is the number of spectral channels; M0 = [m00, m01, m02, m03] is the first row of M(λ) (Supplementary Section 1). By minimizing the cost function with regularization, the full Stokes polarization spectrum can be reconstructed as,

$$\mathop{S}\limits^{\rightharpoonup }=\mathop{\rm{argmin}}\limits_{\mathop{S}\limits^{\rightharpoonup }}\left\{{{||}{\mathop{I}\limits^{ \rightharpoonup }}_{{\rm{out}}}-{{\bf{M}}}_{0}{\cdot} \mathop{S}\limits^{ \rightharpoonup }{||}}_{2}+{\rm{k}}{\cdot} {{{||}}\mathop{S}\limits^{ \rightharpoonup }{{||}}}_{2}\right\}$$
(3)

where k is the regularization coefficient. Subsequently, the ellipsometry parameters can be calculated from \(\mathop{S}\limits^{ \rightharpoonup }\) as (Supplementary Section 2),

$$\varPsi =\frac{1}{2}\arccos \left(-\frac{{s}_{1}}{{s}_{0}}\right)$$
(4)
$$\varDelta =\arctan \left(\frac{{s}_{3}}{{s}_{2}}\right)$$
(5)
Fig. 2: Working principle of the metasurface array-based single-shot spectroscopic ellipsometry.
figure 2

The prototype consists of a single-layer metasurface array integrated on top of a CMOS image sensor. The Mueller matrix of the metasurface array (M0) is pre-calibrated. Together with the measured intensity on the imaging sensor (Iout), the full Stokes polarization spectrum of the incident light can be reconstructed by a convex optimizer with l2-regularization. In the following, the reconstructed full Stokes polarization spectrum can be converted to the ellipsometry parameters for the determination of thin film thickness d and refractive index n by fitting the measurement with a multi-beam interference model

After obtaining the ellipsometry parameters, the remaining steps for the determination of thin film properties are identical to that of a conventional ellipsometry system. We can first build a multi-beam interference model for the multilayer thin film stack under test and choose a proper material model to estimate the theoretical ellipsometry parameters (Supplementary Section 3). Thereafter, by minimizing the difference between the measurement and the theoretical estimation, one can determine the thickness d and refractive index n of the thin film.

In such a framework, the key to the accurate reconstruction of the ellipsometry parameters and thin film properties is to design a metasurface array with highly anisotropic and diverse spectral features58,59, such that the correlation coefficient of each row of the Mueller matrix can be minimized. In this work, each element of the 20 × 20 metasurface array is made of 300-nm-thick silicon nanopillars on a sapphire substrate. The geometry of each element is optimized by minimizing the correlation coefficient of M0 among different elements (Supplementary Section 4). Furthermore, we analyzed the system’s tolerance to fabrication errors, and confirmed that it is highly robust against fabrication errors, as long as the Mueller matrix of the fabricated metasurface array is carefully recalibrated. (Supplementary Section 5).

To experimentally demonstrate the metasurface array-based spectropolarimetric detection system, we assembled a prototype as shown in Fig. 3a. The metasurface array comprises 20 × 20 elements with a total size of 1.5 × 1.5 mm2. The metasurface array was fabricated via the standard electron-beam lithography and reactive-ion etching process on a silicon-on-sapphire substrate (see Methods). The metasurface array was integrated onto a CMOS image sensor (Sony IMX-183) with a 5-μm-thick optically clear adhesive tape. The photograph of the metasurface array and 4 representative scanning electron microscopy images of the metasurface elements are shown in Fig. 3b, c, respectively.

Fig. 3: Characterization of the spectropolarimetric detection performance.
figure 3

a Photograph of the metasurface array-based spectroscopic ellipsometer. Zoom-in photograph (b) and SEM images (c) of the fabricated metasurface array. d Full Stokes polarization spectra of narrowband light sources (with wavelength ranging from 520 nm to 680 nm in a 20-nm-interval, and with random polarization) measured with the metasurface array-based spectropolarimetric detection system (solid lines) compare with the ground truth measured with a quarter-waveplate, a rotating polarizer, and a conventional grating-based spectrometer (black dashed lines). e Reconstructed full Stokes polarization spectrum of linearly polarized light with dual spectral peaks separated by 8.7 nm measured with the metasurface array-based spectropolarimetric detection system (blue solid line) compare with the ground truth measured with a quarter-waveplate, a rotating polarizer, and a conventional grating-based spectrometer (red dashed line). The peak wavelengths are highlighted by the black dashed line. SEM scanning electron microscopy

To calibrate M0 of the metasurface array, we used a tunable monochromatic light source sampled at a 1-nm-interval across the spectral range from 500 nm to 700 nm (see Methods and Supplementary Figs. S14–S15). To evaluate the spectropolarimetric reconstruction performance of the system, we first reconstructed several spectra with simple narrowband features and with varying polarization states. As depicted in Fig. 3d, the reconstructed full Stokes polarization spectra agree very closely with the ground truth. The reconstruction error is quantitatively evaluated using the root mean square error \(({\rm{RMSE}})={{||}\frac{\mathop{S}\limits^{ \rightharpoonup }-\mathop{S{\prime} }\limits^{ \rightharpoonup }}{4\times v}{||}}_{2}\), where \(\mathop{S}\limits^{ \rightharpoonup }\) is the normalized ground truth, \(\stackrel{\rightharpoonup}{S^{\prime}}\) is the normalized reconstruction result, and v is the number of sampled spectral channels. The average peak-wavelength error, linewidth error, and RMSE, of the measured spectra are 0.17 nm, 0.33 nm, and 1.87%, respectively.

To further assess the system’s capability to resolve fine spectral features, we prepared a linearly-polarized incident light with a double-peak spectrum by combining a semiconductor laser emitting at a wavelength of 653.5 nm with a white-light source coupled to a monochromator. As shown in Fig. 3e, the metasurface array-based spectropolarimetric detection system can clearly distinguish double spectral peaks at 653.5 nm and 662.2 nm separated by 8.7 nm. With a smaller spectral separation, the reconstructed spectrum gradually deviates from the ground truth (Supplementary Fig. S16). The relatively low spectral resolution of the system, which is lower than the theoretical resolution (Supplementary Section 6), may be due to the inaccurate calibration of the Mueller matrix and the deterioration in the anisotropic spectral response of the experimentally realized metasurface array. This issue may be addressed via inverse design60,61,62 of freeform metasurface unit cells with further decreased correlation and by more accurate calibration of the Mueller matrix. Despite the moderate spectral resolution of our system, it is worth noticing that the complexity of the full Stokes polarization spectrum of a thin film is a function of the film thickness and refractive index. For most thin films with a moderate thickness (<1000 nm) and refractive index (<3), the ellipsometry parameters can still be reconstructed with high fidelity.

Finally, to experimentally demonstrate spectroscopic ellipsometry measurement, five SiO2 thin films with thicknesses ranging from 100 nm to 1000 nm deposited on a silicon substrate were selected as samples for testing, similar to the protocol in ref. 8. White light emitted from a halogen lamp, after passing through a 45° linear polarizer, impinged on the thin film samples at a 60° incident angle, close to the Brewster angle, to ensure significant polarization conversion. The reflected light from the thin film impinged on the metasurface array at normal incidence (Supplementary Fig. S17). The reconstructed full Stokes polarization spectra of two representative SiO2 thin films with thicknesses of 100 nm and 1000 nm are shown in Fig. 4a, b, respectively, which are compared to the ground truth measured with a quarter-waveplate, a rotating polarizer, and a conventional grating-based spectrometer, showing excellent agreement. Reconstructed spectra for thin films with other thicknesses can be found in Supplementary Fig. S18. A decent average RMSE of 4.5% was obtained for the five measured SiO2 thin films.

Fig. 4: Measurement of the thickness and refractive index of SiO2 thin films.
figure 4

Comparison between the reconstructed full Stokes polarization spectra from the single-shot spectroscopic ellipsometer (blue solid line) and the ground truth (red dashed line) for SiO2 thin film with a thickness of 100 nm (a) and 1000 nm (b), respectively. The ground truth is measured with a quarter-waveplate, a rotating polarizer, and a conventional grating-based spectrometer. Comparison among the ellipsometry parameters Ψ and Δ from the single-shot spectroscopic ellipsometer (blue solid line), the ground truth (red dashed line), and the theoretical estimation (orange dots) for SiO2 thin film with a thickness of 100 nm (c) and 1000 nm (d), respectively. The ground truth is measured with a quarter-waveplate, a rotating polarizer, and a conventional grating-based spectrometer. e Comparison of the reconstructed thickness from the single-shot spectroscopic ellipsometer with the ground truth thickness from the commercial spectroscopic ellipsometer for five SiO2 thin films under testing. f Comparison of the reconstructed refractive index (red dots) from the single-shot spectroscopic ellipsometer with the ground truth (blue grids) from fused silica refractive index data in commercial spectroscopic ellipsometer for five SiO2 thin films under testing

Subsequently, the full Stokes polarization spectra can be converted to the ellipsometry parameters Ψ and Δ. The converted ellipsometry parameters of the SiO2 thin film with thicknesses of 100 nm and 1000 nm are shown in Fig. 4c, d, respectively, which are compared with the ground truth and the theoretical estimation calculated from a three-layer model consisting of air, SiO2, and a silicon substrate. Reconstructed ellipsometry parameters for films with other thicknesses can be found in Supplementary Fig. S18. By minimizing the squares error of the reconstruction and the theoretical estimation of Δ, the thickness and refractive index of the SiO2 thin films can be determined. The comparison between the film thickness reconstructed from our system and the measurement from a commercial spectroscopic ellipsometer (JA Woollam, V-VASE) is shown in Fig. 4e. Using the measured thickness from the commercial spectroscopic ellipsometer as the ground truth, the accuracy of the thickness measurement, defined as the relative error between the reconstructed film thickness and the ground truth, is only 2.16% on average for the five SiO2 thin films. The precision of the thickness measurement, defined as the standard deviation in the 10 measurements within a 10-minute timeframe, is only 1.28 nm on average for the five SiO2 thin films (Supplementary Fig. S19). In the fitting process, the refractive index of the SiO2 thin films was assumed to follow the Cauchy model as \(n=A+\frac{{B\lambda }^{2}}{{\lambda }^{2}-{C}^{2}}-{D\lambda }^{2}\), where A, B, C and D are the fitting parameters63. The reconstructed refractive index dispersions for the five SiO2 thin films are shown in Fig. 4f, with an average accuracy and precision of 0.84% and 0.0032, respectively (Supplementary Fig. S19). The entire computational reconstruction process was implemented in MATLAB, taking ~800 ms to reconstruct the full Stokes polarization spectrum and ~200 ms to reconstruct the thin film thickness and refractive index on a desktop computer equipped with an AMD Ryzen 7 3700x CPU and 32 GB RAM. To further enhance the speed and accuracy of the reconstruction, one may implement deep learning-based algorithms for both steps45,48,64,65.

Discussion

In conclusion, we have proposed and experimentally demonstrated a new type of metasurface array-based spectroscopic ellipsometry system for the single-shot measurement of thin film properties. Compared to conventional spectroscopic ellipsometers, our system has no mechanical moving parts or phase-modulating elements, Consequently, it may enable high-throughput, online measurement of thin film properties in semiconductor processing, such as in a thin film etching or deposition system. In the current prototype, we only reconstructed the thickness and refractive index of a single-layer lossless film. To allow the reconstruction of multi-layer films with losses, the design and fabrication of the metasurface array, as well as the ellipsometry fitting model, shall be further improved (Supplementary Section 7). For the prototype system, the spectral range of the ellipsometry measurement is mainly limited by the low quantum efficiency of the available CMOS image sensor above the wavelength of 700 nm and the high material loss of silicon below the wavelength of 500 nm. To further extend the range, one may select a CMOS image sensor with a higher quantum efficiency in the near-infrared range or design and fabricate metasurfaces using alternative materials with lower loss across a wider spectral range, such as SiN46. There is no fundamental limitation to extend its application to the UV, IR or THz range. It may also be possible to further simplify the spectroscopic ellipsometry system leveraging wavelength- and polarization-dependent speckle pattern of an inexpensive, commercial optical diffuser, despite that it would require a more careful calibration process and a broadband, spatially coherent light source for illumination. The metasurface array also holds promise for spectropolarimetric imaging, which may further allow the non-destructive characterization of spatially-inhomogeneous thin films.

Materials and methods

Metasurface fabrication

The fabrication of the metasurface was done via a commercial service offered by Tianjin H-Chip Technology Group. The fabrication process is schematically shown in Supplementary Fig. S12. The metasurface array was first patterned on a 300-nm-thick monocrystalline silicon film on a sapphire substrate by the electron beam lithography using a negative tone resist hydrogen silsesquioxane (HSQ). The next step involved transferring the pattern onto the silicon layer using HSQ as the mask via the reactive ion etching process. Finally, the HSQ resist is removed by buffered oxide etchant.

Metasurface characterization

The experiment setup for the calibration of the metasurface array response is schematically shown in Supplementary Fig. S13. A supercontinuum laser (YSL Photonics, SC-Pro-7) was coupled to a monochromator (Zolix, Omni-λ2007i) and a collimation lens to emit collimated light with a narrowband spectrum. To eliminate spatial coherence and the resulting speckles on the imaging sensor, the light passed through a rotating diffuser before reaching the metasurface array. To ensure uniform illumination on the metasurface array, we established a Köhler illumination condition using two lenses with focal lengths of 50 mm and 35 mm, respectively, along with two apertures.

To calibrate M0 of the metasurface array, its transmittance was measured with 0° linear polarization (Tx), 45° linear polarization (T45), 90° linear polarization (Ty), and left-handed circular polarization (Tlcp), respectively. The polarization state of the incident light was adjusted by a polarizer and a broadband quarter-waveplate. For each sampled spectral channel, the grayscale image of the metasurface array was captured by the CMOS sensor. The transmittance was subsequently calculated by dividing the light intensity underneath the metasurface array by the light intensity in a blank region after the subtraction of the background noise. M0 of the metasurface array was then calculated as,

$${{\bf{M}}}_{0}={\left[\begin{array}{c}\begin{array}{c}\frac{1}{2}\left({\text{T}}_{\text{x}}+{\text{T}}_{\text{y}}\right)\\ \frac{1}{2}\left({\text{T}}_{\text{x}}-{\text{T}}_{\text{y}}\right)\end{array}\\ {\text{T}}_{45}-\frac{1}{2}\left({\text{T}}_{\text{x}}+{\text{T}}_{\text{y}}\right)\\ \frac{1}{2}\left({\text{T}}_{\text{x}}+{\text{T}}_{\text{y}}\right)-{\text{T}}_{\text{lcp}}\end{array}\right]}^{\text{T}}$$
(6)