Dynamic imaging of lithium in solid-state batteries by operando electron energy-loss spectroscopy with sparse coding

Dynamic imaging of lithium in solid-state batteries by operando electron energy-loss spectroscopy with sparse coding


Play all audios:


ABSTRACT Lithium-ion transport in cathodes, anodes, solid electrolytes, and through their interfaces plays a crucial role in the electrochemical performance of solid-state lithium-ion


batteries. Direct visualization of the lithium-ion dynamics at the nanoscale provides valuable insight for understanding the fundamental ion behaviour in batteries. Here, we report the


dynamic changes of lithium-ion movement in a solid-state battery under charge and discharge reactions by time-resolved _operando_ electron energy-loss spectroscopy with scanning transmission


electron microscopy. Applying image denoising and super-resolution via sparse coding drastically improves the temporal and spatial resolution of lithium imaging. Dynamic observation reveals


that the lithium ions in the lithium cobaltite cathode are complicatedly extracted with diffusion through the lithium cobaltite domain boundaries during charging. Even in the open-circuit


state, they move inside the cathode. _Operando_ electron energy-loss spectroscopy with sparse coding is a promising combination to visualize the ion dynamics and clarify the fundamentals of


solid-state electrochemistry. SIMILAR CONTENT BEING VIEWED BY OTHERS OPERANDO OPTICAL TRACKING OF SINGLE-PARTICLE ION DYNAMICS IN BATTERIES Article 23 June 2021 IMAGING SOLID–ELECTROLYTE


INTERPHASE DYNAMICS USING OPERANDO REFLECTION INTERFERENCE MICROSCOPY Article 09 February 2023 TRANSIENT MORPHOLOGY OF LITHIUM ANODES IN BATTERIES MONITORED BY _IN OPERANDO_ PULSE ELECTRON


PARAMAGNETIC RESONANCE Article Open access 24 February 2021 INTRODUCTION Li-ion batteries1,2,3 (LIBs) are widely used not only for portable electronic devices, but they have also been used


in hybrid/electric vehicles in recent years. Intercalation-type cathodes, such as LiCoO24 and LiFePO45, are used for practical LIBs because of their advantages in terms of safety, lifetime,


energy density, and so forth. In common LIBs, Li ions are released from the cathode materials during the charge reaction, and they are then incorporated in the host structures of the cathode


during the discharge reaction. Intercalation and deintercalation of Li ions cause structural changes in the host structures, such as expansion/contraction of the crystal lattice, migration


of transition metals, and loss of oxygen, which result in a serious decrease in the electrochemical energy output of LIBs. Therefore, the intercalation and deintercalation processes of Li


ions have been intensively investigated to develop high-performance electrodes that can suppress the capacity and voltage decay6,7,8,9,10. Intercalation-type cathodes are classified into two


types from the viewpoint of the phase transformation during lithiation and delithiation. One type is two-phase transformation cathodes such as LiFePO4, where fully delithiated (FePO4)


regions stably form, and the boundary between the delithiated (FePO4) and lithiated (LiFePO4) regions proceeds in a single particle during the reactions. The other type is solid-solution


transformation cathodes such as LiCoO2, where all of the regions in the cathode are gradually delithiated and lithiated, and thus no boundaries are formed in a single particle. However,


recent studies have shown that a nanoscale and nonequilibrium transformation occurs at the interface via a solid-solution transformation, even in LiFePO4 which is considered to be a


two-phase transformation cathode8,11,12. Moreover, local variation of the Li-ion concentration has also been reported13. The nonequilibrium and inhomogeneous solid-solution transformation is


considered to play an important role in the high-rate capability of LiFePO4. Thus, revealing the Li-ion dynamics in the nonequilibrium reaction processes is the key to enhance the


electrochemical properties of LIBs. However, much less research has been performed on in situ analyses focusing on the nonequilibrium intercalation processes of solid-solution transformation


cathodes such as LiCoO2, and thus it is still unclear how Li ions move in the materials at the nanometre scale. In situ or _operando_ transmission electron microscopy (TEM) is expected to


clarify the above questions. Intensive research efforts over the past decade have established techniques to operate battery reactions in transmission electron microscopes7,14. Some research


groups have used piezo-driven tip TEM holders7 or liquid cell TEM holders15 to observe the morphological or crystallographic changes owing to lithiation and delithiation in real-time, for


example, lithiation of Si anodes16 and dendrite growth of Li-metal anodes15. However, using these techniques, it is difficult to quantitatively visualize the Li-ion dynamics in


intercalation-type active materials such as LiCoO2 because intercalation-type materials do not exhibit large morphological and crystallographic changes during the reactions. One method to


observe the Li-ion dynamics in intercalation-type materials is electron energy-loss spectroscopy (EELS), which directly detects Li signals at the nanometre scale. We have used scanning TEM


with EELS (STEM-EELS) to quantitatively visualize the changes in the Li distribution at the same area of a LiCoO2 thin film in a solid-state LIB (SSLIB)17. However, the temporal resolution


of the STEM-EELS measurement was not sufficient to observe the Li-ion dynamics, because a long acquisition time was required to obtain weak Li signals from the EEL spectra, and only four


images of the Li distribution were obtained during the charge/discharge reactions in our previous study. To observe the dynamic transformation processes of LiCoO2, the EELS dataset needs to


be recorded at a much higher scanning speed to improve the temporal resolution of Li detection. However, the Li maps from EELS at a higher scanning speed are commonly too noisy to display


the Li distribution because of the low signal-to-noise ratio (SNR). In the present study, to drastically enhance the temporal resolution with a sufficient SNR, we use sparse coding


(SC)18,19,20, which is a machine learning technique for image processing that uses the hidden features of the Li distribution. We demonstrate that SC reconstruction enables the low-SNR Li


maps recorded at a higher scanning speed to be denoised and super-resolved. We combine 157 images of the Li distribution as a movie that successfully shows the dynamical behaviour of Li ions


in a LiCoO2 thin-film cathode during the charge/discharge reactions. The movie also shows that the Li ions are not monotonically extracted from the cathode in the charged state and the Li


ions move inside the cathode even in the open-circuit state of the battery. RESULTS CONFIGURATION OF THE SSLIB A schematic of the SSLIB used in this study is shown in Fig. 1a. A 50-μm-thick


Li1+x+yAlx(Ti,Ge)2−xSiyP3−yO12 (LASGTP) sheet (Ohara Inc., Japan) was used as the solid electrolyte. A 230-nm-thick LiCoO2 film cathode was deposited on the LASGTP sheet by pulsed laser


deposition (PLD) at 550 °C. Au and Pt current collectors were then deposited by the common sputtering method. An in situ formed anode fabricated by electrochemical decomposition of LASGTP


was used as the anode21,22. One part of the cathode side of the battery sample (red dashed rectangle in Fig. 1a) was thinned by a focused ion beam (FIB) for TEM observation. The charge and


discharge curves of the thinned SSLIB sample cycled at a constant current of 50 nA (about 0.6 C rate) and subsequent constant voltages of 1.8 and 1.0 V are shown in Fig. 1b. Comparison of


the charge and discharge curves of the original and FIB-processed thin film batteries is shown in the Supporting Information of our previous study17. The TEM sample stably worked as a LIB


with a potential plateau at about 1.6 V, which is consistent with other reported values23,24,25. The configuration of the biasing TEM holder and the method to bias the SSLIB are given in the


Supplementary Fig. 1 and Supplementary Methods. An annular dark-field (ADF) STEM image of the sample is shown in Fig. 1c. The LiCoO2 cathode film was deposited without voids, and a sharp


interface formed with the LASGTP sheet. The dark gray regions in LASGTP are the grains of AlPO4 that do not have Li ionic conductivity, and the bright gray regions are the grains of


Li1+xAlxGeyTi2−x−yP3O12 and Li1+x+3zAlx(Ge,Ti)2−x(Si_z_PO4)3 that have high ionic conductivity of 1 × 10−4 S/cm at room temperature22. The typical phase distribution and Li concentration in


LiCoO2 cathode films investigated in our previous study are shown in Fig. 1d17. In the LiCoO2 film deposited by PLD under the same conditions, pillar LiCoO2 grains formed (indicated by black


lines in Fig. 1d), and a mixture of LiCoO2 and electrochemically inactive Co3O4 also formed in the film. Co3O4 was more concentrated near the LiCoO2/LASGTP interface (blue and green


regions, 10–20 nm thick) than at the Au side because some Li ions diffused from LiCoO2 to LASGTP during deposition of LiCoO2 at 550 °C. IMAGE DENOISING AND SUPER-RESOLUTION _Operando_


STEM-EELS records four-dimensional (4D) datasets consisting of a time series (1D) of three-dimensional (3D) EEL spectrum images (SIs). In the present study, we used a two-step strategy to


enhance the temporal resolution of _operando_ STEM-EELS using the hidden features in the 4D dataset. The first step was noise reduction of the EEL spectra in the 4D dataset. This was


accomplished by multiple linear least squares (MLLS) fitting of the EEL spectra using reference EEL spectra26. The second step was applying SC for drastic noise reduction and


super-resolution using the 2D morphological features of the Li distribution. To perform the above approach, we acquired the following three datasets in the experiments. First, a 4D dataset


consisting of a time series of 157 3D SIs acquired at the low-dose condition in the rectangle region shown in Fig. 1c to visualize the Li-ion dynamics in the LiCoO2 film. The SIs were


serially acquired in the same region during the charge and discharge reactions (under the LIB operational condition shown in Fig. 1b, that is, the _operando_ condition). Second, 1D reference


EEL spectra acquired from reference Li_x_CoO2 (_x_ = 0.99, 0.59, 0.39, and 0.03) particles for MLLS fitting. Third, 2D Li maps as training images for SC to extract the morphological


features of the Li distribution. We denoised and super-resolved the 157 sets of the low-dose 3D SIs (the first dataset) using the reference 1D EEL spectra (the second dataset) and the


extracted 2D morphological features of the Li distribution (the third dataset). The reference EEL spectra obtained from electrochemically delithiated LixCoO2 (_x_ = 0.99, 0.59, 0.39, and


0.03) particles (the second dataset) are shown in Fig. 2a–d. Conventional methods used to quantify the atomic ratio using the EEL spectra, such as the three-window method, cannot be applied


to LiCoO2 because part of the Li–K edge overlaps with the Co–M edge at about 60 eV, as shown in Fig. 2a–d. To quantify the Li concentration in LiCoO2, we used the _S_A/_S_B method proposed


by Kikkawa et al.27. They defined areas of _S_A and _S_B for the intense peak of the Li–K edge components at around 62 eV and showed that the _S_A/_S_B ratio is proportional to _x_ in


LixCoO2. Note that the thickness variance of a TEM sample does not have a large effect on the _S_A/_S_B method because the method measures the Li concentration through the atomic ratio of


Li/Co. One of the problems with the _S_A/_S_B method is the low robustness to noise. This is because the boundary between _S_A and _S_B is simply determined by the straight line that


intersects the EEL spectrum at 60.3 and 62.5 eV. The SIs recorded with high temporal resolution, that is, the low-dose condition, cause low SNR of the EEL spectra and uncertainty of Li


quantification by the _S_A/_S_B method. For example, an ADF-STEM image simultaneously acquired with one SI in the LiCoO2 cathode film (one of the first datasets) is shown in Fig. 2e. The


typical EEL spectrum at the pixel indicated by point A in Fig. 2e is shown by the red line in Fig. 2h that has low SNR, where the STEM probe current, dwell time, and resolution were 260 pA,


0.01 s/pixel, and 58 × 35 pixels, respectively. The corresponding Li concentration (Li/Co ratio) map is shown in Fig. 2f. The Li map was too noisy to identify the pillar LiCoO2 grains shown


in Fig. 1d. Note that the Li/Co ratio in the regions of LASGTP and Au was set to be zero because the Li/Co ratio could not be defined in LASGTP and Au. To denoise the EEL spectra, we fitted


the noise-free reference spectra shown in Fig. 2a–d to the original low-SNR SI by MLLS fitting in the energy range 60–65 eV (see the yellow region in Fig. 2h). This range was selected to


decrease the plural inelastic scattering effects for the Li-K edge, which is different from the higher energy side (ca. 65–80 eV). The blue spectrum in Fig. 2h was extracted from the


MLLS-fitted SI. It is clear that the noise component was significantly reduced without losing the features of the Li-K edge around 62 eV. A Li map obtained from this MLLS-fitted SI is shown


in Fig. 2g. The pillar LiCoO2 grains became observable because of noise reduction by MLLS fitting. Next, we applied the SC technique to denoise and super-resolve the Li maps. SC is a


patch-based method that extracts the hidden features, the so called “dictionary”, from the training images. The details of SC are described in the “Methods” section. We used a third dataset


of SIs recorded with a high electron dose and high spatial resolution at static states before and after the charge and discharge reactions. In the static states, the electrochemical


reactions did not proceed, and thus the acquisition time was not limited. The high-quality (HQ) Li maps obtained from the high-dose and high-resolution MLLS-fitted SIs were used as the


training images to obtain the dictionary. The HQ Li maps obtained from the same area (Fig. 1c) in the 0% charged, 100% charged, and 51% discharged states are shown in Fig. 3a–c. The dwell


time and resolution were 0.04 s/pixel and 110 × 45 pixels, respectively. We also acquired low-dose and low-resolution SIs with about 16 times higher temporal resolution from the same area


and in the same states as Fig. 3a–c at a dwell time of 0.01 s/pixel and resolution of 55 × 22 pixels, which corresponded to about 12 s to take one image. The low-quality (LQ) Li maps


obtained from the low-dose MLLS-fitted SIs were used as the test images (Fig. 3d–f). The LQ Li maps (Fig. 3d–f) were very noisy because each dose and resolution was a quarter of those used


to obtain the HQ Li maps (Fig. 3a–c). SC was used to extract the features of the Li distribution (dictionary) from the HQ Li maps. The dictionary, in which the number and size of the


dictionary were 5 and 18 × 18 pixels, respectively, optimized using the cross-validation method is shown in Fig. 3g. The details are described in the “Methods” section. The LQ Li maps were


denoised and super-resolved by SC with the dictionary. The SC-reconstructed images from the LQ Li maps are shown in Fig. 3h–j. The reconstructed Li maps excellently reproduced the HQ Li maps


of Fig. 3a–c, except for the noise. The residuals between the HQ (Fig. 3a–c) and SC-reconstructed (Fig. 3h–j) Li maps are shown in Fig. 3k–m, indicating that the random noise was


effectively removed by SC. Comparison of reconstructed images processed with different parameters (the number and size of the dictionary) is shown in the Supplementary Fig. 2 and


Supplementary Note 1. We calculated the peak SNR (PSNR) to quantitatively evaluate reproduction of the images by SC, where a higher PSNR value indicates higher reproduction by SC. The PSNRs


of the original LQ Li maps, SC-reconstructed Li maps, and bilinear interpolated LQ Li maps for comparison are given in Table 1. The PSNR values of the SC-reconstructed Li maps were higher


than those of the original LQ and bilinear interpolated Li maps in all of the states. Therefore, SC reconstruction was effective to retrieve the true Li maps from low-dose SIs recorded at a


higher scanning speed. DYNAMIC IMAGING OF LI CONCENTRATION Part of the time series of 157 ADF-STEM images and the corresponding Li maps from the original low-dose SIs, MLLS-fitted SIs, and


SC reconstruction are shown in Fig. 4a–d, respectively. Movies of the whole time series of Fig. 4a, b, d are provided in the Supplementary Movie 1, in which the nanoscale Li dynamics during


the charge/discharge reactions were clearly observed for the first time. In the snapshots shown in Fig. 4, the charge/discharge capacity, percentage of the state of charge (SOC), and image


number of the series are indicated at the left-hand side of each ADF-STEM image. The random noise in the original Li maps (Fig. 4b) was removed by the MLLS fitting process, and the Li


concentration in each LiCoO2 grain was retrieved (Fig. 4c). In addition, as shown in Fig. 4d, the quality of the Li maps was drastically improved by denoising and super-resolving in the


SC-reconstruction processes. Extraction and insertion of Li ions during the charge and discharge reactions were also clearly observed. The changes in the average Li concentrations in area 1


(large), 2 (middle), and 3 (small) indicated in Fig. 4b–d are shown in Fig. 4e–g, respectively, where the horizontal axis is the battery capacity in the charged and discharged states. The Li


concentrations of the original (black) and MLLS-fitted (blue) SIs were calculated from the average spectra in the areas. Averaging the Li signals in each area improved the SNR of the EELS


spectra, and it is therefore convenient to more quantitatively observe the rates of the Li extraction/insertion reactions in each area. The plots of the MLLS-fitted and SC-reconstructed Li


maps showed significant suppression of the noise without artefacts. As the capacity increased in the charged state, the Li ions were extracted from the LiCoO2 cathode, and, as a result, the


Li concentration in each area decreased by a similar rate. In the discharged state, the Li concentration in each area increased by the insertion reaction, but the amount of the Li


concentration change in the discharged state was lower than that in the charged state. This irreversible capacity is because of in situ formation of anode active materials, where some Li


ions were trapped in the anode side of LASGTP crystals21,22,24,25. The total dose through the present _operando_ STEM-EELS was about 4.3 × 105 [electron/Å2], which is the same order of


magnitude as our previous _operando_ STEM-EELS (about 1.7 × 105 [electron/Å2])17 and typical atomic-resolution STEM for LiCoO2 (about 2.8 × 105 [electron/Å2])28. Thus, we considered that


electron irradiation did not have a large effect on the results. The detailed description of the electron beam effect is given in the Supplementary Fig. 3 and Supplementary Note 2. SPATIAL


VARIATION OF THE LI CONCENTRATIONS From the Li-ion dynamics, we observed spatial variation of the Li concentrations in the LiCoO2 cathode during the charge and discharge processes. An


ADF-STEM image of the cathode and the change in the average Li concentration in the entire cathode film as a function of capacity are shown in Fig. 5a, b, respectively. The average Li


concentration was calculated as the average value of the SC-reconstructed Li maps in the entire cathode film. The average Li concentration almost proportionally decreased and increased as a


function of the charge and discharge capacity, respectively. During the open-circuit state for 30 min between the charge and discharge states (purple region in Fig. 5b), the average Li


concentration in the entire cathode film did not change. The changes in the Li concentration at local points 1–3 and 4–6 indicated in Fig. 5a are shown in Fig. 5c, d, respectively, in which


the concentration values were extracted from the SC-reconstructed Li maps. Note that the cathode film was composed of pillar-structured domains of LiCoO2, as shown in Fig. 1d. Thus, the


three points 1–3 were chosen in one domain, and the other points 4–6 were chosen in the other domain. During stage A in the charged state from 3 to 18 nAh (yellow region in Fig. 5b–d), the


Li concentrations at points 1–3 decreased (Fig. 5c), where the concentration at point 1 decreased faster than those at points 2 and 3 because point 1 was closer to the LASGTP solid


electrolyte. The Li concentrations at points 1–3 then slightly increased in stage B from 39 to 53 nAh (pink region in Fig. 5b–d). This means that the Li ions were not monotonically extracted


in the pillar domain during the charging process. Because the average concentration in the entire LiCoO2 proportionally decreased as a function of charge capacity, unintended Li-ion


reversal locally occurred in the cathode film during the reaction. In the open-circuit state for the 30 min between charge and discharge states, the Li concentrations at points 1–3 decreased


(Fig. 5c), although the Li ions were not extracted from the cathode. In contrast, at points 4–6 in the other domain, the Li concentrations increased in stage A, decreased in stage B, and


increased in the open-circuit state, which are the opposite changes to those at points 1–3. It seems that Li-ion extraction and Li-ion diffusion between the domains simultaneously occurred


in the cathode film. In the discharged state, such complicated behaviour did not occur. The Li concentrations at points 1–6 proportionally increased with almost the same rate (Fig. 5c, d).


Therefore, these dynamic changes of the Li concentration indicate that the local movements of the Li ions in the cathode film were different for the charge and discharge states. To clarify


the reason for this behaviour, further experiments are required. We directly observed the above spatial variation in the Li maps. Some snapshots of the movie showing the changes in the Li


maps at stages A, B, and C are shown in Fig. 5e–j. At the start of stage A (3 nAh, Fig. 5e), the Li concentration around points 1–3 in the left domain was higher than that around points 4–6


in the right domain. However, at the end of stage A (18 nAh, Fig. 5f), the Li concentration in the left domain was as high as that in the right domain. This can be interpreted as the Li ions


moved through the boundaries of neighbouring pillars parallel to the cathode/solid-electrolyte interface. The same phenomena were observed in stages B and C. At the start of stage B (39


nAh, Fig. 5g), the Li concentration around points 1–3 in the left domain was slightly higher than that around points 4–6 in the right domain. However, at the end of stage B (53 nAh, Fig. 


5h), the Li concentration in the left domain was much higher than that in the right domain. The concentration change in the open-circuit state for 30 min between charging and discharging was


the most evident. Before the open-circuit state (Fig. 5i), the Li concentration around points 1–3 in the left domain was much higher than that around points 4–6 in the right domain.


However, after the open-circuit state (Fig. 5j), the Li concentration in the left domain was as high as that in the right domain. Therefore, we considered that the Li ions moved parallel as


well as vertical to the interface during the charge reaction. Moreover, the Li ions moved inside the cathode even if the macroscopic battery reactions stopped in the open-circuit state.


DISCUSSION The non-monotonic extraction shown in Fig. 5c, d is a surprising phenomenon in battery research fields. However, we consider that the phenomenon was not caused by characterization


error but by the lateral diffusion of Li ions because of the following experimental evidence. One of the reasons is that the average Li concentration in the whole LiCoO2 film monotonically


