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 specifiedInitial current,Initial phase, andInitial frequencyparameters.

Source type

TheSource typeparameter is not visible if theInitializeparameter is not selected.

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

Initial amplitude

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

Initial phase

The initial phase for the initialization of the source, in degrees. Default is0. TheInitial phaseparameter is not visible in the dialog box if theSource typeparameter is set toDC.

Initial frequency

The initial frequency for the initialization of the source, in hertz (Hz). Default is0. TheInitial frequencyparameter is not visible in the dialog box if theSource typeparameter is set toDC.

Measurements

Default isNone. SelectCurrentto 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 theAvailable Measurementslist box of the Multimeter block, the measurement is identified by a label followed by the block name:

Measurement

Label

Current

Isrc:

Examples

Thepower_controlcurrexample 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