1 Introduction

Extensive attentions have been paid to the development of wearable gas sensor for volatile organic compounds (VOCs) at early stage VOCs above acceptable levels are harmful to human health and the exhaled breath and skin gases of patients with certain diseases contain high concentrations of certain VOCs, e.g. the concentration of acetone in the exhaled breath of diabetics is about 4 times higher than that of healthy individuals [1, 2].

Physical–chemical performance of materials greatly changed with their phase composition, particle size, microstructure, surface chemical status etc., leading to a variety of applications [3,4,5]. Metal oxide semiconductors (MOS) have been applied to gas sensors [6]. For example, in n-type semiconductors, in which free electrons are carriers, the electrical resistance decreases with an electron-donating gas such as acetone adsorbed on the surface, while it increases with electron-withdrawing gases such as NO2 adsorbed.

The performance of gas sensors is defined by several factors: temperature and atmosphere, response sensitivity, selectivity, detection limit, and response-recovery time. The MOSs gas sensors have issues in terms of operating temperature and atmosphere and gas selectivity. In the case of a normal metal oxide semiconductor gas sensing system, the operation usually requires around 300 °C and the response decreases with humidity [7]. Recently, MXene, which is expressed as Mn+1X nTx (n = 1–4), where M is early transition metal, X is the C/N group element, T is the functional group such as –OH, –F, has been found to be promising materials to work as a gas sensor satisfied with the required performances. The MXene exhibits metal/semiconductor-like behavior, with a significant change in band gap depending on the surface functional group (termination) [8], which is obtained by etching the A site of the MAX phase, which is expressed as Mn+1AX n (n = 1–4), where A is the main III/IV group element. The diversity of MAX phases can design the resulting MXene with a variety of compositions and structures such as (TixNb1-x)2CTx [9], Ti2NTx [10], Ti3C2Tx [11], Ti4N3Tx [12], Mo1.33CTx [13]. Numerous theoretical calculations and experiments have indicated that the MXene exhibit excellent physical and chemical properties, leading to its application to various fields: catalytic materials [14], energy storage materials [15] and gas sensor [16].

The MXene gas sensors outperforms conventional MOS gas sensors in terms of room temperature operation and selectivity [17, 18], while their electrical resistance variation does not correlate with electron-donating or electron-withdrawing gases [19,20,21]. The electrical resistance of MXene varies both positively and negatively depending on the M site element [22], surface termination [23], and thickness of film [20]. Despite these interesting gas sensing behavior, MXenes gas sensors are mostly utilized as composites [24, 25], and few studies have focused on the basic gas sensor behavior of MXene. Current experimental reports of MXene gas sensors are limited to a few types, such as Ti3C2Tx [21, 23, 26, 27], V4C3Tx [28], V2CTx [22, 29], Mo2CTx [20, 30]. In addition, the detailed mechanism on the MXenes gas sensing is still ambiguous due to their insufficient fundamental data. Therefore, the research should focus on the analysis of the roles of elements, surface termination and interlayer distances of the MXene to elucidate the gas sensing mechanism.

The surface termination and interlayer distances are mainly determined by etching methods. Since HF is not enough strong to break the M-A bonds, it may be difficult to obtain MXene from MAX phase with strong M-A by etching with HF [11]. Although HF has been commonly used as etchant, HF itself is very dangerous and the HF etching lacks variation in surface termination. In recent years, various etching techniques have been developed by use of in-situ HF generation [31], electrochemical etching [32], molten salts [33], alkalis [34] and deep eutectic solvents [35]. The in-situ HF generation method is generally accepted as relatively simple and safe, with a wide variety of surface functional group variations which could contribute to MXene diversity. In this method, HF is produced in-situ by mixing, dissolving, and reacting HCl with fluorides such as NaF, KF, LiF and NH4F. The hydrothermal-assisted etching method is safe for exposure of HF thanks to its sealed environment and reduced etching time significantly because of increased reaction rate and solubility of reagents, e.g. LiF which is low solubility at room temperature [36,37,38].

A M2CTx is expected to have a larger specific surface area than M3C2Tx or M4C3Tx due to its fewer atomic layers [39]. The Nb2CTx should be a good candidate for the high-performance wearable gas sensors operated at room temperature because it is biocompatible [40, 41]. Nb2CTx has potential as a gas sensor, however the accumulation of experimental studies is lacking. In addition, in the development of previous MXene gas sensors, exfoliation was necessary during the synthesis process to obtain a gas response [27].

