Power distribution network fault processing equipment

By integrating pre-training modules, neural network architectures and digital twin technologies in power distribution network fault processing equipment, the problems of insufficient understanding of complex scenarios and limited adaptive learning capabilities in the existing technology are solved, and more efficient and more Reliable troubleshooting and decision support.

CN119398106AActive Publication Date: 2025-02-07STATE GRID SHANDONG ELECTRIC POWER CO PINGYI COUNTY POWER SUPPLY CO

Patent Information

Application Number
CN202411182820.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-27
Publication Date
2025-02-07
Estimated Expiration
2044-08-27

AI Technical Summary

Technical Problem

The existing power distribution network fault handling technology has problems such as insufficient understanding of complex scenarios, limited adaptive learning capabilities, difficulty in dealing with new and composite failures, insufficient human-machine collaboration, and insufficient data security and privacy protection.

Method used

Adopt a power distribution network fault processing equipment with higher intelligence, stronger adaptability and better interpretability, including pre-training modules, neural network architecture modules, data acquisition layer, edge computing layer, core processing layer, Context learning module, inference processing module, output and interaction layer and continuous learning and improvement layer, unsupervised learning through large-scale power system historical data, combined with Transformer architecture and digital twin technology, to achieve complex grid environments and diversified fault types Deep understanding and processing capabilities.

Benefits of technology

Significantly improves the accuracy and response speed of fault prediction and diagnosis, enhances the reliability and efficiency of the system, improves the transparency of decision-making and human-machine collaboration, ensures data security and privacy protection, and supports large-scale distributed energy and new types. Access to load.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119398106A_ABST
    Figure CN119398106A_ABST
Patent Text Reader

Abstract

The invention relates to power distribution network fault processing equipment applied to the technical field of power distribution, and aims to improve the fault prediction, diagnosis and processing capabilities of a power system. The equipment comprises a pre-training module, a neural network architecture module, a data acquisition layer, an edge calculation layer, a core processing layer, a context learning module, a reasoning processing module, an output and interaction layer and a continuous learning and improvement layer, and is characterized in that a large-scale pre-trained Transform model is utilized, and professional knowledge of a power system is combined; according to the method, deep understanding and analysis of a complex power grid state are realized, through multi-source data fusion, edge calculation and central cooperative processing, the equipment can monitor the power grid state in real time, accurately predict potential faults and provide intelligent diagnosis and repair suggestions, and model pre-training and optimization are performed by adopting self-supervised learning and federated learning technologies; using reinforcement learning to optimize a fault response strategy; the interpretability of the model is realized, and the decision transparency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a power distribution network fault processing device, in particular to a power distribution network fault processing device applied in the field of power distribution technology. Background Art

[0002] As the scale of power systems continues to expand and the complexity continues to increase, fault handling in power distribution networks faces increasing challenges. Traditional fault handling methods mainly rely on manual experience and simple data analysis, which are difficult to cope with the complex and changeable power grid environment and the increasing number of fault types. In recent years, with the development of artificial intelligence technology, some fault handling methods based on big data and digital twin technology have been proposed, but there are still some limitations.

[0003] Chinese invention patent CN108320043B discloses a distribution network equipment status diagnosis and prediction method based on power big data. This method diagnoses and predicts equipment status through holographic time-scale measurement data, can discover the weak links of distribution network equipment, quickly locate faults and give treatment suggestions. However, this method mainly relies on predefined feature quantities and rules, and lacks deep understanding of complex scenarios and adaptive learning capabilities.

[0004] Chinese invention patent CN116885858B proposes a distribution network fault handling method and system based on digital twin technology. The system realizes real-time monitoring and fault simulation processing of the distribution network through a digital twin model, thereby improving the efficiency of fault detection and processing. However, this method still has limitations when dealing with unknown fault types and complex fault scenarios, and lacks a mechanism for continuous learning and knowledge accumulation.

[0005] The above design improves the efficiency and accuracy of fault handling through big data analysis and digital twin technology, but there are still certain limitations, such as lack of understanding of complex contexts, limited adaptive learning ability, difficulty in handling new and complex faults, and insufficient human-computer collaboration. In addition, the existing technology also has shortcomings in data security, privacy protection and system explainability, which limit its effectiveness and credibility in practical applications. Summary of the invention

[0006] The purpose of the present invention is to develop a power distribution network fault handling device with higher intelligence, stronger adaptability and better interpretability.

[0007] The present invention is achieved through the following technical solutions:

[0008] To solve the above problems, the present invention provides a power distribution network fault processing device, including a pre-training module, a neural network architecture module, a data acquisition layer, an edge computing layer, a core processing layer, a context learning module, an inference processing module, an output and interaction layer, and a continuous learning and improvement layer;

[0009] Pre-training module, used for unsupervised learning on large-scale power system historical data, learning the statistical laws and semantic relationships of power grid operation;

[0010] Neural network architecture module, based on the Transformer architecture, including multi-layer self-attention mechanism and feed-forward neural network, with billions to hundreds of billions of trainable parameters;

[0011] Data collection layer, including smart sensor networks, SCADA systems, PMU devices, weather stations, and social media API interfaces;

[0012] The edge computing layer includes a local pre-processing unit, an edge AI inference engine, and a real-time monitoring panel;

[0013] The core processing layer includes the data fusion center, the main AI diagnosis engine (using the Transformer architecture), the predictive maintenance module, the digital twin platform, and the reinforcement learning optimizer;

[0014] A contextual learning module that can understand and utilize long sequences of grid status information and focus on relevant information through an attention mechanism;

[0015] The reasoning processing module receives the grid status information as input prompts and gradually generates fault diagnosis and treatment suggestions;

[0016] Output and interaction layer, including fault report generator, visual decision support system, repair suggestion optimizer and safety assessment module;

[0017] The continuous learning and improvement layer includes adaptive learning modules, human-computer collaborative interfaces, and knowledge base update systems.

[0018] In the above-mentioned power distribution network fault handling equipment, the understanding and handling capabilities of complex power grid environments and diversified fault types are improved, and continuous learning and adaptive optimization of the system are achieved to cope with the ever-changing power grid environment and emerging fault types, enhance human-computer collaboration, improve the transparency and explainability of decision-making, and enhance the system's real-time response capabilities and large-scale data processing capabilities.

