Two-arm robot tight coordination carrying motion planning method based on SAC

By constructing a kinematic model and SAC deep network for a tightly coordinated dual-arm robot system, classifying joint types, and constructing singularity indices, the problem of low efficiency in handling planning for dual-arm robots with uncertain target positions in existing technologies is solved, and real-time and efficient tightly coordinated handling motion planning is achieved.

CN118848976AActive Publication Date: 2024-10-29BEIJING UNIV OF POSTS & TELECOMM
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411012403.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-26
Publication Date
2024-10-29
Estimated Expiration
2044-07-26

AI Technical Summary

Technical Problem

Existing tight-coordinated motion planning methods for dual-arm robots require replanning when faced with uncertain target positions, resulting in time-consuming and labor-intensive processes. Furthermore, existing methods are prone to causing singularities in the tight-coordinated system, making it difficult to achieve real-time and efficient motion planning.

Method used

A kinematic model of a tightly coordinated system for a dual-arm robot is constructed, dividing it into active and passive joints, constructing distance vectors and singularity indices, and combining it with a SAC deep network structure to build a tightly coordinated transport motion planning strategy. The real-time tightly coordinated transport motion planning strategy network is obtained through training.

Benefits of technology

This invention enables real-time tightly coordinated transport motion planning for dual-arm robots when the target position of the object being handled is uncertain, avoiding complex and time-consuming multiple planning processes and improving the efficiency and reliability of transport tasks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118848976A_ABST
    Figure CN118848976A_ABST
Patent Text Reader

Abstract

The invention provides a double-arm robot tight coordination carrying motion planning method based on SAC. The double-arm robot tight coordination carrying motion planning method comprises the steps that a kinematics model of a double-arm robot tight coordination system is constructed; dividing an active joint and a passive joint of the double-arm robot; constructing a distance vector used for describing the position of the operation object and the target position; constructing a singularity index used for describing whether the mechanical arm configuration singularity of the tight coordination system occurs or not; constructing a state variable and an action variable of the double-arm robot; constructing a motion planning reward function of the double-arm robot; constructing a deep network structure of the SAC; and according to the state variable, the action variable, the motion planning reward function and the deep network structure of the double-arm robot, constructing a tight coordination carrying motion training strategy, and obtaining a trained double-arm robot tight coordination carrying motion planning strategy network. According to the technical scheme provided by the embodiment of the invention, tight coordination carrying of the double-arm robot can be realized under the condition that the initial position and the target position of the operation object are uncertain.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The invention belongs to the field of dual-arm robot motion planning, and relates to a dual-arm robot tightly coordinated handling motion planning method based on SAC. [Background technology]

[0002] At present, the application research of robots in different fields is developing rapidly, such as industrial manufacturing robots, space robots, surgical robots, etc. However, with the advancement of science and technology, manufacturing needs have begun to change. Traditional single-arm robots have defects such as low load capacity, single operation ability, and insufficient workspace, which cannot meet the needs of new complex manufacturing. Therefore, dual-arm collaborative robots with more flexible system structure and control methods have entered the field of vision of researchers. Dual-arm collaborative robots are often used to perform tasks such as collaborative assembly, welding, and handling large or heavy payloads. Among them, using the end effector of a dual-arm robot to stably clamp and carry objects is still considered one of the main challenges in the field of dual-arm robot research.

[0003] When a dual-arm robot cooperates to carry an object, the dual arms and the object are in a tight coordination relationship, forming a closed-chain kinematic and dynamic constraint. During the handling process, the dual-arm robot's end effector needs to maintain close contact with the object to the target position, resulting in a complex coupling relationship between the joints and the manipulator in the dual-arm robot's tight coordination system, making the handling task difficult to achieve.

[0004] The current methods for tightly coordinated handling motion planning of dual-arm robots mainly include operation space planning and joint space planning. Operation space planning first defines the determined motion trajectory of the manipulator in the operation space, and then calculates the motion trajectory of the end effector based on the posture constraints between the dual-arm end effector and the manipulator. The operation space planning calculation is simple, but it does not consider the constraints of the tightly coordinated system of the dual-arm robot, which can easily cause the singularity of the tightly coordinated system. Joint space planning plans the motion of the dual arms in the joint space of the dual-arm robot, finds the joint trajectory that satisfies the constraints of the tightly coordinated system, and makes up for the shortcomings of operation space planning. However, the existing motion planning methods need to plan for fixed tasks and environments. When faced with uncertain target positions of manipulators, re-planning is required, which is time-consuming and laborious. Therefore, a new method for tightly coordinated handling motion planning of dual-arm robots is needed to perform real-time motion planning when the target position of the manipulator is uncertain, avoiding complex and time-consuming multiple motion planning processes. [Summary of the invention]

[0005] In view of this, the present invention provides a SAC-based dual-arm robot tightly coordinated handling motion planning method, so that the dual-arm robot can perform real-time tightly coordinated handling motion planning when the target position of the operation object is uncertain.

[0006] The present invention provides a SAC-based dual-arm robot tightly coordinated handling motion planning method, comprising:

[0007] Step S1 constructs a kinematic model of the tight coordination system of the dual-arm robot according to the constraints formed between the two robotic arms and the manipulator during the tight coordination handling process of the dual-arm robot;

[0008] Step S2 divides the active joints and passive joints of the dual-arm robot;

[0009] Step S3 constructs a distance vector for describing the distance between the position of the operation object and the target position;

[0010] Step S4 constructs a singularity index for describing whether a singularity of the robot arm configuration occurs in the tightly coordinated system according to the distance between the end effector of the dual-arm robot and the object being handled during the handling process;

[0011] Step S5 constructs the state variables and action variables of the dual-arm robot according to the joint angle vector, the joint angular velocity vector, the distance vector and the singularity index of the dual-arm robot;

[0012] Step S6 constructs a motion planning reward function for the dual-arm robot according to the distance vector and the singularity index;

[0013] Step S7 constructs a deep network structure of SAC;

[0014] Step S8 constructs a tightly coordinated handling motion training strategy based on the state variables, action variables, motion planning reward function and the deep network structure of the dual-arm robot to obtain a trained tightly coordinated handling motion planning strategy network for the dual-arm robot.

[0015] In the above method, step S1 comprises:

[0016] The kinematic model of the tight coordination system of the dual-arm robot is constructed as follows:

[0017]

[0018] in, is the speed of the object, J lo (θ) is the Jacobian matrix of the kinematic chain consisting of the left arm and the end effector, is the Jacobian matrix of the kinematic chain consisting of the right arm and the end effector, θ, are the joint angles of the left arm and the right arm respectively, are the joint angular velocities of the left arm and the right arm respectively.

[0019] In the above method, step S2 comprises:

[0020] Note that the number of joints in the left and right arms of the dual-arm robot is n, i=1~n represents joints 1 to joints n of the left arm, and j=1~n represents joints 1 to joints n of the right arm. The 2n joints in the left and right arms are divided into active joints and passive joints according to the following rules:

[0021]

[0022] Among them, q a is the active joint angle, q p is the joint angle of active and passive joints, θ 1 ~θ i Indicates that joints 1 to i of the left arm are divided into active joints, φ 1 ~φ j Indicates that joints 1 to j of the right arm are divided into active joints, θ i+1 ~θ n Indicates that the joints i+1~n of the left arm are divided into passive joints, φ j+1 ~φ n Indicates that the joints j+1~n of the right arm are divided into passive joints, [] T Represents the transpose of a matrix.

[0023] In the above method, step S3 comprises:

[0024] The position of the operator is denoted as p e , the target position is p g , construct a distance vector d to describe the position of the operator and the target position eg :

[0025] d eg =p e -p g .

[0026] In the above method, step S4 comprises:

[0027] According to the maximum distance between the two end effectors and the manipulator, a singularity index d is constructed to describe whether the tightly coordinated system is singular. Singular :

[0028]

[0029] Among them, p le 、p re are the end effector positions of the left and right arms, TH s is the threshold of the distance between the two end effectors of the two robotic arms of the dual-arm robot and the manipulated object. When the maximum distance between the two end effectors and the manipulated object is greater than the threshold, the dual-arm robot is in a singular state.

[0030] In the above method, step S5 comprises:

[0031] Step S5.1 constructs the state variables of the dual-arm robot at time t as:

[0032]

[0033] Among them, q a ,q p are the active joint angle vector and passive joint angle vector of the dual-arm robot, are the active joint angular velocity vector and passive joint angular velocity vector of the dual-arm robot, respectively. eg is the distance vector between the position of the operator and the target position, d Singular It is a singularity index that describes whether a compactly coordinated system is singular.

[0034] Step S5.2 constructs the action variables of the dual-arm robot at time t as:

[0035]

[0036] in, is the active joint angular velocity vector of the dual-arm robot.

[0037] In the above method, step S6 comprises:

[0038] The motion planning reward function of the dual-arm robot at time t is constructed as:

[0039] r t = r eg +r Singular

[0040] Among them, r eg is the distance feedback term between the operator position and the target position, which is defined as:

[0041] r eg =-||d eg ||

[0042] Among them, d eg is the distance vector between the position of the operator and the target position; r Singular is the singularity index feedback term of the tightly coordinated system, which is defined as follows:

[0043]

[0044] Among them, d Singular is a singularity index used to describe whether a compactly coordinated system is singular.

[0045] In the above method, step S7 comprises:

[0046] Build the deep network structure of SAC, which includes a policy network π θ , two main Q networks and Two Target Q Networks and Among them, the policy network π θ Take the state variable s of the dual-arm robot as t As input, the action variable a of the dual-arm robot t As output; main Q network And the target Q network The state variables s of the dual-arm robot are t and action variable a t As input, s t and a t The corresponding Q value is output.

[0047] In the above method, step S8 comprises:

[0048] Step S8.1: Assign the dual-arm robot joints to the active joints q a and passive joint q p , specify the initial position p of the operator e0-initial , the target position p of the operator g-initial , the position threshold TH of the operator reaching the target position d , the maximum time step n of each round during training max and the maximum total time step t max ;

[0049] Step S8.2 Create a data resource pool and initialize the policy network π θ , Main Q Network and And the target Q network and

[0050] Step S8.3: Set the current total time step t=1;

[0051] Step S8.4 samples random noise from a uniform distribution and adds it to the initial position and target position of the operator to generate a random initial position p of the operator. e0 and a random target position p g :

[0052] p e0 =p e0-initial +[U(-0.1,0.1),U(-0.1,0.1),U(-0.1,0.1)]

[0053] p g =p g-initial+[U(-0.2,0.2),U(-0.2,0.2),U(-0.2,0.2)]

[0054] Step S8.5 sets the time step n in the current round to 1;

[0055] Step S8.6: Set the current state variable s of the dual-arm robot t Input policy network π θ , obtain the action variable a of the dual-arm robot t ;

[0056] Step S8.7 is based on the tight coordination kinematics model of the dual-arm robot. t Calculate the angular velocity vector of the passive joints of the dual-arm robot at the current moment

[0057] Step S8.8: t and Drive the dual-arm robot to obtain the state variable s at time t+1 t+1 and the motion planning reward function value r t+1 , save it to the data resource pool;

[0058] Step S8.9: According to the SAC algorithm, sample training data from the data resource pool and update the main Q network. and Target Q Network and and the policy network π θ Network parameters;

[0059] Step S8.10: let n←n+1;

[0060] Step S8.11: Let t←t+1;

[0061] Step S8.12 If the distance vector d between the position of the operator and the target position eg >TH d , and n≤n max , return to step S8.6, otherwise skip this step;

[0062] Step S8.13 Calculate the cumulative reward

[0063] Step S8.14 If t<t max , return to step S8.4, otherwise skip this step;

[0064] Step S8.15 ends the training and obtains the trained dual-arm robot tightly coordinated handling motion planning strategy network π θ .

Brief Description of the Drawings

[0065] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments 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 any creativity and labor.

[0066] Figure 1 It is a flow chart of a method for planning a tightly coordinated handling motion of a dual-arm robot based on SAC provided in an embodiment of the present invention;

[0067] Figure 2 Schematic diagram of a double-arm robot tightly coordinated handling scenario used in a simulation experiment in an embodiment of the present invention;

[0068] Figure 3 is a cumulative reward curve graph recorded by testing the policy network during the training process in an embodiment of the present invention;

[0069] Figure 4 It is a motion trajectory diagram of an operating object during the tight coordination handling process of a dual-arm robot recorded by testing a trained strategy network in an embodiment of the present invention. [Specific embodiment]

[0070] In order to better understand the technical solution of the present invention, the embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0071] It should be clear that 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.

[0072] The embodiment of the present invention provides a method for planning a tight coordinated handling motion of a dual-arm robot based on SAC. Figure 1 , which is a flow chart of a SAC-based dual-arm robot tightly coordinated handling motion planning method provided by an example of the present invention, such as Figure 1 As shown, the method comprises the following steps:

