Introduction

Explosives are the key component for most violent threats in the world today. They are used in improvised explosive devices, suicide bombs, and package bombs, and are also used as the means for dispersal of other weapons of mass effect, such as chemical, biological, or radiological weapons. A necessary step towards neutralizing such threats is the ability to detect and identify the explosives. Ideally, the detection would be as far “left of boom” as possible, i.e., at the bomb maker or materials supplier. For reasons of personnel safety, it is also highly desirable to detect and identify the explosives from large stand-off distances. There have been a number of reviews of the technology being developed to provide this capability [1, 2]. Progress to date for the development of stand-off detection technologies has been slow because: (1) only trace levels of observable material are available due to the low vapor pressures of many explosives and/or the small quantities of surface adsorbed explosive residues, (2) excitation of the sample must occur at a distance with subsequent return of the resultant signals back to the detector, (3) operation must occur in the presence of atmospheric turbulence and particulate matter, (4) there are stringent demands for high sensitivity and high signal-to-noise and (5) high selectivity is needed to detect a given target material in the presence of possibly very similar but benign background chemicals. Nevertheless, there are a large number of analytical methods that have been used to try to solve these problems, although there is to date still no complete solution [1, 2]. In particular, the number of these methods that can be used at stand-off distances is small, with most based on laser excitation such as stand-off Raman spectroscopy, stand-off coherent anti-Stokes Raman spectroscopy (CARS), and laser-induced breakdown spectroscopy (LIBS). Several groups are pushing the limits of the standard implementations of these stand-off spectroscopies via incremental improvements [3]. We are investigating a more revolutionary approach using the framework of optimal dynamic or quantum control. A wide variety of nonlinear spectroscopic methods are amenable to optimization using optimal dynamic detection of explosives (ODD-Ex) tools, as discussed in depth below.

ODD-Ex methodology

ODD-Ex operates by adapting the interrogating laser to the quantum molecular dynamics of the target analyte (explosive) [4, 5]. For a given nonlinear laser/molecule interaction leading to a signal, such as emission or ionization, there exists a laser pulse (i.e., a time-dependent optical field) that will optimize that signal [6]. Such an optimal laser pulse is not typically what is emitted by a commercial laser system, but rather the laser pulse must be adapted to suit the specific molecule and the spectroscopic signature of interest. There is a strong fundamental theoretical foundation underlying the existence of the optimal control field, as well as the features of the control search landscape, which suggests that the optimal solution can be readily discovered [6, 7]. Because the laser must control the behavior of the target molecules on their natural vibrational, rotational, and electronic timescales, a short (e.g., femtosecond) laser is needed. In the future, the ultimate solution would be a laser system capable of emitting on demand any of the hundreds to thousands of different types of pulses needed to interrogate and detect the hundreds to thousands of desired target explosive molecules. Such a commercial laser system is not available today. However, there exists widely available technology to externally shape raw femtosecond laser pulses into the desired complex time-dependent optical fields. This technology is now sufficiently mature to attack applied problems such as explosive detection.

The technology consists of a programmable phase and amplitude mask located at the Fourier plane of a zero dispersion stretcher [8, 9], as shown schematically in Fig. 1. A zero dispersion stretcher is in essence a subtractive double spectrometer; the programmable mask is simply placed at the central focal plane. As the various colors contained in the raw laser pulse are spatially separated at the Fourier plane, each spectral component passes through separate pixels of the mask, either a spatial light modulator (SLM) or an acousto-optic modulator (AOM). The modulator adjusts the phase and amplitude of each spectral component under computer control. When the pulse is spectrally reconstructed through the second spectrometer, the addition of spectral phase, and/or modulation of amplitude, causes the initially short, simple pulse to be more complicated in the time and frequency domains. This process provides a versatile, fast, computer-controlled, time-dependent optical field that can be shaped to control the interaction of the field with molecules, allowing manipulation of the molecular dynamics via the time-dependent molecular Hamiltonian.

Fig. 1
figure 1

Schematic representation of a pulse shaper, consisting of a stretcher (left hand side), a modulator, either SLM or AOM at the Fourier plane, and a compressor (right hand side) that reassembles the spectral components. M mirror; CM cylindrical mirror; G grating

