| SimElectronics™ | ![]() |
SPICE-Compatible Sources

The Pulse Current Source block represents a current source whose output current value is a periodic square pulse as a function of time and is independent of the voltage across the terminals of the source. The following equations describe the current through the source as a function of time:

where:
I1 is the Initial value, I1 parameter value.
I2 is the Pulse value, I2 parameter value.
TD is the Pulse delay time, TD parameter value.
TR is the Pulse rise time, TR parameter value.
TF is the Pulse fall time, TF parameter value.
PW is the Pulse width, PW parameter value.
PER is the Pulse period, PER parameter value.
The block determines the values at intermediate time points by linear interpolation.
The specified values for PW and PER have the following effect on the block output:
If both PW and PER are infinite, the block produces a step response at time TD.
If PER is infinite and PW is finite, the block produces a single pulse of width PW and infinite period.
If PW is infinite and PER is finite, the block produces a step response with pulses of width TR to a value I1 every PER seconds.
If PW > PER, the block produces a step response with pulses of width TR to a value I1 every PER seconds.
The block uses a small conductance internally to prevent numerical simulation issues. The conductance connects the + and - ports of the device and has a conductance GMIN:
By default, GMIN matches the Minimum conductance GMIN parameter of the SPICE Environment Parameters block, whose default value is 1e–12.
To change GMIN, add a SPICE Environment Parameters block to your model and set the Minimum conductance GMIN parameter to the desired value.

The value of the output current at time zero. The default value is 0 A.
The value of the output current when the output is high. The default value is 0 A.
The time at which the pulse first starts. The default value is 0 s.
The time it takes the output current to rise from the Initial value, I1 value to the Pulse value, I2 value. The default value is 1e-09 s. The value must be greater than or equal to 0.
The time it takes the output current to fall from the Pulse value, I2 value to the Initial value, I1 value. The default value is 1e-09 s. The value must be greater than or equal to 0.
The time width of the output pulse. The default value is Inf s. The value must be greater than 0.
The period of the output pulse. The default value is Inf s. This value means that the block produces a single pulse with an infinite period. The value must be greater than 0.
The block has the following ports:
Positive electrical voltage.
Negative electrical voltage.
![]() | PS Sensor | Pulse Voltage Source | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |