Programmable Signal Generator (Three-Phase)
Discrete-time or continuous-time three-phase sinusoidal signal generator with programmable magnitude, phase, frequency, and overlapping harmonics
Libraries:
Simscape /
Electrical /
Control /
General Control
Description
The Programmable Signal Generator (Three-Phase) generates a three-phase sinusoidal signal with programmable magnitude, phase, and frequency over time. You can specify one or two harmonics that can be overlapped on the signal fundamental frequency.
You can switch between continuous and discrete implementations of the block by using the
Sample time parameter. To configure the block for continuous
time, set Sample time to 0
. To configure the
block for discrete time, set Sample time to a positive, nonzero
value.
Ports
Output
Three-phase sinusoidal signal, returned as a vector.
Data Types: single
| double
Magnitude, frequency, phase, and angle of the sine wave of all three phases of the sinusoidal signal, returned as a vector.
Data Types: single
| double
Parameters
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 discrete-time operation, specify a positive integer. For
continuous-time operation, specify 0
.
Magnitude
Type of variation to apply to the signal magnitude.
Magnitude of the generated positive-sequence three-phase sine wave.
Dependencies
To enable this parameter, set Variation configuration to
Constant
,
Ramp
,
Step
, or
Modulation
.
Rate of change of the magnitude.
Dependencies
To enable this parameter, set Variation
configuration to
Ramp
.
Amplitude of the step variation for the signal magnitude.
Dependencies
To enable this parameter, set Variation
configuration to
Step
.
Magnitude of the modulation for the signal magnitude.
Dependencies
To enable this parameter, set Variation
configuration to
Modulation
.
Frequency of the modulation for the signal magnitude.
Dependencies
To enable this parameter, set Variation
configuration to
Modulation
.
Time when the programmed variation on the magnitude starts.
Dependencies
To enable this parameter, set Variation configuration to
Constant
,
Ramp
,
Step
, or
Modulation
.
Time when the programmed variation on the magnitude stops.
Dependencies
To enable this parameter, set Variation configuration to
Constant
,
Ramp
,
Step
, or
Modulation
.
Values of the signal magnitude that correspond to the time values specified in the Time values parameter.
Dependencies
To enable this parameter, set Variation
configuration to
Table
.
Time values when the signal magnitude changes to the values specified in the Table data parameter.
Dependencies
To enable this parameter, set Variation
configuration to
Table
.
Frequency
Type of variation to apply to the signal frequency.
Frequency of the generated positive-sequence three-phase sine wave.
Dependencies
To enable this parameter, set Variation configuration to
Constant
,
Ramp
,
Step
, or
Modulation
.
Rate of change of the frequency.
Dependencies
To enable this parameter, set Variation
configuration to
Ramp
.
Amplitude of the step variation for the signal frequency.
Dependencies
To enable this parameter, set Variation
configuration to
Step
.
Magnitude of the modulation for the signal frequency.
Dependencies
To enable this parameter, set Variation
configuration to
Modulation
.
Frequency of the modulation for the signal frequency.
Dependencies
To enable this parameter, set Variation
configuration to
Modulation
.
Time when the programmed variation on the frequency starts.
Dependencies
To enable this parameter, set Variation configuration to
Constant
,
Ramp
,
Step
, or
Modulation
.
Time when the programmed variation on the frequency stops.
Dependencies
To enable this parameter, set Variation configuration to
Constant
,
Ramp
,
Step
, or
Modulation
.
Values of the signal frequency that correspond to the time values specified in the Time values parameter.
Dependencies
To enable this parameter, set Variation
configuration to
Table
.
Time values when the signal frequency changes to the values specified in the Table data parameter.
Dependencies
To enable this parameter, set Variation
configuration to
Table
.
Phase
Type of variation to apply to the phase magnitude.
Phase shift of the generated positive-sequence three-phase sine wave.
Dependencies
To enable this parameter, set Variation configuration to
Constant
,
Ramp
,
Step
, or
Modulation
.
Rate of change of the phase.
Dependencies
To enable this parameter, set Variation
configuration to
Ramp
.
Amplitude of the step variation for the signal phase.
Dependencies
To enable this parameter, set Variation
configuration to
Step
.
Magnitude of the modulation for the signal phase.
Dependencies
To enable this parameter, set Variation
configuration to
Modulation
.
Frequency of the modulation for the signal phase.
Dependencies
To enable this parameter, set Variation
configuration to
Modulation
.
Time when the programmed variation on the phase starts.
Dependencies
To enable this parameter, set Variation configuration to
Constant
,
Ramp
,
Step
, or
Modulation
.
Time when the programmed variation on the phase stops.
Dependencies
To enable this parameter, set Variation configuration to
Constant
,
Ramp
,
Step
, or
Modulation
.
Values of the signal phase that correspond to the time values specified in the Time values parameter.
Dependencies
To enable this parameter, set Variation
configuration to
Table
.
Time values when the signal frequency changes to the values specified in the Table data parameter.
Dependencies
To enable this parameter, set Variation
configuration to
Table
.
Harmonics
Whether harmonic A overlaps the fundamental frequency of the generated signal.
Type of sequence for harmonic A.
Dependencies
To enable this parameter, select the Enable harmonic A check box.
Order of harmonic A that overlaps the signal fundamental frequency.
Dependencies
To enable this parameter, select the Enable harmonic A check box.
Magnitude of harmonic A that overlaps the signal fundamental frequency.
Dependencies
To enable this parameter, select the Enable harmonic A check box.
Phase shift of harmonic A that overlaps the signal fundamental frequency.
Dependencies
To enable this parameter, select the Enable harmonic A check box.
Time when the harmonic A overlaps the signal fundamental frequency.
Dependencies
To enable this parameter, select the Enable harmonic A check box.
Time when the harmonic A stops overlapping the signal fundamental frequency.
Dependencies
To enable this parameter, select the Enable harmonic A check box.
Whether harmonic B overlaps the fundamental frequency of the generated signal.
Type of sequence for harmonic B.
Dependencies
To enable this parameter, select the Enable harmonic B check box.
Order of harmonic B that overlaps the signal fundamental frequency.
Dependencies
To enable this parameter, select the Enable harmonic B check box.
Magnitude of harmonic B that overlaps the signal fundamental frequency.
Dependencies
To enable this parameter, select the Enable harmonic B check box.
Phase shift of harmonic B that overlaps the signal fundamental frequency.
Dependencies
To enable this parameter, select the Enable harmonic B check box.
Time when the harmonic B overlaps the signal fundamental frequency.
Dependencies
To enable this parameter, select the Enable harmonic B check box.
Time when the harmonic B stops overlapping the signal fundamental frequency.
Dependencies
To enable this parameter, select the Enable harmonic B check box.
Version History
Introduced in R2020a
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)