Programmable Signal Generator (Three-Phase)

Discrete-time or continuous-time three-phase sinusoidal signal generator with programmable magnitude, phase, frequency, and overlapping harmonics

  • Library:
  • 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

expand all

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

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 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.

Extended Capabilities

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

Introduced in R2020a