Cable state monitoring method and system based on deep reinforcement learning, and storage medium

Through deep reinforcement learning technology, the DQN network is used to automatically monitor and intervene in cable status, which solves the problem of insufficient accuracy and timeliness of traditional cable status monitoring methods and improves the stability and safety of the power system.

CN118761016AInactive Publication Date: 2024-10-11TRAINING CENT OF STATE GRID TIANJIN ELECTRIC POWER CO +2

Patent Information

Application Number
CN202411244547.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-06
Publication Date
2024-10-11
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional cable condition monitoring methods rely on manual inspections and electrical tests, and cannot achieve automatic monitoring and continuous prediction, resulting in poor accuracy and timeliness, affecting the stability and safety of the power system.

Method used

Using a method based on deep reinforcement learning, the real-time operating status data of the cable is used through the DQN network to perceive the cable status, automatically select operating actions, generate decisions, and realize monitoring and intervention of the cable status.

Benefits of technology

It improves the timeliness and accuracy of cable status monitoring, enhances the efficiency of cable abnormality handling, and improves the stability and safety of the power system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118761016A_ABST
    Figure CN118761016A_ABST
Patent Text Reader

Abstract

The invention provides a cable state monitoring method and system based on deep reinforcement learning, a storage medium and equipment. The method comprises the following steps: acquiring real-time operation state data of a cable, and monitoring the abnormity of the cable based on the real-time operation state data; inputting the real-time operation state data into a DQN network, wherein the DQN network comprises an intelligent agent and an actuator; the intelligent agent perceives a current state and generates a decision based on a DQN network according to the real-time operation state data; and executing a corresponding action according to the decision. According to the cable state monitoring method, the accuracy and timeliness of monitoring the abnormal state of the cable are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of power fault monitoring, and in particular relates to a cable status monitoring method, system, storage medium and device based on deep reinforcement learning. Background Art

[0002] With the rapid development of power systems and the large-scale application of cables, the operation and maintenance of power cables are becoming increasingly important. Partial discharge is one of the common faults of power cables, which not only leads to the gradual deterioration of cable insulation performance, but also may cause serious safety accidents.

[0003] Traditional cable status monitoring mainly relies on manual inspection and fault measurement. Fault measurement requires various cable electrical tests, such as DC withstand voltage test, AC withstand voltage test, partial discharge test, etc., to gradually identify the fault type.

[0004] However, traditional cable status monitoring has many limitations. Various cable electrical tests usually require power outages, which affects the continuity and stability of the power system. Moreover, it can only provide cable status information at a specific moment and cannot continuously predict cable status trends. Therefore, it is impossible to automatically monitor cable status anomalies, and the accuracy and timeliness are poor. Summary of the invention

[0005] In view of the shortcomings of the prior art, the present invention provides a cable status monitoring method, system, storage medium and device based on deep reinforcement learning. According to the real-time operating status data of the cable and based on the deep reinforcement learning algorithm, an intelligent agent is used to perceive the cable status, and appropriate operating actions are automatically selected according to the current status to generate decisions, execute corresponding decisions on the cable, and implement intervention in the cable system, which can improve the timeliness and accuracy of cable status monitoring.

[0006] The present invention is achieved through the following technical solutions: Acquire real-time operation status data of the cable, and monitor cable abnormalities based on the real-time operation status data; Input the real-time operation status data into a DQN network, wherein the DQN network includes: an agent and an actuator; The intelligent agent perceives the current state and generates a decision based on the DQN network according to the real-time operation state data; Execute corresponding actions according to the decision.

[0007] Optional, The real-time operation status data of the cable is obtained, including: measuring phase voltage and phase current, and calculating resistance and capacitance based on the phase voltage and phase current; Get cable temperature data; A partial discharge signal is collected to obtain basic characteristic parameters of the partial discharge signal.

[0008] Optional, The intelligent agent perceives the current state and generates a decision based on the DQN network according to the real-time operation state data, including: The intelligent agent perceives the cable status through a state space defined based on the real-time operation status data; According to the state space and the action space composed of all optional actions, the Q value of each action in the current state is calculated based on the DQN network; Based on the Q value, a preset strategy is used to select an action to generate a decision.

[0009] Optional, The Q value of each action in the current state is:

[0010] in, It represents the average expectation of the Q value of all optional actions under state s; Represents the benefit obtained by taking action a.

[0011] Optional, Based on the Dueling DQN network, calculate the Q value of each action in the current state; The action with the largest Q value is selected to generate the decision.

[0012] Optional, The Dueling DQN network is used to calculate the Q value of each action in the current state, including: Calculate the state value function and advantage value function respectively; The state value function is combined with the advantage value function, and combined with a preset incentive function to obtain the Q value of each action in the current state.

[0013] Optional, The agent receives a reward signal returned from the environment after executing the decision action, and updates the Q value based on the reward signal.

[0014] Optional, Acquire the experience data generated by the interaction between the agent and the environment, and store it in an experience replay pool; The agent is trained and network parameters are updated by randomly sampling the experience data from the experience replay pool.

[0015] The present invention also provides a cable status monitoring system based on deep reinforcement learning, which is used to implement the above method, and the system comprises: An operation status monitoring module is used to obtain real-time operation status data of the cable and monitor cable abnormalities based on the real-time operation status data; A data transmission module, used for inputting the real-time operation status data into a DQN network, wherein the DQN network includes: an agent and an actuator; A state analysis module, used for the intelligent agent to perceive the current state and generate a decision based on the DQN network according to the real-time operation state data; An execution module is used to execute corresponding actions according to the decision.

[0016] Optional, The operation status monitoring module comprises: A phase voltage and phase current measuring unit, used to measure the phase voltage and phase current, and calculate the resistance and capacitance based on the phase voltage and phase current; Cable temperature monitoring unit, used to obtain cable temperature data; The partial discharge monitoring unit is used to collect partial discharge signals and obtain basic characteristic parameters of the partial discharge signals.

[0017] Optional, The state analysis module is further configured to: The intelligent agent perceives the cable status through a state space defined based on the real-time operation status data; According to the state space and the action space composed of all optional actions, the Q value of each action in the current state is calculated based on the DQN network; Based on the Q value, a preset strategy is used to select an action to generate a decision.

[0018] Optional, Based on the Dueling DQN network, calculate the Q value of each action in the current state; The action with the largest Q value is selected to generate the decision.

[0019] Optional, Acquire the experience data generated by the interaction between the agent and the environment, and store it in an experience replay pool; The agent is trained and network parameters are updated by randomly sampling the experience data from the experience replay pool.

[0020] The present invention also provides a computer-readable storage medium storing one or more programs, which, when executed, can implement the aforementioned cable status monitoring method based on deep reinforcement learning.

[0021] The present invention also provides a device, comprising a processor, a communication interface, a computer-readable storage medium and a communication bus; wherein the processor, the communication interface and the computer-readable storage medium communicate with each other via the communication bus; The processor is configured to execute a program stored in a computer-readable storage medium.

[0022] Compared with the prior art, the present invention has the following advantages: 1. The cable status monitoring method based on deep reinforcement learning proposed in the present invention uses the DQN network to automatically monitor the cable status and generate operation action decisions according to the real-time operation status data of the cable, thereby improving the timeliness and accuracy of status trend prediction.

[0023] 2. Using intelligent agents, the Q value of each action in the current state is calculated based on real-time operating status data, and actions are selected and decisions are made based on the Q value of each action. This can improve the efficiency of handling abnormal cable conditions and provide information support for operation and maintenance personnel, thereby improving the stability and safety of the entire power system.

[0024] 3. Through multiple interactions between the intelligent agent and the environment, new data is continuously collected and parameters are updated, and continuous learning and self-optimization are carried out, thereby adapting to changes in the operating status of the cable and improving the accuracy and robustness of decision-making.

[0025] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0027] Figure 1 A schematic diagram of the process of cable status monitoring method based on deep reinforcement learning is shown; Figure 2 A schematic block diagram of the structure of a cable status monitoring system based on deep reinforcement learning is shown; Figure 3 A schematic diagram of a state monitoring system model according to an embodiment of the present invention is shown; Figure 4 A schematic diagram of a state analysis module model according to an embodiment of the present invention is shown; Figure 5 A schematic diagram of the Dueling DQN network structure of an embodiment of the present invention is shown.

[0028] Figure 6 It is a structural schematic diagram of a device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0029] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0030] See attached Figure 1 , the method of the present invention comprises: S1. Acquire real-time operation status data of the cable, and monitor cable abnormalities based on the real-time operation status data; Wherein, the real-time operation status data of the cable is obtained, including: measuring phase voltage and phase current, and calculating resistance and capacitance based on the phase voltage and phase current; Get cable temperature data; A partial discharge signal is collected to obtain basic characteristic parameters of the partial discharge signal.

[0031] S2. Input the real-time operation status data into a DQN network, wherein the DQN network includes an agent and an actuator.

[0032] S3, the intelligent agent perceives the current state and generates a decision based on the DQN network according to the real-time operation state data; wherein the intelligent agent perceives the cable state through a state space defined based on the real-time operating state data; According to the state space and the action space composed of all optional actions, the Q value of each action in the current state is calculated based on the DQN network; Based on the Q value, a preset strategy is used to select an action to generate a decision. Among them, the Q value of each action in the current state is:

[0033] in, It represents the average expectation of the Q value of all optional actions under state s; represents the benefit obtained by taking action a, Among them, based on the Dueling DQN network, the Q value of each action in the current state is calculated; Select the action with the largest Q value to generate the decision, The calculation of the Q value of each action in the current state based on the Dueling DQN network includes: Calculate the state value function and advantage value function respectively; The state value function is combined with the advantage value function, and combined with a preset incentive function to obtain the Q value of each action in the current state.

[0034] S4. Execute corresponding actions according to the decision; The agent receives a reward signal returned from the environment after executing the decision action, combines the reward signal, and updates the Q value. wherein, the experience data generated by the interaction between the agent and the environment is obtained and stored in an experience replay pool; The agent is trained and network parameters are updated by randomly sampling the experience data from the experience replay pool.

[0035] Specifically, 1. Obtain real-time operation status data Acquire real-time data on the operation status of the cable during operation, including continuous data such as temperature, phase voltage, phase current, and discrete data such as partial discharge signal amplitude, phase, and frequency.

[0036] The acquired real-time operation status data is monitored, and safety constraints are set as needed. When the operation status data exceeds the safety constraint range, an abnormal response is triggered.

[0037] 1. Measure phase voltage and phase current.

[0038] The phase voltage and phase current applied to the cable are accurately measured, and the resistance and capacitance are calculated based on the phase voltage and phase current.

[0039] In this embodiment, the three-phase voltage output line is connected to the A, B, and C three-phase cores or metal sheaths corresponding to the tested cable. A DC voltage of a specified magnitude is injected into the three-phase core or metal sheath, and the phase voltage U and phase current I of the three-phase core of the tested cable to the metal sheath or the phase voltage U and phase current I of the metal sheath to the ground can be measured. The main insulation resistance value R of the cable is calculated by the phase voltage U and the phase current I. The main insulation resistance calculation formula is:

[0040] By injecting a specified power frequency AC voltage into the cable core, the phase voltage U and phase current I of the three-phase core to the metal sheath of the tested cable can be measured, and the main insulation capacitance C of the cable can be calculated. The calculation formula is:

[0041] Among them, f is the power frequency 50Hz.

[0042] In this embodiment, the actual voltage and current applied to the cable to be tested can also be accurately measured. The acquired data can be used for monitoring and alarming of cable abnormalities.

[0043] 2. Get the cable temperature.

[0044] The current temperature is obtained through the temperature sensor, data acquisition device and data processing module, and the temperature is monitored to see if it is abnormal.

[0045] The temperature sensor is set at the middle joint of the cable to collect temperature data on the cable surface in real time. The temperature data collected by the temperature sensor is read regularly using a data collector, and the read temperature data is converted into a digital signal and transmitted to the data processing module.

[0046] In this embodiment, the temperature analysis algorithm built into the data processing module can be used to determine whether the temperature of the cable surface is within a preset safety range threshold according to the digital signal transmitted by the data collector. If an abnormal temperature is detected, an alarm mechanism is automatically triggered to send an alarm message to the operation and maintenance personnel so that timely countermeasures can be taken.

[0047] 3. Collect cable partial discharge signals.

[0048] The signal collector and signal processor are used to collect the cable partial discharge signal.

[0049] The signal collector is set at the insulation joint of the cable. The signal collector can be used to capture the weak electrical signal generated by local discharge of the cable. It has high sensitivity and can accurately capture the amplitude changes of the discharge signal.

[0050] The signal collector uses the parallel pulse current method to measure the partial discharge of the cable, including: coupling capacitor Ck, detection impedance Zm and partial discharge tester. One end of the cable is grounded, and the other end is connected to the detection impedance Zm through the coupling capacitor Ck (Ck ≥ 10Cx). The detection impedance Zm converts the pulse current into a voltage signal and inputs it into the partial discharge tester to measure the partial discharge.

[0051] The collected analog signals are converted into digital signals through a signal processor, and pre-processing operations such as filtering and denoising are performed to improve signal quality and facilitate subsequent data analysis.

[0052] By using the signal collector and signal processor, the basic characteristic parameters of the partial discharge signal, such as amplitude, phase, and frequency, can be collected.

[0053] In this embodiment, an alarm may be provided to trigger an alarm mechanism when an abnormal discharge signal is detected, so as to promptly notify the operation and maintenance personnel.

[0054] 2. Input real-time operation status data into the DQN network.

[0055] The DQN network combines the characteristics of deep neural networks and Q-learning algorithms. It can learn the Q value of taking an action in a given state, that is, the action value function, which takes the receiving state as input and outputs the Q value of each action.

[0056] The DQN network is mainly composed of intelligent agents and actuators. The intelligent agent is responsible for receiving real-time operating status data and performing state perception and decision-making through deep reinforcement learning algorithms. The actuator performs corresponding operations or actions based on the decision results of the intelligent agent, such as adjusting the operating parameters of the cable, performing preventive maintenance, and replacing damaged parts.

[0057] The agent mainly includes: Q network and target network. The Q network is used to calculate the Q value in the current state; the target network is used to calculate the target Q value to reduce the correlation between the current estimated Q value and the target Q value, and to improve the stability of training.

[0058] The DQN network also includes an experience replay pool, which is used to store and reuse experience data samples collected by the agent during its interaction with the environment to enhance training efficiency and stability.

[0059] 3. The intelligent agent perceives the current status and makes decisions based on real-time operating status data.

[0060] The intelligent agent perceives the current cable state through the state space defined based on the real-time operation state data; according to the state space and the action space composed of all optional actions, the Q value of each action in the current state is calculated based on the DQN network; based on the Q value, an action is selected using a preset strategy to generate a decision.

[0061] 1. Define the state space.

[0062] The state space is defined according to the cable operation status data, which serves as the basis for the intelligent agent to perceive the state and make decisions.

[0063] After preprocessing and feature extraction of the operating status data, it is integrated into a multi-dimensional state vector, which can fully and accurately represent the current operating status of the cable, providing the intelligent agent with a richer basis for decision-making. This multi-dimensional state space design enables the intelligent agent to have a more comprehensive understanding of the operating status of the cable, thereby providing more accurate information for subsequent decisions.

[0064] In this embodiment, the state space S at time t is defined as follows:

[0065] Wherein, T represents the cable operating temperature; Indicates phase voltage; Phase current; It represents the characteristic parameter of the cable partial discharge signal, M represents the discharge amplitude, Indicates the discharge phase, Indicates the discharge frequency.

[0066] 2. Define the action space.

[0067] The action space is the set of all possible actions that the agent can take in a given state.

[0068] In this embodiment, the action space A at time t is defined as follows:

[0069] Where T represents the cable operating temperature, and P is the parameter that is manually adjusted during the cable operation. Indicates the actual operating voltage. Indicates the actual operating current.

[0070] The action space can be designed based on the actual operation requirements of the power system and the operation habits of the maintenance personnel. It includes a series of possible operations such as adjusting the operating parameters of the cable, performing preventive maintenance, and replacing damaged parts. These operations can improve the operating status of the cable, prevent potential failures, or respond to existing failures in a timely manner. By defining a reasonable action space, it provides a basis for the intelligent agent to select actions in the decision-making process, and then provides more specific and feasible operation suggestions for the maintenance personnel, so as to manage the power system more effectively.

[0071] 3. Calculate the Q value of each action in the current state and make a decision.

[0072] According to the state space and action space, the Q value of each action in the current state is calculated based on the DQN network. The Q value is the expected return of taking an action in a given state, and the size of the Q value indicates the pros and cons of taking an action in a given state.

[0073] In this embodiment, the Q value is defined as the state at time t Next, take action If there is an expectation of gain, then It can be expressed as follows:

[0074] in, is the value of state s, which represents the average expectation of the Q value of all optional actions under state s; The value of represents the benefit obtained by taking action a in state s.

[0075] According to the calculated Q value, a preset strategy is used to select an action to generate a decision under the current state.

[0076] In this embodiment, further, the Q value of each action in the current state may be calculated based on the Dueling DQN network.

[0077] Dueling DQN network is a deep reinforcement learning algorithm that is improved on the basis of DQN network. It decomposes Q value into state value function and advantage value function, so as to better estimate the value of different actions.

[0078] Dueling DQN network includes: feature layer, hidden layer and output layer. The feature layer is used to receive information in the state space; the hidden layer is used to learn the representation of the state value function and the advantage value function; the output layer generates the final Q value, in which one branch outputs the state value and the other branch outputs the advantage of each action.

[0079] Based on the Dueling DQN network, calculate the Q value of each action in the current state, including: Calculate the state value function and advantage value function respectively; Combine the state value function with the advantage value function and the preset incentive function to obtain the Q value of each action in the current state. In this embodiment, ReLU can be used as the excitation function of the hidden layer of the Dueling DQN network, and the product of the voltage deviation and the current deviation is calculated by combining the ideal working voltage and working current given during the production of the power cable. e is defined as the power difference during the operation of the power cable, and the calculation formula is:

[0080] In this embodiment, the activation function R is defined as follows:

[0081]

[0082] in, and It is a preset excitation function weight that can be adjusted according to the operating conditions of different cables.

[0083] According to the current state space information, the Dueling DQN network uses weights The neural network extracts all possible approximate Q * (s,a) as the Q value table, and calculate the Q value of each action .

[0084] Dueling DQN network decomposes Q value into state value function and advantage value function , split the neural network into two paths to calculate the state value function and the advantage value function respectively, and merge the values ​​of these two functions through a special aggregation layer to obtain the Q value It is expressed as follows: = +{ } in, Representation vector The dimension of Indicates that in the next state Next, one of all possible actions.

[0085] According to the calculated Q value, a pre-set strategy is used to select an action to generate a decision. The agent can select the action with the maximum Q value based on the Q value in the current state and make a decision.

[0086] In this embodiment, it is possible to use The strategy seeks the optimal target Q value. The probability of the strategy choosing the optimal action based on the Q value is , and the probability of randomly choosing other actions is Under this strategy, the agent will choose actions that are known to bring high rewards, and will also try some new and unknown actions, seeking a balance between exploration and exploitation.

[0087] By interacting with the environment through decision-making actions, the agent receives a reward signal returned from the environment, which reflects the effect of taking the decision action. The reward signal can be positive, negative, or zero. The reward signal provides immediate feedback for each action taken in each state. Combined with the reward signal, the Q value is updated, allowing the agent to choose the best action in different states.

[0088] In this embodiment, y is used to represent the target Q value calculated by the target network, and the decision choices of the agent are as follows: '} in , is the attenuation factor; is the optimal next Q value, including the maximum Q value action a selected by the Q value network under state S and network weight θ′.

[0089] The target Q value estimates the expected value of future cumulative rewards based on the current state and action, and is used to update the parameters of the Q network to improve the stability and convergence of the algorithm.

[0090] Through the above methods, the agent can gradually learn how to choose the optimal action in different states.

[0091] 4. Send the decision to the executor to execute the action corresponding to the decision.

[0092] The decision made by the agent is sent to the actuator, which executes the action corresponding to the decision to implement intervention in the cable system.

[0093] The actuator performs corresponding actions based on the decision results. These actions can be adjusting the operating parameters of the cable, performing preventive maintenance, replacing damaged parts, etc., directly acting on the power cable to improve its operating status or prevent potential failures.

[0094] Through the close cooperation between the actuator, temperature sensor and signal collector, feedback on the changes in the cable operation status data after the actuator performs the action can be obtained.

[0095] The intelligent agent stores the acquired experience data in the experience replay pool. By randomly sampling a batch of experience from the experience replay pool, the intelligent agent is reversely trained to update the parameters of the Q network and improve the effectiveness of the decision-making strategy.

[0096] After the actuator executes the countermeasure, it obtains experience data samples from the environment feedback. These experience data samples include information such as the actions taken by the agent in different states, the rewards obtained, and the subsequent state changes. The acquired experience data is stored in the experience replay pool, which can be used to train the network to continuously update and optimize its decision-making strategy.

[0097] The agent randomly extracts a batch of experience data from the experience replay pool, calculates the loss function and updates the network parameters. This random sampling method breaks the correlation between data and helps stabilize the learning process. By repeating this process, the agent gradually learns how to choose the best action in different states.

[0098] In this embodiment, the intelligent agent perceives the operating status of the power cable through real-time operating status data, collects and preprocesses data, extracts features, and then judges the current status based on the extracted features, makes decisions and executes actions, and finally updates the decision strategy through evaluation results. Through the iteration of this process, the intelligent agent can continuously learn and optimize strategies through interaction with the environment, gradually learn how to choose the best action under different conditions, optimize decision-making capabilities, realize effective monitoring and early warning of power cable faults, effectively intervene in and manage the cable system, and improve the stability and safety of the power system.

[0099] In this embodiment, the process of training and updating the intelligent agent is also disclosed.

[0100] The state of the environment in which it is located is sensed through sensors or other data collection devices. The state information includes cable operating temperature, phase voltage and phase current, as well as data such as power generation, discharge phase, and discharge frequency collected by the cable partial discharge monitoring unit; the perceived environmental state data is collected and necessary preprocessing is performed, including data cleaning, normalization, denoising, etc., to ensure the quality and consistency of the data, and obtain operating state data for subsequent feature extraction and decision-making.

[0101] Perform feature extraction on the collected running status data to extract useful features. Use the running status data as input and put it into the Dueling DQN network for training.

[0102] The actuator performs the corresponding operation or action according to the decision result output by the Dueling DQN network, and the agent observes how the environment responds to the action and evaluates the result after executing the action. The result after executing the action can be evaluated by observing the reward given by the environment, which can be positive or negative.

[0103] During the training process, the agent continuously tries different actions and adjusts its decision-making strategy based on the feedback reward signal, thereby gradually learning the optimal decision-making method. As the training progresses, the agent can gradually optimize its decision-making strategy and select the optimal action in a given state.

[0104] The agent updates its decision-making strategy by comparing expected rewards with actual rewards. After multiple interactions with the environment, the agent will gradually learn the best action to take in a given state, thereby optimizing its decision-making strategy.

[0105] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0106] See attached Figure 2, shows the structure of a cable status monitoring system based on deep reinforcement learning for implementing the above method, including: an operation status monitoring module, a data transmission module, a status analysis module, and an execution module.

[0107] The operation status monitoring module is used to obtain real-time operation status data of the cable, and monitor cable abnormalities based on the real-time operation status data; The data transmission module is used to input the real-time operation status data into the DQN network, and the DQN network includes: an intelligent agent and an actuator; The state analysis module is used for the intelligent agent to perceive the current state and generate a decision based on the DQN network according to the real-time operation state data; The execution module is used to execute corresponding actions according to the decision.

