SlideShare a Scribd company logo
International Journal of Engineering Science Invention
ISSN (Online): 2319 – 6734, ISSN (Print): 2319 – 6726
www.ijesi.org ||Volume 5 Issue 5|| May 2016 || PP.11-17
www.ijesi.org 11 | Page
Synaptic memristor bridge circuit with pulse width based
programable weights in digit character recognition
Ngoc-ThanhLe1
, Minh-Huan Vo2
1,2
Department of Electrical ElectronicEngineering, HCMC University of Technology and Education, Viet Nam.
ABSTRACT :Memristor bridge circuit linearly generates synaptic weights in the range [-1; 1]. A long width
pulse programs the synaptic weights and a short width pulse computes multiplication results in ANN model.
Each digit is sampled by 10 times, forming 5x4 matrix. Thecharacter recognition rate achieves 100% for digits
from 1 through 5 . 5%, 10%, and 15% noisy patterns is added to consider the recognition rate.
Keywords: Memristor bridge, pattern recognition, neural networks, synaptic weight, memristor.
I. INTRODUCTION
An artificial neural network (ANN) is a model of computation inspired by neo-cortex of human brain.
It is likely to solve many problems in applications of prediction, recognition, control and optimization [1]. We
can also describe it as a network of connected synaptic neurons that is capable of creating, modifying, and
preserving information through sequential learning procedures. Therefore, building a brain-like machine is very
important. Because of the lack of proper devices which are used to implement the synapses, researches have
been limited success in this area. Among them, the cellular neural network (CNN) [2]-[4] is appreciated to be
one of the successful approaches. However, even for the CNN methods, the use of devices to achieve efficient
energy and density is essential for building an artificial brain.
The memristor (memory resistor) was invented by Chua in 1971 as the fourth basic element of
electrical circuits [5]-[6]. This device has a special ability to change its resistance when a current or voltage is
applied to the terminals. When the current or voltage is stopped, this device is still holding the state at that
moment without loss in a long time. Memristor has been extensively studied with serve as a memory or logic
gate to improve production technology with fast speed chip, power-saving, low cost, simple structure and denser
integrated level. Especially, the memory resistors are used as synapses to mimic the functions of a real brain [7].
Memristor is much smaller in size compared to previous technology. In 2008, Stanley Williams and his group
realized memristor in the form of a device in laboratory practice HP [8].
In this paper, we use a synaptic bridge circuit using four memristors and three transistors for character
recognition circuit. We use two kinds of square pulse: a large width pulse is used to program the synaptic
weights and a small width pulse is used to compute the weight and input. Each digit from 1 to 5, sampled by 10
times, forms a 5x4 matrix to show simulation results.
II. MEMRISTOR MODEL OF HP
In 2008, Stanley Williams and his group realized memristor in the form of a device in laboratory HP.
To create memristor, they used a thin titanium oxide film (TiO2) [8]. The film is connected with 2 poles made
of platinum (Pt). One pole is injected with oxygen holes. This oxygen holes are positively charged ions.
Therefore there is a transition layer of TiO2, with a side of mixed and one side is not mixed.
Let us define the thickness of the doped region w, D is the thickness of two layers TiO2 and RON,
ROFF are low and high impedance respectively. Accordingly, the memristance M (t) of TiO2 memristor model
is given by the formula:
M t = RON x t + ROFF (1 − x t ) (1)
Where x t =
w(t)
D
is the state variable of memristor.
The relationship between the voltage v t and current i(t) of the memristor is given by:
v t = M t . i(t) (2)
Synaptic memristor bridge circuit with pulse width based programable …
www.ijesi.org 12 | Page
State variables x t is determined:
dx(t)
dt
= μv
RON
D2 i(t) (3)
Where μv is the dopant mobility. Velocity of width change is linearly proportional to the current as in
equation (3). Thus, we call this model linear model.
Various types of nonlinear memristor model have been published. One of them in the window model in
which the state equation is multiplied by window function Fp(w),namely:
dx(t)
dt
= μv
RON
D2 i(t)Fp(w) (4)
Where p is a parameter and Fp(w) is defined by:
Fp w = 1 − 2
w
D
− 1
2p
(5)
This is called the nonlinear drift model. It means that as the p decreases, the nonlinearity increases. In
other words, as the p increases, the model tends to the linear one.
III. RESULTS AND DISSCUSION
A. Memristor based weight setting
Memristor bridge synapse is a Wheatstone bridge that circuit consists of four identical memristors with
the polarities shown in figure 1 [7]. Input signal is applied from the left end of the circuit and the output is taken
from two middle nodes as a differential form. When strong pulse Vin is applied as input, the memristance of
each memristor will increase or decrease which depends on its polarity. For instance, when a positive pulse is
applied as input, the memristances of M1 and M4 will decrease. The other side, the memristances of M2 and M3
will increase. It follows that the voltage VA at node A, with respect to ground, becomes smaller than the voltage
VB at node B. Since, the node voltage VA is less than VB, the output voltage (Vout) across the bridge is
negative weight.
The Vin is an input signal applied to the memristor bridge circuit as shown in Figure 1. The values in
memristances are determined at time t. The output voltage will be divided according to memristance equations
as follows:
VM1 =
M1
M1+M2
Vin (6a)
VM2 =
M2
M1+M2
Vin = VA (6b)
VM3 =
M3
M3+M4
Vin (6c)
VM4 =
M3
M3+M4
Vin = VB (6d)
Where M1, M2, M3 and M4 are the corresponding memristances of the memristors at a specific time t.
Note that above equations for memristors are formulated by same principle for resistors.
The different voltage at output of A node and B node shows the output voltage as in equation 7,
namely:
Vout = VA − VB =
M2
M1+M2
−
M4
M3+M4
Vin (7)
From (7), the voltage Vout is given as,
Vout = Ψ × Vin (8)
Where Ψ =
M2
M1+M2
−
M4
M3+M4
represents the synaptic weight.
Synaptic memristor bridge circuit with pulse width based programable …
www.ijesi.org 13 | Page
+
VM
1
–
M2
M4M3
A
B
Vin
Vout
+
_
_
+
M1
+
VM
2
–
+
VM
3
–
+
VM
4
–
Fig 1: Synaptic memristor bridge circuit. The synaptic weight is programmable by varying the input pulse width Vin.
The multiplication of the input signal and synaptic weght is also performed in this circuit.
We can note that the sign of synaptic weights depends on Ψ value. If Ψ is larger than 0, the synaptic
weight is positive. It follows the below equation:
M2
M1+M2
−
M4
M3+M4
> 0 (9)
It means that our memristor bridge circuit create a positive synaptic weight. From equation (9), we can
conclude that the condition for positive, negative and zero synaptic weight is as follow,
Ψ =
Positive if
M2
M1
>
M4
M3
Negative if
M2
M1
<
M4
M3
0 if
M2
M1
=
M4
M3
(10)
As shown in figure 1, the Vin is shared to use both the synaptic weight program signal and synaptic
input. The two different kinds of signals are transferred in same Vin signal with different time slots. Note that
the synaptic multiplication is used at short width pulses with negligible effect on memristance variation while
synaptic weights are programmed for long width pulses.
B. Memristor based neuron circuit
The differential amplifier consists of three transistors as shown in figure 2 which converts the voltage
to current. This converter provides interface to the neuron for summing input signals easily. The set of weighted
input signals is summed by current mode circuit. As shown in figure 3, the 20 input signals from 5X4 pixel
matrix are multiplied by programmed synaptic weights.
V+ V-
Vb
Vss
M2
M4M3
A
B
M1
Vin
Fig 2: Synaptic memristor bridge circuit.
Synaptic memristor bridge circuit with pulse width based programable …
www.ijesi.org 14 | Page
The circuit of the memristor synapse-based neuron using memristor bridges and differential amplifiers
is shown in figure 3. Here, the synapse based neuron for digit 1 consists of 20 inputs from in1 to in20. The
synaptic multiplications are conducted in the memristor bridges. Then multiplicationresults from Io_1 to Io_20
are summed at the output terminal in a neuron cell. Then, the current summation is converted back into a voltage
by the load circuit RL. In this paper, we have five circuits corresponding to five digits.
M1 M2
M4M3
VA1
VB1
V+ V-
Vb
Vss
Vdd
RL
V_out_1
M1 M2
M4M3
VA20
VB20
V+ V-
Vb
Vss
in20
W1
W20
Io_20
Io_1
Fig 3: Memristor based neural circuit with digit 1.Weights W1 to W20 are programmed by inputs of in1 to in20,
respectively.
IV. SIMULATION
The HP TiO2 memristor model is used for this simulation. The basic parameters for the simulations are
based on the data given by HP, where RON=100Ω, ROFF=16 KΩ, qmax = 6e-5 C.
In the weight setting, a long width pulse is applied to change the state of memristor and a narrow pulse
for synaptic multiplication is applied to avoid the drifting the memristor state. The weight setting of the
architecture is verified through computer simulations and synaptic multiplication. Memristor synapse based
neural circuit is performed in Cadence tool.
A. Synaptic weight programming in memristor bridge circuit
In order to set synaptic weight, a long width pulse of 1V amplitude is applied to change the
memristance state of memristor. Figure 4(a) shows the increase or decrease in the memristances M1(t), M2(t),
M3(t) and M4(t) as a function of time. These simulations of the memristor bridge circuit are obtained in figure 1
with initial memristances; M1(0) = M4(0) = 16 KΩ, M2(0) = M3(0) = 100 Ω. The characteristic of memristance
changes shows linearly according to different times in figure 4 (a). Figure 4(b) is the corresponding weight
computed with the memristance values in figure 4(a). As shown in the figures, changes in these computed
memristances in figure 4(a) and the corresponding weight in figure 4(b) are very linear. It means that the weight
setting can be programmed linearly in response of various times.
Synaptic memristor bridge circuit with pulse width based programable …
www.ijesi.org 15 | Page
Fig 4: M1(t), M2(t), M3(t), M4(t) and weight Ψ(t) with ourmemristor bridge circuit at various width pulses. The
linear memristor model is applied to this simulation. The initial memristances are M1(0) = M4(0) = 16 KΨ, M2(0) =
M3(0) = 100 Ψ. (a) M1(t), M2(t), M3(t) and M4(t) as a linear function of time. (b) Weight Ψ(t) covers both negative,
zero, positive sign.
B. Character recognition application
In this paper, we identify each digit from 1 to 5, sampled by 10 times. The samples are taken into
Matlab to train and create the weights corresponding to each pixel position on each digit. Then, we set these
synaptic weights into memristor bridge to be multiplied with the input signal.
Fig 5: Training images for digits from 1 to 5
Figure 5 shows the prototype of the five digits. Each digit in addition to 9 other samples is put into
Matlab for training. The more samples are, the higher the training is accuracy. Here we only train 10 samples
with each digit. The number of samples puts into training to increase the precision of the actual application.
Each sample in Figure 5 is a 5x4 sized character matrix and each weight will have a memristor bridge
synaptic circuit, so we will have 20 synaptic memristor bridge circuits.
Figure 6 shows the results of simulation output voltage of each digit from 1 to 5. The results show that
we can identify the output digit based on the output voltage level. Among five output voltages, the digit can be
recognized by setting a threshold voltage level.
Figure 7 describes the character in interference. We take character digit 1 as an example here. The
percentage of added noise in Table I shows the recognition rate when there is interference. Recognition accuracy
will reduce to 90%, 80%, 60% in case of 5%, 10%, and 15% noise, respectively.
0.0 0.2 0.4 0.6 0.8 1.0
0
4000
8000
12000
16000
Memristance(KOhm)
t (s)
M2, M3
M1, M4
0.0 0.2 0.4 0.6 0.8 1.0
-1.0
-0.8
-0.6
-0.4
-0.2
0.0
0.2
0.4
0.6
0.8
1.0
weight
t (s)
WEIGHT
(b)
(a)
1V
Synaptic memristor bridge circuit with pulse width based programable …
www.ijesi.org 16 | Page
Fig 6: The outputs of 5 integrators.
Fig 7: Noisy patterns used for recognition test at 5%, 10%, 15%.
TABLE I. Recognition rates for various noisy patterns
Noise Recognition rate
No. 1 No. 2 No. 3 No. 4 No. 5
0% 100% 100% 100% 100% 100%
5% 90% 85% 90% 85% 85%
10% 80% 70% 80% 80% 75%
15% 60% 50% 55% 55% 50%
V. CONCLUSION
In this paper, we propose memristor bridge circuit with programmable synapses based pulse width
which is able to set signed synaptic weights. Weights are programmed with long width pulses and synaptic
multiplications are performed with short width pulses through a single input line. The recognition rates achieve
100% success for characters numbered 1 through 5. Each character has 10 samples and each sample is a 5x4
matrix. We tested 500 samples for each digit. In case of digit 1, recognition accuracy will reduce to 90%, 80%,
60% according to 5%, 10%, and 15% noise, respectively.
Synaptic memristor bridge circuit with pulse width based programable …
www.ijesi.org 17 | Page
REFERENCES
[1]. The Sientific American Book of the Brain. New York: Scientific American, 1999.
[2]. L. O. Chua and L. Yang, “Cellular neural networks: Theory,” IEEE Trans. Circuits Syst., vol. CAS-35, no.10, pp. 1257 – 1272,
Oct. 1988.
[3]. L. O. Chua and L. Yang, “Cellular neural networks: Applications,” IEEE Trans. Circuits Syst., vol. CAS-35, no.10, pp. 1273 –
1290, Oct. 1988.
[4]. J. M. Cruz and L. O. Chua, “A 16x16 cellular neural network universal chip: the first complete signle-chip dynamic computer
array with distributed memory and with gray-scale input-output,” Analog Integrated Circuits and Signal Processing, vol. 15, no. 3,
pp. 227 – 237, 1998.
[5]. L. O. Chua, “Memristor – the missing circuit element,” IEEE Trans. Circuit Theory, vol. 18, no. 5, pp. 507 – 519, 1971.
[6]. L. O. Chua and S. M. Kang, “Memristive devices and systems,” Proc. of IEEE, vol. 64, no. 2, pp. 209 – 223, 1976.
[7]. Hyongsuk Kim, Maheshwar Pd.Sah, CH. Yang, T. Roska, and Leon Chua, “Memristor bridge synapses”, proceedings of the
IEEE, vol. 10, pp. 20.
[8]. Dmitri B. Strukov, Gregory S. Snider, Duncan R. Stewart & R. Stanley Williams, “The missing memristor found,” Nature, vol.
453, May. 2008.

More Related Content

DOC
ETRAN.word.eng_Nesic_etal_EKI1.4
PDF
Design & Implementation of Zero Voltage Switching Buck Converter
PDF
Design of a novel current balanced voltage controlled delay element
PDF
Memristor-Capacitor Based Startup Circuit for Voltage Reference Generators
PDF
Pe lecture no.4
PPT
transmission line theory prp
ETRAN.word.eng_Nesic_etal_EKI1.4
Design & Implementation of Zero Voltage Switching Buck Converter
Design of a novel current balanced voltage controlled delay element
Memristor-Capacitor Based Startup Circuit for Voltage Reference Generators
Pe lecture no.4
transmission line theory prp

What's hot (20)

DOCX
Cntl model paper
PDF
MOSFET as an Amplifier
PPT
S parameters
PDF
A novel high-precision curvature-compensated CMOS bandgap reference without u...
PDF
PWM Switched Voltage Source Inverter with Zero Neutral Point Potential
PDF
A novel voltage reference without the operational amplifier and resistors
PDF
Ch03updated
PDF
power factor controller
PPT
Chapter3
PDF
General theory of transmission lines
PPTX
transmission line
PPTX
Session 2 & 3 rectifiers
PPTX
Impedance Matching by YEASIN NEWAJ
PPT
Transmission lines
PDF
PDF
Research Inventy : International Journal of Engineering and Science
PDF
ANALYSIS AND SIMULATION OF BUCK SWITCH MODE DC TO DC POWER REGULATOR
PPT
Transmission line By Lipun
PPTX
Memristor 2
DOCX
Lab 8 bipolar junction transistor characterstics
Cntl model paper
MOSFET as an Amplifier
S parameters
A novel high-precision curvature-compensated CMOS bandgap reference without u...
PWM Switched Voltage Source Inverter with Zero Neutral Point Potential
A novel voltage reference without the operational amplifier and resistors
Ch03updated
power factor controller
Chapter3
General theory of transmission lines
transmission line
Session 2 & 3 rectifiers
Impedance Matching by YEASIN NEWAJ
Transmission lines
Research Inventy : International Journal of Engineering and Science
ANALYSIS AND SIMULATION OF BUCK SWITCH MODE DC TO DC POWER REGULATOR
Transmission line By Lipun
Memristor 2
Lab 8 bipolar junction transistor characterstics
Ad

Similar to Synaptic memristor bridge circuit with pulse width based programable weights in digit character recognition (20)

PDF
Memristor Modeling Using PSPICE
PPTX
The Missing Fundamental Element
PDF
Imply Logic Implementation of Carry Save Adder Using Memristors
PPT
memristor
PPT
Memristor
PPTX
Memristor
PDF
brain.pdf
PDF
NanoScale TiO2 based Memory Storage Circuit Element:- Memristor
PPTX
Memristor
PPTX
Basics of memristor
PDF
IRJET- Design of Memristor based Multiplier
PPTX
Memristor
PDF
Modeling and Simulation of Memristor using SPICE Model
DOCX
Memristor report
PPTX
Memristors and their potential applications 2012
PDF
M memristor doc.
PPT
memristor
PPTX
MEMRISTOR BY ASHOK
Memristor Modeling Using PSPICE
The Missing Fundamental Element
Imply Logic Implementation of Carry Save Adder Using Memristors
memristor
Memristor
Memristor
brain.pdf
NanoScale TiO2 based Memory Storage Circuit Element:- Memristor
Memristor
Basics of memristor
IRJET- Design of Memristor based Multiplier
Memristor
Modeling and Simulation of Memristor using SPICE Model
Memristor report
Memristors and their potential applications 2012
M memristor doc.
memristor
MEMRISTOR BY ASHOK
Ad

Recently uploaded (20)

PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PDF
Well-logging-methods_new................
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
Safety Seminar civil to be ensured for safe working.
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
Geodesy 1.pptx...............................................
PPTX
Sustainable Sites - Green Building Construction
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPT
Mechanical Engineering MATERIALS Selection
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
Construction Project Organization Group 2.pptx
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
composite construction of structures.pdf
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
OOP with Java - Java Introduction (Basics)
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Well-logging-methods_new................
Model Code of Practice - Construction Work - 21102022 .pdf
Safety Seminar civil to be ensured for safe working.
Embodied AI: Ushering in the Next Era of Intelligent Systems
Geodesy 1.pptx...............................................
Sustainable Sites - Green Building Construction
bas. eng. economics group 4 presentation 1.pptx
Mechanical Engineering MATERIALS Selection
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
R24 SURVEYING LAB MANUAL for civil enggi
Automation-in-Manufacturing-Chapter-Introduction.pdf
Construction Project Organization Group 2.pptx
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Internet of Things (IOT) - A guide to understanding
composite construction of structures.pdf
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
OOP with Java - Java Introduction (Basics)

Synaptic memristor bridge circuit with pulse width based programable weights in digit character recognition

  • 1. International Journal of Engineering Science Invention ISSN (Online): 2319 – 6734, ISSN (Print): 2319 – 6726 www.ijesi.org ||Volume 5 Issue 5|| May 2016 || PP.11-17 www.ijesi.org 11 | Page Synaptic memristor bridge circuit with pulse width based programable weights in digit character recognition Ngoc-ThanhLe1 , Minh-Huan Vo2 1,2 Department of Electrical ElectronicEngineering, HCMC University of Technology and Education, Viet Nam. ABSTRACT :Memristor bridge circuit linearly generates synaptic weights in the range [-1; 1]. A long width pulse programs the synaptic weights and a short width pulse computes multiplication results in ANN model. Each digit is sampled by 10 times, forming 5x4 matrix. Thecharacter recognition rate achieves 100% for digits from 1 through 5 . 5%, 10%, and 15% noisy patterns is added to consider the recognition rate. Keywords: Memristor bridge, pattern recognition, neural networks, synaptic weight, memristor. I. INTRODUCTION An artificial neural network (ANN) is a model of computation inspired by neo-cortex of human brain. It is likely to solve many problems in applications of prediction, recognition, control and optimization [1]. We can also describe it as a network of connected synaptic neurons that is capable of creating, modifying, and preserving information through sequential learning procedures. Therefore, building a brain-like machine is very important. Because of the lack of proper devices which are used to implement the synapses, researches have been limited success in this area. Among them, the cellular neural network (CNN) [2]-[4] is appreciated to be one of the successful approaches. However, even for the CNN methods, the use of devices to achieve efficient energy and density is essential for building an artificial brain. The memristor (memory resistor) was invented by Chua in 1971 as the fourth basic element of electrical circuits [5]-[6]. This device has a special ability to change its resistance when a current or voltage is applied to the terminals. When the current or voltage is stopped, this device is still holding the state at that moment without loss in a long time. Memristor has been extensively studied with serve as a memory or logic gate to improve production technology with fast speed chip, power-saving, low cost, simple structure and denser integrated level. Especially, the memory resistors are used as synapses to mimic the functions of a real brain [7]. Memristor is much smaller in size compared to previous technology. In 2008, Stanley Williams and his group realized memristor in the form of a device in laboratory practice HP [8]. In this paper, we use a synaptic bridge circuit using four memristors and three transistors for character recognition circuit. We use two kinds of square pulse: a large width pulse is used to program the synaptic weights and a small width pulse is used to compute the weight and input. Each digit from 1 to 5, sampled by 10 times, forms a 5x4 matrix to show simulation results. II. MEMRISTOR MODEL OF HP In 2008, Stanley Williams and his group realized memristor in the form of a device in laboratory HP. To create memristor, they used a thin titanium oxide film (TiO2) [8]. The film is connected with 2 poles made of platinum (Pt). One pole is injected with oxygen holes. This oxygen holes are positively charged ions. Therefore there is a transition layer of TiO2, with a side of mixed and one side is not mixed. Let us define the thickness of the doped region w, D is the thickness of two layers TiO2 and RON, ROFF are low and high impedance respectively. Accordingly, the memristance M (t) of TiO2 memristor model is given by the formula: M t = RON x t + ROFF (1 − x t ) (1) Where x t = w(t) D is the state variable of memristor. The relationship between the voltage v t and current i(t) of the memristor is given by: v t = M t . i(t) (2)
  • 2. Synaptic memristor bridge circuit with pulse width based programable … www.ijesi.org 12 | Page State variables x t is determined: dx(t) dt = μv RON D2 i(t) (3) Where μv is the dopant mobility. Velocity of width change is linearly proportional to the current as in equation (3). Thus, we call this model linear model. Various types of nonlinear memristor model have been published. One of them in the window model in which the state equation is multiplied by window function Fp(w),namely: dx(t) dt = μv RON D2 i(t)Fp(w) (4) Where p is a parameter and Fp(w) is defined by: Fp w = 1 − 2 w D − 1 2p (5) This is called the nonlinear drift model. It means that as the p decreases, the nonlinearity increases. In other words, as the p increases, the model tends to the linear one. III. RESULTS AND DISSCUSION A. Memristor based weight setting Memristor bridge synapse is a Wheatstone bridge that circuit consists of four identical memristors with the polarities shown in figure 1 [7]. Input signal is applied from the left end of the circuit and the output is taken from two middle nodes as a differential form. When strong pulse Vin is applied as input, the memristance of each memristor will increase or decrease which depends on its polarity. For instance, when a positive pulse is applied as input, the memristances of M1 and M4 will decrease. The other side, the memristances of M2 and M3 will increase. It follows that the voltage VA at node A, with respect to ground, becomes smaller than the voltage VB at node B. Since, the node voltage VA is less than VB, the output voltage (Vout) across the bridge is negative weight. The Vin is an input signal applied to the memristor bridge circuit as shown in Figure 1. The values in memristances are determined at time t. The output voltage will be divided according to memristance equations as follows: VM1 = M1 M1+M2 Vin (6a) VM2 = M2 M1+M2 Vin = VA (6b) VM3 = M3 M3+M4 Vin (6c) VM4 = M3 M3+M4 Vin = VB (6d) Where M1, M2, M3 and M4 are the corresponding memristances of the memristors at a specific time t. Note that above equations for memristors are formulated by same principle for resistors. The different voltage at output of A node and B node shows the output voltage as in equation 7, namely: Vout = VA − VB = M2 M1+M2 − M4 M3+M4 Vin (7) From (7), the voltage Vout is given as, Vout = Ψ × Vin (8) Where Ψ = M2 M1+M2 − M4 M3+M4 represents the synaptic weight.
  • 3. Synaptic memristor bridge circuit with pulse width based programable … www.ijesi.org 13 | Page + VM 1 – M2 M4M3 A B Vin Vout + _ _ + M1 + VM 2 – + VM 3 – + VM 4 – Fig 1: Synaptic memristor bridge circuit. The synaptic weight is programmable by varying the input pulse width Vin. The multiplication of the input signal and synaptic weght is also performed in this circuit. We can note that the sign of synaptic weights depends on Ψ value. If Ψ is larger than 0, the synaptic weight is positive. It follows the below equation: M2 M1+M2 − M4 M3+M4 > 0 (9) It means that our memristor bridge circuit create a positive synaptic weight. From equation (9), we can conclude that the condition for positive, negative and zero synaptic weight is as follow, Ψ = Positive if M2 M1 > M4 M3 Negative if M2 M1 < M4 M3 0 if M2 M1 = M4 M3 (10) As shown in figure 1, the Vin is shared to use both the synaptic weight program signal and synaptic input. The two different kinds of signals are transferred in same Vin signal with different time slots. Note that the synaptic multiplication is used at short width pulses with negligible effect on memristance variation while synaptic weights are programmed for long width pulses. B. Memristor based neuron circuit The differential amplifier consists of three transistors as shown in figure 2 which converts the voltage to current. This converter provides interface to the neuron for summing input signals easily. The set of weighted input signals is summed by current mode circuit. As shown in figure 3, the 20 input signals from 5X4 pixel matrix are multiplied by programmed synaptic weights. V+ V- Vb Vss M2 M4M3 A B M1 Vin Fig 2: Synaptic memristor bridge circuit.
  • 4. Synaptic memristor bridge circuit with pulse width based programable … www.ijesi.org 14 | Page The circuit of the memristor synapse-based neuron using memristor bridges and differential amplifiers is shown in figure 3. Here, the synapse based neuron for digit 1 consists of 20 inputs from in1 to in20. The synaptic multiplications are conducted in the memristor bridges. Then multiplicationresults from Io_1 to Io_20 are summed at the output terminal in a neuron cell. Then, the current summation is converted back into a voltage by the load circuit RL. In this paper, we have five circuits corresponding to five digits. M1 M2 M4M3 VA1 VB1 V+ V- Vb Vss Vdd RL V_out_1 M1 M2 M4M3 VA20 VB20 V+ V- Vb Vss in20 W1 W20 Io_20 Io_1 Fig 3: Memristor based neural circuit with digit 1.Weights W1 to W20 are programmed by inputs of in1 to in20, respectively. IV. SIMULATION The HP TiO2 memristor model is used for this simulation. The basic parameters for the simulations are based on the data given by HP, where RON=100Ω, ROFF=16 KΩ, qmax = 6e-5 C. In the weight setting, a long width pulse is applied to change the state of memristor and a narrow pulse for synaptic multiplication is applied to avoid the drifting the memristor state. The weight setting of the architecture is verified through computer simulations and synaptic multiplication. Memristor synapse based neural circuit is performed in Cadence tool. A. Synaptic weight programming in memristor bridge circuit In order to set synaptic weight, a long width pulse of 1V amplitude is applied to change the memristance state of memristor. Figure 4(a) shows the increase or decrease in the memristances M1(t), M2(t), M3(t) and M4(t) as a function of time. These simulations of the memristor bridge circuit are obtained in figure 1 with initial memristances; M1(0) = M4(0) = 16 KΩ, M2(0) = M3(0) = 100 Ω. The characteristic of memristance changes shows linearly according to different times in figure 4 (a). Figure 4(b) is the corresponding weight computed with the memristance values in figure 4(a). As shown in the figures, changes in these computed memristances in figure 4(a) and the corresponding weight in figure 4(b) are very linear. It means that the weight setting can be programmed linearly in response of various times.
  • 5. Synaptic memristor bridge circuit with pulse width based programable … www.ijesi.org 15 | Page Fig 4: M1(t), M2(t), M3(t), M4(t) and weight Ψ(t) with ourmemristor bridge circuit at various width pulses. The linear memristor model is applied to this simulation. The initial memristances are M1(0) = M4(0) = 16 KΨ, M2(0) = M3(0) = 100 Ψ. (a) M1(t), M2(t), M3(t) and M4(t) as a linear function of time. (b) Weight Ψ(t) covers both negative, zero, positive sign. B. Character recognition application In this paper, we identify each digit from 1 to 5, sampled by 10 times. The samples are taken into Matlab to train and create the weights corresponding to each pixel position on each digit. Then, we set these synaptic weights into memristor bridge to be multiplied with the input signal. Fig 5: Training images for digits from 1 to 5 Figure 5 shows the prototype of the five digits. Each digit in addition to 9 other samples is put into Matlab for training. The more samples are, the higher the training is accuracy. Here we only train 10 samples with each digit. The number of samples puts into training to increase the precision of the actual application. Each sample in Figure 5 is a 5x4 sized character matrix and each weight will have a memristor bridge synaptic circuit, so we will have 20 synaptic memristor bridge circuits. Figure 6 shows the results of simulation output voltage of each digit from 1 to 5. The results show that we can identify the output digit based on the output voltage level. Among five output voltages, the digit can be recognized by setting a threshold voltage level. Figure 7 describes the character in interference. We take character digit 1 as an example here. The percentage of added noise in Table I shows the recognition rate when there is interference. Recognition accuracy will reduce to 90%, 80%, 60% in case of 5%, 10%, and 15% noise, respectively. 0.0 0.2 0.4 0.6 0.8 1.0 0 4000 8000 12000 16000 Memristance(KOhm) t (s) M2, M3 M1, M4 0.0 0.2 0.4 0.6 0.8 1.0 -1.0 -0.8 -0.6 -0.4 -0.2 0.0 0.2 0.4 0.6 0.8 1.0 weight t (s) WEIGHT (b) (a) 1V
  • 6. Synaptic memristor bridge circuit with pulse width based programable … www.ijesi.org 16 | Page Fig 6: The outputs of 5 integrators. Fig 7: Noisy patterns used for recognition test at 5%, 10%, 15%. TABLE I. Recognition rates for various noisy patterns Noise Recognition rate No. 1 No. 2 No. 3 No. 4 No. 5 0% 100% 100% 100% 100% 100% 5% 90% 85% 90% 85% 85% 10% 80% 70% 80% 80% 75% 15% 60% 50% 55% 55% 50% V. CONCLUSION In this paper, we propose memristor bridge circuit with programmable synapses based pulse width which is able to set signed synaptic weights. Weights are programmed with long width pulses and synaptic multiplications are performed with short width pulses through a single input line. The recognition rates achieve 100% success for characters numbered 1 through 5. Each character has 10 samples and each sample is a 5x4 matrix. We tested 500 samples for each digit. In case of digit 1, recognition accuracy will reduce to 90%, 80%, 60% according to 5%, 10%, and 15% noise, respectively.
  • 7. Synaptic memristor bridge circuit with pulse width based programable … www.ijesi.org 17 | Page REFERENCES [1]. The Sientific American Book of the Brain. New York: Scientific American, 1999. [2]. L. O. Chua and L. Yang, “Cellular neural networks: Theory,” IEEE Trans. Circuits Syst., vol. CAS-35, no.10, pp. 1257 – 1272, Oct. 1988. [3]. L. O. Chua and L. Yang, “Cellular neural networks: Applications,” IEEE Trans. Circuits Syst., vol. CAS-35, no.10, pp. 1273 – 1290, Oct. 1988. [4]. J. M. Cruz and L. O. Chua, “A 16x16 cellular neural network universal chip: the first complete signle-chip dynamic computer array with distributed memory and with gray-scale input-output,” Analog Integrated Circuits and Signal Processing, vol. 15, no. 3, pp. 227 – 237, 1998. [5]. L. O. Chua, “Memristor – the missing circuit element,” IEEE Trans. Circuit Theory, vol. 18, no. 5, pp. 507 – 519, 1971. [6]. L. O. Chua and S. M. Kang, “Memristive devices and systems,” Proc. of IEEE, vol. 64, no. 2, pp. 209 – 223, 1976. [7]. Hyongsuk Kim, Maheshwar Pd.Sah, CH. Yang, T. Roska, and Leon Chua, “Memristor bridge synapses”, proceedings of the IEEE, vol. 10, pp. 20. [8]. Dmitri B. Strukov, Gregory S. Snider, Duncan R. Stewart & R. Stanley Williams, “The missing memristor found,” Nature, vol. 453, May. 2008.