A method for selecting drone nests based on improved sand cat swarm optimization algorithm

Through the improved sand cat swarm optimization algorithm, the multi-objective constraint problem of drone nest deployment and route planning is solved, the optimal location and route planning of the drone nest are realized, and the power line inspection is improved. The efficiency and lean management level reduce costs.

CN118095604BActive Publication Date: 2024-09-10STATE GRID JIANGXI ELECTRIC POWER CO LTD RES INST +1
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202410465965.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-18
Publication Date
2024-09-10
Estimated Expiration
2044-04-18

AI Technical Summary

Technical Problem

In power line inspections, the optimal deployment problem of UAV nests is affected by dynamic constraints and space environmental factors. It is difficult for existing technology to generate the optimal and most energy-saving UAV routes and optimal routes under multi-objective conditions. The layout of drone nests leads to low inspection efficiency and high cost.

Method used

An improved sand cat group optimization algorithm is used to iteratively update the sand cat population by dividing the inspection range, calculating unit area weights, building a target model of the location and number of UAV nests, and using optimal neighborhood perturbation and sine and cosine optimization strategies. location, optimizing drone nest layout and route planning.

Benefits of technology

It has realized the optimal location of drone nests and optimal route planning, improved the lean management level and operation and maintenance efficiency of the transportation, inspection, transportation and distribution profession, reduced operating costs, and ensured full-area coverage and energy-saving effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118095604B
    Figure CN118095604B
Patent Text Reader

Abstract

The present invention belongs to the technical field of unmanned aerial vehicle inspection, and discloses a method for selecting the site of an unmanned aerial vehicle nest based on an improved sand cat group optimization algorithm. According to the distribution range and density of inspection points, inspection ranges of different sizes are divided; the inspection range is evenly divided into a number of unit areas of equal area, and the weight of the unit area is calculated according to the relationship between the number of transmission and distribution categories and the voltage level within the unit area; within the inspection range, a target model of the location and number of unmanned aerial vehicle nests is built according to constraint conditions; the location and number of unmanned aerial vehicle inspection points are used as the initialization location and number information of the sand cat population of the improved sand cat group optimization intelligent algorithm, and the target model is used as the constraint condition of the improved sand cat group optimization intelligent algorithm, and it is iteratively updated to obtain the optimal location of the unmanned aerial vehicle nest. The present invention can be used to achieve the optimal location of unmanned aerial vehicle nests and the optimal planning of unmanned aerial vehicle routes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of unmanned aerial vehicle inspection, and in particular relates to a method for selecting a drone nest site based on an improved sand cat swarm optimization algorithm. Background Art

[0002] It has become a trend to replace manual inspection with automated inspection of power lines by drones. In order to further improve the lean management level and operation and maintenance efficiency of transportation, inspection, transmission, transformation and distribution, reduce operating costs, alleviate the contradiction between insufficient inspection personnel and increasingly refined inspection, and improve the fully autonomous level of drone inspection, it is crucial to set up drone nests within the inspection range of power lines as fixed places for drone charging and placement. The location of drone nests is fixed, and the coverage range of each drone nest is limited. It is necessary to set up different nests to achieve the goal of full coverage of the power network, which leads to the optimal deployment problem of drone nest locations.

[0003] The optimal deployment location strategy for drone nests can be regarded as a new type of site selection optimization problem. Compared with the traditional facility site selection problem, the deployment problem of drone nests faces more new challenges. On the one hand, when drones move in three-dimensional space, there must be a certain area of ​​open area between the take-off point and the landing point, and they may face obstacle avoidance trajectory planning problems during the flight; on the other hand, drones have limited endurance, and their battery capacity limits the payload and continuous working time. While comprehensively considering safety distance, flight distance, service time, inspection quality and environmental issues, it is also necessary to consider power consumption issues. Therefore, under the conditions of dynamic constraints and spatial environmental factors, it is necessary to generate a collision-free flight path, and it is necessary to generate an optimal and most energy-efficient route under the constraints of multiple objective conditions.

[0004] The development of UAV path planning and the selection of UAV nests is not perfect, and has broad development prospects. In recent years, domestic and foreign scholars have conducted preliminary explorations on path planning and the selection of UAV nests, and have achieved certain results. However, due to the constraints of multiple conditions, considering the intelligentization and standardization of the UAV nest distribution system, the energy-saving optimization of route planning, and the use of the minimum number of UAV nests to achieve full coverage, it is necessary to consider the trade-off relationship between multiple goals, and also consider the optimization problems in actual application scenarios, analyze the weights of each goal, in order to solve the problem of UAV nest site selection, so there are still many problems to be improved and improved. Summary of the invention

[0005] In view of this, the purpose of the present invention is to provide a method for selecting a drone nest site based on an improved sand cat swarm optimization algorithm to select suitable drone nest locations, achieve the optimal site selection of drone nests and the optimal planning of drone routes, further improve the lean management level and operation and maintenance efficiency of transportation, inspection, transmission, transformation and distribution, reduce operating costs, and realize efficient inspection of integrated transmission, transformation and distribution.

[0006] To achieve the above object, the present invention provides the following technical solution: a method for selecting a drone nest site based on an improved sand cat swarm optimization algorithm, comprising the following steps:

[0007] Step S1, dividing the inspection ranges into different sizes according to the distribution range and density of the inspection points;

[0008] Step S2, divide the inspection range into a number of unit areas of equal area, and calculate the weight of the unit area according to the relationship between the number of transmission and distribution categories and the voltage level within the unit area;

[0009] Step S3: within the inspection range, build a target model of the location and number of drone nests according to the constraints;

[0010] Step S4, using the position and number of the drone inspection points as the initialization position and number information of the sand cat population of the improved sand cat group optimization intelligent algorithm, using the target model as the constraint condition of the improved sand cat group optimization intelligent algorithm, iteratively updating, and obtaining the optimal layout of the drone nest;

[0011] The sand cat swarm optimization intelligent algorithm is improved, and the optimal neighborhood disturbance strategy is adopted to improve the survey and development stages. The improved position update formula in the survey and development stages is:

[0012] ;

[0013] in, represents the position of the sand cat individual at iteration t+1; represents the optimal position of the sand cat population in the tth iteration; represents the sensitivity of the i-th sand cat; Represents a random number between 0 and 1;

[0014] The sine-cosine optimization strategy is used to improve the attack phase. The position update formula of the improved attack phase is as follows:

[0015] ;

[0016] in, Indicates that the location area of ​​the next solution is within or outside the current solution and the optimal solution; Indicates how far the current solution is towards or away from the optimal solution; Give a random weight to the optimal solution; The representation parameter switches the sine and cosine functions equally; Represents the optimal individual position of the tth iteration.

[0017] Further preferably, step S1 includes the following sub-steps:

[0018] Step S11, obtaining the longitude and latitude of each required inspection point to obtain a set of inspection point positions; calculating the distance of the inspection points according to the Euclidean geometry formula in two-dimensional space to obtain a set d of distances of each inspection point;

[0019] Step S12, using Eps and MinPts of the DBSCAN algorithm as the sand cat population of the improved sand cat swarm optimization intelligent algorithm, iterative optimization is performed to obtain the optimal Eps and MinPts, where Eps represents the neighborhood distance threshold of the sample, and MinPts represents the threshold value of the number of samples in the neighborhood of Eps; then the DBSCAN algorithm is used to divide the inspection range into different sizes.

[0020] Further preferably, in step S12, the inspection point set A obtained is , ,…, }, , ,…, Respectively represent the 1st, 2nd, ..., nth inspection points, Eps-neighborhood: jth inspection point ∈D, containing the jth inspection point in the sample set D The distance between the subsamples is not greater than Eps, denoted as , the number of this sub-sample set is recorded as , Represents the i-th inspection point With the jth inspection point The distance; core object: for any sample ∈D, if the subsample set corresponding to its Eps-neighborhood Contains at least MinPts samples, then It is a core object; boundary object: the neighborhood of the object is less than MinPts objects, but in the neighborhood of a core object, it becomes a boundary object; Eps and MinPts are used as the sand cat population of the improved sand cat group optimization intelligent algorithm, and iteratively obtain , To select the optimal Eps and MinPts.

[0021] Further optimization, Eps and MinPts are used as the sand cat population of the improved sand cat population optimization intelligent algorithm, and iteratively obtained , To select the optimal Eps and MinPts, the process is as follows:

[0022] Initialize the parameters of the improved sand cat colony optimization intelligent algorithm, initialize the population size, and initialize the position of the sand cat;

[0023] The fitness function is used to measure the clustering effect of the improved sand cat group optimization intelligent algorithm;

[0024] Update the optimal location of the sand cat colony , the number of individuals in the sand cat group is regarded as MinPts, and the optimal position of individuals in the sand cat group is calculated The distance to the target object is Eps. The latest cluster is obtained through DBSCAN, and the optimal fitness values ​​of sand cat individuals and groups are updated according to the fitness function;

[0025] Get the optimal Eps and MinPts;

[0026] pass , we can conclude ;

[0027] pass Find all core objects , through the core object Find all boundary objects in the neighborhood of ;

[0028] Core Objects Boundary Object Adding the numbers together gives the required inspection range.

[0029] Further preferably, the formula for calculating the weight of the unit area according to the relationship between the number of transmission and distribution categories and the voltage level within the unit area is:

[0030] ;

[0031] in, represents the weight of the vth unit area of ​​the wth inspection range, is the weight coefficient of the i-th type of transmission and distribution equipment, is the weight coefficient of the jth voltage level, is the number of transmission and transformation equipment per unit area of ​​k, n1 is the number of types of transmission and transformation equipment, n2 is the number of voltage levels, and n3 is the number per unit area.

[0032] Further preferably, the process of building a target model of the location and number of drone nests according to the constraint conditions includes:

[0033] Step S31: determine the cost constraint, expressed as:

[0034] ;

[0035] in, The annual cost of the construction investment of the i-th nest is converted into, is the annual operation and maintenance cost of the ith machine nest, is the comprehensive cost of the ith nest, is the maximum comprehensive cost of the ith nest, represents the weight of the vth unit area of ​​the wth inspection range, is the distance between the ith machine nest and the inspection point;

[0036] Step S32: determine the device constraints, expressed as:

[0037] ,

[0038] in, is the distance between the ith machine nest and the inspection point within the unit area, is the maximum distance between the ith machine nest and the inspection point within the unit area, is the distance between the i-th machine nest and the j-th inspection point of the v-th unit area in the w-th inspection range, and n is the number of inspection points;

[0039] Step S33: Inspection range The corresponding inspection area is , To determine the number of machine nests to be built within the inspection range:

[0040] = ;

[0041] in, Inspection range The weight corresponding to the average single machine nest, N is the number of machine nests, is the number per unit area;

[0042] Step S34: Assuming that the maximum range of the drone is T, it is necessary to ensure that the drone can reach the farthest inspection point within the inspection range. The flight distance constraint of the drone is:

[0043] T / 2>max( );

[0044] in, Indicates the distance between the constructed drone nest and the inspection point;

[0045] Step S35: Determine environmental constraints:

[0046] ;

[0047] in, is the comprehensive environmental hazard level, is the maximum value of the comprehensive environmental hazard level. The average number of rainfall accidents that occur each year is used as the hazard level. The number of wind and earthquake accidents that occur each year is used as the risk level. The annual number of bird-related accidents is used as the hazard level. The ice thickness is used as the hazard level. The slope of the topography is used as the hazard level.

[0048] The present invention also provides a non-volatile computer storage medium, which stores computer executable instructions. The computer executable instructions can execute the above-mentioned drone nest site selection method based on the improved sand cat swarm optimization algorithm.

[0049] The present invention also provides an electronic device, comprising: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the above-mentioned drone nest site selection method based on the improved sand cat swarm optimization algorithm.

[0050] Beneficial effects of the present invention: The present invention selects appropriate drone nests by improving the sand cat group optimization algorithm, realizes the optimal location of drone nests and the optimal planning of drone routes, and further improves the lean management level and operation and maintenance efficiency of transportation, inspection, transmission, transformation and distribution. The present invention builds a target model for the location and number of drone nests based on constraint conditions, adopts multi-objective constraints when selecting sites, and improves the rationality of site selection. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 This is a flow chart of Example 1. DETAILED DESCRIPTION

[0052] The present invention is further described below in conjunction with embodiments. It is necessary to point out that the following embodiments are only used to further illustrate the present invention and cannot be understood as limiting the scope of protection of the present invention. Some non-essential improvements and adjustments made by technical personnel in this field based on the above invention content still fall within the scope of protection of the present invention.

[0053] Example 1

[0054] like Figure 1 As shown, a method for selecting a drone nest site based on an improved sand cat swarm optimization algorithm comprises the following steps:

[0055] Step S1, dividing the inspection ranges into different sizes according to the distribution range and density of the inspection points;

[0056] Step S2, divide the inspection range into a number of unit areas of equal area, and calculate the weight of the unit area according to the relationship between the number of transmission and distribution categories and the voltage level within the unit area;

[0057] Step S3: within the inspection range, build a target model of the location and number of drone nests according to the constraints;

[0058] Step S4, using the position and number of the drone inspection points as the initialization position and number information of the sand cat population of the improved sand cat swarm optimization intelligent algorithm, using the target model as the constraint condition of the improved sand cat swarm optimization intelligent algorithm, iteratively updating, and obtaining the optimal layout of the drone nests.

[0059] The purpose of the present invention is to select appropriate locations for drone nests, further improve the professional lean management level and operation and maintenance efficiency of transportation, inspection, transmission, transformation and distribution, reduce operating costs, realize integrated and efficient inspection of drone airport transmission, transformation and distribution, and realize the optimal location of drone nests and optimal planning of drone routes. How to select the most practical optimization algorithm under the constraints of multiple objective conditions is the key to the technology. The process of the improved sand cat group optimization intelligent algorithm in this embodiment is as follows:

