Professional Documents
Culture Documents
fully edited. Content may change prior to final publication. Citation information: DOI
10.1109/ACCESS.2020.2986513, IEEE Access
Date of publication xxxx 00, 0000, date of current version xxxx 00, 0000.
Digital Object Identifier 10.1109/ACCESS.2017.Doi Number
ABSTRACT In this paper, we propose a new crossbar architecture of memristors with bipolar inputs for an
image recognition application. The performance of the proposed crossbar array with bipolar inputs is based
on the simplified Exclusive-NOR function to measure the similarity between the input pattern and the
stored patterns. In the proposed architecture, only one crossbar array is used instead of two crossbar arrays.
The number of memristors in the proposed architecture is reduced by 50%, when compared to the
complementary and the twin architectures. The proposed crossbar architecture with bipolar inputs consumes
16.7% and 7.2% less power than do the complementary and twin architectures. In addition, using only one
crossbar array in the proposed architecture can improve the fault tolerance of the crossbar circuit. When
10% of memristors are defective, the proposed crossbar architecture shows a recognition rate improved by
5%, 7% and 4% over that of the memristor binarized neural network, the complementary architecture of the
memristor crossbar and the twin architecture of the memristor crossbar when recognizing 10 images.
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/.
This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI
10.1109/ACCESS.2020.2986513, IEEE Access
between an input pattern and the stored patterns as well In Eq. (2), A' is neglected because it is a constant and has
[23]. The twin crossbar architecture consumes less power no operation with the stored pattern B. For this reason, AB
– A'B can measure the similarity between the input pattern
than the complementary crossbar architecture does for the
and the stored pattern as well. Here, two identical crossbar
application of image recognition [23]. However, there are arrays are used to store the patterns instead of using two
several drawbacks with memristor crossbar architectures complementary crossbar arrays [23]. Eq. (2) can be
such as the sneak path leakage, the process variation, and implemented using the twin crossbar architecture, as
the fault of crosspoints [24]. In the previous works, two conceptually shown in Fig. 1(b) [23]. The twin crossbar
crossbar arrays are utilized to implement the signed architecture has been demonstrated to be better than the
synaptic weights of an artificial neural network or to complementary crossbar circuit in terms of power
consumption and variation-tolerance [23], [26].
perform the XNOR function. In this work, we propose a
single crossbar array with bipolar inputs for realizing the M+ M-
A A'
simplified XNOR function for measuring the similarity
between the input pattern and the stored patterns. The
g+i,j g-i,j I0 ,0 g-0,0
proposed single crossbar array is implemented in the Input
ai a'i
a0
application of image recognition. The number of
memristors is reduced by half. As a result, the power AB A'B'
consumption is reduced. The impact of memristance LRS
HRS
variation and the fault of memristors are mitigated AB+A'B'
Input low
significantly. Winner-take-all circuit
Input high
Output
II. MEMRISTOR CROSSBAR ARCHITECTURE FOR (a)
NEUROMORPHIC IMAGE RECOGNITION M+ M+
A A'
A. THE COMPLEMENTARY ARCHITECTURE AND THE
TWIN ARCHITECTURE OF MEMRISTOR CROSSBARS
gi,j gi,j
ai a'i
Input
Fig. 1(a) shows a conceptual diagram of a
complementary crossbar architecture of memristors for
pattern recognition [22]. It is based on the Exclusive-NOR AB A'B
input pattern and the stored patterns [22]. In Fig. 1(a), g+0,0 AB-A'B HRS
is the crosspoint’s conductance between the first row and Winner-take-all circuit Input low
the first column in the M+ array. a0 is the input to the first Output
Input high
row of the M+ array. I0,0 is the current flowing through the (b)
crosspoint between the first row and the first column. The
current I0,0 is high if and only if the input is high, and the FIGURE 1. Crossbar architecture of memristors for neuromorphic pattern
recognition. (a) The complementary architecture [22], and (b) the twin
crosspoint is a low-resistance memristor. Therefore, the architecture [23]
current I0,0 is considered as a result of an AND function
with its inputs as the input a0 and the crosspoint state. The The complementary and twin crossbars of binary
crosspoints are either a low-resistance state (LRS) or high- memristors exhibit very interesting results in the application
resistance state (HRS) for storing the data of 1 or 0. In Fig. of pattern recognition; however, the variation in
1(a), A is a vector of inputs, B is stored patterns, and A' and memristance and the faults in crosspoints degrade the
B' are the inversions of A and B. The two memristor performance of crossbar circuits considerably [24], [27]-
crossbar arrays in Fig. 1(a) perform the XNOR function to [28]. Two crossbar arrays cannot be completely identical or
measure the similarity between the input pattern and the complementary because of the variation in the conductance
stored patterns in the crossbar array as presented in the of crosspoints. Furthermore, memristor defects prevailingly
following equation [25]. occur in the crossbar array, with the result being that it is
A B AB A' B ' (1) impossible to obtain two complementary or identical arrays.
Therefore, trying to use only one crossbar array becomes a
The winner-take-all circuit compares all columns and crucial solution for practically feasible neuromorphic
produces the winner corresponding to the column that is pattern recognition circuits.
regarded as the best match to the input pattern [22]-[23].
The XNOR function in Eq. (1) can be expressed as Eq. (2) B. THE PROPOSED SINGLE MEMRISTOR CROSSBAR
ARRAY
A B AB A' (1 B )
(2) The XNOR function presented in Eq. (1) can be
AB A' B A' simplified as follows
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/.
This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI
10.1109/ACCESS.2020.2986513, IEEE Access
Unipolar to bipolar 4
Input
converter
M+ LRS a1023<0:3>
4
A A' (A-A') i1023 <0:3>
I0,3 I0,2 I0,1 I0,0 I9,3 I9,2 I9,1 I9,0
HRS
×8 ×4 ×2 ×1 ×8 ×4 ×2 ×1
Negative
input
LRS
Input Positive
HRS
input
I0 I9
i0 i1 In-1 Winner-take-all circuit
(A-A')B
Output0 Output9
Winner-take-all circuit (b)
Output FIGURE 3. (a) The 32×32 grayscale images stored in the crossbar array and
(b) the block diagram of the proposed single crossbar architecture with
FIGURE 2. The proposed memristor crossbar architecture that employs only bipolar inputs for image recognition
one crossbar array for neuromorphic pattern recognition
Fig. 4 shows a detailed schematic of the proposed crossbar
architecture. The input pixels from a0 to a1023 are converted
Fig. 2 shows a conceptual diagram of the proposed crossbar to bipolar inputs of i0 to i1023 using the unipolar to bipolar
architecture, in which only one crossbar array of converter circuits simply realized by the comparators, as
memristors is used to store the patterns. The column-line shown in Fig. 4. The bipolarized input of i0<3> connects to
current i0 represents the similarity between the input pattern the column with a weight as large as 8. Similarly, the inputs
and the pattern stored in the first column. Similarly, the of i0<2>, i0<1>, and i0<0> are connected to the columns
column-line current in-1 represents the similarity between with the weights as large as 4, 2, and 1, respectively. M 0,3,
the input pattern and the pattern stored in the last column. M0,2, M0,1, and M0,0 are memristors for the crossbar array of
All the column-line currents from i0 to in-1 are fed into a image (#0), where i0<3>, i0<2>, i0<1>, and i0<0> are
Winner-take-all circuit, which finds the maximum column- applied. The transistors M0 and M1 constitute a current
line current corresponding to the column that is the best mirror with a ratio as large as 8. To do this, M1 should be
match with the input vector. eight times that of M0. By the same way, M3 should be four
Fig. 3(a) shows 10 32×32 grayscale images used to test the times M2 to realize the weight of 4, and M5 should be twice
proposed crossbar architecture. Each image is converted to as large as M4 to realize the weight of 2. M6 and M7 have
a vector of 1024 pixels. Each pixel is digitalized by 4 bits. the same size for the weight of 1. The weighted current I 0
Fig. 3(b) shows a block diagram of the proposed single can be calculated as follows
memristor crossbar with bipolar inputs for image
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/.
This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI
10.1109/ACCESS.2020.2986513, IEEE Access
I0,3 I0,2 I0,1 I0,0 I9,3 I9,2 I9,1 I9,0 The proposed memristor circuit in Fig. 4 was simulated
M1 M3 M5 M7 using a Cadence Spectre circuit simulation [27].
M0 M2 M4 M6 Memristors are modeled using Verilog-A [28]. The 32×32
VDD VDD
grayscale images shown in Fig. 3(a) are digitalized by 4
M8 VC0 CLK VC9
CLK C0 I0
C9
I9 bits. Each image is stored in 4 columns of the crossbar
array with the weights being 8, 4, 2, and 1, respectively.
Winner-take-all circuit Fig. 6(a) shows the weighted currents from I 0 to I9 when
Output0 Output9 image (#0) is applied to the crossbar. Among the 10
FIGURE 4. The schematic of the proposed crossbar architecture with bipolar weighted currents, I0 is the largest one to indicate that the
inputs for neuromorphic image recognition stored image (#0) is the most similar to the input image.
The proposed architecture differs from the previous work. That means the crossbar can recognize image (#0).
We use only one crossbar array, instead of two crossbar Similarly, the weighted currents of I1, I8, and I9 are the
arrays, to conserve the power consumption and the area largest currents when the input images are image (#1),
occupation. The weighted currents of I0 to I9 represent the image (#8), and image (#9), respectively. The winner-take-
amount of similarity between the applied input image and all circuit can choose the largest current among the 10
the 10 stored images. The values of the 10 weighted currents. The simulation results shown in Fig. 6 verify that
currents are used to discharge the capacitors C0 to C9, as the proposed single memristor crossbar with bipolar inputs
shown in Fig. 4. The winner-take-all circuit detects the can be used for the application of image recognition based
fastest discharge node among the 10 nodes on measuring the similarity between the input image and
the stored images.
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/.
This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI
10.1109/ACCESS.2020.2986513, IEEE Access
Original images
DCT-compressed images
80 Input: Image #0 100 Input: Image #1
Current (mA)
80
Current (mA)
60
60
40
40
80
20
20
60
0 0
I0 I1 I2 I3 I4 I5 I6 I7 I8 I9 I0 I1 I2 I3 I4 I5 I6 I7 I8 I9
Column Column 40
(a) (b)
120
80 Input: Image #8 Input: Image #9 20
100
Current (mA)
Current (mA)
60 80
0
40
60 Complementary Twin Proposed
40 crossbar crossbar crossbar
20
20
FIGURE 7. The comparison of the power consumptions among the
0 0 complementary architecture, the twin architecture, and the proposed architecture
I0 I1 I2 I3 I4 I5 I6 I7 I8 I9 I0 I1 I2 I3 I4 I5 I6 I7 I8 I9
of a crossbar array
Column Column
(c) (d)
One of the major challenges of memristor crossbar arrays
FIGURE 6. (a) The weighted currents I0 to I9 when the image (#0) is applied is the crosspoint fault [24]. The faults of crosspoints can be
to the inputs. I0 is the largest current indicating that the input image is best defined as stuck-defects and categorized as stuck-at-LRS,
matched with the stored image (#0). (b) The weighted currents I0 to I9 when
image (#1) is applied to the inputs. I1 is the largest current among the 10
stuck-at-HRS, stuck-at-ON, and stuck-at-OFF [24]. LRS
currents for recognizing image (#1). (c) and (d) The weighted currents I0 to I9 and HRS mean low-resistance state and high-resistance
when image (#8) and image (#9) are applied to the inputs state. The state-of-the art memristor arrays have a fault rate
In the proposed architecture of a memristor crossbar for as high as 10%, which causes the performance of a crossbar
image recognition, only one memristor array is used instead array to be severely degraded [29]-[30]. Fig. 8(a) shows the
of two crossbar arrays, as with the previous work. The ideal crossbar without defects and the real crossbar with
advantage of the proposed architecture is that the number of defects. In Fig. 8(a), stuck-at-LRS faults mean the
memristors is reduced by half leading to the reduction in crosspoints are always in a low-resistance state. By
power consumption. Fig. 7 shows the comparison of power contrast, stuck-at-HRS faults mean the crosspoints are
consumptions among the complementary architecture, the always in a high-resistance state. These memristors cannot
twin architecture, and the proposed architecture. The power be programed to change their memristance values. Stuck-at-
consumptions shown in Fig. 7 are measured for the whole ON faults indicate that the crosspoints constantly conduct
circuit including the crossbar array and the external circuits. current, and these crosspoints ideally have zero resistance.
In Fig. 7, we measure the power consumption of the circuit Stuck-at-OFF faults mean the crosspoints have infinite
using the Cadence Spectre circuit simulation. The proposed resistance. In this work, we assume that the four levels of
single crossbar array with bipolar inputs consumes less faults occur in the crossbar array, as shown in Fig. 8(a).
power than do the complementary crossbar array and the
twin crossbar array by 16.7% and 7.2%, respectively, for
recognizing the original images. For DCT-compressed
images, the proposed crossbar shows a power consumption
reduced by 82% and 20%, when compared to the those of
the complementary and the twin crossbar architectures.
Though the unipolar to bipolar converter circuits are added
to the proposed circuit, the single crossbar circuit consumes
less power than the complementary and twin crossbar
circuits because one memristor crossbar is utilized, and the
memristor crossbar consumes more power than the external
circuits such as unipolar to bipolar converter circuits.
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/.
This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI
10.1109/ACCESS.2020.2986513, IEEE Access
Ideal memristor crossbar Real memristor crossbar columns of two crossbars are added together, as indicated
in Fig. 1(a). Therefore, if the stuck-at-ON occurs in both
columns, the weighted current can increase remarkably. As
a result, the recognition rate degrades dramatically. The
memristor binarized neural network and the twin
architecture use subtractions instead of additions.
Therefore, the variation in weighted currents caused by
memristor defects can be partially compensated. In the
Stuck-at HRS
Good HRS cell
Stuck-at LRS
proposed architecture, the number of memristors is reduced
Good LRS cell Stuck-at OFF by half. Additions and subtractions are not used in the
(a) Stuck-at ON proposed crossbar circuit. For these reasons, the proposed
100 single crossbar shows a high recognition rate when 10% of
the crosspoints are defective, when compared to that of the
95
memristor binarized neural network, the complementary
Recognition rate (%)
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/.
This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI
10.1109/ACCESS.2020.2986513, IEEE Access
[5] T. Pešić-Brđanin, B. L. Dokić, “Strained Silicon Layer in CMOS between Complementary Crossbar and Twin Crossbar of Binary
Technology,” Electronics, vol. 18, no. 2, pp. 63-69, Dec. 2014. Nano-scale Memristors for Pattern Recognition,” Nanoscale
[6] L. O. Chua, “Memristor – the missing circuit element,” IEEE Trans. Research Letters, vol.10, No. 1, pp. 405-413, Dec. 2015.
Circuit Theory, vol. CT-18, no. 5, pp. 507-519, Sep. 1971. [27] Virtuoso Spectre Circuit Simulator User Guide, Cadence, San Jose,
[7] D. B. Strukov, G. S. Sinder, D. R. Stewart, and R. S. Williams, “The CA, USA, 2004.
missing memristor found,” Nature, vol. 453, pp. 80-83, May 2008. [28] S. J. Ham, H. S. Mo, and K. S. Min, “Low-power VDD/3 write
[8] S. H. Jo, T. Chang, I. Ebong, B. B. Bhadviya, P. Mazumder, and W. scheme with inversion coding circuit for complementary memristor
Lu, “Nanoscale memristor device as synapse in neuromorphic array,” IEEE Trans. Nanotechnology, vol. 12, no. 5, pp. 851-857,
systems,” Nano Letters, vol. 10, no. 4, pp. 1297-1301, Mar. 2010. Sep. 2013.
[9] S. N. Truong and K. S. Min “New memristor-based crossbar array [29] C.-Y. Chen et al., “RRAM defect modeling and failure analysis
architecture with 50-% area reduction and 48-% power saving for based on march test and a novel squeeze-search scheme,” IEEE
matrix-vector multiplication of analog neuromorphic computing,” Trans. Comput., vol. 64, no. 1, pp. 180–190, Jan. 2015
Journal of Semiconductor Technology and Science, vol. 14, no. 3, [30] I. Kataeva, F. Merrikh-Bayat, E. Zamanidoost, and D. Strukov,
pp. 356-363, Jun. 2014. “Efficient training algorithms for neural networks based on
[10] Y. Jeong and W. D. Lu, “Neuromorphic Computing Using memristive crossbar circuits,” in Proc. Int. Joint Conf. Neural Netw.,
Memristor Crossbar Networks,” IEEE Nanotechnology Magazine, Jul. 2015, pp. 1–8
vol. 12, iss. 3, pp. 6-8, Jul. 2018
[11] X. Zhang, A. Huang, Q. Hu, Z. Xiao, and P.K. Chu, “Neuromorphic
Coomputing with Memristor Crossbar,” Phys. Status Solidi A, vol.
215, iss. 13, pp. 1-16, May 2018 Son Ngoc Truong received the B.S. and M.S. degrees in
[12] I. Boybat, M. L. Gallo, S.R. Nandakumar, T. Moraitis, T. Parnell, T. Electronic Engineering from The University of Technical
Tuma, B. Rajendran, Y. Leblebici, A. Sebastian, and E. Eleftheriou, Education Ho Chi Minh City, Vietnam, in 2006 and 2011,
“Neuromorphic Computing with Multi-Memirstive synapse,” Nature respectively, and the Ph.D degree in Electronic Engineering
Communications, vol. 9, no. 2514, 2018. from Kookmin University, Seoul, Korea, in 2016. He was a
[13] R. S. Williams, “How we found the missing memristor,” IEEE postdoctoral researcher fellow at Kookmin University,
Spectrum, vol. 45, iss. 12, pp. 28-35, Dec. 2008. Seoul, Korea in 2016 and 2017. He is currently lecturer at
[14] C. Kugeler, M. Meier, R. Rosezin, S. Gilles, and R. Waser, “High Ho Chi Minh City University of Technical and Education.
density 3D memory architecture based on the resistive switching His current research interests include circuits and systems of Neuromorphic
effect,” Solid State Electron., vol. 53, no. 12, pp. 1287–1292, Dec. computing system, Brain-inspired System
2009.
[15] M. M. Shulaker et al., “Monolithic 3D integration of logic and
memory: Carbon nanotube FETs, resistive RAM, and silicon FETs,”
in Proc. 2014 IEEE Int. Electron Devices Meeting, pp. 638–641,
Dec. 2014
[16] S. Y. Sun, H. Xu, J. Li, Q. Li, and H. Liu, “Cascaded Architecture
for Memristor Crossbar Array Based Larger-Scale Neuromorphic
Computing,” IEEE Access, vol. 7, pp. 61679-61688, May 2019
[17] S. Wen, S. Xiao, Z. Yan, Z. Zeng, and T. Huang, “Adjusting
Learning Rate of Memristor-based Multilayer Neural Networks via
Fuzzy Method,” IEEE Transactions on Computer-Aided Design of
Integrated Circuits and Systems (Early Access), 2018.
[18] Y. Zhang, M. Cui, L. Shen, and Z. Zeng, “Memristive Quantized
Neural Networks: A Novel Approach to Accelerate Deep Learning
On-Chip,” IEEE Transactions on Cybernetics (Early Access), 2019
[19] S. Wen, H. Wei, Z. Guo, Y. Yang, T. Huang, and Y. Chen,
“Memristor-based Design of Sparse Compact Convolutional Neural
Network,” IEEE Transactions on Network Science and Engineering
(Early Access), 2019.
[20] M. E. Fouda, S. Lee, J. Lee, A. Eltawil, and F. Kurdahi, “Mask
Technique for Fast and Efficient Training of Binary Resistive
Crossbar Arrays,” IEEE transaction on Nanotechnology, vol. 18, pp.
704-716, 2019.
[21] J. Lee, J. K. Eshraghian, K. Cho, and K. Eshraghian, “Adaptive
precision cnn accelerator using radix-x parallel connected memristor
crossbars, arXiv preprint arXiv:1906.09395, 2019
[22] S. N Truong, S. J. Ham, and K. S. Min “Neuromorphic crossbar
circuit with nanoscale filamentary-switching binary memristors for
speech recognition,” Nanoscale Research Letters, vol. 9 no. 629, pp.
1-9, Nov. 2014.
[23] S. N. Truong and K. S. Min “New twin crossbar architecture of
binary memristors for low-power image recognition with discrete
cosine transform,” IEEE Transactions on Nanotechnology, vol. 14 ,
Iss. 6, pp. 1104-1111, Nov. 2015
[24] O. tunali and M. Altun, “A Survey of Fault Tolerance Algorithms for
Reconfigurable Nano-Crossbar Arrays,” vol. 50, iss. 6, Jan. 2018
[25] H. Abbas, Y. Abbas, S. N. Truong, K. S. Min, M. R. Park, J. Cho, T.
S. Yoon and C. J. Kang, “A memristor crossbar array of titanium
oxide for non-volatile memory and neuromorphic applications,”
Semiconductor Science and Technology, vol.32, no. 6, pp. 1-7, May
2017.
[26] S. N. Truong, S. H. Shin, S. D. Byeon, J. S. Song, H. S. Mo, and K.
S. Min, “Comparative Study on Statistical-Variation Tolerance
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/.