Main Content

Controlled Current Source

Implement controlled current source

Library

Simscape / Electrical / Specialized Power Systems / Sources

  • Controlled Current Source block

Description

The Controlled Current Source block converts the Simulink® input signal into an equivalent current source. The generated current is driven by the input signal of the block. The positive current direction is as shown by the arrow in the block icon.

You can initialize the Controlled Current Source block with a specific AC or DC current. If you want to start the simulation in steady state, the block input must be connected to a signal starting as a sinusoidal or DC waveform corresponding to the initial values.

Note

The Simulink input signal must be a complex value (phasor) when you are using the Controlled Current Source block in a phasor simulation, because in this case, Simscape™ Electrical™ Specialized Power Systems software does not automatically convert the input signal from time-domain into complex (phasor) signal.

Parameters

Initialize

Default is selected. If selected, initializes the Controlled Current Source block with the specified Initial current, Initial phase, and Initial frequency parameters.

Source type

The Source type parameter is not visible if the Initialize parameter is not selected.

The type of current source. Select AC (default) to initialize the Controlled Current Source Block as an AC current source. Select DC to initialize the Controlled Current Source block as a DC current.

Initial amplitude

This parameter is not visible in the dialog box if the Initialize parameter is cleared. The initial peak current for the initialization of the source, in amperes (A). Default is 0.

Initial phase

The initial phase for the initialization of the source, in degrees. Default is 0. The Initial phase parameter is not visible in the dialog box if the Source type parameter is set to DC.

Initial frequency

The initial frequency for the initialization of the source, in hertz (Hz). Default is 0. The Initial frequency parameter is not visible in the dialog box if the Source type parameter is set to DC.

Measurements

Default is None. Select Current to measure the current flowing through the Controlled 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:

Measurement

Label

Current

Isrc:

Examples

The power_controlcurr example uses a Controlled Current Source to generate a 60-Hz current modulated at 5 Hz.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced before R2006a