A new time step control method for the circuit simulator Spice

The circuit simulator Spice gives erroneous results during the time domain simulation of some electrical circuits. These errors are due to an incorrect time step control during the analysis. In this paper we determine the class of circuits that can exhibit these errors and explain the reasons that cause them. Moreover we propose a new algorithm to control the integration time step that completely solves the mentioned problems.