SimPowerSystems    
Controlled Current Source

Implement a controlled current source

Library

Electrical Sources

Description

The Controlled Current Source block provides a current source controlled by a Simulink signal. 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.

Dialog Box and Parameters

Initialize
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 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 current
The Initial current parameter is not visible in the dialog box if the Initialize parameter is not selected. The initial peak current for the initialization of the source, in amperes (A).
Initial phase
The initial phase for the initialization of the source, in degrees. 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). The Initial frequency parameter is not visible in the dialog box if the Source type parameter is set to DC.
Measurements
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:

Example

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

Simulation produces the following waveforms:

See Also

AC Current Source, Controlled Voltage Source, Multimeter


  Connection Port Controlled Voltage Source 

Learn more about the latest releases of MathWorks products:

 © 1994-2009 The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS