VSIN - Sinusoidal Voltage Source Model

Old Content - visit altium.com/documentation

Model Kind

Voltage Source

Model Sub-Kind

Sinusoidal

SPICE Prefix

V

SPICE Netlist Template Format

@DESIGNATOR %1 %2 ?"DC MAGNITUDE"|DC @"DC MAGNITUDE"| SIN(?OFFSET/&OFFSET//0/ ?AMPLITUDE/&AMPLITUDE//1/ ?FREQUENCY/&FREQUENCY//1K/ ?DELAY/&DELAY//0/ ?"DAMPING FACTOR"/&"DAMPING FACTOR"//0/ &PHASE) #"AC MAGNITUDE"|AC @"AC MAGNITUDE"| @"AC PHASE"

Parameters (definable at component level)

The following component-level parameters are definable for this model type and are listed on the Parameters tab of the Sim Model dialog. To access this dialog, simply double-click on the entry for the simulation model link in the Models region of the Component Properties dialog.

DC Magnitude

DC offset used in an Operating Point Analysis. (Default = 0).

AC Magnitude

the magnitude of the source when used in an AC Small Signal Analysis. (Default = 1).

AC Phase

the phase of the source when used in an AC Small Signal Analysis. (Default = 0).

Offset

DC offset voltage of the signal generator (in Volts). (Default = 0).

Amplitude

peak amplitude of the sinusoid (in Volts). (Default = 1).

Frequency

frequency of the sinusoidal output voltage (in Hz). (Default = 1K).

Delay

delay time until the source voltage commences (in seconds). (Default = 0).

Damping Factor

the rate at which the sinusoid decreases/increases in amplitude (in 1/seconds). A positive value results in an exponentially decreasing amplitude; a negative value gives an increasing amplitude. A zero (0) value gives a constant amplitude sine wave. (Default = 0).

Phase

phase shift of the sinusoid at time zero (in Degrees). (Default = 0).

Notes

  1. The image above shows an example waveform produced by a sinusoidal voltage source (connected to a 1Ohm load). The Delay has been set to 500.0u and the Damping Factor set to 250 - to illustrate a decreasing sinusoid. All other parameters have been left at their default values.
  2. The shape of the waveform is described by the following formulae:

V(t0 to tD) = VO

V(tD to tSTOP) = VO + VA e -(t - tD)THETA sin(2πF (t + tD))

where,

  • t is an instance of time
  • VO is the DC offset voltage of the signal generator
  • VA is the maximum amplitude of the output swing (excluding the DC offset)
  • F is the Frequency
  • tD is the Delay and
  • THETA is the Damping Factor.
  1. The simulation-ready sinusoidal voltage source component (VSIN) can be found in the Simulation Sources integrated library (\Library\Simulation\Simulation Sources.IntLib).

Examples

Consider the sinusoidal voltage source in the above image, with the following characteristics:

  • Pin1 (positive) is connected to net INPUT
  • Pin2 (negative) is connected to net GND
  • Designator is Vin
  • Frequency = 10k
  • All other parameters for the model are left at their default values.

The entry in the SPICE netlist would be:

*Schematic Netlist: 
Vin INPUT 0 DC 0 SIN(0 1 10k 0 0) AC 1 0

 

You are reporting an issue with the following selected text and/or image within the active document: