Implement controlled voltage source
Fundamental Blocks/Electrical Sources
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, Simscape™ Power Systems™ software does not automatically convert the input signal from time-domain into complex (phasor) signal.
If selected, initializes the Controlled Voltage Source block with the specified Initial voltage, Initial phase, and Initial frequency parameters.
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.
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).
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.
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.
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:
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.