Human-machine integration risk warning method and system based on motion recognition and human-machine distance

By combining the action recognition model with the human-machine distance, the human action state is identified and risk warning instructions are generated, which solves the problem of not considering human behavioral intentions in the existing technology and improves the safety and efficiency of human-machine collaboration.

CN114757293BActive Publication Date: 2024-09-27SHANDONG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210453368.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-27
Publication Date
2024-09-27
Estimated Expiration
2042-04-27

AI Technical Summary

Technical Problem

In the existing human-machine collaboration process, risk assessment methods mainly focus on the distance between humans and machines and the speed of robot movement, without considering human behavioral intentions and status, resulting in the robot being unable to execute safety commands based on human behavior and reducing the efficiency of human-machine collaboration.

Method used

Based on the action recognition model, the action information and location information of the workers are obtained through the motion capture device, the human action status and the distance between the human and the machine are identified, and risk prompt instructions are generated. The robot executes corresponding safety instructions according to different risk levels.

Benefits of technology

It improves the collaborative robot's perception level of human intentions, improves the safety of human-machine shared workspaces, avoids downtime caused by lack of perception capabilities, and enhances the efficiency of human-machine collaboration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114757293B
    Figure CN114757293B
Patent Text Reader

Abstract

The present invention relates to a human-machine integration risk warning method and system based on motion recognition and human-machine distance, comprising the following steps: based on a constructed motion recognition model, using the acquired operator motion information, identifying the operator's current motion state as walking, observing or working; using the acquired operator and robot position information, obtaining the minimum distance between the operator and the robot; generating risk warning instructions under different motion states according to the operator's current motion state and the obtained minimum distance. According to the constructed model, the human motion posture in the human-machine collaboration process is identified, and the robot identifies different levels of risks according to different human motions and different human-machine distances, and controls the robot to execute safety instructions corresponding to the risks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of human-machine collaboration, and specifically to a human-machine collaboration risk warning method and system based on motion recognition and human-machine distance. Background Art

