Pulse Current Source - Model periodic square pulse current source

Library

SPICE-Compatible Sources

Description

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:

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:

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:

Dialog Box and Parameters

Initial value, I1

The value of the output current at time zero. The default value is 0 A.

Pulse value, I2

The value of the output current when the output is high. The default value is 0 A.

Pulse delay time, TD

The time at which the pulse first starts. The default value is 0 s.

Pulse rise time, TR

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.

Pulse fall time, TF

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.

Pulse width, PW

The time width of the output pulse. The default value is Inf s. The value must be greater than 0.

Pulse period, PER

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.

Ports

The block has the following ports:

+

Positive electrical voltage.

-

Negative electrical voltage.

See Also

Pulse Voltage Source

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS