Robot training method, device and system, electronic equipment and storage medium
By using multiple millimeter-wave antennas to generate three-dimensional images and detect motion information to control the movement of robot joint points, it solves the problems of high customization costs of exoskeleton equipment and low training accuracy of VR equipment, and achieves efficient and accurate robot training.
Patent Information
- Application Number
- CN202411025591.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-29
AI Technical Summary
Among the existing robot training methods, the cost of customizing exoskeleton equipment is high and the training accuracy of VR equipment is low. It is affected by network delay and the field of view is blocked, resulting in a decrease in training efficiency and accuracy.
Multiple millimeter-wave antennas are used to transmit signals, generate a three-dimensional image of the training personnel, detect the movement information of target key points, and control the movement of joint points according to the relationship between the robot joint points to realize robot training.
It reduces the cost of robot training, improves training accuracy, avoids obstruction of the field of view, and enhances training efficiency.
Smart Images

Figure CN118721209A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of robotics technology, and in particular to a robot training method, device, system, electronic equipment and storage medium. Background Art
[0002] Before a robot is put into use, it needs to be trained so that it can accurately complete the specified task. At present, robot training is mainly based on exoskeleton equipment or virtual reality (VR) equipment. However, when using exoskeleton equipment to train robots, it is necessary to customize corresponding exoskeleton equipment for each type of robot and each person who trains the robot (i.e., trainer), which results in high training costs; when using VR equipment to train robots, due to network influence, there will be a delay in the trainer receiving the robot image through the VR equipment, which blocks the trainer's field of view and reduces the accuracy of the training robot. Summary of the invention
[0003] The purpose of the embodiments of the present application is to provide a robot training method, device, system, electronic device and storage medium to reduce the training cost of the robot and improve the training accuracy of the robot. The specific technical solution is as follows:
[0004] In a first aspect, an embodiment of the present application provides a robot training method, the method comprising:
[0005] Acquire a first signal and a second signal transmitted by a plurality of millimeter wave antennas, wherein the second signal includes an echo signal of the first signal;
[0006] generating a three-dimensional image of a trainee according to the first signal and the second signal, wherein the trainee is located within the coverage of at least some of the millimeter wave antennas among the multiple millimeter wave antennas;
[0007] Detecting the three-dimensional image to obtain target motion information of target key points of the trainee;
[0008] According to the association relationship between the key points of the trainer and the joint points of the robot, the movement of the target joint points associated with the target key points is controlled according to the target movement information.
[0009] In some embodiments, the step of detecting the three-dimensional image to obtain target motion information of the target key points of the trainee includes:
[0010] Determine a first area where a target key point is located in the three-dimensional image;
[0011] The target key point is searched in the first area to obtain target motion information of the target key point.
[0012] In some embodiments, the step of determining the first area where the target key point is located in the three-dimensional image includes:
[0013] Acquiring a two-dimensional image of the training person;
[0014] Identifying a second area in the two-dimensional image where the target key point is located;
[0015] According to a mapping relationship between a two-dimensional image and a three-dimensional image, a first area corresponding to the second area in the three-dimensional image is determined.
[0016] In some embodiments, the step of determining the first area where the target key point is located in the three-dimensional image includes:
[0017] Obtaining historical motion information of the target key points;
[0018] A first area in the three-dimensional image where the target key point is located is predicted according to the historical motion information.
[0019] In some embodiments, the three-dimensional image includes a first three-dimensional image corresponding to the signal acquired this time, and a second three-dimensional image corresponding to the signal acquired last time;
[0020] The step of detecting the three-dimensional image to obtain target motion information of the target key points of the trainee includes:
[0021] The target key points of the trainee in the first three-dimensional image and the second three-dimensional image are compared to obtain target motion information of the target key points.
[0022] In some embodiments, the step of detecting the three-dimensional image to obtain target motion information of the target key points of the trainee includes:
[0023] The coordinates of the target key points of the trainee in the three-dimensional image are obtained as the target motion information of the target key points of the trainee.
[0024] In some embodiments, the step of controlling the movement of the target joint point associated with the target key point according to the association relationship between the key point of the trainer and the joint point of the robot and the target movement information includes:
[0025] Determining target joint points associated with the target key points on multiple robots according to the association relationship between the key points of the trainee and the joint points of the robot;
[0026] According to the target motion information, the target joint point on each robot is controlled to move.
[0027] In some embodiments, the target joint points include various points on the robot having rotational freedom; the target key points include skeleton points of the trainee and / or points obtained based on multiple associated skeleton points.
[0028] In a second aspect, an embodiment of the present application provides a robot training device, the device comprising:
[0029] An acquisition module, configured to acquire a first signal and a second signal transmitted by a plurality of millimeter wave antennas, wherein the second signal includes an echo signal of the first signal;
[0030] a generating module, configured to generate a three-dimensional image of a trainee according to the first signal and the second signal, wherein the trainee is located within the coverage of at least some of the millimeter wave antennas among the multiple millimeter wave antennas;
[0031] A detection module, used to detect the three-dimensional image to obtain target motion information of target key points of the trainee;
[0032] The control module is used to control the movement of the target joint points associated with the target key points according to the association relationship between the key points of the trainer and the joint points of the robot and the target movement information.
[0033] In some embodiments, the detection module is specifically used to:
[0034] Determine a first area where a target key point is located in the three-dimensional image;
[0035] The target key point is searched in the first area to obtain target motion information of the target key point.
[0036] In some embodiments, the detection module is specifically used to:
[0037] Acquiring a two-dimensional image of the training person;
[0038] Identifying a second area in the two-dimensional image where the target key point is located;
[0039] According to a mapping relationship between a two-dimensional image and a three-dimensional image, a first area corresponding to the second area in the three-dimensional image is determined.
[0040] In some embodiments, the detection module is specifically used to:
[0041] Obtaining historical motion information of the target key points;
[0042] A first area in the three-dimensional image where the target key point is located is predicted according to the historical motion information.
[0043] In some embodiments, the three-dimensional image includes a first three-dimensional image corresponding to the signal acquired this time, and a second three-dimensional image corresponding to the signal acquired last time;
[0044] The detection module is specifically used to compare the target key points of the trainee in the first three-dimensional image and the second three-dimensional image to obtain the target motion information of the target key points.
[0045] In some embodiments, the detection module is specifically used to obtain the coordinates of the target key points of the trainee in the three-dimensional image as the target motion information of the target key points of the trainee.
[0046] In some embodiments, the control module is specifically used to:
[0047] Determining target joint points associated with the target key points on multiple robots according to the association relationship between the key points of the trainee and the joint points of the robot;
[0048] According to the target motion information, the target joint point on each robot is controlled to move.
[0049] In some embodiments, the target joint points include various points on the robot having rotational freedom; the target key points include skeleton points of the trainee and / or points obtained based on multiple associated skeleton points.
[0050] In a third aspect, an embodiment of the present application provides a robot training system, including multiple millimeter wave antennas and electronic equipment;
[0051] The multiple millimeter wave antennas are used to transmit a first signal and receive a second signal, wherein the second signal includes an echo signal of the first signal; and send the first signal and the second signal to the electronic device;
[0052] The electronic device is used to generate a three-dimensional image of a trainee based on the first signal and the second signal, where the trainee is located within the coverage of at least some of the multiple millimeter wave antennas; detect the three-dimensional image to obtain target motion information of the target key points of the trainee; and control the movement of the target joint points associated with the target key points according to the target motion information based on the association relationship between the key points of the trainee and the joint points of the robot.
[0053] In some embodiments, the plurality of millimeter wave antennas are located above an activity area of the trainee, and projections of the plurality of millimeter wave antennas on a plane of the activity area are located at a boundary of the activity area.
[0054] In some embodiments, the electronic device is specifically used to: determine a first area in the three-dimensional image where a target key point is located; search for the target key point in the first area to obtain target motion information of the target key point.
[0055] In some embodiments, the system further comprises a camera;
[0056] The camera is used to collect a two-dimensional image of the trainee;
[0057] The electronic device is specifically used to: obtain a two-dimensional image of the trainee captured by the camera; identify a second area in the two-dimensional image where the target key point is located; and determine a first area in the three-dimensional image corresponding to the second area based on a mapping relationship between the two-dimensional image and the three-dimensional image.
[0058] In some embodiments, the camera is located above the training personnel's activity area, and a projection of the camera on the plane of the activity area is located at a boundary of the activity area.
[0059] In some embodiments, the electronic device is specifically used to: obtain historical motion information of the target key point; and predict a first area where the target key point is located in the three-dimensional image based on the historical motion information.
[0060] In some embodiments, the three-dimensional image includes a first three-dimensional image corresponding to the signal acquired this time, and a second three-dimensional image corresponding to the signal acquired last time;
[0061] The electronic device is specifically used to compare the target key points of the trainee in the first three-dimensional image and the second three-dimensional image to obtain the target motion information of the target key points.
[0062] In some embodiments, the electronic device is specifically used to: obtain coordinates of the target key points of the trainee in the three-dimensional image as target motion information of the target key points of the trainee.
[0063] In some embodiments, the target joint points include various points on the robot having rotational freedom; the target key points include skeleton points of the trainee and / or points obtained based on multiple associated skeleton points.
[0064] In a fourth aspect, an embodiment of the present application provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;
[0065] Memory, used to store computer programs;
[0066] The processor is used to implement any of the above-mentioned robot training methods when executing the program stored in the memory.
[0067] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it implements any of the above-mentioned robot training methods.
[0068] An embodiment of the present application also provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute any of the above-described robot training methods.
[0069] Beneficial effects of the embodiments of the present application:
[0070] In the technical solution provided in the embodiment of the present application, the key points of the trainer are associated with the joint points of the robot. The trainer is located within the coverage of multiple millimeter wave antennas, and the signal transmitted by the millimeter wave antenna is used to generate a three-dimensional image of the trainer, and then the target motion information of the target key points is obtained from the three-dimensional image, so as to control the movement of the target joint points and complete the training of the robot. In the embodiment of the present application, the key points of the trainer are directly associated with the joint points of the robot. As long as the trainer is within the coverage of the millimeter wave antenna, the corresponding key points can be collected to complete the training of the robot without the need for special customized equipment, thereby reducing the training cost of the robot. In addition, the signal delay of the millimeter wave antenna is low and the accuracy is high. The trainer will not have an obstructed field of view when training the robot, which improves the training accuracy of the robot.
[0071] Of course, implementing any product or method of the present application does not necessarily require achieving all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS
[0072] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other embodiments can also be obtained based on these drawings.
[0073] Figure 1 A schematic diagram of the first structure of the robot training system provided in the embodiment of the present application;
[0074] Figure 2a A first schematic diagram of the coverage of the millimeter wave antenna provided in an embodiment of the present application;
[0075] Figure 2b A second schematic diagram of the coverage of the millimeter wave antenna provided in an embodiment of the present application;
[0076] Figure 2c A third schematic diagram of the coverage of the millimeter wave antenna provided in an embodiment of the present application;
[0077] Figure 2d A fourth schematic diagram of the coverage of the millimeter wave antenna provided in an embodiment of the present application;
[0078] Figure 2e A fifth schematic diagram of the coverage of the millimeter wave antenna provided in an embodiment of the present application;
[0079] Figure 3a A three-dimensional schematic diagram of the installation position of the millimeter wave antenna and the camera provided in the embodiment of the present application;
[0080] Figure 3b A top view of the installation position of the millimeter wave antenna and the camera provided in the embodiment of the present application;
[0081] Figure 4 A second structural schematic diagram of the robot training system provided in an embodiment of the present application;
[0082] Figure 5 A schematic diagram of the coverage of the camera provided in the embodiment of the present application;
[0083] Figure 6 A schematic diagram for determining a first area provided in an embodiment of the present application;
[0084] Figure 7 A signaling diagram for interaction with a robot training system provided in an embodiment of the present application;
[0085] Figure 8a A first schematic diagram of controlling the movement of joint points of a robot provided in an embodiment of the present application;
[0086] Figure 8b A second schematic diagram of controlling the movement of joint points of a robot provided in an embodiment of the present application;
[0087] Fig. 9 A schematic diagram of a first flow chart of a robot training method provided in an embodiment of the present application;
[0088] Fig.10 A second flow chart of the robot training method provided in the embodiment of the present application;
[0089] Fig.11 A schematic diagram of the structure of a robot training device provided in an embodiment of the present application;
[0090] Fig.12 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0091] 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 based on the present application belong to the scope of protection of the present application.
[0092] Remote control: Users control the robot's movements and tasks through a remote control, computer or mobile device. Remote control is also known as teleoperation, which is a common method for training robots.
[0093] At present, there are two main ways to train robots:
[0094] The first is to train the robot based on exoskeleton equipment.
[0095] In this training method, the trainee wears the exoskeleton device on his body, performs actions, and the exoskeleton device collects the actions performed by the trainee, and then controls the robot to perform corresponding actions.
[0096] In this training method, the exoskeleton device is worn on the trainee. However, the trainees have different body shapes, which requires different exoskeleton devices to be customized for different trainees. The exoskeleton device has poor adaptability to the trainees.
[0097] In addition, different types of robots have different degrees of freedom and parameters. For example, the end effector of one robot is a dexterous hand with five fingers and nine degrees of freedom, while the end effector of another robot is a suction cup with only one degree of freedom. For another example, the arm of a robot can have 7 degrees of freedom, which are usually reflected in the joints of the arm, but different types of robots have different specifications. For example, the deployment positions of the joints of robot arms of different specifications are different. In order to complete the training of different types of robots, different exoskeleton devices need to be customized for different types of robots.
[0098] For each type of robot, corresponding exoskeleton equipment is customized for each trainer, which increases the training cost of the robot.
[0099] The second method is to train the robot based on VR equipment.
[0100] In this training method, VR equipment includes a head-mounted device and a handle. The trainer wears the head-mounted device and holds the handle. The camera captures the robot image and transmits it to the head-mounted device; the head-mounted device displays the robot image; the trainer manipulates the handle based on the image displayed by the head-mounted device, thereby controlling the robot to perform corresponding actions.
[0101] In this training method, the trainer can see the robot's posture and control the robot's movements only after the camera is transmitted to the head-mounted device through the network. However, the network status changes in real time. Due to the network, the trainer will receive the robot image through the VR device with a delay, which blocks the trainer's field of vision and reduces the accuracy of the training robot.
[0102] To solve the above problems, the present application provides a robot training system, such as Figure 1 As shown, it includes multiple millimeter wave antennas 11 and electronic devices 12;
[0103] A plurality of millimeter wave antennas 11 are used to transmit a first signal to a trainee and receive a second signal, the second signal being an echo signal of the first signal; and to transmit the first signal and the second signal to an electronic device 12;
[0104] The electronic device 12 is used to generate a three-dimensional image of the trainee according to the first signal and the second signal; detect the three-dimensional image to obtain target motion information of the target key points of the trainee; and control the movement of the target joint points associated with the target key points according to the target motion information based on the association between the key points of the trainee and the joint points of the robot.
[0105] It should be noted that the electronic device 12 can be an independent physical device or integrated into the robot. Therefore, when the electronic device 12 is integrated into the robot, the robot training system can be regarded as including multiple millimeter wave antennas 11 and the robot itself.
[0106] In the technical solution provided in the embodiment of the present application, the key points of the trainer are associated with the joint points of the robot. The trainer is located within the coverage of multiple millimeter wave antennas, and the signal transmitted by the millimeter wave antenna is used to generate a three-dimensional image of the trainer, and then the target motion information of the target key points is obtained from the three-dimensional image, so as to control the movement of the target joint points and complete the training of the robot. In the embodiment of the present application, the key points of the trainer are directly associated with the joint points of the robot. As long as the trainer is within the coverage of the millimeter wave antenna, the corresponding key points can be collected to complete the training of the robot without the need for special customized equipment, thereby reducing the training cost of the robot. In addition, the signal delay of the millimeter wave antenna is low and the accuracy is high. The trainer will not have an obstructed field of view when training the robot, which improves the training accuracy of the robot.
[0107] In the embodiment of the present application, multiple millimeter wave antennas 11 and electronic devices 12 can be connected by wire or wirelessly, and there is no limitation on this. In order to improve the accuracy of three-dimensional images, the more millimeter wave antennas 11, the better. In order to reduce the complexity of calculations, improve the efficiency of generating three-dimensional images, and improve the training efficiency of robots, the fewer millimeter wave antennas 11, the better. Usually, based on at least two requirements in multiple dimensions such as environmental factors, imaging accuracy, imaging efficiency, computing power and training efficiency, comprehensive considerations are made to determine the final number of millimeter wave antennas 11 to be deployed.
[0108] When training the robot, the trainer moves within the designated activity area. In the embodiment of the present application, the coverage areas of the multiple millimeter wave antennas 11 may be the same or different.
[0109] When the coverage ranges of multiple millimeter wave antennas 11 are the same, the active area is within the coverage range of each millimeter wave antenna 11, that is, the coverage range of the millimeter wave antenna 11 is greater than or equal to the active area, so as to accurately capture the three-dimensional image of the trainee. Figure 2a As shown, the activity area of the training personnel is located within the coverage range of millimeter wave antenna a to millimeter wave antenna d.
[0110] When the coverage ranges of multiple millimeter wave antennas 11 are different, the locations of the active areas can be divided into the following cases.
[0111] In case 1, the activity area is located within the range formed by the intersection of the coverage ranges of multiple millimeter wave antennas 11, so as to accurately capture the three-dimensional image of the training personnel. Figure 2b As shown, the intersection area of the coverage ranges of millimeter wave antenna a to millimeter wave antenna d is area A, and the active area is located within area A.
[0112] In case 2, the activity area is located within the range formed by the intersection of the coverage ranges of some of the millimeter wave antennas 11 in the plurality of millimeter wave antennas 11, so as to accurately capture the three-dimensional image of the training personnel. Figure 2c As shown, among the millimeter wave antennas a to millimeter wave antennas d, the intersection area of the coverage ranges of the millimeter wave antennas a to millimeter wave antennas c is area B, and the active area is located within area B.
[0113] In case 3, the activity area is located within the range formed by the union of the coverage areas of multiple millimeter wave antennas 11, so as to expand the activity range of the training personnel. Figure 2d As shown, the union range of the coverage ranges of millimeter wave antennas a to d includes the active area.
[0114] In case 4, the activity area is located within the range formed by the union of the coverage ranges of some of the millimeter wave antennas 11 in the plurality of millimeter wave antennas 11, so as to adapt to the robot training with a small activity range of the trainer, reduce the number of signals processed by the subsequent electronic device 12, and reduce the burden on the electronic device 12. Figure 2e As shown, among the millimeter wave antennas a to millimeter wave antennas d, the union range of the coverage ranges of the millimeter wave antennas a to millimeter wave antennas b includes the active area.
[0115] By deploying the multiple millimeter wave antennas 11 in the activity area with the same or different coverage ranges, the training personnel can be located within the coverage range of at least some of the multiple millimeter wave antennas 11 .
[0116] In one example, multiple millimeter wave antennas 11 are located above the activity area of the trainee, and the projections of the multiple millimeter wave antennas 11 on the plane of the activity area are located at the boundary of the activity area, which can ensure that a complete image of the trainee is captured.
[0117] For example, the robot training system includes four millimeter wave antennas 11, and the activity area of the training personnel is as follows: Figure 3a and Figure 3b In the quadrilateral area shown, four millimeter wave antennas 11 are located above the activity area, and their projections on the plane of the activity area are located at the four vertices of the activity area. This allows the millimeter wave antenna 11 to transmit signals from the top and obtain signal feedback after hitting the trainee.
[0118] In the embodiment of the present application, the multiple millimeter wave antennas 11 may be partially located above the activity area of the trainees, partially located on the side of the trainees, or the multiple millimeter wave antennas 11 may be located on the side of the trainees. There is no limitation on the specific deployment positions of the multiple millimeter wave antennas 11, as long as the collected signals can generate a three-dimensional image of the trainees.
[0119] The millimeter wave antenna 11 can be deployed with a transmitter and a receiver at the same time. The transmitter of the millimeter wave antenna 11 transmits a signal (such as a first signal) to the activity area. The trainee located in the activity area blocks the first signal, and then reflects the first signal to form an echo signal of the first signal, that is, a second signal. The receiver of the millimeter wave antenna 11 receives the second signal, which includes the echo signal of the first signal transmitted by the millimeter wave antenna 11 itself, and may also include the echo signal of the first signal transmitted by other millimeter wave antennas 11. After acquiring the first signal and the second signal, the millimeter wave antenna 11 can directly send the first signal and the second signal to the electronic device 12, or process the first signal and the second signal to generate a differential signal, and send the differential signal to the electronic device 12. The differential signal can reflect the difference between the transmission time of the first signal and the reception time of the second signal, as well as the energy difference, and then determine the distance between the trainee and the corresponding point on the trainee and the millimeter wave antenna 11; based on the distance, the electronic device 12 can generate a three-dimensional image of the trainee.
[0120] Millimeter wave antennas have the following characteristics: 1) narrow beams, which can distinguish smaller targets that are closer or observe target details more clearly; 2) small size, which is convenient for deployment in indoor scenes. Using the characteristics of millimeter wave antennas, very precise human movements can be captured to facilitate accurate training of robots.
[0121] In the embodiment of the present application, the key point is a point associated with the joint point of the trainer and the robot, and the joint point is a point on the robot with rotational freedom. The key point includes the skeleton point of the trainer and / or a point obtained based on multiple associated skeleton points. The associated skeleton point can be multiple adjacent skeleton points, or multiple skeleton points that are affected by each other when performing a certain action.
[0122] For example, the robot end effector is a dexterous hand having five fingers, and the end joint points of each finger are respectively associated with the skeleton points at the end of the trainee's finger, that is, the key points include the skeleton points of the trainee.
[0123] For another example, the robot end effector is a gripper having two fingers, the end joint point of one finger can be associated with the bone point at the end of the trainee's thumb, and the end joint point of the other finger can be associated with the middle position of the bone points at the ends of the trainee's other four fingers, wherein the bone points at the ends of the trainee's other four fingers are associated bone points, and the middle position of the bone points at the ends of the trainee's other four fingers are points calculated based on multiple associated bone points, that is, the key points include the trainee's bone points and points obtained based on multiple associated bone points.
[0124] For another example, the robot end effector is a suction cup, which does not have fingers. The middle joint point of the suction cup can be associated with the middle position of the skeleton points at the ends of the trainee's five fingers, wherein the skeleton points at the ends of the trainee's five fingers are associated skeleton points, and the middle position of the skeleton points at the ends of the trainee's five fingers is the point calculated based on multiple associated skeleton points, that is, the key point includes the point calculated based on the skeleton points.
[0125] In the embodiment of the present application, the key points of the trainer are associated with the joint points of the robot, which can eliminate the different rotational degrees of freedom and parameters of the joint points caused by different robot styles.
[0126] For example, the arms of two robot models have the same degree of freedom, 7 degrees of freedom respectively, but the distance parameters between the joints on the arms are different, the distance between the wrist joint and the elbow joint of one robot is L1, and the distance between the wrist joint and the elbow joint of the other robot is L2. In the embodiment of the present application, the wrist joints of the two robots are respectively associated with the skeletal points of the trainee's wrist, and the elbow joints of the two robots are respectively associated with the skeletal points of the trainee's elbow.
[0127] In the embodiment of the present application, the parameter differences and degree of freedom differences of robots of different styles also include shoulders, waist, lower body limbs, etc. Regardless of whether the styles of the robots are the same, it is sufficient to associate the key points of the trainer with the joint points of the robot. For example, if the lower body limbs of the robot are legs, the key points of the trainer's feet, knees, waist, etc. can be associated with the joint points of the robot's feet, legs, waist, etc.; if the lower body limbs of the robot are wheeled structures, the key points of the trainer's knees can be associated with the joint points of the lower body of the robot. This will not be described one by one.
[0128] The motion information may include one or more of a moving direction, a moving distance, a moving speed, and a position coordinate.
[0129] After acquiring the signals transmitted by the multiple millimeter wave antennas 11, the electronic device 12 generates a three-dimensional image of the trainee using the signals transmitted by the multiple millimeter wave antennas 11. In the embodiment of the present application, the electronic device 12 can generate a three-dimensional image using the first signal and the second signal from all the millimeter wave antennas 11, or can acquire the first signal and the second signal of some millimeter wave antennas 11 according to the activity area of the trainee, and generate a three-dimensional image using the first signal and the second signal of these millimeter wave antennas 11, which is not limited to this.
[0130] After generating the three-dimensional image, the electronic device 12 detects the three-dimensional image to obtain the motion information of the target key points of the trainee (ie, the target motion information). In the embodiment of the present application, the electronic device 12 can detect the three-dimensional image to obtain the target motion information in any of the following ways.
[0131] Method 1: determine a first area in the three-dimensional image where the target key point is located; search for the target key point in the first area to obtain target motion information of the target key point.
[0132] In the first method, the electronic device 12 may determine the first area in any of the following ways.
[0133] Method 1.1: determining the first area using a two-dimensional image.
[0134] In the embodiment of the present application, the robot training system may further include at least one camera 13, such as Figure 4 The camera 13 may be a red green blue (RGB) camera, a YUV camera (YUV color coding uses brightness and chromaticity, Y represents brightness (Luminance, Luma), that is, grayscale value, and U and V represent chromaticity (Chrominance, Chroma), which is used to describe hue and saturation), or other types of cameras, which are not limited to this, as long as the two-dimensional image of the trainee can be collected.
[0135] In order to accurately capture the two-dimensional image of the training personnel and assist in determining the first area, the activity area is located within the coverage of each camera 13, that is, the coverage of the camera 13 is greater than or equal to the activity area, such as Figure 5 In one example, the camera 13 is located above the activity area of the trainee, and the projection of the camera 13 on the plane of the activity area is located at the boundary of the activity area. This can ensure that a complete image of the trainee is captured.
[0136] For example, the robot training system includes four cameras 13, and the activity area of the trainee is as follows: Figure 3a and Figure 3b In the quadrilateral area shown, four cameras 13 are located above the activity area, and the projections on the plane of the activity area are located at the four vertices of the activity area. This allows the camera 13 to collect a two-dimensional image of the trainee from the top to avoid occlusion.
[0137] In the embodiment of the present application, the camera 13 can also be deployed on the side of the trainee, as long as the two-dimensional image captured by the camera 13 can eliminate occlusion and detect the key points of the trainee. For example, if the key points of the trainee are located on the front of the trainee, one or more cameras 13 can be deployed on the side of the front of the trainee to capture the two-dimensional image of the front of the trainee; or, if the key points of the trainee are located on the front and back of the trainee, one or more cameras 13 can be deployed on the side of the front and back of the trainee respectively to capture the two-dimensional image of the front of the trainee and the two-dimensional image of the back of the trainee; or, if the trainee will rotate and move in the activity area, multiple cameras 13 can be deployed around the activity area, and multiple frames of two-dimensional images captured by multiple cameras 13 are processed to obtain a two-dimensional image with occlusion eliminated, such as a panoramic view. The specific deployment position of the camera 13 is not limited.
[0138] In addition, in the embodiment of the present application, the camera 13 can be deployed as an independent physical device, or the camera 13 can be integrated into the electronic device 12 or the robot. The camera 13 is integrated into the robot, which can be understood as: using the camera deployed on the robot itself to collect a two-dimensional image to assist in determining the first area.
[0139] For example, when training multiple robots, the cameras on some robots can be used to capture two-dimensional images to assist in determining the first area so as to train another part of the robots. Here, in order to improve the quality of the captured two-dimensional images, the electronic device 12 can adjust the posture of the robot so that the camera on the robot captures a two-dimensional image that meets the requirements. For example, the camera is installed on the hand of the robot, and the electronic device 12 can adjust the arm of the robot to extend upward, and at the same time adjust the lower half of the robot to extend upward, so as to increase the height of the camera, realize the overhead shooting of the trainee, and obtain an unobstructed two-dimensional image.
[0140] In mode 1.1, the electronic device 12 may preset a mapping relationship between the two-dimensional image and the three-dimensional image, such as a calibration relationship between the coordinate system of the two-dimensional image and the coordinate system of the three-dimensional image, or an association relationship between a point in the two-dimensional image and an area in the three-dimensional image, etc. The electronic device 12 may also perform calibration on the acquired two-dimensional image to obtain a mapping relationship between the two-dimensional image and the three-dimensional image.
[0141] The camera 13 can periodically collect the two-dimensional image of the trainee; after collecting the two-dimensional image, if the camera 13 is deployed as an independent physical device, the camera 13 can send the collected two-dimensional image to the electronic device 12; if the camera 13 is integrated on the electronic device 12, the electronic device 12 can directly obtain the two-dimensional image collected by the camera 13. The electronic device 12 obtains the two-dimensional image of the trainee collected by the camera 13; identifies the area (such as the second area) where the target key point is located in the two-dimensional image; according to the mapping relationship between the two-dimensional image and the three-dimensional image, the electronic device 12 can determine the first area corresponding to the second area in the three-dimensional image.
[0142] In the embodiment of the present application, the electronic device 12 can use a convolutional neural network or other image recognition algorithm to accurately identify the second area where the target key point is located from the two-dimensional image. The second area is an area in the two-dimensional image. According to the mapping relationship between the two-dimensional image and the three-dimensional image, the electronic device 12 can map the second area to the three-dimensional image to obtain the corresponding first area. At this time, the electronic device 12 reduces the search area of the target key point from the entire three-dimensional image to the first area, reducing the search area of the target key point, improving the search efficiency of the target key point, and improving the accuracy of the search of the target key point.
[0143] Method 1.2, using historical motion information to predict the first region.
[0144] In the embodiment of the present application, the three-dimensional image of the trainee generated according to the signal acquired once is referred to as the three-dimensional image corresponding to the signal acquired this time. Each time the electronic device 12 acquires the three-dimensional image of the trainee, the motion information of the target key point can be acquired from the three-dimensional image.
[0145] After acquiring the three-dimensional image of the trainee this time, the electronic device 12 can acquire the historical motion information of the target key point, such as the moving direction and moving speed, etc.; and predict the first area where the target key point is located in the three-dimensional image based on the historical motion information.
[0146] Taking the example that the three-dimensional image corresponding to the signal acquired this time is the first three-dimensional image and the three-dimensional image corresponding to the signal acquired last time is the second three-dimensional image, after acquiring the first three-dimensional image of the trainee this time, the electronic device 12 can acquire the motion information of the target key points in the second three-dimensional image as historical motion information; and predict the first area where the target key points in the first three-dimensional image are located based on the historical motion information.
[0147] For example, the electronic device 12 successively acquires a 3D image 1 and a 3D image 2. Figure 6In the image acquisition scenario shown, after acquiring the three-dimensional image 1, the electronic device 12 acquires the moving direction (as shown by the arrow) and the moving speed v and other motion information of the key point P (i.e., the target key point) based on the three-dimensional image 1. After acquiring the three-dimensional image 2, the electronic device 12 predicts the distance L moved by the key point P in the moving direction shown by the arrow according to the moving direction and the moving speed v shown by the arrow, as well as the frame rate of the three-dimensional image, and obtains the point P', and takes the area Q with the point P' as the center and the preset radius r as the first area.
[0148] In the embodiment of the present application, the electronic device 12 predicts the first area where the target key point is located according to the historical motion information, and reduces the search area of the target key point from the entire three-dimensional image to the first area, thereby reducing the search area of the target key point, improving the search efficiency of the target key point, and improving the accuracy of the search of the target key point. In addition, there is no need to deploy additional cameras and other equipment, which reduces the equipment cost of the robot training system.
[0149] Method 1.3, using the two-dimensional image and historical motion information to determine the first area.
[0150] In the embodiment of the present application, the electronic device 12 can combine the above-mentioned method 1.1 and method 1.2 to determine the first area, so as to further improve the search efficiency of the target key point and improve the search accuracy of the target key point. Figure 7 Signaling diagram of the robot training system interaction shown.
[0151] In step S71, a plurality of millimeter wave antennas 11 transmit a first signal at a first frequency and receive a second signal.
[0152] Step S72 , the multiple millimeter wave antennas 11 send the first signal and the second signal to the electronic device 12 .
[0153] In step S73 , the electronic device 12 generates a three-dimensional image of the trainee according to the first signal and the second signal.
[0154] Here, the plurality of millimeter wave antennas 11 transmit a first signal at a first frequency, and correspondingly, the electronic device 12 generates a three-dimensional image of the trainee at the first frequency.
[0155] Step S74: the camera 13 collects a two-dimensional image of the trainee at a second frequency, wherein the first frequency is greater than the second frequency.
[0156] In the embodiment of the present application, the execution order of step S71 and step S74 is not limited.
[0157] In step S75 , the camera 13 sends the two-dimensional image to the electronic device 12 .
[0158] Here, the camera 13 collects the two-dimensional image of the trainee at the second frequency, and accordingly, the electronic device 12 receives the two-dimensional image at the second frequency. Since the first frequency is greater than or equal to the second frequency, the number of two-dimensional images processed by the electronic device 12 is less than or equal to the number of three-dimensional images, which reduces the burden on the electronic device 12.
[0159] In step S76, after generating the three-dimensional image, the electronic device 12 determines whether a two-dimensional image is received; if so, step S77 is executed; if not, step S79 is executed.
[0160] Step S77: the electronic device 12 identifies a second area in the two-dimensional image where the target key point is located.
[0161] In step S78, the electronic device 12 determines the first area corresponding to the second area in the three-dimensional image according to the mapping relationship between the two-dimensional image and the three-dimensional image. Then, step S711 is executed.
[0162] In step S76, if a two-dimensional image is received while generating a three-dimensional image, the electronic device 12 executes steps S77 to S78, and uses the two-dimensional image to determine the first area to improve the accuracy of determining the target key points and eliminate errors in the historical motion information. The specific process of using the two-dimensional image to determine the first area can be referred to the relevant description in the above method 1.1, which will not be repeated here.
[0163] Step S79: the electronic device 12 obtains historical motion information of the target key points.
[0164] In step S710, the electronic device 12 predicts the first area where the target key point is located in the three-dimensional image according to the historical motion information. Then, step S711 is executed.
[0165] In step S76, if no two-dimensional image is received while generating a three-dimensional image, the electronic device 12 executes steps S79 to S710, and uses the historical motion information to determine the first area to improve the accuracy of determining the target key points and improve the efficiency of determining the target key points. The specific process of using the historical motion information to determine the first area can be referred to the relevant description in the above method 1.2, which will not be repeated here.
[0166] Step S711: the electronic device 12 searches for target key points in the first area to obtain target motion information of the target key points.
[0167] The electronic device 12 searches for the target key point in the first area, and after determining the position of the target key point, the target motion information of the target key point can be determined, thereby controlling the motion of the joints of the robot. The specific method of determining the target motion information will be described in detail below and will not be elaborated here.
[0168] In the embodiment of the present application, the electronic device 12 combines the two-dimensional image and the historical motion information to determine the first area, and the two complement each other, thereby improving the accuracy of determining the target key points and improving the efficiency of determining the target key points.
[0169] In addition, in the embodiment of the present application, when the first frequency is equal to the second frequency, when generating a three-dimensional image, the electronic device 12 also obtains a two-dimensional image. At this time, the electronic device 12 can always determine the first area according to steps S77 to S78, which can maximize the accuracy of determining the target key points.
[0170] Method 2: Search for target key points in the three-dimensional image to obtain target motion information of the target key points.
[0171] In the embodiment of the present application, the electronic device 12 directly performs a full-image search on the three-dimensional image to obtain the target key points, and then determines the target motion information. The specific determination method will be described in detail below and will not be elaborated here.
[0172] In the embodiment of the present application, the electronic device 12 may also use other methods to determine the target key points and target motion information, which is not limited to this.
[0173] After acquiring the target key points, the electronic device 12 may determine the target motion information in any of the following ways.
[0174] Method 1: Compare the target key points of the trainee in the first three-dimensional image and the second three-dimensional image to obtain target motion information of the target key points.
[0175] The first three-dimensional image is a three-dimensional image corresponding to the signal acquired this time, and the second three-dimensional image is a three-dimensional image corresponding to the signal acquired last time. After acquiring the first three-dimensional image and searching for the target key point from the first three-dimensional image, the electronic device 12 acquires the target key point searched last time from the second three-dimensional image, compares the target key points searched twice, and obtains target motion information such as the moving direction, moving speed, and moving distance of the target key point.
[0176] For example, the electronic device 12 successively obtains the 3D image 1 and the 3D image 2, searches for the coordinates of the key point P in the 3D image 1 as (2, 3, 2), and searches for the coordinates of the key point P in the 3D image 2 as (4, 3, 3). The electronic device 12 compares the key point P in the 3D image 1 and the 3D image 2, and obtains that the relative movement direction of the key point P is (4, 3, 3)-(2, 3, 2)=(2, 0, 1), and the square of the moving distance is 2 2 +0 2 +1 2 =5.
[0177] Method 2: obtaining the coordinates of the target key points of the trainee in the three-dimensional image as the target motion information of the target key points of the trainee.
[0178] In the embodiment of the present application, based on a fixed three-dimensional coordinate system, the electronic device 12 determines the coordinates of the target key point after searching for the target key point from the first three-dimensional image, and uses the coordinates as the target motion information of the target key point of the trainee.
[0179] For example, the electronic device 12 successively acquires three-dimensional image 1 and three-dimensional image 2. After searching for key point P in three-dimensional image 1, it determines that the coordinates of key point P in the three-dimensional coordinate system are (2, 3, 2), and uses (2, 3, 2) as the target motion information of key point P; after searching for key point P in three-dimensional image 2, it determines that the coordinates of key point P in the three-dimensional coordinate system are (4, 3, 3), and uses (4, 3, 3) as the new target motion information of key point P.
[0180] In the embodiment of the present application, the electronic device 12 can preset the association relationship between the key points of the trainer and the joint points of the robot, or perform calibration after obtaining the key points of the trainer and the joint points of the robot to obtain the association relationship between the key points of the trainer and the joint points of the robot. After the electronic device 12 determines the target key point, it can determine the joint point associated with the target key point, that is, the target joint point, according to the association relationship between the key point and the joint point; and then control the movement of the target joint point according to the target motion information.
[0181] For example, the electronic device 12 obtains the 3D image 1 and the 3D image 2 successively, and compares the key point P in the 3D image 1 and the 3D image 2, and obtains that the relative moving direction of the key point P is (2, 0, -1), and the square of the moving distance is 5. Then the electronic device 12 can send motion information such as (2, 0, -1) and 5 to the robot. Then the robot takes the current position of the joint point W associated with the key point P as the origin and establishes a 3D coordinate system, such as Figure 8a As shown, the control joint point W moves to (2, 0, -1).
[0182] For another example, the electronic device 12 successively obtains the three-dimensional image 1 and the three-dimensional image 2, searches for the coordinates of the key point P in the three-dimensional image 1 as (2, 3, 2), uses (2, 3, 2) as the target motion information of the key point P, and sends motion information such as (2, 3, 2) to the robot; then, in the three-dimensional coordinate system XYZ with O as the origin, as follows Figure 8b As shown, the joint point W associated with the robot control key point P moves to (2, 3, 2).
[0183] The coordinates of the key point P searched in the three-dimensional image 2 are (4, 3, 3), and (4, 3, 3) is used as the target motion information of the key point P. The motion information such as (4, 3, 3) is sent to the robot; then in the three-dimensional coordinate system XYZ with O as the origin, the robot controls the joint point W associated with the key point P to move to (4, 3, 3).
[0184] When the electronic device 12 is an independent physical device, the electronic device 12 can be a server, a mobile terminal, a personal computer, etc. After acquiring the target motion information, the electronic device 12 determines the movement information of the target joint point according to the association between the key points of the trainer and the joint points of the robot and the target motion information, and sends a control instruction to the robot, which indicates the movement information of the target joint point. After receiving the control instruction, the robot moves the target joint point according to the movement information included in the control instruction, so that the electronic device 12 controls the movement of the target joint point. The movement information can include one or more of the moving direction, moving distance, moving speed and position coordinates.
[0185] When the electronic device 12 is integrated on the robot, after acquiring the target motion information, the electronic device 12 can directly control the motion of the target joint points associated with the target key points according to the association relationship between the key points of the trainer and the joint points of the robot, and according to the target motion information. Here, there is no need to transmit control instructions.
[0186] In some embodiments, the electronic device 12 can also set the control ratio between the trainer and the robot to facilitate the training of robots that perform long-distance tasks in a smaller activity area, or to complete the detailed training of robots that perform short-distance tasks in a larger activity area.
[0187] The control ratio can be set according to actual needs. For example, if the control ratio is 1:2, the electronic device 12 detects that the target key point has moved 1 meter, and then controls the target joint point to move 2 meters. For another example, if the control ratio is 2:1, the electronic device 12 detects that the target key point has moved 1 meter, and then controls the target joint point to move 0.5 meters.
[0188] In some embodiments, to improve training efficiency, the electronic device 12 may preset the association relationship between the key points of the trainer and the joint points of multiple robots. After determining the target motion information of the target key points, the electronic device 12 determines the target joint points associated with the target key points on multiple robots according to the association relationship between the key points of the trainer and the joint points of the robots; and controls the movement of the target joint points on each robot according to the target motion information.
[0189] For example, the electronic device 12 may preset an association relationship 1 between the key points of the trainer and the joint points of the robot 1, and preset an association relationship 2 between the key points of the trainer and the joint points of the robot 2. After determining the target motion information of the target key point, the electronic device 12 determines the joint point 1 associated with the target key point on the robot 1 according to the association relationship 1, and controls the movement of the joint point 1 on the robot 1 according to the target motion information; the electronic device 12 determines the joint point 2 associated with the target key point on the robot 2 according to the association relationship 2, and controls the movement of the joint point 2 on the robot 2 according to the target motion information.
[0190] In the embodiment of the present application, the electronic device 12 trains multiple robots at the same time, greatly improving the training efficiency of the robots. Here, the models of the robots trained at the same time can be the same or different, and for robots of the same model, the correlation between the key points of the trainer and the joint points of the robots can be the same or different.
[0191] Corresponding to the above robot training system, the present application embodiment also provides a robot training method, such as Fig. 9 As shown, the method can be applied to the above-mentioned electronic device 12, and includes the following steps.
[0192] Step S91, acquiring a first signal and a second signal transmitted by a plurality of millimeter wave antennas, wherein the second signal includes an echo signal of the first signal;
[0193] Step S92, generating a three-dimensional image of the trainee according to the first signal and the second signal, where the trainee is located within the coverage of at least some of the millimeter wave antennas among the multiple millimeter wave antennas;
[0194] Step S93, detecting the three-dimensional image to obtain target motion information of target key points of the trainee;
[0195] Step S94, according to the association relationship between the key points of the trainee and the joint points of the robot and the target motion information, the target joint points associated with the target key points are controlled to move.
[0196] In the technical solution provided in the embodiment of the present application, the key points of the trainer are associated with the joint points of the robot. The trainer is located within the coverage of multiple millimeter wave antennas, and the signal transmitted by the millimeter wave antenna is used to generate a three-dimensional image of the trainer, and then the target motion information of the target key points is obtained from the three-dimensional image, so as to control the movement of the target joint points and complete the training of the robot. In the embodiment of the present application, the key points of the trainer are directly associated with the joint points of the robot. As long as the trainer is within the coverage of the millimeter wave antenna, the corresponding key points can be collected to complete the training of the robot without the need for special customized equipment, thereby reducing the training cost of the robot. In addition, the signal delay of the millimeter wave antenna is low and the accuracy is high. The trainer will not have an obstructed field of view when training the robot, which improves the training accuracy of the robot.
[0197] In some embodiments, Fig.10 As shown, a robot training method is also provided, which may include the following steps.
[0198] Step S101, acquiring a first signal and a second signal transmitted by a plurality of millimeter wave antennas, wherein the second signal includes an echo signal of the first signal;
[0199] Step S102, generating a three-dimensional image of a trainee according to the first signal and the second signal, where the trainee is located within the coverage of at least some of the millimeter wave antennas among the multiple millimeter wave antennas;
[0200] Step S103, determining a first area where the target key point is located in the three-dimensional image;
[0201] Step S104, searching for target key points in the first area to obtain target motion information of the target key points;
[0202] Step S105, according to the association relationship between the key points of the trainee and the joint points of the robot and the target motion information, the target joint points associated with the target key points are controlled to move.
[0203] In the technical solution provided in the embodiment of the present application, the electronic device shrinks the search area of the target key point from the entire three-dimensional image to the first area, thereby reducing the search area of the target key point, thereby improving the search efficiency of the target key point and improving the accuracy of the search of the target key point.
[0204] In some embodiments, the above step S103 may be: obtaining a two-dimensional image of the trainee; identifying a second area where the target key point is located in the two-dimensional image; and determining a first area corresponding to the second area in the three-dimensional image based on a mapping relationship between the two-dimensional image and the three-dimensional image.
[0205] In some embodiments, the above step S103 may be: obtaining historical motion information of the target key point; and predicting the first area where the target key point is located in the three-dimensional image according to the historical motion information.
[0206] In some embodiments, the three-dimensional image includes a first three-dimensional image corresponding to the signal acquired this time, and a second three-dimensional image corresponding to the signal acquired last time; in this case, the above-mentioned step S93 can be: comparing the target key points of the trainee in the first three-dimensional image and the second three-dimensional image to obtain the target motion information of the target key points.
[0207] In some embodiments, the above step S93 may be: obtaining coordinates of the target key points of the trainee in the three-dimensional image as target motion information of the target key points of the trainee.
[0208] In some embodiments, the above step S94 or step S105 may be: determining the target joint points associated with the target key points on multiple robots according to the association relationship between the key points of the trainer and the joint points of the robot; and controlling the movement of the target joint points on each robot according to the target motion information.
[0209] In some embodiments, the target joint points include various points on the robot having rotational freedom; the target key points include skeleton points of the trainee and / or points obtained based on multiple associated skeleton points.
[0210] Corresponding to the above robot training system, the present application embodiment also provides a robot training device, such as Fig.11 As shown, the method can be applied to the above electronic device 12, including:
[0211] An acquisition module 111 is used to acquire a first signal and a second signal transmitted by a plurality of millimeter wave antennas, where the second signal includes an echo signal of the first signal;
[0212] A generating module 112 is configured to generate a three-dimensional image of a trainee according to the first signal and the second signal, where the trainee is located within the coverage of at least some of the millimeter wave antennas among the multiple millimeter wave antennas;
[0213] A detection module 113 is used to detect the three-dimensional image and obtain target motion information of target key points of the training personnel;
[0214] The control module 114 is used to control the movement of the target joint points associated with the target key points according to the association relationship between the key points of the trainer and the joint points of the robot and the target movement information.
[0215] In some embodiments, the detection module 113 may be specifically used to:
[0216] Determine a first region in the three-dimensional image where a target key point is located;
[0217] Search for target key points in the first area to obtain target motion information of the target key points.
[0218] In some embodiments, the detection module 113 may be specifically used to:
[0219] Acquire a two-dimensional image of the training person;
[0220] Identifying a second region in the two-dimensional image where the target key point is located;
[0221] According to the mapping relationship between the two-dimensional image and the three-dimensional image, a first area corresponding to the second area in the three-dimensional image is determined.
[0222] In some embodiments, the detection module 113 may be specifically used to:
[0223] Obtain historical motion information of target key points;
[0224] According to the historical motion information, a first region where the target key point is located in the three-dimensional image is predicted.
[0225] In some embodiments, the three-dimensional image includes a first three-dimensional image corresponding to the signal acquired this time, and a second three-dimensional image corresponding to the signal acquired last time;
[0226] The detection module 113 may be specifically used to compare the target key points of the trainee in the first 3D image and the second 3D image to obtain the target motion information of the target key points.
[0227] In some embodiments, the detection module 113 may be specifically used to obtain the coordinates of the target key points of the trainee in the three-dimensional image as the target motion information of the target key points of the trainee.
[0228] In some embodiments, the control module 114 may be specifically configured to:
[0229] Determine target joint points associated with target key points on multiple robots based on the association relationship between the key points of the trainer and the joint points of the robot;
[0230] According to the target motion information, the target joint points on each robot are controlled to move.
[0231] In some embodiments, the target joint points include various points on the robot having rotational freedom; the target key points include skeleton points of the trainee and / or points obtained based on multiple associated skeleton points.
[0232] In the technical solution provided in the embodiment of the present application, the key points of the trainer are associated with the joint points of the robot. The trainer is located within the coverage of multiple millimeter wave antennas, and the signal transmitted by the millimeter wave antenna is used to generate a three-dimensional image of the trainer, and then the target motion information of the target key points is obtained from the three-dimensional image, so as to control the movement of the target joint points and complete the training of the robot. In the embodiment of the present application, the key points of the trainer are directly associated with the joint points of the robot. As long as the trainer is within the coverage of the millimeter wave antenna, the corresponding key points can be collected to complete the training of the robot without the need for special customized equipment, thereby reducing the training cost of the robot. In addition, the signal delay of the millimeter wave antenna is low and the accuracy is high. The trainer will not have an obstructed field of view when training the robot, which improves the training accuracy of the robot.
[0233] Corresponding to the above robot training method, the present application embodiment also provides an electronic device, such as Fig.12 As shown, it includes a processor 121 , a communication interface 122 , a memory 123 and a communication bus 124 , wherein the processor 121 , the communication interface 122 , and the memory 123 communicate with each other via the communication bus 124 .
[0234] Memory 123, used for storing computer programs;
[0235] The processor 121 is used to execute the program stored in the memory 123 to implement the following steps:
[0236] Acquire a first signal and a second signal transmitted by a plurality of millimeter wave antennas, wherein the second signal includes an echo signal of the first signal;
[0237] generating a three-dimensional image of a training person according to the first signal and the second signal, wherein the training person is located within the coverage of at least some of the millimeter wave antennas among the multiple millimeter wave antennas;
[0238] Detect the three-dimensional image to obtain the target motion information of the target key points of the training personnel;
[0239] According to the association between the key points of the trainer and the joint points of the robot, the movement of the target joint points associated with the target key points is controlled according to the target motion information.
[0240] In the technical solution provided in the embodiment of the present application, the key points of the trainer are associated with the joint points of the robot. The trainer is located within the coverage of multiple millimeter wave antennas, and the signal transmitted by the millimeter wave antenna is used to generate a three-dimensional image of the trainer, and then the target motion information of the target key points is obtained from the three-dimensional image, so as to control the movement of the target joint points and complete the training of the robot. In the embodiment of the present application, the key points of the trainer are directly associated with the joint points of the robot. As long as the trainer is within the coverage of the millimeter wave antenna, the corresponding key points can be collected to complete the training of the robot without the need for special customized equipment, thereby reducing the training cost of the robot. In addition, the signal delay of the millimeter wave antenna is low and the accuracy is high. The trainer will not have an obstructed field of view when training the robot, which improves the training accuracy of the robot.
[0241] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0242] The communication interface is used for communication between the above electronic device and other devices.
[0243] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0244] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be 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.
[0245] In another embodiment provided in the present application, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned robot training methods are implemented.
[0246] In another embodiment provided by the present application, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute any robot training method in the above embodiments.
[0247] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, a computer, an electronic device or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, electronic device or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as an electronic device, a data center, etc. that includes one or more available media integrated. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.
[0248] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0249] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the method, device, electronic device, storage medium and program product embodiments, since they are basically similar to the system embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the system embodiment.
[0250] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application are included in the protection scope of the present application.
Claims
1. A robot training method, characterized in that: The method comprises: Acquire a first signal and a second signal transmitted by a plurality of millimeter wave antennas, wherein the second signal includes an echo signal of the first signal; generating a three-dimensional image of a trainee according to the first signal and the second signal, wherein the trainee is located within the coverage of at least some of the millimeter wave antennas among the multiple millimeter wave antennas; Detecting the three-dimensional image to obtain target motion information of target key points of the trainee; According to the association relationship between the key points of the trainer and the joint points of the robot, the movement of the target joint points associated with the target key points is controlled according to the target movement information.
2. The method according to claim 1, characterized in that The step of detecting the three-dimensional image to obtain target motion information of the target key points of the trainee includes: Determine a first area where a target key point is located in the three-dimensional image; The target key point is searched in the first area to obtain target motion information of the target key point.
3. The method according to claim 2, characterized in that The step of determining the first area where the target key point is located in the three-dimensional image includes: Acquire a two-dimensional image of the trainee; identify a second area in the two-dimensional image where the target key point is located; determine a first area in the three-dimensional image corresponding to the second area according to a mapping relationship between the two-dimensional image and the three-dimensional image; or Acquire historical motion information of the target key point; and predict a first area in the three-dimensional image where the target key point is located based on the historical motion information.
4. The method according to any one of claims 1 to 3, characterized in that: The three-dimensional image includes a first three-dimensional image corresponding to the signal acquired this time, and a second three-dimensional image corresponding to the signal acquired last time; the step of detecting the three-dimensional image to obtain the target motion information of the target key point of the trainee includes: comparing the target key point of the trainee in the first three-dimensional image and the second three-dimensional image to obtain the target motion information of the target key point; or, obtaining the coordinates of the target key point of the trainee in the three-dimensional image as the target motion information of the target key point of the trainee; and / or The step of controlling the movement of target joint points associated with the target key points according to the association relationship between the key points of the trainee and the joint points of the robot according to the target movement information comprises: determining target joint points associated with the target key points on multiple robots according to the association relationship between the key points of the trainee and the joint points of the robot; controlling the movement of the target joint points on each robot according to the target movement information; and / or The target joint points include various points on the robot having rotational freedom; the target key points include skeleton points of the trainee and / or points obtained based on a plurality of associated skeleton points.
5. A robot training device, characterized in that: The device comprises: An acquisition module, configured to acquire a first signal and a second signal transmitted by a plurality of millimeter wave antennas, wherein the second signal includes an echo signal of the first signal; a generating module, configured to generate a three-dimensional image of a trainee according to the first signal and the second signal, wherein the trainee is located within the coverage of at least some of the millimeter wave antennas among the multiple millimeter wave antennas; A detection module, used to detect the three-dimensional image to obtain target motion information of target key points of the trainee; The control module is used to control the movement of the target joint points associated with the target key points according to the association relationship between the key points of the trainer and the joint points of the robot and the target movement information.
6. The device according to claim 5, characterized in that The detection module is specifically used to: determine a first area where the target key point is located in the three-dimensional image; search for the target key point in the first area to obtain target motion information of the target key point; and / or The detection module is specifically used to: obtain a two-dimensional image of the trainee; identify a second area where the target key point is located in the two-dimensional image; determine a first area corresponding to the second area in the three-dimensional image according to a mapping relationship between the two-dimensional image and the three-dimensional image; or obtain historical motion information of the target key point; and predict the first area where the target key point is located in the three-dimensional image according to the historical motion information; and / or The three-dimensional image includes a first three-dimensional image corresponding to the signal acquired this time and a second three-dimensional image corresponding to the signal acquired last time; the detection module is specifically used to compare the target key points of the trainee in the first three-dimensional image and the second three-dimensional image to obtain the target motion information of the target key points; or obtain the coordinates of the target key points of the trainee in the three-dimensional image as the target motion information of the target key points of the trainee; and / or The control module is specifically used to: determine the target joint points associated with the target key points on multiple robots according to the association relationship between the key points of the trainer and the joint points of the robot; and control the movement of the target joint points on each robot according to the target movement information; and / or The target joint points include various points on the robot having rotational freedom; the target key points include skeleton points of the trainee and / or points obtained based on a plurality of associated skeleton points.
7. A robot training system, characterized in that: including multiple millimeter wave antennas and electronics; The multiple millimeter wave antennas are used to transmit a first signal and receive a second signal, wherein the second signal includes an echo signal of the first signal; and send the first signal and the second signal to the electronic device; The electronic device is used to generate a three-dimensional image of a trainee according to the first signal and the second signal, wherein the trainee is located within the coverage of at least some of the millimeter wave antennas among the plurality of millimeter wave antennas; Detecting the three-dimensional image to obtain target motion information of target key points of the trainee; According to the association relationship between the key points of the trainer and the joint points of the robot, the movement of the target joint points associated with the target key points is controlled according to the target movement information.
8. The system according to claim 7, characterized in that The plurality of millimeter wave antennas are located above the activity area of the trainee, and projections of the plurality of millimeter wave antennas on the plane of the activity area are located at the boundary of the activity area; and / or The electronic device is specifically used to: determine a first area where a target key point is located in the three-dimensional image; search for the target key point in the first area to obtain target motion information of the target key point; and / or The system also includes a camera; the camera is used to capture a two-dimensional image of the trainee; the electronic device is specifically used to: obtain the two-dimensional image of the trainee captured by the camera; identify the second area where the target key point is located in the two-dimensional image; determine the first area corresponding to the second area in the three-dimensional image according to the mapping relationship between the two-dimensional image and the three-dimensional image; or, obtain the historical motion information of the target key point; predict the first area where the target key point is located in the three-dimensional image according to the historical motion information; and / or The camera is located above the activity area of the trainee, and the projection of the camera on the plane of the activity area is located at the boundary of the activity area; and / or The three-dimensional image includes a first three-dimensional image corresponding to the signal acquired this time and a second three-dimensional image corresponding to the signal acquired last time; the electronic device is specifically used to: compare the target key points of the trainee in the first three-dimensional image and the second three-dimensional image to obtain the target motion information of the target key points; or obtain the coordinates of the target key points of the trainee in the three-dimensional image as the target motion information of the target key points of the trainee; and / or The target joint points include various points on the robot having rotational freedom; the target key points include skeleton points of the trainee and / or points obtained based on a plurality of associated skeleton points.
9. An electronic device, characterized in that: The invention comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; the memory is used to store computer programs; and the processor is used to implement any method described in claims 1 to 4 when executing the program stored in the memory.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Systems and methods for initializing a robot to autonomously travel a trained route
CN109416538A
Intelligent accompanying seat robot device and training learning method thereof
CN113940820A
Data set generation method and device, robot and storage medium
CN114330755A
Feature detection apparatus and methods for training of robotic navigation
US20160096270A1
Electronic device including transmission structure for non-contact wireless power transmission and non-contact data communication
US20210265862A1
