Fundamental-frequency DFT with DC offset removal for magnitude and phase angle extraction.
In Detego
A phasor is a complex number that represents the magnitude and phase angle of a sinusoidal waveform at the fundamental frequency. Detego extracts phasors using a one-cycle Discrete Fourier Transform (DFT) with explicit DC offset removal, producing accurate magnitude and angle values even in the presence of decaying DC transients.
Phasors are the foundation for nearly all advanced analysis: impedance calculation, directional determination, sequence component decomposition, and power measurement. Every protection relay internally computes phasors from its sampled inputs before making trip decisions.
The diagram below shows balanced three-phase voltages separated by 120 degrees. Each waveform is a time-domain representation of a rotating phasor at the system frequency.
Three-phase balanced sinusoidal voltages (120-degree separation). Each phasor rotates at the system frequency, producing time-domain waveforms with one period T = 1/f.
DC component (mean of window)
Where
The DC mean is subtracted from each sample before the DFT to prevent the decaying DC transient from corrupting the fundamental-frequency phasor.
DC offset removal is critical during faults. When a fault occurs, the sudden change in current produces a decaying exponential DC component whose magnitude depends on the point-on-wave at fault inception and the system X/R ratio. Without removal, this DC component leaks into the fundamental-frequency DFT bin, distorting both the magnitude and angle of the extracted phasor.
Cosine correlation (real part)
Where
Sine correlation (imaginary part)
Where
Phasor magnitude (RMS)
The factor of 1/sqrt(2) converts from peak to RMS. The DFT correlation yields peak amplitude; dividing by sqrt(2) gives the standard RMS phasor magnitude used in protection engineering.
Phasor angle
Where
Convention: a pure cosine at t=0 has angle 0 degrees. The negative sign on the imaginary component follows the standard electrical engineering convention where lagging quantities have negative angles.
Detego uses the standard protection engineering convention:
Tip