Introduction

Efficient water splitting to produce H2 and H2O2 is considered a green technology for converting renewable energy into other energy forms1. However, the photocatalytic water splitting reactions used for H2 production typically require sacrificial agents and/or co-catalysts2,3,4. Piezoelectric catalysis through the conversion of mechanical to chemical energy is a promising, environmentally friendly approach to the production of H2 and H2O25,6. In non-centrosymmetric crystalline materials, mechanical stress in piezoelectric catalysis generates polarized charges and built-in electric fields, driving charge carrier separation and inhibiting recombination7,8. Moreover, the piezoelectric-induced polarization potential drives band bending, promoting electron-hole separation, overcoming the thermodynamic barrier of water oxidation, and thus synergistically boosting catalytic efficiency9. A variety of piezoelectric materials, including BiFeO3, BaTiO3, and g-C3N4, have been utilized for water splitting to produce H2 and H2O2 via piezoelectricity10,11,12,13,14. However, classical inorganic piezoelectric materials are limited by poor structural tunability and complex polarization processes, which severely hamper their mechanically driven catalytic efficiency15. Consequently, the intrinsic structural tunability of framework materials establishes them as highly suitable candidates for emerging piezo-photocatalytic systems16,17,18,19.

Covalent organic frameworks (COFs) have emerged as a paradigm-shifting photocatalytic platform. Their ordered nanoporosity and atomically precise structural programmability, achieved through modular covalent assembly, demonstrate their potential as pivotal visible-light-responsive photocatalysts20,21,22. Capitalizing on these programmable attributes, recent advances have exploited this design versatility to create two-dimensional (2D) COFs with engineered non-centrosymmetric frameworks, where symmetry-breaking polarization motifs synergistically enhance piezoelectric responses, thus expanding the scope of piezoelectric research23,24. For example, recent work engineered twistable bicarbazole motifs or fluorinated alkyl chains into COFs, enhancing piezoelectric performance25,26. Our prior work first reported that a highly crystalline β-ketoenamine-linked COF (EA-COF) could exhibit efficient piezo-photocatalytic H2 and H2O2 production in pure water without any co-catalyst. The piezoelectric properties of EA-COF were mainly attributed to the in-plane polarization of the β-ketoenamine groups within the framework27. At present, the structure-performance relationships dictating piezoelectricity in COFs are poorly understood. Thus, deliberate architectural tuning of piezo-photocatalytically tailored COFs requires systematic study to unravel critical design principles.

In this study, we rationally design and synthesize a series of β-ketoenamine/imine-linked BT-COFs exhibiting high piezo-photocatalytic activity through meticulous molecular engineering. The two critical factors governing the performance, such as in-plane polarization units and dipole moment, are systematically explored (Fig. 1). β-Ketoenamine-linked COFs exhibit piezoelectricity from ketoenamine unit in-plane polarization, whereas imine-linked COFs lacking these units have lower performance (Fig. 1A). Adjusting the dipole moment by introducing fluorine atoms or changing the structural unit affects the piezo-photocatalytic performance (Fig. 1B). Among them, TP-BT-0F-COF exhibits the highest piezo-photocatalytic water splitting efficiency, producing H2/H2O2 at rates of 1501.4/1435.8 μmol g−1 h−1 under ultrasound (60 W, 40 kHz) and visible light irradiation, respectively, and also shows good stability with H2/H2O2 production amounts of 18.9/14.5 mmol g−1 within 24 h. The enhanced performance arises from the synergy between ultrasound-induced polarized electric fields and the donor-acceptor benzothiadiazole (BT) unit design, which breaks symmetry to yield strong local dipole polarization. The N8 and C6 positions of the BT unit are also confirmed as the potential sites of H2 and H2O2 production by theoretical calculations, respectively. Experimental and computational analyses reveal that the BT-driven charge polarization mechanism enhances both photocatalytic efficiency and piezoelectric response, establishing a robust structure-property relationship for improved piezo-photocatalysis.

Fig. 1: Design of piezo-photocatalytic COFs for water splitting.
Fig. 1: Design of piezo-photocatalytic COFs for water splitting.
Full size image

COF design strategies of (A) polarization center incorporation and B dipole moment optimization; C synthesis of β-ketoenamine- and imine-linked COFs.

Results

Synthesis and characterization of β-ketoenamine/imine-linked COFs

To facilitate the synthesis of β-ketoenamine-linked isoreticular COFs, 4,4′-diamino-substituted p-terphenyl (SB), 4,4′-(benzo-2,1,3-thiadiazole-4,7-diyl)dianiline (BT-0F), 4,4′-(5-difluorobenzo[c][1,2,5]thiadiazole-4,7-diyl)dianiline (BT-1F) (Figs. S1 and S2) and 4,4′-(5,6-difluorobenzo[c][1,2,5]thiadiazole-4,7-diyl)dianiline (BT-2F)28 were employed as linking agents and subsequently reacted individually with 1,3,5-triformylphloroglucinol (TP) (Fig. 1C), yielding crystalline TP-SB-COF, TP-BT-0F-COF, TP-BT-1F-COF, and TP-BT-2F-COF. Additionally, upon replacing TP with 1,3,5-benzenetricarboxaldehyde (BTA), the imine-linked BTA-BT-0F-COF bearing the BT-0F ligand was synthesized.

The powder X-ray diffraction (PXRD) results showed a high crystallinity of the synthesized TP-BT-0F-COF (Fig. 2A), BTA-BT-0F-COF (Fig. S3), BT-1F-COF (Fig. S4), TP-BT-2F-COF (Fig. S5) and TP-SB-COF (Fig. S6), respectively, which was in good agreement (Rp and Rwp < 10%) with the Pawley refinement results in space group P-6 (Table S1), P-6 (Table S2), P3 (Table S3), P3 (Table S4), and P-3 (Table S5), respectively, and stacking mode AA. The chemical structures of all the resulting COFs were investigated using various analytical methods.

Fig. 2: Material characterization of COFs.
Fig. 2: Material characterization of COFs.
Full size image

A Experimental, Pawley-refined, and simulated PXRD patterns of TP-BT-0F-COF, with insets of the ideal eclipsed structure (top and side views, Rp: unweighted-profile and Rwp: weighted-profile); B FT-IR spectra, with arrows indicating the characteristic bands of the β-ketoenamine and imine linkages and dashed red boxes highlighting the spectral features associated with the BT moiety, C UV-vis diffuse reflectance spectra and D schematic energy band structures of TP-BT-0F-COF, BTA-BT-0F-COF, TP-BT-1F-COF, TP-BT-2F-COF, and TP-SB-COF; E SEM and F HRTEM images of TP-BT-0F-COF. The high-magnification TEM image (an inset in F) corresponds to the local region denoted by the blue box.

Fourier transform infrared (FT-IR) spectra revealed that the characteristic vibrational frequencies corresponding to the C=O, C=C, and C–N bonds were observed at 1619, 1451, and 1253 cm−1 for TP-BT-0F-COF, respectively (Figs. 2B and S7). These signals were attributed to the formation of β-ketoenamine subunits. These characteristic peaks were also observed in the other three COFs (TP-BT-1F-COF, TP-BT-2F-COF, and TP-SB-COF), demonstrating the effective synthesis of all four COFs (Figs. 1B and S8S10). Meanwhile, BTA-BT-0F-COF was synthesized via an imine bond, and the peak at 1630 cm−1 was indicative of the imine bond (C=N) (Figs. 2B and S11). The C=O signals at 1694 cm−1 were observed corresponding to the terminal -CHO group on the surface of BTA-BT-0F-COF28,29,30.

The surface chemical states were elucidated by X-ray photoelectron spectroscopy (XPS). In the high-resolution C 1s region (Fig. S12A), TP-BT-0F-COF exhibited two distinct peaks at 284.8 and 286.0 eV, corresponding to carbon atoms in C=C and C–N bonds. The N 1s spectra (Fig. S12B) showed a single nuclear level peak at 399.8 eV for TP-BT-0F-COF, clearly attributed to pyrrolic nitrogen species (=NH), confirming the sp2 covalent C–N bond in TP-BT-0F-COF. In addition, typical S 2p signals were detected in TP-BT-0F-COF, depicting the sulfur atoms within the benzothiadiazole unit (Fig. S12C). A similar phenomenon was observed in the other four COFs, namely BTA-BT-0F-COF (Fig. S13), TP-BT-1F-COF (Fig. S14), TP-BT-2F-COF (Fig. S15), and TP-SB-COF (Fig. S16). Unlike TP-BT-0F-COF, a single nuclear level peak at 399.2 eV for BTA-BT-0F-COF was attributed to pyridinic nitrogen species (C=N–C), confirming the sp2 covalent C=N bond in BTA-BT-0F-COF. No S 2p peaks were found in TP-SB-COF without the benzothiadiazole group. In addition, the presence of a C–F bond was clearly observed in the structure of TP-BT-1F-COF and TP-BT-2F-COF, as indicated by the characteristic binding energy peak at 687.4 eV in the XPS analysis.

