Intelligent picking robot path optimization method based on deep learning

By calculating the complexity of picking obstacles and the complexity of continuous obstacles based on deep learning methods, and constructing heuristic functions, we solve the problem of picking path optimization problems under the obstruction of obstacles using the traditional ant colony algorithm, and achieve more efficient picking sequence path planning.

CN118550293AInactive Publication Date: 2024-08-27ZHONGSHAN POLYTECHNIC
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410604416.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-15
Publication Date
2024-08-27
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The traditional ant colony algorithm in the intelligent picking robot cannot obtain the optimal picking sequence path due to obstruction by obstacles, which affects the picking efficiency.

Method used

A method based on deep learning is used to obtain the target picking objects and obstacles in the point cloud model, calculate the complexity of picking obstacles and the complexity of continuous picking obstacles, and build a heuristic function to optimize the picking sequence path.

Benefits of technology

By analyzing the impact of obstacles, determine the cost of continuous picking, adjust the heuristic function, obtain the accurate optimal picking sequence path, and improve picking efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118550293A
    Figure CN118550293A
Patent Text Reader

Abstract

The invention relates to the technical field of robot picking planning, in particular to an intelligent picking robot path optimization method based on deep learning. The method comprises the following steps: acquiring all target picked objects and obstacles on a to-be-picked aggregate based on a deep learning algorithm; the continuous picking cost corresponding to different target picking objects is obtained between the picking robot and each target picking object and between any different target picking objects according to the distribution condition and geometric characteristics of all the obstacles and the spatial distance between any different target picking objects; and constructing a heuristic function according to the continuous picking cost, and planning a picking sequence path of all the target picked objects on the to-be-picked aggregate. According to the method, the obstacle influence in the fruit picking and continuous fruit picking process is analyzed, the continuous picking cost during continuous fruit picking is determined, and the heuristic function in the prior art is adjusted, so that the accurate optimal picking sequence path is obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of robot picking planning, and in particular to a path optimization method for an intelligent picking robot based on deep learning. Background Art

[0002] With the rapid development of artificial intelligence and robotics, intelligent picking robots are gradually being used in agricultural production to improve agricultural production efficiency and quality. When performing fruit picking operations, intelligent picking robots usually pick fruits randomly or in a fixed order from left to right and from top to bottom, without optimizing their picking sequence path, which may cause the axes of the robot arm to twist frequently and significantly, affecting the picking efficiency. In the prior art, the fruit picking sequence planning problem is transformed into a traveling salesman problem, and then the optimal picking sequence path is obtained by solving it.

[0003] The ant colony algorithm is a probabilistic algorithm used to find the optimal path. It is widely used in this type of problem because of its advantages such as parallel computing and strong robustness. When solving the optimal path, the traditional ant colony algorithm usually uses the shortest path between fruits as the heuristic function of path planning to find the optimal solution. However, in the actual picking process, obstacles such as branches may make it impossible to obtain the optimal picking sequence path through the traditional ant colony algorithm. Summary of the invention

[0004] In order to solve the technical problem that the traditional ant colony algorithm cannot obtain the optimal picking sequence path due to obstacle occlusion, the purpose of the present invention is to provide a path optimization method for an intelligent picking robot based on deep learning. The technical solution adopted is as follows:

[0005] Obtain a point cloud model of the collection to be picked; obtain all target picking objects and obstacles in the point cloud model based on a deep learning algorithm;

[0006] Between the picking robot and each of the target picking objects, the picking obstacle complexity of each of the target picking objects is obtained according to the distribution and geometric characteristics of all the obstacles; according to the distribution and geometric characteristics of all the obstacles between any different target picking objects, the continuous picking obstacle complexity between the corresponding different target picking objects is obtained;

[0007] According to the spatial distance between any different target picking objects and the complexity of the continuous picking obstacles, combined with the complexity of the picking obstacles of each target picking object, the continuous picking costs between the corresponding different target picking objects are obtained; according to the continuous picking costs, a heuristic function is constructed to plan the picking sequence paths of all the target picking objects on the collection to be picked.

[0008] Furthermore, after obtaining all target picking objects and obstacles on the collection to be picked, the method further includes:

[0009] Extracting the obstacle trunk of each obstacle, and fitting the trunk vector of each obstacle trunk;

[0010] According to the spatial distance from all point cloud data on each obstacle to the obstacle trunk, the geometric obstacle degree corresponding to the obstacle is obtained.

[0011] Furthermore, the method for obtaining the complexity of picking obstacles includes:

[0012] On the straight path from the picking robot to each target object to be picked, all the obstacles passed by the picking robot are regarded as path obstacles corresponding to the target object to be picked; and a straight path vector of the straight path is fitted;

[0013] According to the directional similarity between the trunk vector of each path obstacle and the straight path vector, the obstacle confusion degree of each target picking object is obtained; according to the obstacle confusion degree and the geometric obstacle degree of all the path obstacles, the picking obstacle complexity of each target picking object is obtained, and the obstacle confusion degree and the geometric obstacle degree are both positively correlated with the picking obstacle complexity.

[0014] Furthermore, the method for obtaining the degree of disorder confusion includes:

[0015] The cosine similarity between the trunk vector of each path obstacle and the straight path vector is used as the first similarity, the absolute value of all the first similarities is taken to obtain the variance, and the variance is used as the obstacle mixing degree.

[0016] Furthermore, the method for obtaining the complexity of continuous picking obstacles includes:

[0017] On a continuous picking straight line path between any two of the target picking objects, all the obstacles passing through the path are regarded as continuous picking obstacles for continuously picking the target picking objects; and a continuous picking path vector of the continuous picking straight line path is fitted;

[0018] According to the directional similarity between the trunk vector of each continuous picking obstacle and the continuous picking path vector, the obstacle limitation strength of each continuous picking obstacle is obtained; according to the obstacle limitation strength and the geometric obstacle degree of all the continuous picking obstacles, the continuous picking obstacle complexity between the corresponding two target picking objects is obtained; the obstacle limitation strength and the geometric obstacle degree are both positively correlated with the continuous picking obstacle complexity.

[0019] Furthermore, the method for obtaining the obstacle limitation strength includes:

[0020] The cosine similarity between the trunk vector of each continuous picking obstacle and the continuous picking path vector is used as the second similarity, and the absolute value of the second similarity is taken and then negatively correlated mapped to obtain the obstacle restriction strength.

[0021] Furthermore, the method for obtaining the continuous picking cost includes:

[0022] The sum of the complexity of the picking obstacles of the two target picking objects is used as the first cost for continuous picking, and the difference of the complexity of the picking obstacles corresponding to the two target picking objects is used as the second cost for continuous picking;

[0023] Obtaining an initial continuous picking cost according to the first cost, the second cost and the complexity of the continuous picking obstacles, wherein the first cost, the second cost and the complexity of the continuous picking obstacles are all positively correlated with the initial continuous picking cost;

[0024] The continuous picking cost is obtained according to the spatial distance between the two target picking objects and the initial continuous picking cost, wherein the initial continuous picking cost is positively correlated with the continuous picking cost, and the spatial distance is negatively correlated with the continuous picking cost.

[0025] Furthermore, the picking sequence path planning method includes:

[0026] The continuous picking costs between different target picking objects are used as heuristic functions corresponding to the target picking objects, and the picking sequence paths of all the target picking objects on the to-be-picked collection are planned based on the ant colony algorithm.

[0027] Furthermore, the obstacle trunk is obtained by extracting it through a three-dimensional skeleton extraction algorithm.

[0028] Furthermore, the method for obtaining the degree of geometric obstruction includes:

[0029] On each obstacle, the shortest distance from all point cloud data to the obstacle trunk is calculated, and the average of all the shortest distances is used as the geometric obstacle degree of the obstacle.

[0030] The present invention has the following beneficial effects:

[0031] The present invention obtains a point cloud model of a collection to be picked; obtains all target picking objects and obstacles in the point cloud model based on a deep learning algorithm; obtains the picking obstacle complexity of each target picking object according to the distribution and geometric characteristics of all obstacles between the picking robot and each target picking object; obtains the continuous picking obstacle complexity between different target picking objects according to the distribution and geometric characteristics of all obstacles between any different target picking objects, and the continuous picking obstacle complexity reflects the complexity of the picking environment for picking the next fruit after picking one fruit, and the more complex the continuous picking environment is, the greater the continuous picking cost is, and the less likely it is to be planned as a continuous picking sequence path later; according to the spatial distance between any different target picking objects and the continuous picking obstacle complexity, combined with the picking obstacle complexity of each target picking object, the continuous picking cost between different target picking objects is obtained; a heuristic function is constructed according to the continuous picking cost to plan the picking sequence path of all target picking objects on the collection to be picked. The present invention analyzes the impact of obstacles during fruit picking and continuous fruit picking, determines the continuous picking cost during continuous fruit picking, adjusts the heuristic function in the prior art, and obtains an accurate optimal picking sequence path. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0033] Figure 1 A flowchart of a path optimization method for an intelligent picking robot based on deep learning provided by an embodiment of the present invention;