decreased, as shown in Fig. 5b, which is consistent with galvanostatic charging. This shows that our STEM-EELS correctly measured at least the average Li-ion concentration. Moreover,


non-monotonic extraction was suggested in the raw STEM-EELS data without spectrum fitting and SC, as shown in the black plots in Fig. 4f, g. The black plots were calculated from the


unprocessed (original) EELS spectra with only spatial averaging. The plots showed noisy but clear non-monotonic extraction, where the changes in the Li concentration were similar to those in


Fig. 5c, d. Therefore, we concluded that the Li ions moved in the lateral direction between the LiCoO2 domains and were non-monotonically extracted in nanoscale local regions. Recently,


Zhang et al.13 reported nanoscale reversal of the Li concentration in LiFePO4 nanoparticles by high-resolution TEM (HRTEM) with geometric phase analysis (GPA). They detected the variation of


the lattice constant of LiFePO4 to estimate the Li concentration. They suggested that the reversal of the Li concentration was caused by the variation of the free energy function, which may


originate from lattice defects in LiFePO4. It is well known that the LiCoO2 film cathode deposited by PLD contains oxygen defects depending on the substrate temperature, oxygen partial


pressure, and other parameters. Thus, it is possible that the cathode film contains many lattice defects in the LiCoO2 domains and at the interfaces between the LiCoO2 and Co3O4 domains. The


present study reveals that nanoscale reversal of the Li concentration also occurs in the thin film of the LiCoO2 cathode. The advantages of the proposed method are the direct detection of


Li by EELS and the applicability to polycrystalline materials with a wide field of view, while in situ HRTEM with GPA requires, in principle, atomic-resolution images and single-crystal


materials, which are not convenient for analysis of practical battery electrodes. In conclusion, we have demonstrated that _operando_ STEM-EELS with SC enables direct visualization of the


Li-ion dynamics in SSLIBs during the charge and discharge reactions. Dynamic observation revealed that the Li ions not only moved in the vertical direction to the electrode/solid-electrolyte


interface, but they also moved in the parallel direction, and thus the Li concentration spatially varied at the nanometre scale during the electrochemical reactions. The present study also


showed that Li-ion diffusion occurred inside the cathode film even in the open-circuit state. Therefore, the combination of STEM-EELS and SC is a promising _operando_ technique for probing


the fundamental properties of solid-state electrochemistry. METHODS PREPARATION OF THE SSLIB The details of PLD deposition, the in situ formed anode, and impedance spectroscopy of the SSLIB


are described in the Supporting Information of our previous study17. PREPARATION OF THE REFERENCE LIXCOO2 PARTICLES We prepared LixCoO2 particles with different Li-ion concentrations by


electrochemical delithiation of commercially available LiCoO2. The details are also described in the Supporting Information of our previous study17. ACQUISITION OF THE EEL SPECTRA The EEL


spectra were obtained with a 200 kV electron microscope (ARM-200F, JEOL Ltd.) equipped with a cold-field emission gun and a spectrometer (Gatan imaging filter Quantum ER, Gatan Inc.). The


energy dispersion and full width at half maximum of the zero-loss peak were 0.05 eV/pixel and 0.35–0.45 eV, respectively. To minimize the anisotropy effect, the collection semi-angle was set


to a relatively large angle of about 88.9 mrad. SC SC is a patch-based method to find the hidden features (dictionary) in training images (high-dose and high-resolution Li maps)29. In SC,


patches of _a_ × _a_ pixels are extracted from the high-resolution training image of _W_ × _H_ pixels (_W_, _H_ > _a_), where the extraction region is shifted by one pixel in a raster


scan order from left to right and top to bottom. The _W_ × _H_ training image has _N_ = \((W - a + 1) \times (H - a + 1)\) overlapping patches. Each patch is flattened to a one-dimensional


vector and stored in a high-resolution data matrix: \({\mathbf{y}}_{{\mathbf{HR}},{\boldsymbol{i}}} \in R^M\) (_i_ = 1 – _N_), where _M_ is the number of pixels in the patches (=_a_2). SC


finds a representation of data matrix \({\mathbf{y}}_{{\mathbf{HR}},{\boldsymbol{i}}}\) as a product of the high-resolution bases matrix \({\mathbf{D}}_{{\mathbf{HR}}} \in R^{M\! \times\!


n}\) (dictionary) and corresponding sparse weights matrix \({\mathbf{C}}_{{\mathbf{HR}},{\boldsymbol{i}}} \in R^n\) such that $${\mathbf{y}}_{{\mathbf{HR}},{\boldsymbol{i}}} =


{\mathbf{D}}_{{\mathbf{HR}}}{\mathbf{C}}_{{\mathbf{HR}},{\boldsymbol{i}}} + {\mathbf{\varepsilon }}_{\boldsymbol{i}}\quad {\mathrm{for}}\,{\mathrm{all}}\,i,$$ (1) where _n_ is the number of


bases and \({\mathbf{\varepsilon }}_{\boldsymbol{i}} \in R^M\) is noise. The matrices \({\mathbf{D}}_{{\mathbf{HR}}}^ \ast\) and \({\mathbf{C}}_{{\mathbf{HR}},{\boldsymbol{i}}}^ \ast\) are


learned by minimization of the cost function: $$\left( {{\mathbf{D}}_{{\mathbf{HR}}}^ \ast {\mathrm{,}}{\mathbf{C}}_{{\mathbf{HR}},{\boldsymbol{i}}}^ \ast } \right) =


