Main Content

Controlled Current Source (Three-Phase)

Ideal three-phase controlled current source

  • Controlled Current Source (Three-Phase) block

Libraries:
Simscape / Electrical / Sources

Description

The Controlled Current Source (Three-Phase) block represents an ideal three-phase current source that is powerful enough to maintain the specified current through it regardless of the voltage across it. The output currents are [ia ib ic] = S, where S is a vector containing the numerical values presented at the physical signal port.

The figure shows the equivalent circuit for the expanded implementation of the Controlled Current Source (Three-Phase) block.

To use the Controlled Current Source (Three-Phase) block as an abstracted current controller in an electrical drive, connect the conserving ports for the output current directly to the machine.

To choose the input type of this block, set the Input type parameter to Instantaneous or Sinusoidal magnitude and phase shift. If you select Instantaneous, this block works only in time simulation mode. If you select Sinusoidal magnitude and phase shift, this block works in both time and frequency-time simulation modes. For more information, see Frequency and Time Simulation Mode.

To access the implementation with an expanded, three-phase port, double-click the block and set the Electrical connection parameter to Expanded three-phase ports.

Examples

Ports

Input

expand all

Physical signal input port associated with the control signal.

Dependencies

To enable this port, set the Input type parameter to Instantaneous.

Physical signal input port associated with the root mean square (RMS) current.

Dependencies

To enable this port, set the Input type parameter to Sinusoidal magnitude and phase shift.

Physical signal input port associated with the phase shift, in radians.

Dependencies

To enable this port, set the Input type parameter to Sinusoidal magnitude and phase shift.

Conserving

expand all

Electrical conserving port associated with the neutral phase.

Electrical conserving port associated with the three-phase current.

Dependencies

To enable this port, set the Electrical connection parameter to Composite three-phase ports.

Electrical conserving port associated with the a-phase output current.

Dependencies

To enable this port, set the Electrical connection parameter to Expanded three-phase ports.

Electrical conserving port associated with the b-phase output current.

Dependencies

To enable this port, set the Electrical connection parameter to Expanded three-phase ports.

Electrical conserving port associated with the c-phase output current.

Dependencies

To enable this port, set the Electrical connection parameter to Expanded three-phase ports.

Parameters

expand all

Since R2026a

Whether to model composite or expanded three-phase ports.

Composite three-phase ports represent three individual electrical conserving ports with a single block port. You can use composite three-phase ports to build models that correspond to single-line diagrams of three-phase electrical systems.

Expanded three-phase ports represent the individual phases of a three-phase system using three separate electrical conserving ports.

Programmatic Use

To set the block parameter value programmatically, use the set_param function.

Parameter: port_option
Values: "ee.enum.threePhasePort.composite" (default) | "ee.enum.threePhasePort.expanded"

Type of physical signal input. Choose between:

  • Instantaneous — The output currents, [ia ib ic], are equal to the values of the input port S.

  • Sinusoidal magnitude and phase shift — The output currents are equal to:

    ia=(2I)sin(2πFrated+ph)ib=(2I)sin(2πFrated+ph2π3)ic=(2I)sin(2πFrated+ph+2π3)

Programmatic Use

To set the block parameter value programmatically, use the set_param function.

Parameter: input_option
Values: "ee.enum.inputType.instantaneous" (default) | "ee.enum.inputType.singleFreqAC"

Rated electrical frequency. The value of this parameter must be equal to the value of the rated electrical frequencies of other sinusoidal sources in your model, if present.

Dependencies

To enable this parameter, set Input type to Sinusoidal magnitude and phase shift.

Since R2026a

Parasitic parallel conductance.

Extended Capabilities

expand all

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

Version History

Introduced in R2018b

expand all