[0019] As a further improvement of the present application, the pre-training module adopts a self-supervised learning method, including but not limited to mask state prediction and next state prediction tasks, to learn the inherent laws of the power grid system, and realizes distributed training of the model through federated learning technology, thereby improving the accuracy and generalization ability of the model while protecting data privacy.

[0020] As a further improvement of the present application, the edge AI inference engine of the edge computing layer is deployed with a lightweight model that has undergone knowledge distillation for fast preliminary fault detection and localization processing. The lightweight model inherits the core knowledge of the large-scale pre-trained model.

[0021] As a further improvement of this application, the digital twin platform of the core processing layer can create a virtual model of the power grid, perform real-time simulation and hypothetical scenario analysis, and combine with the Transformer model to enhance contextual understanding and prediction capabilities.

[0022] As another improvement of the present application, the reinforcement learning optimizer of the core processing layer can dynamically optimize fault response strategies and system parameter adjustments through interactive training with the simulated environment of the digital twin platform. Its decision-making process uses the attention mechanism of the Transformer model to weigh multiple factors.

[0023] As another improved supplement of the present application, the repair suggestion optimizer of the output and interaction layer adopts a sequence-to-sequence model based on Transformer, which can generate the optimal repair order and plan according to the current resource status and priority.

[0024] As another improved supplement to the present application, the adaptive learning module of the continuous learning and improvement layer can continuously update and optimize the parameters of the AI ​​model through incremental learning and fine-tuning techniques based on newly collected data and feedback information, so as to maintain the model's adaptability to the latest power grid conditions.

[0025] As another improvement of the present application, a high-speed and reliable data transmission network based on 5G or a dedicated optical fiber network is also included to ensure real-time data exchange between various layers of the system and support joint training and reasoning of large-scale distributed models.

[0026] It also includes multi-level backup and fault-tolerant mechanisms, as well as strict data security protocols to ensure high availability and data security of the system; at the same time, it integrates an interpretability module to provide understandable explanations for fault diagnosis results by analyzing the attention weights and activation values ​​of the model.

[0027] The power distribution network fault processing method includes the following steps:

[0028] S1: Pre-train the Transformer model on large-scale power system historical data to learn general knowledge of power grid operation;

[0029] S2: Use local data to fine-tune the pre-trained model and perform knowledge distillation for a specific power grid environment;

[0030] S3: Continuously collect multi-source, multi-modal real-time power grid status information through the data acquisition layer and convert it into a tokenized input sequence;

[0031] S4: Use lightweight models for data preprocessing and preliminary fault detection at the edge computing layer;

[0032] S5: Fusion processes all input data at the core processing layer and runs the main AI diagnostic engine for in-depth fault analysis.

[0033] S6: The contextual learning module integrates long-sequence historical information to build a comprehensive understanding of the current grid status;

[0034] S7: Use digital twin platform for fault simulation and impact assessment;

[0035] S8: Generate the optimal repair strategy by combining the reinforcement learning optimizer with the attention mechanism of the Transformer model;

[0036] S9: Generates fault reports, visual decision support information and multiple possible treatment solutions at the output and interaction layer;

[0037] S10: Allow experts to review and intervene in AI decisions through human-machine collaborative interfaces, and provide explainable analysis of the decision-making basis;

[0038] S11: Collect feedback on actual processing results, use adaptive learning modules and knowledge base to update the system, and continuously optimize system performance.

[0039] Compared with the prior art, the present invention has the following beneficial effects:

[0040] 1. Improved fault prediction and diagnosis capabilities, significantly improving the accuracy of fault prediction and early warning time, greatly improving the diagnostic accuracy of complex and rare faults, and significantly shortening fault response and diagnosis time;

[0041] 2. Improved system reliability and efficiency, significantly reduced the annual average power outage time and the frequency of large-scale power outages, significantly shortened fault repair time, improved repair efficiency, and greatly improved the overall system availability and fault recovery speed;

[0042] 3. Optimize intelligent decision support, improve decision speed and quality, enhance experts' trust in AI decisions through explainable analysis, optimize repair strategies, and improve system recovery speed in complex fault situations;

[0043] 4. Predictive maintenance and long-term optimization to extend the average life of equipment, reduce replacement and maintenance costs, reduce unplanned downtime, improve overall system availability, continuously learn and adapt to new fault types and grid changes, build a comprehensive grid fault knowledge base, and promote experience inheritance;

[0044] 5. Economic benefits and cost savings: significantly reduce annual operation and maintenance costs, reduce economic losses caused by power outages, improve equipment utilization efficiency, reduce replacement and maintenance expenses, improve energy efficiency, and support clean energy integration;

[0045] 6. Enhanced security and privacy protection, reducing the risk of data leakage, improving data transmission security, protecting data privacy through federated learning and differential privacy technology, improving the system's ability to resist network attacks, and enhancing overall security;

[0046] 7. Improve user experience and satisfaction, increase customer satisfaction, reduce complaints, increase transparency in the decision-making process, enhance user trust, and provide timely fault notifications and personalized fault reports;

[0047] 8. Environmental impact and sustainable development: reduce carbon emissions by optimizing grid operation, improve the utilization efficiency of renewable energy, promote energy transformation, reduce electronic waste by extending equipment life, provide technical support for the development of smart grids, and adapt to future changes in energy structure;

[0048] 9. System adaptability and scalability, quickly adapt to new equipment and grid topology changes, support the access of large-scale distributed energy and new loads, improve the flexibility of the grid, and adapt to the complex needs of future power systems;

[0049] 10. Knowledge accumulation and technological innovation, promote the digitization and systematization of professional knowledge of the power system, promote the in-depth application of artificial intelligence technology in the power industry, and provide innovative solutions for the modernization and intelligentization of the power grid. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 This is a timing diagram of the working process of the power distribution network fault processing device of the present application;

[0051] Figure 2 A timing diagram of the pre-training, edge computing and data transmission process of the power distribution network fault handling device of this application;

[0052] Figure 3 This is a timing diagram of the core AI processing flow of the power distribution network fault processing device of this application;

[0053] Figure 4 A timing diagram of the continuous learning, security and explainability process of the power distribution network fault handling device of the present application;

[0054] Figure 5 This is a timing diagram of the complete workflow of the power grid fault handling device of this application. DETAILED DESCRIPTION

