Digital twin-driven human-machine collaborative task planning method under unclear user intention
By constructing a task planner driven by a three-dimensional model and a graph neural network, the efficiency and applicability problems of human-machine collaboration task allocation in the existing technology are solved, real-time task planning and user intention recognition are realized, and the efficiency and applicability of human-machine collaboration are improved. applicability.
Patent Information
- Application Number
- CN202310613961.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-29
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2043-05-29
AI Technical Summary
Existing human-machine collaboration task allocation methods have problems such as worker fatigue, difficulty in setting reward functions, and difficulty in obtaining data sets, and cannot adjust the allocation plan in real time to suit human intentions.
By constructing three-dimensional models of robots, users, and products to be assembled, using depth cameras to obtain point cloud information, we can generate multi-source model human-machine collaboration equivalent digital twin scenarios, establish a virtual-real synthesis knowledge base for human-machine collaboration based on twin models, and build graph neural networks. A network-driven task planner that realizes real-time task planning when user intentions are unknown.
It improves the efficiency of task planning. It can automatically complete sub-task decomposition and assembly priority ordering based on product assembly images, identify user intentions and generate work sequences in real time. It has strong applicability and fits actual application scenarios.
Smart Images

Figure CN116500901B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of human-machine collaboration technology, and in particular to a human-machine collaboration task planning method driven by a digital twin when user intention is unclear. Background Art
[0002] With the development of manufacturing industry and the progress of science and technology, intelligent manufacturing has received more and more attention. The emergence of robots has greatly improved the efficiency of industrial production. However, robots have limited understanding ability and it is difficult to complete complex tasks. Compared with robots, human labor costs are higher and there is a problem of poor stability, but in some complex tasks, humans still have irreplaceable advantages. Therefore, an efficient human-machine collaboration method is a more ideal intelligent manufacturing solution.
[0003] Digital twin technology is a technology that combines the real physical world with the virtual information world. It realizes the mapping between twin space and physical space through geometric modeling and abstract physical properties. In human-machine collaboration, digital twins can be used for visualization of interactive behaviors, safety warnings, or provide a large amount of data sets for human-machine collaboration-related algorithms through simulation.
[0004] A key issue in human-machine collaboration is the task allocation method. Some existing task allocation methods for human-machine collaboration include optimization, reinforcement learning, and neural network methods. The optimization method is based on fixed rules and is prone to worker fatigue; the reinforcement learning method has difficulties in setting the reward function; and the neural network method has disadvantages such as difficulty in obtaining data sets.
[0005] CN110717381A discloses a method for understanding human intentions for human-machine collaboration, but does not involve a task allocation method in human-machine collaboration; CN115439101A discloses a method for allocating tasks in human-machine collaboration, but this method is based on fixed allocation rules and cannot adjust the allocation plan in real time according to human intentions. Summary of the invention
[0006] The purpose of the present invention is to provide a method for planning human-machine collaborative tasks under unknown user intentions driven by digital twins. By constructing three-dimensional models of robots, users, and products to be assembled, and using point cloud information obtained by depth cameras to match and fuse models, a multi-source model human-machine collaborative equivalent digital twin scene that is mapped in real time with the physical space is generated, and a human-machine collaborative virtual-reality synthesis knowledge base based on the twin model is constructed in the twin space. Based on the knowledge base, a human-machine collaborative task planner under unknown user intentions is constructed to realize human-machine collaborative task planning and improve planning efficiency.
[0007] The purpose of the present invention can be achieved by the following technical solutions:
[0008] A method for human-machine collaborative task planning driven by digital twins without user intention, comprising the following steps:
[0009] A twin scene is established based on the human-machine collaborative work platform of the physical space. Sensors periodically sample data to achieve real-time mapping between the twin space and the physical space.
[0010] In the twin space, the product assembly diagram is identified based on the scene dataset generator, the human-machine collaborative product assembly scenario is constructed, and a virtual dataset is generated;
[0011] A task planner based on graph neural network under unknown user intention is built in the twin space. It is trained by the virtual data set generated in the twin space and outputs the task planning sequence matrix according to the current product assembly scenario and product assembly diagram.
[0012] Execute human-machine collaborative tasks in physical space according to the task planning sequence matrix control.
[0013] The human-machine collaboration platform includes three entities: user, robot, and working environment, as well as a human-machine interaction interface for real-time guidance of user behavior, a controller for controlling the operation of the robot, and a state monitoring sensor, wherein the state monitoring sensor includes a depth camera and a robot built-in sensor.
[0014] The twin space includes three parts: a twin model, a preprocessing module and a decision module. The twin model includes twins of a digital human, a robot and a working environment corresponding to three entities in the real physical space. The twin is a digital object composed of a geometric model and physical properties. The preprocessing module includes a scene data set generator for generating a virtual data set. The decision module includes a task planner for task planning.
[0015] A work desk, a robot, and products to be assembled are arranged in the physical space. Three depth cameras are arranged in front, behind, and above the work desk, respectively. A display is arranged on the desk, and one of the depth cameras is placed in front of the user to detect the user's behavior status.
[0016] The implementation process of the real-time mapping of the twin space and the physical space is as follows: obtain the joint angle and angular velocity information through the robot's built-in sensors, create a virtual robot, and periodically update the virtual robot model according to the built-in sensor data; obtain the point cloud information of the user and product parts in the physical space through the depth camera, use the iterative closest point algorithm to perform point cloud registration, extract the contour information of the product parts, sample the shape curve of the three-dimensional model, retrieve similar curves in the model information library and match the part model; for the mapping of the digital human, the camera identifies the position information of a preset number of key joints of the human body, estimates the overall movement of the user within the constraint range, and fits the marker positions defined on the surface of the digital human to the positions of the key points captured by the camera, thereby realizing real-time mapping between the real user and the digital human.
[0017] The recognition of the product assembly drawing is implemented based on a graph convolutional neural network. The node features of the graph convolutional neural network are part number, assembly priority, and type, and the features of the directed edges are assembly priority and task category. The graph convolutional neural network performs superpixel segmentation on the image according to the contours of each part, and annotates the part information, attribute information, and task category of the subtask in the image. Each category of task corresponds to a task complexity. According to the product assembly drawing, the trained graph convolutional neural network is used to output the assembly task, assembly sequence, and task complexity of the subtask.
[0018] The task categories include part movement, part assembly, screwing, and thread insertion operations.
[0019] Subtasks are classified according to the task completeability and multi-level task complexity thresholds, and are divided into four categories: subtasks that can be completed independently by both users and robots, subtasks that can only be completed by robots, subtasks that can only be completed by users, and subtasks that are completed through human-machine collaboration. Among them, subtasks with the lowest complexity level are completed by robots, subtasks with medium complexity levels are completed by users, and subtasks with the highest complexity level are completed through human-machine collaboration.
[0020] The construction of the human-machine collaborative product assembly scenario is specifically as follows:
[0021] The positions of product parts on the work desk are randomly generated according to the product numbers. The robot controller and the human controller guide the digital human and the robot to perform assembly tasks, and a variety of subtask assembly scenarios are generated based on the multi-solution nature of inverse kinematics. Among them, in the subtasks that can be completed independently by both the user and the robot, it is set that the robot completes it, and the user behavior is used as a random variable. The user chooses to randomly complete a subtask, thereby generating a variety of subtask assembly scenarios with unclear user intentions. Considering the priorities between multiple subtask assembly scenarios, with the goal of minimizing the moving distance of product parts, the subtask assembly scenarios are connected in sequence to generate an assembly scenario.
[0022] The task planner without user intention performs the following human-machine collaborative task planning steps:
[0023] Step 1) Obtain product assembly scene;
[0024] Step 2) The product assembly scenario is represented by a graph G = {V, E}, where V is a set of nodes and E is a set of edges. The edges connect the nodes. Each node n i Each corresponds to a feature vector X with dimension m i , the edges correspond to different weights, and the set of adjacent nodes of node i is represented by N i , the m-dimensional initial feature vector X of each node i is converted to The target feature vector of The new feature vector X obtained by one of the transformations i ′ It is expressed as:
[0025]
[0026] Among them, Θ1 and Θ2 are weight matrices with size (m ′ ,m), all received feature vectors of neighbor j are multiplied by the edge weight e between the current node i and the sending node j jni , then sum each element, multiply the summed eigenvector by the weight matrix Θ2, and add the two transformed vectors to form the final updated eigenvector X i ′ ;The updated feature vector is sent through the activation function;
[0027] Each product part is represented by a node in the diagram. The characteristics of the object are determined by the initial position of the object.<x,y,z> , Target location<x’,y’,z’> and product assembly priority {0,1,2,3,4,...}. The part nodes are represented by directed edges. The features of directed edges represent the operations to be performed, task complexity, task completion, and current time. The graph convolutional neural network is constructed as follows:
[0028]
[0029] in, represents the output of the lth layer of the neural network, N(i) is the neighbor set of the node, represents the product of the square root of the node degree, σ is the activation function, b (l) is the bias parameter matrix of the lth layer of the neural network, W (l) represents the weight parameter matrix of the lth layer, Represents the input of the lth layer;
[0030] Step 3) Identify the user's intention and add it to the task planner:
[0031] According to the joint information of the digital human, obtain the motion skeleton sequence of the digital human in the twin space;
[0032] Add nodes and edges to the constructed graph neural network. Among them, the node feature is the position information of the joint, the undirected edge is the natural connection of the skeleton structure and time, the joint node is connected to each product node through an undirected edge, and the edge feature is the current time;
[0033] In the message passing process of the graph convolutional neural network, evaluate the relative relationship between the joint position and the product part position through message aggregation, obtain the relationship between the user action information and the product part, and judge whether the user is performing a specific operation. For the operation that should be completed by the user but has not been completed, the planner adjusts the allocation sequence and the robot executes the operation. If the robot cannot complete the action, the planner outputs a prompt message to prompt the user to perform the operation;
[0034] Step 4) Represent different tasks in human-robot collaboration with a triple <A, s0, g>, where A is the set of subtasks that need to be performed between the initial state and the target state of the part, s0 is the initial state of the part, g is the target state of the object, and the state transition process of the object is represented as s t+1 = f(s t , a t ), according to the state transition equation f, by executing the operation a t , the state of the part is changed from s t to s t+1 , and the solution of the task planner is an action sequence matrix; Product assembly has a pre-specified priority constraint. When one of the two nodes has a relatively higher priority and the task represented by the edge feature corresponding to this node has not been completed, execute the operation a t , otherwise do not execute the operation, and repeat the iteration process until all subtasks are completed.
[0035] Compared with the prior art, the present invention has the following beneficial effects:
[0036] (1) The present invention takes the product assembly image as the input of the human-robot collaboration planner, and only by providing the product assembly image, the decomposition of subtasks and the arrangement of assembly priorities in the task allocation process can be completed.
[0037] (2) The present invention establishes a twin digital human model and a robot model, designs and generates a large number of virtual assembly scenarios according to the product assembly drawing, and it is easy to establish a data set. Through a large number of data sets, the task planner can be better trained.
[0038] (3) The present invention integrates user intention recognition technology into the task planning process and designs a human-machine collaborative task planner that generates work sequences in real time when user intention is unclear, making the method more applicable and more suitable for actual application scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 It is a schematic diagram of the method flow of the present invention;
[0040] Figure 2 This is a schematic diagram of the principle of a human-machine collaborative task planner when the user's intention is unknown;
[0041] Figure 3 A schematic diagram of a sequence of human-machine collaborative task planning results in one embodiment. DETAILED DESCRIPTION
[0042] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. This embodiment is implemented based on the technical solution of the present invention, and provides a detailed implementation method and specific operation process, but the protection scope of the present invention is not limited to the following embodiments.
[0043] The present invention adopts a graph neural network method to perform task allocation between humans and robots. The graph neural network method can complete the assembly task planning between humans and robots by adjusting the strategies of the nodes and edges of the graph. In order to realize dynamic task allocation in human-machine collaboration, the robot needs to be able to understand the meaning of human actions. Therefore, a camera is set up in the environment to monitor user behavior and periodically transmit the behavior information to the planner. In the implementation process, a twin scene is first established. The scene mainly includes products to be assembled, digital humans and robots. Sensors periodically sample data to realize the real-time mapping of the twin scene with the physical space. After that, a human-machine collaborative product assembly scene is constructed in the twin scene, and a large number of virtual data sets are synthesized. Then, a task planner under unclear user intention based on a graph neural network is trained by a large number of data sets generated in the twin space, and a task planning sequence matrix is output according to the current product assembly scene and product assembly drawing.
[0044] Specifically, this embodiment provides a method for human-machine collaborative task planning under unknown user intention driven by a digital twin, such as Figure 1 As shown, the following steps are included:
[0045] S1: A twin scene is established based on the human-machine collaborative work platform in the physical space. Sensors periodically sample data to achieve real-time mapping between the twin space and the physical space.
[0046] The physical space consists of two parts: the human-machine collaboration platform and the state monitoring sensor. The human-machine collaboration platform includes three main parts: the user, the robot, and the working environment. In addition, it also includes a human-machine interaction interface that guides user behavior in real time and a controller that controls the robot's operation; the state monitoring sensor includes a depth camera and a robot's built-in sensor.
[0047] In the twin space, there are three parts: twin model, preprocessing module and decision module. Among them, the twin model includes the twins of digital human, robot and working environment corresponding to the three entities in the real physical space. The twin is a digital object composed of geometric model and physical properties; the preprocessing module includes a scene dataset generator for generating virtual datasets; the decision module includes a task planner for task planning.
[0048] This embodiment presupposes a human-machine collaborative product assembly scenario, where a work desk, a robot, and products to be assembled (such as an engine, a clutch, a motor, etc.) are set in a physical space, three depth cameras are set in front of, behind, and above the work desk, and a display is set on the desk. One of the depth cameras is placed in front of the user to detect the user's behavior status.
[0049] The three-dimensional model of assembly products and robots can be generated during the design process, and the three-dimensional model of their parts can be easily obtained. The depth camera can obtain the color RGB image of the object and the distance value from each point to the vertical plane where the depth camera is located, and further obtain the depth image, thereby obtaining the point cloud model of the object in the camera coordinate system. At the same time, a digital human modeling method is used to obtain the action generated by the digital human reaching a certain point by deriving the kinematics and inverse kinematics of the main joints of the human body. In this way, a large number of human-machine collaborative assembly scene diagrams are further obtained.
[0050] When building a scene in the twin space, first import the 3D models of the products and robots to be assembled in the simulation software (such as Unity 3D), and create a product parts database based on the models provided by the manufacturer. Add physical properties to the models of the assembled products and robots, such as the mass, surface texture, friction coefficient, rigid body properties, etc. of each component. Import the digital human model, which consists of a 48-degree-of-freedom connecting rod and a surface mesh that changes with the joint angle, including 15 joints. Then set the digital human's mass, height and other properties.
[0051] Secondly, design the digital robot controller and the digital human controller. Establishing a communication mechanism between the existing robot control software and simulation software can realize the control of the robot. According to the linkage information of the digital human, the transformation matrix is derived, and the kinematic model of the digital human is established. The inverse kinematics model and the dynamic model are further derived, and constraints are added to the motion of each joint of the human body. The joint torque of the human body trunk, shoulder torque, and each joint torque of the arm are calculated to realize the control of the digital human.
[0052] Secondly, create a twin space that maps to the physical space. Use the robot's built-in sensors to obtain joint angle and angular velocity information, create a virtual robot, and periodically update the virtual robot model based on the built-in sensor data; use the depth camera to obtain the point cloud information of the user and product parts in the physical space, use the iterative closest point algorithm to perform point cloud registration, extract the contour information of product parts, sample the shape curve of the three-dimensional model, retrieve similar curves in the model information library, and match the part model; for the mapping of the digital human, the camera identifies the position information of a preset number of key joints of the human body, estimates the overall movement of the user within the constraint range, and fits the marker positions defined on the surface of the digital human to the positions of the key points captured by the camera, realizing real-time mapping between the real user and the digital human.
[0053] S2: Identify product assembly drawings based on the scenario dataset generator in the twin space, build human-machine collaborative product assembly scenarios, and generate virtual datasets.
[0054] Product Assembly Figure 1 Generally, it is a structured image without background interference, which is easier to identify. The recognition of product assembly drawings is based on graph convolutional neural networks, where the node features of the graph convolutional neural network are part number, assembly priority, and type, and the features of the directed edges are assembly priority and task category. The graph convolutional neural network performs superpixel segmentation on the image according to the contours of each part, annotates the part information, attribute information, and task category of the subtask in the image (such as part movement, part assembly, screwing, embedding operation, etc.), and each category of task corresponds to a task complexity; according to the product assembly drawing, the trained graph convolutional neural network is used to output the assembly task, assembly sequence, and task complexity of the subtask.
[0055] Subtasks are classified according to the task completeability and multi-level task complexity thresholds, and are divided into four categories: subtasks that can be completed independently by both users and robots, subtasks that can only be completed by robots, subtasks that can only be completed by users, and subtasks that are completed through human-machine collaboration. Among them, subtasks with the lowest complexity level are completed by robots, subtasks with medium complexity levels are completed by users, and subtasks with the highest complexity level are completed through human-machine collaboration.
[0056] Construct a large number of human-machine collaborative product assembly scenarios, specifically:
[0057] The position of product parts on the work desk is randomly generated according to the product number; the robot controller and the human controller guide the digital human and the robot to perform assembly tasks. Due to the multi-solution of inverse kinematics, multiple subtask assembly scenarios can be generated; among them, in the subtasks that can be completed independently by the user and the robot, it is set to be completed by the robot, and the user behavior is taken as a random variable. The user chooses to randomly complete a subtask, thereby generating multiple subtask assembly scenarios with unclear user intentions; considering the priority between multiple subtask assembly scenarios, with the goal of minimizing the moving distance of product parts, the subtask assembly scenarios are connected in sequence to generate a large number of assembly scenarios. At the same time, since the assembly scenario is generated based on the product assembly drawing, it contains information such as product location, assembly priority, and task complexity, so the data set does not need to be manually labeled.
[0058] S3: Build a task planner based on graph neural network in the twin space under unknown user intention, train it with the virtual data set generated in the twin space, and output the task planning sequence matrix according to the current product assembly scenario and product assembly diagram.
[0059] The task planner in the decision module is the focus of the present invention, and the user intention understanding part is added to this module. The initial scene image and the product assembly diagram are input, and the task planner generates a set of action sequences based on time order, and divides the action sequences into three groups: human, robot, and human-machine collaboration. The results are then displayed on a display in the physical space, and the user can see the current operation that should be performed through the display. The depth camera placed directly in front of the user monitors the user's behavior in real time. The planner periodically plans new action sequences based on the user's actions and updates the results to the display.
[0060] Specifically, the task planner without user intent performs the following steps in human-machine collaborative task planning:
[0061] Step 1) Obtain the product assembly scenario.
[0062] In the previous steps, the method of generating a twin space that is mapped in real time with the real assembly space has been introduced. In the twin space, information such as the current product location and product assembly priority can be obtained.
[0063] Step 2) The product assembly scenario is represented by a graph G = {V, E}, where V is a set of nodes and E is a set of edges that connect the nodes. i Each corresponds to a feature vector X with dimension m i The edges correspond to different weights, which can be understood as the cost of operations between different nodes. The set of adjacent nodes of node i is represented by Ni , the m-dimensional initial feature vector X of each node i is converted to The target feature vector of The new feature vector X obtained by transforming node i once i ′ It can be expressed as:
[0064]
[0065] Among them, Θ1 and Θ2 are weight matrices with size (m ′ ,m), all received feature vectors of neighbor j are multiplied by the edge weight e between the current node i and the sending node j jni , then sum each element, multiply the summed eigenvector by the weight matrix Θ2, and add the two transformed vectors to form the final updated eigenvector X i ′ The updated feature vector is sent through the activation function.
[0066] Each product part is represented by a node in the diagram. The characteristics of the object are determined by the initial position of the object.<x,y,z> , Target location<x’,y’,z’> and product assembly priority {0,1,2,3,4,...}. The part nodes are represented by directed edges. The features of directed edges represent the operations to be performed, task complexity, task completion, and current time. The graph convolutional neural network is constructed as follows:
[0067]
[0068] in, represents the output of the lth layer of the neural network, N(i) is the neighbor set of the node, represents the product of the square root of the node degree, σ is the activation function, b (l) is the bias parameter matrix of the lth layer of the neural network, W (l) represents the weight parameter matrix of the lth layer, Represents the input of the lth layer.
[0069] Step 3) Identify user intent and incorporate it into the task planner.
[0070] Step 3-1) According to the joint information of the digital human, the skeleton of the digital human in the twin space is composed of 15 joint parts, and the motion skeleton sequence of the digital human in the twin space can be obtained.
[0071] Step 3-2) Add nodes and edges to the constructed graph neural network, where the node feature is the location information of the joint, the undirected edge is the natural connection between the skeleton structure and time, the joint node is connected to each product node through an undirected edge, and the edge feature is the current time.
[0072] Step 3-3) In the process of graph convolutional neural network message transmission, the relative relationship between the joint position and the product part position is evaluated through message aggregation, and the relationship between the user action information and the product parts is further obtained to determine whether the user is performing a specific operation. For the operation that should be completed by the user but is not completed, the planner adjusts the allocation sequence and the robot performs the operation. If the robot cannot complete the action, the planner outputs a prompt message to prompt the user to perform the operation. In this embodiment, the graph neural network uses 4 GraphConv layers as convolutional layers, and each layer is followed by a ReLU. The network uses cross entropy loss as the loss function, and then it is classified by a standard SoftMax classifier.
[0073] Step 4) Use a triple <A, s0, g> to represent different tasks in human-machine collaboration, where A is the set of subtasks that need to be performed between the initial state and the target state of the part, s0 is the initial state of the part, and g is the target state of the object. The state transition process of the object can be expressed as s t+1 =f(s t ,a t ), according to the state transition equation f, by executing operation a t , the state of the part is given by s t Convert to s t+1 The solution of the task planner is an action sequence matrix. Product assembly has a pre-defined priority constraint. When a product is assembled first, its priority is high, and when it is assembled later, its priority is low. When one of the two nodes has a relatively high priority and the task represented by the edge feature corresponding to the node has not been completed, perform operation a. t , otherwise no operation is performed and the iterative process is repeated until all subtasks are completed.
[0074] S4: Execute human-machine collaborative tasks in physical space according to the task planning sequence matrix control.
[0075] The preferred specific embodiments of the present invention are described in detail above. It should be understood that a person skilled in the art can make many modifications and changes based on the concept of the present invention without creative work. Therefore, any technical solution that can be obtained by a person skilled in the art through logical analysis, reasoning, or limited experiments based on the concept of the present invention on the basis of the prior art should be within the scope of protection determined by the claims.
Claims
1. A method for human-machine collaborative task planning driven by digital twins without user intention, characterized in that: The following steps are involved: A twin scene is established based on the human-machine collaborative work platform of the physical space. Sensors periodically sample data to achieve real-time mapping between the twin space and the physical space. In the twin space, the product assembly diagram is identified based on the scene dataset generator, the human-machine collaborative product assembly scenario is constructed, and a virtual dataset is generated; A task planner based on graph neural network under unknown user intention is built in the twin space. It is trained by the virtual data set generated in the twin space and outputs the task planning sequence matrix according to the current product assembly scenario and product assembly diagram. Execute human-machine collaborative tasks in physical space according to task planning sequence matrix control; The task planner without user intention performs the following human-machine collaborative task planning steps: Step 1) Obtain product assembly scene; Step 2) The product assembly scenario is represented by a graph G = {V, E}, where V is a set of nodes and E is a set of edges. The edges connect the nodes. Each node n i Each corresponds to a feature vector X with dimension m i , the edges correspond to different weights, and the set of adjacent nodes of node i is represented by N i , the m-dimensional initial feature vector X of each node i is converted to The target feature vector of The new feature vector X′ obtained by one of the transformations i It is expressed as: Among them, Θ1 and Θ2 are weight matrices with size (m′, m), and all received feature vectors of neighbor j are multiplied by the edge weight e between the current node i and the sending node j j,i , then sum each element, multiply the summed eigenvector by the weight matrix Θ2, and add the two transformed vectors to form the final updated eigenvector X′ i ;The updated feature vector is sent through the activation function; Each product part is represented by a node in the diagram. The characteristics of the object are determined by the initial position of the object.<x,y,z> , Target location<x’,y’,z’> and product assembly priority {0, 1, 2, 3, 4, ...}. The part nodes are represented by directed edges. The features of the directed edges represent the operations to be performed, task complexity, task completion, and current time. The graph convolutional neural network is constructed as follows: in, represents the output of the lth layer of the neural network, N(i) is the neighbor set of the node, represents the product of the square root of the node degree, σ is the activation function, b (l) is the bias parameter matrix of the lth layer of the neural network, W (l) represents the weight parameter matrix of the lth layer, Represents the input of the lth layer; Step 3) Identify user intent and add it to the task planner: According to the joint information of the digital human, the motion skeleton sequence of the digital human in the twin space is obtained; Add nodes and edges to the constructed graph neural network, where the node feature is the location information of the joint, the undirected edge is the natural connection between the skeleton structure and time, the joint node is connected to each product node through an undirected edge, and the edge feature is the current time; In the process of graph convolutional neural network message transmission, the relative relationship between the joint position and the product part position is evaluated through message aggregation, and the relationship between the user action information and the product parts is obtained to determine whether the user is performing a specific operation. For the operation that should be completed by the user but has not been completed, the planner adjusts the allocation sequence and the robot performs the operation. If the robot cannot complete the action, the planner outputs a prompt message to prompt the user to perform the operation. Step 4) Use a triple<A,s0,g> represents different tasks in human-machine collaboration, where A is the set of subtasks that need to be performed between the initial state and the target state of the part, s0 is the initial state of the part, g is the target state of the object, and the state transition process of the object is represented by s t+1 =f(s t , a t ), according to the state transition equation f, by executing operation a t , the state of the part is given by s t Convert to s t+1 , the solution of the task planner is an action sequence matrix; product assembly has a pre-specified priority constraint. When one of the two nodes has a relatively high priority and the task represented by the edge feature corresponding to the node has not been completed, operation a is executed. t , otherwise no operation is performed and the iterative process is repeated until all subtasks are completed.
2. According to claim 1, a method for human-machine collaborative task planning driven by digital twins without user intention is characterized in that: The human-machine collaboration platform includes three entities: user, robot, and working environment, as well as a human-machine interaction interface for real-time guidance of user behavior, a controller for controlling the operation of the robot, and a state monitoring sensor, wherein the state monitoring sensor includes a depth camera and a robot built-in sensor.
3. According to claim 2, a method for human-machine collaborative task planning driven by digital twins without user intention is characterized in that: The twin space includes three parts: a twin model, a preprocessing module and a decision module. The twin model includes twins of a digital human, a robot and a working environment corresponding to three entities in the real physical space. The twin is a digital object composed of a geometric model and physical properties. The preprocessing module includes a scene data set generator for generating a virtual data set. The decision module includes a task planner for task planning.
4. According to claim 1, a method for human-machine collaborative task planning driven by a digital twin without user intention is characterized in that: A work desk, a robot, and products to be assembled are arranged in the physical space. Three depth cameras are arranged in front, behind, and above the work desk, respectively. A display is arranged on the desk, and one of the depth cameras is placed in front of the user to detect the user's behavior status.
5. According to claim 2, a method for human-machine collaborative task planning driven by digital twins without user intention is characterized in that: The implementation process of the real-time mapping of the twin space and the physical space is as follows: obtain the joint angle and angular velocity information through the robot's built-in sensors, create a virtual robot, and periodically update the virtual robot model according to the built-in sensor data; obtain the point cloud information of the user and product parts in the physical space through the depth camera, use the iterative closest point algorithm to perform point cloud registration, extract the contour information of the product parts, sample the shape curve of the three-dimensional model, retrieve similar curves in the model information library and match the part model; for the mapping of the digital human, the camera identifies the position information of a preset number of key joints of the human body, estimates the overall movement of the user within the constraint range, and fits the marker positions defined on the surface of the digital human to the positions of the key points captured by the camera, thereby realizing real-time mapping between the real user and the digital human.
6. According to claim 1, a method for human-machine collaborative task planning driven by a digital twin without user intention is characterized in that: The recognition of the product assembly drawing is implemented based on a graph convolutional neural network. The node features of the graph convolutional neural network are part number, assembly priority, and type, and the features of the directed edges are assembly priority and task category. The graph convolutional neural network performs superpixel segmentation on the image according to the contours of each part, and annotates the part information, attribute information, and task category of the subtask in the image. Each category of task corresponds to a task complexity. According to the product assembly drawing, the trained graph convolutional neural network is used to output the assembly task, assembly sequence, and task complexity of the subtask.
7. According to claim 6, a method for human-machine collaborative task planning driven by digital twins without user intention is characterized in that: The task categories include part movement, part assembly, screwing, and thread insertion operations.
8. According to claim 6, a method for human-machine collaborative task planning driven by digital twins without user intention is characterized in that: Subtasks are classified according to the task completeability and multi-level task complexity thresholds, and are divided into four categories: subtasks that can be completed independently by both users and robots, subtasks that can only be completed by robots, subtasks that can only be completed by users, and subtasks that are completed through human-machine collaboration. Among them, subtasks with the lowest complexity level are completed by robots, subtasks with medium complexity levels are completed by users, and subtasks with the highest complexity level are completed through human-machine collaboration.
9. A method for human-machine collaborative task planning driven by digital twins without user intentions according to claim 8, characterized in that: The construction of the human-machine collaborative product assembly scenario is specifically as follows: The positions of product parts on the work desk are randomly generated according to the product numbers. The robot controller and the human controller guide the digital human and the robot to perform assembly tasks, and a variety of subtask assembly scenarios are generated based on the multi-solution nature of inverse kinematics. Among them, in the subtasks that can be completed independently by both the user and the robot, it is set that the robot completes it, and the user behavior is used as a random variable. The user chooses to randomly complete a subtask, thereby generating a variety of subtask assembly scenarios with unclear user intentions. Considering the priorities between multiple subtask assembly scenarios, with the goal of minimizing the moving distance of product parts, the subtask assembly scenarios are connected in sequence to generate an assembly scenario.
