원시데이터 수집 시스템
선정목록으로

Compensating Circuit to Reduce the Impact of Wire Resistance in a Memristor Crossbar-Based Perceptron Neural Network

관련 수소연료전지 · (7) MEA(막전극접합체)

기본 정보

저자
  1. Son Ngoc Truong — Faculty of Electrical and Electronics Engineering, Ho Chi Minh City University of Technology and Education, Ho Chi Minh City 70000, Vietnam
DOI
10.3390/mi10100671
저널
Micromachines
발행년도
2019
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
9
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/mi10100671
토픽
Conducting polymers and applications
OpenAlex ID
W2979045010

평가 내용

관련도
관련
사업분야
수소연료전지 · (7) MEA(막전극접합체)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > MEA(막전극접합체)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Wire resistance in metal wire is one of the factors that degrade the performance of memristor crossbar circuits. In this paper, an analysis of the impact of wire resistance in a memristor crossbar is performed and a compensating circuit is proposed to reduce the impact of wire resistance in a memristor crossbar-based perceptron neural network. The goal of the analysis is to figure out how wire resistance influences the output voltage of a memristor crossbar. It emerges that the wire resistance on horizontal lines causes the neuron's output voltage to vary more than the wire resistance on vertical lines. More interesting, the voltage variation caused by wire resistance on horizontal lines increases proportionally to the length of metal wire. The first column has small voltage variation whereas the last column has large voltage variation. In addition, two adjacent columns have almost the same amount of voltage variation. Under these observations, a memristor crossbar-based perceptron neural network with compensating circuit is proposed. The neuron's outputs of two columns are put into a subtractor circuit to eliminate the voltage variation caused by the wire resistance. The proposed memristor crossbar-based perceptron neural network is trained to recognize the 26 characters. The proposed memristor crossbar shows better recognition rate compared to the previous work when wire resistance is taken into account. The proposed memristor crossbar circuit can maintain the recognition rate as high as 100% when wire resistance is as high as 2.5 Ω. By contrast, the recognition rate of the memristor crossbar without the compensating circuit decreases by 1%, 5%, and 19% when wire resistance is set to be 1.5, 2.0, and 2.5 Ω, respectively.

본문 35,199자

본문 펼치기
## _micromachines_ _Article_ # Compensating Circuit to Reduce the Impact of Wire Resistance in a Memristor Crossbar-Based Perceptron Neural Network Son Ngoc Truong Faculty of Electrical and Electronics Engineering, Ho Chi Minh City University of Technology and Education, Ho Chi Minh City 70000, Vietnam; sontn@hcmute.edu.vn; Tel.: +84-931-085-929 Received: 8 September 2019; Accepted: 1 October 2019; Published: 2 October 2019 [���������](http://www.mdpi.com/2072-666X/10/10/671?type=check_update&version=2) [�������](http://www.mdpi.com/2072-666X/10/10/671?type=check_update&version=2) Abstract: Wire resistance in metal wire is one of the factors that degrade the performance of memristor crossbar circuits. In this paper, an analysis of the impact of wire resistance in a memristor crossbar is performed and a compensating circuit is proposed to reduce the impact of wire resistance in a memristor crossbar-based perceptron neural network. The goal of the analysis is to figure out how wire resistance influences the output voltage of a memristor crossbar. It emerges that the wire resistance on horizontal lines causes the neuron’s output voltage to vary more than the wire resistance on vertical lines. More interesting, the voltage variation caused by wire resistance on horizontal lines increases proportionally to the length of metal wire. The first column has small voltage variation whereas the last column has large voltage variation. In addition, two adjacent columns have almost the same amount of voltage variation. Under these observations, a memristor crossbar-based perceptron neural network with compensating circuit is proposed. The neuron’s outputs of two columns are put into a subtractor circuit to eliminate the voltage variation caused by the wire resistance. The proposed memristor crossbar-based perceptron neural network is trained to recognize the 26 characters. The proposed memristor crossbar shows better recognition rate compared to the previous work when wire resistance is taken into account. The proposed memristor crossbar circuit can maintain the recognition rate as high as 100% when wire resistance is as high as 2.5 Ω. By contrast, the recognition rate of the memristor crossbar without the compensating circuit decreases by 1%, 5%, and 19% when wire resistance is set to be 1.5, 2.0, and 2.5 Ω, respectively. Keywords: memristor; crossbar array; wire resistance; synaptic weight; character recognition 1. Introduction Neuromorphic computing, inspired from biological perception, was introduced by C. Mead in the late 1980s [1]. It has been expected to become an alternative architecture to overcome the bottleneck of von Neumann computer architectures [1,2]. Neuromorphic computing refers to a hardware implementation of a brain-inspired system, which has the capabilities of parallel processing like a human brain. For realizing neuromorphic computing systems, various research activities, based on CPUs (Central Processing Units), GPUs (Graphics Processing Units), FPGAs (Field-Programmable Gate Arrays), analog circuits, memory circuits, etc., have been proposed in the past two decades [3–8]. These architectures are based on CMOS (Complementary-Metal-Oxide-Semiconductor) technology, which is approaching the end of their capabilities because scaling CMOS down faces several fundamental limiting factors stemming from electron thermal energy and quantum-mechanical tunneling [9,10]. The memristor crossbar array has been one of the promising candidates for realizing neuromorphic computing systems because crossbar architecture can be made with high density and low cost [11]. Memristor was postulated by Leon O. Chua in 1971 as the fourth basic circuit element and experimentally _Micromachines_ 2019, _10_ [, 671; doi:10.3390/mi10100671](http://dx.doi.org/10.3390/mi10100671) [www.mdpi.com/journal/micromachines](http://www.mdpi.com/journal/micromachines) _Micromachines_ 2019, _10_, 671 2 of 11 demonstrated by HP Lab in 2008 [12,13]. A memristor is a resistor with modifiable resistance, which makes it ideal for mimicking the synaptic plasticity of biological neurons [14]. The early memristor-based synaptic circuits are composed of memristors and CMOS transistors [15–17]. However, pure memristor crossbar arrays without CMOS devices seem to be more efficient in terms of their integration and power consumption [18–23]. Miao Hu et al. proposed a crossbar synaptic array that is composed of a plus and minus crossbar array representing plus- and minus-polarity connection matrices for analog neuromorphic computing [20]. Such a pure memristor crossbar array is very effective in realizing the bio-inspired systems in term of power consumption and area occupation. To reduce area and power consumption, S. N. Truong proposed a new memristor crossbar array architecture which is composed of a single memristor array and a constant-term circuit [21]. In a memristor array, some amount of voltage drop can be caused by interconnect resistance, also known as wire resistance along the row and the column lines [19,24–27]. Wire resistance degrades the performance of the circuit more seriously when the array size increases [25]. To mitigate the impact of wire resistance, several interesting schemes were proposed [24–27]. These schemes are effective when they are applied to a memristor crossbar array, in which memristors are used as binary switches between two distinct high and low resistance states (HRS and LRS, respectively). However, the impact of wire resistance in an analog memristor crossbar array for realizing the synaptic weight matrix was not fully considered. In this work, we propose a memristor crossbar array with a compensating circuit for implementing the analog synaptic array of a perceptron neural network. The impact of wire resistance is mitigated by compensating the voltage variation of two adjacent columns. In this work, the output voltages of columns are figured out with taking the existing of wire resistance into account. The mathematical analysis and the simulation result show that the output voltage of columns increase, which is caused by the amount of voltage lost from wire resistance. The column close to the first one has a small variation of voltage, compared to the one far from the first column. From these observations, we propose a compensating circuit to mitigate the voltage variation caused by the wire resistance in a memristor crossbar array. 2. Materials and Methods Figure 1 shows an interesting memristor array circuit for implementing the synaptic weight matrix of a perceptron neural network [21]. A single memristor array and a constant-term circuit are used for realizing the negative and positive synaptic weights, instead of using two complementary crossbar arrays [20,21]. In Figure 1, gj,k is the memristor’s conductance at the crossing point between the _j_ th row and the kth column. VIN,j is the input voltage applied to the _j_ th row. VC,k is the column-line voltage on the _k_ th column. The column line, VC,F, is added in Figure 1 instead of using another memristor array [21]. The column line, VC,F, is connected to the inputs, from VIN,1 to VIN,m. In Figure 1, VC,F enters GF that constitutes an inverting OP amp with the negative feedback resistor, RF1. The output voltage of GF is VF that is connected to all the column lines from VC,1 to VC,n via RF2, as shown in Figure 1. By applying Kirchhoff current law to the column line, VC,F, we can calculate VF and VO,k with Equations (1) and (2). VF = − m _j_ =1 <u>RF1</u> RB VIN, _j_ . (1) R0 · g _j_, _k_ - VIN, _j_ VF + <sup><u>R0</u></sup> RF2 VO, _k_ = −   m  (2) . _j_ =1 If we choose RF1 = RF2 and combining Equation (1) with Equation (2), the following Equation (3) can be obtained [21]. _Micromachines_ 2019, _10_, 671 3 of 11  VO, _k_ = −  �R0 · g _j_, _k_ - <sup><u>R0</u></sup> ~~RB~~ m _j_ =1 �R0 · g _j_, _k_ - <sup><u>R0</u></sup> VIN, _j_  (3) . - If - R0 · g _j_, _k_ - R <sup><u>R</u></sup> <u>B</u> <sup><u>0</u></sup> is defined as a synaptic weight of the _j_ th row and _k_ th column, w _j_, _k_, we can rewrite Equation (3) with Equation (4). If �R0 · g _j_, _k_ - R <sup><u>R</u></sup> <u>B</u> <sup><u>0</u></sup> RB VO, _k_ = m _j_ =1 w _j_, _k_ VIN, _j_, (4) R1B <sup>~~−~~</sup> ~~M~~ <u>1</u> _j_, _k_ ~~.~~ = R0 where w _j_, _k_ = R0 - <u>1</u> ~~R~~ B <sup>−</sup> <sup>g</sup> _j_, _k_ Figure 1. The memristor-based crossbar architecture with a single memristor array and a constant-term circuit for realizing the synaptic matrix of a perceptron neural network [21]. Equation (4) is used for calculating the output voltage of the _k_ th column. The output of each column is a summation of the weighted inputs, hence each column works as a perceptron neuron. In Equation (4), M _j,k_ is the memristance value of the crossing point between the _j_ th row and _k_ th column. RB is a constant. The synaptic weight, w _j,k_, can be decided to be either negative or positive by adjusting the memristance, M _j,k_ . The output of the perceptron neuron is decided by a threshold function which produces 0 or 1. By adding the comparator to the output voltage, VO, _k_, we can decide if the neuron’s output of the _k_ th column, OUT _k_, should be activated or not. OUT _k_ = - 1, if VO, _k_ ≥ VREF . (5) 0, if VO, _k_ < VREF In previous work, the impact of wire resistance is ignored. However, in the crossbar array, the voltage drop along column and row lines cannot be omitted [19,24–27]. It becomes more serious when the array size increases [24]. The wire resistance between two adjacent junctions is modeled by a small-value resistor, r, as shown in Figure 2. _Micromachines_ 2019, _10_, 671 4 of 11 _V1(n)_ _<u>VIN,1</u>_ _<u>VIN,2</u>_ _<u>VIN,j</u>_ _<u>VIN,m</u>_ RB RB RB RB _V1(1)_ _V1(k)_ _r_ _r_ _r_ _r_ _g1,k_ _r_ _k1_ _<u>r</u>_ _k2_ _r_ _kj_ _r_ RB _b1_ _g1,k_ _<u>r</u>_ _r_ _r_ RF2 _<u>VIN,1</u>_ _<u>VIN,2</u>_ _<u>VIN,j</u>_ _<u>VIN,m</u>_ _g2,k_ _g1,n_ _g2,n_ RB _b2_ _g2,k_ _r_ _<u>Vj(1)</u>_ _<u>Vj(k)</u>_ _Vj(n)_ _r_ _r_ _r_ _gm,k_ _gj,k_ _gj,n_ RB _bj_ _gj,k_ _r_ _r_ _r_ _bm_ _gm,k_ _r_ RB _b_ _r_ RF2 _r_ _gm,n_ RF2 _km_ _r_ _b_ _k_ _GF_ _Gk_ _VF_ _VO,k_ ### (a) _R0_ _GF_ _Gk_ _VF_ _VO,k_ ### (b) _R0_ _Gn_ _VO,n_ _R0_ Figure 2. Wire resistance between two adjacent junctions is modeled by a small-value resistor, r, connecting between two crossing points. ( a ) Wire resistance on horizontal lines is omitted. ( b ) Wire resistance on vertical lines is omitted. For the sake of simplicity, in this section we analyze the circuit separately with respect to the wire resistance on horizontal lines and the wire resistance on vertical lines, as shown in Figure 2a,b, respectively. We define Vb1, Vb2 as the voltages of node b1, b2, which are on the first column. Generally, Vb _j_ is the voltage of node b _j_ on the first column. Similarly, _Vkj_ is the voltage of node _kj_, which is on the _j_ th column. Applying Kirchhoff current law for all nodes in Figure 2a, VF and VO,k can be estimated as follows: −VF <u>VIN,</u> _<u>j</u>_ −Vb _<u>j</u>_ + . . . + RB <u>VIN,1−Vb1</u> RB −VF RF1 <sup>=</sup> <u>VIN,m−Vbm</u> −Vbm + . . . + RB  <u></u>  <u></u> ~~.~~ <u>�m</u> _j_ =1 <u>Vb</u> _<u>j</u>_ RB ~~V~~ <u>F</u> = ~~−R~~ <u>F1</u> <u>�m</u> _j_ =1 <u>VIN,</u> _<u>j</u>_ RB <sup>−</sup> −VO, _<u>k</u>_ VIN, _j_ ~~−~~ ~~V~~ _kj_ (6) (7) �g _j_, _k_ + . . . + (VIN,1 − V _k_ 1)g1, _k_ + R <sup><u>V</u></sup> F2 <sup><u>F</u></sup> <u>VO,</u> _<u>k</u>_ R0 = (VIN,m − V _k_ m)gm, _k_ + . ~~. . +~~  . VO, _k_ = −R0   �m _j_ =1 VIN, _j_ g _j_, _k_ �m _j_ =1 V _kj_ g _j_, _k_ + R <sup><u>V</u></sup> F2 <sup><u>F</u></sup> If we assume that RF1 = RF2, Equation (7) can be simplified as follow: m _j_ =1 �R0 · g _j_, _k_ - <sup><u>R0</u></sup> RB <u>m</u> <u>�</u> _j_ =1 R0V _kj_ g _j_, _k_ + VIN, _j_ VO, _k_ = −   m _j_ =1 Vb _j_ RB R0  (8) . By comparing Equation (8) and Equation (4), we can derive the variation of voltage, ∆V, which is caused by wire resistance on the vertical lin ~~es.~~ m ∆V = − _j_ =1 m _j_ =1 R0 R0 V _kj_ M _j_, _k_ + Vb _j_ . (9) RB Here M _j,k_ is the memristance of the crossing point between the _j_ th row and the _k_ th column. Vb _j_ and V _kj_ are the voltage at nodes bj and kj of the fir ~~st col~~ umn an ~~d the~~ _k_ th column, respectively, as shown in Figure 2a. M _j,k_ is calculated using Equation (4). It is possible to infer that the variation of voltage presented in Equation (9) can be very small because there are a negative term and a positive term in the right side of Equation (9). _Micromachines_ 2019, _10_, 671 5 of 11 In Figure 2b, wire resistance on vertical lines is omitted whereas wire resistance on horizontal lines is taken into account. The voltages applied to the columns decrease because they are lost from wire resistance. If we define Vj(k) as the amount of voltage drop on wire resistance, which is on the _j_ th row and between the ( _k_ - 1)th and _k_ th column, the voltage applied to the _j_ th row of the _k_ th column is calculated as Equation (10). _k_ i=1 VIN, _j_ ( _k_ ) = VIN, _j_ V _j_ (i). (10) Here VIN, _j_ ( _k_ ) is the voltage applied to the _j_ th row of the _k_ th column. The column-line voltage on the _k_ th column, VO, _k_, can be calculated using Equation (11). m _j_ =1 �R0 · g _j_, _k_ VIN, _j_ ( _k_ ) − <sup><u>R0</u></sup> RB VO, _k_ = −   �R0 · g _j_, _k_ VIN, _j_ ( _k_ ) − <sup><u>R0</u></sup> VIN, _j_ - <sup></sup> (11) . By comparing Equation (11) and Equation (3), we obtain the variation of voltage, ∆V _k_, of the _k_ th column as follows. m _j_ =1 ∆V _k_ = m _j_ =1 R0g _j_, _k_ VIN, _j_ R0g _j_, _k_ VIN, _j_ ( _k_ ). (12) Calculating VIN, _j_ ( _k_ ) by using Equation (10), we obtain ∆V _k_ as presented in Equation (13). _k_ i=1  . (13) ∆V _k_ = m _j_ =1  R0g _j_, _k_ V _j_ (i) Here <sup>�</sup> <sup>_k_</sup> i=1 <sup>V</sup> <sup>_j_</sup> <sup>(i)</sup> <sup>is the sum of the voltage on k resistors on the</sup> <sup>_j_</sup> <sup>th row.</sup> <sup>Equation (13) indicates that</sup> the output voltage of the _k_ th column increases because of wire resistance. It is possible to infer that the column close to the first column has small voltage variation and the column far from the first column has large voltage variation. In Equation (13), the voltage variation increases proportionally to the column’s index, _k_ . Hence, it is interesting that two adjacent columns can have almost the same amount of voltage variation. Due to this reason, we propose a memristor crossbar array with compensating circuit to mitigate the voltage variation caused by wire resistance. By putting two adjacent columns into a subtraction circuit, the voltage variation can be eliminated significantly. The proposed memristor crossbar is schematically shown in Figure 3. In Figure 3, the memristor crossbar is composed of 27 columns for recognizing 26 character images. The first column is a constant-term circuit to generate a negative voltage, as mentioned in the previous section. The remaining 26 columns represent 26 perception neurons trained to recognize the 26 characters. The differential amplifies from Gs,2 to Gs,26 are inserted into the circuit. The gain of these amplifiers is 1, so they work as the subtractors. The output voltages from VO,1 to VO,n are the neuron’s output of columns from Col1 to Coln. VO,1 enter the comparator C1 to decide if the neuron’s output of column Col1 should be activated or not. VO,2 and VO,1 go into Gs,2 that produces VOs,2. VOs,2 enters the comparator C2 to decide if the neuron’s output of column Col2 should be activated or not. In general, the output voltage of the column Col _k_ −1 and the column Col _k_ enter the subtractor Gs, _k_ for generating the neuron’s output, VOs, _k_, of the column Col _k_ . Using superposition theorem, VOs, _k_ can be calculated with the difference of VO, _k_ - 1 and VO, _k_ . - + VO, _k_ - <u>R6</u> R5 + R6 �� <u>R3 + R4</u> R3 . (14) VOs, _k_ = −VO, _k_ −1 - <u>R4</u> R3 _Micromachines_ 2019, _10_, 671 6 of 11 If we assume that R3 = R4 = R5 = R6, we can obtain: VOs, _k_ = VO, _k_ - VO, _k_ −1. (15) The differential amplifier is able to reject any signal common to both inputs. That means, if two adjacent columns have almost the same amount of voltage variation, the voltage variation is then mitigated at the output. _VIN,1_ _VIN,2_ _VIN,j_ _<u>VIN,m</u>_ _r_ _r_ RF1 _GF_ RF2 RF2 RF2 RF2 RF2 RF2 _VF_ _G1_ _R0_ _G2_ _R0_ _Gk-1_ _R0_ _Gk_ _R0_ _G25_ _R0_ _G26_ _R0_ _<u>VO,1</u>_ _VO,2_ _VO,k-1_ _VO,k_ _VO,25_ _VO,26_ _r_ _r_ _g1,1_ _Col1_ _Col2_ _Colk-1_ _Colk_ _Col25_ _Col26_ _r_ _r_ _gm,n_ _R3_ _R3_ _R3_ _R5_ _R5_ _R5_ _R4_ _Gs,2_ _R4_ _Gs,k_ _R4_ _Gs,26_ _R6_ _R6_ _R6_ _R4_ _R4_ _<u>VOs,2</u>_ _<u>VOs,k</u>_ _<u>Vos,26</u>_ _VREF_ _VREF_ _VREF_ _VREF_ _C1_ _C2_ _Ck_ _C26_ _OUT1_ _OUT2_ _OUTk_ _OUT26_ Figure 3. The proposed memristor crossbar with compensating circuit for implementing a perceptron neural network. The outputs of two adjacent columns are put into a differential amplifier working as a subtractor to eliminate the output voltage variation. The concept of the proposed circuit is shown in Figure 4. The crossbar is trained to recognize the 26 characters from “A” to “Z”. The 25th column is for recognizing the character “Y”. The output of the 25th column is close to 1V when the input is “Y” and close to 0 when the other characters are applied to the input. Similarly, the neuron’s output of the 26th column should be activated if the input is “Z”, as indicated in Figure 4a. In Figure 4b, it is assumed that the wire resistance is present in the crossbar. The output voltage increases as reasoned in the previous section. The two last neurons recognize the input characters incorrectly, as demonstrated in Figure 4b. However, if we put the outputs of two last columns into a subtractor, the voltage variation can be mitigated significantly, as illustrated in Figure 4b. By doing this, we can maintain the recognition rate when wire resistance is present in the crossbar circuit. _Micromachines_ 2019, _10_, 671 7 of 11 Input character image ‘A’ ‘Y’ ‘Z’ Vref VO,25 VO,26 (a) wire resistance is omitted failure Vre ~~f~~ VO,25 0V V V Vref VO,26 0V Vref VOs,26 0V failure (b) wire resistance is present Figure 4. The concept of the proposed circuit for compensating the output voltage variation caused by wire resistance. ( a ) The ideal output of the 25th and 26th columns, which are trained to recognize character images of “Y” and “Z”, respectively. ( b ) The output voltage of the 25th and 26th columns when the wire resistance is taken into account. VOs,26 is the output of subtractor for the 26th column, as depicted in Figure 3. 3. Results The proposed memristor crossbar circuit in Figure 3 is verified for the application of character recognition. Figure 5a shows eight × eight images of characters used in this simulation. Each character is composed of 64 black-and-white pixels. The proposed memristor crossbar is composed of 64 rows and 27 columns. The first column connects with all inputs through RB to generate the negative voltage as mentioned in the previous section. The remaining 26 columns are for recognition of 26 characters from “A” to “Z”. The 64 input voltages obtained from 64 pixels are applied to the inputs of 64 rows. The red line in Figure 5b shows a hysteresis behavior of a real memristor based on the film structure of Pt/LaAlO3/Nb-doped SrTiO3 stacked layer [28]. The black line in Figure 5b represents the behavior model of the memristor used in this paper. This model can well describe various memristive behaviors that come from different kinds of memristors [29]. The circuit simulation is performed using the SPECTRE circuit simulation provided by Cadence Design Systems Inc. Memristors are modeled using Verilog-A and the CMOS technology is given by SAMSUNG 0.13 mm process technology [29,30]. The Verilog-A model parameters are presented in [28]. The wire resistance between two adjacent junctions is set to be 2.5 Ω for a 4F <sup>2</sup> cross-point structure [19,31]. Figure 6a shows the neuron’s output of the 25th column, which is trained to be activated when character “Y” is applied to the input. Ideally, VO,25 is close to 1V for character “Y”, and close to 0V for others. However, the output voltage of the 25th column, VO,25, is shifted up because of wire resistance, as reasoned in the previous section. Similarly, in Figure 6b, the neuron’s output of the 26th column is shifted up as a result of the voltage drop along wire resistance. It can be realized that if we compare the column’s output voltage, VO,26, with the reference voltage, VREF, the neuron’s output of the 26th column can be activated for several input characters, which consequently degrades the recognition rate. The output voltage of the 25th column and the 26th column are put into a subtractor circuit to produce the neuron’s output voltage of the 26th column, VOs,26. By doing this, the voltage variation is mitigated significantly, as demonstrated in Figure 6c. When the character “Y” is applied to the inputs, VOs,26 is negative, because VO,25 is higher than VO,26. For the character “Z”, VOs,26 is high, as indicated in Figure 6c. The simulation result shown in Figure 6c indicates that the neuron’s output of the 26th column is only activated for the input _Micromachines_ 2019, _10_, 671 8 of 11 character “Z”, because the variation of voltage caused by wire resistance is mitigated remarkably by the subtractor circuit. <u>(a)</u> 300 250 200 150 100 50 0 -50 -100 Experiment Model -3 -2 -1 0 1 2 3 Voltage (V) (b) Figure 5. ( a ) The eight × eight pixels images of characters used to test the proposed memristor crossbar circuit. ( b ) The memristor’s current–voltage characteristic measured from the real device and the memristor’s behavior model [28,29]. 1.4 1.2 1.0 0.8 0.6 0.4 0.2 0.0 <u>VO,25</u> <u>A B C D E F G H I J K LMN O P Q R S T U V WX Y</u> ~~<u>Z</u>~~ <u>Input character image</u> <u>VO,26</u> <u>A B C D E F G H I J K LMN O P Q R S T U V WX Y</u> ~~<u>Z</u>~~ ~~Input character image~~ 1.4 1.2 1.0 0.8 0.6 0.4 0.2 0.0 (a) (b) 1.2 1.0 0.8 0.6 0.4 0.2 0.0 -0.2 -0.4 -0.6 -0.8 -1.0 -1.2 <u>A B C D E F G H I J K LMN O P Q R S T U V WX Y</u> ~~<u>Z</u>~~ <u>VOs,26</u> ~~Input character image~~ (c) Figure 6. The simulation result of the proposed memristor crossbar array depicted in Figure 4. ( a ) The neuron’s output of the 25th column without compensating circuit. ( b ) The neuron’s output of the 26th column without compensating circuit. ( d ) The neuron’s output of the 26th column with compensating circuit. The wire resistance between two adjacent junctions is set to be 2.5 Ω [19,28]. _Micromachines_ 2019, _10_, 671 9 of 11 The proposed circuit is tested with wire resistance that is varied from 0.5 to 2.5 Ω. This range of wire resistance is commonly used and obtained from the International Technology Roadmap for Semiconductors [24,25,31–34]. Figure 7 shows the comparison of the recognition rate between the memristor crossbar without compensating circuit and the proposed memristor crossbar with compensating circuit when the wire resistance is set to be 0.5, 1.0, 1.5, 2.0, and 2.5 Ω, respectively. The recognition rate of the memristor crossbar without compensating circuit declines dramatically when wire resistance increases. In particular, the recognition rate of the memristor crossbar without compensating circuit is 99%, 95%, and 81%, when the wire resistance is set to be 1.5, 2.0, and 2.5 Ω, respectively. By contrast, the proposed memristor crossbar with compensating circuit can maintain the recognition as high as 100% when wire resistance is as high as 2.5 Ω. 100 95 90 85 80 75 70 65 Memristor crossbar array without compensating circuit Memristor crossbar array with compensating circuit 60 0.5 1.0 1.5 2.0 2.5 Wire resistance ( Ω ) Figure 7. The comparison of the recognition rate between the memristor crossbar without compensating circuit and the proposed memristor crossbar with compensating circuit. The wire resistance is set to be 0.5, 1.0, 1.5, 2.0, and 2.5 Ω, respectively. 4. Discussion Finally, we discuss the power and area overhead of the proposed memristor crossbar circuit. The proposed circuit uses the compensating circuit constituted by an Op-Amp and four resistors. The proposed circuit consumes more power and area, compared to the memristor crossbar without compensating circuit. However, the proposed memristor crossbar with compensating circuit shows better recognition rate by 19% than the previous memristor crossbar circuit, when wire resistance is set to be 2.5 Ω. Because wire resistance in the crossbar cannot be omitted, the proposed scheme makes the memristor crossbar-based perceptron neural network become more possible. The proposed circuit can be applied to memristor-based crossbar architectures which are used in resistive memory and artificial neural networks [34–36]. 5. Conclusions In this work, a memristor crossbar-based perceptron neural network with compensating circuit is proposed. The neuron’s outputs of two columns are put into a subtractor circuit to eliminate the voltage variation caused by wire resistance. The memristor crossbar-based perceptron neural network is trained to recognize the 26 characters. The proposed memristor crossbar with compensating circuit shows better recognition rate, compared to the previous memristor crossbar without compensating circuit when wire resistance is taken into account. The simulation result shows that the proposed circuit can maintain the recognition rate as high as 100% when the wire resistance is set to be 2.5 Ω. By contrast, the recognition rate of the memristor crossbar without compensating circuit decreases by 19% when wire resistance is set to be 2.5 Ω. Funding: This research received no external funding. Conflicts of Interest: The author declares no conflicts of interest. _Micromachines_ 2019, _10_, 671 10 of 11 References 1. Mead, C. Neuromorphic electronic systems. _Proc._ _IEEE_ 1990, _78_, 1629–1636. [[CrossRef]](http://dx.doi.org/10.1109/5.58356) 2. Pacheco, P.S. _An Introduction to Parallel Programmin_ ; Elsevier: Amsterdam, The Netherlands, 2011. 3. Mirsa, J.; Saha, I. Artificial neural networks in hardware: A survey of two decades of progress. _Neurocomputing_ 2010, _74_, 239–255. 4. Himavathi, S.; Anitha, D.; Muthuramalingam, A. Feedforward neural network implementation in FPGA using layer multiplexing for effective resource utilization. _IEEE_ _Trans._ _Neural_ _Netw._ 2007, _18_, 880–888. [[CrossRef] [PubMed]](http://dx.doi.org/10.1109/TNN.2007.891626) 5. Du, Y.; Du, L.; Gu, X.; Du, J.; Wang, X.S.; Hu, B.; Jiang, M.; Chen, X.; Su, J.; Iye, S.S.; et al. An analog neural network computing engine using CMOS-compatible charge-trap-transistor (CTT). _IEEE Trans._ _Comput._ _Aided_ _Des._ _Integr._ _Circuits Syst._ 2018, _38_, 1811–1819. [[CrossRef]](http://dx.doi.org/10.1109/TCAD.2018.2859237) 6. Kawaguchia, M.; Ishiib, N.; Umeno, M. Analog neural circuit and hardware design of deep learning model. _Procedia Comput._ _Sci._ 2015, _60_, 976–985. [[CrossRef]](http://dx.doi.org/10.1016/j.procs.2015.08.137) 7. Wang, F.; Li, Y.X. Analog Circuit Design Automation Using Neural Network-Based Two-Level Genetic Programming. In Proceedings of the 2006 International Conference on Machine Learning and Cybernetics, Dalian, China, 13–16 August 2006. 8. Shima, T.; Kimura, T.; Kamatani, Y.; Itakura, T.; Fujita, Y.; Iida, T. Neuro chips with on-chip back-propagation and/or Hebbian learning. _IEEE J. Solid-State Circuits_ 1992, _27_, 1868–1875. [[CrossRef]](http://dx.doi.org/10.1109/4.173117) 9. Solomon, P.M. Device innovation and material challenges at the limit of CMOS technology. _Annu._ _Rev._ _Mater._ _Sci._ 2000, _30_, 681–697. [[CrossRef]](http://dx.doi.org/10.1146/annurev.matsci.30.1.681) 10. Brđanin, T.P.; Doki´c, B. Strained silicon layer in CMOS technology. _Electronics_ 2014, _18_, 63–69. 11. Kügeler, C.; Meier, M.; Rosezin, R.; Gilles, S.; Waser, R. High density 3D memory architecture based on the resistive switching effect. _Solid State Electron._ 2009, _53_, 1287–1292. [[CrossRef]](http://dx.doi.org/10.1016/j.sse.2009.09.034) 12. Chua, L.O. Memristor—The missing circuit element. _IEEE Trans._ _Circuit Theory_ 1971, _18_, 507–519. [[CrossRef]](http://dx.doi.org/10.1109/TCT.1971.1083337) 13. Strukov, D.B.; Sinder, G.S.; Stewart, D.R.; Williams, R.S. The missing memristor found. _Nature_ 2008, _453_, 80–83. [[CrossRef] [PubMed]](http://dx.doi.org/10.1038/nature06932) 14. Jo, S.H.; Chang, T.; Ebong, I.; Bhadviya, B.B.; Mazumder, P.; Lu, W. Nanoscale memristor device as synapse in neuromorphic systems. _Nano Letters_ 2010, _10_, 1297–1301. [[CrossRef] [PubMed]](http://dx.doi.org/10.1021/nl904092h) 15. Wang, H.; Li, H.; Pino, R.E. Memristor-based synapse design and training scheme for neuromorphic computing architecture. In Proceedings of the 2012 International Joint Conference on Neural Networks (IJCNN), Brisbane, Australia, 10–15 June 2012; pp. 1–5. 16. Kim, H.; Sad, M.P.; Yang, C.; Roska, T.; Chua, L.O. Neural synapse weighting with a pulse-based memristor circuit. _IEEE Trans._ _Circuit Syst._ 2012, _59_, 148–158. [[CrossRef]](http://dx.doi.org/10.1109/TCSI.2011.2161360) 17. Adhikari, S.P.; Yang, C.; Kim, H.; Chua, L.O. Memristor bridge synapse-based neural network and its learning. _IEEE Trans._ _Neural Netw._ _Learn._ _Syst._ 2012, _23_, 1426–1435. [[CrossRef] [PubMed]](http://dx.doi.org/10.1109/TNNLS.2012.2204770) 18. Chen, Y.C.; Li, H.; Zhang, W.; Pino, R.E. The 3-D stacking bipolar RRAM for high density. _IEEE_ _Trans._ _Nanotechnol._ 2012, _11_, 948–956. [[CrossRef]](http://dx.doi.org/10.1109/TNANO.2012.2208759) 19. Liang, J.; Wong, H.S.P. Cross-point memristor array without cell selector—Device characteristics and data storage pattern dependencies. _IEEE Trans._ _Electron._ _Device_ 2010, _57_, 2531–2538. [[CrossRef]](http://dx.doi.org/10.1109/TED.2010.2062187) 20. Hu, M.; Li, H.; Wu, Q.; Rose, G.S.; Chen, Y. Memristor crossbar based hardware realization of BSB recall function. In Proceedings of the 2012 International Joint Conference on Neural Networks (IJCNN), Brisbane, Australia, 10–15 June 2012; pp. 1–7. 21. Truong, S.N.; Min, K.S. New memristor-based crossbar array architecture with 50-% area reduction and 48-% power saving for matrix-vector multiplication of analog neuromorphic computing. _J. Semicond._ _Technol._ _Sci._ 2014, _14_, 356–363. [[CrossRef]](http://dx.doi.org/10.5573/JSTS.2014.14.3.356) 22. Soudry, D.; Castro, D.D.; Gal, A.; Kolodny, A.; Kvatinsky, S. Memristor-Based Multilayer Neural Networks with Online Gradient Descent Training. _IEEE Trans._ _Neural Netw._ _Learn._ _Syst._ 2015, _36_, 2048–2421. [[CrossRef]](http://dx.doi.org/10.1109/TNNLS.2014.2383395) 23. Wang, L.; Shen, Y.; Yin, Q.; Zhang, G. Adaptive synchronization of memristor-based neural networks with time-varying delays. _IEEE Trans._ _Neural Netw._ _Learn Syst._ 2014, _26_, 2033–2042. [[CrossRef]](http://dx.doi.org/10.1109/TNNLS.2014.2361776) 24. Linn, E.; Rosezin, R.; Kügeler, C.; Waser, R. Complementary resistive switches for passive nanocrossbar memories. _Nature Mater._ 2010, _9_, 403–406. [[CrossRef]](http://dx.doi.org/10.1038/nmat2748) _Micromachines_ 2019, _10_, 671 11 of 11 25. Shin, S.H.; Byeon, S.D.; Song, J.S.; Truong, S.N.; Mo, H.S.; Kim, D.J.; Min, K.S. Dynamic reference scheme with improved read voltage margin for compensating cell-position and back ground-pattern dependencies in pure memristor array. _J. Semicond._ _Technol._ _Sci._ 2015, _15_, 685–694. [[CrossRef]](http://dx.doi.org/10.5573/JSTS.2015.15.6.685) 26. Levisse, A.; Royer, P.; Giraud, B.; Noel, J.P.; Moreau, M.; Portal, J.M. Architecture, design and technology guidelines for crosspoint memories. In Proceedings of the 2017 IEEE/ACM International Symposium on Nanoscale Architectures (NANOARCH), Newport, RI, USA, 25–26 July 2017. 27. Giraud, B.; Makosiej, A.; Boumchedda, R.; Gupta, N.; Levisse, A.; Vianello, E.; Noel, J.-P. Advanced memory solutions for emerging circuits and systems. In Proceedings of the 2017 IEEE International Electron Devices Meeting (IEDM), San Francisco, CA, USA, 2–6 December 2017. 28. Truong, S.N.; Pham, K.V.; Yang, W.; Shin, S.; Pedrotti, K.; Min, K.S. New pulse amplitude modulation for fine tuning of memristor synapses. _Mircoelectron._ _J._ 2016, _55_, 162–168. [[CrossRef]](http://dx.doi.org/10.1016/j.mejo.2016.07.010) 29. Yakopcic, C.; Taha, T.M.; Subramanyam, G.; Pino, R.E.; Rogers, S. A memristor device model. _IEEE Electron_ _Device Lett._ 2011, _32_, 1436–1438. [[CrossRef]](http://dx.doi.org/10.1109/LED.2011.2163292) 30. Spectre®Circuit Simulator User Guide. Available online: [https://www.ee.columbia.edu/~{}harish/uploads/2/](https://www.ee.columbia.edu/~{}harish/uploads/2/6/9/2/26925901/spectre_reference.pdf) [6/9/2/26925901/spectre_reference.pdf (accessed on 1 October 2019).](https://www.ee.columbia.edu/~{}harish/uploads/2/6/9/2/26925901/spectre_reference.pdf) 31. International Technology Roadmap for Semiconductors. 2007. Available online: [https://www.semiconductors.](https://www.semiconductors.org/wp-content/uploads/2018/08/2007Interconnect.pdf) [org/wp-content/uploads/2018/08/2007Interconnect.pdf (accessed on 1 October 2019).](https://www.semiconductors.org/wp-content/uploads/2018/08/2007Interconnect.pdf) 32. Kim, S.; Zhou, J.; Lu, W.D. Crossbar RRAM arrays: Selector device requirements during wire operation. _IEEE Trans._ _Electron._ _Devices_ 2014, _61_, 2820–2826. 33. Schindler, G.; Steinlesberger, G.; Engelhardt, M.; Steinhögl, W. Electrical characterization of copper interconnects with end-of-roadmap feature sizes. _Solid State Electron._ 2003, _47_, 1233–1236. [[CrossRef]](http://dx.doi.org/10.1016/S0038-1101%0x2803%0x2900042-X) 34. Kohonen, T. Self-organization and Associative Memory. In _Information Sciences_ ; Springer: Berlin/Heidelberg, Germany, 1989. 35. Li, C.; Belkin, D.; Li, Y.; Yan, P.; Hu, M.; Ge, N.; Jiang, H.; Montgomery, E.; Lin, P.; Wang, Z.; et al. Efficient and self-adaptive in-situ learning in multilayer memristor neural networks. _Nat._ _Commun._ 2018, _9_, 2385. [[CrossRef]](http://dx.doi.org/10.1038/s41467-018-04484-2) 36. Caravelli, F.; Carbajal, J.P. Memristors for the curious outsider. _Technologies_ 2018, _6_, 118. [[CrossRef]](http://dx.doi.org/10.3390/technologies6040118) © 2019 by the author. 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 (http://creativecommons.org/licenses/by/4.0/).](http://creativecommons.org/licenses/by/4.0/.)

섹션 본문 44문단 · 28,621자

(제목 없음)

1Wire resistance in metal wire is one of the factors that degrade the performance of memristor crossbar circuits. In this paper, an analysis of the impact of wire resistance in a memristor crossbar is performed and a compensating circuit is proposed to reduce the impact of wire resistance in a memristor crossbar-based perceptron neural network. The goal of the analysis is to figure out how wire resistance influences the output voltage of a memristor crossbar. It emerges that the wire resistance on horizontal lines causes the neuron's output voltage to vary more than the wire resistance on vertical lines. More interesting, the voltage variation caused by wire resistance on horizontal lines increases proportionally to the length of metal wire. The first column has small voltage variation whereas the last column has large voltage variation. In addition, two adjacent columns have almost the same amount of voltage variation. Under these observations, a memristor crossbar-based perceptron neural network with compensating circuit is proposed. The neuron's outputs of two columns are put into a subtractor circuit to eliminate the voltage variation caused by the wire resistance. The proposed memristor crossbar-based perceptron neural network is trained to recognize the 26 characters. The proposed memristor crossbar shows better recognition rate compared to the previous work when wire resistance is taken into account. The proposed memristor crossbar circuit can maintain the recognition rate as high as 100% when wire resistance is as high as 2.5 Ω. By contrast, the recognition rate of the memristor crossbar without the compensating circuit decreases by 1%, 5%, and 19% when wire resistance is set to be 1.5, 2.0, and 2.5 Ω, respectively.

Introduction

2Neuromorphic computing, inspired from biological perception, was introduced by C. Mead in the late 1980s [1]. It has been expected to become an alternative architecture to overcome the bottleneck of von Neumann computer architectures [1,2]. Neuromorphic computing refers to a hardware implementation of a brain-inspired system, which has the capabilities of parallel processing like a human brain. For realizing neuromorphic computing systems, various research activities, based on CPUs (Central Processing Units), GPUs (Graphics Processing Units), FPGAs (Field-Programmable Gate Arrays), analog circuits, memory circuits, etc., have been proposed in the past two decades [3][4][5][6][7][8]. These architectures are based on CMOS (Complementary-Metal-Oxide-Semiconductor) technology, which is approaching the end of their capabilities because scaling CMOS down faces several fundamental limiting factors stemming from electron thermal energy and quantum-mechanical tunneling [9,10]. The memristor crossbar array has been one of the promising candidates for realizing neuromorphic computing systems because crossbar architecture can be made with high density and low cost [11]. Memristor was postulated by Leon O. Chua in 1971 as the fourth basic circuit element and experimentally demonstrated by HP Lab in 2008 [12,13]. A memristor is a resistor with modifiable resistance, which makes it ideal for mimicking the synaptic plasticity of biological neurons [14]. The early memristor-based synaptic circuits are composed of memristors and CMOS transistors [15][16][17]. However, pure memristor crossbar arrays without CMOS devices seem to be more efficient in terms of their integration and power consumption [18][19][20][21][22][23]. Miao Hu et al. proposed a crossbar synaptic array that is composed of a plus and minus crossbar array representing plus-and minus-polarity connection matrices for analog neuromorphic computing [20]. Such a pure memristor crossbar array is very effective in realizing the bio-inspired systems in term of power consumption and area occupation. To reduce area and power consumption, S. N. Truong proposed a new memristor crossbar array architecture which is composed of a single memristor array and a constant-term circuit [21].

3In a memristor array, some amount of voltage drop can be caused by interconnect resistance, also known as wire resistance along the row and the column lines [19,[24][25][26][27]. Wire resistance degrades the performance of the circuit more seriously when the array size increases [25]. To mitigate the impact of wire resistance, several interesting schemes were proposed [24][25][26][27]. These schemes are effective when they are applied to a memristor crossbar array, in which memristors are used as binary switches between two distinct high and low resistance states (HRS and LRS, respectively). However, the impact of wire resistance in an analog memristor crossbar array for realizing the synaptic weight matrix was not fully considered. In this work, we propose a memristor crossbar array with a compensating circuit for implementing the analog synaptic array of a perceptron neural network. The impact of wire resistance is mitigated by compensating the voltage variation of two adjacent columns.

4In this work, the output voltages of columns are figured out with taking the existing of wire resistance into account. The mathematical analysis and the simulation result show that the output voltage of columns increase, which is caused by the amount of voltage lost from wire resistance. The column close to the first one has a small variation of voltage, compared to the one far from the first column. From these observations, we propose a compensating circuit to mitigate the voltage variation caused by the wire resistance in a memristor crossbar array. Figure 1 shows an interesting memristor array circuit for implementing the synaptic weight matrix of a perceptron neural network [21]. A single memristor array and a constant-term circuit are used for realizing the negative and positive synaptic weights, instead of using two complementary crossbar arrays [20,21].

Materials and Methods

5In Figure 1, g j,k is the memristor's conductance at the crossing point between the jth row and the kth column. V IN,j is the input voltage applied to the jth row. V C,k is the column-line voltage on the kth column. The column line, V C,F , is added in Figure 1 instead of using another memristor array [21]. The column line, V C,F , is connected to the inputs, from V IN,1 to V IN,m . In Figure 1, V C,F enters G F that constitutes an inverting OP amp with the negative feedback resistor, R F1 . The output voltage of G F is V F that is connected to all the column lines from V C,1 to V C,n via R F2 , as shown in Figure 1. By applying Kirchhoff current law to the column line, V C,F , we can calculate V F and V O,k with Equations (1) and (2).

6If we choose R F1 = R F2 and combining Equation (1) with Equation (2), the following Equation (3) can be obtained [21].

7is defined as a synaptic weight of the jth row and kth column, w j,k , we can rewrite Equation (3) with Equation (4).

8where w j,k = R 0

9Micromachines 2019, 10, 671 3 of 11

10If − R ⋅ g , − is defined as a synaptic weight of the jth row and kth column, wj,k, we can rewrite Equation (3) with Equation (4).

11where w , = R − g , = R − , . Figure 1. The memristor-based crossbar architecture with a single memristor array and a constantterm circuit for realizing the synaptic matrix of a perceptron neural network [21].

12Equation (4) is used for calculating the output voltage of the kth column. The output of each column is a summation of the weighted inputs, hence each column works as a perceptron neuron. In Equation (4), Mj,k is the memristance value of the crossing point between the jth row and kth column. RB is a constant. The synaptic weight, wj,k, can be decided to be either negative or positive by adjusting the memristance, Mj,k. The output of the perceptron neuron is decided by a threshold function which produces 0 or 1. By adding the comparator to the output voltage, VO,k, we can decide if the neuron's output of the kth column, OUTk, should be activated or not.

13In previous work, the impact of wire resistance is ignored. However, in the crossbar array, the voltage drop along column and row lines cannot be omitted [19,[24][25][26][27]. It becomes more serious when the array size increases [24]. The wire resistance between two adjacent junctions is modeled by a small-value resistor, r, as shown in Figure 2. The memristor-based crossbar architecture with a single memristor array and a constant-term circuit for realizing the synaptic matrix of a perceptron neural network [21]. Equation (4) is used for calculating the output voltage of the kth column. The output of each column is a summation of the weighted inputs, hence each column works as a perceptron neuron. In Equation (4), M j,k is the memristance value of the crossing point between the jth row and kth column. R B is a constant. The synaptic weight, w j,k , can be decided to be either negative or positive by adjusting the memristance, M j,k . The output of the perceptron neuron is decided by a threshold function which produces 0 or 1. By adding the comparator to the output voltage, V O,k , we can decide if the neuron's output of the kth column, OUT k , should be activated or not.

14In previous work, the impact of wire resistance is ignored. However, in the crossbar array, the voltage drop along column and row lines cannot be omitted [19,[24][25][26][27]. It becomes more serious when the array size increases [24]. The wire resistance between two adjacent junctions is modeled by a small-value resistor, r, as shown in Figure 2. For the sake of simplicity, in this section we analyze the circuit separately with respect to the wire resistance on horizontal lines and the wire resistance on vertical lines, as shown in Figure 2a,b, respectively. We define Vb1, Vb2 as the voltages of node b1, b2, which are on the first column. Generally, Vbj is the voltage of node bj on the first column. Similarly, Vkj is the voltage of node kj, which is on the jth column. Applying Kirchhoff current law for all nodes in Figure 2a, VF and VO,k can be estimated as follows:

15If we assume that RF1 = RF2, Equation (7) can be simplified as follow:

16By comparing Equation (8) and Equation (4), we can derive the variation of voltage, ∆V, which is caused by wire resistance on the vertical lines.

17Here Mj,k is the memristance of the crossing point between the jth row and the kth column. Vbj and Vkj are the voltage at nodes bj and kj of the first column and the kth column, respectively, as shown in Figure 2a. Mj,k is calculated using Equation (4). It is possible to infer that the variation of voltage presented in Equation (9) can be very small because there are a negative term and a positive term in the right side of Equation (9). For the sake of simplicity, in this section we analyze the circuit separately with respect to the wire resistance on horizontal lines and the wire resistance on vertical lines, as shown in Figure 2a,b, respectively. We define V b1 , V b2 as the voltages of node b 1 , b 2 , which are on the first column. Generally, V bj is the voltage of node b j on the first column. Similarly, V kj is the voltage of node k j , which is on the jth column. Applying Kirchhoff current law for all nodes in Figure 2a, V F and V O,k can be estimated as follows:

18If we assume that R F1 = R F2 , Equation (7) can be simplified as follow:

19By comparing Equation (8) and Equation (4), we can derive the variation of voltage, ∆V, which is caused by wire resistance on the vertical lines.

20Here M j,k is the memristance of the crossing point between the jth row and the kth column. V bj and V kj are the voltage at nodes b j and k j of the first column and the kth column, respectively, as shown in Figure 2a. M j,k is calculated using Equation (4). It is possible to infer that the variation of voltage presented in Equation (9) can be very small because there are a negative term and a positive term in the right side of Equation (9).

21In Figure 2b, wire resistance on vertical lines is omitted whereas wire resistance on horizontal lines is taken into account. The voltages applied to the columns decrease because they are lost from wire resistance. If we define V j(k) as the amount of voltage drop on wire resistance, which is on the jth row and between the (k − 1)th and kth column, the voltage applied to the jth row of the kth column is calculated as Equation (10).

22Here V IN,j(k) is the voltage applied to the jth row of the kth column. The column-line voltage on the kth column, V O,k , can be calculated using Equation (11).

23By comparing Equation (11) and Equation (3), we obtain the variation of voltage, ∆V k , of the kth column as follows.

24Calculating V IN,j(k) by using Equation (10), we obtain ∆V k as presented in Equation (13).

25Here k i=1 V j(i) is the sum of the voltage on k resistors on the jth row. Equation (13) indicates that the output voltage of the kth column increases because of wire resistance. It is possible to infer that the column close to the first column has small voltage variation and the column far from the first column has large voltage variation. In Equation (13), the voltage variation increases proportionally to the column's index, k. Hence, it is interesting that two adjacent columns can have almost the same amount of voltage variation. Due to this reason, we propose a memristor crossbar array with compensating circuit to mitigate the voltage variation caused by wire resistance. By putting two adjacent columns into a subtraction circuit, the voltage variation can be eliminated significantly. The proposed memristor crossbar is schematically shown in Figure 3.

26In Figure 3, the memristor crossbar is composed of 27 columns for recognizing 26 character images. The first column is a constant-term circuit to generate a negative voltage, as mentioned in the previous section. The remaining 26 columns represent 26 perception neurons trained to recognize the 26 characters. The differential amplifies from G s,2 to G s,26 are inserted into the circuit. The gain of these amplifiers is 1, so they work as the subtractors. The output voltages from V O,1 to V O,n are the neuron's output of columns from Col 1 to Col n . V O,1 enter the comparator C 1 to decide if the neuron's output of column Col 1 should be activated or not. V O,2 and V O,1 go into G s,2 that produces V Os,2 . V Os,2 enters the comparator C 2 to decide if the neuron's output of column Col 2 should be activated or not. In general, the output voltage of the column Col k−1 and the column Col k enter the subtractor G s,k for generating the neuron's output, V Os,k , of the column Col k . Using superposition theorem, V Os,k can be calculated with the difference of V O,k − 1 and V O,k .

27If we assume that R 3 = R 4 = R 5 = R 6 , we can obtain:

28The differential amplifier is able to reject any signal common to both inputs. That means, if two adjacent columns have almost the same amount of voltage variation, the voltage variation is then mitigated at the output.

29Micromachines 2019, 10, 671 6 of 11 Figure 3. The proposed memristor crossbar with compensating circuit for implementing a perceptron neural network. The outputs of two adjacent columns are put into a differential amplifier working as a subtractor to eliminate the output voltage variation.

30The concept of the proposed circuit is shown in Figure 4. The crossbar is trained to recognize the 26 characters from "A" to "Z". The 25 th column is for recognizing the character "Y". The output of the 25th column is close to 1V when the input is "Y" and close to 0 when the other characters are applied to the input. Similarly, the neuron's output of the 26th column should be activated if the input is "Z", as indicated in Figure 4a. In Figure 4b, it is assumed that the wire resistance is present in the crossbar. The output voltage increases as reasoned in the previous section. The two last neurons recognize the input characters incorrectly, as demonstrated in Figure 4b. However, if we put the outputs of two last columns into a subtractor, the voltage variation can be mitigated significantly, as illustrated in Figure 4b. By doing this, we can maintain the recognition rate when wire resistance is present in the crossbar circuit. Figure 3. The proposed memristor crossbar with compensating circuit for implementing a perceptron neural network. The outputs of two adjacent columns are put into a differential amplifier working as a subtractor to eliminate the output voltage variation.

31The concept of the proposed circuit is shown in Figure 4. The crossbar is trained to recognize the 26 characters from "A" to "Z". The 25th column is for recognizing the character "Y". The output of the 25th column is close to 1V when the input is "Y" and close to 0 when the other characters are applied to the input. Similarly, the neuron's output of the 26th column should be activated if the input is "Z", as indicated in Figure 4a. In Figure 4b, it is assumed that the wire resistance is present in the crossbar. The output voltage increases as reasoned in the previous section. The two last neurons recognize the input characters incorrectly, as demonstrated in Figure 4b. However, if we put the outputs of two last columns into a subtractor, the voltage variation can be mitigated significantly, as illustrated in Figure 4b. By doing this, we can maintain the recognition rate when wire resistance is present in the crossbar circuit.

Results

32The proposed memristor crossbar circuit in Figure 3 is verified for the application of character recognition. Figure 5a shows eight × eight images of characters used in this simulation. Each character is composed of 64 black-and-white pixels. The proposed memristor crossbar is composed of 64 rows and 27 columns. The first column connects with all inputs through RB to generate the negative voltage as mentioned in the previous section. The remaining 26 columns are for recognition of 26 characters from "A" to "Z". The 64 input voltages obtained from 64 pixels are applied to the inputs of 64 rows.

33The red line in Figure 5b shows a hysteresis behavior of a real memristor based on the film structure of Pt/LaAlO3/Nb-doped SrTiO3 stacked layer [28]. The black line in Figure 5b represents the behavior model of the memristor used in this paper. This model can well describe various memristive behaviors that come from different kinds of memristors [29]. The circuit simulation is performed using the SPECTRE circuit simulation provided by Cadence Design Systems Inc. Memristors are modeled using Verilog-A and the CMOS technology is given by SAMSUNG 0.13 mm process technology [29,30]. The Verilog-A model parameters are presented in [28]. The wire resistance between two adjacent junctions is set to be 2.5 Ω for a 4F 2 cross-point structure [19,31]. Figure 6a shows the neuron's output of the 25th column, which is trained to be activated when character "Y" is applied to the input. Ideally, VO,25 is close to 1V for character "Y", and close to 0V for others. However, the output voltage of the 25th column, VO,25, is shifted up because of wire resistance, as reasoned in the previous section. Similarly, in Figure 6b, the neuron's output of the 26 th column is shifted up as a result of the voltage drop along wire resistance. It can be realized that if we compare the column's output voltage, VO,26, with the reference voltage, VREF, the neuron's output of the 26th column can be activated for several input characters, which consequently degrades the recognition rate. The output voltage of the 25th column and the 26th column are put into a subtractor circuit to produce the neuron's output voltage of the 26th column, VOs,26. By doing this, the voltage variation is mitigated significantly, as demonstrated in Figure 6c. When the character "Y" is applied to the inputs, VOs,26 is negative, because VO,25 is higher than VO,26. For the character "Z", VOs,26 is high, as indicated in Figure 6c. The simulation result shown in Figure 6c indicates that the neuron's output of the 26th column is only activated for the input character "Z", because the variation of voltage caused by wire resistance is mitigated remarkably by the subtractor circuit.

34The proposed memristor crossbar circuit in Figure 3 is verified for the application of character recognition. Figure 5a shows eight × eight images of characters used in this simulation. Each character is composed of 64 black-and-white pixels. The proposed memristor crossbar is composed of 64 rows and 27 columns. The first column connects with all inputs through R B to generate the negative voltage as mentioned in the previous section. The remaining 26 columns are for recognition of 26 characters from "A" to "Z". The 64 input voltages obtained from 64 pixels are applied to the inputs of 64 rows.

35The red line in Figure 5b shows a hysteresis behavior of a real memristor based on the film structure of Pt/LaAlO 3 /Nb-doped SrTiO 3 stacked layer [28]. The black line in Figure 5b represents the behavior model of the memristor used in this paper. This model can well describe various memristive behaviors that come from different kinds of memristors [29]. The circuit simulation is performed using the SPECTRE circuit simulation provided by Cadence Design Systems Inc. Memristors are modeled using Verilog-A and the CMOS technology is given by SAMSUNG 0.13 mm process technology [29,30]. The Verilog-A model parameters are presented in [28]. The wire resistance between two adjacent junctions is set to be 2.5 Ω for a 4F 2 cross-point structure [19,31]. Figure 6a shows the neuron's output of the 25th column, which is trained to be activated when character "Y" is applied to the input. Ideally, V O,25 is close to 1V for character "Y", and close to 0V for others. However, the output voltage of the 25th column, V O,25 , is shifted up because of wire resistance, as reasoned in the previous section. Similarly, in Figure 6b, the neuron's output of the 26th column is shifted up as a result of the voltage drop along wire resistance. It can be realized that if we compare the column's output voltage, V O,26 , with the reference voltage, V REF , the neuron's output of the 26th column can be activated for several input characters, which consequently degrades the recognition rate. The output voltage of the 25th column and the 26th column are put into a subtractor circuit to produce the neuron's output voltage of the 26th column, V Os, 26 . By doing this, the voltage variation is mitigated significantly, as demonstrated in Figure 6c. When the character "Y" is applied to the inputs, V Os,26 is negative, because V O,25 is higher than V O,26 . For the character "Z", V Os,26 is high, as indicated in Figure 6c. The simulation result shown in Figure 6c indicates that the neuron's output of the 26th column is only activated for the input character "Z", because the variation of voltage caused by wire resistance is mitigated remarkably by the subtractor circuit. The memristor's current-voltage characteristic measured from the real device and the memristor's behavior model [28,29]. The memristor's current-voltage characteristic measured from the real device and the memristor's behavior model [28,29]. The memristor's current-voltage characteristic measured from the real device and the memristor's behavior model [28,29]. The proposed circuit is tested with wire resistance that is varied from 0.5 to 2.5 Ω. This range of wire resistance is commonly used and obtained from the International Technology Roadmap for Semiconductors [24,25,[31][32][33][34]. Figure 7 shows the comparison of the recognition rate between the memristor crossbar without compensating circuit and the proposed memristor crossbar with compensating circuit when the wire resistance is set to be 0.5, 1.0, 1.5, 2.0, and 2.5 Ω, respectively. The recognition rate of the memristor crossbar without compensating circuit declines dramatically when wire resistance increases. In particular, the recognition rate of the memristor crossbar without compensating circuit is 99%, 95%, and 81%, when the wire resistance is set to be 1.5, 2.0, and 2.5 Ω, respectively. By contrast, the proposed memristor crossbar with compensating circuit can maintain the recognition as high as 100% when wire resistance is as high as 2.5 Ω.

36The proposed circuit is tested with wire resistance that is varied from 0.5 to 2.5 Ω. This range of wire resistance is commonly used and obtained from the International Technology Roadmap for Semiconductors [24,25,[31][32][33][34]. Figure 7 shows the comparison of the recognition rate between the memristor crossbar without compensating circuit and the proposed memristor crossbar with compensating circuit when the wire resistance is set to be 0.5, 1.0, 1.5, 2.0, and 2.5 Ω, respectively. The recognition rate of the memristor crossbar without compensating circuit declines dramatically when wire resistance increases. In particular, the recognition rate of the memristor crossbar without compensating circuit is 99%, 95%, and 81%, when the wire resistance is set to be 1.5, 2.0, and 2.5 Ω, respectively. By contrast, the proposed memristor crossbar with compensating circuit can maintain the recognition as high as 100% when wire resistance is as high as 2.5 Ω.

Discussion

37Finally, we discuss the power and area overhead of the proposed memristor crossbar circuit. The proposed circuit uses the compensating circuit constituted by an Op-Amp and four resistors. The proposed circuit consumes more power and area, compared to the memristor crossbar without compensating circuit. However, the proposed memristor crossbar with compensating circuit shows better recognition rate by 19% than the previous memristor crossbar circuit, when wire resistance is set to be 2.5 Ω. Because wire resistance in the crossbar cannot be omitted, the proposed scheme makes the memristor crossbar-based perceptron neural network become more possible. The proposed circuit can be applied to memristor-based crossbar architectures which are used in resistive memory and artificial neural networks [34][35][36].

Conclusions

38In this work, a memristor crossbar-based perceptron neural network with compensating circuit is proposed. The neuron's outputs of two columns are put into a subtractor circuit to eliminate the voltage variation caused by wire resistance. The memristor crossbar-based perceptron neural network is trained to recognize the 26 characters. The proposed memristor crossbar with compensating circuit shows better recognition rate, compared to the previous memristor crossbar without compensating circuit when wire resistance is taken into account. The simulation result shows that the proposed circuit can maintain the recognition rate as high as 100% when the wire resistance is set to be 2.5 Ω. By contrast, the recognition rate of the memristor crossbar without compensating circuit decreases by 19% when wire resistance is set to be 2.5 Ω.

39Funding: This research received no external funding.

Conflicts of Interest:

40The author declares no conflicts of interest.

Discussion

41Finally, we discuss the power and area overhead of the proposed memristor crossbar circuit. The proposed circuit uses the compensating circuit constituted by an Op-Amp and four resistors. The proposed circuit consumes more power and area, compared to the memristor crossbar without compensating circuit. However, the proposed memristor crossbar with compensating circuit shows better recognition rate by 19% than the previous memristor crossbar circuit, when wire resistance is set to be 2.5 Ω. Because wire resistance in the crossbar cannot be omitted, the proposed scheme makes the memristor crossbar-based perceptron neural network become more possible. The proposed circuit can be applied to memristor-based crossbar architectures which are used in resistive memory and artificial neural networks [34][35][36].

Conclusions

42In this work, a memristor crossbar-based perceptron neural network with compensating circuit is proposed. The neuron's outputs of two columns are put into a subtractor circuit to eliminate the voltage variation caused by wire resistance. The memristor crossbar-based perceptron neural network is trained to recognize the 26 characters. The proposed memristor crossbar with compensating circuit shows better recognition rate, compared to the previous memristor crossbar without compensating circuit when wire resistance is taken into account. The simulation result shows that the proposed circuit can maintain the recognition rate as high as 100% when the wire resistance is set to be 2.5 Ω. By contrast, the recognition rate of the memristor crossbar without compensating circuit decreases by 19% when wire resistance is set to be 2.5 Ω.

43Funding: This research received no external funding.

Conflicts of Interest:

44The author declares no conflicts of interest.

참고문헌 35건

  1. Memristor-Based Multilayer Neural Networks With Online Gradient Descent Training IEEE Transactions on Neural Networks and Learning Systems · Institute of Electrical and Electronics Engineers · 2015 10.1109/tnnls.2014.2383395
  2. Adaptive Synchronization of Memristor-Based Neural Networks with Time-Varying Delays IEEE Transactions on Neural Networks and Learning Systems · Institute of Electrical and Electronics Engineers · 2014 10.1109/tnnls.2014.2361776
  3. Neural Synaptic Weighting With a Pulse-Based Memristor Circuit IEEE Transactions on Circuits and Systems I Regular Papers · Institute of Electrical and Electronics Engineers · 2011 10.1109/tcsi.2011.2161360
  4. Self-Organization and Associative Memory Springer series in information sciences · Springer Nature · 1989 10.1007/978-3-642-88163-3
  5. Electrical characterization of copper interconnects with end-of-roadmap feature sizes Solid-State Electronics · Elsevier BV · 2003 10.1016/s0038-1101(03)00042-x
  6. Memristor crossbar based hardware realization of BSB recall function 2022 International Joint Conference on Neural Networks (IJCNN) · 2012 10.1109/ijcnn.2012.6252563
  7. Memristor-based synapse design and training scheme for neuromorphic computing architecture 2022 International Joint Conference on Neural Networks (IJCNN) · 2012 10.1109/ijcnn.2012.6252577
  8. Nanoscale Memristor Device as Synapse in Neuromorphic Systems Nano Letters · American Chemical Society · 2010 10.1021/nl904092h
  9. Artificial neural networks in hardware: A survey of two decades of progress Neurocomputing · Elsevier BV · 2010 10.1016/j.neucom.2010.03.021
  10. Crossbar RRAM Arrays: Selector Device Requirements During Write Operation IEEE Transactions on Electron Devices · Institute of Electrical and Electronics Engineers · 2014 10.1109/ted.2014.2327514
  11. New Memristor-Based Crossbar Array Architecture with 50-% Area Reduction and 48-% Power Saving for Matrix-Vector Multiplication of Analog Neuromorphic Computing JSTS Journal of Semiconductor Technology and Science · Institute of Electronics Engineers of Korea · 2014 10.5573/jsts.2014.14.3.356
  12. Complementary resistive switches for passive nanocrossbar memories Nature Materials · Nature Portfolio · 2010 10.1038/nmat2748
  13. The 3-D Stacking Bipolar RRAM for High Density IEEE Transactions on Nanotechnology · Institute of Electrical and Electronics Engineers · 2012 10.1109/tnano.2012.2208759
  14. High density 3D memory architecture based on the resistive switching effect Solid-State Electronics · Elsevier BV · 2009 10.1016/j.sse.2009.09.034
  15. Memristor Bridge Synapse-Based Neural Network and Its Learning IEEE Transactions on Neural Networks and Learning Systems · Institute of Electrical and Electronics Engineers · 2012 10.1109/tnnls.2012.2204770
  16. Cross-Point Memory Array Without Cell Selectors—Device Characteristics and Data Storage Pattern Dependencies IEEE Transactions on Electron Devices · Institute of Electrical and Electronics Engineers · 2010 10.1109/ted.2010.2062187
  17. Analog Circuit Design Automation Using Neural Network-Based Two-Level Genetic Programming International Conference on Machine Learning and Cybernetics · 2006 10.1109/icmlc.2006.258348
  18. The missing memristor found Nature · Nature Portfolio · 2008 10.1038/nature06932
  19. Feedforward Neural Network Implementation in FPGA Using Layer Multiplexing for Effective Resource Utilization IEEE Transactions on Neural Networks · Institute of Electrical and Electronics Engineers · 2007 10.1109/tnn.2007.891626
  20. Device Innovation and Material Challenges at the Limits of CMOS Technology Annual Review of Materials Science · Annual Reviews · 2000 10.1146/annurev.matsci.30.1.681
  21. Neuro chips with on-chip back-propagation and/or Hebbian learning IEEE Journal of Solid-State Circuits · Institute of Electrical and Electronics Engineers · 1992 10.1109/4.173117
  22. A Memristor Device Model IEEE Electron Device Letters · Institute of Electrical and Electronics Engineers · 2011 10.1109/led.2011.2163292
  23. Memristor-The missing circuit element IEEE Transactions on Circuit Theory · Institute of Electrical and Electronics Engineers · 1971 10.1109/tct.1971.1083337
  24. Neuromorphic electronic systems Proceedings of the IEEE · Institute of Electrical and Electronics Engineers · 1990 10.1109/5.58356
  25. Dynamic Reference Scheme with Improved Read Voltage Margin for Compensating Cell-position and Background-pattern Dependencies in Pure Memristor Array JSTS Journal of Semiconductor Technology and Science · Institute of Electronics Engineers of Korea · 2015 10.5573/jsts.2015.15.6.685
  26. New pulse amplitude modulation for fine tuning of memristor synapses Microelectronics Journal · 2016 10.1016/j.mejo.2016.07.010
  27. Analog Neural Circuit and Hardware Design of Deep Learning Model Procedia Computer Science · Elsevier BV · 2015 10.1016/j.procs.2015.08.137
  28. Architecture, design and technology guidelines for crosspoint memories 2017 10.1109/nanoarch.2017.8053733
  29. Advanced memory solutions for emerging circuits and systems 2021 IEEE International Electron Devices Meeting (IEDM) · 2017 10.1109/iedm.2017.8268422
  30. Efficient and self-adaptive in-situ learning in multilayer memristor neural networks Nature Communications · Nature Portfolio · 2018 10.1038/s41467-018-04484-2
  31. Parallel Program Development Elsevier eBooks · Elsevier BV · 2011 10.1016/b978-0-12-374260-5.00006-3
  32. Memristors for the Curious Outsiders Technologies · Multidisciplinary Digital Publishing Institute · 2018 10.3390/technologies6040118
  33. An Analog Neural Network Computing Engine Using CMOS-Compatible Charge-Trap-Transistor (CTT) IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems · Institute of Electrical and Electronics Engineers · 2018 10.1109/tcad.2018.2859237
  34. Self-Organization and Associative Memory Springer series in information sciences · Springer Nature · 1988 10.1007/978-3-662-00784-6
  35. Strained Silicon Layer in CMOS Technology Electronics ETF · University of Banja Luka · 2014 10.7251/els1418063p