Introduction

Materials characterization is of crucial importance for basic research as well as for a wide number of applications, ranging from virtually every field of advanced technology to cultural heritage purposes. Ion Beam Analysis (IBA)1,2 is an important family of modern analytical techniques to probe the composition and the surface structure of solid samples with MeV ion beams. IBA has found use in an impressive number of applications3, including biomedical elemental analysis4, semiconductor industry5, cultural heritage studies6, forensic analysis7, and nuclear fusion research8. The appeal of these techniques is due to their non-destructive nature and their unparalleled detection capabilities.

The layout of an IBA apparatus involves an ion source, a target chamber (where the sample is placed) and suitable diagnostics. The interaction of the ions with the sample generates a secondary emission, whose properties allow to retrieve the structure and the elemental composition of the sample.

Despite the growing interest for IBA and its widespread adoption by industries and research institutes, in most cases the oldest accelerator technologies, mostly Van de Graaf and Tandem systems, are adopted. As a consequence, all the available IBA techniques have been developed considering only monochromatic, conventional accelerator-based ion beams. Conventional ion sources are invariably affected by a number of limitations: non-tunable energy, radioprotection issues9, high costs, non-portable size. Ion sources driven by superintense lasers represent a very interesting alternative10. The investigation of laser-driven particle sources is a thriving research area, as demonstrated by the growing worldwide investments in large-scale facilities11, such as the pan-European Extreme Light Infrastructure12.

The most relevant properties of laser-driven ion sources (maximum ion energy and ion number per laser shot) already exceed, in principle, the requirements for several IBA techniques. In addition, recent progress in exploiting non-conventional targets allows to achieve such beam parameters with reduced laser requirements, which may now realistically fall into the class of compact, table-top Terawatt systems13,14. Moreover, laser-driven ion sources offer the possibility to easily and rapidly change the energy of the accelerated ions. This can be done simply by tuning the laser pulse energy, with concrete, major advantages in terms of flexibility. As far as radioprotection is concerned, laser-driven ion sources should be more manageable since the radiation fields originate from a small region surrounding the laser-target interaction point. Thus, laser-driven ion accelerators for IBA offer a concrete route for increased flexibility and more compact, cheaper systems with reduced radioprotection concerns, which could revolutionize the entire field. On the other hand, the peculiar nature of these sources, invariably characterized by a broad energy distribution10, requires to address novel, so-far unsolved, challenges to make laser-driven IBA a reality.

In this work we demonstrate the full potential of laser-driven ion sources for IBA, by means of a detailed theoretical-numerical investigation of a particularly interesting technique: Proton Induced X-ray/Gamma-ray Emission, PIXE/PIGE. Specifically, we address and solve the following points: i) extension of the theoretical models to interpret PIXE/PIGE data, in order to make them suitable for laser-driven ions ii) development of realistic numerical simulations of a laser-driven PIXE experiment to show the capability of retrieving material properties with the developed numerical methods iii) design of a proof-of-concept, transportable, laser-driven source for IBA (see Fig. 1), obtained combining a compact, TW-class laser15 with a non-conventional targetry solution based on nanostructured double-layer targets16,17,18,19,20,21.

Figure 1
figure 1

Laser-driven in-air PIXE scheme. (a) Laser-driven ion source: a double-layer target irradiated with an ultraintense laser (snapshot of a PIC simulation); (b) Monte Carlo simulation setup (electrons shown in red, ions shown in blue and X-rays shown in green): (b1) first aperture slit; (b2) 2.5 cm long dipole magnet having a field strength of 0.15 T; (b3) second aperture slit; (b4) 1 μm thick exit window made of Si3N467; (b5) sample in air (2 cm from exit window); (b6) proton energy spectrum at sample surface; (b7) 2.6 × 2.68 cm2 rectangular screen representing a PI-LCX:1300 CCD camera; (b8) Example of one of the proton energy spectra at sample surface; (c) retrieved elemental concentration profiles (solid lines) vs real ones (filled regions).

PIXE/PIGE theory with laser-driven ions

Laser-driven ions are invariably characterized by a broad-spectrum energy distribution10, whose shape depends on the specific acceleration mechanism. Since PIXE/PIGE formalisms have been developed only for monochromatic ion sources2, extending the theory for arbitrary energy distributions is a crucial step. Consider first conventional PIXE analysis, performed on a thick homogeneous sample composed by I elements of atomic weights Mi and mass concentrations Wi, irradiated with a monoenergetic proton beam of initial energy E0 and total number of protons Np. The number of X-rays Yi, associated to one characteristic line for the i-th element, is2,22:

$${Y}_{i}={N}_{p}\frac{{\rm{\Delta }}{\rm{\Omega }}}{4\pi }{\varepsilon }_{i}\frac{{N}_{av}}{{M}_{i}}{W}_{i}{\int }_{{E}_{0}}^{{E}_{f}}{\sigma }_{i}(E){\omega }_{i}{e}^{-{\mu }_{i}{\int }_{{E}_{0}}^{E{\rm{^{\prime} }}}\frac{dE{\rm{^{\prime} }}}{S(E{\rm{^{\prime} }})}\frac{\cos \theta }{\cos \phi }}\frac{dE}{S(E)}\equiv {N}_{p}{{\rm{\Gamma }}}_{i}({E}_{p})$$
(1)

where ΔΩ and εi are the subtended solid angle and the efficiency of the detector, Nav is the Avogadro’s number, Ef is the final proton energy after slowdown in matter, σi(E) is the ionization cross section, ωi is the fluorescence yield, S(E) is the proton stopping power in the sample, μi is the X-ray attenuation coefficient, θ is the proton impact angle and φ is the X-ray emission angle. The integral takes into account the production of X-rays along the proton range, as well as their attenuation inside the material, and it is therefore computed over the projectile energy.

By neglecting the secondary fluorescence contribution, quantitative PIXE analysis can be performed by solving a system of I equations like equation (1), where the X-ray yields \({Y}_{i}^{\ast }\) are measured experimentally and the unknowns are the mass concentrations Wi of the elements. The system is non-linear because both the X-ray attenuation coefficients μi and the proton stopping power S(E) depend upon the sample composition. Accordingly, the solution can be found by minimizing a parameter like \({\chi }^{2}=\sum _{i}{[({Y}_{i}-{Y}_{i}^{\ast })/\sqrt{{Y}_{i}^{\ast }}]}^{2}\), making use of an iterative procedure.

If the sample is non-homogeneous, the goal of the analysis is to retrieve the concentration profiles of the element as a function of the thickness. In general, X-rays are emitted along the whole path of the protons inside the sample and the emission cannot be directly related to the deposited energy. In other words, it is not possible to simply assume that X-ray emission is representative of the sample composition at the Bragg peak. Therefore, a dedicated procedure must be followed as far as a non-homogeneous sample is of concern. In this case, differential PIXE analysis can be applied by ideally splitting the sample in a finite number J of fictitious layers having mass thicknesses ρjRj and homogeneous compositions Wi,j, as shown in Fig. 2(a). Assuming to perform K measurements at different proton energies \({E}_{p}^{k}\), the following system of equations can be written22,23:

$${Y}_{i}^{k}={N}_{p}^{k}\frac{{\rm{\Delta }}{\rm{\Omega }}}{4\pi }{\varepsilon }_{i}\frac{{N}_{av}}{{M}_{i}}\sum _{j=1}^{J-1}{W}_{i,j}{e}^{-\sum _{l=1}^{j-1}{(\frac{\mu }{\rho })}_{i,l}\frac{{\rho }_{l}{R}_{l}-{\rho }_{l}{R}_{l-1}}{\cos \phi }}{\int }_{{E}_{p,j+1}^{k}}^{{E}_{p,j}^{k}}{\sigma }_{i}(E){\omega }_{i}{e}^{-{\mu }_{i,j}{\int }_{{E}_{p}}^{E{\rm{^{\prime} }}}\frac{dE{\rm{^{\prime} }}}{{S}_{j}(E{\rm{^{\prime} }})}\frac{\cos \theta }{\cos \phi }}\frac{dE}{{S}_{j}(E)}$$
(2)

where \({N}_{p}^{k}\) is the number of protons with energy \({E}_{p}^{k}\), \({(\frac{\mu }{\rho })}_{i,j}\) and Sj(E) are the X-ray attenuation coefficient and proton stopping power associated to the j-th layer, \({E}_{p,j}^{k}\) and \({E}_{p,j+1}^{k}\) are the proton energies at the boundaries of the j-th layer (see Fig. 2(a)). The system of I × K equations can be solved if K ≥ J (i.e. if a number of measurements greater than or equal to the number of fictitious layers is performed) by χ2 minimization. The solution is represented by the set of discrete values of Wi,j and mass thicknesses ρjRj which best fit the experimental X-ray yields \({Y}_{i}^{k\ast }\).

Figure 2
figure 2

Differential PIXE scheme and properties of the laser-driven ion source. (a) Schematic representation of differential PIXE. (b) Snapshot at 267 fs of the macro-protons for the PIC simulation performed with a0 = 4.0. Only the central region of the simulation box is shown and the macro-particles are colored according to their energy. The two black lines indicate the normal to the target surface (\(\hat{n}\)) and a slightly tilted direction (\(\hat{t}\)). (c) Proton energy spectra for all the macro-particles (purple), for the particles propagating along \(\hat{n}\) (light blue) and \(\hat{t}\) (green). (d) Angular and energy distribution of the protons for the PIC simulation performed with a0 = 4.0 (t = 267 fs). Each panel shows the angular distribution at the corresponding energy range.

We extend this formalism to account for a non-monoenergetic proton energy spectrum, represented by the function fp(Ep) = dNp(Ep)/dEp, which we assume to be different from zero in the energy interval from Ep,min to Ep,max. The number of X-rays dYi generated by the incident protons with energy between Ep and Ep + dEp is dYi = dNpΓi = fpΓidEp. Therefore, integrating over the incident proton energy, equation (1) can be generalized as follows:

$${Y}_{i}=\frac{{\rm{\Delta }}{\rm{\Omega }}}{4\pi }{\varepsilon }_{i}\frac{{N}_{av}}{{M}_{i}}{W}_{i}{\int }_{{E}_{p,min}}^{{E}_{p,max}}{f}_{p}({E}_{p}){\int }_{{E}_{p}}^{0}{\sigma }_{i}(E){\omega }_{i}{e}^{-{\mu }_{i}{\int }_{{E}_{p}}^{E{\rm{^{\prime} }}}\frac{dE{\rm{^{\prime} }}}{S(E{\rm{^{\prime} }})}\frac{\cos \theta }{\cos \phi }}\frac{dE}{S(E)}d{E}_{p}$$
(3)

With the choice fp = Npδ(Ep − E0) (i.e. a monochromatic distribution) equation (3) reduces to equation (1).

Also the case of differential PIXE can be generalized for K arbitrary energy distributions. Equation (2) becomes:

$${Y}_{i}^{k}=\frac{{\rm{\Delta }}{\rm{\Omega }}}{4\pi }{\varepsilon }_{i}\frac{{N}_{av}}{{M}_{i}}\sum _{j=1}^{J-1}{W}_{i,j}{e}^{-\sum _{l=1}^{j-1}{(\frac{\mu }{\rho })}_{i,l}\frac{{\rho }_{l}{R}_{l}-{\rho }_{l}{R}_{l-1}}{\cos \phi }}{\int }_{{E}_{p,min}^{k}}^{{E}_{p,max}^{k}}{f}_{p}^{k}({E}_{p}){\int }_{{E}_{p,j+1}^{k}}^{{E}_{p,j}^{k}}{\sigma }_{i}(E){\omega }_{i}{e}^{-{\mu }_{i,j}{\int }_{{E}_{p}}^{E{\rm{^{\prime} }}}\frac{dE{\rm{^{\prime} }}}{{S}_{j}(E{\rm{^{\prime} }})}\frac{\cos \theta }{\cos \phi }}\frac{dE}{{S}_{j}(E)}d{E}_{p}$$
(4)

Here, the quantities \({f}_{p}^{k}({E}_{p})\), \({E}_{p,max}^{k}\) and \({E}_{p,min}^{k}\) refer to the k-th proton energy spectrum. Equation (4) implies that also in the case of broad spectrum sources it is necessary to use at least K different spectra to solve the system.

The formalism developed here for PIXE with arbitrary ion sources extends naturally also to PIGE24: the ionization cross section σi(E) and the fluorescence yield ωi must be replaced with the proper nuclear reaction cross section and isotopic abundance, while γ-ray attenuation (i.e. the exponential terms in all the equations) can be neglected.

If a laser-driven proton source is used, the shaping function fp(Ep) can take different forms, depending on the specific ion acceleration process10. Target Normal Sheath Acceleration (TNSA) is arguably the most well understood laser-driven ion acceleration mechanism: it stands out for its robustness among other schemes25, it has been used extensively as diagnostic tool in laser plasma interaction experiments26 and has been demonstrated in a repetitive regime27. TNSA can be outlined as follows: a micrometric solid foil is irradiated with an ultra intense laser pulse, which accelerates the electrons of the target towards the back side. The expansion of the hot electron cloud generates then an intense electric field, which drives ion acceleration. Accelerated ions (mostly protons from the hydrocarbon contaminants at the back side of the target) show an exponential energy distribution, with cut-off energies ranging from few MeVs for multi-TW class lasers13,14 up to ~100 MeV28,29 for high energy large scale laser systems. The energy distribution can also depend significantly on the angular selection as well as on the subsequent propagation toward the sample region. Other non-TNSA acceleration schemes, such as Collisionless Shock Acceleration (CSA)30 or Radiation Pressure Acceleration (RPA)31,32,33 have been reported in the literature. These acceleration schemes can provide a narrower energy spectrum with respect to TNSA, though still much broader than conventional electrostatic accelerators, and thus still incompatible with the standard algorithms for PIXE with monochromatic sources. Therefore, CSA or RPA cannot be considered more suitable than TNSA for PIXE. The approach described here could nonetheless be used in principle also for CSA or RPA.

Quantitative laser-driven PIXE analysis, both considering homogeneous samples and differential PIXE, requires to implement an iterative algorithm to solve the system of equations (3) or (4) to retrieve the sample composition, analogous to those used for PIXE with monoenergetic protons. We will test the capability to retrieve material properties in unknown samples by performing complete simulations of laser-driven PIXE measurements, as detailed in the following. Reliable and complete experimental datasets including both energy spectra and angular distribution for several laser intensities are not available in the literature. Therefore, we will exploit both a simplified analytical modeling and a realistic numerical description of the laser-driven proton source.

Simulation of a laser-driven PIXE experiment

The goal of the present work is to assess the potential of laser-driven PIXE in realistic scenarios, i.e. demonstrate the possibility to retrieve the composition of complex, realistic samples from X-ray emission induced by a laser-driven proton source. To this aim, we consider a selection of artifacts directly relevant for cultural heritage studies (e.g. paintings, jewelry…), a research field in which PIXE finds widespread use. The complexity of these artifacts, which naturally have a multi-elemental multi-layer composition, is an ideal testbed to demonstrate the general feasibility of laser-driven PIXE and differential PIXE for a wide range of applications. For the purpose outlined here, no useful experimental data are available in the literature, with only one, partial, exception. In34 the possibility to obtain an X-ray spectrum irradiating ceramic and metallic samples with a laser-driven proton source was demonstrated, assessing also the absence of any damage to the irradiated samples. However, the full composition was not retrieved and the reported data are too simplified to be considered for the goals of this work.

Therefore, by means of Geant4 Monte Carlo simulations, we generate “synthetic” realistic X-ray spectra (i.e. the experimental X-ray yields \({Y}_{i}^{\ast }\) or \({Y}_{i}^{k\ast }\)) in a variety of laser-driven PIXE scenarios (different artifacts and different laser-driven ion sources). For each scenario, the x-ray spectra are analyzed with an iterative code based on equations (3) and (4), as well as on an efficient minimization algorithm (see Methods section) designed to retrieve the sample compositions. These compositions are then compared with the sample composition initially set in the Monte Carlo simulations. In the following we will refer to the elemental concentrations set in the Monte Carlo code as the real concentrations and to the elemental concentrations retrieved by the iterative code as the retrieved concentrations. Specifically, we investigate a total of three scenarios (involving two different experimental set-ups).

For the first scenario we consider PIXE analysis of a homogeneous metallic sample in vacuum, performed with an idealized proton source. In this case, we choose a simple analytical TNSA-like exponential for the energy spectrum of the proton source in the Monte Carlo: \({f}_{p}({E}_{p})\sim \exp (\,-\,{E}_{p}/{T}_{p})\), characterized by a maximum cut-off energy Ep,max and a parameter Tp (related to the mean proton energy). We choose Ep,max = 5MeV and Tp = 0.7MeV, which is realistic for a proton source driven by a 20 TW laser (see e.g. ref.14, where TNSA is performed with a pure hydrogen target). The simple model adopted for the ion source allows also to perform a sensitivity analysis to address the effects of typical fluctuations of both Ep,max and Tp on a PIXE measurement. Figure 3(a) shows these proton spectra. We consider a sample composed by iron, copper, zinc, tin and lead, which is representative of a Roman sword-scabbard35.

Figure 3
figure 3

Homogeneous sample results. (a) Proton energy spectrum used in the Monte Carlo simulation (black curve) and energy spectra used to retrieve elemental concentrations for the sensitivity analysis (filled region); (b) comparison between the retrieved elemental concentrations and the real ones; (c) relative error of the retrieved concentrations as a function of the fluctuation parameter α.

For the second scenario we consider differential PIXE analysis of a non-homogeneous metallic sample in vacuum performed with an idealized proton source. In this case we use 6 different analytical proton spectra with properties (Ep,max and Tp) compatible with a laser system having a maximum power of 40 TW14 (highest Ep,max equal to 6 MeV). Figure 4(f) shows these spectra at the sample surface. In this scenario, the sample composition is inspired by the elemental concentration profiles of a medieval broach36: three layers (a 1.2 μm superficial layer, a 1.3 μm intermediate layer and a thick substrate), with different concentrations of copper, zinc, silver, gold and mercury in each layer.

Figure 4
figure 4

Non-homogeneous metallic sample results. (ae) Comparison between the retrieved elemental concentration profiles and the real ones; (f) proton energy spectra at the sample surface; (g) proton fluence at the sample surface.

For the third scenario we consider differential PIXE analysis of a non-homogeneous organic sample in air, performed with a realistic proton source obtained by means of Particle-In-Cell simulations. In particular, we model a realistic laser-driven ion source based on an advanced TNSA scheme, in which a double-layer target (a solid foil coated with a low density foam37) is used to increase laser-target coupling and thus to enhance the maximum energy and the number of accelerated ions16,17,18,19,20,21. We exploit only the momentum distributions obtained from fully three-dimensional (3D) Particle-In-Cell (PIC)38 simulations of such laser-driven ion source. The total number of simulated protons is selected in accordance with experimental data from the literature14,27, considering to perform multiple laser shots. In order to provide a realistic energy and angular distribution of the accelerated ions, we perform fully three-dimensional (3D) Particle-In-Cell (PIC)38 simulations of such laser-driven ion source. We consider a 800 nm thick solid foil coupled with a near-critical 5 μm plasma layer, irradiated with a 30 femtoseconds, ultra-intense (up to ~5 × 1019W/cm2) laser pulse. These parameters are realistic for a tightly focused (waist of 3 μm) 20 Terawatt Ti:Sapphire laser-system (e.g. they can be obtained scaling down the parameters reported in39 for a 200 Terawatt laser, reducing the intensity while keeping the waist constant at 3 μm). Figure 2(b–d) show the main properties of this laser-driven proton source. Figure 2(d) shows a ring-like spatial distribution of the accelerated protons, which results into a hole in the energy spectrum at 0° (Fig. 2(b)). Similar distributions have been observed frequently in the literature (see40 and references therein). In order to test our technique on a broader distribution we decide to tilt our source by ~3°. This means that the laser is still at normal incidence with respect to the target, but the laser axis (which is also the target normal axis) is tilted by 3° with respect to the beam handler axis. We use 6 different proton spectra whose properties are changed varing the intensity of the laser beam in the PIC simulation. We choose a complex multi-layer sample, whose stratigraphic structure is representative of an oil painting22,41. The superficial layer has a thickness of 10 μm and it is composed by a protective organic varnish. The intermediate layer is 20 μm thick and contains a red pigment (HgS, the so-called Cinnabar), a lead-based white pigment (the so-called lead-white), some impurities (Ca and Fe) and the organic binder. The thick substrate (the so called imprimitura) is composed only by the lead-white and the organic binder.

The whole experimental apparatus assembled with Geant4 for the third scenario (PIXE in air) is illustrated in Fig. 1 (the set up for the first and second scenario neglects the presence of the air and exit window, being otherwise identical). Primary particles are generated at a punctual source placed in vacuum (Fig. 1(a)). In principle, in case of a double layer target, we should consider protons, electrons and heavier ions. However we neglect heavier ions in the Monte Carlo simulations since in TNSA regime their number is usually orders of magnitude lower than for protons42,43. Moreover their cut-off energy per nucleon is usually lower, further reducing the X-ray yield due to heavier ions. Laser-driven proton sources generate also a copious amount of energetic electrons10, which would produce an unwanted X-ray signal from the sample. Thus the apparatus in Fig. 1 is designed to remove these energetic electrons. The particles are made to pass across an aperture slit (Fig. 1(b1)) and a dipole magnet (Fig. 1(b2)), which is a standard component to manipulate the laser-driven protons path44,45. The magnetic field steers electrons and protons trajectories. The electrons are completely deflected and they are stopped by a second slit (Fig. 1(b3)). On the other hand, protons undergo a smaller deflection and they partially cross the second slit. Then, protons pass through an exit window (Fig. 1(b4)) and they travel across the air before reaching the sample (Fig. 1(b5)). The proton spectra at the sample surface are shown in Fig. 5(f). It is worth to point out that compact target chambers for laser-driven ion acceleration are already commercially available46 and could be easily adapted for beam handlers. The X-ray detector has the features of a commercial Charged Coupled Device (CCD) (Fig. 1(b7)). The simulations account for the detection efficiency of the instrument. Under proper operating conditions (i.e. number of incident photons lower than the number of pixels), CCDs are able to perform single shot X-ray spectrum measurements47. This feature makes CCDs an interesting choice in order to record the X-ray spectra emitted by the sample during irradiation with laser-driven protons (Fig. 1(b8)).

Figure 5
figure 5

Painting results. (ae) Comparison between the retrieved elemental concentration profiles and the real ones; (f) proton energy spectra at the sample surface; (g) proton fluence at the sample surface.

Results

We discuss the results of the three scenarios described in the previous section: PIXE analysis of a metallic homogeneous sample, differential PIXE analysis of a metallic non-homogeneous sample and differential PIXE analysis of a painting. We show that in all these cases the iterative algorithm is able to retrieve elemental concentration profiles in very good agreement with the real ones. All the details concerning the χ2 minimization procedure are reported in the Methods section.

Typical PIXE measurements on delicate artifacts are performed with beam currents of the order of tens of pA for 100 s seconds6. This means ~1010 protons on sample. Considering protons with energy greater than 0.2 MeV at the source, the efficiency of our beam-handling setup is ~10% in the most challenging case (i.e. the in-air laser-driven PIXE analysis and a0 = 2). Therefore, we estimate that the laser-driven ion source should produce ~1011 protons with energy greater than ~0.2 MeV at the source point. This can be achieved with ~10s of shots with a sub-100 TW class laser27 (which can be operated at ~1 Hz). In this case the number of generated X-rays per shot would be low enough to avoid saturation of the CCD. It is also worth to point out that single-shot PIXE measurements can be performed with ~1 PW class laser, provided that a passive X-ray detector is used34.

In all the scenarios presented in this work we always perform Monte Carlo simulations with 1011 protons with energy greater than ~0.2 MeV at the source. A typical sub-50 TW laser system accelerates ~109 protons per shot14,27. Therefore, our Monte Carlo simulations are representative of an experimental scenario in which the signal collected with several tens of laser shots is integrated. This applies also to the third case presented here, where PIC simulations are coupled to the Monte Carlo code to model a realistic source. Indeed, we use the momentum distributions from the PIC simulations to extract the initial properties of ~1011 protons used in each Monte Carlo simulation.

As shown in Figs 4(g) and 5(g), in all the cases considered here the probed region on the samples is ~1 mm2 (the probed region is not shown for the homogeneous sample analysis, however it is identical to that of Fig. 4(g)). This is perfectly adequate for most applications48.

PIXE analysis of a metallic homogeneous sample

In the first scenario, an idealized proton source having a pure exponential energy distribution (see Fig. 3(a)) and a few degrees divergence is considered. Figure 3(b) shows that the agreement between the real concentrations and the retrieved ones is very good. For all the elements the discrepancy is less than 1%, which is comparable to the precision expected for traditional PIXE. However this excellent agreement has been obtained assuming a perfect knowledge of the proton energy spectrum (i.e. the black curve in Fig. 3(a)). On the other hand, it is well known that laser-driven proton sources are less stable than conventional particle accelerator sources, showing shot to shot fluctuations of the energy spectrum. These fluctuations might in principle hinder the applicability of laser-driven PIXE, thus it is imperative to asses their effect on the retrieved concentrations. This can be done straightforwardly for the simple scenario considered here. Keeping the X-ray yields obtained from the Monte Carlo simulations, we applied the iterative code considering a proton energy spectrum described by \({f}_{p}({E}_{p},\alpha )\sim \exp (\,-\,{E}_{p}/(\alpha {T}_{MC})){\rm{\Theta }}({E}_{p}-\alpha {E}_{MC})\) (i.e. α = 1 means that the iterative code uses a proton energy spectrum identical to that of the Monte Carlo simulation). α is varied between 0.8 and 1.2 in order to test the effect of fluctuations up to ±20%, as shown in Fig. 3(a). Figure 3(c) reports the ratio between the concentrations obtained with a given α and those obtained with α = 1. The graph shows a mild dependence of the relative error on the fluctuations of the proton energy spectrum: even for large (±20%) fluctuations, the relative error remains approximatively between ±10%.

Differential PIXE analysis of a metallic non-homogeneous sample and of a painting

Also in the second scenario, an idealized proton source is considered: six different exponential distributions with cut-off energies between 1 and 6 MeV (Fig. 4(f)). The concentration profiles (Fig. 4(a,b)), reconstructed from the X-ray yields, show a good agreement with the original ones. In the third scenario (the painting) the output of six PIC simulations is used as a proton source in the Monte Carlo code (Fig. 5(f) shows the energy spectra at the sample surface). Concerning the analysis discussed here, the main difference with respect to the metallic case is that now the recorded X-ray peaks are representative of complex compounds rather than individual elements. The analysis clearly identifies the superficial protective varnish, the intermediate region containing the pigment, and the substrate. The concentration profiles of the elements are in satisfactory agreement with the real ones. Therefore, the system considered in this scenario (based on a 20 TW system and on the use of double layer targets) represents a realistic design for a laser-driven PIXE apparatus.

Conclusions

Laser-driven ion sources have been a thriving research topic in the last 2 decades, thanks to their many foreseen applications in a number of scientific, technological and societal fields. While for most of such applications major challenges still need to be tackled49,50, the results presented in this work for laser-driven PIXE clearly demonstrate the feasibility of a compact, versatile, cost-saving and portable laser-driven apparatus for IBA. This can be obtained combining a thorough theoretical description of the process with the most recent advanced laser-driven ion acceleration schemes and state-of-the-art laser systems. One can easily imagine further exciting developments, for example the possibility to exploit the same ion source for the production of neutrons with unique properties51, paving the way for a true revolution in the field of hadron-based advanced materials characterization techniques.

Methods

We developed an iterative code, based on χ2 minimization algorithm, which solves the system of equations (3) or (4). We used this code to analyze the X-ray spectra obtained from Monte Carlo simulations of laser-driven PIXE experiments. For the third scenario, we performed Particle-In-Cell simulations to generate a realistic proton source.

χ2 minimization algorithm

The minimization algorithm used to retrieve the elemental composition of the samples relies on the open source dlib C++ library52, in particular on the BOBYQA algorithm. All the physical parameters used in the algorithm are taken from standard libraries. For the ionization cross sections we used the Energy-Loss Coulomb-Repulsion Perturbed-Stationary-State Relativistic (ECPSSR) theory53,54. For fluorescence yields we used values tabulated in the Evaluated Atomic Data Library (EADL)55,56. For X-ray mass absorption coefficients we used the online interface of the XCOM code57. For the proton stopping powers we used the Stopping and Range of Ions in Matter (SRIM) code58.

For the homogeneous sample, as initial guess, the elements are assumed to be equally concentrated.

The differential PIXE analysis demands an initial guess also on the mass thickness of the fictitious layers. This choice should take into account the expected penetration depth of the protons and the expected scalelength of the inhomogeneities of the sample. We chose [0.65, 1.3, 2.6, 5.2,∞] mg/cm2 both for the metal sample and for the painting. However, we introduced a free-parameter to readjust the mass thicknesses of the fictitious layers (e.g. [0.65ξ, 1.3ξ, 2.6ξ, 5.2ξ, ∞] mg/cm2 with ξ constrained between 0.5 and 1.5). The fact that the analysis converges to good results for both the metallic sample and the painting, despite their very different structure, confirms the generality of this approach. As far as the initial guess on the concentrations is of concern, we followed a procedure analogous to that described in22.

For all the cases considered in this work, the χ2 parameter has the general form:

$${\chi }^{2}=\sum _{i,k}{(\frac{{\tilde{Y}}_{i}^{k}-{\tilde{Y}}_{i}^{k,\ast }}{\sqrt{{\tilde{Y}}_{i}^{k,\ast }}})}^{2}$$
(5)

where the terms \({\tilde{Y}}_{i}^{k}\) and \({\tilde{Y}}_{i}^{k,\ast }\) are explained below. The mass concentrations Wi (where i is the element index) are bounded between 0 and 1. In the case of the homogeneous sample analysis, only one measurement is necessary (i.e. the sum over k disappears). \({\tilde{Y}}_{i}\) and \({\tilde{Y}}_{i}^{\ast }\) in equation (5) are, respectively, the normalized calculated yield and the normalized experimental yield (i.e. \({\tilde{Y}}_{i}={Y}_{i}/\sum _{i}{Y}_{i}\) and \({\tilde{Y}}_{i}^{\ast }={Y}_{i}^{\ast }/\sum _{i}{Y}_{i}^{\ast }\)). This formulation allows to perform the χ2 minimization without knowledge of the number of incident protons, which is particularly interesting from the experimental point of view.

As far as the differential PIXE analysis is concerned, χ2 is a function of the free-minimizing parameter ξ and of the elemental concentrations Wi,j of all the fictitious layers, which means 26 variables in the cases of interest here. Since the direct minimization of such function is particularly challenging we subdivided the procedure in multiple steps. We minimize χ2 one element at a time (together with ξ) for all the elements and we repeat this procedure until the convergence is reached. Moreover, we did not used the normalized X-ray yields, but \({\tilde{Y}}_{i}^{k}\) and \({\tilde{Y}}_{i}^{k,\ast }\) coincide with calculated \({Y}_{i}^{k}\) and experimental \({Y}_{i}^{k,\ast }\) values. Finally, in the case of the painting, the presence of a compound which does not provide detectable X-ray yields (i.e. the organic matrix) demands to impose the additional constraint \(\sum _{i}{W}_{i,j}=1\). Thus, we added a term \(\lambda \sum _{i}{(1-\sum _{i}{W}_{i,j})}^{2}\) to equation (5), where λ is a large number.

Particle in cell (PIC) simulation

3D Particle-In-Cell simulations were performed with the open-source code piccante59. We used a computational box of 120λ × 80λ × 80λ with a spatial resolution of 40 points per λ along \(\hat{x}\) and 15 points per λ along \(\hat{y}\) and \(\hat{z}\), where λ = 800nm is the laser wavelength. Time resolution is set at 98% of the Courant Limit. The P-polarized laser pulse had a cos2 temporal profile (intensity FWHM of 30 fs) and a transverse Gaussian profile (i.e. E ~ E0exp(−r2/w2) where E is the electric field, E0 is the maximum electric field, r is the radius and w is the waist of 3 μm). The normalized peak laser intensity a0 was set to 2, 2.5, 3, 3.5, 4, 4.5 (corresponding to a focused intensity between 8.7  1018 W/cm2 and 4.4  1019 W/cm2). The incidence angle was 0°. The target consisted in a 5 μm low-density layer with a density equal to 1 nc (sampled with 4 macro-electrons and 1 macro-ion with Z/A = 0.5 per cell), an overdense 800 nm thick foil with a density of 40 nc (sampled with 40 macro-electrons and 8 macro-ions with Z/A = 0.5 per cell) and a 80 nm thick contaminant layer with a density of 5 nc. In order to simulate a fully ionized hydrocarbon contaminant layer, the 5 nc ion charge was partitioned as follows: 4.285 nc for a species with Z/A = 0.5 and 0.715 for a species with Z/A = 1. 64 macro-electrons per cell and 125 macro-ions per species per cell where used for the contaminant layer. The electron population was initialized with a small (~eV) temperature. Periodic boundary conditions are used for both EM field and particles, however the box is large enough to avoid unphysical effects on the ion acceleration process. The duration of the simulations was 100 λ/c = 267 fs. A total of 6 PIC simulations was performed, one for each value for the normalized intensity a0. While in principle 3D PIC simulations can provide an absolute number for the total accelerated charge, this number depends on the choice of some parameters (namely the thickness and density of the contaminant layer) which might differ from those of a real experiment. For this reason in Fig. 2(c) we reported the energy spectra using arbitrary units.

In order to use PIC results for the proton source in the Monte Carlo code, we calculated the distribution function d3N/dpxdpydpz from the macro-proton phase space (px, py and pz are the Cartesian components of the momentum).

Geant4 monte carlo simulation toolkit

Geant4 (Geometry and Tracking)60 is an abstract C++ base classes’ toolkit dedicated to the Monte Carlo simulation of particles’ transport through matter. It allows to implement the particle transport physics and the creation of secondary particles, covering a wide range of energies (from eV to TeV). Geant4 allows to simulate PIXE61 reliably, as validated by several recent works62,63,64.

Our Monte Carlo simulations take into account protons, electrons, positrons, and photons. The secondary charged particles are tracked considering Bremsstrahlung, ionization and multiple scattering, while photoelectric effect, Compton scattering and pair production are activated for photons. The production cut is set equal to 0.5 μm for secondary particles in order to avoid infrared divergence. As far as these physical processes are concerned, we used the EmStandardPhysics_option3 module recommended by the Geant4 documentation for high accuracy with electrons and ions tracking. To properly model the proton ionization cross sections, the Energy-Loss Coulomb-Repulsion Perturbation-Stationary-State Relativistic Theory (ECPSSR)53,54 is selected.

In all the considered cases, the primary proton source is punctual and the primary particles can be electrons or protons.

Electrons are generated extracting their energy and angular divergence from an exponential and a uniform distributions respectively. Their energy spectrum was fitted from the PIC simulation with a0 = 4.5. This is the worst case scenario since the highest energy electrons are generated.

As far as protons are concerned, for the metallic samples analysis a similar approach has been followed: the energy is extracted from an exponential distribution and a uniform angular distribution is assumed.

In the last case (i.e. the painting analysis), the proton source is modeled with the actual PIC simulations results. A PIC simulation provides a distribution of momenta. The primary proton momentum components are extracted with the Inverse Transform Sampling method from the PIC distribution and they are used to define the initial energy and propagation direction. To this aim we created a specific C++ class.

Several Geant4 simulations with different seeds of the Random Number Generator (RNG) were run in parallel and the final results were aggregated. A total of few 1010 – 1011 primary protons were simulated for each case. We relied on the “HepJamesRandom” generator, which implements the Marsaglia-Zaman RANMAR algorithm. This RNG has the essential property of providing a large number (~8  108) of independent and very long sequences of pseudo-random numbers65.

It worth to point out that, since the Monte Carlo code allows to simulate one particle at a time, possible collective effects are neglected. This should not affect our results since collective effects have been reported to be negligible in this regime66.