Next Article in Journal
Novel SiC Trench MOSFET with Improved Third-Quadrant Performance and Switching Speed
Previous Article in Journal
RC-Effects on the Oxide of SOI MOSFET under Off-State TDDB Degradation: RF Characterization and Modeling
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Compact Memristor Model Based on Physics-Informed Neural Networks

Department of System Semiconductor Engineering, Sangmyung University, Cheonan 31066, Republic of Korea
*
Author to whom correspondence should be addressed.
Micromachines 2024, 15(2), 253; https://doi.org/10.3390/mi15020253
Submission received: 28 December 2023 / Revised: 1 February 2024 / Accepted: 7 February 2024 / Published: 8 February 2024
(This article belongs to the Section D1: Semiconductor Devices)

Abstract

:
Memristor devices have diverse physical models depending on their structure. In addition, the physical properties of memristors are described using complex differential equations. Therefore, it is necessary to integrate the various models of memristor into an unified physics-based model. In this paper, we propose a physics-informed neural network (PINN)-based compact memristor model. PINNs can solve complex differential equations intuitively and with ease. This methodology is used to conduct memristor physical analysis. The weight and bias extracted from the PINN are implemented in a Verilog-A circuit simulator to predict memristor device characteristics. The accuracy of the proposed model is verified using two memristor devices. The results show that PINNs can be used to extensively integrate memristor device models.

1. Introduction

The memristor was first proposed by L. Chua in the context of traditional passive devices such as resistors (R), inductors (L), and capacitors (C). This is described as the interaction between electric charge and magnetic flux [1]. The conventional von Neumann architecture faces challenges such as high-power consumption and low computing speed. Memristors can serve as integral components in neuromorphic computing to overcome these problems [2]. Recently, memristors have been the focus of significant research, particularly in their applications in various fields such as the study of non-volatile CMOS memristors [3]. Furthermore, there is active discussion on research utilizing Hopfield neural networks (HNNs) and heterogeneous discrete neural networks (HDNNs) that consider synaptic behavior [4,5].
A memristor is a resistive and non-volatile memory that changes state when a voltage is applied [6]. Essentially, a memristor device has a two-terminal metal/insulator/metal (MIM) sandwich structure [7]. In addition, memristors have various switching mechanisms depending on the material and structure such as filament formation/rupture [8], transition by amorphous/crystalline phase change [9], reversal of ferroelectric polarization direction [10], current-induced magnetization [11], etc. The physical analysis of memristors with such nonlinearity and complexity is very difficult and time-consuming [12]. The memristor I–V characteristics are described with a hysteresis curve depending on the on/off state, which, in mathematical terms, has the form of a differential equation [13]. Memristor devices have diverse and complex models depending on their structure, and there are various differential equations to solve them. In order to develop a comprehensive memristor model, researchers have tried building the framework of memristor models such as window function modification [14], hybrid memristor memory [15], capacitive connections of memristors [16], and tantalum oxide memristor models [17]. It is, therefore, not surprising that we need to unify various types of memristor models [18,19,20] for device and circuit simulators.
Solving differential equations based on traditional numerical methods, such as structural modeling of memristors and the memristor model of Messaris et al., requires significant time and effort [21,22,23,24,25,26]. To replace traditional numerical methods, the long short-term memory (LSTM) neural network methodology, a highly accurate model, is used to describe the hysteresis phenomenon of memristors. However, it has the disadvantage of having to consider past time and is more complex than the traditional multi-layer perceptron (MLP) model [27]. Moreover, the study on memristor-based neural networks utilizing recurrent neural network (RNN) [28] demonstrates excellent performance in data prediction. Nonetheless, the structure of the neural network is highly complex.
This study proposes a methodology to solve the difficult and complex differential equations of a memristor with a physics-informed neural network (PINN). PINN is an artificial neural network (ANN) for numerically solving differential equations and has a more intuitive and simpler structure than the traditional LSTM model. It can also obtain solutions to differential equations faster and more accurately than traditional models [29,30,31]. PINN can be used to predict the I–V characteristics of a memristor and extract the weight and bias of the predicted function. The neural network incorporating extracted weights and biases is implemented with Verilog-A for circuit validation. For more accurate verification, we use two memristor models. The equation for the conductance of a memristor device consists of differential equations. This implies that various differential equations exist for different structural models. PINN provides a direct and easy solution of structure-dependent physics-based differential equations. Consequently, we validate that the PINN methodology is applicable for integrating these diverse models, which has not been explored in previous memristor research. In Verilog-A, the application of the extracted weights and biases demonstrates the potential of the circuit simulator. As a result, this methodology allows for the compact modeling of various memristor devices. Additionally, it can be applied to the study of various devices that require physical analysis and integrated modeling. In this study, compact modeling has the advantage that each of the different model equations can be easily analyzed using one unified modeling technique. Accordingly, it reduces the time and cost required to construct the physical modeling of new devices.
In this work, Section 2 introduces memristor behavior and resistive state characteristics depending on voltage and time. Furthermore, we describe the model normalization procedure in PINN training. Section 3 details the PINN method, including the loss function and configuration of the neural networks. Section 4 presents the simulation process using the PINN methodology. In this section, we also illustrate the results of circuit simulator implementation in Verilog-A. Finally, Section 5 concludes the paper.

2. Physics Based Memristor Models

There are many different types of physics-based memristor models. The memristor behavior and resistive state characteristics depend on voltage and time. Moreover, equations for memristors are expressed in various forms. In this section, two memristor models are employed to develop a unified memristor model. The types of models are given using the generalized mean metastable switching memristor (GMMS) model [21,22] and the memristor model of Messaris et al. [23,24]. The GMMS model and the Messaris et al. model are expressed as differential equations for conductance. The GMMS model, a typical memristor model from Knowm Inc. (Santa Fe, NM, USA), has been validated for many years. Additionally, the Messaris et al. model is described as a representative memristor model that divides conductance into negative and positive values. Various memristor models, such as the HP model [13], the VTEAM model [32], the Stanford model [33], and others, are expressed in various formulations which are all described in the format of differential equations. This implies that PINN can solve any model represented as a differential equation. Therefore, we can use the two models to achieve a compact memristor model that covers a wide range of memristor devices.

2.1. Generalized Mean Metastable Switch (GMMS) Memristor Model

The variation of the memristor state f with time and voltage in the GMMS model can be described using a nonlinear ordinary differential equation (ODE), as represented by Equation (1). A V and B V are expressed by Equations (2) and (3), respectively [21,22].
u V ,   t = d f V , t d t 1 τ A V 1 f V , t B V f V , t
A V = 1 1 + e V V O N / V t
B V = 1 1 1 + e ( V V O F F ) / V t
where τ is the memristor time constant, V t = k T / q ( q = 1.602 × 10 19 , k = 1.381 × 10 23 , T = 298.15   K ), and V , t are voltage and time, respectively. V O N and V O F F are the switching threshold voltages of the low resistance state and high resistance state, respectively. The conductance of a memristor device with a basic structure depends on the voltage and current applied externally. The memristor conductance G f , V and current I by Equation (1) are expressed as follows [21,22]
I = G f , V V ,             G ( f , V ) = f ( V , t ) R O N + 1 f ( V , t ) R O F F
where R O N and R O F F are the resistors in the on/off state.

2.2. Memristor Model of Messaris et al.

The variation of the resistance ( R ) with time and voltage in the memristor model of Messaris et al. is expressed as follows [23,24]:
d R ( V ,   t ) d t = s p , n V g p , n V , t
where s p , n V is the switching sensitivity which depends on the applied voltage V and is represented by
s p , n V = a p ( 1 + e V / t p ) ,             f o r   V > 0   a n ( 1 + e V / t n ) ,             f o r   V 0
with the fitting parameters a p , a n , t p , and t n . p and n denote positive and negative voltage values, respectively. g p , n V , t is the window function which depends on time and voltage, and is given by [25,26]
g p , n V , t = ( r p R ) 2                                         f o r   V > 0 ( R r n ) 2                                       f o r   V 0
where r p ,   n ( V ) is the absolute threshold function represented by [23,25]
r p ,   n V = r p = r p 0 + r p 1 V                           f o r   V > 0 r n = r n 0 + r n 1 V                           f o r   V 0
with the fitting parameters r p 0 , r p 1 , r n 0 , and r n 1 . In particular, the parameters r p 1 and r n 1 determine the rate at which they change in response to the applied voltage. The current equation as a function of time and voltage can be given by
I R , V = A p ( 1 / R ) sinh (   B p V )                 f o r   V > 0   A n 1 / R sinh   B n V               f o r   V 0
where A p , A n , B p , and B n are fitting parameters [23].
For the memristor model of Messaris et al., the resistance range is R m i n R R m a x , where R m i n and R m a x represent the minimum and maximum values of resistance ( R ) . The normalization of the memristor model of Messaris et al. turns resistance to resistive state and is obtained by performing the min-max feature scaling method. The min-max feature scaling is used to convert values in the R range to [0,1] data. Furthermore, the normalization is helpful to prevent overfitting in neural network training. The memristor state f from the min-max feature scaling is represented as follows [34,35]:
f V , t = R R m i n R m a x R m i n = R R m i n R d e v
where R d e v is the deviation between the maximum and minimum values of R . Using Equations (5) and (10), the link between the memristor state and the resistance is expressed as follows:
u V , t = d f V ,   t d t 1 R d e v s p , n V ( r p ,   n V R m i n R d e v f V ,   t ) 2
This normalization procedure not only significantly speeds up the computation but also reduces the error [34,35].

3. Physics-Informed Neural Network Model

