摘要 |
An improved circuit simulator for simulating the response of a circuit to a transient. The stimulating signal is represented by one or more carriers having time varying modulation envelopes. The simulator differs from a harmonic balance simulator in that the currents provided by each of the device subroutines include an additional term at each carrier frequency having the time dependency of the modulation envelope at that frequency. These additional current terms necessitate a time-domain solution of the simulation problem; however, the time steps are now determined by the time variation of the envelope instead of the time variation of the carrier. As a result, the number of time steps needed in the simulation is greatly reduced. The present invention may be implemented by modifying a conventional harmonic balance simulator. The modifications involve adding code to the various device routines to provide the current term corresponding to the modulation envelope. In the preferred embodiment of the present invention, either a charge term or a current term that depends on present and past values of the modulation envelope is provided by each device routine. The sum of the charge terms at each carrier frequency is then differentiated to provide the sum of the envelope current terms.
|