Teleoperation method, device and equipment of collaborative robot and storage medium
The camera captures human body images to reconstruct the three-dimensional posture and synchronously maps it to the collaborative robot, which solves the problem of inflexible operation of collaborative robots in the existing technology and achieves precise and flexible control in unstructured environments.
Patent Information
- Application Number
- CN202310419739.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-12
- Publication Date
- 2024-10-18
AI Technical Summary
Existing collaborative robot teleoperation methods cannot flexibly and synchronously map human movements in unstructured spaces, resulting in inflexible operations.
By using a pre-calibrated camera to capture human body images in real time, reconstruct a three-dimensional posture image, and obtain real-time posture information of multiple human body joint points, and synchronously map it to the collaborative robot, including using the COCO data set to extract human body key point data and construct the human upper limbs Geometric vector model, calculates joint angle values, and controls robot axis motion to match human posture.
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 CN118789541A_ABST
Abstract
Description
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] The collaborative production mode of human-robot integration has gradually become an urgent need for production and life. In recent years, research on human-robot integration has received more and more attention. Remotely mapping human actions to collaborative robots to ensure safe human-robot interaction is a key step in automating complex operational tasks in a human-robot integration environment. Robot teleoperation can protect personnel from dangerous working environments and at the same time, with the help of the high level of cognitive and responsiveness of human operators, the flexibility of robots has been significantly improved. Today, teleoperation has been used in aerospace, mining, exploration, construction, medicine and other fields.
[0003] Teleoperation has been used in the medical field for a long time. In 1998, Johns Hopkins Hospital in Maryland, USA, and Bangkok Hospital in Thailand cooperated to complete two cross-border teleoperation minimally invasive surgeries 10,880 miles apart. Later, Johns Hopkins Hospital cooperated with the University of Innsbruck in Austria, 3,083 miles away, to complete a remote minimally invasive adrenalectomy surgery.
[0004] However, existing remote operations for collaborative robots can only control the robot's end effector and cannot synchronously map human movements, and are not flexible enough to operate in unstructured spaces. Summary of the invention
[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 the present application is: to provide a remote operation method of a collaborative robot, which 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; 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.
[0007] As a further improvement of the present application, real-time posture information of multiple pre-delineated 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 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 the connected axes and the shoulder yaw angle, torso pitch angle, shoulder pitch angle, elbow pitch angle, and shoulder roll angle is preset.
[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 a human body image 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 body image of the target person in real time, it also includes: using the camera to capture the body image of the target person in real time and extracting the current posture of the target person from the body image; judging whether the duration of the current posture reaches a preset duration; when the duration of the current posture reaches the preset duration, 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 a 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 the real-time posture information is synchronously mapped 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 body image of the target person in real time, it also includes: using a camera to capture the body image of the target person, and determining whether the body image includes a preset gesture action; when the body image includes a first preset gesture action, executing the real-time capture of the body image of the target person by using a pre-calibrated camera and subsequent steps; when the 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 according to the target coordinates, and then controlling the movement of the collaborative robot according to the motion control parameters.
[0013] To solve the above technical problems, another technical solution adopted in the present application is: to provide a remote operation device for a collaborative robot, which includes: a shooting module, used to use a pre-calibrated camera to capture 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, 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-mentioned technical problems, another technical solution adopted in the present 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-mentioned items.
[0015] In order to solve the above technical problems, another technical solution adopted in the present 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.
[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 synchronously controlling 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] Figure 1 is a schematic flow chart of a remote operation method of a collaborative robot according to a first embodiment of the present invention;
[0018] Figure 2 is a schematic diagram of the 17-point dataset format of COCO according to the first embodiment of the present invention;
[0019] Figure 3 is a schematic diagram of five joint angles of the ELITE collaborative robot according to the first embodiment of the present invention;
[0020] Figure 4 is a schematic diagram of a geometric vector model of a human upper limb according to a first embodiment of the present invention;
[0021] Figure 5 is a schematic flow chart of a remote operation method of a collaborative robot according to a second embodiment of the present invention;
[0022] Figure 6 is a schematic flow chart of a remote operation method of a collaborative robot according to a third embodiment of the present invention;
[0023] Figure 7 1 is a schematic diagram of functional modules of a remote operation device of a collaborative robot according to a first embodiment of the present invention;
[0024] Figure 8 is a schematic diagram of functional modules of a remote operation device of a collaborative robot according to a second embodiment of the present invention;
[0025] Fig. 9 is a schematic diagram of functional modules of a remote operation device of a collaborative robot according to a third embodiment of the present invention;
[0026] Fig.10 is a schematic diagram of the structure of a computer device according to an embodiment of the present invention;
[0027] Fig.11 It is a schematic diagram of the structure of the storage medium of an embodiment of the present invention. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0029] The terms "first", "second", "third" in this application are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined as "first", "second", "third" can expressly or implicitly include at least one of the features. In the description of this application, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined. In the embodiments of this application, all directional indications (such as up, down, left, right, front, back...) are only used to explain the relative position relationship, movement, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication also changes accordingly. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the steps or units listed, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices.
[0030] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0031] Figure 1 FIG. 1 is a flow chart of a method for remotely operating 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 method of remotely operating a collaborative robot according to a first embodiment of the present invention if the results are substantially the same. Figure 1 The process sequence shown is limited. Figure 1 As shown, the remote operation method of the collaborative robot includes the steps of:
[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 taking a human body image of a target person through a pre-calibrated camera, a three-dimensional posture image of the target person is reconstructed based on the human body image. The calibration operation of the camera needs to be performed in advance. The steps of reconstructing the three-dimensional posture 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 movements of the human body can be captured in all directions and avoid the problem of self-occlusion of the human body, 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 movements of the human body in all directions and avoiding the problem of self-occlusion of the human body.
[0036] 2. Downsample the human body image.
[0037] Specifically, in order to reduce the amount of data that needs to be processed, after multiple cameras capture the human body images of the target person, the human body images are downsampled frame by frame to reduce the number of frames of images that need to be processed later. When performing the downsampling operation, for multiple similar continuous frames, one frame of image can be selected as a representative. For example, assuming that there are 20 frames of images, one frame of the most representative image can be selected from every 5 frames of images, thereby reducing the 20 frames of images to 4 frames of images.
[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 a single person posture 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 a three-dimensional posture image of the target person is reconstructed based on multiple single-person posture estimates obtained from images taken from different directions.
[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, and 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, Figure 2 As shown, this embodiment uses the 17-point dataset format of COCO (Common Objects in Context) as the human body key point dataset of the target person. The COCO dataset is a dataset funded and annotated by Microsoft Corporation, and is mainly 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 usually includes multiple axes, and the axes are rotatably connected. 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, Figure 4 As shown in the figure, after obtaining the human key point data set, the left hip joint point is selected from the human 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 angle values of 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, the body pitch angle For vector Angle with the z-axis, shoulder pitch angle For vector With vector The angle of elbow pitch For vector With vector Angle, shoulder roll angle is the angle between the normal vectors of plane ABC and plane BCD. The calculation formulas for the 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, trunk pitch angle, shoulder pitch angle, elbow pitch angle, and shoulder roll angle, and the corresponding relationship between the inter-axis angles between the connected axes and the shoulder yaw angle, trunk 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 to the five joint angles of J1, J2, J3, J4, and J5 of the collaborative robot. Therefore, after calculating the angle values of the shoulder yaw angle, trunk pitch angle, shoulder pitch angle, elbow pitch angle, and shoulder roll angle, the five joint angles of J1, J2, J3, J4, and J5 are controlled to rotate to the corresponding angles according to the angle values of the five angles, and the size of all joint angles of the collaborative robot is controlled, so as to achieve the purpose of controlling the collaborative robot to perform 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 view image is captured by a camera pre-installed on the collaborative robot, 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, a digital twin model of the collaborative robot is pre-built and the digital twin model is controlled synchronously with the collaborative robot. That is, when the action of the collaborative robot changes, the digital twin model performs the same action; and when the action of the digital twin model changes, the collaborative robot also performs the same action.
[0063] In this embodiment, after the digital twin model is constructed, when the collaborative robot performs corresponding actions according to the posture changes of the target person, the digital twin model also performs the same actions. In addition, in order to enhance the controllability of the collaborative robot, the user can also directly manually drag the digital twin model to control the state of the collaborative robot.
[0064] The remote operation method of a collaborative robot in the first embodiment of the present invention reconstructs a three-dimensional posture image of a person based on a 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 synchronously controlling 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] Figure 5 FIG. 1 is a flow chart of a method for remotely operating 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 method of remotely operating a collaborative robot according to a second embodiment of the present invention if the results are substantially the same. Figure 5 The process sequence shown is limited. Figure 5 As shown, the remote operation method of the collaborative robot includes the steps of:
[0066] Step S201: using a camera to take a human body image of a target person in real time and extracting the current posture of the target person from the human body image.
[0067] Step S202: Determine whether the duration of the current gesture reaches a preset duration. When the duration of the current gesture 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 the collaborative robot is remotely controlled, it is also necessary to initialize the collaborative robot so that the posture of the collaborative robot is consistent with the posture of the target person.
[0070] Specifically, before using the human body image of the target person to reconstruct the three-dimensional posture image, this embodiment uses a camera to continuously shoot the human body image of the target person, and identifies the current posture of the target person from the human body image. By identifying the current posture of the target person in the continuous frame images, combined with the shooting frequency of the camera, it can be determined whether the duration of the current posture reaches a preset time. When the duration of the posture of the target person reaches the preset time, the initialization posture information is obtained from the current posture, and the initial posture of the collaborative robot is initialized according to the initialization posture information, so that the collaborative robot is consistent with the posture of the target person. In this embodiment, the trigger condition is that the target person maintains a fixed posture for a certain period of time to initialize the posture of the collaborative robot.
[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, Figure 5 Step S204 and Figure 1 The process is similar to step S101 in , and for the sake of brevity, it 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, Figure 5 Step S205 and Figure 1 The process is similar to step S102 in , and will not be described again for the sake of brevity.
[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 a target person, so that the posture of the collaborative robot and the target person are consistent, which facilitates the subsequent flexible remote operation of the collaborative robot.
[0076] Figure 6 FIG. 1 is a flow chart of a method for remotely operating 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 method of remotely operating a collaborative robot according to a third embodiment of the present invention if the results are substantially the same. Figure 6 The process sequence shown is limited. Figure 6 As shown, the remote operation method of the collaborative robot includes the steps of:
[0077] Step S301: Use a camera to capture a human body image of a target person, and determine whether the human body image includes a preset gesture action. When the human body image includes a first preset gesture action, execute steps S303 to S304. When the human body image includes a second preset gesture action, 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 according to the target coordinates, and then control the motion of the collaborative robot according to 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, the present 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 overly demand 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 respectively 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. 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, Figure 6 Step S303 and Figure 1 The process is similar to step S101 in , and for the sake of brevity, it will not be repeated here.
[0083] Step S304: 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.
[0084] In this embodiment, Figure 6 Step S304 and Figure 1 The process is similar to step S102 in , and will not be described again for the sake of brevity.
[0085] The remote control method of a collaborative robot in the third embodiment of the present invention is based on the first embodiment. By adopting corresponding remote control 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. This is faster than the method of real-time synchronization of the posture of the target person and the collaborative robot.
[0086] Figure 7 Schematic diagram of the functional modules of the remote operation device of the collaborative robot according to the embodiment of the present invention. Figure 7 As shown, the teleoperation device 200 of the collaborative robot includes a shooting module 201 and a synchronization module 202. The shooting module 201 is used to use a pre-calibrated camera to shoot a human body image of a target person in real time, and reconstruct a three-dimensional posture image of the target person based on the human body image; the synchronization module 202 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.
[0087] Optionally, the synchronization module 202 executes the operation of acquiring real-time posture information of multiple pre-delineated 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 the connected axes 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] Alternatively, if Figure 8 As shown, the remote operation device 200 of the collaborative robot also includes an extraction module 203, a first judgment module 204 and an initialization module 205. The extraction module 203 is used to use a camera to take a human body image of a target person in real time and extract the current posture of the target person from the human body image; the first judgment module 204 is used to judge whether the duration of the current posture reaches a preset duration; the initialization module 205 is used to obtain initialization posture information from the current posture when the duration of the current posture reaches a preset duration, and initialize the initial posture of the collaborative robot according to the initialization posture information.
[0090] Optionally, after executing the operation of synchronously mapping the real-time posture information to the collaborative robot, the synchronization module 202 is also used to capture the perspective image using a camera pre-set on the collaborative robot, 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 adjust the posture of the collaborative robot in real time according to the posture of the digital twin model after the user adjusts the posture of the digital twin model.
[0092] Alternatively, if Fig. 9As shown, the remote operation device 20 of the collaborative robot further includes a second judgment module 206 and a control module 207. The second judgment module 206 is used to use a camera to capture a human body image of a target person, and to determine whether the human body image includes a preset gesture action; when the human body image includes a first preset gesture action, the shooting module 21 uses a pre-calibrated camera to capture the human body image of the target person in real time and subsequent operations; when the human body image includes a second preset gesture action, the control module 207 is used to 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 according to the target coordinates, and then control the motion of the collaborative robot according to 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 each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0095] See also Fig.10 , Fig.10 FIG. 1 is a schematic diagram of the structure of a computer device according to an embodiment of the present invention. Fig.10 As shown, 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 executes the steps of the remote operation method of the collaborative robot 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 having 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 devices, discrete gate or transistor logic devices, discrete hardware components. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0097] See also Fig.11 , Fig.11It is a schematic diagram of the structure of the storage medium of the embodiment of the present invention. The storage medium of the embodiment of the present invention stores program instructions 41 that can implement the remote operation method of the above-mentioned collaborative robot, wherein 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 a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, 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, a server, a mobile phone, and a tablet.
[0098] In the several embodiments provided in the present application, it should be understood that the disclosed computer equipment, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, 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 interfaces, devices or units, which can be electrical, mechanical or other forms.
[0099] In addition, each functional unit in each embodiment 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 integrated unit 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 by using the contents of the specification and drawings of this application, or directly or indirectly used in other related technical fields, is 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 the real-time posture information is synchronously mapped 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
Real-time three-dimensional human body shape and posture reconstruction method and device under multi-view camera
CN110599540A
Robot posture control method, robot and storage medium
CN113146634A
Teleoperation attitude tracking estimation system and method
CN113850860A
Method and apparatus for training pose recognition model, and method and apparatus for image recognition
US20210279456A1
Cited By
Virtual museum guiding method, device and equipment and storage medium
CN120255703A
