Reverse polarity, absolute value, multiply by constant, subtraction, addition, residual 3I₀, harmonic extraction, and envelope signals.
In Detego
Basic operations create new signals by combining or transforming one or more source channels using simple arithmetic. Despite their simplicity, these derived signals are essential tools in protection engineering — residual current reveals ground faults, harmonic extraction isolates specific frequency components for CT saturation analysis, envelope signals track how RMS or peak magnitude evolves over time, and arithmetic operations like addition and scaling enable flexible signal manipulation for KCL verification and CT ratio normalization.
Related Theory Pages
Reverse polarity
Where
Negates every sample of the source channel. This is used for CT polarity correction when a current transformer is wired in reverse, or for phase reversal when the recording convention does not match the protection relay convention. In protection schemes, correct CT polarity is critical -- reversed polarity causes directional elements to see forward faults as reverse and vice versa, potentially blocking tripping for legitimate faults.
Absolute value
Where
Takes the absolute value of every sample, equivalent to full-wave rectification. The output preserves the magnitude of the signal without polarity information. Useful for visualizing the magnitude envelope of an AC waveform, comparing peak values regardless of polarity, or as a preprocessing step before further analysis.
Multiply by constant
Where
Scales every sample by a constant factor. Common uses include CT ratio normalization (e.g., multiplying secondary-side current by the CT ratio to obtain primary values), unit conversion (e.g., kV to V by multiplying by 1000), or applying a known gain/attenuation factor. A factor of −1 is equivalent to reverse polarity.
Channel subtraction
Where
General-purpose sample-by-sample subtraction of two channels. Common uses include computing line-to-line voltages from phase-to-ground measurements (e.g., ), deriving the voltage across a series element, or comparing two measurements of the same quantity from different sources to identify discrepancies.
N-channel addition
Where
Supports 2 to 8 input channels. For exactly 3 current inputs, consider using 3I₀ Residual instead.
Sample-by-sample sum of N channels. Common uses include summing feeder currents at a busbar for KCL verification (the sum should equal the incoming current), combining partial measurements into a total quantity, or aggregating multiple parallel circuit contributions. Unlike 3I₀ Residual which is specifically designed for three-phase current summing, addition works with any number of channels and any signal type.
Residual (zero-sequence) current
Where
For a balanced three-phase system, the sum is zero. Any non-zero residual indicates ground fault current flowing through the neutral/earth path.
The sum of three-phase currents. Per Kirchhoff's current law, in a balanced system with no ground path, the three phase currents sum to zero. A non-zero sum indicates that current is flowing through the ground (earth) path, which is the hallmark of a ground fault. The residual current equals three times the zero-sequence component (), making it a direct indicator of ground fault severity. Earth fault relays (ANSI 50N/51N) operate on this quantity. The Zero Sequence computed signal () uses the same time-domain sum divided by three.
Harmonic extraction via sliding DFT
Where
Default output is a reconstructed waveform. Switch to Envelope mode for the smooth magnitude trace.
Extracts the Nth harmonic component from a channel using a sliding one-cycle DFT. Two output modes are available:
Key use cases:
RMS envelope (sliding one-cycle window)
Where
The window length N equals the sample rate divided by the system frequency (e.g., 64 samples at 3200 Hz / 50 Hz).
Computes the true RMS value over a sliding one-cycle window, producing a smooth envelope that tracks how the effective magnitude of a signal changes over time. This is the same quantity that RMS-measuring instruments report, updated every sample rather than once per cycle. It responds to all frequency content in the window (fundamental plus harmonics plus noise), making it a faithful measure of total signal energy. Common uses:
Peak envelope (sliding one-cycle window)
Where
For a pure sinusoid the peak envelope equals the crest value and is √2 times the RMS envelope.
Reports the maximum absolute sample value within a sliding one-cycle window. Unlike the RMS envelope which averages energy, the peak envelope captures the worst-case instantaneous magnitude. This is particularly relevant for: