6.1.1. Exponential (Exp) Source
FIGURE 6.3 and
FIGURE 6.4 show the two possible exponential waveforms which can be defined for a voltage or a current using VSTIM or ISTIM sources, respectively.
Both exponential waveforms start after a time delay (td1) and then exponentially rise or fall, using a time constant (tc1) between two voltages V1 and V2 up to a time td2. The waveform then decays or rises after td2, using a time constant (tc2).
For example, in
Figure 6.3, the voltage is V1 (0
V) up to td1 (10
μs); then the voltage increases exponentially with a time constant given by tc1 (10
μs) towards V2 (10
V). The time for the exponential rise is defined by td2–td1 as 35
μs (40
–5
μs), after which the voltage decreases exponentially with a time constant given by tc2 (5
μs) back towards V1.
V1 – initial starting value at time 0s,
V2 – value that voltage rises or falls to,
td1 – start time (delay) of exponential rise (or fall),
tc1 – time constant of rising (or falling) waveform,
td2 – start time (delay) of exponential fall (or rise),
tc2 – time constant of falling (or rising) waveform.
Figure 6.3 was defined using V1
=
0
V, V2
=
10
V, td1
=
10
μs, tc1
=
5
μs, td2
=
40
μs and tc2
=
5
μs.
Figure 6.4 was defined using V1
=
10
V, V2
=
0
V, td1
=
10
μs, tc1
=
5
μs, td2
=
40
μs and tc2
=
5
μs.
Now the exponential voltage is defined by:
So between 0 seconds and td1 the voltage is a constant:
and for the time between td2 and the stop time, the voltage is given by:
6.1.2. Pulse Source
Figure 6.6 shows the definition for a voltage pulse waveform, where:
V1 – low voltage,
V2 – high voltage,
TD – the time delay before the pulse starts,
TR – rise time specified in seconds and is defined as the time between 90% and 10% of V2,
TF – fall time defined in seconds and is the time between 90% and 10% of V2,
PW – pulse width of the pulse,
PER – period of the pulse, i.e. the pulse frequency.
Similarly, current pulses can be defined using the ISTIM part as shown in
Figure 6.7.
When you first place a VSTIM, ISTIM or DigSTIM part, the implementation property name and value are shown. You only need to display the
name of the stimulus, so double click on the
Implementation=, which will open up the Display Properties dialog box, and select
Value Only (
Figure 6.8).
Figure 6.9 shows the ISTIM part with the defined current stimulus, Ipulse displayed. As before, to start the Stimulus Editor,
rmb and select
Stimulus Editor and then select PULSE for
New Stimulus.
Figure 6.10 shows the pulse attributes defined for a current pulse using the ISTIM part. The resulting current waveform is shown in
Figure 6.11.
6.1.4. SIN (Sinusoidal)
Figure 6.12 shows the attributes for a sinewave. The complete definition includes attributes for a damped sinewave, with a phase angle and an offset value. Offset value is the initial voltage or current at time 0
s, Amplitude is the maximum voltage or current, Frequency (Hz) is the number of cycles per second, Time delay (s) is the start delay, Damping factor (1/s) is the exponential decay, and Phase angle (degrees) is the phase angle.
6.1.5. SSFM (Single-frequency FM)
This source generates frequency-modulated sinewaves as shown in
Figure 6.14, which shows the modulation of a carrier frequency. The sinewave is given by:
where
Voff is the offset voltage,
Vampl is the maximum value of voltage, mod is the modulation index,
fc is the carrier frequency, and
fm is the modulation frequency.