These generators can be used to create a signal defined by any expression that is a function of time.
Parameters
Parameter | Description | Units | Default |
---|---|---|---|
Value | Expression that is a function of time. This value is used only if no value is specified for the parameter EXPRESSION. | ||
DC | DC Amplitude of the source used in operating point analysis. | V or A | 0 |
EXPRESSION | Specify any numeric expression that is a function of time. The expression can also be specified in the VALUE field of the symbol. If both EXPRESSION and VALUE are specified, EXPRESSION takes precedence.
VO=0 VA=5 TD=1ms FQ=1k THETA=50 IF(time<=TD, VO, VO+VA*sin(2*pi*FQ*(time-TD))*exp(-(time-TD)*THETA))
The previous expression generates the same waveform as a sine source. |
||
ACMAG | AC Magnitude of small signal voltage or current. Set this if you plan to do a small signal AC analysis based on this source. | V or A | |
ACPHASE | AC Phase of small signal voltage or current. Set this if you plan to do a small signal AC analysis based on this source. If phase is omitted, a value of zero is assumed. | degrees | |
DISTOF1 | Set this if you plan to do a distortion analysis based on this source. Specify the amplitude and phase using space as separator. If phase is omitted, a value of zero is assumed. | ||
DISTOF2 | Set this if you plan to do a distortion analysis based on this source. Specify the amplitude and phase using space as separator. If phase is omitted, a value of zero is assumed. |