Method for driving multiple mechanical arms

By acquiring the connection and degree-of-freedom parameters of the robotic arm, determining the combination of joint drive parameters and configuring them onto the robotic arm, the problem of writing separate drive codes for multiple degree-of-freedom robotic arms is solved, realizing unified drive and stable control of multiple robotic arms and reducing maintenance costs.

CN118876049APending Publication Date: 2024-11-01REALMAN ROBOT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410927946.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

In existing technologies, robotic arms with multiple degrees of freedom that are not completely identical need to have specific drive code written for each, resulting in low robustness of the control program and high maintenance costs. Furthermore, the control program needs to be modified when the type of degree of freedom changes, making it difficult to adapt to complex and ever-changing environments.

Method used

By acquiring the connection parameters and degree-of-freedom parameters of the robotic arm, the combination of joint drive parameters is determined and configured onto the corresponding robotic arm. By using loop detection of the robotic arm connection status to prevent communication connection timeout, a single driver program can control multiple robotic arms with different degrees of freedom.

Benefits of technology

This technology enables unified driving of multiple robotic arms with different degrees of freedom, reduces communication connection time, prevents timeouts, improves the adaptability and control stability of the robotic arms, and reduces maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118876049A_ABST
    Figure CN118876049A_ABST
Patent Text Reader

Abstract

The invention discloses a method for driving multiple mechanical arms. The method comprises the steps that connection parameters and degree-of-freedom parameters of all current mechanical arms to be operated are obtained; determining a joint driving parameter combination matched with each degree-of-freedom parameter; and based on the connection parameters of the to-be-operated mechanical arms, the determined joint driving parameter combinations are configured to the corresponding to-be-operated mechanical arms. According to the method, the determined joint driving parameter set is suitable for the multi-degree-of-freedom mechanical arm to control different types of mechanical arms, and the method can better adapt to complex and changeable use environments and specific use requirements.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of robot arm control, and in particular to a method for driving multiple robot arms. Background Art

[0002] As an important part of machinery, the research on robotic arms is of great significance. They are automatic operating devices that can grasp, move objects or operate tools in a fixed program by imitating certain movements and functions of human arms. At present, robotic arms have been paid attention to by many departments and have been used more and more widely.

[0003] The current ROS driver control method for robotic arms is generally that one driver controls one type of robotic arm. When using multiple robotic arms with different degrees of freedom at the same time, the current method is generally to write the corresponding driver code version in advance according to the characteristics of the robotic arm's degree of freedom type, and then use a specific driver to drive and control the corresponding robotic arm. When using a robotic arm with a specific degree of freedom type, we need to distinguish it. Once the driver does not match the actual degree of freedom type of the robotic arm, there may be problems such as being unable to control the robotic arm or even the robotic arm losing control unexpectedly. The control program has low robustness and is unstable. And after the degree of freedom type of the robotic arm is changed, the corresponding control program of the robotic arm needs to be modified, which will cause a considerable burden in actual use and maintenance.

[0004] In view of the problem that the existing technology cannot adapt well to the complex and changing environment, it is urgent to propose an effective method to overcome the difficulty that multiple robotic arms with different degrees of freedom need to correspond to customized drive control programs respectively to run simultaneously, so as to adapt to the environment where multiple robotic arms with different degrees of freedom need to be driven and controlled simultaneously. Summary of the invention

[0005] (I) Purpose of the invention

[0006] The purpose of the present invention is to propose a technical solution that can simultaneously drive multiple robotic arms with different degrees of freedom types, in order to address the problem that the prior art requires writing driving codes in advance according to the corresponding robotic arm degree of freedom type characteristics, which leads to high actual use cost and maintenance cost of the robotic arm.

[0007] (II) Technical solution

[0008] To solve the above problems, the first aspect of the present invention provides a method for driving multiple robotic arms, the method comprising: obtaining connection parameters and degree of freedom parameters of multiple robotic arms to be operated; determining a combination of joint drive parameters that matches each of the degree of freedom parameters; based on the connection parameters of each robotic arm to be operated, configuring each of the determined joint drive parameter combinations to the corresponding robotic arms to be operated, wherein the connection parameters and the robotic arms are matched one-to-one.

[0009] Preferably, in the method, "obtaining the degree of freedom parameters of multiple robotic arms to be operated" specifically includes: obtaining the joint quantity information of each robotic arm to be operated; and determining the degree of freedom parameters of each robotic arm to be operated based on the obtained joint quantity information.

[0010] Preferably, in the method, the joint driving parameters include: at least one of a joint voltage parameter, a joint current parameter, and a joint transparent transmission parameter.

[0011] Preferably, the method of "determining a combination of joint drive parameters that matches each of the degree of freedom parameters" specifically includes: comparing the acquired degree of freedom parameters with the degree of freedom verification parameters; if the degree of freedom parameters match the degree of freedom verification parameters, then determining a combination of joint drive parameters that matches each of the degree of freedom parameters.

[0012] Preferably, the method, "comparing the acquired degree of freedom parameters with the verification parameters" specifically includes: acquiring the version information of each robotic arm to be operated; determining the degree of freedom verification parameters of each robotic arm to be operated based on the acquired version information; judging whether the degree of freedom parameters of each robotic arm to be operated and the corresponding degree of freedom verification parameters are consistent; "if the degree of freedom parameters match the degree of freedom verification parameters, then determining the joint drive parameter combination that matches each degree of freedom parameter" specifically includes: if the degree of freedom parameters of each robotic arm to be operated and the corresponding degree of freedom verification parameters are consistent, then determining the joint drive parameter combination that matches each degree of freedom parameter.

[0013] Preferably, the method of "obtaining connection parameters of multiple robotic arms to be operated" specifically includes: obtaining connection function return parameters of each robotic arm to be operated; judging the connection status of the robotic arms to be operated based on the connection function return parameters; if all the robotic arms to be operated are successfully connected, obtaining the connection parameters of all current robotic arms to be operated.

[0014] Preferably, after "obtaining the connection parameters and degree of freedom parameters of the current multiple robotic arms to be operated", the method also includes: determining the joint error reporting configuration information that matches each of the degree of freedom parameters; based on the connection parameters of each robotic arm to be operated, matching the determined joint error reporting configuration information to the corresponding robotic arm to be operated for setting.

[0015] Preferably, the method, while "based on the connection parameters of each robotic arm to be operated, configures the determined joint drive parameter combination to the corresponding robotic arm to be operated", also includes: determining the connection status of each robotic arm to be operated once every preset time; if each robotic arm to be operated is in a normal connection state, continuously executing the joint drive parameter combination configuration step until the configuration is completed, otherwise stopping the joint drive parameter combination configuration step.

[0016] Preferably, in the method, when the robot arm to be operated is in an abnormal connection state and the joint drive parameter combination configuration step is stopped, the method also includes: obtaining the connection status of each robot arm to be operated again; if the connection status of each robot arm to be operated obtained again is normal, restarting the joint drive parameter combination configuration step.

[0017] Preferably, the method, while or after "obtaining the connection parameters of the current multiple robotic arms to be operated", also includes: obtaining additional function parameters of each robotic arm to be operated; determining a parameter configuration combination that matches each additional function parameter; based on the connection parameters of each robotic arm to be operated, matching the determined parameter configuration combination to the corresponding robotic arm to be operated, wherein the additional function parameters are non-joint drive parameters of the robotic arm.

[0018] (III) Beneficial effects

[0019] The above technical solution of the present invention has the following beneficial technical effects:

[0020] The present invention proposes a method for driving multiple robotic arms. The present invention solves the problem in the prior art that specific drive codes need to be written for different types of robotic arms with different degrees of freedom. By configuring the determined joint drive parameter combination to the corresponding robotic arm, a driver program can control multiple robotic arms with different degrees of freedom. In addition, by cyclically detecting the connection status of the robotic arm, the communication connection time can be reduced, and the timeout connection situation can be prevented during the communication connection, so that the robotic arm can adapt to a variety of usage environments. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 is a schematic diagram of steps of a method for driving a multi-manipulator according to an embodiment of the present invention;

[0022] Figure 2 It is a schematic diagram of the steps of obtaining the connection parameters of the robot arms to be operated in the method for driving multiple robot arms according to an embodiment of the present invention;

[0023] Figure 3 It is a schematic diagram of the steps of obtaining the degree of freedom parameters of the robot arms to be operated in the method for driving multiple robot arms according to an embodiment of the present invention;

[0024] Figure 4 It is a schematic diagram of the steps of matching joint error configuration information in the method for driving a multi-manipulator according to an embodiment of the present invention;

[0025] Figure 5 is a schematic diagram of the steps of determining a combination of joint driving parameters in a method for driving a multi-manipulator according to an embodiment of the present invention;

[0026] Figure 6 It is a schematic diagram of specific steps for determining a combination of joint driving parameters in a method for driving a multi-manipulator according to an embodiment of the present invention;

[0027] Figure 7 is a schematic diagram of the steps of determining the connection state of the robotic arms in the method for driving multiple robotic arms according to an embodiment of the present invention;

[0028] Figure 8 is a schematic diagram of the steps of matching parameter configuration combinations in a method for driving a multi-manipulator according to an embodiment of the present invention;

[0029] Fig. 9 It is a schematic diagram of the workflow of the method for driving a multi-robot arm according to an embodiment of the present invention. DETAILED DESCRIPTION

[0030] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention is further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings. It should be understood that these descriptions are only exemplary and are not intended to limit the scope of the present invention. In addition, in the following description, the description of well-known structures and technologies is omitted to avoid unnecessary confusion of the concept of the present invention.

[0031] Obviously, the described embodiments are only some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0032] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0033] In order to solve the above problems, the present invention proposes a method for driving multiple robotic arms. The method achieves the effect of driving multiple robotic arms with different degrees of freedom through one driver by configuring joint drive parameters matching the degrees of freedom of the robotic arms to the corresponding robotic arms. In addition, by cyclically detecting the connection status of the robotic arms, the communication connection is prevented from timeout.

[0034] Figure 1Schematic diagram of the steps of the method for driving a multi-manipulator according to an embodiment of the present invention. Figure 1 The steps of the method for driving the robot arm are described.

[0035] Step S110, obtaining connection parameters and degree of freedom parameters of multiple robot arms to be operated;

[0036] Step S120, determining a joint driving parameter combination that matches each degree of freedom parameter;

[0037] Step S130: Based on the connection parameters of each robot arm to be operated, the determined joint drive parameter combination is configured to the corresponding robot arm to be operated.

[0038] In the above implementation, the connection parameters are parameters containing unique connection information of each robot arm, such as the IP address, port or serial port encoding information of each robot arm, etc. There is a unique correspondence between the connection parameters and the robot arm, and based on the connection parameters, a specific robot arm can be matched.

[0039] The joint drive parameter combination includes at least one parameter for driving the joint, such as part or all of the joint current, joint voltage, joint speed, and joint transparent parameters (such as transparent parameters of each joint angle). By configuring the drive parameters of each joint of the robot arm, the control purpose of the robot arm is achieved.

[0040] In one embodiment, the determined joint driving parameters are configured to the robot arm to be operated with the corresponding degree of freedom, so that one driver can adapt to multiple robot arms with different degrees of freedom, eliminating the limitations of the existing robot arm control program during actual use.

[0041] According to some optional embodiments, in step S110, connection parameters and degree of freedom parameters of a plurality of robot arms to be operated are obtained. Figure 2 It is a schematic diagram of the steps of obtaining the connection parameters of the robot arms to be operated in the method for driving multiple robot arms according to an embodiment of the present invention. Figure 3 FIG. 1 is a schematic diagram of the steps of obtaining the degree of freedom parameters of the robot arm to be operated in the method for driving multiple robot arms according to an embodiment of the present invention. Figure 2 As shown, the steps of obtaining the connection parameters of the robot arm to be operated include:

