A method for optimizing inspection path of public power distribution complete equipment
By calculating the clustering of equipment health and spatial attributes, and combining improved gray wolf optimization and ant colony algorithm to generate inspection paths and make dynamic corrections, the problem of equipment health not being considered in the existing technology is solved, and the inspection efficiency is improved by balancing equipment risk and reducing operation and maintenance costs.
Patent Information
- Application Number
- CN202611680873.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-28
- Publication Date
- 2026-11-24
AI Technical Summary
Existing inspection path optimization methods fail to effectively combine equipment health and spatial characteristics, resulting in high-risk equipment being assigned to the back end of the inspection sequence, leading to low overall inspection efficiency.
Health status is calculated by collecting equipment attributes and operation and maintenance data, and clustering is performed by combining spatial attributes. A two-layer iterative feedback model combining the improved gray wolf optimization algorithm and ant colony algorithm is adopted to generate inspection paths that take into account both equipment risks and operation and maintenance costs, and local corrections are made using a dynamic window algorithm.
It achieves balanced equipment risk and improved operational efficiency in multi-shift inspection scenarios, reduces maintenance costs, adapts to complex working conditions, and enhances the practicality and adaptability of inspection paths.
Smart Images

Figure CN123159643A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of maintenance, repair, operation and management technology, specifically to a method for optimizing inspection routes of public power distribution equipment. Background Technology
[0002] With the continuous expansion of urban and rural power distribution networks, the number of public power distribution complete sets of equipment such as ring main units, prefabricated substations, cable branch boxes, and terminal boxes has been increasing year by year. The equipment locations are scattered in different areas such as urban streets and alleys, towns and villages. Routine inspection is the core operation and maintenance work to ensure the safe and reliable operation of power distribution equipment. The reasonable planning of inspection routes directly determines the manpower, vehicle and time costs of power distribution network operation and maintenance. Therefore, inspection route optimization technology has become a key research direction in the field of power distribution operation and maintenance.
[0003] Currently, most methods for optimizing inspection routes employ ant colony path planning based on geographical distance. This method involves inspection teams manually compiling basic equipment information and determining the order of equipment inspections based on experience. It uses the geographical coordinates of power distribution equipment as the sole parameter to cluster points and divide inspection areas. The ant colony algorithm generates a fixed initial inspection route based solely on the straight-line distance between points. When changes in on-site conditions occur during the inspection, on-site personnel manually adjust the inspection route.
[0004] However, this inspection path optimization method only focuses on spatial distance to complete the entire process design, and cannot introduce the inspection priority corresponding to the equipment health in the path modeling stage. As a result, high-fault-risk power distribution equipment is often assigned to the back end of the inspection sequence, ultimately leading to low overall inspection efficiency. Summary of the Invention
[0005] To address the shortcomings of existing technologies, this invention provides a method for optimizing inspection routes of public power distribution equipment, thereby resolving the problems existing in the background technology.
[0006] To achieve the above objectives, the present invention provides a method for optimizing inspection routes of public power distribution equipment, comprising the following steps: Step S1: Collect equipment attribute data and operation and maintenance attribute data of public power distribution complete sets of equipment, calculate the equipment health status based on the equipment attribute data and operation and maintenance attribute data, and generate inspection priority; Step S2: Collect spatial attribute data of public power distribution equipment. Based on the inspection priority and spatial attribute data, use a clustering algorithm to cluster the public power distribution equipment to obtain the inspection area. Step S3: Collect historical inspection information and construct the spatiotemporal constraint factor. Input the inspection area and the spatiotemporal constraint factor into the inspection path optimization model built by the upper-level improved gray wolf optimization algorithm and the middle-level improved ant colony algorithm through double-layer iterative feedback coupling, and output the initial optimal path. Step S4: Collect real-time inspection data. Based on the real-time inspection data, use a dynamic window algorithm to locally correct the initial optimal path to obtain the inspection path for the complete set of power distribution equipment. This method forms a complete inspection path planning process, including data rating, clustering and partitioning, global optimization, and dynamic correction. Each step is interconnected and logically closed-loop. First, the inspection priority is divided according to the equipment status. Then, the inspection area is divided according to spatial characteristics. The initial path is generated by relying on dual intelligent algorithms, which takes into account the balance of multiple shifts and time and space costs. Finally, the dynamic algorithm is used to adapt to sudden on-site conditions. The whole process abandons the drawbacks of traditional manual planning and static paths, takes into account equipment risks, operation efficiency and maintenance costs, and is suitable for inspection scenarios of large-scale, multi-shift, and complex operating conditions of public power distribution equipment. Its practicality and adaptability are significantly improved.
[0007] Preferably, the equipment attribute data and operation and maintenance attribute data of public power distribution complete sets of equipment collected include: Collect equipment attribute data of the public power distribution complete set of equipment. Obtain equipment attribute data describing the inherent characteristics of the equipment from the equipment asset management platform through the equipment code of each public power distribution complete set of equipment, including equipment type and model, years of operation and address text description; Simultaneously, the operation and maintenance attribute data of the public power distribution complete set of equipment is collected. The operation and maintenance attribute data is obtained through the business platform and data change service, including historical fault frequency, defect level, previous maintenance records, real-time operating load, environmental meteorological parameters and inspection cycle. This solution clarifies the specific content and collection channels for two types of data: equipment attributes and operation and maintenance attributes. It relies on the existing power business platform to automatically complete data acquisition, ensuring that the data source is comprehensive, authentic, and verifiable. This guarantees the accuracy of equipment health assessment results from the source and lays a solid data foundation for subsequent processes.
[0008] Preferably, the equipment health status is calculated based on the equipment attribute data and maintenance attribute data, and the inspection priority is generated, including: For the For each public power distribution complete set of equipment, its equipment attribute data and operation and maintenance attribute data are input into a comprehensive equipment health assessment model to calculate its equipment health. The calculation formula is a weighted sum of the scores of each influencing factor. After calculating the equipment health status, the equipment health status is converted into inspection priority.
[0009] Preferably, the spatial attribute data collected for public power distribution equipment includes: Collect spatial attribute data of all public power distribution equipment, including but not limited to spatial coordinates and on-site traffic environment data; the on-site traffic environment data includes at least the road level, real-time road status and key obstacle information of the accessible path of the equipment point. The road level data is obtained by matching from the urban road basic geographic information database, the real-time road status is obtained through the real-time traffic data interface of the integrated traffic information platform, and the key obstacle information is obtained by analyzing historical inspection records. The composition of spatial attribute data and its corresponding acquisition methods are refined, and on-site traffic information such as coordinates, road conditions, and obstacles is fully collected to accurately restore the actual inspection environment and avoid the landing deviation caused by simply relying on geographic coordinates to plan the path.
[0010] Preferably, based on the inspection priority and spatial attribute data, a clustering algorithm is used to cluster the public power distribution equipment to obtain the inspection areas, including: By combining the generated equipment inspection priority and spatial attribute data, a clustering feature vector that integrates the spatial attribute data and inspection priority information is constructed for public power distribution complete sets of equipment; After obtaining the clustering feature vectors of all devices, the K-means clustering algorithm is used to partition the n devices into groups. The inspection area is eventually divided into K inspection areas; We construct feature vectors that integrate spatial information and inspection priorities, and use the K-means algorithm to partition the area. The clustering process takes into account both the geographical location of the equipment and the risk level, resulting in more reasonable inspection areas and effectively reducing inspection backtracking and resource waste.
[0011] Preferably, the spatiotemporal constraint factors obtained by collecting historical inspection information include: Retrieve historical inspection information from the historical inspection record database to obtain the actual driving trajectory coordinate sequence recorded in past inspection tasks, the travel time of each road segment at different time periods, and the fuel consumption data corresponding to the inspection team; based on the historical inspection information, construct mileage cost factor, time loss factor, and economic loss factor for route cost assessment respectively. A mileage cost factor is constructed based on the actual driving trajectory coordinate sequence recorded in past inspection tasks. The mileage cost factor represents the distance cost incurred by driving on any candidate path. A time loss factor is constructed based on the travel time of each road segment in different time periods. The time loss factor represents the estimated time cost required to start execution at the planned departure time and travel along the candidate path. An economic loss factor is constructed based on the fuel consumption data corresponding to the inspection team, and the economic loss factor is strongly correlated with the time loss factor. Finally, the three factors mentioned above are normalized and then weighted and fused to construct the spatiotemporal constraint factor; Based on historical inspection data, three cost factors—mileage, time, and economy—are constructed and integrated into a unified spatiotemporal constraint factor. Actual traffic losses are incorporated into the planning basis, so that route planning is no longer limited to physical distance and effectively controls overall operation and maintenance costs.
[0012] Preferably, the inspection area and spatiotemporal constraint factors are input into the inspection path optimization model constructed by a two-layer iterative feedback coupling of the upper-layer improved gray wolf optimization algorithm and the middle-layer improved ant colony algorithm, and the output of the initial optimal path includes: The multiple inspection areas obtained by clustering and the spatiotemporal constraint factors are input into the pre-constructed inspection path optimization model. The inspection path optimization model is constructed by an upper-level task allocation module based on the improved gray wolf optimization algorithm and a middle-level global path planning module based on the improved ant colony algorithm through iterative feedback coupling. The upper-level task allocation module is based on the improved Grey Wolf Optimization Algorithm. It improves the fixed-weight position update method and solution acceptance mechanism of the traditional Grey Wolf Optimization Algorithm to adopt a dynamic weighting rule during position update and integrates the Metropolis acceptance criterion of simulated annealing. The upper-level task allocation module models the multi-shift collaborative inspection scenario as a multi-traveling salesman problem, adopts a multinomial objective function that includes the variance of comprehensive inspection cost, health score and path cost, outputs the task area allocation scheme and sends it to the middle-level global path planning module. After receiving the allocation scheme, the mid-level global path planning module completes refined global path planning for the equipment locations in the corresponding area of each work group, calculates the comprehensive time and space cost of each work group's path, and sends it back to the upper-level task allocation module. The upper-level task allocation module and the middle-level global path planning module iterate in a loop and provide bidirectional feedback until the task allocation and path sequence converge synchronously, and output the initial optimal path after collaborative optimization. An improved gray wolf optimization algorithm is used to build a two-layer iterative model. Combined with a multi-objective function, task allocation for multiple shifts can be carried out. This can effectively avoid the local optimum problem of the algorithm, achieve load balancing of shifts, and ensure that task allocation and path planning are coordinated to reach the optimal state.
[0013] Preferably, the mid-level global path planning module includes: This mid-level global path planning module employs an improved ant colony algorithm. It transforms the traditional ant colony algorithm's state transition rules, which are based solely on distance, into a system that integrates pheromone accumulation, device risk priority, and dynamic spatiotemporal cost to calculate the probability of an ant moving from device point i to point j. An adaptive backoff strategy is introduced, allowing ants to backoff to the previous node with a certain probability when their path search stalls or path costs surge abnormally. Simultaneously, the global pheromone update mechanism is improved, allocating higher pheromone increments to high-quality paths with lower overall spatiotemporal costs. The state transition rules and pheromone mechanism of the ant colony algorithm are optimized and a backoff strategy is added. The path search is carried out by integrating device priority and time and space cost, which solves the problem of easy stagnation in traditional algorithm search and improves the quality of global path search.
[0014] Preferably, the real-time inspection data collected includes: Collect real-time inspection data from the start of the inspection operation until the end of the task; the real-time inspection data includes, but is not limited to, information on temporary road closures for construction, current road network traffic congestion index, traffic speed on key road sections, weather warning information, equipment failure alarm signals, temporary emergency inspection work orders and their associated equipment locations, defect levels and obstacle information; The system comprehensively defines the types and scope of real-time inspection data, enabling it to fully capture various dynamic changes such as road conditions, weather, equipment alarms, and emergency work orders. This ensures that the dynamic path correction process can promptly detect on-site disturbances, providing more complete data support.
[0015] Preferably, based on the real-time inspection data, a dynamic window algorithm is used to locally correct the initial optimal path, resulting in an inspection path for the power distribution equipment including: The dynamic window algorithm simulates and predicts the future trajectory of the inspection vehicle based on the motion state and real-time environmental information within each control cycle, and generates a dynamic window speed set by taking the intersection of three constraints. The three constraints include: the basic allowable speed set corresponding to the vehicle's mechanical limits, the achievable speed set corresponding to the motor's acceleration and deceleration performance, and the safe braking constraint set corresponding to real-time road conditions and obstacles. For each set of speeds within the dynamic window speed set, a corresponding predicted trajectory is generated. A comprehensive evaluation function, which includes five evaluation dimensions such as heading alignment, safe clearance, driving speed, target distance, and global path deviation, is used to score the trajectory and select the optimal predicted trajectory. The dynamic window algorithm is executed in a loop, and the optimal speed is output and sent to the inspection vehicle. After local path correction is completed segment by segment, the complete inspection path of the power distribution equipment is obtained by splicing together. By clearly defining the operating logic, constraints, and filtering rules of the dynamic window algorithm, adaptive corrections are made only to local paths without the need for global replanning. While adhering to the initial optimal path, it can quickly adapt to changes in the field, resulting in higher path adjustment efficiency.
[0016] This invention provides a method for optimizing inspection routes of public power distribution equipment, involving image processing and deep learning technologies, which has the following beneficial effects: (1) By improving the Grey Wolf optimization algorithm, the multi-shift multi-to-multi inspection task allocation is completed. The multi-shift inspection scenario is modeled as a multi-traveling salesman problem. The iteration logic is optimized by combining dynamic weighting rules with simulated annealing acceptance criteria. This effectively solves the problem that traditional algorithms are prone to getting trapped in local optima, completely eliminates inspection blind spots and duplicate inspections of points, and achieves a balanced distribution of inspection mileage, high-risk equipment ratio, and working hours for each shift. It also reasonably distributes the maintenance load, ensures the orderly conduct of inspection work from the task allocation level, and significantly improves the overall operating efficiency of distribution network inspection.
[0017] (2) By adopting an improved ant colony algorithm for static global path optimization, the algorithm's state transition rules and pheromone update mechanism are optimized, and an adaptive backoff strategy is added. This overcomes the shortcomings of traditional ant colony algorithms, such as single objective and easy stagnation in search. It achieves multi-objective global optimization among inspection mileage, travel time, vehicle fuel consumption cost, and equipment failure risk. It can prioritize the inspection of high-risk power distribution equipment, effectively reduce inspection time and maintenance costs while ensuring the safe operation of power distribution equipment, and output the static baseline path with the best overall benefits for on-site inspection.
[0018] (3) Dynamic local path correction is achieved through a dynamic window algorithm. Based on the previously generated global optimal path, only the disturbed local road segments and points are replanned, without the need for global recalculation of the entire path. This significantly improves the response speed of path adjustment. Combined with vehicle kinematic constraints and safety obstacle avoidance rules, the driving trajectory is optimized, and temporary emergency inspection points can be flexibly inserted. This mode solves the shortcomings of traditional static paths in adapting to sudden on-site situations, takes into account both the global planning objectives and complex on-site conditions, ensures the continuous and safe progress of inspection operations, and greatly improves the practicality of the path scheme in the field. Attached Figure Description
[0019] Figure 1 This is a flowchart of a method for optimizing inspection routes of public power distribution equipment proposed in this invention.
[0020] Figure 2 The present invention proposes a method for optimizing the inspection path of public power distribution equipment to obtain a hierarchical map of the inspection area.
[0021] Figure 3 The present invention proposes a method for optimizing the inspection path of public power distribution equipment to obtain a hierarchical diagram of the inspection path of power distribution equipment.
[0022] Figure 4The present invention proposes a method for optimizing the inspection path of public power distribution equipment, which yields a set of 120 ring main unit devices and a distribution map of the inspection points in four inspection areas.
[0023] Figure 5 The present invention provides a method for optimizing the inspection path of public power distribution equipment, which yields the convergence curve of the objective function Z for the two-layer model iteration of the inspection path of the power distribution equipment from generation 0 to 80. Detailed Implementation
[0024] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0025] Please see Figures 1-3 This invention provides a technical solution: a method for optimizing the inspection path of public power distribution equipment. In this embodiment, the public power distribution equipment includes ring main units, prefabricated substations, cable branch boxes, and terminal boxes. Specifically, the following method for optimizing the inspection path of public power distribution equipment is provided; please refer to [link / reference]. Figure 1 The method includes the following steps: Step S1: Collect equipment attribute data and operation and maintenance attribute data of public power distribution complete sets of equipment, calculate the equipment health status based on the equipment attribute data and operation and maintenance attribute data, and generate inspection priority.
[0026] The core task of this step is to provide a basis for decision-making in subsequent path optimization, namely, to determine which equipment needs to be inspected more and given higher priority. To achieve this goal, it is first necessary to comprehensively collect multi-source data reflecting the static and dynamic status of the equipment, then calculate the quantified equipment health status through a comprehensive evaluation model, and finally convert this health status into priority indicators that can directly guide the inspection sequencing.
[0027] By integrating multiple information platforms within the enterprise, two types of data are automatically acquired. The first type is equipment attribute data, which belongs to the static inherent data of the equipment. Through the equipment code of each public power distribution complete set of equipment, data describing its inherent characteristics is automatically retrieved from the equipment asset management platform. This mainly includes: equipment type, specific model, years of operation, and textual description of the installation location. The second type is operation and maintenance attribute data, which belongs to the dynamic operation data of the equipment. By connecting to the production management business platform and monitoring relevant data change service interfaces, historical operation and maintenance data are acquired in real time or periodically. This mainly includes: the number of historical faults, currently unresolved defects and their levels, detailed records of each maintenance and repair, real-time monitored operating load data, meteorological parameters such as temperature and humidity of the microenvironment in which the equipment is located, and the inherent inspection cycle set according to the procedures. All business platforms uniformly adopt HTTPS+JSON standardized API interfaces to complete cross-platform data interaction, and the data synchronization and refresh cycle is set to 5 minutes. If abnormal scenarios such as interface request timeout, missing key fields, or out-of-bounds values occur, the system will automatically retrieve cached data from the previous cycle to temporarily fill the gaps. If three consecutive collection failures occur, the local offline cache reading mechanism will be triggered to ensure a continuous and stable supply of full data sources from devices and operations and maintenance, without interrupting the calculation of the health model.
[0028] Because the collected raw data has issues with inconsistent formats and different units, it is necessary to perform data cleaning, transformation, and standardization sequentially to generate indicator scores that can be used for health assessment. Data cleaning includes data deduplication, missing value completion, and outlier removal. Differentiated standardization methods are used for different types of indicators. Specifically, for continuous numerical indicators such as years in operation, failure frequency, and operating load, minimum-maximum normalization is used, mapping them uniformly to a scoring range of [1, 10]. For example, the closer the operating load is to the design limit, the higher its corresponding score. The lower the score, the better. For qualitative indicators such as defect level and equipment model, quantitative mapping is performed based on industry standards or expert knowledge. For example, critical defects are mapped to a score of 1, serious defects to a score of 3, and general defects to a score of 7. For maintenance records, the time since the last major overhaul can be extracted as a derived indicator. The longer the time, the lower the score.
[0029] It should be noted that the qualitative indicator complete quantitative mapping rule includes two parts. The first is the defect level quantitative rule: no defects and equipment in good condition correspond to a score of 10, general defects correspond to a score of 7, serious defects correspond to a score of 3, and critical defects correspond to a score of 1. The higher the defect risk level, the lower the corresponding indicator score. The second is the equipment model quantitative rule, which is divided according to the equipment's manufacturing service years and product iteration generation. Old and obsolete models are matched with the low score range, and new standardized complete sets of power distribution equipment are matched with the high score range. The higher the aging degree of the model, the lower the corresponding indicator score.
[0030] After completing data preprocessing, for the first... Each public power distribution complete set of equipment, its various indicators are standardized and scored. The device health comprehensive assessment model is used to calculate the device health score using a linear weighted summation method. The formula is as follows: ; in, Indicates the first The lower the health score of a device, the worse its health condition is generally considered to be. The total number of evaluation indicators; For the first The standardized score values of the evaluation indicators obtained after the above preprocessing; i is the serial number of the public power distribution complete set of equipment; j is the serial number of the individual evaluation indicator; For the first The weights corresponding to the evaluation indicators satisfy the following conditions: Weight The determination of the indicators was accomplished using the Analytic Hierarchy Process (AHP). First, domain experts compared each evaluation indicator pairwise, constructing a judgment matrix based on their relative importance. The indicator comparison adopted the AHP's general 1-9 scale rule, defined as follows: 1 for equal importance, 3 for slightly more important than the latter, 5 for significantly more important than the latter, 7 for strongly more important than the latter, and 9 for extremely more important than the latter. The intermediate importance levels between adjacent levels correspond to scales 2, 4, 6, and 8. In this embodiment, four core indicators of power distribution equipment—years in operation, fault frequency, defect level, and operating load—were selected for pairwise comparison to construct a specific judgment matrix adapted to the power distribution network equipment health assessment scenario. Subsequently, the eigenvector of this judgment matrix was calculated and normalized to obtain the initial weights of each indicator. Finally, a consistency check was performed. During the consistency check, the consistency index CI was calculated first, and then combined with the random consistency index RI to determine the consistency ratio. Calculate when the number of indicators The corresponding random consistency index The industry-standard judgment is If the threshold is met, it is determined that the judgment matrix constructed by the expert scores has no significant logical contradiction, ensuring the logical consistency of the expert judgments. Only the weights that pass the test can be used for health score calculation.
[0031] Calculate the equipment health status Then, it needs to be converted into an intuitive inspection priority. The core principle of the conversion is that the worse the equipment's health, the higher its inspection priority. The higher the value, the better, specifically based on the equipment's health status. The value range is divided into several level intervals, and an inspection priority is assigned to each interval. For example, emergency level representatives Corresponding inspection priority =4; High-level representative Corresponding inspection priority =3; Medium level representative Corresponding inspection priority =2; lower level representative Corresponding inspection priority =1. The above-mentioned grading thresholds are clearly determined based on the health status classification standards for power distribution equipment, combined with industry standards for the operation and maintenance of public power distribution equipment and long-term on-site operating experience. Inspection Priority The higher the value, the higher the inspection priority; within the same level, further ranking can be based on equipment health status. Perform a second sorting in ascending order to ensure that, under the same level of urgency, devices in worse condition are prioritized.
[0032] To ensure the accuracy and reliability of this step, a stable and standardized data interface needs to be established in engineering practice to ensure that data can be automatically and accurately extracted and integrated from heterogeneous data sources such as asset management platforms and production management systems; a configurable indicator quantification and weight management module should be built to allow operation and maintenance experts to dynamically adjust the scoring standards and weight allocation based on actual operating experience, enabling the model to have self-learning and adaptive capabilities; and the evaluation model should be able to perform timed and triggered automatic calculations so that when a new defect occurs in the equipment or maintenance is completed, its health and priority can be dynamically updated to ensure the real-time performance and accuracy of the inspection strategy.
[0033] Step S2: Collect spatial attribute data of public power distribution equipment. Based on the inspection priority and spatial attribute data, use a clustering algorithm to cluster the public power distribution equipment to obtain the inspection area.
[0034] The core objective of this step is to intelligently group all public power distribution equipment to be inspected into several inspection zones based on their geographical location and inspection priority. The equipment within each zone is geographically concentrated and has similar inspection priorities, thus laying the foundation for planning an efficient inspection route for each zone and improving efficiency from point-to-point planning to zone-based replanning.
[0035] The collection and fusion of spatial attribute data is the foundation of clustering. Spatial attribute data is divided into two categories: device location attributes and inter-device association attributes. Location attributes are the spatial coordinates of each device, used to construct clustering feature vectors. Association attributes are on-site traffic environment data such as road grade, road conditions, and obstacles, which are the edge weights between devices and are incorporated into clustering calculations through distance metric rules. First, the spatial coordinates of each device need to be obtained, usually represented by latitude and longitude coordinates, directly from the device asset management platform. Then, on-site traffic environment data reflecting the actual ease of passage between devices are collected, including: road grade data, such as highways, arterial roads, secondary arterial roads, and local roads, obtained by matching and associating device coordinates with the urban road basic geographic information database, used to estimate traffic speed; real-time road status, obtained by integrating the real-time traffic data interface of the traffic information platform to obtain information such as congestion index and road closures for specific road sections, used to perceive dynamic traffic costs; and key obstacle information, such as fixed fences, restricted areas, and bridge height restrictions, which can be extracted by analyzing text descriptions or experience annotations in historical inspection records. These multi-source data collectively constitute a detailed description of the spatial relationships between devices.
[0036] After obtaining all the data, a numerical feature, namely a clustering feature vector, needs to be constructed for each public power distribution equipment for clustering. The purpose is to create a mathematical identifier for each piece of equipment that includes its spatial location and business priority. For the first... Each device, its clustering feature vector It consists of spatial coordinates and inspection priority, and its form is as follows: ,in and Representing the first The latitude and longitude coordinates of the equipment. The inspection priority of the device is generated in step S1. This is a unit conversion factor whose units match latitude and longitude units, the purpose of which is to prioritize... The values are scaled to a range close to latitude and longitude coordinates to make them comparable in Euclidean distance calculations. Scaling factor The value needs to be set through experimentation or based on business rules. For example, its value can be adjusted so that the impact of a one-unit change in priority in distance calculation is roughly equivalent to the impact of a specific distance in actual space, thereby ensuring that the clustering algorithm can simultaneously respond to spatial proximity and inspection priority. In this embodiment, we take... =0.001, this value was determined by multiple sets of different... Comparative experiments were conducted to verify the on-site clustering simulation under specific parameters, and tests were performed respectively. = 0.0001, 0.001, 0.01, 0.1 four sets of coefficients, when When the coefficient is set to 0.001, the spatial distance dimension and the inspection priority dimension can achieve a balanced match. This ensures that the inspection priority weight is not completely covered by geographical distance due to an excessively small coefficient, nor does it weaken the spatial distribution constraints of equipment due to an excessively large coefficient. This achieves a matching of the two types of indicator dimensions.
[0037] However, clustering feature vectors The data itself does not directly include on-site traffic environment data because information such as road grade and real-time traffic conditions describes the connection attributes or edge weights between devices, rather than the point attributes of the devices themselves. This data is incorporated during the clustering process using a customized distance metric.
[0038] Next, the K-means clustering algorithm is used to cluster the feature vectors of all public power distribution equipment. The goal of partitioning is to... Each device is assigned to Each cluster is located within the inspection area. This scheme uses the K-means++ strategy to generate initial cluster centers. After randomly selecting the first device location, the remaining centers are selected based on the weighted probability of the distance to the remaining locations, avoiding the fluctuations in clustering results caused by ordinary random initialization. Simultaneously, the optimal number of clusters K is quantitatively solved using the elbow rule. The algorithm iterates through the values of K while simultaneously calculating the squared clustering error SSE. When the SSE of adjacent K values decreases by less than 5%, an elbow inflection point is determined. Finally, the final number of partitions is adjusted based on the actual number of inspection teams on site, balancing spatial clustering characteristics and manpower allocation constraints. The algorithm iteratively executes the following two steps until the cluster centers stabilize: calculate the weighted Euclidean distance from each device to all cluster centers and assign it to the nearest cluster. To the cluster center Weighted Euclidean distance The calculation formula is: ; in, It is the first The feature vectors of the cluster centers , It is the latitudinal component of the k-th cluster center. It is the longitude component of the k-th cluster center. It is the inspection priority component of the k-th cluster center; k is the cluster number, i.e., the inspection area number; This is an adjustable priority influence factor used to control the weight of inspection priority relative to geographical proximity in clustering. The larger the β value, the more likely higher-priority devices are to be grouped into the same area during clustering. Based on business expert experience, a value of β=0.5 indicates that priority influence accounts for half of the geographical distance influence. The typical value range for this priority influence factor is [0.2, 1.0], which can be flexibly adjusted according to the inspection business focus. More importantly, the formula includes the straight-line distance between two points in the plane. In practical calculations, this can be replaced by a toll cost estimated based on on-site traffic environment data. For example, the actual travel time or distance can be calculated based on the road grade and real-time traffic conditions of the path between the coordinates of two devices, serving as input for the spatial dimension of distance. In this way, on-site traffic environment data indirectly but substantially participates in the clustering process by influencing distance calculation. (In the formula...) The project naturally implements the logic for clustering high-priority devices: The higher the value, the higher the equipment risk. The higher the overall value; if both devices are high If the difference between the two is smaller, the squared distance contribution value is lower, which effectively reduces the overall distance between the equipment; if one is high and the other is low, the difference between the two increases significantly, and the overall distance increases accordingly. This naturally achieves the clustering goal of bringing high-risk equipment closer together and automatically separating high- and low-risk equipment, solving the logical defects of simply adding squares without differentiation, and matching the business orientation of S1 inspection priority.
[0039] It should be noted that different The value corresponds to the differentiated distribution network inspection business scenario: when When the value is 0.2, the clustering model focuses more on the geographical concentration of equipment, making it suitable for suburban power distribution network scenarios where equipment is scattered across areas and maintenance teams are few in number. It prioritizes grouping geographically adjacent equipment into the same inspection unit; when When the value is 1.0, the model significantly increases the inspection priority weight, making it suitable for high-risk distribution network scenarios in urban areas with frequent faults and dense critical defects, prioritizing the aggregation of high-risk equipment into the same inspection area; this embodiment adopts respectively Scattered samples from suburban areas Comparative clustering simulations were conducted on samples from high-risk areas in the urban area. The grouping results show clearer geographical boundaries and lower inspection travel distances. The grouping results enable the centralized aggregation of high-priority equipment, significantly shortening the response time for handling high-risk equipment.
[0040] Then, the mean of the feature vectors of all devices in each cluster is recalculated as the new cluster center. For the th A cluster, with its new center for: ; in, It belongs to the first A collection of devices in a cluster; This is the size of the set. Once the algorithm converges, it yields... Each inspection area.
[0041] Number of inspection areas Determining the optimal number of clusters is crucial for successful clustering. In engineering applications, the elbow rule combined with business constraints is used for quantitative selection. The elbow rule, in essence, aims to find the optimal number of clusters. The quantitative relationship between the K-means algorithm and the sum of squared clustering errors (SSE). Each time the K-means algorithm is executed, the sum of squared distances from all devices in the current partition to their respective cluster centers must be calculated. The formula is as follows: ; in, This indicates that when the number of inspection areas is set to... At that time, the sum of squared clustering errors of the entire device set; This represents the current number of inspection areas; The representative was assigned to the first A collection of equipment for each inspection area; Represents a set of devices The first in Taiwan equipment, ; For the first Feature vectors of the device; Indicates the first The equipment to the first Cluster center The distance.
[0042] In the specific implementation of the project, the first step is to determine a reasonable number of inspection areas. Iterate through the range, then run the K-means algorithm sequentially, recording each... Sum of squared clustering errors corresponding to the values Due to the increase in the number of inspection areas As the number of clusters increases, devices within a cluster will move closer and closer to the cluster center, thus increasing the sum of squared clustering errors. The value will monotonically decrease, as shown in the graph. and After plotting the relationship curve, observe the trend of the curve's changes. Typically, in... When they were younger, Will follow The increase leads to a rapid decrease; but when After increasing to a certain critical value, further increases are made. value, The decrease in value becomes very small, causing the curve to flatten out, forming an elbow-like inflection point. The x-axis value corresponding to this inflection point is the theoretically optimal number of clusters. This scheme sets a quantitative judgment criterion: when the SSE decrease of two adjacent K values is less than 5%, the current K is judged to be the elbow inflection point. In this embodiment, data from 120 public power distribution devices were collected for simulation. K was traversed from 2 to 12. When K=6, the SSE decrease was only 3.7% compared to K=5, which met the judgment condition. Therefore, the theoretically optimal number of clusters is [not specified]. .
[0043] Finally, the theoretically optimal number of clusters A comprehensive comparison is made with actual business constraints, such as the actual number of inspection teams and the maximum daily working hours. If the theoretically optimal number of clusters... If the number of areas is greater than the number of work groups, then the nearest integer to the left of that number will be taken as the final number of inspection areas. If the theoretical value is less than the number of work groups, then the nearest integer above it is taken, so as to ensure that the final inspection task allocation conforms to the spatial clustering law and meets the actual human resource allocation needs.
[0044] when When the number of available inspection teams exceeds the number of inspection areas that need to be merged, a step-by-step merging strategy is implemented: 1. Calculate the spatial Euclidean distance between the centers of all clusters and prioritize merging two geographically adjacent inspection areas; 2. During merging, verify the total inspection hours of equipment within the two groups and select the pairing with the smallest increase in team hour variance after merging; 3. Retain all high-priority areas within the merged area throughout the entire process. For high-risk equipment, do not split the high-risk equipment cluster; repeatedly execute the merge operation until the total number of partitions matches the number of inspection teams, thus filling the logical gaps in the allocation of partitions and teams.
[0045] Step S3: Collect historical inspection information and construct the spatiotemporal constraint factor. Input the inspection area and the spatiotemporal constraint factor into the inspection path optimization model constructed by the upper-level improved gray wolf optimization algorithm and the middle-level improved ant colony algorithm through double-layer iterative feedback coupling, and output the initial optimal path.
[0046] The core objective of this step is to plan a globally optimal inspection path for each inspection team, based on the defined inspection areas and taking into account both historical experience and current constraints. This path starts from the initial point, efficiently traverses all equipment within the area, and ultimately returns to the initial point. This is achieved by constructing quantified spatiotemporal constraint factors and driving an inspection path optimization model. This model addresses the task allocation problem for multiple teams at the upper level and the path planning problem for a single team at the lower level.
[0047] First, historical inspection information necessary for constructing the spatiotemporal constraint factors needs to be collected from the historical inspection record database. This includes the actual GPS trajectory coordinate sequence of past inspections, historical travel time for each road segment at different times, and corresponding fuel consumption data. Based on this, three evaluation factors with explicit mathematical expressions are constructed. Mileage cost factor. Directly based on path The formula for calculating the sum of geometric distances is: ; in, It is the path number; It is a path The total number of road sections; It is the road segment number; It is the first The length of each road segment, obtained through historical trajectories, represents the length of a single road segment within the inspection route. Time loss factor. Depends on the planned departure time Dynamically estimate travel time: ; in, It is the scheduled departure time for the inspection. It is the cumulative travel time of the vehicle before reaching the l-th road segment; Indicates the expected arrival time at the 1st The time for each road segment, and the corresponding historical average travel time for that road segment. Economic loss factor. It is strongly correlated with the time loss factor, and with the assistance of path mileage, its simplified model is as follows: ; in, The primary weight reflects a strong correlation with time loss. Mileage-assisted weights are used. Both weight coefficients are obtained through regression fitting of historical fuel consumption data, representing fuel consumption cost per unit distance and per unit time, respectively. In this embodiment, they are obtained through regression calculation. =0.08, =0.12. Finally, the mileage cost factor, time loss factor, and economic loss factor were normalized separately to eliminate the differences in the dimensions of different factors; then, the three normalized factors were weighted and fused to form the spatiotemporal constraint factor. : ; in, , , These are the three types of cost factors after normalization. All three types of factors were normalized using Min-Max standardization, and the unified calculation formula is as follows: C represents the original cost value. It is the minimum value among all path samples of this type of cost. The maximum value among all path samples of this type of cost is normalized to map the range of all factor values uniformly to... This eliminates the dimensional differences among three types of indicators: distance, duration, and fuel consumption. This embodiment selects 10 inspection route samples for normalization calculations, taking travel distance cost as an example, with the original distance range... Original distance of a certain path Substituting into the formula, we can obtain the normalized distance cost. Time and fuel costs are calculated using the same standardized process; Let be the weighting coefficient, satisfying This embodiment takes into account the cost control requirements of power distribution inspection and adopts... =0.4、 =0.4、 =0.2, and the weights are determined by the analytic hierarchy process (AHP) combined with historical operational data. This spatiotemporal constraint factor is the core cost standard for subsequent path optimization. It should be noted that... This represents the spatiotemporal constraint factor of a single candidate path r at departure time t; as mentioned later. This represents the complete inspection path of the kth inspection team. The comprehensive spatiotemporal constraint factor; This represents the initial optimal path for the final output.
[0048] Then, Each inspection area and spatiotemporal constraint factor The input inspection path optimization model adopts a hierarchical collaborative architecture, which is formed by the upper-level task allocation module and the middle-level global path planning module through iterative feedback coupling.
[0049] The upper-level task allocation module, based on the improved Grey Wolf optimization algorithm, models the task allocation scenario of multi-shift collaborative inspection as a multiple traveling salesman problem and optimizes a multi-objective function, aiming to find a task allocation scheme that minimizes the total cost and balances the workload and spatiotemporal constraints of each shift. When generating each shift allocation scheme, the upper-level Grey Wolf optimization model simultaneously assigns a planned departure time 't' to each shift, which is then distributed to the middle-level improved ant colony module along with the shift's equipment set. The middle-level ant colony uses the corresponding 't' when calculating the single-path spatiotemporal cost. The time-segmented time loss calculation is completed, and the calculated complete path, corresponding shift departure time t, and comprehensive spatiotemporal cost are all sent back to the upper-level Gray Wolf module as fixed input parameters for the objective function Z. This establishes a seamless time parameter transmission link between the two-layer model, resolving the logical gap caused by the upper layer lacking time-segment input and the inability to dynamically calculate time costs. The core improvement to the traditional Gray Wolf optimization algorithm lies in its position update and solution acceptance mechanism.
[0050] In the traditional gray wolf optimization algorithm, the position updates of individual gray wolves representing a candidate task assignment scheme are driven entirely by a fixed formula, which is prone to premature convergence. This method introduces a dynamic weighting rule, which, when calculating new positions, considers the three candidate positions generated by the three alpha wolves (β, δ, and α). Assign dynamic weights respectively Among them, the β wolf corresponds to Corresponding to δ Wolf This introduces randomness, and the dynamic weights corresponding to the α wolf representing the optimal solution... Maintain a value of 0.5 to ensure guidance, where The random numbers are uniformly distributed in the interval [0,1]. To ensure the reproducibility of the algorithm's experimental results, a fixed random seed is used in the random number generation process to eliminate the differences in results caused by random fluctuations. The weight change pattern can be observed by traversing through 0 to 100 iterations. and Despite the dynamic fluctuations of the random numbers in each generation, the sum of the two remains constant at 0.5. The process remains constant throughout, especially in the early stages of iteration. Large-scale random oscillations enhance global search capabilities; random fluctuations are retained throughout the later stages of iteration, maintaining population diversity; and the final position update formula is... ,in This represents the position of a gray wolf in the (n+1)th generation, corresponding to a set of candidate task assignment schemes. This improvement breaks the fixed pattern, enhances population diversity, and allows the algorithm to explore different task assignment combinations more fully in the early stages of iteration.
[0051] A further improvement is the incorporation of the Metropolis acceptance criterion from simulated annealing. After each new assignment is generated according to the above rules, it is not directly adopted; instead, the fitness difference between the new and old assignments is calculated. .like If the new plan is better, then accept it; if... Then with a probability Accept this temporarily worse solution, in which It is a temperature parameter that gradually decreases with each iteration, employing an exponential cooling strategy. Among them, the cooling coefficient The iterative phase of the improved Grey Wolf algorithm is dynamically selected, with the specific rule being: let the maximum number of iterations of the algorithm be... The current iteration count is n, and the iteration progress is defined. :when At that time, take In this stage, the algorithm needs to fully explore the solution space. A larger cooling coefficient can slow down the rate of temperature decrease, prolong the duration of the high-temperature stage, maintain a high probability of accepting inferior solutions, and prevent the algorithm from getting trapped in local optima too early. At that time, take In this stage, the algorithm needs to converge quickly to the global optimum. A smaller cooling coefficient can accelerate the temperature decrease rate, reduce the probability of accepting inferior solutions, and strengthen the algorithm's convergence orientation. In this embodiment, the initial temperature... Termination temperature The temperature decay formula is: Set a total of 100 iterations, with the iteration coefficient τ set to 0.95 for the first 50 iterations and 0.9 for the last 50 iterations. Example of piecewise temperature decay calculation: Temperature in the first iteration... 50th generation temperature iteration After entering the second half of the iteration, switch τ=0.9, and the temperature reaches the 60th iteration. 70th generation temperature iteration Reaching the termination temperature threshold The temperature remains constant at 1 in subsequent iterations. The acceptance probability of a suboptimal solution follows... The cost difference of the inferior solution For example: In the initial iteration, T=95, the acceptance probability is... It is highly likely that the inferior solution will be accepted to escape the local optimum; in the middle of the iteration, T=7.694, the probability of acceptance is high. In the later stage of iteration T=1, the acceptance probability is... Once the temperature drops to the termination temperature, suboptimal solutions are no longer accepted. The core function of this mechanism is to give the algorithm hill-climbing ability, enabling it to escape the current local optimum with a certain probability, thereby searching for a better task allocation scheme globally.
[0052] The upper-level task allocation module uses the improved Grey Wolf optimization algorithm as its engine to optimize a multi-objective function, aiming to find a task allocation scheme that minimizes the total cost and balances the workload and spatiotemporal constraints of each shift. First, the path cost, task urgency penalty value, and shift cost variance are standardized using a min-max process and mapped to... For the dimensionless interval, construct the following weighted objective function: ; in, This indicates min-max normalization. Let be the weighting coefficient, satisfying In this embodiment, the weighting coefficients are determined by combining the Analytic Hierarchy Process (AHP) with the priority of distribution network inspection services. Three evaluation indicators are selected: path cost, task urgency, and team balance. A judgment matrix is constructed by three distribution network operation and maintenance experts using the 1-9 scale for pairwise comparison. : The matrix rows correspond to path cost, task urgency, and shift balance, respectively. The matrix elements... This represents the relative importance of indicator i compared to indicator j. Find the largest eigenvalue of the matrix. Third-order index average random consistency index Consistency indicators Consistency ratio The matrix satisfies the consistency test criteria, is deemed valid, and the eigenvectors are obtained after normalization. , , Z is a dimensionless comprehensive evaluation index; the smaller the value, the better the overall performance of the scheme. This is the complete inspection route for the g-th shift; It is a spatiotemporal constraint factor used to evaluate the path. The overall cost; Q is the total number of inspection teams, i.e., the business constraint used in step S2 to determine the final number of clusters K; The health score of the equipment corresponding to the g-th inspection team is defined as the health score of all equipment in that team. The minimum value is used to characterize the urgency of the task for that work group; This is the variance function, used to measure the balance of tasks across different work groups. After the upper-level task allocation module runs, it will output a preliminary task allocation scheme, which is a better solution obtained after global exploration and local escape by the improved algorithm.
[0053] The task allocation scheme output by the upper-level task allocation module clarifies the set of equipment that each shift needs to inspect. The middle-level global path planning module is then activated, planning a specific driving sequence for each shift to visit all points within the set of equipment they are responsible for.
[0054] This mid-level global path planning module employs an improved ant colony algorithm. Its primary improvement is the design of state transition rules that integrate multi-source heuristic information. When selecting the next device to visit, ants no longer rely solely on path distance and pheromones, but instead consider the inspection priority derived from step S1. and spatiotemporal constraint factors Take all factors into consideration. New state transition probabilities. The calculation formula is: ; in, It is the state transition probability of the a-th ant moving from device node i to node j; For the edge The concentration of pheromones on the surface; Basic heuristic information, usually the inverse of the distance , The spatial distance between nodes represents the straight-line distance between two device nodes. The target point Inspection priority; It is the spatiotemporal constraint factor between two points from node i to j, representing the spatiotemporal cost; For impact factor parameters; s is the set of remaining device nodes that ant a can currently access; s is the sequence number of the candidate access node. This allows ant's path construction to simultaneously respond to four core requirements: short distance, superior experience, urgent device access, and good road conditions.
[0055] It should be noted that among the impact factor parameters, This is a pheromone heuristic factor used to control the influence of pheromone concentration on path selection. It reflects the ants' trust in historically optimal paths; the higher the value, the more inclined the ants are to choose historically high-quality paths with high pheromone concentrations. In this embodiment, we take [value missing]. =1.0, balancing path stability and the exploration of new paths; This is a distance heuristic factor used to control the influence weight of basic distance heuristic information, reflecting the ant's preference for nearby inspection nodes. A higher value indicates that the ant is more inclined to prioritize visiting nearby nodes, reducing unnecessary travel distances. In this embodiment, the value is [value missing]. =2.0, prioritizing control over the spatial distance cost of the path; This is a priority heuristic factor used to control the influence weight of inspection priority on path selection. It reflects the ants' tendency to prioritize the inspection of high-risk equipment. The larger the value, the more likely the ants are to access high-priority equipment first, ensuring the timeliness of inspection of high-risk equipment. In this embodiment, we take [value missing]. =3.0, reflecting the core business rules of prioritizing safety and high-risk aspects in distribution network inspections; This is a spatiotemporal cost heuristic factor used to control the influence weight of spatiotemporal constraint factors on path selection. It reflects the ant's preference for low-cost routes. The larger the value, the more the ant tends to choose road segments with lower spatiotemporal costs, adapting to complex traffic scenarios such as urban road congestion and construction. In this embodiment, we take... =2.0, prioritizing the actual traffic efficiency of the route.
[0056] To verify this set of parameters , , , To achieve optimal performance, a four-factor, three-level orthogonal simulation experiment was designed. The four factors are: pheromone factor... Distance factor Priority factor Spatiotemporal cost factor Each factor is set with three experimental levels: low, medium, and high. , , , , build An orthogonal experimental design was used, with the comprehensive evaluation index Z of the inspection plan as the evaluation index. A smaller index indicates a better optimization effect. Nine sets of orthogonal simulation results show that when the parameter combination is... When the mean of the comprehensive index Z is the smallest, the algorithm converges faster and has a stronger global search capability, proving that this set of parameters is suitable for the multi-constraint inspection path optimization scenario of the distribution network.
[0057] Another key improvement is the enhancement of the pheromone update mechanism for the ant colony algorithm. In addition to the traditional update based solely on path length, a spatiotemporal constraint factor and pheromone evaporation control are introduced to construct a complete pheromone iteration rule, thereby avoiding premature convergence of the algorithm caused by the infinite accumulation of pheromones.
[0058] In this method, pheromone updating includes two stages: volatilization and enhancement. The global pheromone updating formula is: ; in, The pheromone evaporation coefficient is taken as in this embodiment. This value is a common value for path planning ant colony algorithms, used to control the decay rate of historical pheromones, prevent excessive accumulation of pheromones, and maintain the algorithm's exploration ability. When the edge is in the nth iteration The concentration of pheromones on the surface; For all ants in this iteration, check the edges. The total increase in pheromones.
[0059] For the edges traversed by the a-th ant The incremental contribution of pheromones It is no longer simply inversely proportional to the mileage cost factor, but rather to the spatiotemporal constraint factor of the complete path constructed by the ant. Direct association, that is: ; Where Q is the pheromone constant, which is taken as in this embodiment. This value is set according to the path cost level of this scenario and is used to control the overall level of pheromone increment. The inspection path constructed for ant a. This is the comprehensive spatiotemporal constraint factor for the path, corresponding to the path cost term in the weighted objective function defined earlier. The core logic of this improvement is: the lower the comprehensive travel cost of the path, the greater the increment of pheromones obtained, and the stronger its attraction to the ant colony in the next iteration, thereby guiding the positive feedback mechanism of the algorithm towards optimizing the comprehensive travel cost, adapting to the actual travel scenario of power distribution network inspection.
[0060] It should be noted that this scheme sets a pheromone volatility coefficient. pheromone constant The values of both sets of parameters were determined based on multiple simulation tests with a scale of 100 to 500 inspection equipment points. If the value is too large, the pheromone decays rapidly, the retention time of historical high-quality paths is short, and the algorithm converges slowly; if If the value is too small, the pheromone accumulates too quickly, easily leading to local optima. Simulation comparisons were conducted for 100–500 distribution network inspection points. It can balance the preservation of historical paths with the ability to explore new paths, retaining pheromone guidance for high-quality inspection paths while continuously expanding untraveled inspection nodes, making it suitable for medium-to-large-scale distribution network inspection scenarios. (Pheromone constant) The magnitude of the pheromone increment in a single iteration is determined, and the magnitude is matched to the range of the overall spatiotemporal cost in this scenario. When the number of locations is 100-500, the overall path cost remains stable within the range of 10-100. This allows the pheromone increment to form a reasonably inverse gradient with the path cost; if Q is too small, the difference in pheromone between good and bad paths is weak, resulting in insufficient algorithm discrimination; if Q is too large, the pheromone of good paths increases too quickly, leading to rapid shrinkage of the search space in the later stages of iteration. Simulation results from multiple locations show that... Matching At this time, the algorithm converges smoothly and has the best global optimization stability.
[0061] Furthermore, this method introduces an adaptive backoff strategy, which is implemented when ants encounter pathfinding stagnation or spatiotemporal constraints on the path. In the event of an abnormal surge, a rollback probability will be applied. The algorithm reverts to the previously visited node and reselects the next path; this probability value was determined through multiple algorithm simulation experiments. This strategy effectively increases the flexibility of path search, avoids the algorithm getting stuck in ineffective exploration and local optima, and further improves the robustness of the path planning scheme.
[0062] To determine the optimal backoff probability, in Multiple sets of control simulations were set up within the interval to compare the algorithm's iterative convergence curves and optimization effects under different values: when When the probability of triggering a backoff is low, ants have difficulty escaping high-cost blocked paths, the algorithm is prone to convergence to local optima, the overall evaluation index Z decreases gradually in the later stages of iteration, and the global search capability is insufficient; when When backtracking is too frequent, ants repeatedly turn back and reselect nodes, significantly reducing the efficiency of effective path search, slowing down iterative convergence, and increasing computational overhead. At this time, the convergence curve takes into account both the descent rate and the lower bound of later optimization. It can not only escape high-cost ineffective paths and avoid local optima with a reasonable probability, but also avoid slowing down the iteration speed due to frequent backtracking. It achieves a balance between search efficiency and the ability to escape local optima. Therefore, this embodiment selects As an adaptive backoff probability.
[0063] The upper-level task allocation module and the middle-level global path planning module constitute a closed-loop collaborative iterative optimization process. Based on the allocation scheme provided by the upper-level task allocation module, the middle-level global path planning module plans a refined path for each work group and calculates the precise spatiotemporal constraint factor for each path. These cost values are fed back to the upper-level task allocation module as part of its multi-objective function. The key input is used to evaluate the merits of the current allocation scheme. The upper-level task allocation module then uses its improved Grey Wolf optimization algorithm to generate new, potentially better task allocation schemes. In this way, the allocation-planning-evaluation-reallocation iteration is repeated until the task allocation scheme and the corresponding detailed path sequence both tend to stabilize, reaching a cooperative optimum.
[0064] The improved upper-level gray wolf algorithm and the improved middle-level ant colony algorithm form a closed-loop collaborative iterative architecture. They use a standardized data exchange interface to complete iterative data transfer: the upper-level gray wolf optimization module outputs the inspection point allocation sequence, mileage weight, and priority coefficient of high-risk equipment for each shift, encoded as a one-dimensional floating-point array, and sends it to the ant colony pathfinding module via a memory-shared interface; the ant colony module calculates the comprehensive path cost matrix and sends it back to the gray wolf module as input to the objective function Z. The closed-loop iteration termination condition uses a dual-judgment rule: first, reaching the global maximum iteration limit of 100 generations; second, the change in the objective function Z is less than the convergence threshold for 10 consecutive generations. The double-loop iteration terminates when any condition is met. This threshold is a general accuracy standard for intelligent algorithms; if the value is less than the threshold, it is determined that both the allocation scheme and the path have stabilized. After the iteration terminates, the globally optimal initial inspection path is output. This path contains the complete equipment inspection sequence of each inspection team, which can avoid meaningless iterations that would waste computing power.
[0065] Step S4: Collect real-time inspection data. Based on the real-time inspection data, use a dynamic window algorithm to locally correct the initial optimal path to obtain the inspection path for the complete set of power distribution equipment.
[0066] The core objective of this step is to ensure that, during the actual execution of the inspection operation, the inspection team does not rigidly follow the initial optimal path output in step S3. Instead of simply driving, it uses the initial optimal path as the global baseline path. When faced with dynamic disturbances such as temporary road construction, sudden congestion, weather changes, and emergency equipment alarms, it performs online adaptive replanning and trajectory correction within a local area, ultimately outputting a power distribution equipment inspection path that is both faithful to the global optimization result and safe and executable.
[0067] First, from the official start of the inspection operation until all tasks for the day are completed, real-time inspection data must be continuously collected. This includes: information on temporary road closures for construction obtained through the municipal construction management platform or road network event push interface, used to identify currently impassable road sections or nodes; the current road network traffic congestion index and the speed of traffic on key road sections obtained through polling the real-time traffic condition interface of the integrated traffic information platform, used to reflect changes in the dynamic traffic capacity of the road surface; and weather warning information read from the meteorological service interface or local weather stations, including factors affecting driving safety such as rainfall, strong winds, and visibility, used to improve subsequent safety constraints. High braking margin or reduced maximum permissible speed; sudden equipment failure alarm signals originate from the real-time alarm bus of the power distribution automation system. Once an equipment not originally scheduled for priority in the daily plan experiences an emergency defect, the signal will carry the equipment code and coordinates into the processing queue; temporary emergency inspection work orders and their associated equipment locations and defect levels are pushed to this system by the production management platform as emergency task points that need to be dynamically inserted into the path; obstacle information is provided by the real-time perception results of the lidar or millimeter-wave radar carried by the inspection team itself, used to describe temporary static obstacles and local dynamic obstacles that have not been marked on the global map. After the above real-time inspection status data is timestamped, it together constitutes the real-time status snapshot required for each control cycle.
[0068] When a sudden equipment failure alarm is detected or a new emergency inspection work order is received, the system automatically initiates the point insertion logic. Multiple emergency tasks are sorted from highest to lowest priority based on equipment defect level, power outage coverage area, and fault latency duration. The highest priority emergency equipment is directly inserted into the next access node of the current local path. If multiple emergency tasks exist simultaneously, they are sorted from highest to lowest priority based on equipment defect level. After completing the emergency point inspection and exiting the 2m equipment positioning error circle, the system automatically switches back to the original global reference. Continuing the remaining inspection tasks, there is no need to recalculate the entire global path, which greatly reduces the computational cost of replanning.
[0069] Next, using the initial optimal path obtained in step S3... Taking a specific work group route as an example, its equipment sequence is recorded as follows: ,in For the first There are several target equipment points, and this equipment sequence forms the global baseline path. When the g-th inspection team has arrived at the current equipment as planned... They were preparing to proceed to the next target device. At that time, do not blindly follow the original straight line or the shortest path on the road network. Instead, it extracts the data from the current position to... This current local segment is then used by the dynamic window algorithm for online trajectory correction. The known inputs of the dynamic window algorithm at this point include: the vehicle's current state in the local coordinate system. With current linear velocity and angular velocity , and a local cost map constructed from real-time inspection data.
[0070] The first step in the dynamic window method is to establish a kinematic prediction model for the vehicle so that, given a set of speed commands, the short-term trajectory can be simulated. For differential or Ackerman steering moving vehicle platforms used in inspection operations, a discrete-time kinematic model is adopted, simulating the trajectory in each control cycle. The formula for updating the vehicle's position and heading in the next moment is: ; in, For vehicles at any time That is, the global coordinates at the start of the current control cycle, which are provided in real time by the vehicle positioning module; The vehicle heading angle is provided by inertial navigation or dead reckoning. and The linear velocity and angular velocity commands to be selected this week; To control the cycle, a typical value is taken. or The value is matched to the regular communication frequency of the inspection team controller, which is determined by the communication frequency between the vehicle's lower-level controller and the upper-level planner. The role of this kinematic model is to perform kinematic sampling on each candidate speed during subsequent speed sampling. Calculate a future path several steps in advance, such as predicting the number of steps. Predicted trajectory point series The evaluation function is used to score the data; in this embodiment, the score is taken as... =20, balancing trajectory prediction accuracy and computational efficiency.
[0071] With the kinematic model in place, the search range is narrowed to a legal and safe dynamic window based on the vehicle's physical limits and current state. First, the vehicle's design specifications provide hard limits for linear and angular velocities, forming the basic set of permissible speeds. : ; in, It is the minimum linear velocity of the vehicle, usually taken as... Or a small lower limit for reversing; The maximum linear speed rated for the vehicle; It is the vehicle's minimum angular velocity; This refers to the vehicle's maximum angular velocity. These values are derived from the vehicle chassis parameter table and are applied when weather warnings are triggered, such as in rain or snow. The real-time operating data will be downgraded to ,in The road surface adhesion reduction factor can be obtained by referring to a table based on the road surface slipperiness level. For rainy and snowy roads, it is generally taken as... =0.6~0.8, this approach effectively embeds meteorological warning information into the speed constraint.
[0072] This solution is designed for commonly used fuel-powered pickup trucks and electric maintenance vehicles for power distribution network inspection. It differentiates between two sets of complete chassis kinematic parameters for urban main roads and residential side roads. For fuel-powered pickup trucks on urban main roads, the minimum linear speed is 0 m / s, and the rated maximum linear speed is 16.7 m / s. The minimum and maximum steering angular velocities are as follows: , Maximum acceleration Dry road surface braking deceleration The rated maximum linear velocity of the community branch road has been adjusted to 8.3 m / s, and the turning angular velocity range has been widened to... to The acceleration and deceleration decreased to , The electric maintenance vehicle has a rated maximum linear speed of 13.9 m / s on main urban roads, and its steering angular velocity range is the same as that of a fuel-powered pickup truck on main roads. Its maximum acceleration is... Braking deceleration The rated maximum linear speed of the community branch road is 5.6 m / s, and the turning angular velocity range has also been widened, with acceleration and deceleration... , Urban main roads have open spaces, higher speed limits, and smoother steering constraints. Community side roads have dense obstacles, so vehicle speed is reduced and the steering range is widened to adapt to narrow road passage. When rain and snow warnings are in effect, the maximum vehicle speed and braking deceleration of all vehicle types on the road are multiplied by a reduction factor. The factor is 0.8 for light rain conditions and 0.6 for rain, snow, and snow accumulation conditions. All acceleration and deceleration parameters are used in the trajectory duration calculation to prevent the generation of invalid paths that exceed the vehicle's power and braking limits.
[0073] Secondly, limited by the motor torque and acceleration / deceleration capabilities, the vehicle cannot operate in a single... From the inside The jump to any value requires extracting the set of reachable velocities from the acceleration / deceleration limits. : ; in, This is the maximum linear acceleration; The maximum angular acceleration values are provided in the vehicle chassis technical specifications. Typical values used by this inspection team are as follows: , ; and These are the actual linear and angular velocities after filtering from the previous control cycle. This constraint ensures that the output speed command is within the physical tracking capability of the drive motor, preventing saturation of the underlying controller or dangerous torque surges.
[0074] Furthermore, due to stringent safety obstacle avoidance requirements, the vehicle must ensure, in any direction, that the nearest passable clearance distance to the vehicle body in the local cost map ahead is... This is the Euclidean distance from the current position along the predicted trajectory to the nearest obstacle grid or restricted area boundary, which must be sufficient to bring the vehicle to a stop before collision at the current speed. This yields the real-time operating condition safety braking constraint set. : ; in, It involves detecting the minimum distance between each candidate trajectory point and the grid of obstacles in the local cost map. Real-time obstacle information is dynamically written into the cost map, while temporary road closure construction information is written in the form of polygonal restricted areas. To determine the vehicle's maximum safe deceleration, the reduction due to rain adhesion must be deducted, and a safety margin must be reserved. ,in For safety reasons, regular urban roads =0.8, neighborhood or side street =0.7, slippery road surface due to rain or snow =0.65, road surface adhesion reduction factor Values are assigned according to weather conditions, sunny days. Light rain Moderate rain ,rainstorm Each coefficient is used to simultaneously reduce the vehicle's rated maximum speed under the corresponding road conditions. This real-time operating condition safety braking constraint means that the faster the speed, the greater the required clearance ahead; otherwise, the speed combination will be eliminated.
[0075] Basic allowable speed set achievable speed set and real-time operating condition safety braking constraint set Taking the intersection yields the true dynamic window velocity set for the current control cycle. : ; If real-time operational data causes a closure in one direction, such as a construction closure ahead... Too small, The corresponding area in the middle is cropped, and in extreme cases, the dynamic window speed concentration may only leave a small portion. The vehicle will be placed in place and reassessed in the next cycle to avoid being forced to pass through obstructions or sudden obstacles.
[0076] For dynamic window speed sets Each set of speeds within After substituting the above kinematic model to calculate the predicted trajectory, the optimal set needs to be selected through a comprehensive evaluation function. This evaluation function unifies the global path guidance intent, local obstacle avoidance safety, and motion stability into a single scalar score. The calculation formula is as follows: ; in, This is a normalization scaling factor used to bring each component down to an approximate scale for weighted summation. In this embodiment, it is taken as... =1.0; It is the heading alignment item, which measures the course alignment. At the endpoint of the corresponding predicted trajectory, the vehicle's heading and current position point towards a local target. The alignment between vectors is usually expressed as the cosine of the included angle. Its function is to tow the vehicle forward in the direction of the target rather than to make it spin in place; It is the safety clearance term, which is the minimum gap distance from the aforementioned trajectory to the nearest obstacle. It is usually taken as itself or in the form of a saturated increasing function to ensure that there is no excessive reward due to the increase in distance after the safety threshold is exceeded. Its function is to punish trajectories that are too close to the obstacle. This is a speed gain term, which encourages maintaining a reasonable driving speed within a safe range and avoids overly conservative creeping; it is usually set to [value missing]. ; It is the target distance term, which is the predicted trajectory endpoint. To local target point coordinates Euclidean distance, This feature ensures that the trajectory endpoint is as close as possible to the target location, preventing local corrections from causing the trajectory to deviate further and further from the next device. It is the global path deviation term, which is the path from the predicted trajectory endpoint to the global baseline. Projection reference point of the current segment distance, The role of this term is anchoring, ensuring that local replanning does not drift unrestrainedly away from the globally optimal sequence in order to avoid obstacles, but rather tries to stick back to the baseline path as much as possible, thus achieving a balance between flexible local obstacle avoidance and the preservation of the global solution; weight All are non-negative adjustable coefficients, satisfying Its value can be determined according to the scenario: When temporary obstacles or construction closures are detected, the system should be adjusted upwards appropriately to enhance obstacle avoidance and conservatism. When approaching the target device, the adjustment needs to be increased to enhance end-point alignment. In this embodiment, the comprehensive inspection requirements are set to A=0.2, B=0.3, K=0.2, D=0.2, and E=0.1, with weights determined based on on-site obstacle avoidance and navigation priority adjustments. A hierarchical dynamic weight priority rule is set, including safety obstacle avoidance items. First hard constraint, global deviation term The second soft constraint is as follows: When distclear is below a preset safety threshold, the obstacle avoidance weight B is automatically and temporarily increased while the global path weight E is decreased, prioritizing obstacle avoidance deviates from the global baseline path, allowing the trajectory to deviate significantly from the global baseline path; when distclear is above the safety threshold and there are no obstacles nearby, the basic weight ratio is restored, and E is increased to constrain the trajectory to fit the initial optimal path. When the two sets of indicators conflict, driving safety is used as the primary criterion, eliminating the problem of contradictory internal logic in the evaluation function.
[0077] Multiple weight comparison tests have verified that this set of parameters is suitable for inspection scenarios. Increasing the obstacle avoidance weight B alone will significantly increase the safety gap between the vehicle and obstacles, but the trajectory will deviate significantly from the global baseline path, increasing the detour mileage. Increasing the global path anchoring weight E alone can make the trajectory closely fit the preset global route, but the margin for error in close-range obstacle avoidance is compressed, posing a safety hazard. This set of weight ratios can take into account both the safety redundancy of obstacle avoidance and the consistency of the global driving trajectory, achieving a balance between the flexibility of local dynamic obstacle avoidance and the consistency of the global planned path.
[0078] The dynamic window algorithm iteratively executes the above sampling-rolling trajectory-scoring-optimization process in each control cycle to select the optimal value that satisfies the comprehensive evaluation function. Maximize speed The instruction is then sent to the chassis controller of the inspection team to execute a... Upon reaching the next cycle, a new positioning and perception snapshot will be generated. Then, recalculate all terms of the evaluation function. Continue this process until the vehicle reaches the current target device. Once the error falls within the allowable error circle, the correction of that local segment is declared complete. The reference path pointer is then moved forward for the next pair. Repeat the above process. In this scheme, the radius of the error circle is set to 2m to meet the docking and positioning requirements of the power distribution equipment. After all the equipment arrives in sequence and completes the inspection, the inspection path of the complete set of power distribution equipment is obtained by splicing together the actual travel trajectories of each segment.
[0079] A batch inspection simulation comparison test of power distribution equipment in the same scenario was conducted, with 32 unified inspection points, including 8 high-risk power equipment. Three sets of comparisons were adopted: traditional dynamic window algorithm, existing optimized scheme, and the improved scheme of this application. The measured data of quantitative indicators are as follows: Traditional scheme: total inspection time 112.6 min, total driving distance 2864 m, average inspection advance of high-risk equipment 0 min, and team time variance 14.27; Existing literature comparison scheme: total inspection time 97.3 min, total driving distance 2412 m, average inspection advance of high-risk equipment 3.6 min, and team time variance 9.15; Improved scheme of this application: total inspection time 81.5 min, total driving distance 1957 m, average inspection advance of high-risk equipment 9.2 min, and team time variance 3.08. Data shows that this solution can shorten inspection time, reduce unnecessary detours, prioritize the inspection of high-risk equipment, and significantly reduce the fluctuation of shift work hours, balancing inspection safety priority with overall work efficiency.
[0080] This technical solution constructs an inspection path optimization system adapted to public power distribution equipment through a complete technical approach combining multi-source data fusion, intelligent clustering, dual-layer intelligent algorithms, and dynamic local correction. The solution first calculates equipment health and inspection priorities based on equipment and maintenance data, and then performs feature fusion and clustering using spatial data to divide reasonable inspection areas. Next, an improved gray wolf optimization algorithm is used to achieve balanced task allocation across multiple shifts, combined with an improved ant colony algorithm incorporating spatiotemporal constraints to solve for the static globally optimal inspection path. Finally, a dynamic window algorithm is used to adaptively correct local paths in response to real-time conditions such as road congestion and equipment alarms. This solution effectively solves the problems of unbalanced task allocation, singular objectives, and fixed paths in traditional planning methods, balancing inspection safety, operational efficiency, and maintenance costs. It is suitable for complex power distribution network inspection scenarios and has significant engineering application value.
[0081] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, the phrase "comprising an element defined as..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0082] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their likenesses.
Claims
1. A method for optimizing inspection path of a public power distribution equipment complete set, characterized in that, Includes the following steps: Step S1: Collect equipment attribute data and operation and maintenance attribute data of public power distribution complete sets of equipment, calculate the equipment health status based on the equipment attribute data and operation and maintenance attribute data, and generate inspection priority; Step S2: Collect spatial attribute data of public power distribution equipment. Based on the inspection priority and spatial attribute data, use a clustering algorithm to cluster the public power distribution equipment to obtain the inspection area. Step S3: Collect historical inspection information and construct the spatiotemporal constraint factor. Input the inspection area and the spatiotemporal constraint factor into the inspection path optimization model built by the upper-level improved gray wolf optimization algorithm and the middle-level improved ant colony algorithm through double-layer iterative feedback coupling, and output the initial optimal path. Step S4: Collect real-time inspection data. Based on the real-time inspection data, use a dynamic window algorithm to locally correct the initial optimal path to obtain the inspection path for the complete set of power distribution equipment.
2. The method according to claim 1, wherein, Collect equipment attribute data and operation and maintenance attribute data of public power distribution complete sets of equipment, including: Collect equipment attribute data of the public power distribution complete set of equipment. Obtain equipment attribute data describing the inherent characteristics of the equipment from the equipment asset management platform through the equipment code of each public power distribution complete set of equipment, including equipment type and model, years of operation and address text description; Simultaneously, the operation and maintenance attribute data of the public power distribution complete set of equipment is collected. The operation and maintenance attribute data is obtained through the business platform and data change service, including historical fault frequency, defect level, previous maintenance records, real-time operating load, environmental meteorological parameters and inspection cycle.
3. The method of claim 2, wherein, Based on the equipment attribute data and operation and maintenance attribute data, the equipment health status is calculated, and an inspection priority is generated, including: To the first Public power distribution complete equipment, its equipment attribute data and operation and maintenance attribute data into a device health comprehensive evaluation model, calculated its equipment health, its calculation formula is the weighted sum of the scores of each influencing factor; After calculating the equipment health status, the equipment health status is converted into inspection priority.
4. The method of claim 3, wherein, Collect spatial attribute data of public power distribution equipment, including: Collect spatial attribute data of all public power distribution equipment, including but not limited to spatial coordinates and on-site traffic environment data; the on-site traffic environment data includes at least the road level, real-time road status and key obstacle information of the accessible path of the equipment point. The road level data is obtained by matching from the urban road basic geographic information database, the real-time road status is obtained through the real-time traffic data interface of the integrated traffic information platform, and the key obstacle information is obtained by analyzing historical inspection records.
5. The method of claim 4, wherein, Based on the inspection priority and spatial attribute data, a clustering algorithm is used to cluster the public power distribution equipment to obtain the inspection area, including: By combining the generated equipment inspection priority and spatial attribute data, a clustering feature vector that integrates the spatial attribute data and inspection priority information is constructed for public power distribution complete sets of equipment; After obtaining the clustering feature vectors of all the devices, a K-means clustering algorithm is used for partitioning, and the devices are divided into patrol inspection areas, and finally K patrol inspection areas are formed. 6. The method of claim 5, wherein, Historical inspection information is collected, and spatiotemporal constraint factors are constructed, including: Retrieve historical inspection information from the historical inspection record database to obtain the actual driving trajectory coordinate sequence recorded in past inspection tasks, the travel time of each road segment at different time periods, and the fuel consumption data corresponding to the inspection team; based on the historical inspection information, construct mileage cost factor, time loss factor, and economic loss factor for route cost assessment respectively. A mileage cost factor is constructed based on the actual driving trajectory coordinate sequence recorded in past inspection tasks. The mileage cost factor represents the distance cost incurred by driving on any candidate path. A time loss factor is constructed based on the travel time of each road segment in different time periods. The time loss factor represents the estimated time cost required to start execution at the planned departure time and travel along the candidate path. An economic loss factor is constructed based on the fuel consumption data corresponding to the inspection team, and the economic loss factor is strongly correlated with the time loss factor. Finally, the three factors were normalized and then weighted and fused to construct the spatiotemporal constraint factor.
7. The method of claim 6, wherein, The inspection area and spatiotemporal constraint factors are input into an inspection path optimization model constructed by a two-layer iterative feedback coupling of an upper-layer improved gray wolf optimization algorithm and a middle-layer improved ant colony algorithm. The output is the initial optimal path, including: The multiple inspection areas obtained by clustering and the spatiotemporal constraint factors are input into the pre-constructed inspection path optimization model. The inspection path optimization model is constructed by an upper-level task allocation module based on the improved gray wolf optimization algorithm and a middle-level global path planning module based on the improved ant colony algorithm through iterative feedback coupling. The upper-level task allocation module is based on the improved Grey Wolf Optimization Algorithm. It improves the fixed-weight position update method and solution acceptance mechanism of the traditional Grey Wolf Optimization Algorithm to adopt a dynamic weighting rule during position update and integrates the Metropolis acceptance criterion of simulated annealing. The upper-level task allocation module models the multi-shift collaborative inspection scenario as a multi-traveling salesman problem, adopts a multinomial objective function that includes the variance of comprehensive inspection cost, health score and path cost, outputs the task area allocation scheme and sends it to the middle-level global path planning module. After receiving the allocation scheme, the mid-level global path planning module completes refined global path planning for the equipment locations in the corresponding area of each work group, calculates the comprehensive time and space cost of each work group's path, and sends it back to the upper-level task allocation module. The upper-level task allocation module and the middle-level global path planning module iterate in a loop with bidirectional feedback until the task allocation and path sequence converge synchronously, and output the initial optimal path after collaborative optimization.
8. The method of claim 7, wherein, The mid-level global path planning module includes: This mid-level global path planning module employs an improved ant colony algorithm. It transforms the traditional ant colony algorithm's state transition rules, which are based solely on distance, into a system that integrates pheromone accumulation, device risk priority, and dynamic spatiotemporal cost to calculate the probability of an ant moving from device point i to point j. An adaptive backoff strategy is introduced, allowing ants to backoff to the previous node with a certain probability when their path search stalls or path costs surge abnormally. Simultaneously, the global pheromone update mechanism is improved, allocating higher pheromone increments to high-quality paths with lower overall spatiotemporal costs.
9. The method of claim 8, wherein, Collect real-time inspection data, including: Collect real-time inspection data from the start of the inspection operation until the end of the task; the real-time inspection data includes, but is not limited to, information on temporary road closures for construction, current road network traffic congestion index, traffic speed on key road sections, weather warning information, equipment failure alarm signals, temporary emergency inspection work orders and their associated equipment locations, defect levels and obstacle information.
10. The method of claim 9, wherein, Based on the real-time inspection data, a dynamic window algorithm is used to locally correct the initial optimal path to obtain the inspection path for the power distribution equipment, including: Using the initial optimal path sequence as the global baseline path, when the inspection team is executing the plan and is about to move to the next device, the dynamic window algorithm is used to perform online adaptive replanning and correction of the local path segment from the current device to the next target device based on real-time inspection condition data. The dynamic window algorithm simulates and predicts the future trajectory of the inspection vehicle based on the motion state and real-time environmental information within each control cycle, and generates a dynamic window speed set by taking the intersection of three constraints. The three constraints include: the basic allowable speed set corresponding to the vehicle's mechanical limits, the achievable speed set corresponding to the motor's acceleration and deceleration performance, and the safe braking constraint set corresponding to real-time road conditions and obstacles. For each set of speeds within the dynamic window speed set, a corresponding predicted trajectory is generated. A comprehensive evaluation function, which includes five evaluation dimensions such as heading alignment, safe clearance, driving speed, target distance, and global path deviation, is used to score the trajectory and select the optimal predicted trajectory. The dynamic window algorithm is executed in a loop, and the optimal speed is output and sent to the inspection vehicle. After local path correction is completed segment by segment, the complete inspection path of the power distribution equipment is obtained by splicing.