[0034] Figure 2 A schematic cross-sectional view of an obstacle provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0035] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the specific implementation method, structure, features and effects of a path optimization method for an intelligent picking robot based on deep learning proposed by the present invention in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0036] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0037] The following is a detailed description of a specific solution of a path optimization method for an intelligent picking robot based on deep learning provided by the present invention in conjunction with the accompanying drawings.

[0038] See also Figure 1 , which shows a flow chart of a path optimization method for an intelligent picking robot based on deep learning provided by an embodiment of the present invention, specifically comprising:

[0039] Step S1, obtaining a point cloud model of the collection to be picked; obtaining all target picking objects and obstacles in the point cloud model based on a deep learning algorithm.

[0040] In one embodiment of the present invention, point cloud data of the collection to be picked is obtained by a laser sensor mounted on an intelligent picking robot, and a three-dimensional point cloud model of the collection to be picked is constructed, wherein the position of the laser sensor is the coordinate origin of the point cloud model; then, the target objects to be picked and obstacles are identified and classified through a point cloud neural network.

[0041] It should be noted that the to-be-picked collection targeted by the embodiment of the present invention is a fruit tree to be picked, and the implementation scenario is to plan the order of picking the fruits on the fruit tree to be picked. The point cloud neural network identifies and classifies the fruit tree and branches based on the point cloud data of the fruit tree to be picked, and regards the fruit as the target picking object and the branches as obstacles. The picking robot stops in the area to be operated and performs the picking operation. In other embodiments of the present invention, it can also be applied to the transportation sequence planning of logistics carts, and the logistics area to be distributed is regarded as the to-be-picked collection, the target distribution area is regarded as the fruit, the logistics cart is regarded as the manipulator of the picking robot, and other objects collected in the logistics area to be distributed are regarded as branch obstacles; the picking sequence path analysis and planning ideas of each collection to be picked are consistent, and here only the fruit tree is used as an example for description and analysis. In the following text, the target picking object is the fruit, and the obstacle is the branch, which will not be specifically explained.

[0042] It should be noted that in the embodiment of the present invention, the PointNet network structure is specifically used as the model structure of the point cloud neural network model, and the implementer may also use other network models; in other embodiments of the present invention, the implementer may further use the point cloud neural network to identify and classify the maturity of the fruit, and only take the fruits with good maturity as the target objects for picking. The implementer may also set other requirements to train the point cloud neural network to obtain the target objects for picking and obstacles. The training and classification application of the point cloud neural network model is already a prior art well known to those skilled in the art and will not be elaborated here.

[0043] Considering that the growth direction, position and growth conditions of branches on fruit trees are different, the degree of obstruction and conditions of branches during the picking process of each fruit may be different; at the same time, the degree of obstruction and conditions of branches during the continuous picking process between fruits may also be different. Therefore, in one embodiment of the present invention, after obtaining all the target picking objects and obstacles on the collection to be picked, the obstacle trunk of each obstacle is further extracted, and the trunk vector of each obstacle trunk is fitted; according to the spatial distance from all point cloud data on each obstacle to the obstacle trunk, the geometric obstacle degree of the corresponding obstacle is obtained.

[0044] In one embodiment of the present invention, the obstacle trunk on each obstacle is extracted by a 3D skeleton extraction algorithm. The obstacle trunk is the main line at the center of each obstacle, that is, the central axis of the branch. Figure 2 , which shows a schematic diagram of an obstacle cross section provided by an embodiment of the present invention, Figure 2 In the figure, the thick solid line represents the obstacle trunk, that is, the central axis of the branch. It should be noted that Figure 2 It is only to help understand the meaning of the obstacle trunk; the obstacle trunk reflects the overall direction and length of each obstacle, so as to facilitate the subsequent analysis of the distribution direction and thickness of the branches, and then to facilitate the analysis of the obstruction of the branches during fruit picking. After obtaining the obstacle trunk of each branch, the trunk vector of each obstacle trunk is obtained by the three-dimensional position coordinates of the two end points of the obstacle trunk.

[0045] In other embodiments of the present invention, the implementer may also construct a microplane based on a curvature algorithm or based on adjacent point cloud data points to fit the normal vector of each point cloud data of each obstacle, and then roughly fit the direction of the center line according to the intersection of all normal vectors, and then perform a straight line fitting on it to obtain the obstacle trunk of each branch. It should be noted that it and the three-dimensional skeleton extraction algorithm are both prior arts well known to those skilled in the art and will not be described in detail here.

[0046] Since the obstacle trunk is the central axis of each obstacle center, the geometric obstacle degree of the corresponding obstacle can be obtained according to the spatial distance from all point cloud data on each obstacle to the obstacle trunk. The geometric obstacle degree reflects the thickness or volume of the obstacle.

[0047] Preferably, in one embodiment of the present invention, considering that the point cloud data is three-dimensional information of the obstacle surface, the shortest distance from the main line can reflect the radius of the obstacle, that is, the cross-sectional radius of the branch; and the mean of all the shortest distances reflects the average thickness of the obstacle; therefore, the method for obtaining the geometric obstacle degree includes:

[0048] For each obstacle, the shortest distance from all point cloud data to the obstacle trunk is calculated, and the average of all shortest distances is used as the geometric obstacle degree of the obstacle.

[0049] Step S2, between the picking robot and each target picking object, according to the distribution and geometric characteristics of all obstacles, obtain the picking obstacle complexity of each target picking object; according to the distribution and geometric characteristics of all obstacles between any different target picking objects, obtain the continuous picking obstacle complexity between different target picking objects.

[0050] Considering that the robot can be moved and approached to the fruit for picking by adjusting the parameters of each axis of the picking robot, there may be more branches and trunks interfering when the robot moves to pick the fruit. The growth direction and distribution of branches and trunks on the fruit tree are also relatively random and chaotic. The geometric features of different branches and trunks are also inconsistent, and the degree of obstruction to the robot is also inconsistent. Therefore, the embodiment of the present invention first obtains the picking obstacle complexity of each target picking object according to the distribution and geometric features of all obstacles between the picking robot and each target picking object. The picking obstacle complexity reflects the complexity of the picking environment in the process of directly picking each fruit.

[0051] Preferably, in one embodiment of the present invention, when the growth direction of the branches is more parallel to the direction of the picking path from the robot to the fruit, the degree of obstruction to the skewed and staggered branches is smaller, and the picking environment is simpler; on the contrary, if the branches are more skewed and staggered and the distribution is more disordered, the picking environment is more complex, and the degree of obstruction is greater; by fitting the growth direction of the branches and the corresponding vectors of the picking straight path, the direction similarity between the evaluation vectors can be used to evaluate the distribution and intersection of the branches, and further evaluate the complexity of the picking environment; considering that the thickness or volume of the branches is different, the degree of obstruction to the picking process is also different, and the thicker the branches are, the greater the degree of obstruction to the robot; based on this, the method for obtaining the complexity of picking obstacles includes:

[0052] On the straight line path from the picking robot to each target object, all obstacles along the straight line path are regarded as path obstacles corresponding to the target object; a straight line path vector of the straight line path is fitted;

[0053] According to the directional similarity between the main vector of each path obstacle and the straight path vector, the obstacle confusion degree of each target picking object is obtained; according to the obstacle confusion degree and the geometric obstacle degree of all path obstacles, the picking obstacle complexity of each target picking object is obtained. The obstacle confusion degree and the geometric obstacle degree are positively correlated with the picking obstacle complexity.

[0054] It should be noted that, in one embodiment of the present invention, the mean of all point cloud data of each target picking object is taken as the picking center of each target picking object, the straight line from the corresponding coordinate origin of the laser sensor to the picking center is taken as the corresponding straight line path, and the straight line path vector is obtained through the three-dimensional coordinates between the two points.

[0055] The calculation formula of picking obstacle complexity is:

[0056]

[0057] Among them, CW i is the picking obstacle complexity of picking the i-th target picking object; Norm() is the standard normalization function; σ i is the obstacle complexity of the i-th target picking object; j is the sequence number of the path obstacle; J i is the total number of obstacles on the path of the i-th target picking object; is the diameter of the jth path obstacle for the i-th target picking object, which is twice the degree of geometric obstacle.

[0058] In the calculation formula of the complexity of picking obstacles, since the degree of geometric obstacle indirectly reflects the average cross-sectional radius of each obstacle, the corresponding cross-sectional diameter can be further obtained. The larger the diameter, the greater the degree of geometric obstruction, and the greater the corresponding complexity of picking obstacles; the greater the degree of obstacle confusion, the greater the complexity of picking obstacles.

