next up previous contents index
Next: Sinusoidal Pulse Up: Tran Functions Previous: Single-Frequency FM   Contents   Index


Sinusoidal

General Form:
sin(vo va [freq td theta])
Example:
vin 3 0 sin(0 1 100meg 1ns 1e10)

This function can be called as tsin to avoid possible conflict with the sin math function.

parameter description default value units
vo offset   volts or amps
va amplitude   volts or amps
freq frequency 1/tstop hz
td delay 0.0 seconds
theta damping factor 0.0 1/seconds

The shape of the waveform is described by the following table:

time value
0 vo
td vo + va . exp(-(time-td) . theta) . sin(2$ \pi$ . freq . (time+td))

This function applies only to transient analysis, where time is the running variable. When referring to default values, tstep is the printing increment and tstop is the final time in transient analysis, see 2.7.9 for explanation. The argument count is used to distinguish this function from the math function of the same name.


next up previous contents index
Next: Sinusoidal Pulse Up: Tran Functions Previous: Single-Frequency FM   Contents   Index
Stephen R. Whiteley 2012-09-24