Robot teaching migration method and robot
By obtaining the hand-eye calibration information and installation deviation of non-reference robots, the teaching actions migrated by the reference robots are performed and split into reusable atomic actions, the problem of large teaching workload in multiple robots and multiple machines environments is solved. , improves efficiency and performance.
Patent Information
- Application Number
- CN202410979593.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2044-07-19
AI Technical Summary
In a multi-robot and multi-machine environment, the prior art requires each robot to teach multiple times on each machine, resulting in huge amounts of teaching work and inefficient efficiency.
By obtaining the hand-eye calibration information of non-reference robots, robotic arm installation height deviation and TCP installation information deviation, based on this information, the teaching actions migrated from the reference robot are performed, the teaching process is simplified, and the entire set of actions is split into reusable atomic action to reduce repeated work.
It effectively reduces the number of teaching times, improves the efficiency of rapid launch of non-benchmark robots, simplifies the project deployment process, and reduces labor costs and time consumption.
Smart Images

Figure CN118876075A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of robots, and in particular to a robot teaching migration method and a robot. Background Art
[0002] The actions performed by the robot, such as grasping, are all based on teaching. The robot here can be, for example, a composite robot. A composite robot integrates the functions of a mobile robot and an industrial robot.
[0003] In the on-site environment, each machine may be different due to differences in process structure, and different machines may require different robot actions such as grasping. Under this premise, in order to ensure the accuracy of the robot's actions such as grasping in each machine, each robot is often taught the corresponding action at each machine. Taking the grasping action as an example, if there are 30 robots in the on-site environment, 40 machine types and 10 machines under each machine type, 12,000 (i.e. 30*40*10) grasping actions will be taught, and the teaching workload is very large. Summary of the invention
[0004] The present application provides a robot teaching migration method and a robot to avoid the problems such as large teaching workload caused by the existing teaching of each robot on each machine.
[0005] The present application provides a teaching migration method applied to multiple robots and multiple machines, the method being applied to a non-reference robot, the method comprising:
[0006] Obtaining hand-eye calibration information of the non-reference robot; the hand-eye calibration information includes: a conversion relationship between a mechanical arm coordinate system corresponding to a mechanical arm of the non-reference robot and a camera coordinate system corresponding to a camera of the non-reference robot;
[0007] Obtaining a height deviation of a mechanical arm installation height of the non-reference robot relative to a mechanical arm installation height of a reference robot, and obtaining a TCP installation information deviation of a tool center point TCP installation information of the non-reference robot relative to the TCP installation information of the reference robot;
[0008] Based on the hand-eye calibration information, the height deviation, and the TCP installation information deviation, the teaching action migrated from the benchmark robot is executed; the teaching action is the teaching action collected by the benchmark robot; the teaching action is the atomic action split out from the preset set of actions for reuse.
[0009] The present application provides a teaching migration method applied to multiple robots and multiple machines, the method being applied to a reference robot, the method comprising:
[0010] Obtaining the teaching action collected by the reference robot on the reference machine; the teaching action at least includes atomic actions split out of the preset whole set of actions for reuse;
[0011] Obtaining a machine deviation of each non-reference machine relative to the reference machine measured by the reference robot;
[0012] Among them, the teaching action and the machine deviation are transferred to each non-reference robot, so that each non-reference robot performs the teaching action on any machine based on the hand-eye calibration information obtained by each non-reference robot, the height deviation of the robot arm installation height of each non-reference robot relative to the robot arm installation height of the reference robot, the TCP installation information deviation of each non-reference robot relative to the TCP installation information of the reference robot, and the machine deviation.
[0013] The present application also provides a robot, which comprises at least a body, a mechanical arm, and a camera;
[0014] The body includes a chassis of the robot, and the chassis includes at least a processor, and the processor is used to execute the steps in the first method above when the robot is a non-reference robot; and is used to execute the steps in the second method above when the robot is a reference robot.
[0015] It can be seen from the above technical solution that in the present application, the hand-eye calibration information of the non-baseline robot, the height deviation of the robot arm installation height of the non-baseline robot relative to the robot arm installation height of the baseline robot, and the TCP installation information deviation of the non-baseline robot relative to the TCP installation information of the baseline robot are obtained through the non-baseline robot, so as to execute the teaching action migrated from the baseline robot based on the above-mentioned hand-eye calibration information, height deviation, and TCP installation information deviation, and no longer teach the teaching action to each non-baseline robot, thereby simplifying the teaching workload and improving the efficiency of the non-baseline robot to quickly go online.
[0016] Furthermore, this embodiment further simplifies the teaching workload and improves the project deployment efficiency by splitting the entire set of teaching actions into atomic actions for reuse. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0018] Figure 1 A schematic diagram of the robot structure provided in an embodiment of the present application;
[0019] Figure 2A flow chart of the method provided in the embodiment of the present application;
[0020] Figure 3a A hand-eye calibration flow chart provided for an embodiment of the present application;
[0021] Figure 3b A schematic diagram of hand-eye calibration provided in an embodiment of the present application;
[0022] Figure 3c Another hand-eye calibration schematic diagram provided in an embodiment of the present application;
[0023] Figure 4a A height calibration flow chart provided for an embodiment of the present application;
[0024] Figure 4b A schematic diagram of the calibration of the installation height deviation of the robotic arm provided in an embodiment of the present application;
[0025] Figure 4c Another schematic diagram of the calibration of the installation height deviation of a robotic arm provided in an embodiment of the present application;
[0026] Figure 5a A flowchart of TCP installation deviation calibration provided in an embodiment of the present application;
[0027] Figure 5b A schematic diagram of TCP installation deviation calibration provided in an embodiment of the present application;
[0028] Figure 5c Another schematic diagram of TCP installation deviation calibration provided in an embodiment of the present application;
[0029] Figure 6 Another method flow chart provided for an embodiment of the present application;
[0030] Figure 7a A flow chart for calibrating the height deviation of the Mark plate from the ground provided in the embodiment of the present application;
[0031] Figure 7b A flow chart of the Mark plate position deviation calibration provided in the embodiment of the present application;
[0032] Figure 7c A schematic diagram of machine deviation calibration provided in an embodiment of the present application;
[0033] Figure 7d Another schematic diagram of machine deviation calibration provided in an embodiment of the present application. DETAILED DESCRIPTION
[0034] In order to enable those skilled in the art to better understand the technical solution provided by the embodiment of the present application, and to make the above-mentioned purposes, features and advantages of the embodiment of the present application more obvious and easy to understand, the robot provided by the embodiment of the present application is described below in conjunction with the accompanying drawings:
[0035] The robot involved in this embodiment includes at least: a robot body, a mechanical arm, and a camera. Figure 1 The structure of the robot is shown as an example.
[0036] In this embodiment, the robot body at least includes a chassis, etc. The chassis at least includes a processor.
[0037] As an embodiment, the robot body acts as a bridge between the robot arm and the camera, and can control the robot arm and the camera to collaborate, which avoids direct communication between the camera and the robot arm. Specifically, the robot body, such as the robot chassis, is configured with an algorithm for controlling the camera and the robot arm, so that the robot body acts as a bridge between the camera and the robot arm to control the camera and the robot arm to collaborate. The following example describes how to control the camera and the robot arm to collaborate, which will not be repeated here.
[0038] In this embodiment, the camera may be a 2D camera. As an embodiment, the camera may be mounted at a designated position of the robot arm, such as the end of the robot arm. In this embodiment, the camera and the robot arm are not bound to each other, and the camera or the robot arm may be replaced as needed. For example, when replacing the camera, the robot body only needs to re-adapt the camera drive; similarly, when replacing the robot arm, the robot body only needs to re-adapt the control drive of the robot arm.
[0039] Based on the above description, the method provided in the embodiment of the present application is described below:
[0040] See also Figure 2 , Figure 2 Flowchart of the method provided in the embodiment of the present application. The method is applied to a non-reference robot. In this embodiment, multiple such as Figure 1 Among the robots shown, one robot is selected as a reference robot, and the remaining robots are selected as non-reference robots. Figure 2 The process shown can be applied to any non-baseline robot.
[0041] In order to realize the teaching migration of multiple robots and multiple machines, Figure 2 The core idea of the process shown is to determine the difference between the non-reference robot and the reference robot, so that the non-reference robot can perform the teaching action transferred from the reference robot based on the determined difference (such as the teaching action collected by the reference robot on the reference machine). Compared with the existing method of teaching each robot, this method of transferring teaching actions effectively reduces the number of teaching times, saves labor costs and project deployment time.
[0042] Below Figure 2 The process shown is described as follows:
[0043] like Figure 2 As shown, the process may include the following steps:
[0044] Step 201, obtaining hand-eye calibration information of a non-reference robot.
[0045] In this embodiment, the hand-eye calibration information of the non-reference robot is obtained by hand-eye calibration. Optionally, in this embodiment, the hand-eye calibration is completed on the body of the non-reference robot, specifically, the body of the non-reference robot, such as the above-mentioned chassis, controls the robot arm and the camera to collaborate. Figure 3a The specific implementation of hand-eye calibration is shown by example, which will not be described here.
[0046] In this embodiment, the hand-eye calibration is completed by controlling the robotic arm and the camera through the main body of a non-reference robot, such as the above-mentioned chassis. There is no need to complete the hand-eye calibration only on the camera side. The camera side does not need to store any parameters required for the hand-eye calibration, nor does it need to communicate directly with the robotic arm. This means that when the camera is replaced later, it is only necessary to re-execute the hand-eye calibration, which simplifies the logic on the camera side and enhances the compatibility of different types of cameras.
[0047] In this embodiment, the above-mentioned hand-eye calibration information refers to the conversion relationship between the robot arm coordinate system corresponding to the robot arm of the non-reference robot and the camera coordinate system corresponding to the camera of the non-reference robot. Optionally, the robot arm coordinate system is, for example, the coordinate system where the base of the robot arm is located, which can be a world coordinate system. In addition, in this embodiment, the camera coordinate system can be a coordinate system corresponding to the installation position of the camera, such as a coordinate system established with the focus center of the camera as the origin and the optical axis as the Z axis, which is not specifically limited in this embodiment. After obtaining the hand-eye calibration information of the non-reference robot, the camera and the robot arm can be unified for auxiliary positioning.
[0048] Step 202, obtain the height deviation of the robot arm installation height of the non-reference robot relative to the robot arm installation height of the reference robot, and obtain the TCP installation information deviation of the tool center point (TCP) installation information of the non-reference robot relative to the TCP installation information of the reference robot.
[0049] In this embodiment, the height deviation is achieved by the non-reference robot on the premise of the reference machine, through the non-reference robot body such as the above-mentioned chassis controlling the non-reference robot's mechanical arm and camera collaboration, as shown in the following example. Figure 4a The process shown will not be described in detail here.
[0050] In this embodiment, the TCP installation information deviation is determined by the action deviation caused by the non-reference robot's body, such as the above-mentioned chassis, controlling the non-reference robot's mechanical arm to perform an external input action, as shown in FIG. Figure 5aThe process shown will not be described in detail here.
[0051] It should be noted that, in the present embodiment, the hand-eye calibration information, the height deviation, and the TCP installation information deviation are inherent differences between the non-reference robot and the reference robot and are unique to the non-reference robot. They can be stored as the configuration information of the non-reference robot in the body of the non-reference robot (such as the chassis of the non-reference robot).
[0052] Step 203 : The non-reference robot performs the teaching action transferred from the reference robot based on the hand-eye calibration information, the height deviation, and the TCP installation information deviation.
[0053] In this embodiment, the teaching action is optionally an atomic action for reuse that is split out from a preset set of actions collected by the reference robot under the reference machine. Here, the reference machine includes reference machines corresponding to each machine type, and the reference machine corresponding to any machine type is a machine selected from all machines under this type. When the reference robot collects the above teaching actions, the above teaching actions can be imported from the reference robot to each non-reference robot in a batch import manner. Finally, Figure 2 The non-reference robot applied in the process shown will obtain the above-mentioned teaching motion.
[0054] It should be noted that, in this embodiment, after the non-reference robot is introduced to the teaching action collected by the reference robot, the non-reference robot will store the teaching action in the robot arm of the non-reference robot. When the non-reference robot executes the teaching action, it will take into account the hand-eye calibration information, the height deviation, and the TCP installation information deviation to ensure smooth execution of the teaching action.
[0055] The following example describes the above teaching action:
[0056] Take the example of teaching a reference robot (such as an AGV used for teaching) to pick up and put down goods on a reference machine of any machine type:
[0057] In order to simplify the teaching workload, this embodiment will split the entire set of picking actions and the entire set of placing actions to be taught according to the needs, mainly into: atomic actions that can be reused, and atomic actions that cannot be reused. The purpose of this split is to make the teaching actions as atomic as possible, to achieve the reuse of reusable teaching actions among multiple robots, and to reduce the teaching workload.
[0058] Specifically, the whole set of picking-up actions and the whole set of putting-down actions can be divided into:
[0059] 1. Photographing action. As an embodiment, the photographing action here can be summarized as: when the reference robot is used to pick up goods from a machine (such as a reference machine) or put goods into a machine (such as a reference machine), the robotic arm of the reference robot moves from a designated hanging position to a designated photographing position on the machine (such as a reference machine). Here, the robotic arm hanging refers to the above-mentioned robotic arm being retracted to a designated posture, and the designated posture prevents the robotic arm from hitting external obstacles when the entire robot moves (the robot's chassis also moves at this time) to prevent damage to the robotic arm. As described above, in this embodiment, the reference robot will perform the above-mentioned photographing action when picking up goods from any machine (such as a reference machine or a non-reference machine) or putting goods into a machine (such as a reference machine or a non-reference machine). That is, the above-mentioned photographing action is a reusable atomic action, which can be reused in multiple different robots.
[0060] 2. Grasping action. As an embodiment, the grabbing action here can be summarized as: applied to the scenario of picking up goods from a machine (such as a reference machine), the robotic arm of the reference robot moves from a designated photo position (such as a designated photo position on the reference machine) to a designated grabbing position on the machine. In specific implementation, when the reference robot picks up goods from the machine, no matter which cache bin the goods are grabbed from, the robotic arm of the reference robot will move from the designated photo position to the grabbing position on the machine. That is, the above-mentioned grabbing action applied to the picking up scene is a reusable atomic action, which can be reused on multiple different robots.
[0061] For the scenario where the reference robot releases goods to the machine, the grasping action performed by the reference robot is different, and the difference is caused by the different cache bins where the reference robot's robotic arm grasps the goods. For example, when the goods are placed in the head cache bin, the grasping action performed by the reference robot may be: the reference robot's robotic arm first moves from the designated hanging position to the cache bin at the head, and when the goods are placed in the tail cache bin, the grasping action performed by the reference robot may be: the reference robot's robotic arm first moves from the designated hanging position to the cache bin at the tail. It can be seen that the grasping action performed by the reference robot when the goods are placed in the head cache bin is different from the grasping action performed by the reference robot when the goods are placed in the tail cache bin. That is, the grasping action applied to the above-mentioned cargo release scenario is an atomic action that cannot be reused, and each non-reference robot needs to be taught one by one.
[0062] 3. Placement action. The placement action here can be summarized as: in the scenario of placing goods on the machine, the robotic arm of the benchmark robot grabs the goods, moves to the top of the machine's placement point, and then places the goods on the machine. Applied to the scenario of the benchmark robot placing goods on the machine, no matter the robotic arm of the benchmark robot grabs the goods from the head buffer or the tail buffer, after grabbing the goods, the robotic arm will move to the top of the machine's placement point and then place the goods on the machine. That is, the placement action in the scenario of placing goods on the machine is a reusable atomic action, which can be reused in multiple different robots.
[0063] When applied to the scenario of picking up goods from the machine, after the benchmark robot grabs the goods from the machine, the placement action performed by the benchmark robot's robotic arm on the goods is different. This difference is caused by the different cache bins of the goods. For example, when the grabbed goods are placed in the head cache bin, the placement action performed by the benchmark robot may be: the benchmark robot's robotic arm places the goods in the cache bin at the head, and when the goods are placed in the tail cache bin, the placement action performed by the benchmark robot may be: the benchmark robot's robotic arm places the goods in the cache bin at the tail. It can be seen that the placement action performed by the benchmark robot when placing the goods in the head cache bin is different from the placement action performed by the benchmark robot when placing the goods in the tail cache bin. That is, the above-mentioned placement action applied to the picking up scene is an atomic action that cannot be reused, and each non-benchmark robot needs to be taught one by one.
[0064] This embodiment splits the entire set of actions taught by the benchmark robot to extract the split reusable atomic actions. Subsequently, each reusable atomic action can be migrated to each non-benchmark robot to simplify the teaching work and improve the project deployment efficiency.
[0065] The teaching action is described above.
[0066] When the non-reference robot obtains the teaching action transferred from the reference robot, if the non-reference robot is currently working on the reference machine, the teaching action transferred from the reference robot can be performed on the reference machine based on the hand-eye calibration information, the height deviation, and the TCP installation information deviation. That is, the hand-eye calibration information, the height deviation, and the TCP installation information deviation need to be considered when performing the teaching action.
[0067] If the non-reference robot is currently working on a non-reference machine, the teaching action transferred from the reference robot can be performed on the non-reference machine based on the obtained machine deviation of the non-reference machine relative to the reference machine, the hand-eye calibration information, the height deviation, and the TCP installation information deviation. That is, compared with the non-reference robot performing the teaching action on the reference machine, when the non-reference robot performs the teaching action on the non-reference machine, in addition to considering the hand-eye calibration information, the height deviation, and the TCP installation information deviation, it is also necessary to further consider the machine deviation of the non-reference machine relative to the reference machine.
[0068] As an embodiment, the machine deviation is obtained by the reference robot working on the non-reference machine and the reference machine. When the reference robot obtains the machine deviation, the machine deviation can be imported from the reference robot to each non-reference robot in a batch import manner. Figure 7a An example is given to illustrate how to determine the machine deviation, which will not be described in detail here.
[0069] So far, completed Figure 2 The process shown.
[0070] pass Figure 2 The process shown realizes that for any non-reference robot, only the hand-eye calibration information, height deviation, and TCP installation information deviation mentioned above need to be obtained to run the teaching action migrated from the reference robot online.
[0071] pass Figure 2 It can be seen from the shown process that in this embodiment, the hand-eye calibration information of the non-baseline robot, the height deviation of the robot arm installation height of the non-baseline robot relative to the robot arm installation height of the baseline robot, and the TCP installation information deviation of the non-baseline robot relative to the TCP installation information of the baseline robot are obtained through the non-baseline robot, so as to perform the teaching action migrated from the baseline robot based on the above-mentioned hand-eye calibration information, height deviation and TCP installation information deviation, and no longer teach the teaching action to each non-baseline robot, thereby simplifying the teaching workload and improving the efficiency of quickly launching the non-baseline robot.
[0072] Furthermore, this embodiment further simplifies the teaching workload and improves the project deployment efficiency by splitting the entire set of teaching actions into atomic actions for reuse.
[0073] The following is the above Figure 3a The process shown is described as follows:
[0074] See also Figure 3a , Figure 3aHand-eye calibration flow chart provided for an embodiment of the present application. It should be noted that, in this embodiment, before hand-eye calibration, the installation and setting of the TCP must first be completed on the robot arm, and the robot arm posture information involved below is the TCP posture information in the robot arm coordinate system. Here, the TCP of the robot arm is a reference point on the end effector of the robot arm, which is used to determine the position and direction of the tool. The TCP is usually installed on the end effector of the robot arm, such as the center point of the gripper or the tip of a welding tool.
[0075] Based on the above description, Figure 3a As shown, the process may include the following steps:
[0076] Step 301 : sending a collection instruction to a mechanical arm of the non-reference robot through the chassis of the non-reference robot, so that the mechanical arm moves based on the collection instruction and sends a notification to the chassis of the non-reference robot when the mechanical arm moves to a collection point.
[0077] Optionally, in this embodiment, a host computer such as a PC is first turned on, and the host computer is connected to the chassis of the non-reference robot through a network. When the host computer is successfully logged in, the host computer will send a hand-eye calibration debugging command to the chassis of the non-reference robot based on the current hand-eye calibration requirement, so that the non-reference robot enters the hand-eye calibration debugging mode based on the hand-eye calibration debugging command. Afterwards, the host computer will display the following Figure 3b The interface shown.
[0078] When the start calibration on the above interface is selected, the host computer sends a start calibration command to the chassis of the non-reference robot, so that the chassis of the non-reference robot initiates the following based on the start calibration command: Figure 3a The hand-eye calibration process shown.
[0079] Specifically, Figure 3a In the hand-eye calibration process shown in FIG. 3 , in step 301, the chassis of the non-reference robot first sends the above-mentioned acquisition instruction to the mechanical arm of the non-reference robot. When the mechanical arm of the non-reference robot receives the acquisition instruction, it starts to move and sends a notification to the chassis of the non-reference robot when it moves to the designated acquisition point. Finally, the above-mentioned step 301 is realized.
[0080] It should be noted that in this step 301, the robot arm is built with a motion program, and the motion program controls how the robot arm moves. As an embodiment, in this step 301, during the movement of the robot arm of the non-reference robot, the chassis of the non-reference robot is fixed, and the robot arm of the non-reference robot moves according to the control of the above motion program, such as retracting, rotating or lifting.
[0081] Step 302, when a notification sent by the mechanical arm of the non-reference robot is received through the chassis of the non-reference robot, a photo-taking instruction is sent to the camera of the non-reference robot, so that the camera takes a photo of the calibration object based on the photo-taking instruction to obtain a current image and outputs a template matching result of the current image to the chassis of the non-reference robot.
[0082] As an embodiment, the calibration object here is, for example, a Mark board. As another embodiment, the calibration object here can also be a characteristic mark of an object such as a Mark board, such as a circle, a dot, etc., which is not specifically limited in this embodiment.
[0083] Optionally, in this embodiment, the template matching result is represented by (u, v, θ); (u, v) represents the deviation between the pixel position of the calibration object in the current image and the pixel position of the calibration object in the template image. θ represents the rotation angle deviation between the calibration object in the current image and the calibration object in the template image. The template matching result is used to determine the hand-eye calibration parameters, as shown in step 303.
[0084] Step 303, determining current hand-eye calibration parameters based on the current position information of the mechanical arm of the non-reference robot collected by the chassis of the non-reference robot and the template matching result, and determining the hand-eye calibration information of the non-reference robot based on the current hand-eye calibration parameters.
[0085] As an embodiment, the current posture information of the above-mentioned mechanical arm collected by the chassis of the non-reference robot and the template matching result, determining the current hand-eye calibration parameters may include: inputting the current posture information of the above-mentioned mechanical arm and the above-mentioned template matching result into a set hand-eye calibration algorithm to obtain the current hand-eye calibration parameters. The current hand-eye calibration parameters refer to the conversion relationship between the mechanical arm coordinate system corresponding to the mechanical arm of the non-reference robot and the camera coordinate system corresponding to the camera of the non-reference robot.
[0086] After the current hand-eye calibration parameters are determined, the interface of the host computer will be updated. Figure 3c As shown. Figure 3c As shown, the updated interface will display the robot arm posture information used to determine the current hand-eye calibration parameters, as well as the above template matching results.
[0087] It should be noted that after the current posture information of the manipulator and the template matching result are input into the hand-eye calibration algorithm, in addition to obtaining the current hand-eye calibration parameters, the confidence of the current hand-eye calibration parameters will be further obtained. Based on this, as an embodiment, the hand-eye calibration information of the non-reference robot determined according to the current hand-eye calibration parameters in the above step 303 can be implemented based on the confidence when it is specifically implemented. For example, if the confidence of the current hand-eye calibration parameters meets the set confidence requirement, such as more than 90%, the current hand-eye calibration parameters are determined as the hand-eye calibration information; if the confidence of the current hand-eye calibration parameters does not meet the set confidence requirement, then when it is found that the above-mentioned manipulator has not traversed all the collection points as of now, return to the step of sending the collection instruction to the manipulator through the chassis of the non-reference robot. Of course, if it is found that the above-mentioned manipulator has traversed all the collection points as of now, a failure message can be directly output at this time to indicate to adjust the manipulator arm of the non-reference robot or adjust the collection points, etc., which is not specifically limited in this embodiment.
[0088] After determining the above hand-eye calibration information, Figure 3c When the end calibration shown in the figure is selected, the upper computer sends an end calibration instruction to the chassis of the non-reference robot, so that the chassis of the non-reference robot ends the hand-eye calibration based on the end calibration instruction.
[0089] So far, completed Figure 3a The process shown.
[0090] pass Figure 3a The process shown implements the hand-eye calibration of a non-reference robot.
[0091] Described below Figure 4a The process shown.
[0092] See also Figure 4a , Figure 4a A height calibration flow chart provided for an embodiment of the present application. The height calibration process is mainly for calibrating the height deviation of the robot arm installation height of the non-reference robot relative to the robot arm installation height of the reference robot. In a specific application, the robot arm installation height deviation between the non-reference robot and the reference robot affects the shooting accuracy of the camera on the non-reference robot and the grasping height of the robot arm on the non-reference robot. For scenarios with higher precision requirements, the robot arm installation height deviation calibration needs to be performed before the above-mentioned teaching action migration.
[0093] like Figure 4a As shown, the process may include the following steps:
[0094] Step 401, sending a height deviation calibration instruction to the robot arm through the chassis of the non-reference robot, so that the robot arm moves in a fixed environment based on the height deviation calibration instruction and sends a notification to the chassis of the non-reference robot when moving to a designated photographing position.
[0095] Optionally, in this embodiment, a host computer such as a PC is first turned on, and the host computer is connected to the chassis of the non-reference robot through a network. When the host computer is successfully logged in, the host computer will send a height deviation debugging command to the chassis of the non-reference robot based on the current height deviation calibration requirement, so that the non-reference robot enters the height deviation debugging mode based on the height deviation debugging command. Afterwards, the host computer will display the following Figure 4b The interface shown.
[0096] When the start calibration on the above interface is selected, the upper computer sends a start calibration command to the chassis of the non-reference robot, so that the chassis of the non-reference robot initiates the following based on the start calibration command: Figure 4a The height deviation calibration process is shown.
[0097] Specifically, Figure 4a In the hand-eye calibration process shown in FIG. 4 , in step 401, the chassis of the non-reference robot first sends the height deviation calibration instruction to the robot arm of the non-reference robot. When the robot arm of the non-reference robot receives the height deviation calibration instruction, it starts to move in a fixed environment and sends a notification to the chassis of the non-reference robot when it moves to the designated camera surround. Finally, the above step 401 is realized.
[0098] It should be noted that in this step 401, the robot arm is built into a motion program, and the motion program controls how the robot arm moves. As an embodiment, in this step 401, during the movement of the robot arm of the non-reference robot, the chassis of the non-reference robot is fixed, and the robot arm of the non-reference robot moves according to the control of the above motion program, such as retracting, rotating or lifting.
[0099] As an embodiment, the above-mentioned fixed environment may be the environment of the non-reference robot before leaving the factory, or may be the reference machine, which is not specifically limited in this embodiment.
[0100] Step 402, when the above notification sent by the mechanical arm of the non-reference robot is received through the chassis of the non-reference robot, a photo command is sent to the camera of the non-reference robot, so that the camera takes a photo of the calibration object based on the photo command to obtain an image and output it to the chassis of the non-reference robot.
[0101] The calibration objects here are as described above.
[0102] Step 403, compare the calibration object in the image with the calibration object in the reference image to determine the height deviation of the robotic arm installation height of the non-reference robot relative to the robotic arm installation height of the reference robot; the reference image refers to an image obtained by photographing the calibration object with the camera of the reference robot at the photographing position in the fixed environment.
[0103] Optionally, in this embodiment, there may be differences between the calibrated object in the image and the calibrated object in the obtained reference image, such as differences in area size, center position, etc. Based on the differences, a set height deviation algorithm is input to obtain the above-mentioned height deviation.
[0104] After determining the height deviation, the interface of the host computer will at least display the robot arm posture information and the height deviation, as shown in the following figure: Figure 4c When the end calibration on the interface is selected, the upper computer sends an end calibration instruction to the chassis of the non-reference robot, so that the chassis of the non-reference robot ends the calibration of the manipulator installation height deviation based on the end calibration instruction.
[0105] So far, completed Figure 4a The process shown.
[0106] pass Figure 4a The process shown realizes the calibration of the height deviation of the mechanical arm installation height of the non-reference robot relative to the mechanical arm installation height of the reference robot.
[0107] Described below Figure 5a The process shown.
[0108] See also Figure 5a , Figure 5a A flow chart for the calibration of the TCP installation deviation provided in an embodiment of the present application. This process is mainly for calibrating the TCP installation information deviation of the non-benchmark robot relative to the TCP installation information of the benchmark robot. The TCP installation information deviation of the non-benchmark robot relative to the TCP installation information of the benchmark robot will affect the migration of the upper teaching action in the high-precision grasping scenario. If the above-mentioned TCP installation information deviation cannot be controlled within the millimeter accuracy, the grasping action of the non-benchmark robot will be inaccurate. Based on this, this embodiment will calibrate the TCP installation information deviation of the non-benchmark robot relative to the TCP installation information of the benchmark robot to avoid the above-mentioned defects.
[0109] like Figure 5a As shown, the process may include the following steps:
[0110] Step 501: receiving external input action parameters.
[0111] Optionally, in this embodiment, a host computer such as a PC is first turned on, and the host computer is connected to the chassis of the non-reference robot through a network. When the host computer is successfully logged in, the host computer will send a TCP installation deviation debugging command to the chassis of the non-reference robot based on the TCP installation deviation requirement, so that the non-reference robot enters the TCP installation deviation debugging mode based on the TCP installation deviation command. Afterwards, the host computer will display the following Figure 5b The interface shown.
[0112] When Figure 5b If the action parameters are input on the interface shown in FIG. 5 , the upper computer transmits the action parameters to the chassis of the non-reference robot, thus realizing the non-reference robot receiving the external input action parameters as described in step 501. Figure 5b As shown, the action parameter may include an action identifier (ID), such as take a photo 3000, grab 3000, place 3000, etc.
[0113] Step 502: Send a TCP calibration instruction to the manipulator arm of the non-reference robot through the chassis of the non-reference robot, so that the manipulator arm of the non-reference robot moves based on the TCP calibration instruction and sends a notification to the chassis of the non-reference robot when it moves to a designated calibration point.
[0114] In this embodiment, when the host computer displays Figure 5b When the start calibration is selected on the interface shown, the host computer sends a start calibration instruction to the non-reference robot, so that the non-reference robot executes step 502 based on the start calibration instruction.
[0115] Step 503: After receiving the notification sent by the mechanical arm of the non-reference robot through the chassis of the non-reference robot, the chassis of the non-reference robot collects the current posture information of the mechanical arm (recorded as the first posture information).
[0116] Step 504 , in response to the above-mentioned posture adjustment of the robotic arm, collect the current second posture information of the robotic arm.
[0117] In this embodiment, when the above-mentioned robot arm performs the action corresponding to the above-mentioned action parameters at the above-mentioned calibration point, such as a grasping action, there will be a certain deviation. Taking the grasping action as an example, the deviation is the grasping deviation. In view of this deviation, this embodiment can adaptively adjust the posture of the robot arm to avoid the above-mentioned deviation. That is, here, the posture of the robot arm is adjusted because of the deviation that occurs when the above-mentioned robot arm performs the action corresponding to the above-mentioned action parameters at the above-mentioned calibration point.
[0118] After completing the above-mentioned posture adjustment of the robotic arm, the current posture information of the robotic arm of the non-reference robot is also collected through the chassis of the non-reference robot (recorded as the second posture information).
[0119] Step 505: Based on the first pose information and the second pose information, obtain a TCP installation information deviation of the TCP installation information of the non-reference robot relative to the TCP installation information of the reference robot.
[0120] As an embodiment, this step 505 can be implemented by the chassis of the non-reference robot. Specifically, this step 505 can obtain the TCP installation information deviation of the TCP installation information of the non-reference robot relative to the TCP installation information of the reference robot based on the first pose information and the second pose information, and in combination with the TCP calibration algorithm. For example, the first pose information and the second pose information are input into the TCP calibration algorithm to obtain the TCP installation information deviation.
[0121] It should be noted that the above-mentioned TCP installation information deviation includes position information (x, y, z), which also includes posture information (rx, ry, rz).
[0122] After determining the above TCP installation information deviation, if Figure 5b The interface will be updated as shown below Figure 5c Compared with the interface shown in Figure 5b The interface shown is as follows Figure 5c The interface shown above adds the above TCP installation information deviation, as shown below Figure 5c As shown. Figure 5c The end calibration on the interface shown is triggered, and the host computer sends an end calibration instruction to the non-reference robot, so that the non-reference robot ends the TCP installation information deviation calibration based on the end calibration instruction.
[0123] So far, completed Figure 5a The process shown.
[0124] pass Figure 5a The process shown obtains the TCP installation information deviation of the non-reference robot's TCP installation information relative to the reference robot's TCP installation information.
[0125] The above describes the method provided by the embodiment of the present application from the perspective of a non-reference robot. The following describes the method provided by the embodiment of the present application from the perspective of a reference robot:
[0126] See also Figure 6 , Figure 6 Another method flow chart provided in the embodiment of the present application. The method is applied to the reference robot. Figure 6 As shown, the process may include the following steps:
[0127] Step 601, obtaining the teaching motions collected by the reference robot on the reference machine; the teaching motions at least include atomic motions for reuse that are split out of the preset whole set of motions.
[0128] The teaching action is as described in the above step 203 and will not be repeated here.
[0129] Step 602 , obtaining the machine deviation of each non-reference machine relative to the reference machine measured by the reference robot.
[0130] Optionally, in this embodiment, the reference robot will measure the machine deviation of each non-reference machine relative to the reference machine on each non-reference machine. In specific implementation, the machine deviation of any non-reference machine relative to the reference machine may include: the height deviation of the Mark plate from the ground; here, the height deviation of the Mark plate from the ground refers to the deviation of the height of the Mark plate on the non-reference machine from the height of the Mark plate on the reference machine; or,
[0131] The height deviation of the Mark plate from the ground and the position deviation of the Mark plate are as follows: Here, the position deviation of the Mark plate refers to the deviation between the position of the Mark plate on the non-reference machine in a two-dimensional (2D) plane and the position of the Mark plate on the reference machine in a two-dimensional plane.
[0132] As an embodiment, the height deviation of the mark plate from the ground is intended to compensate for the shooting height of the camera of the non-reference robot in combination with the height deviation of the robot arm installation height of the non-reference robot relative to the robot arm installation height of the reference robot, so that when multiple robots and multiple machines are running, the height from the camera of each non-reference robot to the mark plate on each machine (including the reference machine and the non-reference machine) is a fixed value.
[0133] As an embodiment, in order to obtain the height deviation of the Mark plate from the ground, this embodiment will first use a reference robot to collect images of the Mark plate on each non-reference machine under each machine type, and then the chassis of the reference robot combines the image and the image of the Mark plate collected on the reference machine under the machine type and calculates the height deviation of the Mark plate from the ground using an algorithm, as shown in detail. Figure 7a shown.
[0134] In this embodiment, after calculating the height deviation of the Mark plate from the ground, if it is found that the position of the Mark plate on the non-reference machine in the two-dimensional plane still has a deviation relative to the position of the Mark plate on the reference machine in the two-dimensional plane (i.e., the Mark plate position deviation), it is necessary to further calibrate the deviation between the position of the Mark plate on the non-reference machine in the two-dimensional plane and the position of the Mark plate on the reference machine in the two-dimensional plane (i.e., the Mark plate position deviation). Figure 7b shown.
[0135] In this embodiment, the Mark board is a means of positioning the mechanical arm of the visually assisted robot, and is generally attached to the machine platform. For example, a Mark board is attached next to the box (OC: Open Casette) on the machine platform for placing silicon wafers.
[0136] In this embodiment, the above-mentioned teaching action and the above-mentioned machine deviation obtained by the reference robot will be transferred to each non-reference robot, so that each non-reference robot can perform the teaching action on any machine based on the obtained hand-eye calibration information, the height deviation of the robot arm installation height of each non-reference robot relative to the robot arm installation height of the reference robot, the TCP installation information deviation of each non-reference robot relative to the TCP installation information of the reference robot, and the above-mentioned machine deviation.
[0137] It should be noted that, in this embodiment, the above machine deviation can be stored in the chassis of the reference robot as the shared configuration information of the reference robot. The shared configuration information here can be allowed to be batch-migrated to each non-reference robot, for example, migrated and stored in the chassis of each non-reference robot as shared configuration information.
[0138] It should also be noted that the above-mentioned shared configuration information stored by the benchmark robot can also be updated according to actual needs, such as updating due to the addition of a new non-benchmark platform, etc. When the shared configuration information stored by the benchmark robot is updated, the updated shared configuration information will be batch migrated to each non-benchmark robot again and overwrite the original shared configuration information stored by each non-benchmark robot.
[0139] So far, completed Figure 6 The process shown.
[0140] pass Figure 6It can be seen from the shown process that in this embodiment, the baseline robot collects various reusable atomic operations and measures the machine deviation of each non-baseline machine relative to the baseline machine on each non-baseline machine, and then imports the reusable atomic operations and the above-mentioned machine deviation into each non-baseline robot, so that each non-baseline robot combines the machine deviation and performs the teaching action migrated from the baseline robot based on the difference between each non-baseline robot and the baseline robot (such as the height deviation of the robot arm installation height of the non-baseline robot relative to the robot arm installation height of the baseline robot, the TCP installation information deviation of the non-baseline robot relative to the TCP installation information of the baseline robot). This eliminates the need to teach the teaching action to each non-baseline robot, simplifies the teaching workload, and improves the efficiency of quickly launching the non-baseline robot.
[0141] The height deviation of the Mark plate from the ground is described below:
[0142] See also Figure 7a , Figure 7a This is a flow chart of the Mark plate height deviation calibration provided in the embodiment of the present application. This process is applied to the reference robot, such as Figure 7a As shown, the process may include the following steps:
[0143] Step 701a, obtaining a first Mark plate image; the first Mark plate image is an image of the Mark plate on the non-reference machine platform captured by the camera of the reference robot when the robot arm of the reference robot moves to the photographing position of the non-reference machine platform.
[0144] Optionally, in this embodiment, a host computer such as a PC is first turned on, and the host computer is connected to the chassis of the reference robot through a network. When the host computer is successfully logged in, the host computer will send a Mark plate ground height deviation debugging command to the chassis of the reference robot based on the Mark plate ground height deviation calibration requirement, so that the reference robot enters the Mark plate ground height deviation debugging mode based on the Mark plate ground height deviation debugging command. Afterwards, the host computer will display the following Figure 7c The interface shown.
[0145] When Figure 7cWhen the start calibration on the interface is selected, the upper computer will send a start calibration instruction to the reference robot, so that the reference robot will send a Mark plate ground height deviation calibration instruction to the reference robot's mechanical arm through the reference robot's chassis based on the start calibration instruction. After that, the mechanical arm moves on the non-reference machine based on the Mark plate ground height deviation calibration instruction, and sends a notification to the chassis of the reference robot when it moves to the photo taking position on the non-reference machine. When the chassis of the reference robot receives the notification sent by the mechanical arm, it sends a photo taking instruction to the camera of the reference robot, so that the camera captures an image based on the photo taking instruction, i.e., the above-mentioned first Mark plate image, and outputs it to the chassis of the reference robot. That is, finally obtaining the first Mark plate image as described in step 701a is achieved.
[0146] It should be noted that the process of obtaining the first Mark plate image involves the hand-eye calibration information of the reference robot, so that the robot arm and the camera can obtain the first Mark plate image in a unified manner based on the hand-eye calibration information of the reference robot. Figure 3a The process of obtaining the hand-eye calibration information of the non-reference robot shown will not be described in detail here.
[0147] Step 702a: Determine the height deviation of the mark board from the ground based on the height difference of the mark board in the first mark board image and the obtained second mark board image.
[0148] In this embodiment, the second Mark board image is an image of a Mark board on the reference machine that is captured by the camera of the reference robot when the robot arm of the reference robot moves to the photographing position of the reference machine. It is similar to the process of the camera of the reference robot capturing the image of the Mark board on the non-reference machine. It should be noted that if multiple Mark boards are deployed on both the non-reference machine and the reference machine, the Mark boards on the non-reference machine and the reference machine can be assigned identifiers in the same way. Correspondingly, the Mark board based on the first Mark board image and the Mark board in the second Mark board image can be Mark boards with the same identifier.
[0149] As an embodiment, the height difference of the Mark board in the first Mark board image and the obtained second Mark board image can be directly determined as the height deviation of the Mark board from the ground.
[0150] So far, completed Figure 7a The process shown.
[0151] pass Figure 7a The process shown can complete the calibration of the height deviation of the Mark plate from the ground.
[0152] The following describes the calibration of the Mark plate position deviation:
[0153] See also Figure 7b , Figure 7b This is a flow chart of the Mark plate position deviation calibration provided in the embodiment of the present application. The flow is applied to a reference robot. The reference robot is located on a non-reference platform.
[0154] like Figure 7b As shown, the process may include the following steps:
[0155] Step 701b: Send the Mark plate height deviation from the ground to the robotic arm of the reference robot through the chassis of the reference robot, so that the robotic arm adjusts the shooting height of the camera of the reference robot based on the Mark plate height deviation from the ground.
[0156] That is, in this embodiment, when the above Figure 7a After the process shown obtains the height deviation of the Mark plate from the ground, the height deviation of the Mark plate from the ground will be sent to the robotic arm, so that the robotic arm can readjust the shooting height of the camera of the reference robot based on the height deviation of the Mark plate from the ground to ensure that the camera can accurately capture the image of the Mark plate on the non-reference machine.
[0157] Step 702b, collecting the current posture information (recorded as third posture information) of the robotic arm of the reference robot through the chassis of the reference robot.
[0158] Step 703b, in response to the posture adjustment of the robotic arm of the reference robot, collect the current posture information of the robotic arm (recorded as fourth posture information).
[0159] In this embodiment, because the above-mentioned position deviation calibration has not been completed, there will be a certain deviation when the mechanical arm of the reference robot performs a specified action such as a grasping action. Based on this, this embodiment can adjust the posture of the above-mentioned mechanical arm to avoid this deviation. That is, the posture adjustment of the mechanical arm is caused by the deviation that occurs when the mechanical arm performs the above-mentioned specified action after adjusting the shooting height of the above-mentioned camera. After adjusting the posture of the mechanical arm, the current posture information of the mechanical arm, that is, the above-mentioned fourth posture information, can be collected.
[0160] It should be noted that, as described above, in this step 703b, the robotic arm's execution of the above-mentioned posture adjustment will involve the hand-eye calibration information of the above-mentioned benchmark robot. Based on the hand-eye calibration information of the benchmark robot, the robotic arm and camera of the benchmark robot are unified to enable the camera of the benchmark robot to take pictures. The robotic arm of the benchmark robot performs actions such as grasping and placing based on the image output by the camera.
[0161] Step 704b, determining the position deviation of the Mark plate based on the third posture information and the fourth posture information.
[0162] Optionally, in this embodiment, the third posture information and the fourth posture information may be input into a Mark plate position deviation calibration algorithm to obtain the Mark plate position deviation.
[0163] So far, completed Figure 7b The process shown.
[0164] pass Figure 7b The process shown realizes the calibration of the position deviation of the above-mentioned Mark plate.
[0165] After calibrating the height deviation of the Mark plate from the ground and the position deviation of the Mark plate, the host computer will display the following Figure 7d The interface shown in the figure includes the height deviation of the Mark plate from the ground and the position deviation of the Mark plate.
[0166] When Figure 7d When the end calibration is selected on the interface shown, the host computer sends an end calibration instruction to the reference robot, so that the non-reference robot ends the calibration of the Mark plate ground height deviation and the Mark plate position deviation based on the end calibration instruction.
[0167] It can be seen that in this embodiment, after the reusable atomic operations collected by the benchmark robot and the machine deviations of each non-baseline machine relative to the benchmark machine measured by the benchmark robot on each non-baseline machine are migrated to each non-baseline robot, each non-baseline robot combines the machine deviation and based on the difference between each non-baseline robot and the benchmark robot (such as the height deviation of the robot arm installation height of the non-baseline robot relative to the robot arm installation height of the benchmark robot, the TCP installation information deviation of the non-baseline robot relative to the TCP installation information of the benchmark robot), executes the teaching action migrated from the benchmark robot. This eliminates the need to teach the teaching action to each non-baseline robot, simplifies the teaching workload, and improves the efficiency of quickly launching the non-baseline robot.
[0168] For ease of understanding, the hand-eye calibration information process of the above-mentioned benchmark robot is briefly described here, such as sending an acquisition instruction to the robotic arm of the benchmark robot through the chassis of the benchmark robot, so that the robotic arm of the benchmark robot moves based on the acquisition instruction and sends a notification to the chassis of the benchmark robot when it moves to the acquisition point; when the chassis of the benchmark robot receives the notification sent by the robotic arm of the benchmark robot, a photo command is sent to the camera of the benchmark robot, so that the camera takes a photo of the calibration object based on the photo command to obtain the current image and outputs the template matching result of the current image to the chassis of the benchmark robot; the current hand-eye calibration parameters are determined based on the current posture information of the robotic arm of the benchmark robot collected by the chassis of the benchmark robot, and the above-mentioned template matching result; the hand-eye calibration information of the benchmark robot is determined according to the current hand-eye calibration parameters.
[0169] In this embodiment, the template matching result is as described above, which can be represented by (u, v, θ); (u, v) represents the deviation between the pixel position of the calibration object in the current image and the pixel position of the calibration object in the template image, and θ represents the rotation angle deviation between the calibration object in the current image and the calibration object in the template image;
[0170] In this embodiment, the above-mentioned determination of the hand-eye calibration information of the reference robot based on the current hand-eye calibration parameters includes: if the confidence of the current hand-eye calibration parameters meets the set confidence requirements, the current hand-eye calibration parameters are determined as the hand-eye calibration information of the reference robot; if the confidence of the current hand-eye calibration parameters does not meet the set confidence requirements, then when it is found that the mechanical arm of the reference robot has not traversed all the collection points as of now, the step of returning to the base robot chassis to send a collection instruction to the mechanical arm of the reference robot. The hand-eye calibration information process of the reference robot here can be specifically referred to the hand-eye calibration information process of the non-reference robot.
[0171] The method provided in the embodiment of the present application is described above. The robot provided in the embodiment of the present application is described below:
[0172] The robot provided in the embodiment of the present application is as described above, and may include a robot body, a robotic arm, and a camera. The body includes a processor, which is used to execute the above Figure 2 The process shown or Figure 6 Steps in the process shown.
[0173] Based on the same application concept as the above method, an embodiment of the present application also provides a computer program work, in which a computer program is stored, and when the computer program is executed by a processor, the method disclosed in the above example is implemented.
[0174] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A teaching migration method applied to multiple robots and multiple machines, characterized in that: The method is applied to a non-reference robot, and the method comprises: Obtaining hand-eye calibration information of the non-reference robot; the hand-eye calibration information includes: a conversion relationship between a mechanical arm coordinate system corresponding to a mechanical arm of the non-reference robot and a camera coordinate system corresponding to a camera of the non-reference robot; Obtaining a height deviation of a mechanical arm installation height of the non-reference robot relative to a mechanical arm installation height of a reference robot, and obtaining a TCP installation information deviation of a tool center point TCP installation information of the non-reference robot relative to the TCP installation information of the reference robot; Based on the hand-eye calibration information, the height deviation, and the TCP installation information deviation, the teaching action migrated from the benchmark robot is executed; the teaching action is the teaching action collected by the benchmark robot; the teaching action is the atomic action split out from the preset set of actions for reuse.
2. The method according to claim 1, characterized in that The obtaining of hand-eye calibration information of the non-reference robot includes: Sending a collection instruction to a mechanical arm of the non-reference robot through the chassis of the non-reference robot, so that the mechanical arm moves based on the collection instruction and sends a notification to the chassis of the non-reference robot when moving to a collection point; When the notification sent by the mechanical arm of the non-reference robot is received through the chassis of the non-reference robot, a photographing instruction is sent to the camera of the non-reference robot, so that the camera takes a photograph of the calibration object based on the photographing instruction to obtain a current image and outputs a template matching result of the current image to the chassis of the non-reference robot; the template matching result is represented by (u, v, θ); (u, v) represents the deviation between the pixel position of the calibration object in the current image and the pixel position of the calibration object in the template image, and θ represents the rotation angle deviation between the calibration object in the current image and the calibration object in the template image; Determine current hand-eye calibration parameters based on the current posture information of the robotic arm collected by the chassis of the non-reference robot and the template matching result; The hand-eye calibration information of the non-reference robot is determined according to the current hand-eye calibration parameters.
3. The method according to claim 2, characterized in that The determining of the current hand-eye calibration parameters further includes: determining the confidence of the current hand-eye calibration parameters; The determining of the hand-eye calibration information of the non-reference robot according to the current hand-eye calibration parameters includes: If the confidence level of the current hand-eye calibration parameters meets the set confidence level requirement, the current hand-eye calibration parameters are determined as the hand-eye calibration information; If the confidence of the current hand-eye calibration parameters does not meet the set confidence requirement, then when it is found that the robot arm has not traversed all the collection points up to now, return to the step of sending a collection instruction to the robot arm through the chassis of the non-reference robot.
4. The method according to claim 1, characterized in that: The step of obtaining a height deviation of the mechanical arm installation height of the non-reference robot relative to the mechanical arm installation height of the reference robot comprises: Sending a height deviation calibration instruction to the robot arm through the chassis of the non-reference robot, so that the robot arm moves in a fixed environment based on the height deviation calibration instruction and sends a notification to the chassis of the non-reference robot when moving to a designated photographing position; When a notification sent by the robot arm is received through the chassis of the non-reference robot, a photographing instruction is sent to the camera of the non-reference robot, so that the camera takes a photograph of the calibration object based on the photographing instruction to obtain an image and outputs it to the chassis of the non-reference robot; The calibration object in the image is compared with the calibration object in the obtained reference image to determine the height deviation of the robotic arm installation height of the non-reference robot relative to the robotic arm installation height of the reference robot; the reference image refers to an image obtained by taking a picture of the calibration object by the camera of the reference robot at the photographing position in the fixed environment.
5. The method according to claim 1, characterized in that The obtaining of the TCP installation information deviation of the non-reference robot's TCP installation information relative to the TCP installation information of the reference robot comprises: Receive action parameters from external input; Sending a TCP calibration instruction to a mechanical arm of the non-reference robot through the chassis of the non-reference robot, so that the mechanical arm of the non-reference robot moves based on the TCP calibration instruction and sends a notification to the chassis of the non-reference robot when the non-reference robot moves to a designated calibration point; After receiving a notification sent by the mechanical arm of the non-reference robot through the chassis of the non-reference robot, the chassis of the non-reference robot collects the current first position information of the mechanical arm; In response to the posture adjustment of the robotic arm, the second current posture information of the robotic arm is collected through the chassis of the non-reference robot; the posture adjustment of the robotic arm is caused by the deviation that occurs when the robotic arm performs the action corresponding to the action parameter at the calibration point; Based on the first posture information and the second posture information, a TCP installation information deviation of the TCP installation information of the non-reference robot relative to the TCP installation information of the reference robot is obtained.
6. The method according to claim 1, characterized in that The teaching action transferred from the reference robot based on the hand-eye calibration information, height deviation, and TCP installation information deviation includes: If the non-reference robot is currently working on the reference machine, based on the hand-eye calibration information, the height deviation, and the TCP installation information deviation, the teaching action transferred from the reference robot is performed on the reference machine; If the non-reference robot is currently working on a non-reference machine, the teaching action migrated from the reference robot is performed on the non-reference machine based on the obtained machine deviation of the non-reference machine relative to the reference machine, as well as the hand-eye calibration information, the height deviation, and the TCP installation information deviation.
7. A teaching migration method applied to multiple robots and multiple machines, characterized in that: The method is applied to a benchmark robot, the method comprising: Obtaining the teaching action collected by the reference robot on the reference machine; the teaching action at least includes atomic actions split out of the preset whole set of actions for reuse; Obtaining a machine deviation of each non-reference machine relative to the reference machine measured by the reference robot; Among them, the teaching action and the machine deviation are transferred to each non-reference robot, so that each non-reference robot performs the teaching action on any machine based on the hand-eye calibration information obtained by each non-reference robot, the height deviation of the robot arm installation height of each non-reference robot relative to the robot arm installation height of the reference robot, the TCP installation information deviation of each non-reference robot relative to the TCP installation information of the reference robot, and the machine deviation.
8. The method according to claim 7, characterized in that The machine deviation at least includes: The height deviation of the Mark plate from the ground; the height deviation of the Mark plate from the ground refers to the deviation of the height of the Mark plate from the ground on the non-reference machine relative to the height of the Mark plate from the ground on the reference machine; or, The height deviation of the Mark plate from the ground, and the position deviation of the Mark plate; the Mark plate position deviation refers to the deviation between the position of the Mark plate on the non-reference machine in the two-dimensional plane and the position of the Mark plate on the reference machine in the two-dimensional plane.
9. The method according to claim 8, characterized in that The height deviation of the Mark plate from the ground is determined by the following method: Obtain a first Mark plate image; the first Mark plate image is an image of the Mark plate on the non-reference machine platform captured by the camera of the reference robot when the robot arm of the reference robot moves to the photographing position of the non-reference machine platform; Based on the height difference of the Mark plate in the first Mark plate image and the obtained second Mark plate image, the height deviation of the Mark plate from the ground is determined; the second Mark plate image is an image of the Mark plate on the reference machine captured by the camera of the reference robot when the robotic arm of the reference robot moves to the shooting position of the reference machine.
10. The method according to claim 8, characterized in that The position deviation of the Mark plate is determined by the following method: Sending the height deviation of the Mark plate from the ground to the mechanical arm of the reference robot through the chassis of the reference robot, so that the mechanical arm adjusts the photographing height of the camera of the reference robot based on the height deviation of the Mark plate from the ground; Collect the current third posture information of the robotic arm of the reference robot through the chassis of the reference robot; In response to the posture adjustment of the robotic arm, the fourth posture information of the current robotic arm is collected through the chassis of the reference robot; the posture adjustment of the robotic arm is caused by the deviation of the robotic arm when performing a specified action after adjusting the photographing height of the camera; Based on the third posture information and the fourth posture information, the position deviation of the Mark plate is determined.
11. The method according to claim 1 or 7, characterized in that: The teaching action at least includes: Photographing action; the photographing action refers to an action in which the mechanical arm of the reference robot moves from a designated hanging position to a designated photographing position in a scenario of picking up goods from a machine or placing goods to a machine; Grasping action; the grabbing action refers to the action of the reference robot's mechanical arm moving from the designated photo taking position to the designated grabbing position on the machine in the scenario of picking up goods from the machine; Placement action: The placement action refers to the action of the reference robot's robotic arm grabbing the goods, moving to the top of the machine's placement point, and then placing the goods on the machine in the scenario of placing goods on the machine.
12. A robot, characterized in that: The robot at least includes a body, a mechanical arm, and a camera; The body includes a chassis of the robot, and the chassis includes at least a processor, and the processor is used to execute the steps of the method described in any one of claims 1 to 6 when the robot is a non-reference robot; and is used to execute the steps of the method described in any one of claims 7 to 11 when the robot is a reference robot.
Citation Information
Patent Citations
Migration method of composite robot 2D visual guide teaching
CN110815177A
Automatic calibration method and system for mechanical arm tool coordinates and storage medium
CN116423526A
Teaching system and method and teaching-free automation device
CN117621092A
Teaching rigidity-based space mapping method and system for teleoperation robot
CN118269056A
Device, program, recording medium and method for correcting taught point
CN1868690A
