SPICE Tutorial: Voltage Source – Sinusoidal

SPICE “V” element with “SIN” option generates a sinusoidal voltage waveform.

The syntax of “SIN” is as follows.

Berkeley SPICE2, HSpice, PSpice, XSpice, LTspice
Syntax:
Vxxx n+ n- SIN( VO VA FREQ TD THETA PHASE )

VO:offset voltage [V]
VA:amplitude[V]
FREQ:frequency [Hz]
TD:delay [s]
THETA:damping factor [1/s]
PHASE:initial phase [degrees]

Example:
V1 N001 0 SINE(0 3.3 100k 1u 0 90 1000)

The symbol of LTspice’s “V” element with “SIN” option is “voltage” which is in “C:\Users\Username\Documents\LTspiceXVII\lib\sym” directory. If you want to set the parameters of that by GUI, click “Advanced” button on “Component” menu window and check “SINE(Voffset Vamp Freq Td Theta Phi Ncycles)” in “Functions” setting.

→ SPICE Information