Introduction

In recent years, increasing renewable energy production has highlighted the imperative to advance battery technology, with a particular emphasis on alternatives beyond lithium-ion batteries1. Electrolyte materials, which serve as a key medium for ion transport between negative electrode and positive electrode, play a critical role in battery devices, and battery performance is heavily influenced by the properties of electrolytes. Among various new battery systems, aqueous zinc-metal batteries (ZMBs) become a hot topic due to their high volumetric capacity (5855 mAh·cm−3), inherent safety, cost-effectiveness, and environmental sustainability2,3. Nevertheless, the wide application of aqueous ZMBs has not been achieved due to the inherent high activity of aqueous electrolytes4,5,6, the narrow electrochemical stability window, and the dissolution of positive electrode materials7,8.

Solid-state electrolytes are promising alternatives to aqueous electrolytes due to their potential advantages of safety, energy density, and mechanical properties9. It is very exciting that the introduction of solid-state electrolytes can effectively address the issues of dendrite formation and gas generation associated with zinc negative electrodes in aqueous ZMBs. Inspired by the research of lithium-ion batteries, most studies on solid-state zinc-ion electrolytes are based on polymer electrolyte materials10,11. Unfortunately, the ionic conductivity of polymer electrolytes, which relies on the random thermal motion of zinc ions, is relatively low. zinc ions present significant challenges for solid-state migration due to two key properties: their high charge valence (+2) and relatively low electronegativity (1.65). The high charge density associated with the +2 state induces strong electrostatic interactions with the anion lattice, resulting in high migration barriers. Simultaneously, the low electronegativity promotes stronger bonding with anions (e.g., O2), which further restricts mobility. This dual impediment makes zinc ion conduction particularly difficult to achieve in solid electrolytes. Recently, inorganic-based solid-state zinc-ion electrolytes have been developed, such as fluorine-doped mesoporous zinc sulfide ZnyS1-xFx12 and a phosphorus sulfide ZnPS313. These inorganic-based solid-state zinc-ion electrolytes possess high ionic conductivity and can effectively conduct zinc ions, endowing their batteries with good cycling performance. However, the research of solid-state zinc-ion electrolytes is still in its early stages, thereby the quest for applicable solid-state electrolytes remains of significant importance.

In this work, we proposed a composition engineering strategy for designing metal halide-based all-solid-state zinc-ion electrolytes. Based on the theoretical analysis between lithium- and zinc-based ternary metal halides, two zinc-based hybrid metal halides, C4N2H12ZnBr4 and C4N2H12ZnCl4 (denoted as PipZnBr4 and PipZnCl4, respectively, where Pip is the divalent ion of piperazine), were theoretically studied. These two materials show good electronically insulating properties and low zinc-migration barriers and may have the potential to be all-solid-state zinc-ion electrolytes. PipZnBr4, in particular, was experimentally verified and found to have high ionic conductivity, low activation energy, and a wide electrochemical window. It also forms a close contact with the zinc electrode to reduce interface resistance for promising electrochemical performance.

Results

Rational design of hybrid metal halides as all-solid-state zinc-ion electrolytes

Metal halide materials, a large family of materials composed of metal and halide ions (like chloride or bromide), have been widely used in various fields14,15,16,17. There are successful examples of metal halide materials for lithium solid electrolytes18,19. These studies verify that metal halide materials show good structural stability, high ionic conductivity, wide voltage windows, and long cycle stability at high voltages. The attempt to introduce metal halides into ZMBs is of great significance, as it can not only enrich the types of all-solid-state zinc-ion electrolyte materials but also deepen our understanding of their intrinsic mechanisms. However, it was found that metal halide materials for solid-state lithium batteries cannot be directly applicable to ZMBs. Specifically, lithium (Li) is the 3rd element and belongs to alkali metals, while zinc (Zn) is the 30th element and belongs to the transition metals. As shown in Fig. 1a, b and Supplementary Fig. 1, in the arrangement of electrons outside nucleus, Li ions have significantly fewer electrons than Zn ions. When Li or Zn elements are combined with halogen elements, both Li and Zn can usually form tetrahedral structures and octahedral ligand structures (Fig. 1c, d). When the coordination environments of Li and Zn ions with halogens are either 4-coordinated or 6-coordinated (Li/Zn surrounded by 4 or 6 halide atoms), their ionic radii are notably similar. In a four-coordination condition, the radius of Li+ is 59 pm, and that of Zn2+ is 60 pm; in a six-coordination condition, the radius of Li+ is 76 pm and that of Zn2+ is 74 pm20. This similarity implies that they occupy similar space in the crystal. To understand why these structurally similar materials behave differently as electrolytes, a comparative analysis of the tetrahedral and octahedral structures of Li and Zn at the orbital level was performed to elucidate their similarities and differences. As shown in Supplementary Figs. 25 (Supplementary Data 1), when Li and Zn atoms bond with halogen atoms to form tetrahedral or octahedral structures, the nature of their interaction differs fundamentally. The electron orbitals of Li and halogen atoms exhibit clear separation, with minimal overlap between their electron clouds (Supplementary Figs. 2 and 3). This result means Li and halogen atoms retain a non-bonding state in their elemental orbitals, which suggests that the predominant binding mode between Li ions and halogens is ionic bonds. Conversely, when Zn ions coordinate with halogens to form tetrahedral or octahedral structures, their interaction exhibits stronger orbital overlap (Supplementary Figs. 4 and 5). This overlap electron cloud sharing generates distinct bonding and antibonding states, which means a covalent character in the Zn-halogen bond. To quantify the interaction, an in-depth analysis of the crystal orbital bond index (COBI)21 was conducted for Li−Cl and Zn−Cl as representative cases (Supplementary Data 2). As illustrated in Supplementary Fig. 6, the COBI values for 4-coordinated and 6-coordinated LiCl are 0.15 and 0.09, respectively, suggesting a strong ionic character. In contrast, the COBI values for 4-coordinated and 6-coordinated ZnCl2 are 0.22 and 0.18 (Supplementary Fig. 7), indicating a stronger covalent interaction between Zn and the halogens. These results suggest that the Li-based halides characterized by localized ionic bonding, which could facilitate Li ion liberation, render them potential candidates for solid-state Li electrolytes. In contrast, the relatively strong covalent bonding interactions in Zn-based halides may hinder Zn ion migration. Consequently, traditional Zn-based halides with a Zn-halogen structure may not be able to effectively conduct Zn ions, thereby rendering them unsuitable as solid-state Zn-ion electrolytes. This further suggests that the design structure of all-solid electrolytes in Zn batteries cannot be modeled after Li-ion halide solid electrolytes.

Fig. 1: Comparison of properties of Li/Zn-based halide materials and composition engineering design of Zn-ion solid electrolytes.
Fig. 1: Comparison of properties of Li/Zn-based halide materials and composition engineering design of Zn-ion solid electrolytes.
Full size image

a, b Electron orbital configurations of a Li+ and b Zn2+. Solid blue spheres represent occupied electrons, while orbitals with hollow black spheres represent empty orbitals. c, d Metal-halogen tetrahedron c MX4 and octahedron d MX6 (M = Li or Zn; X = Halogen atom). e, f Energy profiles of Li or Zn ion migration pathways in e β-Li2ZrCl6 and f Cs2ZnCl4. The insets are the crystal structures of e β-Li2ZrCl6 and f Cs2ZnCl4. g Schematic of composition engineering design of Zn-ion solid electrolytes. In the schematic, A represents an inorganic atom, and R represents organic groups. h Structure diagrams of anion unit [ZnX4]2− (X = Halogen atom) and some possible organic cationic clusters.

