Introduction

While CMOS devices have been the backbone of electronics for decades, memristive devices have emerged as a promising alternative with distinctive characteristics. Memristive devices exhibit intrinsic nonlinear behavior, as evidenced by the pinched hysteresis in their current-voltage characteristics (IV curves), a well-established fingerprint defining their unique attributes1. These devices retain information about the amount of charge that has passed through them, presented in the history-dependent resistance function2,3,4. As the charge accumulates, the resistance (conductance) of the memristor can alter, and this modification is retained until the charge is reset.

While traditional circuit components such as resistors, capacitors, and inductors can exhibit nonlinearity under certain conditions, this is typically less pronounced and more predictable compared to that observed in memristive devices. This is due to the fact that the behaviors of capacitors and inductors are governed by derivatives and integrals, which introduce inherent nonlinearity. Memristive devices, in contrast, inherently exhibit a significantly greater degree of nonlinearity due to their state-dependent resistance and memory properties. This intrinsic nonlinearity is not merely a minor deviation from linear behavior; rather, it is a fundamental characteristic due to various stochastic processes that give rise to distinctive and intricate responses. This pronounced nonlinearity enables memristive devices to exhibit unique and complex behaviors, such as state-dependent resistance and memory properties, making them particularly well-suited for applications in physical unclonable functions (PUFs), true random number generators (TRNGs), and neuromorphic computing. The enhanced nonlinearity in memristive devices significantly amplifies their sensitivity to initial conditions, promoting diverse state transitions and increasing their unpredictability. These characteristics are crucial for the high-performance requirements of PUFs, TRNGs, and neuromorphic computing, where robustness, security, uniqueness, and complex adaptive behaviors are of paramount importance.

The functioning of these devices relies on their internal state, which evolves over time and leads to intriguing and intricate nonlinear characteristics5. The physical and chemical mechanisms that contribute to resistive switching, such as redox reactions, drift-diffusion of mobile defects, and filament formation6 change the internal state of the device and thus the resistance of memristive devices. In nanoscale electronic devices, nonlinear behavior can arise from various unknown sources beyond those mentioned here. While memristive devices have prominent variable resistance, capacitive and virtual inductive effects can also contribute significantly to nonlinearity. To be more specific, the inductive effects are not real and are correlated and referred to as inertia effects, as described by Yarragolla et al.7,8. It can be manifested that resistive, capacitive, and inertia memory coexist in such devices9. A detailed explanation is provided in subsequent sections.

The nonlinear behavior serves as the most important feature that is crucial for implementing neuromorphic dynamic systems such as memristive reservoirs, memristive oscillatory neural networks, and memristive chaotic systems1,10. Furthermore, the nonlinear behavior can be strategically utilized as a valuable entropy source for implementing hardware security applications such as physical unclonable functions (PUFs) or true random number generators (TRNGs)11,12. By taking advantage of this behavior, the specific resistive states, transition patterns, harmonics, and resonant frequencies of memristive devices can be used as intrinsic and device-specific features, which are difficult to replicate or predict. In practical terms, the presence of such harmonics from a frequency spectrum has been empirically confirmed, as demonstrated in experiments on a \(\textrm{Ge}_{2}\hbox {Se}_{3}\)-based self-directed channel memristor conducted by Frank et al.13. This evidence highlights the real-world occurrence of phenomena predicted by the simulations in this paper and underscores the potential utility of these characteristics in creating cryptographic keys, seeds, or true random numbers with high entropy. Moreover, although nonlinear behavior may be an important aspect, it presents several obstacles to overcome, such as achieving reproducibility and reliability in the face of unavoidable variability and ensuring stability and predictability in dynamic synaptic-like plasticity. These challenges require adequate investigation before pursuing practical and effective implementation of memristive devices. Therefore, comprehending the origin and examining the nonlinearity of memristive devices is imperative for their efficient utilization in neuromorphic computing and hardware security.

Memristive devices often exhibit a pinched hysteresis in their IV curves, with a zero crossing indicating zero current for zero input voltage. However, some devices, particularly RRAMs, display non-zero crossing hysteresis, suggesting the presence of stored charge. Several studies attribute this phenomenon to resistive, capacitive, and/or inertia effects9,14,15. So, a more appropriate approach would be to consider the change in resistive switching as a shift in memristive device impedance rather than just memristance. This modification reflects the interplay of different effects, which introduces a frequency-dependent impedance, resulting in nonlinearities and intricate responses to sinusoidal inputs.

Additional evidence supporting the existence of these effects is shown in Nyquist plots of their impedances, which display double semicircles16,17,18. One semicircle can be attributed to the presence of an RC circuit, while a negative curve could be interpreted as an inductive loop. It is important to note that this inductive behavior does not correspond to conventional electromagnetic inductance. Instead, we propose that it arises from inertial effects, which contribute to the formation of the second curve. The appearance of different semicircles in a Nyquist plot indicates the presence of multiple time constants or frequency-dependent behavior in a system. Moreover, as mentioned above, the presence of harmonics in the frequency spectrum of a \(\textrm{Ge}_{2}\hbox {Se}_{3}\)-based device, also provides empirical support for the presence of various RLC-like effects in real devices. Therefore, the coexistence of resistive, capacitive, and inertia effects in memristive devices (as shown in Fig. 1) can result in diverse behaviors at distinct frequencies. Therefore, utilizing the frequency-dependent characteristics of memristive devices instead of the commonly used IV curves can offer a different perspective on understanding the switching in these devices.