This ability to shape femtosecond optical pulses is combined in ODD-Ex with advanced machine-learning algorithms to quickly determine the pulse shape that optimizes a particular desired molecular outcome. For detection, this outcome is a unique signature for a specific molecule. The concept of using an experimental feedback loop to determine optimal pulse shapes was first demonstrated by Judson and Rabitz [10] and has become the common practice in a wide range of applications [11]. For the application to the detection of explosives, first the optimal pulse’s shape for a given nonlinear spectroscopy and a given molecule is determined and placed into a library. Then, for detection use in the field, this library of optimal pulse shapes would be scanned at up to kilohertz rates to rapidly identify potential threat materials. The optimal pulse shapes are tested for robustness to interferences, backgrounds, and matrix materials, as well as the effects of turbulence and atmospheric conditions. It is the ability of ODD-Ex to produce a signal from a desired target analyte while suppressing signals from interfering materials [12] that sets it apart from other laser-spectroscopic methods. Another advantage is the capacity to exploit time-dependent dynamics for discrimination between very similar molecules [13].

ODD-CARS

We are concentrating at present on applying the ODD-Ex paradigm to CARS; we abbreviate this implementation as ODD-CARS. We have chosen CARS because it is a nonlinear form of Raman spectroscopy, one of the workhorse methods for stand-off detection of explosives. ODD-Ex methodology can be seen then to supplement an already existing stand-off spectroscopic method to make it even better. CARS provides for highly directional signal beams of high intensity, and the signals are anti-Stokes to the probe laser, both of which dramatically reduce the fluorescence interference that usually plagues ordinary Raman methods. Other authors have shown that femtosecond pulse shaping CARS implementations show significant promise for stand-off detection of explosives [14, 15]. Previously, we showed that ODD-Ex provides a framework to find pulse shapes that optimize CARS signals for a given analyte in a mixture, while suppressing signals from interfering materials by orders of magnitude [12]. This ability provides the capacity for achieving significant improvements in selectivity. We discuss these previous results in this paper alongside the potential time savings afforded by use of the Gerchberg–Saxton algorithm to estimate the optimal phase, versus the machine-learning algorithm optimization process.

A significant time is usually needed to determine the optimal pulse shape for ODD-CARS of a given analyte molecule using standard machine-learning ODD methodology, even incorporating the latest evolutionary strategy algorithms [16]. The experiment to determine the optimal shape that preserved the nitromethane CARS peaks while suppressing CARS features from the other materials in a mixture of nitromethane, toluene, and acetone, as shown in Fig. 2, necessitated nearly 12 h using a genetic algorithm (GA). While this approach is sufficient, we have been exploring the ability to more rapidly obtain the pulse shape optimized for a given analyte CARS spectrum using the Gerchberg–Saxton algorithm to produce a starting spectral phase.

Fig. 2
figure 2

The CARS spectrum of a mixture containing nitromethane and interfering species is given by the red dashed line. Shaping the pulse as shown in the right panel leads to the CARS spectrum given by the blue line. The nitromethane peaks marked by arrows remain, while the largest interfering peaks are significantly reduced. This is due to selective excitation of the nitromethane (from Ref. [12]; used with permission)

Gerchberg–Saxton algorithm

We use the Gerchberg–Saxton (GS) pulse shaping methodology described by Rundquist et al. [17], which is based on the well-known Gerchberg–Saxton phase retrieval algorithm [18]. The methodology requires knowing the target spectrum and the laser spectrum. For the implementation described here, we assumed that the two-photon excitation spectrum contains equivalent vibrational spectroscopic information as the CARS spectrum [19, 20], and that the analyte Raman spectrum can be used as the target in the GS methodology. The distinct advantages of the GS methodology are its independence of target complexity, its lack of cost functions and weight factors, and no parameters to optimize.

