Introduction

Research and development efforts developing battery-based high-energy storage technologies—chiefly grid-support systems and automotive, as well as aerospace electrical propulsion—are impeded by poorly understood, and consequently inefficiently controllable electrochemical phase-formation processes involved both in the fabrication and operation of the devices (Larcher and Tarascon 2014; Kittner et al. 2017). In particular, lack of control over morphology and chemical-state distribution during electrodeposition is the key factor giving rise to damaging of electrodes, electrolytes and separators, ultimately resulting in capacity fade and mechanical failures (Finegan et al. 2015; Yang et al. 2017; Jin et al. 2017). Novel materials and better battery management protocols are being systematically introduced, leading to some progress in the efficiency and reliability of electrochemical energy storage devices. Nevertheless, the pace to success is slower than it could be owing to the prevalence of empirical approaches in technological innovation action (Zhang et al. 2017; Liang et al. 2017; Cheng et al. 2017). Further progress in this field requires direct access to relevant physico-chemical information about the systems at relevant space and time scales. Experimental access to localization descriptors of electrochemical phase formation processes is currently possible, thanks to a suite of advanced, mainly synchrotron-based in situ microspectroscopic methods with imaging, topological, chemical and structural capability. Thus, the use of these methods, exhibiting space resolution suitable to address the functionally relevant scales, is starting to gain recognition in the battery community (Wu et al. 2017; Lee et al. 2017). In particular, imaging and structural methods based on X-rays, such as absorption near-edge spectroscopy, fluorescence, diffraction and scattering, are regarded as the cutting-edge tools for the study of buried electrochemical interfaces (Ebner et al. 2013; Lin et al. 2017; Sun et al. 2017). Pioneering investigations in the field, thriving on the complementarity of the approaches, have disclosed a wealth of morphological and chemical modifications of active materials resulting from growth and dissolution processes and have provided unprecedented insight at the submicron scale into complex dynamic interfacial phenomena (e.g., Nagy 2011; Manke et al. 2011; Bozzini et al. 2012a, 2015a). Moreover, advances in lithographic fabrication of cells has allowed the technical limitations of in situ experiments to be overcome, enabling observations of electrode/electrolyte interfaces at normal incidence to the photon beam (Bozzini et al. 2014). Notwithstanding the notable progresses accumulated over the last decade, nanometre space resolution and acquisition rates able to follow chemical kinetics still remain a challenge. The recently proposed microspectroscopic approaches based on coherent diffractive imaging (CDI) have shown that nanometric resolution can be achieved quasi-in situ (Bozzini et al. 2017a) as well as in situ (Kourousias et al. 2016; Bozzini et al. 2017b) and have shown dynamic capabilities that—with appropriate technological development—can be extended down to the millisecond range, opening up the possibility of following chemical kinetics on a scale suitable for dynamic mechanistic studies. The uniqueness of this type of imaging is its capability of overcoming the resolution limits imposed by focusing optics, enabled by the replacement the image-forming lens with an iterative algorithm simultaneously recovering phase and absorption images (Mancuso et al. 2010; Chapman and Nugent 2010). In principle, in CDI the size of the object has to be smaller than the illumination spot, but extended objects can be studied by Fresnel CDI methods—such as Fresnel CDI ptychography (Phillips et al. 2014; Kourousias et al. 2016)–, in which the material under investigation is placed downstream of the focus of a Fresnel zone plate (FZP). Fresnel CDI can also be implemented in the keyhole mode, in which selected portions of extended objects can be studied in detail (Kourousias et al. 2016; Abbey et al. 2008; Zhang et al. 2013). Fresnel-CDI methods based on FZPs are specially suitable for in situ work—in which the precise localization of the active interface is vital—since a real-time holographic image gives the possibility of pre-selecting the region of interest in the direct space, thus combining the advantages of direct and Fourier imaging modes (Bozzini et al. 2017a). Moreover, ptychography can provide space-resolved chemical-state information through the phase and amplitude maps recovered by scanning the photon energy across elemental resonances (Hoppe et al. 2013; Maiden et al. 2013; Kourousias et al. 2016; Bozzini et al. 2017b; Pfeiffer 2018).

In this paper, we report an extension of our pioneering work on dynamic in situ electrochemical ptychography (Kourousias et al. 2016; Bozzini et al. 2017b), proposed as a tool for monitoring morphological and chemical-state changes during phase-formation processes at nanometric length scales. Our previous studies concentrated on the distribution and speciation of Mn during the co-electrodeposition of Mn–Co/polypyrrole (PPy) nanocomposites, a promising electrocatalyst for air cathodes in alkaline fuel cells, while in the present research the focus is on the distribution of Co, a dopant of active Mn-oxide ensuring durability under operating conditions. In particular, we have followed representative growth steps from the liquid precursor solution, identifying the onset of unstable growth. The present research confirms the great potential of in situ electrochemical studies with high space-resolution to provide unique insight into interfacial processes involving morphochemical transformations that exhibit functional impact. Ultimately, the information gained through these advanced analytical approaches will allow accurate evaluation of whether specific morphochemical changes resulting from electrodeposition improve or degrade catalytic performance.

Materials and methods

Ptychography measurements

Electrochemical growth was followed in situ with Fresnel CDI ptychography at the SXRI beamline of the Australian Synchrotron (van Riessen et al. 2013). The monochromatized beam was shaped into a microprobe with FZP optics (160 μm outer diameter, 30 μm diameter of central stop) that was delivered to the cell, placed ca. 0.5 mm after the focus, yielding a circular illumination of the sample ca. 35 μm in diameter. Scattered X-rays were collected with a 2048 × 2048 pixel CCD camera placed ca. 32 cm after the focal spot (Jones et al. 2014). The ptychographic protocol consisted in raster scanning 3 × 5 positions separated by steps of 6 μm, yielding an areal overlap of 82% (Kourousias et al. 2016). The electrochemical thin-layer transmission cell, described in detail in (Bozzini et al. 2017b), was directly mounted on the SXRI sample holder and connected to a VersaSTAT Potentiostat via electrical feedthroughs. The reconstructions were carried out with the NADIA (Davidson et al. 2011) software library, combined with a set of image pre- and post-processing routines developed in Python.

Electrodeposition protocol

The precursor solution used for the growth of Mn–Co/polypyrrole (PPy) nanocomposites has the following composition: MnCl2 25 mM; CoCl2 25 mM; pyrrole 0.1 M; tetra-butyl-ammonium-perchlorate 0.1 M; H2O 1 vol%. The electrodeposition protocol consists in a sequence of potentiostatic cycles, explained in (Bozzini et al. 2015b). Briefly, each cycle consists of the following steps (potentials refer to an Au quasi-reference electrode): a pre-step of 1 s at − 0.3 V ensures the double-layer relaxation; two oxidising steps of 0.5 and 0.2 s at 0.9 V form PPy and Mn(III,IV) ions and a reducing step of 0.5 s at − 2.1 V yields Co(0) and Mn(II)/Co(II) oxy-hydroxides.

Results and discussion

Imaging of selected areas of the working electrode was carried out in situ after two electrodeposition steps, representative of the fabrication of a practical material. The chosen areas are suitable to yield information on the Co chemical-state distribution resulting from the current–density distribution prevailing in the cell; the current–density distribution is positively correlated with growth rate (Popov et al. 2002). Regarding electrodeposition steps, the first one forms an electrocatalyst film of a thickness in the range relevant to real-life applications, while the second one deposits an incremental amount of materials, that would not affect the practical performance of the catalyst, but allows to single-out morphochemical changes that can yield important mechanistic information. In a recent work on this material, we have investigated the chemical-state distribution of Mn—the main component of the catalyst—while in this study we shall attack the dynamic morphochemistry of the Co dopant. In view of this, we performed spectroptychographic investigation by recording stacks of ptychographic images at different energies across the Co L3-edge (780 eV). Since, as pinpointed in (Kourousias et al. 2016), in the relevant soft X-ray energy range the key components of the growing material (i.e., Mn, Co and C) have comparable absorption, darker features in the absorption images correspond to the Mn–Co/PPy composite aggregates (Henke and Gullikson 1993).

In situ imaging after thin film growth

A series of ptychographic scans was acquired on an extended area of the working electrode (ca. 50 × 50 μm2), after having grown Mn–Co/PPy for 100 cycles: Fig. 1 shows the reconstruction of magnitude (a) and phase (b) images. The data from ptychographic scans recorded at 16 energies across the Co L3-edge were employed to generate these images. The selected region encompasses the electrode/electrolyte interface (electrolyte at the top of the images) and corresponds to the zone where the largest growth rate gradient develops (Gianoncelli et al. 2013). Within this extended region, two sub-regions (of dimension ca. 3 × 3 μm2) were selected (see Fig. 2) in relatively lower—(Fig. 2a, a′) and higher-current density (Fig. 2b, b′) areas at photon energies of 775.5 eV panels (a) and (b) and at the Co L3-edge 778 eV, panels (a′) and (b′), corresponding to the zones highlighted with yellow boxes in Fig. 1a. As the pairs of images in Fig. 2 were acquired below and at the Co L3-edge, they also contain elemental contrast. The absorption images acquired at the Co L3-edge [panels (a′) and (b′)] exhibit some dark spots that do not show up in the same area scanned at an energy below the Co L3-edge, unequivocally pinpointing that Co islands have formed during the growth period preceding imaging. Furthermore, one can clearly notice that the density of Co-containing features is higher in the higher-current density region, in accord with electrochemical nucleation theory (Bozzini et al. 2012b). Comparison of images taken below and at the absorption edge provides a detailed insight into the Co space distribution within the catalyst matrix, showing that clusters ca. 200 nm in diameter tend to form. The microscopic capabilities of in situ ptychography are even better appreciated by imaging an electrodeposited feature exhibiting multiple characteristic length scales, such as the dendrites depicted in Fig. 3. Dendrites, like the ones depicted here, are typical unstable growth features that are quite common in electrodeposition and generally correlated with poorer-quality materials. The complementarity of simultaneous magnitude and phase imaging is statistically represented by inspecting Fig. 3a, b: phase imaging allows to visualize the array of outgrowing nuclei as well as the thicker deposit layer developing at the electrode/electrolyte interface in all positions (both the straight horizontal line corresponding to the lithographed Au current feeder and the bulging dendritic features), while in magnitude images the high absorption of the dendrites reduces the contrast of thinner-projecting objects. Moreover, a classical example of the impact of the exceptional multiscale capability of ptychography for the in situ study of electrochemical phase formation is provided by the comparison of Fig. 3a, c; these micrographs were derived from the same reconstruction—and consequently from a dataset acquired at a given time under exactly the same operating conditions—and allow to image simultaneously: (1) the whole shape of micrometric dendrites, (2) the formation of submicrometric nuclei and (3) the nanometric structures both in their bulk and at the electrode/electrolyte interface.

Fig. 1
figure 1

Image reconstructions from ptychographic scans of a Mn–Co/PPy film, measured in situ after 100 growth cycles. Magnitude (a) and Phase (b) images, (b) acquired at 778 eV (Co edge). The raw data were acquired with 3 × 5 scans with 6 μm step (47 × 57 μm2), shifting the beam energy across the Co L3-edge in 16 steps

Fig. 2
figure 2

Reconstructed magnitude images for two 3.3 × 3.3 μm2 ROIs, corresponding to the regions highlighted by yellow boxes in Fig. 1a. Images reconstructed employing diffraction data collected below (775.5 eV, a and b) and at (778 eV, a′ and b′) the Co L3-edge

Fig. 3
figure 3

Reconstructed magnitude (a) and phase (b) images (45 × 45 μm2) of outgrowth features exhibiting characteristic meso- and nano-scale structure. c Detail (see yellow box in a, ROI 6 × 3 μm2) highlighting nuclei developing at the electrode–electrolyte interface. The reconstructed images employ diffractograms recorded at 778 eV

To better highlight the areas containing Co aggregates, we employed multivariate analysis approaches—in particular PCA and Covariance analysis, based on the referencing of measured spectra to the spectrum of a pure Co standard—as contrast-enhancing tools. Figure 4a, b report reconstructions based on multivariate analysis of a large portion of the extended working-electrode region shown in Fig. 1, while Fig. 4c, d show details of the zone imaged in Fig. 2a, a′. The results clearly show that the contrast can be notably enhanced with this statistical approach and that even features with characteristic dimensions of a few tens of nanometers can be clearly imaged, allowing us to extend directly the chemical imaging capability down to the dimensional range of the smallest stable nuclei forming in electrocrystallization processes.

Fig. 4
figure 4

Reconstructed magnitude images of the same region depicted in Figs. 1 and 2, obtained by multivariate statistical methods; the brighter colors indicate higher Co presence. The contribution at the Co edge (778 eV)—extracted by covariance (a, c) and PCA (b, d) approaches—emphasizes the Co localization at different scales: a, b ROI 28 × 39 μm2, c, d ROI 3.3 × 3.3 μm2. a, c are produced through the covariance of a reference spectrum (red in e—acquired on the interface), (b) and its ROI (d) are obtained through PCA (component shown in blue in e). The covariance and PCA methods produce very similar results

In situ imaging after incremental growth

Further to the assessment of space variations in the distribution of Co after 100 plating cycles, we have endeavoured to follow the amount of the doping element added to the pre-existing deposit structure as a result of applying 10 more growth cycles. Adding nominally 10% of material is not expected to change the catalytic performance (Bocchetta et al. 2016), but can provide precious mechanistic information in the framework of the DIB model of electrodeposition based on the feedback of electrodeposit morphology on chemical localization (Bozzini et al. 2012c; Lacitignola et al. 2014; Gianoncelli et al. 2015). Thus, after the second growth step, we recorded diffractograms with the same procedure described above, again scanning the energy across the Co L3-edge. Figure 5 compares the reconstructed magnitude images at two energies, below (775.5 eV) and at the Co L3-edge (778 eV), after 100 and 110 growth cycles. Thus, by comparing the images measured at the L3-edge with those recorded off-edge, the formation of Co-containing features can be spotted. Moreover, differential absorption appearing after the application of the 10 new electrodeposition cycles pinpoints morphology changes in Co distribution. In particular, it can be noticed that on the one hand, pre-electrodeposited crystallites change their shape and on the other hand new nuclei appear. Thanks to chemical sensitivity, ptychographic data encode information about both shape and amount of electrodeposited material, allowing to quantify variations originated by to a given sequence of growth steps. In keeping with our previous observations on Mn (Kourousias et al. 2016; Bozzini et al. 2017b) and with the predictions of the DIB model (in particular Lacitignola et al. 2014), the evolution of the individual Co aggregates shows that global growth is indeed accompanied by local dissolution events.

Fig. 5
figure 5

Reconstructed images (modulus of the principal PCA component, ROI 11 × 11 μm2) at the electrode/electrolyte interface, measured after 100 and 110 growth cycles. The yellow rectangles highlight regions that exhibit differences resulting either from energy contrast (Co-rich features) or from further growth (electrodeposition of new Co-containing crystallites). Circles associated to a number identify the regions selected for the spectral analyses reported in Fig. 6

Spectroscopic ptychography

The chemical-state distribution can be followed accurately by extracting micro-XAS spectra from selected areas. In this investigation, we have computed micro-XAS from circular regions, ca 500 nm in diameter, of the images measured after 100 and 110 growth steps (see in Fig. 5). The spectra shown in Fig. 6 exhibit an evident space-dependence of the oxidation state of Co. Moreover, additional growth has a clear effect in some locations. The detailed physico-chemical framework for correlating the chemical state of Co with current–density in metal/PPy composite plating is given in (Bozzini et al. 2014) and extended to alloys in (Bozzini et al. 2015b). To interpret the set of results plotted in Fig. 6, we have to take into account two factors: (a) zones (1) and (2) are representative of intermediate current–density conditions while zones (3) and (4) corresponds to low- and high-current density regions, respectively; (b) owing to the local morphological evolution caused by electrodeposition (Popov et al. 2002), further growth tends to increase the current–density level in high-current density regions (the curvature of deposits tips increases) and to lower it in low-current density ones (increasing screening effect). In (Bozzini et al. 2014) we have shown that the Co(II)/Co(0) ratio correlates with current–density, as a result of the sequence of anodic and cathodic steps adopted for the growth of the relevant class of composites and this scenario is precisely confirmed by the present results. In fact, the most screened region (3) exhibits a higher fraction of elemental Co (main peak close to 778 eV and tendency to further localize the minimum at 778 after 10 additional growth steps). At the opposite limit, the high-current density zone (4) exhibits a clear oxidic spectral component at 779.5 eV, that is found to dominate after 110 growth steps. In the intermediate-current density zones (1) and (2) spectrally intermediate conditions are found, with a limited sensitivity on further growth.

Fig. 6
figure 6

Micro-XAS spectra extracted from the regions highlighted with yellow circles in Fig. 5. Spectra plotted in red and blue correspond to material formed after 100 and 110 growth cycles, respectively

Conclusions

This paper reports dynamic spectroscopic ptychography at the Co L3-edge performed in situ during the electrodeposition of a Co-doped Mn/PPy nanocomposite ORR electrocatalyst. This is an extension of our previous study on the compositionally prevailing Mn to dopants, confirming that this approach can provide unique in situ insight at the nanoscale into complex electrochemical phase-formation processes even addressing elements present in low concentrations. The extended nano-imaging capability, obtained by employing multivariate statistical approaches to enhance chemical contract, allows to employ in situ Fresnel CDI for the chemical imaging of incipient electrocrystallization processes. The wealth of morphochemical information gleaned by-in situ ptychography calls for a modelling environment able to profit from the raw data collected with high precision in view of developing physico-chemical insight. In this context, the DIB model for electrochemical phase-formation (Bozzini et al. 2012c; Lacitignola et al. 2014; Gianoncelli et al. 2015) in conjunction with parameter-identification tools able to extract compact kinetic data in an automated way (D’Autilia et al. 2017; Sgura et al. 2018) is a promising platform for the development of knowledge-based electrochemical material design and battery control. Even though the specific focus of this paper is on electrodeposition, the proposed approach can be naturally extended to any electrochemical material science problem, including—among many others—those relevant to all types of fuel-cells, batteries, solar water-splitting and CO2 reduction processes. However, we note that there are specific sample and photon energy requirements to ensure sufficient X-ray transmission and the relevant spectroscopy can be obtained which may limit the application to a subset of material science problems.