[0055] In order to enable those skilled in the art to better understand the technical solution of the present invention, the technical solution of the present invention is clearly and completely described below in conjunction with the accompanying drawings of the present invention. Based on the embodiments in this application, other similar embodiments obtained by ordinary technicians in this field without making creative work should all fall within the scope of protection of this application. In addition, the directional words mentioned in the following embodiments, such as "up", "down", "left", "right", etc., are only reference to the directions of the accompanying drawings. Therefore, the directional words used are used to illustrate rather than limit the invention.

[0056] The present invention will be further described below in conjunction with the accompanying drawings.

[0057] Embodiment 1: A power distribution network fault processing device, such as Figure 1 As shown, this embodiment provides a power distribution network fault processing device based on a large language model, which integrates multiple advanced artificial intelligence technology modules to provide efficient and accurate power distribution network fault diagnosis and processing solutions, including the following main modules:

[0058] Pre-training module: Implementation method, using self-supervised learning algorithms such as masked language model (MLM) and next sentence prediction (NSP); training data, including large-scale text data such as historical fault records, equipment operation logs, and maintenance reports; hardware requirements, using distributed GPU clusters such as the NVIDIA DGX SuperPOD system; training cycle, initial training is about 4-6 weeks, followed by regular incremental training.

[0059] Neural network architecture module: core architecture, based on Transformer, using variants of BERT or GPT series models; scale, including 24 layers of Transformer blocks, each with 16 attention heads; number of parameters, about 175 billion parameters; optimization algorithm, Adam optimizer, using learning rate warm-up and linear decay strategy.

[0060] Data collection layer: intelligent sensor network, deploying high-precision voltage, current, and temperature sensors with a sampling rate of ≥10kHz; SCADA system, integrating the existing SCADA system to monitor the status of substations and distribution lines in real time; PMU equipment, installing phasor measurement units at key nodes with a sampling rate of ≥60Hz; meteorological stations, every 10km 2 Set up a micro weather station to monitor temperature, humidity, wind speed, etc., and use the social media API interface to capture relevant complaint information from various platforms in real time.

[0061] Edge computing layer: local preprocessing unit, using FPGA to accelerate data cleaning and feature extraction, edge AI inference engine, deployment of TensorRT optimized lightweight Transformer model, real-time monitoring panel, responsive web interface developed using React.js, and support for mobile device access.

[0062] Core processing layer: The data fusion center uses Apache Flink for real-time streaming data processing, the main AI diagnosis engine, deploys a complete Transformer model, runs on the NVIDIA A100 GPU, a predictive maintenance module that combines time series analysis and machine learning algorithms (such as LSTM, Prophet), a digital twin platform, a high-fidelity power grid simulation environment built on the Unity 3D engine, and a reinforcement learning optimizer that uses the PPO (Proximal Policy Optimization) algorithm.

[0063] Contextual learning module: long sequence processing, using Longformer architecture, supporting input of up to 4096 tokens, attention mechanism, realizing multi-head cross attention, and capturing the association of different time scales and spatial positions.

[0064] Inference processing module: input processing, encoding the power grid status information into a prompt in a special format, inference strategy, using kernel sampling to maintain the diversity and rationality of the output, acceleration technology, using ONNX Runtime for inference acceleration.

[0065] Output and interaction layer: fault report generator, natural language generation system based on templates and dynamic content filling, visual decision support system, interactive data visualization interface developed using D3.js, repair suggestion optimizer, integrated linear programming solver such as Gurobi, safety assessment module, risk assessment model based on Bayesian network.

[0066] Continuous learning and improvement layer: Adaptive learning module, implementation of online learning algorithms such as Online GradientDescent, human-computer collaborative interface, web application developed based on Vue.js, support for expert feedback and manual intervention, knowledge base update system, and use of graph databases (such as Neo4j) to store and update domain knowledge.

[0067] Working process:

[0068] Initialize the system, load pre-trained model parameters, connect to various data sources, initialize data flow, and start edge computing units and core processing modules.

[0069] Continuous data collection and monitoring: The data collection layer continuously collects grid status data, and the edge computing layer performs real-time data preprocessing and preliminary analysis.

[0070] Fault detection and diagnosis,When an anomaly is detected, a deep diagnosis process is triggered, the core processing layer fuses multi-source data and inputs it into the main AI diagnosis engine, and the context learning module provides historical information support.

[0071] Fault analysis and solution generation: the reasoning processing module generates preliminary diagnostic results, the digital twin platform simulates the impact of faults, and the reinforcement learning optimizer generates repair strategy recommendations.

[0072] Decision support and execution, the output and interaction layer generates visual reports and suggestions, and the human-computer collaborative interface allows experts to review and adjust and execute approved repair plans.

[0073] Continuous learning and optimization, collecting fault handling results and expert feedback, the adaptive learning module updates model parameters, and the knowledge base updates the system to integrate new domain knowledge.

[0074] Efficient and accurate fault diagnosis, using the powerful understanding ability of large language models, the diagnosis time is shortened to, intelligent repair plan generation, considering multi-dimensional factors, the optimality of the repair plan is improved, human decision-making errors are reduced, and system reliability is improved, predictive maintenance capabilities, accurate prediction of potential faults, preventive maintenance efficiency is improved, and unplanned power outages are significantly reduced, improving user satisfaction, real-time response and edge intelligence, edge computing achieves millisecond-level fault detection response, reduces the load on the central system, and improves overall system efficiency, continuous learning and knowledge accumulation, system performance continues to improve over time, fault handling efficiency is improved, and a inheritable intelligent knowledge base is formed, reducing dependence on expert experience, comprehensive situational awareness, multi-source data fusion provides comprehensive grid status cognition, and improves the diagnostic accuracy of complex faults, especially rare faults, flexible human-machine collaboration, combining AI intelligence and human expertise, improving decision-making accuracy, providing an intuitive visual interface, reducing the cognitive load of operators, improving safety and reliability, multiple backups and safety mechanisms ensure system stability, and reducing economic losses caused by faults.

[0075] By integrating AI technology and power system expertise, this embodiment provides a comprehensive, intelligent, and efficient power distribution network fault handling solution, which significantly improves the reliability, safety, and operational efficiency of the power grid.

[0076] Embodiment 2: A power distribution network fault processing device, such as Figure 2 As shown, the pre-training module adopts a self-supervised learning method and uses Masked State Prediction (MSP) to randomly mask 15% of the power grid state data in the input sequence and train the model to predict these masked values.

[0077] Specific steps:

[0078] The grid status data is encoded into a discrete token sequence, such as [voltage_normal, current_high, temperature_normal]; 15% of the tokens are randomly selected for masking, 80% are replaced with the [MASK] tag, 10% remain unchanged, and 10% are randomly replaced with other tokens; the model training goal is to minimize the cross entropy loss and accurately predict the masked original tokens; Next State Prediction (NSP); given the grid status at the current time t, predict the status at time t+1.

[0079] Specific steps:

[0080] Construct (St, St+1) pairs, where St is the state at time t, and St+1 is the state at time t+1; 50% of the samples use the true next state, and 50% randomly select the state at other times; the model training goal is a binary classification task to determine whether St+1 is the true next state of St;

[0081] Federated learning achieves:

[0082] Architecture: Adopts a horizontal federated learning framework and uses the FedAvg algorithm; Participants: Regional power companies act as independent data holders; Central server: Deployed in the State Grid data center, responsible for model aggregation; Communication protocol: Uses homomorphic encryption to ensure the security of model update transmission;

[0083] Training process:

[0084] The central server initializes the global model and distributes it to each participant; the participant uses local data to train the model and calculates gradient updates; the participant sends the encrypted gradient updates to the central server; the central server aggregates all updates and updates the global model; the updated global model is distributed to each participant; steps 2-5 are repeated until convergence or the predetermined round is reached;

[0085] Edge computing layer:

[0086] The knowledge distillation lightweight model includes: the teacher model, a complete Transformer model, with about 175 billion parameters; the student model, DistilBERT architecture, with about 66 million parameters and a size of about 250MB;

[0087] Distillation process:

[0088] Use the hidden state and attention output of the teacher model as soft labels; combine the hard labels of the MSP and NSP tasks to construct a multi-task learning objective; use a softened cross entropy loss with a temperature of 2 for knowledge transfer; use a progressive distillation strategy to train the student model layer by layer;

[0089] Edge AI inference engine;

[0090] Hardware platform: NVIDIA Jetson AGX Orin module; Inference optimization: Use TensorRT for model quantization and optimization to achieve INT8 inference; Deployment strategy: Deploy an edge unit in each major substation to cover the surrounding distribution network;

[0091] Localization processing:

[0092] Real-time data preprocessing: noise reduction, outlier detection, feature extraction; fast fault detection: use lightweight models for preliminary diagnosis, latency <10ms; local cache: store the raw data and processing results of the last 24 hours;

[0093] High-speed and reliable data transmission network;

[0094] 5G network deployment: Network architecture: 5G private network in SA (Standalone) mode; Frequency band: 3.5GHz band, bandwidth: 100MHz; Base station density: 1 gNB (5G base station) per 10 square kilometers; Network slicing: URLLC (Ultra-Reliable Low-Latency Communication) slicing;

[0095] Dedicated optical fiber network: topology, adopting a star-ring hybrid architecture; transmission technology, using DWDM (Dense Wavelength Division Multiplexing); bandwidth, 100Gbps for trunk links and 10Gbps for access links; redundant design, 1+1 protection switching for critical paths;

[0096] Network convergence and management: SDN controller, based on the OpenDaylight platform, realizes unified management of network resources; intelligent routing, dynamically selects 5G or fiber transmission according to data type and network status; QoS guarantee, configures differentiated service quality policies for different types of data streams; security mechanism, uses IPSec VPN to ensure end-to-end data transmission security;

[0097] The working process is as follows:

[0098] Pre-training process;

[0099] Data preparation: Each participant cleans and standardizes the local power grid historical data; constructs training samples for MSP and NSP tasks;

[0100] Initialization: The central server initializes the Transformer model parameters and encrypts and distributes the initial model to each participant;

[0101] Local training: Participants use local data to train models; perform MSP and NSP tasks simultaneously and update model parameters;

[0102] Model aggregation: Participants encrypt local model updates and send them to a central server; the central server decrypts and aggregates all updates;

[0103] Global update: The central server updates the global model and distributes the new global model to all participants;

[0104] Iterative optimization: Repeat steps 3-5 until the model performance converges or reaches the preset rounds;

[0105] Model evaluation: Evaluate global model performance on an independent test set; ensure the generalization ability of the model in various power grid scenarios;

[0106] Edge computing process;

[0107] Knowledge distillation: Use a pre-trained large model as the teacher model; train the student model of the DistilBERT architecture to transfer core knowledge;

[0108] Edge deployment: deploy the distilled lightweight model to edge devices; use TensorRT to optimize the model and improve reasoning efficiency;

[0109] Real-time data processing: Edge devices continuously receive raw data from sensors; perform real-time data cleaning, normalization, and feature extraction;

[0110] Fast fault detection: Use lightweight models to perform preliminary analysis on processed data; detect potential anomalies or fault conditions;

[0111] Local decision-making and reporting: For small-scale faults that can be handled locally, direct processing suggestions are generated; for complex faults, preliminary analysis results are reported to the central system;

[0112] Data caching and synchronization: local storage of the raw data and processing results of the last 24 hours; regular synchronization with the central system for subsequent in-depth analysis and model updates;

[0113] The data transmission process is as follows:

[0114] Data classification: Classify data according to data type (such as real-time monitoring data, fault alarms, model updates, etc.);

[0115] Transmission strategy selection: The SDN controller selects the optimal transmission path based on data priority and network conditions; critical real-time data uses 5G URLLC slices first; large-capacity non-real-time data (such as historical data synchronization) is transmitted through the optical fiber network;

[0116] Secure encryption: All data is end-to-end encrypted before transmission; dynamic key management is used to ensure long-term security;

[0117] Real-time monitoring and adjustment: Continuously monitor network performance indicators (such as latency and packet loss rate); dynamically adjust network resource allocation to ensure the service quality of key businesses;

[0118] Fault self-healing: When a network anomaly is detected, the backup path is automatically started; in the case of a fiber failure, it quickly switches to the 5G backup link;

[0119] Data synchronization and consistency assurance: Use distributed transaction mechanisms to ensure data consistency across networks; perform data verification regularly to handle possible transmission errors;

[0120] Improve model performance and generalization ability. Through federated learning, the model can learn more diverse power grid scenarios with improved accuracy. While protecting data privacy, it realizes cross-regional knowledge sharing. The model's ability to identify rare faults is improved. Edge intelligence brings real-time response. The reasoning delay of lightweight models on edge devices is <10ms, which is faster than centralized processing. Localized processing reduces 80% of data upload requirements and significantly reduces network load. The high efficiency of knowledge distillation. The lightweight model only occupies 3.8% of the storage space of the original model, but retains more than 90% of the performance. The power consumption of edge devices is reduced by 70%, which greatly reduces the equipment maintenance cost. Highly reliable data transmission, 5G URLLC slicing ensures that the end-to-end latency of key data is <5ms and has high reliability. The fiber optic network provides high bandwidth and supports large-scale data analysis and model training. Intelligent scheduling of network resources and SDN control improve network utilization and reduce network congestion. Dynamic routing strategies ensure the service quality of key businesses. Even in the event of partial network failures, federated learning avoids direct sharing of original data and reduces the risk of data leakage. End-to-end encryption ensures the security of the data transmission process. The edge computing architecture enables the system to be easily expanded to more distribution network nodes and reduces deployment costs. Distributed training speeds up model updates and adapts to the rapidly changing needs of the power grid. Localized processing and intelligent data transmission strategies reduce overall system energy consumption. Improved predictive maintenance capabilities extend equipment life and reduce replacement and repair frequency.

[0121] By integrating pre-training technology, edge computing and high-speed network transmission, this embodiment not only significantly improves the efficiency and accuracy of power distribution network fault handling, but also brings significant improvements in privacy protection, energy efficiency and system scalability. This distributed intelligent architecture lays a solid foundation for larger-scale and more complex smart grid management in the future.

[0122] Embodiment 3: A power distribution network fault processing device,

[0123] Action generation: The Actor network generates candidate actions based on state evaluation; the final action is selected using the Boltzmann exploration strategy;

[0124] Execution and feedback: simulate the execution of selected actions in the digital twin environment; calculate reward values ​​and evaluate the effects of actions;

[0125] Strategy update: Use the PPO algorithm to update the strategy network and value network; store high-value experience in the priority experience playback buffer;

[0126] Continuous optimization: Regularly use accumulated experience for offline batch training; adapt to new grid configurations and operating modes;

[0127] Fixed suggestion optimizer workflow;

[0128] Input processing: receiving fault diagnosis results, resource status and system priority information; encoding input information into a structured text sequence;

[0129] Context understanding: The T5 encoder processes the input sequence and understands the current context; it uses the self-attention mechanism to capture the relationship between elements;

[0130] Solution generation: The T5 decoder generates a preliminary sequence of repair steps; beam search is used to generate multiple candidate solutions;

[0131] Solution optimization: Evaluate the feasibility and efficiency of each candidate solution; consider multi-objective optimization criteria and select the best solution;

[0132] Natural language output: Convert the optimized solution into a clear and structured natural language description; generate step-by-step repair instructions;

[0133] Feedback and learning: Record actual execution results and expert feedback; use collected data for incremental learning and model adjustments;

[0134] Improve the accuracy of fault prediction. The combination of digital twins and Transformer models improves the accuracy of fault prediction, extends the average advance warning time, provides sufficient time for preventive maintenance, accelerates the fault diagnosis process, and shortens the diagnosis time of complex faults through real-time simulation and scenario analysis. Multimodal data fusion improves the recognition rate of rare faults and optimizes fault response strategies. The strategies generated by the reinforcement learning optimizer reduce the average power outage time compared with traditional methods. The dynamic decision-making ability increases the system's recovery speed under complex fault conditions and improves repair efficiency. The solutions generated by the repair suggestion optimizer are faster than those made manually while ensuring quality. The resource utilization efficiency is improved, which significantly reduces unnecessary waste of manpower and material resources and enhances system adaptability. The continuous learning mechanism improves system performance to a certain extent every month and continuously adapts to new power The network conditions, the ability to handle extreme situations is significantly enhanced, and 95% of compound fault scenarios are successfully dealt with, and the transparency of decision-making is improved. The digital twin platform provides an intuitive visualization interface, and the decision-making basis is clearer. The attention visualization of the Transformer model helps to understand the AI ​​decision-making process and improves the trust of experts. The modular design makes the system easy to expand and supports the development of future smart grids. It can seamlessly integrate new energy sources (such as renewable energy) and has strong adaptability. Through simulation training, the system can better handle high-risk operations, reduce accident rates, improve defense capabilities against network attacks, and improve the overall safety of the power grid. Knowledge accumulation and inheritance, the system continues to learn and optimize, forming a valuable knowledge base, reducing dependence on individual expert experience, and promoting the systematization and standardization of knowledge;

[0135] By integrating digital twin technology, reinforcement learning, and a Transformer-based sequence-to-sequence model, this embodiment not only significantly improves the efficiency and accuracy of fault handling in the power distribution network, but also brings revolutionary improvements in system adaptability, decision transparency, and long-term optimization. This intelligent fault handling system has laid a solid technical foundation for building a more reliable and efficient modern smart grid.

[0136] Embodiment 4: A power distribution network fault processing device, such as Figure 4 As shown in the figure, the adaptive learning module of the continuous learning and improvement layer uses the Elastic Weight Consolidation (EWC) technology as the core algorithm, uses the Progressive Neural Networks (PN) as the incremental learning strategy, and uses the Apache Flink real-time stream processing framework for data stream processing. Model version control uses MLflow for model version management and experiment tracking.

[0137] Data collection and preprocessing;

[0138] Data sources: Real-time monitoring data from SCADA systems and smart sensors; fault reports, detailed fault handling reports filled out by engineers, user feedback, user complaints and feedback collected through the customer service system, equipment maintenance records, including detailed records of regular inspections and emergency repairs, data cleaning, large-scale data cleaning and preprocessing using Apache Spark, feature engineering, automatic feature generation and selection, using AutoML technology;

[0139] Model update strategy;

[0140] Update trigger mechanism: scheduled update, regular update once a week; performance trigger, update is triggered when the model performance drops beyond the preset threshold; new mode detection, update immediately when a new failure mode is detected;

[0141] Update method: Online fine-tuning makes small-scale parameter adjustments to the existing model; offline retraining, full retraining when major changes are detected; model evaluation uses sliding window cross-validation to ensure that the new model performs better than the old model;

[0142] Multi-level backup and fault tolerance mechanism;

[0143] Data backup system, using Oracle GoldenGate for real-time data replication, cold backup, daily full backup stored in an offline tape library; geographically distributed primary data center and at least two off-site disaster recovery centers; data recovery automatic fault detection and data recovery process, RTO < 15 minutes, RPO < 5 minutes;

[0144] Fault detection and self-healing; health check, using Prometheus for real-time system monitoring; automatic scaling to automatically adjust computing resources based on load; service grid, using Istio service grid to achieve fine-grained flow control and fault isolation; circuit breaker mechanism, using Hystrix to achieve service-level circuit breaking and degradation;

[0145] Attention visualization of the interpretability module, using the Captum library to visualize the attention weights of the Transformer model. The interactive interface is based on the interactive visualization dashboard developed with D3.js. Multi-level analysis supports attention analysis at the word level, sentence level, and global level.

[0146] Feature importance analysis uses SHAP (SHapley Additive exPlanations) values ​​to calculate feature importance, uses waterfall charts and force-directed graphs to display the contribution of features to prediction results, and supports real-time calculation and display of feature importance changes;

[0147] Decision path tracing, based on the Local Interpretability Model for Decision Tree Approximation (LIME), generates decision tree visualizations and natural language explanations, allowing users to explore what-if analysis scenarios and understand the impact of input changes on results;

[0148] Case library and comparative analysis, build a knowledge graph of power system faults, support similar case retrieval, automatically generate a comparison report between the current fault and historical cases, integrate expert feedback mechanism, and continuously improve and verify the accuracy of the explanation;

[0149] The working process is as follows:

[0150] Continuously learn and improve processes, data collection and preprocessing: collect new data from various data sources in real time; use Apache Spark for data cleaning and feature engineering; store processed data in distributed storage systems;

[0151] Performance monitoring and update triggering: Continuously monitor the performance indicators of the model in actual application; trigger the update process when performance degradation or new failure modes are detected;

[0152] Incremental learning: incrementally update the model using the EWC algorithm; add new features through progressive neural networks while retaining the original capabilities;

[0153] Model evaluation and deployment: Use sliding window cross-validation to evaluate the performance of the new model; if the new model is better than the old model, perform a grayscale release; use MLflow to manage the model version and deployment process;

[0154] Continuous optimization: Collect feedback from model applications and continuously optimize learning strategies; conduct comprehensive model diagnosis and optimization regularly;

[0155] Interpretability module workflow;

[0156] Fault diagnosis result generation: The AI ​​model processes the input grid status data and outputs fault diagnosis results and recommended repair solutions;

[0157] Attention weight analysis: Use Captum to extract the model’s attention weights; generate multi-level attention visualization charts;

[0158] Feature importance calculation: Apply the SHAP algorithm to calculate the importance of each input feature; generate feature importance ranking and contribution charts;

[0159] Decision Path Reconstruction: Use the LIME algorithm to build a local interpretability model; generate decision tree visualization and text description;

[0160] Case comparison and knowledge graph analysis: Retrieve similar cases in the fault knowledge graph; generate a comparison report between the current fault and historical cases;

[0161] Interactive explanation: Display various interpretable analysis results through an interactive interface; allowing users to explore different hypothetical analysis scenarios;

[0162] Through continuous learning, the model's recognition accuracy for new fault types increases by about 2% per month, and its ability to handle rare faults is significantly enhanced. It can quickly adapt to changes in grid topology and new equipment, and the adaptation period is shortened from monthly to weekly. The prediction accuracy of seasonal changes is improved, effectively reducing the occurrence of seasonal faults. Multi-level backup and fault-tolerant mechanisms improve system availability and fault response speed. The explainability module makes the AI ​​decision-making process transparent, improves user trust, improves the efficiency of root cause analysis of error diagnosis, and accelerates the system improvement process. The construction of knowledge graphs and case libraries shortens the learning curve for novice engineers. The digitization and systematization of expert experience reduces dependence on specific individuals. Adaptive learning reduces the need for manual tuning and reduces maintenance costs. The improvement of predictive maintenance capabilities extends the average life of equipment. Due to the improvement of system reliability and response speed, customer satisfaction is improved. Transparent fault explanations reduce user complaints and improve customer service efficiency. The explainability module provides strong support for regulatory review and accelerates the compliance review process.

[0163] Embodiment 5: A power distribution network fault processing device, such as Figure 5 Shown

[0164] S1: Large-scale pre-training:

[0165] Data preparation;

[0166] Data sources: historical fault records, equipment operation logs, power grid topology information, meteorological data, etc.; data volume is about 10TB of structured and unstructured data; pre-processing uses Apache Spark for large-scale data cleaning and standardization;

[0167] Model architecture;

[0168] Base model: A variant of the GPT-3 architecture with 175B parameters; Optimization: Using mixed precision training and model parallelism;

[0169] Training strategies;

[0170] Target tasks: Masked Language Model (MLM) and Next Sentence Prediction (NSP); Training cycle: 4 weeks, about 1 trillion tokens; Learning rate strategy: warmup + cosine decay; Regularization: weight decay and dropout;

[0171] S2: Model fine-tuning and knowledge distillation:

[0172] Fine-tune the process;

[0173] Local data: historical operation data of a specific power grid, about 100GB; Fine-tuning strategy: using AdamW optimizer with a learning rate of 1e-5; Task adaptation: adding task-specific output layers (such as fault classification and severity prediction);

[0174] Knowledge distillation;

[0175] Teacher model: fine-tuned large model; Student model: 12-layer Transformer, 80M parameters; Distillation method: soft label distillation + intermediate layer feature matching; Temperature parameter: T = 2.0;

[0176] S3: Real-time data collection:

[0177] Data sources: SCADA system: real-time measurements of voltage, current, power factor, etc.; PMU equipment: high-precision phasor data; weather station: environmental data such as temperature, humidity, wind speed, etc.; social media: power outage information reported by users;

[0178] Data integration: Use Apache Kafka for real-time data stream processing; Data standardization: Unify the format and units of data from different sources; Time synchronization: Use PTP (Precision Time Protocol) to ensure the accuracy of data timestamps;

[0179] Serialization: convert multimodal data into a unified token sequence; use a custom vocabulary, including power system-specific terms; maximum sequence length: 2048 tokens;

[0180] S4: Edge computing preprocessing:

