Introduction

In recent years, the leakage of volatile toxic gases and steam generated by chemical combustion and chemical reactions in a wide range of industrial production and other fields has caused pollution to the environment and also poses a serious threat to human health.1,2 Pollution gas emissions produced by marine diesel engines bring great harm to the human living environment and physical health. In order to meet strict ship emissions restrictions and to reduce pollution and harm to the atmosphere, selective catalytic reduction (SCR) technology is widely used in ships, so the detection of SCR emissions from marine diesel engines is of great research significance. Ammonia (NH3 ) is one of the gases harmful to human health and the environment, and is also one of main components of pollution gas emissions in selective catalytic reduction (SCR) from marine diesel engines. Furthermore, NH3 is also an important indicator for the diagnosis of diabetes, malignant tumors, lung cancer, kidney disease, and other diseases.3 For example, the concentration of NH3 in exhaled breath is about 0.8 ppm in healthy individuals, while this increases to more than 1.5 ppm in patients with kidney disease. Although NH3 has many uses, it is a colorless, toxic, and pungent gas that poses a threat to human health. For example, prolonged exposure to a certain concentration of NH3 can elicit irritation on the skin, eyes, and respiratory system, potentially causing burns. Human exposure to 35 ppm NH3 gas for 15 min will cause cell damage. Excessive NH3 inhalation in a short period of time may cause lung and throat swelling, and in severe cases may lead to necrosis and detachment of bronchial mucosa, eventually leading to asphyxia.3,4,5,6 Therefore, the assessment of NH3 gas concentration holds considerable significance, and it is a challenging and urgent task to explore and design new materials suitable for NH3 detection.

Among the many double-metal oxide semiconductor materials, barium titanate (BaTiO3), as an environmentally friendly ceramic material with high dielectric constant, large charge storage capacity, and low loss current density, has great potential in the electronics industry.7,8 Compared with other metal oxides, the advantages of using perovskite semiconductor BaTiO3 sensors are high chemical stability, low cost, and simple structure.9 Although barium titanate has been used to detect carbon dioxide, carbon monoxide, ammonia, hydrogen sulfide, and other gases, its low sensitivity and slow response/recovery speed have severely hindered its commercial application.10,11 The performance of metal in sensing oxide nanostructures can be improved by changing the morphology of the material, doping with precious metals, or forming heterostructures through different preparation methods.12 Among them, the combination of heterostructure materials is considered a very effective strategy. To the best of our knowledge, there is no documentation on the BaTiO3/MXene heterostructure. This lack of existing information underscores its novelty and uniqueness, as it stands as an unexplored and uncharted domain in current scientific discourse.

Speaking broadly, the methodologies utilized for the preparation of BaTiO3 are primarily centered around spray pyrolysis, the sol–gel approach, and the hydrothermal process. Compared with other preparation processes, the hydrothermal method possesses the benefits of low equipment cost, low process temperature, low cost, and easy particle size control.13 Another advantage of preparing BaTiO3 by hydrothermal synthesis is that it can reduce pollution, protect the environment, and can more easily control the morphology and size distribution of synthetic materials.14 Research investigations have indicated that inducing diverse morphologies within a given material is crucial for augmenting its gas-sensing capabilities. This empirical evidence suggests that the creation of varied structural forms of the identical substance plays a pivotal role in elevating its sensitivity to gases.

MXenes represent a novel class of two-dimensional materials encompassing transition metal carbides, nitrides, and carbonitrides, holding expansive prospects for various applications. Among them, Ti3C2Tx15,16 is frequently encountered. MXenes are usually prepared by etching layered ternary carbides or nitrides (MAX phase) and selectively etching “A” elements. The general formula is Mn+1XnTx.17 For example, Ti3C2TX is obtained by etching Ti3AlC2 with HF aqueous solution at room temperature and selectively removing Al.18,19 In the course of the etching procedure, hydrophilic Ti3C2Tx nanosheets are produced, with Tx denoting diverse surface functional groups, including -OH, -O, and -F.20,21,22 These active ends provide MXenes with abundant gas adsorption functional sites for the adsorption of analyte species.23,24 In addition, due to its large specific surface area, excellent surface tunability, ultra-high metal conductivity, very narrow band gap, and fast electron transfer ability, it has proven to be a good gas sensing material.25 Despite its many advantages, the sensitivity, selectivity and response/recovery time of MXenes still need to be improved. The combination of MXenes with metal oxides is proved to be an effective route to enhance the sensitivity of MXenes-based gas sensors.26,27,28

In order to develop a high-performance ammonia gas sensor, BaTiO3/Ti3C2Tx composites were synthesized by anchoring BaTiO3 nanospheres on Ti3C2Tx nanosheets. The sensor comprising the BaTiO3/MXene composite exhibits a remarkable degree of sensitivity, noteworthy consistency, robust stability, and elevated selectivity when operated at room temperature. This composite sensor stands out for its ability to consistently and accurately detect changes in the environment, showing a high level of responsiveness that attests to its effectiveness in real-world applications. The excellent properties of the BaTiO3/MXene composites demonstrate great potential of the BaTiO3/MXene composite as building blocks for constructing NH3 gas sensors in pollution gas detection.

Experimental

Synthesis of Delaminated Ti3C2Tx

The following are methods for preparing MXene and calculating the concentration of layered MXene dispersions. Layered Ti3C2Tx MXene with good dispersibility in water was synthesized by etching Ti3AlC2 with an HCl/LiF mixed solution. Then, 1 g LiF was added to 20 mL of HCl solution with a concentration of 6 mol/L and stirred until completely dissolved. Next, 1 g Ti3AlC2 was slowly added to the above mixed acid solution and allowed to stand at 35 °C for 24 h. The reaction solution was subjected to consecutive rinses using deionized water and centrifugation procedures, continuing until the pH of the supernatant exceeded 6, resulting in the acquisition of a dispersion solution containing MXene. A small amount of MXene dispersion was vacuum-filtered, and the mass of the filtered MXene was measured to determine the concentration of the layered MXene dispersion.

Synthesis of Delaminated BaTiO3

The following is the procedure for the preparation of BaTiO3 powder. Ba(OH)2·8H2O was used as the barium precursor, and TiO2 was used as the Ti precursor. First, around 1.577 g (5 mmol) of barium hydroxide octahydrate and 0.4 g (5 mmol) of titanium dioxide were introduced to a beaker with 30 mL of deionized water. To ensure the successful synthesis of BaTiO3, the ratio of barium to titanium needs to be maintained (Ba:Ti = 1). A certain amount of NaOH was added to the above solution to make the pH of the solution between 9 and 10, which ensures that the alkalinity of the aqueous solution is sufficient to precipitate BaTiO3. Following this, the blend was moved to a 100-mL stainless steel autoclave coated with polytetrafluoroethylene and subjected to 100 °C heat for 48 h. Then, the obtained precipitate was washed alternately with deionized water and ethanol and centrifuged at 5000 rpm for 10 min to obtain a white precipitate. To eliminate any BaCO3 impurities, it underwent treatment with 0.1 M formic acid at 30 °C for 2–3 h, followed by rinsing with deionized water 5–6 times. After that, it was dried at 75 °C for 12 h to obtain a white powder of BaTiO3.

Production and Measurement of Gas Sensors

