Cooperative control method, system and equipment of double-arm robot, medium and product

By decoupling the dual-arm robot into independent joint subsystems and executing motion planning and control tasks in parallel on different processors, the problem of low computational efficiency in traditional methods is solved, and efficient, real-time, and accurate dual-arm robot control is achieved.

CN118700152APending Publication Date: 2024-09-27GUANGDONG POWER GRID CO LTD +1
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410956095.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

The traditional dual-arm robot control method concentrates motion planning and motion control on a single processor, which has low computational efficiency, is difficult to meet real-time requirements, and cannot fully utilize the advantages of parallel computing hardware.

Method used

The dual-arm robot is decoupled into multiple independent joint subsystems, and the first processor performs independent motion planning on each joint subsystem to obtain the desired trajectory, and sends it to the second processor to generate control instructions, using parallelism The computing framework performs complex planning and control tasks on different processors.

Benefits of technology

It greatly improves the computing efficiency, meets the real-time control requirements, and improves the real-time, efficiency, accuracy and intelligence level of the dual-arm robot control system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118700152A
    Figure CN118700152A
Patent Text Reader

Abstract

The invention discloses a cooperative control method, system and equipment of a double-arm robot, a medium and a product. The method comprises the steps that the double-arm robot is decoupled into a plurality of independent joint subsystems; independent motion planning is conducted on all the joint subsystems through the first processor, expected trajectories of all the joint subsystems are obtained, and the expected trajectories are sent to the second processor; a control instruction is generated through a second processor according to the expected track of each joint subsystem, and motion control is conducted on each joint of the double-arm robot based on the control instruction; complex planning and control tasks of the double-arm robot are distributed to different processors to be executed in parallel, the calculation performance of hardware is greatly exerted, the calculation efficiency is greatly improved, the real-time requirement is met, the real-time performance, efficiency, precision and intelligent level of the double-arm robot control system are improved, and the control system is suitable for large-scale popularization and application. And powerful technical support is provided for efficient, coordinated and accurate operation control of the double-arm robot.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of robot control technology, and in particular to a collaborative control method, system, equipment, medium and product of a dual-arm robot. Background Art

[0002] Robotics has been widely used and developed rapidly in the fields of industry, services, and medical treatment. Among them, dual-arm robots have shown unique advantages in performing complex operation tasks due to their higher flexibility and maneuverability. However, how to achieve efficient, coordinated, and precise dual-arm robot control has always been a major challenge in this field.

[0003] Traditional dual-arm robot control methods mainly adopt a centralized computing architecture, that is, integrating motion planning and motion control calculations into a single processor for execution. Although this method achieves computational consistency, it has low computational efficiency, is difficult to meet real-time requirements, and cannot fully utilize the advantages of modern parallel computing hardware. At the same time, control algorithms are usually concentrated in a single processor, and complex algorithms cannot be flexibly combined with simple algorithms, which reduces system performance. Summary of the invention

[0004] The present invention provides a collaborative control method, system, device, medium and product for a dual-arm robot to solve the problem that motion planning and motion control are concentrated in a single processor, the computational efficiency is low, and it is difficult to meet the real-time control requirements of the robot.

[0005] In a first aspect, an embodiment of the present invention provides a collaborative control method of a dual-arm robot, comprising:

[0006] Decouple the dual-arm robot into multiple independent joint subsystems;

[0007] Performing independent motion planning on each joint subsystem through the first processor to obtain a desired trajectory of each joint subsystem, and sending the desired trajectory to the second processor;

[0008] The second processor generates control instructions according to the expected trajectory of each joint subsystem, and performs motion control on each joint of the dual-arm robot based on the control instructions.

[0009] Furthermore, the step of decoupling the dual-arm robot into a plurality of independent joint subsystems includes:

[0010] According to the degrees of freedom of the dual-arm robot, it is decoupled into a plurality of independent joint subsystems with single degrees of freedom.

[0011] Furthermore, the step of using the first processor to independently perform motion planning on each of the joint subsystems to obtain the expected trajectory of each of the joint subsystems includes:

[0012] Obtaining motion planning tasks for each of the joint subsystems;

[0013] The motion planning tasks of each joint subsystem are distributed to different processing units on the first processor to perform parallel motion planning to obtain the expected trajectory of each joint subsystem.

[0014] Furthermore, the planning task of each joint subsystem is represented by an objective function and a constraint function, and the objective function is:

[0015]

[0016] The constraint function is:

[0017]

[0018] Where E is the energy consumption value, n is the number of joint subsystems, t 0 represents the initial time of the time series, tf represents the end time of the time series, θ i (t) represents the angle of the i-th joint at time t, represents the velocity of the i-th joint subsystem at time t, represents the acceleration of the i-th joint subsystem at time t, K 1 ~K 6 are weight coefficients of displacement, f(θi(t)) represents the constraint function of the joint angle position, represents the velocity constraint function, represents the acceleration constraint function, q i,max represents the maximum limit angle of the i-th joint, q i,min represents the minimum limiting angle of the i-th joint, represents the maximum speed limit of the i-th joint, represents the minimum limit speed of the i-th joint, represents the maximum limited acceleration of the i-th joint, Represents the minimum limit acceleration of the i-th joint.

[0019] Furthermore, the step of generating a control instruction according to the expected trajectory of each joint subsystem by the second processor, and controlling the motion of each joint of the dual-arm robot based on the control instruction includes:

[0020] Performing polynomial fitting on the expected trajectory of each joint subsystem through a second processor to obtain a polynomial function;

[0021] Generate joint positions corresponding to a periodic time series according to the polynomial function, and generate control instructions according to the joint positions at each moment in the periodic time series;

[0022] The control instruction is sent to the execution unit of each joint subsystem, so that the execution unit controls the movement of the corresponding joint subsystem according to the control instruction.

[0023] Furthermore, after the step of generating a control instruction according to the expected trajectory of each joint subsystem by the second processor, the method further includes:

[0024] Acquire motion state feedback information of the dual-arm robot through a sensor, and send the motion state feedback information to a second processor;

[0025] Performing data fusion on the motion state feedback information through the second processor to obtain a comprehensive motion state estimation value, and sending the state estimation value to the first processor;

[0026] The state deviation value between the comprehensive motion state estimation value and the expected trajectory is calculated by the first processor, a compensation value is determined according to the state deviation value and the controller parameters of the dual-arm robot, and the expected trajectory is corrected according to the compensation value.

[0027] In a second aspect, an embodiment of the present invention provides a collaborative control method system for a dual-arm robot, comprising:

[0028] A decoupling module, used to decouple the dual-arm robot into multiple independent joint subsystems;

[0029] A motion planning module, used for performing independent motion planning on each joint subsystem through the first processor, obtaining a desired trajectory of each joint subsystem, and sending the desired trajectory to the second processor;

[0030] The control module is used to generate control instructions according to the expected trajectory of each joint subsystem through a second processor, and perform motion control on each joint of the dual-arm robot based on the control instructions.

[0031] In a third aspect, an embodiment of the present invention provides an electronic device, the electronic device comprising:

[0032] At least two processors; and

[0033] A memory communicatively connected to the at least two processors; wherein,

[0034] The memory stores a computer program that can be executed by the at least two processors, and the computer program is executed by the at least two processors so that the at least two processors can execute the collaborative control method of the dual-arm robot described in any embodiment of the present invention.

[0035] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the collaborative control method of a dual-arm robot described in any embodiment of the present invention when executed.

[0036] In a fifth aspect, an embodiment of the present invention provides a computer program product including a computer program, which, when executed by a processor, implements the collaborative control method of the dual-arm robot described in any embodiment of the present invention.

[0037] The technical solution of the embodiment of the present invention is to decouple the dual-arm robot into multiple independent joint subsystems; perform independent motion planning for each joint subsystem through a first processor to obtain the expected trajectory of each joint subsystem, and send the expected trajectory to a second processor; generate control instructions according to the expected trajectory of each joint subsystem through the second processor, and perform motion control on each joint of the dual-arm robot based on the control instructions; and distribute the complex planning and control tasks of the dual-arm robot to different processors for parallel execution, thereby greatly utilizing the computing performance of the hardware, solving the problem of low computing efficiency and difficulty in meeting the real-time control requirements of the robot when motion planning and motion control are concentrated in a single processor, thereby achieving a significant improvement in computing efficiency, meeting real-time requirements, and improving the real-time, efficiency, accuracy and intelligence level of the dual-arm robot control system, thereby providing strong technical support for realizing efficient, coordinated and precise operation control of the dual-arm robot.

[0038] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0040] Figure 1 A flowchart of a collaborative control method of a dual-arm robot provided in Embodiment 1 of the present invention;

[0041] Figure 2 A schematic diagram of the structure of a collaborative control system of a dual-arm robot provided in Embodiment 3 of the present invention;

[0042] Figure 3 It is a structural schematic diagram of an electronic device for implementing the collaborative control method of a dual-arm robot according to an embodiment of the present invention. DETAILED DESCRIPTION

[0043] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0044] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0045] Embodiment 1

[0046] Figure 1 This is a flow chart of a collaborative control method for a dual-arm robot provided in Embodiment 1 of the present invention. This embodiment is applicable to the case of controlling the joints of a dual-arm robot. The method can be executed by a collaborative control system of a dual-arm robot. The collaborative control system of the dual-arm robot can be implemented in the form of hardware and / or software. The collaborative control system of the dual-arm robot can be configured in an electronic device. Figure 1 As shown, the method includes:

[0047] S110. Decouple the dual-arm robot into multiple independent joint subsystems.

[0048] Among them, the joint subsystem can be understood as a motion subsystem composed of a single robot joint.

[0049] Specifically, the dual-arm robot is composed of multiple joints, and the motion control of the dual-arm robot is composed of the motion control of each joint. The dual-arm robot is decoupled into multiple independent joint subsystems, and motion planning and motion control are performed on each joint subsystem separately.

[0050] In an optional embodiment, the step of decoupling the dual-arm robot into a plurality of independent joint subsystems includes: decoupling into a plurality of independent joint subsystems with a single degree of freedom according to the degree of freedom of the dual-arm robot.

[0051] Specifically, for a dual-arm robot with N degrees of freedom, it is decoupled into N independent joint subsystems with elastic degrees of freedom. Each joint subsystem can independently perform motion planning and motion control.

[0052] S120, performing independent motion planning on each joint subsystem through the first processor to obtain a desired trajectory of each joint subsystem, and sending the desired trajectory to the second processor.

[0053] The first processor may be understood as a processor for performing motion planning for the joint. The expected trajectory may be understood as the expected motion trajectory of the joint subsystem within a preset time period, and the expected trajectory may include: the expected position, velocity and acceleration of each joint in a time series.

[0054] Specifically, the first processor solves the motion planning task for each decoupled joint subsystem, determines the expected trajectory of each joint subsystem, and sends the expected trajectory to the second processor.

[0055] Exemplarily, shared memory, message queues, network transmission and other mechanisms may be used for data transmission between the first processor and the second processor. For example, during GPU parallel computing, the GPU's page-locked memory technology may be used to achieve efficient data exchange between the GPU and the CPU.

[0056] In an optional embodiment, the step of using the first processor to perform independent motion planning on each of the joint subsystems to obtain the expected trajectory of each of the joint subsystems includes: obtaining the motion planning task of each of the joint subsystems; allocating the motion planning task of each of the joint subsystems to different processing units on the first processor to perform parallel motion planning to obtain the expected trajectory of each of the joint subsystems.

[0057] Specifically, for a dual-arm robot with N degrees of freedom, a motion planning task of a joint subsystem of each degree of freedom of the dual-arm robot is obtained. The motion model of each joint subsystem is assigned to a corresponding processing unit in the first processor, and different processing units are used to perform parallel processing based on the motion model of the joint subsystem to obtain the expected trajectory of each joint subsystem.

[0058] Exemplarily, the motion planning task of each joint is encoded into a CUDA kernel program; different kernel programs are simultaneously assigned to multiple stream processing units of the CPU / GPU for parallel execution, which can fully utilize the large-scale parallel computing capabilities of the CPU / GPU and improve planning efficiency.

[0059] Optionally, the motion model of each joint subsystem takes minimization of energy consumption as the objective function, and joint angle position, velocity, acceleration, obstacle position and kinematic principles as constraint functions to represent the motion planning task of each joint subsystem.

