A method and system for aligning homologous waveforms for non-continuous recording of power grid faults

By resampling and waveform interception and movement of the discontinuous waveforms of the relay protection device and the fault recorder, combining absolute time and waveform correlation coefficient, waveform alignment in the power grid failure is achieved, and the alignment difficulties in the prior art are solved Problem, improving the accuracy and reliability of alignment.

CN118641889BActive Publication Date: 2024-12-17STATE GRID JIANGSU ELECTRIC POWER CO LTD SUZHOU BRANCH +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411104485.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-13
Publication Date
2024-12-17
Estimated Expiration
2044-08-13

AI Technical Summary

Technical Problem

In the event of power system failure, the discontinuous waveform alignment generated by the relay protection device and the fault recorder is difficult, resulting in waveform alignment failure, especially when multiple waveforms exist in complex fault conditions.

Method used

The discontinuous waveforms of the acquisition relay protection device and the fault recorder are used to initially align and merge through resampling and waveform interception and movement, combining absolute time and waveform correlation coefficient to form the aligned waveform.

Benefits of technology

The discontinuous waveform generated by a single relay protection device in the event of a power grid failure is achieved accurately and the waveform of the fault recorder is avoided. The waveform alignment failure is improved, and the alignment accuracy is reduced and misjudgment is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118641889B_ABST
    Figure CN118641889B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and system for aligning homologous waveforms of non-continuous recording of power grid faults. The non-continuous waveforms generated by a single relay protection device during the same fault are aligned and merged with the homologous waveforms of a fault recorder, which can adapt to the alignment problem of non-continuous recordings generated by a single relay protection device during the same power grid fault, and prevent the situation where the waveforms cannot be aligned. Absolute time is used as a reference for preliminary alignment, and the waveform alignment angle is determined according to the proposed waveform correlation coefficient, which can solve the problem of possible misjudgment when finding the fault point as a preliminary alignment reference in the prior art. The present invention can accurately align the waveform of the relay protection device with the waveform of the fault recorder when the relay protection device generates multiple waveforms during a power system fault.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of power system operation and maintenance, and relates to a method and system for aligning homologous waveforms for non-continuous recording of power grid faults. Background Art

[0002] The correct operation of the relay protection device is the first line of defense to ensure the safe and stable operation of the power system, and the correctness of the analog quantity sampling is the key factor for the correct operation of the relay protection device. When a system disturbance or fault occurs in the power system, the relay protection device and the fault recording device will generate a fault recording. According to the characteristics of the relay protection device and the fault recording device in the substation sampling the same current transformer, the same analog quantity channel in different fault recordings is compared to verify whether there is any abnormality in the analog quantity sampling. Different fault recordings are asynchronous sampling recordings, and the same analog quantity channel is not in the same time scale system. Therefore, the waveforms need to be aligned before comparing the analog quantity sampling.

[0003] The prior art proposes a method for aligning multiple waveforms of asynchronously sampled homologous recordings, which finds a fault point according to a waveform file; takes the fault point as a starting point and searches forward for the nearest zero-crossing point of one cycle from the fault point, and intercepts 6 cycles backward with the zero-crossing point as the first point of the waveform; determines the sampling frequency of the intercepted 6 cycles, resamples the cycles with different sampling frequencies, and converts them into waveforms with the same sampling frequency; iteratively shifts the phase according to the phase angle difference at the first sampling point of each waveform, thereby aligning the two waveforms of asynchronous sampling.

[0004] Due to the differences in the recording functions of the dual-configuration relay protection device and the fault recorder, when a complex fault occurs in the actual power system, the relay protection device may not only generate one recording. When the characteristics of a fault are contained in two or more waveforms, the waveform alignment is not a one-to-one situation, and the alignment method in the prior art will fail. Summary of the invention

[0005] In order to solve the deficiencies in the prior art, the present invention provides a method and system for aligning homologous waveforms for discontinuous recording of power grid faults, which accurately aligns the waveform of the relay protection device and the waveform of the fault recorder when a relay protection device generates multiple discontinuous waveforms during an electric power system fault.

[0006] The present invention adopts the following technical solutions. A first aspect of the present invention provides a method for aligning homologous waveforms for non-continuous recording of power grid faults, comprising:

[0007] S1: Collect the non-continuous waveforms Wave_A1 and Wave_A2 generated by a single relay protection device after a power grid fault occurs, and the waveform Wave_B generated by the intelligent recorder, which has the same analog quantity and switch quantity as the relay protection device waveform;

[0008] S2: Get the sampling frequencies corresponding to the waveforms in S1, take the minimum sampling frequency as the reference sampling frequency, and resample the waveforms of non-reference sampling frequencies;

[0009] S3: By waveform interception and movement, the waveform Wave_A1 processed by S2 is preliminarily aligned with the waveform Wave_B to obtain new waveforms Wave_A1_result and Wave_B_A1_result; the waveform Wave_A2 processed by S2 is preliminarily aligned with the waveform Wave_B to obtain new waveforms Wave_A2_result and Wave_B_A2_result;

[0010] S4: Taking the first sampling point time of Wave_B_A1_result as the start time and the last sampling point time of Wave_B_A2_result as the end time, a time series List_T of the merged waveform is formed;

[0011] S5: Combine the sampling values ​​in the new waveform Wave_A1_result and the new waveform Wave_A2_result according to the time in the time series List_T to form a sampling value sequence List_WaveA, combine the sampling values ​​in Wave_B_A1_result and the new waveform Wave_A2_result according to the time in the time series List_T to form a sampling value sequence List_WaveB, and the sampling value sequence List_WaveA and the sampling value sequence List_WaveB form an aligned waveform.

[0012] Preferably, in S3, for the waveform Wave_A1 and the waveform Wave_B processed by S2, the preliminary alignment process is:

[0013] S3.1: Obtain the absolute time T_Wave_A1 of the start-up moment corresponding to the waveform Wave_A1, and search for the sampling time T_Wave_B_A1 closest to the absolute time T_Wave_A1 of the start-up moment in the waveform Wave_B;

[0014] S3.2: The waveform Wave_A1 is centered at the absolute time T_Wave_A1 at the start moment, and one cycle is cut before and after to form the waveform Wave_A1_new. The waveform Wave_B is centered at the sampling time T_Wave_B_A1, and one cycle is cut before and after to form the waveform Wave_B_A1.

[0015] S3.3: Set the waveform Wave_B_A1 in [ ], it moves with the set moving angle as the step length to form a new waveform Wave_B_A1_move;

[0016] S3.4: Calculate the waveform correlation coefficient based on the sampling values ​​in the new waveform Wave_B_A1_move and the waveform Wave_A1_new , the closest to 1 The angle of movement As the waveform alignment angle;

[0017] S35: All analog channels in the waveforms Wave_A1 and Wave_B take the absolute time T_Wave_A1 of the start time and the sampling time T_Wave_B_A1 as the center time, and intercept the waveform data of the waveforms Wave_A1 and Wave_B that contain the same absolute time period before and after the center time to form new waveforms Wave_A1_result and Wave_B_cut;

[0018] S36: Wave_B_cut moves the waveform according to the waveform alignment angle to form Wave_B_A1_result.

[0019] Preferably, in S3.3, the waveform movement mode is:

[0020] Convert the set movement angle into movement time , each time it moves, calculate the movement of each sampling point The resampled sample values ​​form a new waveform Wave_B_A1_move.

[0021] Preferably, in S3.4, The calculation formula is:

[0022] (2)

[0023] in: is the waveform correlation coefficient when moving n times;

[0024] N is the number of sampling points in the waveform Wave_A1_new and the new waveform Wave_B_A1_move;

[0025] is the sampling value of sampling point i in the waveform Wave_A1_new;

[0026] It is the sampling value of sampling point i in the new waveform Wave_B_A1_move obtained after moving n times.

[0027] Preferably, in S5, when the sampling values ​​in the new waveform Wave_A1_result and the new waveform Wave_A2_result are combined according to the time in the time series List_T, the sampling values ​​at the time that do not exist in the waveform are set to 0 to form the sampling value sequence List_WaveA.

[0028] Preferably, in S5, when the sampling values ​​in Wave_B_A1_result and the new waveform Wave_A2_result are combined according to the time in the time series List_T, the sampling value at the time not existing in the waveform is set to the sampling value of the waveform Wave_B processed by S2 at that time to form the sampling value sequence List_WaveB.

[0029] Preferably, in S5, waveforms formed by the sampling value sequence List_WaveA and the sampling value sequence List_WaveB on the time axis formed by the time sequence List_T are aligned waveforms.

[0030] A second aspect of the present invention provides a homologous waveform alignment system for non-continuous recording of power grid faults, the system comprising:

[0031] The acquisition module is used to acquire the waveforms Wave_A1 and Wave_A2 generated by the relay protection device after a power grid fault occurs, and the waveform Wave_B generated by the intelligent recorder;

[0032] A resampling module is used to obtain the sampling frequency corresponding to each waveform, and to resample the waveforms of non-base sampling frequencies by taking the minimum sampling frequency as the base sampling frequency;

[0033] The preliminary alignment module is used to preliminarily align the waveform Wave_A1 processed by the resampling module with the waveform Wave_B through waveform interception and movement to obtain new waveforms Wave_A1_result and Wave_B_A1_result, and to preliminarily align the waveform Wave_A2 processed by the resampling module with the waveform Wave_B to obtain new waveforms Wave_A2_result and Wave_B_A2_result;

[0034] The combination module is used to form a time sequence List_T of the merged waveform with the first sampling point time of Wave_B_A1_result as the starting time and the last sampling point time of Wave_B_A2_result as the ending time; the sampling values ​​in the new waveforms Wave_A1_result and Wave_A2_result are combined according to the time in List_T to form a sampling value sequence List_WaveA, and the sampling values ​​in Wave_B_A1_result and Wave_A2_result are combined according to the time in List_T to form a sampling value sequence List_WaveB, and List_WaveA and List_WaveB form an aligned waveform.

[0035] A terminal comprises a processor and a storage medium; the storage medium is used to store instructions; the processor is used to operate according to the instructions to execute the steps of the method.

[0036] A computer-readable storage medium stores a computer program, which implements the steps of the method when executed by a processor.

[0037] Compared with the prior art, the beneficial effects of the present invention include at least:

[0038] (1) The present invention can adapt to the alignment problem of non-continuous waveforms generated by a single relay protection device during the same power grid fault by aligning and merging the non-continuous waveforms generated by a single relay protection device during the same fault with the same source waveform of the fault recorder, thereby preventing the situation where the waveforms cannot be aligned.

[0039] (2) The present invention uses absolute time as a reference for preliminary alignment and determines the waveform alignment angle according to the proposed waveform correlation coefficient, which can solve the problem of possible misjudgment when finding the fault point as a reference for preliminary alignment in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 The present invention is a flow chart of a waveform alignment method for non-continuous recording of power grid faults. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical scheme and advantages of the present invention clearer, the technical scheme of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. The embodiments described in this application are only embodiments of a part of the present invention, rather than all embodiments. Based on the spirit of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work belong to the protection scope of the present invention.

[0042] Embodiment 1 of the present invention provides a waveform alignment method for non-continuous recording of power grid faults, such as Figure 1 As shown, including:

[0043] S1: Collect the non-continuous waveforms Wave_A1 and Wave_A2 generated by a single relay protection device after a power grid fault occurs, and the waveform Wave_B generated by the intelligent recorder, which has the same analog quantity and switch quantity as the relay protection device waveform;

[0044] The waveform Comtrade file of the relay protection device and the waveform Comtrade file of the intelligent recorder are collected after a power grid fault occurs. The relay protection device generates waveforms Wave_A1 and Wave_A2, and the intelligent recorder generates waveform Wave_B.

[0045] S2: Obtain the sampling frequency corresponding to each waveform, take the minimum sampling frequency as the reference sampling frequency, and resample the waveform of the non-reference sampling frequency;

[0046] Get the sampling frequency corresponding to each waveform file, and set the minimum sampling frequency in each waveform as the reference sampling frequency , resample the waveform of non-reference sampling frequency;

[0047] The sampling frequency of Wave_A1 and Wave_A2 is 1200Hz, and the sampling frequency of Wave_B is 10000Hz. Set 1200Hz as the base sampling frequency, and resample Wave_B at 1200Hz.

[0048] Resampling formula:

[0049] (1)

[0050] in:( , )、( , )、( , ) are three consecutive sampling points in the waveform;

[0051] , , is the time corresponding to three consecutive sampling points;

[0052] , , are the sampling values ​​corresponding to three consecutive sampling points;

[0053] for The sample value obtained by resampling at time.

[0054] S3: By intercepting and moving the waveform, the waveform Wave_A1 is preliminarily aligned with the waveform Wave_B to obtain new waveforms Wave_A1_result and Wave_B_A1_result, and the waveform Wave_A2 is preliminarily aligned with the waveform Wave_B to obtain new waveforms Wave_A2_result and Wave_B_A2_result;

[0055] S3.1: Obtain the absolute time T_Wave_A1 of the start time corresponding to the waveform file of the waveform Wave_A1, and search for the sampling time T_Wave_B_A1 closest to T_Wave_A1 in the waveform Wave_B, that is, the absolute time in the waveform Wave_B;

[0056] S3.2: The waveform Wave_A1 is centered at the absolute time T_Wave_A1 at the start moment, and one cycle is cut before and after to form the waveform Wave_A1_new. The waveform Wave_B is centered at the sampling time T_Wave_B_A1, and one cycle is cut before and after to form the waveform Wave_B_A1.

[0057] S3.3: Add the waveform Wave_B_A1 in S3.2 to [ ] range, according to The step size is moved, and the moving method is:

[0058] S3.3.1: Convert the angle of movement to time, such as ,but ;

[0059] S3.3.2: Calculate the movement of each sampling point according to formula (1) The resampled sample value after the movement; each movement will form a new waveform Wave_B_A1_move;

[0060] S3.4, calculate the waveform correlation coefficient by comparing the sampling values ​​in the new waveform Wave_B_A1_move obtained by each movement in S3.3 with the sampling values ​​in the waveform Wave_A1_new ,Will The angle moved when it is closest to 1 As the final waveform alignment angle.

[0061] (2)

[0062] in: is the waveform correlation coefficient when moving n times;

[0063] N is the number of sampling points of the waveform Wave_A1_new and the new waveform Wave_B_A1_move;

[0064] is the sampling value of each sampling point in the waveform Wave_A1_new;

[0065] It is the sampling value of each sampling point in the new waveform Wave_B_A1_move obtained after moving n times.

[0066] S35: All analog channels in the waveforms Wave_A1 and Wave_B take the absolute time T_Wave_A1 of the start time and the sampling time T_Wave_B_A1 as the center time, and intercept the waveform data of the waveforms Wave_A1 and Wave_B that contain the same absolute time period before and after the center time to form new waveforms Wave_A1_result and Wave_B_cut;

[0067] S36: The intercepted Wave_B_cut is based on the moving angle obtained in S34 Move the waveform to form Wave_B_A1_result;

[0068] The preliminary alignment process of the waveform Wave_A2 and the waveform Wave_B refers to S3.1~S3.6 (modify the waveform Wave_A1 in S3.1~S3.6 into the waveform Wave_A2), the waveform Wave_A2 forms the final new waveform Wave_A2_result, and the waveform Wave_B forms Wave_B_A2_result;

[0069] S4: Take the first sampling point time of Wave_B_A1_result as the start time and the last time of Wave_B_A2_result as the end time to form the time series List_T of the merged waveform;

[0070] S5: Combine the sampling values ​​in the new waveform Wave_A1_result and the new waveform Wave_A2_result according to the time in the time sequence List_T, and set the sampling values ​​at the time that does not exist in the waveform to 0, to form a sampling value sequence List_WaveA;

[0071] Combine the sampling values ​​in Wave_B_A1_result and the new waveform Wave_A2_result according to the time in the time series List_T, and set the sampling value at the time when and does not exist in the waveform to the sampling value of the waveform Wave_B processed by S2 at that time, to form a sampling value sequence List_WaveB;

[0072] The waveform formed by the sampling value sequence List_WaveA and the sampling value sequence List_WaveB on the time axis formed by the time sequence List_T is the aligned waveform.

[0073] Embodiment 2 of the present invention provides a homologous waveform alignment system for non-continuous recording of power grid faults, the system comprising:

[0074] The acquisition module is used to acquire the waveforms Wave_A1 and Wave_A2 generated by the relay protection device after a power grid fault occurs, and the waveform Wave_B generated by the intelligent recorder;

[0075] A resampling module is used to obtain the sampling frequency corresponding to each waveform, and to resample the waveforms of non-base sampling frequencies by taking the minimum sampling frequency as the base sampling frequency;

[0076] The preliminary alignment module is used to preliminarily align the waveform Wave_A1 processed by the resampling module with the waveform Wave_B through waveform interception and movement to obtain new waveforms Wave_A1_result and Wave_B_A1_result, and to preliminarily align the waveform Wave_A2 processed by the resampling module with the waveform Wave_B to obtain new waveforms Wave_A2_result and Wave_B_A2_result;

[0077] The combination module is used to form a time sequence List_T of the merged waveform with the first sampling point time of Wave_B_A1_result as the starting time and the last sampling point time of Wave_B_A2_result as the ending time; the sampling values ​​in the new waveforms Wave_A1_result and Wave_A2_result are combined according to the time in List_T to form a sampling value sequence List_WaveA, and the sampling values ​​in Wave_B_A1_result and Wave_A2_result are combined according to the time in List_T to form a sampling value sequence List_WaveB, and List_WaveA and List_WaveB form an aligned waveform.

[0078] Embodiment 3 of the present invention provides a terminal, including a processor and a storage medium; the storage medium is used to store instructions; the processor is used to operate according to the instructions to execute the steps of the method.

[0079] Embodiment 4 of the present invention provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of the method when executed by a processor.

[0080] Compared with the prior art, the beneficial effects of the present invention include at least:

[0081] (1) The present invention can adapt to the alignment problem of non-continuous waveforms generated by a single relay protection device during the same power grid fault by aligning and merging the non-continuous waveforms generated by a single relay protection device during the same fault with the same source waveform of the fault recorder, thereby preventing the situation where the waveforms cannot be aligned.

[0082] (2) The present invention uses absolute time as a reference for preliminary alignment and determines the waveform alignment angle according to the proposed waveform correlation coefficient, which can solve the problem of possible misjudgment when finding the fault point as a reference for preliminary alignment in the prior art.

[0083] The present disclosure may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.

[0084] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above. More specific examples (a non-exhaustive list) of computer-readable storage media include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the above. The computer-readable storage medium used herein is not to be interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0085] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0086] The computer program instructions for performing the operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. The computer-readable program instructions may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect through the Internet). In some embodiments, by using the state information of the computer-readable program instructions to personalize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), the electronic circuit may execute the computer-readable program instructions, thereby implementing various aspects of the present disclosure.

[0087] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents, and any modifications or equivalent replacements that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A method for aligning homologous waveforms for non-continuous recording of power grid faults, characterized in that: The method comprises: S1: Collect the non-continuous waveforms Wave_A1 and Wave_A2 generated by a single relay protection device after a power grid fault occurs, and the waveform Wave_B generated by the intelligent recorder, which has the same analog quantity and switch quantity as the relay protection device waveform; S2: Get the sampling frequencies corresponding to the waveforms in S1, take the minimum sampling frequency as the reference sampling frequency, and resample the waveforms of non-reference sampling frequencies; S3: By waveform interception and movement, the waveform Wave_A1 processed by S2 is preliminarily aligned with the waveform Wave_B to obtain new waveforms Wave_A1_result and Wave_B_A1_result; the waveform Wave_A2 processed by S2 is preliminarily aligned with the waveform Wave_B to obtain new waveforms Wave_A2_result and Wave_B_A2_result; For the waveform Wave_A1 and the waveform Wave_B processed by S2, the initial alignment process is: S3.1: Obtain the absolute time T_Wave_A1 of the start-up moment corresponding to the waveform Wave_A1, and search for the sampling time T_Wave_B_A1 closest to the absolute time T_Wave_A1 of the start-up moment in the waveform Wave_B; S3.2: The waveform Wave_A1 is centered at the absolute time T_Wave_A1 at the start moment, and one cycle is cut before and after to form the waveform Wave_A1_new. The waveform Wave_B is centered at the sampling time T_Wave_B_A1, and one cycle is cut before and after to form the waveform Wave_B_A1. S3.3: Set the waveform Wave_B_A1 to Within the range, it moves with the set moving angle as the step length to form a new waveform Wave_B_A1_move; S3.4: Calculate the waveform correlation coefficient based on the sampling values ​​in the new waveform Wave_B_A1_move and the waveform Wave_A1_new , the closest to 1 The angle of movement As the waveform alignment angle; S3.5: All analog channels in the waveforms Wave_A1 and Wave_B take the absolute time T_Wave_A1 of the start time and the sampling time T_Wave_B_A1 as the center time, and intercept the waveform data of the waveforms Wave_A1 and Wave_B that contain the same absolute time period before and after the center time to form new waveforms Wave_A1_result and Wave_B_cut; S3.6: Wave_B_cut moves the waveform according to the waveform alignment angle to form Wave_B_A1_result; S4: Taking the first sampling point time of Wave_B_A1_result as the start time and the last sampling point time of Wave_B_A2_result as the end time, a time series List_T of the merged waveform is formed; S5: Combine the sampling values ​​in the new waveform Wave_A1_result and the new waveform Wave_A2_result according to the time in the time series List_T to form a sampling value sequence List_WaveA, combine the sampling values ​​in Wave_B_A1_result and the new waveform Wave_B_A2_result according to the time in the time series List_T to form a sampling value sequence List_WaveB, and the sampling value sequence List_WaveA and the sampling value sequence List_WaveB form an aligned waveform.

2. The method for aligning homologous waveforms for non-continuous recording of power grid faults according to claim 1 is characterized by: In S3.3, the waveform movement mode is: Convert the set movement angle into movement time , each time it moves, calculate the movement of each sampling point The resampled sample values ​​form a new waveform Wave_B_A1_move.

3. The method for aligning homologous waveforms for non-continuous recording of power grid faults according to claim 1 is characterized by: In S3.4, The calculation formula is: (2) in: is the waveform correlation coefficient when moving n times; N is the number of sampling points in the waveform Wave_A1_new and the new waveform Wave_B_A1_move; is the sampling value of sampling point i in the waveform Wave_A1_new; It is the sampling value of sampling point i in the new waveform Wave_B_A1_move obtained after moving n times.

4. The method for aligning homologous waveforms for non-continuous recording of power grid faults according to claim 1 is characterized by: In S5, when the sampling values ​​in the new waveform Wave_A1_result and the new waveform Wave_A2_result are combined according to the time in the time series List_T, the sampling values ​​at the time that do not exist in the waveform are set to 0, forming a sampling value sequence List_WaveA.

5. The method for aligning homologous waveforms for non-continuous recording of power grid faults according to claim 1 is characterized by: In S5, when the sampling values ​​in Wave_B_A1_result and the new waveform Wave_B_A2_result are combined according to the time in the time series List_T, the sampling value at the time that does not exist in the waveform is set to the sampling value of the waveform Wave_B processed by S2 at that time, forming a sampling value sequence List_WaveB.

6. The method for aligning homologous waveforms for non-continuous recording of power grid faults according to claim 1, characterized in that: In S5 , the waveforms formed by the sampling value sequence List_WaveA and the sampling value sequence List_WaveB on the time axis formed by the time sequence List_T are aligned waveforms.

7. A homologous waveform alignment system for non-continuous recording of power grid faults, using the method according to any one of claims 1 to 6, characterized in that: The system comprises: The acquisition module is used to acquire the waveforms Wave_A1 and Wave_A2 generated by the relay protection device after a power grid fault occurs, and the waveform Wave_B generated by the intelligent recorder; A resampling module is used to obtain the sampling frequency corresponding to each waveform, and to resample the waveforms of non-base sampling frequencies by taking the minimum sampling frequency as the base sampling frequency; The preliminary alignment module is used to preliminarily align the waveform Wave_A1 processed by the resampling module with the waveform Wave_B through waveform interception and movement to obtain new waveforms Wave_A1_result and Wave_B_A1_result, and to preliminarily align the waveform Wave_A2 processed by the resampling module with the waveform Wave_B to obtain new waveforms Wave_A2_result and Wave_B_A2_result; The combination module is used to form a time sequence List_T of the merged waveform with the first sampling point time of Wave_B_A1_result as the starting time and the last sampling point time of Wave_B_A2_result as the ending time; the sampling values ​​in the new waveforms Wave_A1_result and Wave_A2_result are combined according to the time in List_T to form a sampling value sequence List_WaveA, and the sampling values ​​in Wave_B_A1_result and Wave_B_A2_result are combined according to the time in List_T to form a sampling value sequence List_WaveB, and List_WaveA and List_WaveB form an aligned waveform.

8. A terminal comprising a processor and a storage medium; characterized in that: The storage medium is used to store instructions; The processor is configured to operate according to the instructions to execute the steps of the method according to any one of claims 1-6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.