Visual servo control method and device based on heterogeneous joint segmented motion decomposition

Through the visual servo control method based on the decomposition of heterogeneous joint segmented motion, combined with visual servo planning and offline planning, the joint movement of the rope-driven agile arm is segmented, which solves the difference in joint structure of the rope-driven agile arm and the complexity of kinematic model. The response lag problem caused by nature achieves efficient and accurate visual servo control.

CN118893624AActive Publication Date: 2024-11-05TSINGHUA UNIVERSITY

Patent Information

Application Number
CN202410971876.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2024-11-05
Estimated Expiration
2044-07-19

AI Technical Summary

Technical Problem

The structures of the rope-driven agile arms vary greatly. The complex kinematic model and multi-layer transmission link increase the difficulty of accurately adjusting closed-loop motion parameters of the robotic arm joints and motors, resulting in joint response lag behind the instructions at the motor drive end, which is difficult. Achieve efficient and accurate visual servo control.

Method used

The visual servo control method based on heterogeneous joint segmented motion decomposition is adopted. Through visual servo planning and offline planning, the joint movement of the agile arm is processed in segments, and the subdivided interpolation is performed according to the control cycle of the underlying motor motion controller. Convert to motor motion data to achieve efficient and accurate visual servo control.

Benefits of technology

It realizes the correction of the movement of the robot arm through visual servo planning, so that the end of the robot arm moves toward the target, reduces the expected configuration deviation of the robot arm, improves the accuracy and efficiency of visual servo control, and is suitable for processors with poor processing capabilities, improving Flexibility and practicality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118893624A_ABST
    Figure CN118893624A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of robots, in particular to a visual servo control method and device based on heterogeneous joint segmented motion decomposition, and the method comprises the steps: carrying out the step-by-step processing of target pose measurement data, and obtaining target pose deviation data; planning an expected joint angular motion end point of the agile arm in the subsequent target period, and planning joint motion data of the agile arm in the subsequent target period of the online stage in the offline stage; and converting the joint motion data into motor motion data, and segmenting the motor motion data in a subsequent target period so as to control the agile arm to execute corresponding visual servo control actions by using the segmented motor motion data. According to the invention, the planned motion data can be subdivided and interpolated according to the control period of the bottom motor motion controller, efficient and accurate visual servo control is realized, multiple threads can be developed for visual servo planning calculation, offline planning is carried out in a main thread, and the flexibility and practicability are high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of robotics technology, and in particular to a visual servo control method and device based on heterogeneous joint segmented motion decomposition. Background Art

[0002] In the related technologies, the rope-driven agile arm, as an innovative rope-driven multi-degree-of-freedom robotic arm design, has shown great application prospects in fields such as space exploration and operations in complex environments due to its excellent flexibility, low inertia characteristics, and the advantages of a post-placed drive system. Compared with traditional rigid robotic arms, the rope-driven agile arm is more complex and varied in structural design, and its transmission link from the drive end to the operating end is significantly extended, covering multiple links such as motor drive, rope transmission, joint rotation, and fine operation of the end effector. In order to achieve high-precision motion in multiple degrees of freedom and a compact overall structure, the design of each joint of the rope-driven agile arm is significantly different, which makes the kinematic conversion relationship between the motor, rope, and joint extremely complex and nonlinear.

[0003] However, the joint structures of the rope-driven agile arm in related technologies vary greatly. The complex kinematic model and multi-layer transmission links increase the difficulty of accurately adjusting the closed-loop motion parameters of the robotic arm joints and motors. Since the response characteristics of the motors are different, the actual response of the joints may lag behind the instructions of the motor drive end. Faced with the unique motion characteristics of the rope-driven agile arm, it is often difficult to achieve efficient and accurate visual servo control, which needs to be solved urgently. Summary of the invention

[0004] The present application provides a visual servo control method, device, electronic device and storage medium based on heterogeneous joint segmented motion decomposition to solve the problems in the related art that the joint structures of the rope-driven agile arm are very different, the complex kinematic model and the multi-layer transmission link increase the difficulty of accurately adjusting the closed-loop motion parameters of the robot arm joints and motors, and the actual response of the joints may lag behind the instructions of the motor drive end due to the different response characteristics between the motors. When faced with the unique motion characteristics of the rope-driven agile arm, it is often difficult to achieve efficient and accurate visual servo control.

[0005] The first aspect of the present application provides a visual servo control method based on heterogeneous joint segmented motion decomposition, comprising the following steps: based on the target posture measurement data of the agile arm, processing the target posture measurement data in steps to obtain target posture deviation data; based on the target posture deviation data, planning the expected joint angle motion endpoint of the agile arm in a subsequent target cycle, and planning the joint motion data of the agile arm in a subsequent target cycle in an online phase in an offline phase according to the expected joint angle motion endpoint; converting the joint motion data into motor motion data, and segmenting the motor motion data within the subsequent target cycle to obtain segmented motor motion data, so as to use the segmented motor motion data to control the agile arm to perform corresponding visual servo control actions.

[0006] Optionally, in one embodiment of the present application, the target posture measurement data based on the agile arm is processed step by step to obtain target posture deviation data, including: calculating the terminal motion step threshold of the agile arm according to the target posture measurement data; and processing the target posture measurement data step by step based on the terminal motion step threshold to obtain the target posture deviation data.

[0007] Optionally, in one embodiment of the present application, the planning of the expected joint angle motion endpoint of the agile arm in a subsequent target cycle includes: acquiring the end posture and current joint angle of the target posture deviation data; calculating the joint angle increment according to the end posture and the current joint angle; planning the expected joint angle motion endpoint of the agile arm in a subsequent target cycle in a visual servoing speed mode according to the joint angle increment and the current joint angle, or planning the expected joint angle motion endpoint of the agile arm in a subsequent target cycle in a visual servoing position mode according to the end posture and the current joint angle.

[0008] Optionally, in one embodiment of the present application, the expected joint angle movement endpoint of the agile arm in a subsequent target cycle is planned based on the target posture deviation data, and the joint motion data of the agile arm in a subsequent target cycle in an online phase are planned in an offline phase according to the expected joint angle movement endpoint, and also includes: planning the joint motion data of the agile arm in a subsequent target cycle according to the joint response characteristics, joint motion characteristics and the joint angle increment of the agile arm.

[0009] Optionally, in one embodiment of the present application, the expected joint angle motion endpoint of the agile arm in a subsequent target cycle is planned based on the target posture deviation data, and the joint motion data of the agile arm in a subsequent target cycle in an online phase is planned in an offline phase according to the expected joint angle motion endpoint, including: determining the actual requirements of the agile arm according to the target posture deviation data; determining a planning method for the expected joint angle motion endpoint and the joint motion data in a subsequent target cycle according to the actual requirements, so as to plan the expected joint angle motion endpoint and the joint motion data, wherein the planning method includes visual servoing planning and offline planning.

[0010] The second aspect of the present application provides a visual servo control device based on heterogeneous joint segmented motion decomposition, including: a processing module, which is used to perform step-by-step processing on the target posture measurement data of the agile arm based on the target posture measurement data to obtain target posture deviation data; a planning module, which is used to plan the expected joint angle motion endpoint of the agile arm in a subsequent target cycle based on the target posture deviation data, and plan the joint motion data of the agile arm in the subsequent target cycle in the online stage in the offline stage according to the expected joint angle motion endpoint; a control module, which is used to convert the joint motion data into motor motion data, and segment the motor motion data within the subsequent target cycle to obtain segmented motor motion data, so as to use the segmented motor motion data to control the agile arm to perform corresponding visual servo control actions.

[0011] Optionally, in one embodiment of the present application, the processing module includes: a first calculation unit, used to calculate the end motion step threshold of the agile arm according to the target posture measurement data; a step-by-step unit, used to perform step-by-step processing on the target posture measurement data based on the end motion step threshold to obtain the target posture deviation data.

[0012] Optionally, in one embodiment of the present application, the planning module includes: an acquisition unit for acquiring the end pose and current joint angle of the target pose deviation data; a second calculation unit for calculating the joint angle increment based on the end pose and the current joint angle; a first planning unit for planning the expected joint angle movement end point of the agile arm in a subsequent target cycle in a visual servoing speed mode according to the joint angle increment and the current joint angle, or, planning the expected joint angle movement end point of the agile arm in a subsequent target cycle in a visual servoing position mode according to the end pose and the current joint angle.

[0013] Optionally, in one embodiment of the present application, the planning module further includes: a second planning unit, used to plan the joint motion data of the agile arm in a subsequent target cycle according to the joint response characteristics, joint motion characteristics and the joint angle increment of the agile arm.

[0014] Optionally, in one embodiment of the present application, the planning module includes: a determination unit, used to determine the actual requirements of the agile arm based on the target posture deviation data; a third planning unit, used to determine the planning method of the expected joint angle motion endpoint and the joint motion data in a subsequent target cycle based on the actual requirements, so as to plan the expected joint angle motion endpoint and the joint motion data, wherein the planning method includes visual servo planning and offline planning.

[0015] The third aspect of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the visual servo control method based on heterogeneous joint segmented motion decomposition as described in the above embodiment.

[0016] The fourth aspect of the present application provides a computer-readable storage medium, which stores a computer program. When the program is executed by a processor, it implements the above-mentioned visual servo control method based on heterogeneous joint segmented motion decomposition.

[0017] The fifth aspect of the present application provides a computer program product, including a computer program, which, when executed, is used to implement the above-mentioned visual servo control method based on heterogeneous joint segmented motion decomposition.

[0018] The embodiment of the present application can combine visual servo planning with offline planning, segment the joint motion process of the agile arm, and then subdivide and interpolate according to the control cycle of the underlying motor motion controller, so as to control the agile arm to move through the motor. Thus, the motion of the mechanical arm is corrected by visual servo planning, so that the end of the mechanical arm moves toward the target, and the motion of the mechanical arm is planned by offline planning for several cycles, so that the deviation of the desired configuration of the mechanical arm is reduced, and the planned motor angle is subdivided and interpolated according to the control cycle of the underlying motor motion controller, so as to achieve efficient and accurate visual servo control; and for processors with poor processing power and long visual servo time, multi-threading can be developed for visual servo planning calculation, and offline planning is performed in the main thread, with high flexibility and practicality. Thus, the problem that the joint structures of the rope-driven agile arm in the related art are very different, the complex kinematic model and the multi-layer transmission link increase the difficulty of accurately adjusting the closed-loop motion parameters of the mechanical arm joints and motors, and the actual response of the joints may lag behind the instructions of the motor drive end due to the different response characteristics between the motors. When facing the unique motion characteristics of the rope-driven agile arm, it is often difficult to achieve efficient and accurate visual servo control.

[0019] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0021] Figure 1 A schematic diagram of a model of a rope-driven agile arm according to an embodiment of the present application;

[0022] Figure 2 A flowchart of a visual servo control method based on heterogeneous joint segmented motion decomposition provided according to an embodiment of the present application;

[0023] Figure 3 A flowchart of a visual servo control method based on heterogeneous joint segmented motion decomposition according to an embodiment of the present application;

[0024] Figure 4 Schematic diagram of the structure of a visual servo control device based on heterogeneous joint segmented motion decomposition according to an embodiment of the present application;

[0025] Figure 5 Schematic diagram of the structure of an electronic device according to an embodiment of the present application.

[0026] Reference numerals:

[0027] 10-Visual servo control device based on heterogeneous joint segmented motion decomposition: 100-processing module, 200-planning module and 300-control module; 501-memory, 502-processor and 503-communication interface. DETAILED DESCRIPTION

[0028] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0029] The following describes the visual servo control method and device based on heterogeneous joint segmented motion decomposition of the embodiment of the present application with reference to the accompanying drawings. In view of the fact that the joint structures of the rope-driven agile arm in the related art mentioned in the above background technology are very different, the complex kinematic model and the multi-layer transmission link increase the difficulty of accurately adjusting the closed-loop motion parameters of the joints and motors of the manipulator. Since the response characteristics between the motors are not the same, the actual response of the joint may lag behind the instructions of the motor drive end. When faced with the unique motion characteristics of the rope-driven agile arm, it is often difficult to achieve efficient and accurate visual servo control. The present application provides a visual servo control method based on heterogeneous joint segmented motion decomposition. In this method, the visual servo planning can be combined with the offline planning, the joint motion process of the agile arm can be segmented, and then the subdivision interpolation is performed according to the control cycle of the underlying motor motion controller, so as to control the agile arm to move through the motor. Thus, the robot arm motion is corrected through visual servo planning, so that the end of the robot arm moves toward the target. The robot arm motion is planned for several cycles through offline planning, so that the desired configuration deviation of the robot arm is reduced. The planned motor angle is subdivided and interpolated according to the control cycle of the underlying motor motion controller to achieve efficient and accurate visual servo control. For processors with poor processing power and long visual servo time, multi-threading can be developed for visual servo planning calculation, and offline planning is performed in the main thread, which has high flexibility and practicality. Thus, the problems that the joint structures of the rope-driven agile arm in the related technology are very different, the complex kinematic model and multi-layer transmission link increase the difficulty of accurately adjusting the closed-loop motion parameters of the robot arm joints and motors, and the actual response of the joints may lag behind the instructions of the motor drive end due to the different response characteristics between the motors. When faced with the unique motion characteristics of the rope-driven agile arm, it is often difficult to achieve efficient and accurate visual servo control.

[0030] Before explaining the visual servo control method based on heterogeneous joint segmented motion decomposition provided in the embodiment of the present application, the structure of the rope-driven agile arm involved in the embodiment of the present application is first explained.

[0031] Figure 1 This is a schematic diagram of a model of a rope-driven agile arm according to an embodiment of the present application. Figure 1 As shown, the control object of the embodiment of the present application is a rope-driven agile arm, wherein the robot arm has a total of seven joints, and there are two joints at the shoulder. These two joints can be driven by a motor through a reducer connection. At the same time, these two joints are connected to the elbow wrist joint drive box, and the drive box contains five drive motors for the elbow joint and wrist joint. The motor rotates to pull the connected drive ropes to drive each joint to rotate. The robot arm includes two elbow joints and three wrist joints, wherein wrist one and wrist two joints are universal joints, and wrist one and wrist two joints are driven by two motors to move, and wrist three is a roll joint. There are joint encoders at each joint to measure the rotation angle of the joint, and there is a resolver at the motor end to measure the rotation angle of the motor. The closed-loop control method of the robot arm is joint layer position closed loop + motor layer position closed loop.

[0032] In the general visual servo control framework, the joint angle motion increments of the robot arm can be set as: [dQ1, dQ2, dQ3, dQ4, dQ5, dQ6, dQ7], which correspond to the angle adjustment of the seven joints. However, due to the motion hysteresis effect of the joint motor and transmission system, as well as the different response characteristics of the joints, after a control cycle, the joints do not accurately achieve the expected increments. Specifically, the actual joint angle increment dQ' deviates from the planned dQ, such as dQ' = [0.9dQ1, 0.9dQ2, 0.5dQ3, 0.5dQ4, 0.3dQ5, 0.2dQ6, 0.2dQ7], showing different degrees of reduction.

[0033] In the subsequent control cycle, the system will recalculate and plan new joint angle increments based on the target pose measurement value currently obtained through the hand-eye camera (but it should be noted that this measurement value may have lagged behind the actual target position because the camera measurement cycle is often longer than the motion planning cycle) and the current joint angle state of the robot. However, because the actual movement of some joints continues to be lower than the planned value, and there are problems with motion hysteresis and mismatch, the overall movement speed of the robot becomes slow, and there is a significant deviation between its actual motion trajectory and the pre-planned path. This accumulation of deviations may cause the robot end effector to be unable to accurately align or maintain the expected position of the target object in the camera's field of view, which in turn affects the accuracy and stability of the visual servo system. In severe cases, it may cause the target to completely leave the camera's field of view, increasing the complexity and uncertainty of the operation.

[0034] Specifically, Figure 2 A flowchart of a visual servo control method based on heterogeneous joint segmented motion decomposition provided in an embodiment of the present application.

[0035] like Figure 2 As shown, the visual servo control method based on heterogeneous joint segmented motion decomposition includes the following steps:

[0036] In step S201, based on the target posture measurement data of the agile arm, the target posture measurement data is processed step by step to obtain target posture deviation data.

[0037] It is understandable that the agile arm here can be understood as a rope-driven agile arm. As a new type of rope-driven multi-degree-of-freedom manipulator, the rope-driven agile arm has the advantages of flexible movement, low inertia, and rear-mounted drive. It has great application potential in space operations and operations in complex environments. Visual servoing is an important means for the manipulator to operate autonomously online. The hand-eye camera at the end of the manipulator can use the camera to observe the surrounding environment and solve the target posture in real time. The manipulator plans and controls the manipulator to move to the desired position according to the target posture information.

[0038] The target pose measurement data here can be understood as the specific position and attitude that the end effector of the robot arm needs to achieve in three-dimensional space. This pose can be described by position and attitude: the position can be understood as the specific coordinate point of the end effector of the robot arm in space, which can usually be represented by {x, y, z} in a three-dimensional coordinate system. These coordinate values ​​define the exact position of the end effector relative to a reference coordinate system (such as the world coordinate system or the robot arm base coordinate system); attitude refers to the orientation or direction of the end effector of the robot arm in space, which describes the rotation state of the end effector relative to a reference coordinate system. The attitude can be described in many ways, such as rotation matrix, Euler angle (i.e., the rotation angle around the x-axis, y-axis, and z-axis), etc.

[0039] In some embodiments, when controlling the rope-driven agile arm, the target posture measurement data may be input first, and then the input target posture measurement data may be stepped to obtain the target posture deviation data of the agile arm.

[0040] For example, according to the input target posture measurement data, in the motion control process of the agile arm, the complex adjustment process is decomposed into a series of orderly and manageable steps, so as to obtain the deviation data between the agile arm and the target posture measurement data in each step. This process may involve the precise measurement and calculation of the position and posture of the end effector of the robot arm in three-dimensional space to ensure that the robot arm can accurately reach and maintain the specified position and posture, that is, the target posture.

[0041] The embodiment of the present application can divide the posture deviation of the agile arm into steps, and divide the process of the agile arm reaching the target posture into a series of steps, etc., which helps to improve the operational accuracy during visual servo control of the agile arm and facilitates real-time adjustments according to actual conditions during the control process.

[0042] Next, the process of step-by-step processing of the pose deviation of the target pose measurement data is further explained.

[0043] Optionally, in one embodiment of the present application, based on the target posture measurement data of the agile arm, the target posture measurement data is processed step by step to obtain target posture deviation data, including: calculating the terminal motion step threshold of the agile arm according to the target posture measurement data; based on the terminal motion step threshold, the target posture measurement data is processed step by step to obtain target posture deviation data.

[0044] In the actual execution process, when the target pose measurement data is processed step by step, it can be determined that the agile arm is in the visual servo planning cycle, and then the offline planning cycle can be determined according to the input target pose relative to the pose of the end of the manipulator. For example, when the target is far away from the end, the offline planning cycle can be increased, and the manipulator (agile arm) can quickly approach the target; when the target is close to the end, in order to reduce the error, the offline planning cycle can be reduced so that the manipulator can often correct the movement of the manipulator based on the visual measurement information.

[0045] Next, the terminal motion step length threshold can be calculated based on the set number of offline planning cycles. For example, if the algorithm pre-stores the terminal position motion step length and posture motion step length as data for one cycle, the terminal motion step length threshold subsequently used by the algorithm can be the product of the pre-stored data and the number of offline planning cycles.

[0046] Finally, the modulus of the position deviation vector and the modulus of the posture deviation vector of the target relative to the end of the agile arm are calculated respectively. Then, based on the ratio of the calculated posture deviation to the motion step threshold of the end of the agile arm, the posture deviation is reduced to within the threshold range to obtain the required target posture deviation data.

[0047] For example, the input data is the position deviation of the target relative to the end of the agile arm [P x , P y , P z , R x , R y , R z ], respectively calculate the modulus ||P|| of the position deviation vector of the target relative to the end of the agile arm and the modulus ||R|| of the posture deviation vector, and the calculation formula can be expressed as follows:

[0048]

[0049] Next, the ratio of the posture deviation to the step length threshold of the agile arm’s single-cycle terminal motion can be calculated to reduce the posture deviation to within the threshold range. Specifically, the terminal position step length can be set as P0, the terminal posture step length can be set as R0, and the position step length ratio can be expressed as:A =||P|| / P0, the attitude step ratio can be expressed as: k R =||R|| / R0. When k A When >1, the posture deviation can be expressed as:

[0050] [P x , P y , P z ]=[P x , P y , P z ] / k A ,

[0051] [R x , R y , R z ]=[R x , R y , R z ] / k R .

[0052] The embodiments of the present application can ensure that the robot arm adopts a more sophisticated motion control strategy when approaching the target posture by calculating the terminal motion step threshold, reduce the posture deviation caused by excessive motion step length, and measure the target posture deviation data in steps, which helps to promptly discover and correct small errors in the motion process, and make real-time adjustments and optimizations to the motion planning of the robot arm, providing improvement directions for subsequent motion planning, thereby improving the overall motion accuracy.

[0053] Step S202, based on the target posture deviation data, plan the expected joint angle movement endpoint of the agile arm in the subsequent target cycle, and plan the joint movement data of the agile arm in the subsequent target cycle in the online stage in the offline stage according to the expected joint angle movement endpoint.

[0054] As a possible implementation method, after obtaining the processed target posture deviation data, the embodiment of the present application can initiate visual servo planning based on the posture deviation data to plan the expected joint angle motion endpoints of the agile arm in the next few cycles.

[0055] Furthermore, based on the planned expected joint angle motion endpoint, the embodiment of the present application can, in the offline stage, but is not limited to, use an interpolation method to plan the expected joint angle, joint angular velocity, and joint angular acceleration for each cycle of the motion process, and use these data as joint motion data for subsequent use in controlling the agile arm.

[0056] The embodiment of the present application can separate the expected joint angle motion endpoint planning and joint motion data planning of the agile arm, which is equivalent to a segmented processing. It can effectively increase the accuracy of the planned data in each process, facilitate real-time modification, and improve planning and correction efficiency.

[0057] Next, this process is further elaborated.

[0058] Optionally, in one embodiment of the present application, based on the target posture deviation data, the expected joint angle motion endpoint of the agile arm in the subsequent target cycle is planned, and the joint motion data of the agile arm in the subsequent target cycle in the online stage is planned in the offline stage according to the expected joint angle motion endpoint, including: determining the actual requirements of the agile arm according to the target posture deviation data; determining the planning method of the expected joint angle motion endpoint and the joint motion data in the subsequent target cycle according to the actual requirements, so as to plan the expected joint angle motion endpoint and the joint motion data, wherein the planning method includes visual servoing planning and offline planning.

[0059] Based on the relevant descriptions of other embodiments, it can be understood that when processing the target posture measurement data in steps, it is necessary to first determine whether the current movement process of the agile arm is within the visual servo planning cycle. If it is within the visual servo planning cycle, then determine the number of offline planning cycles.

[0060] In some embodiments, the cycle of visual servo planning and the cycle of offline planning of the present application can be configured according to actual needs. The actual needs here can be understood as the motion requirements of the agile arm determined according to the target posture measurement data or other requirements. Furthermore, the planning method of the expected joint angle motion endpoint and the joint motion data in the subsequent target cycle can also be determined according to the actual needs, for example, visual servo planning and offline planning.

[0061] Among them, visual servo planning can also be understood as online planning, which can plan the expected joint angles in the next cycle or several cycles in real time according to the target posture and current joint angle state. Offline planning can be understood as planning the total time and interpolation time when the initial joint angle and the final joint angle are known, and interpolating the joint angle according to the planning cycle.

[0062] For example, in a process that can move at high speed, the number of offline planning cycles can be increased, and the process moves quickly; in a process that requires deceleration or low-speed movement, the offline planning cycle can be reduced to frequently use visual measurement information to correct the planning value.

[0063] Additionally, the embodiments of the present application may also, but are not limited to, allocate the number of offline planning cycles according to the distance between the end of the robot arm and the target. That is, when the distance to the target is far, the number of offline planning cycles is large, and the movement of more cycles is planned through visual servoing. When the distance to the target is close, the number of offline planning cycles is small, and the joint angle planning value is often corrected by visual servoing planning.

[0064] For processors with poor processing power, visual servoing takes a long time and may exceed the control cycle. Multi-threading can be developed for visual servoing planning calculations, and offline planning can be performed in the main thread.

[0065] The embodiments of the present application can comprehensively adopt visual servo planning and offline planning when planning the expected joint angle endpoints and joint motion data in subsequent cycles of the agile arm, combine visual servo planning with offline planning, use the visual servo online planning method to plan the expected joint angle motion endpoints of the subsequent motion cycles, and use the offline planning method to interpolate the visual servo planned joint angles, taking into account the advantages of visual servo online planning that can correct the motion trajectory in real time and offline planning that has smooth motion and fast planning speed, which helps to make real-time adjustments according to actual conditions during the movement of the agile arm.

[0066] Optionally, in one embodiment of the present application, planning the expected joint angle motion endpoint of the agile arm in a subsequent target cycle includes: acquiring the end posture and current joint angle of the target posture deviation data; calculating the joint angle increment according to the end posture and the current joint angle; planning the expected joint angle motion endpoint of the agile arm in a subsequent target cycle in a visual servoing speed mode according to the joint angle increment and the current joint angle, or planning the expected joint angle motion endpoint of the agile arm in a subsequent target cycle in a visual servoing position mode according to the end posture and the current joint angle.

[0067] In some embodiments, when planning the expected joint angle motion endpoint of the agile arm in the subsequent target cycle based on the target posture deviation data, it is necessary to first obtain the end posture and current joint angle of the target posture deviation data, calculate the joint angle increment of the agile arm, and then select different visual servo planning methods according to actual needs to plan the expected joint angle motion endpoint of the agile arm in the subsequent target cycle.

[0068] The visual servo planning in the embodiments of the present application includes but is not limited to two methods: visual servo speed planning and visual servo position planning. Visual servo speed planning is to calculate the joint angle increment according to the inverse matrix of the Jacobian matrix between the end position and the joint angle in the end coordinate system of the robot arm, and superimpose it on the current joint angle to obtain the expected joint angle; visual servo position planning is to calculate the expected joint angle according to the target end position of the robot arm and the current joint angle.

[0069] Taking the visual servo velocity mode planning of the desired joint angle motion endpoint of the agile arm in the subsequent target cycle as an example, the planning process can be expressed as follows:

[0070] (1) Calculate the Jacobian matrix J between the joint angles of the agile arm and the terminal posture in the terminal coordinate system n , which can be expressed as follows:

[0071]

[0072] in, n R0 is the rotation transformation matrix of the robot base coordinate system relative to the end coordinate system, and J0 is the Jacobian matrix between the robot joint angle and the end posture in the base coordinate system.

[0073] (2) Calculate the terminal pose increment:

[0074] The weighted pose deviation [P x , P y , P z , R x , R y , R z ] is converted into a homogeneous transformation matrix n T t , assuming the current end position is n T n , which means it can be as follows:

[0075]

[0076] The end pose increment dA can be expressed as:

[0077]

[0078] dr=0.5(n0×n+o0×o+a0×a)

[0079] Where n0 = [n x0 n y0 n z0 ] T , o0=[o x0 o y0 n z0 ] T , a0=[a x0 a y0 a z0 ] T , are the cosines of the angles between the x, y, and z axes of the target coordinate system and the axes of the robot end coordinate system, n = [n x n y n z ] T , o=[o x o y n z ] T , a=[a x a y a z ] T , are the cosines of the angles between the x, y, z axes of the end coordinate system and the axes of the end coordinate system of the robot arm.

[0080] (3) Calculate the inverse matrix of the Jacobian matrix:

[0081] The embodiment of the present application can use the Jacobian pseudo-inverse method to calculate the Jacobian matrix J between the joint angle of the robot arm and the end posture n The inverse matrix of the Jacobian matrix is ​​obtained, and the DLS (Damped Least Squares) method is used to avoid singularity of the matrix. The inverse matrix solution formula of the Jacobian matrix can be expressed as follows:

[0082] J n + =(J n T J n +λ 2 I) -1 J n T

[0083] Among them, J n + is the inverse matrix of the Jacobian matrix, J n T is the transposed matrix of the Jacobian matrix, I is the identity matrix, and λ is the DLS singular avoidance parameter.

[0084] (4) Calculate the joint angle increment of the agile arm. The formula can be expressed as follows:

[0085] dq=J n + dA;

[0086] Among them, dq is the joint angle increment of the agile arm, and dA is the end posture deviation (increment).

[0087] (5) Correct the joint angle increment according to the joint angular velocity threshold:

[0088] If some joint angle increments are greater than the joint angle velocity threshold, the ratio of each joint angle increment to each velocity threshold can be calculated, and the largest ratio is selected to reduce the overall joint angle increment by that multiple, thereby correcting the inappropriate joint angle increment.

[0089] Taking the visual servo position mode planning of the desired joint angle motion endpoint of the agile arm in the subsequent target cycle as an example, the planning process can be expressed as follows:

[0090] (1) Calculate the current end position of the robot arm based on the current joint angle of the robot arm, and calculate the end position of the robot arm using the kinematic model from the robot arm joint to the end effector 0 T n , convert the terminal pose increment into a homogeneous transformation matrix n T t , then the desired end position of the robot arm 0 Tt = 0 T n * n T t ;

[0091] (2) Based on the current joint angle of the robot and the desired end position 0 T t ,The desired joint angle of the robot arm is calculated using the kinematic model from the robot end effector to the joint;

[0092] (3) The joint angle increment is calculated by using the current joint angle and the expected joint angle, and the joint angle increment is corrected according to the joint angle velocity threshold. If any joint angle increment is greater than the joint angle velocity threshold, the ratio of each joint angle increment to each velocity threshold is calculated, and the largest ratio is selected. The joint angle increments are reduced by this multiple to correct the inappropriate joint angle increments.

[0093] The embodiment of the present application can select different visual servo planning methods according to the joint angle increment of the agile arm based on actual conditions and actual needs to plan the expected joint angle movement endpoint of the agile arm in the subsequent target cycle, and realize the frequent use of visual servo planning to correct the joint angle planning value, which is helpful for the implementation of the present application in various actual scenarios.

[0094] Optionally, in one embodiment of the present application, based on the target posture deviation data, the expected joint angle movement endpoint of the agile arm in the subsequent target cycle is planned, and the joint motion data of the agile arm in the subsequent target cycle in the online stage is planned in the offline stage according to the expected joint angle movement endpoint, and also includes: planning the joint motion data of the agile arm in the subsequent target cycle according to the joint response characteristics, joint motion characteristics and joint angle increments of the agile arm.

[0095] Based on the relevant descriptions of other embodiments, it can be understood that after the expected joint angle endpoint in the subsequent target cycle of the agile arm is planned, the joint motion data of the subsequent target cycle of the agile arm in the online phase can be planned in the offline phase based on the expected joint angle endpoint. The joint motion data includes but is not limited to the expected joint angle, the expected joint angular velocity and the expected joint angular acceleration.

[0096] Furthermore, when planning these joint motion data, the joint response characteristics, joint motion characteristics and joint angle increments of the agile arm can be taken into consideration to reduce delays, lagging reactions, etc. that may be caused by these influencing factors during the movement of the agile arm.

[0097] For example, the expected joint angle, joint angular velocity, and joint angular acceleration of each cycle are interpolated according to the expected joint angle motion endpoint. Different interpolation methods can be used for joints with different response and motion characteristics. The process can be expressed as follows:

[0098] For the joint PID closed-loop control based on kinematic feedforward, the joint angle output by the control loop can be expressed as:

[0099] q=q0+dq+k Pq dq+k Iq fdq+k Dq ddq

[0100] Among them, q0 is the current joint angle, dq is the joint angle increment calculated using the posture deviation, q0+dq is the planned joint angle, k Pq dq is the proportional term of the joint closed-loop control, k Pq is the joint angle proportional control coefficient, k Iq fdq is the integral term of the joint closed-loop control, k Iq is the joint angle integral control coefficient, fdq is the cumulative amount of joint angle increment, k Dq ddq is the differential term of joint closed-loop control, k Dq is the joint angle differential control coefficient, and ddq is the difference between the joint angle increment of this cycle and the joint angle increment of the previous cycle. The larger the joint angle output by the control loop, the larger the motor angle increment converted to the motor end through the kinematic model. The larger the increment will increase the motor's movement speed and output torque, and accelerate its movement to the desired position.

[0101] For the shoulder joint, the joint rotation is directly driven by the motor without transmission through ropes. The joint response characteristics are relatively fast. The planned shoulder joint angle increment can be linearly interpolated according to the number of execution cycles. The planned value is increased by a smaller step size per cycle. Even if the joint tracking effect is general, the joint will increase its movement speed and improve the following performance in subsequent cycles due to the increase in deviation dq.

[0102] For the elbow joint, it is driven by a motor via a driving rope. The transmission of the rope will cause movement hysteresis, and the dq during the movement needs to be further improved. For example, half of the planned joint angle increment is sent in the first few offline planning cycles, and all the joint angle increments are sent in the next few offline planning cycles. In the initial movement stage, the increment of the elbow joint is actually an increment that requires several cycles to move into place. The elbow joint will quickly approach the joint angle, and the same is true for the next few offline planning cycles.

[0103] For the wrist joints, wrist 1, wrist 2, and wrist 3 joints are driven by motors via driving ropes. The transmission of the ropes will cause movement hysteresis because the driving ropes need to pass through the shoulder and elbow to reach the wrist. The transmission chain is longer and the rope hysteresis is more obvious. The planned wrist joint angle increments can be sent in all planning cycles. A larger dq can improve the response characteristics of the joints, and the joints can also move into place using several cycles of offline planning.

[0104] Next, the expected joint angular velocity and joint angular acceleration are calculated. The joint angular velocity is the increment of the joint angle divided by the period. The joint angular velocity minus the joint angular velocity of the previous period is the joint angular acceleration. For some control systems, the joint angular velocity or joint angular acceleration is used as the control input.

[0105] Finally, it is determined whether the offline planning cycle count reaches a preset number of cycles. If so, the visual servo planning flag is set to 1, and visual servo planning is performed in the next cycle. Additionally, when performing visual servo planning in the next cycle, it is also possible to first determine whether the visual servo planning flag is 1, and when the visual servo planning flag is 1, visual servo planning is performed in the next cycle.

[0106] When planning joint motion data, the embodiment of the present application comprehensively considers the joint response of the agile arm and some characteristics of the joint motion, etc. By considering the hysteresis and nonlinear characteristics of the joint response, pre-compensation can be performed in the planning stage, thereby reducing the deviation and jitter in the actual motion and improving the motion accuracy. It can also help the planning algorithm to better adapt to these dynamic changes, plan a motion trajectory that not only meets the operational requirements but also complies with the laws of physics, and maintain the stability of the motion.

[0107] Step S203, converting the joint motion data into motor motion data, and segmenting the motor motion data in a subsequent target cycle to obtain segmented motor motion data, so as to use the segmented motor motion data to control the agile arm to perform corresponding visual servo control actions.

[0108] It can be understood that the joint motion data includes but is not limited to the expected joint angle, the expected joint angular velocity and the expected joint angular acceleration; correspondingly, the motor motion data includes but is not limited to the expected motor angle, the expected motor angular velocity, the expected motor angular acceleration, etc.

[0109] In other embodiments, after obtaining the joint motion data, the joint motion data can be converted into motor motion data through a certain conversion relationship. Taking the rope-driven agile arm as an example, the working principle is to drive the rope movement through the motor to achieve various movements of the robotic arm, and its joint motion is achieved by a driving mechanism composed of ropes and pulleys, while the position and posture of the robotic arm are controlled by the length and angle of the rope.

[0110] For example, through the kinematic transformation relationship between the agile arm joint and the motor, the desired joint angle, the desired joint angular velocity, and the desired joint angular acceleration are respectively transformed into the desired motor angle, the desired motor angular velocity, the desired motor angular acceleration, etc. It should be noted that the transformation, calculation process, and the principles and tools used can be selected by professionals in this field according to actual conditions, and are only illustrative here without specific limitation.

[0111] Next, the embodiments of the present application can subdivide and interpolate the motor motion data into shorter period motor motion data for use by the underlying motor motion controller to control the motor motion. For example, for a motor with a slow response speed, the subdivided incremental intervals can be sent to increase the motion step size and thus increase the response speed. For example, the final motor position to be reached is sent in several cycles instead of incrementing the motor planning value in each cycle.

[0112] The embodiment of the present application can interpolate the motor motion data into data within a shorter period, and can obtain more motion data points within a shorter time period, thereby more accurately controlling the motion trajectory and speed of the motor, reducing errors caused by insufficient data points, and then outputting them to the underlying motion controller to make the motor movement smoother and improve the stability and accuracy of the movement.

[0113] The present application is described in detail below with reference to a specific embodiment.

[0114] like Figure 3 As shown, it is a flow chart of a visual servo control method based on heterogeneous joint segmented motion decomposition for a rope-driven agile arm according to an embodiment of the present application.

[0115] Step S301, start.

[0116] Step S302, input the current joint angle and the position of the target relative to the end of the agile arm.

[0117] Step S303, determine whether the current visual servo planning flag is 1, if not 1, then add 1 to the offline planning cycle count.

[0118] Step S304, when the current visual servo planning flag is 1, input posture measurement data pre-processing, including: determining the number of offline planning cycles according to the target posture, calculating the terminal motion step threshold according to the number of offline planning cycles, calculating the modulus of the target position vector and the modulus of the target attitude vector; calculating the ratio of the modulus to the terminal motion step threshold, and reducing the posture deviation to within the threshold range.

[0119] Step S305, start visual servo planning, including: clearing the offline planning cycle count, and selecting the visual servo planning mode according to the specific situation and actual needs. If the visual servo speed mode is selected, the Jacobian matrix between the manipulator end posture and the joint angle and the posture difference dA between the target posture and the manipulator end are calculated, then the inverse matrix of the Jacobian matrix is ​​calculated, and the inverse matrix of the Jacobian matrix is ​​calculated using the Jacobian pseudo-inverse method, and finally the joint angle increment is calculated, and the joint angle increment is corrected according to the joint angle velocity threshold; if the visual servo position mode is selected, the current end posture and the expected end posture of the manipulator are calculated according to the current joint angle, and then the expected joint angle is calculated according to the current joint angle and the expected end posture, and the joint angle increment is corrected according to the joint angle velocity threshold.

[0120] Step S306, adding 1 to the offline planning cycle count.

[0121] Step S307, planning offline joint motion data, including: setting the visual servo planning flag to 0, performing offline planning for different joints according to different interpolation methods, calculating the expected joint angular velocity and joint angular acceleration of the joint, judging whether the offline planning cycle reaches a preset value, and setting the visual servo planning flag to 1 when the offline planning cycle reaches the preset value. Additionally, when the offline planning cycle does not reach the preset value, it is possible to directly jump to the step of converting the joint motion data into the motor motion data.

[0122] Step S308, post-processing of motor angle control data, including: converting joint motion data into motor motion data, that is, converting the planned joint angle, joint angular velocity, and angular acceleration into motor angle, motor angular velocity, and motor angular acceleration, and then interpolating these motor motion data into more detailed periodic data according to the cycle of the underlying motor controller to make the motion process smoother.

[0123] Step S309, determine whether the target has reached the capture area, if not, restart.

[0124] Step S310: After the target reaches the capture area, the robot arm is controlled to reach the capture position.

[0125] Step S311, end.

[0126] According to the visual servo control method based on heterogeneous joint segmented motion decomposition proposed in the embodiment of the present application, the visual servo planning can be combined with the offline planning, the joint motion process of the agile arm can be segmented, and then subdivided and interpolated according to the control cycle of the underlying motor motion controller, so as to control the agile arm to move through the motor. In this way, the motion of the robot arm can be corrected by visual servo planning, so that the end of the robot arm moves toward the target, and the movement of the robot arm for several cycles is planned by offline planning to reduce the deviation of the desired configuration of the robot arm. The planned motor angle is subdivided and interpolated according to the control cycle of the underlying motor motion controller to achieve efficient and accurate visual servo control; and for processors with poor processing power and long visual servoing time, multi-threading can be developed for visual servo planning calculations, and offline planning can be performed in the main thread, which has high flexibility and practicality. This solves the problem that the joint structures of the rope-driven agile arm in the related technology are very different, the complex kinematic model and multi-layer transmission links increase the difficulty of accurately adjusting the closed-loop motion parameters of the robotic arm joints and motors, and the actual response of the joints may lag behind the instructions of the motor drive end due to the different response characteristics between the motors. When faced with the unique motion characteristics of the rope-driven agile arm, it is often difficult to achieve efficient and accurate visual servo control.

[0127] Next, a visual servo control device based on heterogeneous joint segmented motion decomposition proposed in an embodiment of the present application is described with reference to the accompanying drawings.

[0128] Figure 4 It is a structural schematic diagram of a visual servo control device based on heterogeneous joint segmented motion decomposition according to an embodiment of the present application.

[0129] like Figure 4 As shown, the visual servo control device 10 based on heterogeneous joint segmented motion decomposition includes: a processing module 100, a planning module 200 and a control module 300.

[0130] Among them, the processing module 100 is used to process the target posture measurement data in steps based on the target posture measurement data of the agile arm to obtain the target posture deviation data.

[0131] The planning module 200 is used to plan the expected joint angle movement endpoint of the agile arm in the subsequent target cycle based on the target posture deviation data, and to plan the joint movement data of the agile arm in the subsequent target cycle in the online stage in the offline stage according to the expected joint angle movement endpoint.

[0132] The control module 300 is used to convert the joint motion data into motor motion data, and segment the motor motion data in a subsequent target cycle to obtain segmented motor motion data, so as to use the segmented motor motion data to control the agile arm to perform corresponding visual servo control actions.

[0133] Optionally, in one embodiment of the present application, the processing module 100 includes: a first calculation unit and a step unit.

[0134] Among them, the first calculation unit is used to calculate the end movement step threshold of the agile arm according to the target posture measurement data.

[0135] The step-by-step unit is used to process the target posture measurement data in steps based on the terminal motion step threshold to obtain the target posture deviation data.

[0136] Optionally, in one embodiment of the present application, the planning module 200 includes: an acquisition unit, a second calculation unit and a first planning unit.

[0137] Among them, the acquisition unit is used to obtain the end posture and current joint angle of the target posture deviation data.

[0138] The second calculation unit is used to calculate the joint angle increment according to the end posture and the current joint angle.

[0139] The first planning unit is used to plan the expected joint angle movement end point of the agile arm in the subsequent target cycle in a visual servo speed mode according to the joint angle increment and the current joint angle, or to plan the expected joint angle movement end point of the agile arm in the subsequent target cycle in a visual servo position mode according to the end posture and the current joint angle.

[0140] Optionally, in one embodiment of the present application, the planning module 200 further includes: a second planning unit.

[0141] Among them, the second planning unit is used to plan the joint motion data of the agile arm in the subsequent target cycle according to the joint response characteristics, joint motion characteristics and joint angle increments of the agile arm.

[0142] Optionally, in one embodiment of the present application, the planning module 200 includes: a determination unit and a third planning unit.

[0143] Among them, the determination unit is used to determine the actual demand of the agile arm according to the target posture deviation data.

[0144] The third planning unit is used to determine the planning method of the expected joint angle movement endpoint and joint movement data in the subsequent target cycle according to actual needs, so as to plan the expected joint angle movement endpoint and joint movement data, wherein the planning method includes visual servo planning and offline planning.

[0145] It should be noted that the aforementioned explanation of the embodiment of the visual servo control method based on heterogeneous joint segmented motion decomposition is also applicable to the visual servo control device based on heterogeneous joint segmented motion decomposition of this embodiment, which will not be repeated here.

[0146] According to the visual servo control device based on heterogeneous joint segmented motion decomposition proposed in the embodiment of the present application, the visual servo planning can be combined with the offline planning, the joint motion process of the agile arm can be segmented to a certain extent, and then subdivided and interpolated according to the control cycle of the underlying motor motion controller, so as to control the agile arm to move through the motor. In this way, the motion of the robot arm can be corrected by visual servo planning, so that the end of the robot arm moves toward the target, and the movement of the robot arm for several cycles is planned by offline planning to reduce the deviation of the desired configuration of the robot arm. The planned motor angle is subdivided and interpolated according to the control cycle of the underlying motor motion controller to achieve efficient and accurate visual servo control; and for processors with poor processing power and long visual servo time, multi-threading can be developed for visual servo planning calculations, and offline planning can be performed in the main thread, which has high flexibility and practicality. This solves the problem that the joint structures of the rope-driven agile arm in the related technology are very different, the complex kinematic model and multi-layer transmission links increase the difficulty of accurately adjusting the closed-loop motion parameters of the robotic arm joints and motors, and the actual response of the joints may lag behind the instructions of the motor drive end due to the different response characteristics between the motors. When faced with the unique motion characteristics of the rope-driven agile arm, it is often difficult to achieve efficient and accurate visual servo control.

[0147] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may include:

[0148] A memory 501 , a processor 502 , and a computer program stored in the memory 501 and executable on the processor 502 .

[0149] When the processor 502 executes the program, the visual servo control method based on heterogeneous joint segmented motion decomposition provided in the above embodiment is implemented.

[0150] Furthermore, the electronic device further comprises:

[0151] The communication interface 503 is used for communication between the memory 501 and the processor 502 .

[0152] The memory 501 is used to store computer programs that can be executed on the processor 502 .

[0153] The memory 501 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0154] If the memory 501, the processor 502 and the communication interface 503 are implemented independently, the communication interface 503, the memory 501 and the processor 502 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0155] Optionally, in a specific implementation, if the memory 501, the processor 502 and the communication interface 503 are integrated on a chip, the memory 501, the processor 502 and the communication interface 503 can communicate with each other through an internal interface.

[0156] The processor 502 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.

[0157] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-mentioned visual servo control method based on heterogeneous joint segmented motion decomposition.

[0158] An embodiment of the present application also provides a computer program product, including a computer program, which can run computer instructions. When the computer instructions are executed by a processor, the visual servo control method based on heterogeneous joint segmented motion decomposition provided by the embodiment of the present application is implemented.

[0159] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0160] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0161] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or N executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0162] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or N wirings (electronic devices), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways as necessary and then storing it in a computer memory.

[0163] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. If implemented by hardware, as in another embodiment, it can be implemented by any one or a combination of multiple of the following technologies known in the art: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0164] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0165] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0166] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A visual servo control method based on heterogeneous joint segmented motion decomposition, characterized in that: The following steps are involved: Based on the target posture measurement data of the agile arm, the target posture measurement data is processed step by step to obtain target posture deviation data; Based on the target posture deviation data, planning the expected joint angle motion endpoint of the agile arm in the subsequent target cycle, and planning the joint motion data of the agile arm in the subsequent target cycle in the online phase in the offline phase according to the expected joint angle motion endpoint; The joint motion data is converted into motor motion data, and the motor motion data is segmented within the subsequent target cycle to obtain segmented motor motion data, so as to use the segmented motor motion data to control the agile arm to perform corresponding visual servo control actions.

2. The method according to claim 1, characterized in that The target posture measurement data based on the agile arm is processed step by step to obtain the target posture deviation data, including: Calculating the end motion step length threshold of the agile arm according to the target posture measurement data; The target posture measurement data is processed step by step based on the terminal motion step threshold to obtain the target posture deviation data.

3. The method according to claim 1, characterized in that The planning of the desired joint angle motion endpoint of the agile arm in the subsequent target cycle includes: Obtain the end position and current joint angle of the target position deviation data; Calculating a joint angle increment according to the end position and the current joint angle; The desired joint angle motion endpoint of the agile arm in a subsequent target cycle is planned in a visual servoing speed mode based on the joint angle increment and the current joint angle, or the desired joint angle motion endpoint of the agile arm in a subsequent target cycle is planned in a visual servoing position mode based on the end posture and the current joint angle.

4. The method according to claim 3, characterized in that: The method of planning the expected joint angle motion endpoint of the agile arm in a subsequent target cycle based on the target posture deviation data, and planning the joint motion data of the agile arm in a subsequent target cycle in an online phase in an offline phase according to the expected joint angle motion endpoint, further includes: The joint motion data of the agile arm in a subsequent target cycle is planned according to the joint response characteristics, joint motion characteristics and the joint angle increment of the agile arm.

5. The method according to claim 1, characterized in that: The method of planning the expected joint angle motion endpoint of the agile arm in a subsequent target cycle based on the target posture deviation data, and planning the joint motion data of the agile arm in a subsequent target cycle in an online phase in an offline phase according to the expected joint angle motion endpoint, includes: Determining actual requirements of the agile arm according to the target posture deviation data; Determine a planning method for the expected joint angle motion endpoint and the joint motion data in a subsequent target cycle according to the actual demand, so as to plan the expected joint angle motion endpoint and the joint motion data, wherein the planning method includes visual servoing planning and offline planning.

6. A visual servo control device based on heterogeneous joint segmented motion decomposition, characterized in that: include: A processing module, for performing step-by-step processing on the target posture measurement data based on the target posture measurement data of the agile arm to obtain target posture deviation data; A planning module, for planning an expected joint angle motion endpoint of the agile arm in a subsequent target cycle based on the target posture deviation data, and planning joint motion data of the agile arm in a subsequent target cycle in an online phase in an offline phase according to the expected joint angle motion endpoint; The control module is used to convert the joint motion data into motor motion data, and segment the motor motion data within the subsequent target cycle to obtain segmented motor motion data, so as to use the segmented motor motion data to control the agile arm to perform corresponding visual servo control actions.

7. The device according to claim 6, characterized in that The processing module comprises: A calculation unit, used for calculating a step length threshold of the end movement of the agile arm according to the target posture measurement data; The step-by-step unit is used to perform step-by-step processing on the target posture measurement data based on the terminal motion step length threshold to obtain the target posture deviation data.

8. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the visual servo control method based on heterogeneous joint segmented motion decomposition as described in any one of claims 1 to 5.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement the visual servo control method based on heterogeneous joint segmented motion decomposition as described in any one of claims 1 to 5.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed, it is used to implement the visual servo control method based on heterogeneous joint segmented motion decomposition as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Track planning method and device for restraining flexible robot by arm molded lines

    CN110561419A

  • Visual servo switching control method and system

    CN111360827A

  • Motion planning method of mechanical arm with four degrees of freedom

    CN111890349A

  • Visual control method and device for measurement and correction fusion of rope-driven agile arm

    CN117601134A

Cited By

  • F-PBVS-based harvester unloading cylinder pose automatic adjusting system and method

    CN119759108A