An edge-computing-based lightning arrester fault intelligent detection method and system

By constructing a working condition feedback closed loop and an improved N-BEATS model, the problem of distinguishing between reversible and irreversible responses in surge arrester fault detection is solved, achieving highly accurate and rapid fault identification and degradation judgment.

CN123176387APending Publication Date: 2026-11-27YUEQING FANENG FITTINGS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611430737.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-15
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing surge arrester fault detection methods are unable to effectively distinguish between reversible and irreversible responses caused by changes in operating conditions. This makes it difficult to accurately identify the source of faults when monitoring parameters fluctuate under changing environmental conditions, affecting fault identification and degradation assessment in complex operating environments.

Method used

By collecting multi-source monitoring data of surge arresters, a closed loop of operating condition feedback is constructed. The improved N-BEATS model is used to perform operating condition feedback analysis, generate irreversible residual and residual continuation prediction results, establish residual inheritance relationship, and determine fault type and deterioration level.

Benefits of technology

It improves the accuracy and response speed of surge arrester fault detection, reduces the interference of environmental changes and operating status fluctuations on the detection results, and enhances the ability to distinguish between transient operating disturbances and continuous deterioration states.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123176387A_ABST
    Figure CN123176387A_ABST
Patent Text Reader

Abstract

The application discloses a lightning arrester fault intelligent detection method and system based on edge computing, relates to the technical field of edge intelligent fault diagnosis, and comprises the following steps: collecting and preprocessing multi-source monitoring data of a lightning arrester to generate standard lightning arrester monitoring data; identifying a working condition leaving and returning process to generate a working condition returning closed loop; matching the working condition position in the closed loop and the body response to generate returning pairing data; comparing the body response to generate working condition closed residual data; inputting the working condition closed residual data into an improved N-BEATS model to generate irreversible residual and survival prediction results; associating irreversible residual in a continuous closed loop to establish a residual inheritance relationship and determine a fault evolution state; determining a fault type and a deterioration level based on the fault evolution state to generate a lightning arrester fault intelligent detection result. The application realizes accurate lightning arrester fault identification and edge rapid detection, and improves the anti-working condition interference capability and the deterioration judgment accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of edge intelligent fault diagnosis technology, and in particular to a method and system for intelligent fault detection of surge arresters based on edge computing. Background Technology

[0002] With the development of online monitoring, edge computing, and intelligent operation and maintenance technologies for power equipment, surge arresters continuously generate electrical operation, thermal status, partial discharge, operating conditions, and environmental monitoring data during operation. Existing surge arrester fault detection methods primarily rely on threshold judgment, trend analysis, or model identification of leakage current, resistive current, temperature rise, and partial discharge characteristics. These methods are then combined with environmental parameters and operating conditions to correct the detection results, identifying issues such as moisture absorption, valve aging, and insulation abnormalities.

[0003] Existing methods often rely on the deviation between current monitoring values ​​and historical benchmarks, normal ranges, or predicted values ​​to determine faults. They lack the ability to effectively distinguish between reversible responses caused by changes in operating conditions and irreversible responses resulting from the deterioration of the surge arrester itself. When environmental and operating conditions change, even if monitoring parameters fluctuate significantly, it is difficult to determine the source of the anomaly based solely on a single-moment deviation, easily leading to confusion between operational disturbances and actual faults.

[0004] Some methods use neural networks to process continuous monitoring sequences, but they mostly extract time-series features in natural time order. They do not utilize the self-comparison relationship formed by returning after the operating condition leaves, nor do they perform inheritance analysis on the isotopic residuals in the return loop of different operating conditions. The residuals inside the model are still transmitted in the form of fitting error, making it difficult to screen out recoverable disturbances and retain irreversible fault evidence, which affects the accuracy of arrester fault identification and degradation judgment under complex operating conditions.

[0005] Therefore, how to provide a method and system for intelligent fault detection of surge arresters based on edge computing is a problem that urgently needs to be solved by those skilled in the art. Summary of the Invention

[0006] One objective of this invention is to propose an intelligent fault detection method and system for surge arresters based on edge computing. This invention utilizes operational condition backtesting analysis, residual inheritance, and an improved N-BEATS model to identify irreversible fault states in surge arresters, achieving edge-side fault detection and degradation judgment. It has the advantages of strong anti-operational interference capability, accurate fault identification, and fast detection response speed.

[0007] An intelligent fault detection method for surge arresters based on edge computing according to an embodiment of the present invention includes: Collect multi-source monitoring data of surge arresters, perform preprocessing on the multi-source monitoring data of surge arresters, and generate standard surge arrester monitoring data; Identify the departure and return processes of operating conditions in the monitoring data of standard surge arresters, divide the departure and return branches of operating conditions, and generate a closed loop of operating condition return. Match similar operating conditions in the operating condition feedback closed loop and associate the surge arrester body response at the corresponding position to generate feedback pairing data; Compare the ontological responses in the returned paired data to generate residual data for the operating condition closure. The improved N-BEATS model, which inputs the closed-loop residual data of the operating condition into the edge computing node, generates irreversible residual and residual survival prediction results through the operating condition return closed decomposition layer group, irreversible residual qualification relay unit and cross-closed-loop residual survival prediction layer. Based on the continuous operating condition return closed-loop associated irreversible residues, establish the residue inheritance relationship, determine the fault evolution state based on the residue inheritance relationship and the residue continuation prediction results, and generate the initial fault detection results. Based on the initial fault detection results, the fault type and degradation level are determined, and intelligent fault detection results for the surge arrester are generated.

[0008] Optionally, the multi-source monitoring data of the surge arrester includes electrical operation data, thermal status data, partial discharge data, operating condition data, environmental monitoring data, equipment configuration data, and historical fault detection data.

[0009] Optionally, the preprocessing of the multi-source monitoring data of the surge arrester includes unifying equipment identification, unifying monitoring location identification, unifying time format, aligning sampling time, converting units, handling outliers, and marking missing locations.

[0010] Optionally, the generation of the operating condition feedback closed loop includes: Extract the operating condition identifier and operating status field from the operating condition data, extract the environmental status field from the environmental monitoring data, align and arrange them according to the sampling time, and generate an operating condition status sequence. Extract normal operating periods from historical fault detection data, extract operating status fields and environmental status fields from standard surge arrester monitoring data according to normal operating periods, and generate stable operating condition center and stable operating condition range based on field value distribution. Search for continuous sampling segments within the stable operating condition range along the operating condition state sequence, determine the position where the operating condition state leaves the stable operating condition range as the operating condition departure position, and determine the position where the state re-enters the stable operating condition range after leaving as the operating condition return position. The operating condition state sequence from the operating condition departure position to the operating condition return position is extracted. The position with the largest deviation from the stable operating condition center is taken as the branch boundary position. The operating condition state sequences before and after the branch boundary position are respectively determined as the operating condition departure branch and the operating condition return branch, generating the operating condition return closed loop.

[0011] Optionally, generating the return pairing data includes: Read the working condition departure branch and working condition return branch in the working condition return closed loop, and arrange the working condition status in the two branches according to the sampling time; Starting from the starting position of the working condition leaving the branch, select the working condition states sequentially. In the working condition return branch, search for unpaired working condition states according to the return order. Calculate the absolute difference of each field corresponding to the working condition states of the two branches, normalize it with the width of the corresponding stable working condition range, and sum it to determine the candidate position with the smallest sum. When the absolute difference of each corresponding field of the candidate position does not exceed the width of the corresponding stable working condition range, the working condition corresponding position is established, and the return branch sequence of the subsequent working condition corresponding position is restricted to not be earlier than the previous working condition corresponding position. Based on the sampling time at the corresponding location under the operating condition, extract the electrical response from the electrical operation data, extract the thermal response from the thermal state data, extract the partial discharge response from the partial discharge data, extract the correspondence between the monitoring location and the surge arrester identifier from the equipment configuration data, and associate the surge arrester body response at the corresponding location of the two branches. Arrange the operating conditions of the two branches and the response of the surge arrester body according to the corresponding positions of the operating conditions to generate feedback pairing data.

[0012] Optionally, the generation of the residual data for the closed-loop operation includes: Read the return pairing data and align the surge arrester body response on both sides of the corresponding working condition position according to the monitoring location and monitoring field; Calculate the difference between the response of the branch body returning from the operating condition and the response of the branch body leaving the operating condition, record the direction and magnitude of the difference, and generate the paired response residue; Connect the paired response residues along the corresponding position of the working condition, which are in the same monitoring field and have the same difference direction, to form a closed residue path, and determine the residue start position, residue holding section and closed loop end residue. Associate the working condition return loop identifier, the corresponding working condition location, the monitoring location, the monitoring field, the closed residual path, and the closed loop endpoint residual to generate working condition closed residual data.

[0013] Optionally, the generation of irreversible residuals and residual persistence prediction results includes: The fully connected feature mapping, backtracking reconstruction and residual recursion structure of the N-BEATS model are retained. The first residual processing layer group is set as the working condition backtracking closed decomposition layer group. Irreversible residual qualification relay unit is set between adjacent residual processing units. The forward prediction end is set as the cross-closed loop residual continuation prediction layer to construct the improved N-BEATS model. Extract normal operating periods from historical fault detection data, extract corresponding monitoring records from standard surge arrester monitoring data, generate historical normal operating condition closing residual data, and determine the normal closing residual range according to monitoring location and monitoring field. Input the closed residual data of the working condition into the closed decomposition layer group of the working condition backtracking, generate closed residual features through the fully connected feature mapping structure, generate reversible response reconstruction amount through the backtracking reconstruction branch, subtract the reversible response reconstruction amount from the current working condition closed residual sequence, and generate candidate residuals; The irreversible residual qualification relay unit reads the candidate residual, the closed residual path, and the closed loop endpoint residual. When the closed loop endpoint residual is outside the range of the normal closed residual and the closed residual path maintains the same residual direction, the corresponding residual connection is opened and the candidate residual is passed. If the relay qualification is not met, the corresponding residual connection is closed. Each residual processing unit only receives candidate residuals passed from open residual connections, repeatedly performs feature mapping, backtracking reconstruction, and relay qualification determination, and determines the candidate residuals that are still passed after the recursion is completed as irreversible residuals. The cross-loop residual survival prediction layer arranges irreversible residuals at the same monitoring location and in the same monitoring field according to the order of occurrence of the working condition return loop. The working condition return loop sequence is used as the prediction sequence to predict the residual amplitude of the next working condition return loop. Based on the relationship between the predicted residual and the normal closed residual range and the current residual amplitude, the residual disappearance state, residual survival state and residual growth state are determined, and residual survival prediction results are generated. Normal state markers and confirmed fault records are extracted from historical fault detection data. Corresponding historical monitoring sequences are extracted from standard surge arrester monitoring data and historical operating condition closed residual data are generated. Residuals that enter the normal closed residual range after reversal are marked as reversible responses, and residuals that remain outside the normal closed residual range across closed loops are marked as irreversible residuals. Continued existence labels are generated based on the changes in adjacent closed loop residuals. The model parameters are updated with a joint loss consisting of backtracking reconstruction error, relay qualification judgment error, and residual continued existence prediction error until training converges.

[0014] Optionally, generating the initial fault detection result includes: Irreversible residues are arranged according to the equipment identification and the order of occurrence of the closed loop of the operating condition. The corresponding operating condition location, monitoring location, monitoring field and operating condition status of the irreversible residues are read. Irreversible residues with the same monitoring position and monitoring field are matched between adjacent working condition return loops. The absolute difference of each working condition field at the corresponding position of the two closed loop working conditions is calculated. When each absolute difference does not exceed the width of the corresponding stable working condition range, it is determined to be a co-located residue. When the same residuals maintain the same residual direction, a residual inheritance record is established. A residual inheritance relationship is formed by continuously connecting residual inheritance records. When no same residual is matched, the current residual evolution state is determined to be disappearance. When a same residual is matched and the residual amplitude does not increase, it is determined to be continued existence. When a same residual is matched and the residual amplitude increases, it is determined to be growth. The current residual evolution state is combined with the residual survival prediction result to generate a fault evolution state consisting of the current evolution state and the predicted evolution state. The corresponding irreversible residual and residual inheritance relationship are associated to generate the initial fault detection result.

[0015] Optionally, the generation of intelligent detection results for surge arrester faults includes: Extract confirmed fault types, confirmed degradation levels and corresponding historical fault records from historical fault detection data, generate historical fault evolution states based on the corresponding historical fault records, and establish fault state correspondence. The fault evolution state in the initial fault detection results is matched with the correspondence between the fault state to determine the fault type and degradation level; The surge arrester identifier and monitoring location are extracted from the equipment configuration data, the detection time is extracted from the standard surge arrester monitoring data, and the fault type, degradation level and fault evolution status are associated to generate intelligent surge arrester fault detection results.

[0016] An intelligent fault detection system for surge arresters based on edge computing, according to an embodiment of the present invention, includes the following modules: The monitoring data processing module is used to collect multi-source monitoring data of surge arresters and perform preprocessing to generate standard surge arrester monitoring data. The condition return construction module is used to identify the condition departure and condition return processes based on standard surge arrester monitoring data, divide the condition departure branch and the condition return branch, and generate the condition return closed loop. The return pairing module is used to generate return pairing data based on the standard surge arrester monitoring data and the corresponding positions of the operating conditions in the operating condition departure branch and operating condition return branch in the operating condition closed-loop matching; The closed residual generation module is used to compare the arrester body response at the corresponding position of the operating condition based on the return pairing data, form a closed residual path along the pairing sequence, and generate the operating condition closed residual data. The edge failure analysis module is used to input the closed residual data of the operating condition into the improved N-BEATS model to generate irreversible residual and residual continuation prediction results; The residual inheritance analysis module is used to associate the same residuals in the continuous operating condition return loop with the prediction results of the operating condition return loop, irreversible residuals and residual continuation, establish the residual inheritance relationship, determine the fault evolution state, and generate the initial fault detection results. The fault result generation module is used to determine the fault type and degradation level based on the initial fault detection results and generate intelligent fault detection results for the surge arrester.

[0017] The beneficial effects of this invention are: This invention collects multi-source monitoring data of surge arresters and constructs a closed-loop feedback system for operating conditions. It pairs the corresponding positions of operating conditions in the operating condition departure branch and the operating condition return branch to form feedback pairing data. This allows surge arrester fault detection to no longer rely solely on the comparison between the current monitoring value and a fixed threshold or historical benchmark. Instead, it utilizes the intrinsic response of the same surge arrester during the operating condition departure and return processes to form a self-comparison, improving the completeness of the surge arrester state expression under changing operating conditions and reducing the interference of environmental changes and operating condition fluctuations on fault detection results.

[0018] This invention forms closed-loop residual data of the operating condition by comparing the response of the surge arrester body at the corresponding position of the operating condition, and establishes the residual inheritance relationship by correlating irreversible residuals along the closed loop of continuous operating conditions. This allows the reversible response that can disappear after the operating condition is restored to be separated from the persistent irreversible residuals. Furthermore, the disappearance, continuation and growth states of the residuals are used to characterize the fault evolution process, improving the ability to distinguish between transient operating disturbances and the continuous deterioration state formed by moisture, valve plate aging and insulation abnormalities, and reducing the probability of occasional abnormalities being identified as real faults.

[0019] This invention constructs an improved N-BEATS model that includes a closed-loop decomposition layer group for operating conditions, an irreversible residual qualification relay unit, and a cross-loop residual continuation prediction layer. It processes the operating condition closed-loop residual data at the edge computing nodes, so that the reversible response is stripped after retrospective reconstruction, and only the residuals that meet the irreversible condition are allowed to continue to propagate along the model residual connection. It predicts the disappearance, continuation, and growth state of the residuals according to the operating condition closed-loop sequence, and determines the fault type and degradation level by combining the residual inheritance relationship, thereby improving the accuracy of surge arrester fault identification, the ability to judge degradation trends, and the efficiency of edge-side detection. Attached Figure Description

[0020] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They explain the invention together with the embodiments of the invention and do not constitute a limitation thereof. In the drawings: Figure 1 This is an overall flowchart of a surge arrester fault intelligent detection method based on edge computing proposed in this invention; Figure 2 This is a schematic diagram of the improved N-BEATS model structure of the intelligent fault detection method for surge arresters based on edge computing proposed in this invention. Figure 3 This is a functional schematic diagram of an intelligent fault detection system for surge arresters based on edge computing proposed in this invention. Detailed Implementation

[0021] The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic diagrams, illustrating only the basic structure of the invention, and therefore only show the components relevant to the invention.

[0022] refer to Figure 1 and Figure 2 A method for intelligent fault detection of surge arresters based on edge computing, comprising: Collect multi-source monitoring data of surge arresters, perform preprocessing on the multi-source monitoring data of surge arresters, and generate standard surge arrester monitoring data; Identify the departure and return processes of operating conditions in the monitoring data of standard surge arresters, divide the departure and return branches of operating conditions, and generate a closed loop of operating condition return. Match similar operating conditions in the operating condition feedback closed loop and associate the surge arrester body response at the corresponding position to generate feedback pairing data; Compare the ontological responses in the returned paired data to generate residual data for the operating condition closure. The improved N-BEATS model, which inputs the closed-loop residual data of the operating condition into the edge computing node, generates irreversible residual and residual survival prediction results through the operating condition return closed decomposition layer group, irreversible residual qualification relay unit and cross-closed-loop residual survival prediction layer. Based on the continuous operating condition return closed-loop associated irreversible residues, establish the residue inheritance relationship, determine the fault evolution state based on the residue inheritance relationship and the residue continuation prediction results, and generate the initial fault detection results. Based on the initial fault detection results, the fault type and degradation level are determined, and intelligent fault detection results for the surge arrester are generated.

[0023] In this embodiment, the multi-source monitoring data of the surge arrester includes electrical operation data, thermal status data, partial discharge data, operating condition data, environmental monitoring data, equipment configuration data, and historical fault detection data.

[0024] In this embodiment, the preprocessing of the multi-source monitoring data of the surge arrester includes unifying equipment identification, unifying monitoring location identification, unifying time format, aligning sampling time, converting units, handling outliers, and marking missing locations.

[0025] In this embodiment, the generation of the operating condition return closed loop includes: Extract the operating condition identifier and operating status field from the operating condition data, extract the environmental status field from the environmental monitoring data, align and arrange them according to the sampling time, and generate an operating condition status sequence. Normal operating periods are extracted from historical fault detection data. Operating status and environmental status fields are then extracted from standard surge arrester monitoring data based on these normal operating periods. Stable operating condition centers and ranges are generated according to the distribution of field values. Extract normal operating periods from historical fault detection data, specifically: According to the surge arrester identification, read the status confirmation field, confirmation start time and confirmation end time from the historical fault detection data, filter the historical records with normal status confirmation field, take the confirmation start time to confirmation end time as candidate normal time period, group the candidate normal time period according to the operating condition identification, delete the candidate normal time period with less than 60 valid unified sampling records, sort the remaining candidate normal time period in ascending order according to the start time, merge overlapping time periods according to the same operating condition identification, and generate the normal operating time period corresponding to each operating condition identification. Extract the operating status field and environmental status field from the standard surge arrester monitoring data according to the normal operating period, specifically: According to the start and end times of each normal operation period, retrieve the standard surge arrester monitoring data, extract the bus voltage RMS value, system frequency, total harmonic distortion rate of voltage, ambient temperature, relative humidity and rainfall intensity that have been aligned with the sampling time in the corresponding period, delete single field samples with missing markers and retain other valid field samples, establish field sample lists according to the operating condition identifier, arrange each field sample list in ascending order of field value and record the number of valid samples; Based on the distribution of field values, a stable operating condition center and a stable operating condition range are generated, specifically as follows: For each field sample list under the same operating condition identifier, the median of the valid samples is read after sorting the valid samples in ascending order. The 5th percentile and 95th percentile positions are calculated according to the number of valid samples, and the corresponding field values ​​are read as the lower limit and upper limit of the stable operating condition range. When the quantile position is not an integer, the linear interpolation result of the corresponding field values ​​of the two adjacent sort positions is used. When the upper limit and lower limit of the stable operating condition range are the same, the minimum positive difference between adjacent different field values ​​is calculated, and the stable operating condition center value is expanded by half of the minimum positive difference both above and below. When all sample values ​​are exactly the same, the value is expanded upwards and downwards by 0.5% of the absolute value of the stable operating condition center value. When the stable operating condition center value is 0, the value is expanded upwards and downwards by half of the minimum non-zero absolute value in the original data of the corresponding field. The stable operating condition center values ​​of each field are arranged in a fixed field order to form a stable operating condition center vector. The lower limit and upper limit of the stable operating condition range of each field are arranged to form the stable operating condition range. The continuous sampling segments within the stable operating condition range are retrieved along the operating condition state sequence. The position where the operating condition state leaves the stable operating condition range is determined as the operating condition departure position, and the position where it re-enters the stable operating condition range after leaving is determined as the operating condition return position. Retrieve continuous sampling segments within the stable operating condition range along the operating condition state sequence, specifically: Read the operating condition records one by one in chronological order according to the operating condition sequence. Compare the operating condition identifier with the currently retrieved normal operating condition identifier. Compare each numerical field with the lower and upper limits of the corresponding stable operating condition range. When the operating condition identifier is consistent and all valid numerical fields are within the corresponding stable operating condition range, the current sampling position is recorded as a position within the range. When five consecutive unified sampling positions meet the conditions within the range, a stable sampling segment is established. The stable sampling segment is extended to the position where the conditions within the range are not met. When the number of fields with missing markers exceeds 20% of the total number of numerical fields, the corresponding sampling position is not counted in the continuous count. The location where the operating condition deviates from the stable operating condition range is defined as the operating condition departure location, specifically: Starting from the end of the stable sampling section, the system searches along the operating condition sequence in the direction of increasing time. When the operating condition identifier changes, the changed sampling position is directly determined as the candidate departure position. When the operating condition identifier does not change, the numerical field is compared with the stable operating condition range field by field. If any valid numerical field has three consecutive uniform sampling positions that are lower than the lower limit of the corresponding stable operating condition range or higher than the upper limit of the corresponding stable operating condition range, the first position among the three consecutive out-of-bounds positions is determined as the candidate departure position. If there is no unclosed operating condition departure process before the candidate departure position, the candidate departure position is determined as the operating condition departure position. The position where the system re-enters the stable operating range after leaving is defined as the operating condition return position, specifically: Starting from the next unified sampling position after the departure of the operating condition, the search proceeds along the time-increasing direction. The operating condition identifier is required to be restored to the operating condition identifier corresponding to the stable sampling segment before the departure of the operating condition, and all valid numerical fields are required to re-enter the corresponding stable operating condition range. When the above conditions are met for 5 consecutive unified sampling positions, the first position among the 5 consecutive positions is determined as the operating condition return position. If the return condition is not met even after searching to the end of the current monitoring sequence, the corresponding operating condition departure process is marked as an unclosed process and no operating condition return closed loop is generated. The operating condition state sequence from the operating condition departure position to the operating condition return position is extracted. The position with the largest deviation from the stable operating condition center is taken as the branch boundary position. The operating condition state sequences before and after the branch boundary position are respectively determined as the operating condition departure branch and the operating condition return branch, generating an operating condition return closed loop, where: The sequence of operating conditions from the departure position to the return position is extracted, specifically as follows: Read all operating condition status records between the operating condition departure position and the operating condition return position according to the unified sampling position index. Retain the unified sampling time, operating condition identifier, operating status field, environmental status field and missing flag of each record. Re-number the truncated records in ascending order of time. Record the operating condition departure position number as 1 and the operating condition return position number as the truncated sequence length to form a single operating condition return candidate sequence. The branch boundary is defined by the position where the deviation from the center of stable operating conditions is greatest. Specifically: For each valid sampling position in the working condition return candidate sequence, read the current value of each numerical field, the center value of the stable working condition, the upper limit of the stable working condition range, and the lower limit of the stable working condition range. Calculate the absolute difference between the current value and the center value of the stable working condition. Divide the absolute difference by the difference between the corresponding upper limit and lower limit of the stable working condition range to obtain the field normalization deviation value. Apply equal weights to the normalization deviation values ​​of all valid fields at the current sampling position and calculate the weighted sum. When the number of valid fields is m, the weight of each field is set to 1 divided by m. Equal weights are used to avoid fields that have already completed stable range normalization from receiving additional weight due to differences in dimensions. Compare the weighted deviation values ​​of all valid sampling positions and determine the position with the largest weighted deviation value as the branch boundary position. When there are multiple identical maximum values, select the position with the earliest sampling time. When the branch boundary position coincides with the working condition departure position or the working condition return position, it is determined that the working condition return process lacks a complete departure stage or return stage, and the corresponding candidate sequence is deleted. The operating condition state sequences before and after the branch boundary position are respectively defined as operating condition leaving the branch and operating condition returning to the branch, generating an operating condition return closed loop, specifically: Record the operating condition status within the range from the operating condition departure position to the branch boundary position in ascending order of time and write it into the operating condition departure branch. Record the operating condition status within the range from the next unified sampling position to the operating condition return position in ascending order of time and write it into the operating condition return branch. Assign a unique closed-loop identifier to the same operating condition departure branch and operating condition return branch. Record the corresponding stable operating condition center, stable operating condition range, operating condition departure position, branch boundary position, and operating condition return position. Associate the operating condition departure branch and the operating condition return branch according to the closed-loop identifier to generate the operating condition return closed loop.

[0026] In this embodiment, generating the return pairing data includes: Read the working condition departure branch and working condition return branch in the working condition return closed loop, and arrange the working condition status in the two branches according to the sampling time; Starting from the beginning position of the branch where the operating condition leaves, select operating condition states sequentially. In the return branch, search for unmatched operating condition states according to their return order. Calculate the absolute difference of each corresponding field between the two branch operating condition states, normalize to the width of the corresponding stable operating condition range, and sum the results to determine the candidate position with the smallest sum. Where: Starting from the point where the operating condition leaves the branch, select the operating condition states sequentially, specifically: Read the operating condition departure branch in the same operating condition return closed loop, take the operating condition departure position as departure sequence 1, and number it sequentially along the sampling time increasing direction to the branch boundary position. Read the operating condition identifier, bus voltage effective value, system frequency, voltage total harmonic distortion rate, ambient temperature, relative humidity and rainfall intensity corresponding to each departure sequence position. According to the fixed order of bus voltage effective value, system frequency, voltage total harmonic distortion rate, ambient temperature, relative humidity and rainfall intensity, a 6-dimensional departure operating condition vector is formed. The operating condition state with missing position mark does not participate in the current closed loop pairing. Starting from departure sequence 1, read the valid departure operating condition vector one by one. After completing the pairing search of each departure operating condition state, read the valid operating condition state corresponding to the next departure sequence position. In the operating condition return branch, search for unmatched operating condition states according to the return sequence, specifically as follows: Read the return branch of the same working condition in the return loop, take the working condition return position as the return sequence 1, and number it sequentially towards the branch boundary position along the decreasing direction of the sampling time, so that the increasing direction of the return sequence is consistent with the change direction of the working condition leaving the branch from the stable working condition to the maximum deviation working condition. Read the running working condition identifier and 6 numerical fields corresponding to each return sequence, and form a 6-dimensional return working condition vector according to the same field order as the departure working condition vector. Initialize unpaired flags for all return working condition states. For the current departure working condition state, only search the return working condition state that has the same running working condition identifier, no missing position flag is set, is not occupied by other departure working condition states, and has a return sequence not less than the current search lower bound. Set the search lower bound of the first departure working condition state as the return sequence 1. After the effective position pairing is completed, use the corresponding return sequence as the search lower bound of the next departure working condition state. Calculate the absolute differences of the corresponding fields for the operating conditions of the two branches, and then sum them after normalization to the corresponding stable operating condition range width. Specifically: For the current departure condition vector and each return condition vector that meets the search conditions, the difference between the two values ​​is calculated field by field in a fixed order and the absolute value is taken to obtain a 6-dimensional absolute difference vector. The upper limit and lower limit of the stable condition range of each field under the corresponding operating condition identifier are read. The upper limit minus the lower limit is used to obtain the stable condition range width of the corresponding field. In the stable condition range generation stage, the zero-width field has been expanded so that the stable condition range widths involved in the calculation are all greater than 0. The absolute difference of each field is divided by the corresponding stable condition range width to obtain a 6-dimensional normalized difference vector. The 6 normalized differences are directly added to obtain the condition pairing distance between the current departure condition state and the current return condition state. After the range width of each field is normalized, the same contribution ratio is used and no additional field weights are set. The candidate position with the smallest sum is determined as follows: Sort the working condition pairing distances between the current departure working condition status and all unpaired return working condition statuses within the search range in ascending order of value. Determine the position of the return working condition status with the smallest working condition pairing distance as the current candidate position. If there are two or more identical minimum working condition pairing distances, select the position with the smaller return order. Record the current departure order, candidate return order, 6-dimensional absolute difference vector, 6-dimensional normalized difference vector, and working condition pairing distance as candidate position verification data. When the absolute difference of each corresponding field of the candidate position does not exceed the width of the corresponding stable operating condition range, the corresponding position of the operating condition is established, and the return branch sequence of the corresponding position of the later operating condition is restricted from being earlier than that of the corresponding position of the previous operating condition, wherein: The corresponding position for the operating condition is established when the absolute difference of each field corresponding to the candidate position does not exceed the width of the corresponding stable operating condition range. Specifically: Read the 6-dimensional absolute difference vector of the candidate position verification data, read the corresponding stable working condition range width item by item according to the fixed field order, and judge whether the absolute difference of each field is less than or equal to the corresponding stable working condition range width. When all 6 fields meet the conditions, establish a one-to-one working condition correspondence between the current departure position and the candidate return position, generate a unique pairing number and record the departure sequence, return sequence, sampling time on both sides, running working condition identifier, 6-dimensional working condition vector on both sides, field absolute difference vector and working condition pairing distance, and update the corresponding return working condition status to the paired status. If any field does not meet the conditions, only exclude the current candidate position from the candidate set of the current departure working condition status, and continue to select the position with the smallest working condition pairing distance from the remaining candidate positions for the same verification. If all candidate positions do not meet the conditions, mark the current departure working condition status as the unpaired status and continue to process the next departure working condition status. The return branch sequence position corresponding to the position of the subsequent working condition is restricted to not being earlier than the corresponding position of the previous working condition, specifically as follows: After establishing a corresponding position for each operating condition, the corresponding return sequence is read and the lower bound of the return branch search is updated. When processing the next departure operating condition state, only unpaired operating condition states with a return sequence greater than or equal to the lower bound of the search are allowed to be searched. When the lower bound position of the search is already in a paired state, the operating condition pairing distance is calculated starting from the first unpaired return sequence after the lower bound of the search, so that the pairing sequence of the departure branch and the pairing sequence of the return branch remain monotonically increasing in the same direction. It is prohibited for the next departure operating condition state to be re-paired with the return operating condition state that is closer to the operating condition return position. When there is no unpaired operating condition state that meets the sequence constraint in the return branch, the pairing search of the current operating condition return closed loop is terminated. The established corresponding positions of the operating conditions are arranged in ascending order according to the departure sequence and output for use by the surge arrester body response association. Based on the sampling time at the corresponding location under the operating condition, extract the electrical response from the electrical operation data, extract the thermal response from the thermal state data, extract the partial discharge response from the partial discharge data, extract the correspondence between the monitoring location and the surge arrester identifier from the equipment configuration data, and associate the surge arrester body response at the corresponding location of the two branches. Arrange the operating conditions of the two branches and the response of the surge arrester body according to the corresponding positions of the operating conditions to generate feedback pairing data.

[0027] In this embodiment, the generation of residual data for closed-loop operation includes: Read the return pairing data and align the surge arrester body response on both sides of the corresponding working condition position according to the monitoring location and monitoring field; Calculate the difference between the response of the branch body returning from the operating condition and the response of the branch body leaving the operating condition, record the direction and magnitude of the difference, and generate paired response residuals, where: The difference between the response of the branch body returning from the operating condition and the response of the branch body leaving the operating condition is calculated as follows: Read each valid response alignment record one by one, and obtain the original response difference by subtracting the departure response value from the returned response value. Extract the measurement resolution of the corresponding monitoring field from the device configuration data. Correct the records with an absolute value of the original response difference of no more than 1 measurement resolution to 0. Keep the original response difference of records with an absolute value of the original response difference of more than 1 measurement resolution. Save the corrected response difference according to the working condition return closed loop identifier, pairing number, monitoring position and monitoring field, so that a positive difference value indicates that the return branch response is higher than the departure branch response, and a negative difference value indicates that the return branch response is lower than the departure branch response. Record the direction and magnitude of the difference to generate paired response residuals, specifically: Read the corrected response difference. When the response difference is greater than 0, the direction of the difference is recorded as positive. When the response difference is less than 0, the direction of the difference is recorded as negative. When the response difference is equal to 0, the direction of the difference is recorded as zero. Take the absolute value of the corrected response difference to obtain the difference magnitude. Write the working condition return loop identifier, pairing number, departure branch position, return branch position, monitoring position, monitoring field, response difference, difference direction, and difference magnitude into the paired response residue record. Arrange the paired response residues of the same monitoring position and the same monitoring field in ascending order according to the pairing number. Paired response residues with the same monitoring field and consistent difference direction are connected along the corresponding position of the working condition to form a closed residue path, determining the residue start position, residue holding section, and closed-loop end residue, where: The paired response residues, connected along the corresponding position of the operating condition and with the same monitoring field and the same direction of difference, are as follows: The paired response residues are grouped according to the working condition return loop identifier, monitoring location, and monitoring field. Within each group, they are arranged in ascending order according to the working condition corresponding to the departure branch position. The search starts from the first non-zero paired response residue and proceeds in the direction of increasing order. When the next paired response residue belongs to the same monitoring field as the current record, has the same difference direction, and the pairing number is consecutive in the valid pairing sequence, a residue connection is established. When the next record is zero-direction, the difference direction changes, or there are no consecutive paired records, the current connection is terminated and the search starts again from the next non-zero record until all records in the current group have been searched. A closed residual path is formed, specifically as follows: A set of continuously connected paired response residues are serialized into a closed residual path according to the position sequence of the corresponding working condition. Each closed residual path is assigned a path number. The working condition return loop identifier, monitoring position, monitoring field, difference direction, pairing number sequence and difference amplitude sequence of the path are recorded. When the number of continuously connected records is no less than 3 working condition corresponding positions, the corresponding path is marked as a valid closed residual path. When the number of continuously connected records is less than 3 working condition corresponding positions, the corresponding paired response residue is retained but no residual holding section is established. This is used to exclude isolated residues formed by single-point sampling fluctuations or short-term quantization errors. The residual start location, residual retention section, and closed-loop end residual are determined as follows: For each valid closed residual path, read the first pairing number in the pairing number sequence, record the departure branch position and return branch position corresponding to the first pairing number as the residual start position, record all working condition corresponding positions that continuously maintain the same difference direction from the first pairing number to the last pairing number as the residual holding section, find the valid pairing record in all paired response residuals of the same monitoring position and the same monitoring field that is closest to the working condition departure position and closest to the working condition return position, record the corresponding response difference and difference magnitude as the closed loop endpoint residual, select the record with the smallest working condition pairing distance when there are multiple valid pairing records with the same distance conditions, write the closed loop endpoint residual into the missing mark and prohibit the corresponding path from participating in the irreversible residual qualification determination when there is no valid response alignment record at the closed loop endpoint position; Associate the working condition return loop identifier, the corresponding working condition location, the monitoring location, the monitoring field, the closed residual path, and the closed loop endpoint residual to generate working condition closed residual data.

[0028] In this embodiment, the generation of irreversible residuals and residual persistence prediction results includes: Retaining the fully connected feature mapping, backtracking reconstruction, and residual recursion structure of the N-BEATS model, the first-level residual processing layer group is set as the working condition backtracking closed decomposition layer group, and an irreversible residual qualification relay unit is set between adjacent residual processing units. The forward prediction end is set as a cross-loop residual continuation prediction layer to construct an improved N-BEATS model. Specifically, the construction of the improved N-BEATS model is as follows: The improved N-BEATS model retains the existing N-BEATS fully connected feature mapping mechanism, backcast reconstruction mechanism, and residual recursion mechanism. The residual decomposition object for natural time series is changed to the closed residual sequence corresponding to the working condition backtracking loop. The model sets a working condition backtracking closure decomposition layer group as the first residual processing layer group, which contains 3 cascaded residual processing units. The main input of the model is a 32-dimensional signed working condition closed residual vector formed by uniform resampling according to the working condition corresponding position. The auxiliary input includes the normal closed residual range, the closed loop endpoint residual amplitude, and the closed residual direction of the corresponding monitoring position and monitoring field. The cross-loop prediction input is formed by concatenating the residual amplitude of the 6 most recent valid working condition backtracking loops of the same arrester, the same monitoring position, and the same monitoring field with the corresponding 6 validity markers to form a 12-dimensional vector. The model numerical output includes a 32-dimensional irreversible residual vector and a 1-dimensional predicted residual amplitude of the next working condition backtracking loop. Each residual processing unit consists of four fully connected feature mapping layers and a backtracking reconstruction branch. The first fully connected layer performs a 32-to-128 dimension mapping, and the second to fourth layers perform 128-to-128 dimension mappings respectively. The first three fully connected layers use the ReLU activation function, and the fourth layer outputs a 128-dimensional closed residual feature. The backtracking reconstruction branch sequentially performs a 128-to-64 dimension fully connected mapping and a 64-to-32 dimension linear mapping to obtain a 32-dimensional reversible response reconstruction quantity. The reversible response reconstruction quantity is subtracted element-wise from the current residual input in the same order to form a 32-dimensional current candidate residual. The first residual processing unit takes the original 32-dimensional working condition closed residual vector as input. The second residual processing unit only receives candidate residuals that have passed the qualification judgment of the first residual processing unit. The third residual processing unit only receives candidate residuals that have passed the qualification judgment of the second residual processing unit. Each residual processing unit uses independent trainable parameters and does not share weights. A first irreversible residual qualification relay unit is set between the first and second residual processing units, and a second irreversible residual qualification relay unit is set between the second and third residual processing units. Each irreversible residual qualification relay unit reads the newly generated 32-dimensional candidate residuals after the current first-level residual processing, does not reuse the original closed residuals that have not been processed by the current residuals, reads the resampled endpoint component corresponding to the closed loop endpoint position from the current candidate residuals and obtains its absolute value as the amplitude of the current candidate closed loop endpoint residual, reads the non-zero component in the 32-dimensional candidate residual whose absolute value is greater than the measurement resolution of the corresponding monitoring field and determines its sign direction. When the residual amplitude at the closed-loop endpoint is outside the normal closed residual range and all valid non-zero components maintain the same sign direction, the current residual connection is opened and the candidate residual is passed to the next residual processing unit. If any condition is not met, the current residual connection is closed and the corresponding residual path is stopped from continuing to be recursively processed. After the third residual processing unit outputs the candidate residual, the terminal qualification determination is performed using the same rules. When the terminal qualification is established, the 32-dimensional candidate residual that is still retained after the third stripping is output as an irreversible residual. When the terminal qualification is not established, the corresponding irreversible residual is not output. The irreversible residual qualification relay unit and the terminal qualification determination both adopt deterministic physical determination rules without setting trainable weights and without participating in gradient updates. The cross-loop residual continuation prediction layer is set at the irreversible residual output end. For the same surge arrester, the same monitoring location, and the same monitoring field, residual events are organized according to the order of occurrence of the operating condition return loop. The residual amplitudes corresponding to the most recent 6 effective operating condition return loops are combined into a 6-dimensional residual amplitude vector. The actual closed loop position is marked as 1 and the fill position is marked as 0 to form a 6-dimensional validity marker vector. The two 6-dimensional vectors are concatenated to form a 12-dimensional prediction input. The prediction layer is set with a 12-dimensional to 64-dimensional fully connected layer, a 64-dimensional to 32-dimensional fully connected layer, and a 32-dimensional to 1-dimensional linear output layer. The first two fully connected layers use the ReLU activation function. The linear output layer outputs the 1-dimensional predicted residual amplitude of the next operating condition return loop. The prediction state is not generated according to the natural sampling time but according to the next effective operating condition return loop, so that the prediction object is transformed from the continuous time point response value into the cross-loop irreversible residual continuation result with comparable operating conditions. Based on the above network structure, each residual processing unit's 4-layer fully connected feature mapping structure contains 53,760 trainable parameters, the backtracking reconstruction branch contains 10,336 trainable parameters, each residual processing unit contains a total of 64,096 trainable parameters, the three residual processing units contain a total of 192,288 trainable parameters, the cross-loop residual survival prediction layer contains 2,945 trainable parameters, and the model contains a total of 195,233 trainable parameters. Irreversible residual qualification relay units and terminal qualification determination use deterministic rules and are not included in the trainable parameters. The model uses offline supervised training, and the training data comes from historical fault detection data, including normal state confirmation records, confirmed fault records, and standard surge arrester monitoring data associated with corresponding time intervals. The back-loop closure decomposition part uses the 32-dimensional closed residual vector formed by a single complete working condition back-loop closure as the training sample. The cross-loop residual survival prediction part uses six consecutive effective working condition back-loop closures with the same arrester, the same monitoring location, and the same monitoring field as the prediction input window, and uses the actual residual amplitude of the following seventh effective working condition back-loop closure as the prediction supervision target. During the training process, only the trainable parameters in the fully connected feature mapping structure, the back-reconstruction branch, and the cross-loop residual survival prediction layer are updated. The back-reconstruction error and the cross-loop residual survival prediction error are used to jointly constrain the model parameter update. The specific training sample selection, supervision label generation, loss calculation, and convergence conditions are executed according to the corresponding training process. After training, all trainable parameters are fixed and the model is deployed on edge computing nodes. Compared to the existing N-BEATS structure, which primarily performs Backcast reconstruction, residual recursion, and Forecast future time prediction for natural time series, the improved N-BEATS model changes the Backcast processing object to the closed residuals in the load condition return loop. This allows the backcast reconstruction branch to focus on stripping reversible response components that can be recovered after load condition return. An irreversible residual qualification relay mechanism is added between adjacent residual processing units, based on the re-evaluation of the current candidate residuals. This ensures that after each reversible response stripping, the remaining residuals are re-evaluated for eligibility to continue propagation. Finally, a terminal qualification check is added at the output of the last residual processing unit to prevent unqualified residuals from being passed on. The identified candidate residuals are directly output as irreversible residuals. The original forward prediction method based on natural time coordinates is changed to cross-loop residual prediction based on the sequence of closed-loop events in the operating condition. This enables the model to determine whether the residuals continue to exist under the condition that the external operating conditions are comparable again. It forms a processing structure that connects reversible response peeling, current candidate residual qualification screening, terminal irreversibility confirmation and cross-loop residual continuation prediction. This reduces the number of recoverable responses caused by environmental changes and operating condition disturbances entering the deep residual recursion path, improves the ability to retain irreversible fault evidence, and controls the model size with about 195,233 trainable parameters to adapt to the online inference needs of edge computing nodes. Normal operating periods are extracted from historical fault detection data, and corresponding monitoring records are extracted from standard surge arrester monitoring data to generate historical normal operating condition closing residual data. The normal closing residual range is determined according to the monitoring location and monitoring fields, where: Extract normal operating periods from historical fault detection data, specifically: Read the status confirmation field, confirmation start time, and confirmation end time from the historical fault detection data according to the surge arrester identification. Select the status confirmation field record as the normal time interval, exclude the time interval that intersects with the confirmed fault start time, group the remaining time intervals according to the surge arrester identification and operating condition identification, and sort them in ascending order according to the confirmation start time. When there is overlap in the time intervals, merge the overlapping parts to form the normal operating period for normal closing residual statistics. Extract the corresponding monitoring records from the standard surge arrester monitoring data, specifically: Retrieve standard surge arrester monitoring data according to the start and end times of normal operation period, read the operating condition field, environmental status field, electrical response field, thermal response field, partial discharge response field, monitoring location, sampling time and missing location mark within the normal operation period, delete sampling records with a missing ratio of more than 20% of the operating condition field, and retain continuous monitoring records that meet the conditions for complete operating condition return identification. Generate historical normal operating condition closed residual data, specifically as follows: The complete process of identifying the operating condition leaving the stable operating condition range and re-entering the stable operating condition range during normal operation is as follows: the operating condition leaving branch and operating condition returning branch are arranged according to the direction of the stable operating condition towards the maximum deviation from the operating condition. The corresponding position of the operating condition is paired between the two branches. The surge arrester body response of the same monitoring position and the same monitoring field on both sides of each pairing position is read. The response value of the returning branch is subtracted from the response value of the leaving branch to obtain the historical normal pairing response residue. The historical normal pairing response residue with the same difference direction is connected along the corresponding position of the operating condition. The residual path of each historical normal closed loop and the residual difference magnitude at the end of the closed loop are recorded. All historical normal closed loop records are arranged according to the surge arrester identification, monitoring position and monitoring field to generate historical normal operating condition closed loop residue data. The normal closure residual range is determined according to the monitoring location and monitoring field, specifically as follows: Historical normal operating condition closed residual data are grouped according to monitoring location and monitoring field. The residual difference amplitude of all closed loop endpoints in each group is extracted and sorted in ascending order of value. 0 is set as the lower limit of the normal closed residual range. The residual difference amplitude of the closed loop endpoint corresponding to the 95th percentile position is set as the upper limit of the normal closed residual range. When the 95th percentile position falls between two sample positions, linear interpolation is performed on the two adjacent sample values. When the upper limit of the normal closed residual range is 0, the measurement resolution of the corresponding monitoring field is extracted from the equipment configuration data and one measurement resolution is set as the upper limit of the normal closed residual range. The normal closed residual range is saved independently for each monitoring location and monitoring field. The closed-loop residual data of the operating condition is input into the closed-loop decomposition layer group of the operating condition. Closed-loop residual features are generated through a fully connected feature mapping structure. Reversible response reconstruction quantities are generated through a backtracking reconstruction branch. The reversible response reconstruction quantities are subtracted from the current closed-loop residual sequence of the operating condition to generate candidate residuals, where: The working condition return closed decomposition layer group specifically includes: Closed residual input terminal: Read the closed residual path of the working condition, combine the difference direction and difference magnitude into a signed residual value, and resample it into a 32-dimensional closed residual vector according to the position sequence of the working condition; Closed feature mapping region: The 32-dimensional closed residual vector is sequentially mapped through 4 fully connected layers to generate 128-dimensional closed residual features; Reversible response reconstruction channel: The closed residual features are mapped sequentially to 64-dimensional and 32-dimensional dimensions to generate reversible response reconstruction quantities corresponding to the positions of the closed residual vectors; Candidate residual generation unit: Subtract the reversible response reconstruction amount from the current residual vector element by element, set the residuals that do not exceed the corresponding measurement resolution to 0, and generate 32-dimensional candidate residuals; Multi-level closed decomposition unit: Three residual processing units with independent parameters are set in series to repeatedly perform feature mapping, reversible response reconstruction and residual subtraction on candidate residuals that meet the propagation conditions; The residual data of the working condition closure is input into the working condition return closure decomposition layer group, specifically as follows: According to the working condition return loop identifier, monitoring location and monitoring field, read the effective working condition closed residual record one by one, extract the signed residual value in the closed residual path and convert it into a 32-dimensional closed residual input vector, read the normal closed residual range corresponding to the same monitoring location and the same monitoring field, write the 32-dimensional closed residual input vector into the first residual processing unit, and use the working condition return loop identifier, monitoring location, monitoring field, closed loop endpoint residual difference amplitude and difference direction as model auxiliary index to be transmitted synchronously with the input vector; Closed residual features are generated through a fully connected feature mapping structure, specifically as follows: The 32-dimensional closed residual input vector is read, and each component is divided by the upper limit of the normal closed residual range to obtain the normalized residual component. The upper limit of the normal closed residual range has been corrected to be non-zero according to the measurement resolution. The 32-dimensional normalized residual vector is input into a 4-layer fully connected structure. The first layer performs a 32-dimensional to 128-dimensional linear mapping and is activated by ReLU. The second and third layers perform a 128-dimensional to 128-dimensional linear mapping and are activated by ReLU. The fourth layer performs a 128-dimensional to 128-dimensional linear mapping and outputs 128-dimensional closed residual features. The reversible response reconstruction quantity is generated by backtracking the reconstruction branch, specifically as follows: The 128-dimensional closed residual features are input into the backtracking reconstruction branch. The 64-dimensional intermediate features are obtained through a 128-dimensional to 64-dimensional fully connected layer and the ReLU activation function. Then, a 32-dimensional normalized reversible response reconstruction vector is generated through a 64-dimensional to 32-dimensional linear output layer. The 32-dimensional normalized reversible response reconstruction vector is multiplied component by the upper limit of the corresponding normal closed residual range to restore the 32-dimensional reversible response reconstruction quantity with the same dimensions as the closed residual input vector. The candidate residual is generated by subtracting the reversible response reconstruction amount from the current closed residual sequence, specifically as follows: The current 32-dimensional closed residual input vector is subtracted from the 32-dimensional reversible response reconstruction quantity component by component in the same order to obtain a 32-dimensional residual difference vector. The component whose absolute value of the residual difference does not exceed the measurement resolution of the corresponding monitoring field is set to 0. The remaining components retain their signs and values. The processed 32-dimensional residual difference vector is determined as a candidate residual. The working condition return loop identifier, monitoring position, monitoring field and closed loop endpoint position corresponding to the candidate residual are synchronously written into the candidate residual record. The irreversible residual qualification relay unit reads the candidate residual, the closed residual path, and the closed-loop endpoint residual. If the closed-loop endpoint residual is outside the range of the normal closed residual and the closed residual path maintains the same residual direction, the corresponding residual connection is opened and the candidate residual is passed. If the relay qualification is not met, the corresponding residual connection is closed. Where: Irreversible residual qualification relay units, specifically including: Candidate Residue Reading End: Reads the 32-dimensional candidate residues generated by the current residual processing unit and obtains the corresponding normal closed residue range and the closed loop endpoint position; Endpoint Residual Judgment Channel: Extract the residual amplitude of candidate residuals at the end point of the closed loop, compare it with the upper limit of the normal closed residual range, and generate an endpoint out-of-bounds marker; Residual direction determination channel: Read the effective non-zero components in the candidate residuals, and generate a direction preservation mark when all are positive or all are negative; Residual connection control terminal: When both the endpoint out-of-bounds flag and the direction-maintaining flag are true, the residual connection is opened and the candidate residual is passed; when either flag is false, the residual connection is closed. Terminal qualification verification end: Perform the same qualification judgment on the candidate residuals output by the last residual processing unit. If the qualification is met, output the irreversible residual; if the qualification is not met, stop the output of the corresponding residual. The irreversible residual qualification relay unit reads candidate residuals, closed residual paths, and closed-loop endpoint residuals, specifically as follows: Read the 32-dimensional candidate residual vector in the current candidate residual record, index the original working condition closed residual record according to the working condition return closed loop identifier, monitoring position and monitoring field, read the difference direction sequence and closed loop endpoint residual difference amplitude of the corresponding closed residual path, and then read the normal closed residual range corresponding to the same monitoring position and the same monitoring field, and write the four types of data into the same qualification judgment record. When the closed-loop endpoint residual is outside the range of the normal closed residual and the closed residual path maintains the same residual direction, the corresponding residual connection is opened and candidate residuals are passed on. Specifically: Compare the residual difference magnitude at the closed-loop endpoint with the upper limit of the normal closed residual range. If the residual difference magnitude at the closed-loop endpoint is greater than the upper limit of the normal closed residual range, mark the endpoint as out of bounds as 1. Read the difference direction of all non-zero paired response residuals within the closed residual path. If all non-zero difference directions are positive or all non-zero difference directions are negative, mark the direction as 1. If both the endpoint out of bounds mark and the direction as 1 are 1, set the relay mark to 1. Open the residual connection from the current residual processing unit to the next residual processing unit. Pass the original value of the 32-dimensional candidate residual vector to the next residual processing unit and simultaneously pass the working condition return closed-loop identifier, monitoring position, monitoring field and residual direction. If the relay qualification is not met, the corresponding residual connection will be closed, specifically: When the endpoint crosses the boundary and the direction remains unchanged and the mark is 0, the relay mark is set to 0, the residual connection from the current residual processing unit to the next residual processing unit is closed, the corresponding input position of the next residual processing unit is written into the 32-dimensional zero vector, the current candidate residual record is marked as a recoverable residual, and no deeper residual recursion is performed on the current residual path. The relay mark and the closed position are retained for relay qualification supervision in model training. Each residual processing unit only receives candidate residuals passed through open residual connections, repeatedly performs feature mapping, backtracking reconstruction, and relay qualification determination, and identifies candidate residuals that are still passed through after the recursion is completed as irreversible residuals, where: Each residual processing unit only receives candidate residuals passed from open residual connections, specifically: The second residual processing unit only reads the 32-dimensional candidate residual vectors marked as 1 by the first qualified relay unit, and the third residual processing unit only reads the 32-dimensional candidate residual vectors marked as 1 by the second qualified relay unit. The residual paths marked as 0 do not enter the corresponding next residual processing unit. The edge computing nodes independently maintain each residual path using the working condition return loop identifier, monitoring location and monitoring field as residual recursion index. Repeatedly perform feature mapping, backtracking reconstruction, and relay qualification determination, specifically as follows: Each residual processing unit that receives a non-zero candidate residual vector performs calculations in the following order: 32-dimensional input, 128-dimensional closed residual features, 32-dimensional reversible response reconstruction amount, and 32-dimensional new candidate residuals. Then, it performs qualification determination based on the magnitude of the residual difference at the closed loop endpoint, the range of the normal closed residual, and the direction of the difference in the closed residual path. If the qualification is valid, it continues to pass to the next residual processing unit. If the qualification is invalid, it stops the current residual path recursion. The current residual recursion ends when all three residual processing units have completed the calculation or all residual connections are closed. Candidate residuals that are still propagated after the recursion is completed are identified as irreversible residuals, specifically: Read the 32-dimensional candidate residual vector output by the third residual processing unit. When the third residual processing unit input relay mark is 1 and the 32-dimensional candidate residual vector has at least one component with an absolute value greater than the corresponding measurement resolution, it is determined to be an irreversible residual. Record the irreversible residual vector, the residual amplitude at the closed loop endpoint, the residual direction, the working condition return closed loop identifier, the monitoring position, the monitoring field, and the model recursion depth. When all components output by the third residual processing unit do not exceed the measurement resolution, the residual record is marked as stripped and does not enter the cross-closed loop prediction. The cross-loop residual persistence prediction layer arranges irreversible residuals at the same monitoring location and in the same monitoring field according to the order of occurrence of the working condition return loop. Using the working condition return loop sequence as the prediction sequence, it predicts the residual amplitude of the next working condition return loop. Based on the relationship between the predicted residual, the normal closed-loop residual range, and the current residual amplitude, it determines the residual disappearance state, residual persistence state, and residual growth state, generating the residual persistence prediction result, where: The cross-loop residual survival prediction layer specifically includes: Residual event reading end: Reads the irreversible residual amplitude of the most recent 6 effective closed loops of the same surge arrester, monitoring location and monitoring field according to the order of occurrence of the operating condition return closed loop; Event window encoding area: The 6 residual amplitudes are concatenated with the corresponding 6 validity markers to generate a 12-dimensional cross-loop prediction vector; Residual evolution mapping channel: The 12-dimensional prediction vector is sequentially subjected to fully connected mapping from 12-dimensional to 64-dimensional and from 64-dimensional to 32-dimensional to generate 32-dimensional cross-closed-loop residual evolution features; Residual amplitude prediction end: The 32-dimensional cross-loop residual evolution features are mapped to 1-dimensional predicted residual amplitude to obtain the predicted residual amplitude value of the next working condition return loop; The output of the residual result is as follows: Based on the relationship between the predicted residual amplitude, the normal closed residual range, and the current residual amplitude, the output is the residual disappearance state, the residual continuation state, or the residual growth state. The cross-loop residual persistence prediction layer arranges irreversible residuals at the same monitoring location and in the same monitoring field according to the order of occurrence of the return loop under the operating conditions, specifically: Irreversible residual event groups are established according to the arrester identification, monitoring location and monitoring fields. Irreversible residuals within the event group are arranged in ascending order according to the completion time of the closed loop return under the operating condition and continuously assigned a closed loop sequence number starting from 1. The residual difference amplitude at the end of the closed loop and the last irreversible residual amplitude after the relay are read from each irreversible residual record. The residual difference amplitude at the end of the closed loop is used as the unified residual amplitude value for cross-closed loop prediction. The last irreversible residual amplitude is retained for result verification. Using the closed-loop sequence of the operating condition as the prediction sequence, the residual amplitude of the next operating condition's closed-loop is predicted, specifically as follows: For the current closed-loop sequence, read the residual amplitude corresponding to the current sequence and the 6 most recent valid closed-loop sequences. If there are less than 6 closed-loop records, add the upper limit of the normal closed residual range of the same monitoring position and the same monitoring field to the left and write the validity mark of the added position as 0, and write the validity mark of the actual closed-loop position as 1. Divide the 6 residual amplitudes by the upper limit of the normal closed residual range to obtain a 6-dimensional normalized residual vector. Concatenate it with the 6-dimensional validity mark to form a 12-dimensional prediction input vector. Input the 12-dimensional prediction input vector into a 64-dimensional fully connected layer, a 32-dimensional fully connected layer and a 1-dimensional linear output layer in sequence. Multiply the 1-dimensional output value by the upper limit of the normal closed residual range to obtain the prediction residual amplitude of the next working condition return loop. The residual survival prediction results are generated as follows: The predicted residual amplitude, the current closed-loop residual amplitude, and the upper limit of the normal closed residual range are read. When the predicted residual amplitude is less than or equal to the upper limit of the normal closed residual range, it is determined to be a residual disappearance state. When the predicted residual amplitude is greater than the upper limit of the normal closed residual range and the predicted residual amplitude minus the current residual amplitude does not exceed 0.1 times the width of the normal closed residual range, it is determined to be a residual continuation state. When the predicted residual amplitude is greater than the upper limit of the normal closed residual range and the predicted residual amplitude minus the current residual amplitude exceeds 0.1 times the width of the normal closed residual range, it is determined to be a residual growth state. 0.1 times the width of the normal closed residual range is used as a growth judgment margin to exclude small predicted changes within the normal closed fluctuation range. The surge arrester identifier, monitoring location, monitoring field, current closed-loop sequence, predicted closed-loop sequence, current residual amplitude, predicted residual amplitude, and residual status are written into the residual continuation prediction result. Normal state markers and confirmed fault records are extracted from historical fault detection data. Corresponding historical monitoring sequences are extracted from standard surge arrester monitoring data, and historical operating condition closed residual data are generated. Residuals that enter the normal closed residual range after reversal are marked as reversible responses, and residuals that remain outside the normal closed residual range across closed loops are marked as irreversible residuals. Continuation labels are generated based on changes in adjacent closed-loop residuals. A joint loss is composed of backtracking reconstruction error, relay qualification judgment error, and residual continuation prediction error. The model parameters are updated until training converges. Extract normal status markers and confirmed fault records from historical fault detection data, specifically: According to the surge arrester identifier, read the status confirmation field, fault confirmation field, fault type, confirmation start time and confirmation end time from the historical fault detection data. Write the records with the status confirmation field as normal into the normal sample index, write the records with the fault confirmation field as confirmed into the fault sample index, delete the records with overlapping confirmation time intervals and conflicting status labels, and write the time intervals with conflicting statuses into the set to be reviewed and not use them for model training. The corresponding historical monitoring sequences are extracted from the standard surge arrester monitoring data, and historical operating condition closed residual data are generated, specifically as follows: Based on the time range in the normal sample index and the fault sample index, the corresponding standard surge arrester monitoring records are extracted. The same processing rules are used to generate historical operating condition closed residual records for training, including operating condition return loop identification, operating condition corresponding position pairing, body response difference calculation, and closed residual path construction. Each record is converted into a 32-dimensional signed closed residual vector, and a training sample index is established according to the surge arrester identifier, monitoring location, monitoring field, and operating condition return loop occurrence order. The residual that returns to the normal closed residual range after the return is marked as a reversible response, specifically: Read the magnitude of the residual difference at the closed loop endpoint of the training sample. When the magnitude of the residual difference at the closed loop endpoint is less than or equal to the upper limit of the corresponding normal closed residual range, the relay qualification label is recorded as 0. The 32-dimensional closed residual vector is used as the supervision target for reversible response reconstruction, so that the response components that can be fully explained in the backtracking reconstruction branch learning normal working condition backtracking process are learned. Residues that remain outside the normal closed-loop residual range across the closed loop are marked as irreversible residuals, specifically: According to the arrester identification, monitoring location and monitoring field, the continuous operating condition return loop is retrieved. When the residual difference of the current loop and the two subsequent comparable operating condition return loops are both greater than the upper limit of the normal closing residual range and the residual directions of the three loops are consistent, the current training sample is marked as 1 and marked as irreversible residual. When only one loop or two loops are outside the normal closing residual range and no evidence of three consecutive loops is formed, the corresponding sample is marked as a sample to be confirmed and is not included in the calculation of the relay qualification loss. The continued tag is generated based on the changes in the residuals of adjacent closed loops, specifically: For training samples with a return loop of the next comparable operating condition, read the current loop residual amplitude and the next loop actual residual amplitude. Use the next loop actual residual amplitude as the amplitude prediction label. When the next loop actual residual amplitude is less than or equal to the upper limit of the normal closed residual range, the state label is recorded as disappearing. When the next loop actual residual amplitude is greater than the upper limit of the normal closed residual range and the increase relative to the current residual amplitude does not exceed 0.1 times the width of the normal closed residual range, the state label is recorded as continuing. When the increase exceeds 0.1 times the width of the normal closed residual range, the state label is recorded as increasing. The joint loss consists of backtracking reconstruction error, relay qualification determination error, and residual survival prediction error, specifically: The backtracking reconstruction error is the mean of the squared differences between the 32-dimensional reconstruction vector of the reversible response sample and the corresponding components of the 32-dimensional supervised target. The relay qualification determination error is the binary cross-entropy between the relay qualification prediction value and the 0 or 1 label. The residual survival prediction error is obtained by adding the Huber loss between the predicted residual amplitude and the actual residual amplitude of the next closed loop and the cross-entropy of the three states of disappearance, survival, and growth with weights of 0.5 and 0.5 respectively. After the first round of training, the batch mean of the three types of loss is calculated respectively. The original loss weight is obtained by adding 0.000001 to the mean of each type of loss and taking the reciprocal. The three original loss weights are then divided by the sum of the original loss weights to obtain the joint loss weight. Starting from the second round of training, the joint loss weight is fixed so that the three types of loss maintain similar optimization contributions under different numerical scales. Update the model parameters until training converges, specifically: The training set and validation set are divided according to the surge arrester identifier. All operating conditions of the same surge arrester are returned to only one set in the training set or the validation set. The training set accounts for 80% of all surge arresters, and the validation set accounts for 20%. The AdamW optimizer is used to update the trainable parameters of the fully connected feature map structure, backtracking reconstruction branch, qualification decision structure, and cross-loop residual prediction layer. The learning rate is set to 0.001, the weight decay coefficient is set to 0.0001, and the batch size is set to 64. After each training round, the validation set joint loss is calculated. Training stops when the absolute value of the relative change rate of the validation set joint loss is less than 0.001 for 10 consecutive rounds. Training stops when the convergence condition is not met after 200 training rounds, and the model parameters corresponding to the round with the lowest validation set joint loss are retained.

[0029] In this embodiment, generating the initial fault detection result includes: Irreversible residues are arranged according to the equipment identification and the order of occurrence of the closed loop of the operating condition. The corresponding operating condition location, monitoring location, monitoring field and operating condition status of the irreversible residues are read. For irreversible residuals with consistent monitoring positions and fields between adjacent loop conditions, calculate the absolute differences of each field at corresponding positions in the two loop conditions. Residuals are identified as being in the same location if none of these absolute differences exceed the width of the corresponding stable operating condition range. Irreversible residues with consistent monitoring locations and fields are matched between adjacent operating condition loopbacks, specifically as follows: Select consecutive closed-loop and subsequent closed-loop sequences according to the same surge arrester identifier. Read irreversible residues of the preceding closed loop one by one. In the subsequent closed loop, filter irreversible residues with completely consistent monitoring positions and monitoring fields to form a candidate set. The subsequent closed-loop residues that have established cross-closed-loop matching relationships with other irreversible residues of the preceding closed loop are deleted from the candidate set. When the candidate set is empty, record that there are no candidate objects for irreversible residues of the preceding closed loop. When the candidate set contains one residue, directly enter the comparison of the operating condition field. When the candidate set contains multiple residues, calculate the difference of the operating condition field respectively and determine the unique candidate object by the difference. Calculate the absolute difference of each condition field at corresponding positions in the two closed-loop operating conditions, specifically as follows: Read the 6-dimensional operating condition position vectors corresponding to the irreversible residuals of the front closed loop and each candidate irreversible residual of the rear closed loop. Subtract each field in the order of fixed fields such as bus voltage RMS, system frequency, voltage total harmonic distortion, ambient temperature, relative humidity and rainfall intensity, and take the absolute value to obtain a 6-dimensional cross-loop operating condition difference vector. Read the upper limit and lower limit of the stable operating condition range of each field under the corresponding operating conditions of the front and rear closed loops respectively. Calculate the stable operating condition range width of the corresponding fields of the two closed loops. Take the smaller value of the two widths as the cross-loop matching width of the corresponding field. Divide the absolute difference of the field by the corresponding cross-loop matching width to obtain the normalized operating condition difference. Add the 6 normalized operating condition differences to obtain the cross-loop operating condition distance of the candidate residual. The stable operating condition range width has been corrected to be non-zero, so zero width is not used in the division. When all absolute differences do not exceed the width of the corresponding steady-state operating condition range, they are determined to be in-situ residuals, specifically: The 6-dimensional cross-loop working condition difference vector is compared with the corresponding cross-loop matching width field by field. When the absolute difference of all 6 fields is less than or equal to the corresponding cross-loop matching width, the candidate residue is recorded as a valid peer candidate. When any field exceeds the corresponding cross-loop matching width, the corresponding candidate residue is deleted. When there are multiple valid peer candidates, the candidate residue with the smallest cross-loop working condition distance is selected as the unique peer residue. When the cross-loop working condition distances are the same, the candidate residue with the closer distance to the working condition return position of the closing loop endpoint working condition in the later closed loop is selected. When the distances are still the same, the candidate residue with the smaller pairing number is selected. After the matching is completed, the peer residue of the later closed loop is marked as occupied to avoid a later closed loop residue inheriting multiple earlier closed loop residues at the same time. When identical residuals maintain the same residual direction, a residual inheritance record is established. Consecutive connection of residual inheritance records forms a residual inheritance relationship. If no identical residual is matched, the current residual evolution state is determined to be disappearance. If an identical residual is matched and the residual amplitude does not increase, it is determined to be continued existence. If an identical residual is matched and the residual amplitude increases, it is determined to be growth. Where: When co-located residues maintain the same residue direction, a residue inheritance record is established, specifically as follows: Read the irreversible residuals of the pre-loop and post-loop that have established a corresponding matching relationship. Compare the residual directions in the two residual records. If both residuals are positive or both are negative, the directions are determined to be consistent. Record the residual identifier of the pre-loop, the residual identifier of the post-loop, the sequence of the pre-loop, the sequence of the post-loop, the monitoring position, the monitoring field, the residual direction, the residual amplitude of the pre-loop, and the residual amplitude of the post-loop. Generate a residual inheritance record. If the two residual directions are inconsistent, no residual inheritance record is established. Remove the current inheritance occupation of the post-loop reverse residual and save it as a new residual starting point. When determining the inheritance status, the pre-loop residual is treated as if there is no inheritable corresponding residual. A residual inheritance relationship is formed by consecutively connecting residual inheritance records, specifically as follows: The residual inheritance records are grouped according to the arrester identification, monitoring location, and monitoring field. The preceding closed-loop residual identifier and the following closed-loop residual identifier in each residual inheritance record are read. When the preceding closed-loop residual identifier of the following residual inheritance record is consistent with the following closed-loop residual identifier of the preceding residual inheritance record, and the closed-loop sequence of the two inheritance records is continuous and the residual direction is consistent, the two inheritance records are connected. The continuously connected residual identifier, closed-loop sequence, residual amplitude, and residual direction are written into the same residual inheritance chain. The preceding closed-loop residual of the first inheritance record is used as the starting point of the inheritance chain, and the following closed-loop residual of the last inheritance record is used as the current ending point of the inheritance chain. When the closed-loop sequence is interrupted, the monitoring location changes, the monitoring field changes, or the residual direction changes, the current inheritance chain is terminated and a new residual inheritance chain is re-established without the unconnected residual. When no corresponding residual is found, the current residual evolution state is determined to be vanished, specifically: For the closed-loop matching results after the retrieval of the irreversible residue in the pre-closed loop, if there is no co-position residue that meets the working condition field range condition among the candidate residues with the same monitoring position and monitoring field, or if there is a co-position residue that meets the working condition field condition but the residual direction is opposite to the direction of the pre-closed loop residue, the current residual evolution state of the irreversible residue in the pre-closed loop is recorded as disappearance, the pre-closed loop sequence and the post-closed loop sequence where disappearance occurs are recorded, and the residual inheritance chain with the corresponding irreversible residue in the pre-closed loop as the current endpoint is terminated. If a matching residual is found and the residual magnitude does not increase, it is determined to continue existing. Specifically: Read the irreversible residuals of the front closed loop and the co-located residuals of the rear closed loop with the same reading direction. Take the difference in the residual amplitude at the closed loop endpoints of the two residuals as the front residual amplitude and the rear residual amplitude, respectively. Read the measurement resolution of the corresponding monitoring field from the device configuration data. Take the two measurement resolutions as the amplitude variation tolerance. The two measurement resolutions are used to cover the amplitude difference formed by response quantization during the comparison of the two closed loop residuals. When the rear residual amplitude minus the front residual amplitude is less than or equal to the amplitude variation tolerance, it is determined that the residual amplitude has not increased. Record the current residual evolution state as continued existence and record the front residual amplitude, the rear residual amplitude, and the amplitude variation. When a matching residual is found and the residual amplitude increases, it is determined to be an increase, specifically: Read the irreversible residuals of the front closed loop and the co-located residuals of the rear closed loop in the same direction. Subtract the residual difference of the front closed loop from the residual difference of the rear closed loop endpoint to obtain the residual amplitude change. Read the measurement resolution of the corresponding monitoring field from the device configuration data. Use the two measurement resolutions as the amplitude change tolerance. When the residual amplitude change is greater than the amplitude change tolerance, it is determined that the residual amplitude has effectively increased. Record the current residual evolution state as growth and write the residual amplitude change into the corresponding residual inheritance record. The current residual evolution state is combined with the residual survival prediction result to generate a fault evolution state consisting of the current evolution state and the predicted evolution state. This is then associated with the corresponding irreversible residuals and residual inheritance relationships to generate an initial fault detection result, where: The current residual evolution state is combined with the residual survival prediction results, specifically as follows: According to the surge arrester identification, monitoring location and monitoring fields, retrieve the previous closed loop sequence and the next closed loop sequence corresponding to the current residual evolution state. Then read the current closed loop sequence and the predicted closed loop sequence in the residual survival prediction result. Only when the current closed loop sequence in the residual survival prediction result is equal to the previous closed loop sequence and the predicted closed loop sequence is equal to the next closed loop sequence, establish the state correspondence relationship. The actual disappearance, survival or growth state is taken as the current residual evolution state. The disappearance, survival or growth state obtained in advance for the same closed loop transfer is taken as the predicted evolution state. If the closed loop sequence cannot correspond, the state combination is not executed and the corresponding record is written into the state set to be supplemented. The fault evolution state is generated by combining the current evolution state and the predicted evolution state, specifically as follows: Write the current residual evolution state into the first state bit and the predicted evolution state into the second state bit. Generate a fault evolution state code according to the combination of current disappearance and predicted disappearance, current disappearance and predicted survival, current disappearance and predicted growth, current survival and predicted disappearance, current survival and predicted survival, current survival and predicted growth, current growth and predicted disappearance, current growth and predicted survival, and current growth and predicted growth. The state code only expresses the combination relationship between the observed residual evolution and the model predicted evolution, and does not directly determine the fault type and degradation level in the current processing stage. And associate the corresponding irreversible residuals and residual inheritance relationships to generate initial fault detection results, specifically: Based on the arrester identifier, monitoring location, monitoring fields, and closed-loop sequence, the fault evolution state is associated with the corresponding irreversible residual in the preceding closed loop, the corresponding residual in the following closed loop, and the residual inheritance chain to which it belongs. The following data are written: amplitude of the preceding closed loop residual, amplitude of the following closed loop residual, residual direction, change in residual amplitude, current residual evolution state, predicted evolution state, fault evolution state code, starting closed-loop sequence of the residual inheritance chain, and current ending closed-loop sequence. For disappearance state records where no residual inheritance chain has been formed, the irreversible residual in the preceding closed loop is retained, and the inheritance chain field is marked as null. All records are arranged according to the arrester identifier and the completion time of the following closed loop to generate the initial fault detection result.

[0030] In this embodiment, generating the intelligent detection result of the surge arrester fault includes: From historical fault detection data, confirmed fault types, confirmed degradation levels, and corresponding historical fault records are extracted. Based on the corresponding historical fault records, historical fault evolution states are generated, and a fault state correspondence is established. Specifically, generating historical fault evolution states based on corresponding historical fault records involves: Using the arrester identifier, fault confirmation start time, and fault confirmation end time in each valid historical fault record as search criteria, historical monitoring records within the corresponding time range are read from standard arrester monitoring data. Complete operating condition departure and return processes are identified, operating condition departure and return branches are constructed, and the corresponding operating condition positions in the two branches are matched. The arrester body response difference at the corresponding position is calculated to form a closed residual path. The closed residual path is input into the improved N-BEATS model to obtain irreversible residual and residual persistence prediction results. Irreversible residuals with consistent monitoring positions and monitoring fields, and whose operating condition field differences meet the stable operating condition range conditions, are matched between adjacent operating condition return closed loops. Residuals are then classified according to their disappearance, persistence, and... The residual growth determination rule obtains the historical current evolution state, takes the residual survival prediction state corresponding to the same closed loop transfer as the historical predicted evolution state, and generates the historical fault evolution state according to the historical current evolution state and the historical predicted evolution state in 9 combinations: current disappearance and predicted disappearance, current disappearance and predicted survival, current disappearance and predicted growth, current survival and predicted disappearance, current survival and predicted survival, current survival and predicted growth, current growth and predicted disappearance, current growth and predicted survival, and current growth and predicted growth. The corresponding monitoring location, monitoring field, residual direction, confirmed fault type and confirmed degradation level are recorded. No historical fault evolution state is generated when there are fewer than two comparable operating conditions returning to the closed loop within the fault confirmation time range. The fault evolution state in the initial fault detection results is matched with the correspondence between the fault state to determine the fault type and degradation level; The surge arrester identifier and monitoring location are extracted from the equipment configuration data, the detection time is extracted from the standard surge arrester monitoring data, and the fault type, degradation level and fault evolution status are associated to generate intelligent surge arrester fault detection results.

[0031] refer to Figure 3 An intelligent fault detection system for surge arresters based on edge computing includes the following modules: The monitoring data processing module is used to collect multi-source monitoring data of surge arresters and perform preprocessing to generate standard surge arrester monitoring data. The condition return construction module is used to identify the condition departure and condition return processes based on standard surge arrester monitoring data, divide the condition departure branch and the condition return branch, and generate the condition return closed loop. The return pairing module is used to generate return pairing data based on the standard surge arrester monitoring data and the corresponding positions of the operating conditions in the operating condition departure branch and operating condition return branch in the operating condition closed-loop matching; The closed residual generation module is used to compare the arrester body response at the corresponding position of the operating condition based on the return pairing data, form a closed residual path along the pairing sequence, and generate the operating condition closed residual data. The edge failure analysis module is used to input the closed residual data of the operating condition into the improved N-BEATS model to generate irreversible residual and residual continuation prediction results; The residual inheritance analysis module is used to associate the same residuals in the continuous operating condition return loop with the prediction results of the operating condition return loop, irreversible residuals and residual continuation, establish the residual inheritance relationship, determine the fault evolution state, and generate the initial fault detection results. The fault result generation module is used to determine the fault type and degradation level based on the initial fault detection results and generate intelligent fault detection results for the surge arrester.

[0032] Example 1: In an online monitoring scenario of surge arresters in a 110kV substation, 12 metal oxide surge arresters were selected as the monitoring objects. The edge computing node was connected to leakage current, infrared temperature measurement, partial discharge, bus voltage and environmental monitoring devices. The sampling period was 60 seconds. Theoretically, 241,920 monitoring records were collected over 14 consecutive operating days. 2,400 records were marked as invalid due to communication interruption, asynchronous sampling or missing key fields. After preprocessing, 239,520 valid records were obtained, including 184,320 records of normal operation, 21,600 records of moisture, 18,960 records of valve plate aging, and 14,640 records of insulation abnormalities.

[0033] From historical fault detection data, normal state confirmation records and confirmed fault records were screened, constructing a total of 1680 operating condition feedback loops, including 960 normal loops and 720 fault loops. Training sets and independent test sets were divided according to the surge arrester identification. The training set consisted of 1264 loops formed by 9 surge arresters, and the test set consisted of 416 loops formed by 3 surge arresters. The closure decomposition part used the 32-dimensional closure residual vector formed by a single loop as the training sample. The cross-loop prediction part constructed 6 consecutive effective loop input windows by sliding according to the surge arrester identification, monitoring location, and monitoring field. The actual residual amplitude of the 7th loop was used as the supervision target, resulting in a total of 742 sets of training samples.

[0034] During simulated operation, under stable operating conditions, the effective value of the bus voltage of a single surge arrester is 110.8kV, the system frequency is 50.01Hz, the total harmonic distortion (THD) is 1.8%, the ambient temperature is 27.4℃, the relative humidity is 63.2%, the rainfall intensity is 0mm / h, the effective value of the resistive current is 0.214mA, the pulse amplitude of the partial discharge sensor output is 18.4mV, and the surface temperature is 31.8℃. During the deviating phase, the bus voltage rises to 113.2kV, the relative humidity rises to 91.6%, and the THD rises to 2. The rainfall intensity increased to 6.4 mm / h, the resistive current increased to 0.327 mA, the partial discharge pulse amplitude increased to 34.7 mV, and the surface temperature increased to 35.6 °C. After the operating conditions returned to normal, the bus voltage recovered to 110.9 kV, the relative humidity recovered to 64.1%, the total harmonic distortion of the voltage recovered to 1.9%, the rainfall intensity recovered to 0 mm / h, the resistive current remained at 0.286 mA, the partial discharge pulse amplitude remained at 29.8 mV, and the surface temperature dropped to 32.4 °C, indicating that the external operating conditions returned to normal but some of the body's response did not recover.

[0035] The system establishes a 6-dimensional operating condition state based on the effective value of the bus voltage, system frequency, total harmonic distortion (THD), ambient temperature, relative humidity, and rainfall intensity. It matches the operating condition leaving and returning to similar locations within the branch, establishing a total of 21 effective operating condition corresponding locations. Selecting one location, the relative humidity is 82.3% and 82.8%, the bus voltage is 112.1kV and 112.0kV, the THD is 2.31% and 2.28%, and the resistive current is 0.251mA and 0.298mA, respectively. This yields a 0.047mA positive paired response residual. Of the 21 locations, 17 retain positive resistive current residuals, forming a continuous closed residual path. The residual amplitude at the closed-loop endpoint is 0.068mA, and the normal closed residual range is 0 to 0.021mA.

[0036] After improving the N-BEATS model with the residual input of the closed loop under operating conditions, the first residual processing unit completes the reversible response reconstruction and subtraction. The residual at the candidate closed loop endpoint is reduced from 0.068mA to 0.052mA. After the second and third stripping, it is reduced to 0.045mA and 0.041mA respectively. All three results exceed 0.021mA and the effective residual remains positive. The two irreversible residual qualification relay units open the residual connection in sequence. After the terminal qualification is passed, the 32-dimensional irreversible residual is output. The resistive current monitoring resolution is 0.001mA and the amplitude variation tolerance is 0.002mA.

[0037] The residual amplitudes of the previous six effective closed loops at the same monitoring location and monitoring field were 0.024mA, 0.027mA, 0.029mA, 0.033mA, 0.036mA, and 0.041mA, respectively. The cross-loop residual persistence prediction layer outputs a predicted residual amplitude of 0.046mA for the next effective closed loop, with a prediction increment of 0.005mA, which is greater than the 0.002mA amplitude change tolerance. The predicted state is increasing. The actual irreversible residual amplitudes of the four adjacent closed loops increased from 0.029mA to 0.033mA, 0.036mA, and 0.041mA, respectively. The monitoring location, monitoring field, 6-dimensional operating condition, and residual direction all meet the cross-loop matching conditions, establishing a residual inheritance relationship. The current evolution state is increasing.

[0038] During the fault result generation stage, the current growth state, predicted growth state, resistive current monitoring field, positive residual direction and corresponding monitoring position are input into the fault state correspondence relationship and matched with historical confirmed fault records to obtain valve plate aging faults and moderate deterioration levels, avoiding the determination of fault type based solely on a single growth state.

[0039] A comparative analysis was conducted on 416 closed loops in an independent test set under the same edge node hardware conditions. The fault identification accuracy of the traditional fixed threshold method was 81.7%, the false alarm rate was 14.9%, the false judgment rate of operating condition disturbance was 18.3%, and the average analysis delay per closed loop was 7.2ms. The original N-BEATS method achieved 88.5%, 9.4%, 11.1%, and 16.8ms, while the method of this invention achieved 94.6%, 4.1%, 3.8%, and 18.6ms, respectively. The identification rates of this invention for moisture, valve plate aging, and insulation abnormalities were 93.8%, 95.2%, and 94.1%, respectively, while the original N-BEATS method achieved 87.4%, 89.1%, and 88.6%, respectively. Among the 126 test closed loops with persistent fault residues confirmed by manual testing, this invention correctly identified 119, achieving a persistent fault residue identification rate of 94.4%, while the original N-BEATS method correctly identified 103, achieving a persistent fault residue identification rate of 81.7%.

[0040] Test results show that the present invention utilizes operating condition feedback to form a self-comparison of the same surge arrester. By distinguishing between operating condition disturbances and continuous fault responses through closed-loop residual decomposition, qualification relay, and cross-closed-loop residual inheritance, the fault identification accuracy is improved by 6.1 percentage points compared with the original N-BEATS, the operating condition disturbance misjudgment rate is reduced by 7.3 percentage points, and the single closed-loop analysis delay is increased by 1.8ms while still meeting the edge real-time detection requirements under a 60-second sampling period, thus verifying the feasibility and effectiveness of the present invention.

[0041] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any equivalent substitutions or modifications made by those skilled in the art within the scope of the technology disclosed in the present invention, based on the technical solution and inventive concept of the present invention, should be covered within the scope of protection of the present invention.

Claims

1. A method for intelligent fault detection of surge arresters based on edge computing, characterized in that, include: Collect multi-source monitoring data of surge arresters, perform preprocessing on the multi-source monitoring data of surge arresters, and generate standard surge arrester monitoring data; Identify the departure and return processes of operating conditions in the monitoring data of standard surge arresters, divide the departure and return branches of operating conditions, and generate a closed loop of operating condition return. Match similar operating conditions in the operating condition feedback closed loop and associate the surge arrester body response at the corresponding position to generate feedback pairing data; Compare the ontological responses in the returned paired data to generate residual data for the operating condition closure. The improved N-BEATS model, which inputs the closed-loop residual data of the operating condition into the edge computing node, generates irreversible residual and residual survival prediction results through the operating condition return closed decomposition layer group, irreversible residual qualification relay unit and cross-closed-loop residual survival prediction layer. Based on the continuous operating condition return closed-loop associated irreversible residues, establish the residue inheritance relationship, determine the fault evolution state based on the residue inheritance relationship and the residue continuation prediction results, and generate the initial fault detection results. Based on the initial fault detection results, the fault type and degradation level are determined, and intelligent fault detection results for the surge arrester are generated.

2. The intelligent fault detection method for surge arresters based on edge computing according to claim 1, characterized in that, The surge arrester's multi-source monitoring data includes electrical operation data, thermal status data, partial discharge data, operating condition data, environmental monitoring data, equipment configuration data, and historical fault detection data.

3. The intelligent fault detection method for surge arresters based on edge computing according to claim 1, characterized in that, The preprocessing of multi-source monitoring data of surge arresters includes unifying equipment identification, monitoring location identification, time format, sampling time alignment, unit conversion, outlier handling, and missing location marking.

4. The intelligent fault detection method for surge arresters based on edge computing according to claim 1, characterized in that, The generated operating condition return loop includes: Extract the operating condition identifier and operating status field from the operating condition data, extract the environmental status field from the environmental monitoring data, align and arrange them according to the sampling time, and generate an operating condition status sequence. Extract normal operating periods from historical fault detection data, extract operating status fields and environmental status fields from standard surge arrester monitoring data according to normal operating periods, and generate stable operating condition center and stable operating condition range based on field value distribution. Search for continuous sampling segments within the stable operating condition range along the operating condition state sequence, determine the position where the operating condition state leaves the stable operating condition range as the operating condition departure position, and determine the position where the state re-enters the stable operating condition range after leaving as the operating condition return position. The operating condition state sequence from the operating condition departure position to the operating condition return position is extracted. The position with the largest deviation from the stable operating condition center is taken as the branch boundary position. The operating condition state sequences before and after the branch boundary position are respectively determined as the operating condition departure branch and the operating condition return branch, generating the operating condition return closed loop.

5. The intelligent fault detection method for surge arresters based on edge computing according to claim 1, characterized in that, The generation of return pairing data includes: Read the working condition departure branch and working condition return branch in the working condition return closed loop, and arrange the working condition status in the two branches according to the sampling time; Starting from the starting position of the working condition leaving the branch, select the working condition states sequentially. In the working condition return branch, search for unpaired working condition states according to the return order. Calculate the absolute difference of each field corresponding to the working condition states of the two branches, normalize it with the width of the corresponding stable working condition range, and sum it to determine the candidate position with the smallest sum. When the absolute difference of each corresponding field of the candidate position does not exceed the width of the corresponding stable working condition range, the working condition corresponding position is established, and the return branch sequence of the subsequent working condition corresponding position is restricted to not be earlier than the previous working condition corresponding position. Based on the sampling time at the corresponding location under the operating condition, extract the electrical response from the electrical operation data, extract the thermal response from the thermal state data, extract the partial discharge response from the partial discharge data, extract the correspondence between the monitoring location and the surge arrester identifier from the equipment configuration data, and associate the surge arrester body response at the corresponding location of the two branches. Arrange the operating conditions of the two branches and the response of the surge arrester body according to the corresponding positions of the operating conditions to generate feedback pairing data.

6. The intelligent fault detection method for surge arresters based on edge computing according to claim 1, characterized in that, The generated operating condition closed residual data includes: Read the return pairing data and align the surge arrester body response on both sides of the corresponding working condition position according to the monitoring location and monitoring field; Calculate the difference between the response of the branch body returning from the operating condition and the response of the branch body leaving the operating condition, record the direction and magnitude of the difference, and generate the paired response residue; Connect the paired response residues along the corresponding position of the working condition, which are in the same monitoring field and have the same difference direction, to form a closed residue path, and determine the residue start position, residue holding section and closed loop end residue. Associate the working condition return loop identifier, the corresponding working condition location, the monitoring location, the monitoring field, the closed residual path, and the closed loop endpoint residual to generate working condition closed residual data.

7. The intelligent fault detection method for surge arresters based on edge computing according to claim 1, characterized in that, The generation of irreversible residuals and residual persistence prediction results include: The fully connected feature mapping, backtracking reconstruction and residual recursion structure of the N-BEATS model are retained. The first residual processing layer group is set as the working condition backtracking closed decomposition layer group. Irreversible residual qualification relay unit is set between adjacent residual processing units. The forward prediction end is set as the cross-closed loop residual continuation prediction layer to construct the improved N-BEATS model. Extract normal operating periods from historical fault detection data, extract corresponding monitoring records from standard surge arrester monitoring data, generate historical normal operating condition closing residual data, and determine the normal closing residual range according to monitoring location and monitoring field. Input the closed residual data of the working condition into the closed decomposition layer group of the working condition backtracking, generate closed residual features through the fully connected feature mapping structure, generate reversible response reconstruction amount through the backtracking reconstruction branch, subtract the reversible response reconstruction amount from the current working condition closed residual sequence, and generate candidate residuals; The irreversible residual qualification relay unit reads the candidate residual, the closed residual path, and the closed loop endpoint residual. When the closed loop endpoint residual is outside the range of the normal closed residual and the closed residual path maintains the same residual direction, the corresponding residual connection is opened and the candidate residual is passed. If the relay qualification is not met, the corresponding residual connection is closed. Each residual processing unit only receives candidate residuals passed from open residual connections, repeatedly performs feature mapping, backtracking reconstruction, and relay qualification determination, and determines the candidate residuals that are still passed after the recursion is completed as irreversible residuals. The cross-loop residual survival prediction layer arranges irreversible residuals at the same monitoring location and in the same monitoring field according to the order of occurrence of the working condition return loop. The working condition return loop sequence is used as the prediction sequence to predict the residual amplitude of the next working condition return loop. Based on the relationship between the predicted residual and the normal closed residual range and the current residual amplitude, the residual disappearance state, residual survival state and residual growth state are determined, and residual survival prediction results are generated. Normal state markers and confirmed fault records are extracted from historical fault detection data. Corresponding historical monitoring sequences are extracted from standard surge arrester monitoring data and historical operating condition closed residual data are generated. Residuals that enter the normal closed residual range after reversal are marked as reversible responses, and residuals that remain outside the normal closed residual range across closed loops are marked as irreversible residuals. Continued existence labels are generated based on the changes in adjacent closed loop residuals. The model parameters are updated with a joint loss consisting of backtracking reconstruction error, relay qualification judgment error, and residual continued existence prediction error until training converges.

8. The intelligent fault detection method for surge arresters based on edge computing according to claim 1, characterized in that, The generation of initial fault detection results includes: Irreversible residues are arranged according to the equipment identification and the order of occurrence of the closed loop of the operating condition. The corresponding operating condition location, monitoring location, monitoring field and operating condition status of the irreversible residues are read. Irreversible residues with the same monitoring position and monitoring field are matched between adjacent working condition return loops. The absolute difference of each working condition field at the corresponding position of the two closed loop working conditions is calculated. When each absolute difference does not exceed the width of the corresponding stable working condition range, it is determined to be a co-located residue. When the same residuals maintain the same residual direction, a residual inheritance record is established. A residual inheritance relationship is formed by continuously connecting residual inheritance records. When no same residual is matched, the current residual evolution state is determined to be disappearance. When a same residual is matched and the residual amplitude does not increase, it is determined to be continued existence. When a same residual is matched and the residual amplitude increases, it is determined to be growth. The current residual evolution state is combined with the residual survival prediction result to generate a fault evolution state consisting of the current evolution state and the predicted evolution state. The corresponding irreversible residual and residual inheritance relationship are associated to generate the initial fault detection result.

9. The intelligent fault detection method for surge arresters based on edge computing according to claim 1, characterized in that, The generated intelligent fault detection results for surge arresters include: Extract confirmed fault types, confirmed degradation levels and corresponding historical fault records from historical fault detection data, generate historical fault evolution states based on the corresponding historical fault records, and establish fault state correspondence. The fault evolution state in the initial fault detection results is matched with the correspondence between the fault state to determine the fault type and degradation level; The surge arrester identifier and monitoring location are extracted from the equipment configuration data, the detection time is extracted from the standard surge arrester monitoring data, and the fault type, degradation level and fault evolution status are associated to generate intelligent surge arrester fault detection results.

10. An intelligent fault detection system for surge arresters based on edge computing, comprising executing the intelligent fault detection method for surge arresters based on edge computing as described in any one of claims 1 to 9, characterized in that, Includes the following modules: The monitoring data processing module is used to collect multi-source monitoring data of surge arresters and perform preprocessing to generate standard surge arrester monitoring data. The condition return construction module is used to identify the condition departure and condition return processes based on standard surge arrester monitoring data, divide the condition departure branch and the condition return branch, and generate the condition return closed loop. The return pairing module is used to generate return pairing data based on the standard surge arrester monitoring data and the corresponding positions of the operating conditions in the operating condition departure branch and operating condition return branch in the operating condition closed-loop matching; The closed residual generation module is used to compare the arrester body response at the corresponding position of the operating condition based on the return pairing data, form a closed residual path along the pairing sequence, and generate the operating condition closed residual data. The edge failure analysis module is used to input the closed residual data of the operating condition into the improved N-BEATS model to generate irreversible residual and residual continuation prediction results; The residual inheritance analysis module is used to associate the same residuals in the continuous operating condition return loop with the prediction results of the operating condition return loop, irreversible residuals and residual continuation, establish the residual inheritance relationship, determine the fault evolution state, and generate the initial fault detection results. The fault result generation module is used to determine the fault type and degradation level based on the initial fault detection results and generate intelligent fault detection results for the surge arrester.