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 />

152 Modeling with Circuit Components<br />

Initial Conditions<br />

of 27 °C. A few of the default parameter values listed in the SPICE 3f5 documentation do not<br />

include the temperature adjustment. For example, the VTO parameter in MOS3, and the KP<br />

parameter in MOS2, both have default values of 20u listed in the SPICE 3f5 documentation.<br />

But <strong>SIMPLORER</strong> will report these default values as 20.7189u.<br />

SPICE has the concept of a not given parameter, and by default no parameters are given.<br />

These parameters will still return a value when queried. For example, the diode breakdown<br />

voltage (BV) returns '0' when queried for a default value, but during simulation SPICE knows<br />

that BV was not specified and hence does not use it. The same effect can be simulated by<br />

specifying infinity for BV, as listed in the SPICE 3f5 documentation. The new SPICE-compatible<br />

models will return zero as default values for diode breakdown voltages and some of the<br />

BJT voltage parameters. In SPICE5 (model library in <strong>SIMPLORER</strong> 5), these default values<br />

were infinity, but the simulation behavior has not changed.<br />

The not given and the infinity default approaches are not always equivalent. Sometimes there<br />

are side effects when parameters are not given - it may trigger more pre-processing in the<br />

SPICE model code. One example is the default U0=600 value from the SPICE 3f5 documentation<br />

for MOS1. This only applies if TOX is given, while KC and U0 are not given. Therefore<br />

<strong>SIMPLORER</strong> shows the default value as '0' instead of '600', because the simulation of a default<br />

MOS1 will behave as if TOX, KC, and U0 are all not given.<br />

The Schematic passes all parameters to the SPICE-compatible model library, whether the<br />

user changed them or not. Internally, the library decides whether a parameter was given or<br />

not, by comparing to the default value. If you change a few parameters, there can be a discrepancy<br />

if the SPICE 3 pre-processing (side effects) are not correct. There is no way to specify<br />

a parameter equal to its default value. The library act as if it was not given and the pre-processing<br />

side effects may not be correct. This only applies to components dropped on the sheet<br />

and edited by the user. These problems do not occur with SML text in macros. If the macro<br />

specifies only a few parameters, the library should behave exactly as SPICE does. This would<br />

apply to any vendor-specific model converted by <strong>SIMPLORER</strong>.<br />

SPICE has device-level initial conditions that are sometimes used to assist convergence, or to<br />

choose between multiple stable states. These options are available, but they behave differently<br />

in <strong>SIMPLORER</strong> than in SPICE:<br />

1 <strong>User</strong>s can specify that a semiconductor device is off during the DC solution. This is mainly<br />

used to choose between multiple stable operating points. It is applicable to DC, AC, and<br />

TR analysis. The terminal voltages are still allowed to vary when the device is specified<br />

off. If SPICE cannot reach a converged DC solution, it will try a second time, ignoring the<br />

off specs. In <strong>SIMPLORER</strong>, the second attempt would not occur.<br />

2 <strong>User</strong>s can specify initial semiconductor terminal voltages, but only for transient analysis.<br />

They are ignored for AC and DC. In SPICE, the DC solution before transient analysis is<br />

then skipped; any voltages left unspecified are assumed to be zero. The behavior for SIM-<br />

PLORER is different – any model with a specified initial voltage will try to hold that voltage<br />

at the terminals. In other parts of the circuit, the initial voltages are not set to zero as in<br />

SPICE, instead, <strong>SIMPLORER</strong> solves for them as usual.<br />

To employ option #1, set the OFF parameter for a device equal to '1'.<br />

The device initial voltages (option #2) work, but it is easy to enter bad values and get bad solutions<br />

at time zero. The user is better off specifying initial voltages on external capacitors in<br />

the circuit. That will push the DC solution in the right direction. Initial voltages can also be

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

Saved successfully!

Ooh no, something went wrong!