Nitrogen adsorption isotherms were measured at 77 K to assess the surface areas and pore structures of the five COFs. The Brunauer-Emmett-Teller (BET) surface areas of the five COFs were calculated to be 1525.4 m2/g (TP-BT-0F-COF) (Fig. S17A), 121.2 m2/g (BTA-BT-0F-COF) (Fig. S18A), 2925.2 m2/g (TP-BT-1F-COF) (Fig. S19A), 2902.3 m2/g (TP-BT-2F-COF) (Fig. S20A), and 312.2 m2/g (TP-SB-COF) (Fig. S21A). All COFs exhibited a characteristic type IV adsorption isotherm with H3 or H4 hysteresis, indicating their mesoporous nature. This phenomenon could be attributed to the high crystallinity of the β-ketoenamine-bound COFs, which enhanced the regularity of the pore structure. As a result, β-ketoenamine-linked COFs exhibited a significantly larger specific surface area. In contrast, imine-linked COFs had lower crystallinity, resulting in a reduced specific surface area. This observation suggested that the hydroxyl groups in the triformylphenyl-based building blocks significantly influenced the final accessible surface areas of the COFs. The pore size distributions were predominantly concentrated around a narrow range, with peak maxima around 2.8 nm, as determined by the non-local density functional theory (NLDFT) method (Figs. S17S21B).

Prior to the photocatalytic studies, the light-harvesting properties and bandgaps of these COFs were evaluated using UV-vis diffuse reflectance spectra. TP-BT-0F-COF, BTA-BT-0F-COF, TP-BT-1F-COF, TP-BT-2F-COF and TP-SB-COF exhibited comparatively restricted optical absorption with absorption onset at 599, 590, 585, 585, and 519 nm (Fig. 2C) and a direct optical bandgap of 2.07, 2.13, 2.17, 2.17, and 2.39 eV (Fig. 2D), respectively. Among the five COFs, TP-BT-0F-COF exhibited a pronounced redshift of the absorption onset with a smaller optical bandgap due to the conjugated donor-acceptor (D-A) structures where phenylamine acted as the electron donor and benzothiadiazole as the electron acceptor. This indicated that it exhibited a broader absorption spectrum within the visible light range, thereby suggesting the potential for enhanced photocatalytic performance. Mott-Schottky measurements and valence band X-ray photoelectron spectroscopy (VB-XPS) were carried out to determine the electronic band positions of as-prepared TP-BT-0F-COF. The curve obtained showed typical characteristics of an n-type semiconductor, with a corresponding Fermi level (Ef) of −0.79 V vs. normal hydrogen electrode (NHE). The VB-XPS results for TP-BT-0F-COF are shown in Fig. S22, where the measured value of 1.98 eV indicated the energy difference between the Ef level and the valence band (VB) level. Consequently, the VB energy level for TP-BT-0F-COF was determined to be 1.19 V vs. NHE, and its conduction band (CB) energy level was −0.88 V vs. NHE. The CB and VB of the other four COFs, BTA-BT-0F-COF (Fig. S23), TP-BT-1F-COF (Fig. S24), TP-BT-2F-COF (Fig. S25), and TP-SB-COF (Fig. S26) were derived using the same method. The results showed that the VB potentials for BTA-BT-0F-COF, TP-BT-1F-COF, TP-BT-2F-COF, and TP-SB-COF were measured to be 0.96, 1.17, 1.14, and 0.82 V vs. NHE, respectively. Similarly, the CB potentials were calculated to be −1.17, −1.00, −1.03, and −1.57 V vs. NHE for BTA-BT-0F-COF, TP-BT-1F-COF, TP-BT-2F-COF, and TP-SB-COF, respectively. The results indicated that the CB and VB positions were suitable for facilitating the H2 evolution and water oxidation reactions (Fig. 2D).

Scanning electron microscopy (SEM) images of all COFs clearly showed distinct nanosheet morphologies (Figs. 2E and S2730A), suggesting a homogeneous and well-defined structure. In addition, high-resolution transmission electron microscopy (HRTEM) further verified the high crystallinity and systematically organized mesoporous architecture of TP-BT-0F-COF (Fig. 2F), reinforcing the precise synthesis and structural coherence of the material. Similar TEM images of TP-BT-0F-COF (Fig. S27B, C), TP-BT-1F-COF (Fig. S28B–D), TP-BT-2F-COF (Fig. S29B–E), TP-SB-COF (Fig. S30B–E) were obtained, confirming their high crystallinity.

The unusual piezoelectric properties of the five COFs were further investigated using piezoresponse force microscopy (PFM)31. The piezoelectric hysteresis loop with a change of 180° under ±5 V direct current bias electric field showed a clear hysteresis with a local switching behavior of polarization for TP-BT-0F-COF, BTA-BT-0F-COF, TP-BT-1F-COF, and TP-BT-2F-COF. From the amplitude-voltage butterfly loop, TP-BT-0F-COF had the maximum effective piezoelectric coefficient (d33) of approximately 0.92 nm/V (Fig. 3A), while the maximum effective d33 coefficients of BTA-BT-0F-COF, TP-BT-1F-COF and TP-BT-2F-COF were 0.56 nm/V (Fig. S31A), 0.43 nm/V (Fig. S31D) and 0.26 nm/V (Fig. S31G) respectively32,33. The results unambiguously indicated that the materials’ piezoelectric properties followed the sequence: TP-BT-0F-COF > BTA-BT-0F-COF > TP-BT-1F-COF > TP-BT-2F-COF. In addition, a discernible resonance peak around 112–201 kHz signified the voltage-induced piezoelectric vibrations within the COFs (Figs. 3B and S31B, E, H). The amplitude showed a significant linear correlation with the excitation voltage, confirming the linear piezoelectricity of TP-BT-0F-COF (Fig. 3C), BTA-BT-0F-COF (Fig. S31C), TP-BT-1F-COF (Fig. S31F), and TP-BT-2F-COF materials (Fig. S31I). The butterfly-shaped amplitude hysteresis loops and corresponding phase hysteresis loops dependent on the bias voltage indicated that the polarization of these COFs could be switched by an electric field. Moreover, lateral PFM amplitudes and phase images of TP-BT-0F-COF (Fig. S32), BTA-BT-0F-COF (Fig. S33), TP-BT-1F-COF (Fig. S34), and TP-BT-2F-COF (Fig. S35) were also collected. It was noticeable that no such phenomenon was observed on TP-SB-COF (Fig. S36), indicating that TP-SB-COF lacked piezoelectric properties, which was consistent with the performance tests mentioned below. Furthermore, the direct piezoelectric effect of all COFs was determined by quasi-static method. High piezoelectric coefficient d33 was obtained for TP-BT-0F-COF (5.5 pC/N) (Fig. S37A), BTA-BT-0F-COF (5.1 pC/N) (Fig. S37B), TP-BT-1F-COF (4.7 pC/N) (Fig. S37C) and TP-BT-2F-COF (4.1 pC/N) (Fig. S37D), consistent with the results obtained from PFM measurements. Such a switchable nature of the domain structures provided robust evidence for the occurrence of piezoelectricity in TP-BT-0F-COF, BTA-BT-0F-COF, TP-BT-1F-COF, and TP-BT-2F-COF25.

Fig. 3: Characterization of piezoelectric properties for TP-BT-0F-COF.
Fig. 3: Characterization of piezoelectric properties for TP-BT-0F-COF.
Full size image

A The displacement-voltage and phase curves of TP-BT-0F-COF, showing a maximum amplitude of 5.9 nm; B voltage-independent resonance of TP-BT-0F-COF centered near 198 kHz; C the linear correlation between the operating voltage and the amplitude of TP-BT-0F-COF; D in situ pressure-dependent FT-IR spectroscopy of TP-BT-0F-COF. Key bands indicated by arrows are assigned to C–N, C=C, and C=O vibrations from the β-ketoenamine units; E fitting of the corresponding infrared spectra peaks; F in situ pressure-dependent UV-Vis absorption spectroscopy of TP-BT-0F-COF. The insets show optical micrographs of the sample at 0.0 and 8.5 GPa, respectively; G corresponding Tauc plots from UV-Vis absorption spectra; H corresponding bandgap variation.

The non-centrosymmetric nature of TP-BT-0F-COF, critical for its piezoelectricity, was also confirmed by second-harmonic generation. Under 1400 nm femtosecond laser irradiation, the COF exhibited a distinct 700 nm second-harmonic signal (Fig. S38A)34. Additionally, violation of the mutual exclusion rule was observed, with normally forbidden vibrational peaks (1366, 1189, and 855 cm−1) appearing concurrently in IR and Raman spectra (Fig. S38B). This breakdown of selection rules confirmed a non-centrosymmetric lattice.

In situ high-pressure FT-IR spectroscopy was used to further investigate the structural change of TP-BT-0F-COF, BTA-BT-0F-COF, TP-BT-1F-COF, TP-BT-2F-COF, and TP-SB-COF. It revealed systematic blue-shifting of β-ketoenamine C–N/C=C vibrational peaks in TP-BT-0F-COF (Fig. 3D), TP-BT-1F-COF (Fig. S39A), TP-BT-2F-COF (Fig. S39B), and TP-SB-COF (Fig. S39C) under pressure. Quantitatively, at about 15 GPa, TP-BT-0F-COF exhibited maximal shifts (C–N: 1257 → 1312 cm−1, Δ = 55 cm−1, rate = 3.27 cm−1 GPa−1; C=C: 1458 → 1506 cm−1, Δ = 48 cm−1, rate = 3.52 cm−1 GPa−1; Fig. 3E), surpassing fluorinated analogs TP-BT-1F (3.12/3.24 cm−1 GPa−1; Fig. S39D), TP-BT-2F (2.89/2.99 cm−1 GPa−1; Fig. S39E), and non-ketoenamine TP-SB-COF (1.01/1.87 cm−1 GPa−1; Fig. S39F). These blue shifts indicated bond shortening and elevated vibrational frequencies, evidencing pressure-induced dipole moment enhancement within the framework. This intensified structural polarization and intramolecular charge distribution asymmetry35. Consequently, TP-BT-0F-COF exhibited the most pronounced shifts, confirming its greater pressure-responsive polarization sensitivity attributable to its inherently larger dipole moment. This directly correlated with the ketoenamine unit being the key structural determinant of COF piezoelectricity.

Conversely, C=O peaks at ~1625 cm−1 in these samples underwent pressure-induced red-shifting. Most prominently in TP-BT-0F-COF, the β-ketoenamine C=O vibration shifted 25 cm−1 (1625 → 1600 cm−1 at 4.2 GPa) at rate of −5.54 cm−1 GPa−1, significantly exceeding the red-shift rates of other β-ketoenamine COFs (Fig. S39D–F). This systematic discrepancy quantitatively confirmed that enhanced bond polarization in TP-BT-0F-COF originated from its amplified piezoelectric response, where pressure-driven electron redistribution toward C=C units dispersed C=O electron density36,37, reducing bond order and inducing red-shifting.

Concurrently, BTA-BT-0F-COF exhibited pressure-induced blue-shifting of benzene ring vibrations (Fig. S40), attributed to enhanced π-conjugation strengthening C=C bonds. In stark contrast, its imine C=N peak (1630 cm−1) showed negligible shift under pressure, indicating minimal piezoelectric polarization contribution from this linkage. This fundamental disparity in bond responsiveness explained the diminished piezoelectric output of BTA-BT-0F-COF versus β-ketoenamine-based TP-BT-0F-COF, correlating with its inferior catalytic performance.

Density functional theory (DFT) was used to observe and compare the local polarization behavior of the as-synthesized COFs molecules. As shown schematically in Fig. S41, TP-BT-0F-COF exhibited dipole moments of 1.420 D, which were larger than those of BTA-BT-0F-COF (0.7476 D), TP-BT-1F-COF (0.5995 D), TP-BT-2F-COF (0.4416 D), and TP-SB-COF (0.013 D). By gradually increasing the content of F elements in the skeleton, the dipole moment showed a decreasing tendency. This phenomenon indicated that the introduction of F elements had a significant effect on the charge distribution and molecular polarity of the COF skeleton. During the continuous increase of F elements, the distribution of the electron cloud inside the molecule changed. Due to the relatively strong electronegativity of the F atoms, the electron cloud was more likely to be distributed around the F atoms, thus changing the overall polarity of the molecule and eventually leading to a gradual decrease in the dipole moment. The results indicated that the local dipole moment change was modulated by the introduction of BT derivative units, which enhanced the self-polarization and piezoelectric properties of the COFs. Furthermore, the dipole moment of BTA-BT-0F-COF was lower than that of TP-BT-0F-COF, confirming that β-ketoenamine subunits dominated over BTA motifs in enhancing molecular dipoles and polarization.

Under the current DFT model, our calculations tentatively suggested the presence of piezoelectricity in these COFs. Table S6 presents the calculated ion-clamped piezoelectric tensors of these COFs, which were derived from their response to finite electric fields (E = 0.001 eV/Å) under the simulated conditions. The trace of the piezoelectric tensors was 2.626, 1.743, 1.178, and -0.351 eÅ for TP-BT-0F-COF, TP-BT-1F-COF, TP-BT-2F-COF, and TP-SB-COF, respectively, which was in agreement with the in situ high-pressure FT-IR spectroscopy results. The origin of piezoelectricity was further investigated. Of all the elements in piezoelectric tensors, the in-plane elements were much larger than the out-plane elements. Tables S6S10 show the Born effective charges of ions in COFs with charges greater than 2.0 |e| (ion index can be found in Fig. S42), all of which were near the β-ketoenamine group (Fig. S43). As the large piezoelectric elements were mainly in the COF plane, the in-plane norms were calculated to be 4.496, 4.243, 3.341, and 0.342 eÅ, respectively. The magnitudes of the trace and the in-plane norms of the tensors were suggestive of a potential correlation with the piezoelectric activities of the COFs. The piezoelectric response of the materials was strongly influenced by their structural components. TP-BT-0F-COF contained both β-ketoenamine and BT units, showing a stronger piezoelectric response due to the active participation of these groups in polarization generation. For BTA-BT-0F-COF, the absence of β-ketoenamine groups reduced the primary piezoelectric active units, resulting in a lower piezoelectric performance. In the case of TP-BT-1F-COF and TP-BT-2F-COF, the introduction of the strong electron-withdrawing fluorine (F) element gradually reduced the skeletal dipole moment, weakened the piezoelectric effect of the BT units, and resulted in similarly low piezoelectric performance. Finally, TP-SB-COF, without BT units, underwent changes in its overall structural symmetry. This altered symmetry was likely the reason for its lack of piezoelectric properties. In conclusion, by tuning the dipole moment of COFs, the polarization effect of COFs could be significantly modulated, thereby tuning their piezoelectric performance.

The piezoelectric potential in piezoelectric materials could generate an intrinsic electric field that modulated charge carrier energy, thereby bending energy bands and enhancing redox activity. In situ pressure-dependent UV-visible absorption spectroscopy was used to investigate the redox band positions of COFs, allowing the charge migration process to be monitored. With increasing pressure, the optical absorption spectra of the COF samples showed pronounced red shifts (Figs. S44S48). TP-BT-0F-COF exhibited maximal bandgap narrowing (2.11 → 1.64 eV, Δ = −0.47 eV; rate = −0.0534 eV GPa−1; Fig. 3F–H), surpassing fluorinated analogs BTA-BT-0F-COF (Δ = −0.40 eV, rate = −0.0496 eV GPa−1; Fig. S49A–C), TP-BT-1F-COF (Δ = −0.42 eV, rate = −0.0488 eV GPa−1; Fig. S49D–F), and TP-BT-2F-COF (Δ = −0.36 eV, rate = −0.0478 eV GPa−1; Fig. S49G–I), and non-ketoenamine TP-SB-COF (Δ = −0.32 eV, rate = −0.0358 eV GPa−1; Fig. S49J–L). This bandgap compression enhanced visible-light harvesting and charge migration kinetics, with full reversibility confirmed during decompression (Fig. S50). The distinct response of TP-BT-0F-COF stemmed from its large dipole moment and ketoenamine moieties, which conferred high pressure sensitivity by shifting band positions to reduce electron excitation energy, generating amplified polarized charges under irradiation, and accelerating surface redox processes38, collectively enabling an enhanced piezo-photocatalytic performance.

The pronounced piezoelectricity in TP-BT-0F-COF could be traced to the molecular-level symmetry breaking within its framework. This non-centrosymmetry originated not from large torsional motions but from the synergistic interplay of two structural features: the robust in-plane polarization of the β-ketoenamine linkage and the strong electronic asymmetry of the donor-acceptor BT unit. The BT unit created a permanent local dipole, which was maximized in the non-fluorinated analog (TP-BT-0F-COF) as confirmed by its largest calculated dipole moment (1.420 D). The locked, planar conformation of the β-ketoenamine bond amplified this effect by facilitating efficient charge separation across the framework plane. This mechanistic picture was supported by the pronounced pressure-induced blue shifts of the β-ketoenamine C–N and C=C vibrations in TP-BT-0F-COF, indicating a highly polarizable structure, and was directly validated by the experimental observation of second-harmonic generation. Consequently, the integration of the polar BT unit within the β-ketoenamine-linked framework provides a powerful design strategy for breaking symmetry and engineering high piezoelectric responses in COFs.

Piezo-photocatalytic water splitting

To evaluate the piezo-photocatalytic performance of TP-BT-0F-COF, BTA-BT-0F-COF, TP-BT-1F-COF, TP-BT-2F-COF, and TP-SB-COF for H2 and H2O2 evolution from overall water splitting, the following tests were designed. Several regulated experiments for pure water splitting, including photocatalytic, piezocatalytic, and piezo-photocatalytic methods, were performed under optical irradiation, acoustic oscillation (60 W, 40 kHz), and simultaneous optical and acoustic co-irradiation. Water and a catalytic agent serve as the primary substances in an inert argon environment, with a circulating coolant regulating the reaction temperature, and without the use of any sacrificial reagents or noble metal co-catalysts.

Under the conditions of pure water and visible light irradiation, all COFs could hardly produce H2 and only produced H2O2. This may be because the COFs reduced the residual oxygen in the water to H2O2, as confirmed by other studies39,40. Among the four COFs, TP-BT-2F-COF showed the highest H2O2 production (335.4 μmol g−1 h−1), followed by TP-BT-0F-COF (242.2 μmol g−1 h−1), while BTA-BT-0F-COF (128.0 μmol g−1 h−1) and TP-SB-COF (140.7 μmol g−1 h−1) showed much lower performance (Fig. S51).

When ultrasonic irradiation was applied, H2/H2O2 production occurred on TP-BT-0F-COF, BTA-BT-0F-COF, TP-BT-1F-COF, and TP-BT-2F-COF. It was noteworthy that the oxidation product of H2O was value-added H2O2, illustrating that the piezo-potential induced positive charge (q+) oxidized OH to H2O2 instead of O2. As shown in Fig. 4A, B, the H2/H2O2 evolution rate of TP-BT-0F-COF, BTA-BT-0F-COF, TP-BT-1F-COF, and TP-BT-2F-COF was 1115.2/1019.1, 708.1/642.1, 441.4/398.9, and 130.7/112.9 μmol g−1 h−1, respectively. The time-dependent H2 and H2O2 yields over different samples and control groups showed that TP-SB-COF did not exhibit H2 evolution due to its lack of piezoelectric properties, and the sonolysis of water was negligible. Under pure ultrasound conditions, the H2O2 yield of all samples was slightly lower than that of H2, rather than 1:1. This was mainly due to the fact that not all hydroxyl radicals were fully combined to form H2O2.

Fig. 4: Evaluation of the piezo-photosynthetic H2 and H2O2 production over a series of COFs.
Fig. 4: Evaluation of the piezo-photosynthetic H2 and H2O2 production over a series of COFs.
Full size image

A H2 and B H2O2 yields under ultrasonic irradiation alone; C H2 and D H2O2 yields under simultaneous light and ultrasound irradiation; E comparison of the total H2 and H2O2 yields after 2.5 h; F H2 and H2O2 production over TP-BT-0F-COF as a function of ultrasound power at a 40 kHz frequency; G H2 and H2O2 production as a function of ultrasound frequency at a 60 W power; H AQYs and solid-state UV-Vis absorption spectrum of TP-BT-0F-COF. Experimental conditions for (AE): catalyst (0.1 mg mL−1) in 20 mL deionized water, ultrasonic irradiation (40 kHz, 60 W), and visible light  ≥ 420 nm, 1000 W m−2), temperature maintained at 20 ± 0.5 °C. Error bars in (EG) represent the standard deviation from three independent measurements; AQY data in (H) is from a single measurement.

Subsequently, visible light (λ ≥ 420 nm) was introduced into the ultrasound reaction system, which further enhanced H2 and H2O2 evolution for both samples. Under simultaneous irradiation by light and ultrasound, TP-BT-0F-COF exhibited a prominent H2/H2O2 production rate of 1501.4/1435.8 μmol g−1 h−1, which was competitive among reported COF-based catalysts and other piezocatalysts (Table S11). These values were 1.6/1.6, 2.3/2.5, and 5.9/4.2 times those of BTA-BT-0F-COF (938.3/914.4 μmol g−1 h−1), TP-BT-1F-COF (649.8/569.84 μmol g−1 h−1), and TP-BT-2F-COF (250.7/339.7 μmol g−1 h−1) (Fig. 4C–E). The synergistic contributions of their photo- and piezocatalytic processes were quantified as 26% (photo): 74% (piezo) for TP-BT-0F-COF, 25% (photo): 75% (piezo) for BTA-BT-0F-COF, 32% (photo): 68% (piezo) for TP-BT-1F-COF, and 48% (photo): 52% (piezo) for TP-BT-2F-COF, respectively. The improved piezo-photocatalytic performance suggested the significant role of illumination in promoting the piezocatalytic activity.

The long-term duration experiment of TP-BT-0F-COF was also performed. TP-BT-0F-COF showed good stability with H2/H2O2 production levels of 18.9/14.5 mmol/g over 24 h, and its performance in water splitting remained consistent after long piezo-photocatalytic testing (Fig. S52). Although the XRD peak intensities were diminished post-reaction, the nearly unchanged FT-IR spectra confirmed the robust structural integrity of the TP-BT-0F-COF framework throughout piezo-photocatalysis (Fig. S53).

Compared to the other COFs, the higher H2 and H2O2 production of TP-BT-0F-COF could be due to its greater piezoelectricity and more efficient vibration energy harvesting. Interestingly, this phenomenon differed from photocatalysis and was mainly attributed to structural differences between the COFs, which led to variations in their piezoelectric performance. Firstly, TP-SB-COF, which lacked the BT unit, completely lost its piezoelectric performance and showed a low hydrogen evolution rate, comparable to that of pure water under the same conditions. Moreover, the absence of β-ketoenamine groups in BTA-BT-0F-COF and the increase in F elements in TP-BT-1F-COF and TP-BT-2F-COF also resulted in a reduction in piezoelectric performance. In addition, under the combined effects of light irradiation and ultrasound, TP-BT-2F-COF was the only material where H2O2 production exceeded hydrogen evolution. This phenomenon was probably due to the introduction of two F atoms, which could promote the generation of H2O2 originating from the CB of TP-BT-2F-COF41.

The piezo-photocatalytic activity of TP-BT-0F-COF was systematically evaluated under ultrasonic powers of 30, 60, and 120 W while keeping all other reaction conditions identical (Fig. 4F). The evolution rates of H2 and H2O2 increased steadily with rising ultrasonic power, achieving a pronounced piezo-photocatalytic synergy at 120 W (2773.2 μmol g−1 h−1 for H2 and 2735.5 μmol g−1 h−1 for H2O2). This enhancement stemmed from higher ultrasonic power inducing stronger polarization within TP-BT-0F-COF, which generated more pronounced built-in electric fields that facilitated the separation of photogenerated carriers, thereby boosting catalytic efficiency. In sharp contrast, no discernible H2 and H2O2 production was detected under milder mechanical perturbations (e.g., 800 rpm stirring, Fig. S54), thereby emphasizing the critical role of ultrasound-driven piezoelectric activation. The following frequency-dependent studies showed a steady rise in H2 yield with increasing ultrasound frequency, peaking at 60 kHz. This optimal response was likely due to the proximity to the intrinsic resonant frequency of TP-BT-0F-COF, where maximal mechanical energy transfer occurred (Fig. 4G). Wavelength-dependent apparent quantum yield (AQY) measurements were performed on 2 mg of TP-BT-0F-COF using a series of band-pass filters as shown in Fig. 3H. In particular, the AQYs of P-BT-0F-COF were 15.50% (450 nm), 14.61% (500 nm), 14.30% (550 nm), 13.62% (600 nm), and 9.65% (650 nm), respectively. The observed gradual decline in AQYs with increasing wavelength correlated with the optical absorption edge of TP-BT-0F-COF, substantiating the notion that light-driven carrier generation played an essential role.

Mechanism of piezo-photocatalysis

Scavenger-assisted mechanistic studies elucidated the charge transfer pathways in piezo-photocatalysis (Fig. S55). Selective electron depletion with 10 mM AgNO3 suppressed H2 evolution by 90%, verifying the electron-mediated proton reduction (2H+ + 2e → H2, −0.41 V vs. NHE). Concurrently, the 87% decrease in H2O2 yield upon hole scavenging (10 mM EDTA-2Na) and 91% reduction with hydroxyl radical quenching (10 vol% tert-butanol, TBA) collectively demonstrated that holes drove the indirect two-electron water oxidation pathway (H2O + h+ → •OH + H+, 2.32 V vs. NHE; 2•OH → H2O2, 0.74 V vs NHE)42,43.

Isotopic labeling experiments using D2O (95%) in the reduction halves confirmed the origin of the produced H2. The molecular ion peak at m/z = 4.00 in the mass spectrum indicated D2 production from D2O (Fig. S56)34. To further investigate the water oxidation reaction (WOR) in piezo-photocatalytic water splitting, •OH generation was measured using terephthalic acid photoluminescence (TA-PL) assays10. As shown in Fig. S57, the TA-OH fluorescence intensities of all COFs followed the order: TP-BT-0F-COF > BTA-BT-0F-COF > TP-BT-1F-COF > TP-BT-2F-COF > TP-SB-COF, under both ultrasonic irradiation and combined light-ultrasound excitation. This trend aligned with their hierarchical piezo-photocatalytic performance, confirming that •OH was a key indicator of WOR efficiency. In contrast, significantly weaker fluorescence occurred under light irradiation alone (Fig. S58), as photogenerated electrons primarily drove the oxygen reduction reaction (ORR) to form •OH, rather than direct water oxidation. This was consistent with the VB positions of all COFs being significantly more positive than the thermodynamic potential for the indirect 2e two-step WOR, precluding •OH generation via water oxidation under sole photocatalysis. In situ electron paramagnetic resonance (EPR) analysis revealed four characteristic signals of •OH radicals for TP-BT-0F-COF under combined ultrasound and light irradiation, with negligible signals observed in light-only controls (Fig. S59). This confirmed the occurrence of an indirect 2e two-step WOR pathway exclusively under piezo-photocatalytic conditions, and its absence under photocatalytic conditions alone. To further investigate the origin of •OH, an isotopic labeling experiment was conducted using H218O (98%) as the reaction solution. Benzoic acid served as a •OH trap, oxidizing to p-hydroxybenzoic acid44. The observation of a molecular ion peak at m/z = 139.0296 (Fig. S60) corresponded to the formation of 18O-labeled p-hydroxybenzoic acid, confirming that the •OH originated from H218O. This result provided direct evidence that H2O2 originated from water oxidation during piezo-photocatalysis.

In situ pressure-dependent photoluminescence (PL) spectroscopy measurements were conducted to examine the charge recombination dynamics (Fig. 5A). Under increasing pressure (0.0 → 5.0 GPa), the four COFs initially exhibited a red coloration, which transitioned to a colorless state at higher pressures, as shown in Figs. S61 and S62. Fluorescence quenching occurred for the four COFs at about 2.0 GPa, accompanied by a pronounced redshift with increasing pressure. The emission quenching resulted from the significant enhancement of π-π interactions at elevated pressures, leading to a continuous redshift24,45. Consequently, 2D COFs with extensive conjugation and densely packed structures were more prone to fluorescence quenching. This implied that charge carriers within the COF separated and transferred at an increased rate under the influence of pressure. Ultimately, this promoted the generation of more electrons and holes and thus increased their accessibility for redox reactions. Notably, TP-BT-0F-COF exhibited the most suppressed PL intensity at equivalent pressures, directly correlating with its high piezo-photocatalytic carrier separation efficiency.

Fig. 5: Charge separation dynamics in COFs.
Fig. 5: Charge separation dynamics in COFs.
Full size image

A In situ pressure-dependent PL spectra of TP-BT-0F-COF, with insets showing optical micrographs at 0.0 and 5.5 GPa; B comparison of PL peak intensities of TP-BT-0F-COF, BTA-BT-0F-COF, TP-BT-1F-COF, and TP-BT-2F-COF under 1.2 GPa; C photocurrent responses and D EIS Nyquist plots of all COFs measured under visible light and ultrasound (R1: series resistance; R2: charge-transfer resistance; CPE: constant phase element); E KPFM potential images of TP-BT-0F-COF in the dark and under illumination; F the corresponding surface potential difference, indicating a 98 mV shift upon light illumination.

The charge conduction characteristics in the piezo-photocatalytic process were investigated by piezo-electrochemical measurements. The photocurrent-time curves were recorded under visible light, ultrasound, or a combination of both to confirm the charge conduction behavior of TP-BT-0F-COF46. TP-BT-0F-COF exhibited higher photocurrent densities when exposed to both ultrasound and light simultaneously compared to light/ultrasound alone, demonstrating that ultrasound/light enhanced the charge transfer efficiency of the material (Fig. 5B). As shown in Fig. 5C, the transient photocurrents under light and ultrasound exposure were in the order of TP-BT-0F-COF > BTA-BT-0F-COF > TP-BT-1F-COF > TP-BT-2F-COF > TP-SB-COF, consistent with the piezo-photocatalytic results above. TP-BT-0F-COF exhibited the higher photocurrent density compared to the other four COFs, suggesting that charge separation and transfer were more efficient in TP-BT-0F-COF. This improvement in charge transfer allowed a greater number of piezoelectric charges to be used to drive electrochemical reactions during the photopiezoelectric catalytic process.

To further investigate the charge transfer resistance, electrochemical impedance spectroscopy (EIS) measurements of the TP-BT-0F-COF electrodes were performed under different conditions, and the corresponding Nyquist plots and fitting results are shown in Fig. S63B and Table S12. As depicted in the equivalent circuit diagram, R2 corresponds to the charge transfer resistance at the sample/electrolyte interface, whereas R1 represents the resistance of the electrolyte and other related system resistances. Notably, when both light and ultrasound were applied simultaneously, the charge transfer resistance was significantly reduced compared to either light or ultrasound alone, suggesting an improved electronic interaction between piezoelectric charges and electroactive materials under these combined conditions47. In addition, the semicircular radius of the EIS Nyquist plots and R2 of the five COFs decreased in the order of TP-BT-0F-COF (4392 Ω) <BTA-BT-0F-COF (5513 Ω) <TP-BT-1F-COF (9767 Ω) <TP-BT-2F-COF (15,310 Ω) <TP-SB-COF (26,326 Ω) (Fig. 5D, Table S13), indicating that the solid-phase interfacial resistance and surface charge transfer barrier were lower in TP-BT-0F-COF compared to the other materials.

The surface potentials of the COFs were measured both in the dark and under irradiation using Kelvin probe force microscopy (KPFM). As shown in Fig. 5E, F, TP-BT-0F-COF exhibited a surface potential of 68 mV in the dark, which decreased to −30 mV upon exposure to light. The observed decrease of 98 mV was probably due to the effect of the inward piezoelectric potential field48,49. The similar trend was also observed for the other three COFs, but their potential differences of 58 mV for BTA-BT-0F-COF (Fig. S64A, B), 80 mV for TP-BT-1F-COF (Fig. S64C, D), and 76 mV for TP-BT-2F-COF (Fig. S64E, F) were all lower than that of TP-BT-0F-COF. These results could be attributed to the piezo-induced polarization charge being partially depleted by photogenerated carriers, which was beneficial for the separation of photogenerated charges and improvement of catalytic activity11,32.

To reveal the overall water splitting processes, DFT calculations were then performed to reveal possible reactions such as the hydrogen (HER), oxygen (OER), and H2O2 evolution reactions in the piezo-photocatalytic reactions. Normally, HER occurs at the cathode, which provides electrons for the H+ to form H2. Therefore, the reaction active site should be close to the region where the conduction band is distributed. For the same reason, the active site of the OER should be close to the valence band region. Figure 6A, B shows the orbitals of the conduction band minimum and the valence band maximum of TP-BT-0F-COF, and the corresponding band structures are shown in Fig. S65. For the HER, the possible active sites were indexed by the number of O1, N2, C3, C4, C6, N8 and S9 (Fig. 6C), and the calculated corresponding free energy penalties for H+ adsorption on these sites are shown in Fig. 6D. In general, the N ion in the BT unit (site N8) has the lowest free energy requirement of 0.65 eV.

Fig. 6: DFT calculation and mechanism study.
Fig. 6: DFT calculation and mechanism study.
Full size image

The electron density distributions at the (A) CB minimum and B VB maximum; C the possible active sites of HER; D the free energy penalties on active sites; E the free energy of OER at the C–C site and the possible subsequent reaction pathways of OER; F the free energy of OER at the S–N, N–S, and N–C sites; G the schematic diagram of the mechanism for water splitting over TP-BT-0F-COF under piezo-photocatalysis.

For OERs and H2O2 evolution reactions, the reaction path became very complicated due to multiple steps and reaction intermediates. Finding reaction paths on very large unit cells, such as COFs, was computation-consuming. Therefore, a reasonable simplified model was required, such as the simplified molecular model28. Here, we simplified the linking unit by a double carbon bond and obtained a one-dimensional chain (Fig. S66A), and then tested the free energy changes of the HER compared to the original model (Figs. 6D and S66B). It was found that the energy errors near the linker (sites N2, C3, and C4) were higher by 0.2 eV. It became minimal for the sites on the BT unit (site C6, N8, and S9) where the OER occurred according to the orbital distribution of the VB maximum. Therefore, the simplified model was used to search for OER paths for acceleration. The error of this model should be less than 0.1 eV. Figures 6E and S67 show the possible OER pathways of TP-BT-0F-COF starting from C6. The first step was OH adsorption, which was found to be the most difficult step. The free energy required was 2.14 eV, resulting in an overpotential of 0.91 eV. The OER could also start by adsorbing OH on the S9 and N8 sites of the BT unit (Fig. 6F). For example, when OH was adsorbed on the S9 ion, the free energy increase was 2.29 eV, which was 0.15 eV higher than when adsorbed on the C6 ion. The adsorption on the N8 ion was much higher, which was unlikely to occur. We focused here on the reactions starting from the C6 ion. After an OH adsorption, there were four possible subsequent reaction pathways (Fig. S67). Path 1: The transfer of an H to the neighboring C5 site led to a decrease in energy. However, the next reaction step of adsorbing another OH required an incoming energy of 1.66 eV, followed by the removal of the H and release of an O2 with energy increases of 1.15 and 0.82 eV, respectively. Path 2: Removing an H from the adsorbed OH increased the energy by about 0.56 eV. The free energy increase for the next OH adsorption was 1.46 eV. Removing O had an energy increase of 1.17 eV. The final step of releasing O2 would occur spontaneously with an energy decrease of 0.41 eV. Path 3: Adsorption of another OH had to absorb 0.63 eV. The coupling of two OH would produce H2O2, costing only 0.68 eV. Path 4: Same as pathway 3, adsorption of another OH would have to absorb 0.63 eV, then continuous removal of Hs from the two adsorbed OHs would release O2 with a maximum energy penalty of 1.39 eV. The possible OERs were fully investigated on other sites and are shown in Fig. S68. It was found that OERs on COF were not able to form the *O-OH bond (* is for the adsorption site), which was the rate-determining step for most OERs catalyzed by inorganic catalysts50. The O-O bond in COF-catalyzed OERs was formed by the linkage of *O-O*. The most favorable reaction path for O2 production after initial OH adsorption required a minimum energy cost of 1.39 eV, which was twice that for H2O2 production.

Based on the current DFT-derived insights and simulated conditions, OERs appeared to be inactive in this piezo-photocatalytic system, while the H2O2 evolution reactions might preferentially follow pathway 3. This pathway started with an OH absorption at the C6 ion site with an energy cost of 2.14 eV, and continued with two low-energy cost steps of further OH adsorption and H2O2 release. Combining the experimental and DFT calculation results, we proposed a possible mechanism for piezo-photocatalytic water splitting using TP-BT-0F-COF as an example (Fig. 6G). Upon visible light and ultrasound stimulation, TP-BT-0F-COF underwent deformation and bending, inducing in-plane stretching and compression. The mechanical strain changed the state of the local dipoles, inducing spontaneous polarization and generating a variable piezoelectric field that modulated the energy band structure of TP-BT-0F-COF. As a result, the free electrons in N8 site of the BT unit were captured by adsorbed H to produce H2, while holes were consumed by adsorbed OH and H2O at C6 site of the BT unit to produce oxidation products such as •OH and H2O2, thereby facilitating the water splitting reaction.

Discussion

In summary, we have designed and synthesized a series of BT-functionalized 2D COFs (TP-BT-0F/1F/2F-COF and BTA-BT-0F-COF) with engineered asymmetry, polarity, and dipole polarization to enable piezoelectricity. Piezoelectric properties were verified through PFM and piezoelectric coefficient measurements. Pressure-dependent in situ FT-IR, PL, and UV-vis spectroscopy elucidated the water-splitting mechanism, while DFT calculations identified the N8 and C6 sites on the BT unit as potential active centers for H2/H2O2 production. TP-BT-0F-COF demonstrated optimal piezo-photocatalytic performance, achieving H2/H2O2 production rates of 1501.4/1435.8 μmol g−1 h−1 and sustained stability (18.9/14.5 mmol g1 over 24 h) under ultrasound (60 W, 40 kHz) and visible light irradiation. The inferior piezoelectric-photocatalytic performance of BTA-BT-0F-COF, TP-BT-1F/2F-COF, and TP-SB-COF was linked to structural deficiencies: missing in-plane polarization units, diminished dipole moments, and absence of the electron-deficient BT unit, respectively. These results underscore that structural factors (polarization motifs, dipole optimization, and BT integration) directly determine efficiency by regulating charge separation and polarization dynamics. These findings not only unravel the structure-property relationships in piezoelectric COFs but also provide a molecular blueprint for the design of multifunctional catalytic materials that harness mechanical-optical energy conversion.

Methods

Materials

All chemicals and reagents were of analytical grade and were used as received. The 1,2-dichlorobenzene (o-DCB, 99%), anhydrous n-butanol (99.4%), dioxane (99%), mesitylene (99%), and pyrrolidine (Py, 98%) were sourced from Macklin Chemicals. 2,4,6-tris(4-aminophenyl)triazine ((TP), 97%), 4,4″-diamino-substituted p-terphenyl (SB, >97.0%), 4,4′-(benzo-2,1,3-thiadiazole-4,7-diyl)dianiline (BT-0F, 98%), and benzene-1,3,5-tricarbaldehyde (BTA, >98.0%) were obtained from Jilin Chinese Academy of Sciences-Yanshen Technology Co. Ltd.

Characterization

PXRD patterns were collected on a PANalytical Empyrean diffractometer using Cu Kα radiation (λ = 1.54 Å) operated at 45 kV and 35 mA. FT-IR spectra were acquired with a Thermo Fisher Nicolet Avatar 6700 FT-IR spectrometer. UV-Vis absorption spectra were recorded on a Shimadzu UV-2700 spectrophotometer. Nitrogen sorption isotherms were measured at 77 K using an iPore400 analyzer. Prior to measurement, samples were degassed at 120 °C under dynamic vacuum (<10−3 Torr) for 10 h. Specific surface areas were determined using the BET method, and pore size distributions were derived from the sorption isotherms via NLDFT. XPS was performed on a VG ESCALAB250 system. TEM was carried out on a JEOL JEM-2010 instrument. The piezoelectric response was characterized by PFM using a Bruker Dimension Icon atomic force microscope. Photo-enhanced KPFM measurements were conducted using an AFM system equipped with an SKPM module and a xenon lamp source.

Piezo-photocatalytic H2 and H2O2 evolution

The photocatalytic reaction was conducted in a 40 mL cylindrical optical reactor (outer diameter: 27.5 mm, height: 95 mm) containing 2 mg of catalyst dispersed in 20 mL of ultrapure water. The suspension was simultaneously irradiated with a 300 W Xe lamp (CEL-PF300-T9, Beijing Zhongjiao Jinyuan) and ultrasonicated (JP101T cleaner, 40 kHz, 60 W; Shenzhen Jiemen). The lamp was equipped with a visible light cut-off filter (λ ≥ 420 nm) to provide an incident light intensity of 1000 W m−2, as calibrated by a solar power meter (Model SM206-SOLAR). The reaction temperature was maintained at 20.0 ± 0.5 °C by a circulating cooling water system.

Prior to reaction, the system was purged by three alternating cycles of evacuation and argon purging (each 5 min) to ensure an anaerobic environment. During the reaction, 100 μL of headspace gas was periodically extracted with a gas-tight syringe for hydrogen analysis by gas chromatography (GC, FULI GC9790 PLF-01, FULI instruments) equipped with a thermal conductivity detector (TCD). The H2 yield was determined using a standard calibration curve (Fig. S69A).

