Sine Wave Generator (Three-Phase)
Discrete-time or continuous-time three-phase sine wave generator
Simscape / Electrical / Control / General Control
The Sine Wave Generator (Three-Phase) block generates a balanced three-phase sine wave from magnitude, phase shift, and frequency inputs.
mag — Magnitude of generated three-phase sine wave
Magnitude of the generated three-phase sine wave, specified as a scalar.
ang — Phase shift of the generated three-phase sine wave, deg
Phase shift for phase a of the generated three-phase sine wave, specified as a scalar in degrees.
freq — Frequency of generated three-phase sine wave, Hz
Frequency of the generated three-phase sine wave, specified as a scalar in Hz.
abc — Three-phase sine wave
Three-phase sine wave, returned as a Simulink signal vector.
wt — Angle of sine wave of all three phases, rad
Angle of all three phases of the sine wave, returned as a Simulink signal vector in rad.
Sample time (-1 for inherited) — Block sample time
-1 (default) |
0 | positive scalar
Time between consecutive block executions. During execution, the block produces outputs and, if appropriate, updates its internal state. For more information, see What Is Sample Time? and Specify Sample Time.
For inherited discrete-time operation, set this parameter to
For discrete-time operation, set this parameter to a positive integer. For
continuous-time operation, set this parameter to
If this block is in a masked subsystem or a variant subsystem that supports switching between continuous operation and discrete operation, promote this parameter to ensure correct switching between the continuous and discrete implementations of the block. For more information, see Promote Block Parameters on a Mask.
C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.
Introduced in R2020a