Search

CN-121995092-A - Relay protection test waveform generation method, system, terminal and storage medium

CN121995092ACN 121995092 ACN121995092 ACN 121995092ACN-121995092-A

Abstract

The invention discloses a relay protection test waveform generation method, a system, a terminal and a storage medium, which belong to the field of relay protection test waveform generation, wherein the method is applied to a harmonic processing device and comprises the steps of obtaining harmonic data based on a preset harmonic generation algorithm and harmonic parameters; the method comprises the steps of receiving fundamental wave data sent by a fundamental wave processing device, superposing the fundamental wave data and harmonic wave data to obtain fundamental wave mixed waveform data, obtaining a current harmonic wave storage state and a current direct current attenuation storage state, obtaining a current mixed transmission state based on the fundamental wave mixed waveform data, the current harmonic wave storage state and the current direct current attenuation storage state, and transmitting the fundamental wave mixed waveform data to a direct current attenuation processing device based on the current mixed transmission state so that the direct current attenuation processing device obtains direct current attenuation parameters to obtain direct current attenuation data, and superposing the fundamental wave mixed waveform data and the direct current attenuation parameters to obtain relay protection test waveforms. Thereby improving the accuracy of the generated relay protection test waveform.

Inventors

  • GAO BINGWEI
  • YE CHAO
  • LIU YUXIN
  • KONG FANFANG
  • CHEN QIONGLIANG
  • LIN ZHIAN
  • ZHENG ZHONG
  • ZHOU YUZHI
  • XIA RENYI
  • ZHU MINJIE
  • XI HONGLEI
  • ZHAO ZHANGLEI
  • CHEN GANG
  • CHEN LI
  • HAN FENG
  • Yuan jinteng
  • MEI HONG

Assignees

  • 国网浙江省电力有限公司温州供电公司

Dates

Publication Date
20260508
Application Date
20260408

Claims (10)

  1. 1. The relay protection test waveform generation method is characterized by being applied to a harmonic processing device, and comprises the following steps: acquiring harmonic parameters, and acquiring harmonic data based on a preset harmonic generation algorithm and the harmonic parameters; receiving fundamental wave data sent by a fundamental wave processing device, and further superposing the fundamental wave data and the harmonic wave data to obtain fundamental wave mixed waveform data; acquiring a current harmonic storage state and a current direct current attenuation storage state, and further acquiring a current mixed transmission state based on the fundamental mixed waveform data, the current harmonic storage state and the current direct current attenuation storage state; transmitting the fundamental wave mixed waveform data to a direct current attenuation processing device based on the current mixed transmission state, so that the direct current attenuation processing device obtains direct current attenuation parameters, obtains direct current attenuation data based on a preset direct current attenuation generation algorithm and the direct current attenuation parameters, and further superimposes the fundamental wave mixed waveform data and the direct current attenuation parameters to obtain a relay protection test waveform; wherein the step of acquiring the harmonic parameters based on the fundamental wave processing device includes: Acquiring fundamental wave parameters, and acquiring fundamental wave data based on a preset fundamental wave generation algorithm and the fundamental wave parameters; acquiring a current fundamental wave storage state, and acquiring a current fundamental wave transmission state based on the fundamental wave data, the current fundamental wave storage state and the current harmonic wave storage state; Transmitting the base wave data to the harmonic processing device based on the current fundamental wave transmission state.
  2. 2. The relay protection test waveform generation method according to claim 1, wherein the transmitting the base data to the harmonic processing device based on the current fundamental wave transmission state includes: Acquiring harmonic cache register storage data and harmonic output register storage data; the current harmonic storage state is determined based on the harmonic cache register storage data and the harmonic output register storage data.
  3. 3. The method of claim 2, wherein determining the current harmonic storage state based on the harmonic cache register storage data and the harmonic output register storage data comprises: When the harmonic cache register storage data is not stored with the fundamental wave data and the harmonic output register storage data is stored with the fundamental wave data, or when the fundamental wave data is not stored in both the harmonic cache register storage data and the harmonic output register storage data, determining that the current harmonic storage state is receivable; When the fundamental wave data is received and the current harmonic storage state is receivable, the current fundamental wave transmission state is updated to be transmittable to the harmonic processing device.
  4. 4. The method of claim 2, wherein determining the current harmonic storage state based on the harmonic cache register storage data and the harmonic output register storage data comprises: when the harmonic buffer storage data and the harmonic output register storage data are both stored with the fundamental wave data, updating the current fundamental wave transmission state to be incapable of transmitting the fundamental wave data to the harmonic processing device.
  5. 5. The method for generating a relay protection test waveform according to claim 1, wherein the obtaining a current harmonic storage state and a current dc-attenuation storage state, and further obtaining a current hybrid transmission state based on the fundamental hybrid waveform data, the current harmonic storage state and the current dc-attenuation storage state, comprises: Acquiring storage data of a direct current attenuation cache register and storage data of a direct current attenuation output register; When the direct current attenuation buffer storage data and the direct current attenuation output register storage data are both the base harmonic mixed waveform data which are not stored, or the direct current attenuation buffer storage data are the base harmonic mixed waveform data which are not stored, and the direct current attenuation output register storage data are the base harmonic mixed waveform data which are stored, the current direct current attenuation storage state is receivable; When the fundamental mixed waveform data is received and the current direct current attenuation storage state is receivable, updating the current mixed transmission state to be capable of transmitting the fundamental mixed waveform data to the direct current attenuation processing device.
  6. 6. The method for generating a relay protection test waveform according to claim 5, wherein the obtaining the current harmonic storage state and the current dc-attenuation storage state, and further obtaining the current hybrid transmission state based on the fundamental hybrid waveform data, the current harmonic storage state and the current dc-attenuation storage state, comprises: When the direct-current attenuation buffer storage data and the direct-current attenuation output register storage data are stored with the fundamental wave mixed waveform data, updating the current mixed transmission state to be incapable of transmitting the fundamental wave mixed waveform data to the direct-current attenuation processing device.
  7. 7. The method for generating a relay protection test waveform according to claim 1, wherein the dc attenuation parameters include dc attenuation amplitude and time constant parameters, the transmitting the fundamental mixed waveform data to a dc attenuation processing device based on the current mixed transmission state, so that the dc attenuation processing device obtains the dc attenuation parameters, obtains dc attenuation data based on a preset dc attenuation generation algorithm and the dc attenuation parameters, and further superimposes the fundamental mixed waveform data and the dc attenuation parameters to obtain the relay protection test waveform, including: and carrying out attenuation accumulation processing on the DC attenuation amplitude through the time constant parameter to obtain the DC attenuation data.
  8. 8. The relay protection test waveform generation system is characterized by comprising a fundamental wave processing device, a harmonic wave processing device and a direct current attenuation processing device, wherein: The fundamental wave processing device acquires fundamental wave parameters, and obtains fundamental wave data based on a preset fundamental wave generation algorithm and the fundamental wave parameters; The fundamental wave processing device acquires a current fundamental wave storage state and obtains a current fundamental wave transmission state based on the fundamental wave data, the current fundamental wave storage state and the current harmonic wave storage state; the fundamental wave processing device transmits the fundamental wave data to the harmonic wave processing device based on the current fundamental wave transmission state; the harmonic processing device receives harmonic parameters sent by the fundamental wave processing device, obtains harmonic data based on a preset harmonic generation algorithm and the harmonic parameters, and further superimposes the fundamental wave data and the harmonic data to obtain fundamental harmonic mixed waveform data; The harmonic processing device acquires a current harmonic storage state and a current direct current attenuation storage state, and further acquires a current mixed transmission state based on the fundamental mixed waveform data, the current harmonic storage state and the current direct current attenuation storage state; The harmonic processing device transmits the fundamental harmonic mixed waveform data to the direct current attenuation processing device based on the current mixed transmission state; The direct current attenuation processing device obtains direct current attenuation parameters, obtains direct current attenuation data based on a preset direct current attenuation generation algorithm and the direct current attenuation parameters, and further superimposes the fundamental mixed waveform data and the direct current attenuation parameters to obtain a relay protection test waveform.
  9. 9. A terminal device comprising a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, the processor implementing a relay protection test waveform generation method according to any one of claims 1-7 when executing the computer program.
  10. 10. A computer readable storage medium comprising a stored computer program, wherein the computer program, when run, controls a device in which the computer readable storage medium is located to perform a method of generating a relay protection test waveform according to any one of claims 1-7.

Description

Relay protection test waveform generation method, system, terminal and storage medium Technical Field The invention relates to the technical field of relay protection test waveform generation, in particular to a relay protection test waveform generation method, a relay protection test waveform generation system, a relay protection test waveform generation terminal and a relay protection test waveform generation storage medium. Background With the continuous development and the improvement of the intelligent level of the power system, the role of the relay protection test equipment in the power system is more important, and the relay protection test equipment is often required to generate various complex test waveforms so as to verify the action accuracy of the relay protection device. Currently, a multi-stage pipeline processing technology is generally adopted to decompose a complex test task into a plurality of small modules, each module completes a specific task, and the modules are connected in a pipeline manner so that the modules can be executed in parallel. The traditional relay protection test waveform generation scheme adopts a serial processing architecture, and the generation and superposition of fundamental wave, harmonic wave and direct current attenuation data are required to be sequentially executed according to a fixed sequence. The method has obvious technical bottlenecks, such as waveform fracture caused by interstage blocking, upstream data loss caused by downstream module processing delay in a serial processing architecture of fundamental wave, harmonic wave and transient disturbance, and waveform continuity cannot be ensured especially when high-frequency transient is simulated. Phase synchronization error accumulation-handshake signal propagation delay of a multistage pipeline can cause fundamental and harmonic phase mismatch, lead to distortion of harmonic analysis results and the like. Disclosure of Invention The invention provides a relay protection test waveform generation method, a relay protection test waveform generation system, a relay protection test waveform generation terminal and a relay protection test waveform storage medium, which can improve the accuracy of the generated relay protection test waveform. The invention discloses a relay protection test waveform generation method, which is applied to a harmonic processing device and comprises the following steps: acquiring harmonic parameters, and acquiring harmonic data based on a preset harmonic generation algorithm and the harmonic parameters; receiving fundamental wave data sent by a fundamental wave processing device, and further superposing the fundamental wave data and the harmonic wave data to obtain fundamental wave mixed waveform data; acquiring a current harmonic storage state and a current direct current attenuation storage state, and further acquiring a current mixed transmission state based on the fundamental mixed waveform data, the current harmonic storage state and the current direct current attenuation storage state; transmitting the fundamental wave mixed waveform data to a direct current attenuation processing device based on the current mixed transmission state, so that the direct current attenuation processing device obtains direct current attenuation parameters, obtains direct current attenuation data based on a preset direct current attenuation generation algorithm and the direct current attenuation parameters, and further superimposes the fundamental wave mixed waveform data and the direct current attenuation parameters to obtain a relay protection test waveform; wherein the step of acquiring the harmonic parameters based on the fundamental wave processing device includes: Acquiring fundamental wave parameters, and acquiring fundamental wave data based on a preset fundamental wave generation algorithm and the fundamental wave parameters; acquiring a current fundamental wave storage state, and acquiring a current fundamental wave transmission state based on the fundamental wave data, the current fundamental wave storage state and the current harmonic wave storage state; Transmitting the base wave data to the harmonic processing device based on the current fundamental wave transmission state. According to the scheme, the fundamental wave processing device accurately judges the current fundamental wave transmission state by acquiring the current fundamental wave storage state and the current harmonic wave storage state of the harmonic wave processing device, so that fundamental wave data is prevented from being lost due to the fact that the harmonic wave processing device is full of storage, the harmonic wave processing device determines the current mixed transmission state by acquiring the current harmonic wave storage state and the current direct current attenuation storage state of the direct current attenuation processing device, stable transmission of fundamental wave mixed waveform data is ensured