[0073] Step 101 , constructing a kinematic model of a dual-arm robot tightly coordinated system according to constraints formed between two robotic arms and an object during a tightly coordinated handling process of the dual-arm robot.

[0074] Specifically, the kinematic model of the tight coordination system of the dual-arm robot is constructed as follows:

[0075]

[0076] in, is the speed of the object, J lo (θ) is the Jacobian matrix of the kinematic chain consisting of the left arm and the end effector, is the Jacobian matrix of the kinematic chain consisting of the right arm and the end effector, θ, are the joint angles of the left arm and the right arm respectively, are the joint angular velocities of the left arm and the right arm respectively.

[0077] Step 102, dividing the active joints and passive joints of the dual-arm robot.

[0078] Specifically, let the number of joints of the left and right arms of the dual-arm robot be n, i=1~n represent joints 1 to joints n of the left arm, and j=1~n represent joints 1 to joints n of the right arm. The 2n joints of the left and right arms are divided into active joints and passive joints according to the following rules:

[0079]

[0080] Among them, q a is the active joint angle, q p is the joint angle of active and passive joints, θ 1 ~θ i Indicates that joints 1 to i of the left arm are divided into active joints, φ 1 ~φ j Indicates that joints 1 to j of the right arm are divided into active joints, θ i+1 ~θ n Indicates that the joints i+1~n of the left arm are divided into passive joints, φ j+1 ~φ n Indicates that the joints j+1~n of the right arm are divided into passive joints, [] T Represents the transpose of a matrix.

[0081] Step 103: construct a distance vector for describing the distance between the position of the operator and the target position.

[0082] Specifically, let the position of the operator be p e , the target position is p g , construct a distance vector d to describe the position of the operator and the target position eg :

[0083] d eg =p e -p g .

[0084] Step 104 , constructing a singularity index for describing whether a singularity of the robot arm configuration occurs in the tightly coordinated system according to the distance between the end effector of the dual-arm robot and the object being handled during the handling process.

[0085] Specifically, according to the maximum distance between the two end effectors and the object, a singularity index d is constructed to describe whether the tightly coordinated system is singular. Singular :

[0086]

[0087] Among them, p le 、p re are the end effector positions of the left and right arms, TH s is the threshold of the distance between the two end effectors of the two robotic arms of the dual-arm robot and the manipulated object. When the maximum distance between the two end effectors and the manipulated object is greater than the threshold, the dual-arm robot is in a singular state.

[0088] Step 105, constructing the state variables and action variables of the dual-arm robot according to the joint angle vector, the joint angular velocity vector, the distance vector and the singularity index of the dual-arm robot.

[0089] Specifically, first construct the state variables of the dual-arm robot at time t as:

[0090]

[0091] Among them, q a ,q p are the active joint angle vector and passive joint angle vector of the dual-arm robot, are the active joint angular velocity vector and passive joint angular velocity vector of the dual-arm robot, respectively. eg is the distance vector between the position of the operator and the target position, d Singular It is a singularity index that describes whether a compactly coordinated system is singular.

[0092] Secondly, the action variables of the dual-arm robot at time t are constructed as follows:

[0093]

[0094] in, is the active joint angular velocity vector of the dual-arm robot.

[0095] Step 106: construct a motion planning reward function for the dual-arm robot based on the distance vector and the singularity index.

[0096] Specifically, the motion planning reward function of the dual-arm robot at time t is constructed as:

[0097] r t = r eg +r Singular

[0098] Among them, r egis the distance feedback term between the operator position and the target position, which is defined as:

[0099] r eg =-||d eg ||

[0100] Among them, d eg is the distance vector between the position of the operator and the target position; r Singular is the singularity index feedback term of the tightly coordinated system, which is defined as follows:

[0101]

[0102] Among them, d Singular is a singularity index used to describe whether a compactly coordinated system is singular.

[0103] Step 107, constructing a deep network structure of SAC.

[0104] Specifically, we build a deep network structure for SAC, which includes a policy network π θ , two main Q networks and Two Target Q Networks and Among them, the policy network π θ Take the state variable s of the dual-arm robot as t As input, the action variable a of the dual-arm robot t As output; main Q network And the target Q network The state variables s of the dual-arm robot are t and action variable a t As input, s t and a t The corresponding Q value is output.

[0105] Step 108, constructing a tightly coordinated handling motion training strategy based on the state variables, action variables, motion planning reward function and the deep network structure of the dual-arm robot, and obtaining a trained tightly coordinated handling motion planning strategy network for the dual-arm robot.

[0106] Specifically, the dual-arm robot tightly coordinated handling motion planning network is trained according to the following process:

[0107] Step 1: Assign the dual-arm robot joints as active joints q a and passive joint q p , specify the initial position p of the operator e0-initial , the target position p of the operator g-initial , the position threshold TH of the operator reaching the target position d, the maximum time step n of each round during training max and the maximum total time step t max ;

[0108] Step 2: Create a data resource pool and initialize the policy network π θ , Main Q Network and And the target Q network and

[0109] Step 3: Set the current total time step t = 1;

[0110] Step 4: Sample random noise from a uniform distribution and add it to the initial position and target position of the operator to generate a random initial position p of the operator e0 and a random target position p g :

[0111] p e0 =p e0-initial +[U(-0.1,0.1),U(-0.1,0.1),U(-0.1,0.1)]

[0112] p g =p g-initial +[U(-0.2,0.2),U(-0.2,0.2),U(-0.2,0.2)];

[0113] Step 5: Set the time step n in the current round to 1;

[0114] Step 6: Set the current state variable s of the dual-arm robot t Input policy network π θ , obtain the action variable a of the dual-arm robot t ;

[0115] Step 7: Kinematic model of the dual-arm robot tightly coordinated system according to step 101 Rewrite the right half of the equation as:

[0116]

[0117] Among them, J lo (θ) is the Jacobian matrix of the kinematic chain consisting of the left arm and the end effector, is the Jacobian matrix of the kinematic chain consisting of the right arm and the end effector, θ, are the joint angles of the left arm and the right arm respectively, are the joint angular velocities of the left arm and the right arm respectively.

[0118] Active joints divided by q a and passive joint qp , the above formula can be rewritten as

[0119]

[0120] in, is the Jacobian matrix corresponding to the active joint, is the Jacobian matrix corresponding to the passive joint. p In the reversible case, the passive joint velocity can be calculated as:

[0121]

[0122] According to the above formula, by a t Calculate the angular velocity vector of the passive joints of the dual-arm robot at the current moment

[0123] Step 8: According to a t and Drive the dual-arm robot to obtain the state variable s at time t+1 t+1 and the motion planning reward function value r t+1 , save it to the data resource pool;

[0124] Step 9: According to the SAC algorithm, sample training data from the data resource pool and update the main Q network and Target Q Network and and the policy network π θ Network parameters;

[0125] Step 10: Let n←n+1;

[0126] Step 11: Let t←t+1;

[0127] Step 12: If the distance vector d between the operator position and the target position eg >TH d , and n≤n max , return to step S8.6, otherwise skip this step;

[0128] Step 13: Calculate cumulative rewards

[0129] Step 14: If t<t max , return to step S8.4, otherwise skip this step;

[0130] Step 15: End the training and obtain the trained dual-arm robot tightly coordinated handling motion planning strategy network π θ .

[0131] According to the above method provided by the embodiment of the present invention, a simulation experiment was conducted on a dual-arm robot with 7 degrees of freedom on the left and right arms. Figure 2 , where the black hollow circle represents the left arm joint, the black solid line connecting the black hollow circles represents the left arm arm, the light gray hollow circle represents the right arm joint, the light gray solid line connecting the light gray hollow circles represents the right arm arm, the end effector of the dual-arm robot jointly clamps a gradient gray spherical manipulator, the center of the manipulator is the white solid point, and the black solid point is the target point that the center of the manipulator needs to reach. The DH parameters of the left arm of the dual-arm robot are shown in Table 1, and the dynamic parameters are shown in Table 2. The right arm of the dual-arm robot is exactly the same as the left arm.

[0132] Table 1 DH parameters of the left arm of the dual-arm robot

[0133]

[0134] Table 2 Dynamic parameters of the left arm of the dual-arm robot

[0135]

[0136] Table 3. Training process parameter values

[0137]

[0138] A simulation environment was built in the 64-bit Ubuntu 20.04 operating system, and the last three joints of the left and right arms of the dual-arm robot were selected as active joints, namely The other parameters used in the training are shown in Table 3, and the technical solution of the embodiment of the present invention is used to train the policy network π. θ To test and record the cumulative rewards obtained, please refer to Figure 3 .from Figure 3 It can be seen that as the number of training rounds increases, the cumulative reward gradually increases, indicating that the strategy network π θ Gradually learned to make the dual-arm robot complete the operation of tightly coordinated handling; after the time step exceeds 75k, the cumulative reward increase gradually decreases, and the fluctuation also gradually decreases, indicating that the policy network π θ The training process is gradually completed.