{\mathrm{argmin}}_{{\mathbf{D}}_{{\mathbf{HR}}}{\mathrm{,}}{\mathbf{C}}_{{\mathbf{HR}},{\boldsymbol{i}}}}\left\{ {\left\| {{\mathbf{y}}_{{\mathbf{HR}},{\boldsymbol{i}}} -


{\mathbf{D}}_{{\mathbf{HR}}}{\mathbf{C}}_{{\mathbf{HR}},{\boldsymbol{i}}}} \right\|_2^2 +\, \lambda \left\| {{\mathbf{C}}_{{\mathbf{HR}},{\boldsymbol{i}}}} \right\|_1} \right\}\quad


{\mathrm{for}}\,{\mathrm{all}}\,i,$$ (2) where _λ_ is a parameter to control the sparsity of the weights matrix. The first term maintains data fidelity, and the second term enforces


sparsity. _a_, _n_, and _λ_ are user-chosen hyper-parameters. In the same way as the high-resolution training images, patches of \(\frac{a}{d} \times \frac{a}{d}\) pixels are extracted from


low-resolution test images of _W_′ × _H_′ pixels (_W_ʹ, _H_ʹ > _a_/_d_), where _d_ is the sampling rate (_d_ = 2 in this study). The _W_′ × _H_′ training image has \(N^{\prime} = \left(


{W^{\prime} - \frac{a}{d} + 1} \right) \times \left( {H^{\prime} - \frac{a}{d} + 1} \right)\) overlapping patches. Each patch is flattened and stored in a low-resolution data matrix:


\({\mathbf{y}}_{{\mathbf{LR}},{\boldsymbol{j}}} \in R^K\) (_j_ = 1 – _Nʹ_), where _K_ is the number of pixels in the patches (=_a_2/_d_2). We then define the low-resolution bases matrix


\({\mathbf{D}}_{{\mathbf{LR}},{\boldsymbol{j}}}^ \ast \in R^{K \! \times \! n}\) using the learned high-resolution bases matrix \({\mathbf{D}}_{{\mathbf{HR}}}^ \ast\) and the down sampling


matrix \({\mathbf{S}}_{\boldsymbol{j}} \in R^{K\! \times\! M}\). $${\mathbf{D}}_{{\mathbf{LR}},{\boldsymbol{j}}}^ \ast = {\mathbf{S}}_{\boldsymbol{j}}{\mathbf{D}}_{{\mathbf{HR}}}^ \ast \quad


{\mathrm{for}}\,{\mathrm{all}}\,j.$$ (3) The low-resolution bases matrix \({\mathbf{D}}_{{\mathbf{LR}},{\boldsymbol{j}}}^ \ast\) is then applied to the low-resolution data matrix 


\({\mathbf{y}}_{{\mathbf{LR}},{\boldsymbol{j}}}\) extracted from the test image. The sparse weights matrix \({\mathbf{C}}_{{\mathbf{LR}},{\boldsymbol{j}}}^ {\ast \ast} \in R^{n}\) are


learned by minimization of the cost function: $${\mathbf{C}}_{{\mathbf{LR}},{\boldsymbol{j}}}^{ \ast \ast } = {\mathrm{argmin}}_{{\mathbf{C}}_{{\mathbf{LR}},{\boldsymbol{j}}}}\left\{


{\left\| {{\mathbf{y}}_{{\mathbf{LR}},{\boldsymbol{j}}} - {\mathbf{D}}_{{\mathbf{LR}},{\boldsymbol{j}}}^ \ast {\mathbf{C}}_{{\mathbf{LR}},{\boldsymbol{j}}}} \right\|_2^2 \,+\, \lambda


\left\| {{\mathbf{C}}_{{\mathbf{LR}},\,\,{\boldsymbol{j}}}} \right\|_1} \right\}\quad {\mathrm{for}}\,{\mathrm{all}}\,j.$$ (4) The super-resolved and denoised low-resolution data matrix


\({\mathbf{y}}_{{\mathbf{HR}},{\boldsymbol{j}}}^\prime \in R^M\) is represented as the product of the sparse weights matrix \({\mathbf{C}}_{{\mathbf{LR}},{\boldsymbol{j}}}^{ \ast \ast }\)


learned by Eq. (4) and the high-resolution bases matrix \({\mathbf{D}}_{{\mathbf{HR}}}^ \ast\) learned by Eq. (2): $${\mathbf{y}}_{{\mathbf{HR}},{\boldsymbol{j}}}^\prime =


{\mathbf{D}}_{{\mathbf{HR}}}^ \ast {\mathbf{C}}_{{\mathbf{LR}},{\boldsymbol{j}}}^{ \ast \ast }\quad {\mathrm{for}}\,{\mathrm{all}}\,j.$$ (5) The super-resolved and denoised data matrix


\({\mathbf{y}}_{{\mathbf{HR}},{\boldsymbol{j}}}^\prime\) are converted to two-dimensional patches and combined to form the recovered image, where the intensity of each pixel in the recovered


image is the average intensity of each overlapping patch. For better super-resolution and denoising, it is important to use appropriate hyper-parameters _a_, _n_, and _λ_. In the present


study, we used the cross-validation method to optimize the hyper-parameters. We calculated 4320 sets of hyper-parameters, where _a_ = 4, 5,…, 38, 39, _n_ = 1, 2, …, 14, 15, and _λ_ = 10−8,


10−7,…, 1, 10. The optimized parameters were _a_ = 18, _n_ = 5, and _λ_ = 1E−2. DATA AVAILABILITY The data that support the findings of this study are available from the corresponding author


upon request. CODE AVAILABILITY The codes associated with the findings of this study are available from the corresponding authors upon request. REFERENCES * Tarascon, J.-M. & Armand, M.


Issues and challenges facing rechargeable lithium batteries. _Nature_ 414, 359–367 (2001). Article  ADS  CAS  Google Scholar  * Armand, M. & Tarascon, J.-M. Building better batteries.


_Nature_ 451, 652–657 (2008). Article  ADS  CAS  Google Scholar  * Yoshino, A. The birth of the lithium-ion battery. _Angew. Chem. Int. Ed._ 51, 5798–5800 (2012). Article  CAS  Google


Scholar  * Mizushima, K., Jones, P. C., Wiseman, P. J. & Goodenough, J. B. Li_x_CoO2 (0 < x < −1): A new cathode material for batteries of high energy density. _Mater. Res. Bull._


15, 783–789 (1980). Article  CAS  Google Scholar  * Padhi, A. K., Nanjundaswamy, K. S. & Goodenough, J. B. Phospho-olivines as positive-electrode materials for rechargeable lithium


batteries. _J. Electrochem. Soc._ 144, 1188–1194 (1997). Article  ADS  CAS  Google Scholar  * Armstrong, A. R. et al. Demonstrating oxygen loss and associated structural reorganization in


the lithium battery cathode Li[Ni0.2Li0.2Mn0.6]2. _J. Am. Chem. Soc._ 128, 8694–8698 (2006). Article  CAS  Google Scholar  * Huang, J. Y. et al. In situ observation of the electrochemical


lithiation of a single SnO2 nanowire electrode. _Science_ 330, 1515–1520 (2010). Article  ADS  CAS  Google Scholar  * Orikasa, Y. et al. Direct observation of a metastable crystal phase of


Li_x_FePO4 under electrochemical phase transition. _J. Am. Chem. Soc._ 135, 5497–5500 (2013). Article  CAS  Google Scholar  * Lin, F. et al. Surface reconstruction and chemical evolution of


stoichiometric layered cathode materials for lithium-ion batteries. _Nat. Commun._ 5, 3529 (2014). Article  ADS  Google Scholar  * Hy, S. et al. Understanding the role of Ni in stabilizing


the lithium-rich high-capacity cathode material Li[Ni_x_Li(1−2_x_)/3Mn(2−_x_)/3]O2 (0 ≤ _x_ ≤ 0.5). _Chem. Mater._ 26, 6919–6927 (2014). Article  CAS  Google Scholar  * Yamada, A. et al.


Room-temperature miscibility gap in Li_x_FePO4. _Nat. Mater._ 5, 357–360 (2006). Article  ADS  CAS  Google Scholar  * Kobayashi, S., Kuwabara, A., Fisher, C. A. J., Ukyo, Y. & Ikuhara,


Y. Microscopic mechanism of biphasic interface relaxation in lithium iron phosphate after delithiation. _Nat. Commun._ 9, 2863 (2018). Article  ADS  Google Scholar  * Zhang, W. et al.


Localized concentration reversal of lithium during intercalation into nanoparticles. _Sci. Adv._ 4, eaao2608 (2018). Article  ADS  Google Scholar  * Yamamoto, K. et al. Dynamic visualization


of the electric potential in an all-solid-state rechargeable lithium battery. _Angew. Chem. Int. Ed._ 49, 4414–4417 (2010). Article  CAS  Google Scholar  * Mehdi, B. L. et al. Observation


and quantification of nanoscale processes in lithium batteries by operando electrochemical (S)TEM. _Nano Lett._ 15, 2168–2173 (2015). Article  ADS  CAS  Google Scholar  * Liu, X. H. &


Huang, J. Y. In situ TEM electrochemistry of anode materials in lithium ion batteries. _Energy Environ. Sci._ 4, 3844–3860 (2011). Article  CAS  Google Scholar  * Nomura, Y. et al.


Quantitative _operando_ visualization of electrochemical reactions and Li ions in all-solid-state batteries by STEM-EELS with hyperspectral image analyses. _Nano Lett._ 18, 5892–5898 (2018).


Article  ADS  CAS  Google Scholar  * Olshausen, B. A. & Field, D. J. Emergence of simple-cell receptive field properties by learning a sparse code for natural images. _Nature_ 381,


607–609 (1996). Article  ADS  CAS  Google Scholar  * Stevens, A., Yang, H., Carin, L., Arslan, I. & Browning, N. D. The potential for Bayesian compressive sensing to significantly reduce


electron dose in high-resolution STEM images. _Microscopy_ 63, 41–51 (2014). Article  Google Scholar  * Stevens, A. et al. A sub-sampled approach to extremely low-dose STEM. _Appl. Phys.


Lett._ 112, 043104 (2018). Article  ADS  Google Scholar  * Iriyama, Y., Yada, C., Abe, T., Ogumi, Z. & Kikuchi, K. A new kind of all-solid-state thin-film-type lithium-ion battery


developed by applying a D.C. high voltage. _Electrochem. Commun._ 8, 1287–1291 (2006). Article  CAS  Google Scholar  * Yamamoto, K. et al. Nano-scale simultaneous observation of


Li-concentration profile and Ti-, O electronic structure changes in an all-solid-state Li-ion battery by spatially-resolved electron energy-loss spectroscopy. _J. Power Sources_ 266, 414–421


(2014). Article  ADS  CAS  Google Scholar  * Amiki, Y. et al. Electrochemical properties of an all-solid-state lithium-ion battery with an in-situ formed electrode material grown from a


