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.

Setting Up An Analysis<br />

DC Convergence Troubleshooting<br />

.OPTION ITL1=200<br />

• Use ramping and related options to change DC bias incrementally to full bias, for<br />

example:<br />

.OPTION GRAMP=9<br />

• Add large shunt resistors and the keyword OFF to diodes, and so on, for example:<br />

D5 5 6 DMOD OFF<br />

RD5 5 6 100MEG<br />

For large circuits, it is advisable to save the entire DCOP data so that DC analysis will have to<br />

be done once and the results reused again and again as long as the design does not change.<br />

Follow these steps to do this:<br />

For an initial simulation (DCOP):<br />

• Use the suggestions above until a successful convergence is achieved.<br />

• Make sure you have the following commands in the simulation file:<br />

.OP<br />

.SAVE /filename.iic DC<br />

For subsequent simulations (AC, Transient), DC analysis will be skipped thus saving valuable<br />

CPU time. Do the following:<br />

• Remove the commands .OP and .SAVE from the simulation file.<br />

• Add a command to use the initial conditions captured for the whole circuit:<br />

.USE /filename.iic IC<br />

where IC is a keyword for Initial Conditions.<br />

• Modify the .TRAN statement to make use of the initial conditions:<br />

.TRAN tprint tstop [tstart [Hmax]] UIC<br />

where UIC is a keyword for Use Initial Conditions. This makes a big difference<br />

especially when DCOP data is available.<br />

• Modify the .AC statement in a similar way, by adding UIC at the end.<br />

These steps will solve most convergence problems without going into the guesswork of tuning<br />

simulator options. For troublesome designs, more advanced steps will need to be taken.<br />

When initial conditions are used (UIC parameter) Eldo performs a logical initialization prior to<br />

the Transient run (that is, no DC analysis to be performed). Specify option NOINIT to disable<br />

214<br />

Eldo® User's Manual, 15.3

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

Saved successfully!

Ooh no, something went wrong!