Abstract
We present an autonomous, chemical logic gate based on a switchable metal–organic framework (MOF) composite, containing carbon nanoparticles and a Pt catalyst. The switchable MOF composite performs as AND logic gate. Hydrogen and oxygen gas streams serve as binary inputs. Catalytically formed water induces a structural transition (crystal volume expansion) of the MOF, and as a consequence, a detectable drop in conductance of the composite as a ‘true’ output only if both gases come in contact with the composite.
Keywords: hydrogen, logic gate, metal–organic frameworks, oxygen, sensors
Boolean MOF Logic: A switchable metal–organic framework performs AND logic operation using hydrogen and oxygen gas streams as binary inputs.

Introduction
Flexible metal–organic frameworks (MOFs) are a unique class of crystalline porous materials, composed of inorganic nodes connected by organic linkers, that respond to various external physical or chemical stimuli.[ 1 , 2 , 3 , 4 , 5 ] Most of these stimuli‐responsive materials, also known as soft porous crystals, [6] directly convert to frameworks with low porosity after solvent molecules removal from their pores. Unlike continuous processes such as thermal expansion/contraction, characteristic of all solids, and swelling, observed for organic polymers, [7] these structural transformations (from the open pore phase, op to the closed pore phase, cp) occur in a discontinuous (stepwise) manner.[ 8 , 9 , 10 , 11 , 12 , 13 ] The contraction can be reversed by adsorption of fluids. Typically, at a certain pressure/concentration, the MOF structure opens rapidly, significantly increasing the volume of the sample, and the gas diffuses freely into the pores. [14] Depending on the transition mechanism, this adsorption‐induced structural change can be described as breathing or gating. [5]
Breathing and gating phenomena rely on the thermodynamic framework bistability. [4] The structural differentiation into phases differing in crystal volume (op, cp) can be regarded as representing binary information (0,1). Accordingly, flexible MOFs may be applicable for the processing of logic information and the realization of logic gates which are the most elementary building blocks of computing architectures. Semiconductor logic gates rely on transistors and the switching of their electrical conductivity. State of the art complementary metal–oxide–semiconductor (CMOS) technology uses voltage outputs (low, high) to represent binary numbers (0.1) for the realization of Boolean logic gates (AND, NAND, OR, NOR, XOR, NOT etc.) as the most elementary building blocks of integrated circuits.[ 15 , 16 ] In chemistry, the first molecular AND logic gate, based on fluorescence signaling, was reported by de Silva et al. [17] and the latest progress was recently summarized. [18] Bistability of flexible frameworks is the basis to develop logical representations based on MOFs for chemical information processing. The concept of logic and symbolism based on flexible MOFs has been rationalized recently. [19] Flexible porous materials are tailor‐made for the response towards fluids rendering them as an ideal platform for realizing logic functions. While many sensor technologies exist for the detection of single gas components,[ 20 , 21 ] systems for the concomitant detection of two or more components are rare. However, it is exactly the coincident presence of gases that often causes a high safety risk. In particular, the simultaneous presence of hydrogen and oxygen poses significant occupational safety risks. The transition into a future hydrogen economy requires new technologies to improve the safety of hydrogen transport, storage, and at filling stations.[ 22 , 23 , 24 , 25 ] Areas requiring the simultaneous detection of two or more components in demanding infrastructures are diverse and include a wide range of explosive gases, for example acetylene, ammonia, ethylene oxide, hydrazine, and silanes to name a few. In biological systems, responsivity towards combined stimuli is an essential feature to guarantee the successful survival of organisms. [26]
The integration of flexible MOFs into threshold sensing architectures relies on their structural responsivity accompanied by colossal crystal volume change and the alteration of various physical properties, in particular optical ones.[ 27 , 28 , 29 , 30 , 31 ] A highly practical transduction mechanism relies on embedding the crystals into a carbon nanoparticle matrix(CNP).[ 32 , 33 , 34 ] The matrix is conductive as it forms a percolating network. The structural response, however, disrupts the percolation and a stepwise‐change in resistivity enables the detection of gases and vapors, if the critical threshold concentration (gate pressure) is surpassed.
In our proof of concept study, we describe a flexible MOF‐catalyst composite that responds only if two gases are simultaneously present, namely H2 and O2 representing a logic AND gate (Scheme 1). The framework indicates detection by a crystal volume change relying on a structural gate‐opening mechanism, stimulated by adsorption of water generated in situ on a Pt‐catalyst. Resistance changes of a surrounding carbon nanoparticle matrix serve as a signal. We realize this concept by integrating a water‐stable flexible framework [34] [Zn(oba)(pip)]n (JUK‐8=Jagiellonian University in Kraków‐8; pip=4‐pyridyl functionalized benzene‐1,3‐dicarbohydrazide; oba2−=4,4’‐oxydibenzoic carboxylate) into functional devices based on carbon nanoparticles (CNP), Pt‐catalyst (Pt), and polytetrafluoroethylene (PTFE). Under ambient conditions JUK‐8 does not adsorb either H2 or O2, while it shows a pronounced volumetric expansion of crystals during adsorption of water formed in the reaction between H2 and O2 on the Pt catalyst. This coincident detection of hydrogen and oxygen by the composite film allows us to realize the first logic operator based on a gating framework material.
Scheme 1.

A concept of a chemical AND logic element based on a composite sensing architecture containing switchable framework JUK‐8, conductive carbon nanoparticles, a Vulcan (Pt) catalyst and a binder.
Results and Discussion
The composite consists of a particulate flexible MOF, {[Zn(oba)(pip)] ⋅ 2H2O}n (H2O@JUK‐8ip) and sieved conductive carbon bound by polytetrafluoroethylene (PTFE). The individual components are easily distinguishable in a scanning electron microscopy (SEM) image (Figure 1a). In our preliminary dynamic experiments, we observed that the repeated adsorption and desorption stress affects the initial resistivity of the composite film, which is related to nanoparticle dislocation and crystal cracking. To eliminate undesirable variability of signals, the composite film attached to a glass slide was preconditioned by wetting with water for 1–2 min which was followed by heating at 100 °C for 30 min. After ten of such immersion and drying cycles, the conductive carbon nanoparticles occupy preferential positions, which prevents them from consecutive relocation in response to repeated adsorption stress. Finally, a layer of Vulcan (20 % Pt) catalyst was placed on top of the composite film. The powder X‐ray diffraction demonstrates that the preparation did not affect the structure of JUK‐8, i. e. at ambient conditions (relative humidity, RH ∼40–50 %), the composite includes the H2O@JUK‐8ip intermediate phase, which is in agreement with the previous report. [34]
Figure 1.
Characteristics of the JUK‐8/CNP/PTFE/Pt composite: a) SEM image showing the distribution of components (before addition of a Pt catalyst). b) PXRD patterns at different humidity levels compared to the PXRD patterns of H2O@JUK‐8ip (calculated, based on SC‐XRD data) and H2O@JUK‐8op (experimental data). Relative humidity of 90 % was achieved in the reaction between H2 and O2 on a Vulcan (Pt) catalyst. c) Water physisorption isotherm (at 298 K) for the composite recorded under static conditions (black) compared with the corresponding relationship between the composite film resistance and relative humidity RH (blue) measured under dynamic conditions.
Prior to the logic gate experiments, water physisorption measurements were performed on the composite and the data obtained were compared to the relationship between resistance and relative humidity created by the reaction between H2 and O2 on the surface of the Vulcan (Pt) catalyst (Figure 1c). It is worth noting that the water adsorption isotherm exhibits two steps and each step is associated with a distinct phase transition of JUK‐8. First, the desolvated JUK‐8cp adsorbs two water molecules per zinc already at RH ∼6 %, and transforms into the intermediate phase (H2O@JUK‐8ip). It causes a small cell volume expansion by 3 % and a hydrogen bonding system stabilizes this structure (Figure S1 and Table S1, Supporting Information), accounting for the first plateau observed in the water isotherm. Then, at RH ∼60 %, H2O@JUK‐8ip adsorbs another portion of water (eight molecules per zinc) and switches to the {[Zn(oba)(pip)] ⋅ 10H2O}n (H2O@JUK‐8op) phase. As shown in the previous study, H2O@JUK‐8op has about 23 % larger cell volume compared to the closed phase JUK‐8cp. This volume expansion is responsible for the disruption of the surrounding carbon nanoparticle matrix in the composite and its conduction pathway. Under dynamic conditions, the same effect is observed for RH ∼80 %, and the difference is due to kinetic limitations. Note that the equilibration time for individual isotherm points is of the order of hours. Furthermore, to demonstrate that JUK‐8 is in the desired open phase at high RH, the ex situ PXRD pattern of the composite conditioned at RH ∼90 % (created by the active Pt component) was compared with that of JUK‐8 immersed in water (Figure 1b).
The operation of the logic AND gate is highly reversible demonstrating reproducible resistance changes during several sequential experiments (Figure 2). After the first cycle, the composite was regenerated in a stream of dry argon (Table S2, Supporting Information) and the resistance returned to its initial value (30.2 kΩ). Again, separate dosing of O2 or H2 had almost no effect on the resistance, (R‐R0)/R0 ∼4 %, only the simultaneous presence of H2 and O2 caused the aforementioned chains of events, leading to a significant increase in resistance, (R‐R0)/R0 ∼138 %. Even after six cycles, we observed the reproducibility of the signal, which evidently indicates the working ability of the prepared conductive film. In parallel with the resistance measurements, we measured the response time, that is the time between the introduction of the two gases and the maximum R value. For a single cycle, this value is in the range of 10–12 minutes.
Figure 2.
a) Consecutive changes in relative resistance versus a repeated sequence of input gases. b) Schematic drawing and c) optical images of the customized experimental setup used for the experiments. Between the introduction of O2 and H2 the chamber was flushed by pure Ar for 1–2 minutes. R0 – resistance readout for the composite at RH ∼5 % obtained by a 1‐hour dry argon flow. The response time, defined as the interval between the introduction of H2 and O2 and the maximal signal, is in the range of 10–12 minutes for each cycle. After each cycle, the composite was regenerated in a stream of dry Ar to a steady‐state value (see Table S1, Supporting Information). MFC – mass flow controller. E‐cell – environmental flow cell.
Finally, we prepared an analogous MOF/CNP/PTFE/Pt composite (Figure S3, Supporting Information), but instead of the flexible JUK‐8, it included a rigid and stable acylhydrazone‐based MOF, [Cd2(sdb)2(pcih)2]n (sdb2−=4,4’‐sulfonyldibenzoic carboxylate; pcih=4‐pyridinecarboxaldehyde hydrazone (pcih). [14] This MOF has both the structure and the water adsorption capacity (230 cm3 ⋅ g−1) comparable to JUK‐8 (314 cm3 ⋅ g−1, Figure S4, Supporting Information). The sensor based on the rigid MOF responds to neither O2 nor H2, nor to the simultaneous presence of H2 and O2 (Figure S5, Supporting Information). This behavior indicates that water adsorption without simultaneous expansion of the crystal volume has virtually no effect on resistance of the conductive film and the use of a structurally responsive JUK‐8 is crucial to realize the logic gate.
Conclusion
We realized the first logic gate based on a metal–organic framework using a switchable MOF (JUK‐8) embedded in a composite sensor architecture containing carbon nanoparticles, polytetrafluoroethylene binder and a Pt catalyst (JUK‐8/CNP/PTFE/Pt). The switchable MOF, as a key component of the composite, performs AND logic operation using hydrogen and oxygen gas streams as binary inputs, and provides a ‘true’ output due to its internal structural expansion mechanism and colossal crystal volume change. The Boolean AND response of the MOF is triggered by adsorption of catalytically formed water, resulting in a detectable decrease in conductance of the surrounding matrix of carbon nanoparticles. In this way, the flexible MOF‐based sensing architecture detects the simultaneous presence of hydrogen and oxygen gases. This concept can easily be expanded to a wide range of gaseous species. For example, the simultaneous detection of CO and O2 is feasible by gating MOFs responding to CO2. In semiconductor industry, BF3 and NH3 are critical components that could be detected simultaneously by a MOF gate‐opening through the Lewis acid‐base adduct H3N‐BF3. Furthermore, a remarkable side effect of our development is a “reporting‐function”: Flexible MOFs responding selectively to a product of a chemical reaction “report” if the catalyst is active or not. This concept could have important implications for future in situ technologies for the local detection of catalytic activity in extended industrially used catalyst beds, fuel cell stacks, and academic research.
Experimental Section
Before the composite fabrication, carbon black and 20 % Pt/Vulcan were sieved using a 200 μm sieve to suppress agglomeration of particles. JUK‐8op was ground in an agate mortar for 4–5 min. 4.6 mg of the sieved CB (5.1 wt %) in 10 mL of MeOH was sonicated for 8–10 min. After that, 80.0 mg of the ground JUK‐8op (89.3 wt %) was added and sonication was continued for further 10 min. The mixture was stirred on a magnetic stirrer at 87 °C (temperature of the heating plate) causing evaporation of the solvent. When the volume of liquid was approximately 3–4 mL, 2 drops of 15 % aqueous suspension of PTFE (approx. 5.0 mg of pure PTFE; 5.6 wt %) was added. After evaporation of the solvent, the resulting solid composite was scraped off and heated for 10 min at 100 °C. The composite was rolled out two times and appropriate film (15×5 mm, ca. 0.10 mm thick) was cut. The composite film was attached to a glass slide by glue (Pattex). The attached composite film was wetted with water and heated at 100 °C for 30 min. After ten such preconditioning cycles, the conductive carbon nanoparticles occupy preferential positions, which prevents them from consecutive relocation in response to repeated adsorption stress. After such treatment, a drop of suspension of 20 % Pt/Vulcan (∼2.5 mg) in MeOH was casted on the composite film. Finally, silver paste was used to make electrical contacts. After that, the composite was heated in an oven for 10 min at 100 °C. The remaining composite was used for PXRD, SEM and water isotherm measurements (at 298 K).
Conflict of interest
The authors declare no conflict of interest.
1.
Supporting information
As a service to our authors and readers, this journal provides supporting information supplied by the authors. Such materials are peer reviewed and may be re‐organized for online delivery, but are not copy‐edited or typeset. Technical support issues arising from supporting information (other than missing files) should be addressed to the authors.
Supporting Information
Acknowledgements
We gratefully acknowledge the support of the National Science Centre (NCN), Poland (grant nos. 2020/36/C/ST4/00534, K.R.; and 2019/35/B/ST5/01067, D.M.). S.K. acknowledges support by the DFG (FOR2433). V.B. thanks BMBF (project no. 05K19OD2) for the financial support. Open Access funding enabled and organized by Projekt DEAL.
K. Roztocki, V. Bon, I. Senkovska, D. Matoga, S. Kaskel, Chem. Eur. J. 2022, 28, e202202255.
Data Availability Statement
The data that support the findings of this study are available in the supplementary material of this article.
References
- 1. Kitagawa S., Kitaura R., Noro S., Angew. Chem. Int. Ed. 2004, 43, 2334–2375; [DOI] [PubMed] [Google Scholar]; Angew. Chem. 2004, 116, 2388–2430. [Google Scholar]
- 2. Kitagawa S., Uemura K., Chem. Soc. Rev. 2005, 34, 109–119. [DOI] [PubMed] [Google Scholar]
- 3. Férey G., Serre C., Chem. Soc. Rev. 2009, 38, 1380–1399. [DOI] [PubMed] [Google Scholar]
- 4. Krause S., Hosono N., Kitagawa S., Angew. Chem. Int. Ed. 2020, 59, 15325–15341; [DOI] [PubMed] [Google Scholar]; Angew. Chem. 2020, 132, 15438–15456. [Google Scholar]
- 5. Seth S., Jhulki S., Mater. Horiz. 2021, 8, 700–727. [DOI] [PubMed] [Google Scholar]
- 6. Horike S., Shimomura S., Kitagawa S., Nat. Chem. 2009, 1, 695. [DOI] [PubMed] [Google Scholar]
- 7. Nijenhuis A. J., Colstee E., Grijpma D. W., Pennings A. J., Polymer 1996, 37, 5849–5857. [Google Scholar]
- 8. Loiseau T., Serre C., Huguenard C., Fink G., Taulelle F., Henry M., Bataille T., Férey G., Eur. J. Chem. 2004, 10, 1373–1382. [DOI] [PubMed] [Google Scholar]
- 9. Henke S., Schneemann A., Wütscher A., Fischer R. A., J. Am. Chem. Soc. 2012, 134, 9464–9474. [DOI] [PubMed] [Google Scholar]
- 10. Yang Q.-Y., Lama P., Sen S., Lusi M., Chen K.-J., Gao W.-Y., Shivanna M., Pham T., Hosono N., Kusaka S., J. J. Perry IV , Ma S., Space B., Barbour L. J., Kitagawa S., Zaworotko M. J., Angew. Chem. Int. Ed. 2018, 57, 5684–5689; [DOI] [PubMed] [Google Scholar]; Angew. Chem. 2018, 130, 5786–5791. [Google Scholar]
- 11. Evans J. D., Bon V., Senkovska I., Lee H.-C., Kaskel S., Nat. Commun. 2020, 11, 2690. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12. Hazra A., van Heerden D. P., Sanyal S., Lama P., Esterhuysen C., Barbour L. J., Chem. Sci. 2019, 10, 10018–10024. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13. Taylor M. K., Runčevski T., Oktawiec J., Gonzalez M. I., Siegelman R. L., Mason J. A., Ye J., Brown C. M., Long J. R., J. Am. Chem. Soc. 2016, 138, 15019–15026. [DOI] [PubMed] [Google Scholar]
- 14. Mason J. A., Oktawiec J., Taylor M. K., Hudson M. R., Rodriguez J., Bachman J. E., Gonzalez M. I., Cervellino A., Guagliardi A., Brown C. M., Llewellyn P. L., Masciocchi N., Long J. R., Nature 2015, 527, 357. [DOI] [PubMed] [Google Scholar]
- 15. Mutoh S., Douseki T., Matsuya Y., Aoki T., Shigematsu S., Yamada J., IEEE J. Solid-State Circuits 1995, 30, 847–854. [Google Scholar]
- 16.P. Horowitz, W. Hill, The Art of Electronics, Cambridge University Press, Cambridge, England, 2015.
- 17. de Silva P. A., Gunaratne N. H. Q., McCoy C. P., Nature 1993, 364, 42–44. [Google Scholar]
- 18. Erbas-Cakmak S., Kolemen S., Sedgwick A. C., Gunnlaugsson T., James T. D., Yoon J., Akkaya E. U., Chem. Soc. Rev. 2018, 47, 2228–2248. [DOI] [PubMed] [Google Scholar]
- 19.L. Abylgazina, I. Senkovska, S. Kaskel, ChemRxiv 2021, DOI 10.26434/chemrxiv.13618808.v1. This content is a preprint and has not been peer-reviewed., n.d.
- 20. Kreno L. E., Leong K., Farha O. K., Allendorf M., Van Duyne R. P., Hupp J. T., Chem. Rev. 2012, 112, 1105–1125. [DOI] [PubMed] [Google Scholar]
- 21. Li H.-Y., Zhao S.-N., Zang S.-Q., Li J., Chem. Soc. Rev. 2020, 49, 6364–6401. [DOI] [PubMed] [Google Scholar]
- 22. Holladay J. D., Hu J., King D. L., Wang Y., Catal. Today 2009, 139, 244–260. [Google Scholar]
- 23. Wang M., Wang Z., Gong X., Guo Z., Renewable Sustainable Energy Rev. 2014, 29, 573–588. [Google Scholar]
- 24. Hassan I. A., Ramadan H. S., Saleh M. A., Hissel D., Renewable Sustainable Energy Rev. 2021, 149, 111311. [Google Scholar]
- 25. Sazali N., Int. J. Hydrogen Energy 2020, 45, 18753–18771. [Google Scholar]
- 26. Bourjaily M. A., Miller P., PLoS Comput. Biol. 2011, 7, e1001091. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27. Takashima Y., Martínez V. M., Furukawa S., Kondo M., Shimomura S., Uehara H., Nakahama M., Sugimoto K., Kitagawa S., Nat. Commun. 2011, 2, 168. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28. Haldar R., Matsuda R., Kitagawa S., George S. J., Maji T. K., Angew. Chem. Int. Ed. 2014, 53, 11772–11777; [DOI] [PubMed] [Google Scholar]; Angew. Chem. 2014, 126, 11966–11971. [Google Scholar]
- 29. Fang X., Zong B., Mao S., Nano-Micro Lett. 2018, 10, 64. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30. Zhang X., Zhang Q., Yue D., Zhang J., Wang J., Li B., Yang Y., Cui Y., Qian G., Small 2018, 14, 1801563. [DOI] [PubMed] [Google Scholar]
- 31. Dong X.-Y., Huang H.-L., Wang J.-Y., Li H.-Y., Zang S.-Q., Chem. Mater. 2018, 30, 2160–2167. [Google Scholar]
- 32. Freund P., Senkovska I., Kaskel S., ACS Appl. Mater. Interfaces 2017, 9, 43782–43789. [DOI] [PubMed] [Google Scholar]
- 33. Freund P., Mielewczyk L., Rauche M., Senkovska I., Ehrling S., Brunner E., Kaskel S., ACS Sustainable Chem. Eng. 2019, 7, 4012–4018. [Google Scholar]
- 34. Roztocki K., Formalik F., Krawczuk A., Senkovska I., Kuchta B., Kaskel S., Matoga D., Angew. Chem. Int. Ed. 2020, 59, 4491–4497; [DOI] [PubMed] [Google Scholar]; Angew. Chem. 2020, 132, 4521–4527. [Google Scholar]
- 35. Roztocki K., Lupa M., Sławek A., Makowski W., Senkovska I., Kaskel S., Matoga D., Inorg. Chem. 2018, 57, 3287–3296. [DOI] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
As a service to our authors and readers, this journal provides supporting information supplied by the authors. Such materials are peer reviewed and may be re‐organized for online delivery, but are not copy‐edited or typeset. Technical support issues arising from supporting information (other than missing files) should be addressed to the authors.
Supporting Information
Data Availability Statement
The data that support the findings of this study are available in the supplementary material of this article.


