![Page 1: Automatic Synthesis Using Genetic Programming of Both the Topology and Sizing for Five Post-2000 Patented Analog and Mixed Analog-Digital Circuits Matthew](https://reader036.vdocuments.net/reader036/viewer/2022081603/56649f325503460f94c4d9a4/html5/thumbnails/1.jpg)
Automatic Synthesis Using Genetic Programming of Both the Topology and Sizing for Five Post-2000 Patented Analog and Mixed Analog-Digital Circuits
Matthew J. StreeterGenetic Programming, Inc.Mountain View, California
Martin A. KeaneEconometrics, Inc.
Chicago, [email protected]
John R. KozaStanford UniversityStanford, California [email protected]
SSMSD 2003, Las Vegas, February 23-25
![Page 2: Automatic Synthesis Using Genetic Programming of Both the Topology and Sizing for Five Post-2000 Patented Analog and Mixed Analog-Digital Circuits Matthew](https://reader036.vdocuments.net/reader036/viewer/2022081603/56649f325503460f94c4d9a4/html5/thumbnails/2.jpg)
Overview
• Basics of Genetic Programming (GP)
• Circuit Synthesis using GP
• Five post-2000 circuits
![Page 3: Automatic Synthesis Using Genetic Programming of Both the Topology and Sizing for Five Post-2000 Patented Analog and Mixed Analog-Digital Circuits Matthew](https://reader036.vdocuments.net/reader036/viewer/2022081603/56649f325503460f94c4d9a4/html5/thumbnails/3.jpg)
Basics of Genetic Programming (GP)
![Page 4: Automatic Synthesis Using Genetic Programming of Both the Topology and Sizing for Five Post-2000 Patented Analog and Mixed Analog-Digital Circuits Matthew](https://reader036.vdocuments.net/reader036/viewer/2022081603/56649f325503460f94c4d9a4/html5/thumbnails/4.jpg)
Main Ideas of GP
• Breed computer programs to solve problems
• Programs represented as trees in style of LISP language
• Programs can create anything (e.g., circuit, equation, circuit+equations)
![Page 5: Automatic Synthesis Using Genetic Programming of Both the Topology and Sizing for Five Post-2000 Patented Analog and Mixed Analog-Digital Circuits Matthew](https://reader036.vdocuments.net/reader036/viewer/2022081603/56649f325503460f94c4d9a4/html5/thumbnails/5.jpg)
Pseudo-code for GP
1) Create initial random population
2) Evaluate fitness
3) Select fitter individuals to reproduce
4) Apply reproduction operations (crossover, mutation) to create new population
5) Return to 2 and repeat until solution found
![Page 6: Automatic Synthesis Using Genetic Programming of Both the Topology and Sizing for Five Post-2000 Patented Analog and Mixed Analog-Digital Circuits Matthew](https://reader036.vdocuments.net/reader036/viewer/2022081603/56649f325503460f94c4d9a4/html5/thumbnails/6.jpg)
Random Initial Population
• Function set: {+, *, /, -}
• Terminal set: {A, B, C}
+ +
*
1
2
+
*
A B
C
(1) Choose “+” (2) Choose “*” (3-5) Choose “A”, “B”, “C”
![Page 7: Automatic Synthesis Using Genetic Programming of Both the Topology and Sizing for Five Post-2000 Patented Analog and Mixed Analog-Digital Circuits Matthew](https://reader036.vdocuments.net/reader036/viewer/2022081603/56649f325503460f94c4d9a4/html5/thumbnails/7.jpg)
Fitness Evaluation
• 4 random equations shown
• Fitness is shaded areaTarget curve
(x2+x+1)
Fitness: 0.67 1.0 1.67 2.67
![Page 8: Automatic Synthesis Using Genetic Programming of Both the Topology and Sizing for Five Post-2000 Patented Analog and Mixed Analog-Digital Circuits Matthew](https://reader036.vdocuments.net/reader036/viewer/2022081603/56649f325503460f94c4d9a4/html5/thumbnails/8.jpg)
Crossover
• Subtrees are swapped to create offspring
0.234Z + X – 0.789
X 0.789
–
0.234 Z
*
+
ZY(Y + 0.314Z)
Z Y
*
0.314 Z
*Y
+
*1 1
2 25 5
8 9
3 34 46 7 76
X 0.789
–
+
0.314 Z
*Y
+
Y + 0.314Z + X – 0.789
Z Y
*
*
0.234 Z
*
0.234Z Y2
Pickedsubtree
Parents
Offspring
Pickedsubtree
![Page 9: Automatic Synthesis Using Genetic Programming of Both the Topology and Sizing for Five Post-2000 Patented Analog and Mixed Analog-Digital Circuits Matthew](https://reader036.vdocuments.net/reader036/viewer/2022081603/56649f325503460f94c4d9a4/html5/thumbnails/9.jpg)
Some Applications of GP
• Classic AI problems (simple planning & control strategies, classification, equation discovery)
• Algorithms (sorting networks, search heuristics, quantum algorithms)
• Art (evolved melodies, images)
• Synthesis (circuits, controllers, antennas, metabolic pathways)
![Page 10: Automatic Synthesis Using Genetic Programming of Both the Topology and Sizing for Five Post-2000 Patented Analog and Mixed Analog-Digital Circuits Matthew](https://reader036.vdocuments.net/reader036/viewer/2022081603/56649f325503460f94c4d9a4/html5/thumbnails/10.jpg)
Circuit Synthesis Using GP
• Computer programs represent circuits via developmental process
• Programs grow a circuit from an initial embryo
• Fitness measured (primarily) by circuit’s frequency or transient response
![Page 11: Automatic Synthesis Using Genetic Programming of Both the Topology and Sizing for Five Post-2000 Patented Analog and Mixed Analog-Digital Circuits Matthew](https://reader036.vdocuments.net/reader036/viewer/2022081603/56649f325503460f94c4d9a4/html5/thumbnails/11.jpg)
Initial Circuit
• Consists of test fixture (VSOURCE, RSOURCE, RLOAD) and embryo (Z0, Z1)
C FLIP
LIST1
2 3
-
![Page 12: Automatic Synthesis Using Genetic Programming of Both the Topology and Sizing for Five Post-2000 Patented Analog and Mixed Analog-Digital Circuits Matthew](https://reader036.vdocuments.net/reader036/viewer/2022081603/56649f325503460f94c4d9a4/html5/thumbnails/12.jpg)
Developmental Process
• Component-inserting functions
• Topology-modifying functions
• Connection functions
C FLIP
LIST1
2 3
-
![Page 13: Automatic Synthesis Using Genetic Programming of Both the Topology and Sizing for Five Post-2000 Patented Analog and Mixed Analog-Digital Circuits Matthew](https://reader036.vdocuments.net/reader036/viewer/2022081603/56649f325503460f94c4d9a4/html5/thumbnails/13.jpg)
Developmental Process: An Example
![Page 14: Automatic Synthesis Using Genetic Programming of Both the Topology and Sizing for Five Post-2000 Patented Analog and Mixed Analog-Digital Circuits Matthew](https://reader036.vdocuments.net/reader036/viewer/2022081603/56649f325503460f94c4d9a4/html5/thumbnails/14.jpg)
Developmental Process: An Example
![Page 15: Automatic Synthesis Using Genetic Programming of Both the Topology and Sizing for Five Post-2000 Patented Analog and Mixed Analog-Digital Circuits Matthew](https://reader036.vdocuments.net/reader036/viewer/2022081603/56649f325503460f94c4d9a4/html5/thumbnails/15.jpg)
Developmental Process: An Example
![Page 16: Automatic Synthesis Using Genetic Programming of Both the Topology and Sizing for Five Post-2000 Patented Analog and Mixed Analog-Digital Circuits Matthew](https://reader036.vdocuments.net/reader036/viewer/2022081603/56649f325503460f94c4d9a4/html5/thumbnails/16.jpg)
Fitness Measure
• Curve-matching (like earlier example) based on circuit’s response in frequency or time domain
• Sometimes have additional constraints (e.g., distortion, low component count)
![Page 17: Automatic Synthesis Using Genetic Programming of Both the Topology and Sizing for Five Post-2000 Patented Analog and Mixed Analog-Digital Circuits Matthew](https://reader036.vdocuments.net/reader036/viewer/2022081603/56649f325503460f94c4d9a4/html5/thumbnails/17.jpg)
Previously Evolved Circuits
• Filters (lowpass, highpass, bandpass)
• Amplifiers (60 and 96 dB amplifiers, negative feedback amplifier)
• Computational circuits (squaring, cubing, square root, cube root, logarithm)
• Voltage reference circuit
• Digital circuits (DAC, NAND)
![Page 18: Automatic Synthesis Using Genetic Programming of Both the Topology and Sizing for Five Post-2000 Patented Analog and Mixed Analog-Digital Circuits Matthew](https://reader036.vdocuments.net/reader036/viewer/2022081603/56649f325503460f94c4d9a4/html5/thumbnails/18.jpg)
Five Post-2000 Patented Circuits
![Page 19: Automatic Synthesis Using Genetic Programming of Both the Topology and Sizing for Five Post-2000 Patented Analog and Mixed Analog-Digital Circuits Matthew](https://reader036.vdocuments.net/reader036/viewer/2022081603/56649f325503460f94c4d9a4/html5/thumbnails/19.jpg)
Patent Inventor InstitutionLow-voltage balun circuit
Sang Gug Lee Information and Communications University
Mixed analog-digital variable capacitor
Turgut Sefket Aytur
Lucent Technologies Inc.
Voltage-current converter
Akira Ikeuchi and Naoshi Tokuda
Mitsumi Electric Co., Ltd.
High-current load circuit
Timothy Daun-Lindberg and Michael Miller
IBM Corporation
Low-Voltage cubic function generator
Stefano Cipriani and Anthony A. Takeshian
Conexant Systems, Inc.
![Page 20: Automatic Synthesis Using Genetic Programming of Both the Topology and Sizing for Five Post-2000 Patented Analog and Mixed Analog-Digital Circuits Matthew](https://reader036.vdocuments.net/reader036/viewer/2022081603/56649f325503460f94c4d9a4/html5/thumbnails/20.jpg)
Setup
• All circuit simulations in SPICE
• Circuits evolved on 1,000 processor supercomputer
• Population between 2 and 5 million, 100-200 generations
![Page 21: Automatic Synthesis Using Genetic Programming of Both the Topology and Sizing for Five Post-2000 Patented Analog and Mixed Analog-Digital Circuits Matthew](https://reader036.vdocuments.net/reader036/viewer/2022081603/56649f325503460f94c4d9a4/html5/thumbnails/21.jpg)
Setup: Low-voltage Balun Circuit
• Produces two half-amplitude signals with 180 degree phase difference
• Patented circuit operates with 1 V power supply
Patented circuit
![Page 22: Automatic Synthesis Using Genetic Programming of Both the Topology and Sizing for Five Post-2000 Patented Analog and Mixed Analog-Digital Circuits Matthew](https://reader036.vdocuments.net/reader036/viewer/2022081603/56649f325503460f94c4d9a4/html5/thumbnails/22.jpg)
Setup: Low-voltage Balun Circuit
• Frequency sweep fitness cases for magnitude & phase angle
• Penalty for total harmonic distortion (THD)
Embryo & Test fixture
![Page 23: Automatic Synthesis Using Genetic Programming of Both the Topology and Sizing for Five Post-2000 Patented Analog and Mixed Analog-Digital Circuits Matthew](https://reader036.vdocuments.net/reader036/viewer/2022081603/56649f325503460f94c4d9a4/html5/thumbnails/23.jpg)
Setup: Voltage-current Converter
• Produces stable output current proportional to difference between two inputs voltages
• Advantage over prior art: inputs not limited by power supply Patented circuit
![Page 24: Automatic Synthesis Using Genetic Programming of Both the Topology and Sizing for Five Post-2000 Patented Analog and Mixed Analog-Digital Circuits Matthew](https://reader036.vdocuments.net/reader036/viewer/2022081603/56649f325503460f94c4d9a4/html5/thumbnails/24.jpg)
Setup: Voltage-current Converter
• Four time-domain fitness cases using various input signals
• Time-varying voltage source VS forces stable output current at IOUT0
Embryo & Test fixture
![Page 25: Automatic Synthesis Using Genetic Programming of Both the Topology and Sizing for Five Post-2000 Patented Analog and Mixed Analog-Digital Circuits Matthew](https://reader036.vdocuments.net/reader036/viewer/2022081603/56649f325503460f94c4d9a4/html5/thumbnails/25.jpg)
Setup: Low-voltage Cubic Function Generator
• Cubing computational circuit using 2 V power supply
Patented circuit
![Page 26: Automatic Synthesis Using Genetic Programming of Both the Topology and Sizing for Five Post-2000 Patented Analog and Mixed Analog-Digital Circuits Matthew](https://reader036.vdocuments.net/reader036/viewer/2022081603/56649f325503460f94c4d9a4/html5/thumbnails/26.jpg)
Setup: Low-voltage Cubic Function Generator
• Four time-domain fitness cases using various input signals
Embryo & Test fixture
![Page 27: Automatic Synthesis Using Genetic Programming of Both the Topology and Sizing for Five Post-2000 Patented Analog and Mixed Analog-Digital Circuits Matthew](https://reader036.vdocuments.net/reader036/viewer/2022081603/56649f325503460f94c4d9a4/html5/thumbnails/27.jpg)
Results: Low-voltage Balun Circuit
• Evolved solution is better in terms of frequency response & THD
• C302 is in the patent claims
• Evolved circuit reads on some, but not all, claims of patent Evolved circuit
![Page 28: Automatic Synthesis Using Genetic Programming of Both the Topology and Sizing for Five Post-2000 Patented Analog and Mixed Analog-Digital Circuits Matthew](https://reader036.vdocuments.net/reader036/viewer/2022081603/56649f325503460f94c4d9a4/html5/thumbnails/28.jpg)
Results: Voltage-current Converter
• Evolved solution has 62% of absolute error of patent circuit on our fitness cases
• Evolved circuit solves problem in explainable way
Evolved circuit
![Page 29: Automatic Synthesis Using Genetic Programming of Both the Topology and Sizing for Five Post-2000 Patented Analog and Mixed Analog-Digital Circuits Matthew](https://reader036.vdocuments.net/reader036/viewer/2022081603/56649f325503460f94c4d9a4/html5/thumbnails/29.jpg)
Results: Low-voltage Cubic Function Generator
• Evolved solution has 59% of absolute error of patent circuit on our fitness cases
Evolved circuit
![Page 30: Automatic Synthesis Using Genetic Programming of Both the Topology and Sizing for Five Post-2000 Patented Analog and Mixed Analog-Digital Circuits Matthew](https://reader036.vdocuments.net/reader036/viewer/2022081603/56649f325503460f94c4d9a4/html5/thumbnails/30.jpg)
Future Work
• Verify SPICE results
• Consider manufacturability (e.g., variation in component values, parasitic effects)
• We are looking for good problems
![Page 31: Automatic Synthesis Using Genetic Programming of Both the Topology and Sizing for Five Post-2000 Patented Analog and Mixed Analog-Digital Circuits Matthew](https://reader036.vdocuments.net/reader036/viewer/2022081603/56649f325503460f94c4d9a4/html5/thumbnails/31.jpg)
![Page 32: Automatic Synthesis Using Genetic Programming of Both the Topology and Sizing for Five Post-2000 Patented Analog and Mixed Analog-Digital Circuits Matthew](https://reader036.vdocuments.net/reader036/viewer/2022081603/56649f325503460f94c4d9a4/html5/thumbnails/32.jpg)
Results: Low-Voltage Balun Circuit
![Page 33: Automatic Synthesis Using Genetic Programming of Both the Topology and Sizing for Five Post-2000 Patented Analog and Mixed Analog-Digital Circuits Matthew](https://reader036.vdocuments.net/reader036/viewer/2022081603/56649f325503460f94c4d9a4/html5/thumbnails/33.jpg)
Results: Voltage-current converter
![Page 34: Automatic Synthesis Using Genetic Programming of Both the Topology and Sizing for Five Post-2000 Patented Analog and Mixed Analog-Digital Circuits Matthew](https://reader036.vdocuments.net/reader036/viewer/2022081603/56649f325503460f94c4d9a4/html5/thumbnails/34.jpg)
Results: Low-voltage cubic function generator