[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.

[0003] Industrial robots can replace humans to perform some repetitive, mechanical and dangerous work. When performing work, due to the presence of moving parts, they usually work in an independent space formed by railings or fences, thus making the robot's workspace independent of the human's workspace. Under normal circumstances, workers are not allowed to enter the robot's workspace to avoid accidents.

[0004] In some scenarios where humans and robots need to work together, robots need to dynamically change their pre-planned tasks to adapt to human behavior based on human working conditions in order to complete more personalized and complex work tasks. Human knowledge, flexibility, analysis and decision-making capabilities can make up for the shortcomings of robots, and robots can make up for human disadvantages in accuracy and repeatability, thus achieving human-machine collaboration.

[0005] During human-robot collaboration, humans and robots are in the same workspace, and it is necessary to ensure that the robot's actions will not pose a danger to humans. However, the current risk assessment methods for human-robot collaboration focus more on the human-robot distance and the robot's movement speed, without taking into account human behavioral intentions and status. This will result in the robot being unable to execute safety commands based on human behavior, causing the robot to actively slow down or stop working for a long time, greatly reducing the efficiency of human-robot collaboration. Summary of the invention

[0006] In order to solve the technical problems existing in the above-mentioned background technology, the present invention provides a human-machine collaboration risk warning method and system based on motion recognition and human-machine distance. The human motion posture in the human-machine collaboration process is identified according to the constructed model. The robot identifies different levels of risks according to different human motions and different human-machine distances and controls the robot to execute safety instructions corresponding to the risks.

[0007] In order to achieve the above object, the present invention adopts the following technical solution:

[0008] A first aspect of the present invention provides a human-machine integration risk warning method based on motion recognition and human-machine distance, comprising the following steps:

[0009] Based on the established action recognition model, the acquired action information of the operator is used to identify the operator's current action state as walking, observing or working;

[0010] Using the acquired position information of the operator and the robot, the minimum distance between the operator and the robot is obtained;

[0011] According to the operator's current action state and the obtained minimum distance, risk warning instructions under different action states are generated.

[0012] The process of building an action recognition model includes the following steps:

[0013] Through motion capture equipment, the skeleton information of the operator is obtained when the operator and the robot are working together in the same workspace;

[0014] Extract motion features based on skeleton information and construct feature vectors, which are input into convolutional neural networks in the form of feature matrices for feature extraction, learning, and classification.

[0015] The network model with the best training result is saved as the action recognition model.

[0016] The skeleton information includes the three-dimensional spatial position information of fourteen joint points, including the left and right shoulders, left and right elbows, left and right wrists, left and right hip joints, left and right knees, left and right ankles, the upper body reference point at the neck and the lower body reference point at the waist, as well as the acceleration information obtained by sensors on the left and right upper arms and left and right thighs.

[0017] Motion features include joint point distance features, joint angle features and acceleration features.

[0018] Using the acquired position information of the operator and the robot, the minimum distance between the operator and the robot is obtained, including:

[0019] A spherical bounding box with the average coordinates of the joints of the human body and the robotic arm as the center and the maximum distance from the center to each joint as the radius surrounds the human body and the robotic arm respectively. The difference between the distance between the two centers of the human body and the robotic arm and the sum of the radii of the two centers is the minimum Class A distance between the operator and the robot.

[0020] The human body and the robotic arm are regarded as cylinders in space. The height of the cylinder is the distance between two adjacent joints in the human skeleton and the robotic arm. The radius of the cylinder is the set value. The difference between the minimum distance between the axis segments of the two cylinders and the sum of the radii of the two cylinders is the Class B minimum distance between the operator and the robot.

[0021] If the minimum distance of level A is not less than the preset first safety distance threshold, this distance is used as the actual minimum distance and the distance calculation of the next level is not performed;

[0022] If the Class A minimum distance is less than the preset first safety distance threshold, the Class B minimum distance is used as the actual minimum distance between the human and the machine.

[0023] According to the operator's current action state and the obtained minimum distance, risk warning instructions are generated under different action states, including:

[0024] When the human body action is walking, if the minimum distance between the human and the machine is less than the first safety distance threshold, the risk level is dangerous; when the minimum distance between the human and the machine is greater than the first safety distance threshold and not less than the second safety distance threshold, the risk level is warning; when the minimum distance between the human and the machine is greater than the second safety distance threshold, the risk level is safe.

[0025] When the human action is observation, if the minimum distance between the human and the machine is less than the first safety distance threshold, the risk level is warning; when the minimum distance between the human and the machine is greater than the first safety distance threshold and not less than the second safety distance threshold, and the minimum distance between the human and the machine is greater than the second safety distance threshold, the risk level is safe.

[0026] When the human body is working, if the minimum distance between the human and the machine is less than the first safety distance threshold, or greater than the first safety distance threshold and not less than the second safety distance threshold, the risk level is dangerous; when the minimum distance between the human and the machine is greater than the second safety distance threshold, the risk level is safe.

[0027] A second aspect of the present invention provides a system for implementing the above method, comprising:

[0028] The action recognition module is configured to: based on the established action recognition model, use the acquired action information of the operator to recognize the current action state of the operator as walking, observing or working;

[0029] The distance calculation module is configured to: obtain the minimum distance between the operator and the robot using the acquired operator position information and robot position information;

[0030] The risk level determination module is configured to generate risk warning instructions under different action states according to the current action state of the operator and the obtained minimum distance.

[0031] A third aspect of the present invention provides a computer-readable storage medium.

[0032] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps in the human-machine integration risk warning method based on motion recognition and human-machine distance as described above.

[0033] A fourth aspect of the present invention provides a computer device.

[0034] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps in the human-machine integration risk warning method based on motion recognition and human-machine distance as described above are implemented.

[0035] Compared with the prior art, one or more of the above technical solutions have the following beneficial effects:

[0036] 1. In the process of human-machine collaboration, the possible situations that may occur when the workspace of the operator and the robot overlap are fully considered. The trained motion recognition model is used to recognize human motions, and the minimum distance between humans and machines is calculated based on the position information. The two are combined as a criterion to determine the risk level in the current human-machine integration scenario, so that the robot can make corresponding early warning responses according to different risk levels, effectively avoiding the occurrence of danger.

[0037] 2. The method of combining human motion recognition and the minimum distance between humans and machines can improve the collaborative robot's perception of human intentions, thereby improving human safety when humans and machines share a workspace, avoiding harm to humans caused by robots executing preset programs and lack of perception during human-machine collaboration, and at the same time reducing the shutdown action caused by the robot's inability to judge the human status during human-machine collaboration. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0039] Figure 1 It is a schematic diagram of a human-machine integration risk warning process provided by one or more embodiments of the present invention;

[0040] Figure 2 A schematic diagram of a human skeleton with human skeleton information marked thereon and used in an early warning according to one or more embodiments of the present invention;

[0041] 3(a)-(c) are schematic diagrams of the software interface of the human-machine integration risk warning system provided by one or more embodiments of the present invention. DETAILED DESCRIPTION

[0042] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0043] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.

[0044] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0045] As described in the background technology, current risk assessment methods for human-machine collaboration processes focus more on the human-machine distance and the robot's movement speed, without taking into account human behavioral intentions and states. This will result in the robot being unable to execute safety commands based on human behavior, causing the robot to actively slow down or stop working for a long time, greatly reducing the efficiency of human-machine collaboration.

[0046] Therefore, the following embodiments provide a human-machine collaboration risk warning method and system based on motion recognition and human-machine distance. The human motion posture in the human-machine collaboration process is identified according to the constructed model. The robot identifies different levels of risks according to different human motions and different human-machine distances and controls the robot to execute safety instructions corresponding to the risks.

[0047] Embodiment 1:

[0048] like Figure 1 -3, the human-machine integration risk warning method based on motion recognition and human-machine distance includes the following steps:

[0049] Based on the established action recognition model, the acquired action information of the operator is used to identify the operator's current action state as walking, observing or working;

[0050] Using the acquired position information of the operator and the robot, the minimum distance between the operator and the robot is obtained;

[0051] According to the operator's current action state and the obtained minimum distance, risk warning instructions under different action states are generated.

[0052] Specific:

[0053] The offline stage is the stage of building an action recognition model, and the online risk warning stage is the stage of using the built model to realize risk warning.

[0054] In the offline stage, the collaborators wear IMU devices (motion capture devices, such as XSE NS MTw Awinda) and repeatedly perform the three actions of walking, squatting, and observing / standing up that may appear in human-machine collaboration scenarios. The IMU device can build a human skeleton model through motion capture and obtain useful skeleton information, such as Figure 2 As shown, the information includes: 3D spatial position information of fourteen joints, namely, left and right shoulders, left and right elbows, left and right wrists, left and right hip joints, left and right knees, left and right ankles, upper body reference point (body_up) and lower body reference point (body_base), as well as acceleration information obtained by IMU sensors located on the left and right upper arms and left and right thighs.

[0055] In order to characterize a specific action, the key information that best reflects the characteristics of the specific action is extracted from the original skeleton information and saved as feature information.

[0056] Combination Figure 2 The feature information extracted in this embodiment has the following three categories:

[0057] Joint point distance feature information: The six distance information are selected: the distance from left shoulder to left wrist L1, the distance from right shoulder to right wrist L2, the distance from left wrist to left span L3, the distance from right wrist to right span L4, the distance from left span to left ankle L5, and the distance from right span to right ankle L6. The distance between joint points can be obtained from the three-dimensional coordinate positions of any two joint points by the following formula:

[0058]

[0059] Joint angle feature information: Considering the angle between the upper arm and the forearm, the angle between the thigh and the calf, the angle between the upper arm and the upper body trunk formed by the upper limbs swinging forward and backward, the angle between the upper arm and the upper body trunk formed by the upper limbs lifting / falling, and the angle between the thigh and the upper body trunk formed by the lower limbs swinging forward and backward during human movement. The human body is bilaterally symmetrical, so ten angle feature values ​​θ1~θ 10 The joint angle eigenvalue can be obtained by the angle between any three joint points and the vectors formed by each of them. The formula is as follows:

[0060]

[0061] Acceleration correlation: The left upper arm and the right upper arm, the left upper arm and the right thigh, the left upper arm and the right thigh, the right upper arm and the left thigh, the right upper arm and the right thigh, and the right thigh and the left thigh are selected. This embodiment uses the cosine value of the angle between the vectors describing the acceleration direction to describe this feature information. The formula is as follows, where A1 and A2 are acceleration vectors. A total of six values ​​ACR1 to ACR6 are obtained.

[0062]

[0063] The above feature information contains 22 eigenvalues ​​in three categories. These 22 eigenvalues ​​can form a 22-dimensional vector T = {L1~L6,θ1~θ 10 ,ACR1~ACR6}, as the feature vector of a certain frame in the process of human completing the action.

[0064] In this embodiment, the frequency of sensor information collection is set to 50 times / second, that is, the frequency of extracting features from human skeleton information to form feature vectors is 50 times / second. In order to identify a whole continuous action, this embodiment continuously collects information for 1s, and uses all feature information obtained in this 1s to represent the behavior of the human body. Therefore, a 50×22 matrix can be constructed as a feature matrix for a specific continuous action.

[0065] When the executors repeatedly complete the above three actions, they record the feature matrix of each action and use them to construct a training set for training the deep learning network.

[0066] In the training set, there are three actions (walking, squatting, and upright observation / working), and 32 groups of each action are collected. Therefore, the shape (size) of the training set for the total input of the entire convolutional neural network is (3×32, 50, 22).

[0067] During the training process, the training set is divided into 6 batches and sent to the convolutional neural network in batches. The back propagation principle is used to calculate the loss function and the gradient descent method is used to update the neural network parameters. Therefore, the size of each batch is 16, and the number of training iterations (epochs) is set to 80.

[0068] The trained convolutional neural network contains two convolutional layers. The first convolutional layer uses 16 3×3 filters for feature extraction, and the second convolutional layer uses 16 3×3 filters for feature extraction. After each convolution layer, it will pass through a relu activation layer and perform max-pooling processing.

[0069] A three-layer fully connected network is connected after the convolution layer to classify the features extracted by the convolution layer. The high-dimensional features are mapped to action classification using L(x)=Wx+b. Dropout is applied after each layer, and neurons are randomly disconnected with a probability of 0.2 to prevent overfitting.

[0070] Finally, the trained convolutional neural network is saved for action recognition in the subsequent online risk warning stage. The expected outputs of the neural network corresponding to the three action types are: (0, 0, 1), (0, 1, 0) and (1, 0, 0).

[0071] Combination Figure 1 ,The online risk warning stage can be divided into action recognition, ,distance calculation and risk level determination.

[0072] In the experimental environment of this embodiment, the collaborators wear IMU suits and install IMU sensor devices at specific positions of the robotic arm. The robotic arm works according to a pre-set motion trajectory. The collaborators share the workspace with the robotic arm at this time. In the human-machine integration scenario, multiple IMU devices perform motion capture and posture tracking on the human body and the robotic arm to obtain 3D spatial position information and motion information of the collaborators and the robotic arm.

[0073] Action recognition: After continuously collecting and recording the complete human action feature information for 1 second, all the data within this second is transmitted to the convolutional neural network trained in the offline stage for action recognition to obtain the recognition result of the current human behavior action.

[0074] At the same time, the distance calculation process uses corresponding methods according to different levels to calculate the minimum distance between humans and machines in real time. The specific calculation process is as follows:

[0075] First, calculate the human-machine distance according to level A. Level A uses a spherical bounding box to calculate the distance between the human and the machine. Add the 3D coordinate positions of each joint point of the human skeleton / robotic arm, and then divide it by the number of joint points to get the center position of the human body / robotic arm enclosing sphere; calculate the Euclidean distance from each joint point of the human skeleton / robotic arm to the center of the human body / robotic arm enclosing sphere, and select the longest distance as the radius of the human body / robotic arm enclosing sphere. The center position and radius of the human body and robotic arm enclosing sphere are (x1, y1, z1), R and (x2, y2, z2), r respectively. At this level, the distance between the human and the machine is the distance between the centers of the human body and robotic arm enclosing spheres minus the radius of the human body and robotic arm enclosing spheres. The calculation formula is as follows:

[0076]

[0077] The spherical center position coordinates and radius are calculated using the average value method, assuming that the human body / robotic arm has a total of m joint position information:

[0078] {(x1,y1,z1),(x2,y2,z2),...,(x m ,y m ,z m )}

[0079] The 3D spatial coordinates (X, Y, Z) of the sphere center are calculated using the following formula:

[0080]

[0081]

[0082]

[0083] Then calculate the 3D spatial position coordinates (X, Y, Z) of the ball center to the position of each joint point (x i ,y i ,z i ), the Euclidean distance of 1≤i≤m, and take the maximum value as the radius of the spherical bounding box.

[0084] If the distance d calculated according to level A is greater than or equal to the preset first safety distance threshold S1, this distance is used as the minimum distance between the human and the machine, and the distance calculation of the next level is not performed;