[0059] It should be noted that the implementer can also directly accumulate the geometric obstacle degree of each path obstacle and multiply it by the obstacle mixing degree to obtain the picking obstacle complexity. In other embodiments of the present invention, the implementer can also choose other basic mathematical operations or function mappings to achieve relevant mappings, which are technical means well known to those skilled in the art and will not be elaborated here. Among them, positive correlation means that the dependent variable increases with the increase of the independent variable and decreases with the decrease of the independent variable. Specifically, it can be multiplication, addition or the idempotence of an exponential function, which is determined by actual application.

[0060] Preferably, in one embodiment of the present invention, considering that cosine similarity can be used to evaluate the angle between vectors, when cosine similarity is closer to ±1, the corresponding directions of the two vectors are more parallel, which means that the direction of the obstacle trunk is more the same as or opposite to the straight path, and the degree of obstruction is smaller; if the variance of the direction similarity between the corresponding vectors of all obstacle trunks and the straight path is larger, it means that the direction of the obstacle trunk is more chaotic, and the picking environment is more complex; based on this, the method for obtaining the degree of obstacle confusion includes:

[0061] The cosine similarity between the main vector of each path obstacle and the straight path vector is taken as the first similarity, and the variance is obtained by taking the absolute value of all the first similarities, and the variance is taken as the obstacle mixing degree.

[0062] It should be noted that cosine similarity and variance are both existing technologies well known to those skilled in the art and will not be elaborated here; in other embodiments of the present invention, when constructing the trunk vector and straight path vector of the obstacle trunk, the implementer can construct the vector with the end with a smaller coordinate value as the starting point, and try to avoid negative values ​​of cosine similarity, thereby avoiding absolute value calculation.

[0063] Taking into account that the degree and situation of obstruction caused by branches may be different during the process of picking fruits individually or continuously; when the picking environment of picking a fruit individually is relatively complex and the obstruction is relatively large, if the picking environment in the process of picking the next fruit is also relatively complex and the obstruction is relatively large, it means that the continuous picking cost between the corresponding two fruits is also greater, and it is more unfavorable to improve the picking efficiency when planning the picking sequence; therefore, the embodiment of the present invention obtains the continuous picking obstacle complexity between different target picking objects according to the distribution and geometric characteristics of all obstacles between any different target picking objects, and the continuous picking obstacle complexity reflects the complexity of the picking environment after picking the next fruit, so as to facilitate the subsequent comprehensive analysis of the continuous picking cost based on the picking obstacle complexity of picking each fruit individually to construct a heuristic function and obtain the optimal picking sequence path.

[0064] Preferably, in one embodiment of the present invention, when the growth direction of the branches is more parallel to the direction of the continuous picking path between two fruits to be picked continuously, the degree of obstruction to the relatively skewed and staggered branches is smaller, and the continuous picking environment is simpler; on the contrary, if the branches are more skewed and staggered and the distribution is more disorderly, the continuous picking environment is more complex and the degree of obstruction is greater; by fitting the growth direction of the branches and the corresponding vectors of the continuous picking straight path, the direction similarity between the evaluation vectors can be used to evaluate the distribution and intersection of the branches, and further the complexity of the picking environment can be evaluated; considering that the thickness or volume of the branches is different, the degree of obstruction to the picking process is also different, and the thicker the branches are, the greater the degree of obstruction to the robot; the method for obtaining the complexity of continuous picking obstacles includes:

[0065] On the continuous picking straight line path of any two target picking objects, all obstacles passed by the continuous picking straight line path are regarded as continuous picking obstacles corresponding to the continuous picking target picking objects; the continuous picking path vector of the continuous picking straight line path is fitted;

[0066] According to the directional similarity between the main vector of each continuous picking obstacle and the continuous picking path vector, the obstacle restriction strength of each continuous picking obstacle is obtained; according to the obstacle restriction strength and geometric obstacle degree of all continuous picking obstacles, the continuous picking obstacle complexity between the corresponding two target picking objects is obtained; the obstacle restriction strength and geometric obstacle degree are positively correlated with the continuous picking obstacle complexity.

[0067] It should be noted that, in one embodiment of the present invention, the mean of all point cloud data of each target picking object is taken as the picking center of each target picking object, the straight line between the picking centers of any two target picking objects is taken as a continuous picking straight line path, and the continuous picking straight line path vector is obtained through the three-dimensional coordinates between the picking centers.

[0068] The calculation formula for the complexity of continuous picking obstacles is:

[0069]

[0070] Among them, CW i,u is the complexity of continuous picking obstacles between the i-th target picking object and the u-th target picking object; Norm() is the standard normalization function; n is the serial number of the continuous picking obstacle; N i is the total number of obstacles in the continuous picking path of the i-th target picking object; is the diameter of the nth continuous picking obstacle on the continuous picking straight line path between the i-th target picking object and the u-th target picking object, that is, twice the geometric obstacle degree; It is the obstacle restriction strength of the nth continuous picking obstacle on the continuous picking straight path between the i-th target picking object and the u-th target picking object.

[0071] It should be noted that the calculation formula for the complexity of continuous picking obstacles specifically expresses a positive correlation in the form of multiplication. In other embodiments of the present invention, other mathematical operations or related mapping methods may also be used, which will not be described in detail here.

[0072] Preferably, in one embodiment of the present invention, the method for obtaining the obstacle limitation strength includes:

[0073] The cosine similarity between the main vector of each continuous picking obstacle and the continuous picking path vector is used as the second similarity. The absolute value of the second similarity is taken and negative correlation mapping is performed to obtain the obstacle restriction strength. The calculation formula of the obstacle restriction strength is as follows: is the obstacle restriction strength of the nth continuous picking obstacle on the continuous picking straight line path between the i-th target picking object and the u-th target picking object; is the main vector of the nth continuous picking obstacle on the continuous picking straight line path between the i-th target picking object and the u-th target picking object; α i,u is the continuous picking path vector of the continuous picking straight line path between the i-th target picking object and the u-th target picking object; cos() is the cosine similarity symbol; || is the absolute value symbol.

[0074] It should be noted that cosine similarity and negative correlation mapping are both prior arts well known to those skilled in the art and will not be described in detail here. In other embodiments of the present invention, a vector is constructed with the end with a smaller coordinate value as the starting point to avoid negative values ​​of cosine similarity as much as possible, thereby avoiding absolute value calculation.

[0075] Step S3, according to the spatial distance between any different target picking objects and the complexity of continuous picking obstacles, combined with the complexity of picking obstacles for each target picking object, obtain the continuous picking cost between different target picking objects; construct a heuristic function based on the continuous picking cost, and plan the picking sequence path of all target picking objects on the collection to be picked.

[0076] When estimating the cost of continuous picking between fruits, the smaller the spatial distance between two fruits, the smaller the cost of continuous picking of the two fruits without considering obstacles; if the complexity of the picking obstacles of the picking paths of the two fruits is greater, it means that the picking paths of the two fruits are more complex and less conducive to continuous picking; at the same time, if the complexity of the continuous picking obstacles between the two fruits is greater, the obstruction effect of the obstacles between the two fruits is stronger, and the cost of continuous picking is greater. Therefore, the embodiment of the present invention obtains the continuous picking cost based on the spatial distance between any different target picking objects and the complexity of continuous picking obstacles, combined with the complexity of picking obstacles for each target picking object, and then plans the picking sequence path to improve the picking efficiency.

[0077] Preferably, in one embodiment of the present invention, the method for obtaining the continuous picking cost includes:

[0078] The sum of the complexity of picking obstacles of the two target picking objects is used as the first cost of continuous picking, and the difference of the complexity of picking obstacles corresponding to the two target picking objects is used as the second cost of continuous picking;

[0079] The initial continuous picking cost is obtained according to the first cost, the second cost and the complexity of continuous picking obstacles. The first cost, the second cost and the complexity of continuous picking obstacles are all positively correlated with the initial continuous picking cost.

[0080] The continuous picking cost is obtained according to the spatial distance between two target picking objects and the initial continuous picking cost. The initial continuous picking cost is positively correlated with the continuous picking cost, and the spatial distance is negatively correlated with the continuous picking cost.

[0081] The calculation formula for continuous picking cost is:

[0082]

[0083] Among them, COP i,u is the continuous picking cost between the i-th target picking object and the u-th target picking object; CW i,uis the complexity of continuous picking obstacles between the i-th target picking object and the u-th target picking object; Norm() is the standard normalization function; CW i The complexity of picking obstacles for picking the i-th target object; CW u The picking obstacle complexity for picking the u-th target object; d i,u is the spatial distance between the i-th target picking object and the u-th target picking object; (CW i +CW u ) is the first cost between the i-th target picking object and the u-th target picking object; |CW i -CW u | is the second cost between the i-th target picking object and the u-th target picking object; CW i,u is the complexity of the continuous picking obstacle between the i-th target picking object and the u-th target picking object; (CW i +CW u )×|CW i -CW u |×CW i,u is the initial continuous picking cost.

[0084] It should be noted that the spatial distance between the target picking objects is the Euclidean distance between the three-dimensional coordinates of the picking centers corresponding to the target picking objects; in other embodiments of the present invention, other basic mathematical operations or related mapping means may also be selected, which are all technical means well known to those skilled in the art and will not be elaborated here. Among them, positive correlation means that the dependent variable increases with the increase of the independent variable and decreases with the decrease of the independent variable, which can be multiplication, addition, and the power of exponential function; negative correlation means that the dependent variable decreases with the increase of the independent variable and increases with the decrease of the independent variable, which can be subtraction, division, etc., determined by actual application.

[0085] The greater the continuous picking cost of two fruits, the less likely they should be planned as a continuous path when planning the picking sequence path; therefore, the embodiment of the present invention constructs a heuristic function based on the continuous picking cost to plan the picking sequence path of all target picking objects on the collection to be picked.

[0086] Preferably, in one embodiment of the present invention, considering that the heuristic function of the ant colony algorithm is a function used to guide ants to select the next move during the search process, the heuristic function is usually obtained based on information such as the distance between two path points; and considering that the continuous picking cost reflects the degree of obstruction between two path points, the greater the continuous picking cost, the less it should be considered as a continuous path in the subsequent continuous sequential path planning; based on this, the picking sequential path planning method includes:

[0087] The continuous picking cost between different target picking objects is used as the heuristic function between different target picking objects, and the optimal picking sequence path of all target picking objects on the collection to be picked is planned based on the ant colony algorithm. Since the heuristic function of the ant colony algorithm is the inverse of the spatial distance between two fruits, the smaller the heuristic function, the smaller the possibility of selecting the continuous picking path, and the continuous picking cost combines the spatial distance and the obstruction of obstacles, the determination of the corresponding continuous path will be more effective and accurate. The larger the continuous picking cost, the smaller the possibility of selecting the continuous picking path should be. Therefore, the continuous picking cost is used as the heuristic function to obtain the optimal picking path through the ant colony algorithm.

[0088] It should be noted that the application of ant colony algorithm is an existing technology well known to those skilled in the art and will not be described in detail here.

[0089] In summary, the embodiment of the present invention obtains a point cloud model of a collection to be picked; obtains all target picking objects and obstacles on the point cloud model based on a deep learning algorithm; obtains the picking obstacle complexity of each target picking object according to the distribution and geometric characteristics of all obstacles between the picking robot and each target picking object; obtains the continuous picking obstacle complexity between different target picking objects according to the distribution and geometric characteristics of all obstacles between any different target picking objects; obtains the continuous picking cost between different target picking objects according to the spatial distance between any different target picking objects and the continuous picking obstacle complexity, combined with the picking obstacle complexity of each target picking object; constructs a heuristic function based on the continuous picking cost, and plans the picking sequence path of all target picking objects on the collection to be picked. The present invention determines the continuous picking cost when continuously picking fruits by analyzing the impact of obstacles in the process of picking fruits and continuously picking fruits, and adjusts the heuristic function in the prior art, so as to obtain an accurate optimal picking sequence path.

[0090] It should be noted that the sequence of the above embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0091] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

Claims

1. A path optimization method for an intelligent picking robot based on deep learning, characterized in that: The method comprises: Obtain a point cloud model of the collection to be picked; obtain all target picking objects and obstacles in the point cloud model based on a deep learning algorithm; Between the picking robot and each of the target picking objects, the picking obstacle complexity of each of the target picking objects is obtained according to the distribution and geometric characteristics of all the obstacles; according to the distribution and geometric characteristics of all the obstacles between any different target picking objects, the continuous picking obstacle complexity between the corresponding different target picking objects is obtained; According to the spatial distance between any different target picking objects and the complexity of the continuous picking obstacles, combined with the complexity of the picking obstacles of each target picking object, the continuous picking costs between the corresponding different target picking objects are obtained; according to the continuous picking costs, a heuristic function is constructed to plan the picking sequence paths of all the target picking objects on the collection to be picked.