The GS methodology starts by taking the fast Fourier transform (FFT) of the experimentally measured pulse (ultrafast laser) spectrum, assuming random phase, into the time domain. The laser spectrum is simply measured using an integrating sphere and a spectrometer, and we assume that all spectral components are contained within the transform-limited pulse. The resulting amplitude is then replaced by the amplitude of the target (the target is set to be the FFT of the spontaneous Raman spectrum of the analyte), while retaining the phase. An inverse FFT (IFFT) is then performed to transform back to the spectral domain, where the amplitude is replaced with the input pulse (laser) spectrum and the phase is again retained without change. The process is then iterated many times until there are negligible residual changes in the retained phase. On the last iteration, the retained phase is then taken to be the desired phase mask optimized for the analyte molecule. The process is denoted schematically in Fig. 3. The main convergence was noted to occur in the first few iterations, with the remaining iterations producing minor incremental improvements of the result.

Fig. 3
figure 3

Flowchart representation of the Gerchberg–Saxton algorithm implementation

GS simulation

We first demonstrated the GS methodology for ODD-CARS using computer simulations. The simulations incorporated experimental Raman spectra, obtained using an Ahura First Defender portable Raman system (Thermo Scientific). The raw Raman spectra were background subtracted using a polynomial fit, as it was observed that non-zero regions between peaks resulted in incomplete suppression of non-analyte peaks in the GS simulated CARS spectrum. For the simulations, the Raman spectrum of neat nitromethane (Fig. 4 left) was used as the GS target of the desired analyte. The GS algorithm was tasked with extracting the nitromethane CARS spectrum out of the CARS spectrum of a 2:2:1 (volume) mixture of toluene, acetone, and nitromethane (Fig. 4 right). With the nitromethane Raman spectrum as the GS target spectrum in the GS algorithm, and the filamentation broadened ultrafast laser spectrum (Fig. 5 left top) as the GS laser, the final spectral phase from the GS process is shown in Fig. 5 left bottom. The simulated two-photon excitation spectrum of the 2:2:1 toluene/acetone/nitromethane mixture (the two-photon excitation spectrum contains the essential information needed for multiple vibrational excitation selectivity [19, 20]) using the nitromethane-specific GS spectral phase is shown in Fig. 5 right (red), which is overlaid on the nitromethane Raman spectrum (black). Note the nearly complete elimination of toluene and acetone spectral features, leaving only nitromethane peaks. Also note that the two-photon excitation relative spectral intensities are different from the expected nitromethane CARS peak intensities.

Fig. 4
figure 4

Left spontaneous Raman spectrum of nitromethane (background subtracted). Right spontaneous Raman spectrum of a mixture of 2:2:1 (volume) of toluene/acetone/nitromethane (background subtracted)

Fig. 5
figure 5

Left, top ultrafast laser spectrum after filamentation broadening. Left, bottom Gerchberg–Saxton spectral phase using the nitromethane Raman as the target. Right the red curve is the two-photon excitation spectrum of the 2:2:1 mixture of toluene/acetone/nitromethane in a computer simulation using the Gerchberg–Saxton spectral phase for nitromethane (shown bottom left in this figure). The black curve is the nitromethane Raman spectrum

Experiment

The experiments utilized 1 kHz repetition rate, 1 mJ energy, 25 fs pulses from a Coherent Legend Elite Ti/sapphire based ultrafast laser system, with central wavelength near 800 nm. These pulses were spectrally broadened via self-phase modulation in a filament produced by weakly focusing into a 1-m-long pipe filled with ∼40 kPa of argon gas [21, 22]. The broadened spectrum was passed through an all reflective pulse shaper, consisting of a 600 lines/mm grating, 500 mm focal length cylindrical mirror, turning mirror, 640 pixel dual mask spatial light modulator (CRi 640-D-VN SLM) and retroreflecting mirror which slightly displaces the output beam in the vertical direction to allow spatial separation of the incoming and outgoing beams. We utilized the multiphoton intrapulse interference phase scan (MIIPS) process [23] to produce close to transform-limited pulses after the filamentation in argon. The MIIPS phase was saved and added to the GS algorithm produced phase in all subsequent experiments. Finally, this pulse was passed through a long-wave pass filter (Omega Optical 740ALP) with 740 nm cut on edge to remove most of the interfering light in the anti-Stokes region.