Fig. 1
figure 1

Illustration of the concert of co-existence of resistive, capacitive, and inductive effects in interface-type memristive devices.

From the previous discussion, it is critical to consider both particle (ion/vacancy) transport and capacitive effects when modeling memristive devices. These two components contribute significantly to the dynamic alterations in memristance. Capacitive effects, encompassing charge storage and redistribution within the device, are particularly imperative and play a pivotal role alongside ion transport mechanisms. The capacitive components of the device react as the charge accumulates or depletes, impacting the charge distribution and, subsequently, the resistance state. The dual contribution of ion transport and capacitive effects enhances the nonlinear properties observed in memristive devices. Understanding the capacitive contributions is critical to comprehending the complex dynamics that result in non-volatility, hysteresis, and memory-dependent changes in resistance. A deeper understanding of the nonlinear behavior of memristive devices can be achieved through comprehensive modeling of ion transport and capacitive effects. Inertia effects are not modeled independently in this work but are included through particle transport. Subsequent sections provide details on how inertia effects are integrated into the overall model for a comprehensive interpretation.

The paper examines in detail the nonlinear behavior of specifically interface-type memristive devices. Apart from their nonlinear behavior, these devices offer significant advantages for neuromorphic computing systems and hardware security applications, such as analog-type switching without current compliance, robust endurance, minimal temperature dependence, and reduced variability, making them highly suitable for such advanced applications12,19,20,21. In contrast, filamentary-type devices, which are more commonly studied, typically exhibit digital switching, less robust endurance, temperature-dependent performance, and require current compliance22. To address the knowledge gap and facilitate a deeper understanding of the distinct behaviors exhibited by interface-type memristive devices a cloud-in-a-cell (CIC) scheme-based model for the double barrier memristive device (DBMD)23 and the bismuth ferrite oxide memristive device (BFO)7,20 is used in this work. Unlike the state-of-the-art compact models24,25,26, this method more precisely incorporates the stochastic ion or vacancy transport like the multidimensional computational models27,28,29,30, it is fast and accurate like the state-of-the-art compact models. The model was validated through a series of experimental tests, including assessments of variability, temperature, stress amplitude, retention, and plasticity. The calculated results were in close agreement with the experimental data, demonstrating the accuracy and reliability of the CIC method for modeling the behavior of BFO.

This study aims to develop a precise CIC model for interface-type devices, considering capacitive effects, as the first step in understanding their nonlinear behavior. Therefore, to study the nonlinear behavior, the CIC models proposed by Yarragolla et al.20,23,31 are further modified to incorporate the capacitive effects. The following section will provide a detailed explanation of the modeling of capacitive effects in interface-type memristive devices. Furthermore, this paper serves as a proof of concept for using the frequency spectra as a fingerprint to identify and characterize memristive devices, providing an alternative tool to the IV curves for obtaining further insights into nonlinear dynamics. A parametric study is conducted to investigate the variations in resistive switching of the device resulting from various inputs and device parameters coupled with Fourier analysis of the frequency spectra, uncovering harmonics and sidebands. It is important to note that in this study, we focus on understanding the nonlinear behavior of individual memristive devices. This detailed analysis serves as a fundamental step before evaluating the collective behavior of multiple devices typically used in PUFs, TRNGs, or neural networks.

Fig. 2
figure 2

The modified equivalent circuits of (a) double barrier memristive device23 and (b) bismuth ferrite oxide memristive device20 with parallel capacitors across different layers. SC: Schottky contact, TB: tunnel barrier, and SE: solid-state electrolyte.

Simulation approach

In the interface-type Au/BiFeO3/Pt/Ti BFO32 and Au/Nb\(_{\textrm{x}}\)O\(_{\textrm{y}}\)/Al2O\(_{3}\)/Nb33 devices, resistive switching occurs through particle transport, i.e., the drift-diffusion or trapping-de-trapping of charged defects, involving positively charged oxygen vacancies in BFO and negatively charged oxygen ions in DBMD. This mechanism alters the properties of the metal/oxide interface (Schottky or tunneling contacts), leading to an analog-type switching. The primary simulation models for DBMD and BFO devices, utilizing the CIC approach, have been detailed in23 and20, respectively.

The CIC method34 is utilized to examine the behavior of particles in metal oxides, which contributes to resistive switching in RRAMs. This technique involves dividing the RRAM device into a lattice-like grid of cells, with each cell denoting a small volume within the device. Particles, representing atoms, ions, vacancies, or electrons, create a cloud around their positions, distributed across the grid with weights dependent on the oxide defect density. Weight represents the number of actual particles that each simulated particle denotes and allows for realistically modeling a larger population with fewer simulated particles. The weight is calculated as the ratio of total actual particles to simulated ones, which addresses computational limitations. For an input voltage bias, the particles are transported based on their drift velocity, calculated using the activation energy, \({U}_{\textrm{A}}\), and electric field, E, obtained by solving the Poisson equation. The drift velocity is calculated as follows based on the probability of the particle movement from one lattice site to another35,36:

$$\begin{aligned} v_{\textrm{D}} = \nu _{0} d \,\, \textrm{exp}\left( -\frac{{U}_{\textrm{A}}}{k_{{\textrm{B}}}T} \right) \sinh \left( \frac{\left| z \right| edE}{k_{\textrm{B}}T} \right) , \end{aligned}$$
(1)

where d is the lattice constant, \(\nu _{0}\) is the phonon frequency, e is the elementary charge, z is the charge number of the ion/vacancy, and \(k_{\textrm{B}} T\) is the product of Boltzmann constant and temperature.

Device-to-device and cycle-to-cycle variability are inherent in oxide-based devices due to their stochastic nature. D2D variability arises from fabrication differences such as defect densities, initial charge configurations, and physical dimensions such as layer thickness. To model this, ion positions and geometric parameters are randomly initialized in simulations, with properties drawn from a truncated Gaussian distribution. The C2C variability is due to the random movement of ions influenced by electric fields in the device. This is simulated using a random walk model, where ion positions are randomly perturbed at each simulation step, reflecting the unpredictable internal state changes over successive cycles. A detailed description of this stochastic modeling can be found in the manuscript by Yarragolla et al.23

Once the stochastic ion or vacancy transport is completed, the electrical parameters, such as the currents and voltages across different layers, are calculated. To incorporate the capacitive effects, parallel capacitors are added across different layers in the equivalent circuit models of BFO and DBMD, as illustrated in Fig. 2.

The resistive current through the Schottky contact is computed as follows37

$$\begin{aligned} I_{\textrm{SC}} = A_{d}A^{*} T^{2}\textrm{exp}\left\{ \frac{-\Phi _{\textrm{SC}_{\textrm{eff}}}}{k_{B}T} \right\} \left( \textrm{exp}\left\{ \frac{eV_{\textrm{SC}}}{n_{\textrm{SC}_{\textrm{eff}}}k_{B}T} \right\} - 1\right) . \end{aligned}$$
(2)

Here \(n_{\textrm{SC}_{\textrm{eff}}}\) is the effective ideality factor, \(\Phi _{\textrm{SC}_{\textrm{eff}}}\)is the effective Schottky barrier height, and \(A^{*}\) is the effective Richardson constant. The current across the tunneling barrier is calculated using the general Simmons current equation38.

$$\begin{aligned} I_{\textrm{TB}}&= \frac{A_{d}e}{2\pi h\left( \beta d_{{\textrm{TB}}_{\textrm{eff}}} \right) ^{2}}\Biggl ( \Phi _{{\textrm{TB}}_{\textrm{eff}}} \cdot \textrm{exp}\left\{ - \textrm{A}\sqrt{\Phi _{{\textrm{TB}}_{\textrm{eff}}}}\right\} - \left( \Phi _{{\textrm{TB}}_{\textrm{eff}}}+ e\left| V_{\textrm{TB}} \right| \right) \cdot \textrm{exp}\left\{ - \textrm{A} \sqrt{\Phi _{{\textrm{TB}}_{\textrm{eff}}}+ e\left| V_{\textrm{TB}} \right| }\right\} \Biggr ), \end{aligned}$$
(3)

where \(\Phi _{{\textrm{TB}}_{\textrm{eff}}}\) is the effective tunnel barrier height, \(d_{{\textrm{TB}}_{\textrm{eff}}}\) effective tunnel barrier width, \(A_{d}\) is the device area and \(A=\frac{4\pi \beta d\sqrt{2m} }{h}\). \(\beta\), m, and h are the correction factor, free electron mass, and the Planck constant. Moreover, the current across the oxide region is given by the general Ohm’s law,

$$\begin{aligned} I_{\textrm{ox}} = \sigma A_{\textrm{d}}\frac{V_{\textrm{ox}}}{l_{\textrm{ox}}}, \end{aligned}$$
(4)

where \(l_{\textrm{SE}}\) is the length of the active oxide layer and \(\sigma\) is its conductivity. Here, ’ox’ denotes either \(\rm{Nb_{\rm x}O_{\rm y}}\) or \(\textrm{BiFeO}_{3}\) oxides. The variables with the subscript ’eff’ represent their effective values, which are derived from the device’s internal state, q(t) and rate constant \(\lambda\). For more information, refer to the detailed explanation provided by Yarragolla et al.23. A flowchart of the proposed model (Supplementary Fig. S1), as well as a detailed explanation of the CIC approach (Supplementary Fig. S2) and Poisson solver, can be found in the supplementary material. Furthermore, for a comprehensive analysis of the computational time spent by the various components of the proposed 1D CIC model and a comparison of this model with existing 0D and 3D models, please refer to the supplementary material, Fig. S3.

Table 1 Equations used to compute capacitance across distinct layers in interface-type memristive devices.

Capacitive effects

The memristive device contains distinct capacitance elements that serve specific functions in different regions. The proposed model for an interface-type memristive device illustrates four categories of capacitive components as in Fig. 1: (a) capacitance between the interface and defects, (b) between positive and negative defects, (c) oxide capacitance, and (d) interface capacitance. These devices typically have Schottky or tunneling contacts as interfaces. The methods for modeling capacitance across these interfaces are detailed, and corresponding equations are provided in Table 1.

(a) Schottky Contact: The capacitance of a Schottky contact is affected by the dynamics of the depletion layer, a region at the metal-semiconductor interface that lacks charge carriers. Variations in the effective width of the depletion layer \((d_{\textrm{SC}_{\textrm{eff}}})\), caused by charge accumulation or depletion, affect the overall capacitance39. A positive voltage narrows the depletion layer, while a negative bias widens it, thus affecting the capacitance. The depletion layer’s width can be determined by assessing charge accumulation due to traps at the interfaces between the metal and insulator41. To determine the capacitance of the Schottky junction \((C_{\textrm{SC}})\), we use the electrostatic capacitance equation for a parallel plate capacitor.

(b) Tunnel Barrier: The capacitance across a tunnel barrier can be calculated by considering the series combination of oxide capacitance \((C_{\textrm{ox}})\) and quantum capacitance \((C_{\textrm{q}})\)42. The oxide capacitance represents the traditional capacitive effects associated with the change in width of the oxide layer \((d_{{\textrm{TB}}_{\textrm{eff}}})\), here in DBMD it is \(\textrm{Al}_{2}\hbox {O}_{3}\). The quantum capacitance accounts for the quantum mechanical effects related to the density of states (D(E)) in the semiconductor material. Quantum capacitance arises due to the changes in the density of states near the Fermi level in the semiconductor40. As the density of states varies, the quantum capacitance reflects the system’s response to changes in charge distribution. The equation used for calculating the quantum capacitance and oxide capacitance in this work is given in Table 1. The density of states is considered a constant term in this work for simplicity and is calculated based on the capacitance across the tunnel barrier measured by Hansen et al.33. Simulation methods such as density functional theory could be used to calculate it. Note that the quantum capacitance depends on the particular characteristics of the material, structure, and dimensions involved. Its contribution is more significant in two-dimensional (2D) materials and structures with prominent quantum confinement effects. For very thin layers like a tunnel barrier with a thickness of less than 2 nm, quantum effects become essential.

(a) Metal Oxide: The standard electrostatic capacitance equation is used to determine capacitance across a solid-state electrolyte. This equation considers the effective capacitance resulting from interactions between charged defects and the interface and among different charged defects. The depletion layer width, \(d_\mathrm{ox_{eff}}\), indicates the difference in the average relative distance between the positions of mobile defects \(d_{\rm eff_{mobile}}\) and the average relative distance between the positions of fixed defects \(d_{\textrm{eff}_{\textrm{fixed}}}\). When oxygen vacancies drift toward the Pt electrode in the BFO device or oxygen ions drift toward the Au electrode in the DBMD device for a positive bias, charge separation occurs within the oxide layer. This creates a structure similar to a capacitor where negatively charged defects are separated from positively charged defects. In our simulation model, we include fixed defects to maintain charge neutrality.

Capacitance is typically multiplied by the roughness factor, a dimensionless quantity that indicates the deviation of the real surface area from the ideal geometric surface area. Similarly, a correction factor \((r_{\textrm{C}})\) is applied to the electrostatic capacitance of various RRAM layers to adjust simulation results with experimental findings. This correction factor serves to compensate for several non-idealities inherent to nanoscale devices. Factors such as heterogeneous dielectrics within the oxide layer, interface effects between the oxide and adjacent materials, capacitance frequency dependency, variations in oxide thickness, quantum effects at the nanoscale, and process-related variability can collectively affect electrostatic capacitance. The value of \(r_{\textrm{C}}\), could be any number between 0 and 1, signifying a reduction in capacitance, accounting for non-idealities and deviations from theoretical expectations. By iteratively adjusting the correction factor, a best-fit value is sought that minimizes the discrepancy between theoretical and experimental results across different conditions and configurations.

Inductive effects

A previously published meminductance model, which is controlled by flux or current and dependent on the system state, has been established in the literature43,44. Although Qingjiang et al.9 showed various effects in memristive devices, their use of the meminductance model may not be practical or accurate in simulating real-world devices. The assertion of electromagnetic inductance in nanoscale devices may not align with physical constraints, particularly when related to the state equation and a change in inductance proportional to the square of the number of turns. The term ’number of turns’ in this context refers to internal parameters or states rather than the physical coil windings in a traditional inductive coil. The existence of an additional semi-circle in a Nyquist plot with negative impedance values is attributed to inductive or negative capacitive effects. Marquardt et al.18 noted that physically realizing windings of an inductance of the required size (> 10 mH) within a multi-layer system of approximately 10 nm thickness becomes impractical. However, Bisquert et al.17 recently proposed a chemical inductor model that is non-electromagnetic, using an inductor and resistor to emulate these effects. While acknowledging the viability of an inductor and resistor model, we propose that the observed “inductive effects” are physically attributed to the inertia of charged particles (including ions, vacancies, electrons, or holes). Particle transport appears to be the most likely cause of the effect, although other unknown processes may also play a role. As explained by Yarragolla et al.7, this perspective aligns with the understanding that charged particles exhibit reluctance to a change in motion due to inertia, contributing to the observed “inductive” behavior in memristive devices. As induction is always coupled to a temporal change magnetic flux, the terminology “inductive” may be misleading. Ultimately, there is no magnetic field at all in the RRAMs under study.

