Flexible object operation method and device based on predictive operation characterization
Through a method based on predictive operation representation, depth images and reverse learning are used to predict the grabbing and placing points of flexible objects, solving the problem of low success rate of robots in operating flexible objects, achieving more efficient operations and better Generalization ability.
Patent Information
- Application Number
- CN202410650868.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-24
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-05-24
AI Technical Summary
Existing robots have a low success rate in flexible object manipulation tasks. This is mainly due to the complex state of flexible objects and complex dynamic models, which results in difficulty in operation selection and high complexity of long-range planning. Greedy strategies are prone to falling into local optimal solutions, and reinforcement learning methods are complex to learn. High degree and low exploration efficiency.
Using a method based on predictive operation representation, through depth images and reverse learning, the grab affordance model and the placement affordance model are used to predict the affordance value of each pixel, determine the grab and placement points, and control the robotic arm Operate and perform multi-stage learning through residual neural network to reduce learning complexity and improve data utilization efficiency.
It greatly improves the success rate of long-range flexible object operation, reduces learning complexity, improves data utilization efficiency, achieves more natural strategies and better generalization capabilities, and is suitable for a variety of flexible object operation tasks.
Smart Images

Figure CN118587171A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of robot control technology, and in particular to a flexible object operation method and device based on predictive operation representation. Background Art
[0002] With the continuous advancement of artificial intelligence technology, flexible object manipulation (such as the manipulation of objects such as clothing and ropes) is an indispensable capability for future robots. However, there is still much room for improvement in the current research on flexible object manipulation in the field of robotics. This is mainly due to the following two difficulties in flexible object manipulation tasks: First, the state of flexible objects is almost infinite, difficult to characterize, and the dynamic model is complex; second, unlike rigid bodies and articulated objects, flexible object manipulation tasks usually require multiple steps of operation. For example, wrinkled clothing requires multiple steps of operation to fully unfold. The first difficulty makes the operation selection of each step very difficult, and the random grasping and placement strategy is almost impossible to perform effective operations. The second difficulty introduces the complexity of long-term planning, making the greedy strategy easy to fall into the local optimal solution. Although the greedy strategy can achieve good results in one step, increasing the coverage area of the cloth, it also covers the corners of the cloth, making it difficult for subsequent operations to successfully complete the entire task.
[0003] There are also many explorations in the field of robotics in the manipulation of flexible objects, but there is still huge room for improvement in the research of complex and long-range manipulation tasks. Many previous works used reinforcement learning to deal with the complexity and long-range nature of flexible object manipulation, but due to the characteristics of reinforcement learning, this method has always faced problems such as high learning complexity and low exploration efficiency. Reinforcement learning models often need to collect actions and corresponding results in various situations. Due to the characteristics of flexible objects, the exploration space for this collection will be huge, and it contains a lot of data that lacks information. For example, the actions and feedback obtained by random strategies do not actually reflect much operation information. At the same time, a large amount of unstructured data also brings a high degree of learning complexity. The multi-step reward calculation method of reinforcement learning also makes training more unstable. Therefore, the success rate of previous methods was very low when faced with very challenging tasks such as unfolding cloth and operating ropes. Summary of the invention
[0004] The purpose of the present invention is to provide a flexible object manipulation method and device based on predictive manipulation characterization, so as to solve the problem that the success rate of flexible object manipulation tasks performed by existing robots is very low.
[0005] A first aspect of the present invention provides a flexible object operation method based on predictive operation representation, comprising: S1, based on the depth-containing image of the current state of the flexible object, using a grasping availability model to predict the grasping availability value of each pixel point on the entire depth-containing image, and screening out the pixel point corresponding to the largest value among the grasping availability values as the current grasping point; S2, based on the depth-containing image of the current state and the current grasping point, using a placement availability model to predict the placement availability value of each pixel point on the entire depth-containing image; screening out the pixel point corresponding to the largest value among the placement availability values as the current placement point; S3, based on the current grasping point and the current placement point, controlling the robotic arm to perform this grasping and placing operation on the flexible object, and obtaining the state of the flexible object after this grasping and placing operation as the current state of the next grasping and placing operation; S4, repeating steps S1-S3 until the flexible object operation task is completed.
[0006] Furthermore, the grasping availability value of each pixel on the entire depth-containing image based on the current state of the flexible object is predicted by using a grasping availability model, including: taking the depth-containing image of the given state of the flexible object as the input of the grasping availability model, and the output of the grasping availability model is a set of grasping availability values for each pixel on the entire depth-containing image, and the high or low grasping availability value corresponding to each pixel represents the value of each pixel as a grasping point for completing the flexible object operation task.
[0007] Furthermore, based on the depth-containing image in the current state and the current grasping point, the placement availability value of each pixel point on the entire depth-containing image is predicted using a placement availability model, including: taking the given current state depth-containing image of the flexible object and the pixel position of the current grasping point as inputs of the placement availability model, and the output of the placement availability model is a set of placement availability values for each pixel point in the entire depth-containing image, and the high or low placement availability value corresponding to each pixel point represents the value of placing the current grasping point at the pixel point for completing the task.
[0008] Furthermore, the grasping affordance model and the placing affordance model adopt reverse learning during training, that is, learning from the target state of the flexible object manipulation task to the initial state.
[0009] Furthermore, learning from the target state to the initial state of the flexible object manipulation task includes: decomposing the manipulation task into multiple stages, wherein the first stage of the multiple stages achieves the target state of the manipulation task after a step of grasping and placing operations, and the second stage achieves the first stage after a step of grasping and placing operations, and so on, until the state confusion degree of the flexible object in the last stage reaches the initial state of the task.
[0010] Furthermore, both the grasping affordance model and the placing affordance model use residual neural networks as encoders.
[0011] Furthermore, the number of layers of the residual neural network is 43.
[0012] A second aspect of the present invention provides a flexible object operating device based on predictive operation representation, comprising:
[0013] A current grasping point determination module is used to predict the grasping availability value of each pixel point on the entire depth-containing image based on the depth-containing image of the current state of the flexible object by using a grasping availability model, and select the pixel point corresponding to the largest value among the grasping availability values as the current grasping point;
[0014] The current placement point determination module is used to predict the placement availability value of each pixel on the entire depth-containing image based on the current state of the depth-containing image and the current grasping point using the placement availability model; and select the pixel corresponding to the largest value among the placement availability values as the current placement point;
[0015] A grab and place operation module, used to control the robot arm to perform the current grab and place operation on the flexible object based on the current grab point and the current place point, and obtain the state of the flexible object after the current grab and place operation as the current state of the next grab and place operation;
[0016] The repeated execution module repeatedly executes the operations of the current grasping point determination module, the current placement point determination module and the grasping and placement operation module until the flexible object operation task is completed.
[0017] A third aspect of the present invention provides an electronic device, including a processor and a memory, wherein the memory stores a plurality of instructions, and the processor is used to read the instructions and execute the flexible object operation method based on predictive operation representation described in the first aspect of the present invention.
[0018] A fourth aspect of the present invention provides a computer-readable storage medium storing a plurality of instructions, wherein the plurality of instructions can be read by a processor and executed by the flexible object operation method based on predictive operation representation as described in the first aspect of the present invention.
[0019] The beneficial effects of the present invention are:
[0020] 1. The flexible object operation method based on predictive operation representation provided by the present invention greatly improves the success rate of long-range flexible object operation. Compared with the existing strong learning method and dynamic model method, the representation of the present invention is more natural, and the complexity of learning is reduced by injecting priors, so a more mature strategy can be obtained;
[0021] 2. The flexible object operation method based on predictive operation characterization provided by the present invention improves the utilization efficiency of data. The present invention uses reverse phased learning. Each step only needs to learn the knowledge of one phase, and does not need to collect the entire operation trajectory, which increases the amount of sample information and reduces the time required for data collection.
[0022] 3. The flexible object manipulation method based on predictive manipulation representation provided by the present invention has the potential to be applied to new tasks. Compared with reinforcement learning which requires the formulation of rewards, the method provided by the present invention can be transferred to other tasks, such as plasticine modeling and clothes folding, without the need to manually formulate guiding rewards. In addition, the generalization of reinforcement learning has always been a major problem. In comparison, the visual representation of the present invention is more likely to generalize. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solution of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only one embodiment of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0024] Figure 1 It is a schematic flow chart of the flexible object operation method based on predictive operation representation according to the present invention;
[0025] Figure 2 It is a schematic structural diagram of the flexible object operating device based on predictive operation characterization described in the present invention. DETAILED DESCRIPTION
[0026] The following is a clear and complete description of the technical solution in the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0027] The technical solution of the present application is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0028] Example 1
[0029] like Figure 1 As shown, this embodiment provides a flexible object operation method based on predictive operation representation, comprising the following steps:
[0030] S1, based on the depth-containing image of the current state of the flexible object, using a grasping availability model to predict the grasping availability value of each pixel point on the entire depth-containing image, and selecting the pixel point corresponding to the largest value among the grasping availability values as the current grasping point;
[0031] Specifically, the depth image O∈R representing a given state of the flexible object W×H×C As the input of the grasping affordance model, the depth image includes both the light intensity information of the ordinary image and its depth information, W and H represent the width and height of the depth image respectively, C represents the number of channels of the image, C = 4; the output of the grasping affordance model is the set A of grasping affordance values of each pixel on the entire depth image O,Pick ∈R W×H The grasping affordance value corresponding to each pixel represents the value of each pixel as a grasping point for completing the flexible object operation task. The pixel corresponding to the maximum grasping affordance value is used as the current grasping point.
[0032] S2, based on the current state of the depth-containing image and the current grasping point, using the placement availability model to predict the placement availability value of each pixel point on the entire depth-containing image; and selecting the pixel point corresponding to the largest value among the placement availability values as the current placement point;
[0033] Specifically, the depth image O∈R representing the current state of the flexible object is W×H×C and the current grasp point as the input of the placement affordance model, where W and H represent the width and height of the depth image, respectively, and C represents the number of channels of the image, C = 4; the output of the placement affordance model is the set of placement affordance values for each pixel in the entire depth image The placement affordance value corresponding to each pixel represents the value of placing the current grasping point at the pixel for completing the task; the pixel corresponding to the maximum value in the placement affordance value is used as the current placement point.
[0034] S3, based on the current grasping point and the current placement point, controlling the robot arm to perform the current grasping and placement operation on the flexible object, and obtaining the state of the flexible object after the current grasping and placement operation as the current state of the next grasping and placement operation;
[0035] S4, repeating steps S1-S3 until the flexible object operation task is completed.
[0036] It should be noted that the grasping affordance model and the placement affordance model adopted by the present invention adopt reverse leaming during training, that is, learning from the target state of the flexible object operation task to the initial state. When the grasping affordance model and the placement affordance model are trained using the flexible object operation task, the entire operation task is first decomposed into multiple stages. The first stage of the multiple stages achieves the target state of the entire task after one step of grasping and placing operations, and the second stage achieves the first stage after one step of grasping and placing operations, and so on, until the state confusion degree of the flexible object in the last stage reaches the initial state of the task. For example, in the cloth unfolding task, the unfolding area of the cloth reaches 90% of the fully flattened area; at the same time, the grasping and placing operation data corresponding to each stage of the multiple stages and the depth-containing image representing the state of the flexible object after the operation are obtained, and the grasping affordance model and the placement affordance model are trained using the grasping and placing operation data corresponding to each stage and the depth-containing image representing the state of the flexible object after the operation.
[0037] The specific design and training of the placement affordance model and the grabbing affordance model are as follows:
[0038] 1. Place the Affordance Model
[0039] The placement affordance model is used to determine the prediction of the placement affordance of a flexible object. Given a depth image of the current state of a given flexible object and the current grasping point, the value of all placement points on the entire two-dimensional plane for completing the task is predicted.
[0040] The placement availability model uses a 43-layer residual neural network as an encoder to extract local and global features of each pixel. The encoder is hourglass-shaped, first performing 4 maximum poolings, then 4 upsamplings to obtain the local features corresponding to each pixel. The dimension of the local feature is 256. The feature of the bottleneck in the middle is used as the global feature with a dimension of 512. Then the grab point p pick = local features and placement point p of (i, j) place =(u, v) local features and global features are spliced together, and the placement availability value of the point is obtained through a three-layer multi-layer perceptron, where (i, j) and (u, v) represent the position coordinates of any pixel point on the depth image.
[0041] The training data for the placement affordance model consists of a depth image O∈R of the flexible object state s before the operation W ×H×C , the current grasping point p pick =(i, j) and the current placement point p place=(u, v) and the state of the flexible object after the operation s′. In the first stage of training, the placement affordance model is made to predict the evaluation result after the placement operation is performed, that is, at the current placement point p place = predicted value of (u, v) Among them, R(s′) represents the quantitative evaluation of the state s′, for example, in the cloth unfolding task, it is the coverage area, and in the rope operation, it is the distance to the target state. In the training after the first stage, not only the quantitative evaluation R(s′) returned by the simulator is relied on, but also the value estimation of the state s′ of the flexible object after the operation is added, so as to consider the impact of the current action on the subsequent operation, that is, the placement point p place = predicted value of (u, v) Among them, α and β represent the weights of the current quantitative evaluation and future value estimation, respectively, and V(s′) represents the value estimation of the flexible object state s′, which will be introduced here in the grasping affordance model.
[0042] 2. Grasping Affordance Model
[0043] The grasping affordance model predicts the grasping affordance of flexible objects through neural networks. Given the observation of the state of a given object, it predicts the value of all grasping points on the entire two-dimensional plane for completing the task.
[0044] The grasping availability model uses a 43-layer residual neural network as an encoder to extract the local features of each point. It should be noted that the encoder is hourglass-shaped, first performing 4 maximum pooling, and then performing 4 upsampling to obtain the local features corresponding to each pixel, and the dimension of the local features is 256. The features of the grasping point are passed through a three-layer multi-layer perceptron to obtain the grasping availability of the point.
[0045] The training data of the grasping affordance model includes a depth image O∈R representing the state S of the flexible object before the operation W×H×C and the current grasping point P pick =(i, j), through training, the grasping affordance model predicts the grasping point P pick =(i, j) after the best result, here the best result refers to the placement point p place = predicted value of (u, v) in is the grasping affordance module for the grasping point P pick =(i, j) is placed at the placement point p place= (u, v) availability prediction value; because grabbing a grab point can always place it at the placement point with the greatest value, the grabbing availability of the grab point should be based on the maximum value of the placement availability of the point. In addition, in order to estimate the value of a state, the best state that a state can reach in the future should be estimated. This application uses the maximum value of the grabbing availability of a state to estimate the value of the state, that is, the value estimation, where the value estimation
[0046] In summary, the grasping affordance model and the placing affordance model provided by the present invention adopt reverse learning during training. Reverse learning is to reverse the execution process of the task and learn from the target state of the task to the initial state. First learn the operation strategy of the last step, then learn the previous step until the initial state. This learning strategy greatly reduces the scope of exploration, while delivering value estimation, and efficiently and stably obtains the required affordance representation.
[0047] Example 2
[0048] like Figure 2 As shown, this embodiment provides a flexible object operating device based on predictive operation representation, including:
[0049] A current grasping point determination module is used to predict the grasping availability value of each pixel point on the entire depth-containing image based on the depth-containing image of the current state of the flexible object by using a grasping availability model, and select the pixel point corresponding to the largest value among the grasping availability values as the current grasping point;
[0050] The current placement point determination module is used to predict the placement availability value of each pixel on the entire depth-containing image based on the current state of the depth-containing image and the current grasping point using the placement availability model; and select the pixel corresponding to the largest value among the placement availability values as the current placement point;
[0051] A grab and place operation module, used to control the robot arm to perform the current grab and place operation on the flexible object based on the current grab point and the current place point, and obtain the state of the flexible object after the current grab and place operation as the current state of the next grab and place operation;
[0052] The repeated execution module repeatedly executes the operations of the current grasping point determination module, the current placement point determination module and the grasping and placement operation module until the flexible object operation task is completed.
[0053] The device can implement a flexible object operation method based on predictive operation characterization provided in the first embodiment. The specific operation method can be found in the description of the first embodiment and will not be described again here.
[0054] The present invention provides an electronic device, including a processor and a memory, wherein the memory stores a plurality of instructions, and the processor is used to read the instructions and execute any one of the methods in the above-mentioned embodiment 1.
[0055] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a plurality of instructions, and the plurality of instructions can be read by a processor to execute any one of the methods in the aforementioned embodiment 1.
[0056] Although preferred embodiments of the present invention have been described, additional changes and modifications may be made to these embodiments by those skilled in the art once the basic inventive concepts are known. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention. Obviously, those skilled in the art may make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A flexible object operation method based on predictive operation representation, characterized in that: The following steps are involved: S1, based on the depth-containing image of the current state of the flexible object, using a grasping availability model to predict the grasping availability value of each pixel point on the entire depth-containing image, and selecting the pixel point corresponding to the largest value among the grasping availability values as the current grasping point; S2, based on the current state of the depth-containing image and the current grasping point, using the placement availability model to predict the placement availability value of each pixel point on the entire depth-containing image; and selecting the pixel point corresponding to the largest value among the placement availability values as the current placement point; S3, based on the current grasping point and the current placement point, controlling the robot arm to perform the current grasping and placement operation on the flexible object, and obtaining the state of the flexible object after the current grasping and placement operation as the current state of the next grasping and placement operation; S4, repeating steps S1-S3 until the flexible object operation task is completed.
2. The flexible object operation method based on predictive operation representation according to claim 1 is characterized in that: The method of predicting the grasping availability value of each pixel on the entire depth-containing image based on the current state of the flexible object using a grasping availability model includes: taking the depth-containing image representing a given state of the flexible object as the input of the grasping availability model, and the output of the grasping availability model is a set of grasping availability values for each pixel on the entire depth-containing image, and the high or low grasping availability value corresponding to each pixel represents the value of each pixel as a grasping point for completing the flexible object operation task.
3. The flexible object operation method based on predictive operation representation according to claim 1, characterized in that: Based on the current state of the depth-containing image and the current grasping point, the placement affordance model is used to predict the placement affordance value of each pixel on the entire depth-containing image, including: taking the given current state of the depth-containing image representing the flexible object and the pixel position of the current grasping point as the input of the placement affordance model, and the output of the placement affordance model is a set of placement affordance values for each pixel in the entire depth-containing image, and the high or low placement affordance value corresponding to each pixel represents the value of placing the current grasping point at the pixel for completing the task.
4. The flexible object operation method based on predictive operation representation according to claim 1, characterized in that: The grasping affordance model and the placing affordance model adopt reverse learning during training, that is, learning from the target state of the flexible object manipulation task to the initial state.
5. The flexible object operation method based on predictive operation representation according to claim 4 is characterized in that: Learning from the target state of the flexible object manipulation task to the initial state includes: decomposing the manipulation task into multiple stages, wherein the first stage of the multiple stages achieves the target state of the manipulation task after a step of grasping and placing operations, and the second stage achieves the first stage after a step of grasping and placing operations, and so on, until the state confusion level of the flexible object in the last stage reaches the initial state of the task.
6. The flexible object operation method based on predictive operation representation according to claim 1, characterized in that: Both the grasp affordance model and the placement affordance model use residual neural networks as encoders.
7. The flexible object operation method based on predictive operation representation according to claim 6 is characterized in that: The number of layers of the residual neural network is 43.
8. A flexible object manipulation device based on predictive manipulation characterization, characterized in that: include: A current grasping point determination module is used to predict the grasping availability value of each pixel point on the entire depth-containing image based on the depth-containing image of the current state of the flexible object by using a grasping availability model, and select the pixel point corresponding to the largest value among the grasping availability values as the current grasping point; The current placement point determination module is used to predict the placement availability value of each pixel on the entire depth-containing image based on the current state of the depth-containing image and the current grasping point using the placement availability model; and select the pixel corresponding to the largest value among the placement availability values as the current placement point; A grab and place operation module, used to control the robot arm to perform the current grab and place operation on the flexible object based on the current grab point and the current place point, and obtain the state of the flexible object after the current grab and place operation as the current state of the next grab and place operation; The repeated execution module repeatedly executes the operations of the current grasping point determination module, the current placement point determination module and the grasping and placement operation module until the flexible object operation task is completed.
9. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores a plurality of instructions, and the processor is used to read the instructions and execute the flexible object operation method based on predictive operation characterization as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a plurality of instructions, and the plurality of instructions can be read by a processor and executed according to the flexible object operation method based on predictive operation representation as described in any one of claims 1-7.
Citation Information
Patent Citations
Target identification and capture positioning method based on deep learning
CN108648233A
Robot intelligent grabbing method based on virtual training
CN111079561A
Autonomous grabbing and stacking method and system based on mechanical arm
CN111331607A
Control device and method for robot system for locating objects and calculating appropriate grasp points for each object
CN111344118A
Mechanical arm pushing and grabbing cooperation method suitable for dense environment
CN112643668A
