Substation transient electromagnetic disturbance macro pulse waveform automatic analysis method and system

By identifying and removing micro-pulse signals, extracting macro-pulse peaks and durations, and using convolutional neural network to analyze port types and noise amplitudes, the problem that the existing technology cannot effectively analyze the harassment waveform characteristics of substation ports under ultra-high voltage levels is solved. Automatic analysis and parameter generation of transient electromagnetic disturbance waveforms of substations are realized.

CN119291321APending Publication Date: 2025-01-10GUIZHOU POWER GRID CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411277029.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-12
Publication Date
2025-01-10

AI Technical Summary

Technical Problem

The prior art cannot effectively analyze the harassment waveform characteristics of substation ports under ultra-high voltage levels, especially in the analysis of the macro pulse waveform of transient electromagnetic harassment.

Method used

Provide an automatic analysis method for the macro pulse waveform of transient electromagnetic disturbance in substations. By collecting waveform data, identifying the output port type and background noise amplitude, setting thresholds, removing micro-pulse signals, extracting macro pulse peaks and durations, and using convolution Neural networks build waveform recognition models to identify and analyze port types and noise amplitudes.

Benefits of technology

Automatic analysis of the transient electromagnetic disturbance waveform data of the substation is realized, corresponding amplitude threshold is generated, macro pulse waveform data is generated in combination with the global search method, and corresponding waveform parameters are obtained, which can effectively analyze the port disturbance waveform characteristics under ultra-high voltage levels.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119291321A_ABST
    Figure CN119291321A_ABST
Patent Text Reader

Abstract

The invention discloses a transformer substation transient electromagnetic disturbance macro pulse waveform automatic analysis method and system. The method comprises the steps that transformer substation transient electromagnetic waveform data are collected, waveform features are extracted, and according to the waveform features, the type of an output port and a background noise amplitude are recognized to serve as a first amplitude threshold value; traversing the transient electromagnetic waveform data of the transformer substation, taking a difference value between a maximum value and a minimum value in the waveform as a macro pulse peak-to-peak value, and taking a maximum value of absolute values of the maximum value and the minimum value as a macro pulse maximum peak value; performing global search on the waveform according to the first amplitude threshold to obtain a maximum peak position and absolute time; taking the maximum peak position as the center to eliminate the micro-pulses whose waveform amplitudes do not meet the first amplitude threshold, taking the absolute time of the maximum peak in the waveform, storing the absolute time into a first array and sorting the absolute time, and calculating the time difference between two adjacent points to form a second array as the micro-pulse interval time; the macro pulse duration is the difference between the maximum value and the minimum value in the one-dimensional array. According to the invention, the waveform data can be automatically analyzed to obtain the waveform parameters of the macro pulse sequence.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of waveform analysis, and in particular to a method and system for automatically analyzing transient electromagnetic disturbance macro-pulse waveforms of a substation. Background Art

[0002] The existing electromagnetic compatibility immunity assessment usually uses damped oscillation to equate the electromagnetic interference on the substation secondary equipment port caused by the switch operation, and uses it to perform electromagnetic compatibility immunity assessment on the secondary equipment during the electromagnetic compatibility test. In the IEC61000-4-18 damped oscillation wave immunity test standard, the waveform parameters of the damped oscillation wave of the secondary equipment caused by the GIS switch are clearly defined, and the immunity requirements and test methods for the secondary equipment are given. The standard only lists the test level of the common mode voltage, assuming that the differential mode voltage is half of the common mode voltage, that is, level 1: 0.25kV; level 2: 0.5kV; level 3: 1kV; level 4: 2kV. In the above definition, repetition rate = number of micro pulses / macro pulse duration: according to Pk 10 Decay to less than Pk 1 The attenuation level is 50%, assuming that Pk 20 When it decays to 0, 10 oscillation cycles are considered to be the duration of the oscillation wave.

[0003] The existing technology mainly counts the peak voltage and main frequency characteristics, and has a general understanding of the port disturbance level and frequency range under the UHV level. In practical applications, the specific characteristics of the disturbance waveform need to be further analyzed and studied. Therefore, an automatic analysis method for the disturbance macro pulse waveform is urgently needed. Summary of the invention

[0004] The purpose of this section is to summarize some aspects of embodiments of the present invention and briefly introduce some preferred embodiments. Some simplifications or omissions may be made in this section and the specification abstract and the invention title of this application to avoid blurring the purpose of this section, the specification abstract and the invention title, and such simplifications or omissions cannot be used to limit the scope of the present invention.

[0005] In view of the above existing problems, the present invention is proposed.

[0006] Therefore, the present invention provides a method and system for automatically analyzing transient electromagnetic disturbance macro-pulse waveforms of substations to solve the problem that existing analysis methods cannot effectively analyze the waveform characteristics of port disturbances at ultra-high voltage levels.

[0007] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0008] In a first aspect, an embodiment of the present invention provides a method for automatically analyzing transient electromagnetic disturbance macro-pulse waveforms of a substation, including: collecting transient electromagnetic waveform data of the substation and extracting features of the waveform data, identifying an output port type and a background noise amplitude according to the waveform data features, and using the output port type and the background noise amplitude as a first amplitude threshold;

[0009] Traverse all substation transient electromagnetic waveform data, take the difference between the maximum and minimum values ​​in the waveform as the peak-to-peak value of the macro pulse, and take the maximum value of the absolute value of the maximum and minimum values ​​in the waveform as the maximum peak value of the macro pulse;

[0010] According to the first amplitude threshold, a global search is performed on the substation transient electromagnetic waveform data to obtain the maximum peak position and absolute time; with the maximum peak position as the center, the data values ​​of the maximum peak point position and the preset distance threshold points on both sides thereof are set to zero based on the preset distance threshold, and the identified micro-pulse signals in the waveform data are removed until the waveform data amplitude meets the micro-pulse of the first amplitude threshold.

[0011] As a preferred solution of the method for automatically analyzing the transient electromagnetic disturbance macro-pulse waveform of a substation according to the present invention, it also includes:

[0012] When the waveform data amplitude satisfies the micropulse of the first amplitude threshold, the absolute time of the maximum peak value greater than the first amplitude threshold in the waveform is extracted and stored in the first one-dimensional array;

[0013] The absolute times in the first one-dimensional array are sorted, and the time differences between adjacent time points are calculated to obtain a second one-dimensional array as the micropulse interval time;

[0014] The difference between the maximum value and the minimum value of the absolute time in the first one-dimensional array is taken as the macro pulse duration.

[0015] As a preferred solution of the method for automatic analysis of transient electromagnetic disturbance macro-pulse waveform of substation described in the present invention, wherein: collecting transient electromagnetic waveform data of substation and extracting the waveform data features, identifying the output port type and background noise amplitude according to the waveform data features includes:

[0016] A waveform recognition model is built based on a convolutional neural network to collect historical substation transient electromagnetic waveform data;

[0017] Annotate the port type and background noise amplitude of each substation transient electromagnetic waveform data, generate sample data, and train the waveform recognition model according to the sample data;

[0018] The substation transient electromagnetic waveform data collected in real time is imported into the waveform recognition model, and the port type and the background noise amplitude are output; and the first amplitude threshold is set according to the port type and the background noise amplitude.

[0019] As a preferred solution of the method for automatic analysis of transient electromagnetic disturbance macro-pulse waveforms in substations described in the present invention, the number of data in the first one-dimensional array is the number of micro-pulses.

[0020] In a second aspect, the present invention provides a substation transient electromagnetic disturbance macro-pulse waveform automatic analysis system, including: a waveform acquisition module, a threshold setting module, a first global search module, a second global search module, a zeroing module, a micro-pulse extraction module and a parameter analysis module;

[0021] A waveform acquisition module, used to collect transient electromagnetic waveform data of the substation and extract features of the waveform data;

[0022] A threshold setting module, used for identifying the output port type and the background noise amplitude according to the waveform data characteristics, and using the output port type and the background noise amplitude as the first amplitude threshold;

[0023] The first global search module is used to traverse all substation transient electromagnetic waveform data, take the difference between the maximum and minimum values ​​in the waveform as the peak-to-peak value of the macro pulse, and take the maximum value of the absolute value of the maximum and minimum values ​​in the waveform as the maximum peak value of the macro pulse;

[0024] A second global search module is used to perform a global search on the substation transient electromagnetic waveform data to obtain a maximum peak position and an absolute time according to the first amplitude threshold;

[0025] The zeroing module is used to set the data values ​​of the maximum peak point position and the preset distance threshold points on both sides of the maximum peak point position to zero based on the preset distance threshold, taking the maximum peak position as the center, and remove the micropulse signals identified in the waveform data until the waveform data amplitude meets the micropulse of the first amplitude threshold.

[0026] As a preferred solution of the substation transient electromagnetic disturbance macro-pulse waveform automatic analysis system of the present invention, it also includes:

[0027] A micropulse extraction module, for extracting the absolute time of the maximum peak value greater than the first amplitude threshold in the waveform when the waveform data amplitude satisfies the micropulse of the first amplitude threshold, and storing it in a first one-dimensional array;

[0028] The parameter analysis module is used to sort the absolute time in the first one-dimensional array and calculate the time difference between adjacent time points to obtain a second one-dimensional array as the micro-pulse interval time; and the difference between the maximum and minimum absolute time in the first one-dimensional array is used as the macro-pulse duration.

[0029] As a preferred solution of the substation transient electromagnetic disturbance macro-pulse waveform automatic analysis system described in the present invention, wherein: the threshold setting module includes a waveform recognition unit and a threshold calculation unit;

[0030] The waveform recognition unit constructs a waveform recognition model based on a convolutional neural network, the input data of the waveform recognition model is the transient electromagnetic waveform data of the substation collected in real time, and the output is the port type and the background noise amplitude;

[0031] The threshold calculation unit sets a first amplitude threshold according to the port type and the background noise amplitude output by the waveform recognition model.

[0032] As a preferred solution of the substation transient electromagnetic disturbance macro-pulse waveform automatic analysis system described in the present invention, the micro-pulse extraction module also includes: the number of data in the first one-dimensional array is the number of micro-pulses.

[0033] In a third aspect, the present invention provides a computing device, comprising:

[0034] Memory and processor;

[0035] The memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the automatic analysis method of the transient electromagnetic disturbance macro-pulse waveform of the substation are implemented.

[0036] In a fourth aspect, the present invention provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of the method for automatically analyzing the transient electromagnetic disturbance macro-pulse waveform of a substation.

[0037] Compared with the prior art, the present invention has the following beneficial effects: the present invention can automatically analyze the collected transient electromagnetic disturbance waveform data of the substation, generate corresponding amplitude thresholds, combine the generated amplitude thresholds, use a global search method to generate macro pulse waveform data, and automatically analyze the macro pulse sequence to obtain corresponding waveform parameters. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. Among them:

[0039] Figure 1 A method flow chart of a method and system for automatically analyzing transient electromagnetic disturbance macro-pulse waveforms in a substation according to an embodiment of the present invention;

[0040] Figure 2 A system framework diagram of a method and system for automatically analyzing transient electromagnetic disturbance macro-pulse waveforms in a substation according to an embodiment of the present invention;

[0041] Figure 3 A schematic diagram of a micro-pulse waveform of a method and system for automatically analyzing a transient electromagnetic disturbance macro-pulse waveform of a substation according to an embodiment of the present invention;

[0042] Figure 4 A schematic diagram of a micro-pulse spectrum of a method and system for automatically analyzing a transient electromagnetic disturbance macro-pulse waveform in a substation according to an embodiment of the present invention;

[0043] Figure 5 A schematic diagram of a macro pulse waveform of a method and system for automatically analyzing a transient electromagnetic disturbance macro pulse waveform of a substation according to an embodiment of the present invention. DETAILED DESCRIPTION

[0044] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.

[0045] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0046] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.

[0047] The present invention is described in detail with reference to schematic diagrams. When describing the embodiments of the present invention, for the sake of convenience, the cross-sectional diagrams showing the device structure will not be partially enlarged according to the general scale, and the schematic diagrams are only examples, which should not limit the scope of protection of the present invention. In addition, in actual production, the three-dimensional dimensions of length, width and depth should be included.

[0048] At the same time, in the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "upper, lower, inner and outer" are based on the directions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as limiting the present invention. In addition, the terms "first, second or third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.

[0049] In the present invention, unless otherwise clearly specified and limited, the terms "install, connect, connect" should be understood in a broad sense, for example: it can be a fixed connection, a detachable connection or an integral connection; it can also be a mechanical connection, an electrical connection or a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0050] Example 1

[0051] Reference Figure 1-2 , is an embodiment of the present invention, which provides a method for automatically analyzing transient electromagnetic disturbance macro-pulse waveforms in a substation, comprising:

[0052] S1: Collecting transient electromagnetic waveform data of the substation and extracting waveform data features, identifying the output port type and background noise amplitude according to the waveform data features, and using the output port type and background noise amplitude as the first amplitude threshold;

[0053] S2: traverse all substation transient electromagnetic waveform data, take the difference between the maximum and minimum values ​​in the waveform as the peak-to-peak value of the macro pulse, and take the maximum value of the absolute value of the maximum and minimum values ​​in the waveform as the maximum peak value of the macro pulse;

[0054] S3: According to the first amplitude threshold, a global search is performed on the transient electromagnetic waveform data of the substation to obtain the maximum peak position and absolute time; with the maximum peak position as the center, based on the preset distance threshold, the data values ​​of the maximum peak point position and the preset distance threshold points on both sides are set to zero, and the micro-pulse signals identified in the waveform data are removed until the waveform data amplitude meets the micro-pulse of the first amplitude threshold.

[0055] In the embodiment of the present application, it also includes:

[0056] When the waveform data amplitude satisfies the micropulse of the first amplitude threshold, the absolute time of the maximum peak value greater than the first amplitude threshold in the waveform is extracted and stored in the first one-dimensional array;

[0057] The absolute times in the first one-dimensional array are sorted, and the time differences between adjacent time points are calculated to obtain a second one-dimensional array as the micropulse interval time;

[0058] The difference between the maximum value and the minimum value of the absolute time in the first one-dimensional array is taken as the macro pulse duration.

[0059] It should be noted that, in the embodiment of the present application, the absolute times in the first one-dimensional array are sorted in ascending order.

[0060] In the embodiment of the present application, the transient electromagnetic waveform data of the substation is collected and the waveform data features are extracted, and the output port type and the background noise amplitude are identified according to the waveform data features, including:

[0061] A waveform recognition model is built based on a convolutional neural network to collect historical substation transient electromagnetic waveform data;

[0062] Label the port type and background noise amplitude for each substation transient electromagnetic waveform data, generate sample data, and train the waveform recognition model based on the sample data;

[0063] The substation transient electromagnetic waveform data collected in real time is imported into the waveform recognition model, and the port type and the background noise amplitude are output; and the first amplitude threshold is set according to the port type and the background noise amplitude.

[0064] In the embodiment of the present application, it includes: the number of data in the first one-dimensional array is the number of micropulses.

[0065] It should be noted that a minimum value is set for the first amplitude threshold, and a value greater than this value is considered as port interference. At the same time, the influence of measurement background noise can also be excluded. In the embodiment of the present application, the first amplitude threshold should not be too large, and is generally significantly larger than the background noise.

[0066] It should also be noted that the preset distance threshold is set to the distance from the peak point so that the micropulse can be included in the preset distance threshold range centered on the peak point. Considering that a general micropulse lasts for several microseconds, the distance represented by the preset distance threshold should be set at around several microseconds.

[0067] In an optional embodiment, the port disturbance macro pulse waveform generated by a switch operation contains multiple micro pulse waveforms. First, all micro pulse sequences that meet the conditions should be found. The duration of the micro pulse is at the us level, while the duration of the entire macro pulse is at the ms level. The interval between two adjacent pulses is much longer than the duration of the micro pulse itself. This feature can be used to search for the global maximum value of the sequence, which is the maximum micro pulse peak point. Then, with this point as the center, a certain range can be appropriately selected to include the entire micro pulse while avoiding the next micro pulse. Then this sequence is extracted and saved as a new sequence, which is the first micro pulse. All the values ​​at the first micro pulse of the original sequence are set to zero, and a global search is performed again to find the maximum value, which is the second largest peak micro pulse. This part of the sequence is extracted as the second micro pulse. By analogy, all micro pulses that meet the conditions can be found. If the duration of the micro pulse is ignored, the time between the first micro pulse sequence and the last micro pulse sequence can be considered as the macro pulse time.

[0068] The above is a schematic scheme of a substation transient electromagnetic disturbance macro-pulse waveform automatic analysis method of this embodiment. It should be noted that the technical scheme of this substation transient electromagnetic disturbance macro-pulse waveform automatic analysis system and the technical scheme of the substation transient electromagnetic disturbance macro-pulse waveform automatic analysis method above belong to the same concept, and the details of the technical scheme of the substation transient electromagnetic disturbance macro-pulse waveform automatic analysis system not described in detail in this embodiment can all be referred to the description of the technical scheme of the substation transient electromagnetic disturbance macro-pulse waveform automatic analysis method above.

[0069] In this embodiment, a substation transient electromagnetic disturbance macro-pulse waveform automatic analysis system includes: a waveform acquisition module, a threshold setting module, a first global search module, a second global search module, a zeroing module, a micro-pulse extraction module and a parameter analysis module;

[0070] Waveform acquisition module, used to collect transient electromagnetic waveform data of substation and extract waveform data features;

[0071] A threshold setting module, used for identifying the output port type and the background noise amplitude according to the waveform data characteristics, and using the output port type and the background noise amplitude as the first amplitude threshold;

[0072] The first global search module is used to traverse all substation transient electromagnetic waveform data, take the difference between the maximum and minimum values ​​in the waveform as the peak-to-peak value of the macro pulse, and take the maximum value of the absolute value of the maximum and minimum values ​​in the waveform as the maximum peak value of the macro pulse;

[0073] A second global search module is used to perform a global search on the substation transient electromagnetic waveform data to obtain a maximum peak position and an absolute time according to the first amplitude threshold;

[0074] The zeroing module is used to set the data values ​​of the maximum peak point position and the preset distance threshold points on both sides of the maximum peak point position to zero based on the preset distance threshold, taking the maximum peak position as the center, and remove the micropulse signals identified in the waveform data until the waveform data amplitude meets the micropulse of the first amplitude threshold.

[0075] In the embodiment of the present application, it also includes:

[0076] A micropulse extraction module, for extracting the absolute time of the maximum peak value greater than the first amplitude threshold in the waveform when the waveform data amplitude satisfies the micropulse of the first amplitude threshold, and storing it in a first one-dimensional array;

[0077] The parameter analysis module is used to sort the absolute time in the first one-dimensional array and calculate the time difference between adjacent time points to obtain a second one-dimensional array as the micro-pulse interval time; and the difference between the maximum and minimum absolute time in the first one-dimensional array is used as the macro-pulse duration.

[0078] In the embodiment of the present application, the threshold setting module includes a waveform recognition unit and a threshold calculation unit;

[0079] The waveform recognition unit builds a waveform recognition model based on a convolutional neural network. The input data of the waveform recognition model is the real-time collected transient electromagnetic waveform data of the substation, and the output is the port type and background noise amplitude.

