mems design using genetic algorithms

35
MEMS Design using MEMS Design using Genetic Algorithms Genetic Algorithms Carlo H. Séquin EECS Computer Science Division University of California, Berkeley CS 285

Upload: yvon

Post on 06-Jan-2016

53 views

Category:

Documents


1 download

DESCRIPTION

CS 285. MEMS Design using Genetic Algorithms. Carlo H. Séquin EECS Computer Science Division University of California, Berkeley. Genetic Algorithms. Pursue several design variations in parallel (many phenotypes in each generation) - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: MEMS Design using Genetic Algorithms

MEMS Design usingMEMS Design usingGenetic AlgorithmsGenetic Algorithms

Carlo H. Séquin

EECS Computer Science Division

University of California, Berkeley

CS 285

Page 2: MEMS Design using Genetic Algorithms

Genetic AlgorithmsGenetic Algorithms

Pursue several design variations in parallel(many phenotypes in each generation)

Evaluate their “fitness” (how well they meet the various design objectives Pareto set)

Use best designs to “breed” new off-springs(by modifying / combining their genes)

Expectation: Good traits will stick around,bad solution will be weeded out ...

Page 3: MEMS Design using Genetic Algorithms

The “genome” is the ultimate The “genome” is the ultimate parameterization of a design,parameterization of a design,given the proper proceduregiven the proper procedure

to interpret that codeto interpret that code

Without the proper framework, the genome is meaningless. (e.g., human DNA on a planet in the Alpha-Centauri System)

Page 4: MEMS Design using Genetic Algorithms

An ExperimentAn Experiment

Let ME students design a MEMS resonator

Students (initially) had no IC experience

Good programmers

Excited about Genetic Algorithms

Page 5: MEMS Design using Genetic Algorithms

Micro-Electromechanical SystemsMicro-Electromechanical SystemsMEMSMEMS

Created with a somewhat enhanced fabrication technology used for integrated circuits.

Many nifty devices and systems have been built: motors, steerable mirrors, accelerometers, chemo sensors ...

Page 6: MEMS Design using Genetic Algorithms

The Design of a MEMS ResonatorThe Design of a MEMS Resonator Filters

Accelerometers

Gyroscopes

Prevent horizontaloscillations !

Resonate vertically at desired frequency

Page 7: MEMS Design using Genetic Algorithms

Basic MEMS ElementsBasic MEMS Elements

Beam H-shaped center mass

Comb driveAnchor to substrate

Page 8: MEMS Design using Genetic Algorithms

A General Set-Up for OptimizationA General Set-Up for Optimization Poly-line suspensions at 4 corners.

Adjust resonant frequency F

Get Kx Ky into OK ranges

Minimize layout area

Page 9: MEMS Design using Genetic Algorithms

Need an Electro-Mechanical Simulator !Need an Electro-Mechanical Simulator !

“SUGAR”

“SPICE for the MEMS World”(open source just like SPICE)

Fast,Simple,

Capable.

DESIGN

MEASUREMENT SIMULATION

Page 10: MEMS Design using Genetic Algorithms

A Possible PhenotypeA Possible Phenotype

Adjust resonant frequency to 10.0 ± 0.5 kHz

Bring Kx / Ky into acceptable range ( >10 )

Minimize size of bounding box; core fixed

Page 11: MEMS Design using Genetic Algorithms

MEMS Actually Built and MeasuredMEMS Actually Built and Measured

Page 12: MEMS Design using Genetic Algorithms

Genetic Algorithm in Action !Genetic Algorithm in Action !

Area = 0.181 mm2; Kx/Ky = 12

Page 13: MEMS Design using Genetic Algorithms

Use 4-Fold Symmetry !Use 4-Fold Symmetry !

1st-order compensation of fabrication variations

Page 14: MEMS Design using Genetic Algorithms

Using 4-fold SymmetryUsing 4-fold Symmetry

Faster search ! Area = 0.171 mm2; Kx/Ky = 12

Page 15: MEMS Design using Genetic Algorithms

X,Y-Symmetry; Axis-Aligned BeamsX,Y-Symmetry; Axis-Aligned Beams

Area = 0.211 mm2; Kx/Ky = 118

Page 16: MEMS Design using Genetic Algorithms

Introduce Serpentine ElementIntroduce Serpentine Element

A higher-order composite subsystemwith only five parameters: N , Lh, Wh, Lv, Wv

N=3

Wv

Lh

Wh Lv

Page 17: MEMS Design using Genetic Algorithms

Proper Use of Serpentine Sub-DesignProper Use of Serpentine Sub-Design

That is what we had in mind ...

Page 18: MEMS Design using Genetic Algorithms

Proper Use of Serpentine ElementProper Use of Serpentine Element

