OpenModelica for Analog IC Design

University essay from PELAB - Laboratoriet för programmeringsomgivningar

Author: David Malo Cid; [2011]

Keywords: ;

Abstract: Modelica is a language supported by Modelica Association. It is a non-proprietary, object-oriented, equation based language to conveniently model complex physical. OpenModelica is an open source environment for the Modelica language supported by Open Source Modelica Consortium (OSMC). The aim of this thesis is the development of a library of models and components for design and simulation of analog integrated circuits and an OMNotebook-based tutorial for an academic purpose as a design tool for an electronics lab. For implementation of this library we got inspired from SPICELib library [2], but we have tried to make it more user-friendly without losing model complexity. The first difference is how analyses are developed. In our library DC, AC and transient variables are calculated for each simulation while in SPICELib you have to instantiate an analysis model and execute it. Also we have included length and width as parameters in most of the components, what is not included in SPICELib. Another difference is the way voltage and current sources are edited which we have tried to do it easier than in SPICELib. Another difference is the way voltage and current sources are edited which we have tried to do it easier than in SPICELib. To add functionality similar to other simulation tools, we have modified a python script that lets you make a parametric sweep, something that was not available in SPICELib. We have used a script already implemented in, which used to simulate a model several times after changing one of the parameters of that model. Using this script as a reference we have adapted it to do those simulations, change the parameter we want after each simulation and finally, plot one of the variables of the model as a function of the parameter that was changed.

  AT THIS PAGE YOU CAN DOWNLOAD THE WHOLE ESSAY. (follow the link to the next page)