Unmanned aerial vehicle route automatic optimization method for territorial resource monitoring and patrol

Through the combination of GIS and particle swarm algorithm, a three-dimensional digital twin model and real-time trajectory planning are constructed, which solves the shortcomings of three-dimensional dynamic trajectory planning in the existing technology and achieves efficient and accurate route optimization in land and resources monitoring.

CN118654673APending Publication Date: 2024-09-17KUNMING YUNCE TECH
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410679566.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

The existing technology lacks research on three-dimensional dynamic track planning in land and resources monitoring and inspection, and it is difficult to take into account both static and real-time planning at the same time, resulting in insufficient route optimization efficiency and accuracy.

Method used

Construct a three-dimensional regional digital twin model through GIS means, determine areas of interest and exclusion areas based on terrain characteristics and environmental data, use particle swarm algorithm and fuzzy comprehensive evaluation for real-time track planning, dynamically adjust aerial photography points and tracks, and achieve three-dimensional static and real-time Combination of tracks.

Benefits of technology

It improves the speed and accuracy of data collection, shortens the running time of the UAV algorithm, enhances the perception of areas of interest and exclusion areas, and provides a more efficient and accurate path planning solution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118654673A
    Figure CN118654673A
Patent Text Reader

Abstract

The invention discloses an unmanned aerial vehicle route automatic optimization method for territorial resource monitoring and patrol, and relates to the technical field of route planning. Judging whether a region of interest and a rejection region exist in the target region or not; when the unmanned aerial vehicle only detects the region of interest and detects the region of interest and a rejection region at the current three-dimensional aerial photography point coordinate, and the region of interest is not overlapped with the rejection region, real-time flight path planning of the region of interest is carried out; when the unmanned aerial vehicle only detects the exclusion area at the current three-dimensional aerial photography point coordinates and the route segment of the unmanned aerial vehicle passes through the exclusion area, real-time route planning of the exclusion area is carried out; and when the unmanned aerial vehicle detects the region of interest and the exclusion region at the current three-dimensional aerial photography point coordinates and the region of interest and the exclusion region are overlapped, dual real-time trajectory planning of the region of interest and the exclusion region is performed, so that the flight range of the unmanned aerial vehicle route is shorter, the danger degree is lower, and the data acquisition efficiency and accuracy are higher.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of route planning, and in particular to an automatic optimization method for unmanned aerial vehicle routes for land resources monitoring and inspection. Background Art

[0002] The existing technology CN112711267B "UAV autonomous inspection method based on RTK high-precision positioning and machine vision integration" filters redundant points through a trajectory screening method based on key points and trajectory angles, and outputs an optimized inspection route; when the drone flies close to the photo point, the drone adjusts the drone's spatial position through a high-precision positioning method based on RTK to accurately reach the photo point; the drone controls the pan-tilt rotation before taking a photo through a dynamic optimization positioning method based on the difference characteristics of the inspection object, and takes a photo after the target device image is located in the center of the photo. This type of drone autonomous inspection method solves the problems of route collection and positioning optimization, runs through the route learning to the autonomous inspection process, takes into account both inspection efficiency and inspection accuracy, and provides a high-efficiency solution for refined inspection.

[0003] The UAV trajectory planning is to formulate the optimal flight path from the initial position to the target position for the UAV based on the consideration of environmental factors such as terrain, weather, threats and its own flight performance. UAV trajectory planning is of great significance for land and resources monitoring and protection. At present, the existing technology has been fully studied on two-dimensional static trajectory planning. In the trajectory planning of the existing technology, the track node is usually extended by setting a specified distance. There is little research on the use of dynamic distance for node extension, and there is a lack of further research on three-dimensional dynamic trajectory planning. It is difficult to take both static planning and real-time planning into account at the same time. Summary of the invention

[0004] In order to solve the above technical problems, the purpose of the present invention is to provide a method for automatically optimizing the route of a drone for land resources monitoring and inspection, comprising the following steps:

[0005] Step s1: construct a three-dimensional regional digital twin model within the preset area by means of GIS, obtain the number of aerial photography points of each three-dimensional triangulated network model according to the terrain feature attributes in the three-dimensional regional digital twin model, and construct a three-dimensional static track according to the coverage area of ​​drone aerial photography, the location characteristics of the coverage area of ​​each three-dimensional triangulated network model, and the number of aerial photography points;

[0006] Step s2: judging whether there is an area of ​​interest and an exclusion area in the target area according to the image data and environmental data collected by the drone at the coordinates of the three-dimensional aerial photography point;

[0007] Step s3: when the UAV detects only the region of interest and detects the region of interest and the exclusion region at the current three-dimensional aerial photography point coordinates and the region of interest does not overlap with the exclusion region, real-time track planning of the region of interest is performed;

[0008] Step s4: when the drone detects only the exclusion area at the current three-dimensional aerial photography point coordinates, and the route segment of the drone passes through the exclusion area, real-time track planning of the exclusion area is performed;

[0009] Step s5: When the UAV detects the region of interest and the exclusion region at the current three-dimensional aerial photography point coordinates, and the region of interest overlaps with the exclusion region, dual real-time trajectory planning of the region of interest and the exclusion region is performed.

[0010] Furthermore, the process of constructing a three-dimensional regional digital twin model within a preset area by means of GIS includes:

[0011] Acquire the terrain features, ecological environment data and digital elevation data within the preset area, construct a plane triangulated network model of the preset area according to the terrain features, and assign terrain feature attribute information to each triangle in the plane triangulated network model, determine the elevation of each triangle vertex in the plane triangulated network model according to the digital elevation data, obtain a three-dimensional triangular model, map the ecological environment data as a texture to the three-dimensional triangulated network model, generate a three-dimensional regional digital twin model, and construct a three-dimensional coordinate system based on the three-dimensional regional digital twin model.

[0012] Furthermore, according to the terrain feature attributes in the three-dimensional regional digital twin model, the process of obtaining the number of aerial photography points of each three-dimensional triangulated network model includes:

[0013] The terrain feature attribute information of each 3D triangulated network model in the 3D regional digital twin model is used as the evaluation index, the index weight matrix of the evaluation index is set, and the membership matrix of each 3D triangulated network model on the complexity level is obtained through fuzzy comprehensive evaluation;

[0014] The complexity level of each 3D triangulated network model is obtained according to the membership matrix and the weight index matrix, and the number of aerial photography points of each 3D triangulated network model is obtained according to the complexity level.

[0015] Furthermore, the process of constructing a three-dimensional static track according to the coverage area of ​​the drone aerial photography, the location characteristics of the coverage area of ​​each three-dimensional triangulated network model, and the number of aerial photography points includes:

[0016] The dynamic coverage rate of the drone is obtained according to the coverage area of ​​drone photography, the location characteristics of the coverage area of ​​each 3D triangulated network model, and the number of aerial photography points. The fitness function of the particle swarm algorithm is obtained according to the dynamic coverage rate. At the same time, the adaptive dynamic weight that changes with the number of iterations is introduced to improve the particle swarm algorithm.

[0017] The best aerial points and the global best aerial points of each three-dimensional triangulated network model are obtained through the improved particle swarm algorithm, and the elevations of the projection points corresponding to the best aerial points and the global best aerial points in the three-dimensional coordinate system are obtained. The UAV safety height gap is preset, and the three-dimensional aerial points corresponding to the best aerial points and the global best aerial points are obtained according to the elevation of the projection points and the UAV safety height gap, and a three-dimensional static track is constructed according to the three-dimensional aerial points.

[0018] Furthermore, the process of determining whether there is an area of ​​interest in the target area according to the image data collected by the drone at the three-dimensional aerial photography point coordinates includes:

[0019] According to the image data, the texture feature sets corresponding to the local areas in the target area are extracted, and the texture feature sets corresponding to the three-dimensional triangulated network model to which the three-dimensional aerial point coordinates belong in the local areas are obtained, and the texture feature sets are marked as standard texture feature sets. The texture feature sets corresponding to the local areas in the target area are compared with the corresponding standard texture feature sets for similarity, and the local areas are marked as areas of interest according to the comparison results.

[0020] Furthermore, the process of determining whether there is an exclusion area in the target area based on the environmental data collected by the drone at the three-dimensional aerial photography point coordinates includes:

[0021] The environmental data of each local area in the target area is used as the evaluation index, the index weight matrix of the evaluation index is set, and the membership matrix of each local area on the threat coefficient is obtained through fuzzy comprehensive evaluation;

[0022] The threat coefficient of each local area is obtained according to the membership matrix and the weight index matrix, and a threat coefficient threshold is preset, and the local area with a threat coefficient greater than the threat coefficient threshold is marked as an exclusion area.

[0023] Further, when the drone detects only the region of interest and detects the region of interest and the exclusion region at the current three-dimensional aerial photography point coordinates and the region of interest does not overlap with the exclusion region, the process of performing real-time track planning for the region of interest includes:

[0024] Obtain the center point coordinates, coverage area and similarity coefficient of the area of ​​interest, obtain the dynamic distance corresponding to the current three-dimensional aerial point coordinates according to the coverage area and similarity coefficient of the area of ​​interest, obtain the heading according to the center point coordinates of the area of ​​interest and the current three-dimensional aerial point coordinates, obtain the temporary target point coordinates according to the dynamic distance and heading, and construct a local dynamic track according to the current three-dimensional aerial point coordinates and the temporary target point coordinates;

[0025] Acquire image data in the region of interest collected at the temporary target point coordinates, and acquire the coverage area and similarity coefficient of the region of interest according to the image data, acquire the coordinates of the next temporary target point according to the coverage area and the similarity coefficient, construct a local dynamic track according to the current temporary target point coordinates and the next temporary target point coordinates, and repeat the above local dynamic track construction process;

[0026] A dynamic distance threshold is set. When the dynamic distance corresponding to the temporary target point coordinates during the construction of the local dynamic track is greater than the dynamic distance threshold, the next three-dimensional aerial point coordinates corresponding to the current three-dimensional aerial point coordinates of the UAV on the three-dimensional static track are obtained, and a static regression track is constructed according to the temporary target point coordinates and the next three-dimensional aerial point coordinates.

[0027] Furthermore, when the drone detects only the exclusion area at the current three-dimensional aerial photography point coordinates, and the route segment of the drone passes through the exclusion area, the process of performing real-time track planning of the exclusion area includes:

[0028] The coordinates of the exclusion center point, the longest exclusion radius and the safe exclusion distance of the drone in the exclusion area are obtained, and the coordinates of the sub-target point are obtained based on the coordinates of the exclusion center point, the longest exclusion radius, the safe exclusion distance of the drone and the current three-dimensional aerial point coordinates. A real-time risk avoidance track is constructed based on the current three-dimensional aerial point coordinates, the sub-target point coordinates and the next three-dimensional aerial point coordinates.

[0029] Furthermore, when the drone detects an area of ​​interest and an exclusion area at the current three-dimensional aerial photography point coordinates, and the area of ​​interest overlaps with the exclusion area, the process of performing dual real-time trajectory planning of the area of ​​interest and the exclusion area includes:

[0030] Obtain the coordinates of the exclusion center point of the exclusion area and the coordinates of the center point of the interest area, obtain the coordinates of the sub-target point of the exclusion area according to the coordinates of the exclusion center point of the exclusion area and the coordinates of the center point of the interest area, and set a safety distance, obtain the heading according to the coordinates of the sub-target point and the current three-dimensional aerial point coordinates, obtain the real-time distance between the current three-dimensional aerial point coordinates and the coordinates of the exclusion center point, obtain the dynamic distance corresponding to the current three-dimensional aerial point coordinates according to the coverage area of ​​the interest area, the similarity coefficient, the threat coefficient of the exclusion area, the real-time distance and the safety distance, obtain the coordinates of the temporary target point according to the dynamic distance and heading, construct a local dynamic track according to the current three-dimensional aerial point coordinates and the temporary target point coordinates, and repeat the above local dynamic track construction process;

[0031] When the dynamic distance corresponding to the temporary target point coordinates is greater than the dynamic distance threshold or the UAV reaches the sub-target point coordinates during the local dynamic track construction process, the next three-dimensional aerial point coordinates corresponding to the current three-dimensional aerial point coordinates of the UAV on the three-dimensional static track are obtained, and a static regression track is constructed based on the temporary target point coordinates or the sub-target point coordinates and the next three-dimensional aerial point coordinates.

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

[0033] 1. Construct a three-dimensional regional digital twin model within the preset area by means of GIS, make advance planning based on the acquired environmental information, and obtain a three-dimensional static track. Then, judge whether there are interest areas and exclusion areas in the target area according to the image data and environmental data collected by the drone at the three-dimensional aerial photography point coordinates. When the drone only detects the interest area and detects the interest area and the exclusion area at the current three-dimensional aerial photography point coordinates and the interest area does not overlap with the exclusion area, the real-time track planning of the interest area is carried out. When the similarity coefficient of the interest area increases or the coverage area of ​​the interest area decreases, the distance between the temporary target points of the track gradually increases, thereby speeding up the data collection speed and shortening the running time of the internal algorithm of the drone; and when the similarity coefficient of the interest area is smaller or the coverage area of ​​the interest area increases, it proves that the degree of resource damage in the interest area is greater, and the distance between the temporary target points of the track gradually increases, realizing fine search and facilitating the collection of high-quality image data.

[0034] 2. When the drone detects an area of ​​interest and an exclusion area at the current three-dimensional aerial photography point coordinates, and the area of ​​interest overlaps with the exclusion area, dual real-time trajectory planning of the area of ​​interest and the exclusion area is performed. When the real-time distance of the drone is greater than or equal to the safety distance, the dynamic distance takes a larger value. When the real-time distance of the drone is less than the safety distance, as it gradually approaches the exclusion area, the dynamic distance between the coordinates of each temporary target point is rapidly reduced in an exponential trend, achieving refined detection, improving the drone's data collection accuracy for the overlapping area between the area of ​​interest and the exclusion area, and improving the drone's perception of the exclusion area to avoid mistakenly entering the exclusion area. By adopting a dynamic distance planning strategy, a refined search can be achieved near the target area, and a large-distance search can be achieved in the target-free area, providing a three-dimensional track with a shorter range, lower risk, and higher data collection efficiency and accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 This is a schematic diagram of a method for automatically optimizing drone routes for land resources monitoring and inspection according to an embodiment of the present application. DETAILED DESCRIPTION

[0036] The following is a clear and complete description of the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0037] like Figure 1 As shown, a method for automatically optimizing the route of a drone for land resources monitoring and inspection includes the following steps:

[0038] Step s1: construct a three-dimensional regional digital twin model within the preset area by means of GIS, obtain the number of aerial photography points of each three-dimensional triangulated network model according to the terrain feature attributes in the three-dimensional regional digital twin model, and construct a three-dimensional static track according to the coverage area of ​​drone aerial photography, the location characteristics of the coverage area of ​​each three-dimensional triangulated network model, and the number of aerial photography points;

[0039] Step s2: judging whether there is an area of ​​interest and an exclusion area in the target area according to the image data and environmental data collected by the drone at the coordinates of the three-dimensional aerial photography point;

[0040] Step s3: when the UAV detects only the region of interest and detects the region of interest and the exclusion region at the current three-dimensional aerial photography point coordinates and the region of interest does not overlap with the exclusion region, real-time track planning of the region of interest is performed;

[0041] Step s4: when the drone detects only the exclusion area at the current three-dimensional aerial photography point coordinates, and the route segment of the drone passes through the exclusion area, real-time track planning of the exclusion area is performed;

[0042] Step s5: When the UAV detects the region of interest and the exclusion region at the current three-dimensional aerial photography point coordinates, and the region of interest overlaps with the exclusion region, dual real-time trajectory planning of the region of interest and the exclusion region is performed.

[0043] It should be further explained that, in the specific implementation process, the process of constructing a three-dimensional regional digital twin model within a preset area by means of GIS includes:

[0044] Acquire GIS geographic data within a preset area in advance through GIS means, acquire terrain features, ecological environment data and digital elevation data based on the GIS geographic data, construct a plane triangulated network model of the preset area based on the terrain features, and assign terrain feature attribute information to each triangle in the plane triangulated network model, determine the elevation of each triangle vertex in the plane triangulated network model based on the digital elevation data, acquire a three-dimensional triangulated model, map the ecological environment data as a texture onto the three-dimensional triangulated network model, acquire a three-dimensional regional digital twin model corresponding to the ecological environment data, and construct a three-dimensional coordinate system based on the three-dimensional regional digital twin model.

[0045] It should be further explained that, in the specific implementation process, the terrain feature attribute information includes but is not limited to: describing the morphological characteristics of the earth's surface, such as mountains, rivers, hills, deserts, coastlines, etc.; describing the location data of the earth's surface, such as longitude and latitude, address and other information; describing the utilization of the earth's surface, such as farmland, urban construction areas, forests, etc.; describing the climate change of the earth's surface, such as temperature, rainfall, etc.; describing the population distribution of the earth's surface, such as population density and population composition, etc.

[0046] It should be further explained that, in the specific implementation process, according to the terrain feature attributes of each 3D triangulated network model in the 3D regional digital twin model, the process of obtaining the number of aerial photography points of each 3D triangulated network model includes:

[0047] The terrain feature attribute information of each 3D triangulated network model in the 3D regional digital twin model is used as the evaluation index, and the index weight matrix of the evaluation index is set. In order to reduce the uncertainty of fuzzy comprehensive evaluation, the index weight matrix is ​​determined based on the experience of experts. The membership matrix of each 3D triangulated network model on the complexity level is obtained through fuzzy comprehensive evaluation.

[0048] The complexity level of each 3D triangulated network model is obtained according to the membership matrix and the weight index matrix, and the number of aerial photography points of each 3D triangulated network model is obtained according to the complexity level.

[0049] Personalized aerial photography point settings are performed according to the complexity level of each 3D triangulated network model in the 3D regional digital twin model, which significantly improves the acquisition accuracy and data collection efficiency of aerial photography data of each 3D triangulated network model in the 3D regional digital twin model.

[0050] It should be further explained that, in the specific implementation process, the process of obtaining the complexity level of each 3D triangulated network model according to the membership matrix and the weight index matrix includes:

[0051] The indicator weight matrix and the membership matrix of the evaluation indicators are integrated through a formula to obtain a fuzzy comprehensive evaluation matrix of the evaluation indicators, the membership of each three-dimensional triangulated network model for different complexity levels is obtained according to the fuzzy comprehensive evaluation matrix, the complexity level with the highest membership corresponding to each three-dimensional triangulated network model is screened out, and the complexity level with the highest membership corresponding to each three-dimensional triangulated network model is used as the complexity level of each three-dimensional triangulated network model;

[0052] Wherein, the formula is:

[0053] M = αM1 × βM2;

[0054] Among them, M is the fuzzy comprehensive evaluation matrix of the evaluation index, M1 is the indicator weight matrix of the evaluation index, M2 is the membership matrix, "×" represents the multiplication of the elements at the corresponding positions of the weight matrix of the evaluation index and the membership matrix, and α and β are weighting parameters for controlling the balance between the weight matrix and the membership matrix in the fuzzy comprehensive evaluation matrix of the evaluation index.

[0055] It should be further explained that, in the specific implementation process, the process of constructing a 3D static track based on the coverage area of ​​drone aerial photography, the location characteristics of the coverage area of ​​each 3D triangulated network model, and the number of aerial photography points includes:

[0056] Obtain the coverage area of ​​drone aerial photography and the position characteristics of each three-dimensional triangulated network model in the three-dimensional regional digital twin model, the position characteristics are the coordinate sets of the coverage area of ​​each three-dimensional triangulated network model in the three-dimensional coordinate system, obtain the dynamic coverage rate of the drone according to the coverage area of ​​drone aerial photography, the position characteristics of the coverage area of ​​each three-dimensional triangulated network model and the number of aerial photography points, and obtain the fitness function of the particle swarm algorithm according to the dynamic coverage rate, and introduce the adaptive dynamic weight that changes with the number of iterations to improve the particle swarm algorithm;

[0057] The best aerial points and the global best aerial points of each three-dimensional triangulated network model are obtained through the improved particle swarm algorithm, and the elevations of the projection points corresponding to the best aerial points and the global best aerial points in the three-dimensional coordinate system are obtained. The UAV safety height gap is preset, and the three-dimensional aerial points corresponding to the best aerial points and the global best aerial points are obtained according to the elevation of the projection points and the UAV safety height gap, and a three-dimensional static track is constructed based on the three-dimensional aerial points.

[0058] It should be further explained that, in the specific implementation process, the dynamic coverage rate of the drone is obtained as the fitness function according to the coverage area of ​​the drone aerial photography, the number of aerial photography points and the position characteristics of the coverage area of ​​each 3D triangulated network model. The calculation formula of the dynamic coverage rate is:

[0059]

[0060] Among them, θ represents the conversion coefficient, s represents the area covered by the drone aerial photography, sd represents the area covered by the 3D triangulated network model, and d b represents the distance between the bth aerial photography point and the center point of the coverage area of ​​the 3D triangulated network model, o represents the number of aerial photography points, and when the range covered by the sensor terminal of the drone is outside the coverage area of ​​the 3D triangulated network model, the dynamic coverage rate is 0; aggregate the dynamic coverage rates of the coverage areas of each 3D triangulated network model to obtain the fitness function;

[0061] The particle swarm algorithm is improved by introducing adaptive dynamic weights that change with the number of iterations. The particle swarm algorithm expands the search space, allowing particles to jump out of the currently searched optimal position, thereby searching in a larger space, which is conducive to particle search for better solutions. The adaptive dynamic weight reflects the proportion of the particle inheriting the previous speed, changes with the number of particle iterations, optimizes the particle search, and performs weighted average processing on the dynamic weights of different iteration numbers. The dynamic weight calculation formula is:

[0062]

[0063] Among them, N represents the maximum number of iterations; n represents the number of iterations; r(n) represents the dynamic weight corresponding to the nth iteration; β(n) represents the weight factor corresponding to the nth iteration; δ represents the inertia coefficient; and e represents the exponent.

[0064] It should be further explained that, in the specific implementation process, firstly, the coordinates of each three-dimensional aerial point are obtained according to the elevation of each optimal aerial point and the projection point corresponding to each optimal aerial point and the safe height clearance of the UAV. At the same time, in order to obtain the shortest three-dimensional static track distance of the UAV, an objective function is constructed, and the objective function is:

[0065]

[0066] Among them, K(c i , c i+1 ) represents the three-dimensional aerial point c i and c i+1 The length of the flight segment, the three-dimensional aerial point c i The coordinates are (x i ,y i , z i ), m represents the total number of aerial photography points. At the same time, when planning the route, the performance limitations of the drone also need to be considered, and the following constraints are set:

[0067]

[0068]

[0069] γ≤γ max ;

[0070] Among them, R min represents the minimum turning radius, v represents the speed of the drone, and θ max represents the maximum tilt angle of the drone, g represents the control coefficient, L max represents the maximum range of the drone, γ represents the climb and descent gradient of the drone, and γ max Indicates the maximum climb and descent gradient of the drone;

[0071] It should be further explained that, in the specific implementation process, the process of determining whether there is an area of ​​interest in the target area based on the image data collected by the drone at the three-dimensional aerial photography point coordinates includes:

[0072] The unmanned aerial vehicle collects image data in the target area through the sensor terminal at the current three-dimensional aerial photography point coordinates, and extracts the texture feature sets corresponding to each local area in the target area by using the gray level co-occurrence matrix technology according to the image data, and obtains the texture feature sets corresponding to the three-dimensional triangulated network model in each local area to which the three-dimensional aerial photography point coordinates belong, and marks the texture feature sets as standard texture feature sets, and compares the texture feature sets corresponding to each local area in the target area with the corresponding standard texture feature sets for similarity, obtains the similarity coefficient of each local area, presets a similarity coefficient threshold, and marks the local area whose similarity coefficient is less than the similarity coefficient threshold as the area of ​​interest.

[0073] It should be further explained that, in the specific implementation process, it should be explained that there may be a lot of noise or poor image quality in the initial image data captured by the sensor terminal. Therefore, in one embodiment of the present invention, after the image data is obtained, it is necessary to perform image preprocessing operations on it to improve the quality of the image data so as to obtain image data for subsequent analysis. Improving image quality through image preprocessing operations is an image processing method well known to those skilled in the art. In the embodiment of the invention, the noise in the image is removed by a Gaussian filtering method, and then the image data is equalized to improve the contrast within the image, and the image data is grayed to convert the color image into a grayscale image. The graying process is usually achieved by averaging the weights of the color channels, wherein denoising and equalization processing and graying are technical means well known to those skilled in the art, and the specific steps are not repeated here. Other image preprocessing methods may also be used in other embodiments of the present invention, which are not limited here.

[0074] For the collected image data, the gray level co-occurrence matrix of the pixels included in each local area is calculated by sliding window. The specific details include quantizing the gray level of the image data into discrete gray levels, dividing the gray value range into several levels, for example, 8-bit images can be divided into 16, 32, and 64 levels, and defining the parameters required for the gray level co-occurrence matrix, including distance (d) and direction (θ), which are determined according to actual application requirements. The specific steps will not be repeated here. Subsequently, based on the calculated gray level co-occurrence matrix, the texture feature value of each local area is extracted to construct a texture feature set. The texture feature values ​​in the texture feature set include contrast, energy, homogeneity, and entropy.

[0075] The calculation formula for obtaining the similarity coefficient is:

[0076]

[0077] Among them, dc represents the similarity coefficient, sxd represents the contrast in the standard texture feature set, sx represents the contrast in the texture feature set, fvd represents the energy in the standard texture feature set, fv represents the energy in the texture feature set, hbd represents the homogeneity in the standard texture feature set, hb represents the homogeneity in the texture feature set, rtd represents the entropy in the standard texture feature set, rt represents the entropy in the texture feature set, and a1, a2, a3 and a4 represent weight factors.

[0078] It should be further explained that, in the specific implementation process, the process of judging whether there is an exclusion area in the target area based on the environmental data collected by the drone at the three-dimensional aerial photography point coordinates includes:

[0079] The drone collects environmental data of each local area in the target area through the sensor terminal at the current three-dimensional aerial photography point coordinates, takes the environmental data of each local area as the evaluation index, and sets the index weight matrix of the evaluation index. In order to reduce the uncertainty of fuzzy comprehensive evaluation, the index weight matrix is ​​determined based on the experience of experts. The membership matrix of each local area regarding the threat coefficient is obtained through fuzzy comprehensive evaluation.

[0080] The threat coefficient of each local area is obtained according to the membership matrix and the weight index matrix, and a threat coefficient threshold is preset, and the local area with a threat coefficient greater than the threat coefficient threshold is marked as an exclusion area.

[0081] It should be further explained that, during the specific implementation process, the environmental parameters that affect drone navigation and data collection include but are not limited to: temperature, humidity, air pressure, wind speed and direction, atmospheric transparency, and precipitation.

[0082] It should be further explained that, in the specific implementation process, when the UAV detects only the area of ​​interest and detects the area of ​​interest and the exclusion area at the current three-dimensional aerial photography point coordinates and the area of ​​interest does not overlap with the exclusion area, the process of real-time track planning of the area of ​​interest includes:

[0083] When the drone detects only the region of interest at the current three-dimensional aerial photography point coordinates, and detects the region of interest and the exclusion region and the region of interest does not overlap with the exclusion region, the center point coordinates, coverage area and similarity coefficient of the region of interest are obtained, the dynamic distance corresponding to the current three-dimensional aerial photography point coordinates is obtained according to the coverage area and similarity coefficient of the region of interest, the heading is obtained according to the center point coordinates of the region of interest and the current three-dimensional aerial photography point coordinates, the temporary target point coordinates are obtained according to the dynamic distance and heading, and a local dynamic track is constructed according to the current three-dimensional aerial photography point coordinates and the temporary target point coordinates;

[0084] When the UAV travels to the temporary target point coordinates according to the local dynamic track, the image data in the interest area is collected through the sensor terminal at the temporary target point coordinates, and the coverage area and similarity coefficient of the interest area are obtained according to the image data, the dynamic distance corresponding to the current temporary target point coordinates is obtained according to the coverage area and the similarity coefficient, and the next temporary target point coordinates are obtained according to the dynamic distance and heading, and the local dynamic track is obtained according to the current temporary target point coordinates and the next temporary target point coordinates, and the above local dynamic track construction process is repeated;

[0085] A dynamic distance threshold is set. When the dynamic distance corresponding to the temporary target point coordinates during the construction of the local dynamic track is greater than the dynamic distance threshold, the next three-dimensional aerial point coordinates corresponding to the current three-dimensional aerial point coordinates of the UAV on the three-dimensional static track are obtained, and a static regression track is constructed according to the temporary target point coordinates and the next three-dimensional aerial point coordinates.

[0086] The calculation formula for obtaining the dynamic distance corresponding to the current three-dimensional aerial point coordinates according to the coverage area of ​​the area of ​​interest and the similarity coefficient is:

[0087]

[0088] Among them, e represents the exponent, dc represents the similarity coefficient, Sr represents the coverage area, σ represents the conversion coefficient, and α and β represent weight factors.

[0089] It can be seen from the above formula that as the similarity coefficient of the region of interest increases or the coverage area of ​​the region of interest decreases, the distance between the temporary target points of the track gradually increases, thereby speeding up data acquisition and shortening the running time of the internal algorithm of the drone; and the smaller the similarity coefficient of the region of interest or the increase in the coverage area of ​​the region of interest, it proves that the degree of resource damage in the region of interest is greater, then the distance between the temporary target points of the track gradually decreases, achieving fine search and collecting high-quality image data.

[0090] It should be further explained that, in the specific implementation process, when the drone detects only the exclusion area at the current three-dimensional aerial photography point coordinates, and the route segment of the drone passes through the exclusion area, the process of real-time track planning of the exclusion area includes:

[0091] When the drone only detects the exclusion area at the current three-dimensional aerial photography point coordinates, the drone's route segment between the current three-dimensional aerial photography point coordinates and the next three-dimensional aerial photography point coordinates is obtained. If the route segment passes through the exclusion area, the exclusion center point coordinates, the longest exclusion radius and the drone's safe exclusion distance of the exclusion area are obtained, and the sub-target point coordinates are obtained based on the exclusion center point coordinates, the longest exclusion radius, the drone's safe exclusion distance and the current three-dimensional aerial photography point coordinates, and a real-time risk avoidance track is constructed based on the current three-dimensional aerial photography point coordinates, the sub-target point coordinates and the next three-dimensional aerial photography point coordinates.

[0092] It should be further explained that, in the specific implementation process, the process of obtaining the coordinates of the sub-target point according to the coordinates of the exclusion center point of the exclusion area, the longest exclusion radius, the drone safety exclusion distance and the coordinates of the current three-dimensional aerial photography point is as follows:

[0093]

[0094] L C = rh c +rhd;

[0095]

[0096] Where, L AB Indicates the distance between the current 3D aerial photography point coordinate A or the current temporary target point coordinate A and the sub-target point coordinate B, L AC Indicates the distance between the current 3D aerial photography point coordinate A or the current temporary target point coordinate A and the exclusion center point coordinate C, rh c represents the longest repulsion radius, rhd represents the safe repulsion distance of the drone, (x B ,y B ) represents the two-dimensional coordinates of the target point B on the xy axis. From the formula, we can know that the target point B can be selected on either side of the exclusion center point coordinates. (x A ,yA ) represents the two-dimensional coordinate of the current three-dimensional aerial photography point A on the xy axis, (x C ,y C ) represents the two-dimensional coordinate of the current repulsion center point coordinate C on the xy axis;

[0097] And obtain the elevation of the projection point corresponding to the two-dimensional coordinate of the target point coordinate B on the xy axis in the three-dimensional coordinate system, and obtain the z-axis coordinate z of the target point coordinate B according to the elevation of the projection point and the safety height clearance of the drone B , get the target point coordinates B(x B ,y B , z B ).

[0098] It should be further explained that, in the specific implementation process, when the drone detects the interest area and the exclusion area at the current three-dimensional aerial photography point coordinates, and the interest area overlaps with the exclusion area, the process of performing dual real-time trajectory planning of the interest area and the exclusion area includes:

[0099] When the drone detects the interest area and the exclusion area at the current three-dimensional aerial photography point coordinates, and the interest area overlaps with the exclusion area, the exclusion center point coordinates and the center point coordinates of the exclusion area are obtained, and the sub-target point coordinates of the exclusion area are obtained according to the exclusion center point coordinates and the center point coordinates of the interest area, and a safety distance is set, and the heading is obtained according to the sub-target point coordinates and the current three-dimensional aerial photography point coordinates, and the real-time distance between the current three-dimensional aerial photography point coordinates and the exclusion center point coordinates is obtained, and the dynamic distance corresponding to the current three-dimensional aerial photography point coordinates is obtained according to the coverage area of ​​the interest area, the similarity coefficient, the threat coefficient of the exclusion area, the real-time distance and the safety distance, and the temporary target point coordinates are obtained according to the dynamic distance and heading, and the local dynamic track is constructed according to the current three-dimensional aerial photography point coordinates and the temporary target point coordinates;

[0100] When the UAV travels to the temporary target point coordinates according to the local dynamic track, the image data in the interest area is collected through the sensor terminal at the temporary target point coordinates, and the coverage area and similarity coefficient of the interest area are obtained according to the image data, and the safety distance between the current temporary target point coordinates and the exclusion center point coordinates is obtained, and the dynamic distance corresponding to the current temporary target point coordinates is obtained according to the coverage area, similarity coefficient, threat coefficient of the exclusion area, real-time distance and safety distance, and the next temporary target point coordinates are obtained according to the dynamic distance and heading, and the local dynamic track is obtained according to the current temporary target point coordinates and the next temporary target point coordinates, and the above local dynamic track construction process is repeated;

[0101] When the dynamic distance corresponding to the temporary target point coordinates is greater than the dynamic distance threshold or the UAV reaches the sub-target point coordinates during the local dynamic track construction process, the next three-dimensional aerial point coordinates corresponding to the current three-dimensional aerial point coordinates of the UAV on the three-dimensional static track are obtained, and a static regression track is constructed based on the temporary target point coordinates or the sub-target point coordinates and the next three-dimensional aerial point coordinates.