The PINN is an artificial neural network designed to numerically solve physical laws described using general nonlinear partial differential equations [31]. PINN is developed to predict the behavior of systems according to physical laws even when data are scarce or incomplete. The neural network learns to enforce physical laws for given initial and boundary conditions, enabling accurate and efficient predictions. Moreover, it learns faster and operates effectively in complex systems compared to traditional numerical analysis methods. The memristor models of I–V characteristics produce hysteresis, which is represented using a complex differential equation [13]. Therefore, the physical modeling of the memristor is analyzed using PINN. In this section, we use PINN to learn the state differential equations corresponding to Equations (1) and (11) to analyze the dynamics of the memristor.
Given a function N w ,   b that has undergone PINN training, the final solution with the initial condition C can be represented as follows [29]:
f V , t = C + N ( w ,   b )
where w and b are the weight and the bias, respectively. The loss optimization function for a typical ANN is represented as follows:
L A N N = f V , t N ( w ,   b )
However, PINN training is conducted using unsupervised learning where no solution exists. The loss function ( L ) of PINN unsupervised learning can be expressed by
L = L O D E ,   A + L I C                         f o r   G M M S   m o d e l L O D E ,   B + L I C                         f o r   M e s s a r i s   m o d e l
where L O D E = ( 1 / N O D E ) i = 1 N O D E u ( V i , t i ) 2 signifies the mean square error (MSE) on the residuals of the ODE [29,31]. N O D E is the number of input data and L I C is denoted as MSE between the initial conditions for state training value at its coordinates. In the case of the GMMS model, L is computed using L O D E ,   A . For the Messaris et al. model, it is calculated using L O D E ,   B . L O D E ,   A represents the L O D E for the GMMS model calculated by using Equation (1), and L O D E ,   B corresponds to the L O D E for the Messaris model obtained by applying Equation (11). L O D E ,   A and L O D E ,   B are given by
L O D E , A     = 1 N O D E i = 1 N O D E d f V i , t i d t 1 τ A V i 1 f V i , t i B ( V i ) f V i , t i 2
L O D E , B = 1 N O D E i = 1 N O D E d f V i , t i d t 1 R d e v s p , n V i ( r p ,   n V i R m i n R d e v f V i , t i ) 2 2
and L I C for state f and training value f i ^ is represented by [29,30,31]
L I C = 1 N I C i = 1 N I C f V i ,   t i f i ^ 2
where N I C is the number of the initial condition [29,30,31].
The PINN structure and Verilog-A implementation are shown in Figure 1, in which the initial condition C = 0 for input data V = −0.2~0.2 and t = 0~0.1 and the ODE of Equation (1) are trained. Here, the hidden layer consists of two layers, each with 10 neurons. It uses the MLP neural network and is trained with a sigmoid function. Similarly, we can apply the same methodology to the memristor model of Messaris et al. It is trained with an initial condition C = 0 and the ODE of Equation (11) for input data V = −1~1 and t = 0~0.1. Furthermore, the hidden layer is composed of two layers, each with 20 neurons. The sigmoid function is used as the activation function for the hidden layer.
The weight and bias operations for each layer are represented by
h j ( 1 ) = i 1 1 + e ( w 1 i ( 1 ) V + w 2 i ( 1 ) t + b i ( 1 ) )
h j ( 2 ) = i j 1 1 + e w j i ( 2 ) h j ( 1 ) + b i ( 2 )
N w , b = j w j ( 3 ) h j ( 2 ) + b o u t ( 3 )
where h j ( k ) is the output of the j t h neuron in the k t h hidden layer. In MLP, the output of one hidden layer is passed to the next hidden layer input. First, the first hidden layer parameter configuration is as follows: w 1 i ( 1 ) is the i t h weight of input 1, w 2 i ( 1 ) is the i t h weight of input 2, and b i ( 1 ) is the i t h bias value. In the second hidden layer parameter configuration, w j i ( 2 ) is the i t h weight of the j t h neuron, and b i ( 2 ) is the i t h bias value. Finally, the output layer parameter configuration is as follows: w j ( 3 ) is the weight of the output layer j t h neuron, and b o u t ( 3 ) is the output layer bias value [36,37].

4. Results and Discussion

A PINN compact model is implemented using the two models described in Section 2. The training model of PINN is constructed using the python package SciANN [38]. The neural network is composed of two layers with 10 neurons and 20 neurons for each of the two models. The use of a simple neural network structure implies a significant reduction in computer execution time. Furthermore, the Verilog-A simulation takes a relatively short time as it operates simply with the weights and biases extracted from the neural network. The simulation process unfolds as follows: 1. Train the two models outlined in Section 2 through Python-based PINN learning. 2. Extract weight and bias values from the trained results. 3. Generate symbols in Verilog-A using the extracted weight and bias values. 4. Implement the circuit using the generated symbols. 5. Verify whether the physical characteristics obtained through traditional numerical analysis methods and PINN learning are identical. For GMMS model, the parameters required for training the GMMS model are provided in Table 1 [21].
The most difficult part of training the memristor state through PINN is insufficient training in regions where the time axis is close to 0 and the voltage axis is at inflection points. To increase the training accuracy on the time axis, we further divided the time input from 2000 intervals to 5000 intervals from 0 to 0.1. We also reduced the training rate from 0.1 to 0.001, which helped improve accuracy. Since this is unsupervised learning, the presented initial conditions must also be correct. When Equation (1) is trained by PINN, this can produce a memristor state as demonstrated in Figure 2. Figure 2a is the state described by the numerical solution data of Equation (1), and Figure 2b is the state produced from PINN training data. In the GMMS model, the memristor state approaches 1 as time and voltage increase.
Figure 3a,b show the error between Figure 2a,b, which are numerical solution data and PINN training data, respectively. The calculated maximum error is 0.018, and the MSE is 5 × 10 6 , giving a training accuracy of 98.5%.
The loss function is a measure of how well the neural network is performing during training. The loss function is calculated via Equations (14), (15) and (17). The loss function in Figure 4 shows a significant reduction in loss in the early epochs and is optimized by the optimization algorithm. Finally, a loss of 6 × 10 7 is obtained, indicating that learning is being performed very well.
The weights and biases are extracted through the PINN learning method. These values are used to predict the I–V characteristic curve by substituting them into Equations (18)–(20). To calculate the current and voltage, the conductance of the memristor was calculated first, as shown in Figure 5. The input of simulation is a sin waveform with an amplitude of 0.2 for 0.1 s at different frequencies 10 Hz, 100 Hz, and 1 kHz.
Figure 6 shows the I–V characteristic curves obtained from Verilog-A circuit simulation [23,39]. The dotted line represents the numerical solution data and the solid line represents the PINN training data. Figure 6a–c show the results when the input signals have a frequency of 10 Hz, 100 Hz and 1 kHz, respectively. Accurate I–V characteristic curves were predicted for input frequencies under various conditions. The current–voltage characteristics of the GMMS model can be influenced by variations in R O N and R O F F , as shown in Table 1. If R O N and R O F F decrease, the set current and reset current increase, respectively.
The simulation for the memristor model of Messaris et al. is performed. Table 2 presents the necessary parameters for training the memristor model of Messaris et al. [23].
The memristor model of Messaris et al. uses PINN to train the positive and negative regions, respectively. When the differential equations for resistance in the memristor model of Messaris et al. are solved using PINN, there is an issue with values becoming excessively large. This disrupts the proper progress of training in the neural networks. To address this issue, we proceed with training by applying the normalization method mentioned in Section 2. This method transforms resistance into an equation related to the resistive state. The resistive state in the positive region is illustrated in Figure 7. Figure 7a,b represent numerical solution data and PINN training data, respectively.
In the positive region, the error between the numerical solution data in Figure 7a and the PINN training data in Figure 7b is depicted in Figure 8. There are many inflection points, but the maximum error is very small at 0.001.
The resistive state in the negative region is depicted in Figure 9. Figure 9a represents the numerical solution data and Figure 9b represents the PINN training data.
Figure 10 shows the error between the numerical solution data and PINN training data in the negative region. The maximum error rate is 0.006. In contrast to the positive region, the negative region exhibits more inflection points.
The PINN training loss for the memristor model of Messaris et al. is depicted in Figure 11. Figure 11a,b represent the learning loss in the positive region and the negative region, respectively. The memristor model of Messaris et al. was set up with 1000 epochs and a learning rate of 0.01. The loss for the positive region and the negative region converges to the level of approximately 10 6 and 10 4 , respectively.
The simulation uses the same input as the GMMS model, consisting of a 10 Hz, 100 Hz, and 1 kHz sin waveform. The conductance can be calculated using the current equation of Equation (9) for the memristor model of Messaris et al., as illustrated in Figure 12. Other models [19] show the same magnitude of conductance in the positive and negative regions for a sin waveform input. However, the magnitude of the positive and negative regions is not equal due to the four fitting parameters given in Equation (9) of the memristor model of Messaris et al.
The I–V characteristic curve for the memristor model of Messaris et al. is depicted in Figure 13. The difference between the cases at 10 Hz and 100 Hz frequencies is not observed clearly. However, it is possible to analyze the differences by enlarging the I–V characteristic curve, as shown in the inset pictures of Figure 13. At 10 Hz, one hysteresis curve is generated, while the number of hysteresis curves at 100 Hz and 1 kHz is ten and one hundred, respectively. To verify accurate current predictions at high frequencies, the square pulses with a frequency of 1 MHz (pulse width 1   μ s ) are applied to the GMMS and Messaris models, as shown in Figure 14a,b. It can be observed that accurate current predictions are achieved even with high frequency square pulses.
Stochastic non-ideal properties of memristors, such as noise [40] and variability [41], can be modeled in the form of differential equations [42,43]. The methodology in this paper can facilitate the stochastic modeling of memristors.

5. Conclusions

To date, there has been much research on memristors, but no generic model has been proposed. In this study, we propose a methodology for training memristor state ODEs using the unsupervised learning of PINNs. This methodology has a simpler structure and better prediction performance than conventional neural networks. This can solve traditional memristor state ODEs that are complex to analyze numerically, which allows the integration of many existing memristor device models and enables a compact model for circuit simulator. Two models are presented to validate the memristor compact modeling methodology. The resistive states of the two models are analyzed using PINN learning. The trained data can be used to predict the physical properties of memristors with high accuracy. This proves that the memristor compact modeling methodology using PINN is reasonable. In addition to presenting a PINN-based compact model under ideal conditions, the inclusion of variability in the PINN memristor model is essential. Future research will include a PINN methodology for modeling non-ideal device characteristics such as device-to-device variability and cycle-to-cycle variability.

Author Contributions

Conceptualization, Y.L., K.K. and J.L.; methodology, J.L.; software, Y.L. and K.K.; validation, Y.L., K.K. and J.L.; writing—original draft preparation, Y.L. and K.K.; writing—review and editing, Y.L., K.K. and J.L.; visualization, Y.L. and K.K.; supervision, J.L.; project administration, J.L.; funding acquisition, J.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by green restoration Specialized Graduate Program through the Korea Environmental Industry & Technology Institute (KEITI) funded by the Ministry of Environment (MOE). This research was supported in part by the Basic Science Research Program through the National Research Foundation of Korea (NRF) funded by the Ministry of Education (No. 2022R1I1A3064285).

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Chua, L. Memeristor-the missing circuit element. IEEE Trans. Electron Devices 1971, 18, 507–519. [Google Scholar] [CrossRef]
  2. Tang, Z.; Sun, B.; Zhou, G.; Zhou, Y.; Cao, Z.; Duan, X.; Yan, W.; Chen, X.; Shao, J. Research progress of artificial neural systems based on memristors. Mater. Today Nano 2023, 25, 100439. [Google Scholar] [CrossRef]
  3. Deng, Q.; Wang, C.; Sun, J.; Sun, Y.; Jiang, J.; Lin, H.; Deng, Z. Nonvolatile CMOS Memristor, Reconfigurable Array, and Its Application in Power Load Forecasting. IEEE Trans. Ind. Inform. 2023, 1–12. [Google Scholar] [CrossRef]
  4. Yu, F.; Kong, X.; Yao, W.; Zhang, J.; Cai, S.; Lin, H.; Jin, J. Dynamics analysis, synchronization and FPGA implementation of multiscroll Hopfield neural networks with non-polynomial memristor. Chaos Soliton Fractals 2024, 179, 114440. [Google Scholar] [CrossRef]
  5. Ma, M.; Xiong, K.; Li, Z.; He, S. Dynamical behavior of memristor-coupled heterogeneous discrete neural networks with synaptic crosstalk. Chin. Phys. B 2024, 33, 028706. [Google Scholar] [CrossRef]
  6. Sarwar, S.S.; Saqueb, S.A.N.; Quaiyum, F.; Rashid, A.B.M.H.-U. Memristor-based non-volatile random access memory: Hybrid architecture for low power compact memory design. IEEE Access 2013, 1, 29–34. [Google Scholar] [CrossRef]
  7. Mohammad, B.; Jaoude, M.A.; Kumar, V.; Al Homouz, D.M.; Nahla, H.A.; Al-Qutayri, M.; Christoforou, N. State of the art of metal oxide memristor devices. Nanotechnol. Rev. 2016, 5, 311–329. [Google Scholar] [CrossRef]
  8. Zhang, Y.; Mao, G.Q.; Zhao, X.; Li, Y.; Zhang, M.; Wu, Z.; Wu, W.; Sun, H.; Guo, Y.; Wang, L.; et al. Evolution of the conductive filament system in HfO2-based memristors observed by direct atomic-scale imaging. Nat. Commun. 2021, 12, 7232. [Google Scholar] [CrossRef] [PubMed]
  9. Li, Y.; Wang, Z.; Midya, R.; Xia, Q.; Yang, J.J. Review of memristor devices in neuromorphic computing: Materials sciences and device challenges. J. Phys. D Appl. Phys. 2018, 51, 503002. [Google Scholar] [CrossRef]
  10. Yang, Y.; Lu, W. Nanoscale Resistive Switching Devices: Mechanisms and Modeling. Nanoscale 2024, 5, 10076–10092. [Google Scholar] [CrossRef]
  11. Ikeda, S.; Miura, K.; Yamamoto, H.; Mizunuma, K.; Gan, H.D.; Endo, M.; Kanai, S.; Hayakawa, J.; Matsukura, F.; Ohno, H. A perpendicular-anisotropy CoFeB–MgO magnetic tunnel junction. Nat. Mater. 2010, 9, 721–724. [Google Scholar] [CrossRef]
  12. Williams, R.S.; Pickett, M.D.; Strachan, J.P. Physics-based memristor models. In Proceedings of the 2013 IEEE International Symposium on Circuits and Systems (ISCAS), Beijing, China, 19–23 May 2013; pp. 217–220. [Google Scholar] [CrossRef]
  13. Strukov, D.B.; Snider, G.S.; Stewart, D.R.; Williams, R.S. The missing memristor found. Nature 2008, 453, 80–83. [Google Scholar] [CrossRef] [PubMed]
  14. Mladenov, V.; Kirilo, S. A memristor model with a modified window function and activation thresholds. In Proceedings of the 2018 IEEE International Symposium on Circuits and Systems (ISCAS), Florence, Italy, 27–30 May 2018; pp. 1–5. [Google Scholar] [CrossRef]
  15. Mladenov, V. Analysis and simulations of hybrid memory scheme based on memristors. Electronics 2018, 7, 289. [Google Scholar] [CrossRef]
  16. Mladenov, V.; Kirilo, S. Analysis of the mutual inductive and capacitive connections and tolerances of memristors parameters of a memristor memory matrix. In Proceedings of the 2013 European Conference on Circuit Theory and Design (ECCTD), Dresen, Germany, 8–12 September 2013; pp. 1–4. [Google Scholar] [CrossRef]
  17. Mladenov, V.; Kirilo, S. A modified tantalum oxide memristor model for neural networks with memristor-based synapses. In Proceedings of the 2020 9th International Conference on Modern Circuits and Systems Technologies (MOCAST), Bremen, Germany, 7–9 September 2020; pp. 1–4. [Google Scholar] [CrossRef]
  18. Joglekar, Y.N.; Wolf, S.J. The elusive memristor: Properties of basic electrical circuits. Eur. J. Phys. 2009, 30, 661–675. [Google Scholar] [CrossRef]
  19. Abdalla, H.; Pickett, M.D. SPICE Modeling of Memristors. In Proceedings of the 2011 IEEE International Symposium of Circuits and Systems (ISCAS), Rio de Janeiro, Brazil, 15–18 May 2011; pp. 1832–1835. [Google Scholar] [CrossRef]
  20. Strachan, J.P.; Torrezan, A.C.; Miao, F.; Pickett, M.D.; Yang, J.J.; Yi, W.; Medeiros-Ribeiro, G.; Williams, R.S. State dynamics and modeling of tantalum oxide memristors. IEEE Trans. Electron Devices 2013, 60, 2194–2202. [Google Scholar] [CrossRef]
  21. Ostrovskii, V.; Fedoseev, P.; Bobrova, Y.; Butusov, D. Structural and parametric identification of knowm memristors. Nanomaterials 2021, 12, 63. [Google Scholar] [CrossRef]
  22. Minati, L.; Gambuzza, L.V.; Thio, W.J.; Sprott, J.C.; Frasca, M. A chaotic circuit based on a physical memristor. Chaos Solitons Fractals 2020, 138, 109990. [Google Scholar] [CrossRef]
  23. Maheshwari, S.; Stathopoulos, S.; Wang, J.; Serb, A.; Pan, Y.; Mifsud, A.; Leene, L.B.; Shen, J.; Papavassiliou, C.; Constandinou, T.G.; et al. Design flow for hybrid cmos/memristor systems—Part i: Modeling and verification steps. IEEE Trans. Circuits Syst. I Regul. Pap. 2021, 68, 4862–4875. [Google Scholar] [CrossRef]
  24. Messaris, I.; Serb, A.; Stathopoulos, S.; Khiat, A.; Nikolaidis, S.; Prodromakis, T. A data-driven verilog-a reram model. IEEE Trans. Comput. Aided Des. Integr. Circuits Syst. 2018, 37, 3151–3162. [Google Scholar] [CrossRef]
  25. Messaris, I.; Nikolaidis, S.; Serb, A.; Stathopoulos, S.; Gupta, I.; Khiat, A.; Prodromakis, T. A TiO2 ReRAM parameter extraction method. In Proceedings of the 2017 IEEE International Symposium on Circuits and Systems (ISCAS), Baltmore, MD, USA, 28–31 May 2017; pp. 1–4. [Google Scholar] [CrossRef]
  26. Serb, I.M.A.; Stathopoulos, S.; Khiat, A.; Nikolaidis, S.; Prodromakis, T. A compact Verilog-A ReRAM switching model. arXiv 2017, arXiv:1703.01167. [Google Scholar]
  27. Lin, A.S.; Pratik, S.; Ota, J.; Rawat, T.S.; Huang, T.H.; Hsu, C.L.; Su, W.M.; Tseng, T.Y. A process-aware memory compact-device model using long-short term memory. IEEE Access 2021, 9, 3126–3139. [Google Scholar] [CrossRef]
  28. Sha, Y.; Lan, J.; Li, Y.; Chen, Q. A Physics-Informed Recurrent Neural Network for RRAM Modeling. Electronics 2023, 12, 2906. [Google Scholar] [CrossRef]
  29. Moradi, S.; Duran, B.; Azam, S.E.; Mofid, M. Novel Physics-Informed Artificial Neural Network Architectures for System and Input Identification of Structural Dynamics PDEs. Buildings 2023, 13, 650. [Google Scholar] [CrossRef]
  30. Karniadakis, G.E.; Kevrekidis, I.G.; Lu, L.; Perdikaris, P.; Wang, S.; Yang, L. Physics-informed machine learning. Nat. Rev. Phys. 2021, 3, 422–440. [Google Scholar] [CrossRef]
  31. Raissi, M.; Perdikaris, P.; Karniadakis, G.E. Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. J. Comput. Phys. 2019, 378, 686–707. [Google Scholar] [CrossRef]
  32. Kvatinsky, S.; Ramadan, M.; Friedman, E.G.; Kolodny, A. VTEAM: A general model for voltage-controlled memristors. IEEE Trans. Circuits Syst. II Express Briefs 2015, 62, 786–790. [Google Scholar] [CrossRef]
  33. Di Marco, M.; Forti, M.; Pancioni, L.; Innocenti, G.; Tesi, A.; Corinto, F. Oscillatory circuits with a real non-volatile Stanford memristor model. IEEE Access 2022, 10, 13650–13662. [Google Scholar] [CrossRef]
  34. Sola, J.; Sevilla, J. Importance of input data normalization for the application of neural networks to complex industrial problems. IEEE Trans. Nucl. Sci. 1997, 44, 1464–1468. [Google Scholar] [CrossRef]
  35. Bhanja, S.; Das, A. Impact of data normalization on deep neural network for time series forecasting. arXiv 2018, arXiv:1812.05519. [Google Scholar]
  36. Narayan, S. The generalized sigmoid activation function: Competitive supervised learning. Inf. Sci. 1997, 99, 69–82. [Google Scholar] [CrossRef]
  37. Karlik, B.; Olgac, A.V. Performance analysis of various activation functions in generalized MLP architectures of neural networks. Proc. Int. J. Art. Intel. Exp. Syst. 2013, 1, 111–122. [Google Scholar]
  38. Haghihat, E.; Juanes, R. SciANN: A Keras/Tensorflow wrapper for scientific computations and physics-informed deep learning using artificial neural networks. Comput. Methods Appl. Mech. Eng. 2021, 373, 113552. [Google Scholar] [CrossRef]
  39. Kvatinsky, S.; Talisveyberg, K.; Fliter, D.; Friedman, E.G.; Kolodny, A.; Weiser, U.C. Verilog-A for Memristor Models; CCIT Report; Department of Electrical Engineering, Technion—Israel Institute of Technology: Haifa, Israel, 2012; p. 801. [Google Scholar]
  40. Ambrogio, S.; Balatti, S.; Cubeta, A.; Calderoni, A.; Ramaswamy, N.; Ielmini, D. Statistical fluctuations in HfOx resistive-switching memory: Part I-set/reset variability. IEEE Trans. Electron Devices 2014, 61, 2912–2919. [Google Scholar] [CrossRef]
  41. Roldán, J.B.; Miranda, E.; Maldonado, D.; Mikhaylov, A.N.; Agudov, N.V.; Dubkov, A.A.; Koryazhkina, M.N.; González, M.B.; Villena, M.A.; Poblador, S.; et al. Variability in resistive memories. Adv. Intell. Syst. 2023, 5, 2200338. [Google Scholar] [CrossRef]
  42. Al-Shedivat, M.; Naous, R.; Cauwenberghs, G.; Salama, K.N. Memristors empower spiking neurons with stochasticity. IEEE J. Emerg. Sel. Top. Circuit Syst. 2015, 5, 242–253. [Google Scholar] [CrossRef]
  43. Naous, R.; Al-Shedivat, M.; Salama, K.N. Stochasticity modeling in memristors. IEEE Trans. Nanotechnol. 2016, 15, 15–28. [Google Scholar] [CrossRef]
