Computer simulations are powerful tools in the designer’s toolbox, giving an estimate of what the device will actually do once realized. Two such tools, Simulink and SPICE are commonly used to design, simulate, and verify models in the mechanical and electronic domains, respectively. Challenges can arise, however, when attempting to simulate behaviors of hybrid systems that possies both electronic and mechancial subsystems. For example, in microelectromechanical systems (MEMS) designs, variable capacitors are frequent methods for sensing and actuating. While straightforward to model in Simulink, MEMS are not intuitive to model in SPICE, where the control electronics are simulated. On the other hand, SIMULINK is a less mature tool than SPICE for simulating electronic behaviors — SPICE already posseses large libraries of electronic device models. Thus, current MEMS designers lack a straightforward method to simulate and verify variable capacitors in a transient electronic circuit in SPICE, since the entire mechanical system must be converted from Simulink and verified. This paper presents a technique for embedding NGSPICE, an open-source SPICE implementation, inside a Simulink model via a S-function block, enabling a full system model for transient responses to be realized. A Level 2 M-file S-function block implements the calling and parsing of the associated electronic subsystem circuit file. The required modifications for the circuit file to the Simulink model are described. Validation testing using a low-pass filter type circuits with constant and variable capacitance are presented. Some examples are presented and discussed.
Skip Nav Destination
ASME 2010 International Mechanical Engineering Congress and Exposition
November 12–18, 2010
Vancouver, British Columbia, Canada
Conference Sponsors:
- ASME
ISBN:
978-0-7918-4445-8
PROCEEDINGS PAPER
A Technique for Embedding SPICE in a Simulink Environment for MEMS Simulations
Christopher G. Wilson,
Christopher G. Wilson
Auburn University, Auburn University, AL
Search for other works by this author on:
Robert Dean,
Robert Dean
Auburn University, Auburn University, AL
Search for other works by this author on:
George T. Flowers,
George T. Flowers
Auburn University, Auburn University, AL
Search for other works by this author on:
John Y. Hung
John Y. Hung
Auburn University, Auburn University, AL
Search for other works by this author on:
Christopher G. Wilson
Auburn University, Auburn University, AL
Robert Dean
Auburn University, Auburn University, AL
George T. Flowers
Auburn University, Auburn University, AL
John Y. Hung
Auburn University, Auburn University, AL
Paper No:
IMECE2010-38394, pp. 453-458; 6 pages
Published Online:
April 30, 2012
Citation
Wilson, CG, Dean, R, Flowers, GT, & Hung, JY. "A Technique for Embedding SPICE in a Simulink Environment for MEMS Simulations." Proceedings of the ASME 2010 International Mechanical Engineering Congress and Exposition. Volume 8: Dynamic Systems and Control, Parts A and B. Vancouver, British Columbia, Canada. November 12–18, 2010. pp. 453-458. ASME. https://doi.org/10.1115/IMECE2010-38394
Download citation file:
19
Views
Related Proceedings Papers
Related Articles
Linear Fluid Resistance Using Switching Valves and a Tank
J. Dyn. Sys., Meas., Control (December,1981)
Modeling-Simulation and Analysis of MEMS Capacitive Millibar Pressure Sensor
J. Nanotechnol. Eng. Med (November,2010)
Dynamic Reduced Electrothermal Model for Integrated Power Electronics Modules (IPEM)
J. Electron. Packag (December,2004)
Related Chapters
Memristor: Bryond Moore's Law and Digital Computing
International Conference on Computer and Electrical Engineering 4th (ICCEE 2011)
Spice Model on High Frequency Vibration for CMUT Application
International Conference on Mechanical and Electrical Technology, 3rd, (ICMET-China 2011), Volumes 1–3
Introduction
Thermal Management of Microelectronic Equipment, Second Edition