Terrain surveying and mapping method and system based on unmanned aerial vehicle laser radar
By analyzing and planning UAV terrain surveying and mapping methods in mountainous forest areas, the problem of missing data caused by dense trees is solved, ensuring the integrity of surveying and mapping data and operational efficiency.
Patent Information
- Application Number
- CN202411081554.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-08
- Publication Date
- 2024-10-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In terrain surveying and mapping in mountainous forest areas, dense trees cause lidar signals to be blocked, making it impossible to obtain coordinate information at certain locations, resulting in missing data and affecting the integrity of surveying and mapping operations.
By analyzing the status and renderings of drone surveying and mapping, we can determine the missing points and normal points in surveying and mapping, delineate the missing areas, determine the entry and removal points of vegetation based on these areas, plan the missing surveying and mapping paths, and control the drone to move along these paths. Obtain missing data until all missing areas are filled in.
It effectively reduces the impact of dense trees on UAV terrain surveying and mapping operations, ensures the integrity of surveying and mapping data, and rationally plans the UAV's driving path, improving operational efficiency.
Smart Images

Figure CN118759533A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terrain surveying and mapping technology, and in particular to a terrain surveying and mapping method and system based on unmanned aerial vehicle laser radar. Background Art
[0002] UAV LiDAR is a remote sensing technology integrated into UAVs. It acquires the three-dimensional coordinate information of the ground or other objects by emitting laser pulses and receiving their reflected signals, so that surveying and mapping can be carried out through the corresponding three-dimensional coordinate information.
[0003] In related technologies, when conducting topographic surveying in mountainous and forested areas, due to the complex terrain, drones equipped with laser radar are generally used for surveying. When the drone is operating, the drone is controlled to fly according to the set path. At this time, the drone can obtain the coordinate information of each ground position, so that it is convenient to perform 3D modeling processing based on the coordinate information to realize topographic surveying.
[0004] In the above-mentioned related technologies, since there are many trees in mountainous areas, once the drone moves to a location where the trees are densely populated to obtain coordinate information, the lidar signal may be blocked by branches and leaves. At this time, the coordinate information of the location cannot be obtained, resulting in data loss, which in turn affects the overall terrain surveying and mapping operations. There is still room for improvement. Summary of the invention
[0005] In order to reduce the impact of dense trees on UAV terrain mapping operations, the present application provides a terrain mapping method and system based on UAV laser radar.
[0006] In the first aspect, the present application provides a terrain surveying and mapping method based on UAV laser radar, which adopts the following technical solution:
[0007] A terrain surveying and mapping method based on unmanned aerial vehicle laser radar, comprising:
[0008] Get the drone mapping status;
[0009] When the UAV mapping status is consistent with the preset completed mapping status, obtain the regional mapping effect map;
[0010] Analyze the regional surveying and mapping effect map to determine the surveying and mapping missing points and normal surveying and mapping points, and delineate the surveying and mapping missing areas based on each surveying and mapping missing point;
[0011] Delineate the center point of the area in the missing mapping area, and process the missing mapping area according to the center point of the area and the preset magnification to determine the detection area;
[0012] Determine the vegetation entry point and the vegetation exit point among all the normal surveying points in the detection area, and define the missing surveying path according to the vegetation entry point, the vegetation exit point and the surveying missing area, and determine the regional detection order according to each surveying missing area;
[0013] Control the drone to descend at the vegetation entry point and obtain the drone detection status in real time. When the drone detection status is consistent with the preset entry status, control the drone to move along the missing mapping path. After the missing mapping path is completed, control the drone to ascend at the vegetation exit point until the drone detection status is consistent with the preset exit status, and output the missing completion signal.
[0014] After the missing completion signal is output, the drone is controlled to move to the next inspection area according to the area inspection sequence to continue the operation until all the surveying missing areas have output the missing completion signal.
[0015] Optionally, the step of delineating the surveying and mapping missing area according to each surveying and mapping missing point includes:
[0016] Determine the distance between missing points based on any two missing points in surveying and mapping;
[0017] The two surveying missing points whose distance between the missing points is less than the preset proximity distance are summarized into the same preset point summary set;
[0018] Connect any two missing points in the same point summary set to form a point connection diagram;
[0019] In the point-to-point line diagram, the line segments that intersect with other line segments at points other than the surveying and mapping missing points are defined as internal line segments, and the remaining line segments other than the internal line segments are defined as boundary line segments, and the surveying and mapping missing areas are determined based on the enclosure of the boundary line segments.
[0020] Optionally, the step of defining the center point of the area in the surveying and mapping missing area includes:
[0021] The survey-missing points on the boundary line segment are defined as primary points, and the remaining survey-missing points in the survey-missing area are defined as secondary points;
[0022] A virtual point is randomly generated in the surveying missing area, and a primary separation distance is determined based on the primary point and the virtual point, and a secondary separation distance is determined based on the secondary point and the virtual point;
[0023] A main separation distance is randomly selected from all the main separation distances as the original separation distance, and the remaining main separation distances are subtracted from the original separation distance to determine the main difference distance, and the mean deviation distance is determined by calculation based on all the main difference distances;
[0024] According to a preset sorting rule, the mean deviation distance with the smallest value is determined, and the mean deviation distance is defined as the main representative distance;
[0025] Determine a secondary representative distance based on all secondary standoff distances, and perform calculations based on the primary representative distance, the secondary representative distance, a preset primary calculation weight, and a preset secondary calculation weight to determine an overall deviation value;
[0026] The overall deviation value with the smallest value is determined according to the sorting rule, and the virtual point corresponding to the overall deviation value is determined as the center point of the region.
[0027] Optionally, after the overall deviation value is determined, the terrain surveying method based on the UAV laser radar further includes:
[0028] Determine whether there are at least two virtual points with the same and minimum overall deviation values;
[0029] If there are not at least two virtual points with the same and smallest overall deviation value, the center point of the region is determined according to the virtual point with the smallest overall deviation value;
[0030] If there are at least two virtual points with the same and smallest overall deviation value, the virtual point with the smallest overall deviation value is defined as the candidate point, and a substitute point is randomly generated in the surveying and mapping missing area, and the distance between the substitute points is determined based on the substitute point and the candidate point;
[0031] Calculate the mean of all the candidate generation distances to determine the mean distance, and calculate the candidate deviation value based on the mean distance and all the candidate generation distances;
[0032] The candidate deviation value with the smallest value is determined according to the sorting rule, and the substitution point corresponding to the candidate deviation value is determined as the center point of the region.
[0033] Optionally, the step of determining the vegetation entry point and the vegetation exit point among all the normal points in the detection area includes:
[0034] Determine the normal missing distance based on the normal surveying points and each missing surveying point;
[0035] All normal points of surveying and mapping whose normal missing intervals are greater than the preset separation distance are defined as valid passage points;
[0036] In the surveying and mapping missing area, all the surveying and mapping missing points are sorted and combined to determine the missing surveying and mapping order, and the distances between the missing points corresponding to the missing surveying and mapping order are summed up to determine the overall detection distance;
[0037] Determine the overall detection distance with the smallest value according to the sorting rule, define the missing mapping order corresponding to the overall detection distance as a reasonable mapping order, and determine the first end missing point and the end missing point according to the reasonable mapping order;
[0038] The head-end distance is determined based on the valid pass points and the head-end missing points, and the end-end distance is determined based on the valid pass points and the end-end missing points;
[0039] The starting and ending distances with the smallest values are determined according to the sorting rules, and the valid pass point corresponding to the smallest starting and ending distance is determined as the vegetation entry point, and the valid pass point corresponding to the smallest ending distance is determined as the vegetation exit point.
[0040] Optionally, the step of determining the region detection order according to each surveying and mapping missing region includes:
[0041] Get the device's location when the drone's mapping status is consistent with the completed mapping status;
[0042] Randomly sort each mapping-missing area to determine a feasible inspection order;
[0043] Determine the external flight distance based on the location of the device, the preset device parking location, the feasible detection sequence, each vegetation entry point and vegetation exit point;
[0044] The external flight distance with the smallest value is determined according to the sorting rule, and the feasible detection sequence corresponding to the external flight distance is determined as the area detection sequence.
[0045] In the second aspect, the present application provides a terrain mapping system based on UAV laser radar, which adopts the following technical solutions:
[0046] A terrain surveying and mapping system based on UAV laser radar, comprising:
[0047] Acquisition module, used to obtain the UAV mapping status;
[0048] A processing module, connected to the acquisition module and the judgment module, for storing and processing information;
[0049] A judgment module, connected with the acquisition module and the processing module, for judging the information;
[0050] When the judging module judges that the UAV surveying and mapping state is consistent with the preset completed surveying and mapping state, the acquiring module acquires the regional surveying and mapping effect map;
[0051] The processing module analyzes the regional surveying and mapping effect map to determine the surveying and mapping missing points and the surveying and mapping normal points, and delineates the surveying and mapping missing areas according to each surveying and mapping missing point;
[0052] The processing module demarcates a center point of the region in the surveying and mapping missing region, and processes the surveying and mapping missing region according to the center point of the region and a preset magnification to determine the detection region;
[0053] The processing module determines the vegetation entry point and the vegetation exit point among all the normal surveying points in the detection area, and defines the missing surveying path according to the vegetation entry point, the vegetation exit point and the surveying missing area, and determines the area detection order according to each surveying missing area;
[0054] The processing module controls the drone to descend at the vegetation entry point and enables the acquisition module to acquire the drone detection status in real time. When the judgment module determines that the drone detection status is consistent with the preset entry status, the processing module controls the drone to move along the missing mapping path. After the missing mapping path is completed, the drone is controlled to ascend at the vegetation exit point until the drone detection status is consistent with the preset exit status, and a missing completion signal is output;
[0055] After the missing completion signal is output, the processing module controls the UAV to move to the next detection area according to the area detection sequence to continue the operation until all the surveying missing areas output the missing completion signal.
[0056] In a third aspect, the present application provides a computer storage medium capable of storing a corresponding program, which has the characteristics of reducing the impact of dense trees on UAV terrain mapping operations, and adopts the following technical solutions:
[0057] A computer-readable storage medium stores a computer program that can be loaded by a processor and execute any of the above-mentioned terrain surveying and mapping methods based on unmanned aerial vehicle laser radar.
[0058] In summary, the present application includes at least one of the following beneficial technical effects:
[0059] 1. When using a drone equipped with a lidar for terrain mapping, areas that cannot be mapped due to dense trees can be identified, and the drone can be controlled to descend through the trees to map the area normally, thereby reducing the impact of dense trees on the drone's terrain mapping operations;
[0060] 2. A more appropriate regional center point can be determined to make the demarcation of the detection area more accurate;
[0061] 3. The UAV's driving path can be reasonably planned, so that the UAV operation effect is better and the overall flight distance can be reduced, thereby improving the overall operation efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] Figure 1 It is a flow chart of the terrain mapping method based on UAV lidar.
[0063] Figure 2 It is a module flow chart of the terrain mapping method based on UAV lidar. DETAILED DESCRIPTION
[0064] In order to make the purpose, technical solutions and advantages of this application more clear, the following Figure 1-Figure 2 It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0065] The embodiments of the present application are further described in detail below in conjunction with the drawings in the specification.
[0066] The embodiment of the present application discloses a terrain surveying and mapping method based on a UAV laser radar. When the UAV performs terrain surveying and mapping operations, the tree density at each location point in the surveying and mapping area can be analyzed so as to control the UAV to descend into the woods at the location point with dense trees to map the terrain, thereby reducing the impact of dense trees on the UAV terrain surveying and mapping operations.
[0067] Reference Figure 1 ,The method flow of the terrain mapping method based on UAV lidar includes the following steps:
[0068] Step S100: Obtain the UAV mapping status.
[0069] The UAV surveying and mapping status refers to the status of the UAV performing surveying and mapping work in the area to be surveyed, including the status of ongoing surveying and mapping work and the status of successfully completing surveying and mapping work.
[0070] Step S101: When the UAV surveying state is consistent with the preset completed surveying state, a regional surveying effect map is obtained.
[0071] The completed surveying status is the state after the UAV has successfully completed the surveying operation. When the UAV surveying status is consistent with the completed surveying status, it means that the UAV has completed a flight in the area to be surveyed; the regional surveying rendering is the surveying map of the surveying area obtained after the UAV is surveyed. If the data is missing due to dense trees, there will be no information about the location point on the rendering.
[0072] Step S102: Analyze the regional mapping effect map to determine the mapping missing points and normal mapping points, and delineate the mapping missing area according to each mapping missing point.
[0073] A surveying missing point is a position point in the regional surveying rendering whose corresponding three-dimensional coordinate information has not been obtained, and a surveying normal point is a position point in the regional surveying rendering whose corresponding three-dimensional coordinate information can be obtained; a surveying missing area is an area formed by various surveying missing points. In one embodiment, a unique surveying missing area can be delineated by all the surveying missing points. In another embodiment, multiple surveying missing areas can be delineated according to the distribution of each surveying missing point. In this application, the delineation of multiple surveying missing areas is explained, wherein the delineation of the surveying missing area can select any surveying missing point as the center of the circle, and the circle is taken as the surveying missing area by continuously expanding the radius until the delineated circle can contain the required surveying missing points. The surveying missing area can also be determined by the method in steps S200-step S203.
[0074] Step S103: Delineating a center point of the region in the surveying and mapping missing region, and processing the surveying and mapping missing region according to the center point of the region and a preset magnification to determine a detection region.
[0075] The center point of the region can represent the point in the middle of the surveying and mapping missing area. The center point of the region is unique, and the specific determination method can be explained through steps S300-S305; the magnification factor is a fixed multiple set by the staff, for example, 1.1 times, that is, the center point of the region is used as the magnification center point, so that the surveying and mapping missing area can be enlarged by the magnification factor to obtain the detection area.
[0076] Step S104: Determine vegetation entry points and vegetation exit points among all normal surveying points in the detection area, define missing surveying paths according to the vegetation entry points, vegetation exit points and surveying missing areas, and determine the area detection order according to each surveying missing area.
[0077] The vegetation entry point is the point where the UAV descends to enter the woods, and the vegetation exit point is the point where the UAV flies out of the woods after the mapping of the woods is completed. The vegetation entry point and the vegetation exit point can be determined by randomly selecting two of all normal mapping points in the detection interval, or by steps S500-S505. The missing mapping path is the path that the UAV needs to travel from the vegetation entry point to the point where the UAV flies out of the woods. The point closest to the vegetation entry point can be determined from the missing mapping area to determine the path of the UAV from the vegetation entry point to the point where the UAV flies out. The path of the drone moving to the missing mapping area is then determined by the set flight rules, such as the "Z" type movement rule, and finally the movement path with the vegetation removal point is determined after the drone completely moves in the missing mapping area, thereby forming a missing mapping path; the missing mapping path can also be determined by the method in steps S500-S505; the area detection order is the order in which the drone detects each missing mapping area, which can be obtained by randomly sorting each missing mapping area, or by the method in steps S600-S603.
[0078] Step S105: Control the UAV to descend at the vegetation entry point and obtain the UAV detection status in real time, and when the UAV detection status is consistent with the preset entry status, control the UAV to move along the missing mapping path, and after the movement of the missing mapping path is completed, control the UAV to ascend at the vegetation exit point until the UAV detection status is consistent with the preset exit status, and output the missing completion signal.
[0079] The entry state refers to the state after a certain preset time when there are relatively close obstacle signals on all sides of the drone, that is, the state after a period of time after the drone passes through the leaves. At this time, it can be determined that the drone is inside the woods; the exit state refers to the state after a certain period of time after the last time point when there are relatively close obstacle signals on all sides of the drone during the ascent process, that is, the state after a period of time after the drone passes through the leaves. At this time, it can be determined that the drone has flown out of the woods; controlling the drone to fly can realize the detection of surveying and mapping missing points in the surveying and mapping missing area, so as to compensate for the data in the regional surveying and mapping renderings, in order to facilitate terrain surveying and mapping work; outputting a missing completion signal to mark the situation, so that it can be known that the data that was not obtained in the surveying and mapping missing area has been obtained.
[0080] Step S106: After the missing completion signal is output, the drone is controlled to move to the next detection area according to the area detection sequence to continue the operation until all the surveying missing areas have output the missing completion signal.
[0081] After the missing completion signal is output, the UAV is controlled to move to the next detection area so that the UAV can detect all the surveying missing areas, thereby completing the terrain surveying work of the surveying area; when the UAV moves from the current detection area to the next detection area, the UAV is controlled to fly from the vegetation exit point of the current detection area to the vegetation entry point of the next detection area.
[0082] The steps of delineating the surveying and mapping missing area according to each surveying and mapping missing point include:
[0083] Step S200: determining the distance between any two surveying missing points.
[0084] The distance between missing points is the straight-line distance between two surveyed missing points.
[0085] Step S201: grouping two surveying missing points whose distance between the missing points is less than a preset proximity distance into the same preset point summary set.
[0086] The proximity distance is the maximum distance value set by the staff to determine that two surveying and mapping missing points are close to each other. When the distance between the missing points is less than the proximity distance, it means that the two surveying and mapping missing points are close to each other. At this time, the two surveying and mapping missing points can be detected together; the point summary set is an initially empty set used to store surveying and mapping missing point information. A group of surveying and mapping missing points with a close distance can be summarized through the point summary set, which is convenient for subsequent detection and control; the summarization method of the point summary set is as follows: for example, there are three surveying and mapping missing points A, B, and C, among which the distances between the missing points of A and B and between B and C are both less than the proximity distance, but the distance between the missing points of A and C is not less than the proximity distance. At this time, since A and B can be summarized in the same point summary set, and B and C can be summarized in the same point summary set, A, B, and C can be summarized in the same point summary set.
[0087] Step S202: connect any two missing points in the same point summary set to form a point connection diagram.
[0088] The point connection diagram is a connection diagram obtained by connecting the missing points in the same point summary set.
[0089] Step S203: In the point-to-point line diagram, line segments that intersect with other line segments at points other than the missing points are defined as internal line segments, and the remaining line segments other than the internal line segments are defined as boundary line segments, and the missing areas are determined according to the enclosure of the boundary line segments.
[0090] Internal line segments and boundary line segments are defined to distinguish the line segments connected by different missing surveying points, so that the outermost line segments can be determined. At this time, the area enclosed by the boundary line segments includes all the missing surveying points in the point summary set, that is, the area can be determined as the missing surveying area.
[0091] The steps to determine the center point of a region in a survey-deficient area include:
[0092] Step S300: defining the missing surveying and mapping points on the boundary line segment as primary points, and defining the remaining missing surveying and mapping points in the missing surveying and mapping area as secondary points.
[0093] Define major points and minor points to distinguish different survey missing points for subsequent analysis.
[0094] Step S301: randomly generate a virtual point in the surveying missing area, and determine the primary spacing distance according to the primary point and the virtual point, and determine the secondary spacing distance according to the secondary point and the virtual point.
[0095] The virtual point is a random point in the surveying and mapping missing area, the main separation distance is the straight-line distance between the main point and the virtual point, and the secondary separation distance is the straight-line distance between the secondary point and the virtual point.
[0096] Step S302: randomly selecting a main distance from all main distances as the original distance, performing difference calculation between the remaining main distances and the original distance to determine the main difference distance, and performing calculation based on all main difference distances to determine the mean deviation distance.
[0097] The original separation distance is defined to distinguish different main separation distances for subsequent analysis; the main difference distance is the difference between the main separation distance and the original separation distance, and the difference is an absolute value; the mean deviation distance is the average of all main difference distances.
[0098] Step S303: determining the mean deviation distance with the smallest value according to a preset sorting rule, and defining the mean deviation distance as the main representative distance.
[0099] The sorting rule is a method set by the staff to sort the size of values, such as the bubble method. The sorting rule can determine the mean deviation distance with the smallest value, that is, the mean deviation distance can reflect the distance between the virtual point and the other main points. The smaller the mean deviation distance, the more similar the distance between the virtual point and the main points, that is, the more the virtual point can be used as the center point. At this time, it is defined as the main representative distance to achieve the distinction between different mean deviation distances, which is convenient for subsequent analysis.
[0100] Step S304: determining a secondary representative distance according to all the secondary interval distances, and performing calculation according to the primary representative distance, the secondary representative distance, the preset primary calculation weight and the preset secondary calculation weight to determine the overall deviation value.
[0101] The secondary representative distance reflects the distance deviation between the virtual point as the center point and the other secondary points. The determination method is the same as the primary representative distance and will not be repeated here. The primary calculation weight and the secondary calculation weight are the calculation parameter values set by the staff. The corresponding calculation parameter values are fixed values, and the primary calculation weight should be greater than the secondary calculation weight. The overall deviation value reflects whether the virtual point can be used as the center point of the region. The smaller the value, the more likely the virtual point can be used as the center point of the region. The calculation formula is ε=αL z +βL c , where ε is the overall deviation value, α is the main calculation weight, β is the secondary calculation weight, L z is the main representative distance, L c The secondary representative distance.
[0102] Step S305: determining the overall deviation value with the smallest value according to the sorting rule, and determining the virtual point corresponding to the overall deviation value as the center point of the region.
[0103] The sorting rule can be used to determine the overall deviation value with the smallest value, that is, the virtual point corresponding to the overall deviation value can more objectively represent the center of the surveying and mapping missing area. In this case, it can be determined as the center point of the area.
[0104] After the overall deviation value is determined, the terrain mapping method based on UAV lidar also includes:
[0105] Step S400: Determine whether there are at least two virtual points with the same and minimum overall deviation values.
[0106] The purpose of the judgment is to find out whether there are multiple virtual points that meet the requirements, so as to more accurately determine the center point of the area.
[0107] Step S4001: If there are not at least two virtual points with the same and smallest overall deviation values, the center point of the region is determined according to the virtual point with the smallest overall deviation value.
[0108] When there are not at least two virtual points with the same and smallest overall deviation values, it means that there is only one virtual point that meets the requirements, and it can be determined as the center point of the region.
[0109] Step S4002: If there are at least two virtual points with the same and smallest overall deviation values, the virtual point with the smallest overall deviation value is defined as a candidate point, and a substitute point is randomly generated in the surveying and mapping missing area, and the distance between the substitute points is determined based on the substitute point and the candidate point.
[0110] When there are at least two virtual points with the same and smallest overall deviation values, it means that there are multiple virtual points that meet the requirements. At this time, it is necessary to determine the only virtual point that can serve as the center point of the area; define alternative points to distinguish different virtual points for subsequent analysis; the substitute point is a point in the surveying and mapping missing area, and the distance between the alternative substitute points is the straight-line distance between the substitute point and the alternative point.
[0111] Step S401: Calculate the mean of all candidate generation distances to determine the mean distance, and calculate the candidate deviation value based on the mean distance and all candidate generation distances.
[0112] The mean distance is the average value of all the alternative distances determined, and the alternative deviation is the deviation of all the alternative distances determined compared to the mean distance determined, calculated as Where μ is the alternative deviation value, n is the total number of alternative intervals determined, and L J is the mean distance, L Bi is the distance between the ith alternative positions.
[0113] Step S402: determining the candidate deviation value with the smallest value according to the sorting rule, and determining the generation point corresponding to the candidate deviation value as the center point of the region.
[0114] The sorting rule can be used to determine the candidate deviation value with the smallest value, that is, the distance between the determined substitute point and each candidate point is the smallest, that is, the substitute point is at the center of each candidate point, and it can be determined as the regional center point.
[0115] The steps of determining the vegetation entry point and the vegetation exit point among all the normal points in the detection area include:
[0116] Step S500: determining the normal missing distances according to the normal surveying points and each missing surveying point.
[0117] The normal missing distance is the straight-line distance between the normal surveying point and the surveying missing point.
[0118] Step S501: define all normal surveying and mapping normal points whose normal missing intervals are greater than a preset separation distance as valid passage points.
[0119] The separation distance is the minimum missing distance set by the staff to be away from the surveying missing points so as not to affect the drone's entry into and flight out of the woods. Valid pass points are defined to mark the locations where the drone can enter and fly out of the woods for subsequent analysis.
[0120] Step S502: Sorting and combining all the missing surveying points in the missing surveying area to determine a missing surveying sequence, and summing up the distances between the missing points corresponding to the missing surveying sequence to determine an overall detection distance.
[0121] The missing mapping order is the order that can be obtained by sorting and combining all the missing mapping points determined by Weiwei. For example, if there are three missing mapping points X, Y, and Z, a total of 6 missing mapping orders can be obtained; the overall detection distance is the distance that the UAV needs to travel when flying over each missing mapping point one by one according to the missing mapping order, that is, the sum of the distances between all the missing points determined.
[0122] Step S503: determining the overall detection distance with the smallest value according to the sorting rule, defining the missing mapping order corresponding to the overall detection distance as a reasonable mapping order, and determining the first end missing point and the terminal missing point according to the reasonable mapping order.
[0123] The sorting rules can be used to determine the overall detection distance with the smallest value, that is, the distance that the drone needs to fly under the missing mapping order corresponding to the overall detection distance is the shortest. At this time, it is defined as a reasonable mapping order to distinguish different missing mapping orders; since the overall detection distances corresponding to the forward and reverse flights of the drone are the same, there are also two corresponding reasonable mapping orders. At this time, one of them can be randomly selected as the reasonable mapping order; the first missing point is the first missing point in the determined reasonable mapping order, and the last missing point is the last missing point in the determined reasonable mapping order.
[0124] Step S504: determining the head-end distance according to the valid pass points and the head-end missing points, and determining the end-end distance according to the valid pass points and the end-end missing points.
[0125] The head-end distance is the straight-line distance between the valid pass point and the head-end missing point, and the end-end distance is the straight-line distance between the valid pass point and the end missing point.
[0126] Step S505: Determine the smallest starting distance and terminal distance according to the sorting rules, and determine the valid passage point corresponding to the smallest starting distance as the vegetation entry point, and determine the valid passage point corresponding to the smallest terminal distance as the vegetation exit point.
[0127] The sorting rules can be used to determine the minimum starting and ending distances, that is, the corresponding valid passage points are most convenient for the drone to enter and move out of the woods. At this time, the vegetation entry point and vegetation exit point can be defined.
[0128] The steps of determining the region detection order according to each surveying and mapping missing region include:
[0129] Step S600: When the drone mapping state is consistent with the mapping completion state, the location of the device is obtained.
[0130] The location of the device is the point where the drone is located when it completes the first round of mapping work in the mapping area.
[0131] Step S601: Randomly sort the survey-missing areas to determine a feasible detection order.
[0132] The feasible detection sequence is the detection sequence that can be performed when detecting each missing mapping area, which is the same as the method for determining the missing mapping sequence and will not be described in detail here.
[0133] Step S602: determining the external flight distance according to the location of the device, the preset device parking location, the feasible detection sequence, each vegetation entry point and the vegetation exit point.
[0134] The equipment parking position is the location set by the staff for the drone to park and charge after completing the operation; the external flight distance is the distance the drone needs to move outside the forest when completing the detection of each mapping missing area. The calculation formula is L w =L s +L m +(j-1)L p , where L w is the external flight distance, L s L is the distance from the location of the UAV to the vegetation entry point of the first detection area in the feasible detection sequence. m is the distance from the vegetation removal point of the last detection area in the feasible detection sequence to the device parking position, j is the total number of detection areas determined, and L p It is the straight-line distance between the vegetation exit point in the front detection area and the vegetation entry point in the rear detection area in two adjacent detection areas in the feasible detection sequence.
[0135] Step S603: determining the external flight distance with the smallest value according to the sorting rule, and determining the feasible detection sequence corresponding to the external flight distance as the area detection sequence.
[0136] The sorting rules can be used to determine the external flight distance with the smallest value, that is, the overall distance the drone needs to fly is the shortest. At this time, the feasible detection order corresponding to the external flight distance is determined as the regional detection order to improve the overall mapping efficiency of the drone.
[0137] Reference Figure 2 Based on the same inventive concept, an embodiment of the present invention provides a terrain surveying and mapping system based on a UAV laser radar, comprising:
[0138] Acquisition module, used to obtain the UAV mapping status;
[0139] A processing module, connected to the acquisition module and the judgment module, for storing and processing information;
[0140] A judgment module, connected with the acquisition module and the processing module, for judging the information;
[0141] When the judging module judges that the UAV surveying and mapping state is consistent with the preset completed surveying and mapping state, the acquiring module acquires the regional surveying and mapping effect map;
[0142] The processing module analyzes the regional surveying and mapping effect map to determine the surveying and mapping missing points and the surveying and mapping normal points, and delineates the surveying and mapping missing areas according to each surveying and mapping missing point;
[0143] The processing module demarcates a center point of the region in the surveying and mapping missing region, and processes the surveying and mapping missing region according to the center point of the region and a preset magnification to determine the detection region;
[0144] The processing module determines the vegetation entry point and the vegetation exit point among all the normal surveying points in the detection area, and defines the missing surveying path according to the vegetation entry point, the vegetation exit point and the surveying missing area, and determines the area detection order according to each surveying missing area;
[0145] The processing module controls the drone to descend at the vegetation entry point and enables the acquisition module to acquire the drone detection status in real time. When the judgment module determines that the drone detection status is consistent with the preset entry status, the processing module controls the drone to move along the missing mapping path. After the missing mapping path is completed, the drone is controlled to ascend at the vegetation exit point until the drone detection status is consistent with the preset exit status, and a missing completion signal is output;
[0146] After the missing completion signal is output, the processing module controls the drone to move to the next detection area according to the area detection sequence to continue the operation until all the surveying missing areas output missing completion signals;
[0147] The surveying and mapping missing area delineation module delineates a more reasonable surveying and mapping missing area based on each surveying and mapping missing point;
[0148] A regional center point determination module is used to determine a more appropriate regional center point in a surveying and mapping missing area;
[0149] A virtual point screening module is used to screen multiple virtual points that meet the requirements;
[0150] Point determination module, used to determine the vegetation entry point and vegetation exit point more accurately;
[0151] The area detection sequence determination module is used to determine a more appropriate area detection sequence to reduce the overall flight distance of the drone.
[0152] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0153] An embodiment of the present invention provides a computer-readable storage medium storing a computer program that can be loaded by a processor and execute a terrain surveying and mapping method based on an unmanned aerial vehicle laser radar.
[0154] Computer storage media include, for example, various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.
[0155] The above are all preferred embodiments of the present application, and are not intended to limit the protection scope of the present application. Any feature disclosed in this specification (including the abstract and drawings), unless otherwise stated, can be replaced by other equivalent or alternative features with similar purposes. That is, unless otherwise stated, each feature is only an example of a series of equivalent or similar features.
Claims
1. A terrain mapping method based on UAV laser radar, It is characterized in that include: Get the drone mapping status; When the UAV mapping status is consistent with the preset completed mapping status, obtain the regional mapping effect map; Analyze the regional surveying and mapping effect map to determine the surveying and mapping missing points and normal surveying and mapping points, and delineate the surveying and mapping missing areas based on each surveying and mapping missing point; Delineate the center point of the area in the missing mapping area, and process the missing mapping area according to the center point of the area and the preset magnification to determine the detection area; Determine the vegetation entry point and the vegetation exit point among all the normal surveying points in the detection area, and define the missing surveying path according to the vegetation entry point, the vegetation exit point and the surveying missing area, and determine the regional detection order according to each surveying missing area; Control the drone to descend at the vegetation entry point and obtain the drone detection status in real time. When the drone detection status is consistent with the preset entry status, control the drone to move along the missing mapping path. After the missing mapping path is completed, control the drone to ascend at the vegetation exit point until the drone detection status is consistent with the preset exit status, and output the missing completion signal. After the missing completion signal is output, the drone is controlled to move to the next inspection area according to the area inspection sequence to continue the operation until all the surveying missing areas output the missing completion signal.
2. The terrain surveying and mapping method based on UAV laser radar according to claim 1, It is characterized in that The steps of delineating the surveying and mapping missing area according to each surveying and mapping missing point include: Determine the distance between missing points based on any two missing points in surveying and mapping; The two surveying missing points whose distance between the missing points is less than the preset proximity distance are summarized into the same preset point summary set; Connect any two missing points in the same point summary set to form a point connection diagram; In the point-to-point line diagram, the line segments that intersect with other line segments at points other than the surveying and mapping missing points are defined as internal line segments, and the remaining line segments other than the internal line segments are defined as boundary line segments, and the surveying and mapping missing areas are determined based on the enclosure of the boundary line segments.
3. The terrain surveying and mapping method based on UAV laser radar according to claim 2, It is characterized in that The steps to determine the center point of a region in a survey-deficient area include: The survey-missing points on the boundary line segment are defined as primary points, and the remaining survey-missing points in the survey-missing area are defined as secondary points; A virtual point is randomly generated in the surveying missing area, and a primary separation distance is determined based on the primary point and the virtual point, and a secondary separation distance is determined based on the secondary point and the virtual point; A main separation distance is randomly selected from all the main separation distances as the original separation distance, and the remaining main separation distances are subtracted from the original separation distance to determine the main difference distance, and the mean deviation distance is determined by calculation based on all the main difference distances; According to a preset sorting rule, the mean deviation distance with the smallest value is determined, and the mean deviation distance is defined as the main representative distance; Determine a secondary representative distance based on all secondary standoff distances, and perform calculations based on the primary representative distance, the secondary representative distance, a preset primary calculation weight, and a preset secondary calculation weight to determine an overall deviation value; The overall deviation value with the smallest value is determined according to the sorting rule, and the virtual point corresponding to the overall deviation value is determined as the center point of the region.
4. The terrain surveying and mapping method based on UAV laser radar according to claim 3, It is characterized in that At After the overall deviation value is determined, the terrain mapping method based on UAV lidar also includes: Determine whether there are at least two virtual points with the same and minimum overall deviation values; If there are not at least two virtual points with the same and smallest overall deviation value, the center point of the region is determined according to the virtual point with the smallest overall deviation value; If there are at least two virtual points with the same and smallest overall deviation value, the virtual point with the smallest overall deviation value is defined as the candidate point, and a substitute point is randomly generated in the surveying and mapping missing area, and the distance between the substitute points is determined based on the substitute point and the candidate point; Calculate the mean of all the candidate generation distances to determine the mean distance, and calculate the candidate deviation value based on the mean distance and all the candidate generation distances; The candidate deviation value with the smallest value is determined according to the sorting rule, and the substitution point corresponding to the candidate deviation value is determined as the center point of the region.
5. The terrain surveying and mapping method based on UAV laser radar according to claim 1, It is characterized in that The steps of determining the vegetation entry point and the vegetation exit point among all the normal points in the detection area include: Determine the normal missing distance based on the normal surveying points and each missing surveying point; All normal points of surveying and mapping whose normal missing intervals are greater than the preset separation distance are defined as valid passage points; In the surveying and mapping missing area, all the surveying and mapping missing points are sorted and combined to determine the missing surveying and mapping order, and the distances between the missing points corresponding to the missing surveying and mapping order are summed up to determine the overall detection distance; Determine the overall detection distance with the smallest value according to the sorting rule, define the missing mapping order corresponding to the overall detection distance as a reasonable mapping order, and determine the first end missing point and the end missing point according to the reasonable mapping order; The head-end distance is determined based on the valid pass points and the head-end missing points, and the end-end distance is determined based on the valid pass points and the end-end missing points; The starting and ending distances with the smallest values are determined according to the sorting rules, and the valid pass point corresponding to the smallest starting and ending distance is determined as the vegetation entry point, and the valid pass point corresponding to the smallest ending distance is determined as the vegetation exit point.
6. The terrain surveying and mapping method based on UAV laser radar according to claim 1, It is characterized in that The steps of determining the region detection order according to each surveying and mapping missing region include: Get the device's location when the drone's mapping status is consistent with the completed mapping status; Randomly sort each mapping-missing area to determine a feasible inspection order; Determine the external flight distance based on the location of the device, the preset device parking location, the feasible detection sequence, each vegetation entry point and vegetation exit point; The external flight distance with the smallest value is determined according to the sorting rule, and the feasible detection sequence corresponding to the external flight distance is determined as the area detection sequence.
7. A terrain mapping system based on UAV laser radar, It is characterized in that include: Acquisition module, used to obtain the UAV mapping status; A processing module, connected to the acquisition module and the judgment module, for storing and processing information; A judgment module, connected with the acquisition module and the processing module, for judging the information; When the judging module judges that the UAV surveying and mapping state is consistent with the preset completed surveying and mapping state, the acquiring module acquires the regional surveying and mapping effect map; The processing module analyzes the regional surveying and mapping effect map to determine the surveying and mapping missing points and the surveying and mapping normal points, and delineates the surveying and mapping missing areas according to each surveying and mapping missing point; The processing module demarcates a center point of the region in the surveying and mapping missing region, and processes the surveying and mapping missing region according to the center point of the region and a preset magnification to determine the detection region; The processing module determines the vegetation entry point and the vegetation exit point among all the normal surveying points in the detection area, and defines the missing surveying path according to the vegetation entry point, the vegetation exit point and the surveying missing area, and determines the area detection order according to each surveying missing area; The processing module controls the drone to descend at the vegetation entry point and enables the acquisition module to acquire the drone detection status in real time. When the judgment module determines that the drone detection status is consistent with the preset entry status, the processing module controls the drone to move along the missing mapping path. After the missing mapping path is moved, the drone is controlled to ascend at the vegetation exit point until the drone detection status is consistent with the preset exit status, and a missing completion signal is output; After the missing completion signal is output, the processing module controls the UAV to move to the next detection area according to the area detection sequence to continue the operation until all the surveying missing areas output the missing completion signal.
8. A computer-readable storage medium, It is characterized in that A computer program is stored which can be loaded by a processor and execute the method according to any one of claims 1 to 6.
Citation Information
Cited By
Terrain surveying and mapping system and method based on unmanned aerial vehicle
CN120333398A
Intelligent detection method and system based on rice growth period
CN120877113A
