System simulation using dynamic step size and iterative model
OwnerTan Duinventor
Life of this patent
Estimating the term…
Abstract
Disclosed are methods, systems, and algorithms for simulating a system, such as a circuit, using an iterative model. Standard step response data is used for modeling the system and providing simulation results. Disclosed are simulation engines employing dynamically adjusted sample sizes and event scheduling. Also disclosed is the use of an approximation of the first order derivative of the simulation input to obtain the expected error for use in dynamically adjusting the step size. The use of an approximation of the second order derivative of the simulation input is also disclosed. The use of embodiments of the simulation engine with particular iterative models is described.
Claims21
A simulation engine method for simulation of a system from a simulation model having standard step response data, the method comprising:
- accepting a system input signal, x(t), for simulation;
- computing a simulation output, y(t), using the standard step response data for the system using the simulation model;
- and
- dynamically adjusting step size, Ts, in order to optimize the accuracy of the simulation output.
The method according to claim 4 wherein the step of dynamically adjusting the step size, Ts, further comprises the steps of:
- approximating the second order derivative of the simulation input:
- 9 ⅆ 2 x ( t k ) ⅆ t 2 = ⅆ x ( t k ) / ⅆ t - ⅆ x ( t k - 1 ) / ⅆ t t k - t k - 1 , ( Eq . 7 )
- and using the result in order to determine whether to increase or decrease the step size, Ts.
A simulation engine for simulation of a system from a simulation model having standard step response data, the simulation engine comprising means for:
- accepting a system input signal, x(t), for simulation;
- computing a simulation output, y(t), using the standard step response data for the system using the simulation model;
- and
- dynamically adjusting step size, Ts, in order to optimize the accuracy of the simulation output.
A simulation algorithm for simulating a system from a simulation model having standard step response data, the algorithm comprising instructions for:
- accepting a system input signal, x(t), for simulation;
- computing a simulation output, y(t), using the standard step response data for the system using the simulation model;
- and
- dynamically adjusting step size, Ts, in order to optimize the accuracy of the simulation output.
Dependencies are inferred from the claim text.