Skill learning method, operation method, skill learning device and related equipment

By collecting and compensating pose data, establishing a spatial mapping relationship, and controlling the dual-arm assembly robot to reproduce the manual operation process, it solves the problem of high time and cost in skill learning of assembly robots in the existing technology, and achieves low-cost, efficient Skill learning.

CN118596158BActive Publication Date: 2024-10-11JIHUA LAB
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411065089.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-05
Publication Date
2024-10-11
Estimated Expiration
2044-08-05

AI Technical Summary

Technical Problem

Existing robot assembly skill learning methods have high time costs and high technical requirements for operators. The imitation learning and teaching processes are cumbersome and complicated, and there are problems of high labor costs and time costs.

Method used

By collecting pose data during manual work, compensating for missing data, establishing a mapping relationship between the manual work space and the robot work space, obtaining the robot end pose set, controlling the dual-arm assembly robot to reproduce the manual work process, and realizing Skill learning.

Benefits of technology

It reduces the time cost of skill learning, reduces the technical requirements for operators, and can apply the same robot end pose set to multiple dual-arm assembly robots of the same type, further saving time and cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118596158B_ABST
    Figure CN118596158B_ABST
Patent Text Reader

Abstract

The present invention discloses a skill learning method, an operation method, a skill learning device and related equipment, and relates to the field of robot skill learning, wherein the skill learning method comprises: obtaining a first pose set; compensating for the missing pose data according to the pose data before and after the missing pose data in time sequence and the corresponding change trend; and obtaining the robot terminal pose set according to the preset offset and the second pose set; and controlling the dual-arm assembly robot to reproduce the manual operation process in the robot operation space according to the robot terminal pose set to perform skill learning. The skill learning method of the present application can solve the problem of high time cost of the existing assembly robot skill learning process, thereby achieving the effect of making the reproduction process of the manual operation process proceed normally and saving the time cost of skill learning.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of robot skill learning, and in particular relates to a skill learning method, an operation method, a skill learning device and related equipment. Background Art

[0002] Existing assembly production lines require the use of robots for assembly operations, and the robots need to learn assembly skills before assembly operations. However, existing robot assembly skill learning methods generally enable robots to learn skills based on imitation learning or reinforcement learning, or teach robots based on a teaching box to enable them to learn skills. However, the imitation learning process and reinforcement learning process are relatively cumbersome and complex and require a large amount of manual data, and the teaching process based on the teaching box requires high operator quality and high labor costs. In addition, imitation learning, reinforcement learning, and teaching processes based on the teaching box all have the problem of high time costs.

[0003] Therefore, the existing technology needs to be improved and developed. Summary of the invention

[0004] The purpose of this application is to provide a skill learning method, an operation method, a skill learning device and related equipment, aiming to solve the problem of high time cost in the skill learning process of existing assembly operation robots.

[0005] In a first aspect, the present application provides a skill learning method for controlling a dual-arm assembly robot to perform skill learning according to remote teaching, comprising the following steps:

[0006] S1. During the manual operation, the position and posture data of the positioning targets on the workpiece and the tooling pre-set in the manual operation space are collected to obtain the first position set;

[0007] S2. verifying the first pose set to determine whether there is any missing pose data, and if there is any missing pose data, compensating for the missing pose data according to the pose data before and after the missing pose data in time sequence and the corresponding change trend;

[0008] S3. Mapping the first pose set to the robot work space based on the pre-established mapping relationship between the human work space and the robot work space to obtain the second pose set, and obtaining the robot end pose set according to the preset offset and the second pose set;

[0009] S4. Control the dual-arm assembly robot to reproduce the manual operation process in the robot operation space according to the robot end posture set to perform skill learning.

[0010] The skill learning method of the present application can make the first pose set complete and correct, thereby making the second pose set and the robot end pose set complete and correct, so that the reproduction process of the manual operation process can proceed normally; and the present application can enable the dual-arm assembly robot to learn skills through simple steps, without the need for a large amount of manual data, with low technical requirements for operators, and can save the time cost of skill learning; in addition, the present application can apply the same robot end pose set to multiple dual-arm assembly robots of the same type for skill learning, thereby further saving time costs.

[0011] Furthermore, the change trend includes a trajectory change trend between two trajectories consisting of posture data of the positioning target respectively located before and after the missing posture data in time sequence.

[0012] In this embodiment, the skill learning method of the present application can compensate for the missing posture data.

[0013] Furthermore, between step S3 and step S4, the following steps are also included:

[0014] SA1. Verify whether all the posture data in the robot terminal posture set are located in the robot working space, and execute step S4 when all the posture data in the robot terminal posture set are located in the robot working space.

[0015] Further, in step S4, the process of controlling the dual-arm assembly robot to reproduce the manual operation process in the robot operation space according to the robot end posture set to perform skill learning includes:

[0016] S41. Obtain an inverse solution for the robot's terminal posture set, and when the inverse solution is successfully obtained to obtain the angle data of each joint of the robot, control the movement of each joint of the dual-arm assembly robot based on the angle data of each joint of the robot, so as to control the dual-arm assembly robot to reproduce the manual operation process in the robot's working space for skill learning.

[0017] In this embodiment, the skill learning method of the present application seeks an inverse solution for the robot end pose set, which facilitates the operator to eliminate errors and can minimize the waste of time and resources caused by reproducing manual operations when the robot arm joints are inaccessible.

[0018] Furthermore, the process of establishing the mapping relationship includes:

[0019] SB1. A plurality of first targets and a plurality of second targets are respectively set on a first standard part preset in a manual work space and a second standard part preset in a robot work space, wherein the first standard part and the second standard part have the same shape and volume, and the position of the first target on the first standard part is the same as the position of the second target on the second standard part;

[0020] SB2. Collecting the pose data of each first target in the manual work space to obtain a manual comparison pose set, and collecting the pose data of each second target in the robot work space to obtain a robot comparison pose set;

[0021] SB3. Establish a mapping relationship based on the manual comparison pose set and the robot comparison pose set.

[0022] Furthermore, between step S2 and step S3, the following steps are also included:

[0023] SC. Filter the pose data in the first pose set.

[0024] In a second aspect, the present application provides an operation method, which is applied to a dual-arm assembly operation robot, comprising the following steps:

[0025] A1. Control the dual-arm assembly robot to learn skills based on any of the above skill learning methods;

[0026] A2. Control the dual-arm assembly robot that has completed skill learning to operate on workpieces and tooling in the robot's working space.

[0027] The operating method of the present application can make the first pose set complete and correct, thereby making the second pose set and the robot end pose set complete and correct, so that the reproduction process of the manual operation process can proceed normally; and the present application can enable the dual-arm assembly robot to learn skills through simple steps, without the need for a large amount of manual data, with low technical requirements for operators, and can save the time cost of skill learning; in addition, the present application can apply the same robot end pose set to multiple dual-arm assembly robots of the same type for skill learning, thereby further saving time costs.

[0028] In a third aspect, the present application provides a skill learning device for controlling a dual-arm assembly robot to learn skills according to remote teaching, comprising:

[0029] The acquisition module is used to acquire the position and posture data of the positioning targets on the workpiece and the tooling pre-set in the manual operation space during the manual operation process to obtain the first position set;

[0030] A verification module is used to verify the first pose set to determine whether there is any missing pose data, and if there is any missing pose data, compensate for the missing pose data according to the pose data before and after the missing pose data in time sequence and the corresponding change trend;

[0031] A mapping module is used to map the first pose set to the robot working space based on a pre-established mapping relationship between the human working space and the robot working space to obtain a second pose set, and obtain the robot end pose set according to a preset offset and the second pose set;

[0032] The operation control module is used to control the dual-arm assembly operation robot to reproduce the manual operation process in the robot operation space according to the robot end posture set for skill learning.

[0033] The skill learning device of the present application can make the first pose set complete and correct, thereby making the second pose set and the robot end pose set complete and correct, so that the reproduction process of the manual operation process can proceed normally; and the present application can enable the dual-arm assembly robot to learn skills through simple steps, without the need for a large amount of manual data, with low technical requirements for operators, and can save the time cost of skill learning; in addition, the present application can apply the same robot end pose set to multiple dual-arm assembly robots of the same type for skill learning, thereby further saving time costs.

[0034] In a fourth aspect, the present application provides an electronic device, including a processor and a memory, wherein the memory stores a computer program executable by the processor, and when the processor executes the computer program, it runs the steps in any of the above methods.

[0035] In a fifth aspect, the present application provides a storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps in any of the above methods are performed.

[0036] From the above, it can be seen that the present application provides a skill learning method, an operation method, a skill learning device and related equipment, wherein the skill learning method provided by the present application can make the first pose set complete and correct, thereby making the second pose set and the robot end pose set complete and correct, so that the reproduction process of the manual operation process can proceed normally; and the present application can enable the dual-arm assembly operation robot to learn skills through simple steps, does not require a large amount of manual data, has low technical requirements for operators, and can save the time cost of skill learning; in addition, the present application can apply the same robot end pose set to multiple dual-arm assembly operation robots of the same type for skill learning, thereby further saving time costs.

[0037] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by implementing the embodiments of the present application. The purpose and other advantages of the present application can be achieved and obtained through the structures specifically pointed out in the written description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 A flowchart of a skill learning method provided in an embodiment of the present application.

[0039] Figure 2 A flowchart of an operating method provided in an embodiment of the present application.

[0040] Figure 3 A schematic diagram of the structure of a skill learning device provided in an embodiment of the present application.

[0041] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0042] Explanation of reference numerals: 1. Acquisition module; 2. Verification module; 3. Mapping module; 4. Job control module; 301. Processor; 302. Memory; 303. Communication bus. DETAILED DESCRIPTION

[0043] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0044] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0045] First, as Figure 1 As shown, the present application provides a skill learning method for controlling a dual-arm assembly robot to learn skills according to remote teaching, comprising the following steps:

[0046] S1. During the manual operation, the position and posture data of the positioning targets on the workpiece and the tooling pre-set in the manual operation space are collected to obtain the first position set;

[0047] S2. verifying the first pose set to determine whether there is any missing pose data, and if there is any missing pose data, compensating for the missing pose data according to the pose data before and after the missing pose data in time sequence and the corresponding change trend;

[0048] S3. Mapping the first pose set to the robot work space based on the pre-established mapping relationship between the human work space and the robot work space to obtain the second pose set, and obtaining the robot end pose set according to the preset offset and the second pose set;

[0049] S4. Control the dual-arm assembly robot to reproduce the manual operation process in the robot operation space according to the robot end posture set to perform skill learning.

[0050] Specifically, the manual operation process is the work process of manually assembling workpieces based on tooling, and the robot operation process is the work process of a dual-arm assembly robot assembling workpieces based on tooling; the manual operation space is the space where the manual operation process is located, and the robot operation space is the space where the robot operation process is located.

[0051] More specifically, in the present application, the position and posture data of an object is data that can characterize the position and posture of the object.

[0052] More specifically, the positioning target is a point preset on the workpiece and tooling in the manual operation space, and the position and posture of the positioning target during the manual operation process can represent the position and posture of the workpiece and tooling. The method for collecting the position and posture data of the positioning target can be based on collecting the position and posture data of the positioning target by a motion capture system, or other existing methods that can collect the position and posture data of the positioning target.

[0053] More specifically, since methods such as motion capture to collect the pose data of the positioning target generally need to rely on vision, and the workpiece or tooling may be blocked by human hands and other workpieces or tooling during the manual operation, it is possible that the pose data of some positioning targets are not collected, and there is a situation where the pose data is missing in the first pose set, resulting in the second pose set and the robot terminal pose set also having pose data missing, making it impossible to reproduce the manual operation process normally. Therefore, it is necessary to verify the first pose set to determine whether it has pose data missing. Among them, the method of verifying the first pose set can be to confirm whether the number of pose data corresponding to each moment is consistent, and when the number of pose data at a certain moment in the manual operation process is inconsistent with the number of pose data corresponding to other moments, it is determined that the first pose set has pose data missing, or it can be other existing methods that can determine whether the first pose set has pose data missing.

[0054] More specifically, during the manual operation process, since the position and posture changes of the workpiece, tooling and the positioning targets thereon are continuous, the position and posture of the positioning target at a certain moment can be estimated by the position and posture of the positioning target before and after this moment and its changing trend. Therefore, when there is missing posture data, the missing posture data can be compensated by obtaining the posture data before and after the missing posture data in time sequence and the corresponding changing trend.

[0055] More specifically, since there is a mapping relationship between the manual work space and the robot work space, in the process of reproducing the manual work process, the posture data in the mapped second posture set can represent the posture of the workpiece and tooling in the robot work space.

[0056] More specifically, in the robot working space, when the dual-arm assembly robot reproduces the manual operation process, its end effector contacts the workpiece and the tooling, so the change trend of the posture data of its end effector is consistent with the change trend of the posture data of the workpiece and the tooling. However, when the setting position of the positioning target on the workpiece and the tooling is different from the contact position of the end effector with the workpiece and the tooling, there is a relative offset between the posture data of the end effector and the posture data of the workpiece and the tooling, and the relative offset remains unchanged during the reproduction of the manual operation process. Therefore, it is only necessary to set a preset offset according to the relative offset, and adjust the posture data in the second posture set based on the preset offset, so as to obtain the robot end posture set composed of the posture data of the end effector in the reproduction process of the manual operation process, and control the movement of the end effector according to the robot end posture set to enable the dual-arm assembly robot to reproduce the manual operation process.

[0057] More specifically, the two robotic arms of the dual-arm assembly robot may operate different tooling or workpieces, and the preset offsets corresponding to the end effectors of the two robotic arms are also different. It is only necessary to set the preset offsets of the two robotic arms accordingly, obtain the robot end posture sets corresponding to the two robotic arms based on the two preset offsets, and control the movement of the end effectors corresponding to the two robotic arms according to the two robot end posture sets. The two robotic arms can cooperate to assemble the workpieces and tooling operated by the two robotic arms, thereby enabling the dual-arm assembly robot to replicate the manual operation process.

[0058] More specifically, the present application compensates for the missing pose data based on the pose data that are located before and after the missing pose data in time sequence and the corresponding change trends, so that the first pose set can be complete and correct, thereby making the second pose set and the robot end pose set complete and correct, so that the reproduction process of the manual operation process can proceed normally; and the present application obtains the robot end pose set according to the preset offset and the second pose set, and controls the movement of the robot end effector according to the robot end pose set to enable the dual-arm assembly robot to reproduce the manual operation process, so that the dual-arm assembly robot can learn skills through simple steps, does not require a large amount of manual data, has low technical requirements for operators, and can save the time cost of skill learning.

[0059] In addition, the robot end posture set of the present application can be reused. Therefore, after obtaining the robot end posture set once, the present application can apply the robot end posture set to multiple dual-arm assembly robots of the same type for skill learning, thereby further saving time costs.

[0060] The skill learning method of the present application can make the first pose set complete and correct, thereby making the second pose set and the robot end pose set complete and correct, so that the reproduction process of the manual operation process can proceed normally; and the present application can enable the dual-arm assembly robot to learn skills through simple steps, without the need for a large amount of manual data, with low technical requirements for operators, and can save the time cost of skill learning; in addition, the present application can apply the same robot end pose set to multiple dual-arm assembly robots of the same type for skill learning, thereby further saving time costs.

[0061] In some preferred embodiments, the change trend includes a trajectory change trend between two trajectories consisting of posture data of the positioning target that are respectively located before and after the missing posture data in time sequence.

[0062] Specifically, the change in the trajectory between the trajectory composed of the pose data of the positioning target located before the missing pose data in time sequence and the trajectory composed of the pose data of the positioning target located after the missing pose data in time sequence reflects the position change of the positioning target corresponding to the missing pose data within a time period, and the missing pose data is spatially located between the two trajectories. Therefore, it is only necessary to determine one pose data between the pose data of the positioning target located before and after the missing pose data in time sequence based on the two trajectories, and then add the pose data as the missing pose data to the first pose set, thereby compensating for the missing pose data.

[0063] In this embodiment, the skill learning method of the present application can compensate for the missing posture data.

[0064] Preferably, the two trajectories corresponding to the positioning target formed by the posture data located before and after the missing posture data in time sequence are straight lines or smooth curves.

[0065] In some preferred embodiments, the method further includes the following steps between step S3 and step S4:

[0066] SA1. Verify whether all the posture data in the robot terminal posture set are located in the robot working space, and execute step S4 when all the posture data in the robot terminal posture set are located in the robot working space.

[0067] Specifically, the pose data collection process and mapping process may be wrong, resulting in incorrect pose data in the robot terminal pose set, which in turn causes the reproduction process of the manual operation process to fail to proceed normally. Therefore, in this embodiment, the skill learning method of the present application verifies the robot terminal pose set, which is convenient for operators to eliminate errors and can minimize the waste of time and resources caused by the dual-arm assembly robot reproducing manual operations based on an incorrect robot terminal pose set.

[0068] In some preferred embodiments, in step S4, the process of controlling the dual-arm assembly robot to reproduce the manual operation process in the robot operation space according to the robot end posture set to perform skill learning includes:

[0069] S41. Obtain an inverse solution for the robot's terminal posture set, and when the inverse solution is successfully obtained to obtain the angle data of each joint of the robot, control the movement of each joint of the dual-arm assembly robot based on the angle data of each joint of the robot, so as to control the dual-arm assembly robot to reproduce the manual operation process in the robot's working space for skill learning.

[0070] Specifically, the robot joint angle data is data that can represent the angles of the robot arms of the dual-arm assembly robot.

[0071] More specifically, even if the posture data in the robot end posture set is correct, there may still be a situation where the end effector is reachable (i.e., the corresponding posture is presented according to the corresponding posture data) but the robot arm joint corresponding to the end effector is not reachable. Therefore, in this embodiment, the skill learning method of the present application seeks an inverse solution for the robot end posture set, which is convenient for the operator to eliminate errors and can avoid wasting time and resources by reproducing manual operations when the robot arm joint is not reachable.

[0072] Preferably, the inverse solution process is performed based on a dual-arm assembly robot simulation model established in the ROS system.

[0073] In some preferred implementations, the process of establishing the mapping relationship includes:

[0074] SB1. A plurality of first targets and a plurality of second targets are respectively set on a first standard part preset in a manual work space and a second standard part preset in a robot work space, wherein the first standard part and the second standard part have the same shape and volume, and the position of the first target on the first standard part is the same as the position of the second target on the second standard part;

[0075] SB2. Collecting the pose data of each first target in the manual work space to obtain a manual comparison pose set, and collecting the pose data of each second target in the robot work space to obtain a robot comparison pose set;

[0076] SB3. Establish a mapping relationship based on the manual comparison pose set and the robot comparison pose set.

[0077] Specifically, the position of the first target on the first standard part is the same as the position of the second target on the second standard part. It can be seen that the posture of the first target in the manual working space is the same as the posture of the second target in the robot working space. Therefore, in this embodiment, the skill learning method of the present application can establish a mapping relationship between the manual working space and the robot working space.

[0078] Preferably, the process of establishing a mapping relationship based on the manual comparison pose set and the robot comparison pose set includes:

[0079] SBA. Based on the mapping formula, the rotation matrix and transfer matrix are solved according to the manual comparison pose set and the robot comparison pose set, and a mapping relationship is established according to the mapping formula, the rotation matrix and the transfer matrix. The mapping formula is PR=R*PD+T, where PR is the robot comparison pose set, R is the rotation matrix, PD is the manual comparison pose set, and T is the transfer matrix.

[0080] Preferably, the process of establishing a mapping relationship based on the manual comparison pose set and the robot comparison pose set includes:

[0081] SBB. A mapping relationship is established based on the position and posture data corresponding to a plurality of mutually corresponding first targets and second targets, and the mapping relationship is verified based on the position and posture data corresponding to the remaining first targets and second targets.

[0082] In some preferred embodiments, the method further includes the following steps between step S2 and step S3:

[0083] SC. Filter the pose data in the first pose set.

[0084] In this embodiment, the skill learning method of the present application filters the pose data in the first pose set, which can make the pose data in the first pose set more reliable, and when the pose data missing in the first pose set is compensated, the present application can make the pose data newly added to the first pose set due to compensation more reliable.

[0085] It is worth noting that the filtering process in this application refers to smoothing process.

[0086] Preferably, the process of setting the positioning target includes:

[0087] SD1. Obtain feature point information on workpieces and tooling in the manual operation space according to the manual operation process;

[0088] SD2. Set positioning targets on workpieces and tooling in the manual work space based on feature point information.

[0089] Specifically, the feature point information refers to the points on the workpiece and tooling that can reflect the posture changes of the workpiece and tooling during the assembly process and are not obscured during the manual operation (relative to the collection of posture data during the manual operation) or are least obscured.

[0090] In this embodiment, the present application obtains feature point information on the workpiece and tooling in the manual working space according to the manual working process, and sets positioning targets on the workpiece and tooling in the manual working space according to the feature point information, so that the first pose set can reflect the pose changes of the workpiece and tooling during the manual working process as comprehensively as possible, thereby making the pose data in the robot terminal pose set more accurate, and the present application can make the pose data in the first pose set as complete as possible.

[0091] Second, as Figure 2 As shown, the present application provides an operation method, which is applied to a dual-arm assembly operation robot, comprising the following steps:

[0092] A1. Control the dual-arm assembly robot to learn skills based on any of the above skill learning methods;

[0093] A2. Control the dual-arm assembly robot that has completed skill learning to operate on workpieces and tooling in the robot's working space.

[0094] The operating method of the present application can make the first pose set complete and correct, thereby making the second pose set and the robot end pose set complete and correct, so that the reproduction process of the manual operation process can proceed normally; and the present application can enable the dual-arm assembly robot to learn skills through simple steps, without the need for a large amount of manual data, with low technical requirements for operators, and can save the time cost of skill learning; in addition, the present application can apply the same robot end pose set to multiple dual-arm assembly robots of the same type for skill learning, thereby further saving time costs.

[0095] Thirdly, Figure 3 As shown, the present application provides a skill learning device for controlling a dual-arm assembly robot to learn skills according to remote teaching, comprising:

[0096] The acquisition module 1 is used to acquire the position and posture data of the positioning targets on the workpiece and the tooling pre-set in the manual operation space during the manual operation process to obtain the first position set;

[0097] Verification module 2 is used to verify the first pose set to determine whether there is any missing pose data, and if there is any missing pose data, compensate for the missing pose data according to the pose data before and after the missing pose data in time sequence and the corresponding change trend;

[0098] A mapping module 3 is used to map the first pose set to the robot working space based on a pre-established mapping relationship between the human working space and the robot working space to obtain a second pose set, and obtain a robot end pose set according to a preset offset and the second pose set;

[0099] The operation control module 4 is used to control the dual-arm assembly operation robot to reproduce the manual operation process in the robot operation space according to the robot end posture set to perform skill learning.

[0100] The skill learning device of the present application can make the first pose set complete and correct, thereby making the second pose set and the robot end pose set complete and correct, so that the reproduction process of the manual operation process can proceed normally; and the present application can enable the dual-arm assembly robot to learn skills through simple steps, without the need for a large amount of manual data, with low technical requirements for operators, and can save the time cost of skill learning; in addition, the present application can apply the same robot end pose set to multiple dual-arm assembly robots of the same type for skill learning, thereby further saving time costs.