Furthermore, the kinetic inductance of superconducting linear structures is related to the inertia of free electrons45,46. The kinetic inductance is a natural derivation from the Drude model of electrical conduction. The Drude model of electrical conduction can be adapted to explain the motion of ions or vacancies in solid-state physics. Originally developed to describe the behavior of free electrons in a conductor, the Drude model can also be applied to RRAMs by considering the principles of momentum conservation and the response of charged particles to electric fields. Therefore, the kinetic inductance in an n-type \(\rm{Nb_{\rm x}O_{\rm y}}\) layer in the DBMD device and an n-type \(\textrm{BiFeO}_{3}\) layer in the BFO device could be related to the inertia of the free electrons and the charged defects (ions and vacancies). A mathematical explanation of this relationship is given below.

In solid-state physics and electronic devices, the behavior of charged particles undergoing resistive switching mimics that of electrical circuits. The movement of these particles, considering drift velocity and friction, is encapsulated in a momentum conservation equation, notably expressed as \(m\frac{\textrm{d} v_{\textrm{D}}}{\textrm{d} t}= e E - m\gamma v_{\textrm{D}}\). This equation, when extended to the drift velocity equation and then to a generalized Ohm’s law (\(\frac{\textrm{d} j}{\textrm{d} t}= \frac{e^2 n}{m} E - \gamma j\)), forms the foundation of the Drude model for electrical conduction. Transitioning further, the equation for drift velocity, when applied to a one-dimensional scenario, yields the final expression7,8

$$\begin{aligned} V_{\textrm{ox}}= \underset{\text {kinetic inductance}}{\underbrace{\frac{m l_{\textrm{ox}}}{e^2 n A_{\textrm{d}}}}}\frac{\textrm{d} I_{\textrm{ox}}}{\textrm{d} t} +\underset{\text {electrical resistance}}{\underbrace{ \frac{m l_{\textrm{ox}}}{e^2 n A_{\textrm{d}}} \gamma }}I_{\textrm{ox}} = L_{\textrm{kinetic,ox}} \frac{\textrm{d} I_{\textrm{ox}}}{\textrm{d} t} + R_{\textrm{ox}} I_{\textrm{ox}}, \end{aligned}$$
(5)

where \(L_{\textrm{ox}}\) is the kinetic inductance and \(R_{\textrm{ox}}\) is the electrical resistance of the oxide layer. To explain inertia effects more clearly, when the electric field and velocity are in phase, the charged particle responds promptly to changes in the electric field due to the absence of inertia. However, when they are out of phase, inertia causes a delay in the response of the charged particle to changes in the electric field, leading to a phase difference between them. Due to inertia, the velocity of particles and electric field will have a phase difference, similar to the inductive effect, where inductive current lags behind the voltage across the inductor due to induced electromotive force.

In our model, we account for inductance, referred to as the inertia effects in this paper, by considering the movement of charged particles related to their drift velocity in Eq. (1). This movement is influenced by the electric field, activation energy for migration, trapping, or de-trapping of ions or vacancies, as well as the probability of jumps. The equation for drift velocity effectively describes the average motion of ions and vacancies in response to an electric field, incorporating momentum-related inertia effects (virtual or inductance). This integrated approach streamlines the model, eliminating the need for a separate evaluation while explaining the intricate motion of charged particles within an oxide.

Fig. 3
figure 3

The interface-type switching in (a)–(d) BFO and (e)–(h) DBMD devices, including capacitive and inertia effects. (a), (e) The simulated IV curves with and without the capacitive effects.; (b), (f) the source voltage and change in impedance; (c), (g) the change in capacitive reactance and (d), (h) the absolute average mobility and absolute drift velocity of all mobile oxygen vacancies in BFO and mobile oxygen ions in DBMD memristive devices.

Results and discussion

The IV curves shown in Fig. 3 illustrate the nonlinear behavior of BFO and DBMD devices resulting from the coexistence of resistive, capacitive, and inertia effects. To obtain the IV curves of BFO device shown in Fig. 3a, an input voltage of 8.5 V was utilized, in conjunction with the parameters used by Yarragolla et al.20 (given in Supplementary Table S1). The figure compares the IV curves of BFO with and without including capacitive effects. Although the curves with and without capacitive effects exhibit a similar nonlinear change in current with the input voltage, the curve with included capacitive effects highlights a noticeable non-zero crossing hysteresis. This curve depicts the precise analog change in current with the crossing point observed at approximately −2.9 V in the experimental IV curves. This confirms the presence of charges in interfacial-type memristive devices and how they result in capacitive effects.