[0102] It should be further explained that, in a specific implementation process, the process of obtaining the coordinates of the sub-target point of the exclusion area according to the coordinates of the exclusion center point of the exclusion area and the coordinates E of the center point of the interest area includes:

[0103] The known target point coordinates can be on either side of the exclusion center point coordinates. Therefore, the sub-target point coordinates (x B1 ,y B1 ) and (x B2 ,y B2 ),in,

[0104]

[0105]

[0106] Get the two-dimensional coordinates (x E ,y E ), respectively obtain (x B1 ,y B1 ) and (x B2 ,y B2 ) and the two-dimensional coordinates (x E ,y E ) and select the two-dimensional coordinates (x E ,y E ) is used as the final sub-target point, for example, the two-dimensional coordinate (x E ,y E ) is the coordinate of the sub-target point with the smallest distance between them (x B1 ,y B1 ), then obtain the elevation of the projection point corresponding to the two-dimensional coordinate of the target point coordinate B on the xy axis in the three-dimensional coordinate system, and obtain the z-axis coordinate z of the target point coordinate B according to the elevation of the projection point and the safe height clearance of the drone B1 , get the target point coordinates B(x B1 ,y B1 , z B1 ).

[0107] It should be further explained that, in the specific implementation process, the formula for obtaining the dynamic distance LPR corresponding to the current temporary target point coordinates according to the coverage area, similarity coefficient, threat coefficient of the exclusion area, real-time distance and safety distance is:

[0108]

[0109] Among them, θ represents the threat coefficient, dist represents the real-time distance, and dist safe Indicates safe distance;

[0110] When the real-time distance of the drone is greater than or equal to the safe distance, the dynamic distance LPR takes the larger value. When the real-time distance of the UAV is less than the safe distance and it gradually approaches the exclusion area, the dynamic distance between the coordinates of each temporary target point decreases rapidly in an exponential trend, achieving refined detection, improving the accuracy of UAV data collection in the overlapping area between the area of ​​interest and the exclusion area, and improving the UAV's perception of the exclusion area to avoid mistaken entry into the exclusion area.

[0111] The above embodiments are only used to illustrate the technical method of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.

Claims

1. A method for automatically optimizing the routes of unmanned aerial vehicles for land resources monitoring and inspection, characterized in that: The following steps are involved: Step s1: construct a three-dimensional regional digital twin model within the preset area by means of GIS, obtain the number of aerial photography points of each three-dimensional triangulated network model according to the terrain feature attributes in the three-dimensional regional digital twin model, and construct a three-dimensional static track according to the coverage area of ​​drone aerial photography, the location characteristics of the coverage area of ​​each three-dimensional triangulated network model, and the number of aerial photography points; Step s2: judging whether there is an area of ​​interest and an exclusion area in the target area according to the image data and environmental data collected by the drone at the coordinates of the three-dimensional aerial photography point; Step s3: when the UAV detects only the region of interest and detects the region of interest and the exclusion region at the current three-dimensional aerial photography point coordinates and the region of interest does not overlap with the exclusion region, real-time track planning of the region of interest is performed; Step s4: when the drone detects only the exclusion area at the current three-dimensional aerial photography point coordinates, and the route segment of the drone passes through the exclusion area, real-time track planning of the exclusion area is performed; Step s5: When the UAV detects the region of interest and the exclusion region at the current three-dimensional aerial photography point coordinates, and the region of interest overlaps with the exclusion region, dual real-time trajectory planning of the region of interest and the exclusion region is performed.

2. The method for automatically optimizing the route of a drone for land resources monitoring and inspection according to claim 1 is characterized in that: The process of constructing a three-dimensional regional digital twin model within a preset area through GIS means includes: Acquire the terrain features, ecological environment data and digital elevation data within the preset area, construct a plane triangulated network model of the preset area according to the terrain features, and assign terrain feature attribute information to each triangle in the plane triangulated network model, determine the elevation of each triangle vertex in the plane triangulated network model according to the digital elevation data, obtain a three-dimensional triangular model, map the ecological environment data as a texture to the three-dimensional triangulated network model, generate a three-dimensional regional digital twin model, and construct a three-dimensional coordinate system based on the three-dimensional regional digital twin model.

3. The method for automatically optimizing the route of a drone for land resources monitoring and inspection according to claim 2 is characterized in that: According to the terrain feature attributes in the 3D regional digital twin model, the process of obtaining the number of aerial photography points of each 3D triangulated network model includes: The terrain feature attribute information of each 3D triangulated network model in the 3D regional digital twin model is used as the evaluation index, the index weight matrix of the evaluation index is set, and the membership matrix of each 3D triangulated network model on the complexity level is obtained through fuzzy comprehensive evaluation; The complexity level of each 3D triangulated network model is obtained according to the membership matrix and the weight index matrix, and the number of aerial photography points of each 3D triangulated network model is obtained according to the complexity level.

4. The method for automatically optimizing the route of a drone for land resources monitoring and inspection according to claim 3 is characterized in that: The process of constructing a 3D static track based on the coverage area of ​​drone aerial photography, the location characteristics of each 3D triangulated network model coverage area, and the number of aerial photography points includes: The dynamic coverage rate of the drone is obtained according to the coverage area of ​​drone photography, the location characteristics of the coverage area of ​​each 3D triangulated network model, and the number of aerial photography points. The fitness function of the particle swarm algorithm is obtained according to the dynamic coverage rate. At the same time, the adaptive dynamic weight that changes with the number of iterations is introduced to improve the particle swarm algorithm. The best aerial points and the global best aerial points of each three-dimensional triangulated network model are obtained through the improved particle swarm algorithm, and the elevations of the projection points corresponding to the best aerial points and the global best aerial points in the three-dimensional coordinate system are obtained. The UAV safety height gap is preset, and the three-dimensional aerial points corresponding to the best aerial points and the global best aerial points are obtained according to the elevation of the projection points and the UAV safety height gap, and a three-dimensional static track is constructed according to the three-dimensional aerial points.