[0101] Based on the same idea as the method in the above-mentioned embodiment, the device provided in the present application can implement the method in the above-mentioned embodiment. For the convenience of explanation, the structural diagram of the device embodiment only shows the parts related to the embodiment of the present application. Those skilled in the art can understand that the illustrated structure does not constitute a limitation on the device, and may include more or fewer modules than shown in the figure, or a combination of certain modules, or different module arrangements.

[0102] Fourthly, Figure 4 As shown, the present application provides an electronic device, including a processor 301 and a memory 302, the processor 301 and the memory 302 are interconnected and communicate with each other through a communication bus 303 and / or other forms of connection mechanisms (not shown), the memory 302 stores a computer program executable by the processor 301, when the electronic device is running, the processor 301 executes the computer program to execute the method in any optional implementation of the above embodiment to achieve the following functions: during the manual operation process, the position and posture data of the positioning targets on the workpiece and the tooling pre-set in the manual operation space are collected to obtain a first position and posture set; the first position and posture set are verified to determine whether there is any missing position and posture data, and when there is any missing position and posture data, based on The missing pose data is compensated according to the pose data before and after the missing pose data in time sequence and the corresponding change trend; the first pose set is mapped to the robot working space based on the pre-established mapping relationship between the manual working space and the robot working space to obtain the second pose set, and the robot terminal pose set is obtained according to the preset offset and the second pose set; the dual-arm assembly robot is controlled to reproduce the manual working process in the robot working space according to the robot terminal pose set to perform skill learning; or the following functions are realized: based on any of the above skill learning methods, the dual-arm assembly robot is controlled to perform skill learning; the dual-arm assembly robot that has completed skill learning is controlled to operate on the workpiece and tooling in the robot working space.

[0103] In a fifth aspect, an embodiment of the present application provides a storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method in any optional implementation of the above embodiments is executed to achieve the following functions: during a manual operation process, pose data of positioning targets on workpieces and tooling pre-set in a manual operation space are collected to obtain a first pose set; the first pose set is verified to determine whether there is any missing pose data, and when there is any missing pose data, the missing pose data is compensated according to the pose data before and after the missing pose data in time sequence and the corresponding change trend; the first pose set is mapped to the robot operation space based on a pre-established mapping relationship between the manual operation space and the robot operation space to obtain a second pose set, and the robot terminal pose set is obtained according to the preset offset and the second pose set; according to the robot terminal pose set, a dual-arm assembly robot is controlled to reproduce the manual operation process in the robot operation space to perform skill learning; or the following functions are achieved: based on any of the above skill learning methods, a dual-arm assembly robot is controlled to perform skill learning; the dual-arm assembly robot that has completed skill learning is controlled to operate on the workpiece and tooling in the robot operation space. Among them, the computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, referred to as EPROM), programmable read-only memory (Programmable Red-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic storage, flash memory, magnetic disk or optical disk.

[0104] In summary, the present application provides a skill learning method, an operation method, a skill learning device and related equipment, wherein the skill learning method provided by the present application can make the first pose set complete and correct, thereby making the second pose set and the robot end pose set complete and correct, so that the reproduction process of the manual operation process can proceed normally; and the present application can enable the dual-arm assembly robot to learn skills through simple steps, does not require a large amount of manual data, has low technical requirements for operators, and can save the time cost of skill learning; in addition, the present application can apply the same robot end pose set to multiple dual-arm assembly robots of the same type for skill learning, thereby further saving time costs.

[0105] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0106] In addition, the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0107] Furthermore, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.

[0108] In this document, relational terms such as first and second, etc. are used merely to distinguish one entity or operation from another entity or operation, but do not necessarily require or imply any such actual relationship or order between these entities or operations.

[0109] The above description is only an embodiment of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A skill learning method for controlling a dual-arm assembly robot to learn skills based on remote teaching, characterized in that: The following steps are involved: S1. During the manual operation, the position and posture data of the positioning targets on the workpiece and the tooling pre-set in the manual operation space are collected to obtain the first position set; S2. verifying the first pose set to determine whether there is any missing pose data, and if there is any missing pose data, compensating for the missing pose data according to the pose data before and after the missing pose data in time sequence and the corresponding change trend; S3. Mapping the first pose set to the robot work space based on the pre-established mapping relationship between the human work space and the robot work space to obtain a second pose set, and obtaining the robot end pose set according to the preset offset and the second pose set; S4. Controlling the dual-arm assembly robot to reproduce the manual operation process in the robot operation space according to the robot end posture set to perform skill learning.

2. A skill learning method according to claim 1, characterized in that: The change trend includes a trajectory change trend between two trajectories consisting of posture data of the positioning target that are respectively located before and after the missing posture data in time sequence.

3. A skill learning method according to claim 1, characterized in that: The method further includes the following steps between step S3 and step S4: SA1. Verify whether all the posture data in the robot terminal posture set are located in the robot working space, and execute step S4 when all the posture data in the robot terminal posture set are located in the robot working space.

4. A skill learning method according to claim 1, characterized in that: In step S4, the process of controlling the dual-arm assembly robot to reproduce the manual operation process in the robot operation space according to the robot end posture set to perform skill learning includes: S41. Find an inverse solution for the robot's end posture set, and when the inverse solution is successfully obtained to obtain the angle data of each joint of the robot, control the movement of each joint of the dual-arm assembly robot based on the angle data of each joint of the robot, so as to control the dual-arm assembly robot to reproduce the manual operation process in the robot's working space for skill learning.

5. A skill learning method according to claim 1, characterized in that: The process of establishing the mapping relationship includes: SB1. A plurality of first targets and a plurality of second targets are respectively set on a first standard part preset in a manual work space and a second standard part preset in a robot work space, wherein the first standard part and the second standard part have the same shape and volume, and the position of the first target on the first standard part is the same as the position of the second target on the second standard part; SB2. Collecting the pose data of each first target in the manual work space to obtain a manual comparison pose set, and collecting the pose data of each second target in the robot work space to obtain a robot comparison pose set; SB3. Establish the mapping relationship according to the manual comparison pose set and the robot comparison pose set.

6. A skill learning method according to claim 1, characterized in that: The method further includes the following steps between step S2 and step S3: SC. Filter the posture data in the first posture set.

7. An operation method, applied to a dual-arm assembly operation robot, characterized in that: The following steps are involved: A1. Controlling a dual-arm assembly robot to learn skills based on the skill learning method according to any one of claims 1 to 6; A2. Control the dual-arm assembly robot that has completed skill learning to operate on workpieces and tooling in the robot's working space.

8. A skill learning device for controlling a dual-arm assembly robot to learn skills based on remote teaching, characterized in that: include: A collection module (1) is used to collect position and posture data of positioning targets on workpieces and tooling pre-set in the manual operation space during manual operation to obtain a first position set; A verification module (2) is used to verify the first posture set to determine whether there is any missing posture data, and if there is any missing posture data, compensate for the missing posture data based on the posture data before and after the missing posture data in time sequence and the corresponding change trend; A mapping module (3) is used to map the first posture set to the robot working space based on a pre-established mapping relationship between the human working space and the robot working space to obtain a second posture set, and to obtain a robot end posture set based on a preset offset and the second posture set; The operation control module (4) is used to control the dual-arm assembly operation robot to reproduce the manual operation process in the robot operation space according to the robot end posture set so as to perform skill learning.

9. An electronic device, characterized in that: The invention comprises a processor (301) and a memory (302), wherein the memory (302) stores a computer program executable by the processor (301), and when the processor (301) executes the computer program, the steps in the method according to any one of claims 1 to 7 are executed.

10. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor (301), the steps in the method according to any one of claims 1 to 7 are performed.