Introduction

The identification and detection of harmful gases are crucial for public safety, environmental protection, and medical diagnosis1,2,3. Ammonia (NH3), widely used as a feedstock in the production of chemicals and fertilizers, is also a corrosive toxic gas that poses significant health risks with long-term exposure4,5. Thus, real-time monitoring of NH3 concentration is essential for safeguarding both the environmental and health protection. Current detection methods, such as gas chromatography and mass spectrometry, can effectively detect trace gases. However, their large size and high cost limit their practical application6. This has led researchers to explore alternative techniques for sensitive identification and detection of NH3.

Chemiresistive sensing technology has gained widespread attention as a promising alternative for gas detection due to its low cost, compact size, and robust real-time monitoring capabilities7,8. Numerous chemiresistive sensors responsive to NH3 have been continuously developed, including those made from metal oxides8,9, carbon-based materials10,11, conductive polymers12,13, and metal-organic frameworks (MOFs)14. However, current NH3 sensors still face challenges such as low sensitivity, poor stability and high operating temperature, leading to poor recyclability and significant application limitations15,16. Therefore, developing new, robust sensing materials capable of detecting trace amounts of NH3 is of great scientific significance.

All-inorganic 3D polyoxometalate (POM) frameworks are porous, purely inorganic molecular metal oxide networks built from POM secondary building units (SBUs) and metal linkers via covalent or coordination bonds. Noted that the metal linkers generally exclude alkali and alkaline earth metals, as they primarily interact with POMs through electrostatic forces. Such unique materials bridge the gap between zeolites and MOFs, exhibiting potential as chemiresistive gas-sensing materials. Moreover, they feature high stability, which is crucial in the presence of corrosive and coordinating gases like NH3, which often cause structural degradation of MOFs by attacking their metal nodes17,18. Conversely, the high-charge POM SBUs within the all-inorganic 3D POM frameworks offer robust electrostatic interactions with metal linkers, thereby reinforcing the metal-oxo bonds. On the other hand, compared to zeolites, all-inorganic 3D POM frameworks possess greater flexibility in structural design, allowing them to be tailored for NH3 responsiveness by utilizing topological and reactivity principles similar to those in MOFs, through modifications to either the metal linkers or POM SBUs. Consequently, the all-inorganic 3D POM frameworks hold promise as high-performance chemiresistive NH3 sensing materials, despite the fact that their performance in gas sensing has yet to be explored.

Notably, the acquisition of the all-inorganic 3D POM frameworks is not easy due to the scarcity of effective synthesis strategies. To date, only a small dozen of different structural types have been reported19,20,21,22,23,24,25, significantly lagging behind the development of other porous materials such as zeolites and MOFs with hundreds and thousands of configurations, respectively. The known all-inorganic 3D POM frameworks are primarily based on polyoxotungstates, polyoxomolybdates and polyoxovanadates, with representative examples including frameworks constructed from POM SBUs like {Sn9Si2W18}20, {P8W48}21, {P5W30}22, {ZnMo12}23, and {V18O42(SO4)}24. These materials exhibit highly intriguing redox properties, adjustable electronic characteristics, and catalytic performances. Recently, we reported the first {Ln12Nb72}-based all-inorganic 3D polyoxoniobate framework FZU-1 and demonstrated its superior performance in selective adsorption and elution of radioactive Sr2+ ions25,26. Therefore, advancing research on the synthesis of all-inorganic 3D POM frameworks, which are in urgent need of development, and exploring their potentially fascinating properties are of considerable scientific interest.

In this work, we present a novel all-inorganic 3D POM framework material, H13Na8K18{[Cu(H2O)]2[Cu4(OH)5]- [Cu4P2Nb29O93]2}·48H2O (FZU-2), which is constructed from new-type polyoxoniobate (PONb) SBUs of {Cu4P2Nb29O93} (denoted as Cu4@Nb29) bridged by both tetranuclear {Cu4(OH)5} copper-hydroxy clusters and mononuclear [Cu(H2O)]2+ copper complexes. Further, based on the framework, we demonstrate for the first time the potential application of all-inorganic 3D POM frameworks in gas sensing. Notably, FZU-2 not only exhibits high framework stability but also an exceptionally sensitive response to NH3, with a remarkable lowest limit of detection (LOD) of 1.64 ppt at room temperature, surpassing all previously reported chemiresistive NH3 sensing materials. Additionally, the reversible NH3-triggered single-crystal-to-single-crystal (SCSC) structural transformation of FZU-2 offers atomic-level insights into its NH3 response behaviors and mechanisms. Moreover, NH3 can also trigger a reversible vaporchromic phenomenon, which offers a visual recognition for NH3 sensing.

Results and discussion

Structure of FZU-2

FZU-2 crystallizes in tetragonal space group I4/m and its all-inorganic 3D framework features some attractive characteristics. To begin with, as is well-known, the known structural types of PONbs are limited owing to synthetic challenges caused by narrow and strongly basic working pH region and the slight solubility of niobate species. Fascinatingly, the Cu4@Nb29 SUB exhibits a rare new type of PONb. As shown in Fig. 1a, Cu4@Nb29 exhibits a Cs-symmetry core-shell-type nanocluster with ca. 1.7 × 1.2 × 1.2 nm3 in dimensions, which consists of a unique 29-nuclearity hollow heart-shaped {P2Nb29O93} PONb shell (Fig. 1b) enclosing a 4-nuclearity tetrahedral {Cu4O16} copper-oxygen cluster core (Fig. 1c).

Fig. 1: Secondary Building Units (SBUs).
Fig. 1: Secondary Building Units (SBUs).
Full size image

a Polyhedron representation of Cu4@Nb29 and the view of Cu4@Nb29 with a symmetry plane. b View of the structure of heart-shaped {P2Nb29O93} PONb shell. c Polyhedron representation of {Cu4O16} core. d Polyhedron representations of tri-lacunary Keggin-type {A-α-PNb9O34} unit and basket-shaped {Nb11O43} unit. e Ball and stick representation of {Cu4O16} core.

The shell is comprised of two known Keggin-type trilacunary {A-α-PNb9O34} PONbs27, and an unusual C2v-symmetric basket-shaped {Nb11O43} PONb unit (Fig. 1d). The {Nb11O43} unit consists of three distinct types of Nb-polyhedra: six NbO6 octahedra, four NbO7 pentagonal bipyramids, and one NbO5 pyramid. Every three NbO₆ octahedra are joined together through edge-sharing to form a {Nb3O₁₆} triangular triad. Each NbO₆ in the triad further connects to an NbO₇ pentagonal bipyramid also via edge-sharing, forming a tripod-like 6-nuclearity {Nb6O28} unit. Two such tripodal units are arranged face-to-face and interconnected by sharing two NbO₇ pentagonal bipyramids, creating a basket-shaped {Nb10O42} unit with a 6-ring cavity. This cavity is occupied by a 5-coordinate Nb5+ ion (NbO5 pyramid), completing the basket-shaped {Nb11O43} PONb unit (Supplementary Fig. 1). Finally, the two trilacunary {A-α-PNb9O34} PONbs are anchored to both sides of the basket-shaped {Nb11O43} unit forming the overall 29-nuclearity hollow heart-shaped PONb shell with an internal spherical cavity of ca. 6.0 Å in diameter (Supplementary Fig. 2).

Pentagonal SBUs {M(M5)} (M = V, Mo, W, Nb) are of great interest in POM chemistry, as they are believed to be capable of forming large spherical or ring-shaped POMs analogous to fullerenes. Interestingly, the {P2Nb29O93} shell also can be described as a unique pentagonal {Nb(Nb5)}-based tetrahedral cage of {Nb23O79} capped by two {PNb3O19} fragments (Supplementary Fig. 3). The {Nb23O79} cage is made up of four {Nb(Nb5)} pentagonal SBUs, which exhibit two distinct types: two {Nb6O27} and two {Nb6O26} (Supplementary Fig. 4). The {Nb6O27} displays a nearly planar structure, formed by five NbO6 octahedra encircling a NbO7 pentagonal bipyramid, whereas the {Nb6O26} shows a curved structure, composed of four NbO6 octahedra and one NbO5 square pyramid surrounding a NbO7 pentagonal bipyramid (Supplementary Fig. 5). The two planar {Nb6O27} SBUs form a C2v-symmetry V-shaped dimer through two pairs of edge-sharing NbO6 octahedra, while two {Nb6O26} SBUs form another kind of C2v-symmetry V-shaped dimer via both two pairs of edge-sharing NbO6 octahedra and a shared NbO5 square pyramid. These two types of V-shaped dimers connect with each other in a face-to-face and mutually perpendicular manner through edge-sharing and vertex-sharing, fusing into a tetrahedron-like cage (Supplementary Fig. 4).

It is noteworthy that the PONb [H10Nb31O93(CO3)]23− (Nb31), first reported by Cronin et al.28, also incorporates four {Nb(Nb5)} pentagonal SBUs. In Nb31, these four pentagonal SBUs are interconnected to form an E-symmetric non-closed structure (Supplementary Fig. 6), whose topological configuration is markedly distinct from our closed C2v-symmetric tetrahedral {Nb23O79} cage. To our knowledge, the {Nb23O79} motif presents the smallest cage known to date that is entirely constructed from pentagonal SBUs of {M(M5)}.

The {Cu4O16} core can be viewed as a tetrahedral copper-oxygen cluster composed of three CuO6 octahedra and one CuO4 tetrahedron (Fig. 1e). The three octahedral Cu2+ ions are hold together by a μ3-O atom to form a nearly coplanar triangle. The remaining tetrahedral Cu2+ ion caps to the triangular plane through three μ2-O atoms, forming the tetrahedral {Cu4O16} core (Supplementary Fig. 7). It is noted that the {Cu4O16} core is disordered into two sets of tetrahedral structures, as illustrated specifically in Supplementary Fig. 8. The Cu-O bond lengths of all CuO6 octahedra and the CuO4 tetrahedron are in the ranges of 1.888(1)–2.473(1) Å and 1.614(1)–1.866(1) Å, respectively (Supplementary Table 1). Some Cu-O bond distances of CuO6 octahedra are significantly elongated or shortened due to the Jahn-Teller effect of Cu2+. The {Cu4O16} core is encapsulated in the central cavity of the {P2Nb29O93} shell, leading to a core-shell PONb of Cu4@Nb29.

Apart from being based on novel Cu4@Nb29 SBUs, FZU-2 is also an interesting 3D all-inorganic POM framework featuring mixed inorganic linkers. As shown in Fig. 2, there are two types of copper linkers in the framework: one is tetranuclear {Cu4(OH)5} copper-hydroxy cluster, and the other is [Cu(H2O)]2+ complex. Unlike the Cs-symmetrical arrangement of the four Cu2+ ions in the {Cu4O16} core, the four Cu2+ ions in the {Cu4(OH)5} linker adopt a C4d-symmetrical arrangement, interconnected by one μ4-OH and four μ2-OH ligands to form an uncommon planar square configuration (Supplementary Fig. 9). All the OH groups and H2O ligand are confirmed by bond valence sum calculations (Supplementary Table 2)29.

Fig. 2: Structure of FZU-2.
Fig. 2: Structure of FZU-2.
Full size image

a View of the Cu4@Nb29 SBU. b View of the 42-symmetry 1D chain. c View of the extending 3D structure along c axis.

In the framework, the {Cu4(OH)5} linkers connect Cu4@Nb29 SBUs along the c-axis, forming a 42-symmetry 1D chain of -(Cu4@Nb29)2-Cu4(OH)5-(Cu4@Nb29)2-Cu4(OH)5- (Supplementary Figs. 10, 11). In this chain, every four adjacent Cu4@Nb29 SBUs are arranged in a tetrahedral fashion and unified by a {Cu4(OH)5} linker positioned at the tetrameric center (Supplementary Fig. 12). Inside this tetrameric fragment, each Cu2+ ion, while coordinating with one μ4-OH and two μ2-OH groups, also bonds to two terminal oxo atoms from a Cu4@Nb29, forming a 5-coordinate square pyramid with Cu-O bond lengths ranging from 1.897(1)-2.503(3) Å.

Complementing the bridging direction of the {Cu4(OH)5} linkers along the c-axis, the [Cu(H2O)]2+ complexes crosslink the 1D chains of -(Cu4@Nb29)2-Cu4(OH)5-(Cu4@Nb29)2-Cu4(OH)5- along the a- and b-axis directions, resulting in the formation of the overall all-inorganic 3D POM framework with 1D square channels along the c-axis direction (Fig. 2 and Supplementary Fig. 13). Each square pore channel, possessing a pore size of 1.2 × 1.2 nm², is defined by four 1D chains in a C4-symmetry arrangement, where the adjacent chains are bridged by one [Cu(H2O)]2+ complex with Cu-O bond lengths of 1.918(1) Å and 2.422(1) Å (Supplementary Fig. 14). Notably, in the absence of the {Cu4(OH)5} linkers, the [Cu(H2O)]2+ complexes would solely be able to link Cu4@Nb29 SBUs into discrete planar tetramers with C4h-symmetry (Supplementary Fig. 15), which are stacked in parallel along the c-axis with a spacing of 4.5 Å between adjacent tetramers. Analogous to the square pyramid configuration displayed by the Cu2+ ions in the {Cu4(OH)5} linker, the Cu2+ ion of [Cu(H2O)]2+ linker form a 5-coordinate square pyramid by coordinating with one water ligand and four terminal oxo atoms from two Cu4@Nb29 SBUs. Interestingly, the water ligands directed towards the pore channels, along with the nanoscale pore sizes and robust purely inorganic 3D framework, endow FZU-2 with the potential for gas sensing.

Characterization and NH3 detection

The purity of as-synthesized FZU-2 were confirmed by powder X-ray diffraction (PXRD, Supplementary Fig. 16), IR (Supplementary Fig. 17), and elemental analyses (see the Experimental Section in the Supporting Information). Variable-temperature PXRD tests show that FZU-2 exhibits high thermal stability, maintaining its structural integrity up to 200 °C (Supplementary Fig. 18). Furthermore, the samples remain structurally stable after soaking in aqueous solutions with a broad pH range of 4–13 or common organic solvents for 1 day, demonstrating high chemical stability (Fig. 3a). Notably, compared to the all-inorganic 3D frameworks constructed from acid-stable POMs of V, Mo, and W, the all-inorganic 3D frameworks based on base-stable PONbs have superior stability under strongly basic conditions. This is particularly advantageous for gas-sensing research and applications in basic atmospheres.

Fig. 3: NH3 detection.
Fig. 3: NH3 detection.
Full size image

a PXRD patterns after soaking in different solvents for 1 day. b Adsorption and desorption isotherms for NH3 at 298 K with N2 and H2 for comparison. c Microravimetric NH3 sensing responses and adsorption quality at 298 K and 308 K. The quantitative relationship is that of 1 pg mass being equivalent to the frequency change of 0.24 Hz. d The isotherms of the FZU-2-loaded resonant-cantilever to NH3 of various trace-level concentrations. e Concentration-dependent response-recovery curves. f Response-concentration log-log plots. g Comparison of LOD of various NH3 responsive materials at RT.

Due to the unique and fascinating structural features, as well as the high stability of FZU-2, we have spearheaded the exploration of the potential gas-sensing properties of 3D all-inorganic POM frameworks, specifically targeting NH3, a basic gas, as the subject of our research. The NH3 sorption experiment for activated samples of FZU-2 are conducted at 298 K. It could be seen from the adsorption curve (Fig. 3b) that FZU-2 exhibits type I isotherm30, with steep uptakes at low relative pressure, follows by a gradual decrease in adsorption rate with the total NH3 uptake of 3.02 mmol  g−1 at 1 bar. This result indicates that FZU-2 has porous characteristics and sensitivity to low concentrations of NH3. The PXRD pattern after NH3 adsorption-desorption experiment further confirm the structural stability of FZU-2 (Supplementary Fig. 19). Notably, FZU-2 hardly adsorbs N2 and H2 under the same conditions, and such good adsorption selectivity perfectly meets the NH3 detection requirements in the Haber-Bosch processes17.

A microgravimetric experiment is conducted to further evaluate the sensing capability of FZU-2 for detecting trace NH3 from a thermodynamic insight. A resonant microcantilever sensor is employed for real-time quantitative detection of the periodic adsorption-desorption process when exposed to trace NH3, with dry air as the carrier gas. The NH3 molecules trapped by FZU-2 cause an increase in mass, which can be detected by a drop in frequency. As shown in Fig. 3c, the dropping signal of frequency gradually enlarges with the rise in NH3 concentration. At 298 K, the response signals are 8.89–16.57 Hz for the NH3 concentration in the range of 1–20 ppm, indicating that FZU-2 is sensitive to NH3 at the ppm level. A similar gravimetric experiment is performed at a higher temperature of 308 K, where the sensing signal is lower than that at 298 K for the same NH3 vapor concentration, indicating that increasing the temperature is not conducive to the adsorption of NH3 (Supplementary Tables 3, 4). According to two fitting isotherms (Fig. 3d) and Clausius-Clapeyron equation, the standard enthalpy (ΔHθ) of adsorption can be calculated as −42.05 kJ  mol−1. This indicates a combined contribution of chemisorption and physisorption, which is suitable for a chemiresistor according to reported literatures31. The well-fitting linear plot of p/Γ versus p, with an R2 of 0.996 according to Langmuir equation, is used to calculate the adsorption-desorption equilibrium constant K, determined to be as 6.20 Pa−1 (Supplementary Fig. 20). Notably, the negative standard Gibbs free energy (ΔGθ) value of −33.05 kJ  mol−1 for FZU-2 implies a spontaneous NH3 adsorption process (Supplementary Table 5). Moreover, the calculated negative entropy (ΔSθ) of −30.18 J  K−1 indicates a decreased degree of freedom after NH3 adsorption, and the NH3 molecules are restricted from their original free movement in space to the surface. These thermodynamic parameters further demonstrate the potential of FZU-2 for RT NH3 sensing.