The structural characteristics of both the MXene and BaTiO3/MXene nanocomposites were meticulously investigated using a scanning electron microscope (SEM; S-4800; Hitachi). In this examination, the morphology and microstructure of the materials were scrutinized with high precision and detail. The surface features and internal arrangements of the MXene and BaTiO3/MXene nanocomposites were subjected to in-depth analysis through the utilization of the SEM, offering a comprehensive understanding of their physical attributes. X-ray diffraction (XRD; D/Max 2500 PC; Rigaku) was used to analyze the phase composition of the sample. The elemental composition of the sample was verified through x-ray photoelectron spectroscopy (XPS; K-α; Thermo Scientific), following the observation by high-resolution transmission electron microscopy (HRTEM; Tecnai F30; Philips). The MXene and BaTiO3 were mixed to obtain the BaTiO3/MXene composite. A certain amount of BaTiO3 and MXenes were mixed and ground into powders, then poured into 20 mL of deionized water, treated with ultrasonics for 0.5 h and magnetic stirring for 2 h to form a BaTiO3/MXene hybrid suspension. Finally, the BaTiO3/MXene composite was obtained by drying the suspension under vacuum at 60 °C for 6 h. The prepared sample was mixed with ethanol to form a paste on the interdigital electrode and dried at 60 °C. Figure 1 illustrates the sensor’s structural diagram with a diagram depicting its gas performance test.

Fig. 1
figure 1

Process flow chart of the preparation of BaTiO3/MXene composite nanomaterials.

A computer-controlled Agilent 34970A measured the resistance response of the prepared BaTiO3/MXene nanocomposite sensor. Varied concentrations of NH3 gas were achieved by evaporating distinct volumes of NH3 aqueous solution, followed by the adsorption and removal of water vapor using activated carbon. In addition, air was used as the background gas (33% relative humidity; RH) in the experimental tests. The sensor’s responsiveness, denoted as the sensor response (S), was determined by computing the ratio of the sensor resistance when exposed to NH3 gas (Ra) to its resistance in ambient air (Rg). This quantitative metric encapsulates the sensor’s ability to discern and react to the presence of NH3, providing a reliable gauge of its detection efficacy. Providing further insight into the dynamic performance of the sensor, it is crucial to consider the response and recovery times as pivotal parameters. The response time signifies the duration required for the sensor to register a substantial alteration, reaching a point where 90% of the overall resistance change has been attained. Conversely, the recovery time delineates the timeframe essential for the sensor to revert to its baseline resistance level following exposure to NH3.

Results and Discussion

Characterization of Sensing Materials

The XRD patterns of the MXene, BaTiO3 , and BaTiO3/MXene samples are shown in Fig. 2. The characteristic peaks located at the 2θ values of 22.16°, 31.62°, 38.94°, 45.36°, 51.06°, 56.26°, 65.86°, 75.02°, and 79.32° can be assigned to the (100), (110), (111), (200), (210), (211), (220), (300), (310), and (311) crystal planes, could be well indexed to the tetragonal structure of BaTiO3 (JCPDS Card.#31-0174).29,30 The diffraction peaks observed at 2θ values of 5.97°, 19.11°, 28.47°, and 60.27° in pure MXene correspond to the (002), (004), (006), and (110) crystal planes of MXene.31 In the XRD analysis of the MXene/BaTiO3 composite, the (002) peak of MXene exhibited a subtle shift towards the lower-angle region. This can be ascribed to the intercalation of Ba and Ti atoms within the interlayer spaces of MXene. No obvious other impurity peaks were observed, indicating that the purity of the prepared sample was excellent.

Fig. 2
figure 2

XRD patterns of MXene, BaTiO3 , and BaTiO3/MXene samples.

The structural characteristics and micro-architecture of the materials studied by SEM are shown in Fig. 3, where MXene presents an accordion-like layered structure. The BaTiO3 nanospheres are uniformly distributed in the composite, and also randomly embedded between the MXene layers, which shows a good combination of MXene/BaTiO3 nanocomposites.

Fig. 3
figure 3

(a) XRD patterns of BaTiO3, MXene, and BaTiO3/MXene samples. SEM images of (b) BaTiO3 NFs, (c) MXene, and (d) BaTiO3/MXene nanocomposite.

Transmission electron microscopy (TEM) has been used to further study the morphology and microstructure of the samples, which are more conducive to analyzing them in principle as being high-performance sensors. From Fig. 4a and b, we can see the coexistence and combination of BaTiO3 and MXene. Figure 4c and d shows the HRTEM images of the BaTiO3/MXene sample, in which obvious boundaries between the two and clear lattice fringes can be seen., while the crystal plane spacing of BaTiO3 (1 0 1) and MXene (0 0 6) are 0.28 nm and 0.25 nm, respectively.32

Fig. 4
figure 4

TEM micrographs of (a) BaTiO3, (b) MXene, and (c) BaTiO3/MXene. (d) HRTEM micrograph of the BaTiO3/MXene composite.

The XPS spectra of the BaTiO3/MXene composite Ba 3d, C 1s, Ti 2p, and O 1s peaks can be observed in Fig. 5, which indicates that the composites are mainly composed of four elements, Ba, C, Ti, and O. As shown in Fig. 5a, the fitted peaks at 794.7 and 793.3 eV belong to Ba 3d5/2, while the fitted peaks at 779.4 and 777.6 eV correspond to Ba 3d3/2.33 The four main peaks at 287.5, 285.3, 284.2, and 280.3 eV of the XPS spectrum of C 1s correspond to C=O, C-O, C-C, and C-Ti, respectively.34 In addition, the XPS spectrum of Ti 2p, shown in Fig. 5c, can also be fitted to four main peaks. The binding energies at 463.4 and 458.2 eV may correspond to Ti 2p½ and Ti 2p3/2.35 The other two peaks at 457.5 and 454.1 eV correspond to Ti-X(Ti+) and Ti-C(Ti2+). In Fig. 5d, the three characteristic peaks located at 528.4, 530.9, and 532.3 eV correspond to the Ti-O, C-Ti-(OH)x, and HO-Ti bonds, respectively.36

Fig. 5
figure 5

Core-level XPS spectra of BaTiO3/MXene composite: (a) Ba 3d, (b) C 1s, (c) Ti 2p, and (d) O 1s.

NH3 sensing properties

Figure 6a shows the responses of a pristine BaTiO3 sensor, a pristine MXene sensor, and a BaTiO3/MXene composite nanomaterial sensor to different concentrations of NH3 (25 °C, 33%RH). In the 0.5–40 ppm NH3 gas environment, the response of the composite sensor is 2.01, 5.33, 14.44, 23.97, 36.91, 48.69, and 61.66, respectively. Compared with the pure BaTiO3 sensor (21.12@20 ppm NH3) and MXene sensor (10.43@20 ppm NH3), the response of the BaTiO3/MXene composite sensor is increased by about 1.7 times and 3.5 times. This is due to the synergy between the MXene nanosheets and the BaTiO3 nanospheres, which has the potential to significantly enhance the sensing capabilities for NH3. Figure 6b shows the fitting curve between the responses of pure MXene and BaTiO3/MXene composite sensors and the respective NH3 gas concentration. The fitting functions are Y = 1.03525X + 1.8036, Y = 0.55343X + 0.77445, and Y = 1.45588X + 5.42384, and the correlation coefficients (R2) are 0.98652, 0.985, and 0.98409, respectively. The detection limit (LOD) of the sensor is the lowest gas concentration that the sensor can distinguish, defined as LOD = 3 \(\sigma\)/S, where \(\sigma\) is the root-mean-square deviation of noise, and S is the slope of the linear fit curve. According to the measured experimental data, the theoretical LOD value of the BaTiO3/MXene composite sensor for NH3 is calculated to be 5.41 ppm. In Figure 6c, the response and recovery characteristics of the three sensors to 20 ppm NH3 are depicted. The response and recovery time of the BaTiO3 sensor, MXene sensor, and BaTiO3/MXene sensor are 27 s/112 s, 55 s/40 s and 40 s/22 s, respectively. The response/recovery times of the BaTiO3/MXene composite sensor are evidently superior to those of the single BaTiO3 or MXene sensors. Obviously, the composite sensor exhibits a quicker detection speed compared to the pristine-material sensor. The BaTiO3 nanospheres within the composite adhere to the accordion-like structure of the MXene, creating an increased number of active adsorption sites, which enhances the absorption and diffusion of NH3 gas molecules, consequently accelerating the sensor’s response and recovery rates.

Fig. 6
figure 6

(a) Responses of BaTiO3, MXene, and BaTiO3/MXene sensors to 1–50 ppm NH3 gas. (b) Fitting curves of the responses for pristine BaTiO3, MXene, and BaTiO3/MXene sensors to various concentrations of NH3 gas. (c) Response–recovery curves of pristine BaTiO3, MXene, and BaTiO3/MXene composite sensors for 20 ppm NH3 gas.

Figure 7a illustrates the consistent and reproducible nature of the BaTiO3/MXene nanocomposite sensor’s responses to NH3 concentrations of 5 ppm, 10 ppm, and 40 ppm across three consecutive cycles at the same concentration. Figure 7b shows the BaTiO3/MXene composite sensor at 20 ppm NH3, ethanol (C2H6O), carbon monoxide (CO), sulfur dioxide (SO2), hydrogen sulfide (H2S) and benzene (C6H6). The BaTiO3/MXene nanocomposite sensor was found to be significantly more selective for NH3 gas than for other types of gases. The results pertaining to the long-term stability measurement of the BaTiO3/MXene nanocomposite sensor after exposure to 5 ppm, 20 ppm, and 40 ppm H3S are shown in Fig. 7c. The measurement was carried out within a month with an interval of 5 days. The outcomes indicate that the composite sensor exhibits outstanding consistency and enduring stability over time.

Fig. 7
figure 7

(a) Repeatability test of BaTiO3/MXene composite sensor for 5, 10, and 30 ppm concentrations of NH3 gas. (b) Selectivity of BaTiO3/MXene composite sensor for different types of gases with a fixed concentration of 20 ppm. (c) Stability of BaTiO3/MXene composite sensor to 20 ppm NH3 in 30 days. (d) Moisture resistance test of BaTiO3/MXene composite sensor.

Humidity is an important factor affecting the performance of gas sensors. Figure 7d illustrates the difference in the responses of the BaTiO3/MXene-based sensors to 20 ppm NH3 under various RH. Water droplets evaporate on the heated evaporator within the test chamber, so a hygrometer was employed to continuously monitor the real-time RH within the chamber. Upon reaching the desired humidity level, the evaporation process was halted, followed by the introduction of NH3 gas for response testing. The NH3 sensing response was improved in the humidity range of 11–75%, and slightly decreased at 97% RH, indicating a similar phenomenon to the previously reported phenomenon. In general, water molecules play a role in enhancing the adsorption of water-soluble NH3 on sensitive materials, and the OH- generated during the water adsorption process has the capacity to capture protons within a humid environment, thereby enhancing the sensor response. In addition, when there are a large number of water molecules on the sensitive material, the active adsorption sites will experience partial occupation, resulting in a decrease in the sensor response.

NH3 Sensing Mechanism

The changes in resistance observed in the sensing material can be attributed to two distinct mechanisms: firstly, the chemical adsorption of oxygen, and, secondly, the direct transfer of charges. These alterations in resistance are a consequence of the dynamic interplay between these two fundamental processes. On the one hand, the material undergoes chemical adsorption as oxygen molecules adhere to its surface, influencing the overall conductivity. On the other hand, the direct transfer of charges involves the movement of electrical charges within the material itself, further contributing to the observed variations in resistance. This nuanced modulation in resistance is intricately linked to the dual effects of chemical adsorption and charge transfer, underscoring the complex nature of the sensing material’s response to external stimuli.37,38 Figure 8a shows a schematic of the gas sensing mechanism; at ambient temperature, oxygen molecules adsorb to the surface of the BaTiO3/MXene composite to form oxygen anions [O2(ads)] by reacting with electrons in the composite’s conduction band, as shown in Eq. 1. As shown in Fig. 8b, the presence of oxygen molecules results in the creation of an electron-depleted layer, causing an increase in resistance. The composite sensor is placed in NH3, and the adsorbed NH3 reacts with O2(ads) to generate electrons and release them back to the composite conduction band, as shown in Eq. (2). The aforementioned reaction leads to a decrease in the electron depletion layer’s width, consequently reducing the sensor’s resistance. When the sensor was placed back in the air environment, after displacement of absorbed NH3 by air, the surface of BaTiO3/MXene was adsorbed by O2(ads) to regenerate electrons and oxygen ions, and the resistance of the sensor also returned to its initial value. After measurement, the base resistance of MXene, BaTiO3 , and BaTiO3/MXene under air environment (25 °C, 33%RH) was 22.20 Ω, 62.08 MΩ, and 5.10 kΩ, respectively. Obviously, the resistance of the BaTiO3 material after the creation of the composite with MXene is significantly reduced, which may be because the addition of MXene reduces the accumulation of BaTiO3 NPs. The work function of MXene was 4.7 eV, and the band width of BaTiO3 was 3.3 eV.36,39 MXene has similar electrical conductivity to metals, and electrons will be transferred from BaTiO3 to the MXene when the MXene comes into contact with BaTiO3, as shown in Fig. 8c and d.

$${\text{O}}_{{2}} \left( {{\text{gas}}} \right) + {\text{e}}^{ - } \to {\text{O}}_{{2}}^{ - } \left( {{\text{ads}}} \right)$$
(1)
$${\text{4NH}}_{{3}} \left( {{\text{gas}}} \right) + {\text{5O}}_{{2}}^{ - } \left( {{\text{ads}}} \right) \to {\text{4NO}}\left( {{\text{gas}}} \right) + {\text{6H}}_{{2}} {\text{O}} + {\text{5e}}^{ - }$$
(2)
Fig. 8
figure 8

Schematic of the sensing mechanism of the BaTiO3/MXene composite sensor in air and ammonia gas.

The gas sensing mechanism of the BaTiO3/MXene composite involves a complex interplay of processes. At its core is a redox reaction, where the composite undergoes chemical transformations in response to the analyte. Concurrently, there is a dynamic exchange of charges between the BaTiO3/MXene composite and the analyte, influencing the material’s conductivity. Adding to this, a synergistic effect enhances the gas sensing behavior, showing an amplified response arising from the collaborative action of BaTiO3 and MXene components within the composite. In summary, the gas-sensing mechanism is intricately woven with redox reactions, charge transfer, and cooperative effects, highlighting the sophisticated nature of the BaTiO3/MXene composite in detecting analytes.40,41,42,43

In the experimental setup, NH3, serving as the electron donor gas, was utilized, and noteworthy p-type sensing behavior towards this reducing gas was observed in the Ti3C2Tx film.44 The manifestation of p-type semiconducting characteristics in Ti3C2Tx MXenes can be attributed to the influence of adsorbed molecules, such as water and oxygen. These molecules are introduced during the aluminum etching procedure and play a role as p-type dopants for Ti3C2Tx.45 This p-type sensing behavior exhibited by the Ti3C2Tx film in response to the NH3 gas is intricately linked to the presence of adsorbed molecules, showing a dynamic interaction between the material and its environment during the aluminum etching process. The introduced water and oxygen molecules act as effective p-type dopants, contributing to the observed p-type semiconducting behavior in Ti3C2Tx MXenes during the gas-sensing experiment. The resistance of the BaTiO3/MXene composite sensor decreases in a certain concentration of the NH3, showing a similar p-type sensing behavior. This is similar to pure MXene, indicating that MXene significantly contributes to the conduction of carriers in gas sensing.46 Moreover, the metallic conductive nature and elevated mobility of charge carriers in MXene facilitate prompt charge transfer without necessitating high-temperature activation. This characteristic is also evident in the benefit of gas sensitivity at ambient temperatures in the context of this study.47

In this study, the NH3 sensitivity of MXene nanosheets was significantly improved by compounding BaTiO3 nanospheres. The improved capability in detecting NH3 can be attributed to the expanded specific surface area of the composite, as well as the augmentation of active sites offered by BaTiO3 and the electronic shift occurring at the interface of the heterojunction contributes to this phenomenon.48 First, the integration of BaTiO3 nanospheres onto MXene nanosheets was executed, fostering an environment conducive to the permeation and scattering of gas molecules. This synergistic combination not only streamlines the entry and distribution of gas molecules but also enhances the material’s receptivity, thereby augmenting its responsiveness. The incorporation of BaTiO3 nanospheres onto the MXene nanosheets creates a symbiotic relationship that optimizes the penetration and dispersion of gas molecules, ultimately leading to an amplification in the material’s sensitivity and capacity to respond effectively to external stimuli. This strategic union of BaTiO3 nanospheres with MXene nanosheets serves as a catalyst for elevating the overall performance of the composite, accentuating its ability to detect and react to gas molecules with heightened efficiency and precision..49 Second, the addition of BaTiO3 results in an increased number of active sites on the composite surface, facilitating the adsorption of NH3 molecules. This addition enhances and diversifies the available sites for NH3 adsorption on the composite material. The integration of BaTiO3 leads to a greater density of sites capable of attracting and binding with NH3 molecules, promoting a more comprehensive and efficient adsorption process. This enrichment of active sites through the inclusion of BaTiO3 contributes to an enhanced ability to attract and retain NH3 molecules, solidifying the composite’s efficacy in NH3 detection through an expanded and refined surface interaction. In addition, when NH3 molecules are adsorbed onto the BaTiO3/MXene surface by physical adsorption, a direct exchange of charges occurs between NH3 molecules and the BaTiO3/MXene surface. Surface electrons engage with the NH3 substance, leading to a rise in the quantity of conducting entities. The large number of charge carriers leads to an increase in the electrical conductivity of the composite.50 Therefore, the BaTiO3/MXene composite exhibits better sensing performance.

The remarkable selectivity exhibited by the composite sensor towards NH3 emanates from its superior capability to adsorb energy in comparison to alternative polar molecules, including methane, CO, carbon dioxide, and nitrogen dioxide. This heightened affinity for absorbing energy, particularly pronounced in the case of NH3, is attributed to the substantial absorption energy associated with this gas. The functional groups present on the surface of Ti3C2Tx play a pivotal role in this phenomenon, as they readily facilitate the absorption of NH3 molecules. This interaction leads to a substantial increase in the electrical resistance of the composite sensor, underscoring the specificity of its response to NH3. The heightened absorption energy of NH3, coupled with the selective affinity of the Ti3C2Tx surface functional groups, collectively contribute to the exceptional selectivity observed in the composite sensor’s response to NH3, thereby distinguishing it from other tested polar molecules.51,52

Conclusions

NH3 sensors based on BaTiO3/MXene sensitive films were prepared by etching and a hydrothermal method. The successful preparation of BaTiO3 and MXene was confirmed by XRD analysis. SEM and TEM characterization results demonstrated uniform dispersion of BaTiO3 nanoparticles and MXene nanosheets. Additionally, XPS analysis confirmed that the BaTiO3/MXene composite film was primarily composed of Ba, C, Ti, and O elements. The experimental results of the BaTiO3/MXene gas sensor show that the prepared BaTiO3/MXene composite thin film sensor has high sensitivity to NH3, and also has effective selectivity, repeatability, and long-term stability. Finally, the sensing mechanism of BaTiO3/MXene composite films for NH3 is explained in terms of the interaction between the surface oxygen and the target gas, and the increase of the specific surface area and active sites of the composites. This study validates the promising prospects in the advancement of innovative responsive materials, specifically the BaTiO3/MXene composite, for heightened capabilities in detecting NH3. The research substantiates the potential of these novel substances to evolve and excel in the domain of advanced NH3 detection.