29
SUGAR: A MEMS Simulation Program David Bindel [email protected] UC Berkeley, CS Division MSM 2002 SUGAR Tutorial – p.1/29

SUGAR: A MEMS Simulation Programbindel/present/2002-06-sun.pdfSUGAR: Near-term development Finish non-Matlab SUGAR 3.0 version Rebuild M&MEMS with SUGAR 3.0 Build optical measurement

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: SUGAR: A MEMS Simulation Programbindel/present/2002-06-sun.pdfSUGAR: Near-term development Finish non-Matlab SUGAR 3.0 version Rebuild M&MEMS with SUGAR 3.0 Build optical measurement

SUGAR:A MEMS Simulation Program

David Bindel

[email protected]

UC Berkeley, CS Division

MSM 2002 SUGAR Tutorial – p.1/29

Page 2: SUGAR: A MEMS Simulation Programbindel/present/2002-06-sun.pdfSUGAR: Near-term development Finish non-Matlab SUGAR 3.0 version Rebuild M&MEMS with SUGAR 3.0 Build optical measurement

SUGAR contributorsFaculty Grad students Undergrads

A. Agogino (ME) D. Bindel (CS) W. Kao (CS)

Z. Bai (Math/CS) J.V. Clark (AS&T) A. Kuo (EE)

J. Demmel (Math/CS) D. Garmire (CS) E. Zhu (CS)

S. Govindjee (CEE) B. Jamshidi (CEE)

M. Gu (Math) R. Kamalian (ME)

K.S.J. Pister (EE) S. Lakshmin (CS)

J. Nie (Math)

N. Zhou (ME)

MSM 2002 SUGAR Tutorial – p.2/29

Page 3: SUGAR: A MEMS Simulation Programbindel/present/2002-06-sun.pdfSUGAR: Near-term development Finish non-Matlab SUGAR 3.0 version Rebuild M&MEMS with SUGAR 3.0 Build optical measurement

Overview

� Background, target applications, grand vision

� Simple cantilever beam example

� A bigger example: analysis of a micromirror

� Ongoing work: measurement feedback,synthesis, web-based simulation

MSM 2002 SUGAR Tutorial – p.3/29

Page 4: SUGAR: A MEMS Simulation Programbindel/present/2002-06-sun.pdfSUGAR: Near-term development Finish non-Matlab SUGAR 3.0 version Rebuild M&MEMS with SUGAR 3.0 Build optical measurement

Levels of simulation

� Solve continuum equations (momentumconservation, Maxwell’s, etc.)

� Solve simplified equations of beam and platetheory (structural elements)

� Solve network equations (e.g. modified nodalanalysis in SPICE; Simulink models)

� These approaches are not mutually exclusive!

� Share similar software structures

MSM 2002 SUGAR Tutorial – p.4/29

Page 5: SUGAR: A MEMS Simulation Programbindel/present/2002-06-sun.pdfSUGAR: Near-term development Finish non-Matlab SUGAR 3.0 version Rebuild M&MEMS with SUGAR 3.0 Build optical measurement

Where does SUGAR fit?

� Primarily simulates electromechanicalsystems

� Has element models at the structural andnetwork levels

� Provides a flexible language for devicedescription

� Performs static, frequency-response, modal,and (some) transient analysis

� Can build quick models that get high-levelbehavior

MSM 2002 SUGAR Tutorial – p.5/29

Page 6: SUGAR: A MEMS Simulation Programbindel/present/2002-06-sun.pdfSUGAR: Near-term development Finish non-Matlab SUGAR 3.0 version Rebuild M&MEMS with SUGAR 3.0 Build optical measurement

Where does SUGAR fit?

� Freely available and open source

� www.sourceforge.net/project/mems

� sugar.millennium.berkeley.edu

� Useful for education and prototyping

� Building block for higher-level operations

� e.g. Design synthesis and optimization

� Part of work to “close design loop”

� Simulation (SUGAR)

� Measurement instruments

MSM 2002 SUGAR Tutorial – p.6/29

Page 7: SUGAR: A MEMS Simulation Programbindel/present/2002-06-sun.pdfSUGAR: Near-term development Finish non-Matlab SUGAR 3.0 version Rebuild M&MEMS with SUGAR 3.0 Build optical measurement

SUGAR architecture

System assembly

Models

Solvers

Matlab Web Library

Static analysis

Transient analysis

Results

Netlist Steady−state, modal analysis

User interfaces(Matlab)Extension interfaces

MSM 2002 SUGAR Tutorial – p.7/29

Page 8: SUGAR: A MEMS Simulation Programbindel/present/2002-06-sun.pdfSUGAR: Near-term development Finish non-Matlab SUGAR 3.0 version Rebuild M&MEMS with SUGAR 3.0 Build optical measurement

SUGAR: Recent evolution

� Early 01: SUGAR 2.0 released

� Summer 01: Initial involvement of SUGARgroup with Matisse

� Summer 01: Development of first publicversion of M&MEMS

� Fall 01: M&MEMS used for EE 245

� Winter 02: Initial version of SUGAR 3.0

� Winter 02: N. Zhou finished thesis (GAsynthesis of MEMS)

� Spring 02: SUGAR 3.0 public release

MSM 2002 SUGAR Tutorial – p.8/29

Page 9: SUGAR: A MEMS Simulation Programbindel/present/2002-06-sun.pdfSUGAR: Near-term development Finish non-Matlab SUGAR 3.0 version Rebuild M&MEMS with SUGAR 3.0 Build optical measurement

SUGAR: Near-term development

� Finish non-Matlab SUGAR 3.0 version

� Rebuild M&MEMS with SUGAR 3.0

� Build optical measurement comparisonframework

� Finish several models in development (plates,improved electrostatics)

� Move “user” codes to SUGAR 3.0(e.g. simulated annealing synthesis code andMonte-Carlo based sensitivity analysis code)

MSM 2002 SUGAR Tutorial – p.9/29

Page 10: SUGAR: A MEMS Simulation Programbindel/present/2002-06-sun.pdfSUGAR: Near-term development Finish non-Matlab SUGAR 3.0 version Rebuild M&MEMS with SUGAR 3.0 Build optical measurement

Running a simple analysisnet = cho_load(’cantilever.net’);cho_display(net);dq = cho_dc(net);cho_display(net, dq);dy = cho_dq_view(dq,net,’tip’,’y’)

� Load and display device description

� Analyze and display static displacement

� Get y-displacement of tip

MSM 2002 SUGAR Tutorial – p.10/29

Page 11: SUGAR: A MEMS Simulation Programbindel/present/2002-06-sun.pdfSUGAR: Near-term development Finish non-Matlab SUGAR 3.0 version Rebuild M&MEMS with SUGAR 3.0 Build optical measurement

Deflected cantilever

MSM 2002 SUGAR Tutorial – p.11/29

Page 12: SUGAR: A MEMS Simulation Programbindel/present/2002-06-sun.pdfSUGAR: Near-term development Finish non-Matlab SUGAR 3.0 version Rebuild M&MEMS with SUGAR 3.0 Build optical measurement

A bigger example

� Micromirror design due to Matt Last

� Model has roughly 11K degrees of freedomMSM 2002 SUGAR Tutorial – p.12/29

Page 13: SUGAR: A MEMS Simulation Programbindel/present/2002-06-sun.pdfSUGAR: Near-term development Finish non-Matlab SUGAR 3.0 version Rebuild M&MEMS with SUGAR 3.0 Build optical measurement

Micromirror SEM

MSM 2002 SUGAR Tutorial – p.13/29

Page 14: SUGAR: A MEMS Simulation Programbindel/present/2002-06-sun.pdfSUGAR: Near-term development Finish non-Matlab SUGAR 3.0 version Rebuild M&MEMS with SUGAR 3.0 Build optical measurement

Simulated frequency response

0 1000 2000 3000 4000 5000 6000 7000 8000 9000 1000040

60

80

100

120

140

Frequency (Hz)

Gai

n (d

B)

Bode plot

0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000−200

−100

0

100

200

Frequency (Hz)

phas

e(de

gree

)

MSM 2002 SUGAR Tutorial – p.14/29

Page 15: SUGAR: A MEMS Simulation Programbindel/present/2002-06-sun.pdfSUGAR: Near-term development Finish non-Matlab SUGAR 3.0 version Rebuild M&MEMS with SUGAR 3.0 Build optical measurement

Measured frequency response

MSM 2002 SUGAR Tutorial – p.15/29

Page 16: SUGAR: A MEMS Simulation Programbindel/present/2002-06-sun.pdfSUGAR: Near-term development Finish non-Matlab SUGAR 3.0 version Rebuild M&MEMS with SUGAR 3.0 Build optical measurement

First resonant mode

MSM 2002 SUGAR Tutorial – p.16/29

Page 17: SUGAR: A MEMS Simulation Programbindel/present/2002-06-sun.pdfSUGAR: Near-term development Finish non-Matlab SUGAR 3.0 version Rebuild M&MEMS with SUGAR 3.0 Build optical measurement

Second resonant mode

MSM 2002 SUGAR Tutorial – p.17/29

Page 18: SUGAR: A MEMS Simulation Programbindel/present/2002-06-sun.pdfSUGAR: Near-term development Finish non-Matlab SUGAR 3.0 version Rebuild M&MEMS with SUGAR 3.0 Build optical measurement

Third resonant mode

MSM 2002 SUGAR Tutorial – p.18/29

Page 19: SUGAR: A MEMS Simulation Programbindel/present/2002-06-sun.pdfSUGAR: Near-term development Finish non-Matlab SUGAR 3.0 version Rebuild M&MEMS with SUGAR 3.0 Build optical measurement

Existing models

� Mechanical: anchor, beam2d, beam3d, f2d,f3d, rigid, constraint

� Electrical: L, R, C, Isrc, Vsrc, opamp, vcvs

� Coupled: comb2d, gap2dforce, gap3dforce

� Subnets: beam2de, beam3de, gap2de,gap3de

MSM 2002 SUGAR Tutorial – p.19/29

Page 20: SUGAR: A MEMS Simulation Programbindel/present/2002-06-sun.pdfSUGAR: Near-term development Finish non-Matlab SUGAR 3.0 version Rebuild M&MEMS with SUGAR 3.0 Build optical measurement

Models under construction

� Plates

� Simple hinges and sliders

� Anisotropic beams

� Nonlinear beams

� Thermal circuit analogues

� Electrothermal and thermomechanical

MSM 2002 SUGAR Tutorial – p.20/29

Page 21: SUGAR: A MEMS Simulation Programbindel/present/2002-06-sun.pdfSUGAR: Near-term development Finish non-Matlab SUGAR 3.0 version Rebuild M&MEMS with SUGAR 3.0 Build optical measurement

Future models

� Contact models

� Improved damping

� Wrappers around FEAP models

� Controllers

MSM 2002 SUGAR Tutorial – p.21/29

Page 22: SUGAR: A MEMS Simulation Programbindel/present/2002-06-sun.pdfSUGAR: Near-term development Finish non-Matlab SUGAR 3.0 version Rebuild M&MEMS with SUGAR 3.0 Build optical measurement

Analyses

� Current

� Static equilibrium

� Steady-state frequency-response analysis

� Modal analysis

� Transient analysis (2.0)

� Future

� Sensitivity (various flavors)

� Bifurcation analysis

MSM 2002 SUGAR Tutorial – p.22/29

Page 23: SUGAR: A MEMS Simulation Programbindel/present/2002-06-sun.pdfSUGAR: Near-term development Finish non-Matlab SUGAR 3.0 version Rebuild M&MEMS with SUGAR 3.0 Build optical measurement

Ongoing numerical work

� Have adopted standard sparse solverpackages for linear solves and modal analysis

� Reduced order modeling techniques (used formirror steady-state response analysis)

� Incorporating newest DAE solvers (IDA);parameter sensitivity for DAEs

� Bifurcation analysis of DAE systems

� CIS algorithm for large-scale bifurcationanalysis

� Dealing with multi-scale problems

� Building test case libraryMSM 2002 SUGAR Tutorial – p.23/29

Page 24: SUGAR: A MEMS Simulation Programbindel/present/2002-06-sun.pdfSUGAR: Near-term development Finish non-Matlab SUGAR 3.0 version Rebuild M&MEMS with SUGAR 3.0 Build optical measurement

Closing the design loop

� Integrate measurement and simulationfacilities

� R. Muller, R. Kant, C. Rembe, M. Youngworking on measurements at UCB

� Other groups at CMU, MIT, Sarnoff

� Feedback measured data into simulation,design

� Compare simulation and reality

� Parameter extraction, sensitivity studies

� Make facilities available as a “virtual lab”

MSM 2002 SUGAR Tutorial – p.24/29

Page 25: SUGAR: A MEMS Simulation Programbindel/present/2002-06-sun.pdfSUGAR: Near-term development Finish non-Matlab SUGAR 3.0 version Rebuild M&MEMS with SUGAR 3.0 Build optical measurement

M&MEMS: SUGAR on the Webhttp://sugar.millennium.berkeley.edu/

MSM 2002 SUGAR Tutorial – p.25/29

Page 26: SUGAR: A MEMS Simulation Programbindel/present/2002-06-sun.pdfSUGAR: Near-term development Finish non-Matlab SUGAR 3.0 version Rebuild M&MEMS with SUGAR 3.0 Build optical measurement

M&MEMS

� Hosted on UCB Millennium cluster

� Used in Introduction to MEMS course, Fall2001

� Accounts available for outside users

� Currently offline while upgrading to SUGAR3.0

MSM 2002 SUGAR Tutorial – p.26/29

Page 27: SUGAR: A MEMS Simulation Programbindel/present/2002-06-sun.pdfSUGAR: Near-term development Finish non-Matlab SUGAR 3.0 version Rebuild M&MEMS with SUGAR 3.0 Build optical measurement

Design synthesis and optimization

� Genetic algorithms to evolve new designs

� Also simulated annealing approach

� Specializing designs from a library

� N. Zhou, B. Zhu, A. Agogino, and K. Pister:“Evolutionary Synthesis of MEMS(Microelectronic Mechanical Systems)Design” (ANNIE 2001). First Runner-up forNovel Smart Engineering System DesignAward.

MSM 2002 SUGAR Tutorial – p.27/29

Page 28: SUGAR: A MEMS Simulation Programbindel/present/2002-06-sun.pdfSUGAR: Near-term development Finish non-Matlab SUGAR 3.0 version Rebuild M&MEMS with SUGAR 3.0 Build optical measurement

Functional decomposition and GA

MSM 2002 SUGAR Tutorial – p.28/29

Page 29: SUGAR: A MEMS Simulation Programbindel/present/2002-06-sun.pdfSUGAR: Near-term development Finish non-Matlab SUGAR 3.0 version Rebuild M&MEMS with SUGAR 3.0 Build optical measurement

Conclusion

� Web links

� bsac.eecs.berkeley.edu/˜cfm

� www.sourceforge.net/project/mems

� sugar.millennium.berkeley.edu

� SUGAR is actively used

� Educationally

� For prototyping and exploring

� As a testbed for larger projects

MSM 2002 SUGAR Tutorial – p.29/29