Calculate the magnitude and phase of the positive, negative, or zero sequence of a three-phase signal
Simscape / Electrical / Control / Measurements
The Sequence Analyzer block takes a three-phase signal (usually voltage) as the input and outputs the magnitude and phase of the positive, negative, or zero sequence.
The input signals are first converted to phasor representation based on the base frequency and harmonic specified in the block mask. The block then transforms the phasor into a sequence of components..
You can represent the zero, positive, and negative sequence components with V0, V1, V2 in phasor representation; Va, Vb, Vc are the voltage of three phases. The sequence components are computed as:
Because the computation of the three-phase signal requires integration over a full cycle, the output of the sequence analyzer is not accurate during the first period.
If the base frequency or the harmonic change during the simulation, the output signal is not accurate.
u — Periodic input signal
Periodic input signal, specified as a vector of three elements.
mag — Magnitude
scalar | vector
Magnitude of the positive, negative, or zero sequence. Depending on the harmonic numbers, this output is a scalar or a vector.
angle — Phase shift
scalar | vector
Phase shift, in degrees, of the positive, negative, or zero sequence. Depending on the harmonic numbers, this output is a scalar or a vector.
Base frequency (Hz) — Base frequency
Base frequency of the input signal in Hz.
Harmonic numbers — Harmonic numbers
[1 2] (default) | scalar or vector
Scalar or vector of the harmonic numbers.
1 stands for
base frequency and
2 is the second harmonic.
Sequence — Sequence selection
Positive (default) |
Select whether the magnitude and phase of the sequence is positive, negative or zero.
Sample Time (s) — Block sample time
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, specify
discrete-time operation, specify a positive integer. For continuous-time
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 Block Parameters on a Mask.
C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.
Introduced in R2019b