Control method for universal control module of mechanical arm

Through the robotic arm general control module establishes communication connections with each joint, determines the type of robotic arm and formulates a control plan, solving the problem of insufficient universality and interchangeability of the robotic arm control system in the prior art, realizing plug-and-play and High stability, meet the needs of various types of robotic arms.

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

Patent Information

Application Number
CN202410927990.7
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

Due to different types of existing robotic arm control systems, they are insufficient in versatility and interchangeability, resulting in waste of resources and difficulty in maintenance. It is necessary to design a special control system for each robotic arm, which increases the R&D cost and maintenance burden.

Method used

Through the general control module of the robot arm, establish communication connections with each joint, obtain joint model and information, determine the robot arm type, and determine the control plan based on the type and task instructions, realize plug-and-play, reduce the difficulty of design and debugging, improve applicability and stability sex.

Benefits of technology

It realizes universal control of multiple types of robotic arms, reduces the difficulty of design and debugging, improves the applicability and stability of the control system, and meets customers' needs for multiple types of robotic arms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118876050A_ABST
    Figure CN118876050A_ABST
Patent Text Reader

Abstract

The invention discloses a control method for a universal control module of a mechanical arm. The control method comprises the steps that the universal control module is in communication connection with all joints of the current mechanical arm; obtaining basic information of all joints, wherein the basic information comprises ID information and functional parameter information of the joints; according to the basic information of all the joints, the type of the current mechanical arm is determined; and based on the type of the current mechanical arm and the task instruction, a control scheme of the current mechanical arm is determined. Communication connection is established with all the joints based on the mechanical arm universal control module, the models and information of all the joints of the mechanical arms are obtained, a control system does not need to be designed for each mechanical arm independently, the plug-and-play purpose is achieved, the requirements of clients for various types of mechanical arms are met, the design and debugging difficulty is reduced, and the design and debugging efficiency is improved. And the applicability and the stability of the control system are improved.
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 control method of a universal control module of a robot arm. Background Art

[0002] With the rapid development of robots and artificial intelligence, robot operating arms have also developed rapidly. Due to the diversity of application scenarios, there are more and more types of robotic arms, such as size, length, and joint freedom. Usually, a robotic arm is composed of a robotic arm body composed of several joints and a controller. Usually, due to the different shapes of robotic arms, the controllers are also different, and the versatility and interchangeability are greatly limited, which causes waste of resources and inconvenience in use in some scenarios. The above-mentioned dedicated robotic arm control system uses a one-to-one controller, which increases the R&D cost, and the daily maintenance of the dedicated robotic arm controller is difficult, which puts a great burden on the operation and maintenance personnel; in addition, some usage scenarios such as teaching and solution verification stages cause great waste of resources. Summary of the invention

[0003] The purpose of an embodiment of the present invention is to provide a control method for a universal control module of a robotic arm. By establishing a communication connection with each joint based on the universal control module of the robotic arm, the model and information of each joint of the robotic arm can be obtained. There is no need to design a control system for each robotic arm separately, thus achieving the purpose of plug-and-play, meeting customer needs for various types of robotic arms, reducing the difficulty of design and debugging, and improving the applicability and stability of the universal control system.

[0004] In order to solve the above technical problems, a first aspect of an embodiment of the present invention provides a control method of a universal control module of a robotic arm, the control method comprising:

[0005] Make the universal control module communicate and connect with all joints of the current robotic arm respectively;

[0006] Obtaining basic information of all joints, wherein the basic information includes ID information and function parameter information of the joints;

[0007] Determine the type of the current robotic arm according to the basic information of all the joints;

[0008] Determine the control scheme of the current robotic arm based on the type of the current robotic arm and the task instructions.

[0009] Further, the universal control module of the robotic arm is communicatively connected with all joints of the robotic arm respectively, including:

[0010] The universal control module of the mechanical arm receives a connection permission frame sent by the joint controller of each joint;

[0011] Based on the connection permission frame, sending a beacon frame to the joint controller that has sent the connection permission frame through the universal control module;

[0012] Receiving response information corresponding to the beacon frame sent by the joint controller, wherein the response information includes: a joint ID and a response connection code;

[0013] Verifying the joint ID and the response connection code based on the universal control module, and sending a connection request to the joint controller if the verification passes;

[0014] A request response corresponding to the connection request sent by the joint controller is received to complete the connection between the universal control module and the joint.

[0015] Further, the response connection code of the joint controller includes: an arbitration field, a control field and a data field;

[0016] The data field includes: instruction type, register ID and register value.

[0017] Further, the response connection code includes: a joint key corresponding to each of the joints;

[0018] The verifying the joint ID and the response connection code based on the universal control module includes:

[0019] Acquire the response connection code sent by the joint controller based on the universal control module, and obtain the joint key in the data domain after parsing;

[0020] Performing key verification on the joint ID according to the joint secret key;

[0021] After the verification is passed, a connection request is sent to the corresponding joint controller.

[0022] Furthermore, before the universal control module based on the robotic arm receives the connection permission frame sent by the joint controller of each joint, it also includes:

[0023] After the robot arm is powered on, each joint controller sends the connection permission frame to the universal control module once. If the beacon frame returned by the universal control module is not received within a preset time, the connection permission frame is sent again until the beacon frame is received.

[0024] Furthermore, the basic information of all the joints is obtained, wherein the basic information includes the ID information and function parameter information of the joints, including:

[0025] Get the number of all the joints;

[0026] Based on each of the joint IDs, the type, voltage range, current range and limit angle of the corresponding joint are obtained.

[0027] Furthermore, after determining the current robot arm type and function parameters, the method further includes:

[0028] The initial posture information of each joint is obtained, wherein the initial posture information includes: initial position information and initial angle information of the joint and initial voltage information and initial current information of the joint driving motor.

[0029] Further, the universal control module includes: an external multi-protocol communication module, the multi-protocol communication module includes a plurality of communication units, and the plurality of communication units respectively correspond to a communication protocol;

[0030] The method of making the universal control module communicate and connect with all joints of the current robotic arm respectively includes:

[0031] Based on the communication protocol of the joint controller, the corresponding communication unit establishes data connection with several joint controllers of the current robot arm.

[0032] Further, the universal control module includes: a built-in multi-protocol communication module, the multi-protocol communication module includes a plurality of communication units that are integrated, and the plurality of communication units correspond to a communication protocol respectively;

[0033] The universal control module based on the mechanical arm receives a connection permission frame sent by the joint controller of each joint, including:

[0034] Sending inquiry information to the joints respectively through the plurality of communication units, wherein the inquiry information corresponds to a communication protocol;

[0035] Receiving response information returned by the joint;

[0036] The communication unit receives a connection permission frame of the joint based on receiving the response information.

[0037] The sending inquiry information to the joints respectively through the plurality of communication units comprises:

[0038] Sending the inquiry information to the joint according to the information sending order of the preset inquiry priority;

[0039] If the response information returned by the joint currently being queried is received, then stop sending the query information of the next query priority level; otherwise, continue with the next query operation until the response information is received.

[0040] Correspondingly, a second aspect of an embodiment of the present invention provides a robot, which controls the movement of a robot arm by using the control method of the above-mentioned robot arm universal control module.

[0041] Accordingly, a third aspect of an embodiment of the present invention provides an electronic device, comprising: at least one processor; and a memory connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor executes the control method of the above-mentioned robot arm general control module.

[0042] Correspondingly, a fourth aspect of an embodiment of the present invention provides a computer-readable storage medium having computer instructions stored thereon, which, when executed by a processor, implement the control method of the above-mentioned universal control module of the robotic arm.

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

[0044] By adopting a universal control system, the control system of the robotic arm can be applied to various types of robotic arms. There is no need to design a control system for each robotic arm separately. A plug-and-play method is used to instantly establish a connection with each robotic arm, which meets the customer's needs for various types of robotic arms, reduces the difficulty of design and debugging, and improves the applicability and stability of the control system. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 is a flow chart of a general control method for a robotic arm provided by an embodiment of the present invention;

[0046] Figure 2 It is a schematic diagram of handshake protocol interaction provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0047] 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.

[0048] Please refer to Figure 1 A first aspect of an embodiment of the present invention provides a control method for a universal control module of a robotic arm, the control method comprising:

[0049] Step S100, enabling the universal control module to communicate with all joints of the current robotic arm respectively.

[0050] Step S200, obtaining basic information of all joints, the basic information including joint ID information and function parameter information.

[0051] Correspondingly, the basic information of the joint includes, in addition to the ID information and function parameter information, also the joint position information, angle information, and the voltage and current values ​​of the drive motor.

[0052] Step S300, determining the type of the current robotic arm according to the basic information of all joints.

[0053] By determining the type of the current robotic arm, you can obtain the various specific parameter types and corresponding data ranges of the current robotic arm, such as: degrees of freedom, effective load, body weight, heavy-load positioning accuracy, working radius, one-dimensional range, one-dimensional accuracy, power supply voltage, joint motion range, and maximum joint speed.

[0054] Furthermore, the above communication methods may include: WIFI, network port, Bluetooth, USB serial port and RS485, etc., and the above control methods may also include: drag-and-drop teaching, teaching pendant, API and JSON, etc.

[0055] Step S400, determining a control scheme for the current robotic arm based on the type of the current robotic arm and the task instruction.

[0056] The above task instructions are obtained for the specific application scenario of the current robotic arm, for example: completing the action of grabbing an object from A to B in an intelligent sorting scenario, or the work that the robotic arm needs to complete in other scenarios.

[0057] In order to improve the versatility of the robotic arm controller, the robotic arm universal control module can dynamically identify the type of the current robotic arm (such as a six-axis robotic arm, a seven-axis robotic arm) by dynamically detecting several joints. Each joint is assembled together like a modular system. The robotic arm universal control module starts data communication with the joints through a handshake protocol (connection verification process).

[0058] The main body of the robot arm is composed of several joints, each of which is composed of a motor and a controller. Different types of joints are distinguished by unique joint IDs, so that the basic parameters such as voltage range, current range, and limit angle corresponding to each joint can be determined by the joint ID. Different types and numbers of joint combinations constitute different types of robot arms, so that different types of robot arms have different functional parameter combinations (the functional parameter combinations include the parameters such as degrees of freedom listed above). By clarifying the type of robot arm, the operations that the robot arm can perform can be determined, which is convenient for operating operation planning according to the type of the robot arm. The universal control module communicates with the joint controllers of each joint of the robot arm. All joints and the universal control module can use a request-response communication method. The universal control module obtains joint function information or sets joint postures by sending various query requests, such as querying and setting the current, voltage, position, angle, etc. of each joint.

[0059] For details, please refer to Figure 2 The step S100 of making the universal control module of the robot arm communicate with all the joints of the robot arm respectively includes:

[0060] Step S110 : The universal control module based on the robotic arm receives a connection permission frame sent by the joint controller of each joint.

[0061] Step S120: Based on the connection permission frame, a beacon frame is sent to the joint controller that has sent the connection permission frame through the universal control module.

[0062] Step S130, receiving response information corresponding to the beacon frame sent by the joint controller, wherein the response information includes: a joint ID and a response connection code.

[0063] Step S140: verify the joint ID and the response connection code based on the universal control module, and send a connection request to the joint controller if the verification passes.

[0064] Step S150, receiving a request response corresponding to the connection request sent by the joint controller, and completing the connection between the universal control module and the joint.

[0065] Furthermore, the universal control module of the robot arm uses the query response mode to establish a data connection with each joint of the robot arm; the response connection code of the joint controller includes: arbitration field, control field and data field; the arbitration field, control field and data field are all frame formats of the communication protocol. The data field includes: instruction type, register ID and register value.

[0066] Optionally, the communication protocol may be one of the CAN bus protocol, the 485 bus protocol and the EtherCAT protocol, or other suitable communication protocol types may be used.

[0067] The universal control module of the robot arm and several joint controllers adopt the query response mode. The response frame of the joint controller includes arbitration field, control field and data field. The first byte in the data field is the instruction type, the second byte is the register ID, and the third byte is the register value. Each joint maintains a readable and writable register address table. Each register address represents a different data type, such as: address 0x0001 stores the joint ID, address 0x0002 represents the joint voltage, and address 0x0003 represents the joint current.

[0068] Accordingly, in step S140, the joint ID and the response connection code are verified based on the universal control module, including:

[0069] Step S141, based on the universal control module, the response connection code sent by the joint controller is obtained, and the joint key in the data domain is obtained after parsing.

[0070] Step S142, performing key verification on the joint ID according to the joint key.

[0071] Step S143, after the verification is passed, a connection request is sent to the corresponding joint controller.

[0072] In addition, in order to enable the universal control module of the robotic arm to verify the identity information of each joint, the response frame data field sent by the joint controller to the universal control module also includes: a joint key that corresponds one to one with the joint; when the universal control module is connected to the joint controller, it obtains the joint key and verifies it, and establishes data communication with the joint controller after the key verification is passed.

[0073] Furthermore, before the universal control module based on the robotic arm in step S110 receives the connection permission frame sent by the joint controller of each joint, it also includes:

[0074] Step S100, after the robot arm is powered on, each joint controller sends a connection permission frame to the universal control module once. If a beacon frame returned by the universal control module is not received within a preset time, the connection permission frame is sent again until a beacon frame is received.

[0075] After the robotic arm is powered on, each joint controller enters idle mode after being powered on, and periodically sends a connection permission frame. The universal control module receives the connection permission frame, and sends a beacon frame to the joint controller based on the connection permission frame. After receiving the beacon frame, the joint controller sends a response frame data field containing the joint ID number and the joint key to the universal control module. The universal control module receives the response frame data field and verifies the joint ID number and the joint key. After the verification is passed, data communication is established with the joint controller.

[0076] When the universal control module is connected to the robot arm, the handshake protocol is used to identify the model of the robot arm and the identity information of each of its joints. All joints will enter idle mode after power is supplied. The joint controller in idle mode will periodically broadcast and send a connection permission frame, indicating that the current joint is in an unconnected state. The connection permission frame contains the current joint ID number. When the universal control module detects a connection permission frame sent by the joint controller, it will send a beacon frame to query the current idle joint. After receiving the beacon frame request, the slave controller of the idle joint will reply with a beacon frame response message. The response frame data field contains the joint ID and the joint key (link key). The joint ID number indicates the model and basic parameters of the joint. The link key is the unique key of the joint. The universal control module determines the validity of the joint through this joint key. When the joint ID number and the joint key are verified, the universal control module sends the corresponding joint connection request. After receiving the connection request, the joint will send an access request response, and the entire joint access is completed. Then, all joints complete the above handshake operation in turn.

[0077] Permit frame: The joint is currently in the waiting state, and the frame contains the joint ID, model and other information. Beacon frame: The controller sends a broadcast request to query whether there is a device to be connected; if it passes, it enters the joint connection process, verifies the secret key and connects.

[0078] Furthermore, the basic information of all joints is obtained in step S200, and the basic information includes the ID information and function parameter information of the joints, including:

[0079] Step S210, obtaining the number of all joints.

[0080] Step S220, based on each joint ID, obtain the type, voltage range, current range and limit angle of the corresponding joint.

[0081] When the controller and all joints complete the handshake communication operation, the controller will obtain the currently connected joint information table, such as: {0x06, 0x03, 0x03, 0x01, 0x01, 0x01}, and the controller can determine the number of joints and the degree of freedom of the joints through the joint ID table. The type of each joint, the voltage range, current range, limit angle and other basic parameters of the joint can be determined by the ID value. Track and calculate the current robot model and basic information. Data communication can complete the reading of the current information of the joint and the setting of the current posture. For example, read the voltage, current, position, angle and other information of each joint, and set the position, voltage, current, angle and other information of each joint.

[0082] In addition, after determining the current robot arm type and function parameters in step S300, the following steps are further included:

[0083] Step S310, acquiring initial posture information of each joint, the initial posture information including: initial position information and initial angle information of the joint and initial voltage information and initial current information of the joint drive motor.

[0084] Furthermore, the universal control module is provided with an aviation plug interface component, which includes: a 24V DC power line port, a communication port, an IO line port at the end of the robot arm, and a 485 control line port at the end of the robot arm.

[0085] Specifically, a controller installation compartment is provided on the robot body (such as the base position of the robot arm away from the end effector connection end), and the universal control module is provided inside the installation compartment. The universal control module adopts a miniaturized structure and is connected to the above-mentioned installation compartment using a standard interface.

[0086] The design of the general control module mentioned above mainly includes the real-time control layer and the task planning layer. The real-time control layer is mainly responsible for real-time communication with the robot, robot type identification, motion algorithm, robot joint management and other functions. The task planning layer is responsible for the development of application layer functions, such as socket communication, modbus protocol, script programming, posture teaching, online programming and other functions.

[0087] Furthermore, the universal control module of the robot arm has a communication protocol compatibility function, and the universal control module and several joint controllers can perform data matching and transmission through any preset communication protocol, such as CAN bus protocol, 485 bus protocol or EtherCAT protocol. The universal control module adopts a multi-communication protocol compatible design method, which can adapt to the communication protocol corresponding to the currently installed robot arm to transmit the data or instructions of the drive control, so as to realize that one universal control module is adapted to multiple robot arms of different manufacturers.