In contrast to the BFO device, the IV curves of the DBMD device, as shown in Fig. 3e, exhibit a notable absence of non-zero crossing hysteresis. This difference can be attributed to the much higher capacitive reactance in the DBMD device as seen in Fig. 3g, which is at least two orders of magnitude higher than that calculated for the BFO device as in Fig. 3c. The simulated IV curves for the DBMD obtained for parameters given in Supplementary Table S2, both with and without the inclusion of capacitive effects, agree remarkably well with the experimental IV curves. The reduced capacitance in the pF range contributes to the subtle variations observed in the curves with and without capacitive effects, indicating a minimal effect on the current. Notably, at lower input voltage frequencies for both BFO and DBMD, the inclusion or exclusion of capacitive effects may not result in significant changes in current. However, as the input voltage frequency increases, the capacitive effects become more pronounced, potentially affecting the overall device behavior (detailed later). To more effectively study the resistive switching mechanisms in these devices, we examined the impedance changes over time, as shown in Fig. 3b and f. We opted to plot impedance to account for resistive, capacitive, and inertial effects, as opposed to the conventional approach of plotting resistance. As the voltage increases, vacancies in the BFO device and ions in DBMD migrate towards the Pt and Au electrodes, respectively, transitioning the device from a high impedance state (HIS) to a low impedance state (LIS) and vice versa.

Fig. 4
figure 4

The IV of (a) BFO and (c) DBMD devices for sinusoidal voltage of constant frequency and varying maximum voltage amplitude and their corresponding change in internal state shown in (b) and (d).

We analyze the particle transport by plotting the average mobility and drift velocity of vacancies or ions over time, as shown in Fig. 3d,h. During the part of the cycle with increasing positive voltage, the particle velocity increases until the activation energy is relatively low, while the mobility remains moderate. For a decreasing voltage from 8.5 V to 0 V, the activation energy is more near the Pt electrode, so the drift velocity and the mobility are reduced. Conversely, for negative voltage, the mobility of vacancies increases by two orders of magnitude, as observed by Du et al.32. However, in DBMD, the mobility of ions does not increase significantly, and the velocity remains relatively stable. The activation energy for oxygen vacancy drift in BFO ranges from approximately 0.55 eV at the Au electrode to 0.76 eV near the Pt electrode due to the diffusion of Ti\(^{4+}\) ions into BiFeO\(_{3}\) layer20. Meanwhile, for oxygen ion drift in DBMD, it remains nearly constant at 0.76 eV across the \(\rm{Nb_{\rm x}O_{\rm y}}\) layer23. As a result, the velocity of ions in DBMD is significantly lower than that of vacancies in BFO, leading to lower mobility in DBMD compared to BFO.

The nonlinearity in memristive devices undergoes significant changes with variations in frequency; therefore, understanding the frequency-dependent behavior of such devices is crucial. For this, different IV curves of both devices are plotted in Figs. 4 and  6 for a sinusoidal input voltage of different amplitudes and frequencies. The following observations can be drawn from the three plots:

(a) For a constant frequency and an increasing maximum device voltage \((V_{\textrm{Device, max}})\), the hysteresis lobe area increases for BFO shown in Fig. 4a and DBMD in Fig. 4c23,47. This is because the device’s internal state, measured based on the position of oxygen vacancies in BFO (Fig. 4b) and oxygen ions in DBMD Fig. 4d, undergoes greater changes at higher voltages. As the voltage increases (decreases), the charged particles experience a greater (lesser) force, resulting in their drift toward the respective interfaces. This leads to an increase (decrease) in current and the difference between the low and high resistance states. However, this argument holds true only for the lower frequency range, a common feature observed in most memristive devices.

(b) For a constant \((V_{\textrm{Device, max}})\), as the frequency increases, the hysteresis loop area decreases as depicted in Figs. 5a and 6a23,47. This phenomenon occurs because the vacancies lack time to jump to a different lattice position and become confined in the same potential well. At lower frequencies, the slower response of the device allows more time for resistive switching mechanisms to manifest, resulting in a larger hysteresis area. As the frequency exceeds 10 Hz for BFO and 1 Hz for DBMD, the IV curves begin to exhibit behavior similar to that of a normal resistor. Moreover, the change in hysteresis area with frequency in memristive devices can be attributed to the dynamic interplay of capacitive and resistive effects. As the frequency increases, the capacitive reactance \((X_{\textrm{C}}=1/2\pi fC)\) decreases, the inductive reactance \((X_{\textrm{L}}=2\pi fL)\) increases, and vice versa. The impedance equation \(Z=R+j(X_{L}-X_{C})\) illustrates that capacitive and inductive reactances balance at certain frequencies, approaching a more resistive behavior. The behavior of memristive circuits changes from nonlinear to more or less linear resistor-like behavior as the operational frequency varies due to the varying contribution of resistive, capacitive, and inertia effects.

Fig. 5
figure 5

(a) The simulated IV curves of BFO obtained for a sinusoidal input voltage of 8.5 V with various frequencies, Frequency spectra of BFO corresponding to the IV curves depicted in Figure (a) showing (b) amplitude spectra and (c) phase spectra, (d) the attractors depict the internal state change of the device for different frequencies, plotted for five consecutive input voltage cycles. The legend for figure (a) applies to figures (b) and (c). Points in Figures (a) and (b) that are not immediately visible are superimposed.

Fig. 6
figure 6