[0139] Take out the policy network π after training θ , and place it in a simulation environment with randomly generated initial and target positions of the operator for testing. For the test results, please refer to Figure 4 .exist Figure 4In the figure, the "X" symbol represents the position of the center of mass of the manipulation at each time step, and the dark gray line connecting the "X" symbol is the motion trajectory of the center of mass of the manipulation. It can be seen that the manipulation object moves toward the target point in the first four time steps with a large step length, and the subsequent time steps gradually approach the target point evenly and slowly until the distance to the target point is less than 0.1m. It can be seen that the dual-arm robot completes the tightly coordinated handling, thus proving the correctness and effectiveness of the tightly coordinated handling motion planning method of the dual-arm robot based on SAC.

[0140] The technical solution of the embodiment of the present invention has the following beneficial effects:

[0141] Based on the tight coordination constraints of the dual-arm robot, the tight coordination system of the dual-arm robot was modeled, the active joints and passive joints of the dual-arm robot were divided, the SAC theory was introduced, the state variables, action variables and reward functions of the dual-arm robot were constructed, and the tightly coordinated handling motion training strategy was constructed, thus forming a SAC-based tight coordinated handling motion planning method for the dual-arm robot, which can realize real-time motion planning of tight coordinated handling of the dual-arm robot when both the initial position and the target position of the manipulator are uncertain, so that the dual-arm robot can meet higher real-time application requirements in tightly coordinated handling tasks.

[0142] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

[0143] The contents not described in detail in the specification of the present invention belong to the common knowledge of those skilled in the art.

Claims

1. A SAC-based dual-arm robot tightly coordinated handling motion planning method, characterized in that: The method comprises: Step S1: constructing a kinematic model of the tight coordination system of the dual-arm robot according to the constraints formed between the two robotic arms and the manipulated object during the tight coordination handling process of the dual-arm robot; Step S2 divides the active joints and passive joints of the dual-arm robot; Step S3 constructs a distance vector for describing the distance between the position of the operation object and the target position; Step S4 constructs a singularity index for describing whether a singularity of the robot arm configuration occurs in the tightly coordinated system according to the distance between the end effector of the dual-arm robot and the object being handled during the handling process; Step S5 constructs the state variables and action variables of the dual-arm robot according to the joint angle vector, the joint angular velocity vector, the distance vector and the singularity index of the dual-arm robot; Step S6 constructs a motion planning reward function for the dual-arm robot according to the distance vector and the singularity index; Step S7 constructs a deep network structure of SAC; Step S8 constructs a tightly coordinated handling motion training strategy based on the state variables, action variables, motion planning reward function and the deep network structure of the dual-arm robot to obtain a trained tightly coordinated handling motion planning strategy network for the dual-arm robot.

2. The method according to claim 1, characterized in that The step S1 comprises: The kinematic model of the tight coordination system of the dual-arm robot is constructed as follows: in, is the speed of the object, J lo (θ) is the Jacobian matrix of the kinematic chain consisting of the left arm and the end effector, is the Jacobian matrix of the kinematic chain consisting of the right arm and the end effector, θ, are the joint angles of the left arm and the right arm respectively, are the joint angular velocities of the left arm and the right arm respectively.

3. The method according to claim 1, characterized in that The step S2 comprises: Note that the number of joints in the left and right arms of the dual-arm robot is n, i=1~n represents joints 1 to joints n of the left arm, and j=1~n represents joints 1 to joints n of the right arm. The 2n joints in the left and right arms are divided into active joints and passive joints according to the following rules: Among them, q a is the active joint angle, q p are the active and passive joint angles, θ1~θ i Indicates that the joints 1 to i of the left arm are divided into active joints, φ1 to φ j Indicates that joints 1 to j of the right arm are divided into active joints, θ i+1 ~θ n Indicates that the joints i+1~n of the left arm are divided into passive joints, φ j+1 ~φ n Indicates that the joints j+1~n of the right arm are divided into passive joints, […] T Represents the transpose of a matrix.

4. The method according to claim 1, characterized in that: The step S3 comprises: The position of the operator is denoted as p e , the target position is p g , construct a distance vector d to describe the position of the operator and the target position eg : d eg =p e -p g 。 5. The method according to claim 1, characterized in that: The step S4 comprises: According to the maximum distance between the two end effectors and the manipulator, a singularity index d is constructed to describe whether the tightly coordinated system is singular. Singular : Among them, p le 、p re are the end effector positions of the left and right arms, TH s is the threshold of the distance between the two end effectors of the two robotic arms of the dual-arm robot and the manipulated object. When the maximum distance between the two end effectors and the manipulated object is greater than the threshold, the dual-arm robot is in a singular state.

6. The method according to claim 1, characterized in that The step S5 comprises: Step S5.1 constructs the state variables of the dual-arm robot at time t as: Among them, q a ,q p are the active joint angle vector and passive joint angle vector of the dual-arm robot, are the active joint angular velocity vector and passive joint angular velocity vector of the dual-arm robot, respectively. eg is the distance vector between the position of the operator and the target position, d Singular It is a singularity index that describes whether a compactly coordinated system is singular. Step S5.2 constructs the action variables of the dual-arm robot at time t as: in, is the active joint angular velocity vector of the dual-arm robot.

7. The method according to claim 1, characterized in that The step S6 comprises: The motion planning reward function of the dual-arm robot at time t is constructed as: r t =r eg +r Singular Among them, r eg is the distance feedback term between the operator position and the target position, which is defined as: r eg =-||d eg || Among them, d eg is the distance vector between the position of the operator and the target position; r Singular is the singularity index feedback term of the tightly coordinated system, which is defined as follows: Among them, d Singular is a singularity index used to describe whether a compactly coordinated system is singular.

8. The method according to claim 1, characterized in that The step S7 comprises: Build the deep network structure of SAC, which includes a policy network π θ , two main Q networks and Two Target Q Networks and Among them, the policy network π θ Take the state variable s of the dual-arm robot as t As input, the action variable a of the dual-arm robot t As output; main Q network And the target Q network The state variables s of the dual-arm robot are t and action variable a t As input, s t and a t The corresponding Q value is output.

9. The method according to claim 1, characterized in that: The step S8 comprises: Step S8.1: Assign the dual-arm robot joints to the active joints q a and passive joint q p , specify the initial position p of the operator e0-initial , the target position p of the operator g-initial , the position threshold TH of the operator reaching the target position d , the maximum time step n of each round during training max and the maximum total time step t max ; Step S8.2 Create a data resource pool and initialize the policy network π θ , Main Q Network and And the target Q network and Step S8.3: Set the current total time step t=1; Step S8.4 samples random noise from a uniform distribution and adds it to the initial position and target position of the operator to generate a random initial position p of the operator. e0 and a random target position p g : Step S8.5 sets the time step n in the current round to 1; Step S8.6: Set the current state variable s of the dual-arm robot t Input policy network π θ , obtain the action variable a of the dual-arm robot t ; Step S8.7 is based on the tight coordination kinematics model of the dual-arm robot. t Calculate the angular velocity vector of the passive joints of the dual-arm robot at the current moment Step S8.8: t and Drive the dual-arm robot to obtain the state variable s at time t+1 t+1 and the motion planning reward function value r t+1 , save it to the data resource pool; Step S8.9: According to the SAC algorithm, sample training data from the data resource pool and update the main Q network. and Target Q Network and and the policy network π θ Network parameters; Step S8.10: let n←n+1; Step S8.11: Let t←t+1; Step S8.12 If the distance vector d between the position of the operator and the target position eg >TH d , and n≤n max , return to step S8.6, otherwise skip this step 2 Step S8.13 Calculate the cumulative reward Step S8.14 If t <t max , return to step S8.4, otherwise skip this step 2 Step S8.15 ends the training and obtains the trained dual-arm robot tightly coordinated handling motion planning strategy network π θ .

Citation Information

Patent Citations

  • Underactuated mechanical arm layering sliding mode control method based on fuzzy optimization

    CN108972560A

  • Satellite carrying passive telescopic mechanical arm and mechanical arm reconstruction method thereof

    CN113525732A

  • Double-arm cooperative control non-cooperative target obstacle avoidance trajectory planning method

    CN117001675A

  • Controlling under-actuated robot arms using a high speed dynamics

    US5377310A

  • Singularity-based machine test and calibration method

    WO2008104167A2