This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

AC Current Source

Ideal sinusoidal current source


Electrical Sources


The AC Current Source block represents an ideal current source that maintains sinusoidal current through it, independent of the voltage across its terminals.

The output current is defined by the following equation:



I0Peak amplitude
φPhase shift

The positive direction of the current flow is indicated by the arrow.


For Release 2012b and earlier, the unit definition for Hz was rev/s, whereas in R2013a it was changed to be 1/s, in compliance with the SI unit system. For this block it means that you must specify frequency in units of Hz or directly convertible to Hz, such as 1/s, kHz, MHz and GHz. In 2012b and earlier you could also specify frequency in angular units (such as rad/s or rpm), but this is no longer possible because the internal equation of the block now uses the 2π conversion factor to account for the 1/s unit definition. If you use this block in a model created prior to R2013a, update it by using the Upgrade Advisor. For more information, see the R2013a Release Notes.


Peak amplitude

Peak current amplitude. The default value is 1 A.

Phase shift

Phase shift in angular units. The default value is 0.


Current frequency, specified in Hz or units directly convertible to Hz (where Hz is defined as 1/s). For example, kHz and MHz are valid units, but rad/s is not. The default value is 60 Hz.


The block has two electrical conserving ports associated with its terminals.

Introduced in R2007a

Was this topic helpful?