A Complex Model via Phase-Type Distributions to Study Random Telegraph Noise in Resistive Memories
Abstract
Spanish Ministry of Science, Innovation and Universities (FEDER program) MTM2017-88708-P TEC2017-84321-C4-3-R
Full text
mathematics Article A Complex Model via Phase-Type Distributions to Study Random Telegraph Noise in Resistive Memories Juan E. Ruiz-Castro 1,* , Christian Acal 1, Ana M. Aguilera 1and Juan B. Roldán2 Citation: Ruiz-Castro, J.E.; Acal, C.; Aguilera, A.M.; Roldán, J.B. A Complex Model via Phase-Type Distributions to Study Random Telegraph Noise in Resistive Memories. Mathematics 2021,9, 390. https://doi.org/10.3390/math9040390 Academic Editor: Antonio Di Crescenzo Received: 22 January 2021 Accepted: 10 February 2021 Published: 16 February 2021 Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. Copyright: © 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https:// creativecommons.org/licenses/by/ 4.0/). 1Department of Statistics and O.R. and Math Institute, University of Granada, 18071 Granada, Spain; [email protected] (C.A.); [email protected] (A.M.A.) 2Department of Electronics and Computing Technology, University of Granada, 18071 Granada, Spain; [email protected] *Correspondence: [email protected] Abstract: A new stochastic process was developed by considering the internal performance of macro-states in which the sojourn time in each one is phase-type distributed depending on time. The stationary distribution was calculated through matrix-algorithmic methods and multiple interesting measures were worked out. The number of visits distribution to a determine macro-state were analyzed from the respective differential equations and the Laplace transform. The mean number of visits to a macro-state between any two times was given. The results were implemented computationally and were successfully applied to study random telegraph noise (RTN) in resistive memories. RTN is an important concern in resistive random access memory (RRAM) operation. On one hand, it could limit some of the technological applications of these devices; on the other hand, RTN can be used for the physical characterization. Therefore, an in-depth statistical analysis to model the behavior of these devices is of essential importance. Keywords: phase-type distributions; Markov processes; RRAM; random telegraph noise; statistics 1. Introduction In several fields, such as computing and electronics engineering, it is of great interest to analyze complex devices with several macro-states that evolve by time. It is usual to consider Markov processes for this analysis, but in multiple occasions, the spent times in each macro-state are not exponentially distributed. In this context, a new approach is to consider that the spent time in each macro-state is phase-type (PH) distributed. In this case, it is assumed that each macro-state is composed of internal performance states that have a Markovian behavior. One interesting aspect is that the modeling of the stochastic process can only occur when the macro-state process can be observed. For this new process, the Markovianity is lost. A phase-type distribution is defined as the distribution of the absorption time in an absorbing Markov chain. These probability distributions constitute a class of distributions on the positive real axis, which seems to strike a balance between generality and tractability, thanks to its good properties. This class of distributions was introduced by Neuts [ 1 , 2 ] and allows the modeling of complex problems in an algorithmic and computational way. It has been widely applied in fields such as engineering to model complex systems [ 3 – 5 ], queueing theory [6], risk theory [7] and electronics engineering [8]. The good properties of PH distributions due to their appealing probabilistic arguments constitute their main feature of being mathematically tractable. Several well-known probability distributions, e.g., exponential, Erlang, Erlang generalized, hyper-geometric, and Coxian distributions, among others, are particular cases of PH. One of the most important PH properties is that whatever nonnegative probability distribution can be approximated as much as desired through a PH, accounting for the fact that the PH class is dense in the set of probability distributions on the nonnegative half-line [ 9 ]. It allows Mathematics 2021,9, 390. https://doi.org/10.3390/math9040390 https://www.mdpi.com/journal/mathematics
Mathematics 2021,9, 390 2 of 16 the consideration of general distributions through PH approximations. Exact solutions to many complex problems in stochastic modeling can be obtained either explicitly or numerically by using matrix-analytic methods. The main features of PH distributions are described in depth in [10]. A macro-state stochastic process is built here to model the behavior of different random telegraph noise (RTN) signals. Given that the behavior of the different macrostates (levels) is not exponentially distributed, we assume each level to be composed of multiple internal phases that can be related with other levels. We show that if the internal process, by considering internal states inside the macro-states, has a Markovian behavior, the process between levels is not. For the latter, the sojourn time in each level is phase-type distributed depending on the initial time. This fact is of great interest and gives us more information about the device’s internal process. Advanced statistical techniques are key tools to model complex physical and engineering problems in many different areas of expertise. In this context, a new statistical methodology is presented; we will concentrate in the study of resistive memories [ 11 , 12 ], also known as resistive random access memories (RRAMs), a subgroup of a wide class of electron devices named memristors [ 13 ]. They constitute a promising technology with great potential in several applications in the integrated circuit realm. Circuit design is a tough task because of the high number of electronic components included in integrated circuits, therefore, electronic design automation (EDA) tools are essential. These software tools need compact models that represent the physics of the devices in order to fulfil their role in aiding circuit design. Although there are many works in compact modeling in the RRAM literature [ 14 , 15 ], there is a lot to be done, in particular in certain areas related to variability and noise. Variability is essential in modeling due to the RRAM operation’s inherent stochasticity, since the physics is linked to random physical mechanisms [ 16 , 17 ]. Another issue of great importance in these devices is noise. Among the different types of noise, random telegraph noise is of great concern [ 18 ]. The disturbances produced by one or several traps (physical active defects within the dielectric) inside the conductive filament or close to it alter charge transport mechanisms and consequently, current fluctuations can occur (Figure 1) that lead to RTN [ 14 , 15 , 19 , 20 ]. This noise can affect the correct device operation in applications linked to memory-cell arrays and neuromorphic hardware [ 14 , 16 , 21 ], posing important hurdles to the use of this technology in highly scaled integrated circuits. Nevertheless, RTN fluctuations can also be beneficial, for instance, when used as entropy sources in random number generators, an employment of most interest in cryptography [22,23]. The application in this issue is addressed in the current work, in particular with the statistical description of RTN signals in RRAMs. This study, in addition to physically characterizing the devices, can be used for compact modeling and, therefore, as explained above, for developing the software tools needed for circuit design. Accounting for the aforementioned intrinsic stochasticity of these devices, the choice of a correct statistical strategy to attack this problem is essential in the analysis. In this respect, we use the PH distributions, which have already been employed to depict some facets of RRAM variability [24]; nonetheless, as far as we know, they have not been used in RTN analysis. In our study, we deal with devices whose structure is based on the Ni/HfO 2 /Si stack. The fabrication details, as well as their electric characterization, are given in [ 25 ]. RTN measurements were recorded in the time domain by means of an HP-4155B semiconductor parameter analyzer (Figure 1). The current fluctuation between levels (see the marked levels in red in Figure 1), ∆ I, and the spent time in each of the levels are key parameters to analyze. The associated time with the current low level is known as emission time ( τe ), which is linked to the time the active defect keeps a “captured” electron trapped until it releases it (through this time, it is said that the defect is occupied). On the other hand, the capture time (τc) represents the time taken to capture an electron by an empty defect.
Mathematics 2021,9, 390 3 of 16 Mathematics 2021, 9, 390 3 of 16 0123 5 6 7 8 9 10 11 12 13 14 0246810 5 6 7 8 9 10 τcτe Level 1 Current (nA) Time(s) ΔI Level 0 Level 2 Level 1 Level 0 Current (nA) Time(s) Figure 1. Current versus time trace for a Ni/HfO2/Si device in the high resistance state HRS, in which the RTN noise can clearly be seen. A two-level signal is shown; the two different current levels are marked with the corresponding current thresholds. Another RTN trace is shown in the inset, measured for the same device. Three current levels are seen in this case. The manuscript is organized as follows: in Section 2, the proposed statistical procedure is described; in Section 3, we deepen on the measures associated; and in Section 4, the number of visits to a determined macro-state is presented. The parameter estimation is unfolded in Section 5, and the application of the methodology developed here in Section 6. Finally, conclusions related to the main contributions of this work are presented in Section 7. 2. Statistical Methodology Different RTN signals have been employed here, such as the ones shown in Figure 1. We have determined the number of current levels in order to be able to calculate the emission and capture times for a certain time interval. The current thresholds (red lines in Figure 1) were chosen to allow the extraction algorithm to calculate the time intervals corresponding to the levels defined previously. In order to explain these issues, a new model is first built in transient and stationary regimes. 2.1. The Model We assume a stochastic process {X(t); t ≥ 0} with macro-state space { } , ,...,E=12 r . Each macro-state k, level k, is composed of nk internal phases or states denoted as k h i for h = 1,…,nk. We assume that the device internal performance is governed by a Markov process, {J(t); t ≥ 0}, with state space { } 12 112 2 11 1 ,..., , ,..., ,..., ,..., r rr nn n E iiii ii=, and with an initial distribution θ, and the following generator matrix expressed by blocks: 11 1 1 1 kr kk rrkrr = QQQ QQ QQQ Figure 1. Current versus time trace for a Ni/HfO 2 /Si device in the high resistance state HRS, in which the RTN noise can clearly be seen. A two-level signal is shown; the two different current levels are marked with the corresponding current thresholds. Another RTN trace is shown in the inset, measured for the same device. Three current levels are seen in this case. The manuscript is organized as follows: in Section 2, the proposed statistical procedure is described; in Section 3, we deepen on the measures associated; and in Section 4, the number of visits to a determined macro-state is presented. The parameter estimation is unfolded in Section 5, and the application of the methodology developed here in Section 6. Finally, conclusions related to the main contributions of this work are presented in Section 7. 2. Statistical Methodology Different RTN signals have been employed here, such as the ones shown in Figure 1. We have determined the number of current levels in order to be able to calculate the emission and capture times for a certain time interval. The current thresholds (red lines in Figure 1) were chosen to allow the extraction algorithm to calculate the time intervals corresponding to the levels defined previously. In order to explain these issues, a new model is first built in transient and stationary regimes. 2.1. The Model We assume a stochastic process {X(t); t ≥ 0} with macro-state space E={1, 2, . . . , r} . Each macro-state k , level k , is composed of n k internal phases or states denoted as ik h for h = 1, . . . ,n k . We assume that the device internal performance is governed by a Markov process, {J(t); t ≥ 0}, with state space E=i1 1, . . . , i1 n1,i2 1, . . . , i2 n2, . . . , ir 1, . . . , ir nr , and with an initial distribution θ , and the following generator matrix expressed by blocks: Q= Q11 · · · Q1k· · · Q1r ... . . .Qkk . . . ... Qr1· · · Qrk · · · Qrr where the matrix block Qij contains the transition intensities between the states of the macro-states from ito j.
Mathematics 2021,9, 390 4 of 16 Throughout this work, we will denote Qk as the matrix with zeros except the column matrix block kof Q , and Q−k as the matrix Q with zeros in the k-th block column. These matrices give the transition intensities of macro-state k and of any macro-state different to k, respectively. Thus: Qk= 0 . . . 0 Q1k0 . . . 0 . . . . . . . . .. . .. . . . . . . . . 0 . . . 0 Qrk 0 . . . 0 Q−k= Q11 . . . Q1,k−10Q1,k+1. . . Q1r . . . . . . . . .. . .. . . . . . . . . Qr1. . . Qr,k−10Qr,k+1. . . Qrr It can be seen that the following equality holds: Q=Qk+Q−k. Given the Q-matrix of the Markov process, the transition probability matrix for the process {J(t); t ≥ 0} is given by P (t) = exp{ Q t}. From this and from the initial distribution θ , the transient distribution at time tis given by (P{X(t) = i1 1 }, P{X(t) = i1 2 }, . . . , P{X(t) = ir nr }) = a(t) = θ·P(t). The order of this vector is 1 x ∑r i=1ni. The transition probabilities for the process {X(t); t ≥ 0} can be obtained from the transition probabilities of the Markov process {J(t); t ≥ 0}. If it is denoted as H ( · , · ) where the transition between macro-states i→jis given by: hij(s,t)=P{X(t)=j|X(s)=i}= ∑ h∈j ∑ k∈i P{J(t)=h|J(s)=k}P{J(s)=k} ∑ k∈i P{J(s)=k} = ∑ k∈i"ak(s)∑ h∈j pkh(t−s)# ∑ k∈i ak(s). This transition probability can be expressed in a matrix-algorithmic form as follows. Denoting by Ak a matrix of zeros with order ∑r i=1nix∑r i=1ni except the block corresponding to the macro-state k, which is the identity matrix, then: hij(s,t)=P{X(t)=j|X(s)=i}=a(s)AiP(t−s)Aj·e a(s)Ai·e where a (t) Aie is the probability of being in the macro-state i at time t, with e being a column vector of ones with an appropriate order. A similar reasoning can be done with the embedded jumping probability. Note that the matrix H is a stochastic matrix, and therefore it is a transition matrix of a Markov process. However, an important remark is that the Markov process related to the matrix H does not correspond to the process defined in this section. In fact, this process is non-homogeneous and not Markovian. 2.2. Stationary Distribution The stationary distribution for the process {X(t); t ≥ 0} can be calculated by blocks from the stationary distribution for the process {J(t); t ≥ 0}. It is well known that this distribution verifies the balance equations πQ= 0 and the normalization equation πe= 1. We denote πk as the block of π corresponding to the macro-state k . It is denoted as πke (k= 1,...,r) to the stationary distribution for the macro-state kof the process {X(t); t≥0}. The stationary distribution has been worked out by blocks in order to reduce the computational cost, according to the macro-states, and applying matrix-analytic methods.
Mathematics 2021,9, 390 5 of 16 As stated above, the stationary distribution verifies the following system: π1Q11 +π2Q21 +π3Q31 +· · · +πrQr1=0 π1Q12 +π2Q22 +π3Q32 +· · · +πrQr2=0 π1Q13 +π2Q23 +π3Q33 +· · · +πrQr3=0 · · · π1Q1r+π2Q2r+π3Q3r+· · · +πrQrr =0 π·e=1. It has been solved by using matrix-analytics methods, and the solution is given by πj=− j−1 ∑ i=1 πiRr−j+1 ij ;j=2, . . . , r where R1 ij =QijQ−1 jj for any i,j= 1, . . . , rwith i6=j Rr−j+1 ij =R1 ij +Hr−j+1 ij I+Hr−j+1 jj −1for 1 ≤i<j<rbeing Hr−j+1 ij =−∑ j<u1≤r Rr−u1+1 iu1R1 u1j+∑ j<u1<u2≤r Rr−u1+1 iu1Rr−u2+1 u1u2R1 u2j −∑ j<u1<u2<u3≤r Rr−u1+1 iu1Rr−u2+1 u1u2Rr−u3+1 u2u3R1 u3j +∑ j<u1<u2<u3<u4≤r Rr−u1+1 iu1Rr−u2+1 u1u2Rr−u3+1 u2u3Rr−u4+1 u3u4R1 u4j−. . . for 1 ≤i<j<r ±∑ j<u1<u2<···<ur−j≤r Rr−u1+1 iu1Rr−u2+1 u1u2· · · Rr−ur−2+1 ur−3ur−2R1 ur−2j ∓I{j<r−1 or i6=j}Rr−j 1,j+1Rr−j j+1,j+2· · · R1 r−1,rR1 rj. The vector π1is worked out as follows: π1=(1, 0)B(I+Hr 11)∗−1 Where, given a matrix A,A*is the matrix Awithout the last column, and: B=e−∑ j<u1≤r Rr−u1+1 iu1e+∑ j<u1<u2≤r Rr−u1+1 iu1Rr−u2+1 u1u2e−∑ j<u1<u2<u3≤r Rr−u1+1 iu1Rr−u2+1 u1u2Rr−u3+1 u2u3e +∑ j<u1<u2<u3<u4≤r Rr−u1+1 iu1Rr−u2+1 u1u2Rr−u3+1 u2u3Rr−u4+1 u3u4e−. . . ±∑ j<u1<u2<···<ur−j≤r Rr−u1+1 iu1Rr−u2+1 u1u2· · · Rr−ur−2+1 ur−3ur−2e. Finally, the stationary distribution of the process {X(t); t ≥ 0} is given by (π1·e,π2·e,· · · ,πr·e). Algorithm to calculate the stationary distribution Step 1. For i,j=1, . . . , rand i6=j Compute R1 ij Step 2. For j=r−1, . . . , 2 { For i= 1, . . . , j{ Compute Hr−j+1 ij } For i= 1, . . . , j{ Compute Rr−j+1 ij (i6=j)}} Step 3. Compute Hr 11 and B Step 4. Compute π1 Step 5. Compute π2, . . . , πrand π1·e, . . . , πr·e
Mathematics 2021,9, 390 6 of 16 Example. Case r = 4 Step 1. R1 12 =Q12Q−1 22 ;R1 13 =Q13Q−1 33 ;R1 14 =Q14Q−1 44 R1 21 =Q21Q−1 11 ;R1 23 =Q23Q−1 33 ;R1 24 =Q24Q−1 44 R1 31 =Q31Q−1 11 ;R1 32 =Q32Q−1 22 ;R1 34 =Q34Q−1 44 Step 2. H2 13 =−R1 14R1 43;H2 23 =−R1 24R1 43;H2 33 =−R1 34R1 43 R2 13 =R1 13 +H2 13I+H2 33−1;R2 23 =R1 23 +H2 23I+H2 33−1 H3 12 =−R2 13R1 32 −R1 14R1 42 +R2 13R1 34R1 42 H3 22 =−R2 23R1 32 −R1 24R1 42 +R2 23R1 34R1 42 R3 12 =R1 12 +H3 12I+H3 22−1 Step 3. H4 11 =−R3 12R1 21 −R2 13R1 32 −R1 14R1 41 +R3 12R2 23R1 31 +R3 12R1 24R1 31 +R2 13R1 34R1 41 −R3 12R2 23R1 34R1 41 B=e−R3 12 ·e−R2 13 ·e−R1 14 ·e+R3 12R2 23 ·e+R3 12R1 24 ·e+R2 13R1 34 ·e−R3 12R2 23R1 34 ·e Step 4. π1=(1, 0)hBI+H4 11∗i−1 Step 5. π2=−π1R3 12;π3=−π1R2 13 −π2R2 23;π4=−π1R1 14 −π2R1 24 −π3R1 34 3. Associated Measures Several associated measures, such as the sojourn time in each level (macro-state) and the number of visits to each macro-state by time, have been worked out. 3.1. Sojourn Time Phase-Type Distribution One interesting aspect to address at this point is the probability distribution of the sojourn time in a macro-state. It is well known that for the Markov process J(t), the sojourn time in any state is exponentially distributed. For the stochastic process X(t), it is different. We denote T(X(s)) as the random sojourn time in macro-state X(s) from time s. If the macro-state is known at time s, then: P{T(X(s)) >t|X(s)=i}=a(s)Ai·exp{AiQAit}·e a(s)Ai·e Therefore, the probability distribution of T(X(s))|X(s)=i , for any sis phase-type distributed for any swith representation a(s)Ai a(s)Ai·e,AiQAi . Obviously, this distribution is the same as b(s) b(s)·e,Qii , with b (s) being the vector θP(s) restricted to the states of the macro-state i. If the process {X(t); t ≥ 0} has reached the stationary regime, then, if the process is in macro-state i , the probability distribution of the sojourn time is PH with representation πAi πAi·e,AiQAi. 3.2. First Step Time It is well-known that the first step-time distribution for the process {J(t); t ≥ 0} from state l(out of macro-state k ) to a macro-state k is phase-type distributed with representation (θl,Q−2k) with θl=(0, . . . , 0, 1, 0, . . . , 0) , where the value 1 corresponds to state land Q−2k is the matrix Q with row and column blocks of zeros corresponding to the macro-state k . If we denote Th(s,k) as the first step time from macro state h , at time s, to macro-state k, then: P(Th(s,k)>t)= ∑ j∈k ∑ i∈h P(T(j)>t|J(s)=i)P(J(s)=i) ∑ i∈h P(J(s)=i) =a(s)Ah·exp{Q−2kt}·e a(s)Ahe.
Mathematics 2021,9, 390 7 of 16 4. Number of Visits to a Macro-State One interesting measure is the number of visits to a determined state between any two times sand t. We denote Nk(s,t) as the number of visits to the macro-state k from time sup to time t. We denote pk(n,s,t)as the matrix whose (i,j) element is: [pk(n,s,t)]ij =P{Nk(s,t)=n,J(t)=j|J(s)=i} =P{Nk(t−s)=n,J(t−s)=j|J(0)=i} =[pk(n,t−s)]ij. The probability matrix verifies the following differential equations: p0 k(n,t)=pk(n,t)Q−k+e Qkk+pk(n−1, t)Qk−e Qkk;n≥1, with initial condition pk(n, 0)= 0, with e Qkk a matrix of zeros, with the same order than Q , except for the matrix block Qkk. For n= 0: p0 k(0, t)=pk(0, t)Q−k+e Qkk pk(0, 0)=I where, from the last two expressions we have that: pk(0, t)=expnQ−k+e Qkkto To obtain the probability matrix, we use Laplace transforms. It is well known that given a locally integrable function f(t), its Laplace transform is defined as f∗(u)=R∞ 0e−ut f(t)dt . Therefore: up∗ k(0, u)−I=p∗ k(0, u)Q−k+e Qkk up∗ k(n,u)=p∗ k(n,u)Q−k+e Qkk+p∗ k(n−1, u)Qk−e Qkk;n≥1 Then: p∗ k(0, u)=huI−Q−k+e Qkki−1 p∗ k(n,u)=p∗ k(n−1, u)Qk−e QkkhuI−Q−k+e Qkki−1;n≥1 Thus, it can be proved that: p∗ k(n,u)=huI−Q−k+e Qkki−1An(u);n≥0 with A(u) being: A(u)=Qk−e QkkhuI−Q−k+e Qkki−1 Taking the inverse Laplace transform, the function pk(n,t) is achieved, and for the non-homogeneous Markov process {X(t); t≥0}, we have: P{Nk(n,s,t)=n,X(t)=j|X(s)=i}=θP(s)Aipk(n,t−s)Aj·e θP(s)Ai·e Therefore: P{Nk(s,t)=n}=θ·P(s)·pk(n,t−s)·e, for n=0, 1, 2, . . .
Mathematics 2021,9, 390 8 of 16 4.1. Expected Number of Visits to Determine a Macro-State The mean number of visits to the macro-state k can be obtained as follows. This measure is given by: E{Nk(t)}=θ· ∞ ∑ n=0 n·pk(n,t)·e=θ·Mk(t)·e From the differential equations above, we have: ∞ ∑ n=1 n·p0 k(n,t)= ∞ ∑ n=1 n·pk(n,t)Q−k+e Qkk+ ∞ ∑ n=1 n·pk(n−1, t)Qk−e Qkk ∞ ∑ n=1 n·p0 k(n,t)= ∞ ∑ n=1 n·pk(n,t)Q−k+e Qkk+ ∞ ∑ n=1 n·pk(n,t)Qk−e Qkk+P(t)Qk−e Qkk M0 k(t)=Mk(t)hQ−k+e Qkk+Qk−e Qkki+P(t)Qk−e Qkk M0 k(t)=Mk(t)Q+P(t)Qk−e Qkk Given that Qis a conservative matrix, then: M0 k(t)·e=P(t)Qk−e Qkk·e with initial condition Mk(0)= 0 if the initial state is not considered, or Mk(0)=Ak if the initial state is counted. Therefore, for the first and second cases, we have, respectively: E[Nk(t)] =θ·Mk(t)·e=θ·Zt 0P(u)duQk−e Qkk·e or E[Nk(t)] =θ·Ak·e+θ·Zt 0P(u)duQk−e Qkk·e 5. Parameter Estimation The likelihood function when the exact change time between macro-states is known is achieved. For a device lwe observe mltransition times, denoted as: 0=tl 0,tl 1,tl 2, . . . , tl ml−1,tl ml where the last time is a complete or a censoring time. The time tl a corresponds to the transition from xl a to xl a+1 . These macro-states are: xl 0,xl 1,xl 2, . . . , xl ml−1,xl ml. This device contributes to the likelihood function: likelihood function: Ll=αxl 0"ml−1 ∏ a=0 eQxl axl a(tl a+1−tl a)Qxl axl a+1τl#e where τlis 0 if the last time is a censoring time, and is 1 otherwise. When mindependent devices are considered: L= m ∏ l=1 Ll= m ∏ l=1 αxl 0"ml−1 ∏ a=0 eQxl axl a(tl a+1−tl a)Qxl axl a+1τl#e This function is maximized by considering that Qaa is a square sub-stochastic matrix whose main diagonal is negative and the rest are positive values, and Qab a matrix with positive elements with r ∑ b=1 Qabe=0 for any aand b.
Mathematics 2021,9, 390 9 of 16 Other log-likelihood function is given from the transition probabilities of the process log L= m ∑ l=1 ml−1 ∑ a=0 loghxl axl a+1tl a,tl a+1. 6. Application of the Developed Methodology We have made use of measurements of current-time traces in a unipolar RRAM. The RTN signals had an easy pattern, so different features of the device could be studied. Current traces showed, for instance, the number of current levels in the signal, and also the frequency at which each of these levels was active. The developed methodology allows the modeling of the internal states under an approach based on hidden Markov processes that produces the observed output (RTN signal measured). By analyzing the signals shown in Figure 1, we are able to determine these states and characterize them, probabilistically speaking, in order to understand their nature. It is possible to reproduce similar signals in case they are needed for a circuit simulation or physical characterization of the traps that help to generate the signals. Specifically, we are going to analyze the behavior of several different current-time traces (RTN25, RTN26, RTN27) that show RTN for the described devices in the introduction. In addition, a long (more than three hours with millions of measured data) RTN currenttime trace was measured and used here for the same device. Due to the fact that all signals come from devices with the same characteristics of fabrication, the difference between them lies in the applied voltage that produces the variations of electric current. Naturally, the measurement time for the long RTN was different. These measurements have previously been characterized in different ways [ 19 , 20 ]; however, in this new approach, the internal Markov chain that leads to the observed data set was identified, and the model, whose methodology is developed in this work, was estimated. In particular, in this application, it was shown that the short signals (RTN25, RTN26, and RTN27) had a Markovian internal behavior, whereas the developed new methodology was applied to the long RTN trace for its modeling. 6.1. Series RTN25-26-27 As stated above, the signals RTN25, RTN26, and RTN27 were produced by devices whose structure is based on the Ni/HfO 2 /Si stack. Nevertheless, different voltages were applied: 0.34 volts, 0.35 volts, and 0.36 volts, respectively. On the other hand, the measurement time was similar for each one of these series. Hidden Markov Models and the Latent Markov chain for RTN25/26/27 traces To study the number of possible latent levels hidden into the signals, we considered hidden Markov models (HMMs) [ 26 , 27 ]. Whereas in simple Markov models, the state of the device is visible to the observer at each time, in HMMs, only the output of the device is visible, while the state that leads to a determined output is hidden. Each state is associated with a set of transition probabilities (one per each state) defining how likely it is for the system, being in a given state at a given instant of time, to switch to another possible state (including a transition to the same state) at the successive instants of time. We analyzed different data sets for RTN25, RTN26, RTN27, and the hidden states from the corresponding signals were discriminated. The best fit was achieved for latent levels 2 and 3 for RTN25, RTN26, RTN27. Figure 2shows the original observed RTN signals and the corresponding latent levels given by the model for both cases. This analysis was performed using the depmixS4 package of R-cran [28].
Mathematics 2021,9, 390 16 of 16 16. Alonso, F.J.; Maldonado, D.; Aguilera, A.M.; Roldán, J.B. Memristor variability and stochastic physical properties modeling from a multivariate time series approach. Chaos Soliton Fract. 2021,143, 110461. [CrossRef] 17. Aguilera-Morillo, M.C.; Aguilera, A.M.; Jiménez-Molinos, F.; Roldán, J.B. Stochastic modeling of Random Access Memories reset transitions. Math. Comput. Simulat. 2019,159, 197–209. [CrossRef] 18. Simoen, E.; Claeys, C. Random Telegraph Signals in Semiconductor Devices; IOP Publishing: Bristol, UK, 2017. 19. González-Cordero, G.; González, M.B.; Jiménez-Molinos, F.; Campabadal, F.; Roldán, J.B. New method to analyze random telegraph signals in resistive random access memories. J. Vac. Sci. Technol. B 2019,37, 012203. [CrossRef] 20. González-Cordero, G.; González, M.B.; Morell, A.; Jiménez-Molinos, F.; Campabadal, F.; Roldán, J.B. Neural network based analysis of Random Telegraph Noise in Resistive Random Access Memories. Semicond. Sci. Tech. 2020,35, 025021. [CrossRef] 21. Grasser, T. Noise in Nanoscale Semiconductor Devices; Springer: Cham, Switzerland, 2020. 22. Wei, Z.; Katoh, Y.; Ogasahara, S.; Yoshimoto, Y.; Kawai, K.; Ikeda, Y.; Eriguchi, K.; Ohmori, K.; Yoneda, S. True random number generator using current difference based on a fractional stochastic model in 40-nm embedded ReRAM. In Proceedings of the 2016 IEEE International Electron Devices Meeting (IEDM), San Francisco, CA, USA, 3–7 December 2016. 23. Chen, X.; Wang, L.; Li, B.; Wang, Y.; Li, X.; Liu, Y.; Yang, H. Modeling Random Telegraph Noise as a Randomness Source and its Application in True Random Number Generation. IEEE Trans. Comput. Aided Des. 2016,35, 1435–1448. [CrossRef] 24. Acal, C.; Ruiz-Castro, J.E.; Aguilera, A.M.; Jiménez-Molinos, F.; Roldán, J.B. Phase-type distributions for studying variability in resistive memories. J. Comput. Appl. Math. 2019,345, 23–32. [CrossRef] 25. González, M.B.; Rafí, J.M.; Beldarrain, O.; Zabala, M.; Campabadal, F. Analysis of the Switching Variability in Ni/HfO2 -Based RRAM Devices. IEEE Trans. Device Mat. Reliab. 2014,14, 769–771. 26. Rabiner, L.R. A tutorial on hidden Markov models and selected applications in speech recognition. Proc. IEEE 1989 ,77, 257–286. [CrossRef] 27. Puglisi, F.M.; Pavan, P. Factorial Hidden Markov Model analysis of Random Telegraph Noise in Resistive Random Access Memories. ECTI Trans. Electr. Eng. Electron. Commun. 2014,12, 24–29. 28. Visser, I.; Speekenbrink, M. depmixS4: An R Package for Hidden Markov Models. J. Stat. Softw. 2010,36, 1–21. [CrossRef]