10.06.2016 Views

eldo_user

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Examples<br />

Example 7—Monte Carlo Analysis Basic<br />

yopa opamp2 pin: 2 5 3 0 param: p1=1e3 p2=5e8 gain=5000<br />

vin1 2 0 ac<br />

.ac dec 30 1.0 100meg<br />

.option eps=1.0e-6<br />

.mc 500<br />

The above lines indicate that an AC analysis should be performed on the circuit within the<br />

frequency range 1Hz to 100MHz with 30 steps per decade. 500 Monte Carlo simulation runs<br />

are carried out.<br />

.print ac vdb(3)<br />

.plot ac vdb(3)(-40,60)<br />

.plot ac vp(3) (0,-90)<br />

.end<br />

A dB/frequency plot of the voltage at node 3 is requested, together with a phase/frequency plot<br />

at the same node.<br />

The plotted output results on the voltage at node 3 contain nominal simulation results without<br />

any change in the circuit values, together with highest and lowest deviation results over the<br />

simulation runs.<br />

Tip<br />

For more information on Monte Carlo analysis, refer to “Monte Carlo Analysis” on<br />

page 265.<br />

1292<br />

Eldo® User's Manual, 15.3

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

Saved successfully!

Ooh no, something went wrong!