A target picking three-dimensional path planning method, device and storage medium

By improving the simulated annealing algorithm, setting sampling stability conditions and introducing multiple disturbance mechanisms, the problems of slow iteration speed and insufficient optimization capabilities of the traditional simulated annealing algorithm in large-scale problems have been solved, and more efficient target picking path planning has been achieved. , reducing the movement distance of the end clamp and the picking time.

CN115167438BInactive Publication Date: 2024-09-17SOUTH CHINA UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210882715.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-26
Publication Date
2024-09-17
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The traditional simulated annealing algorithm has slow iteration speed in large-scale problems, and it is difficult to estimate the convergence speed and optimization capability with a single disturbance mechanism. It may also accept bad solutions and lose the optimal solution, which limits the optimization effect of the target sorting path.

Method used

The improved simulated annealing algorithm sets sampling stability conditions, introduces three disturbance mechanisms and a global optimal solution memory function, optimizes path planning, and reduces the end gripper movement distance and picking time.

Benefits of technology

It improves the convergence speed and optimization results of the algorithm, reduces the movement distance of the end clamp and the total picking time, improves the picking efficiency, and is suitable for path optimization problems in different scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115167438B
    Figure CN115167438B
Patent Text Reader

Abstract

The present invention discloses a target collection and three-dimensional path planning method, device and storage medium, including: obtaining the three-dimensional space coordinates of each target through a visual recognition system; traversing the order of the targets for integer coding; combining the working trajectory of the end gripper and the position fluctuation of the target in the vertical direction, respectively defining the working trajectory model and path model of the end gripper; converting the target collection and three-dimensional path planning problem into a traveling salesman-like problem, and establishing a path minimization optimization function f; aiming at the limitations of the traditional simulated annealing algorithm, improving the algorithm in three aspects: inner loop link, disturbance mechanism and lack of memory function; using the improved simulated annealing algorithm to optimize the function f, and returning the best path C best And the optimal solution of the objective function f(C best The present invention is applicable to crop picking and sorting path planning, workpiece sorting path planning of industrial assembly lines, etc.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automatic control, and in particular to a target picking three-dimensional path planning method, device and storage medium. Background Art

[0002] In the fields of industry or civil use, path planning has always been a hot research topic. For automatic picking of targets, what needs to be solved is: according to the positions of multiple target points and storage boxes, an optimal path is found to reduce the movement distance of the end gripper and the total picking time, thereby improving the picking efficiency.

[0003] There are two types of algorithms for solving the target picking path optimization: exact solutions and heuristic algorithms. Since the amount of computation required for exact algorithms increases exponentially with the size of the problem, their application scope is limited in practice. Therefore, using high-quality heuristic algorithms, such as genetic algorithms, ant colony algorithms, simulated annealing algorithms, etc., is a better choice for solving this type of problem.

[0004] Although the traditional simulated annealing algorithm has the advantages of accepting inferior solutions to a limited extent, being able to jump out of the local optimal solution, and being suitable for solving the global optimal or approximate global optimal solution of the optimization problem, it also has the following three problems: (1) The annealing speed problem. When the problem scale is large, the temperature T needs to start from a large value, and the Metropolis algorithm needs to be executed multiple times at each temperature value T, which results in a slow iteration speed; (2) Using a single perturbation mechanism, it is difficult to estimate its convergence speed and optimization ability; (3) During the search process, a bad solution will be accepted with a certain probability, resulting in the loss of the currently encountered optimal solution. Summary of the invention

[0005] In order to overcome the above-mentioned shortcomings and deficiencies of the prior art, the purpose of the present invention is to provide a three-dimensional path planning method, device and storage medium for target picking. The present invention can effectively shorten the working time of automatic target picking, reduce the movement distance of the end gripper, and improve the picking efficiency.

[0006] The purpose of the present invention is achieved through the following technical solutions:

[0007] A target picking three-dimensional path planning method, comprising:

[0008] Obtain the three-dimensional spatial coordinates of each object to be picked up;

[0009] The traversal targets are arranged in order and integer encoded;

[0010] Combining the preset working trajectory of the robot's end gripper and the position fluctuation in the vertical direction of the target, the working trajectory model and path model of the end gripper are defined respectively;

[0011] Construct the minimum optimization function f of the target picking path;

[0012] The improved simulated degradation algorithm is used to optimize the minimum optimization function and obtain the optimal path C best And the optimal solution of the minimum optimization function f(C best ).

[0013] Furthermore, the three-dimensional spatial coordinates of each object to be picked up are obtained as follows:

[0014] Use a camera to shoot the objects to be picked up, and obtain the three-dimensional spatial coordinates of each object based on the camera coordinate system;

[0015] Through hand-eye calibration, the three-dimensional space coordinates of the robot based on the camera coordinate system are obtained.

[0016] Furthermore, the working trajectory model of the end gripper is defined as follows:

[0017] Define the initial working zero point of the end gripper as the starting point of the gripping path, set it as point O, establish the O-xyz three-dimensional world coordinate system with the horizontal plane where point O is located, and set the O-xy horizontal plane as the zero point plane;

[0018] The end gripper is defined as a gripping cycle from the current gripping point to the next gripping point. The working trajectory in the gripping cycle is divided into three stages: lifting section, horizontal section and descending section.

[0019] Furthermore, the path model is specifically:

[0020] After successfully gripping a target, it needs to be placed in a storage frame before the next gripping. The mathematical model that defines the storage frame is a straight line y=a on the zero plane. s x+b x , the intersection points of each target vertical direction with the zero plane are O1, O2, ..., O n , the storage locations corresponding to each target are defined as S1, S2, ..., S n , where the last target corresponding to the storage position is the zero point, that is, S n =(0,0,0)), the end gripper follows a "door"-shaped trajectory according to M i →O i →S i →O i+1 →M i+1 , i = 1, 2, ..., n points are picked sequentially until the work cycle is completed.

[0021] Furthermore, the storage locations corresponding to each target are defined as S1, S2, ..., S n , specifically:

[0022] Assume that the coordinates of the two targets on the zero plane are A(X1, Y1) and B(X2, Y2), respectively. Then the optimal storage position S between the two targets can be obtained by the point A about the straight line y=a s x+b x The symmetric point A'(X1', Y1') of the s x+b x The intersection point S(X s , Y s )get;

[0023] The calculation formula for the symmetrical point A′(X1′, Y1′) is:

[0024]

[0025]

[0026] Line A′B and line y=a s x+b x The calculation formula of the intersection point is:

[0027] If X2=X′1, then X s =X2,Y s =a s X2+ s ;

[0028] If X2≠X′1, then

[0029]

[0030]

[0031] Among them, a′=(Y2-Y′1) / (X2-X′1), b′=Y2-a′X2.

[0032] Furthermore, the path minimization optimization function f is specifically:

[0033]

[0034] Among them, d(A, B) represents the distance from point A to point B, h i Indicates the distance of each target from the zero plane in the vertical direction.

[0035] Furthermore, the improved simulated degradation algorithm has the following three improvements:

[0036] Set the sampling stability condition so that the sampling times are flexibly handled according to the current solution. The sampling stability condition is defined as: the number of times the local solution is not improved at the same temperature T max, set a local solution unimproved counter num, when num reaches the upper limit L, jump out of the inner loop of the current temperature T;

[0037] Set up three perturbation mechanisms, namely, randomly swapping two elements, shifting a single element, and reversing a sequence subset. The three perturbation mechanisms are executed on the initial solution C with equal probability to generate a new solution C′.

[0038] Set the global optimal solution and initialize it to 0. During the search process, compare the current solution with the global optimal solution. If the path minimization optimization function f1 value calculated by the current solution is less than the path minimization optimization function f2 value calculated by the global optimal solution, the former will be updated to the global optimal solution.

[0039] Further, the improved simulated degradation algorithm comprises:

[0040] S5.1 Define the initial temperature T0 and the final temperature T end , define memory C best = C, defines the cooling factor q, the number of iterations of the current temperature L current =0, the maximum number of iterations L for each temperature T value, the number of annealing times cnt = 0;

[0041] S5.2 Set sampling stability conditions, initialize the local solution not being improved counter num = 0, set the maximum number of times the local solution is not improved at the same temperature T num max ;

[0042] S5.3 randomly generates an initial solution C and calculates the objective function f(C);

[0043] S5.4 performs the following three perturbation mechanisms on the initial solution C with equal probability: (1) random exchange of two elements; (2) shift of a single element; (3) sequence subset reversal to generate a new solution C′ and calculate the objective function f(C′) again;

[0044] S5.5 Calculate the difference Δf=f(C′)-f(C). If Δf<0, it means the path is optimized. The local solution is not improved. The counter is reset to num=0. The new solution C=C′ is accepted. best =C, f(C best )=f(C), jump to S5.7;

[0045] S5.6 If Δf ≥ 0, it means that the path is not optimized, num = num + 1, and then accept the new solution according to the Metropolis criterion with probability value P (Δf) = exp (-Δf / T k ) accept the new solution C=C′, if num≥num max , then the inner loop at the current temperature ends and jumps to S5.8;

[0046] S5.7L current =L current +1, if L current <L, indicating that the inner loop has not yet ended, jump to S5.4, otherwise continue to execute;

[0047] S5.8cnt=cnt+1, update the temperature T according to the following formula;

[0048] T=q×T

[0049] S5.9 determines whether the termination condition is met. If the current temperature T<T end , then the best path C is returned best And the optimal solution of the objective function f(C best ), otherwise jump to S5.4.

[0050] A device comprises: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the target picking three-dimensional path planning method.

[0051] A computer-readable storage medium stores computer-executable instructions, wherein the computer-executable instructions are used to enable a computer to execute the target picking three-dimensional path planning method.

[0052] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0053] (1) The present invention proposes a method for optimizing the path of the end gripper for automatic target picking. The target picking path is planned based on the simulated annealing algorithm. The corresponding optimal path is obtained based on the small range of vertical fluctuations of the target and the working characteristics of the picking robot, thereby reducing the movement distance of the end gripper and the total picking time, and improving the picking efficiency.

[0054] (2) The present invention improves the simulated annealing algorithm by setting sampling stability conditions, improving the disturbance mechanism for generating new solutions, and increasing the memory function, thereby improving the convergence speed and optimization results of the algorithm. At the same time, the algorithm can also be applied to path optimization problems in different scenarios, and has strong versatility. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] Figure 1 A flow chart of a target picking three-dimensional path planning method according to the present invention;

[0056] Figure 2 This is an embodiment of the present invention - a working trajectory model of the end gripper based on automatic target picking;

[0057] Figure 3 A path model of the end gripper based on automatic target picking of the present invention;

[0058] Figure 4 The figure is a flow chart of the algorithm based on the improved simulated annealing algorithm of the present invention. DETAILED DESCRIPTION

[0059] The present invention will be further described in detail below in conjunction with examples, but the embodiments of the present invention are not limited thereto.

[0060] like Figure 1-Figure 4 As shown, a target picking three-dimensional path planning method is applicable to the picking and picking path planning of crops, the picking path planning of workpieces in industrial assembly lines, etc. This embodiment is described in detail by taking the picking of mushrooms as an example.

[0061] The method comprises the following steps:

[0062] Step 1: Obtain the three-dimensional spatial coordinates of each target through the visual recognition system.

[0063] Specifically: the visual recognition system includes an RGB-D camera and a controller.

[0064] S1.1 uses an RGB-D camera to shoot mushroom sticks from above. After image processing, it identifies the mushrooms that can be picked on the sticks and directly reads the three-dimensional spatial coordinates (x camera ,y camera , z camera ).

[0065] S1.2 Obtain the relative position matrix M of the end gripper of the picking robot and the RGB-D camera through hand-eye calibration 4×4 , transform the coordinates of each mushroom to obtain its three-dimensional space coordinates based on the robot (x robot ,y robot , z robot ).

[0066]

[0067] Step 2 traverses the order of the targets and performs integer encoding.

[0068] Depending on the scale of the problem, that is, the number of mushrooms to be picked is different, the integer encoding is also different. Assuming the number of mushrooms is M, define the names of the targets as M1, M2, ..., M n , traverse the order of the targets and perform integer encoding to obtain the target number [1, 2, ..., n], which means starting from the initial zero point, after 1, 2, ..., n, it finally returns to the initial zero point.

[0069] For example, suppose the number of mushrooms is 10, and define the names of the mushrooms as M1, M2, ..., M 10 , get the mushroom numbers [1, 2, ..., 10];

[0070] For example, suppose the number of mushrooms is 20, and the mushroom names are defined as M1, M2, ..., M 20 , and get the mushroom numbers [1, 2, ..., 20].

[0071] Step 3: Based on the working trajectory of the end gripper and the position fluctuation of the target in the vertical direction, the working trajectory model and path model of the end gripper are defined respectively.

[0072] like Figure 2 As shown, the working trajectory model of the end gripper is established, specifically:

[0073] Define the initial working zero point of the end gripper as the starting point of the gripping path, set it as point O, establish the O-xyz three-dimensional world coordinate system with the horizontal plane where point O is located, and set the O-xy horizontal plane as the zero point plane;

