10.12.2012 Views

SIMPLORER User Manual V6.0 - FER-a

SIMPLORER User Manual V6.0 - FER-a

SIMPLORER User Manual V6.0 - FER-a

SHOW MORE
SHOW LESS

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

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

4<br />

5<br />

154 Modeling with Circuit Components<br />

SPICE Tolerances in <strong>SIMPLORER</strong><br />

SPICE-compatible models set their convergence parameters from <strong>SIMPLORER</strong>:<br />

• RELTOL is taken from LDF on the <strong>SIMPLORER</strong> TR parameters, scaling by 0.01 to convert<br />

LDF from percent. LDF is used even for the <strong>SIMPLORER</strong> DC analysis, because the same<br />

code executes both DC and Transient analysis in the SPICE models.<br />

• ABSTOL is the default value scaled by <strong>SIMPLORER</strong> IEmax or Emax. For transient analysis,<br />

ABSTOL=1e-12 * IEmax / 1e-3, because 1e-3 is the <strong>SIMPLORER</strong> default value for<br />

IEmax. For DC analysis, including that which precedes AC analysis, ABSTOL = 1e-12 *<br />

EmaxDC / 1e-3. For AC analysis, ABSTOL = 1e-12 * EmaxAC / 1e-6, but it has no effect<br />

in the SPICE model execution.<br />

• VNTOL is also scaled by <strong>SIMPLORER</strong> VEmax or Emax. For transient analysis, VNTOL =<br />

1e-6 * VEmax / 1e-3. For DC analysis, VNTOL = 1e-6 / EmaxDC / 1e-3, and for AC analysis,<br />

VNTOL = 1e-6 / EmaxAC / 1e-6.<br />

• CHGTOL is the default value scaled by the ABSTOL * VNTOL product. CHGTOL = 1e-14<br />

* ABSTOL * VNTOL/1e-18.<br />

• After getting ABSTOL, VNTOL, and CHGTOL, the minimum values are limited to 100<br />

times less than their SPICE defaults. ABSTOLmin = 1e-14, VNTOLmin = 1e-8, and<br />

CHGTOLmin = 1e-16. There are no maximum values for ABSTOL, VNTOL, and CHG-<br />

TOL.<br />

• There are no minimum or maximum limits on RELTOL.<br />

• GMIN is fixed at 1e-12, and TRTOL is fixed at 7.<br />

Recommendations<br />

The main parameter for users to adjust would be LDF, just as the main SPICE parameter to<br />

adjust would be RELTOL. The suggested starting value is 1%, and later decreasing to 0.1% for<br />

more accuracy. The default behavior of the SPICE-compatible models will be RELTOL=0.01<br />

instead of RELTOL=0.001, but all other default convergence parameters are the same as in<br />

SPICE 3f5.<br />

The DC analysis of a SPICE-compatible model executes the same code as for a transient analysis,<br />

and it will use RELTOL (LDF) from the <strong>SIMPLORER</strong> transient parameters. This value<br />

should be reviewed when running a DC analysis.<br />

In most cases, the <strong>SIMPLORER</strong> default values of 1e-3 for IEmax and VEmax will work with<br />

the SPICE-compatible models. However, it may be necessary to reduce them for acceptable<br />

results in some cases.<br />

SPICE 3f5 users are sometimes advised to allow up to 500 iterations for DC and transient analysis.<br />

If convergence becomes a problem, these higher limits can be set directly in the SIM-<br />

PLORER simulation parameter ITERATMAX.<br />

Temperature Effects on SPICE-Compatible Models<br />

SPICE semiconductor device parameters can be adjusted for temperature. If you define the<br />

component temperature different from the default value of 27 °C, that temperature is used.<br />

Otherwise the model ambient temperature, which is defined as simulation parameter, is used.<br />

If you change the model ambient temperature in SIMULATION>PARAMETERS «General», but<br />

you want a component to stay at the default value of 27, then you must change that component<br />

temperature to a slightly different value, such as 27.01. This is necessary of how the library<br />

must handle default values.

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

Saved successfully!

Ooh no, something went wrong!