[0060] Step S41: The position and number of the drone inspection points are used as the initialization position and number information of the sand cat population. The position of the i-th sand cat is expressed as , set the sensitivity range of the Sand Cat from 2kHz to 0, as shown below:

[0061] ;

[0062] in, Indicates the sensitivity range of the sand cat, represents the simulated sand cat auditory feature parameters, t is the current iteration number, is the maximum number of iterations;

[0063] Step S42: The parameter R for controlling the transition between the survey and development phases is obtained by the following formula:

[0064] ;

[0065] in, represents a random number between 0 and 1. In the search step, the position update of each current search agent is based on a random position. In this way, the search agent is able to explore new spaces in the search space. To avoid falling into the local optimum, the sensitivity range of each sand cat is different, which is implemented by the following formula;

[0066] ;

[0067] in, represents the sensitivity of the i-th sand cat, It is used for position updates during exploration or development phases, and the sensitivity range of the SandCat It is used to guide the parameter R to achieve transfer control in the exploration or development phase;

[0068] The sand cat updates its position based on the optimal position of the current population, its own position, and the sensitivity range to explore other possible better prey positions. The sand cat finds a new local optimal position in the search area, and the new position obtained is between the current position and the prey position. At the same time, randomness ensures the convergence effect and complexity of the algorithm. The position update formula in the survey and development stage is as follows:

[0069] ;

[0070] in, represents the optimal position of the sand cat population in the tth iteration, represents the position of the sand cat individual in the tth iteration, Represents the position of the sand cat individual at iteration t+1.

[0071] In order to enhance the search of its neighborhood space, so that it can better jump out of the local optimum during the global search, find the global optimal solution, improve the convergence speed of the algorithm, and avoid premature algorithm maturation, the optimal neighborhood perturbation strategy is used to improve the survey and development stage. The improved position update formula of the survey and development stage is:

[0072] ;

[0073] Step S43, the position update formula in the attack phase is as follows:

[0074] ;

[0075] ;

[0076] in, represents the random position of individual sand cats, Represents the best position of individual sand cats, represents the position of the sand cat individual in the tth iteration, Represents a random number between [0,1], is a random angle between 0 and 360 degrees.

[0077] When the sand cat attacks its prey, in order to make the distance between the sand cat and the prey closer, the sine-cosine optimization strategy is used to improve the attack phase. The optimization process of the sine-cosine optimization algorithm can be divided into two stages. In the exploration phase, a certain random solution is combined to quickly find a feasible area in the search space among all random solutions; in the development phase, the random solution will gradually change, and the speed of change of the random solution will be lower than the speed of the exploration phase, which is more in line with the behavior of the sand cat attacking its prey, thereby reducing the step length and allowing the sand cat to wander around the prey as much as possible. In the sine-cosine algorithm, the candidate solution will first be randomly initialized, and then the value of the current solution in each dimension will be updated according to the sine or cosine function and combined with the random factor. The sine-cosine optimization strategy is used to improve the attack phase. The improved position update formula in the attack phase is as follows:

[0078] ;

[0079] in, Indicates how far the current solution is towards or away from the optimal solution; Giving a random weight to the optimal solution is to randomly emphasize ( >1) or ignore ( <1) The effect of the optimal solution on defining the moving distance of the candidate solutions; The representation parameter switches the sine and cosine functions equally. Represents the optimal individual position of the tth iteration. Indicates that the location area of ​​the next solution is within or outside the current solution and the optimal solution, calculated using the following formula:

[0080] ;

[0081] Where a is a constant, the smaller The value of helps to enhance the local development ability of the algorithm. The value of helps to improve the global exploration ability of the algorithm. The value of decreases gradually with the number of iterations, balancing the algorithm's local development and global search capabilities.

[0082] The exploration and development of intelligent algorithms for optimizing the sand cat swarm is done through the sensitivity range of the sand cat and parameter R. The two parameters realize the switching between the exploration and development stages of the sand cat swarm optimization intelligent algorithm. Since parameter R depends on the sensitivity range of the sand cat , so its fluctuation range will also decrease. When the sensitivity range of the sand cat is When the values ​​of are evenly distributed, the value of parameter R will also be well balanced, so the execution opportunities between the two stages will be adaptively adjusted according to the problem. In other words, parameter R is in the interval [-2 ,2 ], the sensitivity range of the sand cat It decreases linearly from 2 to 0 during the iteration process. When the random value of parameter R is in [-1,1], the next position of the sand cat can be anywhere between its current position and the hunting position. When R is less than or equal to 1, the sand cat is instructed to attack the prey, that is:

[0083] ;

[0084] Otherwise Sand Cat will conduct survey and development, namely:

[0085] ;

[0086] The above formula represents the position update of each sand cat in the exploration and development stages. When , the sand cats are guided to attack their prey; otherwise, the sand cats are tasked with finding new solutions in the global area.

[0087] Example 2

[0088] Based on the further improvement of Example 1, in this embodiment, the step S1 divides the inspection ranges of different sizes according to the distribution range and density of the inspection points, including:

[0089] Step S11, obtain the latitude and longitude of each required inspection point, and obtain the inspection point location set M={( , ), , ),…,( , )}; , ), , ),…,( , ) represent the horizontal and vertical coordinates of the positions of the 1st, 2nd, ..., nth inspection points respectively; each inspection point is recorded as the inspection point set A={ , ,…, }; , ,…, Respectively represent the 1st, 2nd, ..., nth inspection points;

[0090] The distance of the inspection point is calculated according to the Euclidean geometry formula in two-dimensional space:

[0091] = ;

[0092] in, Represents the i-th inspection point With the jth inspection point The distance between each inspection point is obtained by taking the distance i≠j, i, j≤n.

[0093] Step S12: Use the Eps and MinPts of the DBSCAN algorithm as the sand cat population of the improved sand cat population optimization intelligent algorithm, iteratively search for the optimal Eps and MinPts, and then use the DBSCAN algorithm to divide the inspection range into different sizes.

[0094] The DBSCAN algorithm is a typical density-based spatial clustering algorithm. Compared with K-Means and BIRCH, which are generally only applicable to clustering of convex sample sets, DBSCAN can be applied to both convex sample sets and non-convex sample sets. The algorithm divides areas with sufficient density into clusters and finds clusters of arbitrary shapes in a noisy spatial database. It defines a cluster as the largest set of density-connected points. That is, it requires that the number of objects (points or other spatial objects) contained in a certain area in the clustering space is not less than a given threshold. The significant advantages of the DBSCAN algorithm are fast clustering speed and the ability to effectively process noise points and find spatial clusters of arbitrary shapes. However, when the density of spatial clusters is uneven and the distance between clusters varies greatly, the clustering quality is poor.

[0095] In the DBSCAN algorithm, the parameters (Eps, MinPts) are used to describe the density of sample distribution in the neighborhood. Among them, Eps describes the neighborhood distance threshold of a certain sample, and MinPts describes the threshold of the number of samples in the neighborhood of a certain sample whose distance is Eps; the obtained inspection point set A={ , ,…, }, Eps-neighborhood: j-th inspection point ∈D, containing the jth inspection point in the sample set D The distance between the subsamples is not greater than Eps, denoted as , the number of this sub-sample set is recorded as . Core object: For any sample ∈D, if the subsample set corresponding to its Eps-neighborhood Contains at least MinPts samples, denoted as if ,but It is a core object. Boundary object: The neighborhood of the object is less than MinPts objects, but it is in the neighborhood of a core object and becomes a boundary object. Analyze the data distribution characteristics in the data set to select the optimal Eps and MinPts.

[0096] Eps and MinPts are used as the sand cat population of the improved sand cat population optimization intelligent algorithm, and iteratively obtained , To select the optimal Eps and MinPts, the process is as follows:

[0097] Initialize the parameters of the improved sand cat colony optimization intelligent algorithm, initialize the population size, and initialize the position of the sand cat;

[0098] The fitness function is used to measure the clustering effect of the improved sand cat group optimization intelligent algorithm. The index consists of two parts. The numerator is used to measure the intra-class tightness of the clustering result. The smaller the value of this part, the more reasonable the clustering; the denominator describes the degree of separation between classes of the clustering result. The larger the value of this part, the smaller the similarity between classes, indicating that the clustering effect is better. The specific fitness function is as follows:

[0099] ;

[0100] Among them, m is the number of clusters of the clustering result, Inspection range The number of samples in Same inspection range The maximum distance between any two inspection points in is the maximum distance between different inspection ranges, and They are inspection points in two different inspection ranges;

[0101] Update the optimal location of the sand cat colony , the number of individuals in the sand cat group is regarded as MinPts, and the optimal position of individuals in the sand cat group is calculated The distance to the target object is Eps. The latest cluster is obtained through DBSCAN, and the optimal fitness values ​​of sand cat individuals and groups are updated according to the fitness function;

[0102] Get the optimal Eps and MinPts;

[0103] pass , we can conclude ;

[0104] pass Find all core objects , through the core object Find all boundary objects in the neighborhood of ;

[0105] Core Objects Boundary Object Add the total to get the required inspection range ={ , ,..., }, , ,..., They are the 1st, 2nd, ..., mth inspection range sub-units respectively.

[0106] Example 3

[0107] On the basis of Example 2, the inspection range is divided into a number of unit areas of equal area, and the weight of the unit area is calculated according to the relationship between the number of transmission and distribution categories and the voltage level within the unit area. The specific process is as follows:

[0108] The number of transmission and transformation equipment and the voltage level in each unit area are different. The formula for calculating the weight of the unit area based on the relationship between the number of transmission and transformation types and the voltage level in the unit area is:

[0109] ;

[0110] in, represents the weight of the vth unit area of ​​the wth inspection range, is the weight coefficient of the i-th type of transmission and distribution equipment, is the weight coefficient of the jth voltage level, is the number of transmission and transformation equipment per unit area of ​​k, n1 is the number of types of transmission and transformation equipment, n2 is the number of voltage levels, and n3 is the number per unit area.

[0111] Example 4

[0112] The process of building the target model of the location and number of drone nests according to the constraints is as follows: the constraints include cost constraints, equipment constraints, drone flight distance constraints, and environmental constraints; let the longitude and latitude coordinates of the constructed nest be (X, Y), obtain the inspection point location set M, and calculate the distance between the constructed nests within the inspection range of different sizes and any inspection point:

[0113] = ;

[0114] in, Represents the i-th inspection point Distance to the machine nest, , are the i-th inspection point Horizontal and vertical coordinates of position;

[0115] Step S31, determine the cost constraints. For the cost of drone nest construction investment and maintenance costs, a mathematical model is constructed (cost hardware, installation, maintenance):

[0116] (1) The annual cost of construction investment can be converted into the cost of infrastructure by spreading it to a single machine nest.

[0117] ;

[0118] ;

[0119] In the formula, The annual cost of the construction investment of the i-th nest is converted into, is the initial construction investment cost of the i-th machine nest; is the number of drones in the ith nest; b is the hardware cost of the drone; c is the construction cost of the ith nest (excluding the hardware cost of the drone) spread over the price of a single drone; is the discount rate; z is the operating life of the drone nest.

[0120] (2) Annual operation and maintenance costs, usually calculated as η% of the initial construction investment costs.

[0121] ;

[0122] in, is the annual operation and maintenance cost of the ith machine nest, is the annual depreciation rate.

[0123] The cost constraint can be expressed as:

[0124] ;

[0125] in, is the comprehensive cost of the ith nest, is the maximum comprehensive cost of the ith nest, represents the weight of the vth unit area of ​​the wth inspection range, is the distance between the ith machine nest and the inspection point;

[0126] Step S32: Determine equipment constraints. The importance of equipment and the distance from the inspection point present a functional relationship:

[0127] ;

[0128] in, is the distance between the ith machine nest and the inspection point within the unit area, is the maximum distance between the ith machine nest and the inspection point within the unit area, is the distance between the i-th machine nest and the j-th inspection point in the v-th unit area in the w-th inspection range; n is the number of inspection points.

[0129] Step S33: Inspection range The corresponding inspection area is , To determine the number of machine nests to be built within the inspection range:

[0130] = ;

[0131] in, Inspection range The weight corresponding to the average single machine nest, N is the number of machine nests, is the number per unit area.

[0132] Step S34: Assuming that the maximum range of the drone is T, it is necessary to ensure that the drone can reach the farthest inspection point within the inspection range. The flight distance constraint of the drone is:

[0133] T / 2>max( );

[0134] in, Indicates the distance between the constructed drone nest and the inspection point.

[0135] Step S35: Determine environmental constraints:

[0136] The purpose of environmental constraints is to determine the impact of environmental factors on drone nests based on the danger of the natural environment. Obtain the risk assessment value, collect the number of events that have caused failures due to each factor in the past x years, and classify each event into a risk level. For numerical indicators, perform linear normalization operations to convert the data into the range of [0,1]. For character indicators, assign a number between [0,1]. For example, for ice thickness, you can assign 0.2, 0.5 and 1 respectively. For wind force and earthquake, there are 3 levels, assigned 0.2, 0.5 and 1 respectively. For the number of bird sizes, assign 0.2, 0.5 and 1 respectively.

[0137] The average annual number of rainfall accidents is used as the risk level, which is divided into three levels: low risk when the annual average number is ≤3, medium risk when 3<annual average number ≤6, and high risk when the annual average number is>6. is 0.2, 0.5 and 1 (i=1, 2, 3).

[0138] The number of wind and earthquake accidents that occur each year is used as the risk level and is divided into three levels: low risk when the annual average number is ≤1, medium risk when 1<annual average number ≤2, and high risk when the annual average number is>2. is 0.2, 0.5 and 1 (j=1, 2, 3).

[0139] The annual average number of bird-related accidents is used as the risk level and is divided into three levels: low risk when the annual average number is ≤1, medium risk when 1<annual average number ≤3, and high risk when the annual average number is>3. is 0.2, 0.5 and 1 (k=1, 2, 3).

[0140] Ice thickness is divided into three levels as the danger level. When the ice thickness is ≤30mm, it is low danger; when the ice thickness is 30mm<ice thickness≤80mm, it is medium danger; when the ice thickness is>80mm, it is high danger. is 0.2, 0.5 and 1 (l=1, 2, 3).

[0141] The slope of the terrain is used as a hazard level and is divided into three levels: low hazard when the slope is ≤3°, medium hazard when 3°<slope≤15°, and high hazard when the slope is >15°. is 0.2, 0.5 and 1 (z=1, 2, 3).

[0142] Environmental constraints can be expressed as:

[0143] ;

[0144] in, is the comprehensive environmental hazard level, is the maximum value of the comprehensive environmental hazard level. The average number of rainfall accidents that occur each year is used as the hazard level. The number of wind and earthquake accidents that occur each year is used as the risk level. The annual number of bird-related accidents is used as the hazard level. The ice thickness is used as the hazard level. The slope of the topography is used as the hazard level.

[0145] In another embodiment, a non-volatile computer storage medium is provided, which stores computer executable instructions, and the computer executable instructions can execute the drone nest site selection method based on the improved sand cat swarm optimization algorithm in the above embodiment.

[0146] This embodiment provides an electronic device, comprising: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute a drone nest site selection method based on an improved sand cat swarm optimization algorithm.

[0147] The specific implementation scheme described above further illustrates the purpose, technical scheme and technical effect of the present invention in detail. It should be understood that the above description is only a specific implementation scheme of the present invention and is not intended to limit the scope of the present invention. Any equivalent changes and modifications made by any technician in the field without departing from the ideas and principles of the present invention should fall within the scope of protection of the present invention.

Claims

1. A method for selecting a drone nest site based on an improved sand cat swarm optimization algorithm, characterized in that: The following steps are involved: Step S1, dividing the inspection ranges into different sizes according to the distribution range and density of the inspection points; Step S2, divide the inspection range into a number of unit areas of equal area, and calculate the weight of the unit area according to the relationship between the number of transmission and distribution categories and the voltage level within the unit area; Step S3: within the inspection range, build a target model of the location and number of drone nests according to the constraints; Step S4, using the position and number of the drone inspection points as the initialization position and number information of the sand cat population of the improved sand cat group optimization intelligent algorithm, using the target model as the constraint condition of the improved sand cat group optimization intelligent algorithm, iteratively updating, and obtaining the optimal layout of the drone nest; The improved sand cat swarm optimization intelligent algorithm adopts the optimal neighborhood disturbance strategy to improve the survey and development stages. The improved position update formula of the survey and development stage is: ; in, represents the position of the sand cat individual at iteration t+1; represents the optimal position of the sand cat population in the tth iteration; represents the sensitivity of the i-th sand cat; Represents a random number between 0 and 1; The sine-cosine optimization strategy is used to improve the attack phase. The position update formula of the improved attack phase is as follows: ; in, Indicates that the location area of ​​the next solution is within or outside the current solution and the optimal solution; Indicates how far the current solution is towards or away from the optimal solution; Give a random weight to the optimal solution; The representation parameter switches the sine and cosine functions equally; represents the optimal individual position of the tth iteration; The process of building a target model of the location and number of drone nests based on constraints includes: Step S31: determine the cost constraint, expressed as: ; in, The annual cost of the construction investment of the i-th nest is converted into, is the annual operation and maintenance cost of the ith machine nest, is the comprehensive cost of the ith nest, is the maximum comprehensive cost of the ith nest, represents the weight of the vth unit area of ​​the wth inspection range, is the distance between the ith machine nest and the inspection point; Step S32: determine the device constraints, expressed as: , in, is the distance between the ith machine nest and the inspection point within the unit area, is the maximum distance between the ith machine nest and the inspection point within the unit area, is the distance between the i-th machine nest and the j-th inspection point of the v-th unit area in the w-th inspection range, and n is the number of inspection points; Step S33: Inspection range The corresponding inspection area is , To determine the number of machine nests to be built within the inspection range: = ; in, Inspection range The weight corresponding to the average single machine nest, N is the number of machine nests, is the number per unit area; Step S34: Assuming that the maximum range of the drone is T, it is necessary to ensure that the drone can reach the farthest inspection point within the inspection range. The flight distance constraint of the drone is: T / 2>max( ); in, Indicates the distance between the constructed drone nest and the inspection point; Step S35: Determine environmental constraints: ; in, is the comprehensive environmental hazard level, is the maximum value of the comprehensive environmental hazard level. The average number of rainfall accidents that occur each year is used as the hazard level. The number of wind and earthquake accidents that occur each year is used as the risk level. The average number of bird-related accidents that occur each year is used as the hazard level. The ice thickness is used as the hazard level. The slope of the topography is used as the hazard level.

2. The method for selecting a drone nest site based on an improved sand cat swarm optimization algorithm according to claim 1 is characterized in that: Step S1 includes the following sub-steps: Step S11, obtaining the longitude and latitude of each required inspection point to obtain a set of inspection point positions; calculating the distance of the inspection points according to the Euclidean geometry formula in two-dimensional space to obtain a set d of distances of each inspection point; Step S12, using Eps and MinPts of the DBSCAN algorithm as the sand cat population of the improved sand cat swarm optimization intelligent algorithm, iterative optimization is performed to obtain the optimal Eps and MinPts, where Eps represents the neighborhood distance threshold of the sample, and MinPts represents the threshold value of the number of samples in the neighborhood of Eps; then the DBSCAN algorithm is used to divide the inspection range into different sizes.

3. The method for selecting a drone nest site based on an improved sand cat swarm optimization algorithm according to claim 2 is characterized in that: In step S12, the inspection point set A={ , ,…, }, , ,…, Respectively represent the 1st, 2nd, ..., nth inspection points, Eps-neighborhood: jth inspection point ∈D, containing the jth inspection point in the sample set D The distance between the subsamples is not greater than Eps, denoted as , the number of this sub-sample set is recorded as , Represents the i-th inspection point With the jth inspection point The distance; core object: for any sample ∈D, if the subsample set corresponding to its Eps-neighborhood Contains at least MinPts samples, then It is a core object; boundary object: the neighborhood of the object is less than MinPts objects, but in the neighborhood of a core object, it becomes a boundary object; Eps and MinPts are used as the sand cat population of the improved sand cat group optimization intelligent algorithm, and iteratively obtain , To select the optimal Eps and MinPts.

4. The method for selecting a drone nest site based on an improved sand cat swarm optimization algorithm according to claim 3 is characterized in that: Eps and MinPts are used as the sand cat population of the improved sand cat population optimization intelligent algorithm, and iteratively obtained , To select the optimal Eps and MinPts, the process is as follows: Initialize the parameters of the improved sand cat colony optimization intelligent algorithm, initialize the population size, and initialize the position of the sand cat; The fitness function is used to measure the clustering effect of the improved sand cat group optimization intelligent algorithm; Update the optimal location of the sand cat colony , the number of individuals in the sand cat group is regarded as MinPts, and the optimal position of individuals in the sand cat group is calculated The distance to the target object is Eps. The latest cluster is obtained through DBSCAN, and the optimal fitness values ​​of sand cat individuals and groups are updated according to the fitness function; Get the optimal Eps and MinPts; By Nϵ( )={ ∈D| ≤Eps}, we get ; pass Find all core objects , through the core object Find all boundary objects in the neighborhood of ; Core Objects Boundary Object Adding the numbers together gives the required inspection range.

5. The method for selecting a drone nest site based on an improved sand cat swarm optimization algorithm according to claim 1 is characterized in that: The formula for calculating the weight of a unit area based on the relationship between the number of transmission and distribution categories and voltage levels within a unit area is: ; in, represents the weight of the vth unit area of ​​the wth inspection range, is the weight coefficient of the i-th type of transmission and distribution equipment, is the weight coefficient of the jth voltage level, is the number of transmission and transformation equipment per unit area of ​​k, n1 is the number of types of transmission and transformation equipment, n2 is the number of voltage levels, and n3 is the number per unit area.

6. A non-volatile computer storage medium storing computer executable instructions, characterized in that: The computer executable instructions execute the drone nest site selection method based on the improved sand cat swarm optimization algorithm described in any one of claims 1-5.

7. An electronic device comprising: At least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, characterized in that the instructions are executed by the at least one processor so that the at least one processor executes the drone nest site selection method based on the improved sand cat swarm optimization algorithm as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Routing inspection unmanned aerial vehicle nest distribution and information interaction method

    CN111679690A

  • Communication facility site selection method based on size constraint clustering, medium and terminal

    CN115456342A

  • Wine type identification method based on salat group optimization support vector machine algorithm

    CN116089828A

  • Local shadow array MPPT method of meta-heuristic improved samson swarm optimization algorithm

    CN116992777A

  • Radio frequency identification network planning and deploying method based on improved salmons algorithm

    CN117440385A