AC Current Source

Implement sinusoidal current source


Fundamental Blocks/Electrical Sources


The AC Current Source block implements an ideal AC current source. The positive current direction is indicated by the arrow in the block icon. The generated current I is described by the following relationship:

I=Asin(ωt+ϕ),  ω=2πf,  ϕ=Phase in radians.

Negative values are allowed for amplitude and phase. A zero frequency and a 90-degree phase specify a DC current source. You cannot enter a negative frequency; the software returns an error in that case, and the block displays a question mark in the block icon. You can modify the first three block parameters at any time during the simulation.


Peak amplitude

The peak amplitude of the generated current, in amperes (A). Default is 10.


The phase in degrees (deg). Specify a frequency of 0 and a phase of 90 degrees to implement a DC current source. Default is 0.


The source frequency in hertz (Hz). Default is 60. Specify a frequency of 0 and a phase of 90 degrees to implement a DC current source.

Sample time

The sample period in seconds (s). The default is 0, corresponding to a continuous source.


Default is None. Select Current to measure the current flowing through the AC Current Source block.

Place a Multimeter block in your model to display the selected measurements during the simulation. In the Available Measurements list box of the Multimeter block, the measurement is identified by a label followed by the block name.






The power_accurrent example uses two AC Current Source blocks in parallel to sum two sinusoidal currents in a resistor.

Introduced before R2006a

Was this topic helpful?