[0181] Deployment location: each major substation and key distribution node;

[0182] Lightweight model: Architecture: MobileNetV3 + small Transformer (4 layers, 4 attention heads); Model size: <50MB, suitable for edge deployment; Quantization: INT8 quantization, optimized using TensorRT;

[0183] Preliminary fault detection: Anomaly detection uses the Local Anomaly Factor (LOF) algorithm; Quick classification performs preliminary classification of common fault types; Processing delay <10ms;

[0184] S5: Core AI Diagnosis:

[0185] Data fusion: multimodal fusion using attention mechanism; implementing the cross-attention layer of Transformer;

[0186] In-depth analysis: Fault location based on graph neural network-based grid topology analysis; fault classification multi-label classification, supporting compound fault identification; severity assessment regression task, predicting the impact scope and duration;

[0187] Diagnostic engine: core model is a Transformer model with 175B parameters; inference optimization uses NVIDIA Triton inference server; processes 100 complex diagnostic requests per second;

[0188] S6: Contextual Learning:

[0189] Long sequence processing; Technology: Longformer architecture, supports up to 16K tokens; Sliding window: retains relevant historical information for the last 7 days;

[0190] Attention mechanism; global attention focuses on key devices and abnormal patterns; local attention captures local patterns in time series;

[0191] State representation; dynamically embed vector representations of grid states that are updated in real time; spatiotemporal graphs that construct dynamic graph structures that reflect grid topology and temporal evolution;

[0192] S7: Digital Twin Simulation:

[0193] Virtual model, the software uses Siemens PSS / E to simulate the power system, with a simulation accuracy of 0.1% and supports millisecond time steps;

[0194] Real-time synchronization, method: using Kalman filter for state estimation; frequency: synchronizing the actual grid state every 5 seconds;

[0195] Scenario simulation; Monte Carlo simulation: Generate 10,000 possible fault evolution scenarios; Parallel computing: Use CUDA acceleration to support real-time scenario evaluation;

[0196] S8: Reinforcement Learning Optimization:

[0197] Environmental model; state space: grid topology, equipment status, load distribution, etc.; action space: switch operation, load transfer, power generation adjustment, etc.; reward function: comprehensive consideration of power supply reliability, economy and equipment life;

[0198] Algorithm selection; Core algorithm: Proximal Policy Optimization (PPO); Neural network: Actor-Critic architecture combined with Transformer encoder; Exploration strategy: Exploration using parameter space noise;

[0199] Training process; Simulation environment: deeply integrated with the digital twin platform; Training scale: 64 A100 GPUs for parallel training; Experience playback: Prioritize experience playback, with a capacity of 10M experiences;

[0200] S9: Output generation:

[0201] Fault report generation; Method: Use T5 model for text generation; Personalization: Generate reports with different levels of detail based on user roles (technician / management);

[0202] Visual decision support; Tools: Use D3.js to develop interactive visualization interface; Content: Fault location heat map, impact range prediction, repair priority sorting, etc.;

[0203] Multiple solution generation; Strategy: Use beam search to generate multiple candidate solutions; Evaluation: Multi-objective optimization to balance repair time, resource consumption, and reliability;

[0204] S10: Human-Robot Collaboration:

[0205] Expert review interface; Interface: Web-based interactive review platform; Functions: scheme comparison, parameter adjustment, manual intervention;

[0206] Interpretability analysis; Methods: Use SHAP (SHapley Additive exPlanations) values ​​to explain model decisions; Visualization: Attention weight heat map, decision tree visualization;

[0207] Knowledge graph integration; Construction: Neo4j-based power system knowledge graph; Application: Assist decision-making explanation and provide relevant historical cases;

[0208] S11: Continuous Optimization:

[0209] Feedback collection; Source: actual repair results, expert evaluation, system performance indicators; Storage: Use the time series database InfluxDB to store performance data;

[0210] Adaptive learning; Method: Online gradient descent, dynamic adjustment of model weights; Frequency: Incremental updates every week, full evaluation every month;

[0211] Knowledge base update; Process: Automatically extract new knowledge and update the knowledge graph after manual review; Verification: Use A / B testing to verify the effectiveness of new knowledge;

[0212] The working process is as follows:

[0213] System initialization: load the pre-trained and fine-tuned large Transformer model; initialize the digital twin platform and synchronize the current power grid status; start all edge computing nodes and data acquisition systems;

[0214] Continuous monitoring and data collection: S3: Real-time collection of multi-source, multi-modal grid status data; S4: Edge nodes perform preliminary data processing and anomaly detection;

[0215] Fault detection and preliminary analysis: When an edge node detects a potential fault, it triggers a deep analysis process; S5: The core AI diagnostic engine integrates all available data for comprehensive analysis; S6: The contextual learning module integrates historical information to provide long-term trend insights;

[0216] In-depth diagnosis and scenario simulation: S7: The digital twin platform generates multiple possible fault evolution scenarios based on the current status; simulates the effects of different intervention measures and evaluates potential risks and impacts;

[0217] Repair strategy generation: S8: The reinforcement learning optimizer combines the real-time status and simulation results to generate a repair strategy; considering multiple objectives (such as repair time, cost, and reliability), it generates a Pareto optimal solution set;

[0218] Result presentation and human-computer interaction: S9: Generate detailed fault reports, visualized decision support information, and multiple possible treatment plans; S10: Present results through a human-computer collaborative interface, allowing experts to review and adjust; Provide explainable analysis of decision-making basis to help experts understand the reasons for AI recommendations;

[0219] Execution and feedback: Execute the selected repair plan and monitor the execution effect in real time; collect actual processing results and expert feedback;

[0220] Continuous learning and optimization: S11: Update model parameters and knowledge base based on collected feedback; regularly evaluate the overall system performance and make necessary adjustments and optimizations;

[0221] Comprehensive fault prevention and rapid response, accurate fault diagnosis, optimized repair strategies, enhanced decision support, improved system reliability, predictive maintenance capabilities, reduced unplanned downtime, knowledge accumulation and inheritance, shortened training time for new engineers, rapid mastery of complex fault handling skills, forming a comprehensive power grid fault knowledge base, capturing 90% of historical fault modes, adaptability and scalability, the system can adapt to new grid equipment or topology changes within 24 hours, support seamless integration of new energy equipment, and improve the management capabilities of renewable energy. By optimizing grid operation and rapid fault repair, carbon emissions are reduced each year, the grid connection efficiency of renewable energy is improved, and the proportion of clean energy use is increased.

[0222] By implementing this comprehensive power distribution network fault handling process, the system not only significantly improves the reliability and efficiency of the power grid, but also brings huge economic and environmental benefits.

[0223] In view of current practical needs, the above-mentioned implementation mode adopted in this application is not limited to the scope of protection. Various changes made within the knowledge scope of technical personnel in this field without departing from the concept of this application still fall within the scope of protection of the present invention.

Claims

1. A power distribution network fault handling device, characterized in that: It includes pre-training module, neural network architecture module, data acquisition layer, edge computing layer, core processing layer, context learning module, reasoning processing module, output and interaction layer, and continuous learning and improvement layer; The pre-training module is used to perform unsupervised learning on large-scale power system historical data to learn the statistical laws and semantic relationships of power grid operation; The neural network architecture module is based on the Transformer architecture, including a multi-layer self-attention mechanism and a feed-forward neural network, with billions to hundreds of billions of trainable parameters; The data collection layer includes smart sensor networks, SCADA systems, PMU devices, weather stations, and social media API interfaces; The edge computing layer includes a local preprocessing unit, an edge AI inference engine, and a real-time monitoring panel; The core processing layer includes a data fusion center, a main AI diagnosis engine, a predictive maintenance module, a digital twin platform, and a reinforcement learning optimizer; The context learning module is capable of understanding and utilizing long sequences of grid status information and focusing on relevant information through an attention mechanism; The reasoning processing module receives the power grid status information as an input prompt and gradually generates fault diagnosis and processing suggestions; The output and interaction layer includes a fault report generator, a visual decision support system, a repair suggestion optimizer and a safety assessment module; The continuous learning and improvement layer includes an adaptive learning module, a human-computer collaboration interface and a knowledge base updating system.

2. The power distribution network fault handling device according to claim 1, characterized in that: The pre-training module adopts a self-supervised learning method, including masked state prediction and next state prediction tasks, to learn the inherent laws of the power grid system, and realizes distributed training of the model through federated learning technology, thereby improving the accuracy and generalization ability of the model while protecting data privacy.

3. The power distribution network fault handling device according to claim 1, characterized in that: The edge AI inference engine of the edge computing layer is deployed with a lightweight model that has undergone knowledge distillation for fast preliminary fault detection and localization processing. The lightweight model inherits the core knowledge of the large-scale pre-trained model.

4. The power distribution network fault handling device according to claim 1, characterized in that: The digital twin platform of the core processing layer can create a virtual model of the power grid, perform real-time simulation and hypothetical scenario analysis, and combine with the Transformer model to enhance contextual understanding and prediction capabilities.

5. The power distribution network fault handling device according to claim 1, characterized in that: The reinforcement learning optimizer of the core processing layer can dynamically optimize fault response strategies and system parameter adjustments through interactive training with the simulated environment of the digital twin platform. Its decision-making process uses the attention mechanism of the Transformer model to weigh multiple factors.

6. The power distribution network fault handling device according to claim 1, characterized in that: The repair suggestion optimizer of the output and interaction layer adopts a sequence-to-sequence model based on Transformer, which can generate the optimal repair order and plan according to the current resource status and priority.

7. The power distribution network fault handling device according to claim 1, characterized in that: The adaptive learning module of the continuous learning and improvement layer can continuously update and optimize the parameters of the AI ​​model through incremental learning and fine-tuning techniques based on newly collected data and feedback information, so as to maintain the model's adaptability to the latest power grid conditions.

8. The power distribution network fault handling device according to claim 1, characterized in that: It also includes a high-speed and reliable data transmission network based on 5G or dedicated fiber-optic networks to ensure real-time data exchange between all layers of the system and support joint training and inference of large-scale distributed models.

9. The power distribution network fault handling device according to claim 1, characterized in that: It also includes multi-level backup and fault-tolerant mechanisms, as well as strict data security protocols to ensure high availability and data security of the system; at the same time, it integrates an interpretability module to provide understandable explanations for fault diagnosis results by analyzing the attention weights and activation values ​​of the model.

10. A power distribution network fault handling device according to any one of claims 1 to 9, characterized in that: The power distribution network fault processing method includes the following steps: S1: Pre-train the Transformer model on large-scale power system historical data to learn general knowledge about power grid operation; S2: Use local data to fine-tune the pre-trained model and perform knowledge distillation for a specific power grid environment; S3: Continuously collect multi-source, multi-modal real-time power grid status information through the data acquisition layer and convert it into a tokenized input sequence; S4: Use lightweight models for data preprocessing and preliminary fault detection at the edge computing layer; S5: Fusion processes all input data at the core processing layer and runs the main AI diagnostic engine for in-depth fault analysis. S6: The contextual learning module integrates long-sequence historical information to build a comprehensive understanding of the current power grid status; S7: Use digital twin platform for fault simulation and impact assessment; S8: Generate the optimal repair strategy by combining the reinforcement learning optimizer with the attention mechanism of the Transformer model; S9: Generates fault reports, visual decision support information and multiple possible treatment solutions at the output and interaction layer; S10: Allow experts to review and intervene in AI decisions through human-machine collaborative interfaces, and provide explainable analysis of the decision-making basis; S11: Collect feedback on actual processing results, use adaptive learning modules and knowledge base to update the system, and continuously optimize system performance.

Citation Information

Patent Citations

  • A method for condition diagnosis and prediction of power distribution network equipment based on power big data

    CN108320043B

  • A method and system for handling distribution network faults based on digital twin technology

    CN116885858B

  • Generation method, system and equipment of power grid fault handling aid decision and medium

    CN117709461A

  • Security and privacy enhancement method, architecture and system oriented to water conservancy digital twinning application

    CN118171328A

  • Intelligent operation and maintenance system and method for digital twin substation

    CN118172040A

Cited By

  • Data redundancy remote multi-activity method and system based on industrial Internet of Things

    CN119629193A

  • Industrial Internet of Things equipment detection method and system based on federal map neural network

    CN119676094A

  • Bamboo chopstick production line data real-time intelligent scheduling management system

    CN119692736A

  • Fault positioning method and system for high-voltage transmission line

    CN119805097A

  • Distribution network fault rapid positioning method based on artificial intelligence

    CN119916140A