1
Evolutionary Electronics
Companion slides for the book Bio-Inspired Artificial Intelligence: Theories, Methods, and Technologies by Dario Floreano and Claudio Mattiussi, MIT Press
Evolutionary Electronics Companion slides for the book Bio-Inspired - - PowerPoint PPT Presentation
Evolutionary Electronics Companion slides for the book Bio-Inspired Artificial Intelligence: Theories, 1 Methods, and Technologies by Dario Floreano and Claudio Mattiussi, MIT Press Introduction Evolutionary Electronics (EE) is defined as the
1
Companion slides for the book Bio-Inspired Artificial Intelligence: Theories, Methods, and Technologies by Dario Floreano and Claudio Mattiussi, MIT Press
Companion slides for the book Bio-Inspired Artificial Intelligence: Theories, Methods, and Technologies by Dario Floreano and Claudio Mattiussi, MIT Press 2
Evolutionary algorithm
(schematic)
Electronic Circuit
(physical layout)
given a fixed circuit topology
circuit topology
devices that compose the circuit
Companion slides for the book Bio-Inspired Artificial Intelligence: Theories, Methods, and Technologies by Dario Floreano and Claudio Mattiussi, MIT Press 3
which the traditional design techniques cannot cope efficiently and thus produce a waste of resources
specified in the sense that the functionality is not defined in terms
relationship but still a global performance can be measured easily
exploitation of the virtues of evolutionary methods (waiting for the
coming of age of nanotechnologies…)
that are relevant in the real-world application of evolutionary methods
Companion slides for the book Bio-Inspired Artificial Intelligence: Theories, Methods, and Technologies by Dario Floreano and Claudio Mattiussi, MIT Press 4
unpolarized base polarized base base collector energy emitter base collector emitter uncatalyzed catalyzed transition comp. product energy substrate
“… the fundamental elements of information processing in electronic and genetic systems are strikingly similar…”
[Simpson et al., Proc. IEEE, May 2004]
energy
Companion slides for the book Bio-Inspired Artificial Intelligence: Theories, Methods, and Technologies by Dario Floreano and Claudio Mattiussi, MIT Press 5
“…the analysis, modeling, and simulation of natural and synthetic genetic circuits, often proceed in a manner similar to that used for electronic systems” “.. the expertise and skills contained within electrical and computer engineering disciplines apply not only to design within biological systems , but also to the development of a deeper understanding of biological functionality.” “It is possible that new strategies for engineered system design may emerge from this examination of natural gene circuit architectures.”
[Simpson et al., Proc. IEEE, May 2004]
Companion slides for the book Bio-Inspired Artificial Intelligence: Theories, Methods, and Technologies by Dario Floreano and Claudio Mattiussi, MIT Press 6
performances of the desired circuit
into a circuit
evaluated and the result is used to enforce a selection policy
Until the objectives are met or some stopping criterion (time, computational resources…) is fulfilled
7
The behavior of an electronic circuit can be estimated using a circuit simulator In extrinsic evolutionary design: each circuit is simulated to assess its performance
* SPICE simulation example * circuit description: C1 2 3 10n C2 4 5 100n R1 3 1 270k R2 4 1 1k R3 0 5 1k Q1 4 3 0 Q2N2222 V1 1 0 5Vdc * input signal: Vin 2 0 SIN 0 0.2 1k 0 0 0 * simulator directives: .TRAN 0 3.5ms 0 0.01ms .OPTIONS TEMP=25 * device models: .MODEL Q2N2222 NPN + IS 14.3E-15 BF 256 NF 1 + VAF 74 IKF 0.28 ISE 14.3E-15 + NE 1.3 BR 6.1 NR 1 RB 10 RC 1 + CJE 22.0E-12 MJE 0.377 + CJC 7.3E-12 MJC 0.3416 + TF 411E-12 XTF 3 VTF 1.7 + ITF 0.6 TR 46.9E-09 XT B 1.5 .END
time (ms)
3.0 2.0 3.5 0.0 1.0 0.8 0.6 0.4 0.2
voltage (V)
Vin Vout
0.5 2.5 1.0 1.5
arbitrary
C2 100nF Q1 2N2222 V1 5V Vin Vout R2 1kΩ R1 270kΩ
2 3 1 4 5
R 1 3 kΩ C1 10nF
Companion slides for the book Bio-Inspired Artificial Intelligence: Theories, Methods, and Technologies by Dario Floreano and Claudio Mattiussi, MIT Press 8
In intrinsic evolutionary design: each circuit is physically implemented and tested The existence of reconfigurable devices opens the way to the possibility of performing evolution directly in hardware
... ... ... ...
cell input/output circuitry connections
devices (no approximations)
structure
device used for the evolution
adaptation during the operating life of the circuit (e.g., to obtain fault tolerance)
Companion slides for the book Bio-Inspired Artificial Intelligence: Theories, Methods, and Technologies by Dario Floreano and Claudio Mattiussi, MIT Press 9
Analog signals
time amplitude clock time amplitude
Digital signals
C2 100nF Q1 2N2222 V1 5V Vin Vout R2 1kΩ R1 270kΩ
2 3 1 4 5
R 1 3 kΩ C1 10nF
Analog circuit Digital circuit
connectivity; few circuit parameters
connectivity and circuit parameters
Companion slides for the book Bio-Inspired Artificial Intelligence: Theories, Methods, and Technologies by Dario Floreano and Claudio Mattiussi, MIT Press 10
functional)
hardware description languages (HDL…)
combinational and sequential design which typically combine building blocks
reconfigurable (programmable) devices
Companion slides for the book Bio-Inspired Artificial Intelligence: Theories, Methods, and Technologies by Dario Floreano and Claudio Mattiussi, MIT Press 11
high-level standard building blocks
consumption, noise, operating voltage ranges…
analog design. The creativity, intuition, experience of the designer is required to obtain state-of-the-art
art rather than a science
reconfigurable devices
Companion slides for the book Bio-Inspired Artificial Intelligence: Theories, Methods, and Technologies by Dario Floreano and Claudio Mattiussi, MIT Press 12
system focusing on a subset of its actual properties
number of elements that must be taken into account simultaneously
tradeoff”) is the less efficient use of the available resources since some system configurations are no longer considered
explore parts of the design space that are not accessible to a human designer
Space of all electronic circuits Current space of evolutionary designs Current space of conventional designs
can be discovered by analyzing the workings
Companion slides for the book Bio-Inspired Artificial Intelligence: Theories, Methods, and Technologies by Dario Floreano and Claudio Mattiussi, MIT Press 13
Companion slides for the book Bio-Inspired Artificial Intelligence: Theories, Methods, and Technologies by Dario Floreano and Claudio Mattiussi, MIT Press 14
Companion slides for the book Bio-Inspired Artificial Intelligence: Theories, Methods, and Technologies by Dario Floreano and Claudio Mattiussi, MIT Press 15
chromosome used by evolutionary algorithms
schematic, for example the functionality of circuit elements and the interconnections between those elements
truth table is evolved. The genotype contains the outputs of the circuit for each possible input.
reconfigurable component whose functionality is defined by configuration bits. The genome is composed directly by those configuration bits
Companion slides for the book Bio-Inspired Artificial Intelligence: Theories, Methods, and Technologies by Dario Floreano and Claudio Mattiussi, MIT Press 16
Programmable components that can implement a user specified digital circuits. Programmability is achieved with configuration bits that are downloaded to the component and which represent how logic gates are wired up inside of it.
Out0 = In0 · In1 · … + + In0 · In1 · … + … Out1 = … Out2 = …
Programmable Array Logic (PAL)
and the product lines
Out0 Out1 In0 In1 (Note for the laboratory: obtaining outputs fixed at 0 or 1)
Companion slides for the book Bio-Inspired Artificial Intelligence: Theories, Methods, and Technologies by Dario Floreano and Claudio Mattiussi, MIT Press 17
Programmable Logic Array (PLA)
product lines and between the product outputs and the sum lines PAL PLA Custom reconfigurable digital devices
applications)
Companion slides for the book Bio-Inspired Artificial Intelligence: Theories, Methods, and Technologies by Dario Floreano and Claudio Mattiussi, MIT Press 18
Field Programmable Gate Array (FPG A)
number of inputs and includes some memory elements
configuration bits whose configuration is downloaded into the chip
Example: the XC 6200 family of FPGAs from Xilinx, which is often used for EE applications since the specification of the configuration bits is available and no configuration can damage the chip (this permits unconstrained evolution)
MUX
Func. Unit
MUX MUX
N S E W N S E W N S E W
MUX
S E W F N
MUX
N E W F S
MUX
N S E F W
MUX
N S W F E
Companion slides for the book Bio-Inspired Artificial Intelligence: Theories, Methods, and Technologies by Dario Floreano and Claudio Mattiussi, MIT Press 19
controller for robot navigation
with obstacles that do not allow free navigation but let the robot see the target (X)
[Keymeulen et al., 1998]
1 2 49 50 1 2 3 1 2 8 motor decoder Sensors encoder
PLA
Obstacle detectors detector
direction
M M
...
detectors to a decoder that drives the wheel motors
constitute the genome
from 64 predefined starting positions to the target
Companion slides for the book Bio-Inspired Artificial Intelligence: Theories, Methods, and Technologies by Dario Floreano and Claudio Mattiussi, MIT Press 20
Genetic representation: – The outputs of the functional cells are sequentially numbered – For each cell a few bits encode the connections of the inputs and the block function – Feedback loops are avoided (evolution is constrained)
adders with unconventional topologies or less gates than the smaller hand-designed circuit for the same function
Cartesian Genetic Programming [Miller et al., 2000]
Conventional two-bit multiplier Evolved two-bit multiplier
Companion slides for the book Bio-Inspired Artificial Intelligence: Theories, Methods, and Technologies by Dario Floreano and Claudio Mattiussi, MIT Press 21
[Miller et al., 2000] Conventional three-bit multiplier (24 two-input gates + two multiplexers) Evolved three-bit multiplier (24 two-input gates)
Companion slides for the book Bio-Inspired Artificial Intelligence: Theories, Methods, and Technologies by Dario Floreano and Claudio Mattiussi, MIT Press 22
Xilinx XC 6200 FPGA
[Thompson et al., 1999]
by the 1800 configuration bits of the cells, which specify the connectivity and functionality of the cell
are predefined
to the cells
to the topology (feedback loops allowed)
bursts of the two kinds of signals
Companion slides for the book Bio-Inspired Artificial Intelligence: Theories, Methods, and Technologies by Dario Floreano and Claudio Mattiussi, MIT Press 23 Generations Evolved circuit Functional part
and electromagnetic interactions not contemplated by the conventional design approach
[Thompson et al., 1999]
Functional part as digital circuit
Companion slides for the book Bio-Inspired Artificial Intelligence: Theories, Methods, and Technologies by Dario Floreano and Claudio Mattiussi, MIT Press 24
Companion slides for the book Bio-Inspired Artificial Intelligence: Theories, Methods, and Technologies by Dario Floreano and Claudio Mattiussi, MIT Press 25
has more evolutionary potential than the evolution of digital circuits
in automatic synthesis solutions
algorithms)
configuration bits of the reconfigurable component
example the functionality of circuit elements and the interconnections between those elements
process for the circuit, starting from an elementary circuit (“embryo” + test fixture)
implicitly defined by the genome in terms of sequence matching
Companion slides for the book Bio-Inspired Artificial Intelligence: Theories, Methods, and Technologies by Dario Floreano and Claudio Mattiussi, MIT Press 26
Field Programmable Analog Array (FPAA)
functional blocks (cells).
amplifier
amplifiers, comparators…
interconnections are described by configuration bits whose configuration is downloaded into the chip
FPAA array of configurable analog blocks (CAB) Detail of the analog block
Example: The AN10E40 FPAA from
amplifier with programmable interconnections and on-chip programmable resistors and capacitors.
Companion slides for the book Bio-Inspired Artificial Intelligence: Theories, Methods, and Technologies by Dario Floreano and Claudio Mattiussi, MIT Press 27
Evolvable Motherboard (EM)
analog switches
connected to the matrix with daughterboards.
to the configuration of the switches (1 bit per switch)
fine-grained evolution, or high-level components (e.g. amplifiers, logic gates) for coarse grained evolution.
Example: Evolution
with bipolar transistors Evolved circuit
generations Fitness
Companion slides for the book Bio-Inspired Artificial Intelligence: Theories, Methods, and Technologies by Dario Floreano and Claudio Mattiussi, MIT Press 28
the kinds of electronic devices that can appear in the evolved circuit
device and specifies its parameters and connectivity
connections must be explicitly represented in the genome
can produce dangling components that must be removed before simulation
Companion slides for the book Bio-Inspired Artificial Intelligence: Theories, Methods, and Technologies by Dario Floreano and Claudio Mattiussi, MIT Press 29
kinds of electronic devices that can appear in the evolved circuit
topology and parameters of the circuit
program of circuit development
an “embryo” that contains the fixed sources and loads for the evolved circuit
Companion slides for the book Bio-Inspired Artificial Intelligence: Theories, Methods, and Technologies by Dario Floreano and Claudio Mattiussi, MIT Press 30
(Analog Genetic Encoding – AGE)
in the evolved circuit
specifies sequences of characters associated with its terminals and parameters
resistors) are implicitly defined by the device interaction map f, rather than explicitly represented in the genome
fixed circuit
produce dangling components that must be removed before simulation
Companion slides for the book Bio-Inspired Artificial Intelligence: Theories, Methods, and Technologies by Dario Floreano and Claudio Mattiussi, MIT Press 31
a Gaussian function of a variable input voltage
Evolved circuit I/O behavior
Sequence matching-based (AGE) Tree-based (GP)
Companion slides for the book Bio-Inspired Artificial Intelligence: Theories, Methods, and Technologies by Dario Floreano and Claudio Mattiussi, MIT Press 32
Companion slides for the book Bio-Inspired Artificial Intelligence: Theories, Methods, and Technologies by Dario Floreano and Claudio Mattiussi, MIT Press 33
environment temperature, device variability and aging…)
evaluated
and to verify with conventional techniques Therefore, in the use of evolutionary electronics
Companion slides for the book Bio-Inspired Artificial Intelligence: Theories, Methods, and Technologies by Dario Floreano and Claudio Mattiussi, MIT Press 34
specification and with minimal human intervention in the design process
a conventional design process
methodologies of conventional design do not exist