Introduction

Lately, the miniaturization of optical elements has become more and more prevalent in many areas of research, including medical applications such as optical microscopy and others. This trend demands smaller and smaller lenses, which get increasingly difficult to fabricate using conventional materials. This limitation can, however, be overcome by employing nanofabrication techniques to build planar lenses, so-called metalenses1,2,3. These lenses consist of sub-wavelength building blocks, so-called meta-atoms, that can be used to manipulate the phase of light element-by-element and thereby shape the wavefront of laser beams. This allows for the design of flat lenses and other optical elements that can be used in various applications such as polarization, phase, or light field imaging3,4,5,6,7,8,9,10. While most of the previously mentioned works focus on the use of metalenses in imaging and beam shaping applications, there are only a few reports on using those optical elements in the field of photoacoustic imaging11,12,13,14. While first promising experimental results have been reported by Barulin et al.12, the used metalenses relied on complex fabrication techniques and materials.

Photoacoustic imaging is a powerful technique that involves a combination of sample excitation with a pulsed light source and the detection of acoustic waves that are generated inside the sample. This energy conversion effect, which is generally known as the photoacoustic effect, is based on the local heating effect eventually resulting in the generation of ultrasound waves. It can be exploited for the reconstruction of high-resolution images of the sample and even gain a functional insight into the sample’s composition by exploiting wavelength-dependent absorption characteristics15,16,17,19. In photoacoustic microscopy (PAM), this is most often achieved by scanning a tightly focused laser beam across the sample while detecting the generated ultrasonic waves at each excitation point. Depending on the type of photoacoustic microscope, the resolution is therefore either determined by an acoustic lens that is part of the ultrasound receiver (acoustic resolution PAM, AR-PAM) or by the optical element that is used to focus the excitation laser beam (optical resolution PAM, OR-PAM)20,21,22. One particular field of application for photoacoustic instruments that has become more prominent over time is medical and biological imaging of living organisms and the field of histology. The possibility of achieving a high lateral resolution while retaining a large depth of field, combined with the ability to gain functional information, such as the oxygenation of blood, makes PAM an ideal tool17,18,23,24.

PAMs can be implemented in many ways, but one of the difficulties that all of them face is the need to bring comparatively bulky optical and acoustic elements into close proximity to the sample, properly aligned with respect to each other. Reducing the footprint of the focusing elements and reducing their number can help to overcome these limitations. Replacing conventional lenses with metalenses is one way to target this issue, as they can be made microscopically small and flat. This even allows for the direct integration of metalenses into other optical elements, such as optical fibers, giving them an even wider range of flexibility25.

Further, metalenses cannot solely be used as replacements for existing optical elements; they enable far-reaching manipulation of light fields in a manner that is not easily achievable with conventional lenses. Exploiting the arbitrary phase profile that can be imprinted on a beam of light using a metalens allows for structuring the beam in an almost arbitrary fashion, even allowing for reconfigurability, relying only on one element26,27. This can be used to create beams or foci with a high depth of field or beams with tailored intensity, phase, and polarization properties, which can be beneficial for certain applications of PAM28,29.

In this work, we present the design, simulation, fabrication, and, most importantly, experimental characterization of two metalenses that were used in an OR-PAM setup. These two resist-only metalenses are fabricated by using a single-step electron-beam lithography (EBL) process. This ensures a fast and cost-effective fabrication of the lenses while retaining good optical performance for photoacoustic applications. The first metalens was designed using a basic approach by only utilizing a phase function to focus normally incident light, while the second lens included the phase function of a blazed grating to separate the focus from the zeroth order and thereby reduce the influence of parasitic light, which is contained in the zeroth order, on the PA signal generation. This platform has the potential to be used in various applications in PAM and is easily adaptable and extendable to more intricate designs, such as multifocal metalenses or even metalenses with a tunable focal length.

Results

Working principle and setup

We built an OR-PAM with an interchangeable resolution-defining optical lens. This yields the opportunity to test various lenses for their resolving power, including metalenses, which were the main target of this work. The excitation light source for our PAM is a pulsed laser with a central wavelength of 532 nm and a pulse duration of 2 ns, operating at a repetition rate of 500 Hz.

A schematic illustration of the essential parts of the setup is shown in Fig. 1. The optical components include an aperture with a diameter of 600 μm to ensure an equal illumination area of both metalenses and the conventional lens as a reference. The lens under investigation is placed close to this aperture, focusing the beam directly onto a USAF-1951 resolution target that is mounted on a magnetically driven xy-stage for easy scanning and a manual high-precision z-stage to aid the overall alignment with respect to the lens’ focal plane. A piezoelectric ultrasound transducer (UT), used solely as a receiver, is brought into contact with the sample, using a thin layer of water, ensuring optimal acoustic coupling. The transducer is equipped with an acoustic lens with a focal spot size of ~80 μm. This ensures that only acoustic signals from certain areas are recorded, while the used optical lens stays the resolution-defining element since its focal spot is one order of magnitude smaller. The acoustic lens also ensures that signals from only one of the diffraction orders are recorded when examining metalenses that include the phase of a diffraction grating.

Fig. 1: Schematic illustration of the experimental setup.
figure 1

After passing through an aperture, the excitation laser beam propagating along the positive z-axis is focused onto the USAF-1951 resolution target by the lens under investigation. The photoacoustic signal is detected by the ultrasound transducer (UT). The insets show detailed views of a metalens schematic, including a diffraction grating phase function a and the nanostructures b.

Both the aperture and the lens under investigation are mounted in xy-translation mounts, allowing for precise alignment with respect to the optical axis of the setup. The UT is mounted on a xyz-stage, aiding the alignment of the acoustic to the optical focus and therefore to the origin of the acoustic wave generation.

The signals collected by the UT are amplified and recorded using a digital storage oscilloscope. Triggering accuracy was ensured by a photodiode that was placed close to the beam path, recording the occurring stray light of the excitation laser beam.

Metalens design, fabrication, and optical characterization

Many state-of-the-art metalenses consist of materials that need highly specialized fabrication techniques to reach their full potential, such as TiO21,30, Si3N431 or Si32 (used in the NIR and visible range). The use of these specific transparent dielectrics can be circumvented by using resists that are already part of the fabrication process in EBL as dielectric materials. This allows for a substantial reduction in the number of processing steps while retaining good optical performance and flexibility in the design33.

Most basic metalenses are designed to mimic the focusing properties of conventional lenses as closely as possible. This is achieved by creating a focusing phase profile across the metalens’ surface by strategically placing nanostructures of different shapes and sizes on a substrate34,35. Given a focal length f and a wavelength λ, the lenses’ phase profile φL(xy) can be described by the following equation35,36

$${\varphi }_{L}(x,y)=\frac{2\pi }{\lambda }\left(f-\sqrt{({x}^{2}+{y}^{2})+{f}^{2}}\right).$$
(1)

Due to the limited focusing efficiency of the original metalens (OM), some unaltered (unfocused) light passes and interacts with the sample. This led to an unwanted photoacoustic excitation, reducing the achievable resolution. To avoid any unwanted signals from this background, we additionally designed a metalens with an added blazed grating phase profile (GM). This grating phase profile deflected focused light to its first diffraction order, i.e., away from the zeroth order (see also Fig. 1), and thus separated altered from unaltered light. This separation allowed for the use of signals that were solely generated by the interaction of the focused, first diffraction order light with the sample. As we will show later, this leads to an increase in the contrast of the resulting signals and therefore to an overall improvement in the PAM image.

The required grating, for normal incidence, was calculated using the well-known equation36

$$m\lambda =d\sin (\theta ),$$
(2)

