Skip to content

3-Phase Sequence Meter ​

Symmetrical-component (Fortescue) meter for a three-phase signal set (A, B, C). A one-cycle sliding DFT at the nominal frequency extracts each phase's fundamental phasor, and the Fortescue transform with a = e^(j2π/3) splits them into positive, negative and zero sequence. Outputs the three RMS magnitudes (optionally in per-unit) and their angles in radians, referenced to a cosine at the nominal frequency. Settles one cycle after a change. Use it to measure voltage unbalance (|−| / |+|), ground-fault zero-sequence, or the positive-sequence voltage a grid code ride-through curve is written against.

Category: Continuous

How it works ​

Phasors. Each input runs through a sliding DFT one cycle long, evaluated at the nominal frequency f. The window holds N=round(1/(fΔt)) samples:

Xp=2N∑last N samplesxp(tn)e−j2πftn

Here tn is the simulation time of each sample. A phase signal Acos⁡(2πft+φ) reads Xp=Aejφ.

Sequence components. The three phasors are split with the Fortescue transform, using a=ej2π/3:

V0=13(Xa+Xb+Xc)V1=13(Xa+aXb+a2Xc)V2=13(Xa+a2Xb+aXc)

Outputs.

  • pos, neg and zero are the RMS magnitudes |V1|/2, |V2|/2 and |V0|/2. In per-unit mode they are divided by the base.
  • pos_ang, neg_ang and zero_ang are the angles of V1, V2 and V0 in radians, in (−π,π].

Reading the outputs ​

Inputposnegzero
Balanced, A-B-C rotationper-phase RMS00
Balanced, A-C-B rotation0per-phase RMS0
Equal in-phase signals on A, B, C00per-phase RMS
Phase A missing (B and C normal)2/3 of normal1/3 of normal1/3 of normal

The voltage unbalance factor is neg / pos.

Timing and accuracy ​

  • Settling. The window is one cycle long, so the outputs settle exactly one cycle after any change. While the window first fills, the magnitudes ramp up from zero.
  • Angle reference. Angles are measured against a cosine at the nominal frequency, starting at t=0. When the input frequency is off nominal, the angles rotate slowly at the difference frequency and the magnitudes pick up a small error that grows with the deviation. If the frequency itself moves, use the 3-Phase PLL to track it.
  • Window rounding. When one cycle is not a whole number of time steps (60 Hz at 50 µs is 333.3 steps), the window is rounded to the nearest step. The angle reference stays exactly at the nominal frequency, so the angles do not drift. The magnitudes pick up a small ripple at twice the line frequency, about 0.1 % in that example.
  • Harmonics. Integer harmonics of the nominal frequency cancel over a full window and do not appear in the outputs. This holds exactly when one cycle is a whole number of time steps.
  • Inputs from the electrical side. Measured electrical signals reach a control block one step late, so the readings trail the network by one time step.

Ports ​

PortKindSignalNotes
in_aControl inputReal
in_bControl inputReal
in_cControl inputReal
posControl outputReal
negControl outputReal
zeroControl outputReal
pos_angControl outputReal
neg_angControl outputReal
zero_angControl outputReal

Parameters ​

ParameterTypeDefaultUnitsDescriptionID
fNumber60Hz (also rad/s)Nominal frequency. Sets the DFT window (one cycle, rounded to a whole number of time steps) and the cosine the angles are measured against. Off-nominal inputs read with a slowly rotating angle and a small magnitude error.frequency
Output in puChoice: Off / OnOff—When On, the three magnitude outputs are divided by a user-supplied base so they read in per-unit. Angles are unaffected. Off leaves the magnitudes in the input's absolute units (V or A). A base of 0 (or negative) falls back to absolute units, so pu mode can never produce a divide-by-zero.output_pu
BaseNumber1V (also kV, A, kA)Per-unit base the RMS magnitudes are divided by — typically the nominal per-phase RMS (line-to-neutral) value. Pick the unit that matches the measured signal (V / kV for a voltage, A / kA for a current). Only used when Output in pu is On.base