[0088] In a possible implementation scenario, the multi-communication protocol compatible design of the above-mentioned universal control module can be: the universal control module includes an external multi-protocol communication module, the multi-protocol communication module includes a plurality of communication units, each communication unit can communicate based on a communication protocol, such as 485 bus protocol, EtherCAT protocol and other preset types of communication protocols each corresponding to a communication unit.

[0089] Specifically, the multi-protocol communication module includes a plurality of external connection plug-ins that can be connected to the universal control module, and each connection plug-in serves as a communication unit that can transmit data between the universal control module and each joint of the robotic arm based on a type of communication protocol. When it is determined which communication protocol is used by the robotic arm in which the universal control module is installed, the universal control module and each joint of the robotic arm can communicate through the matching corresponding external connection plug-in, thereby achieving plug-and-play.

[0090] Correspondingly, in step S100, the universal control module is respectively communicated and connected with all the joints of the current robotic arm, including specifically: based on the communication protocol of the joint controller, the corresponding communication unit is connected with several joint controllers of the current robotic arm. Among them, the communication protocol adapted by the joint controller can be pre-determined according to the actual brand, type, instruction information or configured communication parameters of the robotic arm. In another possible implementation scenario, the multi-protocol communication module may also include: a built-in multi-protocol communication module, the multi-protocol communication module includes several integrated communication units, the several communication units respectively correspond to a communication protocol, and the universal control module and each joint of the robotic arm are communicatively connected in parallel.

[0091] The universal control module based on the robotic arm in step S110 receives the connection permission frame sent by the joint controller of each joint, including: sending inquiry information to the joints through multiple communication units, each inquiry information corresponds to a type of communication protocol; receiving response information returned by the joint; and receiving the connection permission frame of the joint based on the communication unit that receives the response information.

[0092] Specifically, a multi-protocol communication module using multiple communication protocols can be fixedly integrated into the base of the robot arm and integrated with the universal control module. In this usage scenario, before receiving the connection permission frame sent by each joint controller, query information is first sent to the joint through multiple communication units to determine which communication protocol the current robot arm joint can communicate based on. When the response information returned by the joint is received, it means that the query information sent is recognized by the joint, and the joint can exchange data with the universal control module through the communication unit that sends the corresponding query information. The universal control module can call the communication unit to drive and control the currently installed robot arm, and other communication units stop being used during the drive control process of the current robot arm.

[0093] Furthermore, inquiry information is sent to the joints respectively through multiple communication units, including: sending inquiry information to the joints according to the information sending order of preset inquiry priority; if response information returned by the currently queried joint is received, stop sending the inquiry information of the next inquiry priority, otherwise continue the next inquiry operation until the response information is received.

[0094] In the above embodiment, the priority order of the communication protocol can be set according to the universality of the communication protocol in the field of the robot arm, or according to the communication requirements of the robot arm in different regions, different operation scenarios or different operation fields, so as to give priority to confirming the most commonly used or most likely to be used communication protocol in the current operation scenario, so as to automatically and quickly determine the communication environment of the universal control module and the robot arm joint before connecting the robot arm joint. Exemplarily, the above preset inquiry priority order can be: CAN bus protocol, 485 bus protocol, EtherCAT protocol.

[0095] Correspondingly, a second aspect of an embodiment of the present invention provides a robot, which controls the movement of a robot arm through the control method of the above-mentioned robot arm universal control module.

[0096] Accordingly, a third aspect of an embodiment of the present invention provides an electronic device, comprising: at least one processor; and a memory connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor executes the control method of the above-mentioned robot arm universal control module.

[0097] Correspondingly, a fourth aspect of an embodiment of the present invention provides a computer-readable storage medium having computer instructions stored thereon, which, when executed by a processor, implement the control method of the above-mentioned universal control module of the robotic arm.

[0098] The embodiment of the present invention aims to protect a control method of a universal control module of a robotic arm, wherein the control method comprises: making the universal control module communicate and connect with all joints of the current robotic arm respectively; obtaining basic information of all joints, the basic information including ID information and functional parameter information of the joints; determining the type of the current robotic arm according to the basic information of all joints; determining the control scheme of the current robotic arm based on the type of the current robotic arm and the task instruction. The above technical scheme has the following effects:

[0099] By establishing communication connections with each joint based on the universal control module of the robotic arm, the model and information of each joint of the robotic arm can be obtained. There is no need to design a control system for each robotic arm separately, thus achieving the purpose of plug-and-play, meeting customers' needs for various types of robotic arms, reducing the difficulty of design and debugging, and improving the applicability and stability of the control system.

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

