10.06.2016 Views

eldo_user

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Monte Carlo Analysis<br />

Monte Carlo Analysis Examples<br />

Monte Carlo Analysis Examples<br />

This section contains the following examples of Monte Carlo Analysis:<br />

A Simple Passive Low-Pass Filter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 526<br />

Importance Sampling Monte Carlo Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 528<br />

Model-Based Approximations Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 532<br />

Further Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 534<br />

A Simple Passive Low-Pass Filter<br />

You can easily see the effects of Monte Carlo analysis in a simple passive low-pass filter.<br />

.MODEL C CAP DEV=20%<br />

.MODEL R RES LOT=20% DEV=5%<br />

.MC 1000 ALL<br />

V1 VIN 0 AC=1 DC=1<br />

R1 VIN A R 1k<br />

C1 A 0 C 10P<br />

.AC DEC 10 100 1e8<br />

.PROBE V<br />

.END<br />

The capacitor model has uniform LOT variations with a half-range of 20%, so all capacitors<br />

using this model are uncorrelated and vary up to 20% from the nominal value specified in the<br />

element instantiation. Capacitor C1 varies uniformly between 8 pF and 12 pF. The resistor<br />

model produces resistors such that the resistance values are correlated. After Eldo applies the<br />

20% LOT variations, each resistor has a 5% non-correlated variations.<br />

The .MC ... ALL argument requests Eldo to save the result from every Monte Carlo iteration.<br />

Running this simulation and viewing the voltage at node A produces the graph in Figure 11-21.<br />

526<br />

Eldo® User's Manual, 15.3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!