VoltageSIN
Voltage Source
Library
Spice/Analog/Basic
Description
The VoltageSin is a sinusoidal voltage source with a constant frequency.
The peak value or amplitude value is measured from zero (if the initial DC offset value is not set) or measured from the DC offset value (if given).
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
sp_SIN | SIN | String | ||
sp_V0 | Offset Voltage | The initial DC offset voltage (volts). It should be set to zero if you need a pure sinusoid. | Scalar | |
sp_V1 | Voltage Amplitude | The undamped amplitude of the sinusoid, i.e. the peak value measured from zero or from DC offset value. | Scalar | |
sp_Freq | Signal Frequency | The frequency of the sinusoid (Hertz) | Scalar | |
sp_Td | Time Delay | The time delay (seconds). Set this to zero for the normal sinusoid. | Scalar | |
sp_Theta | Damping Factor | The damping factor. Set this to zero for the normal sinusoid. This is used to apply an exponential decay to the sinusoid. | Scalar | |
sp_Phase | Signal Phase | The phase advance (seconds). Set this to 90 if you need a cosine waveform. | Scalar | |
sp_Spice | Additional Spice Parameters | For more details, see the section Additional Spice Parameters. Additional Spice Parameters. | String |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
use_ac | Use AC | Check this parameter to set the AC parameters | Number | 0 |
ac_magnitude | AC Magnitude | Value of the AC voltage source | Scalar | |
ac_phase | AC Phase | Value of the AC phase | Scalar |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
V+ | implicit | Positive pin | input | 1 |
V- | implicit | Negative pin | input | 2 |