[0108] Figure 3 It is a schematic diagram of the state monitoring system model of an embodiment of the present invention. In this embodiment, the cable operation state monitoring module collects cable operation state data through the phase voltage and phase current measurement unit, the cable temperature monitoring unit and the cable partial discharge unit, wherein the cable operation state may include abnormal states such as grounding, short circuit or disconnection. The cable operation state monitoring module inputs the acquired state space information and safety constraints into the deep reinforcement learning network of the cable state analysis module. The cable state analysis module determines the current state of the cable, generates and executes corresponding decisions. After continuous interaction, the cable operation state monitoring module is used to optimize and iterate the cable state analysis module.

[0109] Figure 4 The schematic diagram of the state analysis module model of the embodiment of the present invention shows the process of transmitting, calculating, and obtaining a decision on the operation state data from the Q network and the target network. With optional actions Input to the Q network to calculate the Q value in the current state ,The Q values ​​of all possible actions form a main Q value network, and the action with the maximum Q value is selected from the main Q value network and is executed in the cable operation environment.

[0110] Monitor the cable operating environment after executing the corresponding decision and obtain the next state , input to the target network, calculate the target Q value The loss function is calculated based on the Q value and the target Q value, and the network parameters are updated at regular intervals.

[0111] Figure 5This is a schematic diagram of the Dueling DQN network structure of an embodiment of the present invention, showing that the operation status data is passed through the feature layer, hidden layer and output layer to obtain a decision, and the action is executed according to the decision to affect the cable operation environment. Among them, the feature layer receives the operation status data as input, and the hidden layer is divided into two parts: the state value function and the advantage value function. The two parts are merged to obtain the Q value, which is transmitted to the output layer to select the optimal action and generate the final decision.

[0112] In addition, an embodiment of the present invention further provides a cable fault monitoring device based on deep reinforcement learning, comprising: The operation status monitoring module obtains the real-time operation status data of the cable, and monitors the cable abnormality based on the real-time operation status data; wherein the operation status monitoring module includes: a phase voltage and phase current measurement unit, which is used to measure the phase voltage and phase current, and calculate the resistance and capacitance based on the phase voltage and phase current; a cable temperature monitoring unit, which is used to obtain the cable temperature data; a partial discharge monitoring unit, which is used to collect partial discharge signals and obtain the basic characteristic parameters of the partial discharge signals.

[0113] The state analysis module senses the current state and generates a decision based on the DQN network according to the real-time operation state data; wherein the DQN network includes: an agent and an actuator; the agent senses the cable state through a state space defined based on the real-time operation state data; according to the state space and the action space composed of all optional actions, the Q value of each action in the current state is calculated based on the DQN network; based on the Q value, a preset strategy is used to select an action to generate a decision.

[0114] An execution module executes a corresponding action according to the decision; wherein, after executing the decision action, the reward signal returned from the environment is combined with the reward signal by the intelligent agent to update the Q value.

[0115] Based on the same inventive concept, the present invention also provides a computer-readable storage medium storing one or more programs, which, when executed, can implement the aforementioned cable status monitoring method based on deep reinforcement learning.

[0116] like Figure 6 As shown, an embodiment of the present invention further provides a device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus.

[0117] The memory is a computer-readable storage medium for storing one or more programs.

[0118] The processor is used to execute the program stored in the computer-readable storage medium.

[0119] The computer-readable storage medium may be included in the device / apparatus described in the above embodiments; or may exist independently without being assembled into the device / apparatus.

[0120] Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent substitutions for some of the technical features therein; and these modifications or substitutions do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A cable status monitoring method based on deep reinforcement learning, It is characterized in that include: Acquire real-time operation status data of the cable, and monitor cable abnormalities based on the real-time operation status data; Input the real-time operation status data into a DQN network, wherein the DQN network includes: an agent and an actuator; The intelligent agent perceives the current state and generates a decision based on the DQN network according to the real-time operation state data; Execute corresponding actions according to the decision.

2. The method according to claim 1, It is characterized in that The real-time operation status data of the cable is obtained, including: measuring phase voltage and phase current, and calculating resistance and capacitance based on the phase voltage and phase current; Get cable temperature data; A partial discharge signal is collected to obtain basic characteristic parameters of the partial discharge signal.