5. The method for automatically optimizing the route of a drone for land resources monitoring and inspection according to claim 4 is characterized in that: The process of judging whether there is an area of ​​interest in the target area based on the image data collected by the drone at the coordinates of the three-dimensional aerial photography point includes: According to the image data, the texture feature sets corresponding to the local areas in the target area are extracted, and the texture feature sets corresponding to the three-dimensional triangulated network model to which the three-dimensional aerial point coordinates belong in the local areas are obtained, and the texture feature sets are marked as standard texture feature sets. The texture feature sets corresponding to the local areas in the target area are compared with the corresponding standard texture feature sets for similarity, and the local areas are marked as areas of interest according to the comparison results.

6. The method for automatically optimizing the route of a drone for land resources monitoring and inspection according to claim 5 is characterized in that: The process of judging whether there is an exclusion area in the target area based on the environmental data collected by the drone at the coordinates of the three-dimensional aerial photography point includes: The environmental data of each local area in the target area is used as the evaluation index, the index weight matrix of the evaluation index is set, and the membership matrix of each local area on the threat coefficient is obtained through fuzzy comprehensive evaluation; The threat coefficient of each local area is obtained according to the membership matrix and the weight index matrix, and a threat coefficient threshold is preset, and the local area with a threat coefficient greater than the threat coefficient threshold is marked as an exclusion area.

7. The method for automatically optimizing the route of a drone for land resources monitoring and inspection according to claim 6 is characterized in that: When the UAV detects only the region of interest and detects the region of interest and the exclusion region at the current three-dimensional aerial photography point coordinates and the region of interest does not overlap with the exclusion region, the process of performing real-time track planning for the region of interest includes: Obtain the center point coordinates, coverage area and similarity coefficient of the area of ​​interest, obtain the dynamic distance corresponding to the current three-dimensional aerial point coordinates according to the coverage area and similarity coefficient of the area of ​​interest, obtain the heading according to the center point coordinates of the area of ​​interest and the current three-dimensional aerial point coordinates, obtain the temporary target point coordinates according to the dynamic distance and heading, and construct a local dynamic track according to the current three-dimensional aerial point coordinates and the temporary target point coordinates; Acquire image data in the region of interest collected at the temporary target point coordinates, and acquire the coverage area and similarity coefficient of the region of interest according to the image data, acquire the coordinates of the next temporary target point according to the coverage area and the similarity coefficient, construct a local dynamic track according to the current temporary target point coordinates and the next temporary target point coordinates, and repeat the above local dynamic track construction process; A dynamic distance threshold is set. When the dynamic distance corresponding to the temporary target point coordinates during the construction of the local dynamic track is greater than the dynamic distance threshold, the next three-dimensional aerial point coordinates corresponding to the current three-dimensional aerial point coordinates of the UAV on the three-dimensional static track are obtained, and a static regression track is constructed according to the temporary target point coordinates and the next three-dimensional aerial point coordinates.

8. The method for automatically optimizing the route of a drone for land resources monitoring and inspection according to claim 7 is characterized in that: When the drone detects only the exclusion area at the current three-dimensional aerial photography point coordinates, and the route segment of the drone passes through the exclusion area, the process of performing real-time track planning for the exclusion area includes: The coordinates of the exclusion center point, the longest exclusion radius and the safe exclusion distance of the drone in the exclusion area are obtained, and the coordinates of the sub-target point are obtained based on the coordinates of the exclusion center point, the longest exclusion radius, the safe exclusion distance of the drone and the current three-dimensional aerial point coordinates. A real-time risk avoidance track is constructed based on the current three-dimensional aerial point coordinates, the sub-target point coordinates and the next three-dimensional aerial point coordinates.

9. The method for automatically optimizing the route of a drone for land resources monitoring and inspection according to claim 8, characterized in that: When the drone detects an area of ​​interest and an exclusion area at the current three-dimensional aerial photography point coordinates, and the area of ​​interest overlaps with the exclusion area, the process of performing dual real-time trajectory planning of the area of ​​interest and the exclusion area includes: Obtain the coordinates of the exclusion center point of the exclusion area and the coordinates of the center point of the interest area, obtain the coordinates of the sub-target point of the exclusion area according to the coordinates of the exclusion center point of the exclusion area and the coordinates of the center point of the interest area, and set a safety distance, obtain the heading according to the coordinates of the sub-target point and the current three-dimensional aerial point coordinates, obtain the real-time distance between the current three-dimensional aerial point coordinates and the coordinates of the exclusion center point, obtain the dynamic distance corresponding to the current three-dimensional aerial point coordinates according to the coverage area of ​​the interest area, the similarity coefficient, the threat coefficient of the exclusion area, the real-time distance and the safety distance, obtain the coordinates of the temporary target point according to the dynamic distance and heading, construct a local dynamic track according to the current three-dimensional aerial point coordinates and the temporary target point coordinates, and repeat the above local dynamic track construction process; When the dynamic distance corresponding to the temporary target point coordinates is greater than the dynamic distance threshold or the UAV reaches the sub-target point coordinates during the local dynamic track construction process, the next three-dimensional aerial point coordinates corresponding to the current three-dimensional aerial point coordinates of the UAV on the three-dimensional static track are obtained, and a static regression track is constructed based on the temporary target point coordinates or the sub-target point coordinates and the next three-dimensional aerial point coordinates.

Citation Information

Cited By

  • Method, device and equipment for optimizing patrol path of unmanned aerial vehicle group in chemical industry park

    CN119987408A

  • An optimization method, device and equipment for the inspection path of an unmanned aerial vehicle group in a chemical industrial park

    CN119987408B