[0074] The end gripper is defined as a gripping cycle from the current gripping point to the next gripping point. The working trajectory in the gripping cycle is divided into three stages: lifting section, horizontal section, and descending section.

[0075] like Figure 3 As shown, the path model of the end gripper is established. The path model is a combination of points and lines. The material storage frame is regarded as a line in the coordinate system of the picking robot. a and b are the slope and intercept of this line. According to the position definition of the material storage frame, it is specifically:

[0076] In order to facilitate the verification of the mathematical model, the mathematical model of the material storage frame is defined as y = 0, and the intersection points of the vertical direction of each mushroom and the zero-point plane are O1, O2, ..., O n , the storage locations corresponding to each target are defined as S1, S2, ..., S n (The last mushroom corresponds to the storage position of zero, that is, S n =(0,0,0)), the end gripper follows a "door"-shaped trajectory according to M i →O i →S i →O i+1 →M i+1 The points (i=1, 2, ..., n) are picked sequentially until the work cycle is completed.

[0077] Step 4: Convert the target pickup path optimization problem into a traveling salesman-like problem and establish a path minimization optimization function f, specifically:

[0078] The coordinates of the storage locations S corresponding to the above mushrooms are solved, in this embodiment, as follows:

[0079] Assume that the coordinates of the two mushrooms on the zero plane are A(X1, Y1) and B(X2, Y2), then the optimal storage position S between the two mushrooms can be obtained by solving the intersection S(X1′, Y1′) of the line A′B and the line y=0 from the symmetric point A′(X1′, Y1′) of the point A about the line y=0. s , Y s )get;

[0080] The calculation formula for the symmetrical point A′(X1′, Y1′) is:

[0081] X′1=X1

[0082] Y′1=-Y1

[0083] The calculation formula for the intersection of the straight line A′B and the straight line y=0 is:

[0084] If X2=X′1, then X s =X2,Y s =0;

[0085] If X2≠X′1, then

[0086]

[0087] Y s =0

[0088] Among them, a′=(Y2-Y′1) / (X2-X′1), b′=Y2-a′X2.

[0089] The expression of the established path minimization optimization function is as follows:

[0090] minimize:

[0091]

[0092] Among them, d(A, B) represents the distance from point A to point B, h i Indicates the distance of each mushroom from the zero point plane in the vertical direction.

[0093] Step 5: Use the improved simulated annealing algorithm to optimize the function f and return the optimal path C. best And the optimal solution of the objective function f(C best );

[0094] Aiming at the limitations of the traditional simulated annealing algorithm, the algorithm is improved in three aspects: too many iterations in the inner loop, a single perturbation mechanism, lack of randomness, and lack of memory function.

[0095] Set the sampling stability condition. The sampling stability condition is defined as the number of times hum the local solution is not improved at the same temperature T max . Set a local solution unraised counter num, and when num reaches the upper limit L, jump out of the inner loop of the current temperature T;

[0096] Three perturbation mechanisms are provided: (1) random exchange of two elements; (2) shift of a single element; and (3) sequence subset reversal. The three perturbation mechanisms are executed on the initial solution C with equal probability to generate a new solution C′.

[0097] Set the global optimal solution, compare the current solution with the global optimal solution during the search process, and update it in time to "remember" the global optimal solution.

[0098] This embodiment adopts the improved annealing algorithm to solve the problem in the following steps:

[0099] S5.1 defines the initial temperature T0 = 10000℃ and the final temperature T end =15℃, define memory C best = C, define cooling factor q = 0.99, the number of iterations of the current temperature L current =0, the maximum number of iterations for each temperature T value L = 3000, the number of annealing times cnt = 0;

[0100] S5.2 Set sampling stability conditions, initialize the local solution not being improved counter num = 0, set the maximum number of times the local solution is not improved at the same temperature T hum max =10;

[0101] S5.3 randomly generates an initial solution C and calculates the objective function f(C);

[0102] S5.4 performs three perturbation mechanisms on individual C with equal probability: (1) random exchange of two elements; (2) shift of a single element; (3) sequence subset reversal to generate a new solution C′ and calculate the objective function f(C′);

[0103] S5.5 Calculate the increment Δf=f(C′)-f(C). If Δf<0, it means the path is optimized. The local solution is not improved. The counter is reset to num=0. The new solution C=C′ is accepted. best =C, f(C best )=f(C), jump to S5.7;

