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.

Speed and Accuracy<br />

Speed and Accuracy in Eldo<br />

Speed and Accuracy in Eldo<br />

The system of equations that represent the behavior of a circuit cannot be solved analytically,<br />

apart from trivial cases. Thus a simulator has to use numerical algorithms to find an<br />

approximate solution.<br />

In the case of transient analysis, the problem to solve is to find the solution of a DAE<br />

(Differential Algebraic Equations) system. To simplify, and deliberately using loose notations,<br />

the ‘solution’ that the simulator tries to find is a set of N voltage waveforms vn(t), where n<br />

ranges from 1 to N—N being the number of nodes in the circuit—and t represents the time<br />

variable. These voltages are the solution of f(v(t), q’(v(t)), t)=0, where f() and q() are non-linear<br />

functions. Equation f()=0 is nothing but the expression of the Kirchoff law, that is, the sum of<br />

all currents entering a node is null, at any time. Function q() models the dynamic part of the<br />

circuit, that is, the generally bias-dependent charges in the circuit.<br />

This system is differential and non-linear. To solve it numerically, time is discretized, and the<br />

equations are solved at discrete time points. The time-derivatives are approximated using a socalled<br />

integration scheme or method, using current and previous values of the solution v(ti),<br />

v(ti-1),…, v(ti-m). The number m of previous time points used to approximate the timederivatives<br />

depends on the ‘order’ of the integration method. In all cases, an approximation<br />

error is introduced in this process.<br />

Once the time-derivatives have been eliminated, the system to solve is ‘simply’ non-linear.<br />

Many numerical methods exist to solve this numerically; they typically requiring a certain<br />

number of iterations, starting from an initial guess v0, and each iteration providing, hopefully, a<br />

better estimate vj of the solution vexact. This iterative process will normally converge, although<br />

some criterion are needed to decide when to stop the iterative process and accept the last<br />

estimate as the ‘solution’ at the current time point. Again, an approximation error is introduced<br />

here. One of the commonly used methods to solve non-linear systems of equations is the socalled<br />

Newton-Raphson method. It is commonly used mainly because of its generality and also<br />

for its relative robustness.<br />

In summary, primarily two types of error are involved in the resolution of the system:<br />

• Errors due to the numerical integration process.<br />

• Errors due to the numerical resolution of non-linear equations.<br />

Integration Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1246<br />

Time Step Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1248<br />

Newton Iterations Accuracy Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1252<br />

Global Tuning of the Accuracy—EPS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1253<br />

Global Tuning of the Accuracy—TUNING. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1255<br />

Eldo® User's Manual, 15.3 1245

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

Saved successfully!

Ooh no, something went wrong!