[0101] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[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 The steps for the functions specified in one or more boxes.

[0104] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A control method for a universal control module of a robotic arm, characterized in that: The control method comprises: Make the universal control module communicate and connect with all joints of the current robotic arm respectively; Obtaining basic information of all joints, wherein the basic information includes ID information and function parameter information of the joints; Determine the type of the current robotic arm according to the basic information of all the joints; Determine the control scheme of the current robotic arm based on the type of the current robotic arm and the task instructions.

2. The control method of the universal control module of a robotic arm according to claim 1, characterized in that: The method of making the universal control module of the robotic arm communicate and connect with all the joints of the robotic arm respectively includes: The universal control module of the mechanical arm receives a connection permission frame sent by the joint controller of each joint; Based on the connection permission frame, sending a beacon frame to the joint controller that has sent the connection permission frame through the universal control module; Receiving response information corresponding to the beacon frame sent by the joint controller, wherein the response information includes: a joint ID and a response connection code; Verifying the joint ID and the response connection code based on the universal control module, and sending a connection request to the joint controller if the verification passes; A request response corresponding to the connection request sent by the joint controller is received to complete the connection between the universal control module and the joint.

3. The control method of the universal control module of a robotic arm according to claim 2, characterized in that: The response connection code of the joint controller includes: an arbitration field, a control field and a data field; The data field includes: instruction type, register ID and register value.

4. The control method of the universal control module of a robotic arm according to claim 2, characterized in that: The response connection code includes: a joint key corresponding to each joint; The verifying the joint ID and the response connection code based on the universal control module includes: Acquire the response connection code sent by the joint controller based on the universal control module, and obtain the joint key in the data domain after parsing; Performing key verification on the joint ID according to the joint secret key; After the verification is passed, a connection request is sent to the corresponding joint controller.

5. The control method of the universal control module of a robotic arm according to claim 2, characterized in that: Before the universal control module based on the mechanical arm receives the connection permission frame sent by the joint controller of each joint, it also includes: After the robot arm is powered on, each joint controller sends the connection permission frame to the universal control module once. If the beacon frame returned by the universal control module is not received within a preset time, the connection permission frame is sent again until the beacon frame is received.

6. The control method of the universal control module of a robotic arm according to claim 1, characterized in that: The obtaining of basic information of all joints, wherein the basic information includes ID information and function parameter information of the joints, includes: Get the number of all the joints; Based on each of the joint IDs, the type, voltage range, current range and limit angle of the corresponding joint are obtained.

7. The control method of the universal control module of a robotic arm according to claim 1, characterized in that: After determining the current robot arm type and function parameters, the method further includes: The initial posture information of each joint is obtained, wherein the initial posture information includes: initial position information and initial angle information of the joint and initial voltage information and initial current information of the joint driving motor.

8. The control method of the universal control module of a robotic arm according to claim 1, characterized in that: The universal control module includes: an external multi-protocol communication module, the multi-protocol communication module includes a plurality of communication units, and the plurality of communication units respectively correspond to a communication protocol; The method of making the universal control module communicate and connect with all joints of the current robotic arm respectively includes: Based on the communication protocol of the joint controller, the corresponding communication unit establishes data connection with several joint controllers of the current robot arm.

9. The control method of the universal control module of a robotic arm according to claim 2, characterized in that: The universal control module includes: a built-in multi-protocol communication module, the multi-protocol communication module includes a plurality of communication units that are integrated, and the plurality of communication units correspond to a communication protocol respectively; The universal control module based on the mechanical arm receives a connection permission frame sent by the joint controller of each joint, including: Sending inquiry information to the joints respectively through the plurality of communication units, each piece of the inquiry information corresponding to a type of the communication protocol respectively; Receiving response information returned by the joint; The communication unit receives a connection permission frame of the joint based on receiving the response information.

10. The control method of the universal control module of a robotic arm according to claim 9, characterized in that: The sending inquiry information to the joints respectively through the plurality of communication units comprises: Sending the query information to the joint according to the information sending order of the preset query priority; If the response information returned by the joint currently being queried is received, then stop sending the query information of the next query priority level; otherwise, continue with the next query operation until the response information is received.

Citation Information

Cited By

  • Distributed plug-in system and method applied to development of robot control system

    CN120950138A

  • Dexterous hand circuit, wrist device, dexterous hand and robot

    CN121625196A