[0085] If the distance d calculated at level A is less than the preset first safety distance threshold S1, level B distance calculation is required, and the human-machine distance calculated at level B is used as the minimum distance between the human and the machine.

[0086] Level B uses a cylindrical bounding box, treating the human torso and the connecting rods of the robotic arm as cylinders in space. The height of the cylinder is the distance between two adjacent joints of the human skeleton / robotic arm. The radius of the cylinder is preset according to the actual situation. Then, a mathematical formula is used to solve the shortest distance between the cylinders as the distance between the human and the machine. The calculation of the minimum distance between the two cylinders is simplified to the difference between the minimum distance between the axis segments of the two cylinders and the sum of the radii of the two cylinders.

[0087] Calculate the minimum distance between the cylinders surrounding the human torso and the robot arm connecting rod, denoted as d1~d m , where the minimum value is the distance between the human and the machine at this level:

[0088] The two-level calculation method can reduce the amount of calculation when calculating the distance between the human and the robot. If the B-level calculation method is used directly, it is necessary to calculate the distance between each human torso and each link of the robot arm, and calculating the distance using a cylindrical bounding box is much more complicated than using a spherical bounding box. Therefore, if the distance between the two is calculated in the form of a spherical bounding box, if the distance is very far, it means that the distance between the human and the robot is safe, then the B-level calculation method is no longer selected, which greatly reduces the amount of calculation.

[0089] According to the recognition results of human behavior and the calculated minimum distance between humans and machines, the risk level of humans in the current human-machine collaborative mining scenario is determined. The risk classification table is shown in Table 1.

[0090] Table 1: Risk grading table

[0091] d≤s1 s1<d≤s2 d>s2 walk Danger Caution Safe Observation / Inspection Caution Safe Safe Squat work Danger Danger Safe

[0092] The specific judgment principles are as follows:

[0093] When the human body action is walking, if the minimum distance between the human and the machine is less than the first safety distance threshold (d≤s1), the risk level is Danger; when the minimum distance between the human and the machine is between the first and second safety distance thresholds (d1<d≤s2), the risk level is Caution; when the minimum distance between the human and the machine is greater than the second safety distance threshold (s2<d), the risk level is Safe.

[0094] When the human action is observation / inspection, if the minimum distance between the human and the machine is less than the first safety distance threshold (d≤s1), the risk level is Caution; when the minimum distance between the human and the machine is between the first and second safety distance thresholds (s1<d≤s2) and the minimum distance between the human and the machine is greater than the second safety distance threshold (s2<d), the risk level is Safe.

[0095] When the human body is squatting to work, if the minimum distance between the human and the machine is less than the first safety distance threshold (d≤d1) or is between the first and second safety distance thresholds (s1<d≤s2), the risk level is Danger; if the minimum distance between the human and the machine is greater than the second safety distance threshold (s2<d), the risk level is Safe.

[0096] As shown in Figure 3(a), if the current risk level is determined to be Danger, a red alarm will be displayed at the "Risk Level" of the software interface, and the robot arm will stop moving with a speed of 0;

[0097] As shown in Figure 3(b), if the current risk level is determined to be Caution, an orange warning prompt is displayed at the "Risk Level" of the software interface, and the movement speed of the robotic arm is reduced.

[0098] As shown in Figure 3(c), if the current risk level is determined to be Safe, the “Risk Level” on the software interface will be displayed as a green prompt, and the robot arm will run at the normal speed V;

[0099] During the human-machine collaboration process, the above process fully considers the possible situations that may occur when the workspace of the operator and the robot overlap. The wearable motion capture equipment is used to capture the real-time motion and track the posture of the operator and the robot, so as to build and train the motion recognition model of the deep learning network. The trained motion recognition model is used to recognize human motion, and the minimum distance between humans and machines is calculated based on the position information. The two are combined as the evaluation criteria to determine the risk level in the current human-machine integration scenario. Then, corresponding warnings and robot responses are made according to different risk levels to effectively avoid the occurrence of danger.

[0100] The above process occurs in an experimental scenario. When applied to an actual human-machine collaborative scenario involving an industrial robot and an operator, the position information and joint information of the robot can be obtained through the robot's own position sensors, acceleration sensors and other instruments. The operator wears work clothes embedded with sensors and uses motion capture technology to obtain the position, speed, acceleration and other information of each joint, or obtains the position, speed, acceleration and other information of each joint through on-site image information (monitoring images obtained using a camera) and existing image recognition technology. The motion recognition model constructed in conjunction with the above embodiment can be used to obtain the state of the operator in walking, observing or working, thereby achieving risk warning.

[0101] By combining human motion recognition and the minimum distance between humans and machines, the collaborative robot's perception of human intentions can be improved, thereby enhancing human safety when humans and machines share a workspace, and avoiding harm to humans caused by robots during human-machine collaboration due to the execution of preset programs and lack of perception capabilities.

[0102] Embodiment 2:

[0103] This embodiment provides a system for implementing the above method, including:

[0104] The motion recognition module is configured as follows: when the operator and the robot are in the same workspace, based on the established motion recognition model, the operator's current motion state is recognized as walking, observing or working by using the acquired operator motion information;

[0105] The distance calculation module is configured to: obtain the distance between the operator and the robot using the acquired position information of the operator and the robot;

[0106] The risk level determination module is configured to generate risk warning instructions under different action states according to the current action state of the operator and the obtained minimum distance.

[0107] The above-mentioned system recognizes human movements and postures during the human-machine collaboration process based on the constructed model. The robot identifies different levels of risks according to different human movements and different human-machine distances and controls the robot to execute safety instructions corresponding to the risks. By combining human motion recognition and the minimum human-machine distance, the collaborative robot's perception of human intentions can be improved, thereby improving human safety when humans and machines share the workspace, and avoiding harm to humans caused by robots due to the execution of preset programs and lack of perception capabilities during the human-machine collaboration process.

[0108] Embodiment 3

[0109] This embodiment provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the steps of the human-machine integration risk warning method based on motion recognition and human-machine distance proposed in the above-mentioned embodiment 1 are implemented.

[0110] In the human-machine collaboration risk warning method based on motion recognition and human-machine distance executed by the computer program in this embodiment, the human motion posture in the human-machine collaboration process is identified according to the constructed model. The robot identifies different levels of risks according to different human motions and different human-machine distances and controls the robot to execute safety instructions corresponding to the risks. By combining human motion recognition and the minimum human-machine distance, the collaborative robot's perception level of human intentions can be improved, thereby improving human safety when humans and machines share the workspace, and avoiding harm to humans caused by robots in the human-machine collaboration process due to the execution of preset programs and lack of perception ability.

[0111] Embodiment 4

[0112] This embodiment provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps of the human-machine integration risk warning method based on motion recognition and human-machine distance proposed in the first embodiment are implemented.

[0113] In the human-machine collaboration risk warning method based on motion recognition and human-machine distance executed by the processor of this embodiment, the human's motion posture in the human-machine collaboration process is identified according to the constructed model. The robot identifies different levels of risks according to different human movements and different human-machine distances and controls the robot to execute safety instructions corresponding to the risks. By combining human motion recognition and the minimum human-machine distance, the collaborative robot's perception level of human intentions can be improved, thereby improving human safety when humans and machines share the workspace, and avoiding harm to humans caused by robots in the process of human-machine collaboration due to the execution of preset programs and lack of perception ability.

[0114] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.

[0115] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0116] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0117] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0118] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only storage memory, or a random access memory, etc.

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

Claims

1. A human-machine integration risk warning method based on motion recognition and human-machine distance, characterized by: The following steps are involved: Based on the constructed action recognition model, the current action state of the operator is identified as walking, observing or working by using the acquired action information of the operator; wherein the construction process of the action recognition model includes the following steps: By using motion capture equipment, the skeleton information of the operator is obtained when the operator and the robot are working together in the same workspace; based on the skeleton information, motion features are extracted and feature vectors are constructed, wherein the motion features include joint point distance features, joint angle features and acceleration features, which are input into a convolutional neural network in the form of a feature matrix for feature extraction, learning and classification; the network model of the optimal training result is saved as a motion recognition model; The minimum distance between the operator and the robot is obtained by using the acquired position information of the operator and the robot; the method of obtaining the minimum distance between the operator and the robot by using the acquired position information of the operator and the robot includes: a spherical bounding box with an average value of the coordinates of each joint point of the human body and the robot arm as the sphere center and a maximum value of the distance from the sphere center to each joint point as the radius encloses the human body and the robot arm respectively, and the difference between the distance between the two sphere centers of the human body and the robot arm and the sum of the radii of the two sphere centers is the minimum distance of level A between the operator and the robot; if the minimum distance of level A is not less than the preset first safety distance threshold, this distance is used as the actual minimum distance, and the distance calculation of the next level is no longer performed; if the minimum distance of level A is less than the preset first safety distance threshold, the minimum distance of level B is used as the actual minimum distance between the human and the robot; The Class B minimum distance is: the human body and the robot arm are regarded as cylinders in space, the height of the cylinder is the distance between two adjacent joints in the human skeleton and the robot arm, the radius of the cylinder is a set value, and the difference between the minimum distance between the axis segments of the two cylinders and the sum of the radii of the two cylinders is the Class B minimum distance between the operator and the robot; According to the operator's current action state and the obtained minimum distance, risk warning instructions under different action states are generated.

2. The human-machine integration risk warning method based on motion recognition and human-machine distance as claimed in claim 1, characterized in that: The skeleton information includes three-dimensional spatial position information of fourteen joint points, including left and right shoulders, left and right elbows, left and right wrists, left and right hip joints, left and right knees, left and right ankles, an upper body reference point located at the neck, and a lower body reference point located at the waist, and acceleration information obtained by sensors on the left and right upper arms and left and right thighs.

3. The human-machine integration risk warning method based on motion recognition and human-machine distance as claimed in claim 1, characterized in that: According to the operator's current action state and the obtained minimum distance, risk warning instructions are generated under different action states, including: When the human body is walking, if the minimum distance between the human and the machine is less than the first safety distance threshold, the risk level is dangerous; when the minimum distance between the human and the machine is greater than the first safety distance threshold and not less than the second safety distance threshold, the risk level is warning; when the minimum distance between the human and the machine is greater than the second safety distance threshold, the risk level is safe; When the human action is observation, if the minimum distance between the human and the machine is less than the first safety distance threshold, the risk level is warning; when the minimum distance between the human and the machine is greater than the first safety distance threshold and not less than the second safety distance threshold, and the minimum distance between the human and the machine is greater than the second safety distance threshold, the risk level is safe; When the human body is working, if the minimum distance between the human and the machine is less than the first safety distance threshold, or greater than the first safety distance threshold and not less than the second safety distance threshold, the risk level is dangerous; when the minimum distance between the human and the machine is greater than the second safety distance threshold, the risk level is safe.

4. A human-machine integration risk warning system based on motion recognition and human-machine distance, characterized by: include: The action recognition module is configured to: based on the constructed action recognition model, use the acquired action information of the operator to identify the current action state of the operator as walking, observing or working; wherein the construction process of the action recognition model includes the following steps: By using motion capture equipment, the skeleton information of the operator is obtained when the operator and the robot are working together in the same workspace; based on the skeleton information, motion features are extracted and feature vectors are constructed, wherein the motion features include joint point distance features, joint angle features and acceleration features, which are input into a convolutional neural network in the form of a feature matrix for feature extraction, learning and classification; the network model of the optimal training result is saved as a motion recognition model; The distance calculation module is configured to: use the acquired position information of the operator and the robot to obtain the minimum distance between the operator and the robot; specifically, a spherical bounding box with an average value of the coordinates of each joint point of the human body and the robot arm as the sphere center and a maximum value of the distance from the sphere center to each joint point as the radius surrounds the human body and the robot arm respectively, and the difference between the distance between the two sphere centers of the human body and the robot arm and the sum of the radii of the two sphere centers is the Class A minimum distance between the operator and the robot; The human body and the robot arm are regarded as cylinders in space. The height of the cylinder is the distance between two adjacent joints in the human skeleton and the robot arm. The radius of the cylinder is the set value. The difference between the minimum distance between the axis segments of the two cylinders and the sum of the radii of the two cylinders is the Class B minimum distance between the operator and the robot. If the minimum distance of level A is not less than the preset first safety distance threshold, this distance is used as the actual minimum distance, and the distance calculation of the next level is no longer performed; if the minimum distance of level A is less than the preset first safety distance threshold, the minimum distance of level B is used as the actual minimum distance between the human and the machine; The risk level determination module is configured to generate risk warning instructions under different action states according to the current action state of the operator and the obtained minimum distance.

5. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps in the human-machine integration risk warning method based on motion recognition and human-machine distance as described in any one of claims 1-3 are implemented.

6. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps in the human-machine integration risk warning method based on motion recognition and human-machine distance as described in any one of claims 1-3 are implemented.