The concentration of hydrogen peroxide (H2O2) was quantified via an enzymatic method using horseradish peroxidase (HRP) to catalyze the reaction between H2O2 and 3,3’,5,5’-tetramethylbenzidine (TMB).

The piezo-photocatalytic production of H2 and H2O2 was investigated under varying ultrasonic intensities and frequencies. The experiments employed a multi-frequency ultrasonic cleaner (YNLH0203-204060, Shenzhen Yunyi) with selectable frequencies (20, 40, 60 kHz) and corresponding powers (30, 60, 120 W). All other conditions were consistent with those described above.

Measurement of H2O2

The H2O2 concentration was quantified using a 3,3′,5,5′-tetramethylbenzidine (TMB)-based enzymatic assay, in which horseradish peroxidase (HRP) catalyzes the oxidation of TMB by H2O2.

The TMB stock solution was prepared by first dissolving 15 mg of TMB in 0.3 mL of dimethylsulfoxide (DMSO). This solution was then mixed with 5 mL of glycerol and 45 mL of an aqueous solution containing 20 mg of ethylenediaminetetraacetic acid (EDTA) and 95 mg of citric acid. The mixture was finally diluted to a total volume of 500 mL with deionized water. The HRP solution was prepared by dissolving 2 mg of the enzyme in 10 mL of deionized water.

For the calibration, 200 μL of the TMB solution and 10 μL of the HRP solution were added to a known concentration of H2O2 (100 μL). After 3 min of reaction, HCl (10 μL, 12 M) was added to stop the reaction, and the absorbance at 450 nm was measured by UV-Vis spectroscopy. A linear standard curve was established from these measurements and used to determine the H2O2 concentration in the experimental samples. The testing method for the actual samples was identical to that used for the reference standard. The H2O2 yield was calculated based on these calibration curves (Fig. S69B, C).

Apparent quantum yields (AQYs) measurements

Apparent quantum yields (AQYs) were determined using 5 mg of samples dispersed in 20 mL of water, with a 300 W Xe lamp (CEL-PF300-T9, Beijing Zhongjiao Jinyuan Technology Co., Ltd.) equipped with band-pass filters (λ = 450, 500, 550, 600 and 650 nm) as the incident light source (irradiation area: 0.25 cm2), under the combined conditions of irradiation and ultrasonic assistance for 30 min. The light intensity was measured with a solar power meter (Model SM206-SOLAR). The AQY was calculated using the following formula (1):

$$\eta=\frac{2\times M\times {N}_{A}\times h\times c}{S\times P\times t\times \lambda }\times 100\%$$
(1)

Where M is the amount of H2 produced (mol), NA is the Avogadro constant (6.022 × 1023/mol), h is the Planck constant (6.626 × 10−34 J s), c is the speed of light (3 × 108 m/s), S is the irradiation area of the incident light (m2), P is the intensity of the incident light (W/m2), t is the photoreaction time (s), and λ is the wavelength of the monochromatic light (m).

By substituting the known constants, we obtained the following simplified formula (2) for the AQY:

$$\eta=\frac{2\times M\times 2.66\times {10}^{9}}{P\times \lambda }\times 100\%$$
(2)

Where M is the amount of H2 produced (mol), P is the intensity of the incident light (W/m2), and λ is the wavelength of the monochromatic light (nm). Specific values are provided in Table S14.

Trapping experiments of hydroxyl radicals

An aqueous terephthalic acid (TA) solution (40 mL, 0.5 mM) was formulated in a 2 mM NaOH medium and then transferred into a quartz reactor. A 5 mg portion of the photocatalyst was uniformly dispersed in the aforementioned solution. The resulting mixture was exposed to visible light irradiation (300 W Xe lamp, λ > 420 nm, light intensity: 1000 W/m2) for 1 h at 20 °C under constant magnetic stirring. Following the irradiation process, the suspension was subjected to centrifugation at 10,000 rpm for 10 min. The fluorescence emission intensity of the supernatant was determined at 425 nm (excitation wavelength: 315 nm) via a fluorescence spectrometer.

Piezo-photoelectrochemical measurements

Piezo-photoelectrochemical measurements were performed using a standard three-electrode setup on a CHI660E electrochemical workstation, under visible light (λ ≥ 420 nm) and ultrasonic irradiation. The working electrode was prepared by dispersing 2 mg of catalyst in a mixture of 0.5 mL ethanol and 10 μL Nafion solution, followed by sonication for 5 min to obtain a homogeneous suspension. Next, 50 μL of the suspension was drop-cast onto a pre-cleaned ITO glass substrate (0.5 × 0.5 cm2) fixed with double-sided tape. A proton exchange membrane (1 × 1 cm2) was then placed on the catalyst-coated region and hot-pressed at 100 °C under 350 psi pressure for 3 min, thereby forming the working electrode (Fig. S70).

Mott-Schottky analysis was carried out using a three-electrode configuration, where the COF/ITO glass served as the working electrode, a platinum (Pt) plate functioned as the counter electrode, and a saturated Ag/AgCl electrode acted as the reference. The electrolyte consisted of 30 mL deionized water with 0.20 M Na2SO4. This study involved applying a polarization potential from −1.2 to 1.6 V (vs. SCE), with alternating potential frequencies of 500, 1000, and 1500 Hz employed throughout the study.

Photocurrent tests were conducted under the conditions of irradiation, sonication, or their simultaneous application. EIS tests were conducted at a bias voltage of −0.4 V, covering irradiation, sonication, or their combined action, with a frequency range of 0.001–100000 Hz. For EIS tests performed under ultrasound, the electrochemical cell was secured in an ultrasonic bath. The acquired EIS data were fitted with a suitable equivalent circuit17.

In situ high-pressure PL, IR, and UV-Vis absorption measurements

High-pressure experiments utilized a symmetric diamond anvil cell (DAC) (Fig. S71) equipped with ultra-low fluorescence diamond anvils (culet diameter: 400 μm). Samples were loaded into a 150 μm-diameter chamber laser-drilled in a pre-indented T301 stainless steel gasket (thickness: 45 μm), with silicon oil (PL/UV-Vis) or KBr (IR) selected as pressure-transmitting media. The ruby fluorescence technique was utilized for pressure determination, relying on the spectral shift of the R1 line in ruby fluorescence. All the aforementioned measurements were performed at 298 K.

Spectroscopic measurements

Photoluminescence (PL): excited with a 355 nm semiconductor laser (with power stabilized to avoid intensity-related artifacts), and the corresponding spectra were collected by an Ocean Optics QE65000 fiber spectrometer (Fig. S72).

UV-Vis absorption: a deuterium-halogen excitation source was coupled to the same spectrometer, with a focus on excitonic absorption bands (Fig. S73).

Infrared (IR): recorded using a Nicolet iN10 microscope spectrometer (equipped with a liquid N2-cooled MCT detector), where KBr was used as the pressure-transmitting medium (Fig. S74).

In situ EPR monitoring experiments

EPR spectra were recorded at 298 K using a Magnettech ESR 5000 spectrometer (X-band, 9.85 GHz) (Fig. S75) with the adoption of the following instrumental parameters: modulation amplitude of 1.000 G, modulation frequency of 100 kHz, center field of 3500 G, and sweep width of 100 G. For in situ radical detection, 10 mg of the COF composite was dispersed in 20 mL of an aqueous solution supplemented with 200 μL of 0.1 M DMPO as the spin trap, and then exposed to simultaneous ultrasonic treatment (40 kHz, 60 W) and visible-light irradiation (300 W Xe lamp, λ ≥ 420 nm) in a 40 mL quartz reactor. The resulting reaction mixture was continuously circulated through the EPR sample cell by a peristaltic pump at a flow rate of 6 mL/min, facilitating real-time detection at 30-s intervals.

High piezoelectric coefficient (d 33) test

The powder sample was subjected to a pressure of 4 tons for tableting to prepare a flake-shaped specimen, which was then placed in an oil bath for polarization treatment. The polarization conditions were as follows: the polarization voltage was 1400 V, the leakage current was controlled at 0.05 mA, the polarization temperature was room temperature, and the polarization duration was set to 0.5 h. The test sample was further tested between the upper and lower probes. The electromagnetic drive part in the test head generated a low-frequency alternating force of approximately 0.25 N at a frequency of 110 Hz. The two piezoelectric signals generated by the positive piezoelectric effect were then processed by the instrument, which displayed the d value.

Calculation method

All DFT calculations in this work were calculated with the Vienna ab initio simulation package (VASP, version 6.3.0), implemented with plane waves and the projector augmented wave method. The Perdew-Burke-Ernzerhof (PBE) functionals were coupled with van der Waals (vdW) dispersion corrections of the zero-damping DFT-D3 method of Grimme51,52. All structures of these COFs (see Supplementary Data 14) were optimized until all Hellmann-Feynman forces on atoms were less than 0.005 eV/Å with cell optimization and an energy cutoff of 550 eV and a Γ-centered k-mesh with a k-point distance of <2π/36 Å−1. The piezoelectric tensors, effective Born charges of these COFs were determined from the response to finite electric fields (E = 0.001 eV/Å). Geometry optimizations and electronic structure characterizations of the molecules were performed at the B3LYP/6-311G level using the Gaussian 1653. Our DFT calculations employed idealized COF models, which cannot fully capture the inherent structural complexity and dynamic nature of the real systems.

Synthesis experiments

Synthesis of 4,4′-(5-difluorobenzo[c][1,2,5]thiadiazole-4,7-diyl)dianiline (BT-1F)

The reaction was conducted in a mixture of toluene (45 mL), ethanol (12 mL), and water (9 mL) containing 4,7-dibromo-5-fluoro-2,1,3-benzothiadiazole (0.80 g, 2.55 mmol), 4-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)aniline (1.34 g, 6.12 mmol), and K2CO3 (2.90 g, 27.30 mmol). Under an argon atmosphere, established by 30 min of purging, Pd(PPh3)4 (0.29 g, 0.25 mmol) was added to initiate the Suzuki coupling. The reaction proceeded at 100 °C over 24 h. Standard workup included cooling, dilution with dichloromethane (20 mL), and removal of the catalyst by filtration through a Celite pad. The crude product obtained after solvent evaporation was subjected to column chromatography, yielding the desired compound as an orange solid (617.0 mg) with a yield of 72%. 1H NMR (400 MHz, DMSO-d6) δ (ppm) 7.85 (d, J = 8.6 Hz, 2H), 7.73 (d, J = 12.5 Hz, 1H), 7.48 (d, J = 8.5, 1.6 Hz, 2H), 6.81–6.62 (m, 4H), 5.52 (s, 2H), 5.41 (s, 2H).

Synthesis of 4,4′-(5,6-difluorobenzo[c][1,2,5]thiadiazole-4,7-diyl)dianiline (BT-2F)28

The reaction was conducted in a mixture of toluene (45 mL), ethanol (12 mL), and water (9 mL) containing 4,7-dibromo-5-fluoro-2,1,3-benzothiadiazole (0.84 g, 2.55 mmol), 4-(4,4,5,5-tetramethyl-1,3,2-dioxaborolan-2-yl)aniline (1.34 g, 6.12 mmol), and K2CO3 (2.90 g, 27.30 mmol). Under an argon atmosphere, established by 30 min of purging, Pd(PPh3)4 (0.29 g, 0.25 mmol) was added to initiate the Suzuki coupling. The reaction proceeded at 100 °C over 24 h. Standard workup included cooling, dilution with dichloromethane (20 mL), and removal of the catalyst by filtration through a Celite pad. The crude product obtained after solvent evaporation was subjected to column chromatography, yielding the desired compound as an orange solid (722.0 mg) with a yield of 80%. 1H NMR (400 MHz, CDCl3) δ (ppm) = 7.62 (d, J = 8.8 Hz, 4H), 6.83 (d, J = 8.8 Hz, 4H), 3.94 (s, 4H).

Synthesis of TP-BT-0F-COF54

2,4,6-Trihydroxybenzene-1,3,5-tricarbaldehyde (TP) (10.5 mg, 0.05 mmol), 4,4′-(benzo-2,1,3-thiadiazole-4,7-diyl)dianiline (BT-0F) (23.9 mg, 0.08 mmol), o-1,2-dichlorobenzene (0.75 mL), n-butanol (0.25 mL), and Py (0.10 mL) were combined in a Pyrex tube. After 10 min of sonication for homogenization, the mixture was flash-frozen in liquid nitrogen (77 K) and subjected to three freeze-pump-thaw cycles. The tube was then evacuated to 100 mTorr, sealed, and heated at 120 °C for 3 days. The brown precipitate that formed was collected via centrifugation and washed sequentially with tetrahydrofuran and anhydrous acetone. The resulting powder was activated by stirring in dimethylsulfoxide for 6 h. Subsequent washing with tetrahydrofuran and drying at 60 °C afforded a crimson powder (26 mg, 75% yield).

Synthesis of TP-BT-1F-COF

2,4,6-Trihydroxybenzene-1,3,5-tricarbaldehyde (TP) (10.5 mg, 0.05 mmol), 4,4′-(5-difluorobenzo[c][1,2,5]thiadiazole-4,7-diyl)dianiline (BT-1F) (25.3 mg, 0.08 mmol), o-1,2-dichlorobenzene (0.75 mL), n-butanol (0.25 mL), and Py (0.10 mL) were combined in a Pyrex tube. After 10 min of sonication for homogenization, the mixture was flash-frozen in liquid nitrogen (77 K) and subjected to three freeze-pump-thaw cycles. The tube was then evacuated to 100 mTorr, sealed, and heated at 120 °C for 3 days. The brown precipitate that formed was collected via centrifugation and washed sequentially with tetrahydrofuran and anhydrous acetone. The resulting powder was activated by stirring in dimethylsulfoxide for 6 h. Subsequent washing with tetrahydrofuran and drying at 60 °C afforded an orange powder (28 mg, 80% yield).

Synthesis of TP-BT-2F-COF

2,4,6-Trihydroxybenzene-1,3,5-tricarbaldehyde (TP) (10.5 mg, 0.05 mmol), 4,4′-(5,6-difluorobenzo[c][1,2,5]thiadiazole-4,7-diyl)dianiline (BT-2F) (26.5 mg, 0.08 mmol), o-1,2-dichlorobenzene (0.75 mL), n-butanol (0.25 mL), and Py (0.10 mL) were combined in a Pyrex tube. After 10 min of sonication for homogenization, the mixture was flash-frozen in liquid nitrogen (77 K) and subjected to three freeze-pump-thaw cycles. The tube was then evacuated to 100 mTorr, sealed, and heated at 120 °C for 3 days. The brown precipitate that formed was collected via centrifugation and washed sequentially with tetrahydrofuran and anhydrous acetone. The resulting powder was activated by stirring in dimethylsulfoxide for 6 h. Subsequent washing with tetrahydrofuran and drying at 60 °C afforded an orange powder (30 mg, 80% yield).

Synthesis of SB-COF

2,4,6-Trihydroxybenzene-1,3,5-tricarbaldehyde (TP) (16.8 mg, 0.08 mmol), 4,4″-diamino-substituted p-terphenyl (SB) (32.1 mg, 0.12 mmol), dioxane (0.67 mL), mesitylene (0.33 mL), and Py (0.10 mL) were mixed in a Pyrex tube. After 10 min of sonication for homogenization, the mixture was flash-frozen in liquid nitrogen (77 K) and subjected to three freeze-pump-thaw cycles. The tube was then evacuated to 100 mTorr, sealed, and heated at 120 °C for 3 days. The brown precipitate that formed was collected via centrifugation and washed sequentially with tetrahydrofuran and anhydrous acetone. The resulting powder was activated by stirring in dimethylsulfoxide for 6 h. Subsequent washing with tetrahydrofuran and drying at 60 °C afforded a deep yellow powder (40 mg, 80% yield).

Synthesis of the BTA-BT-0F-COF29

A mixture containing benzene-1,3,5-tricarbaldehyde (BTA, 8.1 mg, 0.05 mmol) and 4,4′-(benzo-2,1,3-thiadiazole-4,7-diyl)dianiline (BT-0F) (24 mg, 0.08 mmol) in o-dichlorobenzene/mesitylene/aqueous acetic acid (6 M) (0.50: 0.50: 0.30 mL) was sonicated for 10 min to achieve a homogeneous solution. The mixture was flash-frozen in liquid nitrogen (77 K) and subjected to three freeze-pump-thaw cycles. The tube was then evacuated to 100 mTorr, sealed, and heated at 120 °C for 3 days. The brown precipitate that formed was collected via centrifugation and washed sequentially with tetrahydrofuran and anhydrous acetone. The resulting powder was activated by stirring in dimethylsulfoxide for 6 h. Subsequent washing with tetrahydrofuran and drying at 60 °C afforded a yellow powder (22 mg, 70%).