2. According to the deep learning-based intelligent picking robot path optimization method of claim 1, it is characterized in that: After obtaining all the target picking objects and obstacles on the collection to be picked, the method further includes: Extracting the obstacle trunk of each obstacle, and fitting the trunk vector of each obstacle trunk; According to the spatial distance from all point cloud data on each obstacle to the obstacle trunk, the geometric obstacle degree corresponding to the obstacle is obtained.

3. According to the deep learning-based intelligent picking robot path optimization method of claim 2, it is characterized in that: The method for obtaining the complexity of picking obstacles includes: On the straight path from the picking robot to each target object to be picked, all the obstacles passed by the picking robot are regarded as path obstacles corresponding to the target object to be picked; and a straight path vector of the straight path is fitted; According to the directional similarity between the trunk vector of each path obstacle and the straight path vector, the obstacle confusion degree of each target picking object is obtained; according to the obstacle confusion degree and the geometric obstacle degree of all the path obstacles, the picking obstacle complexity of each target picking object is obtained, and the obstacle confusion degree and the geometric obstacle degree are both positively correlated with the picking obstacle complexity.

4. The path optimization method of an intelligent picking robot based on deep learning according to claim 3 is characterized in that: The method for obtaining the disorder mixing degree includes: The cosine similarity between the trunk vector of each path obstacle and the straight path vector is used as the first similarity, the absolute value of all the first similarities is taken to obtain the variance, and the variance is used as the obstacle mixing degree.

5. The method for intelligent picking robot path optimization based on deep learning according to claim 2 is characterized in that: The method for obtaining the complexity of the continuous picking obstacles includes: On a continuous picking straight line path between any two of the target picking objects, all the obstacles passing through the path are regarded as continuous picking obstacles for continuously picking the target picking objects; and a continuous picking path vector of the continuous picking straight line path is fitted; According to the directional similarity between the trunk vector of each continuous picking obstacle and the continuous picking path vector, the obstacle limitation strength of each continuous picking obstacle is obtained; according to the obstacle limitation strength and the geometric obstacle degree of all the continuous picking obstacles, the continuous picking obstacle complexity between the corresponding two target picking objects is obtained; the obstacle limitation strength and the geometric obstacle degree are both positively correlated with the continuous picking obstacle complexity.

6. The method for intelligent picking robot path optimization based on deep learning according to claim 5 is characterized in that: The method for obtaining the obstacle limitation strength includes: The cosine similarity between the trunk vector of each continuous picking obstacle and the continuous picking path vector is used as the second similarity, and the absolute value of the second similarity is taken and then negatively correlated mapped to obtain the obstacle restriction strength.

7. The method for intelligent picking robot path optimization based on deep learning according to claim 1 is characterized in that: The method for obtaining the continuous picking cost includes: The sum of the complexity of the picking obstacles of the two target picking objects is used as the first cost for continuous picking, and the difference of the complexity of the picking obstacles corresponding to the two target picking objects is used as the second cost for continuous picking; Obtaining an initial continuous picking cost according to the first cost, the second cost and the complexity of the continuous picking obstacles, wherein the first cost, the second cost and the complexity of the continuous picking obstacles are all positively correlated with the initial continuous picking cost; The continuous picking cost is obtained according to the spatial distance between the two target picking objects and the initial continuous picking cost, wherein the initial continuous picking cost is positively correlated with the continuous picking cost, and the spatial distance is negatively correlated with the continuous picking cost.

8. The method for intelligent picking robot path optimization based on deep learning according to claim 1 is characterized in that: The picking sequence path planning method includes: The continuous picking costs between different target picking objects are used as heuristic functions corresponding to the target picking objects, and the picking sequence paths of all the target picking objects on the to-be-picked collection are planned based on the ant colony algorithm.

9. The method for intelligent picking robot path optimization based on deep learning according to claim 2 is characterized in that: The obstacle trunk is obtained by extracting it through a three-dimensional skeleton extraction algorithm.

10. The method for intelligent picking robot path optimization based on deep learning according to claim 2, characterized in that: The method for obtaining the geometric obstacle degree includes: On each obstacle, the shortest distance from all point cloud data to the obstacle trunk is calculated, and the average of all the shortest distances is used as the geometric obstacle degree of the obstacle.

Citation Information

Cited By

  • A dynamic path planning method for a grapefruit automatic picking front end

    CN120742864B

  • Method and device for continuously picking fruits and vegetables

    CN121040295A