[0080] The threshold calculation unit sets a first amplitude threshold according to the port type and the background noise amplitude output by the waveform recognition model.

[0081] This embodiment also provides a computing device, which is applicable to the case of the automatic analysis method of transient electromagnetic disturbance macro-pulse waveform of a substation, and includes:

[0082] Memory and processor; the memory is used to store computer executable instructions, and the processor is used to execute computer executable instructions to implement the method for automatically analyzing the transient electromagnetic disturbance macro-pulse waveform of a substation as proposed in the above embodiment.

[0083] This embodiment also provides a storage medium on which a computer program is stored. When the program is executed by a processor, the method for automatically analyzing the transient electromagnetic disturbance macro-pulse waveform of a substation as proposed in the above embodiment is implemented.

[0084] The storage medium proposed in this embodiment and the method for realizing automatic analysis of transient electromagnetic disturbance macro-pulse waveform of substation proposed in the above embodiment belong to the same inventive concept. The technical details not described in detail in this embodiment can be referred to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.

[0085] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ReadOnly, Memory, ROM), random access memory (RandomAccess Memory, RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform the methods of various embodiments of the present invention.

[0086] Example 2

[0087] Reference Figure 3 to Figure 5 , is an embodiment of the present invention. This embodiment is different from the first embodiment in that this embodiment verifies the beneficial effects of the present invention through specific examples.

[0088] This embodiment takes the acquisition of data from a certain substation as an example. The first amplitude threshold is set to 0.2KV, the preset distance threshold is 5us, and the micro-pulse waveform generated by the waveform is loaded as follows: Figure 3 As shown, the micro-pulse spectrum is Figure 4 As shown, the macro pulse waveform is as follows Figure 5 As shown, at this time, the micropulse rise time is 6.4nS, the micropulse oscillation frequency is 9.05MHz, the micropulse interval is 6.33ms, and the micropulse duration is 2.00nS; the macropulse duration is 209.574m, the number of micropulses is 60, the maximum value is 1223.3V, and the peak-to-peak value is 2202.088Vpp; in summary, the present invention can automatically analyze the collected substation transient electromagnetic disturbance waveform data, generate the corresponding amplitude threshold, combine the generated amplitude threshold, use the global search method to generate the macropulse sequence, and automatically analyze the macropulse sequence to obtain the corresponding waveform parameters.

[0089] 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 preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A method for automatically analyzing transient electromagnetic disturbance macro-pulse waveforms in a substation, characterized in that: include: Collecting transient electromagnetic waveform data of the substation and extracting features of the waveform data, identifying the output port type and the background noise amplitude according to the waveform data features, and using the output port type and the background noise amplitude as the first amplitude threshold; Traverse all substation transient electromagnetic waveform data, take the difference between the maximum and minimum values ​​in the waveform as the peak-to-peak value of the macro pulse, and take the maximum value of the absolute value of the maximum and minimum values ​​in the waveform as the maximum peak value of the macro pulse; According to the first amplitude threshold, a global search is performed on the substation transient electromagnetic waveform data to obtain the maximum peak position and absolute time; with the maximum peak position as the center, the data values ​​of the maximum peak point position and the preset distance threshold points on both sides thereof are set to zero based on the preset distance threshold, and the identified micro-pulse signals in the waveform data are removed until the waveform data amplitude meets the micro-pulse of the first amplitude threshold.

2. The method for automatically analyzing the transient electromagnetic disturbance macro-pulse waveform of a substation according to claim 1, characterized in that: Also includes: When the waveform data amplitude satisfies the micropulse of the first amplitude threshold, the absolute time of the maximum peak value greater than the first amplitude threshold in the waveform is extracted and stored in the first one-dimensional array; The absolute times in the first one-dimensional array are sorted, and the time differences between adjacent time points are calculated to obtain a second one-dimensional array as the micropulse interval time; The difference between the maximum value and the minimum value of the absolute time in the first one-dimensional array is taken as the macro pulse duration.

3. The method for automatically analyzing the transient electromagnetic disturbance macro-pulse waveform of a substation according to claim 2, characterized in that: Collecting transient electromagnetic waveform data of the substation and extracting the waveform data features, and identifying the output port type and background noise amplitude according to the waveform data features include: A waveform recognition model is built based on a convolutional neural network to collect historical substation transient electromagnetic waveform data; Annotate the port type and background noise amplitude of each substation transient electromagnetic waveform data, generate sample data, and train the waveform recognition model according to the sample data; The substation transient electromagnetic waveform data collected in real time is imported into the waveform recognition model, and the port type and the background noise amplitude are output; and the first amplitude threshold is set according to the port type and the background noise amplitude.

4. The method for automatically analyzing the transient electromagnetic disturbance macro-pulse waveform of a substation according to claim 3, characterized in that: include: The number of data in the first one-dimensional array is the number of micropulses.

5. An automatic analysis system for transient electromagnetic disturbance macro-pulse waveform in a substation, characterized in that: include: A waveform acquisition module, a threshold setting module, a first global search module, a second global search module, a zeroing module, a micropulse extraction module, and a parameter analysis module; A waveform acquisition module, used to collect transient electromagnetic waveform data of the substation and extract features of the waveform data; A threshold setting module, used for identifying the output port type and the background noise amplitude according to the waveform data characteristics, and using the output port type and the background noise amplitude as the first amplitude threshold; The first global search module is used to traverse all substation transient electromagnetic waveform data, take the difference between the maximum and minimum values ​​in the waveform as the peak-to-peak value of the macro pulse, and take the maximum value of the absolute value of the maximum and minimum values ​​in the waveform as the maximum peak value of the macro pulse; A second global search module is used to perform a global search on the substation transient electromagnetic waveform data to obtain a maximum peak position and an absolute time according to the first amplitude threshold; The zeroing module is used to set the data values ​​of the maximum peak point position and the preset distance threshold points on both sides of the maximum peak point position to zero based on the preset distance threshold, taking the maximum peak position as the center, and remove the micropulse signals identified in the waveform data until the waveform data amplitude meets the micropulse of the first amplitude threshold.

6. The method for automatically analyzing the transient electromagnetic disturbance macro-pulse waveform of a substation according to claim 5, characterized in that: Also includes: A micropulse extraction module, for extracting the absolute time of the maximum peak value greater than the first amplitude threshold in the waveform when the waveform data amplitude satisfies the micropulse of the first amplitude threshold, and storing it in a first one-dimensional array; A parameter analysis module, used for sorting the absolute time in the first one-dimensional array and calculating the time difference between adjacent time points to obtain a second one-dimensional array as the micropulse interval time; The difference between the maximum value and the minimum value of the absolute time in the first one-dimensional array is taken as the macro pulse duration.

7. The method for automatically analyzing the transient electromagnetic disturbance macro-pulse waveform of a substation according to claim 6, characterized in that: The threshold setting module includes a waveform recognition unit and a threshold calculation unit; The waveform recognition unit constructs a waveform recognition model based on a convolutional neural network, the input data of the waveform recognition model is the transient electromagnetic waveform data of the substation collected in real time, and the output is the port type and the background noise amplitude; The threshold calculation unit sets a first amplitude threshold according to the port type and the background noise amplitude output by the waveform recognition model.

8. The method for automatically analyzing the transient electromagnetic disturbance macro-pulse waveform of a substation according to claim 7, characterized in that: The micropulse extraction module also includes: the number of data in the first one-dimensional array is the number of micropulses.

9. An electronic device, comprising: Memory and processor; The memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the method for automatic analysis of substation transient electromagnetic disturbance macro-pulse waveforms as described in any one of claims 1 to 4 are implemented.

10. A computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of the method for automatic analysis of transient electromagnetic disturbance macro-pulse waveforms in substations as claimed in any one of claims 1 to 4.