where m is the diffraction order, λ the wavelength of the light, d the grating period, and θ the angle of diffraction. The spatial separation D of the focus from the zeroth order in the focal plane can be calculated as

$$D=f\tan (\theta ).$$
(3)

The full phase profile φD to be encoded on the metalens is then given by the sum of the focusing phase profile and the grating phase profile

$${\varphi }_{D}(x,y)={\varphi }_{L}(x,y)+{\varphi }_{G}(x,y).$$
(4)

Here, \({\varphi }_{G}(x,y)=2\pi \left(\frac{x}{{d}_{x}}+\frac{y}{{d}_{y}}\right)\), where dx and dy are the blazed grating periods in the x and y direction, respectively.

To identify the relation between the size of our individual nanostructures and the respective phase shift, finite-difference time-domain (FDTD) simulations were carried out. These simulations model an infinite array of cuboid-shaped holes set in a polymethyl methacrylate (PMMA) layer with a thickness of 1.6 μm. They were repeated for various hole sizes. As can be seen in Fig. 2, the phase shift induced by the modeled structures is highly dependent on their lateral size. Another important result of these simulations is the dependence of the transmission on the size of the nanostructures, since the overall transmittance should stay constant and be as high as possible. The simulated structures feature a transmittance close to 1 (see Fig. 2). The simulated results were interpolated using a cubic spline to allow for more precise control over the phase profile of the metalens. A more detailed description of the simulation setup can be found in the methods section.

Fig. 2: Result of FDTD simulations for individual unit cell geometries.
figure 2

Showing the relation of phase shift and transmission of square nanohole arrays as a function of the side lengths of individual holes. The insets show four unit cells each, one group having holes with a short side length (a) and one holes with a long side length (b). The full arrays were realized by employing periodic boundary conditions.

The results of these simulations indicated that side lengths of our nanoholes from 60 nm to 155 nm were sufficient to fully cover the whole phase range from 0 to 2π. These results, together with Eq. (1), allowed us to design a metalens with a focal length of f = 3 mm and a diameter of 500 μm for a wavelength of λ = 532 nm.

The second metalens we designed included the phase of a diffraction grating, leading to an overall phase profile according to Eq. (4). The focal length was set to 5 mm, and the grating period was chosen as dx = 6.1 μm. The grating term in the y-direction was omitted. This led to a diffraction angle of θ = 5°. Which in turn, according to Eq. (3), resulted in a spatial separation of D = 437 μm between the focus in the first and the zeroth order, a sufficient distance to avoid any interference. A schematic depiction of a smaller version of this metalens and its placement in the PAM can be seen in the insets of Fig. 1.

Further simulations were carried out to ensure that the phase profile of the metalenses was as close to the desired one as possible and that the resulting focus was within the design specification. Since full simulations of metalenses are computationally expensive, we decided to perform the calculations for down-scaled versions of the metalenses, with one-tenth of the size of the manufactured ones, while keeping the same numerical aperture. The resulting simulated focal fields can be seen in Fig. 3.

Fig. 3: Simulated focal fields of the metalenses.
figure 3

Results of the FDTD simulations for the focal fields of the downscaled metalenses. Subfigures ae show the results for the focal field of the metalens without a grating, while subfigures fj show the results for the focal field of the metalens with a grating. Subfigures a and f show the images of the focal plane as they were simulated; subfigures b and g depict background-corrected versions of these. They were scaled to the actual dimensions of the focal field, and indications of the profiles that were taken were added, which are shown in subfigures c, d, h and i. Finally, subfigures e and j show the profiles along the optical axis, including a regression line to indicate the depth of field.

These results show several profiles taken through the focal fields of the metalenses. One depicts the intensity of the light field in the laterally oriented focal plane, while the other displays the xz-section at position y = 0, indicating the light intensity distribution along the propagation direction. Additionally, one-dimensional profiles through the aforementioned sections are shown. To get an idea of the behavior of the depth of field for these lenses, the intensity along a regression line through the focal spot is overlaid with the profiles in Fig. 3e and j. This clearly shows a strong elongation of the focal spot in the axial direction for the GM.

By using a single-step EBL process, we were able to fabricate the designed metalenses with high accuracy. To evaluate the quality of the produced structures, selected samples were investigated using a scanning electron microscope (SEM). The exemplary SEM images of a small metalens, fabricated with the same nanostructure sizes that were used for the final metalenses mentioned above, are shown in Fig. 4.

Fig. 4: Scanning electron microscope images of a fabricated metalens.
figure 4

SEM image of the metalens with a diameter of 25 μm, designed without a grating. The inset shows a clear view of the individual unit cells, each sized at 350 nm, containing cuboid-shaped holes with different side-lengths.

Before these lenses were used in the PAM, their optical performance was tested and compared to a conventional glass lens with a focal length of 5 mm. Regarding the details about the setup used to characterize the focal field of the lenses, we refer to the methods and materials section. In essence, it consists of a collimated laser beam generated by a supercontinuum source, an acousto-optic tunable filter to select the design wavelength of the lenses to be characterized, the same aperture as in the PAM setup, and a microscope objective to get a 100× magnified image of the focal spot onto a camera. The latter ensures a precise analysis of the lateral field distribution. Several images were recorded at different distances from the lens under investigation to get a full three-dimensional intensity map of the focal field. The results are shown in Fig. 5.

Fig. 5: Experimentally measured focal fields of the investigated lenses.
figure 5

Experimental results for a conventional glass lens (ae), the metalens without additional grating phase (fj), and for the metalens with a superposed grating phase (ko). Subfigures a, f and k show the images of the focal plane as they were recorded; subfigures b, g and i depict background-corrected versions of these, scaled to the actual dimensions of the focal field, and added indications of the profiles that were taken, which are shown in subfigures c, d, h, i, m and n. Finally, subfigures e, j and o show the profiles along the optical axis, including a regression line (dotted red line) to indicate the depth of field.

The background-corrected focal spot in the transverse plane is depicted in Fig. 5b, g, and l, for the conventional glass lens, the OM and the GM, respectively. These images were further analyzed using profiles taken along the lines indicated in green and red, which are depicted in Fig. 5c and d, for the glass lens, Fig. 5h and i for the OM, and Fig. 5m and n, for the GM. Finally, two-dimensional profiles along the optical axis are shown in subfigures Fig. 5e, j, and o, where the optical axis for each lens is indicated by a dashed red line. While the optical axes of the conventional glass lens in Fig. 5e and the OM in Fig. 5j are horizontal, the one for the GM in Fig. 5o is slightly tilted by 5°. This tilted optical axis requires a slight adjustment of the experimental setup, which poses no difficulty due to the small angle. Additionally, intensity distributions along these lines were taken and overlaid on the images.

The simulation results shown in Fig. 3 and the experimental results in Fig. 5 are in good agreement. In addition to the SEM images of the fabricated metalens (see Fig. 4), this is another strong indicator of the high quality of the fabricated metalenses. For a graphical comparison, the simulated profiles for the minor and major axes of the focal spots were overlaid with the experimental results; see Fig. 5h, i, m, and n. The full width at half maxima (FWHMa) of the focal spots were calculated by fitting Bessel functions to the intensity profiles and are summarized in Table 1.

Table 1 Results of the lens characterization

The results unambiguously prove that our fabricated metalenses can focus light to a spot size that is comparable to that of a conventional glass lens, with a slightly worse lateral resolution.

The GM showed a larger focal spot, which can be attributed to the additional non-centrosymmetric phase profile that was introduced. However, a strong elongation of the focal spot in the axial direction was observed, which is beneficial for some applications of PAMs28,29. One area of research where these longitudinally elongated foci show their merits is histological imaging, where a large depth of focus allows for high-resolution imaging, despite some irregularities in the sample surface13,14. The separation of the focus through the splitting into different diffraction orders also allowed for an easy measurement of the metalenses efficiency, as the individual parts were measured using a knife edge for blocking certain parts of the beam. The calculation of the efficiency was then carried out by a simple comparison of the intensities of the blocked and unblocked beams, following the equation

$${I}_{1}={I}_{total}-{\sum }_{i\ne 1}^{n}{I}_{i},$$
(5)

where Itotal is the total intensity of the beam and Ii are the intensities of the individual diffraction orders, while i = 1 represents the focused beam used for PAM measurements. The efficiency of the metalens was then calculated as the ratio of the intensity of the focused beam to the total intensity of the beam \(\frac{{I}_{1}}{{I}_{total}}\). This results in a measured efficiency of 20%, not quite matching the percentages of around 50% reported for similar resist-only metalenses33. Considering absorption and scattering losses within the metalens, the efficiency drops to 17%. However, taking into account the high aspect ratio of our nanostructures (up to 1:26) and the low refractive index of our PMMA resist (n = 1.49), this result is still within the expected range.

The efficiency of the conventional glass lens was measured to be 90%, comparing the incoming and transmitted power.

Characterization of the photoacoustic microscope

To fully characterize the performance of our PAM system with these lenses, they were inserted into the setup (see Fig. 1) and a series of time traces and 2D scans were recorded. These measurements were performed with varying positions of the sample along the optical axis. The individual signals were generated with a highly absorbing material to obtain a sufficiently good signal quality for all lenses, to get an idea of their overall performance, and to see how they compare to each other in the time domain. The signals were normalized to their minimum value, the average of the signal was subtracted, and it was shifted in time to have the minimum of the signal at time zero.

The average power of the laser was set to 138 μW for the metalenses and to 22.8 μW for the conventional glass lens. This power reduction was necessary to avoid any damage to the sample since the glass lens had a much higher focusing efficiency than the metalenses. The power was measured directly after the aperture for each measurement to ensure that absorption losses did not influence the results and to determine the focusing efficiency by relating the measured values to the generated PAM signal amplitudes. The individual signals that were captured can be seen in Fig. 6.

Fig. 6: Comparison of photoacoustic signals.
figure 6

Individual PAM time-signals for all three lenses. The signals were normalized to their negative peak value, the average was subtracted, and the signals were shifted in time to have the minimum at time zero. The signal-to-noise ratio (SNR) is given by the ratio of the minimum to the standard deviation of the signal’s noise.

Comparing the signals reveals that all the temporal PAM signals recorded with the three different lenses feature a similar shape. The form is being characteristic for acoustic waves generated by pulsed laser radiation in the acoustic focal plane and measured with a piezoelectric UT with a limited bandwidth. Moreover, the signals are almost of the same width after being normalized. This already indicates the suitability of metalenses for PAM. In addition, the signal-to-noise ratio (SNR) of the metalenses is noticeably lower than that of the conventional glass lens. This can be attributed to the lower focusing efficiency of the metalenses, which is five times less. The difference in SNR between the OM and the GM stems from the unperturbed light intensity that is filtered by the added grating phase function of the GM. Although this intensity leads to a higher SNR for the OM, it is not beneficial to the overall imaging results, as can be seen in Fig. 7. The investigation of the lateral resolution was carried out using a USAF-1951 resolution target. The target was placed in the focal plane of the lens under investigation and scanned in the xy-plane. The maximum amplitude projections (MAPs) of these scans are shown in Fig. 7.

Fig. 7: Resolution target scans.
figure 7

MAPs of the scans of the USAF-1951 resolution target, taken with a the conventional glass lens, b the metalens without a grating phase and c the metalens with a grating phase. The subfigures d and e show the zoomed-in views of groups 6 and 7 for the glass lens and the metalens with a grating phase, respectively.

With our reference lens, we were able to resolve element 5 of group 6, which is equivalent to a resolution of 4.92 μm. This served as a baseline for the other measurements. The metalens without a grating phase was able to resolve up to element 2 of group 4, hence featuring a lateral resolution of 27.84 μm. The metalens with a grating phase was able to resolve up to element 3 of group 6, achieving a lateral resolution of 6.2 μm. To retrieve these numbers, we calculated the average of 10 line scans and analyzed the modulation of the resulting data. While having slightly different numerical apertures due to the different focal lengths of the lenses and the aperture size (see Table 1), the resolutions are comparable. The resolution of the metalenses is slightly worse than that of the reference lens, which was expected when considering the FWHMa of the focal spots of the lenses. Comparing the two metalenses shows that even though the OM has a smaller focal spot size, its lateral resolution is measurably lower than for the GM. This stems from the signal that is generated by the light field that is not being focused, which is still sufficiently strong to generate sound waves that are detected by the US. Consequently, the OM exhibits reduced contrast, as can be seen in Fig. 7b. Hence, the added grating phase function clearly shows its benefits when it comes to the lateral resolution of the PAM in the plane of focus.

To characterize the different lenses with respect to their depth of field, we performed one-dimensional scans over a region with several sharp edges on the resolution target. This was done for increasing distances from the focal plane for each lens. Additionally, these measured lines were fitted with Gaussian error functions

$$f(x,\sigma )=\,{\mbox{erf}}\,\left(\frac{x}{\sqrt{2}\sigma }\right).$$
(6)

Here, x is the distance to the edge and σ is the standard deviation of the error function. The underlying assumption of this method is a radially symmetric Gaussian point spread function of the PAM system with a standard deviation σ. The results of these measurements are shown in Fig. 8. σ can be used as a measure of the lateral PAM resolution.

Fig. 8: Depth of field measurements.
figure 8

MAPs of line scans over a sharp edge, taken with ac the conventional glass lens, df the metalens without a grating phase and gi the metalens with a grating phase. The z-distance is measured from the focal plane, where a positive distance indicates a distance further away from the lens and vice versa. Subplots a, d and g show line scans at three distances (–500 μm, 0 μm, 500 μm) from the focal plane, including fitted Gaussian error functions (see Eq. (6)). Subplots b, e and h depict the line scans at all distances, while subplots c, f and i show the standard deviation of the fitted Gaussian error functions and the normalized intensity of the line scans.

The high lateral resolution of the conventional glass lens was once more confirmed by these measurements, indicated by the sharp edge, and, therefore, low σ, of all measured lines. But after a distance of 500 μm from the focal plane, the signal strength starts to significantly weaken, which is unfavorable for imaging samples requiring a large depth of field14.

A similar trend can be seen for the OM (see Fig. 8e and f). Even though the lateral resolution is quite good in the focal plane, it worsens quickly for distances further away from the focal plane.

The GM, on the other hand, shows much better performance in both the lateral resolution and the signal strength over a large region of distances from the focal plane. Even for distances of up to 500 μm from the focal plane, the resolution and signal strength stay high, as expected from the focal field (see Fig. 5). Overall, the resist-only metalens with the added diffraction grating phase behaved as designed and opens up the possibility for high-resolution imaging over a large depth of field with a single, easy-to-fabricate optical element.

To further illustrate the benefits of the GM’s design, especially compared to a conventional lens made of glass, we conducted an experiment involving a phantom sample with three-dimensional structures. The sample consisted of an agar matrix with embedded carbon fibers and black polyethylene microspheres, which were randomly positioned and oriented. The diameters of the individual fibers and the microspheres were measured to be roughly 10 μm. A microscope image of this sample is shown in Fig. S1 of the supplemental material, and a more detailed description of the sample fabrication process is given in the methods section.

The data was acquired by scanning the phantom sample along the x- and y-axes while reconstructing the depth information (z-axis) from the time of flight information contained within the acoustic signals. The results of the experiments are shown in Fig. 9. Fig. 9a and b shows three-dimensional data of a section of the sample recorded with the PAM setup, using the glass lens and the GM, respectively. The depth is encoded using hue, indicated by the color bars, while the intensity of the signal is encoded in the saturation of the images. While the resolution of both images seems quite similar, the intensities of the features that were recorded with the GM appear to be more uniform. This is especially visible for features that are further away from the focus of the lens, like the microsphere in the center of the images, which is encoded in an orange hue.

Fig. 9: Three-dimensional phantom measurements.
figure 9

MAPs of two-dimensional scans of a region of the phantom sample, including carbon fibers and black polyethylen microspheres, captured using a the conventional glass lens and b the GM. The depth of the features is encoded using the color hue, while the signal intensity is encoded using opacity. The colored bars indicate positions where three profiles were taken, which are shown in c for the glass lens and d for the GM, respectively.

A more quantitative analysis is shown in Fig. 9c and d, where three profiles through sections of the formerly discussed images are shown, for the glass lens and the GM, respectively. The positions these profiles stem from are indicated by color-coded bars in Fig. 9a and b. To ensure a fair comparison by reducing the noise level, the average of 16 adjacent bars was taken to plot the intensity profiles. The three features that were investigated in this way stem from three height regions with respect to an arbitrarily chosen zero point. The focus of the lenses was set to roughly align with the second (orange) feature at around 100 μm, the first feature (blue) lies at around 20 μm, and the third feature (green) at around 300 μm. This analysis once again shows that the signal intensity for regions outside the focal plane of the glass lens decreases more quickly than for the GM. Together with the results from the depth of field measurements shown in Fig. 8 and the optical analysis shown in Fig. 5, these results prove the benefit of using the GM for PA applications where an increased depth of field is of importance. This benefit is further illustrated in two videos that are provided as supplementary movie 1 and supplementary movie 2, which show a three-dimensional depiction of the recorded data.

Discussion

We designed and fabricated two metalenses for the excitation of acoustic waves in a PAM. While we chose a purely focusing phase profile for the first metalens, we added a blazed grating phase function to the second one. This grating turned out to be beneficial with respect to the recorded images, as it allowed for a higher contrast and an improved depth of field, proven by simulations of the focal field as well as with experimental results.

The metalenses were fabricated using solely PMMA resist, commonly used in EBL. This made the fabrication comparatively straightforward by omitting several processing steps that are usually needed when building metalenses37. The structures were of a high quality, as was confirmed by SEM images of the fabricated lenses. A comparison to a conventional glass lens in our setup also showed the strong performance of the metalenses in the focal volume and the superior performance of the metalens with grating at large distances from the focal plane.

While metalens-like structures have been proposed for and used in photoacoustics before13,14, we were able to experimentally show that metalenses can be used in PAMs without the need for additional optical elements, such as glass lenses or objectives. Furthermore, we have shown an extension of the depth of field of the PAM without introducing additional optical elements by simply adapting the design of the used metalens. This opens up new possibilities for PAMs, especially in the field of histological imaging, where a large depth of field is crucial for high-resolution imaging28,29.

The results of this work show that metalenses are a viable alternative to conventional glass lenses in PAMs, particularly for certain applications, such as histological imaging. They can be used to achieve similar resolution, while also offering the possibility of an extended depth of field and other beam shaping possibilities. This makes them a valuable tool for the field of PAM, especially in applications where flat and miniaturized optics are beneficial.

Reducing the size and weight of the optical components of PAMs is one of the possibilities to facilitate their use in clinical applications. Additionally, some scanning techniques rely on moving the optical components, which can be sped up significantly if the overall weight is reduced. Besides the reduced size and weight, compared to conventional optical elements, meta-optics bare the potential to be multi-functional, combining several optical or even optical and acoustic functionalities in one single element. Having proven the possibility of using simple resist-only metalenses in PAMs could pave the way for a variety of sophisticated meta-optical elements in PAMs.

Materials and methods

Numerical simulations

To calculate the properties of arrays of single-size nanostructures that are shown in Fig. 2, we used a FDTD based commercial software, Lumerical by Ansys Ltd. A layer system was implemented, consisting of a BK7-glass layer and a PMMA layer with a thickness of 1.6 μm. The system was placed in air. To mimic an infinitely extended array of the nanostructures under study, periodic boundary conditions were used along the grid and perfectly matched layers (PML) along the optical axis. The structures are illuminated with a linearly polarized monochromatic plane wave source under normal incidence from the glass side.

This process was repeated for 21 different side lengths of the nanoholes, ranging from 50 nm to 160 nm, recording the phase shift and transmission of the array for each simulation.

After fitting the results with a cubic spline, a region of nanoholes was selected that covered the full phase range from 0 to 2π, while keeping the transmission close to 1. Care was taken to choose aspect ratios that were easy to fabricate.

To simulate the focal fields of the whole metalenses, we used the same software. Placing nanoholes in the PMMA layer according to Eq. (1) and Eq. (4), and replacing the periodic boundaries with PMLs, we were able to simulate the focal fields of down-scaled metalenses.

Metalens fabrication

After performing a general preparation process for the EBL on the glass substrates, the 1.6 μm thick PMMA layer was spin-coated onto it. Afterward, the sample was exposed with an 30 kV electron beam using a clearing dose of 240 μC/cm2. The designs used for the metalenses were proximity corrected using the software Beamfox by Beamfox Technologies ApS. The exposure was performed using an eLine Plus system from RAITH GmbH.

After the exposure, the samples were developed and rinsed. No further processing steps were required.

Agarose sample fabrication

For the three-dimensional agarose sample that was used in the characterization of the photoacoustic microscope, a mixture of distilled water with 1.5% biology-grade agar powder was prepared. This mixture was cooked and cast into a several millimeter-thick disc. Carbon fibers and polyethelene microspheres (Polybead Black Dyed Microspheres, 10.0 μm), both with diameters of 10 μm, were placed randomly within this agar-water disc.

Optical characterization

We optically characterized the lenses by measuring the focal fields using a microscope setup. A super continuum source (SuperK Extreme NKT Photonics A/S) combined with a tunable spectral filter was used to generate a collimated narrow bandwidth beam of light. This beam was first cut by an aperture and then focused by the lens under investigation. The generated focal field was then imaged onto a camera using a microscope objective with a numerical aperture of 0.8 at 100× magnification. To record the complete 3D intensity, images were captured while scanning the objective along the optical axis, close to the focal plane, with a micrometer precision linear stage.

The efficiency of the metalens with the grating was easily measured by blocking parts of the beam and measuring the power with a power meter, as described in the results section (see also Eq. (5)).

Photoacoustic microscope characterization

The general setup of the OR-PAM is described in the results section and can be seen in Fig. 1. It is equipped with a frequency-doubled pulsed Nd:YAG light source (BrightSolutions) providing laser pulses with a central wavelength of 532  nm and a pulse duration of 2 ns.

The generated photoacoustic signals were captured using a piezoelectric UT, with a central frequency of 50 MHz and a bandwidth of 80% (V214-BB-RM Olympus NDT Inc.). In addition, in front of the UT an acoustic lens was attached with 9  mm focal length and acoustic detection aperture of \(N{A}_{ac}=\frac{D}{2{f}_{ac}}=0.35\). To increase the amplitude, the signals were amplified using two cascaded voltage amplifiers (Mini-Circuits ZFL-500LN+, 28 dB), the recording was done using a digital storage oscilloscope (Tektronix MSO44). The precise movement of the sample was ensured by two magnetically driven stages (V-408 PIMag Physik Instrumente GmbH & Co. KG). All components were synchronized by a Python script, controlling the oscilloscope and the stages.