(a) The simulated IV curves of DBMD obtained for a sinusoidal input voltage of 3 V with various frequencies, Frequency spectra of DBMD corresponding to the IV curves depicted in Figure (a) showing (b) amplitude spectra and (c) phase spectra, and (d) the attractors depict the internal state change of the device for different frequencies, plotted for five consecutive input voltage cycles. The legend for figure (a) applies to figures (b) and (c). Points in Figures (a) and (b) that are not immediately visible are superimposed.

(c) The presence of different effects in these devices has a substantial impact on the zero-crossing current in memristive devices when the frequency of the applied voltage changes. Figure 5a shows that the crossing points move further from the origin as the frequency increases9, and this effect becomes more pronounced with increasing voltage. As frequency increases, the capacitive current also increases due to the reduced capacitive reactance. This observation was previously made by Yarragolla et al.7. The battery effect in a circuit becomes more pronounced with increasing frequency. The battery effect, commonly linked to the existence of capacitive components, is characterized by the storage and release of charges even when there is no external voltage source. The increased capacitance with frequency is accompanied by a decrease in capacitive reactance, which improves the capacity to store charges. The observed increased capacitance leads to a more pronounced battery-like effect, where the capacitive component functions as a virtual battery, storing charges and impacting the circuit’s overall behavior. As a result, this is associated with a shift of the crossing point further away from the origin. Moreover, the effects of inertia also contribute to the shift in the crossing points. This has been explained in detail by Yarragolla et al.7. For a frequency of 10  Hz, the change in current is almost linear, and the non-zero crossing disappears.

To evaluate the presence of harmonics, we present the frequency spectra of the BFO and DBMD devices in Figs. 5b and 6b, respectively, corresponding to the IV curves shown in Figs. 5a and 6a. Both devices exhibit a consistent pattern in their amplitude spectra. At low frequencies, we observe a gradual reduction in spikes, indicating a decrease in the dominance of harmonic components in the signal. This phenomenon can be explained by the fact that the impedance obtained from resistive, capacitive, and inertial components exhibits less variation or better balance at lower frequencies. In other words, a uniform mixing of both even and odd harmonics is present at low frequencies leading to a uniform convergence of the amplitude spectrum. It is important to note that no resonances were observed in BFO and DBMD. However, it is possible that resonances may be present in other devices. Further investigation is required to confirm this possibility.

Moreover, the linear IV curves observed for frequencies >1 Hz for BFO and >0.05 Hz for DBMD suggest a predominance of resistive behavior due to the dominance of odd harmonics in the amplitude spectra. However, the irregular converging harmonics in the frequency spectrum could be possibly originating from capacitiveor inertia effects. At higher frequencies, the capacitive effects within devices become more pronounced, resulting in a capacitor-resistor-capacitor structure. In BFO, the nearly symmetric IV curves result in diminished or nullified even-order terms in the signal’s Taylor series expansion. As a result, odd-order harmonics dominate the spectrum, despite the presence of nonlinearities. However, for DBMD, the high-frequency IV curves exhibit slightly more symmetry compared to the low-frequency curves. This leads to non-uniform convergence of harmonics, with irregular dominance of even or odd harmonics as frequency increases. For higher frequencies of more than 10 Hz, the prevalence of odd harmonics becomes more apparent. This suggests a clear trend towards the dominance of odd harmonics. Therefore, the devices can be characterized as displaying linear resistor-like behavior at high frequencies and pronounced inherent nonlinear characteristics at low frequencies. Further investigation through experiments is needed to clarify the specific mechanisms contributing to these observed behaviors and their implications for device performance. Notably, although not for the devices described in this paper, a similar spectrum with such non-uniform converging harmonics has been observed for a Ge\(_2\)Se\(_3\) device experimentally13. This observation can now be proven to indicate that the occurrence of such non-uniform convergence of harmonics is not a measurement error but rather results from the various RLC effects that change with the frequency.

The phase plot of frequency spectra of BFO and DBMD are shown in Figs. 5c and 6c, respectively. At low frequencies, due to a balance between multiple frequencies, components such as resistive, capacitive, and inertia effects contribute to phase shifts ranging between \(0^{\circ }\) to \(360^{\circ }\). The wide range of phase angles, and not just the multiples of 90, suggests the mixing of even and odd harmonics at low frequencies, as observed in the amplitude spectrum. A more or less uniform and continuous spiral pattern indicates that the system exhibits nonlinear behavior with respect to phase shifts. Moreover, at higher frequencies, the phase shifts are limited to multiples of \(\pm \,90^{\circ }\), which could be due to the reduced capacitive reactance and increased inertia effects or inductive reactance. This results in phase shifts of even (odd) harmonics at \(\pm \,180^{\circ }\) and odd (even) harmonics at \(\pm \,90^{\circ }\) degrees for BFO (DBMD). From these observations, we believe that the intricate combination of device-specific characteristics, nonlinear effects, impedance dynamics, and material factors contributes to the distinct phase shift patterns observed in the memristive devices that are different from one another. For more insights, frequency spectrum plots at different \(V_{\textrm{Device, max}}\) are shown in Fig. S4 and Fig. S5 of the supplementary material.

