-
Switched-capacitor Analysis MOS Circuit Simulator,
SAMOC.
-
motivation:
-
use extremely simplified circuit models to enlarge the size of simulated
analog VLSI.
-
simplified circuit models contain semiconductor devices such as MOS transistors
and ideal diodes.
-
ideal switches, ideal capacitors and ideal OPAMPs models are used for switched-capacitor
network simulations.
-
circuit partitioning and even driven simulation make analysis of analog
VLSI circuits feasible.
-
SAMOC is written in C++ with MFC and runs in MS Win95/98 and NT.
-
The inheritance of classes are good for handling different types of circuit
devices.
-
The main classes are: device class, node class, circuit class, circuit
block (subcircuit) class, solve classes (different solving methods either
for the whole circuit or for the extracted circuit blocks), and some data
visualiztion classes.
-
Interconnected pointers data structure for fast data manipulating.
-
SAMOC uses many virtual functions based on the inheritance class structure
for devices. The virtual functions are mainly used in
-
circuit partitioning (circuit block extraction): different type of devices
have different ways to be included into a circuit block.
-
circuit equation formulation (filling the device stamps): different type
of devices have different device stamps.
-
SAMOC uses CString of MFC class to manipulate device names and node names.
Especially it makes coding of SPICE reader easy.
-
SAMOC uses CTypedPtrArray MFC class to manage and collect linked devices,
nodes and circuit block objects.
-
The code editing and debugging takes place in MS Visual Studio environment.
-
The purpose of developing SAMOC is to create a circuit simulation based
design "verification" environment. At present stage SAMOC is aimed
at
-
DC analysis of huge MOS circuits.
-
and switched-capacitor network analysis.
-
SAMOC will read SPICE circuit format.
-
SAMOC right now is based on
-
Modified Nodal Analysis (MNA)
-
Good for modeling of controlled sources, ideal switches and ideal diodes.
-
Creates less circuit equations than tableau formulation
-
Piecewise linear approach to nonlinear resistive devices such as PMOS,
NMOS, Ideal Diodes ....
MOS Transistor model used in SAMOC
-
Katzenelson algorithm is used to solve the piecewise
linear system.
-
The DC models of MOS transistors and ideal diodes used in SAMOC are piecewise
linear.
-
Gaussian Elimination Matrix Solver.
-
This method tolerates singularity of the circuit matrix caused by ideal
switches.
-
SAMOC works for Switched-capacitor networks such as SC filters and DC-DC
Charge Pumps.
-
a switched-capacitor network contains only
-
capacitors
-
voltage sources (dependent or independent)
-
ideal diodes
-
ideal switches
-
OPAMP
-
ideal charge transferring is assumed
-
analysis takes place in Q-V realm
-
output resistance - load analysis (power transfer)
-
assumes taht there is only one resistive device in the resistive load analysis
in the switched-capacitor network
-
With help of using Matlab SAMOC
can do switched-capacitor (sc) filter analysis
-
Circuit blocks analysis in SAMOC
-
I-V circuit partitioning: I-V realm block extraction.
-
Q-V circuit partitioning: Q-V realm block extraction.
-
I-V realm block analysis
-
Q-V realm block analysis
-
block graph is built according to posterior-prior relationships caused
by :
-
MOS transistors. (modeled by a voltage controlled resistive device)
-
controlled sources.
-
junctions between I-V realm block and Q-V realm blocks.
-
simulating a circuit with acyclic block graph (before the development of
delay estimation)
an example of circuit partitioning
-
SAMOC can do
-
automatic circuit partitioning
-
event driven simulation
-
SAMOC will do
-
simulation event scheduling (a simulation queue)
-
simulating a circuit with cyclic graph block structure.
-
DC sweep (pdf 25k) of a wide-range
transconductance amplifier.
-
The recent research results about using SAMOC for switched-capacitor network
design is in the Charge pump paper.
-
SAMOC contains a crude plotter for fast data visualization. However,
all plots shown were made by Matlab by exporting data from SAMOC.
-
SAMOC is based on a doctoral research performed by Dr. Ying-Wei Jan and
the source code is available either from him or Dr. Janusz Starzyk.
SAMOC programmers' note explains all classes and member functions inside
SAMOC. It needs MS VC++ to compile.