In this study, we investigated the gas response of unexfoliated multilayer Nb2CTx as a gas sensor by using hydrothermal-assisted etching to achieve a wide interlayer distance. Nb2AlC was hydrothermally etched by LiF, and NH4F to obtain the Nb2CTx, which were characterized in terms of structure and morphology to compare with those prepared by HF etching. Gas sensor properties of Nb2CTx synthesized with LiF were also investigated for 6 gases.

2 Experimental procedures

2.1 Materials

Nb2CTx MXenes were prepared by etching off Al from Nb2AlC. The Nb2AlC (98%, 400 mesh) was purchased from Jilin 11 Technology Co., Ltd, China). The Nb2AlC powders were then etched with 3 different fluorine solutions such as NH4F + HCl (ammonium fluoride with hydrochloric acid), LiF + HCl (lithium fluoride with hydrochloric acid), and HF (hydrofluoric acid). The NH4F + HCl and LiF + HCl solutions consisted of 30 mL H2O, 10 mL HCl (35–37 wt.%, Wako Pure Chemical Industries, Ltd., Japan), and 2 g NH4F (≥ 97. wt.%, Kanto Chemical Co., INC., Japan) or 3 g LiF (≥ 99.0 wt%, Wako Pure Chemical Industries, Ltd., Japan). Then 2 g Nb2AlC powders were added into the solutions, sealed in Teflon-lined stainless autoclave, and kept in an rotary oven at 180 °C for 24 h. The HF etching solution is 30 mL HF (46–48 wt.%, Wako Pure Chemical Industries, Ltd., Japan). 2 g Nb2AlC was slowly added to the HF etching solution and kept at 35 °C for 72 h. The etched mixture was then washed with 6 M HCl and deionised water and centrifuged several times until the pH value ≥ 6. Finally, the mixture was washed with ethanol and the precipitate was vacuum-dried overnight at 60 °C to obtain multilayer Nb2CTx.

The samples made with LiF + HCl, NH4F + HCl and HF were named LiF-Nb2CTx, NH4F-Nb2CTx and HF-Nb2CTx respectively.

2.2 Characterization

The compositions of samples were characterized by X-ray diffractometer (XRD, Bruker D2 Phaser, USA) with Cu Kα radiation, λ = 0.15418 nm. The morphology and microstructure were investigated using a field emission scanning electron microscope (FE-SEM, JSM-7800F, JEOL Ltd., Japan) equipped with an energy-dispersive spectrometer (EDS). Crystal phase defined by using high-resolution transmission electron microscopy (HRTEM, EM-002B, TOPCON CORPORATION, Japan). X-ray photoelectron spectroscopy (XPS, PHI5600, ULVAC-PHI Inc., Japan) measurements were performed using a focused monochromate Al Kα monochromatic (200 W) at 20 eV X-ray source. Samples are mounted with double-sided tape and binding energies are based on the C 1 s peak at 284.8 eV on an irregular carbon surface to correct for shifts due to charge effects.

2.3 Fabrication of gas-sensing device and analysis

10 mg of the MXene sample was added into 200 µL ethanol, and then dispersed through the ultrasonic wave. The comb-shaped electrode sheet was placed on a heated magnetic stirrer with the temperature set to 70 ℃, and 15 μl of the slurry was dropped onto the comb-shaped electrode using a pipette. Drop 15 μl at a time until all the slurry is transferred to the electrode, and after the slurry dropped electrode was dried overnight in a 60 °C drying oven, it was fixed in the chamber for the gas sensing instrument.

The evaluation of gas sensing properties of the samples was collected using a data acquisition unit (Agilent 34970A) with the two points probe method. The target gas analytes, including H2, H2S, NH3, ethanol, toluene and acetone with a concentration of 0.1–50 ppm, were carried out to a sensor device to measure sensor responsivity and selectivity. The target gas in each concentration in the N2 base gas is mixed with air gas and flowed at a total flow rate of 200 ml/min. The flow rate of the target gas in 200 ml/min corresponds to the concentration. The injection time of analytes was 10 min, with intervals of 10 min to reintroduce the air atmosphere. The gas sensing response ΔR was defined as the ratio of the sensor electrical resistance in air, immediately before the flow of the target gas at each concentration (Ra) to the sensor electrical resistance in the analyzed gas (Rg) as follow;

$${\Delta }R = \frac{{R_{g} - R_{a} }}{{R_{a} }}\, \times \,100\%$$
(1)

The gas sensing response repeatability Rr was defined as follow;

$$R_{{\text{r}}} = \frac{{{\Delta }R_{{\text{n}}} - {\Delta }R_{{\text{i}}} }}{{{\Delta }R_{{\text{i}}} }}\, \times \,100\%$$
(2)

where the initial electrical resistance is ΔRi, and the electrical resistance at cycle is ΔRn. The recovery time (trec) of the sensor has been defined as the time needed to the sensor to recover 90% of its baseline electrical resistance.

3 Results and discussions

3.1 Synthesis of Nb 2 CT x

From the XRD patterns of Nb2AlC, LiF–Nb2CTx, NH4F–Nb2CTx, and HF-Nb2CTx (Fig. 1), most of peaks for the Nb2AlC were disappeared or significantly weakened after the etching process. In addition, the peaks characteristic of 2-dimensional MXenes are highlighted at low angle (< 10°), indicating successful synthesis of Nb2CTx by the following reactions [37, 42]:

$${\text{LiF }} + {\text{ HCl }} \to {\text{ HF }} + {\text{ LiCl}},$$
(3)
$${\text{NH}}_{{4}} {\text{F }} + {\text{ H}}_{{2}} {\text{O }} \to {\text{ HF }} + {\text{ NH}}_{{3}} \cdot{\text{H}}_{{2}} {\text{O}},$$
(4)
$${\text{Nb}}_{{2}} {\text{AlC}}_{{}} + {\text{ 3 HF }} \to {\text{ AlF}}_{{3}} + { 3}/{\text{2 H}}_{{2}} + {\text{ Nb}}_{{2}} {\text{C}},$$
(5)
$${\text{Nb}}_{{2}} {\text{C}}\, + {\text{ 2 H}}_{{2}} {\text{O }} \to {\text{ Nb}}_{{2}} {\text{C}}\left( {{\text{OH}}} \right)_{{2}} + {\text{ H}}_{{2}} ,$$
(6)
$${\text{Nb}}_{{2}} {\text{C }} + {\text{ 2 HF }} \to {\text{ Nb}}_{{2}} {\text{CF}}_{{2}} + {\text{ H}}_{{2}}$$
(7)
Fig. 1
figure 1

XRD patterns of as-received Nb2AlC and prepared Nb2CTx in the range of (a) 5–60° and (b) 6–14°

The 2θ values at the low angle (002) peak of the samples etched with LiF, NH4F, and HF were 7.05°, 7.72°, and 8.61°, respectively. The (002) peak shifts to lower angle and tends to broaden, corresponding to an increase of d-spacing and a decline of the thickness of Mxene layer stacks, respectively [43]. Compared to the HF etching for 72 h, hydrothermal-assisted in-situ HF etching could efficiently synthesize MXene with large interlayer space and well delamination even in a short time of 24 h. The peak for LiF-Nb2CTx appeared at the lowest position indicating that it has wider interlayer space than NH4F-Nb2CTx, which linked to the fact that the hydration radius of Li+ is larger than that of NH4+ [44, 45]. The NH4F generally makes a wider interlayer space at room temperature because of low solubility of LiF, while the hydrothermal treatment successively led to the efficient etching even by use of LiCl. AlF3 was identified around 25° as an impurity [36] on NH4F-Nb2CTx. This secondary phase was reported to precipitate depending on the ionic strength in solution [46].

The SEM images of Nb2AlC and Nb2CTx multilayer powder provides the dense layered solid of Nb2AlC and the typical accordion-like structure of Nb2CTx multilayer (Fig. 2). In addition, TEM images of Nb2CTx indicates typical hexagonal structure [47] and interlayer spaces (Fig. S1), as Nb2CTx is the basal plane of Nb2AlC and thus inherits the hexagonal structure and atomic positions.

Fig. 2
figure 2

SEM images of (a) Nb2AlC, (b) HF-Nb2CTx, (c) LiF-Nb2CTx and (d) NH4F- Nb2CTx

EDS analysis was carried out to compare the effects of the etchant on surface conditions and the presence of impurities. The elemental mapping (Fig. 3) and elemental analysis (Table 1) of LiF-Nb2CTx and NH4F-Nb2CTx indicate the concentration of elements on the surface varies greatly depending on the etchant. The concentration of Cl was similar in both compounds, but the ratio of O, Al and F was relatively low in LiF-Nb2CTx. The high concentration of O in NH4F-Nb2CTx could imply the formation of many−O/−OH groups on the surface as a result of hydrolysis based on reaction (6), presence of residual adsorbed H2O, or the presence of Nb-oxide by the oxidizing Nb2CTx at high temperature during synthesis. The use of NH4F can be etched for a shorter time than that of LiF [48] even at relatively low temperatures thanks to its relatively high solubility. The longer exposure to the hydrothermal environment in the etched state may proceed the surface oxidation. The formation of AlF3 as an impurity was found in the high amount of Al and F.

Fig. 3
figure 3

Secondary electron image (SEI) and elemental mapping of (ae) LiF-Nb2CTx and (fj) NH4F- Nb2CTx

Table1 Normalized elemental ratio (at%) in Fig. 3

The XPS analysis of LiF-Nb2CTx gives peaks in the Nb 3 days, C 1 s, and O 1 s regions of Nb2CTx, which were fitted with the corresponding components [39, 49, 50], indicating that the surface of Nb2CTx is occupied by Nb, O, C, and F elements (Fig. 4). The high-resolution Nb 3d spectrum shows the presence of Nb5+ is attributed to the oxidation of Nb to Nb2O5 [51]. The Nb2O5 occurs on the Nb2CTx surface, and Nb2O5 is generated from the slow surface oxidation in air or in a hydrothermal environment. The MXene has extremely low oxidation resistance even at room temperature, thus resulting in this localized oxidation state. Similar surface conditions were observed for Nb2CTx synthesized by hydrothermal-assisted etching [37]. The Gaussian fitting of XPS spectra is assigned to C-O, C-C, and C-Nb for C1s and to Nb-C-(OH)x, Nb-C-Ox and Nb-O for O1s, respectively.

Fig. 4
figure 4

XPS analysis of LiF-Nb2CTx (a) total survey, (b) Nb3d, (c) C1s and (d) O1s spectra

In Nb3d region of XPS spectrum of NH4F-Nb2CTx, the residual adsorbed H2O was detected (Fig. 5). The surface of NH4F-Nb2CTx may be exposed to oxidizing species as H2O [52] for a longer period of time because it starts etching earlier (at lower temperatures) than LiF-Nb2CTx. However, no particle and diffraction peak of Nb2O5 were observed in the SEM images and the XRD pattern of Nb2CTx, respectively, suggesting that Nb2O5 is decorated on the pristine Nb2CTx in the form of ultra-small clusters or ultra-thin films [53]. The results of XPS analysis is good agreement with those of the elemental mapping analysis.

Fig. 5
figure 5

XPS analysis of NH4F-Nb2CTx (a) total survey, (b) Nb3d, (c) C1s and (d) O1s spectra

3.2 Gas sensing performance

Wide interlayer spacing provides contact between the MXene surface and the gas. The single-layer MXene show a sensing performance, while the multi-layer MXene did not show sensing performance [27]. In this study, the gas sensing performance of LiF-Nb2CTx with the widest interlayer was evaluated at room temperature in air in the presence of the target gases (Figs. S2, S3S4).

As shown in Fig. 6a, the electrical resistance increased when H2 gas flowed, and the gas sensing response ΔR was obtained by Eq. (1). The response values after 10 min exposure to the target gases to LiF-Nb2CTx were positive for all gases (Fig. 6b–d) and increases with increasing gas concentration. Blocking carrier transport due to gas adsorption increases the electrical resistance of the Nb2CTx. Among gases investigated in this study, H2 could be detected at the lowest concentration (0.5 ppm). The LiF-Nb2CTx showed highest response to NH3 compared to ethanol, toluene and acetone at the same concentrations exposure (10 ppm) (Fig. 6c). DFT calculation of T3C2Tx implies NH3 is the most favorable adsorbed gas [54]. In Fig. 6d shows the response at 50 ppm. On addition of 50 ppm gases, LiF-Nb2CTx responded to toluene and acetone, while less response to ethanol was observed (Fig. 6d). When the same concentrations of gases were added 4 times, the response with a difference from the initial response is less than 15% was observed except for NH3, indicating is available for a gas sensor with reasonable repeatability (Fig. 6e). Regarding gas sensing, the full and rapid recovery may not be achieved due to the high adsorption energy between MXenes and NH3 generated from chemical adsorption [27, 54]. The recovery time in the case of NH3 was not estimated due to baseline drift probably generated from gas adsorption (Fig. S5).

Fig. 6
figure 6

Gas sensing performance of Nb2CTx: (a) H2 gas sensing performance, the change in gas response with time elapsed during gas flow (0.5 ppm) and after stopping gas flow, (bd) The changes in gas response value after 10 min gas exposure to the specified concentrations, and (e) repeatability of changes in gas sensing response after 10 min gas exposure at the maximum concentration of each gas (Fig. S4)

As for the recovery time is required need for the sensor to recover 90% of the baseline resistance (Fig. 6a). The average recovery times for 4 cycles at the maximum gas concentration used in this study were 21 s, 28 s, 35 s, and 27 s for H2, H2S, toluene, and acetone, respectively. In the case of ethanol, the response did not recover after 10 min. Fast response recovery is physisorption rather than chemisorption, suggesting that electrical conduction was significantly influenced by physisorption. The fast recovery time is sufficient for practical use.

Although the Nb2CTx is reported to exhibit the metallic-like behavior [55], the electrical resistance values obtained in this study was relatively high (Fig. 6(a) and Fig. S2), which is ascribed to the presence of Nb2O5 on the surface, as shown by XPS. In other studies, V2CTx/V2O5 exhibited higher electrical resistance than pristine V2CTx [56] because the presence of oxides could increase electrical resistance. Therefore, the material in this study can be regarded as an Nb2CTx/Nb2O5. The Nb2O5 is an n-type semiconductor [57] with a work function of 4.0 eV [58, 59]. The surface termination controls the work function of MXene. The work function of Nb2CTx, where all surface are covered by -OH group, is 2.5 eV, and increases as the ratio of surface substituted by the other functional groups increases [52, 60]. The presence of in-situ grown Nb2O5 nanoparticles on the Nb2CTx surface allows electrons to move from the conduction band of Nb2CTx to n-type Nb2O5, resulting in the formation of Schottky barriers and depletion layers at their interfaces. The presence of the depletion layer and Schottky barrier prevents charge carrier transfer in Nb2CTx and increases the electrical resistance of the LiF-Nb2CTx itself.

The response types of electrical resistance MXene gas sensors reported in this, and previous studies are summarized in Table S1. Blocking out-of-plane electron transport generated from [56, 61]. In addition, gas adsorption also decreases the number of carriers from gas adsorption and increases the electrical resistance [21]. Thin Mo2CTx devices prepared by spin-coating showed a negative response to the gas, while thicker devices prepared by dropping showed a positive response [20]. Similarly reported for Ti3C2Tx, the electrical resistance of the sensor to gas increases significantly with increasing thickness [27]. Recently, the devices prepared by dropping 0.05 mg Nb2CTx/Nb2O5 onto an electrode showed a negative response [62]. In contrast, the Nb2CTx/Nb2O5 utilized in this study was 10 mg drops, which is inferred to have a thicker powder layer than reported earlier. The results indicating that positive/negative response change of MXene could depend on contact between MXene and electrode. Large amounts of primary charge carriers reduce the ability to modify sensitive conduction pathways due to gas adsorption. The thickness of the MXene on the electrode may influence the positive/negative response, suggesting that a thin layer of MXene on the electrode should be selected to obtain dynamic positive /negative response changes by gas adsorption. The influence of surface termination on gas selectivity needs to be approached from both experimental and theoretical perspectives, with the tuning of Mxene thickness in the experimental condition.

4 Conclusions

The Nb2CTx with a trace amount of Nb2O5 was successfully synthesised using a hydrothermally assisted in-situ HF generation etching method by mixing HCL with LiF and NH4F in a shorter time than conventional HF etching. The combination of hydrothermal treatment and the etchants could control the interlayer, surface termination, oxides and other impurities. The LiF-Nb2CTx with the largest interlayer spacing showed a positive response to the 6 gases used in this study. The showing gas response without an exfoliation process suggests that hydrothermal contributes to a sufficient wide interlayer spacing for gas response. The Nb2CTx exhibited good gas sensing performance with good sensitivity and repeatability and fast recovery time, although the issue still remained for a decreased response at the repeated use for NH3 due to chemical interactions.