3. The method according to claim 1, It is characterized in that The intelligent agent perceives the current state and generates a decision based on the DQN network according to the real-time operation state data, including: The intelligent agent perceives the cable status through a state space defined based on the real-time operation status data; According to the state space and the action space composed of all optional actions, the Q value of each action in the current state is calculated based on the DQN network; Based on the Q value, a preset strategy is used to select an action to generate a decision.

4. The method according to claim 3, It is characterized in that The Q value of each action in the current state is: in, It represents the average expectation of the Q value of all optional actions under state s; Represents the benefit obtained by taking action a.

5. The method according to claim 3, It is characterized in that The method further comprises: Based on the Dueling DQN network, calculate the Q value of each action in the current state; The action with the largest Q value is selected to generate the decision.

6. The method according to claim 5, It is characterized in that The Dueling DQN network is used to calculate the Q value of each action in the current state, including: Calculate the state value function and advantage value function respectively; The state value function is combined with the advantage value function, and combined with a preset incentive function to obtain the Q value of each action in the current state.

7. The method according to any one of claims 1 to 6, It is characterized in that The method further comprises: The agent receives a reward signal returned from the environment after executing the decision action, and updates the Q value based on the reward signal.

8. The method according to any one of claims 1 to 6, It is characterized in that The method further comprises: Acquire the experience data generated by the interaction between the agent and the environment, and store it in an experience replay pool; The agent is trained and network parameters are updated by randomly sampling the experience data from the experience replay pool.

9. A cable status monitoring system based on deep reinforcement learning, It is characterized in that The system comprises: An operation status monitoring module is used to obtain real-time operation status data of the cable and monitor cable abnormalities based on the real-time operation status data; A data transmission module, used for inputting the real-time operation status data into a DQN network, wherein the DQN network includes: an agent and an actuator; A state analysis module, used for the intelligent agent to perceive the current state and generate a decision based on the DQN network according to the real-time operation state data; An execution module is used to execute corresponding actions according to the decision.

10. The system according to claim 9, It is characterized in that The operation status monitoring module comprises: A phase voltage and phase current measuring unit, used to measure the phase voltage and phase current, and calculate the resistance and capacitance based on the phase voltage and phase current; Cable temperature monitoring unit, used to obtain cable temperature data; The partial discharge monitoring unit is used to collect partial discharge signals and obtain basic characteristic parameters of the partial discharge signals.

11. The system according to claim 9, It is characterized in that The state analysis module is further configured to: The intelligent agent perceives the cable status through a state space defined based on the real-time operation status data; According to the state space and the action space composed of all optional actions, the Q value of each action in the current state is calculated based on the DQN network; Based on the Q value, a preset strategy is used to select an action to generate a decision.

12. The system according to claim 11, It is characterized in that The system is also configured to: Based on the Dueling DQN network, calculate the Q value of each action in the current state; The action with the largest Q value is selected to generate the decision.

13. A system according to any one of claims 9 to 12, It is characterized in that The system is also configured to: Acquire the experience data generated by the interaction between the agent and the environment, and store it in an experience replay pool; The agent is trained and network parameters are updated by randomly sampling the experience data from the experience replay pool.

14. A computer-readable storage medium storing one or more programs, It is characterized in that When the one or more programs are executed, the cable status monitoring method based on deep reinforcement learning described in any one of claims 1 to 8 can be implemented.

15. An electronic device comprising a processor, a communication interface, the computer-readable storage medium of claim 14, and a communication bus; in, The processor, the communication interface, and the computer-readable storage medium communicate electronically with each other via a communication bus; characterized in that: The processor is configured to execute a program stored in a computer-readable storage medium.

Citation Information

Patent Citations

  • Power distribution network load transfer method based on deep reinforcement learning

    CN112149347A

  • Power distribution network dynamic case auxiliary decision-making method, system and device and storage medium

    CN114298429A

  • Calculation unloading and resource allocation method and device based on Rainbow algorithm in Internet of Vehicles

    CN117880891A

  • Decision-making method based on deep reinforcement learning

    WO2022083029A1

Cited By

  • Railway port freight yard dispatching signal cable path integrated management method and system

    CN119471208A

  • Power cable insulation performance on-line monitoring method and device

    CN119936592A