lithium conductive glass ceramics sheet. _J. Power Sources_ 241, 583–588 (2013). Article  ADS  CAS  Google Scholar  * Shimoyamada, A. et al. Dynamical observation of lithium


insertion/extraction reaction during charge−discharge processes in Li-ion batteries by _in situ_ spatially resolved electron energy-loss spectroscopy. _Microscopy_ 64, 401–408 (2015).


Article  CAS  Google Scholar  * Yamamoto, K., Iriyama, Y. & Hirayama, T. _Operando_ observations of solid-state electrochemical reactions in Li-ion batteries by spatially resolved TEM


EELS and electron holography. _Microscopy_ 66, 50–61 (2017). CAS  PubMed  Google Scholar  * Arenal, R. et al. Extending the analysis of EELS spectrum-imaging data, from elemental to bond


mapping in complex nanostructures. _Ultramicroscopy_ 109, 32–38 (2008). Article  CAS  Google Scholar  * Kikkawa, J. et al. Chemical states of overcharged LiCoO2 particle surfaces and


interiors observed using electron energy-loss spectroscopy. _J. Phys. Chem. C_ 119, 15823–15830 (2015). Article  CAS  Google Scholar  * Huang, R. & Ikuhara, Y. STEM characterization for


lithium-ion battery cathode materials. _Curr. Opin. Solid State Mater. Sci._ 16, 31–38 (2012). Article  ADS  CAS  Google Scholar  * Mairal, J., Bach, F., Ponce, J. & Sapiro, G. Online


dictionary learning for sparse coding. In _Proceedings on 26th International Conference on Machine Learning_ 689–696, Association for Computing Machinery (New York, NY, United States, 2009).


 https://dl.acm.org/doi/proceedings/10.1145/1553374. Download references ACKNOWLEDGEMENTS We thank Mr. Yukihiro Umetani of Panasonic Corporation for valuable suggestions for the SC program


written in Python. We also thank Ms. Mayumi Ohkawa and Mr. Nobuhiko Hojo of Panasonic Corporation for preparing electrochemically delithiated Li_x_CoO2 particles. This work was partly


supported by a Grant-in-Aid for Scientific Research KAKENHI (JP 17H02792) from the Japan Society for the Promotion of Science. We thank Tim Cooper, PhD, from Edanz Group


(www.edanzediting.com/ac) for editing a draft of this manuscript. AUTHOR INFORMATION AUTHORS AND AFFILIATIONS * Technology Innovation Division, Panasonic Corporation, 3-1-1


Yagumo-naka-machi, Moriguchi, Osaka, 570-8501, Japan Yuki Nomura, Mikiya Fujii & Emiko Igaki * Nanostructures Research Laboratory, Japan Fine Ceramics Center, 2-4-1 Mutsuno, Atsuta,


Nagoya, Aichi, 456-8587, Japan Kazuo Yamamoto & Tsukasa Hirayama * Institute of Materials and Systems for Sustainability, Nagoya University, Furo-cho, Chikusa, Nagoya, Aichi, 464-8603,


Japan Tsukasa Hirayama & Koh Saitoh Authors * Yuki Nomura View author publications You can also search for this author inPubMed Google Scholar * Kazuo Yamamoto View author publications


You can also search for this author inPubMed Google Scholar * Mikiya Fujii View author publications You can also search for this author inPubMed Google Scholar * Tsukasa Hirayama View author


publications You can also search for this author inPubMed Google Scholar * Emiko Igaki View author publications You can also search for this author inPubMed Google Scholar * Koh Saitoh View


author publications You can also search for this author inPubMed Google Scholar CONTRIBUTIONS Y.N. performed the STEM-EELS experiments and SC analysis. Y.N. wrote the draft manuscript.


K.Y., M.F., T.H., and K.S. revised the manuscript. M.F. discussed SC. E.I. contributed to the discussion and suggestions. All of the authors contributed to discussion of the results and read


and commented on the manuscript. CORRESPONDING AUTHOR Correspondence to Yuki Nomura. ETHICS DECLARATIONS COMPETING INTERESTS The authors declare no competing interests. ADDITIONAL


INFORMATION PEER REVIEW INFORMATION _Nature Communications_ thanks Lin Gu and the other, anonymous, reviewer(s) for their contribution to the peer review of this work. Peer reviewer reports


are available. PUBLISHER’S NOTE Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. SUPPLEMENTARY INFORMATION SUPPLEMENTARY


INFORMATION PEER REVIEW FILE DESCRIPTION OF ADDITIONAL SUPPLEMENTARY FILES SUPPLEMENTARY MOVIE 1 RIGHTS AND PERMISSIONS OPEN ACCESS This article is licensed under a Creative Commons


Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original


author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the


article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use


is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit


http://creativecommons.org/licenses/by/4.0/. Reprints and permissions ABOUT THIS ARTICLE CITE THIS ARTICLE Nomura, Y., Yamamoto, K., Fujii, M. _et al._ Dynamic imaging of lithium in


solid-state batteries by _operando_ electron energy-loss spectroscopy with sparse coding. _Nat Commun_ 11, 2824 (2020). https://doi.org/10.1038/s41467-020-16622-w Download citation *


Received: 11 December 2019 * Accepted: 15 May 2020 * Published: 04 June 2020 * DOI: https://doi.org/10.1038/s41467-020-16622-w SHARE THIS ARTICLE Anyone you share the following link with


will be able to read this content: Get shareable link Sorry, a shareable link is not currently available for this article. Copy to clipboard Provided by the Springer Nature SharedIt


content-sharing initiative