Teleoperation method and apparatus for collaborative robot, device, and storage medium
By capturing human body images with a camera, the three-dimensional posture is reconstructed and the posture information is simultaneously mapped, which solves the problem of inflexible operation of collaborative robots in unstructured spaces and achieves precise control of the robot's axis motion.
Patent Information
- Application Number
- PCT/CN2023/137201
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-12
- Filing Date
- 2023-12-07
- Publication Date
- 2024-10-17
AI Technical Summary
Existing teleoperation methods for collaborative robots cannot flexibly control human movements in unstructured spaces and cannot synchronously map human postures.
By using a pre-calibrated camera to capture human body images in real time and reconstruct a three-dimensional posture image, real-time posture information of multiple human body joint points is obtained and synchronously mapped to the collaborative robot, including using the COCO data set to extract human body key points and calculate shoulder It uses angle values such as the body yaw angle and body pitch angle to control the robot axis movement to match human body movements.
It achieves precise and flexible control of collaborative robots in an unstructured environment, and can synchronously map the detailed movements of human body postures, allowing users to flexibly control the movement of each axis of the robot.
Smart Images

Figure CN2023137201_17102024_PF_FP_ABST
Abstract
Description
Teleoperation method, device, equipment and storage medium for collaborative robot Technical Field
[0001] The present application relates to the field of robotics technology, and in particular to a remote operation method, device, equipment and storage medium for a collaborative robot. Background Art
[0002] Collaborative production methods that integrate humans and robots are becoming increasingly important in both production and daily life. Research on this integration has garnered increasing attention in recent years. Remotely mapping human movements to collaborative robots and ensuring safe human-robot interaction is a key step in automating complex operational tasks in this human-robot environment. Robotic teleoperation protects personnel from hazardous work environments while significantly enhancing the flexibility of robots by leveraging the high cognitive and responsiveness of human operators. Teleoperation is currently being applied in aerospace, mining, exploration, construction, medicine, and other fields.
[0003] Teleoperation has long been used in medicine. In 1998, Johns Hopkins Hospital in Mount Sinai, Maryland, USA, and Bangkok Hospital in Thailand collaborated to perform two minimally invasive surgeries remotely, 10,880 miles apart. Subsequently, Johns Hopkins Hospital collaborated with the University of Innsbruck in Austria, 3,083 miles away, to perform a minimally invasive adrenalectomy. Technical issues
[0004] However, existing teleoperation for collaborative robots can only control the robot's end effector and cannot synchronously map human movements, making it inflexible in unstructured spaces. Technical Solutions
[0005] In view of this, the present application provides a remote operation method, device, equipment and storage medium for a collaborative robot to solve the problem that the existing collaborative robot operation is not flexible enough.
[0006] In order to solve the above technical problems, a technical solution adopted in this application is: to provide a remote operation method for a collaborative robot, which includes: using a pre-calibrated camera to capture the human body image of the target person in real time, and reconstructing the three-dimensional posture image of the target person based on the human body image; obtaining the real-time posture information of multiple pre-defined human joints from the three-dimensional posture image, and synchronously mapping the real-time posture information to the collaborative robot.
[0007] As a further improvement of the present application, real-time posture information of multiple pre-defined human joints is obtained from the three-dimensional posture image, and the real-time posture information is synchronously mapped to the collaborative robot, including: extracting a human key point dataset from the three-dimensional posture image, the human key point dataset including the COCO dataset; selecting the left hip joint point from the COCO dataset as the origin to construct a three-dimensional coordinate system to obtain a human upper limb geometric vector model; calculating the pre-divided shoulder yaw angle, torso pitch angle, shoulder pitch angle, elbow pitch angle, and shoulder roll angle based on the human upper limb geometric vector model; controlling the movement of each axis of the collaborative robot until the inter-axis angles between the connected axes are respectively the same as the shoulder yaw angle, torso pitch angle, shoulder pitch angle, elbow pitch angle, and shoulder roll angle, and the correspondence between the inter-axis angles between each connected axis and the shoulder yaw angle, torso pitch angle, shoulder pitch angle, elbow pitch angle, and shoulder roll angle is pre-set.
[0008] As a further improvement of the present application, a human body image of a target person is captured in real time using a pre-calibrated camera, and a three-dimensional posture image of the target person is reconstructed based on the human body image, including: capturing human body images of the target person using preset cameras at different angles; downsampling the human body image; detecting whether a human body exists in the human body image based on a pre-trained target detection model; when a human body exists, extracting a region of interest from the human body image, and performing single-person posture estimation on the human body in the region of interest; and reconstructing the three-dimensional posture image of the target person based on the single-person posture estimation in a triangulated thresholding manner.
[0009] As a further improvement of the present application, before using a pre-calibrated camera to capture the human body image of the target person in real time, it also includes: using the camera to capture the human body image of the target person in real time and extracting the current posture of the target person from the human body image; judging whether the duration of the current posture reaches a preset time length; when the duration of the current posture reaches the preset time length, obtaining initialization posture information from the current posture, and initializing the initial posture of the collaborative robot according to the initialization posture information.
[0010] As a further improvement of the present application, after synchronously mapping the real-time posture information to the collaborative robot, it also includes: using a camera pre-set on the collaborative robot to capture the perspective image, and uploading the perspective image to the VR glasses worn by the user for display.
[0011] As a further improvement of the present application, after synchronously mapping the real-time posture information to the collaborative robot, it also includes: constructing a digital twin model corresponding to the collaborative robot, and bidirectionally synchronously controlling the digital twin model and the collaborative robot; displaying the digital twin model through VR glasses worn by the user; and after the user adjusts the posture of the digital twin model, adjusting the posture of the collaborative robot in real time according to the posture of the digital twin model.
[0012] As a further improvement of the present application, before using a pre-calibrated camera to capture the human body image of the target person in real time, it also includes: using the camera to capture the human body image of the target person, and determining whether the human body image includes a preset gesture action; when the human body image includes a first preset gesture action, executing the real-time capture of the human body image of the target person and subsequent steps using the pre-calibrated camera; when the human body image includes a second preset gesture action, obtaining the target coordinates of the end effector of the collaborative robot input by the user, and inversely solving the motion control parameters of each axis of the collaborative robot based on the target coordinates, and then controlling the movement of the collaborative robot according to the motion control parameters.
[0013] In order to solve the above technical problems, another technical solution adopted in this application is: to provide a remote operation device for a collaborative robot, which includes: a shooting module, which is used to use a pre-calibrated camera to shoot the human body image of the target person in real time, and reconstruct the three-dimensional posture image of the target person based on the human body image; a synchronization module, which is used to obtain the real-time posture information of multiple pre-defined human joints from the three-dimensional posture image, and synchronously map the real-time posture information to the collaborative robot.
[0014] In order to solve the above technical problems, another technical solution adopted in this application is: to provide a computer device, which includes a processor and a memory coupled to the processor, wherein program instructions are stored in the memory, and when the program instructions are executed by the processor, the processor executes the steps of the remote operation method of the collaborative robot as described in any one of the above items.
[0015] In order to solve the above technical problems, another technical solution adopted in this application is: providing a storage medium storing program instructions of the remote operation method of the collaborative robot that can implement any of the above items. Beneficial effects
[0016] The beneficial effect of the present application is that the remote operation method of the collaborative robot of the present application reconstructs a three-dimensional posture image of a person based on the human body image taken by a camera, obtains posture information from the three-dimensional posture image, and then synchronizes the posture information to the collaborative robot to achieve the purpose of synchronous control of the collaborative robot. It can map the detailed movements of the human body posture to the collaborative robot, thereby flexibly controlling the movement of each axis of the collaborative robot, so that the user can accurately and flexibly control the movement of the collaborative robot in an unstructured environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] 1 is a schematic flow chart of a teleoperation method for a collaborative robot according to a first embodiment of the present invention;
[0018] FIG2 is a schematic diagram of the 17-point COCO dataset format according to the first embodiment of the present invention;
[0019] FIG3 is a schematic diagram of five joint angles of the ELITE collaborative robot according to the first embodiment of the present invention;
[0020] FIG4 is a schematic diagram of a geometric vector model of a human upper limb according to a first embodiment of the present invention;
[0021] 5 is a schematic flow chart of a teleoperation method for a collaborative robot according to a second embodiment of the present invention;
[0022] 6 is a schematic flow chart of a teleoperation method for a collaborative robot according to a third embodiment of the present invention;
[0023] 7 is a schematic diagram of the functional modules of the teleoperation device of the collaborative robot according to the first embodiment of the present invention;
[0024] 8 is a schematic diagram of the functional modules of a remote operation device of a collaborative robot according to a second embodiment of the present invention;
[0025] 9 is a schematic diagram of the functional modules of a teleoperation device for a collaborative robot according to a third embodiment of the present invention;
[0026] FIG10 is a schematic structural diagram of a computer device according to an embodiment of the present invention;
[0027] FIG11 is a schematic structural diagram of a storage medium according to an embodiment of the present invention. Modes for Carrying Out the Invention
[0028] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0029] The terms "first," "second," and "third" in this application are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features identified. Therefore, features identified as "first," "second," or "third" may explicitly or implicitly include at least one of such features. In the description of this application, "plurality" means at least two, for example, two, three, etc., unless otherwise specifically defined. All directional designations in the embodiments of this application (such as up, down, left, right, front, back, etc.) are intended only to illustrate the relative positional relationships and movement of components in a specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional designations will also change accordingly. Furthermore, the terms "including," "having," and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or elements is not limited to the listed steps or elements but may optionally include steps or elements not listed, or may optionally include other steps or elements inherent to such process, method, product, or apparatus.
[0030] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0031] FIG1 is a flow chart of a method for remotely controlling a collaborative robot according to a first embodiment of the present invention. It should be noted that the method of the present invention is not limited to the flow sequence shown in FIG1 if substantially the same result is achieved. As shown in FIG1 , the method for remotely controlling a collaborative robot includes the following steps:
[0032] Step S101: using a pre-calibrated camera to capture a human body image of a target person in real time, and reconstructing a three-dimensional posture image of the target person based on the human body image.
[0033] Specifically, in this embodiment, after capturing a human body image of a target person with a pre-calibrated camera, a three-dimensional pose image of the target person is reconstructed based on the human body image. The camera calibration operation needs to be performed in advance. The steps of reconstructing the three-dimensional pose image of the target person specifically include:
[0034] 1. Use preset cameras at different angles to capture the target person's body image.
[0035] Specifically, in order to ensure that the human body's movements can be captured in all directions and avoid the problem of human body self-occlusion, this embodiment uses pre-set cameras at different angles to synchronously capture the human body images of the target person from different angles, thereby being able to capture the human body's movements in all directions and avoiding the problem of human body self-occlusion.
[0036] 2. Downsample the human body image.
[0037] Specifically, to reduce the amount of data required for processing, after multiple cameras capture images of the target person, the images are downsampled frame by frame, reducing the number of frames required for subsequent processing. During the downsampling operation, a single representative frame is selected from multiple similar consecutive frames. For example, if 20 frames are captured, the most representative frame can be selected from every five frames, reducing the total number of frames from 20 to four.
[0038] 3. Detect whether there is a human body in the human image based on the pre-trained object detection model.
[0039] Specifically, after obtaining the human body image after the downsampling operation, it is detected whether there is a human body in each frame of the human body image. The human body can be detected by a pre-trained target detection model, and the target detection model can be implemented by a convolutional neural network.
[0040] 4. When a human body exists, the region of interest is extracted from the human body image, and the single-person pose estimation is performed on the human body in the region of interest.
[0041] Specifically, when a human body exists in the human body image, image information of a region of interest containing the human body is extracted from the human body image, and then single-person posture estimation is performed based on the image information.
[0042] 5. Reconstruct the target person's 3D posture image based on single-person posture estimation based on triangulation thresholding.
[0043] Specifically, human body images taken by multiple cameras are combined with triangulation thresholding, and the three-dimensional posture image of the target person is reconstructed based on multiple single-person posture estimates obtained from images taken from different orientations.
[0044] Step S102: Acquire real-time posture information of a plurality of pre-defined human joints from the three-dimensional posture image, and synchronously map the real-time posture information to the collaborative robot.
[0045] Specifically, after obtaining the three-dimensional posture image of the target person, the details of the current body posture of the target person are extracted from the three-dimensional posture image to obtain real-time posture information. Then, the axis movement of the collaborative robot is synchronously controlled according to the real-time posture information to correspond to the posture of the target person. By taking the image of the target person in real time, the collaborative robot is controlled in real time to perform corresponding movements according to the actions of the target person.
[0046] Furthermore, step S102 specifically includes:
[0047] 1. Extract human key point datasets from 3D posture images. Human key point datasets include COCO datasets.
[0048] Specifically, as shown in Figure 2, this embodiment uses the 17-point COCO (Common Objects in Context) dataset format as the human key point dataset for the target person. The COCO dataset is a dataset funded and annotated by Microsoft and is primarily used for target detection, segmentation, and image description. It should be understood that the collaborative robot described in this embodiment refers to a single-arm, multi-axis robotic arm, which typically includes multiple axes with rotational connections between the axes. The collaborative robot in this embodiment is preferably an ELITE collaborative robot (see Figure 3), which includes five joint angles: J1, J2, J3, J4, and J5.
[0049] 2. Select the left hip joint point from the COCO dataset as the origin to construct a three-dimensional coordinate system and obtain the geometric vector model of the human upper limb.
[0050] Specifically, as shown in FIG4 , after obtaining the human body key point data set, the left hip joint point is selected from the human body key point data set, and the left hip joint point is respectively , , A rectangular relative coordinate system is established with the direction as the coordinate axis, thereby constructing a three-dimensional coordinate system and obtaining a geometric vector model of the human upper limb.
[0051] 3. Based on the geometric vector model of the human upper limb, the pre-divided shoulder yaw angle, trunk pitch angle, shoulder pitch angle, elbow pitch angle, and shoulder roll angle are calculated.
[0052] Specifically, the shoulder yaw angle is the angle between plane BOF and plane BOE, and the body pitch angle is a vector Angle with the z-axis, shoulder pitch angle is a vector With vector The angle of elbow pitch is a vector With vector Angle, shoulder roll angle is the angle between the normal vectors of plane ABC and plane BCD. The calculation formulas for these five angles are as follows:
[0053] ;
[0054] 4. Control the movement of each axis of the collaborative robot until the inter-axis angles between the connected axes are respectively the same as the shoulder yaw angle, torso pitch angle, shoulder pitch angle, elbow pitch angle, and shoulder roll angle. The corresponding relationship between the inter-axis angles between the connected axes and the shoulder yaw angle, torso pitch angle, shoulder pitch angle, elbow pitch angle, and shoulder roll angle is pre-set.
[0055] It should be noted that the shoulder yaw angle, trunk pitch angle, shoulder pitch angle, elbow pitch angle, and shoulder roll angle correspond one-to-one to the collaborative robot's five joint angles, J1, J2, J3, J4, and J5. Therefore, after calculating the angles of the shoulder yaw angle, trunk pitch angle, shoulder pitch angle, elbow pitch angle, and shoulder roll angle, the five joint angles, J1, J2, J3, J4, and J5, are controlled to rotate to the corresponding angles based on these five angles. By controlling the angles of all the collaborative robot's joints, the collaborative robot can achieve the goal of controlling fine movements.
[0056] Furthermore, in order to facilitate the user to synchronously observe the actual working environment of the collaborative robot, after step S102, the following steps are further included:
[0057] The pre-set camera on the collaborative robot is used to capture the view image, and the view image is uploaded to the VR glasses worn by the user for display.
[0058] Specifically, by setting a camera on the end effector of the collaborative robot, the perspective image captured by the camera is transmitted to the VR glasses worn by the user for display, so that the user can observe the actual working environment of the collaborative robot in real time, and thus make more reasonable actions to flexibly control the work of the collaborative robot.
[0059] Furthermore, in order to further improve the controllability of the collaborative robot, after step S102, the following steps are further included:
[0060] 1. Display the digital twin model through VR glasses worn by the user.
[0061] 2. After the user adjusts the posture of the digital twin model, the posture of the collaborative robot is adjusted in real time according to the posture of the digital twin model.
[0062] Specifically, by pre-building a digital twin model of the collaborative robot and synchronously controlling the digital twin model and the collaborative robot, when the collaborative robot changes its action, the digital twin model performs the same action; and when the digital twin model changes its action, the collaborative robot also performs the same action.
[0063] In this embodiment, after the digital twin model is built, when the collaborative robot performs corresponding actions based on the target person's posture changes, the digital twin model also performs the same actions. In addition, to enhance the controllability of the collaborative robot, the user can also manually drag the digital twin model to control the collaborative robot's state.
[0064] The remote operation method of the collaborative robot of the first embodiment of the present invention reconstructs a three-dimensional posture image of a person based on the human body image taken by a camera, obtains posture information from the three-dimensional posture image, and then synchronizes the posture information to the collaborative robot to achieve the purpose of synchronous control of the collaborative robot. It can map the detailed movements of the human body posture to the collaborative robot, thereby flexibly controlling the movement of each axis of the collaborative robot, allowing the user to accurately and flexibly control the movement of the collaborative robot in an unstructured environment.
[0065] FIG5 is a flow chart of a method for remotely controlling a collaborative robot according to a second embodiment of the present invention. It should be noted that the method of the present invention is not limited to the flow sequence shown in FIG5 if substantially the same result is achieved. As shown in FIG5 , the method for remotely controlling a collaborative robot includes the following steps:
[0066] Step S201: Using a camera to capture a body image of a target person in real time and extracting the current posture of the target person from the body image.
[0067] Step S202: Determine whether the duration of the current posture reaches a preset duration. If the duration of the current posture reaches the preset duration, execute step S203.
[0068] Step S203: Acquire initialization posture information from the current posture, and initialize the initial posture of the collaborative robot according to the initialization posture information.
[0069] It should be understood that before remotely controlling the collaborative robot, the collaborative robot needs to be initialized so that the posture of the collaborative robot is consistent with that of the target person.
[0070] Specifically, before reconstructing a three-dimensional posture image using the target person's body image, this embodiment uses a camera to continuously capture the target person's body image and identify the target person's current posture from the body image. By identifying the target person's current posture in consecutive frame images, combined with the camera's shooting frequency, it is possible to determine whether the duration of the current posture has reached a preset time. When the target person's posture duration reaches the preset time, initialization posture information is obtained from the current posture, and the initial posture of the collaborative robot is initialized based on the initialization posture information, so that the collaborative robot and the target person's posture are consistent. In this embodiment, the target person maintaining a fixed posture for a certain period of time is used as a trigger condition to initialize the collaborative robot's posture.
[0071] Step S204: using a pre-calibrated camera to capture a human body image of the target person in real time, and reconstructing a three-dimensional posture image of the target person based on the human body image.
[0072] In this embodiment, step S204 in FIG. 5 is similar to step S101 in FIG. 1 , and for the sake of brevity, details thereof will not be repeated here.
[0073] Step S205: Acquire real-time posture information of a plurality of pre-defined human joints from the three-dimensional posture image, and synchronously map the real-time posture information to the collaborative robot.
[0074] In this embodiment, step S205 in FIG. 5 is similar to step S102 in FIG. 1 , and for the sake of brevity, details thereof will not be repeated here.
[0075] The remote operation method of a collaborative robot according to the second embodiment of the present invention is based on the first embodiment. Before remote operation of the collaborative robot, the posture of the collaborative robot is initialized according to the posture of the target person, so that the posture of the collaborative robot and the target person are consistent, which facilitates subsequent flexible remote operation of the collaborative robot.
[0076] FIG6 is a flow chart of a method for remotely controlling a collaborative robot according to a third embodiment of the present invention. It should be noted that the method of the present invention is not limited to the flow sequence shown in FIG6 if substantially the same result is achieved. As shown in FIG6 , the method for remotely controlling a collaborative robot includes the following steps:
[0077] Step S301: Use a camera to capture an image of a target person and determine whether the image includes a preset gesture. If the image includes a first preset gesture, execute steps S303 and S304. If the image includes a second preset gesture, execute step S302.
[0078] Step S302: Obtain the target coordinates of the end effector of the collaborative robot input by the user, and inversely solve the motion control parameters of each axis of the collaborative robot based on the target coordinates, and then control the movement of the collaborative robot based on the motion control parameters.
[0079] It should be noted that in order to further improve the controllability of the collaborative robot, in this embodiment, the working environment of the collaborative robot is divided into a structured environment and an unstructured environment. In the unstructured environment, this embodiment can flexibly control the collaborative robot according to the posture information of the target person, while in the structured environment, the working environment of the collaborative robot is good, and there is no need to have excessive requirements on the flexibility of the collaborative robot. It is only necessary to ensure the accuracy of the collaborative robot. At this time, the coordinate position of the end of the collaborative robot can be directly input, and then the motion control parameters of each axis can be obtained by inverse solution based on the coordinate position, and the movement of each axis can be controlled according to the motion control parameters.
[0080] Specifically, this embodiment sets two different preset gestures, which correspond to the remote operation mode of the collaborative robot in a structured environment and the remote operation mode of the collaborative robot in an unstructured environment, respectively. The camera is used to capture and identify the gesture movements of the target person, and then the remote operation mode of the collaborative robot corresponding to the gesture movement is used to control the collaborative robot.
[0081] Step S303: Using a pre-calibrated camera to capture a human body image of the target person in real time, and reconstructing a three-dimensional posture image of the target person based on the human body image.
[0082] In this embodiment, step S303 in FIG. 6 is similar to step S101 in FIG. 1 , and for the sake of brevity, details thereof will not be repeated here.
[0083] Step S304: Acquire real-time posture information of a plurality of pre-defined human joints from the three-dimensional posture image, and synchronously map the real-time posture information to the collaborative robot.
[0084] In this embodiment, step S304 in FIG. 6 is similar to step S102 in FIG. 1 , and for the sake of brevity, details thereof will not be repeated here.
[0085] The remote operation method of a collaborative robot in the third embodiment of the present invention is based on the first embodiment. By adopting corresponding remote operation methods according to the working environment of the collaborative robot, in a non-structural environment with high flexibility requirements, the three-dimensional posture information of the target person is synchronously mapped to the collaborative robot in real time, thereby achieving the purpose of flexibly controlling the collaborative robot. In a structural environment with low flexibility requirements, the motion control parameters of each axis are directly obtained by inverse solution based on the coordinate position of the collaborative robot end effector input by the user, and then the movement of each axis is controlled. Compared with the method of real-time synchronization of the posture of the target person and the collaborative robot, it is faster.
[0086] Figure 7 is a schematic diagram of the functional modules of a collaborative robot teleoperation device according to an embodiment of the present invention. As shown in Figure 7, the collaborative robot teleoperation device 200 includes a capture module 201 and a synchronization module 202. The capture module 201 is used to capture a real-time image of a target person using a pre-calibrated camera and reconstruct a three-dimensional pose image of the target person based on the image. The synchronization module 202 is used to obtain real-time pose information for multiple pre-defined human joints from the three-dimensional pose image and synchronously map the real-time pose information to the collaborative robot.
[0087] Optionally, the synchronization module 202 executes the operation of obtaining real-time posture information of multiple pre-defined human joints from the three-dimensional posture image, and synchronously mapping the real-time posture information to the collaborative robot, specifically including: extracting a human key point data set from the three-dimensional posture image, the human key point data set including the COCO data set; selecting the left hip joint point from the COCO data set as the origin to construct a three-dimensional coordinate system to obtain a human upper limb geometric vector model; calculating the pre-divided shoulder yaw angle, torso pitch angle, shoulder pitch angle, elbow pitch angle, and shoulder roll angle based on the human upper limb geometric vector model; controlling the movement of each axis of the collaborative robot until the inter-axis angles between the connected axes are respectively the same as the shoulder yaw angle, torso pitch angle, shoulder pitch angle, elbow pitch angle, and shoulder roll angle, and the correspondence between the inter-axis angles between each connected axis and the shoulder yaw angle, torso pitch angle, shoulder pitch angle, elbow pitch angle, and shoulder roll angle is pre-set.
[0088] Optionally, the shooting module 201 uses a pre-calibrated camera to shoot a human body image of the target person in real time, and reconstructs a three-dimensional posture image of the target person based on the human body image, specifically including: using preset cameras at different angles to shoot a human body image of the target person; downsampling the human body image; detecting whether there is a human body in the human body image based on a pre-trained target detection model; when a human body exists, extracting a region of interest from the human body image, and performing single-person posture estimation on the human body in the region of interest; and reconstructing the three-dimensional posture image of the target person based on the single-person posture estimation in a triangulated thresholding manner.
[0089] Optionally, as shown in FIG8 , the collaborative robot teleoperation device 200 further includes an extraction module 203, a first judgment module 204, and an initialization module 205. The extraction module 203 is configured to use a camera to capture a human body image of a target person in real time and extract the target person's current posture from the human body image; the first judgment module 204 is configured to determine whether the duration of the current posture has reached a preset duration; and the initialization module 205 is configured to obtain initialization posture information from the current posture when the duration of the current posture reaches the preset duration, and initialize the collaborative robot's initial posture based on the initialization posture information.
[0090] Optionally, after the synchronization module 202 performs the operation of synchronously mapping the real-time posture information to the collaborative robot, it is also used to use a camera pre-set on the collaborative robot to capture the perspective image, and upload the perspective image to the VR glasses worn by the user for display.
[0091] Optionally, after the synchronization module 202 executes the operation of synchronously mapping the real-time posture information to the collaborative robot, it is also used to: construct a digital twin model corresponding to the collaborative robot, and bidirectionally synchronize the digital twin model and the collaborative robot; display the digital twin model through VR glasses worn by the user; and after the user adjusts the posture of the digital twin model, adjust the posture of the collaborative robot in real time according to the posture of the digital twin model.
[0092] Optionally, as shown in FIG9 , the remote control device 20 of the collaborative robot further includes a second judgment module 206 and a control module 207. The second judgment module 206 is configured to use a camera to capture a human body image of the target person and determine whether the human body image includes a preset gesture. When the human body image includes the first preset gesture, the capture module 21 uses a pre-calibrated camera to capture the human body image of the target person in real time and perform subsequent operations. When the human body image includes the second preset gesture, the control module 207 is configured to obtain the target coordinates of the collaborative robot's end effector input by the user, inversely solve the motion control parameters of each axis of the collaborative robot based on the target coordinates, and then control the motion of the collaborative robot based on the motion control parameters.
[0093] For other details about the technical solutions for implementing each module in the remote operation device of the collaborative robot in the above embodiment, please refer to the description of the remote operation method of the collaborative robot in the above embodiment, which will not be repeated here.
[0094] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Similarities between the various embodiments can be referred to in conjunction with each other. For device embodiments, since they are generally similar to method embodiments, their description is relatively simple, and for relevant details, reference can be made to the description of the method embodiments.
[0095] Please refer to Figure 10, which is a schematic diagram of the structure of a computer device according to an embodiment of the present invention. As shown in Figure 10, the computer device 30 includes a processor 31 and a memory 32 coupled to the processor 31. The memory 32 stores program instructions. When the program instructions are executed by the processor 31, the processor 31 performs the steps of the collaborative robot teleoperation method described in any of the above embodiments.
[0096] The processor 31 may also be referred to as a CPU (Central Processing Unit). The processor 31 may be an integrated circuit chip with signal processing capabilities. The processor 31 may also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. The general-purpose processor may be a microprocessor or any conventional processor.
[0097] Refer to Figure 11, which is a schematic diagram of the structure of a storage medium according to an embodiment of the present invention. The storage medium according to an embodiment of the present invention stores program instructions 41 that can implement the teleoperation method of the collaborative robot described above. The program instructions 41 can be stored in the above-mentioned storage medium in the form of a software product, including a number of instructions for causing a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute all or part of the steps of the method described in various embodiments of the present application. The aforementioned storage medium includes: various media that can store program code, such as a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, or a computer device such as a computer, server, mobile phone, or tablet.
[0098] In the several embodiments provided in this application, it should be understood that the disclosed computer devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of units is merely a logical function division. In actual implementation, there may be other division methods, such as 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 an indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.
[0099] In addition, the functional units in the various embodiments of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware or in the form of software functional units. The above is only an implementation method of the present application and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the description and drawings of this application, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A remote operation method of a collaborative robot, characterized in that: It includes: Using a pre-calibrated camera to capture a human body image of a target person in real time, and reconstructing a three-dimensional posture image of the target person based on the human body image; Real-time posture information of a plurality of pre-defined human joints is acquired from the three-dimensional posture image, and the real-time posture information is synchronously mapped to the collaborative robot.
2. The remote operation method of a collaborative robot according to claim 1, characterized in that: The step of acquiring real-time posture information of a plurality of pre-defined human joints from the three-dimensional posture image and synchronously mapping the real-time posture information to the collaborative robot includes: Extracting a human key point data set from the three-dimensional posture image, wherein the human key point data set includes a COCO data set; Select the left hip joint point from the COCO data set as the origin to construct a three-dimensional coordinate system to obtain a human upper limb geometric vector model; Calculating the angle values of the pre-divided shoulder yaw angle, trunk pitch angle, shoulder pitch angle, elbow pitch angle, and shoulder roll angle based on the human upper limb geometric vector model; Control the movement of each axis of the collaborative robot until the inter-axis angles between the connected axes are respectively the same as the shoulder yaw angle, the torso pitch angle, the shoulder pitch angle, the elbow pitch angle, and the shoulder roll angle, and the correspondence between the inter-axis angles between the connected axes and the shoulder yaw angle, the torso pitch angle, the shoulder pitch angle, the elbow pitch angle, and the shoulder roll angle is preset.
3. The remote operation method of a collaborative robot according to claim 1, characterized in that: The method of using a pre-calibrated camera to capture a human body image of a target person in real time and reconstructing a three-dimensional posture image of the target person according to the human body image comprises: Using preset cameras at different angles to capture the human body image of the target person; Performing a downsampling operation on the human body image; Detecting whether a human body exists in the human image based on a pre-trained object detection model; When a human body exists, extracting a region of interest from the human body image, and performing single-person posture estimation on the human body in the region of interest; The three-dimensional posture image of the target person is reconstructed according to the single-person posture estimation in a triangulated thresholding manner.
4. The remote operation method of a collaborative robot according to claim 1, characterized in that: Before using the pre-calibrated camera to capture the human body image of the target person in real time, the method further includes: Using the camera to take a human body image of the target person in real time and extracting a current posture of the target person from the human body image; Determine whether the duration of the current posture reaches a preset duration; When the duration of the current posture reaches a preset duration, initialization posture information is acquired from the current posture, and the initial posture of the collaborative robot is initialized according to the initialization posture information.
5. The remote operation method of a collaborative robot according to claim 1, characterized in that: After synchronously mapping the real-time posture information to the collaborative robot, the method further includes: The camera pre-installed on the collaborative robot is used to capture the perspective image, and the perspective image is uploaded to the VR glasses worn by the user for display.
6. The remote operation method of a collaborative robot according to claim 1, characterized in that: After synchronously mapping the real-time posture information to the collaborative robot, the method further includes: Constructing a digital twin model corresponding to the collaborative robot, wherein the digital twin model and the collaborative robot are bidirectionally and synchronously controlled; Displaying the digital twin model through VR glasses worn by a user; After the user adjusts the posture of the digital twin model, the posture of the collaborative robot is adjusted in real time according to the posture of the digital twin model.
7. The remote operation method of a collaborative robot according to claim 1, characterized in that: Before using the pre-calibrated camera to capture the human body image of the target person in real time, the method further includes: Using the camera to capture a human body image of the target person, and determining whether the human body image includes a preset gesture action; When the human body image includes the first preset gesture action, executing the human body image of the target person in real time using a pre-calibrated camera and subsequent steps; When the human body image includes a second preset gesture action, the target coordinates of the end effector of the collaborative robot input by the user are obtained, and the motion control parameters of each axis of the collaborative robot are inversely solved according to the target coordinates, and then the movement of the collaborative robot is controlled according to the motion control parameters.
8. A remote control device for a collaborative robot, characterized in that: It includes: A shooting module is used to shoot a human body image of a target person in real time using a pre-calibrated camera, and reconstruct a three-dimensional posture image of the target person based on the human body image; The synchronization module is used to obtain real-time posture information of a plurality of pre-defined human joints from the three-dimensional posture image, and synchronously map the real-time posture information to the collaborative robot.
9. A computer device, characterized in that: The computer device includes a processor and a memory coupled to the processor, wherein program instructions are stored in the memory. When the program instructions are executed by the processor, the processor executes the steps of the remote operation method of the collaborative robot as described in any one of claims 1 to 7.
10. A storage medium, characterized in that: Program instructions are stored that can implement the remote operation method of the collaborative robot as described in any one of claims 1-7.
Citation Information
Patent Citations
Intelligent partner robot capable of simulating human body actions in real time
CN107443396A
Man-machine behavior interaction method based on machine vision
CN108803874A
Industrial robot three-dimensional attitude estimation method and device and storage medium
CN111445519A
Explosive-handling robot system based on virtual reality, control method and storage medium
CN111452046A
Robot control method and device, robot and computer readable storage medium
CN113043267A
Cited By
Training method for model of body-equipped robot, body-equipped robot, control method and medium
CN120606401A
Control method and device of fruit picking robot based on six mechanical arms, terminal and storage medium
CN121058455A
Human body posture data processing method, system and device, storage medium and product
CN122488949A
