A method and system for automating the patrol cycle of medium voltage distribution network based on machine learning

By processing distribution network line information through an artificial intelligence model based on machine learning, extracting characteristic values ​​and predicting inspection cycles, the problem of unreasonable inspection schedule arrangements in the existing technology is solved, and the optimal power supply state of the line operating status is achieved.

CN113780427BActive Publication Date: 2024-09-06STATE GRID JIANGSU ELECTRIC POWER CO LTD RESEARCH INSTITUTE +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111073925.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-14
Publication Date
2024-09-06
Estimated Expiration
2041-09-14

AI Technical Summary

Technical Problem

Existing technology makes it difficult to automatically predict and arrange inspection cycles of medium-voltage distribution network lines, resulting in unreasonable inspection plans and affecting line operating status.

Method used

An artificial intelligence model based on machine learning is used to obtain and process the basic information of distribution network lines and inspection teams, and extract characteristic values ​​such as line level, status, risk management and control level, number of historical power outages, number of external force failures, and inspection carrying capacity, etc. Data preprocessing and model training to predict patrol cycles.

Benefits of technology

It realizes data-driven inspection cycle prediction, avoids clueless human arrangements, arranges inspection tasks scientifically and rationally, and ensures the best power supply status of line operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113780427B
    Figure CN113780427B
Patent Text Reader

Abstract

The present invention discloses a method for detecting construction defects of main insulators of cable accessories, comprising obtaining a video of the construction of main insulators of cable accessories in real time, extracting a construction picture of the main insulators of cable accessories from the video; inputting the construction picture into a pre-trained defect recognition network to identify construction defects of the main insulators of cable accessories. A corresponding system is also disclosed. The present invention extracts construction pictures from real-time videos and uses a defect recognition network to perform defect recognition. Compared with manual recognition, the method has high efficiency and no missed detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a medium-voltage distribution network patrol cycle automation method and system based on machine learning, belonging to the technical field of medium-voltage distribution network line patrol cycle diagnosis. Background Art

[0002] Distribution network inspection is a standardized inspection work carried out by distribution operation and maintenance units in combination with the operating conditions of distribution network equipment and facilities, climate and environmental changes, and the requirements of superior operation and maintenance management departments. The line differentiated operation and maintenance strategy model is adopted, taking into account multiple sources of information such as frequent power outages, multi-factor failures, defects and hidden dangers, scientifically customizing line inspection tasks, and reasonably formulating inspection plans, initially transforming manual experience processing into data-driven analysis.

[0003] Therefore, the automation method of the patrol cycle of medium-voltage distribution networks is an important research topic. The research results can help operators to reasonably arrange line patrol plans in advance and maintain the lines in normal operation. Summary of the invention

[0004] The technical problem to be solved by the present invention is to overcome the defects of the prior art and provide a medium-voltage distribution network patrol cycle automation method and system based on machine learning, which can be used to predict the patrol cycle of distribution network lines of any scale. The method has simple calculation and clear principle, and can help distribution network operators to arrange and adjust the line operation status in time to ensure that the line is in the best power supply state.

[0005] In order to solve the above technical problems, the present invention provides a method for automating the patrol cycle of a medium voltage distribution network based on machine learning, comprising:

[0006] Obtain basic information of actual distribution network lines and corresponding inspection teams;

[0007] Based on the basic information of the actual distribution network lines and the corresponding inspection teams, the importance of the corresponding area of ​​each line, inspection data, corresponding distribution transformer data, fault elimination data, power outage data, and external force-caused fault data are extracted on a team basis;

[0008] Process the missing values ​​of the extracted data to obtain the completed extracted data;

[0009] From the completed extracted data, a total of 6 characteristic values ​​are extracted: line grade, line status, line risk control level, historical power outage times, historical external force failure times, and historical patrol carrying capacity of the corresponding team;

[0010] The six characteristic values ​​are input into a pre-trained artificial intelligence model based on machine learning to output the patrol cycle corresponding to each line.

[0011] Furthermore, the training process of the artificial intelligence model based on machine learning includes:

[0012] Obtain historical distribution network lines and basic information of corresponding inspection teams from the marketing system;

[0013] Based on the basic information of the distribution network lines and the corresponding inspection teams, the importance of the corresponding areas of each line, inspection data, corresponding distribution transformer data, fault elimination data, power outage data, and external force-caused fault data are obtained by team, and the missing values ​​of the data are processed to obtain the completed extracted data;

[0014] From the completed extracted data, six feature values ​​including line grade, line status, line risk control level, historical power outage times, historical external force failure times, and historical patrol carrying capacity of the corresponding team are extracted as machine learning data features, and the patrol cycle data of each line in the acquired historical data is added;

[0015] Determine a data set based on machine learning data features and patrol cycle data of each line corresponding to the machine learning data features in historical data;

[0016] Divide the data set to determine the training set and test set;

[0017] The artificial intelligence model is trained using the training set and the machine learning integrated algorithm XGBoost, and the trained artificial intelligence model is verified using the test set. Training and tuning are continued until the training effect is achieved to obtain a trained artificial intelligence model based on machine learning.

[0018] Furthermore, the acquisition of historical distribution network lines and corresponding patrol team basic information from the marketing system includes:

[0019] Select a certain city and obtain all the distribution network lines and their corresponding patrol team information under the city.

[0020] Furthermore, the missing value processing includes:

[0021] For the missing values ​​in the acquired data, linear interpolation method is used to complete the values.

[0022] Furthermore, the six characteristic values ​​of line grade, line status, line risk control level, historical power outage times, historical external force failure times, and historical patrol carrying capacity of the corresponding team are extracted from the completed extracted data as machine learning data features, and the patrol cycle data of each line in the acquired historical data is added, including:

[0023] According to the distribution transformer conditions under the line and the importance of the area contained in the line, the line grade index is obtained;

[0024] According to the line fault elimination data, the line status index is obtained;

[0025] According to the line level and line status, the line risk control level indicators are obtained;

[0026] According to the number of power outages on the line in the past three months, the historical power outage index of the line is obtained;

[0027] According to the number of faults caused by external factors in the past three years, the external factor fault index is obtained;

[0028] According to the number of lines inspected by the team corresponding to the line in the past month, the team's historical inspection carrying capacity is obtained;

[0029] Add historical inspection cycles for each line based on historical data.

[0030] Furthermore, dividing the data set to determine the training set and the test set includes:

[0031] The data set is divided into 7:3, 70% is used as the training set to train the artificial intelligence model, and 30% is used as the validation set to test the model training effect and model tuning.

[0032] Furthermore, the learning ensemble algorithm XGBoost is:

[0033] The decision tree is used as the base learner, and several base learners are combined to form a strong learner, and the model evaluation index is the R2 value.

[0034] A medium voltage distribution network patrol cycle automation system based on machine learning, comprising:

[0035] The acquisition module is used to obtain the basic information of the actual distribution network lines and the corresponding patrol teams;

[0036] The first extraction module is used to extract the importance of the corresponding area of ​​each line, inspection data, corresponding distribution transformer data, fault elimination data, power outage data, and external force-caused fault data based on the actual distribution network lines and the corresponding patrol team basic information obtained by the team;

[0037] A preprocessing module is used to process missing values ​​of the extracted data to obtain the completed extracted data;

[0038] The second extraction module is used to extract six characteristic values, including line grade, line status, line risk control level, historical power outage times, historical external force failure times, and historical patrol carrying capacity of the corresponding team, from the completed extraction data;

[0039] The model processing module is used to input the six characteristic values ​​into a pre-trained artificial intelligence model based on machine learning, and output the patrol cycle corresponding to each line.

[0040] A computer-readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computing device, cause the computing device to perform any of the methods described.

[0041] A computing device comprising:

[0042] One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for executing any of the methods described.

[0043] The beneficial effects achieved by the present invention are:

[0044] (1) The present invention learns the characteristics of massive historical line patrol cycle data in a data-driven manner, extracts six characteristic values ​​that affect the line patrol cycle, and avoids artificially arranging patrols without any clue.

[0045] (2) The present invention can assign reasonable influence weights according to various influencing factors in line inspection, and scientifically and reasonably arrange inspection routes for operating personnel.

[0046] (3) The present invention has simple calculation and clear principle, and can help distribution network operators arrange line inspections in a timely manner and ensure the normal operation of the line to the greatest extent, thus having good application prospects. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 It is a flow chart of the medium voltage distribution network patrol cycle automation method based on machine learning of the present invention. DETAILED DESCRIPTION

[0048] The present invention will be further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present invention.

[0049] The application principle of the present invention is described in detail below in conjunction with the accompanying drawings.

[0050] Example 1

[0051] like Figure 1 As shown, an embodiment of the present invention provides a method for automating a medium voltage distribution network patrol cycle based on machine learning, comprising the following steps:

[0052] Step (A) obtains the basic information of the route and corresponding patrol team from the marketing system;

[0053] In a specific implementation of the embodiment of the present invention, the specific implementation process of step (A) is:

[0054] Select a city, take all the routes and their corresponding patrol team information in the city, and generate a route set L = {L1, L2, ..., L m}, where m is the number of routes that each team needs to arrange for patrol cycles.

[0055] Step (B) based on the acquired line and corresponding team information, the importance of the corresponding area of ​​each line, patrol data, corresponding distribution transformer data, fault elimination data, power outage data, and external force-caused fault data are obtained in units of teams, and data preprocessing is performed on the data, mainly including missing value processing, including the following steps:

[0056] In a specific implementation of the embodiment of the present invention, the step (B) specifically includes the following sub-steps:

[0057] Step 1: After extracting the data, check whether there are missing values ​​in the corresponding data of the exported lines. If there are missing values, proceed to step 2; if not, proceed to the next step;

[0058] Step 2: If there is missing data, the linear interpolation method is used to complete the original collected line data to obtain the line data after data completion.

[0059] The linear interpolation method is used to complete the original collected data. The basic idea is to make the interpolation function approximately replace the original function. The interpolation function is a first-order polynomial type, and the interpolation error at each interpolation node is required to be 0. Assume that the original data f(x i ), where x i (i=0,1,2,3,…,n), n is the length of the original sampled data, and now linear interpolation constructs a function Make the absolute value of the error |R(x)| relatively small in the entire original data interval, that is:

[0060]

[0061]

[0062] Now based on the constructed interpolation function If the original data is missing at i=m, that is, f(m) is a null value, then Complete the missing data of the original sampling.

[0063] Step (C) extracts six characteristic values, including line grade, line status, line risk control level, historical power outage times, historical external force failure times, and historical patrol carrying capacity of the corresponding team, as machine learning data features, and adds patrol cycle data of each line in the historical data, including the following steps;

[0064] In a specific implementation of the embodiment of the present invention, the step (C) specifically includes the following steps:

[0065] Line level indicators:

[0066] Mainly based on the distribution transformer conditions under the line and the importance of the covered area;

[0067] First obtain the corresponding distribution transformer and the industry it belongs to under the line;

[0068] If the corresponding industry of power distribution is one of "national administrative agencies", "other national agencies", "various hospitals", "urban public transportation", "primary medical and health services", "national power agencies", "people's courts and people's procuratorates", "professional public health services", "social security", "railway passenger transportation", "Communist Party of China organs", "cable radio and television transmission services", "television", "radio and television integrated broadcast control", "news industry", "earthquake services", "People's Political Consultative Conference", then the line level is considered to be 1;

[0069] If the importance of the area corresponding to the line is A + If the importance of the area is A or B, the line is considered to be level 1; if the importance of the area is B or C, the line is considered to be level 2; if the importance of the area is B or C, the line is considered to be level 3; the rest of the lines are considered to be level 4;

[0070] Line status indicators:

[0071] The classification is mainly based on the line fault elimination data. If the number of historical fault eliminations is less than 2, the line status level is 4; if the number of historical fault eliminations is within the range of [2,5], the line status level is 3; if the number of historical fault eliminations is greater than 5 or there is a serious fault elimination situation on the day, the line status level is 1;

[0072] Line risk management and control level indicators:

[0073] It is mainly divided according to the line grade and line status; when the line status is level 1, the risk control level is emergency; when the line status is level 2 and the line grade is in the range of [1,2], or the line status and grade are both level 3, the risk control level is level 1; when the line status is level 2 and the line grade is level 3, or the line status is level 3 and the line grade is level 2, or the line status is level 4 and the line grade is level 1, the risk control level is level 2; when the line status is level 2 and the line grade is level 4, or the line status is level 3 and the line grade is level 3, or the line status is level 4 and the line grade is level 2, the risk control level is level 3; in other cases, the line risk control level is level 4;

[0074] Fourth, the historical power outage indicators of the line:

[0075] That is, the corresponding number of power outages on each line in the past three months;

[0076] Five are the fault indicators caused by external forces:

[0077] That is, the number of faults caused by external factors in the corresponding line in the past three years;

[0078] Sixth, the historical inspection capacity of the team:

[0079] That is, the number of lines inspected by the corresponding team in the past month;

[0080] Finally, the patrol cycle data of each line in the historical data is added to form a sample set

[0081] Step (D) divides the data set into 7:3, with 70% used as a training set to train the artificial intelligence model and 30% used as a validation set to test the model training effect and model tuning;

[0082] Step (E) uses XGBoost, an integrated algorithm in machine learning, to train the model and perform model evaluation on the trained model;

[0083] In a specific implementation of the embodiment of the present invention, the step (E) specifically includes the following steps:

[0084] The index evaluation index is R 2 , which is calculated as:

[0085]

[0086] in, is the predicted value, y is the actual value, is the average value, and the final evaluation index R 2 The result is 0.947, and the index values ​​are all high, indicating that the model training effect is good.

[0087] Step (F) uses the trained model to batch predict the patrol cycle of the actual distribution network line;

[0088] In a specific implementation of the embodiment of the present invention, the step (F) specifically includes the following steps:

[0089] After the model prediction accuracy meets the requirements, the trained model is used to batch predict the line inspection cycle in the actual medium-voltage distribution network. That is, the data of each line is batch processed and the required feature values ​​are extracted, which are sent to the model for calculation, and finally the lines and their corresponding inspection cycles are output.

[0090] Correspondingly, the present invention also provides a medium voltage distribution network patrol cycle automation system based on machine learning, comprising:

[0091] The acquisition module is used to obtain the basic information of the actual distribution network lines and the corresponding patrol teams;

[0092] The first extraction module is used to extract the importance of the corresponding area of ​​each line, inspection data, corresponding distribution transformer data, fault elimination data, power outage data, and external force-caused fault data based on the actual distribution network lines and the corresponding patrol team basic information obtained by the team;

[0093] A preprocessing module is used to process missing values ​​of the extracted data to obtain the completed extracted data;

[0094] The second extraction module is used to extract six characteristic values, including line grade, line status, line risk control level, historical power outage times, historical external force failure times, and historical patrol carrying capacity of the corresponding team, from the completed extraction data;

[0095] The model processing module is used to input the six characteristic values ​​into a pre-trained artificial intelligence model based on machine learning, and output the patrol cycle corresponding to each line.

[0096] The present invention also provides a computer-readable storage medium storing one or more programs, wherein the one or more programs include instructions, and when the instructions are executed by a computing device, the computing device performs any of the methods described.

[0097] The present invention also provides a computing device, comprising:

[0098] One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for executing any of the methods described.

[0099] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0100] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0101] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0102] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0103] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for automating the patrol cycle of a medium voltage distribution network based on machine learning, characterized in that: include: Obtain basic information of actual distribution network lines and corresponding inspection teams; Based on the basic information of the actual distribution network lines and the corresponding inspection teams, the importance of the corresponding area of ​​each line, inspection data, corresponding distribution transformer data, fault elimination data, power outage data, and external force-caused fault data are extracted on a team basis; Process the missing values ​​of the extracted data to obtain the completed extracted data; From the completed extracted data, a total of 6 characteristic values ​​are extracted: line grade, line status, line risk control level, historical power outage times, historical external force failure times, and historical patrol carrying capacity of the corresponding team; The six eigenvalues ​​are input into a pre-trained artificial intelligence model based on the integrated algorithm XGBoost, and the patrol cycle corresponding to each line is output; The six characteristic values ​​of line grade, line status, line risk control level, historical power outage times, historical external force failure times, and historical patrol carrying capacity of the corresponding team are extracted from the completed extracted data as machine learning data features, and the patrol cycle data of each line in the acquired historical data is added, including: According to the distribution transformer conditions under the line and the importance of the area contained in the line, the line grade index is obtained; According to the line fault elimination data, the line status index is obtained; According to the line level and line status, the line risk control level indicators are obtained; According to the number of power outages on the line in the past three months, the historical power outage index of the line is obtained; According to the number of faults caused by external factors in the past three years, the external factor fault index is obtained; According to the number of lines inspected by the team corresponding to the line in the past month, the team's historical inspection carrying capacity is obtained; Add historical inspection cycles for each line based on historical data.

2. The method for automating the patrol cycle of a medium voltage distribution network based on machine learning according to claim 1 is characterized in that: The training process of the artificial intelligence model based on machine learning includes: Obtain historical distribution network lines and basic information of corresponding inspection teams from the marketing system; Based on the basic information of the distribution network lines and the corresponding inspection teams, the importance of the corresponding areas of each line, inspection data, corresponding distribution transformer data, fault elimination data, power outage data, and external force-caused fault data are obtained by team, and the missing values ​​of the data are processed to obtain the completed extracted data; From the completed extracted data, six feature values ​​including line grade, line status, line risk control level, historical power outage times, historical external force failure times, and historical patrol carrying capacity of the corresponding team are extracted as machine learning data features, and the patrol cycle data of each line in the acquired historical data is added; Determine a data set based on machine learning data features and patrol cycle data of each line corresponding to the machine learning data features in historical data; Divide the data set to determine the training set and test set; The artificial intelligence model is trained using the training set and the machine learning integrated algorithm XGBoost, and the trained artificial intelligence model is verified using the test set. Training and tuning are continued until the training effect is achieved to obtain a trained artificial intelligence model based on machine learning.

3. The method for automating the patrol cycle of a medium voltage distribution network based on machine learning according to claim 2 is characterized in that: The acquisition of historical distribution network lines and corresponding patrol team basic information from the marketing system includes: Select a certain city and obtain all the distribution network lines and their corresponding patrol team information under the city.

4. The method for automating the patrol cycle of a medium voltage distribution network based on machine learning according to claim 2 is characterized in that: The missing value processing includes: For the missing values ​​in the acquired data, linear interpolation method is used to complete the values.

5. The method for automating the patrol cycle of a medium voltage distribution network based on machine learning according to claim 2 is characterized in that: The step of dividing the data set to determine the training set and the test set includes: The data set is divided into 7:3, 70% as the training set to train the artificial intelligence model, and 30% as the validation set to test the model training effect and model tuning.

6. The method for automating the patrol cycle of a medium voltage distribution network based on machine learning according to claim 2 is characterized in that: The learning ensemble algorithm XGBoost is: The decision tree is used as the base learner, and several base learners are combined to form a strong learner, and the model evaluation index is the R2 value.

7. A medium voltage distribution network patrol cycle automation system based on machine learning, characterized in that: include: The acquisition module is used to obtain the basic information of the actual distribution network lines and the corresponding patrol teams; The first extraction module is used to extract the importance of the corresponding area of ​​each line, inspection data, corresponding distribution transformer data, fault elimination data, power outage data, and external force-caused fault data based on the actual distribution network lines and the corresponding patrol team basic information obtained by the team; A preprocessing module is used to process missing values ​​of the extracted data to obtain the completed extracted data; The second extraction module is used to extract six characteristic values, including line grade, line status, line risk control level, historical power outage times, historical external force failure times, and historical patrol carrying capacity of the corresponding team, from the completed extraction data; A model processing module is used to input the six characteristic values ​​into a pre-trained artificial intelligence model based on the integrated algorithm XGBoost, and output the patrol cycle corresponding to each line; The six characteristic values ​​of line grade, line status, line risk control level, historical power outage times, historical external force failure times, and historical patrol carrying capacity of the corresponding team are extracted from the completed extracted data as machine learning data features, and the patrol cycle data of each line in the acquired historical data is added, including: According to the distribution transformer conditions under the line and the importance of the area contained in the line, the line grade index is obtained; According to the line fault elimination data, the line status index is obtained; According to the line level and line status, the line risk control level indicators are obtained; According to the number of power outages on the line in the past three months, the historical power outage index of the line is obtained; According to the number of faults caused by external factors in the past three years, the external factor fault index is obtained; According to the number of lines inspected by the team corresponding to the line in the past month, the team's historical inspection carrying capacity is obtained; Add historical inspection cycles for each line based on historical data.

8. A computer-readable storage medium storing one or more programs, characterized in that: The one or more programs include instructions which, when executed by a computing device, cause the computing device to perform any one of the methods according to claims 1 to 6.

9. A computing device, characterized in that include, One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for executing any one of the methods according to claims 1 to 6.