To investigate the complex dynamics of memristive devices at various frequencies further, we conducted a detailed analysis of the phase-space attractor plots for both the BFO and DBMD devices. As shown in Fig. 5d for the BFO device and Fig. 6d for the DBMD device, we observed unique trajectories corresponding to five consecutive cycles of sinusoidal voltages. At lower frequencies, the phase-space trajectory quickly transitions from the initial conditions into a relatively stable orbit. However, as the frequency increases, we observe a sequence of trajectories typically associated with changes in initial conditions. Memristive devices exhibit a shift in internal state with each cycle due to the reduced response time of the particles at higher frequencies, which prevents them from returning to their original positions. This leads to a change in initial conditions for every cycle, and therefore we observe a horizontal shift in the attractors. At even higher frequencies, the device tends to exhibit linear IV curves, with the attractors displaying an absence of any noticeable pattern.

Furthermore, by subjecting memristive devices to a known input signal and analyzing the resulting output signal, one can calculate the total harmonic distortion (THD) as a measure of the distortion introduced by harmonics. Specific THD signatures based on the inherent nonlinear characteristics of different memristive devices or materials can provide a unique identifier. Variations in THD values can indicate differences in the structural or material properties of the memristive device, which contribute to its unique fingerprint. Using THD as a unique identifier for memristive devices enhances identification by introducing greater specificity and complexity to complement other characterization methods, such as IV curves and frequency spectrum analysis.

Fig. 7
figure 7

Total harmonic distortion in (a) BFO and (b) DBMD memristive device.

At lower frequencies, the interactions between resistive, capacitive, and inertia components are more, resulting in gradually reducing harmonics and higher. The higher THD is observed for both BFO and DBMD devices, as seen in Fig. 7. This is because, at lower frequencies, the reactive components (capacitive and inductive) have more time to affect the signal, leading to phase shifts and distortion. In other words, as mentioned above, there is an equal contribution from both even and odd harmonics. On the other hand, higher frequencies exhibit reduced nonlinear effects, and the interactions between different elements tend to be less complex compared to lower frequencies. The reactive components have less time to affect the signal, resulting in a nearly linear resistor-like response with lower THD.

The preceding discussion indicates that the frequency spectra of memristive devices can function as a fingerprint, similar to the well-established IV curves that are critical for device identification and characterization. This observation enhances our comprehension of the nonlinear behavior of these devices. Engineers can use the frequency-dependent behavior to improve device performance, gain insights into device behavior, and implement neuromorphic functionalities such as pattern recognition, memory, and learning. Fourier analysis decomposes the current response into frequency components, which can identify specific patterns within the signal, as shown in Figs. 5b,c and 6b,c. These features can be used for machine learning algorithms to classify different patterns.

The frequency response of memristive devices can also be applied in the hardware security domain to detect tampering. Any discrepancies in the response would indicate that the device has been tampered with. Additionally, the frequency response of a memristive device can be used to generate random numbers. This is possible because the frequency response of a memristive device is inherently nonlinear, as shown in Figs. 5 and 6. By applying a periodic input signal to the device and observing the output signal, which is the device’s response, one can derive a sequence of random numbers. The stochastic and nonlinear nature of the device collectively ensures that the generated sequence of random numbers is unpredictable and statistically random. A detailed analysis of the statistical properties, e.g., true randomness, remains for future work.

Conclusion

This paper explores the nonlinear behavior of BFO and DBMD devices using Fourier analysis, which is crucial for applications such as neuromorphic computing and hardware security. A physics-based compact model based on the cloud-in-a-cell scheme is used to investigate the simultaneous presence of resistive, capacitive, and inductive effects. The capacitance arises from the change in depletion layer width at the Schottky contacts, tunnel barrier, and within the oxide due to the movement of ions or vacancies. Inductive effects occur due to the inertia of the movable defects. The IV curves show that capacitive effects have a significant impact on the resistive switching of the BFO device, resulting in non-zero crossing hysteresis. In contrast, DBMD’s behavior is less affected due to its lower capacitance. The frequency-dependent IV curves of both devices exhibit decreasing hysteresis at higher frequencies, approaching linear resistor-like behavior. However, the amplitude spectrum reveals increased nonlinearity at low frequencies and uniform convergence of harmonics. Meanwhile, for high frequencies, the dominance of odd harmonics indicates reduced nonlinear behavior observed from the patternless or nearly no change in internal state attractors due to reduced time for the particles to react. The corresponding phase plots show spiral patterns at low frequencies with randomly varying angles indicating the mixing of different harmonics, while for high frequencies, the phase changes only as multiples of 90 degrees. Based on the observations from this study, we propose using frequency spectra as a fingerprint in addition to conventional IV curves to better understand nonlinear dynamics.

Outlook

Building on the insights gained from the proposed model in this manuscript, future work will aim to perform circuit simulations to further explore and enhance our understanding of the applications of these devices in neuromorphic computing and hardware security. Given that the proposed model is a distributed model, we plan to couple it with LTSPICE using the pyltspice Python library. Additionally, data-driven algorithms such as Sparse Identification of Nonlinear Dynamics (SINDy) will be employed to produce a desired layout for the simulation of multiple memristors in a crossbar architecture. This approach is essential for performing advanced neuromorphic or hardware security-related circuit simulations.

Methods

Simulations

An in-house model developed using C and python programming language. The codes developed and implemented are currently research codes that are not yet ready to be used by non-experts.