Pulse shapes were measured using transient-grating frequency-resolved optical gating (TG-FROG) [24]. Both the TG-FROG and the CARS experiments were performed in folded box geometry [25]. For CARS experiments, a 2.5-nm full width at half maximum (FWHM) interference filter centered at 772.5 nm (Thin Film Imaging Technologies 785–2.5 narrowband filter tilted at ∼15° from normal incidence) was placed in the probe beam, stretching it temporally to ∼800 fs. The energies of the pump and Stokes pulses at the 1- or 5-mm path length liquid sample cells were attenuated to ∼2 μJ to avoid self-phase modulation in the sample. The probe energy of 0.5 μJ was limited by the interference filter. The beams had parallel linear polarization. The four wave mixing signal was isolated spatially using an iris and focused into a 0.3 m spectrometer (Princeton Instruments SP-320 with 600 l/mm grating) with ∼1 nm spectral resolution (∼100 μm slit width). The CARS signals were subsequently detected using a CCD camera (Princeton Instruments PIXIS 100) in single shot mode. Control, MIIPS, FROG, GS algorithm, and signal accumulation software was written in LabView (National Instruments). Final spectral analysis and figures were produced using Igor Pro software (Wavemetrics).

The ultrafast laser spectrum was measured using an Ocean Optics USB-2000 fiber coupled spectrometer, with mode homogenization obtained using an integrating sphere (Thorlabs IS200).

All chemicals were used as received: toluene—Acros spectrophotometric grade 99+%; acetone—Acros 99.6% for spectroscopy ACS reagent; nitromethane—Acros 99+% for analysis.

Results and discussion

The GS algorithm was used to derive a shaped pulse specific for nitromethane, as discussed above. The resulting spectral phase shown in Fig. 5 left was used to produce an experimental CARS spectrum in a 2:2:1 (by volume) mixture of toluene, acetone, and nitromethane. A CARS spectrum of that mixture using a transform-limited pulse (spectrally broadened and MIIPS compressed) was also obtained. The two spectra are overlaid in Fig. 6. This figure can be compared to the computer simulated spectra shown in Fig. 5 right, as well as to the GA optimized CARS spectrum in Fig. 2.

Fig. 6
figure 6

Experimental CARS spectra of a 2:2:1 mixture of toluene/acetone/nitromethane obtained using the filamentation broadened and MIIPS corrected transform-limited ultrafast laser pulse (black curve), and using the Gerchberg–Saxton spectral phase obtained using the nitromethane Raman spectrum as the GS target (red curve)

Two obvious differences can be seen. First, the peak CARS signal using the GS optimized spectral phase is significantly lower than using the transform-limited pulse (the spectra were normalized in Fig. 5 so that the largest nitromethane feature was the same height for both the GS and transform-limited spectra). In our earlier experiments using the GA optimization on two nitromethane peaks [12], the feedback included maximizing the intensity of those two peaks in a given ratio, while suppressing all other peaks (see Fig. 2). The GS algorithm has no such intensity criterion. Secondly, the toluene and acetone CARS peaks are not suppressed as much relative to the nitromethane peaks as in the GS computer simulation (compare Figs. 5 and 6). The theory of control landscapes states that the optimal solution for controllable systems is reachable given unlimited laser resources [6]. We are operating in a regime of restricted laser resources even using the filament-broadened laser, which we believe is the main cause of the observed incomplete suppression of interfering peaks.

Conclusions

We have shown that optimal dynamic detection methods can be used to produce selectivity in CARS spectra of an analyte in a mixture. Previously, we used evolutionary strategies to produce a spectral phase optimized for a desired target analyte molecule, e.g., nitromethane in a liquid mixture. That process, however, takes considerable time. We studied here the possibility of using the Gerchberg–Saxton algorithm to produce the selective spectral phase from the known analyte Raman spectrum and the ultrafast laser pulse spectrum. Computer simulations of the Gerchberg–Saxton methodology showed nearly complete suppression of interfering CARS features, while retaining the CARS spectrum of a desired analyte in a mixture (e.g., nitromethane in a mixture with toluene and acetone). The experimental demonstration of the Gerchberg–Saxton methodology also showed suppression of the interfering CARS features in the mixture similar in magnitude to that observed previously using a full experimental optimization via evolutionary strategies. However, the intensity of the CARS spectrum of the analyte was not retained. Further work is concentrating on using the GS algorithm to provide a starting phase selective for a given analyte, which could then be optimized using gradient searches to maximize the CARS intensity.