A chemiresistive sensor based on FZU-2 powder is fabricated using the drop-coating method onto interdigital electrodes (Supplementary Fig. 21). Trace NH3 sensing measurements are performed in a homemade dynamic sensing setup at 298 K with dry air as the carrier gas (Supplementary Fig. 22). As shown in Fig. 3e, the current significantly increases upon exposure to NH3, which is the typical behavior of a n-type semiconductor32. The current curve presents a typical real-time response-recovery curve over a broad concentration range of 0.01–1 ppm. The response, defined as I-I0/I0, increases with rising NH3 concentration, where I0 and I are the average current levels of dry air and different concentrations of NH3, respectively. The result indicates that FZU-2 is suitable for real-time monitoring of NH3. The response at 1 ppm NH3 is estimated up to be 105%, exceeding most NH3 sensing materials (Supplementary Table 6). Moreover, the response-concentration log-log plots of FZU-2 toward NH3 shows good linearity in the range of 0.01–1 ppm, with an R2 of 0.9630 (Fig. 3f). The theoretical limit of detection (LOD) is calculated to be ~1.64 ppt from the fitted linear equation by setting the response to be 10%, indicating high sensitivity of FZU-2 toward NH3. Notably, FZU-2 represents the lowest LOD among all reported RT chemiresistive NH3 sensing materials (Fig. 3g and Supplementary Table 6). Furthermore, FZU-2 demonstrates excellent selectivity toward nine common interfering gases, including CH4, C2H6, C2H4, C2H2, CH3COCH3, H2S, CO2, SO2, and NO2 (Supplementary Fig. 23). The response to 1 ppm NH3 with low coefficient of variation of 5.2 % over five consecutive cycles (Supplementary Fig. 24) show good repeatability of FZU-2. Relative humidity-dependent current response tests indicate that low to moderate humidity levels (≤60%) minimally affect the NH₃ sensing performance of FZU-2, suggesting its suitability for applications in such scenarios (Supplementary Fig. 25)33,34,35.

Single-crystal transformation and DFT calculation

To reveal the reason of ultrasensitive response toward NH3, we investigate NH3 induced structural transformation behavior of FZU-2. As shown in Fig. 4a, the as-synthesized green crystalline sample of FZU-2 turned blue after exposure to saturated NH3 vapor. Time-dependent absorption spectra indicate that the characteristic d-d transition peak of Cu2+, centered at 800 nm, shifts blue with increasing exposure time, indicating a change in the coordination environment of Cu2+. After exposure for 40 min, the center of peak shifts blue to 600 nm, and further extension of the exposure time results in negligible change in the absorption spectrum, indicating that the vaporchromism tends to be saturated (Fig. 4b). The colored state can remain stable for a long time under an inert atmosphere (Supplementary Fig. 26), but when exposed to a 55% humid atmosphere, it reversibly gradually returns to its initial state (Fig. 4c and Supplementary Fig. 26). The NH3-induced SCSC transformation of FZU-2 with high-quality single crystal X-ray diffraction (SXRD) data further provides an atomic-level insight into NH3 response behavior. The colored crystalline sample, H13Na8K18{[Cu(NH3)2]2[Cu4(OH)5][Cu4P2Nb29O93]2}·30H2O·6NH3 (FZU-2NH3), maintains a similar all-inorganic 3D framework to FZU-2 (Fig. 4a, Supplementary Fig. 27 and Supplementary Table 7). The presence and content of NH3 in the FZU-2NH3 are verified through IR, XPS, and element analysis (Supplementary Table 8 and Supplementary Figs. 17, 28, 29). As shown in Fig. 4a, the H2O ligand of each (Cu(H2O)O4) is replaced by two NH3 molecules, resulting in the transformation of the copper coordination geometry from the original 5-coordinate square pyramid {Cu(H2O)O4} to a 6-coordinate octahedron {Cu(NH3)2O4}. In contrast, the copper coordination environment of {Cu4(OH)5} linkers remains unchanged. Due to NH3 being a stronger field ligand compared to H2O, the blue shift in the d-d transition absorption band of Cu2+ after NH3 stimulation can be well explained. The change in the coordination environment of the {Cu(H2O)O4} linker leads to a slight disturbance in the connections between adjacent SBUs. This disturbance causes the pore window transform from a nearly square shape to an octagonal shape. The change further results in a cell length variation of up to 3.1% in the a- and b-axis, which is significantly greater than the 0.5% variation in the c-axis direction.

Fig. 4: Single-crystal to single-crystal (SCSC) structural transformation.
Fig. 4: Single-crystal to single-crystal (SCSC) structural transformation.
Full size image

a The NH3/H2O-induced vaporchromism accompany by crystal phase transformation. b, c Time-dependent adsorption spectra of NH3 adsorption and desorption processes. d, e Time-dependent PXRD patterns during NH3 adsorption and desorption processes. Atom color: oxygen (red), copper (cyan), nitrogen (blue), hydrogen (gray).

Time-dependent PXRD data clearly display the dynamic change process. As shown in Fig. 4d, with increased exposure time to NH3 atmosphere, the diffraction peaks of crystal face groups with non-zero h and k indices, such as (110), (211), (220), and (310), shift to the left. The interplanar spacing of (110), (211), (220), and (310) increases from 23.54 Å, 12.27 Å, 11.77 Å and 10.52 Å, to 24.26 Å, 12.50 Å, 12.13 Å, and 10.85 Å, respectively (Supplementary Fig. 30). Similarly, SXRD (Supplementary Table 7) and PXRD data (Fig. 4e) further demonstrate that in a 55 % humid atmosphere, H2O molecules will re-attack [Cu(NH3)2]2+ linkers of FZU-2NH3, restoring to original crystal (denoted as FZU-2Recovered). Density functional theory (DFT) calculations further elucidate the electronic structural changes during the adsorption response process. As shown in Fig. 5, the charge density difference analysis reveals that NH3 adsorption induces a more pronounced charge transfer compared to H₂O adsorption, indicating stronger intermolecular interaction energies between NH3 and the adsorption sites, aligning with the observed ultrasensitivity of FZU-2 to NH3. Additionally, Bader charge analysis demonstrates that these adsorbed gas molecules can transfer electrons to the PONb framework, consistent with the n-type semiconductor behavior of FZU-2. Specifically, an H₂O molecule transfers only 0.06e of charge to the framework, whereas an NH3 molecule transfers as much as 0.24e, explaining the significant current increase observed during the NH3 response process. Therefore, the ultrasensitivity of FZU-2 to NH3 in chemiresistive sensing is primarily due to the strong coordination affinity of [Cu(H2O)]2+ linker for NH3, which leads to the dissociation of H2O molecules and rapid uptake of the NH3 to form Cu-N bonds, followed by expansion in the framework along both the a and b directions. This alteration of structure, along with the injection of charge from the gas molecules into the FZU-2 framework, results in a corresponding change of conductivity.

Fig. 5: DFT calculation.
Fig. 5: DFT calculation.
Full size image

a Charge density difference and Bader charge analysis for FZU-2. b Charge density difference and Bader charge analysis for FZU-2NH3. Isosurfaces with yellow and blue isosurface levels being set at ±0.002 e/bohr3, respectively. Atom color: niobium (green), oxygen (red), copper (blue).

In summary, we have prepared a rare all-inorganic 3D PONb framework of FZU-2, which possesses many fascinating features, including heart-shaped nanoscale PONb SBUs, mixed inorganic linkers, nanoporous channels, and high stability. Based on these characteristics, we selected corrosive and toxic NH3 gas as the research target and explored, for the first time, the potential application of all-inorganic 3D POM frameworks in chemiresistive gas-sensing materials. Delightfully, FZU-2 exhibits ultra-sensitivity to NH3 at RT, with the lowest LOD among all reported RT chemiresistive NH3 sensing materials. Furthermore, the high crystallinity and structural stability enabled us to understand the SCSC structural transformation details of FZU-2 during NH3 sensing through SXRD, thereby intuitively revealing its mechanism of sensitive response to trace NH3 at the atomic level. This work not only enriches the family of rare all-inorganic 3D POM frameworks but also pioneers the potential application of such materials in the field of chemiresistive gas sensing, providing important insights and guidance for designing and developing novel and high-performance RT chemiresistive sensors.

Methods

Materials

Chemicals were used as purchased without further purification. Water was deionized and distilled before use.

Measurements

Powder XRD patterns were obtained using a RIGAKU-Miniflex II diffractometer with Cu Kα radiation (λ = 1.54056 Å). IR spectra were recorded on PerkinElmer Spectrum One FT-IR infrared spectrophotometer with pressed KBr pellets in the range of 4000–400 cm−1. UV-vis spectra were measured using a SHIMADZU UV-2600. UV-vis spectrophotometer equipped with an integrating sphere attachment and BaSO4 as reference. Inductively coupled plasma atomic emission spectrometry (ICP-AES) was performed on an Ultima2 spectrometer. X-ray photoelectron spectroscopy (XPS) was carried out using a XPS system (Thermo-Fisher, ESCLAB 250, USA).

Single-crystal structure analysis

Crystals were collected on a Bruker APEX II CCD area diffractometer equipped with a fine focus, 2.0 kW sealed tube X-ray source (Mo Kα radiation, λ = 0.71073 Å) operating at 175(2) K. The empirical absorption correction was based on equivalent reflections. The structures were solved by direct methods followed by successive difference Fourier methods. Computations were performed using SHELXTL and final full-matrix refinements were against F2. The contribution of disordered solvent molecules to the overall intensity data of structure was treated using the SQUEEZE method in PLATON.

Synthesis of K18Na8H13{[Cu(H2O)]2[Cu4(OH)5][Cu4P2Nb29- O93]2}·48H2O (FZU-2)

K7HNb6O19·13H2O (0.295 g, 0.215 mmol) was dissolved in 8 mL distilled water followed by Na2HPO4·7H2O (0.118 g, 0.44 mmol) and Cu(CH3COO)2·H2O (0.055 g, 0.275 mmol). The mixture vigorous stirred for about 1 h, then transferred to a 25 ml Teflon-lined stainless steel autoclave and heated at 200 °C for 96 h. After cooling to room temperature, green rod-shaped crystals suitable for X-ray crystallography were obtained. Yield: about 15 mg (35.9%, based on K7HNb6O19·13H2O). ICP analyses (based on dried sample) calcd (found %) for H18Na8K18Cu14P4Nb58O191: Na, 1.77 (1.45); K, 6.79 (7.05); P, 1.20 (1.28); Cu, 8.58 (7.95); Nb, 52.00 (52.56). IR (KBr pellet): 3287(s), 1623(m), 1053(m), 1013(m), 865(s), 676(s), 586(s), 471(s).

Synthesis of K18Na8H13{[Cu(NH3)2]2[Cu4(OH)5][Cu4P2Nb29O93]2}·30H2O·6NH3 (FZU-2NH3)

FZU-2NH3 is synthesized by exposing crystal samples of FZU-2 to ammonia atmosphere for 0.5-1 h. The content of ammonia is determined by crystallographic data and elemental analysis. IR (KBr pellet): 3268(s), 1627(m), 1422(m), 1253(m), 1052(m), 1001(m), 865(s), 683(s), 585(s), 473(s).

Synthesis of K18Na8H13{[Cu(H2O)]2[Cu4(OH)5][Cu4P2Nb29- O93]2}·44H2O (FZU-2Recovered)

Fresh blue-colored single crystals of FZU-2NH3 were placed in a small vessel then put in air (humidity: 55%) for over 4 h. The blue crystals of FZU-2NH3 gradually converted back into green crystals of FZU-2 without disrupting the crystallographic order and still suitable for single-crystal X-ray diffraction analysis. ICP analyses (based on dried sample) calcd (found %): Na, 1.77 (1.48); K, 6.79 (7.23); P, 1.20 (1.25); Cu, 8.58 (7.96); Nb, 52.00 (52.60).

Synthesis discussion

In our study, we identified three key synthesis parameters that significantly influence the successful synthesis of FZU-2.

Firstly, Na₂HPO₄ is essential for the formation of FZU-2. It not only acts as a pH modulator, regulating the microenvironment of the reaction, but also serves as a source of heteroanions \(\left({{{\rm{PO}}}}_{4}^{3-}\right)\), which function as templates to induce the formation of lacunary PONb-based building units.

Secondly, reaction temperature plays a crucial role in determining both the yield and crystallinity of the final product. Parallel experiments reveal that FZU-2 cannot be obtained at temperatures below 160 °C, whereas crystalline products begin to form only when the temperature exceeds this threshold. As the temperature increases, both yield and crystallinity improve. We speculate that a higher reaction temperature facilitates the dissolution of raw materials, promotes precursor decomposition, and enhances the recombination of lacunary PONb-based building units, thereby driving the crystallization process.

Additionally, Cu2+ also play a crucial role in the construction of FZU-2. We explored the possibility of substituting Cu²⁺ with other transition metals, including Cr³⁺, Mn²⁺, Fe³⁺, Co²⁺, Ni²⁺, and Zn²⁺, under the same reaction conditions. However, only precipitates were observed in these cases. This is likely due to the limited solubility of these metal ions, which undergo hydrolysis under strongly alkaline conditions. In contrast, Cu²⁺ can form stable soluble complexes with hydroxide ions in such environments, thereby increasing its solubility and enabling its participation in the self-assembly process. Moreover, Cu²⁺ exhibits remarkable flexibility in coordination, forming various geometries, including the planar [Cu₄(OH)₅]³⁺ linkers composed of four five-coordinated Cu²⁺ ions. The versatility in coordinating configurations is precisely why attempts to replace the Cu2+ ion with others have been unsuccessful to yield the same structure.

NH3 sensing detection

The DC chemiresistive sensors were developed by drop coating the isopropanol suspension of FZU-2 sample onto the silver interdigital electrodes. A mixture of FZU-2 (50 mg) and isopropanol (100 μL) was stirred and ground for 10 min at RT to obtain a well-dispersed suspension, then the sensor was conveniently fabricated by drop coating the suspension (20 μL) onto the interdigital electrodes, then dried at RT. The sensing performances were conducted by a homemade setup (Supplementary Fig. 22), and the concentration of NH3 in the analyte flow was controlled by a dynamic volumetric method and calibrated by a commercial instrument. Mass flow controllers (MFC, CS-200C, Beijing Sevenstar Qualiflow Electronic Equipment Manufacturing Co., Ltd., China) were utilized to control the flow rate (v) of gas, MFC1 for bubbling gas (dry air for bubbling into the water), MFC2 for mixed gas (dry air for mixing with analyte gas), and MFC3 for dry air (blank measurement), MFC4 for analyte gas (analyte gas is mixed with dry air). The targeted NH3 concentration (x) and humidity (RH) were produced by mixing the bubbling gas and mixed gas in a proper ratio and calculated by the following equation:

$$x=\frac{{v}_{{MFC}4}}{{v}_{{\mathrm{MFC}}2}+{v}_{{MFC}4}}$$
(1)
$${RH}=\frac{{v}_{{MFC}1}}{{v}_{{MFC}2}+{v}_{{MFC}1}}\times 100\%$$
(2)

The sensor devices were placed in an opaque, sealed quartz chamber at room temperature, with dry air used as the carrier gas for the target gas. To eliminate interference from other gases, the sensor device was first purged with a constant flow of dry air at 200 sccm (mL/min) until the current stabilized. Once the target gas concentration was balanced in the gas mixer for 7 min, it was then introduced into the chamber. Various concentrations of the target gas were tested using a custom-built sensing setup. The gas-sensing experiments were conducted by monitoring changes in the DC current of the device under different target gas concentrations. The current was recorded using a Keithley 2636B System Sourcemeter, with a bias voltage of 1 V. The sensor response (R) and coefficient of variation (CV) were defined according to the following method:

$$R=\left(\frac{{I}_{g}}{{I}_{0}}-1\right)\times 100\%$$
(3)
$${{\mathrm{CV}}}=\frac{{R}_{{SD}}}{{R}_{{average}}}\times 100\%$$
(4)

where I0 is the initial current value of the sensor at dry air, and Ig is the steady state current of the sensor when exposed to different concentrations of target gas. Here, RSD represents the relative standard deviation of the response, reflecting the degree of data dispersion; Raverage indicates the average response value under the same concentration cycle, reflecting the central tendency of the data.

Microravimetric NH3 sensing test

Microravimetric measurements were carried out using MEMS cantilever (LoC-TGA 3000) chips connected to the computer and a Molecular Adsorption Analyzer acquired from High-End MEMS Technology Co., Ltd. The powder of FZU-2 was firstly dispersed in ethanol, then loaded onto the tip of a microcantilever chip using a cantilever microscope. After drying thoroughly at 70 °C, the adsorption of NH3 was measured by detecting the vibration frequency of the cantilever beam in the range of 1–20 ppm.

Gas adsorption measurements

Gas adsorption isotherms were measured using a micromeritics 3flex adsorption analyzer or BSD adsorption instruments of Beishide Instrument Company. The samples were degassed at 100 °C for 6 h under high dynamic vacuum before measurement. For the measurement of NH3, N2 and H2 adsorption, 60 mg, 200 mg and 200 mg samples were used, respectively. N2 and H2 isotherms were collected at 77 K, NH3 isotherm was collected at 298 K.

Computational approaches

First-principles DFT simulations were performed using the VASP package. The electron exchange-correlation energies were treated by the generalized gradient approximation in the Perdew Burke Ernzerhof scheme36. In addition, the projection enhanced wave pseudopotential was used to describe the ion nucleus and valence electron interactions37,38. A kinetic energy cutoff of 400 eV was chosen as the plane wave basis set. To focus solely on the interactions between the responsive gas molecules and the capture sites, we simplified the calculations and reduced the computational load by extracting the Cu-SBU₂ dimer surrounding the capture sites of FZU-2 and FZU-2NH3 as the computational model (Supplementary Fig. 31). Given the positional disorder of {Cu4O16} core within the Cu₄@Nb₂₉ SBUs, one specific configuration was selected for the calculations. The integration over the reciprocal space was performed using a Monkhorst model with a Γ-point. The atomistic structures and the difference charge densities are illustrated using VESTA39. The version of the Bader program used for Bader charge analysis is v1.0540.