A control method and system for a gripping robot arm
Through path planning and torque distribution methods based on kinematic constraints, the problem of insufficient independent decision-making and precise operation capabilities in complex environments is solved, and the efficient and safe operation of the robotic arm in complex environments is achieved.
Patent Information
- Application Number
- CN202411198312.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-08-29
AI Technical Summary
Traditional robotic arm control methods lack independent decision-making and precise operation capabilities in complex environments, limiting their flexibility and adaptability.
The path planning and torque distribution method of clamping robotic arm based on kinematic constraints is adopted to detect potential collision risks in real time, dynamically adjust the driving force distribution, and ensure path safety and reasonable torque distribution.
Improves the adaptability and safety of the robotic arms in complex environments, reduces energy consumption and wear, enhances operating efficiency and stability, and ensures the safety and reliability of tasks.
Smart Images

Figure CN118700164B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of robot arm control, and in particular to a control method and system for a gripping robot arm. Background Art
[0002] In the field of modern industrial automation, robotic arms are increasingly used, especially in precision assembly, material handling, and hazardous environment operations. In order to improve the efficiency and accuracy of robotic arms, higher requirements are placed on the control methods of robotic arms. Traditional robotic arm control methods mainly rely on preset programs and operator experience, which to some extent limits the flexibility and adaptability of robotic arms.
[0003] Therefore, it is particularly important to invent an innovative gripping robot arm control method and system. Summary of the invention
[0004] In view of this, the present invention proposes a control method and system for a gripping robot arm, aiming to overcome the limitations of traditional robot arm control methods and enhance the robot arm's autonomous decision-making ability and precise operation ability in complex environments.
[0005] The present invention proposes a control method for a clamping robot arm, wherein the clamping robot arm is used to clamp a copper column and transfer it to a crimping fixture, and the control method includes:
[0006] Obtain the moving path of the gripping robot in the workspace based on the gripping task; detect the potential collision risk of the gripping robot in real time, and perform emergency braking or move path adjustment according to the detection results of the potential collision risk;
[0007] Analyze the torque required during the movement of the gripping robot arm according to the moving path, and calculate the driving force distribution of each joint of the gripping robot arm according to the torque and the movement range of the joint, speed limit, acceleration limit, and physical size limit of the gripping robot arm;
[0008] During the process of the gripping robot arm performing the gripping task, the actual driving force and load of each joint are monitored in real time, and the driving force distribution is dynamically adjusted according to the monitoring results.
[0009] Preferably, when obtaining the moving path of the gripping robot arm in the workspace based on the gripping task, it includes:
[0010] Acquiring task parameters, wherein the task parameters include an initial position of the copper pillar and a target placement position in the crimping fixture;
[0011] Determine a starting point and a target point of the gripping robot arm according to the task parameters, and generate an initial movement path of the gripping robot arm based on a relative position between the starting point and the target point;
[0012] Based on the initial moving path, in combination with the task parameters and the kinematic constraints of the gripping robot arm, kinematic verification is performed on the initial moving path, and after the verification is completed, the moving path is obtained;
[0013] The kinematic constraints include the maximum rotation angle, maximum angular velocity and maximum angular acceleration of each joint of the gripping robot arm.
[0014] Preferably, when determining the starting point and the target point of the gripping robot arm according to the task parameters, and generating the initial moving path of the gripping robot arm based on the relative position between the starting point and the target point, the method includes:
[0015] Get the initial position of the copper column, set the center position of the copper column as the starting point and record it as Pstart, ;
[0016] Obtain the target placement position in the crimping jig, set the center position of the target placement position in the crimping jig as the target point and record it as Pgoal, ;
[0017] The path midpoint is generated according to the straight line interpolation formula, which is: ;
[0018] Where P(s(t)) represents the coordinates of the middle point of the path; s represents the path parameter, which represents the interpolation ratio from the starting point to the target point;
[0019] Generate the initial moving path of the gripping robot based on the starting point, target point and intermediate point.
[0020] Preferably, based on the initial moving path, in combination with the task parameters and the kinematic constraints of the gripping robot arm, the initial moving path is kinematically verified. After the verification is completed, when the moving path is obtained, it includes:
[0021] The middle point of the path is recorded as the key point on the initial moving path; the rotation angle θi(s(t)), angular velocity βi(s(t)) and angular acceleration εi(s(t)) of the joint i of the gripping robot arm at each key point are obtained, and the key points on the initial moving path are verified according to the constraint formula;
[0022] The rotation angle constraint formula is θimin≤θi(s(t))≤θimax, ∀i=1, 2, …, n; where θimin represents the minimum rotation angle of joint i, θimax represents the maximum rotation angle of joint i, and n represents the total number of joints of the robot arm;
[0023] The angular velocity constraint formula is: ,∀i=1,2,…,n; where, represents the maximum allowable angular velocity of joint i; the angular velocity βi(s(t)) is calculated by the first-order derivative of the path parameter s with respect to time t:
[0024] ;
[0025] The angular acceleration constraint formula is: ,∀i=1,2,…,n; where,εi max represents the maximum allowable angular acceleration of joint i; the angular acceleration εi(s(t)) is calculated by the second-order derivative of the path parameter s with respect to time t:
[0026] ;
[0027] When the rotation angle θi(s(t)), angular velocity βi(s(t)) and angular acceleration εi(s(t)) of the joint i of the gripping robot all satisfy the constraint formula, the key point is considered to satisfy the kinematic constraint conditions;
[0028] When all key points satisfy the kinematic constraints, the initial moving path becomes the moving path of the gripping robot;
[0029] When there are key points that do not satisfy the constraint conditions, the initial moving path is adjusted to obtain the moving path of the gripping robot arm.
[0030] Preferably, when there are key points that do not satisfy the constraint conditions, the initial moving path is adjusted to obtain the moving path of the gripping robot arm, including:
[0031] The adjustment amount required for the key points that do not meet the constraints is obtained based on the difference between the rotation angle, angular velocity and angular acceleration of the key points and the respective constraints;
[0032] According to the calculated adjustment amount, the position, angle or time parameters of the key points that do not meet the constraint conditions are adjusted; the adjusted key points are smoothed by applying smoothing technology, and then the path is re-interpolated to generate a new continuous path;
[0033] The new continuous path is kinematically verified, and it is iterated repeatedly until all key points and path segments meet the constraints, and the adjusted path is used as the final moving path.
[0034] Preferably, real-time detection of potential collision risk of the gripping robot arm and emergency braking or movement path adjustment according to the detection result of the potential collision risk include:
[0035] Let Ki be the coordinate of a point on the gripper arm, Lj be the coordinate of a point on the environmental object, and calculate the distance dij between them: ;in, Represents the Euclidean norm of a vector;
[0036] When Dij is less than the preset safety distance, it is determined that there is a potential collision risk for the gripping robot arm, and emergency braking or movement path adjustment is performed.
[0037] Preferably, the emergency braking condition is defined as ; When the emergency braking conditions are met, the speeds of all joints of the gripping robot are set to zero;
[0038] The offset ΔK is calculated according to the obstacle avoidance algorithm. Let the original path point be Korig, the adjusted path point be Knew, Knew=Korig+ΔK; adjust the path point in real time according to Knew to adjust the moving path.
[0039] Preferably, the torque required during the movement of the gripping robot arm is analyzed according to the moving path, and the driving force distribution of each joint of the gripping robot arm is calculated according to the torque and the range of motion of the joint, speed limit, acceleration limit, and physical size limit of the gripping robot arm, including:
[0040] The velocity and acceleration on the moving path are obtained by calculating the first and second order derivatives of the path parameter s:
[0041] ;
[0042] ;
[0043] Wherein, v(t) represents the velocity on the moving path; a(t) represents the acceleration on the moving path;
[0044] Calculate the total torque Mtatol based on the acceleration a(t) on the moving path:
[0045] ;
[0046] ;
[0047] ;
[0048] ;
[0049] Among them, F(t) represents the force required to be applied by the end effector of the gripping robot; m represents the sum of the masses of the copper column and the end effector; M(t) represents the static torque obtained by converting the required force of the end effector through the Jacobian matrix; Mdyn(t) represents the dynamic torque; JT(t) represents the transpose of the Jacobian matrix; I(t) represents the inertia matrix; α(t) represents the joint acceleration vector; C(t) represents the Coriolis force matrix; G(t) represents the gravity matrix; β(t) represents the joint velocity vector.
[0050] Preferably, when analyzing the torque required during the movement of the gripping robot arm according to the moving path, and calculating the driving force distribution of each joint of the gripping robot arm according to the torque and the range of motion of the joint, speed limit, acceleration limit, and physical size limit of the gripping robot arm, it also includes:
[0051] The torque Ti output by the driver corresponding to joint i is calculated by the following formula:
[0052] ;
[0053] ;
[0054] ;
[0055] Among them, ηi represents the efficiency of the transmission system, and ηi < 1; γi represents the transmission ratio of the transmission system; Mtotal,i(t) represents the total torque of the i-th joint; Mi(t) represents the static torque of the i-th joint obtained by converting the required force F(t) of the end effector through the Jacobian matrix; Mdyn,i(t) is the dynamic torque generated by the i-th joint due to factors such as inertia, Coriolis force and gravity; Mtotal(t) is a vector representing the torque requirement of all joints of the robot at a given time point t.
[0056] Compared with the prior art, the present invention has the following beneficial effects:
[0057] The gripping robot control system of the present invention has good scalability and compatibility. Specifically: through precise kinematic constraint analysis, the path safety and reliability of the gripping robot when performing tasks are ensured, thereby reducing the risk of robot damage or task failure due to path errors; by real-time detection of potential collision risks and emergency braking or mobile path adjustment, the adaptability and safety of the gripping robot in complex environments are improved, ensuring the safety of operators and equipment; by accurately calculating the torque required during the movement of the gripping robot and reasonably distributing the driving force of each joint, the operating efficiency and stability of the robot are improved, and energy consumption and wear are reduced; by optimizing path adjustment and torque calculation, the gripping robot is made more flexible and efficient when performing tasks, thereby improving production efficiency and work quality.
[0058] In summary, the present invention provides a path planning and torque distribution method for a gripping robot based on kinematic constraints, which ensures the safety, reliability and efficiency of the gripping robot when performing tasks through precise calculation and real-time detection. Compared with the prior art, the present invention improves the performance of the robot while also having good practicality and economy, and has significant technical advantages and application value.
[0059] The present invention also provides a control system for a clamping robot arm, which is used to implement the above-mentioned control method for a clamping robot arm, and the control system includes:
[0060] A controller for generating and processing control signals;
[0061] The sensor module is used to monitor the position, speed, acceleration of the gripping robot arm and the position information of environmental objects in real time;
[0062] Communication module, used to exchange data with external devices, receive control instructions and send status information;
[0063] The controller generates a control signal based on the data provided by the sensor module and a preset control algorithm to drive the various joints of the gripping robot arm to move; the communication module is used to enable the control system to receive control instructions from an external device and send real-time status information of the gripping robot arm to the external device.
[0064] It can be understood that the above-mentioned control method and system for the clamping robot arm have the same beneficial effects, which will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0066] Figure 1 is a flow chart of a control method for a gripping robot arm according to the present invention;
[0067] Figure 2 It is a structural block diagram of the control system for the gripping robot arm of the present invention. DETAILED DESCRIPTION
[0068] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art. It should be noted that, in the absence of conflict, the embodiments of the present invention and the features described in the embodiments can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0069] See also Figure 1 This embodiment provides a control method for a clamping robot arm, wherein the clamping robot arm is used to clamp a copper column and transfer it to a crimping fixture, and the control method includes:
[0070] Obtain the moving path of the gripping robot in the workspace based on the gripping task; detect the potential collision risk of the gripping robot in real time, and perform emergency braking or move path adjustment according to the detection results of the potential collision risk;
[0071] Analyze the torque required during the movement of the gripping robot arm according to the moving path, and calculate the driving force distribution of each joint of the gripping robot arm according to the torque and the movement range of the joint, speed limit, acceleration limit, and physical size limit of the gripping robot arm;
[0072] During the process of the gripping robot arm performing the gripping task, the actual driving force and load of each joint are monitored in real time, and the driving force distribution is dynamically adjusted according to the monitoring results.
[0073] It is understandable that this embodiment introduces a control method specifically for operating and managing a gripping robot. The main function of this robot is to grab objects such as copper pillars and transfer them safely to the crimping fixture. In order to achieve this process, the control method includes the following key steps:
[0074] First, the optimal movement path of the gripper arm in the workspace is determined according to the specific requirements of the gripping task. This path planning is crucial because it is directly related to the efficiency and safety of the gripper arm.
[0075] Next, the operating status of the gripper arm is monitored in real time to detect any potential collision risks. Once a possible collision is detected, emergency braking measures will be taken or the moving path will be adjusted immediately to avoid any possible accidents.
[0076] After the movement path is determined, the torque required by the gripper arm during movement is analyzed. This analysis is based on the torque and the range of motion of the joints, speed limits, acceleration limits, and physical size limits of the gripper arm. By comprehensively considering these parameters, the driving force distribution required for each joint of the gripper arm can be calculated.
[0077] Finally, when the gripper arm starts to perform the gripping task, the system monitors the actual driving force and load of each joint in real time. Through these real-time data, the system can dynamically adjust the driving force distribution to ensure the stability and accuracy of the gripper arm during the task.
[0078] Through the above steps, the control method can not only ensure the safety and reliability of the gripping robot arm when performing tasks, but also improve its work efficiency and reduce unnecessary energy consumption, thereby playing an important role in the field of industrial automation.
[0079] In some embodiments of the present application, when obtaining the moving path of the gripping robot arm in the workspace based on the gripping task, it includes:
[0080] Acquiring task parameters, wherein the task parameters include an initial position of the copper pillar and a target placement position in the crimping fixture;
[0081] Determine a starting point and a target point of the gripping robot arm according to the task parameters, and generate an initial movement path of the gripping robot arm based on a relative position between the starting point and the target point;
[0082] Based on the initial moving path, in combination with the task parameters and the kinematic constraints of the gripping robot arm, kinematic verification is performed on the initial moving path, and after the verification is completed, the moving path is obtained;
[0083] The kinematic constraints include the maximum rotation angle, maximum angular velocity and maximum angular acceleration of each joint of the gripping robot arm.
[0084] It can be understood that this embodiment involves planning the movement trajectory of the gripping robot arm in the workspace based on the gripping task, and this process includes the following steps:
[0085] First, obtain the task-related parameter information, which describes the specific requirements of the task in detail. Specifically, these task parameters cover the starting position information of the copper pillar and the target position where the copper pillar needs to be placed, that is, the target placement position in the crimping fixture. This position information provides the necessary reference points for subsequent path planning.
[0086] Next, based on these task parameters, the starting position and target position of the gripper can be determined. The starting position is the initial position where the gripper starts to perform the task, while the target position is the final position where the gripper needs to place the copper column. After clarifying these two key points, an initial movement path of the gripper can be preliminarily generated. This path is constructed based on the relative position relationship between the starting point and the target point, which provides a general direction and order for the movement of the gripper.
[0087] Then, based on this initial movement path, we further consider various kinematic constraints that the gripper arm may encounter in actual operation. These constraints include but are not limited to the maximum rotation angle limit, maximum angular velocity limit, and maximum angular acceleration limit of each joint of the gripper arm. These constraints ensure that the movement of the gripper arm is both safe and efficient during the task execution.
[0088] After comprehensively considering the task parameters and kinematic constraints, the initial movement path is subjected to detailed kinematic verification. This verification process is to ensure that the planned path not only meets the task requirements, but is also feasible in the actual movement of the robot. After the verification is completed, an optimized movement path can be obtained, which not only meets the task requirements but also takes into account the movement performance and safety of the robot.
[0089] In summary, by obtaining task parameters, determining the starting point and target point, generating the initial moving path, and performing kinematic verification, a gripping manipulator moving path that meets both the task requirements and the manipulator kinematic constraints can be obtained. This path planning process ensures the smooth completion of the gripping task while also ensuring the safety and efficiency of the manipulator operation.
[0090] In some embodiments of the present application, when determining the starting point and the target point of the gripping robot arm according to the task parameters, and generating the initial movement path of the gripping robot arm based on the relative position between the starting point and the target point, the method includes:
[0091] Get the initial position of the copper column, set the center position of the copper column as the starting point and record it as Pstart, ;
[0092] Obtain the target placement position in the crimping jig, set the center position of the target placement position in the crimping jig as the target point and record it as Pgoal, ;
[0093] The path midpoint is generated according to the straight line interpolation formula, which is: ;
[0094] Where P(s(t)) represents the coordinates of the middle point of the path; s represents the path parameter, which represents the interpolation ratio from the starting point to the target point;
[0095] Generate the initial moving path of the gripping robot based on the starting point, target point and intermediate point.
[0096] It is understandable that, in accordance with the requirements of the task parameters, the present embodiment first needs to determine the positions of the starting point and the target point of the gripping robot. This process involves a detailed analysis and interpretation of the task parameters to ensure that the gripping robot can accurately perform its intended task. After determining the starting point and the target point, the next step is to generate the initial movement path of the gripping robot based on the relative positional relationship between the two points. This path generation process is crucial because it is directly related to whether the robot can efficiently and accurately complete the task.
[0097] Specifically, we first need to obtain the initial position information of the copper column. As the object to be clamped, the accuracy of the position of the copper column is crucial to the execution of the entire task. After obtaining the initial position of the copper column, the center position of the copper column is set as the starting point of the clamping robot and marked as Pstart. This starting point is the starting coordinate of the clamping robot arm and is the benchmark for the entire path planning.
[0098] Next, the target placement position in the crimping jig needs to be obtained. The crimping jig is where the copper pillars will eventually be placed, so the accuracy of its target placement position cannot be ignored. After determining the target placement position of the crimping jig, the center of the position is set as the target point of the gripping robot and marked as Pgoal. This target point is the end point of the gripping robot movement and the final goal of the entire path planning.
[0099] After determining the starting point Pstart and the target point Pgoal, the next step is to use the straight line interpolation formula to generate the path midpoints. The straight line interpolation formula can be expressed as P(s(t)), where s represents the path parameter, which represents the interpolation ratio from the starting point to the target point, and t is the interpolation parameter, which ranges from 0 to 1. Through this formula, the coordinates of each midpoint on the path can be calculated, and these midpoints constitute the initial movement path of the gripper robot from the starting point to the target point.
[0100] Finally, based on the starting point Pstart, the target point Pgoal, and the intermediate point calculated by the linear interpolation formula, we can generate the initial moving path of the gripper. This path not only takes into account the relative position of the starting point and the target point, but also ensures the smoothness and accuracy of the gripper during movement through the precise calculation of the intermediate point. Such a path planning method not only improves the efficiency of task execution, but also greatly reduces the error rate during the operation, ensuring the smooth completion of the entire task.
[0101] In some embodiments of the present application, based on the initial moving path, in combination with the task parameters and the kinematic constraints of the gripping robot, the initial moving path is kinematically verified. After the verification is completed, when the moving path is obtained, it includes:
[0102] The middle point of the path is recorded as the key point on the initial moving path; the rotation angle θi(s(t)), angular velocity βi(s(t)) and angular acceleration εi(s(t)) of the joint i of the gripping robot arm at each key point are obtained, and the key points on the initial moving path are verified according to the constraint formula;
[0103] The rotation angle constraint formula is θimin≤θi(s(t))≤θimax, ∀i=1, 2, …, n; where θimin represents the minimum rotation angle of joint i, θimax represents the maximum rotation angle of joint i, and n represents the total number of joints of the robot arm;
[0104] The angular velocity constraint formula is: ,∀i=1,2,…,n; where, represents the maximum allowable angular velocity of joint i; the angular velocity βi(s(t)) is calculated by the first-order derivative of the path parameter s with respect to time t:
[0105] ;
[0106] The angular acceleration constraint formula is: ,∀i=1,2,…,n; where,εi max represents the maximum allowable angular acceleration of joint i; the angular acceleration εi(s(t)) is calculated by the second-order derivative of the path parameter s with respect to time t: ;
[0107] When the rotation angle θi(s(t)), angular velocity βi(s(t)) and angular acceleration εi(s(t)) of the joint i of the gripping robot all satisfy the constraint formula, the key point is considered to satisfy the kinematic constraint conditions;
[0108] When all key points satisfy the kinematic constraints, the initial moving path becomes the moving path of the gripping robot;
[0109] When there are key points that do not satisfy the constraint conditions, the initial moving path is adjusted to obtain the moving path of the gripping robot arm.
[0110] It is understandable that this embodiment first performs kinematic verification on the initial moving path based on the initial moving path, taking into account the task parameters and the kinematic constraints of the gripping manipulator. After the verification is completed, an optimized moving path can be obtained. The specific steps include:
[0111] First, mark the middle points on the path as key points on the initial moving path. Next, obtain the rotation angle, angular velocity and angular acceleration of each joint of the gripping robot at these key points, and verify whether these key points meet the requirements based on a series of constraint formulas. When the rotation angle, angular velocity and angular acceleration of each joint of the gripping robot at the key points satisfy the constraint formulas, we can consider that the key point satisfies the kinematic constraints. If all key points satisfy the kinematic constraints, the initial moving path can be directly used as the moving path of the gripping robot. However, if there are some key points that do not satisfy the constraints, we need to make corresponding path adjustments to the initial moving path to ensure that all key points satisfy the kinematic constraints, so as to obtain the final moving path of the gripping robot.
[0112] In some embodiments of the present application, when there are key points that do not satisfy the constraint conditions, the initial moving path is adjusted to obtain the moving path of the gripping robot arm, including:
[0113] The adjustment amount required for the key points that do not meet the constraints is obtained based on the difference between the rotation angle, angular velocity and angular acceleration of the key points and the respective constraints;
[0114] According to the calculated adjustment amount, the position, angle or time parameters of the key points that do not meet the constraint conditions are adjusted; the adjusted key points are smoothed by applying smoothing technology, and then the path is re-interpolated to generate a new continuous path;
[0115] The new continuous path is kinematically verified, and it is iterated repeatedly until all key points and path segments meet the constraints, and the adjusted path is used as the final moving path.
[0116] It is understandable that in this embodiment, when it is detected that the key point fails to meet the established constraint conditions, we take measures to make necessary adjustments to the initially set moving path to ensure that the gripping robot can move along a safe and efficient path. The specific operation steps are as follows:
[0117] First, we analyze the key points that fail to meet the constraints in detail and calculate the differences between their rotation angles, angular velocities, and angular accelerations and the corresponding constraints. Through these differences, we can accurately determine the specific amount that needs to be adjusted for each key point.
[0118] Next, based on the calculated adjustment amount, the position, angle or time parameters of the key points that fail to meet the constraint conditions are adjusted accordingly. This step is to ensure that the key points can meet the predetermined motion constraints during the movement process.
[0119] After the adjustment is completed, the smoothing technology is used to smooth the adjusted key points to eliminate the mutation points in the path and ensure the continuity and smoothness of the path. After the processing is completed, a new continuous path is regenerated through the interpolation method.
[0120] Finally, the kinematics of this new continuous path is verified to check whether all key points and path segments have satisfied all constraints. If unsatisfied constraints are found, the above adjustment, smoothing and interpolation generation process is repeated for iterative optimization. This process continues until all key points and path segments meet the predetermined constraints. When all conditions are met, the iteratively adjusted path is determined as the final moving path of the gripper robot.
[0121] In some embodiments of the present application, real-time detection of potential collision risks of the gripping robot arm and emergency braking or movement path adjustment based on the detection results of the potential collision risks include:
[0122] Let Ki be the coordinate of a point on the gripper arm, Lj be the coordinate of a point on the environmental object, and calculate the distance dij between them: ;in, Represents the Euclidean norm of a vector;
[0123] When Dij is less than the preset safety distance, it is determined that there is a potential collision risk for the gripping robot arm, and emergency braking or movement path adjustment is performed.
[0124] It is understandable that this embodiment adopts a method of real-time monitoring and evaluating the collision risk that the gripping robot may encounter during operation. This method involves continuous monitoring of the motion state of the gripping robot so that corresponding safety measures can be taken quickly when a potential collision risk is detected. Specifically, this process includes the following steps:
[0125] First, set Ki to the coordinate position of any point on the gripper arm, and set Lj to the coordinate position of a point on any object in the environment. Next, evaluate the proximity between the two coordinate points by calculating the distance dij between them. The distance dij here is obtained by calculating the Euclidean norm of the vector between the two points, where "||...||" represents the Euclidean norm of the vector, that is, the length of the vector.
[0126] After calculating the distance dij, it is compared with a preset safety distance threshold. If the calculated distance dij is less than the preset safety distance threshold, it is determined that the gripping robot currently has a potential collision risk. Once this risk is identified, the system will immediately initiate an emergency braking procedure or adjust the movement path of the gripping robot according to the actual situation to avoid collision with objects in the environment.
[0127] In this way, when the distance between the gripping robot and the environmental object is too close and a collision is about to occur, a quick response can be made to ensure the safety of the robot operation. This real-time monitoring and response mechanism is crucial to improving the safety performance of automation equipment, especially in applications that require extremely high operating accuracy and safety.
[0128] In some embodiments of the present application, the emergency braking condition is defined as ; When the emergency braking conditions are met, the speeds of all joints of the gripping robot are set to zero;
[0129] The offset ΔK is calculated according to the obstacle avoidance algorithm. Let the original path point be Korig, the adjusted path point be Knew, Knew=Korig+ΔK; adjust the path point in real time according to Knew to adjust the moving path.
[0130] It can be understood that the triggering conditions for emergency braking in this embodiment are clearly defined as a combination of a series of specific parameters or situations; when these emergency braking conditions are met, action will be taken immediately, specifically, all joint speeds of the gripping robot arm will be quickly and decisively adjusted to zero to ensure that the robot arm can stop moving immediately, thereby preventing possible collision or damage.
[0131] To further ensure safety and avoid obstacles, an advanced obstacle avoidance algorithm is used to calculate a necessary offset ΔK. This offset is dynamically calculated based on the current environmental conditions and the location of obstacles in order to adjust the movement trajectory of the robot arm to avoid obstacles. After calculating the offset ΔK, the system sets the original path point to Korig, and then determines the adjusted path point, Knew, based on the offset ΔK. The adjusted path point Knew is obtained by adding the original path point Korig to the calculated offset ΔK.
[0132] Once the adjusted path point Knew is determined, the robot's movement path is adjusted in real time according to this new path point. This real-time path adjustment is achieved by continuously monitoring environmental changes and obstacle positions, and updating the offset ΔK and path point Knew accordingly. In this way, the gripper robot can flexibly adapt to the changing working environment and effectively avoid collisions with obstacles while maintaining task continuity and efficiency. This dynamic adjustment mechanism is one of the key technologies to ensure the safe and efficient operation of the robot in complex environments.
[0133] In some embodiments of the present application, the torque required for the movement of the gripping robot arm is analyzed according to the moving path, and the driving force distribution of each joint of the gripping robot arm is calculated according to the torque and the movement range of the joint, speed limit, acceleration limit, and physical size limit of the gripping robot arm, including:
[0134] The velocity and acceleration on the moving path are obtained by calculating the first and second order derivatives of the path parameter s:
[0135] ;
[0136] ;
[0137] Wherein, v(t) represents the velocity on the moving path; a(t) represents the acceleration on the moving path;
[0138] Calculate the total torque Mtatol based on the acceleration a(t) on the moving path:
[0139] ;
[0140] ;
[0141] ;
[0142] ;
[0143] Among them, F(t) represents the force required to be applied by the end effector of the gripping robot; m represents the sum of the masses of the copper column and the end effector; M(t) represents the static torque obtained by converting the required force of the end effector through the Jacobian matrix; Mdyn(t) represents the dynamic torque; JT(t) represents the transpose of the Jacobian matrix; I(t) represents the inertia matrix; α(t) represents the joint acceleration vector; C(t) represents the Coriolis force matrix; G(t) represents the gravity matrix; β(t) represents the joint velocity vector.
[0144] It is understandable that this embodiment adopts a method to analyze the movement path, and accordingly analyzes the torque required by the gripping robot during the movement. After determining the torque, the range of motion of the joint, speed limit, acceleration limit and physical size limit of the gripping robot are further considered to calculate and obtain the driving force distribution of each joint of the gripping robot. The specific steps include:
[0145] First, by calculating the first-order and second-order derivatives of the path parameter s, the velocity v(t) and acceleration a(t) on the moving path are obtained. These calculations help understand the motion state of the gripping robot on the moving path and provide basic data for subsequent torque calculations.
[0146] Next, the total torque Mtatol is calculated based on the acceleration a(t) on the moving path. The force F(t) required to be applied by the end effector of the gripping robot and the sum of the masses m of the copper column and the end effector are taken into account in the calculation process. In addition, the static torque M(t) obtained by Jacobian matrix transformation and the dynamic torque Mdyn(t) are also considered. The transpose of the Jacobian matrix JT(t), the inertia matrix I(t), the joint acceleration vector α(t), the Coriolis force matrix C(t) and the gravity matrix G(t) are also included in the calculation to ensure that the torque calculation is as accurate as possible. Finally, the joint velocity vector βi(t) is also taken into account to ensure that the calculation results can adapt to the actual movement of the gripping robot.
[0147] Through the above steps, the driving force distribution required by each joint of the gripping robot arm when performing the task can be accurately calculated, thereby ensuring that the robot arm can complete the gripping task efficiently and accurately. This calculation method not only improves the operating efficiency of the robot arm, but also enhances its adaptability and stability in complex environments.
[0148] In some embodiments of the present application, the torque required for the movement of the gripping robot arm is analyzed according to the moving path, and the driving force distribution of each joint of the gripping robot arm is calculated according to the torque and the movement range of the joint, speed limit, acceleration limit, and physical size limit of the gripping robot arm, which also includes:
[0149] The torque Ti output by the driver corresponding to joint i is calculated using the following formula:
[0150] ;
[0151] ;
[0152] ;
[0153] Among them, ηi represents the efficiency of the transmission system, and ηi < 1; γi represents the transmission ratio of the transmission system; Mtotal,i(t) represents the total torque of the i-th joint; Mi(t) represents the static torque of the i-th joint obtained by converting the required force F(t) of the end effector through the Jacobian matrix; Mdyn,i(t) is the dynamic torque generated by the i-th joint due to factors such as inertia, Coriolis force and gravity; Mtotal(t) is a vector representing the torque requirement of all joints of the robot at a given time point t.
[0154] It is understandable that in order to analyze the torque that the gripping robot needs to apply during the movement of the moving path, this embodiment not only considers the torque itself, but also integrates factors such as the range of motion of the joints, speed limit, acceleration limit, and physical size limit of the gripping robot, so as to calculate the driving force distribution of each joint of the gripping robot. On this basis, it also includes the precise calculation of the output torque of the joint driver.
[0155] Specifically, the torque Ti output by the driver corresponding to joint i is determined by a calculation formula, in which ηi represents the efficiency of the transmission system. Since any mechanical system has energy loss, the value of ηi is less than 1; γi represents the transmission ratio of the transmission system, which reflects the torque conversion relationship between input and output; Mtotal,i(t) represents the total torque demand of the i-th joint at a given time point t; Mi(t) is the static torque of the i-th joint obtained by converting the required force F(t) of the end effector through the Jacobian matrix, which takes into account the load condition of the end effector; Mdyn,i(t) is the dynamic torque generated at the i-th joint due to factors such as inertia, Coriolis force and gravity, which reflects the additional torque demand generated by the robot arm during movement due to acceleration and speed changes; Mtotal(t) is a vector, which represents the sum of the torque demands of all joints of the robot arm at a specific time point t.
[0156] Through such calculations, it can be ensured that the drivers of each joint of the gripper arm can provide appropriate torque output when performing tasks, thereby ensuring the precise control and stable operation of the robot arm. This calculation method not only improves the movement efficiency of the robot arm, but also enhances its adaptability and reliability in complex environments.
[0157] See also Figure 2 The present invention also provides a control system for a gripping robot arm, which is used to implement the above-mentioned control method for a gripping robot arm, and the control system includes:
[0158] A controller for generating and processing control signals;
[0159] The sensor module is used to monitor the position, speed, acceleration of the gripping robot arm and the position information of environmental objects in real time;
[0160] Communication module, used to exchange data with external devices, receive control instructions and send status information;
[0161] The controller generates a control signal based on the data provided by the sensor module and a preset control algorithm to drive the various joints of the gripping robot arm to move; the communication module is used to enable the control system to receive control instructions from an external device and send real-time status information of the gripping robot arm to the external device.
[0162] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0163] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0164] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0165] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0166] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A control method for a gripping robot arm, characterized in that: The gripping robot arm is used to grip the copper column and transfer it to the crimping fixture. The control method includes: Obtain the moving path of the gripping robot in the workspace based on the gripping task; detect the potential collision risk of the gripping robot in real time, and perform emergency braking or move path adjustment according to the detection results of the potential collision risk; Analyze the torque required during the movement of the gripping robot arm according to the moving path, and calculate the driving force distribution of each joint of the gripping robot arm according to the torque and the movement range of the joint, speed limit, acceleration limit, and physical size limit of the gripping robot arm; During the process of the gripping robot arm performing the gripping task, the actual driving force and load of each joint are monitored in real time, and the driving force distribution is dynamically adjusted according to the monitoring results; When obtaining the moving path of the gripping robot in the workspace based on the gripping task, it includes: Acquiring task parameters, wherein the task parameters include an initial position of the copper pillar and a target placement position in the crimping fixture; Determine a starting point and a target point of the gripping robot arm according to the task parameters, and generate an initial movement path of the gripping robot arm based on a relative position between the starting point and the target point; Based on the initial moving path, in combination with the task parameters and the kinematic constraints of the gripping robot arm, kinematic verification is performed on the initial moving path, and after the verification is completed, the moving path is obtained; The kinematic constraints include the maximum rotation angle, maximum angular velocity and maximum angular acceleration of each joint of the gripping robot arm; According to the task parameters, determining the starting point and the target point of the gripping robot arm, and based on the relative position between the starting point and the target point, generating the initial moving path of the gripping robot arm, including: Get the initial position of the copper column, set the center position of the copper column as the starting point and record it as Pstart, ; Obtain the target placement position in the crimping jig, set the center position of the target placement position in the crimping jig as the target point and record it as Pgoal, ; The path midpoint is generated according to the straight line interpolation formula, which is: ; Where P(s(t)) represents the coordinates of the middle point of the path; s represents the path parameter, which represents the interpolation ratio from the starting point to the target point; Generate an initial moving path of the gripping robot arm according to the starting point, the target point and the intermediate point; Based on the initial moving path, in combination with the task parameters and the kinematic constraints of the gripping robot arm, the initial moving path is kinematically verified. After the verification is completed, when the moving path is obtained, it includes: The middle point of the path is recorded as the key point on the initial moving path; the rotation angle θi(s(t)), angular velocity βi(s(t)) and angular acceleration εi(s(t)) of the joint i of the gripping robot arm at each key point are obtained, and the key points on the initial moving path are verified according to the constraint formula; The rotation angle constraint formula is θimin≤θi(s(t))≤θimax, ∀i=1, 2, …, n; where θimin represents the minimum rotation angle of joint i, θimax represents the maximum rotation angle of joint i, and n represents the total number of joints of the robot arm; The angular velocity constraint formula is: ∀i=1,2,…,n; where, represents the maximum allowable angular velocity of joint i; the angular velocity βi(s(t)) is calculated by the first-order derivative of the path parameter s with respect to time t: ; The angular acceleration constraint formula is: ,∀i=1,2,…,n; where,εi max represents the maximum allowable angular acceleration of joint i; the angular acceleration εi(s(t)) is calculated by the second-order derivative of the path parameter s with respect to time t: ; When the rotation angle θi(s(t)), angular velocity βi(s(t)) and angular acceleration εi(s(t)) of the joint i of the gripping robot all satisfy the constraint formula, the key point is considered to satisfy the kinematic constraint conditions; When all key points satisfy the kinematic constraints, the initial moving path becomes the moving path of the gripping robot; When there are key points that do not satisfy the constraint conditions, the initial moving path is adjusted to obtain a moving path of the gripping robot arm; When there are key points that do not satisfy the constraint conditions, the initial moving path is adjusted to obtain the moving path of the gripping robot arm, including: The adjustment amount required for the key points that do not meet the constraints is obtained based on the difference between the rotation angle, angular velocity and angular acceleration of the key points and the respective constraints; According to the calculated adjustment amount, the position, angle or time parameters of the key points that do not meet the constraint conditions are adjusted; the adjusted key points are smoothed by applying smoothing technology, and then the path is re-interpolated to generate a new continuous path; Perform kinematic verification on the new continuous path, iterate repeatedly until all key points and path segments meet the constraints, and then use the adjusted path as the final moving path; Real-time detection of potential collision risks of the gripping robot arm, emergency braking or movement path adjustment based on the detection results of potential collision risks, including: Let Ki be the coordinate of a point on the gripper arm, Lj be the coordinate of a point on the environmental object, and calculate the distance Dij between them: ;in, Represents the Euclidean norm of a vector; When Dij is less than the preset safety distance, it is determined that there is a potential collision risk for the gripping robot, and emergency braking or movement path adjustment is performed at this time; The emergency braking condition is defined as ; When the emergency braking condition is met, the speed of all joints of the gripping robot is set to zero; where, represents the minimum value of distance Dij, and Dsafe represents the minimum safe distance; The offset ΔK is calculated according to the obstacle avoidance algorithm. Let the original path point be Korig, and the adjusted path point be Knew, Knew=Korig+ΔK. The path point is adjusted in real time according to Knew to adjust the moving path. Analyzing the torque required during the movement of the gripping robot arm according to the moving path, and calculating the driving force distribution of each joint of the gripping robot arm according to the torque and the movement range of the joint, speed limit, acceleration limit, and physical size limit of the gripping robot arm, including: The velocity and acceleration on the moving path are obtained by calculating the first and second order derivatives of the path parameter s with respect to time t: ; ; Wherein, v(t) represents the velocity on the moving path; a(t) represents the acceleration on the moving path; Calculate the total torque Mtatol based on the acceleration a(t) on the moving path: ; ; ; ; Where F(t) represents the force required to be applied by the end effector of the gripping robot; m represents the sum of the masses of the copper column and the end effector; M(t) represents the static torque obtained by converting the force required by the end effector through the Jacobian matrix; Mdyn(t) represents the dynamic torque; J T (t) represents the transpose of the Jacobian matrix; I(t) represents the inertia matrix; α(t) represents the joint acceleration vector; C(t) represents the Coriolis force matrix; G(t) represents the gravity matrix; β(t) represents the joint velocity vector.
2. The control method for a gripping robot arm according to claim 1, characterized in that: The method further includes: analyzing the torque required during the movement of the gripping robot arm according to the moving path, and calculating the driving force distribution of each joint of the gripping robot arm according to the torque and the range of motion of the joint, the speed limit, the acceleration limit, and the physical size limit of the gripping robot arm. The torque Ti output by the driver corresponding to joint i is calculated by the following formula: ; ; ; Among them, ηi represents the efficiency of the transmission system, and ηi < 1; γi represents the transmission ratio of the transmission system; Mtotal,i(t) represents the total torque of the i-th joint; Mi(t) represents the static torque of the i-th joint obtained by converting the required force F(t) of the end effector through the Jacobian matrix; Mdyn,i(t) is the dynamic torque generated by the i-th joint due to factors such as inertia, Coriolis force and gravity; Mtotal(t) is a vector representing the torque requirement of all joints of the robot at a given time point t.
3. A control system for a gripping robot arm, characterized in that: Used to implement the control method for a gripping robot arm according to any one of claims 1-2, the control system comprises: A controller for generating and processing control signals; The sensor module is used to monitor the position, speed, acceleration of the gripping robot arm and the position information of environmental objects in real time; Communication module, used to exchange data with external devices, receive control instructions and send status information; The controller generates a control signal based on the data provided by the sensor module and a preset control algorithm to drive the various joints of the gripping robot arm to move; the communication module is used to enable the control system to receive control instructions from an external device and send real-time status information of the gripping robot arm to the external device.