Figure 1. PINN and Verilog-A implementation methodology. The hidden layer computation is performed via weight and bias for the input data V and t. The weight and bias obtained by PINN are implemented into a Verilog-A script.
Figure 1. PINN and Verilog-A implementation methodology. The hidden layer computation is performed via weight and bias for the input data V and t. The weight and bias obtained by PINN are implemented into a Verilog-A script.
Micromachines 15 00253 g001
Figure 2. Memristor state. (a) Numerical solution data and (b) PINN training data. The state changes according to the input data V = −0.2~0.2 and t = 0~0.1. The state change is represented by a value between 0 and 1.
Figure 2. Memristor state. (a) Numerical solution data and (b) PINN training data. The state changes according to the input data V = −0.2~0.2 and t = 0~0.1. The state change is represented by a value between 0 and 1.
Micromachines 15 00253 g002
Figure 3. Error between numerical solution data and PINN training data. (a) Three-dimensional plot and (b) two-dimensional plot. The error is largest at the point where the time axis is zero, as well as at the inflection point of the state function.
Figure 3. Error between numerical solution data and PINN training data. (a) Three-dimensional plot and (b) two-dimensional plot. The error is largest at the point where the time axis is zero, as well as at the inflection point of the state function.
Micromachines 15 00253 g003
Figure 4. History of PINN loss values. The learning rate and the number of iterations are fixed to 0.01 and to 1000, respectively. The loss function is computed up to 1000 epochs and converges at 6 × 10 7 .
Figure 4. History of PINN loss values. The learning rate and the number of iterations are fixed to 0.01 and to 1000, respectively. The loss function is computed up to 1000 epochs and converges at 6 × 10 7 .
Micromachines 15 00253 g004
Figure 5. The GMMS Model conductance. (a) Input signal of a 10 Hz sin wave with an amplitude of 0.2 V. (b) Input signal of a 100 Hz sin wave with an amplitude of 0.2 V. (c) Input signal of a 1 kHz sin wave with an amplitude of 0.2 V.
Figure 5. The GMMS Model conductance. (a) Input signal of a 10 Hz sin wave with an amplitude of 0.2 V. (b) Input signal of a 100 Hz sin wave with an amplitude of 0.2 V. (c) Input signal of a 1 kHz sin wave with an amplitude of 0.2 V.
Micromachines 15 00253 g005
Figure 6. Numerical solution data and PINN-predicted I–V characteristic curves from the GMMS model. (a) Input frequency at 10 Hz sin wave with an amplitude of 0.2 V. (b) Input frequency at 100 Hz sin wave with an amplitude of 0.2 V. (c) Input frequency at 1 kHz sin wave with an amplitude of 0.2 V.
Figure 6. Numerical solution data and PINN-predicted I–V characteristic curves from the GMMS model. (a) Input frequency at 10 Hz sin wave with an amplitude of 0.2 V. (b) Input frequency at 100 Hz sin wave with an amplitude of 0.2 V. (c) Input frequency at 1 kHz sin wave with an amplitude of 0.2 V.
Micromachines 15 00253 g006
Figure 7. Resistive state of the positive region in the memristor model of Messaris et al. (a) Numerical solution data and (b) PINN training data. The state changes according to the input data V = 0~1 and t = 0~0.1. The state change is represented by a value between 0 and 1.
Figure 7. Resistive state of the positive region in the memristor model of Messaris et al. (a) Numerical solution data and (b) PINN training data. The state changes according to the input data V = 0~1 and t = 0~0.1. The state change is represented by a value between 0 and 1.
Micromachines 15 00253 g007
Figure 8. Error rate between numerical solution data and PINN training data in the positive region in the memristor model of Messaris et al. (a) Three-dimensional plot and (b) two-dimensional plot. The error is largest at the point where the time axis is zero, as well as at the inflection point of the state function.
Figure 8. Error rate between numerical solution data and PINN training data in the positive region in the memristor model of Messaris et al. (a) Three-dimensional plot and (b) two-dimensional plot. The error is largest at the point where the time axis is zero, as well as at the inflection point of the state function.
Micromachines 15 00253 g008
Figure 9. Resistive state of the negative region in the memristor model of Messaris et al. (a) Numerical solution data and (b) PINN training data. The state changes according to the input data V = −1~0 and t = 0~0.1. The state change is represented by a value between 0 and 1.
Figure 9. Resistive state of the negative region in the memristor model of Messaris et al. (a) Numerical solution data and (b) PINN training data. The state changes according to the input data V = −1~0 and t = 0~0.1. The state change is represented by a value between 0 and 1.
Micromachines 15 00253 g009
Figure 10. Error rate between numerical solution data and PINN training data in the negative region in the memristor model of Messaris et al. (a) Three-dimensional plot and (b) two-dimensional plot. The error is largest at the point where the time axis is zero, as well as at the inflection point of the state function.
Figure 10. Error rate between numerical solution data and PINN training data in the negative region in the memristor model of Messaris et al. (a) Three-dimensional plot and (b) two-dimensional plot. The error is largest at the point where the time axis is zero, as well as at the inflection point of the state function.
Micromachines 15 00253 g010
Figure 11. History of PINN loss function results: (a) 1000 epochs in the positive region and (b) 1000 epochs in the negative region.
Figure 11. History of PINN loss function results: (a) 1000 epochs in the positive region and (b) 1000 epochs in the negative region.
Micromachines 15 00253 g011
Figure 12. The memristor model of Messaris et al. conductance. (a) Input signal of a 10 Hz sin wave with an amplitude of 1 V. (b) Input signal of a 100 Hz sin wave with an amplitude of 1 V. (c) Input signal of a 1 kHz sin wave with an amplitude of 1 V.
Figure 12. The memristor model of Messaris et al. conductance. (a) Input signal of a 10 Hz sin wave with an amplitude of 1 V. (b) Input signal of a 100 Hz sin wave with an amplitude of 1 V. (c) Input signal of a 1 kHz sin wave with an amplitude of 1 V.
Micromachines 15 00253 g012
Figure 13. I–V characteristic curves between numerical data and PINN data. (a) Input signal of a 10 Hz sin wave with an amplitude of 1 V. (b) Input signal of a 100 Hz sin wave with an amplitude of 1 V. (c) Input signal of a 1 kHz sin wave with an amplitude of 1 V.
Figure 13. I–V characteristic curves between numerical data and PINN data. (a) Input signal of a 10 Hz sin wave with an amplitude of 1 V. (b) Input signal of a 100 Hz sin wave with an amplitude of 1 V. (c) Input signal of a 1 kHz sin wave with an amplitude of 1 V.
Micromachines 15 00253 g013
Figure 14. The memristor model of I–V characteristic curve. (a) Input signal of a pulse wave with a frequency of 1 MHz in a GMMS model. (b) Input signal of a pulse wave with a frequency of 1 MHz in the memristor model of Messaris et al.
Figure 14. The memristor model of I–V characteristic curve. (a) Input signal of a pulse wave with a frequency of 1 MHz in a GMMS model. (b) Input signal of a pulse wave with a frequency of 1 MHz in the memristor model of Messaris et al.
Micromachines 15 00253 g014
Table 1. Parameters for PINN training of GMMS models.
Table 1. Parameters for PINN training of GMMS models.
V R O N ( Ω ) R O F F ( Ω ) V O N ( V ) V O F F ( V ) τ
0.2 V < 0.2 5000 100,000 0.2 0.1 0.0001
Table 2. Parameters for PINN training in the memristor model of Messaris et al.
Table 2. Parameters for PINN training in the memristor model of Messaris et al.
V a p , n t p , n r p 0 , n 0 r p 1 , n 1 R m i n ( Ω ) R m a x ( Ω )
V > 0 0.01 2.45 71.61 4370 4513 7000
V 0 0.52 2.72 6006 1279 4513 7000
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Lee, Y.; Kim, K.; Lee, J. A Compact Memristor Model Based on Physics-Informed Neural Networks. Micromachines 2024, 15, 253. https://doi.org/10.3390/mi15020253

AMA Style

Lee Y, Kim K, Lee J. A Compact Memristor Model Based on Physics-Informed Neural Networks. Micromachines. 2024; 15(2):253. https://doi.org/10.3390/mi15020253

Chicago/Turabian Style

Lee, Younghyun, Kyeongmin Kim, and Jonghwan Lee. 2024. "A Compact Memristor Model Based on Physics-Informed Neural Networks" Micromachines 15, no. 2: 253. https://doi.org/10.3390/mi15020253

APA Style

Lee, Y., Kim, K., & Lee, J. (2024). A Compact Memristor Model Based on Physics-Informed Neural Networks. Micromachines, 15(2), 253. https://doi.org/10.3390/mi15020253

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop