V


VOLTAGE SOURCE
Function Voltage source with a dc or time dependent value.
Format Name:
Vxxxxxxx Name of the element, including the first character a maximum of 8 characters is allowed.
Value:
< DC value > < Transource >
DC value:
Dc value of the source. If omitted, the source has a value zero, or a time dependent behavior, if one of the Transources is specified.
Transource:
You can specify a time dependent transource. The time dependent sources are described on the following pages.Transource is chosen from: Pulse, Sinusoidal, Exponential, Piece-Wise-Linear or Single-Frequency fm

Pulse

(To be specified as Value for the voltage source or current source)

PULSE(V1 V2 TD TR TF PW PER)
parameters default valueunits
V1
V2
TD
TR
TF
PW
PER
initial value
pulse value
delay time
rise time
fall time
pulse width
period
0
0
0
dT
dT
Tstop
Tstop
volts or amps
volts or amps
seconds
seconds
seconds
seconds
seconds

The following table specifies a single pulse:
TimeValue
t=0
t=TD
t=TD+TR
t=TD+TR+PW
t=TD+TR+PW+TF
t=Tstop
V1
V1
V2
V2
V1
V1
Each period PER the pulse is repeated. Intermediate points are determined by linear interpolation.
Example:
Value: pulse = -2 2 2ps 2ps 4ps 20ps 100ps
Value: pulse(-1,1,2,2,2)
Value: Pulse=(0,10,0,0,0,10n,40n)


Sinusoidal

(To be specified as Value for the voltage source or current source)

SIN(VO VA FREQ TD THETA)
Parameters Default valuesUnits
VO
VA
FREQ
TD
THETA
Offset
Amplitude
Frequency
Delay time
Damping factor
0
0
1/Tstop
0
0
volts or amps
volts or amps
Hertz
seconds
1/seconds

The following table describes the waveform:
TimeValue
0<=t<=TDVO
TD<=t<=TstopVO+
VA*
exp(-(time-TD)*THETA)*
sin(2*PI*FREQ*(time-TD))

Example:
Value: sin 0 220 50
Value: sin -1 2 20khz 2seconds 5
Value: sin(0,1,4.77meg)


Piece-Wise Linear

(To be specified as Value for the voltage source or current source)
PWL(T1 V1 <T2 V2 T3 V3 T4 V4 .....>)
Parameters
Ti Time when the new value starts.
Vi Pulsed value.
Each pair of values (Ti, Vi) specifies that the value of the source is Vi (in volts or amps) at time t=Ti. The value of the source at intermediate values of time is determined by linear interpolation of the values.
Example:
Value: pwl 1 1 2 2 3 1 4 2 5 1 6 2
Value: pwl=1,0 2,2 3,2 4,0
Value: pwl(1.000034ns,2.234)


Exponential

(To be specified as Value for the voltage source or current source)

EXP(V1 V2 TD1 TAU1 TD2 TAU2)
Parameters Default valuesUnits
V1
V2
TD1
TAU1
TD2
TAU2
initial value
pulsed value
rise delay time
rise time constant
fall delay time
fall time constant
0
0
0
dT
TD1+dT
dT
volts or amps
volts or amps
seconds
seconds
seconds
seconds

The following table describes the waveform:
Timevalue
0<=t<=TD1V1
TD1<=t<=TD2V1+(V2-V1)*
(1-exp(-(time-TD1)/TAU1))
TD2<=t<=TstopV1+
(V2-V1)*
(1-exp(-(time-TD1)/TAU1))
+(V1-V2)*
(1-exp(-(time-TD2)/TAU2))

Example:
Value: (exp = 0,-1) ( 3ns 3ns 10ns 10ns )
Value: EXP(-1,1,2,3)
Value: EXP=100 0 1ns


Single-Frequency FM

(To be specified as Value for the voltage source or current source)
SFFM(VO VA FC MDI FS)
Parameters Default valueunits
VO
VA
FC
MIDI
FS
Offset
amplitude
carrier frequency
modulation index
signal frequency
0
0
1/Tstop
0
0
volts or amps
volts or amps
Hertz

1/seconds

The shape of the waveform is described by the following equation:
value = VO + VA*sin((2PI*FC*time)+MDI*sin(2PI*FS*time))
Example:
Value: sffm 0 5 1meg
Value: sin -1 2 20khz 2seconds 5
Value: sin(0,1,4.77meg)


Special The current flows into the positive node1 through the source to node2. It is not allowed to make a parallel connection between voltage sources and/or capacitors.
Example Name: Vbattery
Value: 12volt

Name: Vsource
Value: sin 9volt,0.02 50hz

Name: Vsensor
Value:

Name: Vpulse
Value: pulse 0,1 1,1,1,10,100
Select from Components/Circuit/Sources
© 2018 CASPOC, All rights reserved. Home   |   Terms and Conditions   |   Legal   |   Export Compliance   |   Privacy Policy   |   Site Map