User manual
page 84
Analog System Lab Kit PRO
appendix B
Simulation models are very useful in the design phase of an electronic system.
Before a system is actually built using real components, it is necessary to perform
a‘softwarebreadboarding’exercisethroughsimulationtoverifythefunctionality
of the system and to measure its performance. If the system consists of several
building blocks B1, B2, ..., Bn, the simulator requires a mathematical representation
of each of these building blocks in order to predict the system performance. Let us
consideraverysimpleexampleofapassivecomponentsuchasaresistor.Ohm’slaw
can be used to model the resistor if we intend to use the resistor in a DC circuit. But
if the resistor is used in a high frequency application, we may have to think about
the parasitic inductances and capacitances associated with the resistor. Similarly,
the voltage and current may not have a strict linear relation due to the dependence
oftheresistivityontemperatureofoperation,skineect,andsoon.Thisexample
illustrates that there is no single model for an electronic component. Depending
on the application and the accuracy desired, we may have to use simpler or more
complex mathematical models.
We will use another example to illustrate the above point. The MOS transistor,
which is the building block of most integrated circuits today, is introduced at the
beginning of the course on VLSI design. In a digital circuit, the transistor may be
simplymodeledasanidealswitchthatcanbeturnedonorobycontrollingthe
gatevoltage.This model issucientifweareonlyinterestedinunderstanding
the functionality of the circuit. If we wish to analyze the speed of operation of the
circuit or the power dissipation in the circuit, we will need to model the parasitics
associated with the transistors. If the same transistor is used in an analog circuit,
the model that we use in the analysis would depend on the accuracy which we want
intheanalysis.Wemayperformdierentkindsofanalysisforananalogcircuit-
DC analysis, transient analysis, and steady-state analysis. Simulators such as SPICE
requiretheusertospecifythemodelforthetransistor.Therearemanydierent
models available today for the MOS transistor, depending on the desired accuracy.
The level-1 model captures the dependence of the drain-to-source current on the
gate-to-source and drain-to-source voltages, the mobility of the majority carrier,
the width and length of the channel, and the gate oxide thickness. It also considers
non-idealities such as channel length modulation in the saturation region, and the
dependence of the threshold voltage on the source-to-bulk voltage. More complex
models for the transistor are available, which have more than 50 parameters.
Ifyouhavebuiltanoperationalamplierusingtransistors,astraight-forwardway
to analyze the performance of the OP-Amp is to come up with the micromodel of the
OPAMAP, where each transistor is simply replaced with its corresponding simulation
model. Micromodels will lead to accurate simulation, but will prove computationally
A macromodel is a mathematical convenience that helps to reduce simulation
complexity. The idea is to replace the actual circuit by something that is simpler,
but is nearly equivalent in terms of input characteristics, output characteristics, and
feedforward characteristics. Simulation of a complete system becomes much more
simple when we use macromodels for the blocks. Manufacturers of semiconductors
provide macromodels for their products to help system designers in the process of
systemcongurationselection. The macromodelscanbe loaded intoa simulator.
B.1 Micromodels
B.2 Macromodels
intensive. As the number of nodes in the circuit increases, the memory requirement
will be higher and the convergence of the simulation can take longer.
A macromodel is a way to address the problem of space-time complexity mentioned
above. In today’s electronic systems we make use of analog circuits such as
operationalampliers,dataconverters,PLL,VCO,voltageregulators,andsoon.
The goal of the system designer is not only to get a functionally correct design,
but also to optimize the cost and performance of the system. The system-level
cost and performance depend on the way the building blocks B1, B2,..., Bn have
been implemented. For example, if B1 is an OP-Amp, we may have several choices
ofoperationalampliers.TexasInstrumentsoersalargenumberofoperational
ampliers that a system designer can choose from.Referto Table B.1. As you
willsee,therearecloseto2000typesofoperationalampliersavailable!These
arecategorized into 17 dierentbins tomake the selection simpler.However,
you will notice that 240 varieties are available in the category of Standard Linear
amplifers! How does a system designer select from this large collection? To
understandthis,youmustlookatthecharacteristicsofastandardlinearamplier
- these include the number of operational ampliers in a single package, the
GainBandwidth Productoftheamplier,theCMRR,Vs(min),Vs(max),and so
on. See http://tinyurl.com/ti-std-linear. The website allows you to specify these
parameters and narrow your choices.
But how does one specify the parameters for the components? The overall
system performance will depend on the way the parameters for the individual
components have been selected. For example, the gain-bandwidth product of an
operationalamplierB1willinuenceasystem-levelparametersuchasthenoise
immunity or stability. If one has n components in the system, and there are m
choices for each component, there are m·npossiblesystemcongurations.Even
if we are able to narrow the choices through some other considerations, we may
stillhavetoevaluateseveralsystemcongurations.Performingsimulationsusing
micromodels will be a painstaking and non-productive way of selecting system
congurations.