Download PhD. thesis - Fakulta Riadenia a Informatiky

Document related concepts
no text concepts found
Transcript
University of Žilina
Faculty of Management Science and Informatics
Modelling of massive memristive networks
Dissertation Thesis
Registration number: 28360020143002
Study program: Applied informatics
Affiliation
: Faculty of Management Science and Informatics,
Department of InfoComm networks,
University of Žilina
Supervisor
: prof. Ing. Martin Klimo, PhD.
Co-Supervisor : Prof. Dr.-Ing. habil. Peter Husar
Žilina, 2014
Ing. Milan Frátrik
2
Annotation
Type of the work
: Dissertation
Academic year
: 2013/2014
Title of the work
: Modelling of massive memristive networks
Author
: Ing. Milan Frátrik
Supervisor
: prof. Ing. Martin Klimo, PhD.
Co-Supervisor
: Prof. Dr.-Ing. habil. Peter Husar
Language
: English
Number of pages
: 141
Number of figures
: 73
Number of tables
: 11
Number of references: 117
Keywords
: memristor, comparator, spice, simulation, sorting
3
Acknowledgments
First of all, I would like to thank my supervisor prof. Ing. Martin Klimo, PhD.
for the support and helpful ideas. Besides my supervisor, I would like to thank to
Doc. MSc. Ondrej Šuch, PhD. from the Research center of University of Žilina for
fruitful discussions and ideas.
My thanks goes also to Prof. Dr.-Ing. habil. Peter Husar from the Institute of
Biomedical Engineering and Informatics, TU Ilmenau for offering me an internship
and to the people I met there, namely to Dr.-Ing. Adam Williamson and Dipl.Wirtsch.-Ing. Lars Hiller for development of the TiO sample and introducing me to
the measurements. I would also like to thank Eike Linn from RTWH Aachen for
the development and shipping of the TaO sample.
I am thankful to Ing. Karol Frölich, DrSc., Ing. Peter Jančovič and Ing. Milan
Ťapajna, PhD. from Slovak Academy of Science, Institute of Electrical Engineering
for the measurement possibilities in their institution and helpful support.
Last but not least my thanks goes to PhD. students at the department for helpfulness and friendship namely Iveta, Lucie, Renáta, Michal, Jozef, Števo, Stano and
also other colleagues at the department.
Also, I would like to thank my friends Michal, Lukáš, Maťo and finally my family
and my Zuzka for the patience and support during the whole time.
5
Statutory declaration
I herewith formally declare that I have written the submitted dissertation independently. I did not use any outside support except for the quoted literature and other
sources mentioned in the dissertation.
In Žilina, 12. April 2014
Ing. Milan Frátrik
7
Abstract
Milan Frátrik: Modelling of massive memristive networks (Dissertation thesis)
– The University of Žilina, Faculty of Management Science and Informatics, Department of InfoComm Networks – Supervisor: prof. Ing. Martin Klimo, PhD.
– Qualification level: Doctor of Philosophy in Applied Informatics – EDIS Žilina,
April 2014 - 141 pages.
This thesis deals with the problem of modelling memristor and memristive networks. Memristors offer a variety of possible applications, starting at storage devices
up to neuromorphic applications. A memristor based sorting circuit is proposed in
this thesis. The simulation of the network starts from the basic elements, namely
the comparators. The functionality and behaviour is modelled using a non-linear
dynamic memristor model. Sorting is one of the key subroutines required by Induced Ordered Weighted Averages method (IOWA). IOWA can be used as a speech
recognition method, which is an ongoing research area at our department.
Keywords: memristor, comparator, spice, simulation, sorting
9
Abstrakt
Milan Frátrik: Modelovanie rozsiahlých memristívnych sietí (dizertačná práca)
– Žilinská univerzita v Žiline, Fakulta riadenia a informatiky, Katedra informačných
sietí – Školiteľ: prof. Ing. Martin Klimo, PhD. – Stupeň odbornej kvalifikácie:
philosophiae doctor v odbore Aplikovaná informatika - EDIS Žilina, apríl 2014 - 141
pages.
Táto dizertačná práca sa zaoberá problematikou modelovania memristorov a
memristorových sietí. Memristory ponúkajú širokú škálu možných aplikácií od
jednoduchých pamätí až po neuromorfné aplikácie. V tejto práci je predstavený
nový, doposiaľ neopísaný aparát slúžiaci na triedenie vstupných napätí. Navrhnutý
aparát je simulovaný od základného stavebného prvku – komparátora. Jeho funkčnosť
je modelovaná využitím nelineárneho dynamického modelu memristora. Triedenie
predstavuje jednu zo základných operácií používaných v metóde vážených priemerov.
Táto metóda môže byť použitá na rozpoznávanie reči, čím pokračuje výskum na katedre v oblasti analýzy reči.
Kľúčové slová: memristor, komparátor, spice, simulácia, triedenie
11
Contents
Introduction
25
Objectives
27
1 Current state
1.1 Electrical elements . . . . . . . . . . . . . . . . . . . .
1.1.1 Passive elements . . . . . . . . . . . . . . . . .
1.1.2 Active elements . . . . . . . . . . . . . . . . . .
1.2 Interrelation of electrical elements . . . . . . . . . . . .
1.3 Memristor . . . . . . . . . . . . . . . . . . . . . . . . .
1.3.1 Memristive system . . . . . . . . . . . . . . . .
1.3.2 Possible applications . . . . . . . . . . . . . . .
1.4 Resistive switching mechanism in thin-film devices . . .
1.4.1 Types of resistive switching . . . . . . . . . . .
1.4.1.1 Electrochemical Metallization Memory
1.4.1.2 Valence Change Memory . . . . . . . .
1.4.1.3 Thermochemical memory . . . . . . .
1.5 Memristor models . . . . . . . . . . . . . . . . . . . . .
1.5.1 Linear ion drift . . . . . . . . . . . . . . . . . .
1.5.2 Linear ion drift window functions . . . . . . . .
1.5.3 Simmons Tunnel Barrier Model . . . . . . . . .
1.5.4 TEAM model . . . . . . . . . . . . . . . . . . .
1.5.5 Exponential model . . . . . . . . . . . . . . . .
1.5.6 WOx model . . . . . . . . . . . . . . . . . . . .
1.5.7 TaOx model . . . . . . . . . . . . . . . . . . . .
1.6 Numerical methods in circuit analysis . . . . . . . . . .
1.6.1 ODE solver algorithms . . . . . . . . . . . . . .
1.6.1.1 Runge-Kutta family methods . . . . .
1.6.1.2 Linear multistep methods . . . . . . .
1.6.2 Root-finding algorithms . . . . . . . . . . . . .
1.6.2.1 Newton-Raphson method . . . . . . .
29
29
29
31
32
33
34
35
36
38
39
40
41
42
42
45
47
48
50
51
53
55
55
57
58
58
59
13
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
1.7
1.8
1.9
Electrical network analysis methods . . . . . . .
1.7.1 Kirchhoff’s current law . . . . . . . . . .
1.7.2 Kirchhoff’s voltage law . . . . . . . . . .
1.7.3 Sparse tableau analysis . . . . . . . . . .
1.7.4 Modified nodal analysis . . . . . . . . . .
1.7.4.1 Non-linear elements using MNA
Circuit simulators . . . . . . . . . . . . . . . . .
1.8.1 SPICE . . . . . . . . . . . . . . . . . . .
1.8.1.1 Algorithm overview . . . . . . .
1.8.1.2 Parallelization . . . . . . . . .
Logic circuits . . . . . . . . . . . . . . . . . . .
1.9.1 Boolean logic . . . . . . . . . . . . . . .
1.9.1.1 Boolean algebra . . . . . . . . .
1.9.1.2 Memristor based implication . .
1.9.2 Many-valued logic . . . . . . . . . . . . .
1.9.3 Fuzzy logic . . . . . . . . . . . . . . . .
1.9.3.1 Memristor based fuzzy logic . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
2 Solutions specification and methods of examination
2.1 Continuity of previous research . . . . . . . . . . . .
2.2 Experimental methods . . . . . . . . . . . . . . . . .
2.2.1 TiO sample . . . . . . . . . . . . . . . . . . .
2.2.1.1 Sample description . . . . . . . . . .
2.2.1.2 Measurements . . . . . . . . . . . . .
2.2.2 TaO sample . . . . . . . . . . . . . . . . . . .
2.2.2.1 Sample production . . . . . . . . . .
2.2.2.2 Measurements . . . . . . . . . . . . .
2.3 Simulation methods . . . . . . . . . . . . . . . . . . .
2.3.1 Simulation program . . . . . . . . . . . . . . .
2.3.1.1 Used technologies . . . . . . . . . . .
2.3.1.2 User interface . . . . . . . . . . . . .
2.3.2 Comparison of the method to SPICE . . . . .
2.3.3 ODE comparison . . . . . . . . . . . . . . . .
3 Achieved results
3.1 Measurements . . . . . . . . . . . .
3.1.1 TiO sample . . . . . . . . .
3.1.1.1 Single structures .
3.1.1.2 Double structures .
3.1.2 TaO sample . . . . . . . . .
3.1.2.1 Single structures .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
60
61
61
61
63
64
65
66
66
68
68
68
68
70
72
73
74
.
.
.
.
.
.
.
.
.
.
.
.
.
.
75
75
76
77
77
78
78
78
79
80
80
83
83
84
87
.
.
.
.
.
.
89
89
89
89
91
92
92
3.2
3.3
3.4
3.1.2.2 Double structures . . . . .
3.1.3 Single V-I double structures . . . .
Modelling of a single memristor . . . . . .
3.2.1 Fitting . . . . . . . . . . . . . . . .
Multiple memristors . . . . . . . . . . . .
3.3.1 Minimum and maximum functions
3.3.1.1 Multiple inputs . . . . . .
3.3.2 Memristor based comparator . . . .
3.3.3 Argmin and Argmax simulation . .
Sorting circuits . . . . . . . . . . . . . . .
3.4.1 Sorting networks . . . . . . . . . .
3.4.2 Implementation using memristors .
3.4.3 Simulation . . . . . . . . . . . . . .
4 Summary
4.1 Contribution of this thesis
4.2 Future research . . . . . .
4.3 Published papers . . . . .
4.3.1 In print papers . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
94
97
99
100
103
103
103
106
107
108
109
110
111
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
117
117
118
119
120
Bibliography
121
Appendices
133
A Sorting networks
135
A.1 Odd-even transposition sort . . . . . . . . . . . . . . . . . . . . . . . 135
A.2 Batcher odd-even merge sort . . . . . . . . . . . . . . . . . . . . . . . 136
B UML diagram
137
C Compact Disc
141
15
List of Figures
1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8
1.9
1.10
1.11
1.12
1.13
1.14
1.15
1.16
1.17
1.18
1.19
1.20
1.21
1.22
1.23
1.24
1.25
1.26
1.27
1.28
1.29
1.30
1.31
Schematic symbol for a linear and a non-linear resistor .
Schematic symbol for a linear capacitor . . . . . . . . . .
Schematic symbol for a linear inductor . . . . . . . . . .
Schematic symbols for independent sources . . . . . . . .
The three fundamental two-terminal circuit elements . .
A memristor schematic symbol . . . . . . . . . . . . . . .
An analytical pinched hysteresis loop . . . . . . . . . . .
Sketches of resistive switching . . . . . . . . . . . . . . .
Different switching stages in ECM (Ag/Ge-Se/Pt) . . . .
Different switching stages in an VCM . . . . . . . . . . .
Common switching behaviours in VCM . . . . . . . . . .
Different switching stages in an TCM . . . . . . . . . . .
Linear ion drift model . . . . . . . . . . . . . . . . . . .
Linear ion drift model behaviour . . . . . . . . . . . . . .
The Linear ion drift SPICE model . . . . . . . . . . . . .
Window functions . . . . . . . . . . . . . . . . . . . . . .
Simmons tunnel barrier model inner structure . . . . . .
Simulation of the Simmons tunnel barrier . . . . . . . . .
WOx model inner structure . . . . . . . . . . . . . . . .
TaOx model inner structure . . . . . . . . . . . . . . . .
Simulation of the TaOx model . . . . . . . . . . . . . . .
A generalized SPICE implementation . . . . . . . . . . .
Discussed electrical network . . . . . . . . . . . . . . . .
Diode schematic symbol and its companion model . . . .
SPICE algorithm overview . . . . . . . . . . . . . . . . .
Implementation of f (a, b, c) = (a + b) · c + b . . . . . . .
Symbol of IMPLY gate . . . . . . . . . . . . . . . . . . .
Memristor based implication . . . . . . . . . . . . . . . .
NAND implementation using memristors . . . . . . . . .
Graphical interpretation of the membership function . .
The fuzzy logic operation implemented using memristors
17
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
30
31
31
32
33
34
35
38
39
40
41
42
43
44
45
46
47
49
52
53
54
55
61
65
67
70
70
71
71
74
74
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
2.9
The photo and stack of a TiO structure . . . . .
Common sample failures . . . . . . . . . . . . .
The photo and stack of a TaO structure . . . .
Unknown node example . . . . . . . . . . . . .
Circuit example used for the comparison . . . .
LTspice simulation . . . . . . . . . . . . . . . .
Developed simulator 10 iterations . . . . . . . .
Developed simulator 50 iterations . . . . . . . .
ODE comparison on the state variable equation
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
77
78
79
81
85
85
86
86
87
3.1
3.2
3.3
3.4
3.5
3.6
3.7
3.8
3.9
3.10
3.11
3.12
3.13
3.14
3.15
3.16
3.17
3.18
3.19
3.20
3.21
3.22
3.23
3.24
3.25
3.26
3.27
3.28
3.29
3.30
3.31
Characteristics of the MEM_6 2-8 sample . . . . . . . . . . .
Square wave input on TiO structure . . . . . . . . . . . . . . .
Modified staircase function on TiO structure . . . . . . . . . .
TiO double structure measurement . . . . . . . . . . . . . . .
Characteristics of the TaO sample . . . . . . . . . . . . . . . .
RESET location dependence on the SET . . . . . . . . . . . .
Pulse measurements on the TaO sample . . . . . . . . . . . .
Minimum measurement on the TaO sample . . . . . . . . . . .
Complementary resistive switch [74] . . . . . . . . . . . . . . .
Modelling the behaviour of TaO double structure . . . . . . .
Modelling the behaviour of HfO double structure . . . . . . .
Fitting TiO with the exponential model . . . . . . . . . . . . .
Properties of the used model in next simulations . . . . . . . .
Fitting TaO measured sample . . . . . . . . . . . . . . . . . .
Minimum simulation using the exponential model . . . . . . .
Simulation of the maximum function . . . . . . . . . . . . . .
Simulation of three inputs (1, 2, 3) minimum function . . . . .
Three inputs minimum scheme . . . . . . . . . . . . . . . . . .
Simulation of three inputs (1, 2, 4) minimum function . . . . .
Memristor based comparator circuit . . . . . . . . . . . . . . .
Memristor based comparator behaviour . . . . . . . . . . . . .
Dynamics of the comparator . . . . . . . . . . . . . . . . . . .
Behaviour of a comparator for different inputs . . . . . . . . .
Argmax and argmin simulations . . . . . . . . . . . . . . . . .
Sorting networks . . . . . . . . . . . . . . . . . . . . . . . . .
BM4 using the ideal states . . . . . . . . . . . . . . . . . . . .
BM4, where the first layer has opposite states . . . . . . . . .
BM4, where the third layer has opposite states . . . . . . . . .
BM4, the time dependence for L1 and L3 with opposite states
OE4, where the first layer has opposite states . . . . . . . . .
OE4, the worst case (all memristors are oppositely initialized)
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
90
90
91
92
93
94
95
96
96
99
99
100
101
102
104
104
105
105
105
106
107
107
108
109
110
111
112
112
113
113
114
3.32 Sorting failures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
3.33 Odd-even transposition sort for 8 inputs . . . . . . . . . . . . . . . . 115
19
List of Tables
1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8
1.9
Volatile and non-volatile memories comparison . . . . . . . . . .
MNA resistor stamp . . . . . . . . . . . . . . . . . . . . . . . .
MNA voltage source stamp . . . . . . . . . . . . . . . . . . . . .
Truth-table example . . . . . . . . . . . . . . . . . . . . . . . .
Karnaugh map example . . . . . . . . . . . . . . . . . . . . . .
The implication truth table . . . . . . . . . . . . . . . . . . . .
The sequence of voltages applied to obtain the NAND operation
Equivalence of the sequence of operations to NAND . . . . . . .
Examples of fuzzy operators . . . . . . . . . . . . . . . . . . . .
2.1
Simulator options overview . . . . . . . . . . . . . . . . . . . . . . . . 83
3.1
Sorting networks comparison . . . . . . . . . . . . . . . . . . . . . . . 110
21
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
37
64
64
69
69
70
71
72
73
List of Abbreviations
CC
Current Compliance
CMOS
Complementary Metal-Oxide-Semiconductor
CRS
Complementary Resistive Switch
DRAM
Dynamic Random-Access Memory
ECM
Electrochemical Metallization Memory
FPGA
Field Programmable Gate Array
GUI
Graphical User Interface
HDD
Hard Disk Drive
HRS
High Resistance State
KCL
Kirchhoff’s Current Law
KVL
Kirchhoff’s Voltage Law
LRS
Low Resistance State
MIM
Metal-Insulator-Metal
MNA
Modified Nodal Analysis
N-R
Newton-Raphson method
ODE
Ordinary Differential Eequation/s
PCM
Phase-Change Memory
R
the set of real numbers
ReRAM
Resistive Random-Access Memory
RHS
Right Hand Side
RR
Resistance Ratio
SAS
Slovak Academy of Sciences
SIMD
Single Instruction, Multiple Data
SMU
Source-Measuring Unit
23
SPICE
Simulation Program with Integrated Circuit Emphasis
SRAM
Static Random-Access Memory
STA
Sparse Tableau Analysis
TCM
Thermochemical Memory
TMO
Transition Metal Oxides
VCM
Valence Change Memory
Introduction
The memristor science area is complex and multidisciplinary. It touches multiple
research areas such as electronics, system theory, physics, chemistry and last but
not least informatics. The attractiveness of this problem is confirmed by the number of published papers, workshops and conference events dealing with memristors.
This thesis focuses on only a small part of possible research, namely modelling of
memristive networks. It is divided into following parts:
The first chapter introduces the basic electrical components, interrelation between them and related laws to the reader. A description of resistive switching
mechanism is explained for different kinds of structures in this chapter. This part
also provides a complex overview of existing memristor models and the methods
used in circuit simulation (containing also the description of numerical methods).
Finally, this part also touches the topic of logic circuits.
The second chapter reviews previous research in this field done at our department
and the methods, which were used to obtain the results. Samples, that were used
and obtained measurements are described in this chapter together with simulation
method. Next, there is a description of the developed simulator and comparison to
existing solutions.
The third chapter describes the experimental results in detail – the measurements as well as the performed simulations. A new memristor based component –
comparator – is introduced in this chapter and its properties are described using a
non-linear memristor model. This component was used as the main building block
in the sorting networks. The implementation of a sorting network is only a small
part of possible applications.
25
26
Objectives
The main aim of this thesis is:
• the development of a new simulation method suitable for modelling of memristor networks utilizing multiple CPUs and GPU
27
28
Chapter 1
Current state
At the beginning, this chapter introduces the reader into the problem of electrical
elements. It explains the resistive switching mechanism and defines the memristor as
the fourth basic electrical component. Also, known memristor models are described.
Secondly, the circuit simulation methods are described (starting with theorems up
to numerical methods used in circuit simulation). Finally, the overview of memristor
based two value and fuzzy logic is present.
1.1
Electrical elements
Within this work, an element is a two-terminal electrical device. A node is any point
in a circuit where two or more elements meet. A network is a set of elements and
nodes and network can be represented via a graph. Vertices in the graph correspond
to nodes and edges to electrical elements.
1.1.1
Passive elements
According to the definition of a passive device in [83], such device has the property,
that the voltage v across it and the current i through it, are given by the element
equations, in general (1.1):
v = f (i, i′ ) or i = g(v, v ′ ),
29
(1.1)
1.1. ELECTRICAL ELEMENTS
where the functions f (·) and g(·) map R onto R and where i′ and v ′ are firstorder derivatives of i and v respectively. If the element equation does not contain
any derivative, then it is said to be a resistive element, otherwise it is a dynamic
element.
Resistor It is a passive two-terminal resistive element. An ideal resistor is characterized by its equation (1.2).
v = R · i or i = G · v
(1.2)
where R is the resistance [Ω] (Ohm), G is the conductance [S] (Siemens), v is the
voltage across the resistor [V] (Volt) and i is the current [A] (Ampere) flowing
through the resistor. The schematic symbol for a linear resistor is shown in Fig.
1.1a.
+
v
i
−
+
R
v
i
(a) Linear resistor
−
f (·)
(b) Nonlinear resistor
Figure 1.1: Schematic symbol for a linear and a non-linear resistor
When the element function f (·) is a non-linear function, the resistor becomes
non-linear. If the function f (·) has the form v = f (i), then it is a current-controlled
resistor. If the element function has the form i = g(v), it is a voltage-controlled
resistor. The functions f , g have not necessarily the inverse function f −1 , g −1
Capacitor A capacitor is a dynamic two-terminal device whose electrical charge
q, is a function of the voltage v applied across it, so that q = f (v). The element
equation is given by (1.3).
q =C ·v
or i = C
dv
dt
(1.3)
When the capacitance C is a function of the voltage, it is said to be a non-linear
capacitor, otherwise it is a linear capacitor. A schematic symbol of a linear capacitor
30
CHAPTER 1. CURRENT STATE
is shown in Fig. 1.2
+
v
−
C
i
Figure 1.2: Schematic symbol for a linear capacitor
Inductor An inductor is a dynamic two-terminal device whose magnetic flux φ,
is a function of current flowing through it, so that φ = f (i). The element equation
given by (1.4).
di
(1.4)
φ = L · i resp. v = L
dt
When the inductance L is a function of the current flowing through it, it is a nonlinear inductor. A schematic symbol of a linear inductor is shown in Fig. 1.3
+
v
−
L
i
Figure 1.3: Schematic symbol for a linear inductor
1.1.2
Active elements
Active elements can be split into two main groups – independent sources and controlled sources. Controlled sources can be either linear or non-linear and for further
reading, they are described in [102], [83]. In this work are used only independent
voltage sources – voltage sources, or independent current sources – current sources.
Independent voltage source In simulations, an independent voltage source has
the property, that the voltage across it is either constant or a function of time:
v = f (t). Schematic symbol for an independent voltage source is shown in Fig.
1.4a.
Independent current source Similar to an independent voltage source is a current source, which has the property that the current through it is either constant or
31
1.2. INTERRELATION OF ELECTRICAL ELEMENTS
a function of time: i = f (t). Schematic symbol for an independent current source
is shown in Fig. 1.4b.
v(t)
+
−
i(t)
(b) Current source
(a) Voltage source
Figure 1.4: Schematic symbols for independent sources
1.2
Interrelation of electrical elements
As shown in section 1.1 each elementary element has its own relation between two
variables. To explain the relation between the components it is necessary to show
also other physical properties.
Electric charge (charge) q is a physical property of electrons and protons in the
atoms of matter that gives rise to forces between atoms [22]. The SI unit of electric
charge is the coulomb [C].
The electric current (current) i is the flow of electric charge q that is measured
by its flow rate. In other words, current i through a cross section at time t is given
by (1.5) [22].
Z t2
dq
i=
or q =
i dt
(1.5)
dt
t1
The electric voltage (voltage) v is the electric potential difference between two
points, or the difference in electric potential energy of a unit charge transported
between two points.
The magnetic flux (flux) φ is defined as the time integral of the electric voltage
(1.6).
Z t2
dφ
(1.6)
φ=
v dt or v =
dt
t1
Previously described elements are also called fundamental, because they cannot
be replaced by a network of other elements. Putting equations (1.2), (1.3), (1.4),
(1.5) and (1.6) together, it is possible to draw their relation as shown in Fig. 1.5.
32
CHAPTER 1. CURRENT STATE
v
dq = C dv
dv = R di
q
i
dφ =?dq
dφ = L di
φ
Figure 1.5: The three fundamental two-terminal circuit elements
1.3
Memristor
The missing element in Fig. 1.5 was discovered in 1971 by Leon O. Chua [25] and it
was named memristor, an abbreviation of memory resistor. The charge-controlled
memristor defined by Chua in [25] should implement the missing relation between
the flux φ and the charge q according to (1.7).
dφ = M (q) · dq
(1.7)
Differentiating (1.7) with respect to time t, gives the definition (1.8).
v = M (q) · i
(1.8)
The term M in (1.7) and (1.8) is called memristance at q and has unit of Ohms [27].
An analogy to charge-controlled memristor is the flux-controlled memristor and its
definition is given by (1.9).
dq = G(φ) · dφ,
(1.9)
where G(φ) is called the memconductance at φ and has the unit of condunctance –
Siemens.
In case of a linear time-invariant memristor, in which M from (1.8) is a constant,
the memristance is identical to resistance [97]. A non-constant M yields a non-linear
circuit element — resistive element with memory or a resistor whose resistance
depends on the amount of charge that passed through it.
33
1.3. MEMRISTOR
−
v
+
M (·)
i
Figure 1.6: A memristor schematic symbol
1.3.1
Memristive system
The definition of memristor was generalized by Chua and Kang in [29], to a more
general class of dynamical systems. An nth-order current-controlled memristive
one-port is represented by equation (1.10).
ẋ = f (x, i, t)
v = R(x, i, t)
(1.10)
Similarly, the nth order voltage-controlled memristive one-port was defined as (1.11).
ẋ = f (x, v, t)
i = G(x, v, t)
(1.11)
In (1.10) and (1.11), the x denotes an n-dimensional state of the system – state
variable, and ẋ its time derivative. A charge-controlled memristor defined by equation (1.8) is a current-controlled time-invariant memristive system, whose state variable has one dimension. Considering (1.10), it is possible to derive the relation for
a charge-controlled memristor (1.12).
v = M (w) · i and ẇ = q̇ = i,
(1.12)
where w = q and M (·) is the memristance function.
The definitions of a memristor or a memristive system were made 30 years ago.
At first, the memristor was defined by a constitutive charge-flux relation [25]. Few
years after the first definition, the memristor was considered as an element from the
set of higher-order elements [26] and then as a more complex memristive system
[29]. In 2008, HP [97] presented a device, that had the properties of a memristor
(it had memory and typical curve) and its physical operation mechanism was based
34
CHAPTER 1. CURRENT STATE
Current [A]
1
0
-1
-3
-2
-1
0
Voltage [V]
1
2
3
Figure 1.7: An analytical pinched hysteresis loop
on resistive switching and this started the discussion about what should be called
a memristor and what should not. For purposes of this work, all two-terminal nonvolatile memory devices based on resistance switching, regardless of material and
physical operating mechanisms are called memristors, according to [28], [10]. All
those devices exhibit a distinctive “fingerprint” characterized by a pinched hysteresis
loop (crossing itself at the origin) confined to the first and third quadrants of the
V-I plane. An analytical pinched hysteresis loop is shown in Fig. 1.7.
1.3.2
Possible applications
Memristor circuits may be found in multiple applications. Besides the memory applications, the scientists focus on two main domains. The discrete device applications
use memristors in a manner that takes advantage of their non-linear characteristics
and their controllable resistance changes to enhance the performance of the desired
application. Discrete applications can be analogue and digital. The analogue discrete applications may find the usage as chaotic circuits [79][80], oscillators [46],
variable gain amplifiers [107] and cellular neural networks [68]. Finally, the discrete
digital application are mainly logic operations, digital gates and reconfigurable logical circuits, also discussed in 1.9.1.2.
On the other hand array device applications, not only depend on memristor
properties but are also coupled with the ongoing trend to increase the device density
[78]. The discrete and the crossbar array devices can also be divided into analogue or
digital applications – similar to the discrete applications. A representative analogue
35
1.4. RESISTIVE SWITCHING MECHANISM IN THIN-FILM DEVICES
application in a memristor-based crossbar array are the neuromorphic networks [76],
[50] and field programmable analogue arrays [110], where the memristors are used
as a programmable resistor array and as switching elements. The digital crossbar
arrays may be used mainly as a non-volatile memory, discussed in the section 1.4
and as the logic circuits, described in the section 1.9.1.2. It is necessary, for the
purposes of development of such applications, to have a universal modelling tool as
was developed and described in this work.
1.4
Resistive switching mechanism in thin-film devices
The switching process in thin film devices was discovered for the first time in 1968
[2], but the success of silicon-based electronics obscured eventual technological applications. The research of TMOs focusing on high temperature superconductivity,
in the 90s renewed the interest in resistive switching phenomena.
In this section the switching mechanism in thin-film devices will be described. A
material I is sandwiched between two (possibly different) M conductors – electrodes
in a MIM structure. The material I is composed of an ion or mixed ion-electron
conducting material. Quite remarkably, a huge variety of systems exhibiting resistive
switching were reported in fast succession.
• Phase change chalcogenides such as Ge2 Sb2 Te5 [54]
• Binary TMO such as Al2 O3 , SiO2 , TiO2 , NiO, HfO . . . [114]
• Perovskites such as Prx Ca1−x MO3 (PCMO) [3]
• others
In general, MIM structures enable at least two different resistance states [104].
The operation description by a two state device is following: By application of an
appropriate write voltages VW R to a device which is in a high resistance state (OFF),
the device can be SET into a low resistance state (ON). If the device was in a low
resistance state, it is possible to RESET the device back into the HRS (OFF). One of
36
CHAPTER 1. CURRENT STATE
the most focused applications is ReRAM as a successor of current RAM memories.
The requirements for correct operation of ReRAM [37] are:
• Write operation: Write voltages should be in range starting 1 ÷ 5 V (to be
compatible with scaled CMOS). The timing of a write operation is typically
< 100 ns
• Read operation: Read voltages should be significantly smaller than write
voltages to prevent unwanted write operation (0.1÷0.5 V). The read operation
should be much faster than the write operation.
• Resistance ratio: The requited ratio ROF F /RON is at least > 10.
• Endurance: The number of write cycles should be up to 107 .
• Retention: A data retention time of > 10 years is required for universal nonvolatile memories. This retention must be also kept when thermal stress is
present[93].
A comparison table, from [114], of selected volatile and non-volatile memories is
shown in Tab. 1.1.
Energy per bit (pJ)
Read time (ns)
Write time (ns)
Retention
Endurance (cycles)
ReRAM
0.1 – 3
<10
10
years
1012
PCM
2 – 25
10 – 50
50 – 500
years
109
SRAM
0.5 × 10−3
0.1 – 0.3
0.1 – 0.3
volatile2
>1016
DRAM
5 × 10−3
10
10
volatile3
> 1016
Flash1
20 × 10−6
100 × 103
100 × 103
years
104
HDD
1 − 10 × 109
5 − 8 × 106
5 − 8 × 106
years
104
Table 1.1: Volatile and non-volatile memories comparison
Based on the polarity, the resistive switching in TMO can be roughly classified
into two types – unipolar and bipolar.
1
NAND
as long as voltage applied
3
as long as capacitors are discharged ≪1 s
2
37
1.4. RESISTIVE SWITCHING MECHANISM IN THIN-FILM DEVICES
ON
ON
CC
OFF
OFF
OFF
OFF
CC
CC
ON
(a) Unipolar switching
ON
(b) Bipolar switching
Figure 1.8: Sketches of resistive switching
Unipolar switching operation The switching procedure does not depend on
the polarity of the write signal. The SET voltage is always higher than the RESET
voltage and the RESET current is always higher than the current compliance during
SET operation.
Bipolar switching operation The SET operation occurs at one polarity and the
RESET operation at reversed voltage polarity. In old terminology, bipolar switching
was referred to as “polarized memory switching” [49]. Unipolar and bipolar switching
are shown in Fig. 1.8, where the voltage is depicted on the x-axis and the current
on the y-axis.
1.4.1
Types of resistive switching
The common property in resistive switching memory types described in this section
is, that all of them are based on redox. There is a filament present in all described
kinds of cells. A filament is a local conduction path bridging two electrodes in the
MIM. Conductive filaments are formed after electroforming4 or during the first SET
operation [72].
4
A special initial cycle
38
CHAPTER 1. CURRENT STATE
1.4.1.1
Electrochemical Metallization Memory
In electrochemical metallization memory (ECM) devices one electrode is made of
an electrochemically active electrode such as Ag or Cu and the second electrode
is an electrochemically inert counter electrode such as Pt, W, Ir or Au [104]. A
conducting ion layer is sandwiched between these electrodes. This I layer is either
a solid electrolyte (e.g. Ag2 S, Cu2 S) or an insulator (e.g. SiO2 , GeS).
Ag
Pt
Ag
Ag
Pt
Pt
(a) Initial OFF state
Ag
Pt
Ag+
Ag+
(b) SET process
(c) ON state
(d) RESET process
Figure 1.9: Different switching stages in ECM (Ag/Ge-Se/Pt)
SET and RESET process By applying a positive voltage on the active electrode
the metal atoms are first ionized and then migrate through the electrolyte towards
the cathode, which is grounded, where positively charged ions are reduced and
electrocrystallised on the interface region between the cathode and solid electrolyte
thin film. As one of the fastest growing filaments contacts the active electrode
(anode), the cell gets into a low resistant state (LRS). This process is called a SET
process. The cell is in the LRS so long as the filament exists. With an opposite bias
voltage is applied, the filament begins to be electrochemically dissolved from the
anode and the cell switches into high resistant state (HRS). This is called a RESET
process. The metallisation and dissolution of the electrochemical reaction here can
be expressed by (1.13), where M is either Ag or Cu [72].
Mn+ + en− ⇐⇒ nM
(1.13)
Authors in [94] describe an extremely low power consumption for a Ag/Ge-Se/Pt
device. The switching voltages were few hundred mV (220 mV and −60 mV), the
write currents as low as 1 nA and −0.3 nA for a cell with a diameter of 2.5 µm. This
structure shows a bipolar resistive switching with a resistance ratio (RR) 5 orders
the magnitude.
39
1.4. RESISTIVE SWITCHING MECHANISM IN THIN-FILM DEVICES
1.4.1.2
Valence Change Memory
A valence change memory (VCM) device consists of an active electrode, where the
switching takes place, a mixed ionic-electronic conducting layer – I and an ohmic
counter electrode. Resistive switching in TMO involves anion migration during
the switching processes. In such materials, the oxygen vacancies have much better
mobility than the transition metal cations [105]. The positively charged oxygen
vacancies drift through the defects under the applied electrical field.
Currently, there are three typical approaches to get a VCM-type MIM system.
These concepts differ in the thin film oxide I layer. Pt, Ir or TiN are often used
as active electrodes and a metal with low work function and high oxygen affinity is
preferred for ohmic electrode.
1. Homogeneous layer concept – the thin layer is composed of TiOx , TaOx ,
HfOx or WO.
2. Homogeneous bi-layer concept – between electrodes, there are two layers:
the thinner oxygen deficient layer (close to the active electrode) and the second,
thicker, fully oxidized layer. In [114] were used TiO2 /TiO2−x and in [65]
Ta2 O5 /TaOx<2.5
3. Heterogeneous bi-layer concept – the I layer consists of two oxides. The
oxide by the active electrode is the one with larger formation energy and the
other is a partially reduced oxide e.g. HfO2 /TiO2−x
(a) OFF state
(b) SET process
(c) ON state
(d) RESET process
Figure 1.10: Different switching stages in an VCM
40
CHAPTER 1. CURRENT STATE
SET and RESET process After electroforming, a filament (between electrodes)
is grown in the device. The plug of the filament consists of a conducting mixed
ionic-electronic oxide and the disc of a filament represents a potential barrier.
By applying a negative voltage on the active electrode, while ohmic electrode
is grounded, the oxygen vacancies from the plug are attracted to the barrier. This
results in a significant decrease of the disc height and width due to a local reduction
process and the device switches into ON state. For the RESET, a positive voltage is
applied on the active electrode which repels the oxygen vacancies, leading to a local
re-oxidation and switches the cell into the OFF state. In this case, the switching
polarity is called counter-eight-wise [104]. A typical counter-eight-wise and eightwise V-I characteristics are shown in Fig. 1.11.
A
A
V
(a) Eight-wise switching behaviour
V
(b) Counter-eight-wise switching behaviour
Figure 1.11: Common switching behaviours in VCM
1.4.1.3
Thermochemical memory
The thermochemical memory (TCM) effect is attributed to the temperature-induced
change of valence state of transition metal ions. The resistive switching process
shows a unipolar characteristic [103]. Often the same material is used for both
electrodes in these cells. The material for electrodes should be an inert metal such
as Pt or Ru. TCM switching is present in most oxides that show a high resistance
in the most oxidized state and low resistance in reduced state. Some of the oxides
that fit this characteristic are: TiOx , Al2 O3 , NiO and others.
SET and RESET process Suppose that the device is, after electroforming process, in the OFF state. The conductive filament is not completely dissolved, but
41
1.5. MEMRISTOR MODELS
(a) ON state
(b) RESET process
(c) OFF state
(d) SET process
Figure 1.12: Different switching stages in an TCM
only ruptured. The applied SET voltage triggers thermochemical process [104]. The
residue conductivity in the OFF state increases the temperature locally, which helps
the drift of the oxygen out of the high temperature locations. This happens because
of the energetically favoured lower valence states of the TMO. The RESET procedure in TCM cells produces current above mA range [72]. This high current results
in high temperature in the metallic filament and when the temperature increases
above the melting point of the filament, the filament breaks.
1.5
Memristor models
Since 2008 until now, several memristor models have been presented. Each kind of
resistive switching should have its own model. We consider two VCM structures
based on Ti and Ta and deterministic models. Stochastic memristor model was
published in [77]. Analogue memristor models were published in [99] and [35]. In
all models, the state variable is denoted by w.
1.5.1
Linear ion drift
A physical memristor model was presented for the first time in [97]. In this model,
the memristor is characterized by an equivalent time-dependent resistor whose resistance is proportional to the quantity of charge q that has passed through it. The
proof-of-concept implementation consisted of a homogeneous bi-layer concept – 5 nm
thick oxide film which initially contained one layer of insulating TiO2 (2 nm) and
one oxygen deficient layer of TiO2−x (3 nm). These layers were sandwiched between
two Pt nanowires. The concept of this device is shown in Fig. 1.13a, where w is the
state variable and D is the total width of the device.
42
CHAPTER 1. CURRENT STATE
+
Pt
Doped TiO2−x
w
TiO2
Undoped
Pt
RON w/D
ROF F w/D
−
(a) Memristor concept by HP
(b) Simplified HP memristor model
Figure 1.13: Linear ion drift model
The two resistors shown in Fig. 1.13b represent the two boundaries of the device.
When the resistance equals RON , the semiconductor film has a high concentration of
dopants (positive ions) – LRS – and the remainder has a low dopants concentration
and much higher resistance – ROF F – HRS. After applying a bias voltage across
the device, the boundary between the regions moves (the state variable w changes).
This is caused by the drift of charged dopants.
This model assumes a linear ion drift in a uniform field [97], [32], [91]. According
to memristive system definition (1.12) and (1.10), a model was defined by (1.14)
and (1.15).
w
w v = RON + ROF F 1 −
·i
(1.14)
D
D
dw
RON
= µV
·i
(1.15)
dt
D
Integrating the equation (1.15) with respect to time t, gives the definition (1.16),
w = µV
RON
· q,
D
(1.16)
where µV is the average ion mobility.
Using this model, it is possible to achieve an apparent or “dynamical” negative
differential resistance [11]. The negative differential resistance makes the memristor
to be a locally active device. Such a dynamical effect is a result of the chargedependent change in the device resistance and can be identified by a strong dependence on the frequency of the applied voltage [97]. By applying a higher voltage,
the boundaries are reached much faster and the switching is a monotonic function
43
1.5. MEMRISTOR MODELS
−0.5
−20
00
0.2
0.1
Time [ms]
Current [µA]
10
charge ×10−10
(a) Input voltage and current
20
0.1
time [ms]
0.2 0
(b) State variable and memristance
8
4
0
0
0
50
0.5
M [kΩ]
0
w
0
Current [µA]
Voltage [V]
20
0.5
−1
0
100
1
1
1
2
3
flux ×10−5
-10
f = 10 kHz
f = 100 kHz
-20
-1
-0.5
0
Voltage [V]
0.5
1
(c) V-I loop for linear ion drift model
Figure 1.14: Linear ion drift model behaviour
of current. The current-voltage equation of linear ion drift model was adopted in a
homogeneous bi-layer concept made of Pt/Ta2 O5 /TaOx /Pt published in [44].
SPICE implementation The SPICE implementation of Linear ion drift model
was first presented in [8] and modified in [11]. The current-voltage relation is slightly
modified and modelled by equation (1.17).
Rmem (w) = ROF F − w∆R,
∆R = ROF F − RON
(1.17)
The ROF F resistor in series with a voltage controlled voltage source (E-type source
in SPICE) correspondents to equation (1.17). The terminal voltage of the E-type
source is controlled according to formula −x∆R. The voltage V (w) on the capacitor
C(w) is used for the modelling of normalized state variable w. This connection serves
as an integrator of the quantities on the right side of state equation (1.15) [11].
44
CHAPTER 1. CURRENT STATE
Tp
w
Emem
Gw
−∆RV (w)
kImem f (V (w))
Imem
w0
Cw
ROF F
Tm
Figure 1.15: The Linear ion drift SPICE model
1.5.2
Linear ion drift window functions
Even a small voltage applied in a nanoscale device can yield huge electric fields,
which can produce significant non-linearities in ionic transport [97]. For simulation
of non linearity, when the state variable is close to the bounds, this model was
completed with a window function. After [97] was published, also several other
window functions have been defined and they are named after their inventors. Each
window function completes the state variable function with a non-linear function.
Strukov window The first window function was published together with the
Linear Ion drift model [97]. The equation of this window is in (1.18), where w is the
normalized state variable.
f (w) = w · (1 − w)
(1.18)
Joglekar window Authors in [51] stated, that the speed of the state variable
should be strongly suppressed only when the state variable reaches the edges (w = 0
resp. w = 1). The window function is symmetric about w = 1/2 and monotonically
increasing over 0 ≤ w ≤ 1/2. The equation (1.19) shows the window function, where
p is an integer value.
f (w) = 1 − (2 · w − 1)2p
(1.19)
Biolek window If the linear ion drift model, completed with the window function
(1.19), is initially set to RON or ROF F , there is no chance to change its state back
to another value – it would forever remain a linear resistor – this is a consequence
of the zero-value window function in either boundary state [11]. Authors concluded,
45
1.5. MEMRISTOR MODELS
that the window function should also consider the direction of the current flowing
through the memristor. The window is defined in (1.20), where i is the current
flowing through the memristor, p is an integer value and stp(i) is a function defined
in (1.21).
f (w) = 1 − (w − stp(−i))2p
(1.20)
stp(i) =
(
1,
0,
i≥0
i<0
(1.21)
0.25
1
0.2
0.8
0.15
0.6
f (w)
f (w)
Prodromakis window The last window function has been published in [90]. Authors compare existing window functions and propose a window function which
should solve the “terminal state problem” in Joglekar window and be more scalable
than Biolek window. The window function is defined as follows, where j is a scaling
parameter:
p f (w) = j · 1 − (w − 0.5)2 + 0.75
(1.22)
0.1
0.05
0
0
p=1
p=2
p=4
p=8
p = 16
0.4
0.2
0.2
0.4
w
0.6
0.8
0
0
1
(a) Strukov window
0.2
0.4
w
0.6
0.8
1
(b) Joglekar window
1
1.5
1
0.6
f (w)
f (w)
0.8
0.4
j
j
j
j
j
j
0.5
0.2
0
0
0.2
0.4
w
0.6
0.8
0
0
1
(c) Biolek window
0.2
0.4
= 0.5, p = 10
= 0.5, p = 100
= 1, p = 10
= 1, p = 100
= 1.5, p = 10
= 1.5, p = 100
w
0.6
0.8
(d) Prodromakis window
Figure 1.16: Window functions
46
1
CHAPTER 1. CURRENT STATE
1.5.3
Simmons Tunnel Barrier Model
A more precise model of a VCM device with a homogeneous layer concept Pt/TiO2 /Pt
was published in [87], the thickness of respective layers are 15/50/30 nm. This model
assumes non-linear and symmetric switching behaviour due to an exponential dependence on the movement of the ionized dopants – changes in the state variable.
This model is also composed according to the definition of the memristive system –
(1.11). The physical concept of this device is shown in Fig. 1.17.
+
Pt
w
vg
Rs
TiO2
Pt
−
Figure 1.17: Simmons tunnel barrier model inner structure
In this model, there is a resistor (Rs ) in series with an electron tunnel barrier.
The state variable w is used for simulating the width of Simmons tunnel barrier.
The Simmons expression for a rectangular barrier with image forces is used as the
current equation. The functional form of the current passing through the device is
given by (1.23). The Simmons expression in final model is slightly modified [1]. The
barrier height φI is in volts instead of electron volts and the time-varying tunnel
barrier width, w, is in nanometres instead of metres.
q
p j0 Ae
φI · exp −B φI − (φI + |vg |) · exp −B φI + |vg |
,
(1.23)
i=
∆w2
where
j0 =
e
,
2πh
φI = φ0 − |vg | ·
w1 =
w1 + w2
w
1.2λw
,
φ0
−
1.15λw
∆w
√
4π∆w · 10−9 2me
B=
h
47
(1.24)
∆w = w2 − w1
ln
w2 (w − w1)
w1 (w − w2 )
(1.25)
(1.26)
1.5. MEMRISTOR MODELS
9.2λ
w2 = w1 + w 1 −
(2.85 + 4λ − 2|vg |)
λ=
(1.27)
e2 ln(2)
8πκε0 w
(1.28)
where A is the channel area of the memristors, e is the electron charge, vg is the
voltage across the tunnel barrier, not necessarily equal to the voltage applied to
the device, m is the mass of the electron, h is Planck’s constant, κ is the dielectric
constant and φ0 is the barrier height in electron volts. φI is barrier height in volts.
w is the time varying state variable – barrier width. w1 , w2 and ∆w have dimensions
in nm.
The state variable (tunnel barrier width) has been modelled using two equations.
In case of OFF switching (i > 0), equation (1.29) has been used. The second
equation (1.30), has been used in case of ON switching (i < 0).
dw
= fof f sinh
dt
|i|
iof f
dw
= −fon sinh
dt
exp − exp
|i|
ion
w − aof f
|i|
−
wc
b
exp − exp
aon − w |i|
−
wc
b
w
−
wc
w
−
wc
(1.29)
(1.30)
This model deals with a lot of errors during simulation. This is caused by extreme
non-linearity of the dynamics with respect to the current magnitude [1]. Authors in
[61] declare this model as the most accurate physical model of a memristor, but also
as very computationally inefficient. In our simulation, the model presented in [1] was
used and the constants were also taken from this paper. The Fig. 1.18a shows the
V-I characteristic, while Fig. 1.18b shows the input voltage and calculated current.
1.5.4
TEAM model
ThrEshold Adaptive Memristor (TEAM) model was published in [61]. TEAM
model is much more computationally convenient compared to the Simmons tunnel
model for a Pt/TiO/Pt device. This model represents the same physical behaviour,
but with simpler mathematical functions. In this model, the memristor current and
48
CHAPTER 1. CURRENT STATE
2
6
0
3
1
0
0
Current [mA]
1
Voltage [V]
Current [mA]
2
-1
-1
-3
3
0
Voltage [V]
-3
0
6
1
2
3
4
Time [ms]
5
6
(b) Input voltage and the current
(a) V-I characteristic
Figure 1.18: Simulation of the Simmons tunnel barrier
state drift variable have polynomial dependence. For this model, two current-voltage
relations have been proposed – linear (1.31) and exponential (1.32).
ROF F − RON
v = RON +
(w − won ) · i
(1.31)
wof f − won
v = RON · exp
λ
(w − won ) · i,
wof f − won
(1.32)
where w ∈ hwon , wof f i, λ is a fitting parameter and RON and ROF F are the equivalent
resistances at the bounds.
The memristor can be modelled as a device with threshold currents. This approximation is similar to the threshold voltage approximation in MOS transistors.
This approximation is justified, since for small changes in the electric tunnel width,
separation of variables can be performed. Therefore the state variable can be modelled by multiplying a function of current and a function of the state variable. The
state variable drift equation in case of i < iof f < i is given by (1.33), in case of
i < ion < 0 is given by (1.34) and in case of ion < i < iof f is the state variable drift
equation given by: dw(t)/dt = 0.
αof f
dw
i(t)
= kof f ·
−1
· fof f (w)
(1.33)
dt
iof f
49
1.5. MEMRISTOR MODELS
dw
= kon ·
dt
i(t)
−1
ion
αon
· fon (w),
(1.34)
where kof f , kon , αof f and αon are constants, iof f and ion are current thresholds.
The functions fof f (w) and fon (w) behave as the window functions. These window
functions are not necessarily equal, because w may be asymmetric. The role of the
state variable w in this model is opposite to that of w in the Linear ion drift model.
In [61], there were also window functions proposed for this model. These are given
by equations (1.35) and (1.36).
w − aon
(1.35)
fof f (w) = exp − exp −
wc
fon (w) = exp − exp
1.5.5
w − aof f
wc
(1.36)
Exponential model
Exponential model was published in [113]. The name of this model varies in review
articles. In [61] and [63] this model is called non-linear ion drift, in [32] it is called
exponential model and in [33] it is referred to only by authors’ names. In this work,
this model is referred to as exponential model.
This model has been used for simulations of a Pt/TiO2 /Pt device. To increase
the near surface vacancy concentration, a single rutile crystal (TiO2 ) was annealed
at a high temperature. The top interface became non-ohmic (Schottky-like) and the
bottom interface became ohmic-like. Authors also describe, that the switching in
the device occurs only on the non-ohmic interface and that the switching is bipolar.
The current-voltage equation (1.37) consists of two parts. The first part, sinh(·),
is used for modelling the ON state, which is essentially electron tunnelling through
a thin residual barrier. The second term is an approximation for the rectifier, based
on Shockley diode model, [111] and it is active when the device is in OFF state.
This model satisfies both the electronic measurements and the material composition
of the device.
i = wn · β sinh(α · v) + χ (exp(γ · v) − 1) ,
50
(1.37)
CHAPTER 1. CURRENT STATE
where w is the state variable and n, β, α, χ, γ are fitting parameters. v is the
voltage across the memristor.
The state variable drift equation was not presented in the article [113], but in
multiple other articles. Equation (1.38) was proposed in [68] and [64]. Equation
(1.39) was proposed in [32] and the last one, (1.40), was introduced in [33].
dw
= a · f (w) · g(v),
dt
(1.38)
where a is a constant, f (w) is one of the window functions described in section 1.5.2
and g(v) is a polynomial function of voltage, given by g(v) = v q , for some q ∈ 2N−1.
dw
= a · sinh(b · v) · f (w),
dt
(1.39)
where a, b are fitting parameters, v is the voltage and f (w) is one of the window
functions from section 1.5.2.
dw
= υ · g(v, ρ(w), ϕ0 ),
dt
(1.40)
where v is the voltage, υ is a constant value to identify ON and OFF switching
speeds, w is state variable and ϕ0 is the equilibrium (v ≡ 0) barrier height in eV .
The function ρ(w) is given by (1.41). The function g(v, ρ(w), ϕ0 ) is given as (1.42).
(1.41)
ρ(w) = δ + η 1 − (2w − 1)2p ,
where p is a positive integer value.
r
v
exp ρ(w)ϕ0 1 − 1 −
g (v, ρ(w), ϕ0 ) = 1 −
2ϕ0
r
v
− 1+
exp ρ(w)ϕ0 1 − 1 +
2ϕ0
1.5.6
v
2ϕ0
v
2ϕ0
(1.42)
WOx model
All of the models presented in previous sections were used to simulate a device
whose layer I consists of TiOx . Here, we briefly describe a model, which was used
51
1.5. MEMRISTOR MODELS
for a Pd/WO3 /W device. This model was presented in [21] and authors declare that
electroforming in this device is not needed.
In previous models, the state variable w was used as a length index. In this
model, the growth of w is in parallel with existing conducting paths instead of
series, shown in Fig. 1.19.
+
Pd
w
W
−
Figure 1.19: WOx model inner structure
The current-voltage equation of this model is given by equation (1.43). It includes the Schottky term exp(·) and the tunnelling term – sinh(·). Similar to the
exponential model in section 1.5.5, the Schottky-dominated [112] part is active when
the state variable w = 0 and the tunnelling-dominated part is active while w = 1.
i = (1 − w)α [1 − exp(−β · v)] + wγ sinh(δ · v),
(1.43)
where α, β, γ and δ are positive parameters determined by material properties such
as the barrier height and, for tunnelling, the depletion width in the Schottky barrier
region, the effective tunnelling distance in the conduction region and interface effects.
In practice, they are treated as parameters that need fitting.
In real devices, the state drift equation is determined by the drift of charged
mobile ions such as oxygen vacancies. It has been shown that at relatively high
fields that causes the resistance switching. The ions move at a speed exponentially
dependent on the electric field (1.44) neglecting higher-order effects.
The state drift equation of this model was presented with respect to (1.44) and
it is given by (1.45) without the explicit dependence on w.
dw
∝ sinh
dt
52
v/E0
d−w
,
(1.44)
CHAPTER 1. CURRENT STATE
where d is the total thickness of the film and E0 a characteristic field.
dw
= λ [exp(η1 · v) − exp(−η2 · v)] ,
dt
(1.45)
where η1 and η2 are positive-valued parameters. In case of η1 = η2 = η, it is possible
to rewrite equation (1.45) into (1.46), where the diffusion term (−w/τ , where τ is a
diffusion time constant) was added.
dw
w
= λ sinh(η · v) −
dt
τ
1.5.7
(1.46)
TaOx model
The structure of the device presented in [98] was stacked as follows (numbers in
parentheses denote the width of the layer in nm): the top electrode consisted of
Ta(30)/Pt(200), the bottom electrode consisted of Ti(5)/Pt(20) and the I layer was
Ta2 O5 .
The model for the described device was published in [96]. Similarly to other
models, the equations are based on Chua’s memristive system definition (1.10). The
physical structure of this device is shown in Fig. 1.20. In [96], the state variable
is denoted by y and it should model the height according to y = AT a(O) /Achan . In
following text, w is used instead of y to unify the naming conventions of the state
variable.
Ta
Achan
TaOx
Ta2 O5
+
AT a(O)
Pt
−
Figure 1.20: TaOx model inner structure
The current-voltage equation of this model is given by (1.47). The first part of
the equation models the metallic (ohmic) state – ON, while the second – OFF state
53
1.5. MEMRISTOR MODELS
– is described by a non-linear Frenkel-Poole relationship. The device conductance
is approximated by parallel combination of the two stages.
h
p i
i = v w · Gm + (1 − w)a exp b |v| ,
(1.47)
where Gm , a and b are fitting constants.
For modelling the dynamic changes of the device, two equations are used. The
equation (1.48) is used in case of the voltage v < 0, while the second (1.49) is used
in case of v > 0.
wOF F 2
v
1
dw
(1.48)
exp −
= A sinh
exp
dt
σOF F
w
1 + βp
dw
= B sinh
dt
v
σON
" 2 #
p
w
exp
exp −
,
wON
σp
(1.49)
1
6
4
0.5
4
0
2
-0.5
0
2
0
-2
-4
-1.2
-1
-0.8
-0.4
0
Voltage [V]
0.4
-1.5
0
0.8
Current [mA]
6
Voltage [V]
Current [mA]
where p is the power, v is the voltage, w denotes the state variable and other variables
are free model parameters, held constant during the simulation. The simulation of
the TaOx model is shown in the Fig. 1.21, with parameters taken from [96].
-2
2
4
6
Time [ms]
8
-4
10
(b) Input voltage and the current
(a) V-I characteristic
Figure 1.21: Simulation of the TaOx model
All of the models presented in this section have a common property – the currentvoltage equation can be expressed in terms of i = f (v, w) and the state drift variable
in terms dw/dt = f (v, i, w). In SPICE-like simulators this means, that the implementation of current-voltage expression can be easily modelled using a two-terminal
54
CHAPTER 1. CURRENT STATE
voltage-controlled current source (Gmem ). The state variable is modelled by the
voltage of a capacitor C, which serves as an integrator. For the implementation of
window functions, auxiliary functions are used. Corresponding scheme is shown in
Fig. 1.22.
w
+
-
Gmem
Gsv
i=f(v)
i=dw/dt
C
Figure 1.22: A generalized SPICE implementation
1.6
Numerical methods in circuit analysis
In this section we briefly describe the numerical methods used in circuit analysis.
The described methods can be divided into two categories. In the first category,
there are methods used for solving ordinary differential equations, in literature also
known as numerical integration. These are needed because of simulation of dynamical devices. Many devices are described using a non-linear equation and therefore
numerical methods used for root-finding are also required – the second category.
In the following text we use the terminology from circuit analysis, mainly transient analysis and DC analysis. Transient analysis computes the transient output
variables as a function of time over a time interval. The DC analysis determines the
DC operating point of a circuit with shorted inductors and opened capacitors. The
initial condition for the transient analysis can be automatically determined by the
DC analysis.
1.6.1
ODE solver algorithms
A dynamic system may be described by a system of first-order differential equations
of state variables. We will limit us on separable state variables, in which, the
55
1.6. NUMERICAL METHODS IN CIRCUIT ANALYSIS
differential equation has the form (1.50).
dx
= ẋ(t) = f (x, t)
dt
(1.50)
In this part, only selected methods are described. The reader can find more
details about these methods in [20]. The basic properties of the described algorithms:
• Step size – The step size is defined by the arguments difference of successive
solution vectors, i.e. the time step hn during the transient analysis with n
being the n-th integration step.
hn = tn+1 − tn
(1.51)
• Order – The order, k, of an integration method is defined as follows: With
two successive solution vectors xn+1 and xn given, the successor xn+1 can be
expressed by expanding into a finite Taylor series. The order of an integration
method equals the power of the step size up to which the approximate solution
of the Taylor series differs less than xn from the true solution xn+1 .
• Truncation error – The truncation error εT depends on the order k of the
integration method and results from the remainder term of the Taylor series.
The local truncation error is caused by one iteration and the global truncation
error is a cumulative error caused by many iterations.
• Stability – In order to obtain an accurate network solution, integration methods are required to be stable for a given step size h. The stability determines
the usability of an integration algorithm.
• Single- and multistep methods – Single step methods only use xn in order
to calculate xn+1 , multi step methods use xi with 0 ≤ i < n.
• Implicit and explicit methods – When using explicit integration methods,
the evaluation of the integration formula is sufficient for each integration step.
With implicit methods, it is necessary to solve an equation system (with nonlinear problems a non-linear equation system) because for the calculation of
xn+1 , apart from xn and ẋn , also ẋn+1 are used.
56
CHAPTER 1. CURRENT STATE
1.6.1.1
Runge-Kutta family methods
In general, Runge-Kutta methods are one-step implicit and explicit methods of different order. These methods are essentially based on the Taylor expansion, but the
function derivatives are approximated by the calculation of the function in appropriately selected strategic points in the time interval htn , tn+1 i.
Implicit Euler method This method is also called Backward Euler and it is
a first-order single-step method. The right hand side of (1.50) is substituted by
f (xn+1 , tn+1 ) which yields the formula of this method:
xn+1 = xn + hn · f (xn+1 , tn+1 )
(1.52)
Explicit Euler method This method is also called Forward Euler and it is a
first-order single-step method. The formula of this method is given by:
xn+1 = xn + hn · f (xn , tn )
(1.53)
Trapezoidal method The method is implicit second-order method and its formula is given by (1.54).
xn+1 = xn +
h · f (xn+1 , tn+1 ) + f (xn , tn )
2
(1.54)
4th order Runge-Kutta method The fourth-order Runge-Kutta is given by
(1.55).
xn+1 = xn + 16 h(k1 + 2k2 + 2k3 + k4 ),
(1.55)
where
k1 = f (xn , tn )
k2 = f (xn + h2 k1 , tn + 12 h)
k3 = f (xn + h2 k2 , tn + 12 h)
k4 = f (xn + hk3 , tn + h)
57
1.6. NUMERICAL METHODS IN CIRCUIT ANALYSIS
1.6.1.2
Linear multistep methods
Linear multistep methods are a family of ODE solving methods of higher order.
Multistep methods use information from the previous p steps to calculate the next
value. In particular, a linear multistep method uses a linear combination of xi and
f (xi , ti ) to calculate the value of x for the desired current step.
In general, a linear multistep method can be written as (1.56).
x
n+1
=
p
X
i=0
ai · x
n−i
+h
p
X
i=−1
bi · f (xn−i , tn−i ),
(1.56)
where a and b are method coefficients. In case of b−1 6= 0, the method is implicit. These methods can be divided into three “families”. The first are AdamsBashforth methods (explicit), the second Adams-Moulton (implicit) (1.57) and
the third the Backward Differentiation Formulas (implicit) i.e. Gear
xn+1 = xn + h
9 n+1
19
5
1
f
+ h f n − h f n−1 + h f n−2
24
24
24
24
(1.57)
Every implicit method has the property that for its calculation it is necessary to
calculate some approximation of xn+1 . This can be done using iterations. The
number of iterations until the solution converges is unknown and that is a disadvantage. Compared to the explicit methods, currently, there exist two approaches
[18]. The first approach is to use a fixed number of iterations. The second, more
commonly used approach, is to provide a good initial guess using an explicit integration method and iterate while the desired tolerance is not reached. This approach
is called predictor-corrector method.
Explicit methods are inexpensive in performance per step but limited in stability
and therefore not used in the field of circuit simulation to obtain a correct and stable
solution. Implicit methods are more expensive in computing capacity per step, have
better stability and therefore suitable for circuit simulation [47].
1.6.2
Root-finding algorithms
These algorithms are used to find a value x such that f (x) = 0, where f is a given
function. Algorithms for root-finding can be divided into two categories: bracke-
58
CHAPTER 1. CURRENT STATE
ting and open. Bracketing methods need to work only on specified interval and are
always convergent. Known bracketing methods are: Bisection and False Position method. Open methods do not require a bounded interval, but they may not
converge, e.g. Fixed-point iteration (or Function iteration [59]) and NewtonRaphson method.
Most widely used method in circuit simulation ([82], [30], [101], [102], [22] and
others) is Newton-Raphson. The following section describes this method.
1.6.2.1
Newton-Raphson method
N-R is an iterative root-finding algorithm, that uses the first few terms of the Taylor
series of a function f (x). Suppose, that f (x) is a non-linear function. Its Taylor
series expansion around xk can be written in the form (1.58).
f (x) = f (xk ) + (x − xk )f ′ (xk ) +
(x − xk )2 ′′
f (ξ) · · ·
2
(1.58)
for some ξ between x and xk . We expect the third term in (1.58) to be very small.
The linearized state is given by (1.59).
f (x) = f (xk ) + (x − xk )f ′ (xk )
(1.59)
For the iteration process, the formula (1.59) is written in form of (1.60).
xk+1 = xk −
f (xk )
f ′ (xk )
(1.60)
The iteration process is repeated until the change between iterations is within desired
tolerance.
|xk+1 − xk | < ǫ
(1.61)
For a system of equations, the N-R has following form:
xk+1 = xk − J(xk )−1 f (xk ),
(1.62)
where J(x) is the Jacobian matrix of f . In practice, one does not invert the Jacobian
59
1.7. ELECTRICAL NETWORK ANALYSIS METHODS
matrix, but instead a linear system (1.63) is solved.
J(xk )sk = −f (xk ),
(1.63)
where sk is the N-R step and the next iteration is computed as xk+1 = xk + sk .
Several techniques for solving a linear system are known. There are direct methods and iterative methods. The circuit matrices arise from the N-R applied to
the differential-algebraic equations. It is known, that these matrices are extremely
sparse [31]. The application of direct method to these matrices would transform
them into dense matrices. Dense matrices consume more memory and require more
operations, e.g. by matrix-vector multiplication [38], and therefore iterative methods
designed for sparse matrices are used [83]. A comparison of selected methods in
circuit simulation is available in [31], [23] and [47].
1.7
Electrical network analysis methods
In this section, we briefly describe laws and methods used in network analysis. The
Ohm’s law and the Kirchhoff’s laws can be derived from the Maxwell’s equations
[9]. These laws make the background for the nodal analysis and mesh analysis. The
sparse tableau analysis (STA) presented here is based on the fact, that a circuit
network can be represented as a directed graph, while the modified nodal analysis
is a “happy medium” [83] between the STA and the nodal analysis.
Nodal analysis is based on defining the voltage at each node as a variable [40].
One of the nodes is selected as a reference node (usually ground), and each of the
other node voltages is referenced to this node. In the node voltage method, each
branch current is expressed in terms of one or more node voltages; thus currents
do not explicitly enter the equations. Once each branch current is defined in terms
of the node voltages, Kirchhoff’s current law (KCL) is applied at each node. On
the other hand, the mesh analysis uses mesh currents as the variables. Subsequent
application of Kirchhoff’s voltage law (KVL) around each mesh provides the desired
system of equations.
60
CHAPTER 1. CURRENT STATE
1.7.1
Kirchhoff’s current law
At any node in an electrical circuit, the sum of currents flowing into that node in
each time is equal to the sum of currents flowing out of that node.
n
X
Ik (t) = 0,
k=1
1.7.2
(1.64)
t∈R
Kirchhoff’s voltage law
The algebraic sum of the voltages across any set of branches in a closed loop is zero
(1.65), or the voltage (drop) across a branch vb is equal to the difference between
the positive (v+ ) and the negative (v− ) referenced voltages of the nodes on which it
is incident: vb = v+ − v− , [88].
n
X
vb (t) = 0,
b=1
1.7.3
(1.65)
t∈R
Sparse tableau analysis
This method has been proposed in [39]. In [24], this method is declared to be the
most general one, because it simultaneously provides the voltages across all elements,
the currents through all elements and all nodal voltages.
The circuit shown in Fig. 1.23a can be represented using an oriented graph
shown in Fig. 1.23b. The vertices in the graph represent nodes of the circuit and
the edges are the elements. The reference node – usually ground, is also called
the datum. The assignment of the direction on the edges is a free choice, but the
direction on the edges which replaced voltage sources is from plus to minus.
R1
1Ω
2V
V1
2
R2
100kΩ
R3 1M Ω V2
u2 3
u1
5V
u3
1
(a) Circuit
5
4
(b) Oriented graph
Figure 1.23: Discussed electrical network
61
1.7. ELECTRICAL NETWORK ANALYSIS METHODS
The first step is to write the KCL for the nodes. This can also be summarized in
one matrix equation (1.66) or A · Iel = 0, where A is called an incidence matrix and
Iel is the vector of currents in branches. It has as many rows as there are ungrounded
nodes, and as many columns as the number of elements. The +1 in any given row
indicates that we expect the current to flow away from the node, −1 means the
opposite.
 
I
  V 1

IR1 
1 1
0 0 0

 


(1.66)
0 −1 −1 0 1 · 
IR2  = 0
 
0 0
1 1 0
IV 2 
IR3
According to the Fig. 1.23b, it is possible to write a set of equations which couple
the voltages across the elements with the nodal voltages in form Vel − AT · un = 0,
where un are the node voltages. The number of equations is equal to the number of
branches. This system represents the KVL.

 

VV 1
1 0 0

 
  
VR1  1 −1 0
u

 
  1
VR2  − 0 −1 1 · u2  = 0
(1.67)

 


 

u3
VV 2  0 0 1
VR3
0 1 0
The third step is to write the branch constitutive relations in the form YVel +
ZIel = W. In this case, the branch constitutive equations are given by (1.68).
   
 
 

V1
IV 1
0
0
0
0
0
VV 1
1 0 0 0 0
   
 
 

0 1 0 0 0 VR1  0 −R1
0
0
0  IR1   0 
   
 
 

 IR2  =  0 (1.68)
0 0 1 0 0 · VR2  + 0
0
−R
0
0
2
   
 
 

   
 
 

0
0
0
0
0
V
0
0
0
1
0
 IV 2  V2 
  V 2 

0
IR3
0
0
0
0 −R3
VR3
0 0 0 0 1
The final step is collecting the KCL, KVL and branch constitutive equations into
one matrix (1.69).
    

0
Vel
1 0 −AT
    

(1.69)
0  ·  Iel  = W
Y Z
0 A
un
0
62
0
CHAPTER 1. CURRENT STATE
m denotes the number of elements and n the number of nodes. It is obvious,
that the system in (1.69) has 2m + n − 1 independent equations and the matrix on
LHS of the equation is sparse, with no more than 7m − 2 non-zero entries [83]. This
algorithm was used in earlier circuit simulators like ASTAP in 1973 [106], but it is
possible to find its application in currently developed simulators like [100], as well.
1.7.4
Modified nodal analysis
Authors in [24] and [83] propose to use the modified nodal analysis (MNA) instead
of STA. This method was described in [42] for the first time and it is a an extension
of the nodal analysis. The MNA is based on solving a system of equations given by
A · x = b. The generation of the admittance matrix A and the vector z is done
using a so-called stamping process. Each element in the circuit is defined by its own
stamp, which is put into them.
Suppose a linear resistor is connected between nodes j and k. The contribution
of this resistor, between these nodes, to KCL is following:
KCL at node j: · · · + GVj − GVk · · · = 0
KCL at node k: · · · − GVk + GVj · · · = 0,
where the Vj and Vk are the nodal voltages at two nodes. The voltage across the
resistor is V = Vj − Vk and G = 1/R. The ellipses (. . . ) denote contribution from
other elements connected to that node. Based on this assumption, the MNA stamp
for the linear resistor is given by Tab. 1.2.
The current through a voltage source connected to the nodes (j is the positive
terminal) j and k (V = Vj − Vk ) cannot be written in terms of nodal voltages.
In this case, the KCL equations at nodes j and k are listed as:
KCL at node j: · · · + Ie · · · = 0
KCL at node k: · · · − Ie · · · = 0,
The current Ie is not expressed using voltages, but it is included in the formulation.
This increases the number of unknown variables by one. The circuit stamp for this
element becomes Tab. 1.3. The stamps for other elements can be found in [22].
63
1.7. ELECTRICAL NETWORK ANALYSIS METHODS
Matrix
vj
j G
k −G
A
vk
−G
G
RHS
Table 1.2: MNA resistor stamp
Matrix A
RHS
vl vm I e
l
1
m
-1
Ie 1 -1
V
Table 1.3: MNA voltage source stamp
Using these formulations, it is possible to set up the system of equations (1.70)
containing the matrix, the RHS vector and the vector of unknowns for the circuit
shown in Fig. 1.23a.
    

v1
G1
−G1
0
1 0
0
    

−G1 G1 + G2 + G3 −G2 0 0  v2   0 
    

 ·  v3  =  0 
 0
(1.70)
−G
G
0
1
2
2
    

    

0
0
0 0 iv1  V1 
 1
0
0
1
0 0
V2
i v2
1.7.4.1
Non-linear elements using MNA
The approach to solving the non-linear circuits is not to solve their non-linear equations, but instead, to linearize the circuits and build corresponding linear equations.
These equations are solved until convergence is achieved. A diode or a voltagecontrolled non-linear resistor is often used in literature ([83], [30]) to demonstrate
this approach. Suppose, that a diode shown in Fig. 1.24a has its companion model
shown in Fig. 1.24b. The current flowing through the diode (id ) is given by the
Shockley diode equation (1.71), where Isat is the reverse bias saturation current, vd
is the voltage across the diode, VT is the thermal voltage, and η is the ideality factor.
id = f (vd ) = Isat evd /(ηVT ) − 1
(1.71)
The conductance Geq is given by (1.72), while the current Ieq is given by (1.73).
Geq =
∂id
Isat vd /(ηVT )
=
e
∂vd
ηVT
Ieq = id − Geq · vd
(1.72)
(1.73)
The modelling of memristors using MNA has been shown in [116], [34] and [6].
64
CHAPTER 1. CURRENT STATE
id
+
vd
vd
id
1
Geq
D
Ieq
(a) Diode schematic
(b) Companion model
Figure 1.24: Diode schematic symbol and its companion model
The authors used the constitutive relation of a memristor proposed by Chua. A
memristor defined by i = f (v, w), where f is a non-linear function of the voltage
across the memristor – v and its state variable – w can be understood as a non-linear
voltage-controlled resistor in a single time simulation. In a transient simulation, it
is needed also to consider the addition of the state variable.
A custom memristor simulator, described in [58], should be able to simulate large
memristive arrays. The main cons of this simulator is, that it was primary designed
for simulation of a memristor network containing a linear model – published in [85].
Authors focus on the dynamical properties of the network and not on the non-linear
behaviour of a single device.
1.8
Circuit simulators
This section is dedicated to the circuit simulators. Historically, the simulators can
be roughly divided into two groups. The first group contains simulators, which were
developed before 1975 and the second those developed afterwards. The first version of SPICE was released in 1973. It was built on the CANCER [81] (Computer
Analysis of Nonlinear Circuits, Excluding Radiation) simulator, developed using
FORTRAN language. This simulator used nodal analysis to construct the circuit
equations. Several other simulators were also developed before 1975, namely ECAP
[17] and TIME [48], that also used the nodal analysis for the construction of equations. The simulator ASTAP developed in 1973 [106] used STA as the method for
the generation of circuit equations. In 1975, the second version of SPICE simula-
65
1.8. CIRCUIT SIMULATORS
tor was released. This one was also written in FORTRAN language, but used the
MNA to construct the circuit equations. Usage of MNA was the key feature, which
allowed also the usage of floating voltage sources in the circuit. It can be said that
after this release the SPICE has become an industrial standard. Until now, there
have been many commercially developed simulators based on SPICE II or SPICE
III core. Due to the widespread usage of this simulator, the SPICE became an IEEE
milestone in 2011.
1.8.1
SPICE
In the following section we present the algorithm overview and the enhancements
to the methods used in SPICE-like simulators. The next section deals with parallelization techniques proposed in selected papers.
1.8.1.1
Algorithm overview
The commonly used algorithm (without corrections of computing errors) used in
SPICE, is shown in Fig. 1.25 [102]. The very first step is the transformation from
the netlist (circuit description) into objects, which represents the circuit. From these
the initial operating point is generated.
The numerical methods used in SPICE-like algorithms were described in [82] and
[84]. The root finding problem is mostly solved using Newton-Raphson method.
The integration in SPICE II was done using trapezoidal rule by default, while the
next generation of this simulator used a linear multi-step method – mainly Gear
[47].
The more interesting thing on SPICE-like simulators is the handling of errors,
which can occur. The simulator implements a lot of functions to limit the simulation
failure to the minimum. In following text, we present algorithms used to prevent a
failure (besides the floating nodes, what is mostly caused by the user).
1. Limiting the operating range – Small resistor values correspond to large
conductivities. The algorithm limits large entries in the matrix.
2. Gmin stepping – In case, when the matrix becomes singular, the Gmin stepping is used. A small conductance is attached between each node and ground.
66
CHAPTER 1. CURRENT STATE
These conductances appear at the diagonal of the matrix. This process is done
until the attached conductances are as small as possible, ideally equal to zero.
3. Source stepping – The source stepping is similar to the Gmin stepping.
All independent voltage sources are gradually decreased toward 0 until the
convergence is reached. Afterwards, these voltages are increased in each step
until the solution converges.
4. Damping the N-R – In case when both of previously described processes fail,
the damping process is started. Damping the N-R algorithm limits the change
of circuit quantities between N-R iterations to a fraction of the maximal step.
Practically the matrix is multiplied by a value according to the damping factor
α, where 0 < α ≤ 1. The larger the damping factor, the more simulations
steps are required for convergence.
Preparation, parsing
Initial operating point
Create linearized
companion models
for non-linear devices
Stamping process
for the MNA system
Companion models
for capacitors,
inductors, etc.
New operating point
is set
Solving the system
Convergence?
Select time step,
calculate next
time point
End time?
Figure 1.25: SPICE algorithm overview
67
1.9. LOGIC CIRCUITS
1.8.1.2
Parallelization
The parallelization for SPICE-like simulators is possible mainly in the transient
analysis, when the numerical integration is performed. The integration can be done
separately for each element. Multiple papers were published, where the parallelization was done in the integration part of the simulation e.g. [115] on the GPU like [7].
Another part which enables the parallelization is the handling of matrices – solving
the system, multiplication etc. For example, a solver using FPGA was published
in [52]. Less parallelization is available at the N-R iteration part. Each step is
dependent on the previous. However, also for this part a method of hierarchical or
multilevel simulation was described in [43]. A comprehensive and detailed overview
of parallelization in circuit simulation is present in [71].
1.9
1.9.1
Logic circuits
Boolean logic
The circuits based on Boolean logic are not the main interest of this work, but there
is the need to describe the Boolean algebra and its realization using logic gates
and memristors. For completion, the overview of Boolean algebra is present in this
section.
1.9.1.1
Boolean algebra
The Boolean algebra is the base for the formalization of two-valued logic. It is
defined as a sextuplet (A, ∧, ∨, ¬, 0, 1), where A is a non-empty set, ∧ is binary
operation disjunction (“and”), ∨ is binary operation conjunction (“or”), ¬ is unary
operation negation (“not”) and 0, 1 are the elements of the set A. In the text are
the operations (∧, ∨, ¬) replaced by (·, +,¯ ). All components a, b, c from the set A
have these properties:
Binary logic circuit The binary logic circuit is presented on function f (a, b, c) =
(a + b) · c + b. This function is represented using a truth-table (Tab.1.4) or using a
Karnaugh map (Tab. 1.5).
68
CHAPTER 1. CURRENT STATE
•
•
•
•
•
•
•
•
Associativity:
Commutativity:
Absorption:
Distributivity:
Complementation for a:
Identity for a:
De Morgan laws:
Double negation:
a
0
0
0
0
1
1
1
1
b
0
0
1
1
0
0
1
1
c
0
1
0
1
0
1
0
1
f (a, b, c)
0
0
1
1
0
1
1
1
a ∨ (b ∨ c) = (a ∨ b) ∨ c
a ∧ (b ∧ c) = (a ∧ b) ∧ c
a∨b=b∨a
a∧b=b∧a
a ∨ (a ∧ b) = a
a ∧ (a ∨ b) = a
a ∨ (b ∨ c) = (a ∨ b) ∧ (a ∨ c)
a ∧ (b ∨ c) = (a ∧ b) ∨ (a ∧ c)
a ∨ ¬a = 1
a ∧ ¬a = 0
a∨0=a
a∧1=a
¬(a ∧ b) = ¬a ∨ ¬b
¬(a ∨ b) = ¬a ∧ ¬b
¬¬a = a
a
f (a, b, c)
Table 1.4: Truth-table example
✓✏
b
0
c
a
0
✬✩
1
✓
1
0
✏
✫
✒✪
✑
1
1
1
0
c
✑
1
✒✑
0
1
1
✓
1
1
b
✒
0
Table 1.5: Karnaugh map example
From the truth table, it is possible to write the full disjunctive form directly
in terms f (a, b, c) = abc + abc + abc + abc + abc. As another representation, it is
possible to use the Karnaugh maps. It is possible to write the minimal disjunctive
form (MDF) as the sum of minterms f (a, b, c) = b + ac. Using the De Morgan law,
it is possible to express the MDF in terms of f (a, b, c) = b · ac, which is suited for
the NAND gates – Fig. 1.26a.
In case of using the NOR gates, we describe the zero valued outputs. The full
conjunctive form is given by: f (a, b, c) = (a+b+c)·(a+b+c)·(a+b+c). By grouping
the zero values in the Karnaugh map, it is possible to write the minimal conjunctive
form (MKF) in terms of the product of maxterms f (a, b, c) = (a+b)·(b+c). Applying
the De Morgan law, the expression is rewritten: f (a, b, c) = (a + b) + (b + c). Using
the NOR gates, it is possible to create the circuit shown in Fig. 1.26b.
69
1.9. LOGIC CIRCUITS
a
c
b
a
b
c
f (a, b, c)
f (a, b, c)
(a) using NAND gates
(b) using NOR gates
Figure 1.26: Implementation of f (a, b, c) = (a + b) · c + b
1.9.1.2
Memristor based implication
A single memristor is a two terminal device and therefore it cannot act as a traditional NAND, NOR etc. gate [66]. It has been proposed in [15], that memristors can
implement the material conditional. The material conditional (shorter implication)
is a binary logic operation with two variables (a, b), whose output o = a → b is
given by the Tab. 1.6. The compound a → b is logically equivalent to ¬a ∨ b and to
¬b → ¬a, but it is not equivalent to b → a.
a b a→b
a
b
o
Figure 1.27: Symbol of IMPLY gate
0
0
1
0
1
1
1
0
0
1
1
1
Table 1.6: The implication truth table
In case of the material implication, the HRS memristor state represents logic
value 0 and the LRS the logic value 1. A single memristor can act as a latch
and a gate. The circuit, shown in Fig. 1.28b, combining a resistor RG with two
electrically connected memristors is needed to implement the implication operation.
The resistance of RG must be in the interval RON < RG < ROF F .
Before the operation description is written, there is the need to first describe
the naming convention of variables (voltages). For better understanding, the used
voltages are shown in Fig. 1.28a. The memristor symbol is also replaced in this
part, with an arrow, as shown in the insets of Fig. 1.28a. A and B shown in Fig.
70
CHAPTER 1. CURRENT STATE
I
VCD
VCL
VCD
V
VS
A
V
VO CR
’1’
VS
B
RG
’0’
(a) Voltages on description
(b) Implication circuit using memristors [15]
Figure 1.28: Memristor based implication
1.28b are memristors. a and b represent the states of memristors A and B. The
following operation description is taken from [62].
The basic concept is to apply different negative voltages to memristors A and
B, where the applied voltage VS on B has higher magnitude than VCD , the voltage
applied to A (|VCD | < |VS |). In case of a = 1 (LRS) the voltage at the common
terminal is approximately VCD and the voltage at B is approximately VS − VCD ,
which is sufficiently small to maintain the logic state b. In case both memristors
are in high resistance states, the applied voltage at B is approximately VS and B
is switched ON (b = 1). In the case of a = 0 and b = 1, the logic state of b is
maintained.
The implementation of a NAND is shown in Fig. 1.29. To obtain the states of
memristors, which implement NAND, it is necessary to program the devices in three
steps. These steps are shown in Tab. 1.7 and explained in Tab. 1.8.
A
VA
B
VB
C
VC
Clocking voltages
Step 1
Step 2
Step 3
RG
VC = VCR
VC = VS
VA = VCD
VB = VCD
Figure 1.29: NAND implementation Table 1.7: The sequence of voltages apusing memristors
plied to obtain the NAND operation
71
1.9. LOGIC CIRCUITS
Step 1
Step 2
Step 3
Step 1,2,3
c=0
o1 = a → b
o2 = b → o1
o2 = a NAND b
b
0
1
0
1
a
0
0
1
1
c
0
0
0
0
a
0
0
1
1
c
0
0
0
0
o1
1
1
0
0
o1
1
1
0
0
o2
1
1
1
0
b
0
1
0
1
o2
1
1
1
0
Table 1.8: Equivalence of the sequence of operations to NAND
Authors in [67] proposed, that any Boolean function f : B n → B can be implemented with only n + 3 memristors, where three additional memristors carry out
the computation. Further, the methodology was improved in [69] and it was shown,
that only two additional memristors are required, rather than three. An algorithm
for the synthesis of an n-input Boolean function was presented in [70] and [89]. More
logic circuits based on memristors imply were presented in [92]. A programmable
imply logic devices based on memristors were proposed in [14] and [53].
1.9.2
Many-valued logic
The many valued logic is an extension to the Boolean logic. The two-valued logic
encounters problems in the form of logical paradoxes. An example of such paradox
is the statement: I’m going to lie: I’m a liar. If it was true that I lied, according
to what I said I would not be a liar. But if I was not a liar, then it would be a lie,
that I was going to lie [36]. In this case it is not possible to assign a truth value
(true/false) to the statement.
The solution to such kind of problems was proposed by Łukasiewicz, Bochvar
and Kleene. They introduced a third state, denoted by 1/2. Further, the three-state
logic was generalized to n-state logic, for n ≥ 2. Similar to the Karnaugh maps,
Svoboda maps are used in many-valued logic. The goal is to express the minimal
disjunctive or conjunctive form. A comprehensive overview of many-valued logic is
available in [86].
72
CHAPTER 1. CURRENT STATE
1.9.3
Fuzzy logic
The fuzzy logic also deals with multiple available logic states. It was introduced in
[117] for the purposes of work with uncertainty, when the logic value can acquire
values from the interval h0, 1i, not only 0 or 1. [12]
The definition of the fuzzy set proposed by Zadeh [117] is the following: Let X
be a nonempty set. A fuzzy set A in X is characterized by its membership function:
(1.74)
µA : X → h0, 1i
and µA (x) is interpreted as the degree of membership of element x in fuzzy set A
for each x ∈ X. It is clear that A is completely determined by the set of tuples
A = {(x; µA (x))|x ∈ X}.
In Fig. 1.30, the temperature, described using three qualitative notions – cold,
warm, hot is present. These qualitative parameters represent three sets defined by
their boundaries. The sets’ boundaries are not sharp and they are fuzzy sets. It can
be said that, for the temperature 15°C, the membership into set “cold” is 0.6, the
membership into “warm” is 0.2 and into set “hot” it is equal to 0.
All crisp set operations are extended to fuzzy sets. The intersection, union,
complement and implication set operations are performed by a t-Norm function
⊗, a t-Conorm function ⊕, a negation function ⊖ and an implication function →,
respectively [13].
Family
Zadeh
Łukasiewicz
Gödel
Product
t-Norm a ⊗ b
min{a, b}
max{a + b − 1, 0}
t-Conorm a ⊕ b
max{a, b}
min{a + b, 1}
min{a, b}
max{a, b}
a·b
a+b−a·b
Negation ⊖a
1−a
1−a
1, a = 0
0, a > 0
1, a = 0
0, a > 0
Implication a → b
max{1 − a, b}
min{1 − a + b, 1}
1, a ≤ 0
b, a > 0
1, a ≤ 0
b/a, a > 0
Table 1.9: Examples of fuzzy operators
An important component of the fuzzy logic are the fuzzy flip-flops (an extended
form of an ordinary binary flip-flops). A J-K fuzzy flip-flop was presented in [41] for
the first time. The properties of the RS fuzzy flip-flop were studied in [16].
73
Membership
function 1 cold
warm
hot
0.6
0.2
0
[°C]
15
Figure 1.30: Graphical interpretation of the membership function
1.9.3.1
Memristor based fuzzy logic
The fuzzy sets are defined as a continuous quantity on the interval h0, 1i. The fuzzy
operators can be performed using digital, analogue and “mixed” techniques [45].
Here, the implementation of the minimum function and the maximum function
using memristors is presented. This implementation was proposed in [55]. Fig.
1.31a shows the minimum function (vo = min(v1 , v2 )) and Fig. 1.31b shows the
maximum function (vo = max(v1 , v2 )).
M1
v1
M2
vo
M1
v2
v1
(a) Minimum function schematic
M2
vo
v2
(b) Maximum function schematic
Figure 1.31: The fuzzy logic operation implemented using memristors
One of the most important properties, which must be taken into account, is that
the resistance ratio, between LRS and HRS should be as high as possible. These
two circuits are discussed at length in the second and third chapter of this work.
74
Chapter 2
Solutions specification and methods
of examination
2.1
Continuity of previous research
Until now, there has been no dissertation written at our department, faculty and
university dealing with memristors. However, this work should be a successor of
the last two dissertations written by Stanislav Foltán and Štefan Badura at our
department. A short description of these theses is present in following text.
Speech recognition by means of fuzzy logical circuits is the title of the work by
Stanislav Foltán [36]. The primary aim of the thesis was to decide whether it
is possible to do the speech recognition using massive fuzzy logic circuits. The
structure and the parameters of such kind of circuit network are unknown. The
genetic programming was chosen to find structures which would be able to recognize
vowels.
Author also tested multiple families of fuzzy operators with a new operator –
the average. Used vowels – a, e, i, o, u – were obtained from an audio record
of the book “Cukor a soľ”. The success of the recognition was up to 76% using
only the operations minimum, maximum, average and negation. The verification
of the selected methods was done also on two phonemes – “a” and “o”. These were
deliberately chosen because their spectra are so similar, that the classic analysis
methods often fail. In the work, it was also shown that the negation does not
75
2.2. EXPERIMENTAL METHODS
need to be implemented using memristors because a walk-around exists. From the
experimental part of the work, the recommendation is to use structures which have
at least 1000 elements
In case of the recognition between tuples, the success rate was up to 95% and
the Gödel logic achieved the success rate of about 87%. Based on the results, it was
confirmed, that fuzzy logic can be used for speech recognition. Foltán focused on
the operations, which could be performed using memristors.
The learning of fuzzy logic networks with memory for the the task of lip-reading
is the title of the work written by Štefan Badura [4]. His work also deals with fuzzy
logic for the purposes of recognition. The author focuses more on the methods used
for extracting the attributes of lip-reading. For the purpose of recognition structures
(fuzzy circuits) generated by the application presented in previous Foltán’s approach
have been used. These structures were placed into a hierarchical network topology.
This topology consisted of two layers and each layer was context oriented. The first
layer extracted simple attributes like the opening of the mouth, while the second
wrap-time characteristic of input signal.
For this purpose, a memory was placed above the second layer. This basic
approach did not provide sufficient results. Therefore, the second layer was divided
into four parts for each class. Such kind of approach provided better results and it
was similar to the hidden Markov models.
2.2
Experimental methods
Real experiments are the basis for model validation. In this case, the experimental
results are obtained by measurements. Materials, fabrication process and other factors influence the behaviour of memristors. Therefore, there is the need to describe
the samples which were available. It should be mentioned that the availability of
such samples or the measurement of such samples were not a trivial thing and they
were not available at the department and home university. It was necessary to travel
to them. My first physical introduction to memristors happened at TU Ilmenau.
At this university, it was also possible to do the first measurements. After receiving
the second sample from Jülich Research Centre, it was necessary to find a suitable
place for the measurement. This was found at Slovak Academy of Sciences (SAS)
76
CHAPTER 2. SOLUTIONS SPECIFICATION AND METHODS OF
EXAMINATION
in Bratislava. In the following text, the sample from Ilmenau is labelled as TiO
sample (samples) and the sample from Jülich as TaO sample.
Terminology used in following text: a sample is the fabricated device containing
multiple structures. A single structure – memristor – contains two electrodes, namely
the bottom and the top electrode. An insulator layer is sandwiched between these
electrodes. A double structure consists of two structures which share one of the
electrodes.
2.2.1
TiO sample
2.2.1.1
Sample description
The memristor structures were patterned on thermally oxidized silicon substrates
using electron beam lithography. A titanium layer of 100 nm was deposited by
chemical vapour deposition (CVD) for the creation of the lower (bottom) nanoscale
electrode. Contact pads of 100 µm2 were structured similarly using gold and overlapping each end of the lower titanium electrode. Using rapid thermal processing
RTP at a temperature 420 °C in an oxygen ambient encased Tix Oy in thickness of
30 nm. Electrical contact to the bottom electrode was maintained by the unoxidised
titanium under the gold contacts. Upper microscale electrodes were prepared similarly to the bottom electrodes and also patterned with gold contacts [108]. Each
structure had its own bottom and top electrode as shown in the Fig. 2.1a.
Pt
TiOx
Pt
SiO2
(a) TiO double structure photo
(b) The stack of a TiO structure
Figure 2.1: The photo and stack of a TiO structure
77
2.2. EXPERIMENTAL METHODS
2.2.1.2
Measurements
The measurements at TU Ilmenau were done using Keithley 4200-SCS Parameter
Analyzer in combination with a custom semi-automatic probe station. The characterization device contained two medium power source-measuring units (SMU) and
one high power SMU module. A single SMU is able to serve either voltage or current
and measure the current and voltage at the same time.
For the measurement of a single structure two medium power SMUs were used.
One SMU served voltage and the second was used as the reference – ground and
measured the current. Three samples, which contained 82 structures together, were
available for the measurement. All of these structures were measured. It needs to
be said, that not all structures worked properly. Some of them acted as linear (Fig.
2.2a) or non-linear resistor (Fig. 2.2b) and some of them were not conductive (Fig.
2.2c). The verification of a not-working sample was done in both polarities and also
with larger voltages.
0.6
×10−4
4
3
00
1
2
3
4
Voltage [V]
5
(a) case 1
×10−15
4
Current [A]
Current [A]
Current [A]
×10−5
5
2
00
1
2
3
Voltage [V]
4
(b) case 2
2
0
-2
-4
0
1
4
2
3
Voltage [V]
5
(c) case 3
Figure 2.2: Common sample failures
2.2.2
TaO sample
2.2.2.1
Sample production
The bottom electrode was deposited by sputtering tantalum on oxidized silicon
wafers. The TaOx layer was prepared by oxidizing the Ta electrodes surface for 30
min at a temperature of 380 °C in an oxygen partial pressure of 1 mbar. Finally,
the Ir top electrode was deposited and afterwards patterned by photo lithography
followed by Ar dry etching [95]. All of the deposition steps were performed without
78
CHAPTER 2. SOLUTIONS SPECIFICATION AND METHODS OF
EXAMINATION
breaking the vacuum, preventing the layers from contamination. The structure was
stacked as follows Ta(60)/TaOx (9)/Ir(30), where the numbers in brackets indicate
the thickness in nm. The photo of a selection of this sample is shown in Fig 2.3a
and the stack is shown in Fig. 2.3b.
Ir
Ir
TaOx
TaOx
Ta
SiO2
100um
(a) TaO Top electrodes and the common electrode
(b) TaO structure stack
Figure 2.3: The photo and stack of a TaO structure
2.2.2.2
Measurements
One year after the first measurements of the TiO sample, we received the TaO
sample from the Forschungszentrum Jülich. The main differences from the TiO
sample are: heterogeneous electrodes, different materials (top electrode, bottom
electrode), different insulator layer and the fact that all samples share a common
bottom electrode. A common electrode makes the manufacture easier. The biggest
problem was to find a suitable place for the measurements. After some time we
found such place – the Institute of Electrical Engineering at Slovak Academy of
Sciences, which has the facilities to measure dies1 that contain memristors. At this
institute, the measurements were also done using the Keithley 4200-SCS Parametric
Analyzer with two medium power SMUs and one high power SMU. This device was
combined with a manual probe station system.
1
diced piece of wafer
79
2.3. SIMULATION METHODS
2.3
Simulation methods
The time window between the first measurements on TU Ilmeanu and the measurements on SAS was approximately one year. This time was spent by doing
simulations. At the beginning, I have observed and compared models described in
section 1.5. The usage of the exponential model in SPICE-like simulators often led
to failure of the simulation. Either divergence or long time simulation were present
already in simulation of two memristors. These facts led to the decision to develop a
custom memristor simulator. Our department has computers, which contain CUDA
graphics cards – namely nVidia Tesla C1060, nVidia Tesla M2090 and more powerful
computers with nVidia Kepler cards are planned in near future. One of the main
purposes of this work is to simulate networks containing multiple memristors. The
larger amount of identical devices2 leads to the utilization of SIMD architecture.
2.3.1
Simulation program
As was described in the part dealing with SPICE simulators, a circuit is represented
by a matrix – mostly sparse. The use of matrices is not a bad idea, but it has multiple
cons. There are several libraries available that enable the computing on sparse
matrices using CUDA i.e. cuSPARSE. From the SIMD point of view, it is more
natural to find one operation which would be executed on multiple data at once. In
this case, the operation could be the non-linear current equation, which is common
for all memristors in the network. Also the state variable equation, with further
integration, is common for all memristors and therefore it can be done in parallel.
This approach is not possible when calculating unknown node voltages. In case of
non-linear elements, these voltages are calculated using the iterative N-R method in
SPICE-like simulators. The sparse matrix of the system contains conductances and
many failures are caused by small entries in the matrix. It should also be mentioned,
that N-R does not guarantee the convergence.
In our case, the calculation of a node voltage can be run in a single thread.
Satisfying the KCL, the calculation of an unknown node voltage (shown in Fig. 2.4)
2
in case of identical current equation
80
CHAPTER 2. SOLUTIONS SPECIFICATION AND METHODS OF
EXAMINATION
is expressed by (2.1).
0 = i2 + i3 − i1 − i4
0 = (u5 − u2 ) · G2 + (u5 − u3 ) · G3 − (u1 − u5 ) · G1 − (u4 − u5 ) · G4
u1 · G 1 + u2 · G 2 + u3 · G 3 + u4 · G 4
,
u5 =
G1 + G2 + G3 + G4
(2.1)
where Gn is the conductance of a device attached to an unknown node, u1−4 are
node voltages, in are branch currents and u5 is the unknown voltage. In case of
non-linear elements, in is given as a function in = f (u) = f (up − um ), where up is
the voltage of a node connected to the positive terminal of the device and um is the
voltage of a node connected to the negative terminal.
u1
u2
i1
i4
i2
G
2
G1
u5
G
4
G3
i3
u4
u3
Figure 2.4: Unknown node example
The unknown voltages have to be computed numerically. The method of fixedpoint iteration has been chosen for the solution of system in terms: xm+1 = f (xm ),
what leads to the equation (2.2).
um+1
=
5
u1 · G 1 + u2 · G 2 + u3 · G 3 + u4 · G 4
G1 + G2 + G3 + G4
(2.2)
This equation has been modified from (2.2) into (2.3), which acts more stable.
um+1
= (1 − α) · um
5
5 +α·
u1 · G 1 + u2 · G 2 + u3 · G 3 + u4 · G 4
,
G1 + G2 + G3 + G4
(2.3)
where Gn are the conductances and α is a parameter from (0, 1i. This parameter
can act as the damping factor similar to the damping improvement in N-R. It should
81
2.3. SIMULATION METHODS
also be mentioned that this method does not deal with floating voltage sources. The
iteration is finished when the convergence criteria are satisfied. The criteria is given
by the KCL with a given precision; |in | < itol , where in is the sum of the branch
currents attached to the unknown node and itol is the requested tolerance.
The overall algorithm is present in Algorithm 1.
Algorithm 1: Solver algorithm
Input: CircuitDesctiption, SimulationDescription
Output: ResultFile
1 Elements = parse(CircuitDesctiption)
2 ∆t, t, IT OL , MaxIteration = parse(SimulationDescription)
3 Nodes = buildNodes(Elements, CircuitDesctiption)
4 ElNoMap = buildMap(Elements, Nodes)
5 initializeElements(Elements, Nodes)
6 time = 0
7 while time < t do
8
converded = false
9
j=2
10
while !(converged && j > MaxIteration) do
11
calculateNodeVoltage(Elements, Nodes, ElNoMap)
12
calculateCurrents(Element, Nodes)
13
if calculateKCLdeviation(ElNoMap) < IT OL then
14
converged = true
15
end
16
j=j+1
17
end
18
if !converged && damping > minDamping then
19
decreaseDamping()
20
end
21
else
22
assignFinalVoltageCurrent(Elements, Nodes)
23
ODE(Elements, ∆t)
24
end
25
time = time + ∆t
26 end
27 ResultFile = writeResults(Nodes)
82
CHAPTER 2. SOLUTIONS SPECIFICATION AND METHODS OF
EXAMINATION
2.3.1.1
Used technologies
The console simulator was programmed using C++. It uses third party libraries,
namely Boost and Thrust. Boost was used mainly for threads management, parsing
json and ini files and for logging support. During the calculation, threads are executed from a thread pool pattern. Cuda enabled GPUs are accessed via a high-level
interface available in the Cuda SDK – Thrust. A part of the UML class diagram
generated from the project is present in the appendix.
Each element in a circuit extends an abstract class. The abstract class ElementBase
contains multiple common methods and three purely virtual methods: calcI(void),
calcG() and step(void), which have to be overridden in each derived classes, e.g.
the calcI(void) method implements the current equation of a diode, memristor
etc. Similarly, the calcG(void) implements the calculation of the conductance
of an element. The third method – step(void) implements the numerical integration of an element. In case of a homogeneous circuit simulation (containing
only a single type elements), it is possible to run the calculation of the current,
conductance and the numerical integration on the GPU – for these purposes the
thrust::device_vector<T> is used.
2.3.1.2
User interface
The current version of the simulator has a command line interface. In the following
text the program options and the files which are needed for the run of a simulation
are described. Tab. 2.1 shows the available program options (options denoted with
an asterisk are required).
option option long
-i
–input
-s
–sources
-o
–output
-t
–threads
-g
–executor-gpu
-l
–log-level
-h
–help
description
input file which describes the circuit *
input file which contains the values of sources*
output file, where all voltages are stored*
number of threads in the simulation
selector if the simulation should run on a Cuda device
selector for the logging level
prints the program options
Table 2.1: Simulator options overview
83
2.3. SIMULATION METHODS
The input file is given in the json-like format. In the following text, a diode
circuit (shown in the Fig. 2.5) is presented. Such circuit would be represented as
follows:
{"netlist": {
"settings":{"dt": 2E-6},
"elements":[
{"id":"D1","type":"D","P":3,"M":1},{"id":"D2","type":"D","P":3,"M":2},
{"id":"D3","type":"D","P":4,"M":5},{"id":"D4","type":"D","P":6,"M":5},
{"id":"D5","type":"D","P":7,"M":3},{"id":"D6","type":"D","P":7,"M":5},
{"id":"V1","type":"V","P":1,"M":0},{"id":"V2","type":"V","P":2,"M":0},
{"id":"V3","type":"V","P":4,"M":0},{"id":"V4","type":"V","P":6,"M":0}
]}
}
Supported types of elements are D for a diode, M for a memristor (exponential model),
R for a resistor and V for a voltage source. The mapping of the voltage sources to the
specified inputs is given by their order.
The sources (-s) should be formatted in csv format, in which each column represents a
single voltage source. Each row represents the actual voltages in given transient step. The
outputs specified with the -o option also generate a csv file, where each column represents
the node voltage at given time according to the time step (dt option). The simulation runs
on the Cuda device only if the option (-g) is set to true and the circuit is homogeneous
(excepting voltage sources).
The parameters of built-in devices and the parameters of the simulation are specified
in the Constants.ini file.
2.3.2
Comparison of the method to SPICE
The circuit shown in Fig. 2.5 was chosen for a comparison. Three node voltages (ux , uy
and uz ) are unknown and uz is dependent on ux and uy . In this example, 10 iteration
steps have been performed – mainly to show the difference in precision. Most SPICE-like
simulators do not verify if the KCL is satisfied [60]. The tolerances irel and iabs , used by
SPICE are used only to determine the convergence of N-R iteration and have no impact
on the KCL satisfaction.
84
CHAPTER 2. SOLUTIONS SPECIFICATION AND METHODS OF
EXAMINATION
The currents in are given by the Shockley diode equation (1.71). Parameters used in
the simulation of the diodes model are the following: η = 1, VT = 25.85 mV, Isat = 10 pA
and vd is given as vanode −vcathode . Voltage sources v1 , v2 , v3 and v4 are serving a sinusoidal
voltage vn = sin(2 · π · fn ), where f1 = 1 Hz, f2 = 2 Hz, f3 = 3 Hz and f4 = 4 Hz. The
simulation time is 0.5 s and in both cases, the number of simulated points is set to 230.
i5
i1
i6
uz
i2
i3
i4
uy
ux
v1
v2
v3
v4
Figure 2.5: Circuit example used for the comparison
In the previously described method, the branch currents are calculated via the nonlinear current equation in = fi (u) and the conductances are calculated by gn = in /u.
In Fig. 2.6a the input voltages (dotted) and the unknown voltages (solid) generated
by LTspice are present. In Fig. 2.6b, the absolute valued KCL equations are shown:
KCLux = |i1 + i2 − i5 |
KCLuy = | − i3 − i4 − i6 |
KCLuz = |i5 + i6 |
10−11
v1
ux
v2
v3
v4
uy
uz
0
-1
0
0.1
0.2
0.3
Time [s]
0.4
KCLux
KCLuy
10−12
Current [A]
Voltage [V]
1
KCLuz
10−13
10−14
10−15
10−160
0.5
(a) Input and output voltages
0.1
0.2
0.3
Time [s]
0.4
0.5
(b) KCL for unknown nodes
Figure 2.6: LTspice simulation
85
2.3. SIMULATION METHODS
The simulated voltages are presented in Fig. 2.7a. In this case the number of inner loop
iteration has been set to 10 and the absolute valued KCL equations are presented in Fig.
2.7b. The y axes in Fig. 2.7b and Fig. 2.6b are in logarithmic scale. There are two reasons
10−11
v1
ux
v2
v3
v4
uy
uz
0
-1
0
0.1
0.2
0.3
Time [s]
0.4
KCLux
KCLuy
KCLuz
10−12
Current [A]
Voltage [V]
1
10−13
10−14
10−15
10−160
0.5
(a) Input and output voltages
0.1
0.2
0.3
Time [s]
0.4
0.5
(b) KCL for unknown nodes
Figure 2.7: Developed simulator 10 iterations
why a diode circuit was chosen in this example. The first reason is, that such amount of
memristors could not be simulated using LTspice. The second reason is the similarity of
the current equation to multiple non-linear memristor models. The Fig. 2.6b and 2.7b
show a very similar solution. It should be mentioned that the KCL currents shown in Fig.
2.7b and Fig. 2.6b are in the same order as the branch currents in the circuit. Therefore,
the solution is insufficient. By using a higher count of iterations in developed simulator,
i.e. 50 (instead of 10), the KCL error is at most points less than 10−19 . This result is
presented in Fig. 2.8. makeanoter
10−19
v1
ux
v2
v3
v4
uy
uz
0
-1
0
0.1
0.2
0.3
Time [s]
0.4
Current [A]
Voltage [V]
1
10
KCLux
KCLuy
KCLuz
−20
10−21
10−22
10−230
0.5
0.1
0.2
0.3
Time [s]
0.4
0.5
(b) KCL for unknown nodes
(a) Input and output voltages
Figure 2.8: Developed simulator 50 iterations
86
2.3.3
ODE comparison
Another significant feature, when simulating dynamical elements is the numerical solution of ODEs. Before an ODE method was implemented into the developed simulator,
we compared the selected methods. A comparison of selected ODE methods theoretically
described in section 1.6.1 is present here. The implicit Euler (BE), explicit Euler (FE),
trapezoidal (TR) and the 4th order Runge-Kutta (RK) methods are compared to the analytical (AN) solution (2.4) of the state variable function present in (1.39). This comparison
is shown in Fig. 2.9. The parameters for the state variable equation are following: a = 9,
b = 10, g(w) is a Jogklekar-type window with p = 1. Parameter p and a constant voltage
of magnitude 1 V were chosen for the simplification of the analytical solution.
w(t) =
State variable
0.8
0.6
0.4
0.2
0
0
1
(2.4)
+1
1
AN
FE
BE
TR
RK
State variable
1
1
999
exp(36·t·sinh(10·1))
2
Time [s]
3
0.75
0.5
0.25
0
0
4
×10−5
(a) ∆t = 5 × 10−6
AN
FE
BE
TR
RK
1
2
Time [s]
3
4
×10−5
(b) ∆t = 2 × 10−6
Figure 2.9: ODE comparison on the state variable equation
The usage of an insufficient method like the implicit Euler, used e.g. in [61], can lead to
incorrect results. Therefore higher order methods should be used. In our case the implicit
4th -order Runge-Kutta method was implemented. The solving for the state variable for
each memristor in a circuit also leads to the usage of SIMD architecture.
.
87
2.3. SIMULATION METHODS
88
Chapter 3
Achieved results
3.1
3.1.1
Measurements
TiO sample
To determine which structure works properly, a basic measurement was done on all structures. One SMU served a dual voltage sweep in the positive and in the negative part,
while the another was grounded and measured current. If a pinched hysteresis loop was
obtained, by plotting the dependence between input voltage and measured current, then
the structure was good. On some samples, the pinched hysteresis loop was not reproducible – it was obtained only in the first measurement and in the subsequent measurements, the structure acted as shown in Fig. 2.2. Raw data can be found in the folder
Measurements/Ilmenau/MEM_n/, where MEM_n denotes the sample and its sub folders
corresponds to the structures, on the attached CD, which is a part of the Appendix C. The
measurements present in Single structures were done on the sample MEM_6, structure
2-8 and other structures had very similar characteristics.
3.1.1.1
Single structures
As written in previous text, each structure was characterized by its hysteresis loop. A
reproducible hysteresis loop of the TiO structure is shown in the Fig. 3.1a. Corresponding
to the Fig. 3.1a is Fig. 3.1b, where we can see the time dependence of the same five
measurements.
89
3.1. MEASUREMENTS
0.5
0
-0.5
-1
-5
-2.5
0
2.5
Voltage [V]
2.5
0
1
0.5
0
-2.5
-5
0
5
1.5
Vi
I1
I2
I3
I4
I5
Current [nA]
1
5
I1
I2
I3
I4
I5
Voltage [V]
Current [nA]
1.5
-0.5
50
100
150
Time [s]
200
-1
(b) Time dependence
(a) Pinched hysteresis loop
Figure 3.1: Characteristics of the MEM_6 2-8 sample
For determination of the switching dynamics and the RR we used measurements described in following text. The square wave was obtained by combining multiple voltage
biases and each bias contained 500 measurement points. The result of this measurement
is shown in Fig. 3.2a and in Fig. 3.2b, where the electrodes are switched.
SET process – While switching from the HRS into LRS, the current magnitude has always risen, even if the voltage was constant for cca. 500 s. Therefore it was not possible
to get the memristor into a steady state in the LRS regime.
RESET process – The switching from LRS into HRS was much faster and the HRS
seems to be steady (only small changes are present). In this switching state it is possible
to calculate the energy which is needed to switch the structure – 617 µJ. In both switching
polarities it was discovered, that a memory was present. While switching from the LRS
into HRS (and vice versa) the structure remembered the last magnitude of the current and
in the next measurement it continued with the same amplitude but with inverse sign.
0
Voltage [V]
0.05
0
-0.05
-2.5
-5
0
Current [µA]
Voltage [V]
0.1
2.5
-0.1
500
1000 1500
Time [s]
0.1
5
2.5
0
-2.5
-5
0
-0.15
2000
0
500
1000 1500
Time [s]
(b) PM
(a) MP
Figure 3.2: Square wave input on TiO structure
90
Current [µA]
0.15
5
-0.1
2000
CHAPTER 3. ACHIEVED RESULTS
The resistance ratio of about 3.5 was obtained using the square wave. This was calculated from the previously measured values from the positive and the negative part. The
continuous growth of the current opened a discussion if the pinched hysteresis loop obtained from a voltage sweep is from a steady state. This led to the decision to make other
measurements, namely using the modified staircase function. This function is shown in
Fig. 3.3a with the measured current. Each voltage step contained 200 measurements and
the measurement was running more than four hours.
Taking the first and the last value from each step, it was possible to construct a V-I.
The first measured value of each step was considered as a LRS and the last value as a
2.5
15
0
0
-2.5
-5
0
Current [nA]
30
Voltage [V]
5
Current [nA]
HRS. The obtained hysteresis loop is shown in Fig. 3.3b.
-15
4000
8000 12000
Time [s]
LRS
HRS
5
0
-5
-5
-30
16000
(a) The time dependence
-2.5
0
2.5
Voltage [V]
5
(b) V-I characteristic
Figure 3.3: Modified staircase function on TiO structure
3.1.1.2
Double structures
The resistance ratio was discussed in previous text. Even though all structures had small
RR, the measurements on double structures were also done. A photo of a double structure
is shown in Fig. 2.1a. The measuring device was configured as follows:
• SMU1 – medium power – served a constant voltage (9 V ) on the top electrode A
• SMU2 – medium power – served a constant voltage (4 V ) on the top electrode B
• SMU3 – high power – served a constant current (0 A) on the common bottom
electrode and measured the voltage.
The measurement presented in the following text contained more than 2.8×105 samples
and each measured point took 0.7 s. The measurement was not interrupted, because the
91
3.1. MEASUREMENTS
resistance of M1 had been falling, the whole time and the resistance of M2 had been rising
– as shown in Fig. 3.4b. Here again, the small RR partake on the output voltage. Served
voltages and the output voltage are shown in Fig. 3.4a. The inset in Fig 3.4a shows how
the SMUs were placed according to the sample photo, while the inset in Fig. 3.4b shows
8
SMU1
6
SMU3
4
SMU1SMU2
SMU2
2
A
B
SMU3
0
100 101 102 103 104 105 106
Samples (log scale)
(a) Input and output voltages
Resistance [kΩ]
Voltage [V]
the corresponding scheme.
16
M1
14
M2
12
10
8
M2
M1
V1 - SMU1
6
V2 - SMU2
4
V2
V1
V3
2
V3 - SMU3
0
100 101 102 103 104 105 106
Samples (log scale)
(b) Resistances of both structures
Figure 3.4: TiO double structure measurement
It has to be said, that these structures were not as good as expected. Common problems
for these structures were: the rising current when serving a constant voltage, very high
resistances and small RR. However this was the first experience with real MIM structures
and these were the first available samples containing also double structures. By doing all
the measurements I have gained skills not only with measurement of such devices, but also
with the identification of failures and data processing. Two possible causes, that affected
the results are: the thick TiO layer and high temperatures used in the oxidation process.
The other causes could be that both electrodes were made from Pt or that the sandwiched
layer was only a homogeneous concept. The direction of the filament growth in this case
cannot be determined (unlike when heterogeneous materials are used).
3.1.2
TaO sample
3.1.2.1
Single structures
Once again, the basic measurement which was done was a dual voltage sweep. As opposed
to the TiO structures, the TaO structures had to be electroformed. The electroforming
process was done by serving a negative voltage sweep, while the current compliance (CC)
92
CHAPTER 3. ACHIEVED RESULTS
was set to 10 µA. In Fig. 3.5a, a typical V-I characteristic of a TaO structure is shown
with the initial electroforming process in log scale, while the inset shows linear scale.
Corresponding to this figure, the time dependence of this measurement is shown in Fig.
measured
forming
10−6
5
10−8
mA
Current [A]
10−4
10−10
10−12
0
-5
-5
-4
-2
0
2
Voltage [V]
0
Voltage [V]
10−2
5
4
6
6
4
4
2
2
0
0
-2
-2
-4
0
6
(a) Pinched hysteresis loop
10
20
Time [s]
30
Current [mA]
3.5b.
-4
40
(b) Time dependence
Figure 3.5: Characteristics of the TaO sample
Repeating this measurement reveals, that the LRS and the HRS states are more stable
than in the TiO sample, but the SET location moves. Also, the switching voltage can
be directly determined from the V-I characteristic in Fig. 3.5a. The switching location
depends on the polarity.
Set process – In case of polarity shown in Fig. 3.5a as inset, the SET occurs at −2 V .
Reset process – By the switching from LRS into HRS, it was observed that the amplitude,
at which the structure resets is dependent on the amplitude, which was served in the
previous SET process. This property has not been discussed in the literature and is shown
in Fig. 3.6.
Good stability of these structures and the high resistance ratio led to a higher variety
of measurements, presented in following text.
Pulse measurement The switching of these structures was so fast, that the SET or
RESET process could not be captured using SMUs (in this case a PMU would be needed).
For the purposes of determination the RR and durability the following measurement was
repeated 1024 times:
1. Reset by applying Vr = 6 V, measure current Ir
2. Read the state by Vrr = 0.2 V, measure current Irr
93
3.1. MEASUREMENTS
10−2
Current [A]
10−4
SET
SET
SET
SET
SET
10−6
10−8
10−10
10−12
-4
-2
0
2
Voltage [V]
4
-4 V
-3.5V
-3V
-2.5V
-2V
6
Figure 3.6: RESET location dependence on the SET
3. Set by applying Vs = −4 V, measure current Is
4. Read the state by Vrs = 0.2 V, measure current Irs
Together, 4096 data points were obtained and the measurement took about 400 s. The
measured currents are shown in Fig. 3.7a. The RR can be directly obtained from the
measured currents (3.1). The arithmetic mean of RR is 122.
RR =
ROF F
Irs
Vrr /Irr
=
=
RON
Vrs /Irs
Irr
(3.1)
This measurement was also repeated on another structure for 100 000 times – to determine the durability. This measurement took about six hours. By repeating the previously
described procedure, the structure worked correctly for about 28 000 times, before a damage occurred. This measurement is present in the Fig. 3.7b.
3.1.2.2
Double structures
The first measurements on double structures often failed. This was caused by the relatively
high current in the LRS in combination with high voltage, which was needed to switch both
structures. The next attempt was similar to the measurements done on TiO – serving of
a constant voltage – but this would not catch the switching of both structures. Therefore
we made the decision to switch both structures using a voltage sweep. Before the sweep
was applied, the structures were configured so that the RESET occurs at voltage which is
as low as possible. Practically, while doing the initial SET and RESET on the structures
independently the measurement was interrupted right after the switching occurred.
94
CHAPTER 3. ACHIEVED RESULTS
10−2
10
Ir
|Is |
Irr
Irs
−3
10−4
10−5
Current [A]
Current [A]
10−2
10−3
Ir
10−4
|Is |
10
−5
10
−6
10
Irr
Irs
−7
10−8
10−60
100
200
300
Time [s]
10−9 0
10
400
101
102
103
104
Time [s] (log scale)
(a) Short pulse measurement on the TaO (b) Long pulse measurement on the TaO
sample
sample
Figure 3.7: Pulse measurements on the TaO sample
The measurement configuration of the double structures was as follows: The SMU1
served a voltage, measured current and was connected to the top electrode of M1 . The
SMU2 served a voltage, measured current and was connected to the top electrode of M2
and the SMU3 was configured to serve constant current (0 A)1 , measure the output voltage
and was connected to the common bottom electrode. The measurement procedure:
1. initial configuration of M1 and M2 (LRS and HRS)
2. verification of the initial states (SMU1: 0.5 V, SMU2: −0.5 V, SMU3: measure
output)
3. switching of both structures (SMU1: voltage sweep 0.5 → 4 → 0.5, SMU2: 0 V,
SMU3 measured output voltage)
4. verification of the minimum (SMU1: 0.5 V, SMU2: −0.5 V, SMU3: measure output)
Schematically, the configuration is similar to the Fig. 1.31a, where v1 is SMU1, v2 is SMU2
and vo is SMU3.
At the beginning of the measurement (M1 – LRS, M2 – HRS), the maximum is present
at the output. The applied voltage sweep first switches the M2 into LRS, so the circuit
acts as a voltage divider, because both structures are in LRS. Continuing serving higher
voltage switches the M1 into HRS. The backward sweep has no impact on the switching.
After these structures are in HRS and LRS, the minimum is present at the output. This
procedure is shown in Fig. 3.8. The output voltage also contains a marker to show, that
1
while the SMU is configured as a volt meter (0 A source) the input resistance is 1 TΩ
95
3.1. MEASUREMENTS
the switching is so fast that no points were obtained in the switching regime. Also, it has
to be said again, that the minimum is highly dependent on the resistance ratio and because
the TaO structures have a varying RR can be the best results obtained by serving small
voltages, e.g. 0.5 V. This is the first minimum implemented and measured on memristors.
4
SMU1 (v1 )
SMU2 (v2 )
SMU3 (vo )
Voltage [V]
3
2
1
0
0
10
20
Time [s]
30
40
Figure 3.8: Minimum measurement on the TaO sample
It should be mentioned, that minimum circuit was also presented as a complementary
resistive switch in [74]. Therefore the V-I characteristic of a minimum is the same as for a
CRS (Fig. 3.9b). The CRS was proposed as the solution of sneak-path currents through
neighboring cells within a passive crossbar array. The problem of the simulation of a single
CRS was described in [75] and [73]. Additionally, a CRS measurement is present in Fig.
3.9a and Fig. 3.9b.
1
3
1
0
−1
5
−2
-4
4
-2
0
2
Voltage [V] (V1 )
4
2
2
1
0
0
-2
-1
-4
0
4
20
40
Time [s]
60
Current [mA]
2
Voltage [V]
Current [mA] (IM 1 )
2
V1
V2
V3
IM 1
IM 2
-2
(b) Time dependence
(a) Measured V-I characteristic of a CRS
Figure 3.9: Complementary resistive switch [74]
The switching process in case of the CRS (according to the steps shown in Fig. 3.9a)
is as follows:
96
CHAPTER 3. ACHIEVED RESULTS
1. The structures are initially switched into LRS – M1 and HRS – M2 .
2. When the input voltage v1 reaches the threshold voltage VT 1 ≈ 1.8 V, the structure
M2 switches into LRS (SET process occurs) and the circuit acts as a voltage divider
3. When the input voltage reaches threshold voltage VT 2 ≈ 2.9 V, structure M1 switches
into HRS. Sweeping the voltage from 4 V down to −1.74 V has no impact on the
behaviour
4. At −1.75 V (threshold VT 3 ) M1 switches back into LRS and again the circuit acts
as a voltage divider.
5. When −2.8 V (threshold VT 4 ) is reached, M2 switches into HRS and now are both
structures in the initial configuration
3.1.3
Single V-I double structures
No mathematical model is able to describe all the possible structures and here is the
leakage of the models. The higher the amount of measured devices, the higher the number
of equations needed to fit these measurements. From the V-I characteristic it is possible
to determine which structures are suitable for the min and max operations. The deeper
the fall after the second switch, the better the results. Only few papers show results with
the min or max configuration. This fact led to the decision to develop a method for the
determination of the V-I characteristic from the V-I of a single device measurement.
The principe of this method is that the current magnitude flowing through M1 is the
same as the magnitude of the current flowing through M2 . The only difference is that one
of them has an opposite sign2 . Based on this assumption, it is possible to serve the current
as the input. The algorithm is described in the following text.
1. Data preparation: is the first step in the procedure. In this case, the measured
data need to be divided:
• The HRS at the negative voltage – M2H
• The LRS at the negative voltage – M2L
• The LRS at the positive voltage – M1L
• The HRS at the positive voltage – M1H
2
In case when the vb is grounded – 0 V
97
3.1. MEASUREMENTS
For each sub-state a part should exist. The negative parts (HRS and LRS) are used
for modelling the M2 , while the positive parts are used for M1 . If only a small
amount of data is available, then the data may be interpolated, so that for each
current in any chosen step the corresponding voltage is available.
2. Serving the current (part 1): In this case the current is served from 0 A up
to the last value M2H, where M2 structure switches into LRS. In this step M1L and
M2H data are used. The absolute value of the voltage obtained from M2H represents
the voltage drop on M2 and the voltage obtained from M1L represents the drop on
M1 . The sum of absolute values of these voltages is the value of the input voltage.
3. Switching part 1: When the current reaches the last value of M2H, M2 is switched
into LRS. In case of the TaO sample, the voltage is constant in the switching region.
If we followed the procedure in previous part, the voltage would grow. Therefore we
have to find such a current, where the sum of the voltage drops is equal to the last
voltage in the previous procedure. The search is done on the M1L and M2L data.
4. Serving the current (part 2): The current found at the end of previous procedure is used as the initial value for this step. The last value used in this step is the
switching location of structure M1 , when the structure switches into LRS. Similar
to the part 1 a current sweep is served until M1 switches into HRS. This procedure
is don on M1L and M2L data.
5. Switching part 2: Similar to the switching part 1, when the current reaches the
the last value of M1L, the structure M1 switches into HRS. Based on the assumption
that the voltage has to stay constant, the last voltage value is found in the M1H and
M2L data.
6. Serving current (part 3): After the second switch, the rise of the current from
the last value of the previous step continues. After the last data value on M1H is
reached, it is possible to serve the current in the opposite direction. The current
falls down to the smallest value on M1H and M2L data.
The procedure described above has been verified on two samples. The first sample is the
TaO, which does not contain a sub-state and the result is shown in Fig. 3.10a. The result
of the modelling is shown in the Fig. 3.10b. The second sample, on which the procedure
was tested, is a hafnium sample which was available from SAS. The hafnium sample was
stacked as follows: Gold with Platinum as the top electrode, Hafnium Oxide layer (4 nm)
98
CHAPTER 3. ACHIEVED RESULTS
as an insulator and the bottom electrode Titanium Nitride with Silicon as the bottom
electrode (Au+Pt)/HfO2/(TiN+Si). The results for the hafnium sample are shown in Fig.
3.11. Using this method, it is possible to obtain the V-I characteristic of a double structure
from a single V-I characteristic. This method also allows a combination of various samples
and structures.
10−2
1.2
10−6
Current [mA]
Current [A]
10−4
M1L
M1H
M2H
M2L
10−8
10−10
10−12-2
0.8
0.4
0
0
-1
0
1
2
3
Voltage [V]
(a) Data used for the modeling
1
2
3
Voltage [V]
4
(b) Obtained V-I from the data
Figure 3.10: Modelling the behaviour of TaO double structure
6
Current [mA]
5
4
modelled
measured
3
2
1
0
0
0.5
1 1.5 2
Voltage [V]
2.5
3
Figure 3.11: Modelling the behaviour of HfO double structure
3.2
Modelling of a single memristor
In this section, we present the results of fitting model parameters according real TiO and
TaO devices. While for TiO structures multiple models are available (linear, non-linear
etc.), for TaO structure only one model was published with a limited region of operation.
99
3.2. MODELLING OF A SINGLE MEMRISTOR
3.2.1
Fitting
By observing the measured characteristics on TiO sample, it is clear that both states (LRS
and HRS) are highly non-linear. The unstable simulations of the Simmons tunnel barrier
led to the decision to use the exponential memristor model. The model itself contains
multiple fitting parameters. By tuning these parameters, it is possible to influence the
dynamics as well as the static parameters3 . For the purpose of fitting the model, a simple
GUI , which allows modification of all parameters used in the model was developed. Data
used for the fitting were obtained for the modified staircase function shown in Fig. 3.3a.
Using the application and the selected model, it was possible to find such parameters which
describe the pinched hysteresis loop sufficiently. The result of this fitting is shown in Fig.
3.12. The fitted parameters are as follows: α = 1.4, β = 13.4, χ = 1.4, γ = 1.5, n = 0.6,
a = 1.25, b = 2.4.
Current [nA]
10
5
Measured
Model
0
-5
-5
-2.5
0
2.5
Voltage [V]
5
Figure 3.12: Fitting TiO with the exponential model
Based on the results of fitting and the fact that the exponential model was able to fit
our measurements and the measurements present in [113] this model was chosen also in
further simulations. Here, the current equation (3.2) and the state variable equation (3.3)
of the exponential model are repeated.
i(t) = wn · β sinh(α · v) + χ · (exp(γ · v) − 1)
dw(t)
= a · sinh(b · v) · g(w)
dt
3
(3.2)
(3.3)
dynamic parameters are included in the state variable equation and the static parameters are
included in the current equation
100
CHAPTER 3. ACHIEVED RESULTS
Since multiple memristors circuits require better performance (mainly the RR) than
the measured device, the following parameters: α = 6, β = 9, χ = 0.01, γ = 4, n = 4,
a = 9, b = 10 were used in next simulations. The parameter which multiplies the current
equation (present in [66]) was set to s = 10−6 . In this part, we present properties which
were not described in the overview. The SET occurs in a positive voltage, while RESET
is present in the negative part. The switching is in clockwise direction. The pinched
hysteresis loop for a voltage sweep is present in the Fig. 3.13a (inset in log. scale), and
the current dependence on the input voltage and the state variable is shown in Fig. 3.13b.
Roughly said, the variability of this model makes it universal – in case when both states
show a non-linear function.
15
10
5
10−2
Current [A]
Current [mA]
20
10−4
10−6
10−8
-1.5
0
0
1.5
0.03
0.02
0.01
0
-0.01
-0.02
-0.03
1
0.5
-5
-1.5
-1
0
Voltage [V]
-0.5
0.5
1
State variable
1.5
0 −1, 5
−0.75
0
0.75
1,5
Voltage [V]
(a) Exponential model pinched hysteresis (b) Current dependence on voltage and state
variable
loop
Figure 3.13: Properties of the used model in next simulations
The TaO model could not fit the measured characteristics. This is due to the higher
switching voltages of our sample. Such region was not assumed in the TaO model. Based
on the fact that no dynamic measurements were done on the TaO sample, a decision was
made to fit the measured characteristics statically – with only a conditional state variable,
which takes only values 1 or 0. The first part of the measured characteristic is the LRS.
This state shows a purely linear (Ohmic) behaviour, and it is easy to determine the slope.
This slope is equal to the resistance which is equal for whole LRS state: 1.33 kΩ i.e. 750 µS.
The second part is the HRS. From the Fig. 3.5a it is obvious that this part is non-linear
and asymmetric. In case of LRS the state variable is equal to 1 and in case of HRS the
state variable is equal to 0. This leads to the formulation of the current equation (3.4).
i = w · G · v + (1 − w) · fHRS (v);
101
(3.4)
3.2. MODELLING OF A SINGLE MEMRISTOR
For a negative voltage the fHRS (v) is given by (3.5). For a positive voltage the fHRS (v)
is given as a piecewise function (3.6).
fHRSN (v) = −1.6375 × 10−7 · (1 − 0.14135v )
−2.19826 × 10−8 · (1 − 66.51893v ), (v < 2.17)
fHRSP 1 (v) =
fHRSP 2 (v) = −0.00139 + 5.59611 × 10−4 · exp(0.46714 · v), (v >= 2.17)
(3.5)
(3.6)
The result of these equations with the comparison against the measured characteristic
is shown in Fig. 3.14.
Current [mA]
2
1
Fitted
Measured
0
−1
-2
-1
0
1
2
Voltage [V]
3
4
Figure 3.14: Fitting TaO measured sample
102
CHAPTER 3. ACHIEVED RESULTS
3.3
Multiple memristors
It was mentioned that for the best implementation of minimum and maximum functions,
the RR should be as large as possible. Another requirement is that the ratio is not varying
with the voltage. In the TiO sample, the ratio is so small that a minimum was not achieved,
while in the TaO sample it was reached but only in a small interval of the input voltages.
In further simulations the exponential memristor model is used.
3.3.1
Minimum and maximum functions
The simulation of the minimum (the circuits shown in Fig. 1.31a) using the exponential
model is shown in Fig. 3.15a. In this case, the voltage source v1 served a voltage sweep
and v2 was grounded. The state variable w1 of M1 was initialized close to 1 and the state
variable w2 of memristor M2 was initialized close to 0 (bounds for the state variable were
introduced to eliminate the consequences of the impact of numerical errors in paper [64].
Bounding by the interval h0, 1i was purposed in [11]. The Fig. 3.15b shows the changes in
the state variables and the memristances.
The behaviour in this simulation is similar to the measurement of the double structures.
At the beginning of the simulation, M1 is in LRS and M2 in the HRS state. After the
input voltage reaches about 0.75 V, the M1 switches into HRS and for a short time both
memristors are in HRS state. This behaviour causes that the circuit acts as a voltage
divider. The risen input voltage switches the M2 into LRS and the minimum is present
at the output. The large resistance ratio causes, that almost the entire input voltage is
dropped on the M1 , while only a small proportion is dropped on the M2 . The second part of
the simulation (starting from 0.05 s up to the end) demonstrates the commutative property
of the minimum function implemented using memristors vo = min(v1 , v2 ) = min(v2 , v1 ).
Similar to the minimum, a maximum function simulation is present in the Fig. 3.16a
according to the scheme shown in Fig. 1.31b. Both functions, implemented using memristors, have the same V-I characteristic, which is shown in Fig. 3.16b.
3.3.1.1
Multiple inputs
The minimum and maximum functions were until now presented only as two-inputs functions (vo = min(v1 , v2 ) = min(v2 , v1 )). Using the principe of antipodal connection of
multiple memristors, it is possible to create a multiple-inputs minimum and maximum
functions (vo = min(v1 , v2 . . . vn )). Similar to the simulation of two inputs minimum and
103
3.3. MULTIPLE MEMRISTORS
1
1
0
109
0.5
w1
w2
-1
-2
0
0
0
25
50
75
Time [ms]
100
0.05 0.1
Time [s]
Memristance [Ω]
V1
V2
Vo
State variable
Voltage [V]
2
108
107
10
M1
M2
6
105
104
1030
0.05 0.1
Time [s]
(b) State variables and memristances
(a) Input and output voltages
Figure 3.15: Minimum simulation using the exponential model
0.15
V1
V2
Vo
1
0.1
Current [mA]
Voltage [V]
2
0
0
-0.05
-1
-2
0
0.05
-0.1
25
50
75
Time [ms]
-0.15
−2
100
−1
0
1
Voltage [V]
2
(a) Maximum function when serving a volt- (b) The common V-I characteristic for miniage sweep
mum and maximum function
Figure 3.16: Simulation of the maximum function
maximum, in this simulation we used the opposite states at the beginning (w1 ≈ 0, w2 ≈ 1,
w3 ≈ 1). The circuit scheme is shown in Fig. 3.18. In case when the voltages differ only by
1 V, as shown in Fig. 3.17a an oscillating behaviour is present. It should be noted that this
is not caused by some kind of numerical error. The inset of Fig. 3.17a shows that multiple
points are present in the oscillating region (∆t was set to 10−6 s in the simulation). In
Fig. 3.17b we see the convergence of two points in the oscillating region – it shows that
the output voltage converges. The last value from the iteration is stored and used as the
initialization for the next iteration. The deviation from the KCL at the output node was
3 × 10−10 A in the first iteration and −4 × 10−16 A in the second. The relative deviation
was 1.8 × 10−7 and 3.7 × 10−14 .
104
CHAPTER 3. ACHIEVED RESULTS
3
Voltage [V]
2.5
Voltage [V]
1.8
v1
v2
v3
vo
2
1.5
1.7
t = 15 × 10−7
t = 16 × 10−7
1.6
1.5
1
0
0.5
Time [ms]
1
0
(a) The minimum function for three inputs
10
20
30
40
Interation number
50
(b) Verification of the convergence
Figure 3.17: Simulation of three inputs (1, 2, 3) minimum function
M1
M2
vo
M3
v1
replacemen
v2
R
v3
Figure 3.18: Three inputs minimum scheme
The previously described oscillation is not present in case when the served voltages
difference between v2 and v3 is more than 1 V. The state variables w1 and w3 of memristors
M1 and M3 are switched right at the beginning, while the w2 is being switched continuously
– Fig. 3.19b. The voltages are shown in Fig. 3.19a.
1
v1
v2
v3
vo
3
State variable
Voltage [V]
4
2
1
0
0.5
1
1.5
Time [ms]
w1
w2
w3
0.5
0
0
2
(a) The minimum function for three inputs
0.5
1
1.5
Time [ms]
(b) State variables of three memristors
Figure 3.19: Simulation of three inputs (1, 2, 4) minimum function
105
2
3.3. MULTIPLE MEMRISTORS
3.3.2
Memristor based comparator
The combination of previously described fuzzy logic functions led us to put these operations
into one building block, called comparator. A memristor based comparator has two inputs –
A, B and two outputs – P, M. A single comparator contains four memristors. Two memristors
implement the minimum function (M = min(A, B)) and two memristors implement the
maximum function (P = max(A, B)). The proposed circuit diagram of a comparator is
shown in Fig. 3.20.
A
P
B
M
Figure 3.20: Memristor based comparator circuit
For the simulation of a comparator-based circuit the input file should have the following
format:
{ "sorter": {
"settings":{ "dt": 1E-6 },
"elements":[
{"id":1, "A":1.1, "B":2.1, "P":1.1, "M":2.1, "MN": "A", "MX": "B"}
]}
}
This file describes one comparator. A, B represent the inputs for the comparator. The
floating point number in the case of A or B represents a voltage source (input voltage).
The integer part of the floating number represents the index of the voltage source in the
sources file. P and M of a comparator correspond to the outputs (max, min). In this
case, the floating point number denotes an output. Optionally, each comparator can be
pre-configured. MN means that the minimum of the input voltages will be present on the A
terminal, while the maximum (MX) is present on the B terminal. If the voltage connected to
A is bigger than the voltage connected to B, all memristors have to switch into the opposite
state. On the other hand, if the voltage connected to A would be smaller than B, the proper
voltage values would be present at the output right after connecting the inputs. In case
no selectors are available, the memristor state variables are initialized to the default state
(e.g. 0.5) defined in the Constants.ini file.
106
CHAPTER 3. ACHIEVED RESULTS
The most common behaviour of the comparator is shown in following figures. The
case, when the memristors were configured to the opposite states is shown in the Fig.
3.21a. All four memristors are switching continuously. The Fig. 3.21b shows the case,
when the memristors were initially configured properly. There is no need to switch and
correct functions are present at the output immediately. In case, when the memristors
have to switch (so that the minimum or maximum function is present at the output), for
different inputs is shown in Fig. 3.22. This figure describes the dynamical behaviour and
it is obvious, that for larger difference (∆V ) between input voltages, is less time required
than for smaller difference. The behaviour of the comparator for different inputs is shown
in Fig. 3.23, Fig. 3.23a shows the P output and Fig. 3.23b shows the M output.
2
gnd
gnd
A
A
Voltage [V]
Voltage [V]
2
B
1
P
B
1
P
M
0
0
0.5
1
1.5
Time [ms]
M
0
0
2
(a) Improper initial configuration
0.5
1
1.5
Time [ms]
2
(b) Proper initial configuration
Figure 3.21: Memristor based comparator behaviour
Time [s] (log scale)
102
100
10−2
10−4
10−6
10−8
10−100
1
2
3
Voltage [V]
4
Figure 3.22: Dynamics of the comparator
3.3.3
Argmin and Argmax simulation
It was discovered that the comparator implements also the argmin and argmax functions.
The implementation of the invertible gate has two conditions. The first condition for a
107
3
2
1
0
-1
-2
-3
4
M
P
3.4. SORTING CIRCUITS
2
0
B
-2
-4 -4
0
-2
2
4
3
2
1
0
-1
-2
-3
4
2
0
-2
B
A
(a) P output
-4 -4
0
-2
2
4
A
(b) M output
Figure 3.23: Behaviour of a comparator for different inputs
reversible device is that in any deterministic device it is possible to retrieve the inputs
and the outputs. The second condition is that the device can actually run backwards
– physically. Assuming that the minimum or maximum is implemented successfully, the
output voltage belongs to the set of the input voltages. The main problem is, where the
voltage, which appeared on the output, was served. Since memristors are able to operate
also in the reverse direction the second condition is fulfilled.
The location where the output voltage was served, can be determined by the following
procedure. Firstly, the inputs (A and B) have to be disconnected and replaced by the
terminating resistors (resistors act as voltmeters). Secondly, a voltage source is connected
to the output P, while M is grounded (such configuration is shown in the Fig. 3.24a). The
voltage source P serves voltage with amplitude 0.5 V. The location (input A or B), where the
amplitude of P is present, is the original maximum voltage present at input. The argmax
in this case is present right after connecting the voltage (as shown in Fig. 3.24b). The
initialization state for M1 and M2 was set to be opposite to view the full switching process.
The scheme used to simulate the argmin function after the min/max was present is shown
in the Fig. 3.24c, the verification of the argmin function is shown in Fig. 3.24d. Based on
the Fig. 3.24d it is obvious that the served voltage on the M terminal appeared on the B
terminal, where originally the smaller voltage had been served.
3.4
Sorting circuits
Memristors and the memristor based comparator enable several applications. Besides
information storage using memristors, the concepts of a memristor based computing were
108
CHAPTER 3. ACHIEVED RESULTS
2
Voltage [V]
gnd
A
B
M
A
B
1
P
M
P
0
0
(a) Schematic of argmax configuration
1
2
Time [ms]
3
4
(b) The switching process and argmax function
2
Voltage [V]
gnd
A
B
M
A
B
1
P
M
P
0
0
(c) Schematic of argmin configuration
1
2
Time [ms]
3
4
(d) The switching process and argmin function
Figure 3.24: Argmax and argmin simulations
also published (ie. [56]). The sorting, described in this section is one of the key algorithmic
subroutines used in many contexts, for instance in Induced Ordered Weighted Averages
(IOWA) method [109], which is used in pattern recognition.
3.4.1
Sorting networks
Sorting networks were for the first time presented in [5] and extended in [57]. A sorting
network is divided into stages and each stage contains one or multiple comparators, which
work with a pair of inputs. A single comparator performs only two operations – minimum
and maximum. The key feature for sorting networks is that they can be implemented in
parallel – each comparison in a layer can run separately. The output of a sorting network
contains ascending or descending sorted inputs.
109
3.4. SORTING CIRCUITS
Multiple sorting networks were presented in [57] and the work [19] deals with the
optimal sorting networks. In this section we discuss Odd-even transposition sort and
the Batcher’s odd–even mergesort(Batcher’s merge sort) as examples of memristorbased sorting. Their network topologies are shown in the Fig. 3.25. Each arrow represents
a comparator. In case when the minimum is at the bottom (on the line to which the arrow
points) of the comparator, the outputs would be sorted in descending order (vo1 > vo2 >
vo3 > vo4 ). In further text the abbreviations OE and BM will be used. OE stands for
odd-even transposition sort and BM for Batcher’s merge sort. The number after these
abbreviations, denotes the number the number of inputs e.g. OE-4 denotes odd-even
transposition sort with four inputs.
v1
vo1
v1
vo1
v2
vo2
v2
vo2
v3
vo3
v3
vo3
v4
vo4
v4
vo4
comparator
(a) Odd-even transposition sorting network
(b) Batcher’s odd–even mergesort network
Figure 3.25: Sorting networks
3.4.2
Implementation using memristors
A four inputs (v1−4 ) odd-even transposition sorting network implemented using memristors
is present in Appendix A.1. The scheme of the Batcher’s mergesort network, implemented
using memristors is also a part of the Appendix (A.2). In the following text, the node
voltages are named according to the notation present in the Appendix.
A comparison between the two described sorting networks for n inputs (both networks
assume n > 2) is shown in Tab. 3.1. It is obvious, that the Batcher’s merge sort requires
less comparators than odd-even sort, while the functionality is the same.
Odd-even transposition sort
Batcher’s mergesort
stages
n
O(log2 (n))
comparators
n · (n − 1)/2
O(n log2 (n))
Table 3.1: Sorting networks comparison
110
CHAPTER 3. ACHIEVED RESULTS
3.4.3
Simulation
A sorting network is described by a json file. A four inputs Batcher’s merge sort is represented as follows:
{ "sorter": {
"simulation":{ "dt": 1E-6 },
"elements":[
"elements":[
{"id":1,"A":1.1,"B":2.1,"P":1,"M":2,"MN":"A","MX":"B"},
{"id":2,"A":3.1,"B":4.1,"P":3,"M":4, "MN":"A","MX":"B"},
{"id":3,"A":1,"B":3,"P":1.1,"M":6,"MN":"A","MX":"B"},
{"id":4,"A":2,"B":4,"P":7,"M":4.1,"MN":"A","MX":"B"},
{"id":5,"A":6,"B":7,"P":2.1,"M":3.1,"MN":"A","MX":"B"}
]}
}
The previous example shows that the network is pre-configured, so that for an inputs vector
v1···4 [1, 2, 3, 4], the memristors do not have to be reconfigured and the sorted values are
present at the outputs immediately (the outputs overlap the inputs in the figure). The
simulation of the described configuration is shown in Fig. 3.26.
Voltage [V]
4
3
2
1
10−5
10−4
Time [s] (log scale)
10−3
v1
v2
u3
u4
v3
v4
u5
u6
vo1
u7
u8
vo2
vo3
vo4
Figure 3.26: BM4 using the ideal states
In the case, when the comparators on the first layer (id 1 and id 2) are pre-configured
into the opposite state, the behaviour is very similar to the single comparator. The time,
which is needed for switching until a correct value is present at the output, is proportionate
to the voltage difference between inputs which are compared together. This behaviour is
111
3.4. SORTING CIRCUITS
shown in the Fig. 3.27. In this figure, only inputs and outputs are shown, while other node
voltages are not present.
Voltage [V]
4
v1
v2
v3
v4
vo1
vo2
vo3
vo4
3
2
1
0
0.4
0.8
1.2
Time [ms]
1.6
2
Figure 3.27: BM4, where the first layer has opposite states
The deeper is the incorrect setting, the more time it takes to achieve the correct voltages
at the outputs. Therefore, the initial setting has a significant impact on the behaviour of
the network. In this simulation, the last comparator has the opposite configuration. The
comparator on the third layer compares values v2 and v3 . The Fig. 3.28 shows the input
voltages (v1···4 = [1, 4, 7, 10]) and output voltages. The ∆V between these voltages is 3 V
and it takes up to 2 ms, until the voltages are settled.
Voltage [V]
10
v1
v2
v3
v4
vo1
vo2
vo3
vo4
7
4
1
0
0.4
0.8
1.2
1.6
2
Time [ms]
Figure 3.28: BM4, where the third layer has opposite states
By lowering the voltage difference between v2 and v3 , it is possible to obtain the time
dependence which is needed for different voltages. The comparison when the first layer
(L1) is pre-configured into the opposite state in comparison to the third layer (L3) is shown
in the Fig. 3.29.
112
CHAPTER 3. ACHIEVED RESULTS
Time [s] (log scale)
100
10−2
10−4
10−6
10
L1
L3
−8
10−10
10−120
1
2
3
4
Voltage [V] (∆ V)
5
Figure 3.29: BM4, the time dependence for L1 and L3 with opposite states
A similar behaviour is present in the odd-even transposition network. The larger the
difference of configured memristors from inputs, the more time it takes to sort the inputs.
The odd-even transposition sort with an inconvenient configuration on the first layer is
shown in the Fig. 3.30. On the first layer inputs v2 and v3 are compared.
Voltage [V]
4
v1
v2
v3
v4
vo1
vo2
vo3
vo4
3
2
1
0
2
0.8
1.2
1.6
Time [ms]
Figure 3.30: OE4, where the first layer has opposite states
0.4
In the previous text, only one layer was set into the opposite configuration at the
beginning. The theoretically worst case for an odd-even transposition sort is in case, when
the inputs vector v1···4 is [1,2,3,4], while the initial configuration of all comparators in the
network is MN: B and MX: A. In other words, all memristors are initially in the opposite
state compared to the final state. The simulation for the odd-even transposition sort of
the described example is shown in the Fig. 3.31.
113
3.4. SORTING CIRCUITS
4
v1
v2
v3
v4
u1
u2
u3
u4
u5
u6
u7
u8
vo1
vo2
vo3
vo4
Voltage [V]
3.5
3
2.5
2
1.5
1
10−4
10−3
10−2
Time [s] (log scale)
Figure 3.31: OE4, the worst case (all memristors are oppositely initialized)
Further simulations focused on the permutations of the inputs for three different inputs
vectors. Following vectors were used for inputs:
1. v1···4 = [1, 2, 3, 4], so that the difference between any two inputs is at least 1 V.
2. v1···4 = [2, 4, 6, 8], so that the difference between any two inputs is at least 2 V.
3. v1···4 = [1, 4, 7, 10], so that the difference between any two inputs is at least 3 V.
4. v1···4 = [1, 5, 9, 13], so that the difference between any two inputs is at least 4 V.
From the quantitative point of view, more than 300 simulations (24 permutation of 4 kinds
of inputs, and 3 kinds of initial settings) were done. Roughly, they can be divided into
two groups – the failures and the successes. The most common failures are present in the
following paragraph and both are common for the first two kinds of inputs. The first failure
is shown in the Fig. 3.32a. Instead of a proper voltage, an average value is present at the
output. This behaviour is caused by a comparison of two voltages of small difference, deep
in the network. The lower the voltage difference and the deeper the comparison occurs
the slower is the convergence. Another significant cause of difficulties is the impact of
numerics. The second failure is that an output converged to another value than it should,
shown in the Fig. 3.32b. In both of these failures, the deviation from KCL was analyzed.
In both cases the KCL was satisfied in range 10-15 A.
It was assumed, that the worst case is if all memristors have the opposite state at
the beginning, but these simulations showed, that for a network, it is worse, if a small
valued comparison is done deeper in the network. Knowing about these possible errors, we
can avoid them by using a pre-configured network. This is also the requirement, because
114
3
2
1
10−5
4
v1
v2
v3
v4
vo1
vo2
vo3
vo4
10−4
10−3 10−2
Time [s]
Voltage [V]
Voltage [V]
4
3
2
1
10−5
10−1
(a) Common failure, case 1
v1
v2
v3
v4
vo1
vo2
vo3
vo4
10−4
10−3 10−2
Time [s]
10−1
(b) Common failure, case 2
Figure 3.32: Sorting failures
such high voltages as are used in the simulations are not applicable and could damage the
structures.
Finally, we present the eight input odd-even transposition sort. Such kind of network
contains 112 memristors. The network in this case was initially well configured (no switching required). The input and output voltages are shown in the Fig. 3.33a. The reversible
function was also tested in this network. The procedure is the same as in the case of a
single comparator – the inputs are replaced with terminating resistors, and a small voltage
is connected to a single output, while other outputs are grounded. For example, we are
interested, where the third greatest value was connected. Therefore the voltage source is
connected to the vo3 . From the Fig. 3.33b it is obvious, that at the beginning, the voltage
was present at v6 input.
v1
v2
v3
v4
v5
v6
v7
v8
vo1
vo2
vo3
vo4
vo5
vo6
vo7
vo8
8
7
Voltage [V]
6
5
4
3
2
1
0
0
0.1
0.2
0.3
Time [ms]
0.4
0.5
(a) OE8, properly preconfigured
v1
v2
v3
v4
v5
v6
v7
v8
vo1
vo2
vo3
vo4
vo5
vo6
vo7
vo8
8
7
6
5
4
3
2
1
0
1.9
2.0
2.1
2.2
2.3
Time [ms]
2.4
2.5
(b) Reversible function of sorted network
Figure 3.33: Odd-even transposition sort for 8 inputs
115
3.4. SORTING CIRCUITS
116
Chapter 4
Summary
4.1
Contribution of this thesis
This work deals with the simulation of memristors and memristive networks. The main
aim was to describe the properties and the behaviour of large memristive networks. For the
simulation we chose the exponential model of memristor. This model was chosen, because
it fit multiple structures produced in different ways and the number of fitting constants
makes this model, roughly said, universal. The simulations began on the base element –
a single memristor. The hypothesis of possible implementation of fuzzy logic function was
confirmed, not only within the model, but also with the measurements on the TaO sample.
In a certain region of input voltages, the resistance ratio was large enough to successfully
implement the required function.
In this work, a new building element based on memristors – comparator – was described. Besides the simulations of minimum and maximum – two main functions of the
comparator, a new property was discovered – the invertibility. Using memristors (in comparator configuration), it is possible to also do the argmin and argmax functions. This
behaviour was validated using multiple simulations. The argmin and argmax functions
allow implementation of inversion functions, but on the other hand this is also the main
open problem of memristors in comparison to traditional transistor logic or analogue circuits. While a feed-forward network built on transistors would not allow the inverse flow, a
memristor network does. Sorting circuits are feed-forward networks and the functionality
was demonstrated on such kinds of networks.
For the purposes of simulation of memristive networks, a simulator was developed. The
simulator is able to run fully parallel and also enables the utilization of CUDA enabled
devices.
117
4.2. FUTURE RESEARCH
This work focused on the sorting networks, because one of the main algorithmic subroutines in IOWA is sorting. The focus on IOWA is mainly because using this method
it is possible to do pattern recognition. One recommendation for the utilization of such
networks would be a proper initial configuration of the whole network.
In this case, it was possible to simulate networks with higher count of memristors.
Also a new method for determining the V-I characteristic of minimum and maximum
from a single memristor characteristic, was developed. It may be helpful when no double
structures are available.
All published results, achieved within this thesis are listed in 4.3.
4.2
Future research
This work was done as a fork of existing research of our department – memristor based
cognitive computing and it has started a new domain of research. As written at the
beginning the topic is multidisciplinary and multiple areas of existing research were covered
only partially. This work focuses on the implementation of min and max fuzzy logic using
memristors. The practical experiments verify the properties of implemented functions. A
custom simulator was developed For simulations of larger circuits. Using this simulator,
the sorting circuits were examined. The thesis sets the groundwork for the future research
of more complicated cognitive structures that utilize memristors.
A direct extension of this work may be the verification of the properties of implemented
circuits, which until now have only been considered using ideal memristors. Mainly:
1. optimization of the fuzzy logic circuits for the purposes of pattern recognition [36],
[4]
2. implementation of Induced Ordered Weighted Average for the pattern recognition
3. implementation of non-von-Neumann architecture based on memristors [56]
Particular attention will be paid to the fact that memristor networks are passive. This
not only enables systems without external sources, but also brings new theoretical questions. Memristor networks show implicit feedback, unlike the explicit Wiener feedback in
the systems with one-direction information flow. As an example, the eight-input odd-even
sorting network was shown in section 3.4.3. This two-way information flow enables the
implementation of inverse argmin and argmax functions. It also reveals the possibility to
develop reversible gates, e.g. Fredkin gate, that enable entropy dissipation in the form of
118
CHAPTER 4. SUMMARY
thermal energy – this means reduction of energy consumption. Such non-linear systems
may also have different properties when compared to small networks. We believe that this
thesis laid a solid basis for further study of these questions.
4.3
Published papers
[1] Frátrik, M. Low cost digital to analog converter. In International Masaryk conference
for Phd students and young researchers. Dez 2011, ISBN 978-80-904877-7-2, pp.
1569-1574.
[2] Frátrik, M. Slovak language TTS system designed for embedded systems. In International Masaryk conference for Phd students and young researchers. Dez 2011,
ISBN 978-80-904877-7-2, pp. 582-586.
[3] Frátrik, M. When ARM architecture meets internet applications. In ICTIC 2012, Information and Communication Technologies – International Conference. Mar 2012,
ISBN 978-80-554-0513-1, pp. 18-20.
[4] Frátrik, M. Text-to-Speech systems in terms of quality and resource requirements. In
MICT, Mathematics for information and communication technologies : proceedings
of the 7th winter school of mathematics for ICT students. Feb 2012, ISBN 978-80554-0594-0, p. 3.
[5] Frátrik, M. Utilization of open hardware platforms in network applications. In OSSConf 2012, Open source software in education, research and IT. May 2012, ISBN
978-80-970457-2-2, pp. 53-58.
[6] Miček, J. et.al. Voice command recognition in multirobot systems: information
fusion. In International Journal of Advanced Robotic Systems. Jul 2012, Vol. 9,
ISSN 1729-8806, p. 9. [co-authors: Hyben, M., Frátrik, M., Púchyová, J.]
[7] Frátrik, M., Badura, Š., Žoltá, L. Fitting memristor models to observed behavior
of TiO2 memristors. In TRANSCOM 2013 : 10-th European conference of young
research and scientific workers. Jun 2013, ISBN 978-80-554-0693-0, pp. 35-41.
[8] Frátrik, M. et.al. Memristor measurements and simulation. In CAS 2013 : international semiconductor conference : 36th edition. [S.l.]: IEEE, Oct 2013, ISBN
978-1-4673-5670-1, pp. 243-246. [co-authors: Badura, Š., Klimo, M., Škvarek, O.]
119
4.3. PUBLISHED PAPERS
[9] Badura, Š. et.al. Lip reading using fuzzy logic networks – topology variation. In
ARSA 2013 : proceedings in Advances research in scientific areas : the 2nd virtual
conference. Dez 2013, ISBN 978-80-554-0825-5, pp. 463-467. [co-authors: Frátrik,
M., Škvarek, O., Klimo, M.]
4.3.1
In print papers
[1] Frátrik, M., Klimo, M., Jančovič, P. Determining the switching properties of the minimum function from a single VI characteristic. In Elektro 2014, 10th International
Conference. [S.l.]: IEEE, May 2014
[2] Badura, Š. et.al. Bimodal vowel recognition using fuzzy logic networks – naive
approach. In Elektro 2014, 10th International Conference. [S.l.]: IEEE, May 2014
[co-authors: Frátrik, M., Škvarek, O., Klimo, M.]
[3] Frátrik, M. et.al. Memristive Sorting Networks. In E-MRS 2014 Spring Meeting.
May 2014 – Proceedings will be published in Physica Status Solidi (a or b or c)
[co-authors: Klimo, M., Škvarek, O., Šuch, O.]
[4] Klimo, M. et.al. Memory properties of MIN, MAX gates using memristor implementation. In E-MRS 2014 Spring Meeting. May 2014 – Proceedings will be published
in Physica Status Solidi (a or b or c) [co-authors: Linn, E., Frátrik, M., Jančovič,
P., Šuch, O., Fröhlich, K.]
[5] Klimo, M. et.al. Memristor based pattern matching. In Semiconductor Science and
Technology, IOP. [co-authors: Šuch, O.; Škvarek, O.; Frátrik, M.]
120
Bibliography
[1] Abdalla, H., Pickett, M. SPICE modeling of memristors. In Circuits and Systems
(ISCAS), 2011 IEEE International Symposium on. 2011, ISSN 0271-4302, pp. 1832–
1835.
[2] Argall, F. Switching phenomena in titanium oxide thin films. In Solid-State Electronics, 1968, Vol. 11, no. 5, ISSN 0038-1101, pp. 535 – 541.
[3] Asamitsu, A. et al. Current switching of resistive states in magnetoresistive manganites. In Nature, July 1997, Vol. 388, no. 6637, ISSN 0028-0836, pp. 50–52.
[4] Badura, S.: The learning of fuzzy logic networks with memory for the the task of
lip-reading. Phd. thesis, University of Žilina, Žilina, 2012.
[5] Batcher, K. E. Sorting Networks and Their Applications. In Proceedings of the April
30–May 2, 1968, Spring Joint Computer Conference. AFIPS ’68 (Spring). ACM,
1968, pp. 307–314, doi:10.1145/1468075.1468121.
[6] Baumanns, S.: Coupled Electromagnetic Field/Circuit Simulation: Modeling and
Numerical Analysis. Phd. thesis, University of Cologne, Cologne, 2012.
[7] Bayoumi, A. M., Hanafy, Y. Y. Massive Parallelization of SPICE Device Model Evaluation on GPU-based SIMD Architectures. In Proceedings of the 1st International
Forum on Next-generation Multicore/Manycore Technologies. IFMT ’08. ACM, 2008,
ISBN 978-1-60558-407-2, pp. 12:1–12:5.
[8] Benderli, S., Wey, T. On SPICE macromodelling of TiO2 memristors. In Electronics
Letters, March 2009, Vol. 45, no. 7, ISSN 0013-5194, pp. 377–379, doi:10.1049/el.
2009.3511.
121
BIBLIOGRAPHY
[9] Bhat, H., Osting, B. Kirchhoff’s Laws as a Finite Volume Method for the Planar
Maxwell Equations. In Antennas and Propagation, IEEE Transactions on, 2011,
Vol. 59, no. 10, ISSN 0018-926X, pp. 3772–3779.
[10] Biolek, D. et al. Some fingerprints of ideal memristors. In Circuits and Systems
(ISCAS), 2013 IEEE International Symposium on. 2013, ISSN 0271-4302, pp. 201–
204.
[11] Biolek, Z., Biolek, D., Biolkova, V. SPICE model of memristor with nonlinear dopant
drift. In Radioengineering, 2009, Vol. 18, pp. 210–214.
[12] Bobillo, F. et al. Fuzzy description logics under Gödel semantics. In International
Journal of Approximate Reasoning, 2009, Vol. 50, no. 3, ISSN 0888-613X, pp. 494 –
514, doi:http://dx.doi.org/10.1016/j.ijar.2008.10.003.
[13] Bobillo, F., Straccia, U. fuzzyDL: An expressive fuzzy description logic reasoner. In
Fuzzy Systems, 2008. FUZZ-IEEE 2008. (IEEE World Congress on Computational
Intelligence). IEEE International Conference on. June 2008, ISSN 1098-7584, pp.
923–930, doi:10.1109/FUZZY.2008.4630480.
[14] Borghetti, J. et al. A hybrid nanomemristor/transistor logic circuit capable of
self-programming. In Proceedings of the National Academy of Sciences, 2009, Vol.
106, no. 6, pp. 1699–1703, doi:10.1073/pnas.0806642106, [http://www.pnas.org/
content/106/6/1699.full.pdf+html]. Available on the Internet: < [http://www.
pnas.org/content/106/6/1699.abstract]>.
[15] Borghetti, J. et al. ’Memristive’ switches enable ’stateful’ logic operations via material implication. In Nature, April 2010, Vol. 464, no. 7290, ISSN 0028-0836, pp.
873–876, doi:10.1038/nature08940.
[16] Boroň, J.: Recogonition using fuzzy flip-flops. Phd. thesis, University of Žilina, Žilina,
2010.
[17] Branin, J.,F.H. et al. ECAP II-a new electronic circuit analysis program. In SolidState Circuits, IEEE Journal of, 1971, Vol. 6, no. 4, ISSN 0018-9200, pp. 146–166,
doi:10.1109/JSSC.1971.1050165.
[18] Brinson, M. E., Jahn, S. Qucs: A GPL software package for circuit simulation,
compact device modelling and circuit macromodelling from DC to RF and beyond.
122
BIBLIOGRAPHY
In International Journal of Numerical Modelling: Electronic Networks, Devices and
Fields, 2009, Vol. 22, no. 4, ISSN 1099-1204, pp. 297–319.
[19] Bundala, D., Závodný, J.: Optimal Sorting Networks. In Language and Automata
Theory and Applications, Lecture Notes in Computer Science, Vol. 8370, edited by A.H. Dediu, C. Martín-Vide, J.-L. Sierra-Rodríguez, B. Truthe, Springer International
Publishing, 2014, ISBN 978-3-319-04920-5, pp. 236–247.
[20] Butcher, J. C. Numerical Methods for Ordinary Differential Equations. John Wiley
& Sons, Ltd, 2008. 463 pp. ISBN 9780470753767.
[21] Chang, T. et al. Synaptic behaviors and modeling of a metal oxide memristive device.
In Applied Physics A, 2011, Vol. 102, no. 4, ISSN 0947-8396, pp. 857–863.
[22] Chen, W. The Electrical Engineering Handbook. Elsevier Science, 2004. ISBN
9780080477480.
[23] Chen, W. Computer Aided Design and Design Automation. The Circuits and Filters
Handbook, 3rd Edition, Taylor & Francis, 2009. ISBN 9781420059199.
[24] Chen, W. Fundamentals of Circuits and Filters. The Circuits and Filters Handbook,
3rd Edition, Taylor & Francis, 2009. ISBN 9781420058888.
[25] Chua, L. Memristor-The missing circuit element. In Circuit Theory, IEEE Transactions on, 1971, Vol. 18, no. 5, ISSN 0018-9324, pp. 507–519.
[26] Chua, L. Device modeling via nonlinear circuit elements. In Circuits and Systems,
IEEE Transactions on, 1980, Vol. 27, no. 11, ISSN 0098-4094, pp. 1014–1044.
[27] Chua, L. Resistance switching memories are memristors. In Applied Physics A, 2011,
Vol. 102, no. 4, ISSN 0947-8396, pp. 765–783.
[28] Chua, L. Resistance switching memories are memristors. In Applied Physics A, 2011,
Vol. 102, no. 4, ISSN 0947-8396, pp. 765–783.
[29] Chua, L., Kang, S. M. Memristive devices and systems. In Proceedings of the IEEE,
1976, Vol. 64, no. 2, ISSN 0018-9219, pp. 209–223.
[30] Chua, L., Lin, P. Computer-aided analysis of electronic circuits: algorithms and
computational techniques. Prentice-Hall series in electrical and computer engineering,
Prentice-Hall, 1975. ISBN 9780131654150.
123
BIBLIOGRAPHY
[31] Davis, T., Natarajan, E.: Sparse Matrix Methods for Circuit Simulation Problems. In
Scientific Computing in Electrical Engineering SCEE 2010, edited by B. Michielsen,
J.-R. Poirier, Mathematics in Industry, Springer Berlin Heidelberg, 2012, ISBN 9783-642-22452-2, pp. 3–14.
[32] Elgabra, H. et al. Mathematical modeling of a memristor device. In Innovations in
Information Technology (IIT), 2012 International Conference on. 2012, pp. 156–161.
[33] Eshraghian, K. et al. Memristive Device Fundamentals and Modeling: Applications
to Circuits and Systems Simulation. In Proceedings of the IEEE, 2012, Vol. 100,
no. 6, ISSN 0018-9219, pp. 1991–2007.
[34] Fei, W. et al. Design Exploration of Hybrid CMOS and Memristor Circuit by New
Modified Nodal Analysis. In Very Large Scale Integration (VLSI) Systems, IEEE
Transactions on, 2012, Vol. 20, no. 6, pp. 1012–1025.
[35] Fitch, A. et al. Realization of an analog model of memristor based on light dependent
resistor. In Circuits and Systems (ISCAS), 2012 IEEE International Symposium on.
May 2012, ISSN 0271-4302, pp. 1139–1142, doi:10.1109/ISCAS.2012.6271433.
[36] Foltán, S.: Speech recognition by means of fuzzy logical circuits. Phd. thesis, University of Žilina, Žilina, 2012.
[37] Fröhlich, K. TiO2-based structures for nanoscale memory applications. In Materials
Science in Semiconductor Processing, 2013, Vol. 16, no. 5, ISSN 1369-8001, pp. 1186
– 1195.
[38] Gabriš, M.: Handling of large systems of linear equations with modern methods. Master thesis, Comenius University, Faculty of Mathematics, Physics and Informatics,
Bratislava, April 2008.
[39] Hachtel, G., Brayton, R., Gustavson, F. The Sparse Tableau Approach to Network
Analysis and Design. In Circuit Theory, IEEE Transactions on, 1971, Vol. 18, no. 1,
ISSN 0018-9324, pp. 101–113.
[40] Hambley, A. Electrical Engineering: Principles and Applications. Pearson Education,
2011. ISBN 9780132130066.
[41] Hirota, K., Ozawa, K. The concept of fuzzy flip-flop. In Systems, Man and Cybernetics, IEEE Transactions on, Sep 1989, Vol. 19, no. 5, ISSN 0018-9472, pp. 980–997,
doi:10.1109/21.44013.
124
BIBLIOGRAPHY
[42] Ho, C.-W., Ruehli, A. E., Brennan, P. A. The modified nodal approach to network
analysis. In Circuits and Systems, IEEE Transactions on, 1975, Vol. 22, no. 6, ISSN
0098-4094, pp. 504–509.
[43] Honkala, M., Roos, J., Valtonen, M. New Multilevel Newton-Raphson Method for
Parallel Circuit Simulation. In European Conference on Circuit Theory and Design.
ECCTD’01. 2001, ISBN 9512263378, pp. 113 – 116. Available on the Internet: <
[http://lib.tkk.fi/Books/2001/isbn9512263378/papers/1053.pdf]>.
[44] Hur, J. H. et al. Modeling for bipolar resistive memory switching in transition-metal
oxides. In Phys. Rev. B, Oct 2010, Vol. 82, page 155321.
[45] Ibrahim, A. Fuzzy logic for embedded systems applications. Embedded technology
series, Newnes, 2004. ISBN 9780750676052.
[46] Itoh, M., Chua, L. O. Memristor oscillators. In International Journal of Bifurcation
and Chaos, 2008, Vol. 18, no. 11, pp. 3183–3206, doi:10.1142/S0218127408022354.
[47] Jahn, S. et al.: Qucs Technical papers. Technical report, 2007. Available on the
Internet: < [http://qucs.sourceforge.net/docs/technical.pdf]>.
[48] Jenkins, F. TIME-a nonlinear d.c. and time-domain circuit-simulation program. In
Solid-State Circuits, IEEE Journal of, 1971, Vol. 6, no. 4, ISSN 0018-9200, pp. 182–
188, doi:10.1109/JSSC.1971.1050167.
[49] Jeong, D. S. et al. Emerging memories: resistive switching mechanisms and current
status. In Reports on Progress in Physics, 2012, Vol. 75, no. 7, page 31.
[50] Jo, S. H. et al. Nanoscale Memristor Device as Synapse in Neuromorphic Systems.
American Chemical Society, 2010. 1297-1301 pp. PMID: 20192230.
[51] Joglekar, Y. N., Wolf, S. J. The elusive memristor: properties of basic electrical
circuits. In European Journal of Physics, 2009, Vol. 30, no. 4, page 661–675.
[52] Kapre, N., DeHon, A. Parallelizing sparse Matrix Solve for SPICE circuit simulation
using FPGAs. In Field-Programmable Technology, 2009. FPT 2009. International
Conference on. 2009, pp. 190–198.
[53] Kim, K., Shin, S., Kang, S.-M. Field Programmable Stateful Logic Array. In
Computer-Aided Design of Integrated Circuits and Systems, IEEE Transactions on,
125
BIBLIOGRAPHY
Dec 2011, Vol. 30, no. 12, ISSN 0278-0070, pp. 1800–1813, doi:10.1109/TCAD.2011.
2165067.
[54] Kim, S. et al. Excellent resistive switching in nitrogen-doped Ge2Sb2Te5 devices
for field-programmable gate array configurations. In Applied Physics Letters, 2011,
Vol. 99, no. 19, ISSN 0003-6951, pp. 192110–192110–3.
[55] Klimo, M., Such, O. Memristors can implement fuzzy logic. In CoRR, 2011, Vol.
abs/1110.2074.
[56] Klimo, M., Such, O. Fuzzy Computer Architecture Based on Memristor Circuits. In Proceedings of the FUTURE COMPUTING 2012, The Fourth International Conference on Future Computational Technologies and Applications.
2012, ISBN 978-1-61208-217-2, ISSN 2308-3735, pp. 84–87. Available on the
Internet: < [http://www.thinkmind.org/index.php?view=article&articleid=
future_computing_2012_4_10_30051]>.
[57] Knuth, D. E. The Art of Computer Programming, Volume 3: (2Nd Ed.) Sorting and
Searching. Redwood City, CA, USA: Addison Wesley Longman Publishing Co., Inc.,
1998. ISBN 0-201-89685-0.
[58] Konkoli, Z., Wendin, G. A generic simulator for large networks of memristive elements. In Nanotechnology, 2013, Vol. 24, no. 38, page 384007. Available on the
Internet: < [http://stacks.iop.org/0957-4484/24/i=38/a=384007]>.
[59] Kopecky, K. A. Root Finding Methods. In , 2007.
[60] Kundert, K., Clifford, I. Achieving accurate results with a circuit simulator. In
SPICE: Surviving Problems in Circuit Evaluation, IEE Colloquium on. Jun 1993,
pp. 4/1–4/5.
[61] Kvatinsky, S. et al. TEAM: ThrEshold Adaptive Memristor Model. In Circuits and
Systems I: Regular Papers, IEEE Transactions on, 2013, Vol. 60, no. 1, ISSN 15498328, pp. 211–221.
[62] Kvatinsky, S. et al. Memristor-based IMPLY logic design procedure. In Computer
Design (ICCD), 2011 IEEE 29th International Conference on. Oct 2011, ISSN 10636404, pp. 142–147, doi:10.1109/ICCD.2011.6081389.
126
BIBLIOGRAPHY
[63] Kvatinsky, S. et al. Models of memristors for SPICE simulations. In Electrical Electronics Engineers in Israel (IEEEI), 2012 IEEE 27th Convention of. 2012, pp. 1–5.
[64] Laiho, M., Lehtonen, E. Cellular nanoscale network cell with memristors for local
implication logic and synapses. In Circuits and Systems (ISCAS), Proceedings of
2010 IEEE International Symposium on. 2010, pp. 2051–2054.
[65] Lee, M.-J. et al. A fast, high-endurance and scalable non-volatile memory device
made from asymmetric Ta2O5-x/TaO2-x bilayer structures. Nature, 2011. 625–630
pp.
[66] Lehtonen, E.: Memristive Computing. Phd. thesis, University of Turku, Turku, 2012.
[67] Lehtonen, E., Laiho, M. Stateful implication logic with memristors. In Nanoscale
Architectures, 2009. NANOARCH ’09. IEEE/ACM International Symposium on.
July 2009, pp. 33–36, doi:10.1109/NANOARCH.2009.5226356.
[68] Lehtonen, E., Laiho, M. CNN using memristors for neighborhood connections. In
Cellular Nanoscale Networks and Their Applications (CNNA), 2010 12th International Workshop on. 2010, pp. 1–4.
[69] Lehtonen, E., Poikonen, J., Laiho, M. Two memristors suffice to compute all boolean
functions. In Electronics Letters, Feb 2010, Vol. 46, no. 3, ISSN 0013-5194, pp. 239–
240, doi:10.1049/el.2010.3407.
[70] Lehtonen, E., Poikonen, J., Laiho, M. Implication logic synthesis methods for memristors. In Circuits and Systems (ISCAS), 2012 IEEE International Symposium on.
May 2012, ISSN 0271-4302, pp. 2441–2444, doi:10.1109/ISCAS.2012.6271792.
[71] Li, P. Parallel Circuit Simulation: A Historical Perspective and Recent Developments. In Foundations and Trends in Electronic Design Automation, 2012, Vol. 5,
no. 4, ISSN 1551-3939, pp. 211–318, doi:10.1561/1000000020.
[72] Lin, Y. Resistive Switching in TiO2 Thin Films. Schriften des Forschungszentrums
Jülich / Reihe Information: Reihe Information, Forschungszentrum Jülich, Zentralbibliothek, 2011. ISBN 978-3-89336-707-8.
[73] Linn, E. et al. Modeling Complementary Resistive Switches by nonlinear memristive
systems. In Nanotechnology (IEEE-NANO), 2011 11th IEEE Conference on. Aug
2011, ISSN 1944-9399, pp. 1474–1478, doi:10.1109/NANO.2011.6144318.
127
BIBLIOGRAPHY
[74] Linn, E. et al. Complementary resistive switches for passive nanocrossbar memories. In Nature materials, 2010, Vol. 9, ISSN 1476-1122, pp. 403 – 406, doi:
10.1038/NMAT2748.
[75] Linn, E. C.: Complementary Resistive Switches. Phd. thesis, Rheinisch-Westfälischen
Technischen Hochschule Aachen, Aachen, 2012.
[76] Liu, B. et al. Reconfigurable Neuromorphic Computing System with MemristorBased Synapse Design. In Neural Processing Letters, 2013, ISSN 1370-4621, pp. 1–9,
doi:10.1007/s11063-013-9315-8. Available on the Internet: < [http://dx.doi.org/
10.1007/s11063-013-9315-8]>.
[77] Makarov, A., Sverdlov, V., Selberherr, S. A stochastic model of bipolar resistive
switching in metal-oxide-based memory. In Solid-State Device Research Conference
(ESSDERC), 2010 Proceedings of the European. 2010, ISSN 1930-8876, pp. 396–399.
[78] Mazumder, P., Kang, S., Waser, R. Memristors: Devices, Models, and Applications
[Scanning the Issue]. In Proceedings of the IEEE, 2012, Vol. 100, no. 6, ISSN 00189219, pp. 1911–1919.
[79] Muthuswamy, B. Implementing Memristor Based Chaotic Circuits. In I. J. Bifurcation and Chaos, 2010, Vol. 20, no. 5, pp. 1335–1350.
[80] Muthuswamy, B., Kokate, P. Memristor-Based Chaotic Circuits. In IETE Technical
Review, 2009, Vol. 26, no. 6, pp. 417–429, doi:10.4103/0256-4602.57827.
[81] Nagel, L., Rohrer, R. Computer analysis of nonlinear circuits, excluding radiation
(CANCER). In Solid-State Circuits, IEEE Journal of, 1971, Vol. 6, no. 4, ISSN
0018-9200, pp. 166–182, doi:10.1109/JSSC.1971.1050166.
[82] Nagel, L. W.: SPICE2: A Computer Program to Simulate Semiconductor Circuits.
Dissertation, EECS Department, University of California, Berkeley, 1975. Available
on the Internet: < [http://www.eecs.berkeley.edu/Pubs/TechRpts/1975/9602.
html]>.
[83] Najm, F. Circuit Simulation. Wiley, 2010. ISBN 9780470561201.
[84] Nichols, K. G. et al. Overview of SPICE-like circuit simulation algorithms. In Circuits, Devices and Systems, IEE Proceedings -, 1994, Vol. 141, no. 4, ISSN 1350-2409,
pp. 242–250, doi:10.1049/ip-cds:19941246.
128
BIBLIOGRAPHY
[85] Pershin, Y. V., Fontaine, S. L., Ventra, M. D. Memristive model of amoeba’s learning.
In , 2008, doi:10.1103/PhysRevE.80.021926, [arXiv/0810.4179].
[86] Petrík, M.: Design of many-valued logical circuits. Master thesis, Czech Technical
University, Prague, 2004.
[87] Pickett, M. D. et al. Switching dynamics in titanium dioxide memristive devices. In
Journal of Applied Physics, 2009, Vol. 106, no. 7, page 6.
[88] Pillage, L. Electronic Circuit & System Simulation Methods (SRE). McGraw-Hill
Companies,Incorporated, 1998. ISBN 9780071347709.
[89] Poikonen, J., Lehtonen, E., Laiho, M. On Synthesis of Boolean Expressions for Memristive Devices Using Sequential Implication Logic. In Computer-Aided Design of Integrated Circuits and Systems, IEEE Transactions on, July 2012, Vol. 31, no. 7, ISSN
0278-0070, pp. 1129–1134, doi:10.1109/TCAD.2012.2187524.
[90] Prodromakis, T. et al. A Versatile Memristor Model With Nonlinear Dopant Kinetics.
In Electron Devices, IEEE Transactions on, 2011, Vol. 58, no. 9, ISSN 0018-9383,
pp. 3099–3105.
[91] Radwan, A., Zidan, M., Salama, K. HP Memristor mathematical model for periodic
signals and DC. In Circuits and Systems (MWSCAS), 2010 53rd IEEE International
Midwest Symposium on. 2010, ISSN 1548-3746, pp. 861–864.
[92] Raja, T., Mourad, S. Digital logic implementation in memristor-based crossbars. In
Communications, Circuits and Systems, 2009. ICCCAS 2009. International Conference on. July 2009, pp. 939–943, doi:10.1109/ICCCAS.2009.5250374.
[93] Sawa, A. Resistive switching in transition metal oxides. In Materials Today, 2008,
Vol. 11, no. 6, ISSN 1369-7021, pp. 28 – 36.
[94] Schindler, C. et al. Resistive switching in Ag-Ge-Se with extremely low write currents.
In Non-Volatile Memory Technology Symposium, 2007. NVMTS ’07. 2007, pp. 82–85.
[95] Schmelzer, S. et al. Uniform Complementary Resistive Switching in Tantalum Oxide
Using Current Sweeps. In Electron Device Letters, IEEE, Jan 2013, Vol. 34, no. 1,
ISSN 0741-3106, pp. 114–116.
129
BIBLIOGRAPHY
[96] Strachan, J. et al. State Dynamics and Modeling of Tantalum Oxide Memristors. In
Electron Devices, IEEE Transactions on, 2013, Vol. 60, no. 7, ISSN 0018-9383, pp.
2194–2202.
[97] Strukov, D. B. et al. The missing memristor found. In Nature, May 2008, Vol. 453,
no. 7191, ISSN 0028-0836, pp. 80–83.
[98] Torrezan, A. C. et al. Sub-nanosecond switching of a tantalum oxide memristor. In
Nanotechnology, 2011, Vol. 22, no. 48, page 485203.
[99] Valsa, J., Biolek, D., Biolek, Z. An analogue model of the memristor. In International
Journal of Numerical Modelling: Electronic Networks, Devices and Fields, 2011,
Vol. 24, no. 4, ISSN 1099-1204, pp. 400–408, doi:10.1002/jnm.786. Available on the
Internet: < [http://dx.doi.org/10.1002/jnm.786]>.
[100] Vansáč, M., Tomčíková, I., Perdulak, J. Circuit simulation using sparse tableau analysis in Matlab. In Electromechanical and energy systems, modeling and optimization
methods. 2012, ISSN 2079-5106, pp. 19–20.
[101] Vlach, J., Singhal, K. Computer Methods for Circuit Analysis and Design. Electrical
Engineering, Springer, 1994. ISBN 9780442011949.
[102] Vladimirescu, A. The spice book. J. Wiley, 1994. ISBN 978-04-7160-926-1.
[103] Waser, R. Resistive non-volatile memory devices (Invited Paper). In Microelectronic
Engineering, 2009, Vol. 86, no. 7–9, ISSN 0167-9317, pp. 1925 – 1928.
[104] Waser, R. Nanoelectronics and Information Technology. Wiley, 2012. ISBN 978-3527-40927-3.
[105] Waser, R., Aono, M. Nanoionics-based resistive switching memories. In Nature materials, 2007, Vol. 6, ISSN 1476-1122, page 833.
[106] Weeks, W. T. et al. Algorithms for ASTAP–A network-analysis program. In Circuit
Theory, IEEE Transactions on, 1973, Vol. 20, no. 6, ISSN 0018-9324, pp. 628–634.
[107] Wey, T., Jemison, W. Variable gain amplifier circuit using titanium dioxide memristors. In Circuits, Devices Systems, IET, January 2011, Vol. 5, no. 1, ISSN 1751-858X,
pp. 59–65, doi:10.1049/iet-cds.2010.0210.
130
BIBLIOGRAPHY
[108] Williamson, A. et al. Synaptic behavior and STDP of asymmetric nanoscale memristors in biohybrid systems. In Nanoscale, 2013, Vol. 5, pp. 7297–7303, doi:
10.1039/C3NR01834B. Available on the Internet: < [http://dx.doi.org/10.1039/
C3NR01834B]>.
[109] Yager, R., Filev, D. Induced ordered weighted averaging operators. In Systems, Man,
and Cybernetics, Part B: Cybernetics, IEEE Transactions on, Apr 1999, Vol. 29,
no. 2, ISSN 1083-4419, pp. 141–150, doi:10.1109/3477.752789.
[110] Yang, J. et al. Field-programmable analog array with memristors. Google Patents,
May 2 2013. US Patent App. 13/281,438. Available on the Internet: < [http://
www.google.com/patents/US20130106462]>.
[111] Yang, J. J. et al. A Family of Electronically Reconfigurable Nanodevices. In Advanced
Materials, 2009, Vol. 21, no. 37, ISSN 1521-4095, pp. 3754–3758.
[112] Yang, J. J. et al. A Family of Electronically Reconfigurable Nanodevices. In Advanced
Materials, october 2009, Vol. 21, no. 37, ISSN 1521-4095, pp. 3754–3758.
[113] Yang, J. J. et al. Memristive switching mechanism for metal/oxide/metal nanodevices. In Nature Nanotechnology, July 2008, Vol. 3, no. 7, pp. 429–433.
[114] Yang, J. J., Williams, R. S. Memristive Devices in Computing System: Promises
and Challenges. In J. Emerg. Technol. Comput. Syst., May 2013, Vol. 9, no. 2, ISSN
1550-4832, pp. 11:1–11:20.
[115] Ye, X. et al. MAPS: Multi-Algorithm Parallel circuit Simulation. In Computer-Aided
Design, 2008. ICCAD 2008. IEEE/ACM International Conference on. 2008, ISSN
1092-3152, pp. 73–78, doi:10.1109/ICCAD.2008.4681554.
[116] Yu, H., Fei, W. A new modified nodal analysis for nano-scale memristor circuit simulation. In Circuits and Systems (ISCAS), Proceedings of 2010 IEEE International
Symposium on. 2010, pp. 3148–3151.
[117] Zadeh, L. Fuzzy sets. In Information and Control, 1965, Vol. 8, no. 3, ISSN 00199958, pp. 338 – 353, doi:http://dx.doi.org/10.1016/S0019-9958(65)90241-X.
131
BIBLIOGRAPHY
132
Appendices
133
Appendix A
Sorting networks
A.1
Odd-even transposition sort
vo1
u3
v1
v2
u1
u4
u7
vo2
v3
u2
u5
u8
vo3
vo4
u6
v4
Layer 1
Layer 2
Layer 3
135
Layer 4
A.2
Batcher odd-even merge sort
v1
u3
v2
u4
u7
vo2
v3
u5
u8
vo3
v4
u6
Layer 1
vo1
vo4
Layer 2
136
Layer 3
Appendix B
UML diagram
137
138
APPENDIX B. UML DIAGRAM
139
140
Appendix C
Compact Disc
141