[0060] In a specific embodiment, the objective function of each joint subsystem is:

[0061]

[0062] The constraint function is:

[0063]

[0064] Where E is the energy consumption value, n is the number of joint subsystems, t 0 represents the initial time of the time series, tf represents the end time of the time series, θ i (t) represents the angle of the i-th joint at time t, represents the velocity of the i-th joint subsystem at time t, represents the acceleration of the i-th joint subsystem at time t, K 1 ~K 6 are weight coefficients of displacement, f(θi(t)) represents the constraint function of the joint angle position, represents the velocity constraint function, represents the acceleration constraint function, q i,max represents the maximum limit angle of the i-th joint, q i,min represents the minimum limiting angle of the i-th joint, represents the maximum speed limit of the i-th joint, represents the minimum limit speed of the i-th joint, represents the maximum limited acceleration of the i-th joint, Represents the minimum limit acceleration of the i-th joint.

[0065] S130. Generate control instructions according to the expected trajectory of each joint subsystem through the second processor, and perform motion control on each joint of the dual-arm robot based on the control instructions.

[0066] The second processor can be understood as a processor for controlling the motion of the joint. Exemplarily, the first processor is a central processing unit (CPU), and the second processor is a graphics processing unit (GPU); or the first processor is a graphics processing unit (GPU), and the second processor is a central processing unit (CPU).

[0067] Specifically, after obtaining the desired trajectory, the second processor also uses the parallel computing framework to assign the control instruction generation task of each joint to different units of the second processor, encode the control algorithm of each joint into a CUDA kernel, and execute multiple kernels in parallel to achieve parallel generation of joint-level control instructions. The control instructions are sent to the execution unit (such as a servo motor) of each joint, and each joint execution unit controls the movement of the joint according to the instructions. Since the control instructions are derived from the same consistent desired trajectory, the coordination and unification of the time and space of all joint actions can be ensured, and the coordinated movement of the entire robot arm can be achieved.

[0068] It should be noted that since motion planning and motion control are parallel calculations, the desired trajectory needs to be transmitted between the first processor and the second processor. During parallel calculations, the calculation results of each joint need to be synchronized to ensure that the generated control instructions and the desired trajectory correspond accurately in time. The barrier synchronization method is adopted. For example, when the GPU is parallel, the synchronization mechanism of CUDA Stream and Event can be used to ensure that all joint calculation tasks are completed before subsequent operations.

[0069] In an optional embodiment, the step of generating control instructions according to the expected trajectory of each joint subsystem by a second processor, and performing motion control on each joint of the dual-arm robot based on the control instructions includes: performing polynomial fitting on the expected trajectory of each joint subsystem by a second processor to obtain a polynomial function; generating joint positions corresponding to a periodic time series according to the polynomial function, and generating control instructions according to the joint positions at each moment in the periodic time series; and sending the control instructions to the execution units of each joint subsystem, so that the execution units control the motion of the corresponding joint subsystem according to the control instructions.

[0070] Specifically, a polynomial fitting is performed on the expected trajectory of each joint subsystem using a least square method or other method to obtain a polynomial function, obtain the joint position at each moment in the periodic time series in the polynomial function, and generate a control instruction in each control cycle according to each moment in the periodic time series and the corresponding joint position. The control instruction is sent to the execution unit of the corresponding joint subsystem so that the execution unit controls the movement of the corresponding joint subsystem according to the control instruction.

[0071] This embodiment separates the motion planning and motion control of the dual-arm robot, and concurrently processes the motion trajectory planning task and the motion control task with higher complexity on the CPU and GPU, thereby improving computing efficiency.

[0072] In another optional embodiment, after the step of generating a control instruction according to the expected trajectory of each joint subsystem by the second processor, the method further includes:

[0073] Acquire motion state feedback information of the dual-arm robot through a sensor, and send the motion state feedback information to a second processor;

[0074] Performing data fusion on the motion state feedback information through the second processor to obtain a comprehensive motion state estimation value, and sending the state estimation value to the first processor;

[0075] The state deviation value between the comprehensive motion state estimation value and the expected trajectory is calculated by the first processor, a compensation value is determined according to the state deviation value and the controller parameters of the dual-arm robot, and the expected trajectory is corrected according to the compensation value.

[0076] Among them, the motion state feedback information can be understood as the state information fed back by the dual-arm robot after motion control. The motion state feedback information can be collected by sensors installed on the double-wall robot, such as force sensors, torque sensors, visual sensors or inertial measurement units (IMU). Force sensors or torque sensors are installed on joints or end effectors to measure the force and torque, visual sensors are used to obtain visual information of the robot's motion environment, and IMU can measure the robot's posture, angular velocity and acceleration.

[0077] Specifically, the motion state feedback information of the dual-arm robot is collected by sensors arranged at each joint of the dual-arm robot, and the motion state feedback information is sent to the second processor. The second processor uses a Kalman filter to perform data fusion on the motion state feedback information, obtains the comprehensive motion state estimation value of the dual-arm robot and the comprehensive motion state estimation value of the expected trajectory, and sends the state estimation value to the first processor. The first processor compares the comprehensive motion state estimation value with the expected trajectory, calculates the state deviation value of the two over time; determines the compensation value according to the controller parameters of the dual-arm robot, and corrects the expected trajectory with the compensation value, so that the control instruction can be updated by the second processor according to the corrected expected trajectory.

[0078] In this embodiment, a standardized data interface and communication protocol need to be established between the first processor and the second processor. The first processor sends the desired trajectory to the second processor for control instruction generation and motion control, and the second processor sends motion state feedback information back to the first processor for trajectory correction. Through the hierarchical control of the dual processors, the effective separation of computational complexity and real-time performance is achieved. The first processor can use complex algorithms for global optimization planning without worrying about real-time issues; the second processor is responsible for fast real-time closed-loop control to ensure accurate tracking.

[0079] The technical solution of the embodiment of the present invention is to decouple the dual-arm robot into multiple independent joint subsystems; perform independent motion planning for each joint subsystem through a first processor to obtain the expected trajectory of each joint subsystem, and send the expected trajectory to a second processor; generate control instructions according to the expected trajectory of each joint subsystem through the second processor, and perform motion control on each joint of the dual-arm robot based on the control instructions; and assign the complex planning and control tasks of the dual-arm robot to different processors for parallel execution, thereby greatly utilizing the computing performance of the hardware, achieving a significant improvement in computing efficiency, meeting real-time requirements, and improving the real-time, efficiency, accuracy and intelligence level of the dual-arm robot control system, thereby providing strong technical support for realizing efficient, coordinated and precise operation control of the dual-arm robot.

[0080] Embodiment 2

[0081] Figure 2 This is a schematic diagram of the structure of a collaborative control system of a dual-arm robot provided in Embodiment 3 of the present invention. Figure 2 As shown, the system includes: a decoupling module 210, a motion planning module 220 and a control module 230; wherein,

[0082] A decoupling module 210, used for decoupling the dual-arm robot into a plurality of independent joint subsystems;

[0083] A motion planning module 220, configured to perform independent motion planning on each of the joint subsystems through the first processor, obtain a desired trajectory of each of the joint subsystems, and send the desired trajectory to the second processor;

[0084] The control module 230 is used to generate control instructions according to the expected trajectory of each joint subsystem through a second processor, and perform motion control on each joint of the dual-arm robot based on the control instructions.

[0085] The technical solution of the embodiment of the present invention is to decouple the dual-arm robot into multiple independent joint subsystems; perform independent motion planning for each joint subsystem through a first processor to obtain the expected trajectory of each joint subsystem, and send the expected trajectory to a second processor; generate control instructions according to the expected trajectory of each joint subsystem through the second processor, and perform motion control on each joint of the dual-arm robot based on the control instructions; and assign the complex planning and control tasks of the dual-arm robot to different processors for parallel execution, thereby greatly utilizing the computing performance of the hardware, achieving a significant improvement in computing efficiency, meeting real-time requirements, and improving the real-time, efficiency, accuracy and intelligence level of the dual-arm robot control system, thereby providing strong technical support for realizing efficient, coordinated and precise operation control of the dual-arm robot.

[0086] Optionally, the decoupling module 210 is specifically used for:

[0087] According to the degrees of freedom of the dual-arm robot, it is decoupled into a plurality of independent joint subsystems with single degrees of freedom.

[0088] Optionally, the motion planning module 220 is specifically configured to:

[0089] Obtaining motion planning tasks for each of the joint subsystems;

[0090] The motion planning tasks of each joint subsystem are distributed to different processing units on the first processor to perform parallel motion planning to obtain the expected trajectory of each joint subsystem.

[0091] Optionally, the planning task of each joint subsystem is represented by an objective function and a constraint function, and the objective function is:

[0092]

[0093] The constraint function is:

[0094]

[0095] Where E is the energy consumption value, n is the number of joint subsystems, t 0represents the initial time of the time series, tf represents the end time of the time series, θ i (t) represents the angle of the i-th joint at time t, represents the velocity of the i-th joint subsystem at time t, represents the acceleration of the i-th joint subsystem at time t, K 1 ~K 6 are weight coefficients of displacement, f(θi(t)) represents the constraint function of the joint angle position, represents the velocity constraint function, represents the acceleration constraint function, q i,max represents the maximum limit angle of the i-th joint, q i,min represents the minimum limiting angle of the i-th joint, represents the maximum speed limit of the i-th joint, represents the minimum limit speed of the i-th joint, represents the maximum limited acceleration of the i-th joint, Represents the minimum limit acceleration of the i-th joint.

[0096] Optionally, the control module 230 is specifically used for:

[0097] Performing polynomial fitting on the expected trajectory of each joint subsystem through a second processor to obtain a polynomial function;

[0098] Generate joint positions corresponding to a periodic time series according to the polynomial function, and generate control instructions according to the joint positions at each moment in the periodic time series;

[0099] The control instruction is sent to the execution unit of each joint subsystem, so that the execution unit controls the movement of the corresponding joint subsystem according to the control instruction.

[0100] Optionally, also include:

[0101] A feedback information acquisition module, used to acquire motion state feedback information of the dual-arm robot through a sensor, and send the motion state feedback information to the second processor;

[0102] a state estimation module, configured to perform data fusion on the motion state feedback information through the second processor to obtain a comprehensive motion state estimation value, and send the state estimation value to the first processor;

[0103] A trajectory correction module is used to calculate the state deviation value between the comprehensive motion state estimation value and the expected trajectory through the first processor, determine a compensation value according to the state deviation value and the controller type of the dual-arm robot, and correct the expected trajectory according to the compensation value.

[0104] The collaborative control system of the dual-arm robot provided in the embodiment of the present invention can execute the collaborative control method of the dual-arm robot provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0105] Embodiment 3

[0106] Figure 3 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0107] like Figure 3 As shown, the electronic device 10 includes at least two processors 111 and 112, and a memory connected to the at least two processors 11 in communication, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least two processors, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0108] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0109] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The processor 11 executes the various methods and processes described above, such as the collaborative control method of the dual-arm robot.

[0110] In some embodiments, the collaborative control method of the dual-arm robot can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the collaborative control method of the dual-arm robot described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the collaborative control method of the dual-arm robot by any other appropriate means (for example, by means of firmware).

[0111] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0112] In some embodiments, the collaborative control method of the dual-arm robot can be implemented as a computer program, which is invisibly included in a computer program product. The computer program implements the collaborative control method of the dual-arm robot of the present invention when executed by a processor. The computer program product can be understood as a software product that mainly implements its solution through a computer program. The computer program for implementing the method of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the computer program, when executed by the processor, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The computer program can be executed entirely on the machine, partially on the machine, partially on the machine as an independent software package and partially on a remote machine, or entirely on a remote machine or server.

[0113] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0114] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0115] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0116] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0117] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0118] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A collaborative control method for a dual-arm robot, It is characterized in that include: Decouple the dual-arm robot into multiple independent joint subsystems; Performing independent motion planning on each joint subsystem through the first processor to obtain a desired trajectory of each joint subsystem, and sending the desired trajectory to the second processor; The second processor generates control instructions according to the expected trajectory of each joint subsystem, and performs motion control on each joint of the dual-arm robot based on the control instructions.

2. The method according to claim 1, It is characterized in that The step of decoupling the dual-arm robot into a plurality of independent joint subsystems comprises: According to the degrees of freedom of the dual-arm robot, it is decoupled into a plurality of independent joint subsystems with single degrees of freedom.

3. The method according to claim 1 or 2, It is characterized in that The step of performing independent motion planning on each joint subsystem by the first processor to obtain the expected trajectory of each joint subsystem comprises: Obtaining motion planning tasks for each of the joint subsystems; The motion planning tasks of each joint subsystem are distributed to different processing units on the first processor to perform parallel motion planning to obtain the expected trajectory of each joint subsystem.

4. The method according to claim 3, It is characterized in that The planning tasks of each joint subsystem are represented by an objective function and a constraint function, and the objective function is: The constraint function is: Where E is the energy consumption value, n is the number of joint subsystems, t 0 represents the initial time of the time series, tf represents the end time of the time series, θ i (t) represents the angle of the i-th joint at time t, represents the velocity of the i-th joint subsystem at time t, represents the acceleration of the i-th joint subsystem at time t, K 1 ~K 6 are weight coefficients of displacement, f(θi(t)) represents the constraint function of the joint angle position, represents the velocity constraint function, represents the acceleration constraint function, q i,max represents the maximum limit angle of the i-th joint, q i,min represents the minimum limiting angle of the i-th joint, represents the maximum speed limit of the i-th joint, represents the minimum limit speed of the i-th joint, represents the maximum limited acceleration of the i-th joint, Represents the minimum limit acceleration of the i-th joint.

5. The method according to claim 1, It is characterized in that The step of generating a control instruction according to the expected trajectory of each joint subsystem by the second processor, and controlling the motion of each joint of the dual-arm robot based on the control instruction comprises: Performing polynomial fitting on the expected trajectory of each joint subsystem through a second processor to obtain a polynomial function; Generate joint positions corresponding to a periodic time series according to the polynomial function, and generate control instructions according to the joint positions at each moment in the periodic time series; The control instruction is sent to the execution unit of each joint subsystem, so that the execution unit controls the movement of the corresponding joint subsystem according to the control instruction.

6. The method according to claim 1 or 5, It is characterized in that After the step of generating a control instruction according to the expected trajectory of each joint subsystem by the second processor, the method further includes: Acquire motion state feedback information of the dual-arm robot through a sensor, and send the motion state feedback information to a second processor; Performing data fusion on the motion state feedback information through the second processor to obtain a comprehensive motion state estimation value, and sending the state estimation value to the first processor; The state deviation value between the comprehensive motion state estimation value and the expected trajectory is calculated by the first processor, a compensation value is determined according to the state deviation value and the controller parameters of the dual-arm robot, and the expected trajectory is corrected according to the compensation value.

7. A collaborative control system for a dual-arm robot, It is characterized in that include: A decoupling module, used to decouple the dual-arm robot into multiple independent joint subsystems; A motion planning module, used for performing independent motion planning on each joint subsystem through the first processor, obtaining a desired trajectory of each joint subsystem, and sending the desired trajectory to the second processor; The control module is used to generate control instructions according to the expected trajectory of each joint subsystem through a second processor, and perform motion control on each joint of the dual-arm robot based on the control instructions.

8. An electronic device, It is characterized in that The electronic device comprises: At least two processors; and A memory communicatively connected to the at least two processors; wherein, The memory stores a computer program that can be executed by the at least two processors, and the computer program is executed by the at least two processors so that the at least two processors can execute the collaborative control method of the dual-arm robot according to any one of claims 1 to 6.

9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the collaborative control method of a dual-arm robot according to any one of claims 1 to 6 when executed.

10. A computer program product, It is characterized in that The computer program product comprises a computer program, which, when executed by a processor, implements the collaborative control method of the dual-arm robot according to any one of claims 1 to 6.

Citation Information

Cited By

  • Cooperative control method, system and equipment for parallel actions of multiple mobile platforms and medium

    CN119690065A

  • Hand-eye cooperative robot control system and method based on dynamic operator arrangement

    CN121348922A

  • Chip mounter double-cantilever parallel instruction interaction method and system and medium

    CN122111518A