[0042] Step S210, obtaining the connection function return parameters of each robot arm to be operated;

[0043] Step S220: judging the connection status of each robot arm to be operated based on the return parameter of the connection function;

[0044] Step S230: If the robot arm to be operated is connected successfully, the connection parameters and degree of freedom parameters of the robot arm to be operated are obtained.

[0045] In one embodiment, during the stage of determining the connection status of the robot arm to be operated, it can be determined whether the robot arm can establish a normal communication connection based on the connection status of the network cable or serial port of the robot arm.

[0046] like Figure 3 As shown, the steps to obtain the degree of freedom parameters of the robot arm to be operated are as follows:

[0047] Step S310, respectively obtain the joint quantity information of each robot arm to be operated;

[0048] Step S320: Determine the degree of freedom parameters of each robot arm to be operated according to the acquired joint quantity information.

[0049] In the above steps, the total number of the upper-line joints of the robotic arm can be determined by communicating with the joints of the robotic arm, so as to determine the degree of freedom parameters of the robotic arm according to the number of joints included in the robotic arm.

[0050] Before the step of obtaining the connection function return parameters of the plurality of mechanical arms to be operated, the method of the present invention further comprises:

[0051] The heartbeat function is used to connect with the robot arm at preset intervals.

[0052] In the above steps, the specific connection method with the robot arm is any robot arm connection method such as network connection, serial port connection, etc. By setting the preset time, the frequency cycle of cyclic connection with each robot arm can be determined. When the robot arm connection is successfully connected, the driver configuration program is entered and the connection function return parameters of the robot arm are obtained. If the robot arm is not connected, the operation of connecting the robot arm is started again after the preset time.

[0053] Based on the above settings, if the connection with the robot arm is not successful, the robot arm connection function is run in a non-blocking state. After the connection with the robot arm is successful, the blocking state of the program is restored to achieve the effect of periodically trying to establish a connection with the robot arm in a non-blocking state, thereby being in a cyclic state of waiting for the robot arm to connect successfully. This solves the problem that in the existing robot arm configuration scenario, the program needs to be started normally after connecting to the robot and waiting for a long time, thereby optimizing the drive configuration efficiency of the robot arm.

[0054] In one embodiment, after completing step S110, obtaining the connection parameters and degree of freedom parameters of multiple robot arms to be operated, Figure 4 is a schematic diagram of the steps of matching joint error configuration information in a method for driving a multi-manipulator according to an embodiment of the present invention, such as Figure 4 As shown, the method for driving the robotic arm also includes matching joint error configuration information, the steps are as follows:

[0055] Step S410, determining joint error configuration information matching the parameters of each degree of freedom;

[0056] Step S420: Based on the connection parameters of each robot arm to be operated, the determined joint error configuration information is matched to the corresponding robot arm to be operated for setting.

[0057] In the above steps, the joint error configuration information is the relevant setting parameters for determining the way to store, report and / or display joint control error information when the robot arm is running and controlling the movements of its joints. For example, the joint error configuration information may include error frequency, error log storage coverage period, error information display parameters, etc. By configuring the above joint error configuration information for each robot arm, the supervision intensity of different robot arms can be personalized according to the early warning inspection requirements of each robot arm.

[0058] After completing step S110, proceed to step S120 to determine a joint drive parameter combination that matches the parameters of each degree of freedom. Figure 5 Schematic diagram of the steps of determining the combination of joint driving parameters in the method for driving a multi-manipulator according to an embodiment of the present invention. Figure 5 As shown,

[0059] Step S510, comparing the obtained degree of freedom parameter with the degree of freedom verification parameter;

[0060] Step S520: If the degree of freedom parameters match the degree of freedom verification parameters, then determine the joint drive parameter combination that matches each degree of freedom parameter. Figure 6 Schematic diagram of specific steps for determining a combination of joint drive parameters in a method for driving a multi-manipulator according to an embodiment of the present invention. Figure 6 As shown,

[0061] Step S510 compares the obtained degree of freedom parameter with the degree of freedom verification parameter, including:

[0062] Step S610, obtaining version information of each robot arm to be operated;

[0063] Step S620: Determine the degree of freedom verification parameters of each robot arm to be operated according to the obtained version information;

[0064] Step S630, determining whether the degree of freedom parameters of each robot arm to be operated are consistent with the corresponding degree of freedom verification parameters;

[0065] In step S520, if the degree of freedom parameters match the degree of freedom verification parameters, then the joint drive parameter combination matching each degree of freedom parameter is determined to include:

[0066] Step S640: If the degree of freedom parameters of each robot arm to be operated are consistent with the corresponding degree of freedom verification parameters, a joint drive parameter combination matching each degree of freedom parameter is determined.

[0067] In the above implementation, the degree of freedom verification parameter may be a default degree of freedom parameter determined based on different versions of the robotic arm. For example, if a certain version model of a robotic arm has 6 degrees of freedom, the degree of freedom verification parameter of the robotic arm is 6. The degree of freedom verification parameter is a reference value of the degree of freedom stored in advance for each version of the robotic arm, and is retrieved based on the mapping of each robotic arm version in the multi-robotic arm control scenario. After the total number of online joints of the robotic arm is determined through the above-mentioned communication connection with all joints of the robotic arm, and then the degree of freedom parameters of each robotic arm are obtained, it is possible to determine whether the robotic arm is in a fully online and usable state by judging whether the obtained degree of freedom parameters are consistent with the degree of freedom verification parameters of the corresponding robotic arm, thereby ensuring that each joint of each robotic arm can be effectively controlled.

[0068] Furthermore, when the obtained degree of freedom parameters are inconsistent with the degree of freedom verification parameters of the corresponding robot arm, the connection drive work of the corresponding robot arm can be stopped, and a connection error message can be prompted to alarm. On this basis, the staff can re-obtain the degree of freedom parameters of the robot arm for matching verification by checking whether the degree of freedom verification parameters need to be modified or restarting the joint connection instructions of the robot arm.

[0069] After completing step S120, proceed to step S130, and configure the determined joint drive parameter combination to the corresponding robot arm to be operated based on the connection parameters of each robot arm to be operated. Figure 7 FIG. 1 is a schematic diagram of the steps of determining the connection state of the robotic arms in the method for driving multiple robotic arms according to an embodiment of the present invention. Figure 7 As shown,

[0070] Step S710, determining the connection status of each robot arm to be operated once every preset time;

[0071] Step S720: If all the waiting robot arms are in a normal connection state, the step of configuring the joint drive parameter combination to the corresponding waiting robot arm is continuously executed until the configuration is completed.

[0072] Step S730: If the robot arm to be operated is in an abnormal connection state, suspend the joint drive parameter combination configuration;

[0073] Step S740, obtaining the connection status of each robot arm to be operated again;

[0074] Step S750: If the connection status of each robot arm to be operated obtained again is normal, return to step S720.

[0075] In step S170, the connection status of each waiting robot arm is determined every preset time. By cyclically detecting the connection status of the robot arm, it can be ensured that the robot arm drive configuration work is always carried out when each robot arm can be effectively controlled and reliably connected and communicated. The offline robot arm can be found in time during the drive configuration process to ensure the timeliness of early warning and adjustment, and optimize the overall robot arm drive configuration efficiency. In addition, the method for driving the robot arm also includes matching the parameter configuration combination to the corresponding waiting robot arm. Figure 8 is a schematic diagram of the steps of matching parameter configuration combinations in the method for driving a multi-manipulator according to an embodiment of the present invention, such as Figure 8 As shown, at the same time or after completing step S110 to obtain the connection parameters of multiple robot arms to be operated,

[0076] Step S810, obtaining additional function parameters of each robot arm to be operated;

[0077] Step S820: determining a parameter configuration combination that matches each additional function parameter;

[0078] Step S830: Based on the connection parameters of each robot arm to be operated, the determined parameter configuration combination is matched to the corresponding robot arm to be operated, wherein the additional function parameters are non-joint drive parameters of the robot arm.

[0079] In the above implementation, the additional function parameters are non-joint control parameters of the robot arm, such as the working radius parameters of the robot arm, the effective load / load deadweight ratio parameters, etc. According to the joint drive parameters, the robot arm can be driven to run in a set posture change process. On this basis, in conjunction with the additional function parameters, the specific movement of the robot arm can be further planned according to the tasks that the robot arm needs to perform, such as controlling the robot arm to grab and transport objects in a set posture. The acquisition of the above additional function parameters can be determined based on the specific type information of the robot arm (the degree of freedom parameters, type, and specific model of the robot arm). Specifically, a mapping relationship between a robot arm with a specific degree of freedom and a combination of additional function parameters can be established in advance, so that after determining the degree of freedom parameters of the currently connected robot arm, the matching additional function parameters can be retrieved for use.

[0080] Fig. 9 Schematic diagram of the working process of the method for driving a multi-manipulator according to an embodiment of the present invention. Fig. 9 The workflow of the method for driving a multi-manipulator is described.

[0081] First, loop through the connection of each robot arm and obtain the connection parameters and degree of freedom parameters of the current robot arm to be operated. Specifically, obtaining the connection parameters of the current robot arm to be operated includes first obtaining the connection function return parameters of each robot arm, and then judging the connection status of the robot arm to be operated based on the obtained connection function return parameters. When the robot arm to be operated is successfully connected, the connection parameters of the robot arm to be operated are obtained. Obtaining the degree of freedom parameters of the current robot arm to be operated includes, after connecting the robot arm, obtaining the number of joints of the current multiple robot arms to be operated, and then determining the degree of freedom parameters of each robot arm to be operated based on the obtained number of joints information. If the robot arm connection fails, the connection of the robot arm is repeated until the robot arm is successfully connected.

[0082] After obtaining the connection parameters and degree of freedom parameters of the current robot arm to be operated, determine the combination of joint drive parameters that match each degree of freedom parameter. Specifically, determining the combination of joint drive parameters that match each degree of freedom parameter includes comparing the obtained degree of freedom parameter with the degree of freedom verification parameter. If the degree of freedom parameter matches the degree of freedom verification parameter, then determine the combination of joint drive parameters that match each degree of freedom parameter. In addition, the joint drive parameters include: at least one of: joint voltage parameters, joint current parameters, and joint transmission parameters.

[0083] In the step of determining the joint drive parameter combination matching each degree of freedom parameter, comparing the obtained degree of freedom parameter with the degree of freedom verification parameter includes first obtaining the version information of each robot arm to be operated, then determining the multi-degree of freedom verification parameters of each robot arm to be operated according to the obtained version information, and judging whether the degree of freedom parameters of each robot arm to be operated and the corresponding degree of freedom verification parameters are consistent. If the degree of freedom parameters of each robot arm to be operated and the corresponding degree of freedom verification parameters are consistent, then determining the joint drive parameter combination matching each degree of freedom parameter.

[0084] In addition, after obtaining the connection parameters and degree of freedom parameters of multiple robotic arms to be operated, it also includes determining the joint error reporting configuration information that matches each degree of freedom parameter, and based on the connection parameters of each robotic arm to be operated, matching the determined joint error reporting configuration information to the corresponding robotic arm to be operated for setting.

[0085] After the joint drive parameter combination matching each degree of freedom parameter is determined, the determined joint drive parameter combination is configured to the corresponding robotic arm to be operated based on the connection parameters of each robotic arm to be operated, and the connection status of each robotic arm to be operated is determined once every preset time. If each robotic arm to be operated is in a normal connection state, the joint drive parameter combination configuration step is continuously executed until the configuration is completed. If the robotic arm to be operated is in an abnormal connection state and the joint drive parameter combination configuration step is stopped, the connection status of each robotic arm to be operated is obtained again. If the connection status of each robotic arm to be operated obtained again is normal, the joint drive parameter combination configuration step is restarted.

[0086] In addition, after completing the acquisition of the connection parameters of the plurality of mechanical arms to be operated, the method further includes acquiring the additional function parameters of each mechanical arm to be operated, and determining the parameter configuration combination matching the additional function parameters. Based on the connection parameters of each mechanical arm to be operated, the determined parameter configuration combination is matched to the corresponding mechanical arm to be operated, wherein the additional function parameters are the non-joint drive parameters of the mechanical arm.

[0087] The present invention relates to a method for driving multiple robotic arms. In view of the problem that the prior art requires the corresponding driving code to be written in advance according to the type characteristics of the robotic arms when operating the robotic arms, the present invention configures the joint driving parameter combination on the robotic arms of the corresponding degrees of freedom, and uses a method for cyclically detecting the connection status of the robotic arms, so that the robotic arms can be better adapted to the complex and changeable use environment and specific use requirements. Through the method of driving multiple robotic arms of the present invention, it is possible to allow the use of robotic arms with different execution capabilities in the same task scenario. For example, when a large robotic arm with excellent load carrying capacity and a large arm span and a small robotic arm with high flexibility but average load capacity and a small arm span are required to be run together, two different robotic arms can be controlled simultaneously based on a set of control logic of the present invention, reducing the setting amount of the drive control program, and facilitating the integration of robotic arms with different characteristics on the same device for coordinated control operations. The method of driving multiple robotic arms of the present invention is universal for different robotic arms, has a variety of adaptable operating environments, is not limited to the types of applicable robotic arms, and has a good use effect.

[0088] Based on any of the above embodiments, the method of the present invention further includes:

[0089] Get the number of robotic arms expected to run;

[0090] Compare the expected number of running arms with the number of successfully connected arms;

[0091] If the difference between the number of expected running robotic arms and the number of successfully connected robotic arms is less than the set number, the driving parameters are configured for the successfully connected robotic arms and the robotic arms are controlled to execute their corresponding trajectories to be run respectively.

[0092] In the above steps, the number of robotic arms expected to be in operation is pre-set according to the total number of robotic arms in the current working environment, representing the total number of robotic arms expected to be in operation. By implementing the above steps, when some robotic arms are offline or fail, part of the work can be performed by the normally operating robotic arms first, so that the maintenance or replacement of offline or failed robotic arms can be performed simultaneously with the planned tasks, thereby speeding up the overall work efficiency.

[0093] Furthermore, the steps of controlling the robotic arms to respectively execute their corresponding trajectories to be run include:

[0094] Obtain the working space range data of each successfully connected robotic arm;

[0095] Based on the workspace range data of each successfully connected robotic arm, determine whether the workspaces of each successfully connected robotic arm interfere with each other;

[0096] If the working spaces of the successfully connected robotic arms do not interfere with each other, the robotic arms are controlled to execute their corresponding trajectories to be run.

[0097] In the above steps, the working space range data of the robot arm is the maximum boundary range that can be reached during the operation of each robot arm. The space range data can be the preset electronic fence setting parameters of each robot arm, the trajectory parameters of all the operable paths of each robot arm, etc. The standard for judging whether the working spaces of each successfully connected robot arm interfere with each other can be that there is no overlap between any two working spaces, or the distance between any two working spaces is greater than the set distance.

[0098] When the working spaces of the robotic arms do not interfere with each other, it means that the working environments of the robotic arms are independent and do not interfere with each other. There will be no situation where offline or faulty robotic arms block the operating paths of other robotic arms, ensuring that the successfully connected robotic arms have a basic barrier-free operating environment.

[0099] It should be understood that the above specific embodiments of the present invention are only used to illustrate or explain the principles of the present invention, and do not constitute a limitation of the present invention. Therefore, any modifications, equivalent substitutions, improvements, etc. made without departing from the spirit and scope of the present invention should be included in the protection scope of the present invention. In addition, the appended claims of the present invention are intended to cover all changes and modifications that fall within the scope and boundaries of the appended claims, or the equivalent forms of such scope and boundaries.

[0100] The present invention has been described above with reference to the embodiments of the present invention. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of the present invention. The scope of the present invention is defined by the appended claims and their equivalents. Without departing from the scope of the present invention, a person skilled in the art may make various substitutions and modifications, which should all fall within the scope of the present invention.

[0101] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0102] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0103] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

Claims

1. A method for driving a multi-robot arm, characterized in that: The method comprises: Obtain connection parameters and degree of freedom parameters of multiple robot arms to be operated; Determining a combination of joint drive parameters that matches each of the degree of freedom parameters; Based on the connection parameters of each robot arm to be operated, the determined joint drive parameter combinations are configured to the corresponding robot arm to be operated, wherein: The connection parameters are matched one-to-one with the robot arm.

2. The method according to claim 1, characterized in that "Obtaining the degree of freedom parameters of multiple robot arms to be operated" specifically includes: Obtain information on the number of joints of each robot arm to be operated; Determine the degree of freedom parameters of each robot arm to be operated according to the acquired joint quantity information.

3. The method according to claim 1, characterized in that The joint driving parameters include: at least one of a joint voltage parameter, a joint current parameter, and a joint transparent transmission parameter.

4. The method according to claim 1, characterized in that: “Determining a combination of joint drive parameters that matches each of the degree of freedom parameters” specifically includes: Comparing the obtained degree of freedom parameter with the degree of freedom verification parameter; If the degree of freedom parameters match the degree of freedom verification parameters, then a joint drive parameter combination matching the degree of freedom parameters is determined.

5. The method according to claim 4, characterized in that “Comparing the obtained degree of freedom parameter with the verification parameter” specifically includes: Get the version information of each robot arm to be operated; Determine the degree of freedom verification parameters of each robot arm to be operated according to the obtained version information; Determine whether the degree of freedom parameters of each robot arm to be operated are consistent with the corresponding degree of freedom verification parameters; “If the degree of freedom parameters match the degree of freedom verification parameters, then determining the joint drive parameter combination that matches each of the degree of freedom parameters” specifically includes: If the degree of freedom parameters of each robot arm to be operated are consistent with the corresponding degree of freedom verification parameters, a joint drive parameter combination matching each degree of freedom parameter is determined.

6. The method according to claim 1, characterized in that "Obtaining connection parameters of multiple robot arms to be operated" specifically includes: Get the connection function return parameters of each robot arm to be operated; Based on the return parameters of the connection function, determine the connection status of the robot arm to be operated; If the robot arm to be operated is connected successfully, the connection parameters of the robot arm to be operated are obtained.

7. The method according to claim 1, characterized in that After "obtaining connection parameters and degree of freedom parameters of multiple robot arms to be operated", the method further includes: Determining joint error reporting configuration information matching each of the degree of freedom parameters; Based on the connection parameters of each robot arm to be operated, the determined joint error configuration information is matched to the corresponding robot arm to be operated for setting.

8. The method according to claim 1, characterized in that While "configuring the determined joint drive parameter combination to the corresponding robot arm to be operated based on the connection parameters of each robot arm to be operated", the method also includes: Determine the connection status of each robot arm to be operated once every preset time; If all the robot arms to be operated are in a normal connection state, the joint drive parameter combination configuration step is continuously executed until the configuration is completed; otherwise, the joint drive parameter combination configuration step is stopped.

9. The method according to claim 8, characterized in that When the robot arm to be operated is in an abnormal connection state and the joint drive parameter combination configuration step is stopped, the method further includes: Get the connection status of each robot arm to be operated again; If the connection status of each robot arm to be operated obtained again is normal, the joint drive parameter combination configuration step is restarted.

10. The method according to claim 1, characterized in that At the same time or after "obtaining connection parameters of multiple robot arms to be operated", the method further includes: Obtain additional function parameters of each robot arm to be operated; Determining a parameter configuration combination that matches each of the additional function parameters; Based on the connection parameters of each robot arm to be operated, the determined parameter configuration combination is matched to the corresponding robot arm to be operated, wherein: The additional function parameters are non-joint drive parameters of the robotic arm.