Professional Documents
Culture Documents
Zhao 2018
Zhao 2018
Duan Shukai
Accepted Manuscript
PII: S0925-2312(18)30800-2
DOI: 10.1016/j.neucom.2018.06.062
Reference: NEUCOM 19740
Please cite this article as: Liang Zhao, Qinghui Hong, Xiaoping Wang, Novel Designs of Spik-
ing Neuron Circuit and STDP Learning Circuit Based on Memristor, Neurocomputing (2018), doi:
10.1016/j.neucom.2018.06.062
This is a PDF file of an unedited manuscript that has been accepted for publication. As a service
to our customers we are providing this early version of the manuscript. The manuscript will undergo
copyediting, typesetting, and review of the resulting proof before it is published in its final form. Please
note that during the production process errors may be discovered which could affect the content, and
all legal disclaimers that apply to the journal pertain.
ACCEPTED MANUSCRIPT
T
IP
Abstract
The pure circuit implementation of STDP is a worthwhile work. In this study, a novel spiking neuron
CR
circuit and STDP learning circuit based on memristors are designed. The proposed spiking neuron
circuit, which is based on conventional leaky integrate-and-fire neuron and utilizes the nonlinear
US
variation of memristance, is served to generate spikes. Different release thresholds and amplitudes
of the spikes can be obtained through tuning circuit parameters. Extending on the spiking neuron
circuit, a STDP learning circuit is built to perform unsupervised learning behaviors. Furthermore, a
AN
crossbar array architecture is finally considered to fabricate multi-input multi-output spiking neural
network which also perform STDP learning effectively. Circuit simulation results in PSPICE prove
the availability of the two proposed circuits.
M
1. Introduction
Recently, various researches focus on the implementation of brain-inspired systems that imitate
PT
biological neural network (BNN). The human brain has the excellent capability to achieve a parallel,
efficient, and real-time computation, which is definitely vital for the brain to urge itself to adapt
CE
5 to the constantly changing external environment. This ability relies on the protocol of learning
and storage implemented by synapses and neurons in brain. Actually, information from outside
the neuron are stored in the form of synaptic weights. By the time the information change, the
AC
process of learning occurs, which reflects as the update of synaptic weights, i.e., synaptic plasticity.
∗ Correspondingauthor
Email address: wangxiaoping@hust.edu.cn (Xiaoping Wang)
Spike timing dependent plasticity (STDP) is a promising physiological mechanism when it comes to
10 the modulation of synaptic weights. Importantly, STDP allows unsupervised learning which makes
it possible to build a real-time adaptive systems with satisfactory information processing ability
inspired by BNN [1, 2, 3, 4, 5]. Moreover, the pure circuit implementation of learning rules is also a
meaningful work to perform parallel actions in systems as much as possible which is more efficient
than software-assistant computing systems.
T
15 STDP performs an associative homosynaptic plasticity learning based on the time difference
IP
between a pair of spikes that pre- and pos-neuron fire, respectively. This rule determines the
synaptic weight modification as either depression or potentiation [6, 7, 8]. Thus, these two processes
CR
should be well considered when researchers focus on the circuit implementation of STDP. Spike
neuron circuit is a critical part that takes the responsibility to generate spikes applied on synapse.
In the past studies, a number of pulse generating circuits based on mathematical models were
US
20
designed, known as spiking neuron models. Some of the most common ones available in studies
are mentioned there. The first one based on Hodgkin-Huxley model was proposed in 1991, which
AN
described the activity of a neuron in detail but is too complicated to be realized in circuit. After
that, a widely used model called integrate and fire neuron model was designed by Culurciello et
25 al. and several improved versions, such as leaky integrate-and-fire neuron and low-power adaptive
M
integrate-and-fire neuron, were proposed in succession. These circuits are simpler than the previous.
Nevertheless, because of the minimalism, these circuits can not produce suitable negative wave
without additional switch and logical gate. In addition, Eugene Izhikevich presented a neuron
ED
model in 2003, i.e., Izhikevich and Wilson model, which is computationally simple compared with
30 HH model but still in the circuit implementation of STDP [9, 10, 11, 12].
On the other hand, synaptic circuit also should be well designed. In this connection, A. Bofill-
PT
i-Petit [13], G. Indiveri [14, 15], J. M. Cruzalbrecht [16], H. Mostafa [17], P. Jungjin [18], and
M. R. Azghadi [19] et al. achieved the STDP in circuits. They designed different neuron circuits
CE
referring to the integrate-and-fire (I&F) neuron model with different corresponding metallic oxide
35 semiconductor field effect transistor (MOSFET)-based synaptic circuits. However, some of these
synaptic circuits cannot provide both depression and potentiation in one single design. Besides,
AC
some synaptic circuits occupy large area and are too complex to be integrated in crossbar array,
which limits their applications in neural network.
Over the past decades, emerging memristor, the fourth circuit element theoretically postulated
2
ACCEPTED MANUSCRIPT
40 by Chua in 1971 besides resistor, capacitor, and inductor, has been regarded as a perfect device to
the establishment of artificial synapses due to its performance of compact non-volatile memories
and the modulation similar to synaptic plasticity. In addition, memristor, as a two terminal passive
element with nanoscale, can save area in some possible replacement for silicon circuits. Memeristor
initially realized by HP labs in 2008 [20] and since then several compounds became the first batch of
45 materials to be used as memristive synapses. Under this background, T. Serrano-Gotarredona [21],
T
G. Lecerf [22], N. Yu [23], E. Covi [24], Y. Babacan [25], and G. Narasimman [26] et al designed
IP
a single synaptic circuit based on memristor to manage the two processes. However, these circuit
more or less have additional switches or logical gates and G. Lecerf adopted current conveyor in
CR
his circuits. These circuit integrated elements are not efficient in space saving of array structure.
50 Other researchers like A. Afifi [27], C. Zamarreñoramos [28], M. Prezioso [29], A. Shukla [30], and
N. Panwar [31] also used memristor in synaptic circuits and proposed a compact synaptic array
US
frame to perform STDP, but the learning processes partially depended on software which is away
from the pure circuit implementation of the STDP. Besides, M. R. Azghadi, N. Yu, and E. Covi et
AN
al. employed different pre- and pos-spike shapes to behave STDP, which weakened the identity of
55 neuron circuits in array network.
Given the unique features of memristor, especially its nonlinear characteristics, a novel spiking
M
neuron circuit and STDP learning circuit are proposed attempting to solve the above problems
especially the circuit implementation of STDP in this paper. Based on traditional leaky integrate-
and -fire neuron, we consider the potential evolution of neuron membrane which can be induced
ED
60 by changing the memristance through applying appropriate voltage to it, for which the spiking
neuron circuit has the ability to generate spikes. Then with this, the proposed STDP circuit
performs unsupervised learning and a two-inputs two-outputs spiking neural network in form of
PT
crossbar array are built. We also conduct several circuit simulations to indicate the feasibility of
the proposed circuits and discuss the merits of the proposed system in the end.
CE
65 The remainder of this paper is organized as follows. Section II introduces the memristor models
and the possibility of the memristor being applied in the synapse and neuron. Section III presents
the memristor-based spiking neuron circuit. Section IV discusses the processes of implementing
AC
STDP both in learning circuit and neural network. Section V analysis the proposed system in some
aspects. Section VI concludes this paper.
3
ACCEPTED MANUSCRIPT
2
(a)
Vpulse [V]
1
0
-1
Memristance [] ×10 5
2
(b)
1.5
1
0.5
0
T
(c)
Current [mA]
0.5 [V]
0.4
IP
0 0.2
0
-0.5 -0.2
spk -20 0 20 40 [s]
-1
CR
0 0.1 0.2 0.3
Time [ms]
Figure 1: Characteristics of memristor used in neuron circuit [34]. (a) Applied voltage with ±1.65V, 5kHz, and 0.25
duty ratio, (b) change in memristance, and (c) change in current is similar to the spk wave in subgraph defined by
70
(1).
ation nonvolatile memory, logic state operations, neuromorphic computing, and CMOS/memristor
hybrid circuits. A variety of materials have been used to stack memristors which bring about their
different performances varying in applications [22, 27, 30]. Two kinds of memristors are employed
ED
75
The potential of cell membrane is related to its permeability for different ions including K + ,
N a+ , and Cl− [10, 11, 12, 32, 33]. The spiking signal released by pre- and pos-neuron determines
CE
80 the modulation of synaptic weights directly. In order to facilitate their research without loss of
generality, a number of neuroscience researchers employed simple math models to express the spiking
signals in software [28, 33]. The change of cytomembrane potential can be considered as a process
AC
4
ACCEPTED MANUSCRIPT
T
0, otherwise,
IP
−
where A+
mp and Amp represent the positive and negative amplitudes of spiking signal, respectively.
−
τ + , τ − , t+
ail , and tail are the time constants. Spike waveform shape is shown in small subgraph of
CR
85
Fig. 1(c).
A voltage-controlled memristor is employed in spiking neuron circuit. Its memristance also
90
changes in an exponential nonlinear way.
in [34].
US
The relative mathematical expressions are provided as follows and SPICE codes can be viewed
VM − Vtl
AN
α− , VM < Vtl < 0
γ + |VM − Vtl |
dr(VM , t)
= βVM , Vtl < VM < Vtr (2)
dt
α+ VM − Vtr ,
M
e2L
M (LVM ,t ) = f0 , (4)
L
PT
where VM represents applied voltage; Vtr , Vtl are threshold voltages; L represents tunnel barrier
width; M is the memristance; r is state variable; the rest are fitting parameters.
Fig. 1 illustrates the memristance and current as a function of time, respectively, under a
CE
95
pulse voltage as in Fig. 1(a) directly applied to the memristor. Memristance changes in the range
{RON , ROF F } = {2kΩ, 200kΩ} shown in Fig. 1(b). The current through the memristor shown in
AC
Fig. 1(c) puts up a similar curve trend compared with the curve in subgraph. Accordingly, we can
use this memristor in pulse generating circuit to obtain needed spikes. The finely tuned SPICE
100 parameters are listed as follows: α+ = 1 × 107 , α− = 3.4 × 106 , β = 0, γ = 0.1, Vtr = 1.5V,
Vtl = −1.5V, m = 82, L0 = 5nm, f0 = 310. Different values between α+ and α− help circuit
5
ACCEPTED MANUSCRIPT
2
(a)
1
Vpulse [V]
0
-1
-2
(b)
Memristance []
400
300
T
200
100
IP
0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Time [ms]
CR
Figure 2: Characteristics of memristor used as synapse [35]. (a) The voltage applied on the memristor, and (b)
change in memristance. Under a periodic pulse voltage, memristance change rate depends on initial memristance
(every point on the memristance curve can be regarded as a initial state of memristor, slope represents change rate),
US
namely fast at first and then gradually becomes slow in positive and negative orientation respectively.
current possess fast evolution in positive direction and slow in opposite. β with a value of 0 avoids
AN
the memristance alter when applied voltage is under threshold.
Synapses play a key role in the transmission of information between two neurons. Several
M
105
aspects need to be considered when we look for the synaptic device, including synaptic weight
storage, adaptive weight modulation in circuit, and the circuit for communication. Definitely, the
ED
mechanism of the memristor makes it possible to meet these needs. Memristance records the amount
of charges having passed through a memristor in a certain time and then changes by some rules
110 [20]. In this paper, we use a threshold memristor model based on AgInSbTe which is fabricated
PT
and characterized in [35, 36]. The memristance of this device changes only if the voltage applying
to it exceeds the threshold voltage. Above all, the memristance evolution trend is same to the
CE
performance in real neural synapse for which we use this memristor as analog. Synaptic weight can
be represented by the conductance of memristor, namely the change trend of weight is accordant
115 with conductance but opposite to memristance. The mathematical expressions are
AC
2ω(t)
f (ω(t)) = 1 − ( − 1)2p , (5)
D
6
ACCEPTED MANUSCRIPT
package sign
Iin Vout
+Vcc +Vcc +Vcc MLIF
SN
P1 P3 P4
Iin Vap M Vout
Cm N1 N2
R
T
-Vdd
N3 Vc
IP
IV 1 IV 2
P2
CR
Figure 3: Circuit structure of Memristor-based Leaky Integrate-and-Fire (MLIF) neuron. Iin represents inject
US
current. Vout is the output spike signal. Black block is the positive electrode of memristor and the voltage of this
end is denoted by Vap . Subgraph is the package symbol that will be used in the following circuits.
AN
RON iof f
µv f (ω(t)), 0 < VT + < VM
D i(t) − i0
dω(t)
= 0, VT − < VM < VT + (6)
dt
M
R i(t)
µv ON f (ω(t)), VM < VT − < 0,
D ion
ω(t) ω(t)
M (t) = RON + ROF F (1 − ). (7)
ED
D D
In two processes including rise and fall, memristance change fast at first and then goes slow as
shown in Fig. 2 what means change rate depends on the initial state of memristance.
PT
Qualitatively, one biological neuron receives all messages in the form of currents or voltages
from its pre-neurons. Then, the sum of the inputs maybe make the neuron membrane potential
reach a voltage threshold at a certain moment and a spike will be released immediately in this case.
AC
Afterwards, the spiking signal will be sent to its pos-neurons and this neuron will go back to its
125 initial state right away. One cycle of neural firing is finished [32, 33].
7
ACCEPTED MANUSCRIPT
To acquire the spike patterns above-mentioned, a simple circuit is designed based on LIF neuron
model in this section. The whole circuit schematic diagram can be seen in Fig. 3. Circuit con-
structed by a total of seven MOSFETs, one capacitance, one resistor, and one memristor without
any additional switch or logic gate. Capacitor Cm and silicon components P2 , P3 , N1 , N2 are
130 exactly part of the traditional leaky integrate-and-fire neuron. Cm conducts the current integrate
process. The output of inverter made by P3 and N1 (IV1 ) is sent back to the grid electrode of P1 to
T
control hold voltage. Inverter made by P4 and N2 (IV2 ) exports Vap (+V cc or −V dd) depending on
IP
the output of IV1 . We add a memristor (M) and a resistor (R) in succession to acquire the desired
spike Vout under the apply voltage Vap , which will connect back to control P2 and N3 to release the
CR
135 charges on Cm . Vc provides a translation voltage that moves original Vout upward to some extent.
We call this circuit Memristor-based Leaky Integrate-and-Fire circuit (MLIF for short).
Circuit behaviors are explained as follows:
US
The input current (Iin ) represents the feed coming from all pre-neurons the neuron connects
to. Cm acts like the cytomembrane to integrate the inject currents and the potential of it will rise
AN
140 gradually. The initial memristance of M is ROF F and will not change under the applied low voltage
(−V dd) that comes from IV2 (voltage divided by R can be ignored and the Vout is almost 0 with
the Vc ’s help). By the time the potential of Cm reaches the turn-on threshold of N1 , IV1 exports 0
M
and IV2 exports +V cc. P1 turns on first and keeps V (Cm ) stable. High voltage applied to M will
drag down the memristance to RON . Since the memristance decreases, the voltage divided by R,
145 namely Vout , rises gradually. When voltage V(M) (Vap − Vout ) is lower than the threshold voltage,
ED
Vout reaches the maximum value in positive direction and memristance reaches the minimum value.
While Vout makes N3 turn on, Cm releases quickly. Then IV2 outputs reverses and V (M ) (actually
evolving from −V dd − Vout to near −V dd) drags up memristance to ROF F . Correspondingly, Vout
PT
evolves from negative maximum value to 0. P2 turns on and Cm releases. Another function of
150 P2 is that its parasitic diode leaks charges on Cm slowly whether spike appears or not. When the
CE
memristance is back to ROF F , the circuit returns initial state to wait another inject current and
one spike signal is complete. Because divided voltage on R cannot come back to 0V when system
is static (memristance is ROF F ), DC supply Vc added achieves an upward translation. Thus,Vout
AC
R
Vc = V cc, (8)
ROF F + R
8
ACCEPTED MANUSCRIPT
155
R
Vout = Vap + Vc , (9)
M +R
where the mathematical model of M can be viewed in (4).
Subgraph in Fig. 3 shows a packaged symbol denoted by SN that will be used in the following
section.
T
6
(a)
Iin [mA]
IP
2
0
(b)
V(Cm ) [V]
CR
1
0
2 (c)
Vap [V]
US
-2
1 (d)
Vout [V]
0.5
0
-0.5
AN
0 0.1 0.2 0.3 0.4
Time [ms]
Figure 4: PSPICE simulation results of SN circuit. (a) Input current Iin , (b) voltage change in integrate capacitor
Cm , (c) applied voltage Vap derive from IV2 , and (d) divided voltage Vout on resistor.
M
The circuit parameters are selected as follows: VT (N1 ) = 1V , VT (N2 ) = 3.5V , VT (N3 ) = 0.9V ,
VT (P1 , P3 , P4 ) = −1.5V , VT (P2 ) = −0.2V (VT is threshold voltage), Cm = 100nF, R = 20kΩ,
ED
160
V cc = 2.5V , V dd = −2.5V . The memristor parameters are listed in Section II-A. VT can be selected
for different spike release thresholds. In the following simulation, we use a N -MOSFET (N1 ) with
PT
threshold voltage 1V to decide that when V(Cm ) exceeds 1V, spike appears. If release voltage
needs to be 0.8V, we can choose MOSFETs as VT (N1 ) = 0.8V and VT (P3 ) = 1.7V . Moreover, the
165 amplitude of Vout also can be changed. We will acquire spike with +0.95V positive maximum value
CE
and −0.65V negative minimum value under the above-mentioned parameters. If spike needs to be
+0.5V / − 0.15V , we can choose MOSFETs as VT (N2 ) = 2.5V and V cc = 2V , V dd = −2V . Thus,
AC
different release thresholds and amplitudes of the spikes can be obtained for various applications.
The experiments are carried out in PSPICE environment and the results are shown in Fig. 4. In
170 order to simplify our study, input (Iin ) is a fixed 5mA nonperiodic current. Obviously, only if the
potential of Cm exceeds the threshold voltage VT (N1 ), V(Cm ) is kept to 2.5V and then high voltage
9
ACCEPTED MANUSCRIPT
V(pos-spk) V(pos-spk)
T
V(pre-pos spk) V(pre-pos spk)
threshold t
IP
t
threshold
Time Time
CR
Figure 5: Spike timing dependent plasticity (STDP). (a) Potentiation process. Pre-spike leads pos; negative voltage
applying to negative electrode of memristor can make memristance decrease and thus weight increase. (b) Depression
US
process. Opposed behaviour to (a).
Vap − Vout (Vout is almost 0 at first) is applied to memristor. Spikes appear in the meantime. While
AN
Vout reach the positive maximum value, Cm releases quickly. If the input current is not enough to
make V(Cm ) exceed VT (N1 ), charges on Cm will release slowly through the parasitic diode of P2 .
175 Any input can still be accepted to fire another spike in this stage just like the circuit performance
M
during the second spike period. Fig. 4(b) reveals the integrate process and Fig. 4(d) reveals the
fire process.
ED
4. Designs of STDP Learning Circuit and Crossbar Array Structure for Spiking Neural
Network
PT
180 In this section, the STDP learning circuit is built in subsection A. One single memristor (men-
tioned in Section II-B) is regarded as a synaptic device. The design of crossbar array structure for
spiking neural network is presented in subsection B.
CE
Based on the Memristor-based Leaky Integrate-and-Fire circuit designed in Section III, a circuit
185 is established to perform the two processes of STDP, i.e., potentiation and depression defined in
Fig. 5 [7, 25]. A simple validation in PSPICE environment through applying different pre- and
10
ACCEPTED MANUSCRIPT
1
(a)
0.5
Vpre [V]
0
-0.5
1
(b)
0.5
Vpos [V]
0
-0.5
1
Memristance [] Vpre-Vpos
T
[V]
0
negative threshold
-1
IP
(d)
300 potentiation
200 depression potentiation
CR
100
0 50 100 150 200 250 300 350 400
Time [s]
US
Figure 6: Circuit simulation results of STDP. (a) Pre voltage spikes, (b) pos voltage spikes, (c) pre-pos voltage, and
(d) evolution of memristance. Memristance’s performance is consist with the mechanism introduced in Fig. 5.
AN
Msyna pse
pre-synapse
Vcc
F
M
Iin Vout
SN SN
mirror current
circuit
pre-neuron pos-neuron
ED
Figure 7: STDP learning circuit. Two voltage followers behind every neuron (SN) play a role of isolation and
transmission forward as well as backward. Mirror current circuit copy current that flows memristor-based synapse
PT
pos- voltage spikes to memristor is shown in Fig. 6. STDP learning circuit structure is shown in
CE
Fig. 7.
The pre-neuron accepts input current and fires spike when neural threshold voltage is reached
AC
190 (tpre ). We place two voltage followers that can separate neuron from pre- and pos-synapse, respec-
tively, at the export of every MLIF neuron. Pre-spike signal passes the memristor-based synapse to
be weighted thus current signal is acquired which will be injected to the post-neuron through a mir-
ror current circuit. Mirror current circuit is used to copy same current as in memristor and avoid its
11
ACCEPTED MANUSCRIPT
1.5
positive threshold
1
0.5
V [V] 0
-0.5
T
negative threshold
-1
IP
-1.5
-2
CR
-80 -60 -40 -20 0 20 40 60 80
t [s]
Figure 8: The maximum absolute voltage applied to memristor(4V = ±max|Vpre − Vpos |) is the function of 4t.
Approximately when | 4 t| > 70µs, | 4 V | is lower than threshold voltage and memristance will not change under
this condition.
150
G0 mS
US
AN
2.6
100 3.9
5.7
10.9
50
M
G [%]
0
ED
-50
PT
-100
-60 -40 -20 0 20 40 60
t [s]
CE
Figure 9: Influence of G0 on the resulting STDP memristor weight update function 4G(4t).
influence on neurons (include pre- and pos-neuron). Pos-neuron obtains input from mirror current
AC
195 circuit. When neural threshold is reached (tpos ), the pos-neuron fires identical to the pre-neuron.
The pos-signal will access to the other side of synaptic device, namely, memristor. Accordingly,
there is a time difference (4t = tpre − tpos ) between the pre- and pos-spike signals. Further, the
voltage 4V (Vpre − Vpos ) applied to memristor-based synapse is a function of 4t. Fig. 8 reveals
12
ACCEPTED MANUSCRIPT
the relationship between the biggest 4V and 4t. When the absolute time difference | 4 t| increases
200 gradually, the absolute biggest 4V decreases in the mean time. 4V exceeding threshold can lead
to learning behaviour, namely, synaptic weight updates. Approximately | 4 t| > 70µs, 4V falls
below synaptic threshold set as 1V and learning disappear. The variation of synaptic weight (4G)
denoted by memristor conductance is the function of 4V and related to its initial conductance
(G0 ). Therefore, 4G does have to do with 4t, indirectly. This is exactly spike timing dependent
T
205 plasticity. 4G can be calculated as:
IP
Gu − G0
4G = × 100%, (10)
G0
CR
where Gu is the conductance after update.
Serval sets of circuit simulation results under different G0 are displayed in Fig. 9, which indicates
that the synaptic plasticity is related to its initial state indeed. This property is consistent with
210
US
the feature of the memristor introduced in Fig. 2, namely, memristance change rate depends on
its initial value. This is what biological neuron synapse behave according to the experiments data
AN
[18, 19, 22]. Concretely, when negative voltage is applied, conductance decreases and the higher
it is, the faster it falls; when positive voltage is applied, conductance increases and the lower it is,
the faster it rises. For a fixed G0 , 4G is relate to 4t behaving as STDP 4G(4t). Thus, STDP is
M
achieved in circuit.
215 4.2. Design of Crossbar Array Structure for Spiking Neural Network
ED
Crossbar array structure saves circuit areas effectively for circuit implementation of multi-input
multi-output neural network. This architecture fabricates simply and has fault-tolerance to a certain
degree [15, 19, 21, 23, 26, 27, 28]. A feasible crossbar framework for two-inputs two-outputs spiking
PT
neural network is designed in Fig. 10. In order to simplify study, pre-neuron SN1 is fed by current
220 source (5mA) for 50µs per 200µs. After 15µs, pre-neuron SN2 accesses the same current input.
CE
Different time that pre-neurons accesses supply is to obtain lead and lag performance among pre-
and pos-neurons, for which we can observe learning manner on memristors. In order to get results
easy to watch, M13 , M14 , M23 , M24 are initialized to 215Ω, 420Ω, 294Ω, 380Ω, respectively. The
AC
public part of mirror current circuit is only needed one per neuron which gathers currents come
225 form all pre-neurons its connect to and then send the sum current signal to the post-neuron. The
rest part is needed one per memristor-based synapse.
13
ACCEPTED MANUSCRIPT
SN1
Iin
pre-neuron M13 M14
pre-synapse
SN2
Iin
T
pre-neuron M23 M24
pre-synapse
public part
IP
Vcc Vcc
CR
SN3 SN4
pos-neuron pos-neuron
US Vout Vout
Figure 10: Crossbar array for spiking neural network. The public part of mirror current circuit used to gathers
AN
currents is assembled for every neuron and the rest is needed for every synapse.
Intuitively, pos-neuron SN3 and SN4 will fire at different moments depending on the weighted
M
input currents form two pre-neurons. Simulation results are analysed below.
The input currents are shown in Fig. 11(a), the output spikes of four SN s are shown in Fig.
11(b), the memristance updates of four memristors are shown in Fig. 11(c). As illustrated by
ED
230
the graph, during first spike period, SN1 fires first followed by SN3 , SN2 , and SN4 in turn.
Therefore, referring to STDP rules exhibited in Fig. 5, M13 , M14 , and M24 get potentiation; M23
PT
gets depression. We can think that both SN1 and SN2 play a part in SN4 ’s fire but only SN1
makes efforts to SN1 ’s fire. Because M13 and M23 change in the opposite direction, during second
235 spike period the weighted input currents from two pre-neurons to SN3 barely changes. Thus the
CE
time that SN3 fires after SN1 remains in the first period value. On the contrary, since both M14
and M24 get potentiation, the time SN4 fires will advance SN2 in second period. After that, M24
gets depression different form its first behave while others act like previous time. In the end, SN2
AC
does not have anything to do with the SN4 ’s fire anymore. Weights of M13 and M14 have increased
240 to the point that only SN1 ’s expert is enough to make two pos-neurons fire. Accordingly, STDP
also works normally in crossbar array.
14
ACCEPTED MANUSCRIPT
5 (a)
SN1(in)
[mA]
0
5
SN2(in)
[mA]
0
1
T
(b)
SN1(out)
0.5
first
[V]
0 first
IP
-0.5
1
SN2(out)
0.5
[V]
CR
0 third fourth
-0.5
1
SN3(out)
0.5
[V]
0 second second
-0.5
1
US
SN4(out)
0.5
[V]
0 fourth third
-0.5
AN
300
(c)
M13
200
[]
potentiation
potentiation
100
M
400
M14
[]
potentiation
200 potentiation
350
ED
depression
depression
M23
[]
300
250
400
PT M24
potentiation depression
[]
300
200
0 0.1 0.2 0.3
CE
Time [ms]
Figure 11: PSPICE simulation results of crossbar array circuit. (a) Input currents Iin , (b) output spikes of four SNs.
Two spike periods are recorded; The fire order of SN2 and SN4 alters because of the first synaptic weights’ update.
AC
(c) the memristance evolution of four memristors. M24 behaves different in two spike periods depending on the spike
fire order.
15
ACCEPTED MANUSCRIPT
The proposed MLIF uses 7 transistors and 1 memristor which can generate spikes in microsecond
level just like in the real biological neuron [32, 33]. No additional switch and logic gate circuits
245 is needed for which the neuron circuit structure is greatly simplified. Moreover, we use identical
spikes for both pre- and pos-synaptic signals which benefits the following network topology design.
T
In STDP learning circuit, one memristor is served as synaptic device for its unique property so
that there is no need to design complex synaptic circuits. Voltage followers and mirror current
IP
circuit are used to conduct circuit isolation to make network stable as much as possible. With the
CR
250 relatively simple network design, STDP rules is implemented in wether learning circuit or crossbar
network without any soft control or computing. Unsupervised learning rules’ implementation in
pure circuit is a worthwhile work for which spiking neural network does not need to design additional
255
supervisory feedback control circuit.
US
We do efforts to the large scale integration of the neural network. However, problems exactly
exist. A spike needs about 90µs (period) and this time scale depends on the evolution property
AN
of memristor used in MLIF, namely, the evolution velocity of memristance. The power dissipation
per spike can be calculated as
Vap − Vc
I(t) = , (11)
R + M (t)
M
Z
Pspike = Vap I(t)dt, (12)
ED
period
where I(t) represents the current flowing past memristor used in MLIF. The last calculated value
260 of Pspike per spike is about 4nJ. This is a some big value. Comparison with other STDP circuit
PT
Only seven transistors and one memristor can complete the task to generate spike like biological
265 pulse. No comparator needs. No logical gate needs. Learning process does not require software
assistance. For all that, the proposed MLIF is a considerable candidate for VLSI because of the
AC
simple circuit structure. One solution for insufficient in dissipation could be searching a memristor
with more fast evolution in memristance to reduce spike’s period. We will pay close attention to
the newest memristor materials in the future.
16
ACCEPTED MANUSCRIPT
T
Neuron model and number
LIF, 17T+,
of transistors used in IF, 22T LIF, 19T LIF IF current tor, LIF MLIF, 7T
IP
22T+ compara-
neuron circuit conveyer multi-
tor
plier
CR
Yes,
square Yes,
Identity of pre-and
post-spike shapes
wave
without
NP
Yes without
NP
US
Yes Yes Yes Yes No No Yes
AN
High,
High, 21T, op-
High, 1M
Complexity in synaptic High, High, transcon- High, erational Low,
Low, 1M Low, 1M with Low, 1M
M
Additional switches or
Yes, Yes, Yes,
logical gates used in No Yes No No No Yes No
D-trigger switch switch
PT
system
Feasible scheme
Hard Hard Hard Easy Hard Hard Easy Hard Hard Easy
AC
in crossbar array
17
ACCEPTED MANUSCRIPT
270 6. Conclusion
A memristor-based spiking neuron circuit is constructed for the pure circuit implementation
of STDP. The spiking neuron circuit fires spikes taking advantage of the memristor features and
can be regarded as a improvement on the conventional Leaky Integrate-and-Fire neuron model.
No comparator or logical gate is used in neuron circuit which benefit to the network integration.
T
275 Then, basing on the designed spiking neuron circuit, a STDP learning circuit is built to implement
adaptive-learning of synaptic weights. Memristor’s conductance represents synaptic weight. STDP
IP
works well in learning circuit. Further, a simple 2-input 2-output spiking neural network framework
CR
in form of crossbar array is designed. STDP learning rules also work efficiently in network. PSPICE
simulation results validate the practicability of the spiking neuron circuit and STDP learning circuit.
280 The proposed system possesses a relatively simple circuits structure that is propitious to the VLSI’s
US
implementation of spiking neural network. Problem also exists and the possible solution in future
work are put forward. In the mean time, we will explore the possibility of the proposed circuits in
some practical applications such as image recognition and associative memory.
AN
Acknowledgements
The authors gratefully acknowledge anonymous referees’ comments and patient work. The
M
285
work was supported by the Natural Science Foundation of China under Grant 61374150 and the
Fundamental Research Funds for the Central Universities under Grant 2017KFXKJC002.
ED
References
PT
[3] S. Furber, Large-scale neuromorphic computing systems., Journal of Neural Engineering 13 (5)
AC
(2016) 051001.
295 [4] J. Grollier, D. Querlioz, M. D. Stiles, Spintronic nanodevices for bioinspired computing, Pro-
ceedings of the IEEE 104 (10) (2016) 2024–2039.
18
ACCEPTED MANUSCRIPT
T
[7] T. Masquelier, R. Guyonneau, S. J. Thorpe, Spike timing dependent plasticity finds the start
IP
of repeating patterns in continuous spike trains, Plos One 3 (1) (2008) e1377.
CR
305 and stdp variations with memristors for spiking neuromorphic learning systems, Frontiers in
Neuroscience 7 (7) (2013) 2.
US
[9] G. Indiveri, A low-power adaptive integrate-and-fire neuron circuit, in: International Sympo-
sium on Circuits and Systems, 2003, pp. IV–820–IV–823 vol.4.
[11] E. M. Izhikevich, Which model to use for cortical spiking neurons?, Neural Networks IEEE
Transactions on 15 (5) (2004) 1063–1070.
ED
[12] G. Indiveri, E. Chicca, R. Douglas, A vlsi array of low-power spiking neurons and bistable
315 synapses with spike-timing dependent plasticity., IEEE Transactions on Neural Networks 17 (1)
(2006) 211.
PT
[13] A. Bofillipetit, A. F. Murray, Synchrony detection and amplification by silicon neurons with
stdp synapses, IEEE Transactions on Neural Networks 15 (5) (2004) 1296–304.
CE
[14] G. Indiveri, E. Chicca, R. Douglas, A vlsi array of low-power spiking neurons and bistable
320 synapses with spike-timing dependent plasticity, IEEE Transactions on Neural Networks 17 (1)
(2006) 211.
AC
19
ACCEPTED MANUSCRIPT
325 [16] J. M. Cruzalbrecht, M. W. Yung, N. Srinivasa, Energy-efficient neuron, synapse and stdp
integrated circuits., IEEE Transactions on Biomedical Circuits and Systems 6 (3) (2012) 246.
T
330 [18] J. Park, M. W. Kwon, H. Kim, S. Hwang, J. J. Lee, B. G. Park, Compact neuromorphic system
IP
with four-terminal si-based synaptic devices for spiking neural networks, IEEE Transactions
on Electron Devices PP (99) (2017) 1–7.
CR
[19] M. R. Azghadi, B. Linares-Barranco, D. Abbott, P. H. W. Leong, A hybrid cmos-memristor
neuromorphic synapse, IEEE Transactions on Biomedical Circuits and Systems 11 (2) (2016)
335 434.
US
[20] D. B. Strukov, G. S. Snider, D. R. Stewart, R. S. Williams, The missing memristor found.,
Nature 453 (7191) (2008) 80–83.
AN
[21] T. Serrano-Gotarredona, B. Linares-Barranco, Design of adaptive nano/cmos neural archi-
tectures, in: IEEE International Conference on Electronics, Circuits and Systems, 2012, pp.
M
340 949–952.
[22] G. Lecerf, J. Tomas, S. Saighi, Excitatory and inhibitory memristive synapses for spiking neural
ED
networks, in: IEEE International Symposium on Circuits and Systems, 2013, pp. 1616–1619.
345 [24] E. Covi, S. Brivio, A. Serb, T. Prodromakis, M. Fanciulli, S. Spiga, Analog memristive synapse
in spiking networks implementing unsupervised learning, Frontiers in Neuroscience 10.
CE
[26] G. Narasimman, S. Roy, X. Fong, K. Roy, C. H. Chang, A. Basu, A low-voltage, low power
350 stdp synapse implementation using domain-wall magnets for spiking neural networks, in: IEEE
International Symposium on Circuits and Systems, 2016, pp. 914–917.
20
ACCEPTED MANUSCRIPT
[27] A. Afifi, A. Ayatollahi, F. Raissi, Implementation of biologically plausible spiking neural net-
work models on the memristor crossbar-based cmos/nano circuits, in: European Conference
on Circuit Theory and Design, 2009, pp. 563–566.
T
building a self-learning visual cortex, Frontiers in Neuroscience 5 (26) (2011) 26.
IP
[29] M. Prezioso, F. M. Bayat, B. Hoskins, K. Likharev, D. Strukov, Self-adaptive spike-time-
dependent plasticity of metal-oxide memristors, Scientific Reports 6 (2016) 21331.
CR
360 [30] A. Shukla, V. Kumar, U. Ganguly, A software-equivalent snn hardware using rram-array for
asynchronous real-time learning, in: International Joint Conference on Neural Networks, 2017,
pp. 4657–4664.
US
[31] N. Panwar, B. Rajendran, U. Ganguly, Arbitrary spike time dependent plasticity (stdp) in
memristor by analog waveform engineering, IEEE Electron Device Letters PP (99) (2017) 1–1.
AN
365 [32] B. P. Bean, The action potential in mammalian central neurons, Nature Reiview Neuroscience
8 (6) (2007) 451.
M
370 [34] I. Vourkas, A. Batsos, G. C. Sirakoulis, Spice modeling of nonlinear memristive behavior,
PT
[35] Y. Zhang, X. Wang, Y. Li, E. G. Friedman, Memristive model for synaptic circuits, IEEE
CE
[36] Y. Li, Y. Zhong, J. Zhang, L. Xu, Q. Wang, H. Sun, H. Tong, X. Cheng, X. Miao, Activity-
375 dependent synaptic plasticity of a chalcogenide electronic synapse for neuromorphic systems.,
AC
21
ACCEPTED MANUSCRIPT
T
Author: Liang Zhao
IP
Received the B.S degree in the School of Communications Engineering from Jilin
CR
University, Changchun, Jilin, China. He is currently working toward the M.S degree in the
US
China. He majors in the design and analysis of spiking neural network circuits and
AN
memristor.
M
ED
PT
CE
Received the B.S degree and M.S degree in electronic science and technology from
AC
working toward the Ph.D degree in the School of Automation, Huazhong University of
Science and Technology, Wuhan, Hubei, China. His main research interest is the design
T
Author:Prof. Xiaoping Wang
IP
Received the B.S degree and M.S degree in automation from Chongqing University,
CR
Chongqing, China, in 1997 and 2000, respectively, and the Ph.D degree in Systems
Engineering from Huazhong University of Science and Technology, Wuhan, Hubei, China,
US
in 2003. Since 2011, she has been a Professor with the School of Automation, Huazhong
AN
University of Science and Technology, Wuhan, Hubei, China. Her current research
interests include memristor and its applications to memory storage, modeling, simulation
M
and optimization.
ED
PT
CE
AC