To validate the above point, the migration pathways of reported Li-ion solid-state halide electrolyte materials (Li-ion ternary halides)22,23,24,25,26 and Zn-ion ternary halides were calculated by using a bond valence site energy (BVSE) method27,28 (Supplementary Data 3). In the case of Li-ion solid electrolytes, β-Li2ZrCl6 serves as an example, as shown in Fig. 1e. It exhibits a significantly low migration energy barrier for a 2D ionic pathway, at only 0.47 eV, which is consistent with the previously reported study26. Supplementary Fig. 8 and Supplementary Table 1 have summarized the typically reported Li-ion solid-state electrolyte halides, which consistently demonstrate a pathway characterized by a relatively low migration energy barrier (0.47 ~ 0.57 eV). In contrast, the calculated migration energy barriers for Zn-ion ternary halide material Cs2ZnCl4 exceed 1.23 eV (Fig. 1f). As further shown in Supplementary Fig. 9 and Supplementary Table 2, additional calculations suggest that the migration energy barriers of Zn-ion ternary halides (0.96 ~ 1.48 eV) are relatively higher than those of previously reported Li-ion solid-state electrolyte halides. These results indicate that the conventional Zn-ion ternary halides may not be suitable for solid-state Zn-ion electrolytes, and it is crucial to mitigate the strong interaction between Zn ions and halide anions. Subsequently, constructing a channel for Zn-ion migration is significant to obtain superior solid-state Zn-ion electrolytes.

We propose a composition engineering strategy that involves replacing the skeleton metal ions in Zn ion ternary halides with organics, aiming to construct potential Zn ion solid electrolytes. Figure 1g illustrates the specific methodology of this composition engineering, wherein the inorganic A-site cations in the original A2ZnX4 (A = Cs or Rb; X = halogen) are replaced with organic groups R (R = organic clusters) to form the RZnX4. Given that the original inorganic cations are spherical, their spatial positions tend to be relatively compact, making it difficult for these materials to form Zn ion channels. After component engineering design, the target material contains organic cationic groups, which exhibit a comparatively loose spatial configuration. This may facilitate transmission possibilities for Zn ions. In addition, the integration of organic cations may provide more abundant defect properties for materials, thereby enhancing the kinetics of Zn-ion transport. Based on the principle of charge balance, a series of possible cation organic clusters are chosen to combine with the [ZnX4]2− units to form soft Zn-based hybrid metal halides (Fig. 1h). Supplementary Fig. 10 shows the structures of the possible organic molecules and corresponding cation clusters.

Synthesis, chemical phase diagrams, and electronic structure of Materials

After a series of experimental explorations based on the above strategy, two representative materials, i.e., PipZnBr4 and PipZnCl4, were synthesized through a facile solvothermal reaction. The parent compound halides were prepared by hydrothermal heating of commercially available zinc bromide (ZnBr2/ZnCl2) and piperazine in hydrobromic acid (HBr/HCl). The mixture solution was heated to 90 °C within 120 min, and kept for 2440 min, then cooling of the solution yielded soft co-crystalline halides. As shown in Fig. 2a and c, the crystals of both PipZnBr4 and PipZnCl4 belong to the same space group, P212121 (NO. 19), in the orthorhombic system, which is consistent with the previously reported results29 and the simulated X-ray diffraction (XRD) patterns from Cambridge Crystallographic Data Centre (CCDC) database (Supplementary Fig. 11). The computation of the chemical phase diagrams can provide additional evidence supporting the stability of these two materials. Given that the organic clusters effectively function as a cation in both materials, we consider the whole system as a three-component compound for defect calculations. The chemical phase diagrams of PipZnBr4 and PipZnCl4 were determined by the known competing phases in Supplementary Table 3 (Supplementary Data 4). Both PipZnBr4 and PipZnCl4 show trapezoidal thermochemical stability windows, indicating their good thermodynamic stability and would be synthesizable. (Fig. 2b and d). The chemical boundary points of PipZnBr4 are marked as A1, B1, C1, and D1, while those of PipZnCl4 are represented as A2, B2, C2, and D2. The calculated chemical potentials, that are, ΔμPip, ΔμZn, ΔμBrμCl, in the chemical phase diagrams are shown in the Supplementary Tables 4 and 5.

Fig. 2: Crystal structures, chemical phase diagrams, and electronic structures of PipZnBr4 and PipZnCl4.
Fig. 2: Crystal structures, chemical phase diagrams, and electronic structures of PipZnBr4 and PipZnCl4.
Full size image

a, c Primitive cells of (a) PipZnBr4 and (c) PipZnCl4. b, d Chemical phase diagrams of (b) PipZnBr4 and (d) PipZnCl4. el Calculated (e, i) band structure, (f, j) total and projected DOSs, local charge density at (g, k) CBM and (h, l) VBM of PipZnBr4 and PipZnCl4, respectively. The zero in band structures and DOSs is denoted as the VBM. The insets in (f and j) represent projected DOSs which have been enlarged by 10 times for clearer indication of their orbital contributions. The isosurfaces of local charge density are all set to 0.001 e Bohr−3.

To evaluate the electronic conductivity of PipZnBr4 and PipZnCl4 materials, the electronic structures of both materials were investigated systematically. For PipZnBr4, the Heyd–Scuseria–Ernzerhof (HSE) calculated band structure shows a large direct band gap of (5.37 eV) at the Γ point as shown in Fig. 2e, implying a poor electrical conductivity. The density of states (DOS) analysis (Fig. 2f) reveals that the valence band maximum (VBM) is dominated by nonbonding states of Br 4p orbitals, whereas the adjacent valence band region consists of antibonding states from Zn 3d and Br 4p hybridization. The conduction band minimum (CBM) primarily consists of the antibonding states of Zn 4s and Br 4p orbitals, as well as partial p orbitals of organic cations (Fig. 2f). Additionally, the local charge density can provide a more intuitive representation of the orbital contributions to support this interpretation. As shown in Fig. 2g, the local charge density at CBM shows a near tetrahedron cloud around a Zn atom and semi-spindle electric clouds around a Br atom, which intuitively illustrates the antibonding states of the Zn 3s and Br 4p orbitals. The local charge density at VBM is composed solely of spindle-like p orbital electric clouds on the Br atoms (Fig. 2h), corresponding to their non-bonding orbitals. For PipZnCl4, the higher electronegativity of Cl relative to Br lowers the energy of Cl 3p orbitals, which results in stronger Zn 4s–Cl 3p orbital hybridization. This effect enhances the splitting between bonding and anti-bonding states, significantly elevating the energy of the anti-bonding orbital at the CBM. Consequently, PipZnCl4 exhibits a larger band gap (6.31 eV) compared to PipZnBr4 (5.37 eV), as depicted in Fig. 2i. The DOS and local charge density of PipZnBr4 are very similar to those of PipZnCl4, except that the orbital contribution changes from Br 4p to Cl 3p (Fig. 2j−l). These results imply that both materials exhibit good stability and a high degree of electronic insulation, thereby suggesting their potential as solid-state Zn-ion electrolytes.

Defect properties and Zn-ion migration analysis

The defect properties and the Zn-ion migrations of PipZnBr4 and PipZnCl4 were calculated to evaluate their potential carrier mobility and ionic conductivity. Because the piperazine cluster is much larger than Zn and Br/Cl atoms, nine intrinsic point defects are considered, i.e., three vacancies (VPip, VZn, and VBr/VCl), four antisites (BrPip/ClPip, BrZn/ClZn, ZnPip, and ZnBr/ZnCl), and two interstitials (Zni, and Bri/Cli) (Supplementary Data 5). The defect models used a 2 × 2 × 2 supercell structure (Supplementary Fig. 12). The formation enthalpies (ΔH) of the above-mentioned intrinsic defects as a function of Fermi level (EF) at each boundary point based on Fig. 2b and d are plotted in Fig. 3a–h, and the corresponding transition levels ε(q/q’) of acceptor-like and donor-like defects are summarized in Supplementary Figs. 13 and 14. Among the calculated nine intrinsic point defects, VBr/Cl, Bri/Cli VZn, VPip, and BrZn/ClZn are the dominant defects, which determine the electrical properties of PipZnBr4 and PipZnCl4. Under the Zn-rich and Br/Cl-poor condition (Point A1 and A2), the primary donor defect is halogen vacancy (VBr/VCl), while the domain acceptor defects are VPip, VZn, and Bri/Cli, indicating complex defect chemistry in this condition. The equilibrium Fermi levels (EF,e) for PipZnBr4 and PipZnCl4 at Points A1/A2 are 3.61 eV and 4.27 eV above the VBM, respectively (Fig. 3a and e). As the chemical potential gradually shifts from Br-poor to Br-rich (from point A1 to D1), the EF,e of PipZnBr4 moves correspondingly from near the VBM towards the CBM (Fig. 3a−d). Similarly, for PipZnCl4, as the chemical potential changes from Cl-poor to Cl-rich (from point A2 to D2), its EF,e also has a similar shift trend (Fig. 3e−h). Crucially, no matter how the EF,e of PipZnBr4 and PipZnCl4 changes, it is far away from the band edge, and the corresponding hole density (Nh) or electron density (Ne) is very low (Supplementary Tables 6 and 7). These results further show the electronically insulating nature of these two materials. It should be noted that the dominant donor defects are always the halogen vacancy defects (VBr for PipZnBr4 and VCl for PipZnCl4), while the dominant acceptor defects change with different chemical potential. The dominant halogen vacancy defects suggest that both materials are susceptible to breaking the original Zn-halogen tetrahedral structure due to these defects, which may provide more space for Zn ion conduction.

Fig. 3: Defect properties and Zn-ion migrations of PipZnBr4 and PipZnCl4.
Fig. 3: Defect properties and Zn-ion migrations of PipZnBr4 and PipZnCl4.
Full size image

ah Calculated formation enthalpies (ΔH) of intrinsic defects in (ad) PipZnBr4 and (eh) PipZnCl4 as a function of Fermi level (EF) at different chemical potential points: a point A1, b point B1, c point C1, d point D1, e point A2, f point B2, g point C2, h point D2. Defects with very high ΔH are not shown in the figures. The calculated equilibrium EF (EF,e) is denoted by vertical black dash lines. i, k The Zn-ion migration schematic diagrams along a-axis of i PipZnBr4 and k PipZnCl4. j, l The corresponding Zn-ion migration paths of j PipZnBr4 in (i) and l PipZnCl4 in (k), respectively.

To evaluate the Zn-ion mobility in PipZnBr4 and PipZnCl4, the Zn ion pathways for a Zn atom confined with two materials were investigated by the climbing image nudged elastic band (Cl-NEB) method30 (Supplementary Data 6). Exploration of migration pathways along all three axis directions revealed that the lowest energy barriers occur along the a-direction (Fig. 3i−l and Supplementary Figs. 15 and 16). As shown in Fig. 3i and k, the migration of the Zn-ion along the a-axis occurs almost in the direction of the calculated supercells, specifically through the gap between the [ZnX4]2− units and the organic cations. The corresponding energy barriers for Zn ion diffusion along the a-direction in PipZnBr4 and PipZnCl4 are 0.37 eV (Fig. 3j) and 0.39 eV (Fig. 3l), respectively, which means Zn ions can easily migrate in the two materials. The migration results of Zn-ion in PipZnBr4 and PipZnCl4 indicate that both materials exhibit good Zn-ion conductivity. The above defect properties and the Zn-ion migration calculation results suggest that both materials have good electronically insulating properties and Zn-ion conductivity, which shows great potential as superior solid-state Zn-ion electrolytes.

Structural and electrochemical characterization of hybrid Zn halides

Based on the above theoretical calculation guidance, we use PipZnBr4 as a case study to further explore the practical application of Zn-ion electrolytes. Defect regulation was achieved by adding excess ZnBr2 compared to piperazine to increase the ionic conduction. Specifically, the feed molar ratio of piperazine to ZnBr2 was regulated from 1:1 to 1:5, corresponding denoted as PipZnBr4 (1:1) and PipZnBr4. As characterized by scanning electron microscopy (SEM) in Fig. 4a and Supplementary Fig. 17, PipZnBr4 shows irregular polygonal particles with a diameter of 10–80 μm. The XRD analysis of the prepared hybrid Zn halides was implemented to verify the crystal structure. As shown in Fig. 4b and Supplementary Fig. 18a, the experimentally obtained powder XRD patterns of PipZnBr4 correspond well with the simulated pattern (# CCDC PipZnBr4: 284070), especially PipZnBr4 (1:1), indicating excess ZnBr2 does not affect the crystal structure of compound PipZnBr429. The chemical structures of the as-synthesized PipZnBr4 sample were studied by Raman spectroscopy and Fourier transform infrared (FTIR) tests. As shown in Fig. 4c, compared with pure piperazine, the PipZnBr4 exhibits an N−H single peak ( ~ 816 cm−1) and a new peak of −NH2+ ( ~ 1540 cm−1), manifesting the formation of piperazine ions31. The inversion symmetry of C−H bond peaks (2700 ~ 3200 cm−1) also illustrates the formation of the compound PipZnBr432. The Raman peak of the prepared PipZnBr4 (1:1) has a similar situation (Supplementary Fig. 18b). Additionally, the presence of −NH2+ peak in FTIR spectra of PipZnBr4 and PipZnBr4 (1:1) verifies the formation of the soft PipZnBr4 (Supplementary Fig. 19). Significantly, the FTIR spectra also show that the addition of excess ZnBr2 does not impact the structure of the compound PipZnBr4. The Zn content (12.73 wt%) of the synthesized PipZnBr4 sample with excess ZnBr2 is only slightly increased compared to the PipZnBr4 (1:1) (11.99 wt%) by inductively coupled plasma (ICP) measurements (Supplementary Fig. 20), implying that it only exists a small number of vacancies to accelerate ion migration12. Additionally, the weight and XRD of PipZnBr4 remain almost unchanged when the temperature rises to 150 °C in the thermal gravimetric test (Supplementary Fig. 21). Even when the temperature increases to 300 °C, the weight of the sample can remain at 96.5 wt%, indicating the good thermal stability of PipZnBr4.

Fig. 4: Structural and electrochemical characterizations of the synthesized soft PipZnBr4 solid-state electrolyte.
Fig. 4: Structural and electrochemical characterizations of the synthesized soft PipZnBr4 solid-state electrolyte.
Full size image

a SEM image of pure PipZnBr4 powder. b XRD spectra of PipZnBr4 powder. c Raman spectra of piperazine and PipZnBr4. d Photograph of PipZnBr4 electrolyte. e Arrhenius plots of PipZnBr4 as a function of temperature from 0 to 60 °C. f Electrochemical stability window of PipZnBr4 electrolyte at 1 mV s−1. g Zn-ion transfer number of PipZnBr4 electrolyte at 25 °C. h CA test of Zn metal at a − 100 mV overpotential in PipZnBr4 electrolyte. i Tafel polarization curve in PipZnBr4 electrolyte.

The synthesized PipZnBr4 sample with excess ZnBr2 was pressed into a 16 mm diameter pellet with a thickness of ~430 μm as a solid-state Zn-ion electrolyte for ZMBs (Fig. 4d). The ionic conductivity (σ) of the pressed pellet of PipZnBr4 was investigated at different temperatures with 5 °C intervals by electrochemical impedance spectroscopy (EIS) test. The σ value can be calculated according to the total resistance determined by the intercept on the real axis based on fitting Nyquist plots (Supplementary Fig. 22a−m). The temperature-dependent ionic conductivities of PipZnBr4, within the range of 0 ~ 60 °C, are depicted in Supplementary Fig. 22n. The elevated ion conductivity indicates that PipZnBr4 serves as a good Zn-ion conductor, aligning with prior computational predictions. Notably, the high σ values of 2.9 and 4.7 × 10−4 S cm−1 at 25 °C and 40 °C were observed for the PipZnBr4 pellet, indicating its potential suitability as an all-solid-state Zn-ion electrolyte. Its Arrhenius curve is plotted in Fig. 4e to calculate the activation energy (Ea) of PipZnBr4 electrolyte based on the Arrhenius equation. The result shows that PipZnBr4 has a small activation energy (0.13 eV), indicating its promising application in all-solid-state ZMBs. To verify the high ionic conductivity of PipZnBr4, the ionic conductivity of ZnBr2 has been assessed at 25 °C (Supplementary Fig. 23). Meanwhile, PipZnBr4 also exhibits a potential range from −1.46 to 2.28 V (Fig. 4f), which is much wider than the electrochemical window of 1.2 M zinc trifluoromethanesulfonate (Zn(OTf)2) aqueous electrolyte (2.02 V)33 and hydrogel electrolyte (2.13 V)34. More significantly, PipZnBr4 as an all-solid-state Zn-ion electrolyte can display a Zn-ion transfer number (tZn2+) of 0.61 (Fig. 4g), which effectively regulates Zn-ion flux. While this value suggests contributions from additional ionic migration pathways (e.g., Br ions) in PipZnBr4 electrolytes, Zn-ion transport remains the dominant mechanism and the Zn-ion transfer number is comparable to that of other solid Zn-ion conductors35,36,37. To investigate the electrochemical process of the Zn electrode, chronoamperometry (CA) tests and voltage-time curves were evaluated. The current density of the PipZnBr4 electrolyte rises instantaneously and then quickly remains stable (Fig. 4h), implying a three-dimensional (3D) dominating Zn-ion diffusion. Additionally, the PipZnBr4-based Zn||Zn solid-state cell shows low initial nucleation overpotentials at 0.1, 0.5, and 1.0 mA cm−2 (Supplementary Fig. 24). This phenomenon suggests that Zn ions are prone to be reduced and nucleated at the active sites, resulting in a uniform and dense Zn deposition. To study the anti-corrosion property of PipZnBr4, the tafel polarization curve was tested (Fig. 4i). The Zn electrode in the PipZnBr4 electrolyte delivers a lower corrosion potential (Ecorr = −851.4 mV vs. Zn2+/Zn) and a much lower corrosion current density (Icorr = 0.037 μA cm−2) than a 1.2 M Zn(OTf)2 aqueous solution33, implying the weak adverse reaction.

Zn deposition behavior

The impact of PipZnBr4 electrolyte on the Zn deposition behavior was first observed by SEM. As shown in Fig. 5a and Supplementary Fig. 25, the uniform and compact spherical deposition of Zn is exhibited in PipZnBr4 Zn-ion electrolyte after 20 cycles at 0.1 mA cm−2 and 0.1 mAh cm−2, suggesting good Zn deposition behavior. The spherical morphology and Young’s modulus of the Zn electrode after different cycles were further characterized by atomic force microscopy (AFM). The mean modulus value and average height of the Zn negative electrode following 20 cycles are 2.1 GPa and 0.9 μm (Fig. 5b), while the Zn foil after 50 cycles at 0.1 mA cm−2 and 0.1 mAh cm−2 shows a slightly larger modulus value (3.6 GPa) and average height (2.3 μm) (Supplementary Fig. 26). These results illustrate that the PipZnBr4 electrolyte induces a deposition behavior of densely compacted Zn grains. To characterize the Zn crystal orientation and crystal structure regularity, electron backscatter diffraction (EBSD) was implemented38. As shown in Fig. 5c, the Zn grains from Zn foil in the PipZnBr4 electrolyte after 20 cycles at 0.1 mA cm−2 and 0.1 mAh cm−2 exhibit irregularity, and the grain boundaries are interlaced, implying polycrystalline and random orientation characteristics39 (Supplementary Fig. 27). From the ex situ 3D confocal laser scanning microscopy (CLSM), the Zn negative electrodes in PipZnBr4 electrolyte after different cycles at 0.1 mA cm−2 and 0.1 mAh cm−2 also present uniform and compact Zn grain deposition (Fig. 5di−iii), which is consistent with the AFM results. The Zn negative electrode surface after 10 cycles at 0.1 mA cm−2 shows a larger surface roughness (2.8 μm), higher surface volume (1.9 × 107 μm3), and larger surface area (4.6 × 106 μm2) than those of the Zn negative electrode after 30 and 50 cycles (Supplementary Fig. 28 and Supplementary Table 8), confirming the notably even Zn deposition with the cycling. By contrast, the surface roughness (4.9 μm) is the largest for the Zn electrode after 20 cycles at 0.1 mA cm−2 and 0.1 mAh cm−2, which may be because the electrode is slightly less dense in the early deposition. Intuitively, the self-correlation function of the Zn electrode surface roughness after 50 cycles shows the region with an unclear boundary (Fig. 5div) due to the weak self-correlation, indirectly indicating uniform and dense Zn deposition34.

Fig. 5: Zn deposition behavior of PipZnBr4 solid-state electrolyte.
Fig. 5: Zn deposition behavior of PipZnBr4 solid-state electrolyte.
Full size image

a SEM images of Zn deposition on Zn foil after 20 cycles at 0.1 mA cm−2 and 0.1 mAh cm−2 in PipZnBr4 electrolyte. b AFM topography image of Zn negative electrode surface in PipZnBr4 electrolyte following 20 cycles at 0.1 mA cm−2 and 0.1 mAh cm−2. c EBSD inverse pole mapping of Zn foil surface after 20 cycles. d 3D CLSM images and correlation function of Zn negative electrode surfaces in PipZnBr4 electrolyte after different cycles at 0.1 mA cm−2 and 0.1 mAh cm−2. <i> Confocal optical morphology, <ii> contour rough structure, <iii> meter surface area, and <iv> analogs irradiation correlation function on Zn electrode. e CT of a Zn symmetric cell tested in PipZnBr4 electrolyte after 20 cycles at 0.1 mA cm−2 and 0.1 mAh cm−2.

To further investigate the internal structure and non-destructive Zn deposition morphology, Computed tomography (CT) technology was implemented for the PipZnBr4-based solid-state Zn||Zn cell after 20 cycles at 0.1 mA cm−2 and 0.1 mAh cm−2. The PipZnBr4-based battery is divided into five parts to understand detailly the contact between the Zn electrode and electrolyte (Fig. 5e). Obviously, the CT of the 1-Zn electrode presents a smooth texture (Fig. 5e (1)), which suggests that the Zn foil here is not involved in the electrochemical reaction. Figure 5e (2) presents a uniform and flat interface between the Zn electrode and electrolyte, implying good interface contact. Further closer to the electrolyte, it is found that a small number of uneven pits appear at the interface (Fig. 5e (3)), which may be caused by the solid and particulate PipZnBr4 electrolyte. As shown in Fig. 5e (4), the CT of the solid electrolyte further verifies the uniform interface. To observe the interfacial contact of the entire battery system, the interface CT was also studied by dynamically recording the CT images of the cross-section of the solid-state Zn symmetrical cell (Supplementary Fig. 29). It is observed that the Zn electrodes and electrolyte maintain close contact after 20 cycles, which contributes to retaining the integrity of the electrolyte and restraining the occurrence of Zn dendrites and other side reactions. Due to the intimate contact at the Zn/PipZnBr4 electrolyte interface and the good reaction kinetics, the Zn surface exhibits uniform and compact Zn spherical deposition (Fig. 5e (5)), which is consistent with SEM and AFM results. The PipZnBr4-based Zn symmetrical cell was disassembled after the CT test, and then the properties of the electrolyte and the Zn electrodes were investigated. Compared with pure PipZnBr4 powder (Supplementary Fig. 17), the PipZnBr4 electrolyte after Zn plating/stripping at 0.1 mA cm−2 and 0.1 mAh cm−2 exhibits a smaller particle size (Supplementary Fig. 30), which may be because the high pressure used in the preparation of the all-solid-state Zn-ion electrolyte pellet causes the PipZnBr4 powder to crush. The XRD spectra of the electrolyte after Zn plating/stripping do not change significantly compared to pure PipZnBr4 powder (Supplementary Fig. 31). After 20 cycles at 0.1 mA cm−2 and 0.1 mAh cm−2, the peak positions of C 1 s, N 1 s, Br 3 d, Zn LMM, and Zn 2p X-ray photoelectron spectroscopy (XPS) shift to a high energy level as a whole (Supplementary Fig. 32). This may be caused by the application of voltage to the cell during Zn plating/stripping, inducing environment change of the elements in the PipZnBr4 electrolyte, implying that the PipZnBr4 has good structural stability. Additionally, the surface composition of the Zn electrode after 20 cycles was characterized. Compared with the bare Zn foil, the electrode surface after Zn plating/stripping at 0.1 mA cm−2 and 0.1 mAh cm−2 shows some new peaks (Supplementary Fig. 33). The XPS test with Ar+ sputtering was further used to measure the interphase chemistry on the Zn electrode surface in all-solid-state Zn-ion electrolyte after 20 cycles at 0.1 mA cm−2 and 0.1 mAh cm−2 (Supplementary Fig. 34). It is found that the in situ formed solid electrolyte interphase (SEI) layer on Zn surface features an organic-rich outer layer and an inorganic-rich inner layer, which contributes to suppressing dendrite formation and promoting Zn-ion diffusion40.

Characterizations and electrochemical performance of PipZnBr4-based solid Zn batteries

To explore the change of element valence state in the PipZnBr4 electrolyte and its stability before and after Zn plating/stripping at 0.1 mA cm−2 and 0.1 mAh cm−2, X-ray absorption fine structure (XAFS) tests were executed. Figure 6a shows the normalized X-ray absorption near-edge structure (XANES) spectra at Zn K-edge for pure ZnBr2, Zn-foil, pure PipZnBr4, and PipZnBr4 after 20 cycles. Obviously, the Zn-foil demonstrates the lowest edge absorption energy in XANES, a characteristic primarily attributable to the inherent zero-valence state of the Zn-foil41. By contrast, the absorption edges of the remaining materials are essentially identical, suggesting the divalent of Zn in them. The Fourier transform spectra of the extended XAFS (EXAFS) curves in R-space show that the bond length of Zn−Br in PipZnBr4 is longer than that in pure ZnBr2 (Fig. 6b), which suggests a relatively weaker Zn−Br bond in PipZnBr4. Additionally, the results of the XANES (Fig. 6a), Fourier-transformed EXAFS (Fig. 6b), and the wavelet-transformed k3-weighted Zn K-edge EXAFS spectra (Fig. 6c and Supplementary Fig. 35) of PipZnBr4 suggest that the Zn-Br bond length remains unchanged before and after Zn plating/stripping at 0.1 mA cm−2 and 0.1 mAh cm−2. This implies that PipZnBr4 as a solid-state electrolyte exhibits robust electrochemical stability.

Fig. 6: XAFS characterization and electrochemical performance of PipZnBr4-based solid-state cells at 40 °C.
Fig. 6: XAFS characterization and electrochemical performance of PipZnBr4-based solid-state cells at 40 °C.
Full size image

a Normalized Zn K-edge XANES spectra. b Fourier-transformed EXAFS spectra in R space. c Wavelet-transformed k3-weighted Zn K-edge EXAFS spectrum of PipZnBr4 after 20 cycles. d Long cycle stability of a Zn||Zn cell with PipZnBr4 electrolyte at 0.1 mA cm−2 with 0.1 mAh cm−2. e CE measurements of a Zn||Ti cell at 2.0 mA cm−2 and plating capacity of 0.5 mAh cm−2 in PipZnBr4 electrolyte. f Stable Zn plating/stripping performance of a Zn|PipZnBr4|I2 full cell at 0.2 mA cm−2. g Corresponding GCD curves of a Zn||I2 cell.

To further assess the interfacial and electrochemical stability of the Zn/PipZnBr4, Zn solid-state cells with a PipZnBr4 electrolyte were investigated systematically. Figure 6d shows the cycling performance of the Zn symmetric cell for over 1100 h at 0.1 mA cm−2. The corresponding polarization potential increases gradually with the increase of the Zn plating/stripping time, attributing to the high specific kinetic obstacle and the slow Zn plating/stripping42. When the current density is increased to 0.5 mA cm−2, the PipZnBr4-based Zn symmetric cell still works over 400 h (Supplementary Fig. 36a), implying the stable ionic migration. At an increased current density of 1.0 mA cm−2, long Zn plating/stripping process with voltage hysteresis ( ~ 860 mV) can still be attained in the symmetric Zn cell (Supplementary Fig. 36b−d). Meanwhile, the cycling stability of Zn | |Zn cell using com ZnBr2 as a solid-state electrolyte was also tested at 0.1 mA cm−2. As shown in Supplementary Fig. 37, the short cycle life and large voltage polarization were delivered, suggesting poor ionic conduction. To understand the reversibility of the Zn2+ plating/stripping process, Zn|PipZnBr4|Ti asymmetric cells were tested. Supplementary Figs. 38 and 39 show the rate cyclic voltammetry (CV) curves of the Zn||Ti cell at 25 °C. The extracted curves suggest that reduction potential decreases (∆V = 70 mV) as the scanning rate increases (Supplementary Fig. 39), implying the weak parasitic reaction at the Zn/PipZnBr4 interface, which is different from the continuous reduction potential increase of 2 M ZnSO4 aqueous electrolyte43,44,45. Figure 6e exhibits the long-term cycle performance of a Zn||Ti cell with PipZnBr4 solid-state electrolyte. It is found that the cell yields a stable and high average CE of 98.9% at 2 mA cm−2 and 0.5 mA cm−2 after 350 cycles associated with the close contact at the Zn/PipZnBr4 interface. The corresponding voltage profiles at different cycles are presented in Supplementary Fig. 40, and deliver a lower voltage hysteresis ( ~ 170 mV) than that of the Zn||Ti cell ( ~ 184 mV) with 1 M ZnSO4 electrolyte due to inhibition of side reaction33. As the cutoff capacity is further increased to 1.0 mAh cm−2, the Zn||Ti cell still realizes a long lifespan over 115 cycles with an average CE of ~99.6% (Supplementary Fig. 41a), and the corresponding voltage profiles are shown in Supplementary Fig. 41b. These prospective results provide support for using PipZnBr4 as a solid-state electrolyte in highly reversible ZMBs.

To evaluate the feasibility of PipZnBr4 electrolyte in practical applications, a Zn|PipZnBr4|iodine (I2) full all-solid-state Zn-metal battery was assembled, in which I2 is adopted as a positive electrode and the mass of I2 loading is ~ 3 mg cm−2. Figure 6f shows the long-term cycle performance of the Zn||I2 cell. A residual capacity of 234.5 mAh g−1 and a low capacity degradation rate of 0.056% per cycle is achieved after 200 cycles at 0.2 mA cm−2. The corresponding galvanostatic charge/discharge (GCD) curves were observed and found that these curves exhibit good overlap, except for the second cycle (Fig. 6g), implying the high reversibility of Zn2+ in PipZnBr4 solid-state electrolyte. Supplementary Fig. 42 illustrates the CV curves at 0.1 and 0.2 mV s−1 of full cells with distinct iodine-related redox peaks, which exhibit a diminished voltage gap between the cathodic and anodic peaks, indicating an improvement in reaction kinetics. This phenomenon is also corroborated by EIS analysis, which demonstrates reduced charge transfer resistance (Supplementary Fig. 43). When the current density is increased to 0.5 mA cm−2, the Zn|PipZnBr4|I2 cell can still operate 100 cycles after the pre-activation process at the current density of 0.5 mA cm−2 for 3 cycles (Supplementary Fig. 44a) and corresponding GCD curves are exhibited in Supplementary Fig. 44b. These good performances are attributed to the uniform Zn plating/stripping at the Zn/PipZnBr4 interface due to the close contact of the interface, inducing homogeneous Zn2+ flux. Additionally, the FTIR and XPS spectra of the I2 positive electrode were also tested to exclude the possibility of halogen ion conductivity. Compared with the pristine I2 electrode, the cycled I2 positive electrode exhibits no additional peaks (Supplementary Fig. 45), particularly in the wavenumber ranges of 520 ~ 600 cm−1 and 1300 ~ 1500 cm−1, where peaks associated with the Br element would typically appear. XPS spectra test with Ar+ sputtering was also used to assess the chemical component on the I2 positive electrode surface, when the Zn|PipZnBr4|I2 full cell has undergone 10 cycles at 0.2 mA cm−2 and then is discharged to 1.0 V (Supplementary Fig. 46). More significantly, as shown in Supplementary Fig. 47, PipZnCl4 as electrolyte was also evaluated in a Zn symmetric cell and a Zn||I2 full cell. Finally, to exclude the possibility of halide ion conduction, CsSnBr3 and CsSnCl3 samples as the blocking layer were applied in the solid-state PipZnBr4 and PipZnCl4 electrolytes (Supplementary Fig. 48). It is found that the CV curces of Zn|PipZnCl4|CsSnCl3|I2 and Zn|PipZnCl4|CsSnCl3|I2 full cells at 0.1 mV s−1 have no oxidation-reduction peak and Zn||Zn symmetrical cells at 0.1 mA cm−2 and 0.1 mAh cm−2 are almost unable to operate (Supplementary Fig. 49). These results demonstrate that although halide ions could migrate in PipZnBr4 and PipZnCl4 electrolytes, Zn-ion conduction in the halide-based ZMBs play a dominant contribution.

Discussion

In summary, a simple and effective composition engineering strategy for constructing halide Zn-ion electrolytes was proposed based on the theoretical prediction, aiming to obtain good all-solid-state Zn-ion electrolyte materials with low ionic migration barriers. Two typical metal halide materials were obtained, i.e., PipZnBr4 and PipZnCl4. The chemical phase diagram indicates that both materials are thermodynamically stable. The electronic structure of these materials demonstrates an electronically insulating nature and Zn-halogen octahedra dominates their electronic properties. Defect properties and Zn ion migration analysis indicate that these two materials show good prone to have halogen vacancies, and have a low Zn ion migration barrier between the tetrahedra and organic clusters. Theoretical analysis shows that they have the potential to be new solid-state zinc-ion electrolytes. Based on theoretical guidance, PipZnBr4 was prepared and taken as an example for the application of all-solid-state Zn-ion electrolytes. PipZnBr4 has a high ionic conductivity (2.3 × 10−4 S cm−1 at 25 °C), low activation energy (0.13 eV), wide electrochemical window ( ~ 3.74 V vs. Zn2+/Zn), and high Zn-ion transfer number (0.61). Significantly, PipZnBr4 can maintain compact contact with the Zn interface and derive an organic-inorganic SEI layer at the Zn electrode surface during the Zn plating/stripping process, which decreases the interface resistance and promotes the dense Zn spherical deposition. Benefiting from the above advantages of PipZnBr4, promising electrochemical performance of a Zn||I2 cell using PipZnBr4 as an all-solid-state electrolyte is achieved. This study commences with the robust interaction of Zn halides and constructively introduces a class of hybrid Zn metal halide materials. The feasibility of these materials as Zn-based hybrid metal halide electrolytes is confirmed through both theoretical and experimental methodologies. The investigation into Zn-based hybrid metal halide electrolytes has paved a way for further research in this field.

Methods

Orbital analysis and interaction diagram

The orbital analysis of tetrahedral and octahedral structures was performed with the Gaussian16 package46. The Becke 3-paeameter-Lee–Yang–Parr (B3LYP)47 correlation functional at def2-TZVP48 level was used for the optimization and self-consistent field calculations, with density functional theory-D3 (Becke-Johnson)49,50 method for the van der Waals interactions. The visualization of the orbital results was conducted using Multiwfn51 and Visual Molecular Dynamics52 software. The irreducible representations, such as a1, a1g, t1g, eg, were also obtained from the Gaussian 16 calculation results. The bonding interactions illustrated in the interaction diagrams were deduced based on the orbital symmetry information and the spatial distribution/overlap characteristics of the visualized orbitals.

COBI analysis

The structural models of 4-coordinated/6-coordinated LiCl sourced from the Materials Project database53. The optimization calculations of the structures were performed using the projector-augmented wave54 method, as incorporated in the Vienna Ab initio Simulation Package (VASP)55 code. The sutoff energy was set to 500 eV. Γ-centered k-meshes, with a k-spacing of 0.2 Å–1, were employed for the sampling of the Brillouin zones. The generalized gradient approximation (GGA) Perdew-Burke-Ernzerhof (PBE)56 was used as the exchange-correlation functional. The energy convergence criterion for COBI analysis is 10–7 eV. The COBI values were calculated by using the Lobster57 code.

BVSE calculations

BVSE calculations were conducted utilizing the softBV27,28 software, employing structural models sourced from the Inorganic Crystal Structure Database. The energies of Li or Zn sites within structures were calculated on a three-dimensional grid of points, each with a resolution of 0.1 Å. The pathways of Li+ or Zn2+ migration were automatically obtained by the software.

Density functional theory (DFT) calculations for electronic structures

DFT calculations were performed using the VASP55 code. The cut-off energy, k-points, and exchange-correlation functional settings for all the structures (PipZnBr4, PipZnCl4, and their possible secondary phases) optimizations were the same as those used in the structure optimization for COBI analysis. The crystal structures of PipZnBr4 and PipZnCl4 were fully relaxed until the total force on each atom was <0.03 eV Å−1. To rectify the underestimation of the band gaps in GGA-PBE methods, the band structure, DOS, and charge density (CBM and VBM) were calculated by using the HSE0658 hybrid functional. The visualization of the charge density is carried out using the VESTA59 software. The chemical phase diagrams for PipZnBr4 and PipZnCl4 were drawn by the Chesta60 code.

Defect calculations

For modeling the intrinsic defects in PipZnBr4 and PipZnCl4, a 2 × 2 × 2 supercell containing 736 atoms and Γ-only k-mesh was used. The perfect and defect structures were fully relaxed by the GGA-PBE method until the total force on each atom was <0.03 eV Å−1. The formation enthalpy (ΔHD,q) for a defect (D) in a charge state q was calculated by refs. 61,62

$${\Delta H}_{D,q}={E}_{D,q}-{E}_{h}+q({E}_{{{{\rm{V}}}}}+{E}_{F})+\sum {n}_{i}{\mu }_{i}+\,{E}_{{{{\rm{corr}}}}}$$
(1)

where ED,q is the total energy of the supercell containing the defect (D) in the charge q. Eh is the total energy of the perfect host supercell. EV is the VBM level, while EF is the Fermi level referred to EV. The parameter ni indicates the number of i atoms added (ni < 0) or removed (ni > 0) to form a defect (D). μi is the chemical potential of the atom i. Ecorr represents the total correction for ΔHD,q, including the band-filling correction, the potential alignment correction, and the image charge correction63,64. To address the band edge problem using the GGA-PBE method61,65, corrections were applied for both the valence band maximum (VBM) overestimation and the CBM underestimation. For PipZnBr4, the corrections are ΔVBM = 0.89 eV and ΔCBM = 0.41 eV, while for PipZnCl4, they are ΔVBM = 1.02 eV and ΔCBM = 0.44 eV. These corrections are incorporated by adding ΔVBM (or ΔCBM) to the formation energy of deep acceptor (or donor) defects calculated using the HSE hybrid functional method. For shallow defects, the formation energy is adjusted to maintain its relative position to the edge. The charge transition level and the equilibrium Fermi level (EF,e) were determined using methods identical to those employed in our previous research66.

Zn-ion migration energy barrier calculations

The initial sites of the Zn-ion migration calculations were determined through numerous DFT energy calculations. Subsequently, the final position was identified as the symmetrical position in the corresponding direction of the supercell. For the migration energy barrier calculations along the a, b, and c directions, supercells of dimensions 2 × 1 × 1, 1 × 2 × 1, and 1 × 1 × 2 were employed, respectively. The diffusion pathways and barrier energies of Zn-ion diffusion throughout the PipZnBr4 and PipZnCl4 were calculated by using the Cl-NEB30 method implemented in VASP. The Cl-NEB calculations, with a k-spacing of 0.2 Å–1, were determined to converge when the maximum force of each image was <0.03 eV Å−1.

Preparation of PipZnBr4 solid electrolyte and electrode

Preparation of PipZnBr4-based solid electrolyte. The solid electrolyte was synthesized by hydrothermal method. Stoichiometric amounts of ZnBr2 (over 98% purity, Shanghai Adamasi Reagents Co., Ltd.) and piperazine (over 99% purity, Shanghai Adamasi Reagents Co., Ltd.) were dissolved in hydrobromic acid (HBr, 48 wt %, Shanghai Aladdin Biochemical Technology Co., Ltd.). The mixture solution was added into the Teflon autoclave and was heated to 90 °C within 120 min, and kept for 2440 min. Next, the reactor was cooled to 25 ± 0.5 °C within 1200 min. Finally, the solution was filtered and collected to yield the soft co-crystalline halides. Specifically, to synthesize PipZnBr4 (1:1) and PipZnBr4 electrolyte, including ZnBr2 (0.6 mmol) and piperazine (0.6 mmol) or ZnBr2 (3.0 mmol) and piperazine (0.6 mmol) were added in HBr (3 ml), respectively. Then the solution was transferred to a 20 ml Teflon autoclave. The as-synthesized PipZnBr4 (1:1) and PipZnBr4 powders were collected and stored in a 2 ml centrifuge tube for further characterization and electrochemical testing. To assemble the cell, the PipZnBr4 powders were pressed at around 20 MPa for 2 min in a stainless steel mold (ϕ = 16 mm) by Infrared Pellet Press (PC-30, Tianjin Jingtuo Instrument Technology Co., Ltd) under an air-conditioned room at 25 ± 0.5 °C. To evaluate the performance of the PipZnBr4-based solid electrolyte, the thickness of the electrolyte was controlled to approximately 430 μm. The reference 1.2 M Zn(OTf)2 electrolyte was prepared by dissolving Zn(OTf)2 (98%, Shanghai Aladdin Biochemical Technology Co., Ltd.) in deionized water33. The hydrogel electrolyte was prepared according to reference 34. First, gelatin (2 × g, 98%, Shanghai Aladdin Biochemical Technology Co., Ltd.) was dissolved in 40 ml deionized water under stirring at 60 °C for 30 min. Subsequently, a specified quantity of oxidized dextran (OD) solution was introduced into the gelatin solution. The reaction system was then cooled below 25 ± 0.5 °C and held for 4 h to promote the coordination-driven modification of gelatin chain by OD. Following this, phosphate-buffered saline (20×, Shanghai Aladdin Biochemical Technology Co., Ltd.) was incorporated, and the mixture was stirred at 60 °C for 1.5 h. Methacrylic anhydride (15%, w/v, Shanghai Aladdin Biochemical Technology Co., Ltd.) and the photo-initiator lithium phenyl-2, 4, 6-trimethylbenzoylphosphinate (LAP, 0.05% (w/v), 98%, Macklin, Shanghai Biochemical Technology Company) were added dropwise in sequence. The resulting prepolymer solution was dialyzed in water at 40 °C, transferred into a polytetrafluoroethylene (PTFE) mold, and frozen at 4 °C. Finally, the ODGelMA hydrogel film was obtained after drying and photocrosslinking under 365 nm UV light.

Positive electrode preparation

The positive electrode was fabricated according to the method we reported earlier29,34. Carbon black (YP-50, Kuraray Co., Ltd), acetylene (Suzhou Sinero Technology Co., Ltd), and PTFE powder (Guangdong Canrd New Energy Technology Co., Ltd.) with a mass ratio of 8:1:1 were mixed and hot-pressed onto a thin sheet (denoted as C). The as-synthesized C and Ti mesh (100 mesh, Hebei Mengshang Metal Mesh Industry Co., Ltd) were pressed to build a positive electrode matrix (Ti@C). A mixed solution with iodine (I2) as active material was prepared by dissolving 1 M potassium iodide (KI, 99%, Shanghai Aladdin Biochemical Technology Co., Ltd.) and 0.5 M zinc sulfate (ZnSO4, 99%, Shanghai Aladdin Biochemical Technology Co., Ltd.). Finally, the I2 electrode was obtained by depositing I2 onto the Ti@C at 5 mA for 6 min and dried at 40 ± 0.5 °C for 24 h. The I2 loading mass is about 3 mg cm−2.

Characterizations

The structures of the PipZnBr4 (1:1) and PipZnBr4 solid electrolyte, as well as the electrode after cycling Zn plating/stripping, were characterized by FTIR spectra (AVATAR 370 mode) and Raman spectroscopy (523 nm, Horiba LabRAM HR800). The XRD (Rigaku, D/Max-2500) pattern was scanned from 5 to 80° with a Cu Kα X-rays (λ = 1.5406 Å) radiation at a scan rate of 10°/min and a step of 0.02°. The PipZnBr4 solid-state electrolyte and the surface morphology of the Zn electrode were observed by SEM (Hitachi SU-4800 FE-SEM) with an EDS detector (UItim Max 20) and EBSD (Nordlys Max 3 detection system) under the electron current of 13 pA and accelerating voltage of 2 kV. The surface feature of the cycled Zn electrode was observed by CLSM (Olympus LEXT OLS5000-SAF) and AFM (Bruker, Dimension icon). Chemical bonding information was obtained via XPS measurements performed on a PHI 5000 Versa Probe II spectrometer, utilizing monochromatized Al Kα radiation for excitation. An integrated argon ion gun was utilized for sample sputtering, with a sputter rate calibrated against SiO2 (25 nm min‒1) over a 1 × 1 mm region. The C–C peak at 284.8 eV was used as a reference to calibrate the binding energies presented in this work. Non-destructive visualization of the solid-state battery’s interior and the Zn electrode’s deposition morphology was characterized using CT (Phoenix V MDTC-EQ-M60-01). The system operated at 140 kV and 180 μA, capturing data at a 3 μm spatial resolution with 334 ms exposures. A 3D reconstruction model and corresponding cross-sectional views were obtained by integrating the multi-angle scan datasets. The Zn element content in PipZnBr4 (1:1) and PipZnBr4 solid electrolyte was assessed in parallel three times by ICP (ThermoFisher iCAP Q). ATHENA software was used to process and normalize the XAFS spectra67. Wavelet transform analysis was then carried out on the EXAFS data employing the HAMA program.

Electrochemical measurements

Zn foil (100 μm, 99%, Wuhan Luojia Yanxin Technology Co., Ltd.) was polished with abrasive paper (20000 mesh) and cleaned with ethanol (AR, Shanghai Lingfeng Chemical Reagent Co., Ltd.) to remove the inactive layer. Zn foil was cut into a disc (ϕ = 12 mm) as an electrode. Ti foil (10 μm, 99.99%, Wuhan Luojia Yanxin Technology Co., Ltd.) was cut into a disc (ϕ = 16 mm) to be applied as a positive electrode for Zn||Ti cells. All the testing CR2032 coin cells (stainless steel, Guangdong Canrd New Energy Technology Co., Ltd.) consisted of a stainless steel gasket (0.05 mm) and a shrapnel (0.1 mm), and they were assembled under a pressure of 50 ± 1 kgf cm−2 in an open-air environment by using PipZnBr4 solid electrolyte and tested on a battery test system (Neware) at 40 ± 1 °C. All the batteries were subjected to electrochemical characterization without any additional pressure being applied. The GCD cycles of Zn||I2 using PipZnBr4 solid electrolyte were conducted in a voltage range of 0.3 ~ 1.3 V (Zn2+/Zn). EIS tests were performed on a VSP-3e Potentiostat electrochemical workstation (BioLogic) operating in a potentiostatic mode. A frequency range of 100 kHz–50 MHz was explored, collecting 10 points per decade. To measure the EIS of the solid-state electrolyte at different temperatures, the electrolyte was measured in parallel three times. CV measurements were performed on Zn||Ti coin cells, employing 12 mm Zn foil and 16 mm Ti foil. The testes covered a potential range of −0.2 to 1.0 V at different scan rates (0.1, 0.2, 0.5, and 1.0 mV s−1) on an electrochemical workstation. The nucleation overpotential of the Zn electrode was studied on the electrochemical workstation based on the Zn|PipZnBr4|Zn cell. LSV test of Zn|PipZnBr4|Ti cell was conducted on workstations at 1 mV s−1 at −1.8 ~ 2.8 V. The Zn transference number is calculated by a current-time curve under constant polarization at −50 mV for 700 s. The Tafel profiles were operated on Zn|PipZnBr4|Ti cell. The ionic conductivity (σ) of the as-synthesized PipZnBr4 solid electrolyte was measured by EIS measurements. The σ was calculated based on the equation of σ = l/RS, where l represents the electrolyte thickness (430 μm), R is the total impedance according to EIS measurement, and S is the area (2.0 cm2). To gain the Arrhenius plots, carriable-temperature EIS was conducted from 0 to 60 °C. The activation energy (Ea) was calculated on the Arrhenius equation. The cells were characterized in terms of their galvanostatic charge/discharge tests, CV curves, and rate performance using a 12-mm diameter Zn foil negative electrode and a 1 × 1 cm I2 positive electrode with a controlled ~3 mg cm−2. The titanium mesh served as the substrate, with the I2 positive electrode material loaded on one side facing the solid-state electrolyte. Area current densities were calculated by the area of the negative electrode, while specific currents were determined based on the mass of iodine present in the positive electrode. All the assembled solid-state Zn cells with the sealing pressure of 50 ± 1 kgf cm−2 were left for 6 h before the electrochemical test. Then, the cells underwent charging and discharging tests without any additional pressure being applied. At least ten cells were tested for a single electrochemical experiment to guarantee the reproducibility. The CE of a cell is the ratio of the discharge capacity to the charging capacity of the preceding charge cycle.