Contents

Controlled Voltage Source

Implement controlled voltage source

Library

Electrical Sources

Description

The Controlled Voltage Source block converts the Simulink® input signal into an equivalent voltage source. The generated voltage is driven by the input signal of the block.

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

    Note   The Simulink input signal needs to be a complex value (phasor) when you are using the Controlled Voltage Source block in a phasor simulation, because in this case, SimPowerSystems™ software does not automatically convert the input signal from time-domain into complex (phasor) signal.

Dialog Box and Parameters

Initialize

If selected, initializes the Controlled Voltage Source block with the specified Initial voltage, Initial phase, and Initial frequency parameters.

Source type

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

The type of voltage source. Select AC to initialize the Controlled Voltage Source block with an AC voltage source. Select DC to initialize the Controlled Voltage Source Block with a DC voltage.

Initial voltage

The Initial voltage parameter is not available if the Initialize parameter is not selected. The initial voltage for the initialization of the source, in volts (V).

Initial phase

The Initial phase parameter is not available if the Source type parameter is set to DC. The initial phase for the initialization of the source, in degrees.

Initial frequency

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

Measurements

Select Voltage to measure the voltage across the terminals of the Controlled Voltage 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

Voltage

Usrc:

Example

The power_controlvoltpower_controlvolt example uses Controlled Voltage Source blocks to generate a 60 Hz sinusoidal voltage containing a third harmonic. One Controlled Voltage Source block is initialized as a 120 V AC voltage source with an initial frequency of 60 Hz and initial phase set to 0. The second Controlled Voltage Source block is not initialized.

At t = 0.0333 s a 100 V-180 Hz sinusoidal signal is added to the 120 V Simulink signal. The resulting capacitor voltages are compared on a Scope block.

The Vc voltage starts in steady state, whereas the Vc1 voltage contains a DC offset.

Was this topic helpful?