A power distribution network fault rapid positioning method and device
By constructing a digital topology model of the entire distribution network and a dual-mechanism topology iteration correction system, combined with multi-dimensional electrical quantity deviation quantization and a lightweight LSTM model, the problems of topology lag and data distortion in distribution network fault location are solved, and rapid and accurate fault location and identification are achieved.
Patent Information
- Application Number
- CN202611174357.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-04
- Publication Date
- 2026-11-20
AI Technical Summary
Existing fault location technologies for power distribution networks suffer from problems such as topological lag, data distortion, limited fault identification dimensions, low location accuracy, poor real-time performance, and insufficient adaptability, making it difficult to quickly and accurately locate faults.
A digital topology model of the entire distribution network is constructed, and a dual-mechanism topology iteration correction system is adopted. Combining multiple verification algorithms and a lightweight LSTM model, fault symptom identification and accurate location are achieved through multi-dimensional electrical quantity deviation quantification and topology iteration tracing.
It enables rapid identification, accurate source tracing, and localized location of faults in the distribution network, improving the basic accuracy and real-time performance of fault location. It is adaptable to the operating conditions of distribution networks at all voltage levels, including medium and low voltage, and reduces the probability of misjudgment and missed judgment.
Smart Images

Figure CN123136269A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power distribution network fault detection and location technology, and in particular to a method and apparatus for rapid fault location in power distribution networks. Background Technology
[0002] The distribution network is a crucial link in the power system connecting to end users. It comprises a multi-level power supply architecture of medium and low voltage, characterized by wide line coverage, complex branch structures, dispersed equipment layout, and dynamically changing operating conditions. Its operational stability directly determines the reliability of residential and industrial power supply, serving as a vital foundation for the safe and stable operation of the power grid. Compared to the structured transmission network, the distribution network operates in a complex and variable environment, constantly affected by meteorological disasters, random load fluctuations, equipment aging, and external construction damage. This makes it prone to various faults such as short circuits, open circuits, single-phase grounding, three-phase imbalance, and overloads. Distribution network faults are characterized by their suddenness, high concealment, and complex types. Fault location cannot be completed quickly and accurately, leading to expanded power outage areas and prolonged manual troubleshooting cycles. This not only causes economic losses but also significantly reduces user power supply experience and power grid operation and maintenance efficiency. Therefore, developing high-precision, low-latency, and highly adaptable intelligent fault location technology is a core requirement for upgrading modern intelligent distribution network operation and maintenance, and is key to achieving rapid power restoration after faults and improving the intelligence level of the power grid.
[0003] Current fault location technologies for distribution networks have significant shortcomings, making them difficult to adapt to complex actual operating conditions. Traditional location methods rely on manual inspections and single electrical quantity threshold judgments, resulting in limited identification dimensions, failure to consider grid topology characteristics, weak anti-interference capabilities, and susceptibility to sampling errors and instantaneous load fluctuations, frequently leading to misjudgments and missed judgments. Existing topology modeling is mostly static and fixed, unable to adapt to dynamic scenarios such as frequent switch changes and bidirectional power flow switching in distribution networks. Topology updates are lagging and structural distortions reduce fault location accuracy at the root. Furthermore, traditional fault tracing algorithms have simple iterative logic and low convergence efficiency, making it difficult to pinpoint the smallest fault area and increasing the difficulty of operation and maintenance troubleshooting. In addition, existing deep learning fault identification models have redundant structures, large parameter numbers, and high inference latency in embedded terminals, failing to meet the requirements for real-time fault response. They also generally suffer from insufficient fusion of electrical and topology features, poor adaptability to multiple fault types, and difficulty in addressing the differentiated operating needs of medium and low voltage distribution networks. Their lack of engineering versatility and practicality severely restricts the improvement of intelligent fault handling capabilities in distribution networks. Summary of the Invention
[0004] To address the shortcomings of existing technologies, this invention provides a rapid fault location method for distribution networks. This method solves the technical problems of traditional technologies, such as topological lag, data distortion, limited fault identification dimensions, low location accuracy, poor real-time performance, and insufficient adaptability. It achieves rapid fault identification, accurate source tracing, small-range localization, and precise classification and location in distribution networks, adapting to the operating conditions of medium and low voltage distribution networks across all voltage levels. The specific technical solution is as follows:
[0005] A method for rapid fault location in a power distribution network includes the following steps:
[0006] S1: Construct a digital topology model of the entire distribution network, establish a unique two-way mapping relationship between physical devices and smart terminals, solidify the steady-state reference parameters of the distribution network, and form a reference parameter database;
[0007] S2: Based on the digital topology model of the entire distribution network, a dual-mechanism topology iteration correction system is built. It is configured with hard triggering of switch status change and soft triggering of power flow direction deviation, and combined with multiple verification algorithms to correct the topology structure in real time, eliminate topology lag error, and generate a real-time high-precision operating topology model of the distribution network.
[0008] S3: Based on the real-time high-precision operating topology model, fault symptoms are identified by multi-dimensional electrical quantity deviation quantification calculation, fault timestamps are simultaneously calibrated, and the fault range is narrowed down step by step by the topological adjacency iterative tracing algorithm to lock the smallest suspected fault area.
[0009] S4: Perform spatiotemporal data correction processing for the smallest suspected fault area, extract the effective sampling window data before and after the fault, complete the timing and amplitude synchronous correction, construct a multi-dimensional fault data matrix, eliminate sampling interference and data distortion through noise reduction and normalization preprocessing, and generate standardized fault electrical feature vectors.
[0010] S5: Extract the topological quantization features of the smallest suspected fault area, and weight and fuse them with the standardized fault electrical feature vector to obtain the fused features. Input the fused features into the lightweight LSTM model for fault classification reasoning and accurate fault segment localization, and output the final fault localization result.
[0011] Preferably, step S1 includes the following sub-steps:
[0012] S11: Based on graph theory, the physical system of the entire distribution network is decomposed and digitally abstracted in a hierarchical manner, an undirected weighted topology graph is constructed, a node-branch association matrix is generated, and redundant nodes and invalid branches are eliminated and cleaned.
[0013] S12: Establish a bidirectional and unique mapping relationship between the physical node set and the global intelligent terminal set, configure a uniqueness verification and dynamic update mechanism to ensure the accuracy and uniqueness of the mapping relationship;
[0014] S13: Screen the normal and steady-state operation data of the distribution network, complete the data cleaning and calibration, solidify the rated electrical parameters and steady-state operation parameters, and build a benchmark parameter database that is bound to the topology model and mapping relationship.
[0015] Preferably, step S2 includes the following sub-steps:
[0016] S21: Configure dual start logic of hard trigger for switch state change and soft trigger for power flow direction deviation. After either trigger condition is met and a preset sampling period is continuously maintained, the topology correction process is started.
[0017] S22: Perform topology traversal verification, electrical quantity association verification, and power flow simulation rationality verification in sequence, iteratively update the node-branch association matrix, and generate a real-time high-precision running topology model.
[0018] Preferably, in step S21, the hard trigger of switch state change takes precedence over the soft trigger of power flow direction deviation; the power flow direction deviation threshold is adaptively selected according to the voltage level of the distribution network, with a value range of 0.05-0.1pu, the upper limit is taken for low-voltage distribution networks and the lower limit is taken for medium-voltage distribution networks; the triggering condition must remain valid for 3 consecutive sampling cycles before the topology correction process can be started.
[0019] In step S22, the topology traversal verification adopts a depth-first traversal algorithm, traversing all network nodes and branches starting from the root node on the power supply side; the electrical quantity association verification determines the validity of the topology based on the safe operating range constraints of node voltage and current; the power flow simulation verification adopts the Newton-Raphson algorithm, with a maximum number of iterations of 20 and a convergence accuracy of 1e-5; after all three verifications pass, the node-branch association matrix is updated, otherwise, the previous valid topology model is backed up and retained.
[0020] Preferably, step S3 includes the following sub-steps:
[0021] S31: Construct a multi-dimensional electrical quantity normalization deviation quantization function, configure the working condition adaptive weight coefficient and fault comprehensive criterion threshold, and identify effective fault symptoms;
[0022] S32: Based on the high-precision clock synchronization mechanism of the full-domain intelligent terminal, a linear interpolation correction algorithm is used to compensate for the sampling time difference and to calibrate the microsecond-level fault start timestamp;
[0023] S33: Starting from the fault trigger node, perform topological adjacency iterative tracing based on the real-time topological adjacency matrix, gradually narrowing the fault range and locking in the smallest suspected fault area.
[0024] Preferably, in step S31, the multi-dimensional electrical quantities include voltage, current, active power, and phase; the initial weighting coefficients are 0.4 for voltage, 0.3 for current, 0.2 for active power, and 0.1 for phase, and satisfy the normalization constraint; the fault comprehensive criterion threshold is adaptively set according to the voltage level, with a value of 0.12-0.18 pu for medium-voltage distribution networks and 0.08-0.12 pu for low-voltage distribution networks; the effective constraint range for phase deviation is configured separately as 0-0.15 rad.
[0025] In step S33, the maximum number of iterations for iterative tracing is 15. When the comprehensive fault deviation value of the newly added nodes in two consecutive iterations is less than the comprehensive fault criterion threshold, the iteration stops. If the termination condition is not met even after reaching the maximum number of iterations, the smallest region of the current iteration is fixed as the suspected fault region. When there are multiple fault triggering nodes, the node closest to the power supply side is selected as the core tracing starting point.
[0026] Preferably, step S4 includes the following sub-steps:
[0027] S41: Extract valid sampling window data of a preset duration centered on the fault timestamp, perform timing synchronization correction and amplitude adaptive correction, and generate corrected fault data;
[0028] S42: Integrate multi-dimensional electrical quantity time-series data, construct a multi-dimensional fault raw data matrix, and configure standardized fault-tolerant filling rules for missing and abnormal data;
[0029] S43: Perform wavelet threshold denoising and constrained interval normalization preprocessing on the original data matrix in sequence to generate standardized fault electrical feature vectors.
[0030] Preferably, step S5 includes the following sub-steps:
[0031] S51: Extract the node degree, network connectivity, and average branch weight of the smallest suspected fault region, and quantize them to generate a fixed-dimensional topological feature vector.
[0032] S52: Configure adaptive fusion weight coefficients to weight and fuse the standardized fault electrical feature vector with the topology feature vector to obtain the fused feature vector;
[0033] S53: The LSTM neural network is structurally and lightweightly optimized by adopting the weight magnitude pruning strategy, solidifying the model structure and training parameters, and constructing a lightweight LSTM inference model.
[0034] S54: Input the fused feature vector into the lightweight LSTM model, complete the fault classification and segment localization through the softmax activation function, and output the final fault localization result that meets the minimum effective probability threshold.
[0035] Preferably, in step S52, the initial value of the adaptive fusion weight coefficient is 0.7, and the value range is 0.2-0.9; when the fault comprehensive deviation is greater than or equal to 0.15pu, the electrical feature weight is increased, and when the topology connectivity is less than or equal to 0.3, the topology feature weight is increased.
[0036] In step S53, the lightweight LSTM model is set with 2 hidden layers, 32 neurons in a single hidden layer, a dropout regularization coefficient of 0.2, a training learning rate of 0.001, and a maximum number of training iterations of 100.
[0037] In step S54, the preset fault types include short circuit, open circuit, single-phase grounding, three-phase imbalance and overload faults; the minimum effective identification probability threshold is 0.7, and if it is lower than this threshold, it is judged as a suspected anomaly and no fault location result is output; the model loss function adopts the cross-entropy loss function.
[0038] A rapid fault location device for power distribution networks includes a multi-source data sensing unit, an embedded edge computing processing unit, and a master station communication unit;
[0039] The multi-source data sensing unit includes several multi-parameter integrated smart sensors deployed at key nodes such as branch switches and transformers in the distribution network and a first wireless communication module. The multi-parameter integrated smart sensors collect multi-dimensional electrical quantities such as current, voltage, phase, and active power of the corresponding nodes in real time, as well as switch status change signals. The first wireless communication module adopts the LoRa or 5G protocol and is electrically connected to the multi-parameter integrated smart sensors to wirelessly transmit the collected data to the embedded edge computing processing unit.
[0040] The embedded edge computing processing unit includes an edge computing main control chip, a local storage module, and a second wireless communication module that communicates with the first wireless communication module. Both the local storage module and the second wireless communication module are electrically connected to the edge computing main control chip. The edge computing main control chip has built-in topology construction and dynamic correction, fault screening and region locking, fault data preprocessing, and fusion inference and localization modules.
[0041] The topology construction and dynamic correction module constructs a digital topology model of the entire distribution network based on graph theory, establishes a unique bidirectional mapping between physical devices and sensors, solidifies steady-state reference parameters, and generates a bound reference parameter database stored locally. It is configured with dual start-up logic of hard triggering for switch position change and soft triggering for power flow deviation. After topology traversal, electrical quantity correlation and power flow simulation rationality verification, it corrects the node-branch correlation matrix in real time and generates a real-time high-precision operating topology.
[0042] The fault screening and area locking module constructs a multi-dimensional electrical quantity normalization deviation quantization function based on real-time topology, configures working condition adaptive weights and fault comprehensive judgment thresholds, and identifies effective fault symptoms; relying on the full-domain high-precision clock to synchronously calibrate the microsecond-level fault start timestamp, takes the fault trigger node as the source tracing starting point, and gradually narrows the range through the topological adjacency iterative source tracing algorithm to lock the smallest suspected fault area.
[0043] The fault data preprocessing module extracts valid sampled data of a preset duration centered on the fault timestamp to complete time-series synchronization and amplitude adaptive correction; integrates multi-dimensional time-series data to construct a multi-dimensional fault original matrix, and configures standardized fault-tolerant filling rules for missing and abnormal data; and generates standardized fault electrical feature vectors through wavelet threshold denoising and constrained interval normalization.
[0044] The fusion inference localization module extracts the node degree, network connectivity, and average branch weight of the smallest suspected fault area and quantifies them to generate a topological feature vector. It configures adaptive fusion weights to weight and fuse the standardized fault electrical feature vector with the topological feature vector to obtain a fusion feature vector. It uses a weight magnitude pruning strategy to construct a lightweight LSTM neural network inference model, inputs the fusion feature vector to complete fault classification and accurate segment localization, and outputs the final result.
[0045] The main station communication unit is connected to the edge computing main control chip and the power distribution main station. It is used to upload fault location results and type information, receive fault isolation and emergency repair scheduling instructions and model update parameters issued by the power distribution main station and transmit them to the edge computing main control chip to complete algorithm iteration. The local storage module also stores historical faults, topology operation and model training data to build a data feedback and algorithm iteration closed loop system.
[0046] The beneficial effects of this invention are as follows:
[0047] 1. This invention constructs a dual-mechanism topology iteration correction system. By combining hardware and software dual triggering logic with a triple verification algorithm, it completely solves the problems of lagging updates and structural distortion in traditional distribution network topology, realizes real-time synchronization between the topology model and actual operating conditions, and significantly improves the basic accuracy of fault location.
[0048] 2. This invention adopts a combination mechanism of multi-dimensional electrical quantity weighted discrimination and topology iterative tracing, abandoning the single electrical quantity discrimination method. By combining adaptive threshold and hierarchical iterative termination strategy, it can accurately identify weak fault signs, quickly narrow down and lock the smallest fault area, and effectively reduce the probability of misjudgment and missed judgment.
[0049] 3. This invention improves the spatiotemporal data correction and standardization preprocessing workflow for faults. Through time series amplitude correction, wavelet denoising, and fault-tolerant filling, it effectively eliminates on-site sampling interference and data distortion problems, thereby improving the accuracy and reliability of fault characteristics.
[0050] 4. This invention achieves adaptive weighted fusion of topological features and electrical fault features, combined with lightweight LSTM model structure optimization, which greatly improves the model inference speed while ensuring fault identification accuracy, thus meeting the engineering requirements for real-time fault location in distribution networks.
[0051] 5. The parameters of this invention are adaptively adapted to distribution networks of different voltage levels, including medium and low voltage. It can accurately identify five common faults: short circuit, open circuit, single-phase grounding, three-phase imbalance, and overload. It has strong versatility and engineering adaptability, which can effectively shorten the fault diagnosis time and improve the power supply reliability and operation and maintenance intelligence level of the distribution network. Attached Figure Description
[0052] Figure 1 This is a schematic diagram of the steps of a method for rapid fault location in a power distribution network according to the present invention. Detailed Implementation
[0053] A method for rapid fault location in a power distribution network includes the following steps:
[0054] S1: Construct a digital topology model of the entire distribution network, establish a unique two-way mapping relationship between physical devices and smart terminals, solidify the steady-state reference parameters of the distribution network, and form a reference parameter database;
[0055] S2: Based on the digital topology model of the entire distribution network, a dual-mechanism topology iteration correction system is built. It is configured with hard triggering of switch status change and soft triggering of power flow direction deviation, and combined with multiple verification algorithms to correct the topology structure in real time, eliminate topology lag error, and generate a real-time high-precision operating topology model of the distribution network.
[0056] S3: Based on a real-time high-precision operating topology model, fault symptoms are identified by multi-dimensional electrical quantity deviation quantification calculation, fault timestamps are calibrated synchronously, and the topology adjacency iterative tracing algorithm is used to gradually narrow the fault range and lock the smallest suspected fault area.
[0057] S4: Perform spatiotemporal data correction processing for the smallest suspected fault area, extract the effective sampling window data before and after the fault, complete the timing and amplitude synchronous correction, construct a multi-dimensional fault data matrix, eliminate sampling interference and data distortion through noise reduction and normalization preprocessing, and generate standardized fault electrical feature vectors.
[0058] S5: Extract the topological quantization features of the smallest suspected fault area, and weight and fuse them with the standardized fault electrical feature vector to obtain the fused features. Input the fused features into the lightweight LSTM model for fault classification reasoning and accurate fault segment localization, and output the final fault localization result.
[0059] Step S1 includes the following sub-steps:
[0060] S11: Based on graph theory, the physical system of the entire distribution network is decomposed and digitally abstracted in a hierarchical manner, an undirected weighted topology graph is constructed, a node-branch association matrix is generated, and redundant nodes and invalid branches are eliminated and cleaned.
[0061] S12: Establish a bidirectional and unique mapping relationship between the physical node set and the global intelligent terminal set, configure a uniqueness verification and dynamic update mechanism to ensure the accuracy and uniqueness of the mapping relationship;
[0062] S13: Screen the normal and steady-state operation data of the distribution network, complete the data cleaning and calibration, solidify the rated electrical parameters and steady-state operation parameters, and build a benchmark parameter database that is bound to the topology model and mapping relationship.
[0063] Step S2 includes the following sub-steps:
[0064] S21: Configure dual start logic of hard trigger for switch state change and soft trigger for power flow direction deviation. After either trigger condition is met and a preset sampling period is continuously maintained, the topology correction process is started.
[0065] S22: Perform topology traversal verification, electrical quantity association verification, and power flow simulation rationality verification in sequence, iteratively update the node-branch association matrix, and generate a real-time high-precision running topology model.
[0066] In step S21, the hard trigger for switch state change takes precedence over the soft trigger for power flow direction deviation; the power flow direction deviation threshold is adaptively selected based on the distribution network voltage level, with a value range of 0.05-0.1pu, the upper limit is used for low-voltage distribution networks and the lower limit is used for medium-voltage distribution networks; the triggering condition must remain valid for 3 consecutive sampling cycles before the topology correction process can be started.
[0067] In step S22, the topology traversal verification adopts a depth-first traversal algorithm, traversing all network nodes and branches starting from the root node on the power supply side; the electrical quantity association verification determines the validity of the topology based on the safe operating range constraints of node voltage and current; the power flow simulation verification adopts the Newton-Raphson algorithm, with a maximum number of iterations of 20 and a convergence accuracy of 1e-5; after all three verifications pass, the node-branch association matrix is updated, otherwise, the previous valid topology model is backed up and retained.
[0068] Step S3 includes the following sub-steps:
[0069] S31: Construct a multi-dimensional electrical quantity normalization deviation quantization function, configure the working condition adaptive weight coefficient and fault comprehensive criterion threshold, and identify effective fault symptoms;
[0070] S32: Based on the high-precision clock synchronization mechanism of the full-domain intelligent terminal, a linear interpolation correction algorithm is used to compensate for the sampling time difference and to calibrate the microsecond-level fault start timestamp;
[0071] S33: Starting from the fault trigger node, perform topological adjacency iterative tracing based on the real-time topological adjacency matrix, gradually narrowing the fault range and locking in the smallest suspected fault area.
[0072] In step S31, the multi-dimensional electrical quantities include voltage, current, active power, and phase; the initial weighting coefficients are 0.4 for voltage, 0.3 for current, 0.2 for active power, and 0.1 for phase, and satisfy the normalization constraint; the fault comprehensive judgment threshold is adaptively set according to the voltage level, with values of 0.12-0.18 pu for medium-voltage distribution networks and 0.08-0.12 pu for low-voltage distribution networks; the effective constraint range for phase deviation is configured separately as 0-0.15 rad.
[0073] In step S33, the maximum number of iterations for iterative tracing is 15. When the comprehensive fault deviation value of the newly added nodes in two consecutive iterations is less than the comprehensive fault criterion threshold, the iteration stops. If the termination condition is not met even after reaching the maximum number of iterations, the smallest region of the current iteration is fixed as the suspected fault region. When there are multiple fault triggering nodes, the node closest to the power supply side is selected as the core tracing starting point. The criteria for judging the node closest to the power supply side are: the number of branches contained in the shortest effective topological path between the node and the root node of the power supply side of the distribution network. The fewer the number of branches contained, the closer the node is to the power supply side.
[0074] Step S4 includes the following sub-steps:
[0075] S41: Extract valid sampling window data of a preset duration centered on the fault timestamp, perform timing synchronization correction and amplitude adaptive correction, and generate corrected fault data;
[0076] S42: Integrate multi-dimensional electrical quantity time-series data, construct a multi-dimensional fault raw data matrix, and configure standardized fault-tolerant filling rules for missing and abnormal data;
[0077] S43: Perform wavelet threshold denoising and constrained interval normalization preprocessing on the original data matrix in sequence to generate standardized fault electrical feature vectors.
[0078] Step S5 includes the following sub-steps:
[0079] S51: Extract the node degree, network connectivity, and average branch weight of the smallest suspected fault region, and quantize them to generate a fixed-dimensional topological feature vector.
[0080] S52: Configure adaptive fusion weight coefficients to weight and fuse the standardized fault electrical feature vector with the topology feature vector to obtain the fused feature vector;
[0081] S53: The LSTM neural network is structurally and lightweightly optimized by adopting the weight magnitude pruning strategy, solidifying the model structure and training parameters, and constructing a lightweight LSTM inference model.
[0082] S54: Input the fused feature vector into the lightweight LSTM model, complete the fault classification and segment localization through the softmax activation function, and output the final fault localization result that meets the minimum effective probability threshold.
[0083] In step S52, the adaptive fusion weight coefficient is initialized to 0.7, with a value range of 0.2-0.9; when the fault comprehensive deviation is greater than or equal to 0.15pu, the electrical feature weight is increased, and when the topology connectivity is less than or equal to 0.3, the topology feature weight is increased.
[0084] In step S53, the lightweight LSTM model is set with 2 hidden layers, 32 neurons in a single hidden layer, a dropout regularization coefficient of 0.2, a training learning rate of 0.001, and a maximum number of training iterations of 100.
[0085] In step S54, the preset fault types include short circuit, open circuit, single-phase grounding, three-phase imbalance and overload faults; the minimum effective identification probability threshold is 0.7, and if it is lower than this threshold, it is judged as a suspected anomaly and no fault location result is output; the model loss function adopts the cross-entropy loss function.
[0086] A rapid fault location device for power distribution networks includes a multi-source data sensing unit, an embedded edge computing processing unit, and a master station communication unit;
[0087] The multi-source data sensing unit includes several multi-parameter integrated smart sensors deployed at key nodes such as branch switches and transformers in the distribution network and a first wireless communication module; the multi-parameter integrated smart sensors collect multi-dimensional electrical quantities such as current, voltage, phase, and active power of the corresponding nodes in real time, as well as switch status change signals; the first wireless communication module adopts LoRa or 5G protocol and is electrically connected to the multi-parameter integrated smart sensors to wirelessly transmit the collected data to the embedded edge computing processing unit.
[0088] The embedded edge computing processing unit includes an edge computing main control chip, a local storage module, and a second wireless communication module that communicates with a first wireless communication module. Both the local storage module and the second wireless communication module are electrically connected to the edge computing main control chip. The edge computing main control chip has built-in modules for topology construction and dynamic correction, fault screening and region locking, fault data preprocessing, and fusion inference and localization.
[0089] The topology construction and dynamic correction module constructs a digital topology model of the entire distribution network based on graph theory, establishes a unique bidirectional mapping between physical devices and sensors, solidifies steady-state reference parameters, and generates a bound reference parameter database stored locally. It is configured with dual start-up logic of hard triggering for switch position change and soft triggering for power flow deviation. After topology traversal, electrical quantity correlation and power flow simulation rationality verification, it corrects the node-branch correlation matrix in real time and generates a real-time high-precision operating topology.
[0090] The fault screening and area locking module constructs a multi-dimensional electrical quantity normalization deviation quantization function based on real-time topology, configures working condition adaptive weights and fault comprehensive judgment thresholds, and identifies effective fault symptoms. Relying on the full-domain high-precision clock synchronous calibration of the microsecond-level fault start timestamp, it takes the fault trigger node as the source tracing starting point, and gradually narrows the range through the topological adjacency iterative source tracing algorithm to lock the smallest suspected fault area.
[0091] The fault data preprocessing module extracts valid sampled data of a preset duration centered on the fault timestamp, and completes time-series synchronization and amplitude adaptive correction; it integrates multi-dimensional time-series data to construct a multi-dimensional original fault matrix and configures standardized fault-tolerant filling rules for missing and abnormal data; after wavelet threshold denoising and constrained interval normalization, it generates standardized fault electrical feature vectors.
[0092] The fusion reasoning and localization module extracts the node degree, network connectivity, and average branch weight of the smallest suspected fault area and quantifies them to generate a topological feature vector. It configures adaptive fusion weights to weight and fuse the standardized fault electrical feature vector with the topological feature vector to obtain a fused feature vector. It uses a weight magnitude pruning strategy to build a lightweight LSTM neural network inference model, inputs the fused feature vector to complete fault classification and accurate segment localization, and outputs the final result.
[0093] The main station communication unit communicates with the edge computing main control chip and the power distribution main station. It is used to upload fault location results and type information, receive fault isolation and emergency repair scheduling instructions and model update parameters issued by the power distribution main station and transmit them to the edge computing main control chip to complete algorithm iteration. The local storage module also stores historical faults, topology operation and model training data to build a closed-loop system for data feedback and algorithm iteration.
[0094] Application examples
[0095] The technical solutions of the present invention will now be described in detail with reference to the accompanying drawings.
[0096] like Figure 1 As shown, a method for rapid fault location in a power distribution network is implemented based on a device for rapid fault location in a power distribution network. The specific steps are as follows:
[0097] S1: Construct a digital topology model of the entire distribution network, establish a unique two-way mapping relationship between physical devices and smart terminals, solidify the steady-state reference parameters of the distribution network, and form a reference parameter database.
[0098] Furthermore, step S1 includes the following sub-steps:
[0099] S11: Based on graph theory, the physical system of the entire distribution network is decomposed and digitally abstracted in a hierarchical manner, an undirected weighted topology graph is constructed, a node-branch association matrix is generated, and redundant nodes and invalid branches are eliminated and cleaned.
[0100] S12: Establish a bidirectional and unique mapping relationship between the physical node set and the global intelligent terminal set, configure a uniqueness verification and dynamic update mechanism to ensure the accuracy and uniqueness of the mapping relationship;
[0101] S13: Screen the normal and steady-state operation data of the distribution network, complete the data cleaning and calibration, solidify the rated electrical parameters and steady-state operation parameters, and build a benchmark parameter database that is bound to the topology model and mapping relationship.
[0102] Furthermore, in another embodiment of the present invention:
[0103] S1: Global Topology Modeling and Baseline Parameter Database Construction for Distribution Network
[0104] This step is based on graph theory to complete the digital modeling of the entire distribution network, establish a unique mapping relationship between physical devices and smart terminals, solidify steady-state benchmark parameters, and build a standardized benchmark database to provide a benchmark basis for subsequent topology iteration and fault comparison. The core includes three major algorithms: topology modeling, mapping binding, and parameter solidification.
[0105] 1.1 Abstract Modeling of Distribution Network Topology using Graph Theory
[0106] Based on the equipment ledger and on-site wiring relationships of the distribution network, the hierarchical decomposition and digital abstraction of the entire network are completed, and the physical system of the distribution network is abstracted into an undirected weighted topology graph. Nodes and branches are strictly divided according to equipment hierarchy, and the network structure is quantified using mathematical formulas: In the formula: It is a collection of physical nodes in the distribution network, including busbars, transformers, switches, and load nodes; This is a set of branches, representing transmission lines and cable branches between nodes; For branch weights, a fixed priority assignment rule is adopted, prioritizing the selection of the branch rated impedance as the core weight. When the rated impedance is missing, the rated capacity is selected to supplement the assignment. After assignment, the interval normalization process is uniformly completed. This represents the total number of nodes in the distribution network. After the topology model is completed, the entire network of devices is automatically traversed. Redundant nodes (intermediate transition nodes that only connect two branches and have no switches, loads, or compensation equipment) and invalid branches (standby tie branches that are in a normally disconnected state) are removed and cleaned to ensure that the topology model is consistent with the actual network structure on site.
[0107] Based on the actual relationships between all nodes and branches in the network, connectivity attributes are verified node by node and branch by branch to construct a node-branch association matrix. This enables the digital and matrix representation of the network structure. The specific decision logic is as follows:
[0108] ;
[0109] In the formula: This represents the total number of branches in the distribution network.
[0110] 1.2 Bidirectional Unique Mapping Algorithm between Physical Nodes and Smart Terminals
[0111] Based on the set of physical nodes after topology modeling and the set of data acquisition terminals deployed on-site, the binding relationship between devices and terminals is initialized, and a bidirectional mapping function is constructed. To realize physical nodes With on-site smart terminals The one-to-one binding employs a uniqueness verification mechanism throughout the process to prevent duplicate or missed bindings. The mapping constraint formula is as follows:
[0112] ;
[0113] In the formula: It is a collection of intelligent terminals covering the entire domain, including data acquisition terminals such as FTU, DTU, and fault indicators; This is an inverse mapping function that ensures terminal data can be accurately traced back to the physical node. A dynamic update mechanism is also configured so that when there are scenarios such as terminal replacement, node addition / removal, or line modification in the field, the original binding relationship is automatically cleared, and bidirectional mapping matching and uniqueness verification are re-completed to continuously ensure the accuracy and uniqueness of the mapping relationship. For scenarios involving missing terminal data or terminal failure, the current mapping relationship is locked to avoid data tracing errors.
[0114] 1.3 Fixed benchmark parameter database
[0115] Data on normal operating conditions of the distribution network with continuous and stable operation is screened, and fluctuation data such as equipment start-up and shutdown, sudden load changes (load fluctuations with instantaneous change rate of active power at nodes ≥10% of rated value) and temporary voltage regulation (transient voltage adjustment with node voltage deviation ≥3% of rated value and duration ≤60s) are removed. Rated parameters and steady-state operating parameters of all nodes and branches in the entire region are collected, and after data cleaning, calibration and solidification, the data is stored in a fixed format, and the rated electrical parameter matrix of the distribution network is defined. With normal steady-state operating parameter matrix :
[0116] ;
[0117] ;
[0118] In the formula: , The rated voltage and rated current of the node; , Rated active and reactive power for nodes; The rated impedance of the branch; The rated frequency; Rated power factor; To achieve rated operating efficiency, all calibrated benchmark parameters are bound one-to-one with the topology model and node-terminal mapping relationships, and structurally stored and solidified into a database of independent, callable benchmark parameters. The database is automatically updated only when the power grid structure or equipment rated parameters change; fluctuations during normal steady-state operation do not trigger modifications to the benchmark parameters, ensuring the consistency and stability of the fault comparison benchmark.
[0119] S2: Based on the digital topology model of the entire distribution network, a dual-mechanism topology iteration correction system is built. It is configured with hard triggering of switch state change and soft triggering of power flow direction deviation, and combined with multiple verification algorithms to correct the topology structure in real time, eliminate topology lag error, and generate a real-time high-precision operating topology model of the distribution network.
[0120] Furthermore, step S2 includes the following sub-steps:
[0121] S21: Configure dual start logic of hard trigger for switch state change and soft trigger for power flow direction deviation. After either trigger condition is met and a preset sampling period is continuously maintained, the topology correction process is started.
[0122] S22: Perform topology traversal verification, electrical quantity association verification, and power flow simulation rationality verification in sequence, iteratively update the node-branch association matrix, and generate a real-time high-precision running topology model.
[0123] Furthermore, in another embodiment of the present invention:
[0124] S2: Real-time topology model iterative correction triggered by dual mechanisms
[0125] Based on the initial baseline topology model, a dual-start mechanism of switch displacement hard triggering and power flow deviation soft triggering is built. Combined with a multi-verification algorithm, the topology structure is corrected in real time to eliminate topology lag error and generate a high-precision real-time running topology model.
[0126] 2.1 Dual-mechanism trigger startup logic algorithm
[0127] (1) Hard trigger criterion for switch state change: Real-time acquisition of switch open / closed state , compared with the baseline state Compare and trigger the formula:
[0128] ;
[0129] when Initiate the topology correction process immediately.
[0130] (2) Soft triggering criterion for power flow direction deviation: Define branch Real-time active power Real-time reactive power and the reference active power of the corresponding branch. Reference reactive power Construct the comprehensive deviation of branch power flow and configure the adaptive power flow deviation threshold. . The value is adaptively selected based on the voltage level of the distribution network, with a range of 0.05-0.1 pu. The upper limit is used for low-voltage distribution networks and the lower limit is used for medium-voltage distribution networks.
[0131] Formula for calculating overall tidal current deviation:
[0132] ;
[0133] In the formula: branch road The real-time measured value of active power; branch road The reference steady-state active power value is taken from the reference parameter database; branch road Real-time measured reactive power value; branch road The reference steady-state reactive power value is taken from the reference parameter database; This is the system reference capacity corresponding to this voltage level, used for per-unit value conversion.
[0134] Trigger formula:
[0135] ;
[0136] In the dual-trigger mechanism, if any condition is met and the trigger state is maintained for three consecutive sampling cycles, the topology iterative correction can be officially started to eliminate false triggers caused by instantaneous data jitter. The sampling cycle refers to the fundamental phasor calculation cycle of the smart terminal, i.e., the power frequency cycle of 20ms. The trigger condition must remain valid for three consecutive power frequency cycles (i.e., 60ms) before the topology correction process can be started. If both hard trigger and soft trigger meet the trigger conditions, the default switch state change hard trigger will be executed first. After the hard trigger correction process is completed, if the soft trigger flag is still valid, a separate soft trigger correction process will be started.
[0137] 2.2 Multiple Topology Verification and Correction Algorithm
[0138] After the correction is initiated, the topology traversal verification, electrical quantity correlation verification, and power flow simulation rationality verification are completed sequentially, and the correlation matrix is iteratively updated. :
[0139] (1) Topology traversal verification: The depth-first traversal (DFS) algorithm is used to traverse all nodes and branches of the network. Starting from the root node on the power supply side of the distribution network, the traversal extends along the branch node by node until all end load nodes are traversed. The connectivity relationship between nodes and branches is recorded throughout the traversal. The integrity of the path between the first and last nodes is used as the basis for determining connectivity. If the path is complete, the topology connectivity is determined to be valid. If the path is interrupted or the branch is missing, the topology is determined to be abnormal. Finally, a real-time connectivity set is generated. .
[0140] (2) Electrical quantity correlation verification: Construct node electrical quantity correlation constraint formulas and eliminate invalid topologies:
[0141] ;
[0142] In the formula: , For real-time voltage and current of nodes; voltage upper and lower thresholds are fixed. , The upper and lower current thresholds are fixed as follows: , It strictly conforms to the normal safe operation range of the distribution network; it makes differentiated judgments for different verification scenarios: a single node instantaneous over-limit is judged as a single-point data anomaly and the topology is not removed; multiple nodes (the number of over-limit nodes exceeds 30% of the total number of nodes in the current topology verification range) and multiple branches (the number of over-limit branches exceeds 30% of the total number of branches in the current topology verification range) synchronously and continuously exceed the limit (the over-limit state is maintained for no less than 3 sampling cycles), the topology is judged as invalid and the invalid topology structure is removed.
[0143] (3) Power flow simulation verification: The power flow is solved in real time based on the Newton-Raphson algorithm. The algorithm is configured with fixed running parameters, the maximum number of iterations is set to 20, and the iteration convergence accuracy is 1e-5pu. When the iteration calculation results meet the accuracy requirements or reach the maximum number of iterations, the power flow calculation is terminated and the simulation power flow results are output. The deviation between the simulation power flow and the measured power flow is verified, and the following constraints are met:
[0144] ;
[0145] The formula for calculating the tidal current deviation is as follows:
[0146] ;
[0147] In the formula: The power flow deviation between simulation and actual measurement; The allowable threshold for power flow deviation is adaptively set between 0.03 and 0.08 pu; For simulating power flow values, The measured power flow value is used; it is dynamically fine-tuned based on the grid load factor; after all three verifications meet the constraints, the correlation matrix is completed. The topology is updated through a full-coverage iterative replacement. If any check fails, the current topology update is immediately terminated, and the valid topology model from the previous cycle is retained without matrix replacement. This process ultimately generates an accurate and effective real-time operating topology model for the distribution network. .
[0148] S3: Based on a real-time high-precision operating topology model, fault symptoms are identified through multi-dimensional electrical quantity deviation quantification calculation, fault timestamps are calibrated synchronously, and the fault range is narrowed down step by step using a topological adjacency iterative tracing algorithm to lock in the smallest suspected fault area.
[0149] Furthermore, step S3 includes the following sub-steps:
[0150] S31: Construct a multi-dimensional electrical quantity normalization deviation quantization function, configure the working condition adaptive weight coefficient and fault comprehensive criterion threshold, and identify effective fault symptoms;
[0151] S32: Based on the high-precision clock synchronization mechanism of the full-domain intelligent terminal, a linear interpolation correction algorithm is used to compensate for the sampling time difference and to calibrate the microsecond-level fault start timestamp;
[0152] S33: Starting from the fault trigger node, perform topological adjacency iterative tracing based on the real-time topological adjacency matrix, gradually narrowing the fault range and locking in the smallest suspected fault area.
[0153] Furthermore, in another embodiment of the present invention:
[0154] S3: Multi-dimensional Deviation Fault Identification and Minimum Fault Area Location
[0155] Based on a real-time topology model, fault symptoms are identified by multi-dimensional deviation quantification of electrical quantities, fault timestamps are accurately marked, and the smallest suspected fault area is locked down step by step by relying on the topology adjacency iterative tracing algorithm.
[0156] 3.1 Multi-dimensional Electrical Quantity Deviation Identification Algorithm
[0157] A four-dimensional deviation quantization function for voltage, current, power, and phase is constructed to compare the normalized deviation between real-time electrical quantities and reference electrical quantities. To avoid misjudgment caused by instantaneous sampling disturbances, a continuous multi-sampling cycle linkage judgment mechanism is adopted. The current deviation data is deemed valid only when the deviation calculation conditions are met for three consecutive sampling cycles. The specific deviation calculation method is as follows:
[0158] ;
[0159] Set fault comprehensive criterion thresholds Construct a fault symptom identification function:
[0160] ;
[0161] In the formula: , , , The weighting coefficients for each electrical quantity satisfy the normalization constraint. Each equivalent weighting coefficient implicitly contains a unit normalization compensation factor matching the corresponding electrical quantity, so as to uniformly convert voltage deviation, current deviation, active power deviation, and phase deviation into dimensionless deviation quantities before weighted summation. Simultaneously, an adaptive adjustment rule for operating conditions is configured: under light load conditions (operating conditions with node load rate not exceeding 40%), the voltage weight is increased and the power weight is decreased; under heavy load conditions (operating conditions with node load rate not less than 80%), the current and power weights are increased and the phase weight is decreased. The value range of each weighting coefficient is constrained. The adjustment step size is 0.05 to ensure a stable and controllable weight allocation. Fault comprehensive criterion threshold. An adaptive voltage level tuning rule is adopted, with values ranging from 0.12 pu to 0.18 pu for medium-voltage distribution networks and 0.08 pu to 0.12 pu for low-voltage distribution networks. The upper limit is used for steady-state light load conditions, and the lower limit is used for heavy load fluctuation conditions. The effective constraint range for phase deviation is configured separately. Data exceeding this range is considered invalid disturbance data and will not be included in the overall fault assessment. At that time, it is determined that there are valid signs of a fault.
[0162] 3.2 High-precision fault timestamp calibration
[0163] Based on a high-precision clock synchronization mechanism for all intelligent terminals, a unified sampling timing benchmark is established for each terminal, invalid sampling points with abnormal jumps or missing data are filtered out, and the fault start timestamp is calibrated. A linear interpolation correction algorithm is used to compensate for the terminal sampling time difference, eliminating the problem of timing inconsistency among multiple terminals.
[0164] ;
[0165] In the formula: The fault trigger time for each valid terminal; The clock synchronization correction is dynamically calculated based on the timing deviation of the terminal. The correction range is -10μs to 10μs. Deviations outside the range are directly discarded from the corresponding terminal data. The final timestamp calibration accuracy can reach the microsecond level, ensuring the uniformity and accuracy of fault timing across the entire network.
[0166] 3.3 Topological Adjacency Iterative Source Tracing Region Locking Algorithm
[0167] Based on a real-time topological adjacency matrix, starting from the fault-triggered node, the system iteratively traverses adjacent nodes and branches, gradually shrinking the fault range. A complete set of iterative constraints, priorities, termination, and reset mechanisms are configured. The specific fault area shrinkage criteria are as follows:
[0168] 1. Initialize the suspected fault set: If multiple nodes simultaneously trigger fault symptoms, the node closest to the power source is selected as the core tracing starting point according to the hierarchical priority from the power source side to the load side. The criteria for determining whether a node is close to the power source side are: the number of branches contained in the shortest effective topological path between the node and the root node of the power source side of the distribution network. The fewer the branches contained, the closer the node is to the power source side.
[0169] 2. Iterative adjacency tracing: ;
[0170] In the formula: This is the iteration round number for topological adjacency tracing, taken as a non-negative integer, representing the initial iteration round. Corresponding to the initial suspected fault set; For the first After the first iteration, a set of suspected fault nodes that have been verified and included in the tracing scope is completed; For the first The set of suspected faulty nodes updated after each round of adjacency expansion iterations serves as the input basis for the next round of iterations; For nodes The adjacent nodes to be determined that have direct topological associations belong to the global set of physical nodes. ; For the real-time topological adjacency matrix, the first... Line number Column elements, representing nodes With nodes The direct connectivity attribute is set to 1 when two nodes are directly connected by a valid branch, and 0 when there is no direct connectivity branch.
[0171] 3. Region Iteration Constraints and Termination Conditions: The maximum number of iterations is set to 15 to avoid algorithm deadlock. During iteration, the electrical quantity deviations of all newly added adjacent nodes are continuously checked. Termination occurs when the comprehensive fault deviation value of the newly added nodes in two consecutive iterations is less than [a certain value]. If no new fault-indicating nodes are connected, the outer area is determined to be fault-free, and iteration immediately stops. After iteration, the boundaries of the suspected areas are fixed, and the smallest suspected fault area is output. .
[0172] 4. Iterative fault tolerance and reset mechanism: If the termination condition is not met even after reaching the maximum number of iterations, it is determined to be a large-scale power grid anomaly, and the smallest area of the current iteration is directly fixed as the suspected fault area; after the end of a single source tracing process, the suspected fault set and iteration cache data are automatically cleared, the mechanism is reset, and it waits for the next round of fault monitoring and judgment to ensure the stability of continuous loop operation.
[0173] S4: Perform spatiotemporal data correction processing for the smallest suspected fault area, extract the effective sampling window data before and after the fault, complete the timing and amplitude synchronous correction, construct a multi-dimensional fault data matrix, eliminate sampling interference and data distortion through noise reduction and normalization preprocessing, and generate a standardized fault electrical feature vector.
[0174] Furthermore, step S4 includes the following sub-steps:
[0175] S41: Extract valid sampling window data of a preset duration centered on the fault timestamp, perform timing synchronization correction and amplitude adaptive correction, and generate corrected fault data;
[0176] S42: Integrate multi-dimensional electrical quantity time-series data, construct a multi-dimensional fault raw data matrix, and configure standardized fault-tolerant filling rules for missing and abnormal data;
[0177] S43: Perform wavelet threshold denoising and constrained interval normalization preprocessing on the original data matrix in sequence to generate standardized fault electrical feature vectors.
[0178] Furthermore, in another embodiment of the present invention:
[0179] S4: Fault Spatiotemporal Data Correction and Standardized Feature Vector Generation
[0180] For the smallest suspected fault area locked by S3, terminal sampling data of fixed duration before and after the fault is extracted to complete the synchronous acquisition of spatiotemporal data of intelligent terminals across the entire domain, timing correction and amplitude correction, and a complete data filtering and fault tolerance mechanism is provided. On-site sampling interference and data distortion problems are eliminated through standardized noise reduction and normalization preprocessing methods to generate standardized fault feature vectors with uniform dimensions and no interference, providing high-quality and highly consistent data input for subsequent neural network intelligent inference.
[0181] 4.1 Spatiotemporal Data Synchronization and Amplitude Correction Algorithm
[0182] A fixed fault data sampling window is set, centered on the fault timestamp calibrated by S3. Continuous sampling data for 10 sampling periods prior and 20 sampling periods subsequent are extracted as valid fault data sources, while invalid data outside the window is discarded. A unified sampling frequency is implemented across all network terminals, with all electrical quantity data collected synchronously. A global spatiotemporal synchronization correction model is constructed to eliminate data inconsistencies caused by sampling time differences and amplitude deviations from multiple terminals. Complete implementation rules for timing correction and amplitude correction are configured.
[0183] Timing correction formula: ;
[0184] Amplitude correction formula: ;
[0185] In the formula: This refers to the original sampled data from the terminal. The value range is 0~50μs for the entire network clock synchronization deviation. If the value exceeds the range, it is judged as a terminal synchronization abnormality and the corresponding terminal data is directly removed. , Configure a fixed initial reference value for the amplitude calibration coefficient. , It supports adaptive fine-tuning based on periodic calibration data from the terminal, with a single fine-tuning step size of 0.001 and a value constraint range of [missing value]. , This prevents excessive amplitude correction deviation. Simultaneously, a continuous 3-cycle data verification mechanism is employed, determining valid data only when the timing and amplitude-corrected data are continuously stable, thus avoiding interference from momentary jitter.
[0186] 4.2 Construction of Multidimensional Fault Data Matrix
[0187] After filtering and correcting valid fault time-series data, the number of sampling points in a single data set is fixed at N=30, forming a 30-dimensional time-series sampling dimension. This data integrates multi-dimensional electrical information such as voltage, current, active power, reactive power, and phase to construct a dimensionally regular multi-dimensional fault raw data matrix. Standardized fault-tolerant filling rules are configured to address common scenarios such as missing data, single-point jumps, and sampling interruptions. The fault-tolerant parameters are clearly defined: for single-dimensional, single-point missing data scenarios, the mean of valid data from one sampling period before and after the fault is used for interpolation; for single-point data jumps with large jumps, the mean of the neighborhood of the three adjacent valid sampling points at the time of the fault is used for replacement and correction; if two or more consecutive data points are abnormal, the entire sampling sequence is directly removed, ensuring matrix dimension uniformity and data authenticity from the source. The internal parameters of the matrix are defined as follows:
[0188] ;
[0189] In the formula: For the first Real-time voltage data of nodes at each sampling time; For the first Real-time current data of nodes at each sampling time; For the first Real-time active power data of nodes at each sampling time; For the first Real-time reactive power data of nodes at each sampling time; For the first Real-time phase data of nodes at each sampling time; time sequence index The corresponding fault sampling window includes 1 to 30 consecutive sampling times. This is a time-series sampling count variable, with a value range of [value range missing]. .
[0190] 4.3 Data Denoising and Constrained Normalization Preprocessing
[0191] The constructed original fault matrix data undergoes noise reduction and normalization preprocessing. High-frequency noise is filtered first, followed by data standardization and compression. Constraint rules and anomaly fallback mechanisms are configured throughout the process. The specific processing flow is as follows:
[0192] (1) Wavelet threshold denoising: The original data is decomposed into multiple layers using the db3 wavelet basis function. The number of decomposition layers is fixed at 3, which accurately matches the noise characteristics of the power distribution network fault data, retains the fault mutation characteristics, and filters out high-frequency interference noise. The denoising formula is as follows:
[0193] ;
[0194] In the formula: These are the high-frequency component coefficients obtained from wavelet decomposition; The adaptive noise reduction threshold is calculated using the following formula: ,in To estimate the variance of the noise, This refers to the number of sampling points for a single data set; the noise reduction process is iteratively executed throughout until the amplitudes of all high-frequency components are below the threshold, at which point noise reduction convergence is complete, and the denoised valid data is output. .
[0195] (2) Constrained normalization: In order to eliminate the difference in dimensions, avoid data distortion, and plug algorithm loopholes, the noise-reduced data is subjected to interval normalization. A zero denominator protection and outlier removal mechanism is added. First, extreme outliers exceeding 3 times the standard deviation are removed, and then normalization calculation is performed. The formula is as follows:
[0196] ;
[0197] In the formula: This is valid fault data after noise reduction is completed; , These are the maximum and minimum values of the fault region data after removing outliers. A zero-denominator fallback protection mechanism is configured: when... At that time, direct assignment To prevent algorithm computational crashes, the output data range is forced to remain stable. After preprocessing, all dimensions of data are normalized to generate standardized fault feature vectors that are dimensionally uniform, interference-free, and distortion-free. After a single data preprocessing cycle is completed, the temporary cache data is automatically cleared, the preprocessing mechanism is reset, and the system awaits the next round of fault data processing tasks.
[0198] S5: Extract the topological quantization features of the smallest suspected fault area, and weight and fuse them with the standardized fault electrical feature vector to obtain the fused features. Input the fused features into the lightweight LSTM model for fault classification reasoning and accurate fault segment localization, and output the final fault localization result.
[0199] Furthermore, step S5 includes the following sub-steps:
[0200] S51: Extract the node degree, network connectivity, and average branch weight of the smallest suspected fault region, and quantize them to generate a fixed-dimensional topological feature vector.
[0201] S52: Configure adaptive fusion weight coefficients to weight and fuse the standardized fault electrical feature vector with the topology feature vector to obtain the fused feature vector;
[0202] S53: The LSTM neural network is structurally and lightweightly optimized by adopting the weight magnitude pruning strategy, solidifying the model structure and training parameters, and constructing a lightweight LSTM inference model.
[0203] S54: Input the fused feature vector into the lightweight LSTM model, complete the fault classification and segment localization through the softmax activation function, and output the final fault localization result that meets the minimum effective probability threshold.
[0204] Furthermore, in another embodiment of the present invention:
[0205] S5: Feature Fusion and Lightweight LSTM Fault Intelligent Localization Inference
[0206] The topological quantization features of the fault area are extracted and fused with the electrical fault feature vector in a weighted manner. The fault type identification and accurate segment location are completed by a lightweight and optimized LSTM neural network, which reduces the number of model parameters, improves the inference speed, and is suitable for real-time fault location scenarios in distribution networks.
[0207] 5.1 Topology Quantization Feature Extraction Algorithm
[0208] Extract S3 to lock the smallest suspected fault area The topology parameters within the network are used to quantify node connectivity, branch distribution, and network connectivity characteristics, unify the topology feature output dimensions, and construct standardized topology feature vectors. The entire process is configured with fallback assignment rules for extreme scenarios to avoid feature failure caused by local topological anomalies. The specific quantization calculation formula is as follows:
[0209] ;
[0210] In the formula: The degree of the central node in the fault region represents the number of branch connections of the node; This represents the number of valid connected branches within the fault area. This represents the total number of branches within the fault area; For regional network connectivity; This represents the number of valid branches within the fault area. This is the average branch weight for the region. An extreme condition fallback mechanism is configured: when there are no effective branches or connected nodes in the faulty area, a uniform weight is assigned. , , This ensures that the topological feature vector has a constant dimension and valid values. Integrating quantization metrics yields a fixed-dimensional topological feature vector. This completes the dimensional matching and alignment with the electrical feature vector.
[0211] 5.2 Dual-feature weighted fusion algorithm
[0212] An adaptive weighted fusion of electrical fault features and topology features is performed to construct a fused feature vector. :
[0213] ;
[0214] In the formula: Configure fixed initial baseline values for the dual-feature adaptive fusion weight coefficients. Electrical fault characteristics are preferentially accepted by default; a weighting range is set. The single adaptive adjustment step size is 0.05. Configure quantized adaptive triggering and adjustment rules: when the overall fault deviation... When the condition is determined to be a severe fault, the voltage is gradually increased. Strengthen electrical feature weights; when topology connectivity When this condition is identified as a topological distortion condition, the load is gradually reduced. This strengthens the weighting of topological features. When there are no abnormal operating conditions, the weights remain locked in a steady state, without random fluctuations, ensuring the stability and relevance of the fused features.
[0215] 5.3 Lightweight Optimized LSTM Neural Network Model
[0216] A structured, lightweight pruning optimization was performed on the traditional LSTM neural network, employing a weight magnitude pruning strategy with a uniform pruning range of 30%~50%. Redundant weights and ineffective neurons with magnitudes below a threshold were removed, while retaining the core gating structure and temporal feature extraction capabilities. This reduced the number of model parameters and improved inference speed. The network configuration used fixed hyperparameters: two hidden layers with a fixed number of 32 neurons per layer; the temporal input step size matched the 30-dimensional fault sampling data from the front end; and a dropout regularization coefficient of 0.2 to effectively suppress overfitting. The model weight matrix and bias terms were initialized using Gaussian randomization, with a fixed training learning rate of 0.001, a maximum training iteration count of 100, and a convergence accuracy of 1e-4 pu. During training, the model automatically terminated when the convergence accuracy threshold or the maximum number of iterations was reached, thus solidifying the optimal model parameters. The optimized LSTM core cell state update formula is as follows:
[0217] ;
[0218] In the formula: , , These represent the forget gate output, input gate output, and output gate output of the neural network at time t, respectively. , , , These are the lightweight weight matrices corresponding to the forget gate, input gate, output gate, and cell state, respectively. , , , These are the bias terms for the corresponding network structures; Let t be the standardized fused feature vector input to the network at time t; This represents the hidden layer output state of the network at time t-1; The state of candidate cells at time t; , These represent the final cell states at time t and time t-1, respectively. The sigmoid activation function is used to constrain the gated output to the interval between 0 and 1. The hyperbolic tangent activation function is used to normalize candidate cell states; This involves element-wise matrix multiplication to achieve weighted fusion of state features. The model maintains a fixed network structure and hyperparameters throughout training, permanently locking the model parameters after training. Weights are not updated during the inference phase, ensuring the speed and stability of real-time inference for distribution network faults.
[0219] 5.4 Fault Reasoning and Location Output
[0220] The dimension-normalized fused feature vector is input into the solidified lightweight LSTM model, and the softmax activation function is used to achieve probability normalization classification of multiple fault types. The specific calculation formula for softmax is as follows:
[0221] ;
[0222] In the formula: This represents the raw score output by the fully connected layer of the model. Let be the normalized predicted probability of the k-th type of fault, where the sum of the probabilities of all types is 1. The model loss function uses cross-entropy loss, which is used to iteratively optimize the model parameters. The loss formula is as follows:
[0223] ;
[0224] In the formula: The preset number of fault types includes short circuit, open circuit, single-phase grounding, three-phase imbalance, and overload faults; The fault is a unique hot label; The model predicts the output probability. Optimal fault determination criteria are configured: the fault type corresponding to the highest probability value is selected as the final identification result, and a minimum effective identification probability threshold of 0.7 is set. Faults below this threshold are considered suspected anomalies, and no fault type is output, thus avoiding the risk of misidentification.
Claims
1. A method for rapid fault location in a distribution network, characterized in that, Includes the following steps: S1: Construct a digital topology model of the entire distribution network, establish a unique two-way mapping relationship between physical devices and smart terminals, solidify the steady-state reference parameters of the distribution network, and form a reference parameter database; S2: Based on the digital topology model of the entire distribution network, a dual-mechanism topology iteration correction system is built. It is configured with hard triggering of switch status change and soft triggering of power flow direction deviation, and combined with multiple verification algorithms to correct the topology structure in real time, eliminate topology lag error, and generate a real-time high-precision operating topology model of the distribution network. S3: Based on the real-time high-precision operating topology model, fault symptoms are identified by multi-dimensional electrical quantity deviation quantification calculation, fault timestamps are simultaneously calibrated, and the fault range is narrowed down step by step by the topological adjacency iterative tracing algorithm to lock the smallest suspected fault area. S4: Perform spatiotemporal data correction processing for the smallest suspected fault area, extract the effective sampling window data before and after the fault, complete the timing and amplitude synchronous correction, construct a multi-dimensional fault data matrix, eliminate sampling interference and data distortion through noise reduction and normalization preprocessing, and generate standardized fault electrical feature vectors. S5: Extract the topological quantization features of the smallest suspected fault area, and weight and fuse them with the standardized fault electrical feature vector to obtain the fused features. Input the fused features into the lightweight LSTM model for fault classification reasoning and accurate fault segment localization, and output the final fault localization result.
2. The method for rapid fault location in a distribution network according to claim 1, characterized in that, Step S1 includes the following sub-steps: S11: Based on graph theory, the physical system of the entire distribution network is decomposed and digitally abstracted in a hierarchical manner, an undirected weighted topology graph is constructed, a node-branch association matrix is generated, and redundant nodes and invalid branches are eliminated and cleaned. S12: Establish a bidirectional and unique mapping relationship between the physical node set and the global intelligent terminal set, configure a uniqueness verification and dynamic update mechanism to ensure the accuracy and uniqueness of the mapping relationship; S13: Screen the normal and steady-state operation data of the distribution network, complete the data cleaning and calibration, solidify the rated electrical parameters and steady-state operation parameters, and build a benchmark parameter database that is bound to the topology model and mapping relationship.
3. The method for rapid fault location in a distribution network according to claim 1, characterized in that, Step S2 includes the following sub-steps: S21: Configure dual start logic of hard trigger for switch state change and soft trigger for power flow direction deviation. After either trigger condition is met and a preset sampling period is continuously maintained, the topology correction process is started. S22: Perform topology traversal verification, electrical quantity association verification, and power flow simulation rationality verification in sequence, iteratively update the node-branch association matrix, and generate a real-time high-precision running topology model.
4. The method for rapid fault location in a distribution network according to claim 3, characterized in that, In step S21, the hard trigger for switch state change takes precedence over the soft trigger for power flow direction deviation; the power flow direction deviation threshold is adaptively selected based on the distribution network voltage level, with a value range of 0.05-0.1pu, the upper limit is used for low-voltage distribution networks and the lower limit is used for medium-voltage distribution networks; the triggering condition must remain valid for 3 consecutive sampling cycles before the topology correction process can be started. In step S22, the topology traversal verification adopts a depth-first traversal algorithm, starting from the root node on the power supply side and traversing all network nodes and branches. Electrical quantity correlation verification determines the validity of the topology based on the safe operating range constraints of node voltage and current; power flow simulation verification uses the Newton-Raphson algorithm with a maximum of 20 iterations and a convergence accuracy of 1e-5; after all three verifications pass, the node-branch correlation matrix is updated; otherwise, the previous valid topology model is retained.
5. The method for rapid fault location in a distribution network according to claim 1, characterized in that, Step S3 includes the following sub-steps: S31: Construct a multi-dimensional electrical quantity normalization deviation quantization function, configure the working condition adaptive weight coefficient and fault comprehensive criterion threshold, and identify effective fault symptoms; S32: Based on the high-precision clock synchronization mechanism of the full-domain intelligent terminal, a linear interpolation correction algorithm is used to compensate for the sampling time difference and to calibrate the microsecond-level fault start timestamp; S33: Starting from the fault trigger node, perform topological adjacency iterative tracing based on the real-time topological adjacency matrix, gradually narrowing the fault range and locking in the smallest suspected fault area.
6. The method for rapid fault location in a distribution network according to claim 5, characterized in that, In step S31, the multi-dimensional electrical quantities include voltage, current, active power, and phase; the initial weighting coefficients are 0.4 for voltage, 0.3 for current, 0.2 for active power, and 0.1 for phase, and satisfy the normalization constraint; the fault comprehensive judgment threshold is adaptively set according to the voltage level, with values of 0.12-0.18 pu for medium-voltage distribution networks and 0.08-0.12 pu for low-voltage distribution networks; the effective constraint range for phase deviation is configured separately as 0-0.15 rad. In step S33, the maximum number of iterations for iterative tracing is 15. When the comprehensive fault deviation value of the newly added nodes in two consecutive iterations is less than the comprehensive fault criterion threshold, the iteration stops. If the termination condition is not met even after reaching the maximum number of iterations, the smallest region of the current iteration is fixed as the suspected fault region. When there are multiple fault triggering nodes, the node closest to the power supply side is selected as the core tracing starting point.
7. The method for rapid fault location in a distribution network according to claim 1, characterized in that, Step S4 includes the following sub-steps: S41: Extract valid sampling window data of a preset duration centered on the fault timestamp, perform timing synchronization correction and amplitude adaptive correction, and generate corrected fault data; S42: Integrate multi-dimensional electrical quantity time-series data, construct a multi-dimensional fault raw data matrix, and configure standardized fault-tolerant filling rules for missing and abnormal data; S43: Perform wavelet threshold denoising and constrained interval normalization preprocessing on the original data matrix in sequence to generate standardized fault electrical feature vectors.
8. The method for rapid fault location in a distribution network according to claim 1, characterized in that, Step S5 includes the following sub-steps: S51: Extract the node degree, network connectivity, and average branch weight of the smallest suspected fault region, and quantize them to generate a fixed-dimensional topological feature vector. S52: Configure adaptive fusion weight coefficients to weight and fuse the standardized fault electrical feature vector with the topology feature vector to obtain the fused feature vector; S53: The LSTM neural network is structurally and lightweightly optimized by adopting the weight magnitude pruning strategy, solidifying the model structure and training parameters, and constructing a lightweight LSTM inference model. S54: Input the fused feature vector into the lightweight LSTM model, complete the fault classification and segment localization through the softmax activation function, and output the final fault localization result that meets the minimum effective probability threshold.
9. A method for rapid fault location in a distribution network according to claim 8, characterized in that, In step S52, the adaptive fusion weight coefficient is initialized to 0.7, with a value range of 0.2-0.9; when the fault comprehensive deviation is greater than or equal to 0.15pu, the electrical feature weight is increased, and when the topology connectivity is less than or equal to 0.3, the topology feature weight is increased. In step S53, the lightweight LSTM model is set with 2 hidden layers, 32 neurons in a single hidden layer, a dropout regularization coefficient of 0.2, a training learning rate of 0.001, and a maximum number of training iterations of 100. In step S54, the preset fault types include short circuit, open circuit, single-phase grounding, three-phase imbalance and overload faults; the minimum effective identification probability threshold is 0.7, and if it is lower than this threshold, it is judged as a suspected anomaly and no fault location result is output; the model loss function adopts the cross-entropy loss function.
10. A rapid fault location device for a power distribution network, used to perform the method according to any one of claims 1-9, characterized in that, It includes a multi-source data sensing unit, an embedded edge computing processing unit, and a master station communication unit; The multi-source data sensing unit includes several multi-parameter integrated smart sensors deployed at key nodes of distribution network branch switches and transformers, and a first wireless communication module. The multi-parameter integrated smart sensors collect multi-dimensional electrical quantities such as current, voltage, phase, and active power of the corresponding nodes in real time, as well as switch status change signals. The first wireless communication module adopts LoRa or 5G protocol and is electrically connected to the multi-parameter integrated smart sensors to wirelessly transmit the collected data to the embedded edge computing processing unit. The embedded edge computing processing unit includes an edge computing main control chip, a local storage module, and a second wireless communication module that communicates with the first wireless communication module. Both the local storage module and the second wireless communication module are electrically connected to the edge computing main control chip. The edge computing main control chip has built-in topology construction and dynamic correction, fault screening and region locking, fault data preprocessing, and fusion inference and localization modules. The topology construction and dynamic correction module constructs a digital topology model of the entire distribution network based on graph theory, establishes a unique bidirectional mapping between physical devices and sensors, solidifies steady-state reference parameters, and generates a bound reference parameter database stored locally. It is configured with dual start-up logic of hard triggering for switch position change and soft triggering for power flow deviation. After topology traversal, electrical quantity correlation and power flow simulation rationality verification, it corrects the node-branch correlation matrix in real time and generates a real-time high-precision operating topology. The fault screening and area locking module constructs a multi-dimensional electrical quantity normalization deviation quantization function based on real-time topology, configures working condition adaptive weights and fault comprehensive judgment thresholds, and identifies effective fault symptoms; relying on the full-domain high-precision clock to synchronously calibrate the microsecond-level fault start timestamp, takes the fault trigger node as the source tracing starting point, and gradually narrows the range through the topological adjacency iterative source tracing algorithm to lock the smallest suspected fault area. The fault data preprocessing module extracts valid sampled data of a preset duration centered on the fault timestamp to complete timing synchronization and amplitude adaptive correction. Multidimensional fault original matrix is constructed by integrating multidimensional time series data, and standardized fault-tolerant filling rules for missing and abnormal data are configured; standardized fault electrical feature vectors are generated by wavelet threshold denoising and constrained interval normalization. The fusion reasoning localization module extracts the node degree, network connectivity and average branch weight of the smallest suspected fault area, and quantifies and generates a topology feature vector; it configures adaptive fusion weights to weight and fuse the standardized fault electrical feature vector with the topology feature vector to obtain a fusion feature vector. A lightweight LSTM neural network inference model is constructed using a weight magnitude pruning strategy. The input fused feature vector completes fault classification and accurate segment localization, and the final result is output. The main station communication unit is connected to the edge computing main control chip and the power distribution main station. It is used to upload fault location results and type information, receive fault isolation and emergency repair scheduling instructions and model update parameters issued by the power distribution main station and transmit them to the edge computing main control chip to complete algorithm iteration. The local storage module also stores historical faults, topology operation and model training data to build a data feedback and algorithm iteration closed loop system.