Area = 0.143 mm2; Kx/Ky = 11Reduce X-dimension of layoutby introducing more serpentine loops

Page 19: MEMS Design using Genetic Algorithms

Trying to Reduce AreaTrying to Reduce Area

Area = 0.131 mm2; Kx/Ky = 4 !!

soft Kx flare out

Page 20: MEMS Design using Genetic Algorithms

Increasing Stiffness KIncreasing Stiffness Kxx

Connecting bars suppress horizontal oscillations

But branched suspensions may not be expressible in genome ( = underlying data structure ).

Page 21: MEMS Design using Genetic Algorithms

Using Cross-Linked SerpentinesUsing Cross-Linked Serpentines

Area = 0.126 mm2; Kx/Ky = 36

PROFESSIONAL DESIG

N

Page 22: MEMS Design using Genetic Algorithms

Why Does the G.A. Not Find This ?Why Does the G.A. Not Find This ?

Lack of expressibility of genome.

Solution space too large, too rugged ...

Sampling is too sparse !

Samples are not driven to local optima.

Page 23: MEMS Design using Genetic Algorithms

““Holey” Fitness SpaceHoley” Fitness Space

Open-ended engineering problems have complicated, higher-dimensional solution / fitness spaces.

Page 24: MEMS Design using Genetic Algorithms

1. Generation – a random sampling20. Generation – drifting to higher ground50. Generation – clustered near high mountains

A Rugged Solution SpaceA Rugged Solution Space

No phenotype is on the top of a peakNo phenotype is on the top of a peak

Good intermediate solutions may get lostGood intermediate solutions may get lost

Page 25: MEMS Design using Genetic Algorithms

What really happened here ?What really happened here ?

Major improvement steps came by engineering insights.

Genetic algorithm found good solutions for the newly introduced configurations.

With few enough parameters & clear objectives, greedy optimization may be more efficient.

With complex multiple objectives, G.A. may have advantage of parallel exploration.

Page 26: MEMS Design using Genetic Algorithms

What Are Genetic Algorithms Good For ?What Are Genetic Algorithms Good For ?

Exploring unknown territory

Generating a first set of ideas

Showing different subsystem solutions

How can this be harnessed most effectivelyin an engineering design environment ?

Page 27: MEMS Design using Genetic Algorithms

Uncharted TerritoryUncharted Territory

Task: Design a robot that climbs trees !Task: Design a robot that climbs trees !

How do you get started ??How do you get started ??

Page 28: MEMS Design using Genetic Algorithms

Making G.A. Useful for EngineeringMaking G.A. Useful for Engineering

G.A. by itself is not a good engineering tool

G.A.

Selectivebreeding Greedy

Optimization

Selection ofgood startingphenotypes

Suggestiveediting

Visualization

Page 29: MEMS Design using Genetic Algorithms
Page 30: MEMS Design using Genetic Algorithms

OPASYNOPASYNA Compiler for CMOS Operational AmplifiersA Compiler for CMOS Operational Amplifiers

H.Y. Koh, C.H. SH.Y. Koh, C.H. Séquin, P.R. Gray, 1990équin, P.R. Gray, 1990

Synthesizing on-chip operational amplifiers to given specifications and IC layout areas.

1. Case-based reasoning (heuristic pruning)selects from 5 proven circuit topologies.

2. Parametric circuit optimization to meet specs.

3. IC Layout generation based on macro cells.

Page 31: MEMS Design using Genetic Algorithms

MOS Operational Amplifier (1 of 5)MOS Operational Amplifier (1 of 5)

Only five crucial design parameters !

Page 32: MEMS Design using Genetic Algorithms

Op-Amp Design (OPASYN, 1990)Op-Amp Design (OPASYN, 1990)

Multiple Objectives:

power dissipation (mW)

output voltage swing (V)

output slew rate (V/nsec)

open loop gain ()

settling time (nsec)

unity gain bandwidth (MHz)

1/f-noise (V*Hz-½)

total layout area (mm2)

“Cost” of Design = weighted sum of deviations

Page 33: MEMS Design using Genetic Algorithms

OPASYN Search MethodOPASYN Search Method

Design-parameter spaceRegular sampling followed by gradient ascent

Hard design constraints

Fitness

Cost

Page 34: MEMS Design using Genetic Algorithms

MOS Op-Amp LayoutMOS Op-Amp Layout

Following circuit synthesis & optimization, other heuristic optimization procedures produce layout with desired aspect ratio.

Page 35: MEMS Design using Genetic Algorithms

Synthesis in Established FieldsSynthesis in Established Fields

Filter design and MOS Op-Amp synthesishave well-established engineering practices.

Efficiently parameterized designs as wellasrobust and efficient design procedures exist.

Experience is captured in special-purpose programs and used for automated synthesis.

But what if we need to design something in “uncharted engineering territory” ?