Mohit D. Ganeriwala*a,
Daniel Luque-Jaravaa,
Francisco Pasadasa,
Juan J. Palaciosb,
Francisco G. Ruiza,
Andres Godoy*a and
Enrique G. Marin
a
aDepartment of Electronics and Computer Technology, University of Granada, 18071 Granada, Spain. E-mail: mohit@go.ugr.es; agodoy@ugr.es
bDepartamento de Física de la Materia Condensada, Universidad Autónoma de Madrid, 28049 Madrid, Spain
First published on 20th May 2025
Atomic migration from metallic contacts, and subsequent filament formation, is recognised as a prevailing mechanism leading to resistive switching in memristors based on two-dimensional materials (2DMs). This study presents a detailed atomistic examination of the migration of different metal atoms across the grain boundaries (GBs) of 2DMs, employing density functional theory in conjunction with non-equilibrium Green's function transport simulations. Various types of metallic atoms, such as Au, Cu, Al, Ni, and Ag, are examined, focusing on their migration both in the out-of-plane direction through a MoS2 layer and along the surface of the MoS2 layer, pertinent to filament formation in vertical and lateral memristors, respectively. Different types of GBs usually present in MoS2 are considered to assess their influence on the diffusion of metal atoms. The findings are compared with those for structures based on pristine MoS2 and those with mono-sulfur vacancies, aiming to understand the key elements that affect the switching performance of memristors. Furthermore, transport simulations are carried out to evaluate the effects of GBs on both out-of-plane and in-plane electron conductance, providing valuable insights into the resistive switching ratio.
In this dawn of AI hardware, some commercial deployments, such as TrueNorth by IBM and Loihi by Intel, have already demonstrated synaptic functionalities, although still utilizing traditional CMOS architectures;9,10 however, other lower readiness and more innovative proposals employ emerging structures operated using ferroelectricity or electrochemical gate coupling.11–13 Despite the progress made, all these alternatives are affected by the same weakness: the use of conventional transistors, which limits their scaling capabilities. For instance, TrueNorth packs around 106 neurons and 2.56 × 106 synapses,9 which, although impressive, are far from the integration and connection capabilities of the human brain, which packs around 1011 neurons and 1015 synapses.14 In this regard, two-terminal memristors, with their inherent ability for event-driven state change and memory, have emerged as highly attractive alternatives for neuromorphic devices.15–17 They are composed of a layer of resistive switching material, usually based on transition metal oxides, chalcogenides, or polymers, sandwiched between two metallic electrodes. Notably, thanks to this simple architecture, they can be manufactured in crossbar arrays, facilitating the ultra-high levels of integration required in ANNs.18,19
Although memristor implementations have been known and developed from more than a decade ago, e.g., in non-volatile resistive RAMs,20 the recent demonstration of resistive switching in 2D materials (2DMs) has put the spotlight back on them for their eventual inclusion in advanced neuromorphic devices.21–23 In particular, 2DM-based memristors have, in the past few years, shown low-power and fast switching capabilities, the possibility of deposition on flexible substrates, inherent ability for extreme scaling due to their atomically thin layers, and the potential to create diverse devices and functionalities due to the large library of 2DMs and their suitability for heterogeneous integration.23–25 Compared to amorphous oxides, the use of crystalline 2DMs offers an advantageous route for controlling memristive characteristics. Despite these unique features, the experimental demonstration of 2DM-based memristors have yet to achieve their true potential, and they still exhibit a varied range of terminal characteristics. Some of the critical ones are as follows: switching voltages from a few volts to tens of volts, operating currents from nA to mA, endurance from a few tens of cycles to hundreds of cycles, and resistance switching ratios varying from 1 to 3 orders of magnitude.22,23 This dissimilar performance arises because of the inherent stochastic nature of the resistance switching mechanisms and the limited understanding of how the material properties affect the resistive switching.
This divergent behavior of resistive switching (RS) in 2DMs is a consequence of their diverse structure and composition, although some common underlying phenomena can be identified. For instance, considering the simple two-terminal vertical structure depicted in Fig. 1a, where a 2DM is sandwiched between a top and a bottom metal electrode, primarily two different scenarios are encountered in the literature. If the 2DM is a monolayer, RS is attributed to the atomic point contact at the metal–2DM interface, known as the atomristor.26 On the other hand, in multilayer 2DMs, RS is mostly ascribed to one of the two main mechanisms: the formation of an interlayer bridge under an external field, as in hexagonal boron nitride (hBN),27 or the creation of metallic filaments via atom migration from metallic contacts.28,29 In the case of lateral structures, a mono or multilayer 2DM is in contact on either side with metallic electrodes, as presented in Fig. 1b. In this type of device, the RS is mainly attributed to the formation of metallic filaments through migration of metal atoms on the 2DM surface30,31 or through the change in the orientation of grain boundaries (GBs).32
The formation of metallic filaments through the atomic jump process is in this way pointed out as one of the prevailing mechanisms for triggering RS in 2DMs. Its dependence on various factors, such as crystal structure, size, and chemical nature of the diffusing atoms, as well as whether diffusion is mediated by defects,33 results in a diverse performance of experimental implementations of 2DM-based memristive devices. Additionally, the innate anisotropy of 2D crystals makes surface atomic migration a distinct process from the out-of-plane one. In this context, while some studies have suggested that intrinsic monochalcogen vacancy defects in transition metal dichalcogenides (TMDs) could facilitate the migration of metal atoms in the otherwise pristine structure,34,35 other researchers have linked the ease of metal atom migration with the presence of dislocations and GBs in 2DMs.28,31 Recent molecular dynamics-based simulations have also demonstrated that a filament may be formed in a structure containing GBs.36
Although the prevailing mechanism remains unclear, the experimental evidence suggests that disorder or defects in the crystalline structure are crucial to trigger the memristive mechanism. However, in many cases, the discussion has not yet left the qualitative arena, elucidating the mechanism, but laying apart the deeper physical understanding of the process. Therefore, it becomes crucial to further analyze this issue by carefully examining the atomic nature of such defects and their relationship to the migrating atoms in 2DMs. To gain insight into this transcendent issue, a detailed atomistic study can provide guiding principles in the design of optimized 2DM-based memristors, allowing for better control over the switching features and uncovering hidden phenomena that can be missed in higher abstraction-level studies. This work expands on these concepts by investigating various types of GBs commonly found in one of the most widely studied materials for the realization of 2DM-based memristors, i.e., MoS2. The impact of GBs on the migration of metallic atoms is analyzed through the use of Density Functional Theory (DFT) combined with Non-Equilibrium Green's Function (NEGF) electron transport simulations. The obtained results are compared with those for other structures based on pristine materials or containing a mono-sulfur vacancy. Moreover, the study also focuses on atom migration both in the out-of-plane direction through the MoS2 layer in connection with the vertical memristive structure and in the in-plane direction along the MoS2 surface for lateral memristors.
To calculate the activation energy required for a metal adatom to diffuse perpendicular to the MoS2 layer, the adatom is considered at the octahedral (H) site, shown by the cross mark in Fig. 2a, for pristine MoS2, and also for those sites with the highest interstitial gap in the GBs (see Fig. 2a). The calculations are performed for a MoS2 monolayer first using gold (Au) and copper (Cu), as they, respectively, represent a noble and an active metal widely used as contact electrodes in memristors. The NEB calculation requires to know a prior the initial and final position of the diffusing atom, and therefore, both locations are found by fully relaxing the structure with the metal atom on top of the MoS2 monolayer (initial) and the metal atom at the bottom of the MoS2 layer (final). Fig. 2b and c show the energy variation along the minimum energy path (MEP) for both metal adatoms and three different GB configurations. The MEP is perpendicular to the plane defined by MoS2 at the cross mark shown in Fig. 2a. Note that here the diffusion barrier energies are plotted against the distance traveled by the adatom in the out-of-plane direction, where the coordinate 0 is a reference position corresponding to the plane of the Mo atoms in the S–Mo–S atomic sandwich of MoS2, signifying the location of the monolayer. The first observation that must be made is the different initial and final positions of the Au and Cu adatoms with respect to the MoS2 monolayer, which can be noted as dAu–Mo and dCu–Mo, respectively. The dAu–Mo (dCu–Mo) is 3.46 (2.81) Å for the case of pristine MoS2, which reduces to 2.43 (1.64) Å and 1.88 (1.53) Å in the case of the 22° and 60° ZZ GBs, respectively. This decrease in the Au–Mo gap due to the presence of the GB agrees well with other reported values42 and has an important influence on the metal contact resistance to 2DMs by reducing the metal–2DM interface tunneling barrier width. Regarding the diffusion barrier, our calculations reveal that Au (Fig. 2b) needs to surmount an extremely high barrier of 9.02 eV for diffusing through the pristine MoS2 without any defects (red circles). However, compared to the pristine case, both the 22° and 60° ZZ GBs (blue squares and green triangles) reduce the diffusion barrier considerably, resulting in a value of 3.19 eV and 1.62 eV, respectively. Similarly, as shown in Fig. 2c, pristine MoS2 provides the highest barrier for Cu, followed by the MoS2 with 22° and 60° ZZ GBs. It is also evident that the higher interstitial gap provided by the 8-fold ring in the 4|8 dislocation appearing in the 60° ZZ GB (see Fig. 2a) provides the lowest hindrance to the movement of external metal atoms. The calculated diffusion barriers are listed in Table 1. The case of the MoS2 with 60° AC GBs, however, presents both for Au and Cu a rather different behavior. Using the same force criteria, the NEB calculations were unable to find any converged MEP for external metal atom movement through the 4|4 dislocation, suggesting greater difficulty for the atom to move through the smaller interstitial gap. Instead, the barrier through the adjacent hexagonal ring (shown by the cross mark in Fig. 2a) is computed and plotted in Fig. 2b and c (brown stars), and it is found that the barrier is reduced compared to the pristine case for both Au and Cu, nevertheless the barrier is still higher than that for the ZZ configurations. Although this hexagonal ring is similar to that of the pristine situation, the proximity of the GB results in stretched bonds, thereby increasing the interstitial gap. As mentioned previously, the calculations are performed for a monolayer of MoS2. However, to assess the effect of interlayer interactions on the diffusion barrier, diffusion through a tri-layer MoS2 is also computed (see the ESI, Fig. S2†). The results indicate that the presence of additional layers above and below the diffusion layer has a negligible impact on the barrier for pristine MoS2. However, for the GB case, a change in the barrier is observed, 0.46 eV in the monolayer to 0.79 eV in the trilayer. This modification can be attributed to the attractive force from the adjacent layers, as it already caused a reduction in the distance between the MoS2 and the metal atom, dCu–Mo, in the presence of a GB (see Fig. 2c).
Next, a structure with a mono-sulfur vacancy (VS) was created by removing a single sulfur atom (TS site) from the supercell of the pristine MoS2, as shown in Fig. 1c. In this scenario, no converged MEP could be found for the out-of-plane diffusion, suggesting that the metal atoms remained trapped in the VS. Thus, the VS presents a substitutional site for the diffusing metal atom, as also reported in ref. 31. This result also explains the absence of filament formation in the presence of sulfur vacancies in the molecular dynamics study carried out in ref. 36.
To further examine the influence of the proximity of the dislocation cores on the observed diffusion barrier, a low-angle GB of θ = 13.16° was constructed, which also results in 5|7 dislocation cores. Nevertheless, these are localized and separated from each other (see Fig. 3a) as opposed to the θ = 22° case, in which the 5|7 cores are continuously repeated (see Fig. 1d). The diffusion barriers calculated for these two GBs (θ = 13.16° and θ = 22°) are quite similar, as shown in Fig. 3b, suggesting that their value is governed by the localized interstitial gap and not by the overall GB structure. As the barrier of the nearby pristine H-site will be much higher than the one in the 7-fold ring, this will result in localized sites with preferential filament formation. This could be further pursued as a way to preserve the crystalline nature of the pristine MoS2 with a few localized sites for filament formation, rather than a continuous GB.
In order to relate the microscopic diffusion barrier to the macroscopic performance, it could be thought that higher external forces, such as an increased electric field or temperature, would be required to overcome a higher barrier, thus influencing the measured switching voltage (Vswitch) of the memristors. Therefore, the diffusion barrier calculations suggest that the presence of grain boundaries becomes crucial to lower the switching voltage of the memristors, as desired for low-power operation. At the same time, the continuous repetition of dislocation cores occurring in the GBs will provide multiple sites with a similar energy barrier for diffusion and, therefore, similar probability for filament formation. This feature would potentially result in the formation of multiple filaments, increasing the variability during continuous switching events. In contrast, the presence of a lower angle GB or fewer GBs in the structure can provide a compromise, where the number of sites for filament formation, and consequently the device variability, will be reduced.
Furthermore, the calculations reveal that in all scenarios, the diffusion barrier for copper (Cu) is lower than that for gold (Au), a result that aligns with expectations given the smaller atomic radius of Cu. To further investigate, the MEP for additional metals commonly used as electrodes in memristors, which vary in atomic radius and chemical reactivity, was also computed (see Table 1). Notably, all investigated metals follow the same dependence, with the GB configuration facing the highest barrier for the pristine material followed by the 60° AC GB; with decreasing barriers for 22° and 13.16° GBs, and with the smallest diffusion barrier observed for the 60° ZZ GB. A comprehensive description of the energy barrier along the MEP for different GB structures is provided in ESI Fig. S3† for Al, Ni, and Ag. The above results, therefore, indicate that the choice of the metal electrode is critical, not only in reducing the tunneling barrier between the contact and the 2DM, but also in minimizing the Vswitch for those adatoms showing lower diffusion barriers for the same GB.
Similarly, two scenarios were tested for the GBs. First, the Au atom diffusing across the GBs, i.e., from the top of the dislocation core (either 22°: blue square or 60° ZZ: green triangles) to the nearest pristine H-site, see the top panel in Fig. 4b. In this scenario, it is found that the higher ring in the dislocation, which provides the lowest barrier for out-of-plane diffusion, acts as a trapping site for surface diffusion. The calculation reveals that Au experiences a barrier of around 1.37 eV and 0.96 eV for diffusion across the 22° and 60° ZZ tilted GBs, respectively. Similar results are observed for Cu (see Table 2 and ESI Fig. S4†). In other words, the 7-fold and 8-fold rings found in the GBs with θ = 22° and 60° ZZ are energetically more favorable for the Au atom than the adjacent pristine H-site, suggesting that (similar to the VS) the GBs also act as trapping sites for adatoms. This fact is aligned with the previously obtained lower values of dAu–Mo at the GBs compared to the pristine H-site, proving their stronger interaction. Such a preferential location for the adatom adsorption provided by the GBs can be useful for valuable applications such as in catalysis or for reducing contact resistances, but it acts as a roadblock to lateral filament formation required for memristive operation. However, the 60° AC tilted GB (brown stars in Fig. 4b, top panel) has two symmetric locations across the GB, corresponding to the H-sites of the two stretched neighbouring hexagon rings, providing an energetically favourable position for the Au atom and showing a barrier of just 0.16 eV to cross the GB, much lower than those for the other two GBs and closer to that of the pristine MoS2. All the calculated barriers are listed in Table 2.
Type | Barrier (across/along) (eV) | |||
---|---|---|---|---|
Au | Cu | Al | Ag | |
Pristine | 0.11 | 0.307 | 0.255 | 0.064 |
VS | 2.07 | 1.2 | 0.76 | 1.52 |
22° | 1.37 | 1.01 | 1 | 1.10 |
60° ZZ | 0.96/1 | 0.92/1.26 | 1.4/1.5 | 0.28/0.43 |
60° AC | 0.16/0.4 | 1.15/0.68 | 0.23/0.18 | 0.54/0.36 |
Next, in the scenario where the movement is along the direction of the GBs (top panel in Fig. 4c), the diffusion barrier shows similar trends: the 60° ZZ GB exhibits the same trapping behavior, where the 8-fold ring in the 4|8 dislocation core (green triangle) provides the preferred location for the adsorption of adatoms, and the 60° AC GB (brown stars) presents a lower barrier. The scenario for the diffusion of Au along the GB with θ = 22° is distinct, as no local minima exist at the site on top of the 5-fold ring. At this point, the Au atom is pushed to the adjacent site on top of the 7-fold ring during structural relaxation of the initial position, suggesting even stronger trapping behavior for the atom to move along the θ = 22° GB. In almost all cases, a common observation is that pristine MoS2 offers the lowest barrier to surface diffusion. Looking further into the pristine surface case, it is observed that Cu presents a higher barrier than Au, an opposite trend to the situation in the out-of-plane diffusion (see Table 2). Further testing of Al and Ag surface diffusion on pristine MoS2 indicates that Cu needs the highest activation energy, followed by Al and Au (see Table 2), whereas Ag requires the lowest activation energy, with a value of just 0.064 eV. The trend, however, varies depending on the species of the metal atom for the VS and GBs (all the MEPs for surface diffusion of the aforementioned atoms are provided in ESI Fig. S4†). However, unlike out-of-plane diffusion in MoS2, where the GBs can reduce the Vswitch of vertical memristors, here they have the opposite effect and can even increase the Vswitch value for lateral diffusion. Therefore, the pristine structure seems to be the preferred choice for achieving low-voltage switching in lateral memristors. Additionally, the optimal choice of metals for the electrodes in lateral memristors turns out to be different from that for vertical ones. In the case of vertical memristors, Al or Cu shows the lowest energy barrier for diffusion, whereas Au or Ag appears to be an appropriate electrode material for achieving low-voltage switching in lateral memristors.
In the context of a memristor exploiting the GB structure, it would be advisable that the switching layer shows a lower conductance when no metallic filament is formed, that is, to establish the high resistance state (HRS) of the device. This layer should then be switched, by the insertion of external metal atoms through the GBs, to a low resistance state (LRS); nevertheless, the observations evidence that the increase in the conductance in this latter case is not substantial. Thus, while GBs appear to be crucial for reducing Vswitch as previously mentioned, they also result in an unsuitable high conductance even in the absence of external metal atoms (i.e., in the HRS), thereby shrinking the resistance switching ratio between the HRS and the LRS, an important figure of merit for memristor operation. However, a caveat should be mentioned, as these simulations reflect a reduced distance between the GBs due to the limited size of the supercell. The grain sizes in the experiments may be larger. Therefore, while the alteration of the conductance originating from the GBs will indeed influence the HRS, the exact quantitative change may differ from the findings reported here. Furthermore, the calculation of the switching ratio is based on the intercalation of a single metallic atom in the vdW gap of a supercell, whereas actual memristors may have multiple atoms forming a filament; nevertheless, incorporating more atoms in the vdW gap or forming a filament does not substantially change the conductance, demonstrating a saturating behavior as observed in molecular dynamics simulations.36 Therefore, while GBs may reduce the switching voltage, they could cause a trade-off in the maximum value of the HRS and therefore in the switching ratio.
For in-plane transport, as shown in Fig. 5a, two scenarios have been considered: transport along and across the GBs. Here, the transport is calculated through a monolayer MoS2, see the Methods section for details. The presence of GBs has an even stronger impact in this case, increasing the in-plane conductance by many orders of magnitude (with respect to the pristine case), as shown in Fig. 5d, for the conductance both along the GBs (open triangles) and across the GBs (open circles) – see Fig. 5a for the direction of transport. Note that here the conductance is normalized with the cross-sectional length perpendicular to the direction of transport. The corresponding transmission spectrum is shown in ESI Fig. S5.† Although the overall conductance with GBs is higher in both directions than in the pristine case, it is evident from the calculations that altering the orientation of the GBs with respect to the carrier flow can lead to a significant modulation of the conductance. For example, for θ = 22°, the ratio between transport across and along the GBs is approximately ≈108. Moreover, in contrast to the out-of-plane situation, the change in conductance with the tilt angle is also substantial (see the 22° and 60° ZZ GBs). This orientation-dependent conductance change has been experimentally demonstrated as one of the possible switching mechanisms for the realization of a lateral memristor.32 Nevertheless, note that in a real poly-crystal, carriers may encounter randomly oriented GBs and thereby experience both scenarios simultaneously. Besides utilizing GBs themselves as a means for tuning the resistance, the presence of GBs in a lateral memristor does not seem to favor either the formation of a filament as previously discussed or achieving a lower current in the HRS with respect to the pristine case.
![]() | (1) |
Footnote |
† Electronic supplementary information (ESI) available. See DOI: https://doi.org/10.1039/d4nr05321d |
This journal is © The Royal Society of Chemistry 2025 |