Plant protection robot path planning method and system based on unmanned aerial vehicle high-definition map

Through the path planning method of plant protection robots based on high-definition maps of drones, the problems of inaccurate path planning and poor adaptability in the existing technology are solved, real-time path dynamic adjustment of plant protection robots in complex orchard environments is achieved, and the operation efficiency and economic benefits are improved.

CN120027783AActive Publication Date: 2025-05-23NANJING LANJIANG INTELLIGENT EQUIP TECH CO LTD +2
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202510512531.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-23
Publication Date
2025-05-23
Estimated Expiration
2045-04-23

AI Technical Summary

Technical Problem

The existing plant protection robot path planning technology is difficult to achieve real-time dynamic adjustment in complex orchard environments, resulting in operation interruption or poor spraying effect, and unreasonable energy consumption and pesticide use.

Method used

The path planning method of plant protection robots based on high-definition maps of drones is adopted to obtain orchard maps through drone flight surveying and mapping, and the improved U-Net neural network is used to segment the orchard area feature model. Combining the mechanical structure and motion characteristics of plant protection robots, a kinematic model is established, path planning, optimization and smoothing are carried out to achieve dynamic path adjustment.

Benefits of technology

Real-time dynamic path adjustment of plant protection robots in complex and changeable orchard environments has been achieved, which has improved the smoothness and efficiency of operations, reduced the waste of energy and pesticides, and improved the economic benefits of agricultural production.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120027783A_ABST
    Figure CN120027783A_ABST
Patent Text Reader

Abstract

The invention discloses a plant protection robot path planning method and system based on an unmanned aerial vehicle high-definition map, and belongs to the technical field of robot path planning, and the method specifically comprises the steps: carrying out the flight surveying and mapping of an orchard through an unmanned aerial vehicle, obtaining a map image of the orchard, and carrying out the preprocessing of the obtained orchard map image, performing region segmentation on the preprocessed orchard map image, constructing an orchard region feature model, establishing a kinematic model according to a mechanical structure and motion characteristics of the plant protection robot, determining a feasible motion state set of the robot in a two-dimensional plane, planning a path of the plant protection robot, and obtaining a running path of the plant protection robot. Optimizing and smoothing the operation path of the plant protection robot, and locally adjusting the operation path of the plant protection robot according to the actual motion performance of the plant protection robot; smooth operation can be always kept in a complex and changeable orchard environment, stagnation or errors caused by environment changes are avoided, and the automatic operation level is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of robot path planning, and in particular to a plant protection robot path planning method and system based on a high-definition map of an unmanned aerial vehicle. Background Art

[0002] In today's agricultural modernization process, the accuracy and efficiency of plant protection operations have become key demands. Traditional plant protection methods often rely on manual backpack sprayers or simple mechanical plant protection equipment to spray pesticides. This operation mode has many disadvantages. On the one hand, manual operation is labor-intensive and inefficient, and long-term exposure to pesticides is seriously harmful to human health; on the other hand, simple mechanical plant protection equipment lacks intelligence in path planning and can usually only follow a simple preset route. It cannot be flexibly adjusted according to the actual situation of the orchard, which easily causes uneven pesticide spraying, which not only wastes pesticide resources but also makes it difficult to ensure the effectiveness of pest control.

[0003] With the development of science and technology, plant protection robots have emerged, bringing new solutions to agricultural plant protection. However, the existing path planning technology of plant protection robots still has significant shortcomings. Some plant protection robots use path planning based on preset coordinate points, but in the actual orchard environment, they will encounter terrain changes, irregular crop layout or temporary obstacles, as well as new irrigation facilities in the orchard, crops that fall due to wind and rain, etc. At this time, it is impossible to adjust the path in time and effectively, resulting in interruption of operation or greatly reduced spraying effect. Some plant protection robots rely on simple sensors (such as ultrasonic sensors and infrared sensors) to perform close-range obstacle detection to plan paths, but these sensors have limited detection range and obtain incomplete environmental information. It is difficult to cope with complex and changeable large-scale orchard scenes, and it is impossible to give full play to the advantages of plant protection robots.

[0004] At the same time, drone technology has made rapid progress in recent years, and it can quickly and efficiently obtain high-definition images of large orchards. Combining drones with plant protection robots and using drone high-definition maps to assist plant protection robots in path planning has become a very promising research direction, but the integration of the two is still in the exploratory stage. How to fully tap the rich information in drone high-definition maps and design a precise, efficient and real-time changeable plant protection robot path planning method is still a technical problem that needs to be solved. Summary of the invention

[0005] In view of the shortcomings of the existing technology, the present invention proposes a plant protection robot path planning method and system based on unmanned aerial vehicle high-definition maps, which solves the problems of inaccurate path planning and poor adaptability of plant protection robots in the existing technology and improves the quality and efficiency of plant protection operations.

[0006] To achieve the above object, the present invention provides the following technical solutions: The path planning method of the plant protection robot based on the UAV high-definition map includes: Use UAV to carry out flight mapping of the orchard, obtain the map image of the orchard, and pre-process the obtained map image of the orchard; Perform regional segmentation on the preprocessed orchard map image and construct an orchard regional feature model; According to the mechanical structure and motion characteristics of the plant protection robot, a kinematic model is established to determine the set of feasible motion states of the robot in a two-dimensional plane; Plan the path of the plant protection robot to obtain the running path of the plant protection robot; The running path of the plant protection robot is optimized and smoothed, and the running path of the plant protection robot is partially adjusted according to the actual motion performance of the plant protection robot.

[0007] Specifically, the pre-processed orchard map image is segmented into regions, including: The preprocessed orchard map image is set as I, with a size of H×W, where H represents the height of the preprocessed orchard map image and W represents the width of the preprocessed orchard map image. The improved U-Net neural network is used to establish a regional segmentation model, and a loss function is set. The regional segmentation model is trained using an annotated orchard high-definition map image until the loss function converges and remains unchanged, then the training is stopped to obtain a trained regional segmentation model. The preprocessed orchard map image I is input into the trained region segmentation model to obtain the region set R of the orchard map image segmentation, R = {r 1 ,r 2 ,...,r n}, where r n Represents the area segmented by the nth orchard map image.

[0008] Specifically, the construction of the orchard area characteristic model includes: Extract the geometric features of the segmented regions of the orchard map image, including area, perimeter and shape complexity; Extract the texture features of the segmented area of ​​the orchard map image, including: Gray Level Co-occurrence Matrix , Contrast ,entropy and relevance , d represents the distance offset between pixel pairs, Indicates the direction angle; The geometric features and texture features of the segmented area of ​​the orchard map image are extracted, as well as the geographic coordinate information, to construct the farmland area feature model M. , where A i represents the area of ​​the segmented region of the i-th orchard map image, P i represents the perimeter of the segmented area of ​​the i-th orchard map image, C i represents the regional shape complexity of the i-th orchard map image segmentation, Represents the regional geographic coordinate information of the i-th orchard map image segmentation.

[0009] Specifically, the kinematic model is established according to the mechanical structure and motion characteristics of the plant protection robot to determine the set of feasible motion states of the robot in a two-dimensional plane, including: According to the mechanical structure of the plant protection robot and the motion characteristics of the omnidirectional wheel, the linear velocity of the plant protection robot in the X direction is set to v x , the linear velocity in the Y direction is v y , the angular velocity is ; In discrete time steps Next, a kinematic model is established, and the specific formula is: , in, represents the position coordinates of the plant protection robot at time k+1, represents the position coordinates of the plant protection robot at time k, represents the heading angle of the robot at time k+1, represents the heading angle of the robot at time k, sin() represents the sine function, and cos() represents the cosine function; Set the constraints of the plant protection robot's motion, including: velocity in the X and Y directions, angular velocity, acceleration in the X and Y directions, and wheel slip constraints; According to the kinematic model and constraints of the plant protection robot, the set of feasible motion states of the robot in a two-dimensional plane is determined.

[0010] Specifically, planning the path of the plant protection robot to obtain the running path of the plant protection robot includes: Set the coordinates of the current node m to (x m ,y m ), the coordinates of the target node G are (x G ,y G ), establish the path function, the specific formula is: , in, represents the path function, dl(m) represents the distance term, , cb(m) represents the motion cost item of the plant protection robot, , represents the movement cost coefficient, v m represents the speed of the plant protection robot at node m, represents the angular velocity of the plant protection robot at node m, qb(m) represents the characteristic cost item of the orchard area, , , and They represent the operating efficiency cost coefficient, penalty cost coefficient and passage cost coefficient, respectively, and A crop Indicates the area of ​​the working area, A obs Represents the area of ​​the obstacle, A road Represents the area of ​​the road passage area, , and represents the weight coefficient; Starting from the starting node, add the starting node to the list List, and select the node m with the smallest path function from the List for expansion each time. When the current node segment is detected as a surmountable obstacle node, it is marked as a jump node. According to the motion model of the plant protection robot, the accessibility of the orchard area and the jump node, generate the feasible node set N(m) adjacent to the node m; For each adjacent node xl∈N(m), calculate the actual path cost gb(xl) from the starting node to node xl, and calculate the path function value h(xl) of node xl. Evaluate the comprehensive value of node xl based on the sum of gb(xl) and h(xl). If node xl is not in the list List, add node xl to the list List and record the predecessor node of node xl as m. If node xl is in the list List and the sum of the newly calculated gb(xl) and h(xl) is less than the old value, update the actual path cost gb(xl) of node xl and record the predecessor node of node xl as m.

[0011] Specifically, planning the path of the plant protection robot to obtain the running path of the plant protection robot also includes: During the node search process, if the coordinates of one of the nodes are within the preset error range with the coordinates of the target node, it is determined that the target node has been found and the search process ends. Then, starting from the target node, backtrack along the predecessor node pointer of each node, record the passed nodes in turn, and finally obtain the complete path from the starting node to the target node.

[0012] Specifically, the preprocessing includes: grayscale and filtering operations. Grayscale is the process of converting a color orchard map image into a grayscale image; and filtering operations are used to remove noise.

[0013] A plant protection robot path planning system based on a drone high-definition map is used to implement the plant protection robot path planning method based on a drone high-definition map, including: a map image acquisition module, a region segmentation modeling module, a motion module, a path planning module and an optimization adjustment module; The map image acquisition module is used to use the drone to perform flight surveying of the orchard, obtain the map image of the orchard, and pre-process the obtained orchard map image; The regional segmentation modeling module is used to perform regional segmentation on the preprocessed orchard map image and construct an orchard regional feature model; The motion module is used to establish a kinematic model according to the mechanical structure and motion characteristics of the plant protection robot, and determine a set of feasible motion states of the robot in a two-dimensional plane; The path planning module is used to plan the path of the plant protection robot to obtain the running path of the plant protection robot; The optimization and adjustment module is used to optimize and smooth the running path of the plant protection robot, and to make local adjustments to the running path of the plant protection robot according to the actual motion performance of the plant protection robot.

[0014] Specifically, the region segmentation modeling module includes: a region segmentation unit, a feature extraction unit and a region feature model building unit; The region segmentation unit is used to train a region segmentation model and perform region segmentation on the preprocessed orchard map image; The feature extraction unit is used to extract geometric features and texture features of the area segmented from the orchard map image; The regional feature model building unit is used to integrate the geometric features and texture features of the region segmented from the extracted orchard map image and the geographic coordinate information to build a farmland regional feature model.

[0015] Specifically, the path planning module includes: a path function construction unit, a node judgment unit and a path selection unit; The path function building unit is used to build a path function according to the current node coordinates and the target node coordinates; The node judgment unit is used to generate a feasible node set adjacent to the node and evaluate the comprehensive value of the adjacent nodes; The path selection unit is used for node search to obtain a path from a starting node to a target node.

[0016] Compared with the prior art, the present invention has the following beneficial effects: 1. The present invention proposes a path planning method for a plant protection robot based on a high-definition map of a drone, which can monitor the dynamic changes of the orchard environment in real time. If there are changes in the morphology of trees during growth, changes in the position of obstacles caused by weather or farming activities, etc., the plant protection robot can dynamically adjust the path in a timely manner based on the real-time updated map information to ensure smooth operation in the complex and changeable orchard environment, without stagnation or operational errors due to environmental changes, effectively reducing the need for manual intervention and improving the level of automated operations.

[0017] 2. The present invention proposes a path planning method for a plant protection robot based on a UAV high-definition map, which takes into account node jumping and normal walking, and can form a new global optimal path, making the plant protection robot more reasonable in energy consumption and avoiding energy waste caused by unreasonable paths.

[0018] 3. The present invention proposes a path planning method for a plant protection robot based on a high-definition map of an unmanned aerial vehicle. Through accurate division of the operating area and path optimization, the amount of pesticide used can be reasonably allocated according to the demand for pesticides, ensuring the optimal allocation of resources such as energy and pesticides while meeting the plant protection effect, thereby reducing agricultural production costs and improving the economic benefits of agricultural production. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 A flow chart of the path planning method for a plant protection robot based on a drone high-definition map provided by the present invention; Figure 2 An example diagram of an orchard provided by the present invention; Figure 3 This is an architecture diagram of the plant protection robot path planning system based on drone high-definition maps provided by the present invention. DETAILED DESCRIPTION

[0020] The present application is described in detail below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the present application, but do not limit the present application in any form. It should be noted that, for those of ordinary skill in the art, several variations and improvements can also be made without departing from the concept of the present application. These all belong to the protection scope of the present application.

[0021] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. 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.

[0022] It should be noted that, if there is no conflict, the various features in the embodiments of the present application can be combined with each other, all within the scope of protection of the present application. In addition, although the functional module division is performed in the device schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in a sequence different from the module division in the device or the flow chart. In addition, the words "first", "second", "third" and the like used in the present application do not limit the data and the execution order, but only distinguish the same items or similar items with substantially the same functions and effects.

[0023] Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used in this specification and in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application. The term "and / or" used in this specification includes any and all combinations of one or more of the related listed items.

[0024] Example 1

[0025] See also Figure 1-Figure 2 , an embodiment provided by the present invention: a path planning method for a plant protection robot based on a drone high-definition map, comprising the following specific steps: Step S1: Use a drone to perform flight mapping of the orchard, obtain a map image of the orchard, and pre-process the obtained map image of the orchard; Use drones equipped with high-definition cameras to fly over orchards and obtain high-definition image sequences of the orchards. Through image stitching and geolocation technology, these images are synthesized into high-definition maps containing geographic coordinate information. The preprocessing includes: grayscale and filtering operations. Grayscale is the process of converting a color orchard map image into a grayscale image. A color image usually contains three channels: red, green, and blue, while a grayscale image has only one channel, which represents brightness information. A common grayscale method is to convert RGB values ​​into grayscale values ​​by weighted averaging. The filtering operation is used to remove noise and unnecessary details, and highlight feature information such as orchard boundaries, obstacles, and crop planting areas.

[0026] Step S2: performing regional segmentation on the preprocessed orchard map image and constructing an orchard regional feature model; The specific steps of step S2 are: Step S201: setting the preprocessed orchard map image to I, the size to H×W, where H represents the height of the preprocessed orchard map image, and W represents the width of the preprocessed orchard map image, using the improved U-Net neural network to establish a region segmentation model, and setting a loss function, using the annotated orchard high-definition map image to train the region segmentation model, until the loss function converges and remains unchanged, stop training, and obtain a trained region segmentation model; In this embodiment, the specific formula of the loss function is: , where L represents the loss function, Represents the balance coefficient, which ranges from 0 to 1. Its optimal value is determined by tuning on the validation set. represents the cross entropy loss function, represents the Dice loss function, The formula is: ,in Represents the height of the feature map extracted by the region segmentation model, Indicates the width of the feature map extracted by the regional segmentation model. Here, the feature map extracted by the regional segmentation model is the feature map of the annotated orchard high-definition map image. N represents the number of predefined segmentation categories. For example, the farmland area can be divided into 5 categories: fruit tree planting area, road, water source, obstacle and other background areas. represents the true label of the training image, Represents the predicted label of the training image, log() represents the logarithmic function, The formula is: , The loss function can effectively alleviate the problem of class imbalance and has a good optimization effect on the boundary segmentation effect; The height and width here are pixel height and pixel width.

[0027] Step S202: Input the preprocessed orchard map image I into the trained region segmentation model to obtain a region set R of the orchard map image segmentation, where R={r 1 ,r 2 ,...,r n}, where r n represents the area segmented by the nth orchard map image; Step S203: extracting geometric features of the region segmented from the orchard map image, including: area, counting the pixels in the region segmented from the orchard map image, multiplying the actual area represented by each pixel, and obtaining the area of ​​the region segmented from the orchard map image; Perimeter: determine the boundary pixels of the segmented area of ​​the orchard map image through edge detection algorithm, connect the boundary pixels in clockwise or counterclockwise direction, calculate the Euclidean distance between two adjacent points, and add up all the distances to get the perimeter; Shape complexity: the ratio of the square of the perimeter to the area of ​​the segmented orchard map image measures the shape complexity of the segmented orchard map image; The larger the value of the shape complexity index is, the more irregular the shape of the region is, and vice versa, the closer it is to a regular shape; Step S204: extracting texture features of the segmented area of ​​the orchard map image, including: gray level co-occurrence matrix , Contrast ,entropy and relevance , d represents the distance offset between pixel pairs, Indicates the direction angle, usually 0°, 45°, 90° and 135°; Gray Level Co-occurrence Matrix Elements in Indicates that in the segmented area of ​​the i-th orchard map image, the gray value is The pixel point and gray value are The pixel point is at a distance d and direction The contrast reflects the clarity and local variation of the texture in the image, and the calculation formula is: , where hdj represents the gray level of the area segmented by the i-th orchard map image, Indicates that the gray value in the gray-level co-occurrence matrix is The pixel point and gray value are The pixel point is at a distance d and direction The number of times it appears on the image; entropy is used to measure the randomness of the image texture, and the calculation formula is: ; Correlation represents the linear correlation of gray values ​​in the image, and the calculation formula is: , and Represent the grayscale mean in the row and column directions respectively, and Represents the grayscale standard deviation in the row and column directions respectively; Step S205: Integrate the geometric features and texture features of the region segmented from the orchard map image, as well as the geographic coordinate information, to construct a farmland region feature model M. , where A i represents the area of ​​the segmented region of the i-th orchard map image, P i represents the perimeter of the segmented area of ​​the i-th orchard map image, C irepresents the regional shape complexity of the i-th orchard map image segmentation, Represents the regional geographic coordinate information of the i-th orchard map image segmentation.

[0028] Step S3: establishing a kinematic model based on the mechanical structure and motion characteristics of the plant protection robot, and determining a set of feasible motion states of the robot in a two-dimensional plane; The specific steps of step S3 are: Step S301: According to the mechanical structure of the plant protection robot and the motion characteristics of the omnidirectional wheels, the linear velocity of the plant protection robot in the X direction is set to v x , the linear velocity in the Y direction is v y , the angular velocity is ; Step S302: In discrete time steps Next, a kinematic model is established, and the specific formula is: , in, represents the position coordinates of the plant protection robot at time k+1, represents the position coordinates of the plant protection robot at time k, represents the heading angle of the robot at time k+1, represents the heading angle of the robot at time k, sin() represents the sine function, and cos() represents the cosine function; Step S303: setting the constraint conditions of the plant protection robot movement, including: speed in the X direction and the Y direction, angular velocity, acceleration in the X direction and the Y direction, and wheel slip constraint; The speed in the X direction and the Y direction satisfies that it is greater than or equal to the minimum speed and less than or equal to the maximum speed, and the angular velocity satisfies that it is greater than or equal to the minimum angular velocity and less than or equal to the maximum angular velocity; in order to prevent the wheels from slipping during movement, it is necessary to constrain the relationship between the linear velocity and angular velocity of the wheels. According to the friction coefficient between the wheels and the ground and the acceleration of gravity, the rotation speed of each wheel satisfies that it is greater than or equal to the product of the negative friction coefficient, the acceleration of gravity and the radius, and less than or equal to the product of the friction coefficient, the acceleration of gravity and the radius.

[0029] Step S304: Determine a set of feasible motion states of the robot in a two-dimensional plane according to the kinematic model and constraint conditions of the plant protection robot.

[0030] Step S4: planning the path of the plant protection robot to obtain the running path of the plant protection robot; The specific steps of step S4 are: Step S401: Set the coordinates of the current node m to (x m ,y m), the coordinates of the target node G are (x G ,y G ), establish the path function, the specific formula is: , in, represents the path function, dl(m) represents the distance term, , cb(m) represents the motion cost item of the plant protection robot, , represents the motion cost coefficient, which is determined through experiments and empirical data, including normal walking and jumping costs, and describes the degree of influence of linear velocity and angular velocity on the cost, v m represents the speed of the plant protection robot at node m, represents the angular velocity of the plant protection robot at node m, qb(m) represents the characteristic cost item of the orchard area, and They represent the operating efficiency cost coefficient, penalty cost coefficient and passage cost coefficient respectively, A crop Indicates the area of ​​the working area, A obs Represents the area of ​​the obstacle, A road Indicates the area of ​​the road passage area, and Represents the weight coefficient; it is used to balance the relative importance of the three items in the path function. A set of more appropriate weight values ​​is determined through multiple experiments and optimizations under different orchard environments and operation tasks. Explanation and principle of the above formula: The distance term represents the straight-line distance from the current node to the target node. It is the basic component of the path function and guides the algorithm to search in the target direction. The motion cost term of the plant protection robot is calculated based on the established plant protection robot motion model, taking into account factors such as the energy consumption, time cost and mechanical wear of the robot in different motion states. In the path search process, for each potential expansion node, the corresponding motion cost is calculated based on the speed and angular velocity required for the robot to reach the node from the current node, combined with the motion model, so that the algorithm is more inclined to choose a path with a lower motion cost, thereby optimizing the robot's driving process and improving the accuracy of the path search. High energy utilization efficiency and mechanical life; using the constructed farmland area characteristic model, different cost values ​​are assigned to each area to reflect the pros and cons of the robot's driving in the area. For example, for crop planting areas, a cost coefficient related to the operation efficiency is set according to the growth conditions of the crops (such as height, density, degree of pests and diseases, etc.) and the demand for pesticide spraying. If the crop growth is good and the pests and diseases are serious, a smaller value is taken. On the contrary, if the crops are sparse or the growth is poor, a larger value is taken; for obstacle areas, a larger penalty cost coefficient is set to prevent the plant protection robot from entering the area. For roads and other pass areas, a relatively small pass cost coefficient is set.

[0031] Step S402: Starting from the starting node, the starting node is added to the list List, and each time the node m with the smallest path function is selected from the List for expansion. When the current node segment is detected as a surmountable obstacle node, it is marked as a jump node. According to the motion model of the plant protection robot, the accessibility of the orchard area and the jump node, a feasible node set N(m) adjacent to the node m is generated; In this embodiment, when generating adjacent nodes, not only the nodes that the plant protection robot can directly reach at the current speed and direction are considered, but also the boundary and obstacle information of the farmland area are combined. Based on the motion performance of the plant protection robot, it is judged whether the obstacle node can be jumped to avoid generating invalid or unreachable nodes. At the same time, through node jumping, the motion cost of node jumping and detour is further analyzed. If the jumping cost is higher than the detour cost, the detour will be chosen, otherwise, the node jump will be performed; Step S403: For each adjacent node xl∈N(m), calculate the actual path cost gb(xl) from the starting node to the node xl, and calculate the path function value h(xl) of the node xl. Evaluate the comprehensive value of the node xl according to the sum of gb(xl) and h(xl). If the node xl is not in the list List, add the node xl to the list List, and record the predecessor node of the node xl as m. If the node xl is in the list List, and the sum of the newly calculated gb(xl) and h(xl) is less than the old value, update the actual path cost gb(xl) of the node xl and record the predecessor node of the node xl as m. In this embodiment, the actual path cost gb(xl) from the starting node to the node xl is equal to the distance item from the starting node to the current node m plus the movement cost from the node m to the node xl (calculated according to the motion model, for example, considering factors such as linear velocity, angular velocity and movement distance); if the node xl is in the list List, since when selecting the adjacent node, the node with the smallest path function is selected, that is, for h(xl), the new and old are equal, if the sum of the newly calculated gb(xl) and h(xl) is less than the old value, it indicates that the new gb(xl) is less than the old gb(xl), and it is necessary to select a smaller gb(xl), that is, the new gb(xl), so it is necessary to update and replace the actual path cost gb(xl) of the node xl.

[0032] Step S404: During the node search process, if the coordinates of one of the nodes are within the preset error range with the coordinates of the target node, it is determined that the target node is found and the search process ends. Then, starting from the target node, backtrack along the predecessor node pointer of each node, record the passed nodes in turn, and finally obtain the complete path from the starting node to the target node.

[0033] In this embodiment, the path finding can fully consider various practical factors of the plant protection robot in the orchard environment, and effectively plan a path that meets the operational requirements and has high efficiency and safety. Compared with traditional path planning algorithms, it has better adaptability and practicality, and can significantly improve the intelligence level and quality of agricultural plant protection operations.

[0034] Exemplary, reference Figure 2 , the starting node is the node where the plant protection robot is located, and the target fruit tree is the target node. The movement cost of the plant protection robot on the road (black square) is lower than that on the soil (white square). The paved road is flatter than the soil. When the target node is Q1, it is necessary to move on the road and avoid obstacles. When approaching Q1, there are 3 paths, which are represented by arrow directions in the figure. The lower arrow goes through 2 black squares and 6 white squares, the upper arrow goes through 6 black squares and 4 white squares, and the middle arrow goes through 4 black squares, 3 white squares and 1 jump square. The path planning method of the prior art is used to take the path of the lower arrow (the shortest path). According to the path search method of this application, the sum of gb(xl) and h(xl) is calculated and compared with the old value. The jump square is experienced in the middle, and the path is the shortest and the cost is lower than the other two paths, so the path of the middle arrow is selected as the final path.

[0035] Step S5: Optimize and smooth the running path of the plant protection robot, and make partial adjustments to the running path of the plant protection robot according to the actual motion performance of the plant protection robot.

[0036] Example 2

[0037] See also Figure 3 , another embodiment provided by the present invention: a plant protection robot path planning system based on a drone high-definition map, comprising: a map image acquisition module, a region segmentation modeling module, a motion module, a path planning module and an optimization adjustment module; The map image acquisition module is used to use the drone to perform flight surveying of the orchard, obtain the map image of the orchard, and pre-process the obtained orchard map image; The regional segmentation modeling module is used to perform regional segmentation on the preprocessed orchard map image and construct an orchard regional feature model; The motion module is used to establish a kinematic model according to the mechanical structure and motion characteristics of the plant protection robot, and determine a set of feasible motion states of the robot in a two-dimensional plane; The path planning module is used to plan the path of the plant protection robot to obtain the running path of the plant protection robot; The optimization and adjustment module is used to optimize and smooth the running path of the plant protection robot, and to make local adjustments to the running path of the plant protection robot according to the actual motion performance of the plant protection robot.

[0038] The region segmentation modeling module includes: a region segmentation unit, a feature extraction unit and a region feature model building unit; The region segmentation unit is used to train a region segmentation model and perform region segmentation on the preprocessed orchard map image; The feature extraction unit is used to extract geometric features and texture features of the area segmented from the orchard map image; The regional feature model building unit is used to integrate the geometric features and texture features of the region segmented from the extracted orchard map image and the geographic coordinate information to build a farmland regional feature model.

[0039] The path planning module includes: a path function construction unit, a node judgment unit and a path selection unit; The path function building unit is used to build a path function according to the current node coordinates and the target node coordinates; The node judgment unit is used to generate a feasible node set adjacent to the node and evaluate the comprehensive value of the adjacent nodes; The path selection unit is used for node search to obtain a path from a starting node to a target node.

[0040] In addition, the parts of the above-mentioned technical solutions provided in the embodiments of the present application that are consistent with the implementation principles of the corresponding technical solutions in the prior art are not described in detail to avoid excessive redundancy.

[0041] The specific implementation modes as described above further describe the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation mode of the present invention and is not intended to limit the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A path planning method for a plant protection robot based on a UAV high-definition map, characterized in that: include: Use UAV to carry out flight mapping of the orchard, obtain the map image of the orchard, and pre-process the obtained map image of the orchard; Perform regional segmentation on the preprocessed orchard map image and construct an orchard regional feature model; According to the mechanical structure and motion characteristics of the plant protection robot, a kinematic model is established to determine the set of feasible motion states of the robot in a two-dimensional plane; Plan the path of the plant protection robot to obtain the running path of the plant protection robot; The running path of the plant protection robot is optimized and smoothed, and the running path of the plant protection robot is partially adjusted according to the actual motion performance of the plant protection robot.

2. The path planning method for a plant protection robot based on a drone high-definition map as claimed in claim 1, characterized in that: The method of performing regional segmentation on the pre-processed orchard map image comprises: The preprocessed orchard map image is set as I, with a size of H×W, where H represents the height of the preprocessed orchard map image and W represents the width of the preprocessed orchard map image. The improved U-Net neural network is used to establish a regional segmentation model, and a loss function is set. The regional segmentation model is trained using an annotated orchard high-definition map image until the loss function converges and remains unchanged, then the training is stopped to obtain a trained regional segmentation model. The preprocessed orchard map image I is input into the trained region segmentation model to obtain the region set R of the orchard map image segmentation, R={r1,r2,...,r n }, where r n Represents the area segmented by the nth orchard map image.

3. The path planning method for a plant protection robot based on a drone high-definition map as claimed in claim 2, characterized in that: The construction of the orchard area characteristic model comprises: Extract the geometric features of the segmented regions of the orchard map image, including area, perimeter and shape complexity; Extract the texture features of the segmented area of ​​the orchard map image, including: Gray Level Co-occurrence Matrix , Contrast ,entropy and relevance , d represents the distance offset between pixel pairs, Indicates the direction angle; The geometric features and texture features of the segmented area of ​​the orchard map image are extracted, as well as the geographic coordinate information, to construct the farmland area feature model M. , where A i represents the area of ​​the segmented region of the i-th orchard map image, P i represents the perimeter of the segmented area of ​​the i-th orchard map image, C i represents the regional shape complexity of the i-th orchard map image segmentation, Represents the regional geographic coordinate information of the i-th orchard map image segmentation.

4. The path planning method for a plant protection robot based on a drone high-definition map as claimed in claim 3, characterized in that: According to the mechanical structure and motion characteristics of the plant protection robot, a kinematic model is established to determine a set of feasible motion states of the robot in a two-dimensional plane, including: According to the mechanical structure of the plant protection robot and the motion characteristics of the omnidirectional wheel, the linear velocity of the plant protection robot in the X direction is set to v x , the linear velocity in the Y direction is v y , the angular velocity is ; In discrete time steps Next, a kinematic model is established, and the specific formula is: , in, represents the position coordinates of the plant protection robot at time k+1, represents the position coordinates of the plant protection robot at time k, represents the heading angle of the robot at time k+1, represents the heading angle of the robot at time k, sin() represents the sine function, and cos() represents the cosine function; Set the constraints of the plant protection robot's motion, including: velocity in the X and Y directions, angular velocity, acceleration in the X and Y directions, and wheel slip constraints; According to the kinematic model and constraints of the plant protection robot, the set of feasible motion states of the robot in a two-dimensional plane is determined.

5. The path planning method for a plant protection robot based on a drone high-definition map as claimed in claim 4, characterized in that: The step of planning the path of the plant protection robot to obtain the running path of the plant protection robot includes: Set the coordinates of the current node m to (x m ,y m ), the coordinates of the target node G are (x G ,y G ), establish the path function according to the distance term, the plant protection robot motion cost term and the orchard area characteristic cost term; Starting from the starting node, add the starting node to the list List, and select the node m with the smallest path function from the List for expansion each time. When the current node segment is detected as a surmountable obstacle node, it is marked as a jump node. According to the motion model of the plant protection robot, the accessibility of the orchard area and the jump node, generate the feasible node set N(m) adjacent to the node m; For each adjacent node xl∈N(m), calculate the actual path cost gb(xl) from the starting node to node xl, and calculate the path function value h(xl) of node xl. Evaluate the comprehensive value of node xl based on the sum of gb(xl) and h(xl). If node xl is not in the list List, add node xl to the list List and record the predecessor node of node xl as m. If node xl is in the list List and the sum of the newly calculated gb(xl) and h(xl) is less than the old value, update the actual path cost gb(xl) of node xl and record the predecessor node of node xl as m.

6. The path planning method for a plant protection robot based on a drone high-definition map as claimed in claim 5, characterized in that: The step of planning the path of the plant protection robot to obtain the running path of the plant protection robot further includes: During the node search process, if the coordinates of one of the nodes are within the preset error range with the coordinates of the target node, it is determined that the target node has been found and the search process ends. Then, starting from the target node, backtrack along the predecessor node pointer of each node, record the passed nodes in turn, and finally obtain the complete path from the starting node to the target node.

7. The path planning method for a plant protection robot based on a drone high-definition map as claimed in claim 6, characterized in that: The preprocessing includes: grayscale and filtering operations. Grayscale is the process of converting a colored orchard map image into a grayscale image. The filtering operation is used to remove noise.

8. A plant protection robot path planning system based on a drone high-definition map, used to implement the plant protection robot path planning method based on a drone high-definition map as described in any one of claims 1 to 7, characterized in that: include: Map image acquisition module, region segmentation modeling module, motion module, path planning module and optimization adjustment module; The map image acquisition module is used to use the drone to perform flight surveying of the orchard, obtain the map image of the orchard, and pre-process the obtained orchard map image; The regional segmentation modeling module is used to perform regional segmentation on the preprocessed orchard map image and construct an orchard regional feature model; The motion module is used to establish a kinematic model according to the mechanical structure and motion characteristics of the plant protection robot, and determine a set of feasible motion states of the robot in a two-dimensional plane; The path planning module is used to plan the path of the plant protection robot to obtain the running path of the plant protection robot; The optimization and adjustment module is used to optimize and smooth the running path of the plant protection robot, and to make local adjustments to the running path of the plant protection robot according to the actual motion performance of the plant protection robot.

9. The plant protection robot path planning system based on UAV high-definition map as claimed in claim 8, characterized in that: The region segmentation modeling module includes: a region segmentation unit, a feature extraction unit and a region feature model building unit; The region segmentation unit is used to train a region segmentation model and perform region segmentation on the preprocessed orchard map image; The feature extraction unit is used to extract geometric features and texture features of the area segmented from the orchard map image; The regional feature model building unit is used to integrate the geometric features and texture features of the region segmented from the extracted orchard map image and the geographic coordinate information to build a farmland regional feature model.

10. The plant protection robot path planning system based on UAV high-definition map according to claim 9, characterized in that: The path planning module includes: a path function construction unit, a node judgment unit and a path selection unit; The path function building unit is used to build a path function according to the current node coordinates and the target node coordinates; The node judgment unit is used to generate a feasible node set adjacent to the node and evaluate the comprehensive value of the adjacent nodes; The path selection unit is used for node search to obtain a path from a starting node to a target node.

Citation Information

Patent Citations

  • Trajectory positioning system and method of autonomous mobile robot

    CN106272433A

  • Intelligent multi-target fused agricultural machinery path planning method

    CN107703945A

  • Multifunctional plant protection robot system

    CN109699623A

  • Orchard operation robot path planning method and system and electronic equipment

    CN116048104A

  • Path planning method for wheeled plant protection robot

    CN118243127A