Sine Wave Generator (Three-Phase)

Discrete-time or continuous-time three-phase sine wave generator

  • Library:
  • Simscape / Electrical / Control / General Control

Description

The Sine Wave Generator (Three-Phase) block generates a balanced three-phase sine wave from magnitude, phase shift, and frequency inputs.

Ports

Input

expand all

Magnitude of the generated three-phase sine wave, specified as a scalar.

Phase shift for phase a of the generated three-phase sine wave, specified as a scalar in degrees.

Frequency of the generated three-phase sine wave, specified as a scalar in Hz.

Output

expand all

Three-phase sine wave, returned as a Simulink signal vector.

Angle of all three phases of the sine wave, returned as a Simulink signal vector in rad.

Parameters

expand all

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? (Simulink) and Specify Sample Time (Simulink).

For inherited discrete-time operation, specify -1. For discrete-time operation, specify a positive integer. For continuous-time operation, specify 0.

If this block is in a masked subsystem, or other variant subsystem that allows you to switch between continuous operation and discrete operation, promote the sample time parameter. Promoting the sample time parameter ensures correct switching between the continuous and discrete implementations of the block. For more information, see Promote Parameter to Mask (Simulink).

Extended Capabilities

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

Introduced in R2020a