The present application relates to the technical field of
power grid super-
harmonic, and specifically discloses a
power grid super-
harmonic online monitoring and identification method and
system, which utilizes a preset learning type measurement matrix to perform non-uniform compression sampling on original signals to be measured of a
power grid, so as to obtain a low-dimensional observation vector sequence; the sequence is subjected to
linear embedding processing and superposition position coding, so as to generate a
feature vector containing
time sequence information; the
feature vector is input into a pre-trained
Transformer reconstruction model, a high-dimensional
time domain waveform after restoration is output through a decoding layer of the
Transformer reconstruction model, so as to realize reconstruction of a super-
harmonic signal; the reconstructed waveform is subjected to feature analysis, and monitoring parameters of the power grid super-harmonic or a harmonic source identification result is output. The present application can obtain a high-frequency
signal under the condition of lower sampling rate of hardware, can reduce
data transmission amount, and thus effectively reduces
system cost; compared with a
reconstruction algorithm of traditional compression sensing which depends on iterative solution, the present application only needs one-time forward calculation to complete
signal reconstruction, and response speed is improved.