Open Access Article
Khiet An Vuonga,
Nguyen Hai Dangb,
Le Phuong Truongc,
Minh-Thuan Phamd,
D. M. Hoatef,
Minh Triet Dang
g,
Guo-Ping Chang-Chiend and
Duy Khanh Nguyen
*hi
aSchool of Natural Sciences, Can Tho University, Can Tho City, Vietnam
bFaculty of Basic Sciences, Nam Can Tho University, Can Tho City, Vietnam
cFaculty of Mechatronics and Electronics, Lac Hong University, Dong Nai Province, Vietnam
dCenter for Environmental Toxin and Emerging-Contaminant Research, Cheng Shiu University, Kaohsiung City, Taiwan
eInstitute of Theoretical and Applied Research, Duy Tan University, Ha Noi 100000, Vietnam
fSchool of Engineering and Technology, Duy Tan University, Da Nang 550000, Vietnam
gSchool of Education, Can Tho University, Can Tho City, Vietnam
hLaboratory for Computational Physics, Institute for Computational Science and Artificial Intelligence, Van Lang University, Ho Chi Minh City, Vietnam. E-mail: khanh.nguyenduy@vlu.edu.vn
iFaculty of Mechanical, Electrical, and Computer Engineering, Van Lang School of Technology, Van Lang University, Ho Chi Minh City, Vietnam
First published on 16th January 2026
First-principles calculations based on density functional theory were conducted to investigate the adsorption of CO, CO2, and NH3 molecules on pristine, N doped, and (N, O) co-doped MoS2 surfaces. Pristine MoS2 systems exhibit weak physisorption with long adsorption distances, insignificant adsorption energies, and negligible charge transfer, resulting in poor gas selectivity and low electronic sensitivity toward all gases. N doping slightly enhances adsorption strength and charge exchange through defect-induced electronic modulation, improving the interaction with NH3 but showing limited response to CO and CO2. In contrast, (N, O) co-doping substantially reinforces molecule–substrate interactions by reducing adsorption distances and increasing charge redistribution across the surface. The (N, O) co-doped MoS2 system exhibits pronounced work-function shifts of −1.07, −0.99, and −0.54 eV for CO, CO2, and NH3, respectively, together with strong energy-resolved conductivity variations, with average conductivity changes of about 30–40% for CO, 35–50% (peaks ≈70%) for CO2, and 45–60% with maximum peaks exceeding 120% for NH3. Compared with previous studies focusing on either N- or O-doped MoS2, our work provides a systematic, side-by-side comparison of pristine, N-doped, and (N, O) co-doped systems and identifies (N, O) co-doping as a more effective route to simultaneously enhance sensitivity and selectivity toward CO and CO2.
Regarding gases adsorbed 2D systems, our previous report has employed first-principles density functional theory (DFT) calculations to investigate the adsorption of NO and CO molecules on silicene monolayer.21 They have reported that up to four NO molecules can be chemically adsorbed onto pristine silicene with adsorption energies ranging from −0.32 to −1.22 eV, leading to rich electronic behaviors such as magnetic semiconducting and half-metallicity. In contrast, CO shows only weak physisorption on pristine silicene, with adsorption energies around −0.26 eV, indicating poor sensitivity. However, aluminum (Al) doping significantly enhances CO adsorption, lowering the adsorption energy to between −0.19 and −0.71 eV per molecule, while also inducing either bandgap opening or metallization depending on the adsorption configuration. These findings highlight pristine and Al-doped silicene monolayers as promising candidates for nitric oxide (NO) and CO gas sensing applications. In addition, the study further emphasizes the crucial role of foreign atom doping in tuning the electronic properties and structural characteristics of 2D materials, as well as modulating the gas adsorption process itself by altering charge transfer, adsorption configurations, and binding strengths. Among the broad family of 2D systems, TMDs have drawn particular interest since they exhibit a wide range of electronic behaviors, from metallic to semiconducting, depending on their composition and structural configuration. In 2023, Maciej J. Szary et al. employed first-principles DFT calculations based on the Perdew–Burke–Ernzerhof (PBE) exchange-correlation functional with Grimme's D3 dispersion correction to investigate the adsorption behavior of nitrogen dioxide (NO2) on molybdenum disulfide (MoS2), molybdenum diselenide (MoSe2), and molybdenum ditelluride (MoTe2) monolayers.36 The work revealed that NO2 interacts most strongly with MoTe2, exhibiting the highest charge transfer, whereas MoSe2 shows intermediate adsorption strength and MoS2 displays the weakest interaction. Despite sharing similar orbital characteristics and outward charge projections, the three materials display distinct adsorption energies and charge transfer values, which are linked to differences in charge accumulation and bonding within the sheets. On average, NO2 adsorption energy on MoTe2 exceeds that of MoS2 by more than 160%, and the charge transfer is over six times higher, indicating superior sensing potential for MoTe2 at the expense of slower recovery. In contrast, MoSe2 offers a balanced performance between sensitivity and recovery. These results highlight that the availability of charge on the TMDs surfaces governs adsorption strength, and the findings provide chemical insight into the enhanced interaction of NO2 with Mo-bearing dichalcogenides.
In particular, MoS2, one of the most representative TMDs, has attracted considerable attention owing to its remarkable physicochemical properties and broad potential in optoelectronic, catalytic, and gas-sensing applications.37–40 Unlike graphene, which lacks an intrinsic bandgap, MoS2 is a semiconductor with an indirect band gap of about 1.2 eV in the bulk and a direct band gap of nearly 1.8 eV in the monolayer.38 This transition in bandgap, combine with its robust stability and distinctive features such as high surface area, tunable band gap, and diverse electronic structures, makes MoS2 a highly promising material for high-performance gas sensing devices.36,39–46 Overall, the pristine MoS2 generally shows weak adsorption toward nonpolar molecules such as CO and CO2, which restricts its sensing efficiency.42 In contrast, NH3 is a highly polar molecule with a lone electron pair on the nitrogen atom (N), allowing stronger interaction with the MoS2 surface through charge donation and acceptance.44 Even so, the adsorption strength remains insufficiently stable and lacks selectivity, which makes reliable NH3 detection with pristine MoS2 still challenging. Previous DFT studies have revealed that MoS2 interacts with various gas molecules through charge-transfer processes,47–50 thereby modifying its electronic and transport properties. In 2021, Francis M. Enujekwu et al.44, conducted a DFT investigation on CO2 adsorption over defective and N-doped MoS2. Their results indicated that a single sulfur (S) vacancy facilitates the dissociative adsorption of CO2 with high selectivity over N2 and water (H2O) molecules, whereas a molybdenum vacancy substituted by three N atoms markedly enhances physisorption, yielding an adsorption energy of −1.818 eV compared with −0.139 eV for pristine MoS2. Furthermore, vibrational frequency calculations corroborated these findings, confirming that N doping combined with defect engineering is an effective approach to improve both the adsorption capacity and selectivity of MoS2 toward CO2.
Although numerous studies in recent years have explored both pristine and heteroatom–doped MoS2, particularly N and oxygen (O) doping, a truly comprehensive and systematic investigation remains lacking.44,51 Most existing works have examined the individual influence of N or O incorporation on the electronic, optical, and gas adsorption properties of MoS2, yet few have provided a consistent comparative analysis elucidating the distinct mechanisms and potential synergy between these dopants. Consequently, a critical knowledge gap persists in understanding how N and O differ in modulating charge transfer, adsorption strength, and selectivity, as well as how their simultaneous incorporation may produce cooperative effects. In this study, (N, O) co-doping emerges as a highly promising strategy, as the coexistence of N and O atoms is expected to generate a synergistic interaction in which N introduces additional active sites and facilitates charge transfer, while O, owing to its higher electronegativity, modifies the local lattice environment and reinforces Mo–O bonding. Such a cooperative effect can effectively optimize sensitivity, selectivity, and stability during gas adsorption, enabling (N, O) co-doped MoS2 to overcome the inherent limitations of pristine and singly doped systems and offering new opportunities for developing high-performance gas sensors.
Since MoS2 is a 2D material, a vacuum layer of approximately 20 Å was introduced along the z-direction to avoid spurious interactions between periodic images. The initial adsorption distance between the gas molecule and the surface was set to 3 Å for all configurations. Specifically, 25 possible adsorption configurations of pristine MoS2 including 9 for CO, 8 for CO2, and 8 for NH3. Under optimal calculations, all the most stable adsorption configurations of the pristine MoS2, (N) doped MoS2, and (N, O) co-doped MoS2 systems are shown in Fig. 1(a–l), respectively.
The structural and electronic characteristics of pristine-MoS2 system were analyzed through adsorption energy (Eads), adsorption distance (d), surface corrugation (h), the longest and shortest Mo–S bond lengths (1st Mo–S and 2nd Mo–S), and the electronic bandgap or metallic state (bandgap/metal), and work function. The optimized geometric parameters are displayed in Table 1. Among these, the adsorption energy Eads indicates the binding strength and stability of the system, whereas a more negative value reflects a more stable adsorption. Thus, negative Eads values indicate exothermic and thermodynamically favorable adsorption, whereas positive Eads values correspond to unstable. The adsorption energy Eads is calculated according to eqn (1):
| Eads = Etotal − Egas − Esub | (1) |
| Configuration | Eads (eV) | D (Å) | h (Å) | 1st Mo–S (Å) | 2nd Mo–S (Å) | Bandgap (eV) per metal | ϕ (eV) | Magnetic moment (µB) |
|---|---|---|---|---|---|---|---|---|
| Pristine-MoS2 | X | X | 1.564 | 2.413 | 2.412 | 1.77 | 5.525 | 0 |
| MoS2–CO–B1 | −0.15 | 3.482 | 1.561 | 2.413 | 2.411 | 1.69 | 5.637 | 0 |
| MoS2–CO2–A1 | −0.15 | 3.417 | 1.566 | 2.415 | 2.412 | 1.69 | 6.584 | 0 |
| MoS2–NH3–A1 | −0.18 | 2.931 | 1.566 | 2.413 | 2.412 | 1.68 | 5.701 | 0 |
| N–MoS2 | X | X | 1.595 | 2.418 | 2.405 | Metal | 5.648 | 0 |
| N–MoS2–CO–D1 | −0.02 | 3.609 | 1.558 | 2.416 | 2.416 | Metal | 5.508 | 0 |
| N–MoS2–CO2–A1 | −0.02 | 3.643 | 1.559 | 2.416 | 2.414 | Metal | 5.615 | 0 |
| N–MoS2–NH3–A1 | −0.05 | 2.823 | 1.670 | 2.417 | 2.403 | Metal | 5.642 | 0 |
| N–O–MoS2 | X | X | 1.605 | 2.449 | 2.393 | Metal | 6.640 | 0 |
| N–O–MoS2–CO–D1 | −0.02 | 2.725 | 1.629 | 2.446 | 2.389 | Metal | 5.570 | 0 |
| N–O–MoS2–CO2–D1 | −0.02 | 2.955 | 1.619 | 2.446 | 2.392 | Metal | 5.650 | 0 |
| N–O–MoS2–NH3–D1 | −0.09 | 1.856 | 1.608 | 2.449 | 2.390 | Metal | 6.104 | 0 |
For the MoS2–CO system, the most stable adsorption site is at the bridge site (B) with the carbon atom pointing downward toward the substrate and slightly tilted. The adsorption energy is −0.15 eV and the adsorption distance increases to 3.482 Å (about 16.7%), demonstrating that the pristine MoS2 and CO interact only weakly, causing the CO molecule to be repelled further away. As a result, the surface corrugation (h) and the longest and shortest Mo–S bond lengths remain almost unchanged with a deviation of only about 0.1%. Essentially, Mo has 6 valence e− with the atomic configuration [Kr]4d55s1, and S also has 6 valence e− with the atomic configuration [Ne]3s23p4. Therefore, the Mo–S bonds are mainly formed through the hybridization of the 4d orbitals of Mo and the 3p orbitals of S, making MoS2 intrinsically saturated in terms of bonding and activation capability. On the other hand, CO, with its strong localization at the C atom and two nonbonding e− concentrated at the C end, is not sufficient to strongly interact with the stable MoS2 system, which possesses a bandgap of about 1.77 eV. As a result, CO adsorption on MoS2 only induces minor perturbations, slightly reducing the bandgap from 1.77 eV to 1.69 eV, while the structure of the system shows no significant changes before and after adsorption. In the case of CO2 adsorption on pristine-MoS2, the most stable configuration is located at the top site (A), where the CO2 molecule lies nearly parallel to the MoS2 surface and the O–C–O bond angle remains almost unchanged, retaining a nearly linear geometry with an angle of approximately 179.5°. The adsorption energy is −0.15 eV, reflecting weak interaction. The adsorption distance is 3.417 Å, indicating that CO2 does not form a strong covalent bond with the surface. The surface corrugation (h) is 1.566 Å, almost identical to that of pristine-MoS2. The Mo–S bond lengths (2.415 and 2.412 Å) differ by less than 0.1%. Similar to the case of CO adsorption, CO2 is inherently a linear, nonpolar molecule with stable sp and sp2 hybridizations, in which two strong σ bonds are formed at both ends of the C–O bonds. This structure makes CO2 highly stable and resistant to rehybridization or the formation of new bonds with the substrate. Combined with the saturated bonding nature of MoS2, the CO2 molecule can hardly interact strongly with MoS2. Therefore, the adsorption process is dominated by weak physical interactions, characterized by small adsorption energy, large adsorption distance, and only minor adjustments in the electronic band structure of the system, as reflected by the negligible reduction of the MoS2 bandgap. In the case of NH3 adsorption on pristine-MoS2, the most stable configuration is obtained at the top (A) site, with one hydrogen atom oriented toward the surface. The molecular dipole aligns so that the N lone pair interacts with the surface molybdenum d orbitals. The calculated adsorption energy is −0.18 eV, which is larger in magnitude than those of CO and CO2, suggesting a stronger yet still physisorptive interaction. The adsorption distance shortens notably to 2.931 Å, indicating charge donation from NH3 to the MoS2 substrate. The H–N–H bond angle remains nearly unchanged at approximately 107°, confirming that the trigonal-pyramidal geometry of NH3 is largely preserved. The surface corrugation (1.566 Å) and Mo–S bond lengths (2.413/2.412 Å) also remain nearly constant, revealing negligible lattice distortion. This behavior originates from the intrinsic electronic structure of NH3, where three N–H bonds are formed through sp3 hybridization, and the N atom retains a nonbonding electron pair with relatively high electronegativity. Such a lone pair readily interacts with the d states of Mo atoms, thereby enhancing the adsorption strength compared with other gas molecules such as CO and CO2.
Overall, pristine MoS2 does not interact strongly with CO and CO2, while it exhibits better interaction with NH3. Therefore, we introduce N atoms (electron configuration: 1s2 2s2 2p3, with 5 valence e−) into S sites (electron configuration: [Ne] 3s2 3p4, with 6 valence e−), with the aim of breaking the inherent saturation of the triple bond in CO, the double bond in CO2, and further enhancing the adsorption capability for NH3. The stable N–MoS2 structure is shown in Fig. 1(e), with a surface corrugation of 1.595 Å, the longest Mo–S bond elongated to 2.418 Å and the shortest reduced to 2.405 Å. This pronounced change arises from the activation role of the N atom, which creates localized electronic states around the Fermi energy/level (Ef). Specifically, when N substitutes for S in the MoS2 lattice, the hybridization between the 2p orbitals of N (with high electronegativity and 5 valence e−, including one lone pair) and the 4d orbitals of Mo together with the remaining 3p orbitals of neighboring S atoms breaks the inherent bonding saturation of pristine-MoS2. Moreover, the substitution of N, which has 5 valence e−, in place of S, which has 6 valence e−, introduces a charge imbalance and disrupts the saturation state compared with pristine-MoS2. As a consequence, new electronic states emerge near the Ef, leading to the narrowing or even complete disappearance of the bandgap, thereby driving the system from a semiconductor to a metallic state with a direct contribution from the doped N atom. This also suggests that heteroatom doping with higher electron density and greater electronegativity can enhance the activation capability of the system. Furthermore, these localized states act as intermediaries, improving charge donation and acceptance between gas molecules and the MoS2 substrate, thus enhancing adsorption efficiency, particularly for e−-rich molecules such as NH3.
Overall, pristine MoS2 interacts only weakly with CO and CO2, whereas NH3 already exhibits a somewhat stronger, albeit still physisorptive, adsorption. To enhance the surface reactivity, one S atom is substituted with N in N–MoS2 to perturb the saturated Mo–S bonding network and introduce additional active sites. The optimized N–MoS2 (Fig. 1(e)) displays a slightly larger surface corrugation (h = 1.595 Å) and asymmetric Mo–S bond lengths of 2.418 and 2.405 Å. These structural distortions originate from the hybridization between N-2p, Mo-4d, and neighboring S-3p orbitals, which generates localized electronic states around the Ef and drives a semiconductor-to-metal transition. The N-induced states thus act as potential active centers that can mediate charge donation and back-donation between gas molecules and the substrate, particularly for electron-rich species such as NH3
After N doping, the adsorption characteristics of the pristine-MoS2 system change significantly. For CO, the most stable adsorption occurs at the valley site with the O atom oriented toward the surface, where the adsorption energy decreases to −0.02 eV compared to −0.15 eV in the pristine-MoS2, while the adsorption distance remains large at 3.609 Å, indicating weak physisorption. The surface corrugation slightly decreases to 1.558 Å, and the Mo–S bonds remain nearly symmetric at 2.416 Å, confirming that the lattice is scarcely affected. After N doping, the adsorption characteristics of MoS2 change significantly. The most stable adsorption occurs at the valley site with the O atom oriented toward the surface, where the adsorption energy decreases to −0.02 eV compared to −0.15 eV in pristine-MoS2, while the adsorption distance remains large at 3.609 Å, indicating a weak physisorption mechanism. The surface corrugation slightly decreases to 1.558 Å, and the Mo–S bonds remain nearly symmetric at 2.416 Å, confirming that the lattice is scarcely affected. This can be explained by the fact that the N doping concentration is still relatively low (1/12), such that the activation role of N is insufficient to break the strong hybridized bonds within CO. On the other hand, although N has relatively high electronegativity with the potential to enhance the activation capability of MoS2, its electron count is not large enough (Z = 7) to readily exchange charge and thereby disrupt the strong bonds of CO.
For CO adsorption on N–MoS2, however, the interaction remains intrinsically weak. The most stable configuration is located at the valley site, with the O atom oriented toward the surface. The adsorption energy decreases in magnitude from −0.15 eV on pristine-MoS2 to only −0.02 eV, while the equilibrium adsorption distance remains relatively large at 3.609 Å. In parallel, the surface corrugation is slightly reduced to 1.558 Å and the Mo–S bonds remain nearly symmetric at 2.416 Å, indicating that the host lattice experiences only negligible structural perturbation. This subdued response can be ascribed to the relatively low N-doping concentration (1/12 of the S sites) together with the robustness of the internal C–O bond: although N substitution introduces localized states near the Ef, their density and spatial extent are insufficient to strongly couple with the highly localized σ and π orbitals of CO. As a result, CO adsorption on N–MoS2 still resides in a physisorption regime with minimal electronic and structural rearrangement.
For CO2, the most stable adsorption site remains at the top, with the molecule lying nearly parallel to the surface and retaining its linear geometry with an O–C–O angle of approximately 179°, the adsorption energy reaches only −0.02 eV, and the distance increases to 3.643 Å compared to 3.417 Å in the pristine case. The surface corrugation changes minimally to 1.559 Å, while the Mo–S bonds vary slightly between 2.416 and 2.414 Å, confirming weak physisorption. Similar to CO, CO2 is even more difficult to activate because of its linear, nonpolar nature, high chemical inertness, and the strong thermodynamic stability of its C–O bonds. This stability originates from the sp and sp2 hybridizations of the carbon atom in CO2, which form very strong σ and π bonds that are hardly broken under the influence of the MoS2 surface already saturated in bonding. Therefore, even with N doping to generate localized electronic states and enhance activation capability, the interaction of CO2 with the MoS2 substrate remains highly limited, and the adsorption process is restricted to weak physisorption with small adsorption energy and nearly unchanged band structure.
In the case of NH3, the most stable configuration is also at the top site with one H atom pointing downward, where the adsorption energy decreases to −0.05 eV instead of −0.18 eV in the pristine system, but the adsorption distance shortens to 2.823 Å compared to 2.931 Å. The H–N–H bond angle remains close to 107°, preserving the trigonal pyramidal geometry, while the surface corrugation increases significantly to 1.670 Å and the Mo–S bonds become asymmetric with values of 2.417 and 2.403 Å, reflecting local lattice distortion around the N dopant site. Thus, although the adsorption energies of CO, CO2, and NH3 on N–MoS2 remain very small, indicating that the mechanism is still dominated by physisorption, compared with the pristine system, the presence of N introduces pronounced structural and charge redistribution effects, particularly in the case of NH3. This can be explained by the intrinsic nature of the NH3 molecule, which adopts a trigonal pyramidal geometry with three N–H bonds formed through sp3 hybridization between the 2s orbital and the three 2p orbitals of the N atom. In addition, N retains a lone pair of e− localized on the remaining sp3 orbital that does not participate in bonding. The combination of the N's relatively high electronegativity and this lone pair enable NH3 to readily donate or accept charge with the d states of Mo atoms on the surface. On the other hand, N doping significantly disrupts the inherent saturation of the system, thereby enhancing its interaction with the NH3 molecule, which already showed potential adsorption on pristine-MoS2. With the additional activation role introduced by the doped N, the interaction becomes even stronger and more favorable. This confirms the important role of N doping in fine-tuning the adsorption properties of MoS2 and provides the basis for co-doping strategies aimed at further enhancing gas sensing performance.
However, the adsorption strength of the N-doped NH3 system remains limited, as the calculated adsorption energies for CO, CO2, and NH3 are all relatively small. To address this limitation, the strategy of N and O co-doping was further investigated to enhance the adsorption and sensing performance. The N with 5 valence e− (e− configuration: 1s2 2s2 2p3) and O with 6 valence e− (electron configuration: 1s2 2s2 2p4) were simultaneously substituted at S sites, which also possess 6 valence e− (e−-configuration: [Ne] 3s2 3p4). This combination is expected to create a synergistic effect in which N atoms provide new active sites and enhance charge transfer, while O atoms with high electronegativity induce local lattice distortion and strengthen the bonding capability with gas molecules. The stable N–O–MoS2 structure is illustrated in Fig. 1(i), showing a surface corrugation of 1.608 Å, higher than 1.564 Å in pristine-MoS2 but lower than 1.670 Å in N–MoS2. The longest Mo–S bond is elongated to 2.449 Å, while the shortest contracts to 2.390 Å, a larger distortion compared with both pristine (2.413/2.412 Å) and N–MoS2 (2.418/2.405 Å). Notably, the bandgap completely disappears, and the system remains metallic, as in the case of N doping, indicating that N and O co-doping induces even stronger modifications in the electronic properties of the material compared with both pristine and N doped systems. After co-doping, the adsorption characteristics of MoS2 undergo significant changes. For CO, the most stable configuration occurs when the molecule tilts slightly toward the surface with the carbon atom pointing downward. The adsorption energy is −0.02 eV, smaller than that of pristine-MoS2 (−0.15 eV) and equivalent to that of N–MoS2 (−0.02 eV), but the adsorption distance shortens considerably to 2.725 Å compared with 3.482 Å in pristine and 3.609 Å in N–MoS2. This indicates that CO still binds weakly but approaches closer to the surface due to the co-doping effect. The surface corrugation reaches 1.629 Å, higher than both pristine and N–MoS2, while the Mo–S bonds distort significantly with values of 2.446 and 2.389 Å. For CO2, the most stable adsorption site is located at the valley position, where the molecule retains a nearly linear O–C–O bond angle of 179.6°. The adsorption energy is calculated to be −0.02 eV, while the adsorption distance shortens to 2.955 Å compared with 3.417 Å on pristine-MoS2 and 3.643 Å on N–MoS2. The surface corrugation is 1.619 Å, and the Mo–S bonds exhibit asymmetric distortion (2.446/2.392 Å), indicating stronger local lattice deformation. In the case of NH3, the most stable configuration occurs at the top site with one H atom oriented toward the surface. The adsorption energy increases noticeably to −0.09 eV, compared with −0.18 eV for pristine MoS2 and −0.02 eV for N–MoS2, demonstrating a significant enhancement in binding strength upon N–O co-doping. The adsorption distance decreases markedly to 1.856 Å, much shorter than 2.931 Å in pristine-MoS2 and 2.823 Å in N–MoS2, reflecting a significantly stronger molecule–surface interaction. The H–N–H bond angle remains nearly constant at ∼107°, confirming that the trigonal-pyramidal geometry of NH3 is preserved. The surface corrugation is 1.608 Å, lower than that of N–MoS2 but higher than the pristine surface, while the Mo–S bonds exhibit pronounced distortion (2.449/2.390 Å). These structural variations arise from the synergistic effect of N and O atoms, which induce substantial charge redistribution when simultaneously substituting two S atoms in the lattice. Such a cooperative electronic perturbation enhances charge transfer between the adsorbate and substrate, sufficient to weaken the stability of CO and CO2 through orbital hybridization among Mo-4d, N-2p, and O-2p states. As a result, the adsorption distance of CO and CO2 reduces from ∼3 Å to 2.725 Å. However, the corresponding adsorption energy remains low (−0.02 eV), indicating that the interaction is primarily driven by charge transfer and can be characterized as weak chemisorption. Overall, compared with pristine and singly doped systems, (N, O) co-doping markedly shortens the adsorption distance of CO, CO2, and NH3, strengthens the binding of NH3, and induces stronger lattice deformation, demonstrating the crucial role of (N, O) co-doping synergy in tuning adsorption behavior and enhancing the gas-sensing potential of MoS2. Besides, it is worthy to note that the calculated magnetic moment of the all studied configurations are equal zero (Table 1), evidencing the non-magnetic feature of these systems. The determined non-magnetic feature results in the non-splitting of spin-up and spin-down components in their band structures and density of states (DOSs) as well as other quantities in later discussion.
From these results, it is evident that pristine MoS2 interacts only weakly with CO, CO2, and NH3 molecules. While CO and CO2 adsorption induce only minimal changes and faint dispersion branches near the Ef, NH3 exhibits stronger orbital hybridization and local modifications of the band structure. This demonstrates that pristine-MoS2, in its ideal semiconducting form, is not sufficient for direct toxic gas sensing, thereby motivating doping strategies to improve its adsorption and electronic response. In addition, in the N–MoS2 system (Fig. 2(e)), the substitution of a S atom by a N atom introduces significant changes in the band structure. Unlike the pristine MoS2, where the direct bandgap at the K point is 1.77 eV, the bandgap completely collapses in the presence of N, transforming the material from a semiconductor into a metallic state. The dispersion curves clearly show that the bands cross the Ef, eliminating the gap and forming a 2D electron gas-like system. This metallization originates from the fact that N has only five valence e− compared to 6 for S, thereby generating e−-deficient sites. The N-2p states strongly hybridize with Mo-4d orbitals and are pinned near the Ef, producing new dispersion branches that cut directly through the Ef energy. As a result, the density of states at the Ef increases substantially, providing abundant active sites for gas adsorption. Accordingly, N induces strongly hybridized N-2p states with Mo-4d, producing dispersion branches that cross the Ef in a two-dimensional e− gas-like pattern. This hybridization converts MoS2 from a typical semiconductor into a metal, demonstrating enhanced activation capability and an increased number of mobile e− within the system. When CO adsorbs on the N–MoS2 system (Fig. 2(f)), the system retains its metallic character, with the band structure showing electronic bands that continue to cross the Ef without reopening a bandgap.
The contributions from C and O remain very weak, appearing mainly in the valence band between −2 and −1 eV and in the conduction band around +2 eV, far from the Ef. A faint dispersion branch associated with CO appears near Fermi energy, but its intensity is too small to produce significant hybridization. Therefore, although N doping introduces e−-deficient active sites, at a concentration of 1/12 this effect is not strong enough to govern the interaction with CO. As a result, the band structure changes only minimally compared with the N–MoS2 without gas adsorption. The key reason is that the interaction of the out of plane pz orbitals only touches the band manifold very shallowly, yielding negligible spectral weight. Moreover, the faint CO induced branches contribute either too deep in the conduction or valence regions, or only minimally near the Ef, so the overall hybridization remains weak. Consequently, the adsorption efficiency is insignificant, even though the charge transfer is somewhat larger than in the case of CO on the pristine substrate. Similarly, CO2 adsorption on N–MoS2 (Fig. 2(g)) maintains the metallic nature of the system. The dispersion curves continue to cross the Ef almost unchanged from the bare N-doped case, with C and O contributions remaining weak and far from the Fermi energy, mainly below −2 eV and above +2 eV. A very faint dispersion branch appears near the Ef, reflecting limited orbital overlap. This behavior arises from the nearly nonpolar nature of CO2, whose linear geometry cancels the dipole moment and makes the molecule chemically inert. Although N doping generates e−-deficient sites and provides active centers, at the low concentration of 1/12 the number of such sites is not sufficient to induce strong hybridization with the stable linear structure of CO2. Therefore, the adsorption mechanism remains dominated by weak charge transfer and physisorption. In contrast, NH3 adsorption on N–MoS2 (Fig. 2(h)) produces a marked difference. The system preserves its metallic character, but additional prominent dispersion branches originating from the N and H atoms of NH3 appear very close to the Ef (from −1 eV to 0 eV). These branches are much stronger than those in the CO and CO2 cases, confirming significant orbital hybridization. This arises from the molecular structure of NH3, which contains three N–H bonds and a lone electron pair on the N atom. The lone pair overlaps effectively with the e−-deficient Mo–N active sites generated by doping, thereby forming stable hybridized states close to the Ef. Even at the relatively low doping concentration of 1/12, the number of active sites is sufficient to create substantial orbital overlaps, enhancing the electronic response of the system. Overall, while CO and CO2 adsorption on N–MoS2 remains weak and does not significantly alter the metallic band structure, NH3 adsorption generates strong dispersion branches near the Ef, indicating a much higher degree of hybridization. This result highlights the role of N doping in breaking the saturated Mo–S bonding network, inducing metallization, and providing active sites that selectively strengthen interaction with NH3. Thus, N–MoS2 exhibits superior sensitivity and selectivity toward NH3 compared with CO and CO2, confirming its potential as a toxic gas sensor.
On the other hand, (N, O) co-doping enhances the interaction between the substrate and the gas. As observed in Fig. 2(i), the band structure shows little difference from the N doped case. This indicates that (N, O) co-doping does not significantly disrupt the intrinsic structural characteristics of the system, thus preserving the overall band dispersion. However, co-doping introduces new active centers that facilitate interaction and charge transfer, while O contributes to the redistribution of electronic states within the band structure. As a result, the interaction between the substrate and the gas molecules changes noticeably, with CO, CO2, and NH3 exhibiting discernible contributions to the band structure across a wide energy range. Although these contributions are not large, they suggest potential activation of additional features and improvements in key gas sensor metrics such as sensitivity, electronic sensitivity, and selectivity. The high electronegativity of O draws gas molecules closer, especially CO and NH3, through strong polarization. Even the nonpolar CO2 is partially affected, moving closer and participating in charge transfer and hybridization. The direct contributions of CO, CO2, and NH3 to the band structure reveal a clear enhancement in orbital hybridization, with Mo-4d orbitals interacting strongly with N-2p and O-2p states. Overall, while CO and CO2 adsorption on N–O–MoS2 still exhibit weak interactions with only faint dispersion branches near the Ef, NH3 adsorption induces pronounced new electronic states directly at the Fermi energy. These findings demonstrate that N and O co-doping not only strengthens the metallic character of MoS2 but also produces a synergistic effect that substantially enhances its adsorption capability and electronic response toward NH3. Therefore, N–O–MoS2 exhibits superior sensitivity and selectivity toward NH3 compared with both pristine and N doped systems, highlighting its strong potential as a potential material for toxic gas sensing applications.
In addition, the contribution of N is markedly enhanced compared with pristine MoS2 and the N-doped system, and the density of states immediately near the Ef increases to nearly 13 states per eV, highlighting the role of O via its higher electronegativity in improving adsorption capability by strengthening surface polarization and orbital overlap. Taken together, the DOS results demonstrate that while CO and CO2 contribute only weakly across all systems, their interaction improves slightly in the N–O–MoS2. On the other hand, consistently induces new states near the Ef for NH3 case, with the strongest response observed for the N–O–MoS2. This confirms that N–O–MoS2 creates a synergistic effect that not only enhances the metallic nature of MoS2 but also amplifies its sensitivity and selectivity toward NH3, making N–O–MoS2 a highly promising candidate for advanced gas sensing applications.
In contrast, for MoS2–NH3 (Fig. 4(c)), the electrostatic potential difference fluctuates slightly, by about 0.02 eV, near the interface between the MoS2 surface and the NH3 molecule. This indicates a weak interaction between NH3 and MoS2. Nevertheless, NH3 still contributes noticeably to the band structure and the density of states, mainly through the N atom. This can be rationalized by the lone pair on N and hybridization, which together enhance the electronic impact of NH3. Furthermore, N doping, which is expected to modulate charge exchange within the MoS2 substrate, does not significantly enhance the adsorption capability, as the electrostatic potential differences for N–MoS2–CO and N–MoS2–CO2 remain nearly zero. However, N doping slightly improves the adsorption of NH3, as indicated by an increase in the potential difference from ±0.02 to ±0.03 eV for N–MoS2–NH3. The donor and acceptor regions are distributed rather uniformly but exhibit a small potential amplitude, indicating that the role of N in generating e−-deficient centers is valid; nevertheless, activation through the charge exchange pathway remains limited, as reflected by the increased adsorption distance and the minimal contribution of gas molecules to the band structure and density of states. This result is consistent with the intrinsic characteristics of N as a dopant, which possesses a limited electron population in the relevant subshells and a moderately high, though not extreme, electronegativity. As a result, at a doping concentration of 1/12, N induces charge exchange, but only weakly.
More importantly, (N, O) co-doping plays a crucial role in substantially enhancing both adsorption strength and charge exchange behavior. Specifically, N–O–MoS2–CO (Fig. 4(g)) exhibits a pronounced electrostatic potential variation of approximately ±0.01 eV localized around S, N, and O dopant atoms, indicating a strong e−-accepting tendency and suggesting that N–O–MoS2 is highly sensitive to CO molecules. In the case of CO2 (Fig. 2(h)), (N, O) co-doping significantly improves adsorption compared with pristine-MoS2 or N–MoS2, increasing the potential variation from nearly 0 to ±0.01 eV. Similarly, for NH3 (Fig. 4(i)), (N, O) co-doping raises the average electrostatic potential difference to about ±0.04 eV, exceeding that of pristine and N–MoS2. Overall, (N, O) co-doping enhances CO adsorption, improves CO2 adsorption. Although NH3 adsorption on N–O–MoS2 is stronger than on pristine and N–MoS2, the adsorption energies and bond distances still place the interaction in a strengthened physisorption regime with enhanced charge transfer rather than true chemisorption.
| ϕ = Evac − Ef | (2) |
| Δϕ = ϕads − ϕsub | (3) |
Fig. 5 presents the variation of the electrostatic potential and corresponding ϕ along the z-direction for all pristine, N–MoS2 and N–O–MoS2, in which more detailed illustration of the vacuum level (Evac) and Fermi level (Ef) in the ϕ plot is provide in Fig. S4 in the SI. The non-monotonic, drop-then-rise features of the planar-averaged electrostatic potential near the surface arise from the gas-induced interface dipole and disappear in the far-vacuum region, where the potential becomes flat and the vacuum level Evac is defined. For pristine-MoS2 (Fig. 5(a)), the potential difference between the vacuum level and Ef yields a ϕ of 5.525 eV, which increases upon adsorption to 5.637 eV for CO (Fig. 5(b)), 6.584 eV for CO2 (Fig. 5(c)), and 5.701 eV for NH3 (Fig. 5(d)) consistent with the minimal hybridization observed in the band-structure and DOS analyses.
The increased ϕ values upon the CO, CO2, and NH3 adsorption imply the limited sensing potential of the pristine-MoS2. For N–MoS2 (Fig. 5(e)), its ϕ values at 5.648 eV that slightly decreases upon CO, CO2, and NH3 adsorption: e.g., 5.508 eV for CO (Fig. 5(f)), 5.615 eV for CO2 (Fig. 5(g)) and 5.642 eV for NH3 (Fig. 5(h)). The minor shifts confirm that N doping enhances surface activity and facilitates localized charge redistribution but remains insufficient to produce strong chemisorptive behavior. In sharp contrast, the N–O–MoS2 (Fig. 5(i)) exhibits a much higher intrinsic ϕ of 6.640 eV, reflecting the strong electronegativity of O atoms and increased e−-withdrawing ability. Upon the target gases adsorption, the ϕ decreases significantly to 5.570 eV for CO (Fig. 5(j)), 5.650 eV for CO2 (Fig. 5(k)), and 6.104 eV for NH3 (Fig. 5(l)), revealing pronounced charge transfer from the adsorbed molecules to the substrate.
The negative Δϕ shift highlights the synergistic contribution of N and O co-doping, where N donates electrons to form active sites and O enhances interfacial polarization through electron withdrawal. The combined effect substantially strengthens the adsorption-induced potential modulation and improves sensitivity toward all three gases, particularly CO and CO2. These trends are consistent with the quantitative data summarized in Table 1, reinforcing that (N, O) co-doping effectively optimizes charge exchange and electronic response for enhanced gas-sensing performance.
Particularly, the sensitivity to the target gases based on the calculated Δϕ values (Table 1) is illustrated in Fig. 6, in which the more negative Δϕ values indicate the higher sensitivity. It should be mentioned that the positive Δϕ values mean poor sensitivity. As a result, the pristine MoS2 system shows the positive Δϕ values with all target gases that indicate its poor sensitivity, limiting its sensing potential. Upon N–MoS2 and N–O–MoS2 exhibit the negative Δϕ values for all gases, whereas the latter possesses more significant negative Δϕ values than that of the former. This evidences the N–O–MoS2 is identified as the most effective platform to detect the target gases among the other ones, especially for CO and CO2 with the more significant negative Δϕ values at −1.07 eV and −0.99 eV compared with −0.54 eV of NH3, respectively.
![]() | ||
| Fig. 6 Comparison of selectivity based on Δϕ of the gas-adsorbing substrate and the non-adsorbing substrate. | ||
![]() | (4) |
![]() | ||
| Fig. 7 The electronic conductivity changes for pristine-MoS2, N–MoS2 and N–O–MoS2 absorbed CO (a, d and g), CO2 (b, e and h) and NH3 (c, f and i), respectively. | ||
For the pristine-MoS2 in Fig. 7(a), the difference in electronic conductivity is very clear and is almost independent of the energy level near the Ef within the range −0.23 to 2 eV, as the curve of the difference is nearly flat. This means that the change in conductivity of the gas-adsorbed system relative to pristine-MoS2 is essentially constant in that region. In addition, the peaks are irregularly scattered in the band-energy range from −2 to −0.23 eV. This indicates that CO adsorption suppresses internal charge-transfer processes in the system, leading to poor electrical sensitivity, with a difference of about 60–100% across the band structure. By contrast, the inertness of CO2 toward the MoS2 substrate is even more evident in Fig. 7(b): the conductivity difference reaches up to 1500% relative to pristine-MoS2, and the lack of variation in the difference throughout the surveyed band-energy range shows that CO2 scarcely interacts with MoS2. This is consistent with the structural, electronic, and selectivity analyses in Fig. 6, where the change in ϕ for CO2 is the largest. Similarly, NH3 exhibits weak sensitivity on MoS2, much like CO, as the electronic conduction change is nearly constant.
On the other hand, the role of N is pronounced, N doping redistributes the conductivity over the entire band-energy range. However, the peaks of the electronic conductivity change remain rather sparse; the highest peaks are mainly located at relatively deep energies around −1.2 eV and 1.0 eV, with maxima of about 40%. In addition, the remaining peaks cluster around the Ef with modest differences (<6%). This shows that CO becomes more sensitive on the N–MoS2 substrate, but not dramatically so consistent with the previous conclusions. In a similar vein, N doping partially mitigates the inertness of CO2 by redistributing the band-energy structure with more peaks scattered throughout. However, as in the CO case, the largest peaks, up to about 60% difference are concentrated around −1.2 eV and 1.1 eV, while the others around the Ef have differences below 10%. This again suggests that destabilizing the CO2 molecule is difficult; thus, although N improves MoS2's electrical sensitivity to CO2 to some extent, the enhancement is still limited. A notable highlight appears for NH3 adsorption in Fig. 7(f), the difference peaks are distributed very evenly with relatively strong intensities, and the highest differences range from about 40% up to 70%. Moreover, the peaks around the Ef increase markedly compared with the CO and CO2 cases, reaching ∼20%. This provides a clear and encouraging signal regarding both sensitivity and selectivity for NH3 on N–MoS2.
Furthermore, the effect of co-doping with N and O is clearly manifested through the stability of the conductivity difference. As seen in Fig. 7(g), the difference between peaks is evenly and widely distributed across the entire band-energy range from −2 to 2 eV; the largest peaks differ only slightly from the others and are almost uniform, typically ranging from 30% to 40%. This indicates very high electrical sensitivity to CO across most of the band-energy range and at different energies, which fully agrees with the selectivity mapping examined in Fig. 6 for N–O–MoS2–CO. In addition, CO2 also shows high electrical sensitivity, with average differences of about 35–50% across most energies in the band structure, and the largest peaks reaching ∼70% around 1 eV. Altogether, N–O–MoS2 demonstrates high sensitivity to CO2, again consistent with the selectivity results in Fig. 6. Finally, for NH3 on the co-doped substrate, the sensitivity is very high compared with the CO and CO2 cases: the charge-difference values average 45–60% across most energies, including around the Ef, and the highest peaks range from ∼80% to over 120% at energies very close to the Ef (around −0.5 eV). This indicates excellent electrical sensitivity of N–O–MoS2 toward NH3.
Overall, these results indicate that the intrinsic MoS2 lattice exhibits limited charge transfer and weak orbital coupling with adsorbed gas molecules, leading to poor electrical sensitivity. The N doping partially mitigates this limitation by introducing e−-deficient centers that enhance local charge redistribution, thereby improving the electronic response. More importantly, the simultaneous incorporation of N and O further amplifies this effect through synergistic electronic modulation. The coexistence of N and O not only enhances surface polarization and carrier density near the Ef but also facilitates stronger orbital hybridization with the adsorbed species. Consequently, N–O–MoS2 exhibits substantially improved sensitivity and selectivity, particularly toward NH3, where the combined effects of charge donation and electron withdrawal are maximized.
Supplementary information (SI) is available. See DOI: https://doi.org/10.1039/d5ra08975a.
| This journal is © The Royal Society of Chemistry 2026 |