[0104] S5.6 If Δf ≥ 0, it means that the path is not optimized, num = num + 1, and the new solution is accepted according to the Metropolis criterion with a probability value of P (Δf) = exp (-Δf / T k ) accept the new solution C=C′, if num≥num max, end the inner loop at the current temperature and jump to S5.8;

[0105] S5.7L current =L current +1, if L current <L, then jump to S6.4, otherwise continue execution;

[0106] S5.8cnt=cnt+1, update the temperature T according to the following formula;

[0107] T=q×T

[0108] S5.9 determines whether the termination condition is met. If the current temperature T<T end , then the best path C is returned best And the optimal solution of the objective function f(C best ), otherwise jump to S5.4.

[0109] The present invention designs a comparative experiment based on the traditional simulated annealing algorithm and the improved simulated annealing algorithm. "mushroomX" represents the problem scale of obtaining the three-dimensional spatial coordinates of X mushrooms through the visual recognition system. The termination conditions of the two algorithms are set to be the same, that is, the program is terminated when the termination condition temperature is reached. The two algorithms are operated 10 times for different problem scales, and then the average value is taken, as shown in Table 1.

[0110] Table 1

[0111]

[0112] The above qualitative comparison results show that compared with the traditional simulated annealing algorithm, the improved simulated annealing algorithm has greatly improved the mean value and variance of the calculation results, that is, the result of obtaining the optimal path is more stable, and the calculation time is relatively reduced.

[0113] The present invention provides a target picking path optimization method based on an improved simulated annealing algorithm, which takes into account the working trajectory of the end gripper and the position fluctuation of the target in the vertical direction, and can plan an optimal path in a shorter time, reduce the movement distance of the end gripper and the total picking time, and improve the picking efficiency. At the same time, the application of this method is not limited to this, and can be applied to other path optimization problems according to the particularity of different scenarios, and its versatility is strong.

[0114] Example 2

[0115] The embodiment of the present invention provides a device, based on embodiment 1, including at least one processor, and a memory connected to the at least one processor in communication; wherein the memory stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor, so that at least one processor can execute a target picking three-dimensional path planning method of some embodiments of the present invention. A target picking three-dimensional path planning method of the embodiment of the present invention finds an optimal path according to the positions of multiple target points and storage frames, reduces the movement distance of the end gripper and the total picking time, and improves the picking efficiency. In a device of the embodiment of the present invention, the processor can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The processor is the control center of an executable device of a detection method, and uses various interfaces and lines to connect the various parts of the entire executable device of a product defect detection method. The memory can be used to store computer programs and / or modules. The processor realizes various functions of the executable device of the target collection three-dimensional path planning method by running or executing the computer programs and / or modules stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0116] Example 3

[0117] The embodiment of the present invention provides a computer-readable storage medium. Based on embodiment 1, the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the target picking three-dimensional path planning method of some embodiments of the present invention. A computer-readable storage medium of the embodiment of the present invention finds an optimal path, reduces the movement distance of the end gripper and the total picking time, and improves the picking efficiency.

[0118] The above embodiments are preferred implementation modes of the present invention, but the implementation modes of the present invention are not limited to the embodiments. Any other changes, modifications, substitutions, combinations, and simplifications that do not deviate from the spirit and principles of the present invention should be equivalent replacement methods and are included in the protection scope of the present invention.

Claims

1. A target picking three-dimensional path planning method, characterized in that: include: Obtain the three-dimensional spatial coordinates of each object to be picked up; The traversal targets are arranged in order and integer encoded; Combining the preset working trajectory of the robot's end gripper and the position fluctuation in the vertical direction of the target, the working trajectory model and path model of the end gripper are defined respectively; Construct the minimum optimization function f of the target picking path; The improved simulated annealing algorithm is used to optimize the minimum optimization function and obtain the optimal path C best And the optimal solution of the minimum optimization function f(C best ); The improved simulated annealing algorithm has the following three specific improvements: Set the sampling stability condition so that the sampling times are flexibly handled according to the current solution. The sampling stability condition is defined as: the number of times the local solution is not improved at the same temperature T max , set a local solution unimproved counter num, when num reaches the upper limit L, jump out of the inner loop of the current temperature T; Set up three perturbation mechanisms, namely, randomly swapping two elements, shifting a single element, and reversing a sequence subset. The three perturbation mechanisms are executed on the initial solution C with equal probability to generate a new solution C′. Set the global optimal solution, initialize it to 0, compare the current solution with the global optimal solution during the search process, if the path minimization optimization function f1 value calculated by the current solution is less than the path minimization optimization function f2 value calculated by the global optimal solution, then update the former to the global optimal solution; The improved simulated annealing algorithm comprises: S5.1 Define the initial temperature T0 and the final temperature T end , define memory C best = C, defines the cooling factor q, the number of iterations of the current temperature L current =0, the maximum number of iterations L for each temperature T value, the number of annealing times cnt = 0; S5.2 Set sampling stability conditions, initialize the local solution not being improved counter num = 0, set the maximum number of times the local solution is not improved at the same temperature T num max ; S5.3 randomly generates an initial solution C and calculates the objective function f(C); S5.4 performs the following three perturbation mechanisms on the initial solution C with equal probability: (1) random exchange of two elements; (2) shift of a single element; (3) sequence subset reversal to generate a new solution C′ and calculate the objective function f(C′) again; S5.5 Calculate the difference Δf=f(C′)-f(C). If Δf<0, it means the path is optimized. The local solution is not improved. The counter is reset to num=0. The new solution C=C′ is accepted. best =C, f(C best )=f(C), jump to S5.7; S5.6 If Δf ≥ 0, it means that the path is not optimized, num = num + 1, and then accept the new solution according to the Metropolis criterion with probability value P (Δf) = exp (-Δf / T k ) accept the new solution C=C′, if num≥num max , then the inner loop at the current temperature ends and jumps to S5.8; S5.7L current =L current +1, if L current <L, indicating that the inner loop has not yet ended, jump to S5.4, otherwise continue to execute; S5.8cnt=cnt+1, update the temperature T according to the following formula; T=q×T S5.9 determines whether the termination condition is met. If the current temperature T<T end , then the best path C is returned best And the optimal solution of the objective function f(C best ), otherwise jump to S5.

4.

2. The target picking three-dimensional path planning method according to claim 1, characterized in that: The three-dimensional spatial coordinates of each object to be picked are obtained as follows: Use a camera to shoot the objects to be picked up, and obtain the three-dimensional spatial coordinates of each object based on the camera coordinate system; Through hand-eye calibration, the three-dimensional space coordinates of the robot based on the camera coordinate system are obtained.

3. The target picking three-dimensional path planning method according to claim 1, characterized in that: The working trajectory model of the end gripper is defined as follows: Define the initial working zero point of the end gripper as the starting point of the gripping path, set it as point O, establish the O-xyz three-dimensional world coordinate system with the horizontal plane where point O is located, and set the O-xy horizontal plane as the zero point plane; The end gripper is defined as a gripping cycle from the current gripping point to the next gripping point. The working trajectory in the gripping cycle is divided into three stages: lifting section, horizontal section and descending section.

4. The target picking three-dimensional path planning method according to claim 1, characterized in that: The path model is specifically: After successfully gripping a target, it needs to be placed in a storage frame before the next gripping. The mathematical model that defines the storage frame is a straight line y=a on the zero plane. s x+b x The intersection points of each target vertical direction with the zero plane are O1, O2, ..., O n , the storage locations corresponding to each target are defined as S1, S2, ..., S n , where the last target corresponding to the storage position is the zero point, that is, S n = (0, 0, 0), the end gripper follows a "door"-shaped trajectory according to M i →O i →S i →O i+1 →M i+1 , i = 1, 2, ..., n points are picked sequentially until the work cycle is completed.

5. The target picking three-dimensional path planning method according to claim 4, characterized in that: The storage locations corresponding to each target are defined as S1, S2, ..., S n , specifically: Assume that the coordinates of the two targets on the zero plane are A(X1, Y1) and B(X2, Y2), then the optimal storage position S between the two targets is from point A to the line y=a s x+b x The symmetric point A'(X1', Y1') of the s x+b x The intersection point S(X s , Y s )get; The calculation formula for the symmetrical point A′(X1′, Y1′) is: Line A′B and line y=a s x+b x The calculation formula of the intersection point is: If X2=X′1, then X s =X2,Y s =a s X2+b s ; If X2≠X′1, then Among them, a′=(Y2-Y′1) / (X2-X′1), b′=Y2-a′X2.

6. The target picking three-dimensional path planning method according to claim 5, characterized in that: The path minimization optimization function f is specifically: Among them, d(A, B) represents the distance from point A to point B, h i Indicates the distance of each target from the zero plane in the vertical direction.

7. A device, characterized in that: include: At least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the target picking three-dimensional path planning method as described in any one of claims 1-6.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the target picking three-dimensional path planning method according to any one of claims 1 to 6.