Server component assembling method and device, assembling robot and storage medium
By converting the assembly task and scene information of the target server into a semantic map and generating a behavior tree to control the robotic arm, the problem of robotic arms in the prior art is difficult to adapt to complex and variable assembly tasks, and a more efficient and accurate assembly process is achieved.
Patent Information
- Application Number
- CN202510527979.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-25
- Publication Date
- 2025-05-27
- Estimated Expiration
- 2045-04-25
AI Technical Summary
In the prior art, the robotic arm control strategy is based on preset trajectory planning, and it is difficult to adapt to complex and changeable assembly tasks and emergencies, resulting in low assembly efficiency and accuracy and high failure probability.
By obtaining the assembly task and scene information of the target server, it is converted into a semantic map, constructing a prompt word, and inputting it into the action decision model to generate a behavior tree, and controlling the robotic arm to perform the assembly action.
It realizes flexible control and dynamic adjustment of robotic arms in server component assembly tasks, improves the ability to adapt to complex tasks and emergencies, and improves assembly efficiency and accuracy.
Smart Images

Figure CN120038765A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of manipulators, and particularly to an assembly method, device, assembly robot and storage medium for server components. Background Art
[0002] As an important link in server production, the assembly of server components directly affects the overall performance and production cost of the server. In related technologies, automated assembly technology can solve the problems of low work efficiency and large errors in manual assembly and can be used for large-scale production. As the core device of automated assembly technology, the control strategy of the robotic arm is directly related to the assembly efficiency and accuracy. However, in related technologies, most of the robotic arm control strategies are based on preset trajectory planning, and their adaptability is poor for complex and changeable assembly tasks. When facing emergencies, it is difficult to make flexible responses, resulting in a relatively high probability of failures during the assembly process, which urgently needs to be improved. Summary of the Invention
[0003] The present invention provides an assembly method, device, assembly robot and storage medium for server components, so as to at least solve the problem that in related technologies, the assembly actions based on preset trajectory planning are difficult to be applied to complex and changeable assembly tasks and are difficult to cope with emergencies, thereby affecting the assembly effect.
[0004] The present invention provides an assembly method for server components, which is applied to an assembly robot. The method includes: obtaining an assembly task of a target server, and collecting corresponding target scene information based on the assembly task; converting the target scene information into a semantic map, so as to construct at least one prompt word based on the assembly task and the semantic map; inputting the at least one prompt word into a pre-constructed action decision model to output a behavior tree of the assembly robot, and controlling the assembly robot to execute corresponding assembly actions based on the behavior tree until the assembly task is completed.
[0005] The present invention also provides an assembly device for server components, which is applied to an assembly robot. The device includes: a first acquisition module, configured to obtain an assembly task of a target server and collect corresponding target scene information based on the assembly task; a construction module, configured to convert the target scene information into a semantic map, so as to construct at least one prompt word based on the assembly task and the semantic map; an assembly module, configured to input the at least one prompt word into a pre-constructed action decision model to output a behavior tree of the assembly robot, and control the assembly robot to execute corresponding assembly actions based on the behavior tree until the assembly task is completed.
[0006] The present invention also provides an assembly server, including: a memory, configured to store a computer program; a processor, configured to implement the steps of any one of the above-mentioned assembly methods for server components when executing the computer program.
[0007] The present invention also provides a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the steps of any one of the above-mentioned server component assembly methods are implemented.
[0008] The present invention also provides a computer program product including a computer program, and when the computer program is executed by a processor, the steps of any one of the above-mentioned server component assembly methods are implemented.
[0009] Through the present invention, by converting the target scenario involved in the assembly task into a semantic map to construct a prompt word for action decision-making, and inputting the prompt word into the action decision-making model, the language understanding and reasoning capabilities of the action decision-making model are utilized to output a behavior tree of the assembly robot applicable to the assembly task. Based on the modular and efficient control characteristics of the behavior tree, flexible control and dynamic adjustment of the robotic arm of the assembly robot in the server component assembly task are achieved. Therefore, the technical problem in the related art that the assembly actions based on the preset trajectory planning are difficult to be applied to complex and changeable assembly tasks and difficult to cope with emergencies, thereby affecting the assembly effect, can be solved, and the determination of the assembly action according to the actual scenario image can be achieved, so as to realize the adaptive action trajectory decision-making under complex tasks, and achieve a higher flexibility technical effect on the premise of ensuring the assembly efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] To more clearly illustrate the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention, and those of ordinary skill in the art can obtain other drawings without creative efforts based on these drawings.
[0011] Figure 1 Schematic diagram of the principle of the server component assembly method provided by an embodiment of the present invention; Figure 2 Flowchart of a server component assembly method provided by an embodiment of the present invention; Figure 3 Flowchart of a server component assembly method provided by an embodiment of the present invention; Figure 4 Schematic diagram of the structure of a server component assembly device provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0012] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the protection scope of the present invention.
[0013] It should be noted that in the description of the present invention, the terms "include", "comprise" or any other variant thereof are intended to cover a non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. The terms "first", "second", etc. in the present invention are used to distinguish similar objects and are not used to describe a specific order or sequence.
[0014] In order to enable those skilled in the art of this technology to better understand the solution of the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0015] In combination with the specific application environment architecture or specific hardware architecture on which the execution of the assembly method of the server component depends, the specific application environment architecture or specific hardware architecture will be described herein.
[0016] Taking the large language model as the basic model of the action decision model as an example, the architecture on which the assembly method of the server component in the embodiment of the present invention depends can be as Figure 1 shown.
[0017] As Figure 1 shown, the architecture on which the embodiment of the present invention depends can use the target scene information collected visually, the task description of the assembly task, and the state of the robotic arm of the assembly robot as data for the large language model to output the behavior tree of the assembly robot, that is, convert the scene information into a semantic map through the visual module, and combine the user instructions as the input of the action decision model to generate a behavior plan in a specific format and convert it into an accurate behavior tree, so as to control the assembly robot to execute corresponding assembly actions based on the behavior tree to complete the assembly task.
[0018] During the assembly process, if unexpected situations occur, such as the overlapping of components used for assembly, making it difficult for the assembly robot to accurately grasp, or the components slipping during assembly, etc., at this time, the embodiments of the present invention can accurately detect and identify the unexpected situations, so as to adjust the behavior tree according to the unexpected situations. That is, the assembly robot executes tasks and actions according to the generated behavior tree. At this time, the scene information changes, and the subtree of the behavior tree is dynamically updated using the changed environmental information. In order to cope with environmental changes and operation errors, a change detection algorithm is introduced to update the behavior tree generated by the large model in real time, ensuring that the assembly robot can continuously execute tasks correctly. This strategy improves the flexibility and adaptability of the robotic arm in complex assembly tasks.
[0019] Furthermore, an embodiment of the present invention provides an assembly method for server components. In combination with the execution process of the assembly method for server components, the method will be described in detail.
[0020] As Figure 2 shown, the embodiments of the present invention may include the following steps: In step S201, obtain the assembly task of the target server, and collect the corresponding target scene information based on the assembly task.
[0021] It can be understood that the embodiments of the present invention are applied to an assembly robot, and its purpose is to assemble server components. For this reason, the embodiments of the present invention can first obtain the target server that needs to be assembled and obtain the corresponding assembly task. Among them, the assembly task can be the assembly task of the entire target server or the assembly task of a certain component of the target server. Depending on the different assembly tasks, the target scene information collected by the embodiments of the present invention and the subsequent constructed behavior tree are different.
[0022] Furthermore, if the assembly task is the assembly task of a certain component, collect the target scene information including the component and the target server to facilitate the assembly robot to accurately obtain the position and state of the component; if the assembly task is the assembly task of the target server, collect the scene information including all components and the target server.
[0023] Optionally, in an embodiment of the present invention, after obtaining the assembly task of the target server, it further includes: obtaining the current state data and parameter information of the assembly robot; judging whether the assembly robot meets the preset reset condition based on the current state data and parameter information; if it meets the preset reset condition, reset the assembly robot to use the reset assembly robot to execute the assembly task.
[0024] As a possible implementation manner, embodiments of the present invention may obtain the current state data and parameter information of the assembly robot. Among them, the current state data may be inferred by obtaining the actual operation data of the assembly robot, and the parameter information may be determined according to the current set parameters of the assembly robot.
[0025] Combining the current state data and parameter information, embodiments of the present invention may infer whether there is an ongoing assembly task for the assembly robot, or whether the reset has been completed after the last assembly task is executed, so as to avoid the action chaos caused by the failure to reset in advance when the assembly robot executes the assembly task, affecting the actual assembly action.
[0026] For example, embodiments of the present invention may determine that the assembly robot meets the reset condition and then complete the reset of the assembly robot when the current state data is the action execution state and / or the parameter information is not the initial set parameter.
[0027] Optionally, in an embodiment of the present invention, corresponding target scene information is collected based on the assembly task, including: parsing the assembly task to determine the task object, operation action, and task target of the assembly task; collecting the target scene information including the task object to obtain the assembly environment of the assembly robot and the object information and state information of the task object in the assembly environment.
[0028] In some embodiments, the assembly task may be parsed so that in the subsequent process, the content and scene information involved in the assembly task are converted together into a semantic map.
[0029] Among them, by parsing the assembly task, the task object (such as the target server or assembly components: CPU, motherboard, etc.), operation action (such as the actions required to assemble the server: pick up, put down, install, plug in, etc.), and task target (such as ensuring that the connector is correctly plugged in) can be determined.
[0030] For example, the assembly task is "Install the CPU on the motherboard and ensure that all connectors are correctly plugged in." At this time, after parsing, embodiments of the present invention may obtain the task objects as the CPU and the motherboard, the operation actions may be pick up, install, and plug in, and the task target may be to correctly install the CPU on the motherboard.
[0031] According to the task target, embodiments of the present invention may obtain the target scene information including the task target, so as to ensure that the state, pose, and other data of the task object can be accurately obtained, so that the assembly robot can accurately assemble the task object.
[0032] In step S202, the target scene information is converted into a semantic map to construct at least one prompt word based on the assembly task and the semantic map.
[0033] It is understandable that a semantic map is a map containing semantic information rather than a separate map. It can use any type of map, such as a geometric map, a vector map, a road network map, or a point cloud map, as a carrier to project semantic information into it. Semantic maps can help robots work according to rules, plan and execute high-level tasks, and communicate with humans at the conceptual level. In addition, semantic maps can also provide richer navigation information to help robots reach their destinations more quickly and safely.
[0034] Converting scene information into a semantic map provides a basis for constructing an initial behavior tree, updating, and expanding the behavior tree for an action decision-making model. Specifically, 3D vision detection technology can be used to process the point cloud data captured by a depth camera to identify and label objects. The recognition results are saved in an XML file that details information such as the object's category, three-dimensional coordinates, color, volume, and shape.
[0035] Combined with the parsing of the assembly task, the embodiments of the present invention obtain target scene information containing task objects. Combining scene semantic perception technology, the embodiments of the present invention can obtain object information and states in the assembly environment of the target server. For example, through a 3D sensor and a visual recognition system, information such as the position of the motherboard, the model of the CPU, and the state of the connector can be obtained, which is then used to construct the behavior navigation of the assembly robot.
[0036] For example, taking the assembly of a CPU onto the motherboard of a target server as an example, the embodiments of the present invention can use sensors such as an RGB-D camera and a lidar to obtain 3D point clouds, object poses, textures, etc. of the scene, and synchronously record the real-time pose data of the robotic arm / tools to obtain multi-modal data. Detect and capture entities such as the target component (i.e., the CPU) and the assembly reference plane (the target socket of the motherboard), and label the attributes (dimensions, materials, assembly directions, etc.) to extract key semantic elements. Then, perform spatial-semantic relationship modeling to achieve hierarchical map construction: at the geometric layer, construct a 3D grid map of the scene and label functional areas such as the assembly table and the material area; at the object layer, map the detected components to nodes in the map and store information such as poses and states (assembled / to be assembled); at the relationship layer, establish topological relationships (such as a certain plug of the CPU to be inserted into a certain socket of the motherboard) and temporal constraints between nodes.
[0037] That is to say, the embodiments of the present invention parse the assembly task and align it with the visual detection results. That is, by combining the assembly task and the target scene information, a corresponding semantic map can be generated, and at least one prompt word can be constructed based on the assembly task and the semantic map.
[0038] Optionally, in an embodiment of the present invention, at least one prompt word is constructed based on the assembly task and the semantic map, including: constructing a current available object list based on the object information and status information of the task object; constructing a set of action primitives based on the operation actions; combining the current available object list, the set of action primitives, the task goal, and a preset example task to generate at least one prompt word.
[0039] Embodiments of the present invention can determine the current available object list according to the object information and status information. For example, if the current assembly task is to assemble a target server, embodiments of the present invention can obtain all the components involved and the tools required for assembling the components, and then construct the current available object list to determine which need to be installed and which need to be used, so as to avoid accidentally mixing in unnecessary components and affecting the assembly effect.
[0040] Further, embodiments of the present invention can construct a corresponding set of action primitives according to the operation actions parsed previously, where the actions can be extracted from an action primitive library.
[0041] The action primitive library is a set that defines the basic actions that a robot can perform. These actions are directly mapped to the physical operation capabilities of the robot and provide the action framework required for the action decision model to complete the task. For example, in the installation of server components, the action primitive library can include actions such as picking up, putting down, pressing, rotating, and moving.
[0042] Filter based on the operation actions in the action primitive library to construct a set of action primitives required to complete the assembly task.
[0043] Combining the current available object list, the set of action sources, the task goal, and the example task, embodiments of the present invention can construct prompt words for the user to form an assembly robot behavior tree.
[0044] Among them, the example task can show how to combine action primitives, object lists, and external components to execute a specific task. This part is defined by technicians according to the task requirements, aiming to show the conversion process from task description to action execution, which shows the conversion process from task description to action execution. The task description provides the detailed information and expected results of the task to be executed, clarifies the specific execution goal of the behavior tree generation algorithm, and can be obtained by parsing the assembly task.
[0045] Optionally, in an embodiment of the present invention, constructing a set of action primitives based on the operation actions includes: extracting multiple action nodes from a preset action primitive library based on the operation actions; sorting the multiple action nodes and inserting corresponding condition nodes between any two action nodes to execute the next action node when the condition nodes are satisfied; combining the multiple action nodes and the condition nodes to construct a set of action primitives.
[0046] In the actual execution process, embodiments of the present invention can insert conditional nodes between action nodes to ensure the accuracy of assembly actions. The corresponding action nodes are only executed when the conditional nodes are satisfied. For example, for the task of "installing the CPU on the motherboard and ensuring that all connectors are correctly plugged in", the corresponding process is as follows: Step 1. Check whether the position of the motherboard is correct; Step 2. Grab the CPU; Step 3. Place the CPU into the CPU socket on the motherboard; Step 4. Check whether the CPU is correctly installed; Step 5. Plug in the connectors.
[0047] Among them, "Check whether the position of the motherboard is correct" and "Check whether the CPU is correctly installed" are conditional nodes. Only when these nodes are executed correctly, the action nodes of "Grab the CPU, Place the CPU into the CPU socket on the motherboard, Plug in the connectors" are executed.
[0048] Combining action nodes and conditional nodes, embodiments of the present invention can construct a set of action primitives, so that the assembly robot can verify actions during the assembly process and ensure the assembly effect.
[0049] Optionally, in an embodiment of the present invention, after constructing the set of action primitives, it further includes: extracting all conditional nodes from the set of action primitives; obtaining the previous action node before any conditional node and the next action node after any conditional node, and determining whether a preset logical conflict condition is satisfied between any conditional node and the previous action node and the next action node; if the preset logical conflict condition is satisfied, an action conflict reminder is generated.
[0050] In the actual execution process, embodiments of the present invention can determine whether there is a logical conflict between the action nodes before and after the conditional node and the conditional node. For example, if the previous action node is to grab the CPU, the conditional node is to judge whether the CPU has been installed, and the next action node is to install the CPU, then there is obviously a logical conflict. At this time, embodiments of the present invention can generate an action conflict reminder to detect action errors, so as to ensure the assembly effect and prevent defective products from the failed assembly from flowing into the next process.
[0051] In step S203, at least one prompt word is input into a pre-constructed action decision model to output a behavior tree of the assembly robot, and the assembly robot is controlled to perform corresponding assembly actions based on the behavior tree until the assembly task is completed.
[0052] Furthermore, embodiments of the present invention can output a corresponding behavior tree through prompt words and an action decision model (such as a large language model) to control the assembly robot to complete the assembly action.
[0053] It can be understood that the powerful natural language understanding and generation capabilities of large language models provide new solutions for the control strategies of robotic arms. By applying large language models to robotic arm control, control instructions can be dynamically generated according to task requirements to achieve flexible control of the robotic arm. At the same time, large language models can also adjust control strategies in real time according to environmental changes to improve the adaptability of the robotic arm.
[0054] As an efficient task planning method, behavior trees have been widely used in control fields such as games and automation systems. By constructing a hierarchical task structure, behavior trees decompose complex tasks into a series of simple subtasks, thereby achieving efficient execution of tasks. Combining behavior trees with large language models can generate behavior trees that meet task requirements, and further achieve intelligent control of robotic arms.
[0055] In a behavior tree, various types of nodes can be included: action nodes (such as moving, waiting, etc., whose return values include success, failure, and in progress), control nodes (controlling the execution flow of the behavior tree, including sequence nodes, selector nodes, parallel nodes, etc. The sequence node executes child nodes in sequence and returns failure if a child node fails; the selector node executes child nodes in turn and returns success as long as one child node is successful; the parallel node executes all child nodes concurrently), condition nodes (judging whether a condition holds, with a return value of true or false, providing a judgment basis for control nodes), and decorator nodes (executing specific logic, such as looping to execute child nodes, etc.).
[0056] In the execution process of the behavior tree, the behavior tree starts executing from the root node, determines the next node to execute according to the logic of the control node, and finally executes to the action node to make a behavior decision. During the execution process, the states of the nodes are continuously updated, and the parent node determines its own state and subsequent execution flow based on the states of the child nodes.
[0057] Optionally, in an embodiment of the present invention, after controlling the assembly robot to perform corresponding assembly actions based on the behavior tree, it further includes: obtaining the operation state of the robotic arm of the assembly robot after completing the assembly action, and obtaining new target scene information based on the operation state; judging whether the assembly environment meets a preset change condition based on the new target scene information; if it meets the preset change condition, determining the actual change state of the assembly environment based on the new target scene information; updating the behavior tree with the actual change state to control the assembly robot with the updated behavior tree until the assembly task is completed.
[0058] It is understandable that unexpected situations may occur during the assembly process. For example, the assembly robot's robotic arm fails to clamp a component, causing the component to fall, or other components are moved due to a large amplitude of movement during the assembly process, resulting in multiple components overlapping. These situations will affect the assembly process.
[0059] The embodiment of the present invention can obtain the information of the new target scene after completing an assembly action, so as to re-confirm the parts according to the operation state, and use the new target scene information to determine whether the assembly environment has undergone abnormal changes, such as overlap, drop, etc. If there is an abnormal change, the actual abnormal change is determined according to the new target scene information, and then the behavior tree is updated. Among them, the operation state of the robot arm can include the state information fed back by the robot arm itself, such as position, speed, torque and other information.
[0060] For example, if the abnormal change is overlapping, then add an action of separating and assembling parts in the behavior tree; for another example, if the abnormal change is falling, then add an action of picking up parts in the behavior tree, etc.
[0061] Through the above scheme, the embodiment of the present application can promptly discover emergencies and handle them in a timely manner to avoid assembly errors or assembly interruptions due to parts not being found, thereby ensuring the smoothness of the movements and the assembly effect during the assembly process.
[0062] Optionally, in one embodiment of the present invention, the actual change state of the assembly environment is determined based on the new target scene information, including: extracting the target component from the target scene information and obtaining the first height information of the target component; tracking the second height information of the target component in the new target scene information, so as to calculate the change rate of the target component by using the first height information, the second height information and the collection time interval between the target scene information and the new target scene information; and using the change rate to determine whether the actual change state is a component sliding state.
[0063] In some embodiments, the present invention can use a 2D visual detection algorithm to compare the position changes of the same components in adjacent images to determine whether the environment has changed. For example, when a component is captured and moved, if the height of the same component is detected to change rapidly, and the rate of change is greater than a set threshold, the surface component is slipping. The formula is defined as follows
[0064] in, and Indicates the height of the corresponding components of adjacent images. Represents the time interval for sampling two scene information. If If it is greater than a certain threshold, it means that the component is slipping.
[0065] Optionally, in an embodiment of the present invention, determining the actual change state of the assembly environment based on the new target scenario information includes: confirming the first contour feature and the first quantity of the target components in the assembly environment based on the target scenario information; confirming the second contour feature and the second quantity of the target components in the assembly environment based on the new target scenario information; comparing the first quantity and the second quantity to obtain a comparison result; matching the first contour feature and the second contour feature to obtain a matching result; combining the comparison result and the matching result to determine whether the actual change state is a component overlapping state.
[0066] In other embodiments, it is possible to determine whether there are overlapping components by comparing the acquired image data. For example, in an embodiment of the present invention, the target scenario information can be used as a sample. After the robotic arm moves, new target scenario information is acquired for comparison to determine whether the quantity (subtracting the data taken away during robotic arm assembly) and features can be matched. If they can be matched, it can be determined that there are no overlapping components. If they cannot be matched, abnormal features can be identified as the features of the overlapping part.
[0067] In addition, it is also possible to identify by calculating the center position.
[0068]
[0069] The formula represents the position deviation of components i and j in the x, y, and z coordinate systems. If the deviation is less than the set threshold, it indicates that the two components overlap. For these situations, the behavior tree needs to be updated.
[0070] Optionally, in an embodiment of the present invention, it further includes: setting at least one detection node during the assembly process of the target server based on the assembly task; predicting the expected assembly state of the target server at at least one detection node using the behavior tree, and when the assembly process of the target server reaches any detection node, acquiring the actual assembly state of the target server at any detection node; comparing the actual assembly state and the expected assembly state corresponding to any detection node to obtain a state comparison result; using the state comparison result to determine whether the target server meets the preset node qualification condition to obtain a node determination result; generating a corresponding node assembly qualification reminder or node assembly error reminder based on the node determination result.
[0071] As a possible implementation method, in addition to relying on the conditional nodes in the behavior tree to determine whether the assembly is correct, embodiments of the present invention can also set multiple detection nodes to avoid assembly failures caused by external factors.
[0072] For example, during the assembly process, when other assembly robots are assembling, a component accidentally bounces off and falls into the target server that the current assembly robot is assembling. At this time, it is difficult to detect assembly problems only relying on conditional nodes.
[0073] In the embodiments of the present invention, the actual assembly status and the expected assembly status can be compared through multiple detection nodes set. For example, in the current detection node, the expected assembly status of the target server is that the CPU has been inserted and is waiting to connect the wires, while the actual assembly status is that the CPU has been inserted, but there are other items at the wire insertion position. At this time, it can be determined that the status comparison result is inconsistent, that is, the node qualification condition is not met. Therefore, when the node qualification condition is not met, an assembly error reminder is generated to avoid affecting subsequent assembly operations.
[0074] Optionally, in an embodiment of the present invention, after completing the assembly task, it further includes: collecting the actual scenario status information including the target server; extracting at least one item feature from the actual scenario status information, and determining whether the target server meets the preset abnormal assembly condition based on the at least one item feature; if the abnormal assembly condition is met, a corresponding assembly task error reminder is generated.
[0075] During the actual execution process, there may be a situation where an assembly node of a certain component has been completed, but the component has not been installed on the target server and remains on the assembly table. For the above situation, in the embodiments of the present invention, after the assembly is completed, the actual scenario status information can be obtained to judge the items in the actual scenario status information to determine whether it is a component required for the assembly of the target server. If the object is a component required for the assembly of the target server and the object is not a spare part, it can be determined that the abnormal assembly condition is met. At this time, the embodiments of the present invention can generate an assembly task error reminder so that subsequent technicians can re-assemble the target server according to the reminder and the remaining item.
[0076] Optionally, in an embodiment of the present invention, it further includes: running the target server and obtaining the operation data of the target server; determining whether the target server meets the preset operation expectation condition based on the operation data; if the preset operation expectation condition is met, a corresponding verification qualified reminder is generated, otherwise, the abnormal assembly node of the target server is evaluated based on the operation data, and a corresponding verification failure reminder is generated based on the abnormal assembly node.
[0077] In some embodiments, after assembling the target server, the embodiments of the present invention can perform a running test on the target server to compare the expected running state and the actual running state of the target server, so as to determine whether the actual running state is consistent with the expected running state. If they are consistent, it can be determined that the assembly is correct this time, and a qualified verification reminder can be generated to put the target server into the next process. If they are inconsistent, it can be determined that there is a problem with the assembly this time, and a verification failure reminder can be generated. At the same time, the embodiments of the present invention can also infer abnormal nodes during the assembly process based on the running data of the target server, and send the information of the abnormal nodes together with the verification failure reminder for subsequent troubleshooting of the target server.
[0078] Optionally, in an embodiment of the present invention, after obtaining the running data of the target server, it further includes: recording the completion duration of the assembly task; calculating the task completion score of the assembly robot by combining the completion duration and the running data; and optimizing the action decision model using the task completion score.
[0079] When starting the assembly, the embodiments of the present invention can record the assembly time and monitor the assembly task to obtain the completion duration of the assembly task of the assembly robot.
[0080] Furthermore, the embodiments of the present invention can construct a multi-dimensional scoring index system. For example, using the standard average duration (which can be set by technicians or obtained from a large amount of test data), time weight, benchmark energy consumption (which can be set by technicians or obtained from a large amount of test data), energy consumption weight, error coefficient, running result (whether the operation is successful, whether there is an error during operation), and result weight, construct an evaluation formula, and then calculate the score of the assembly robot for this assembly. Then, optimize the action decision model according to the score, so that the action decision model can be continuously optimized based on the initial large language model to be more suitable for the server assembly process.
[0081] Combined Figure 3 As shown, the working principle of the server component assembly method of the embodiments of the present invention is elaborated in detail with an embodiment.
[0082] As Figure 3 As shown, the embodiments of the present invention need to obtain a task description through the assembly task, transform the semantic map through the target scene information, and then generate a prompt word by combining the task description and the semantic map, and input it into the action decision model (large language model), and then generate a behavior tree (the behavior tree is composed of action primitives, a list of available objects, example tasks, and task descriptions) to complete the assembly task.
[0083] Among them, the semantic map provides a basis for constructing the initial behavior tree of the action decision-making model, as well as for updating and expanding the behavior tree. Specifically, through 3D vision detection technology, the point cloud data captured by the depth camera can be processed to identify and label objects. The recognition results are saved in an XML file, which details information such as the category, three-dimensional coordinates, color, volume, and shape of the objects.
[0084] The action primitives come from an action primitive library, which is a collection that defines the basic actions that the robot can execute. These actions are directly mapped to the physical operation capabilities of the robot and provide the action framework required for the action decision-making model to complete tasks. For example, in server component installation, the action primitive library can include actions such as picking up, putting down, pressing, rotating, and moving. Conditional nodes are added to each action primitive, and the corresponding action nodes are executed only when the conditional nodes are satisfied. For example, "Install the CPU onto the motherboard and ensure that all connectors are correctly plugged in."
[0085] Example tasks demonstrate how to integrate action primitives, object lists, and external components to perform specific tasks. This part is defined by the user according to task requirements and aims to show the conversion process from task description to action execution.
[0086] Task description provides detailed information about the task to be executed and the expected results, and clarifies the specific execution objectives of the behavior tree generation algorithm.
[0087] Furthermore, by combining the operating states (position, speed) of the robotic arm during the assembly process of the assembly robot and the real-time change detection of the target scene, to determine whether the operation is incorrect and environmental changes, dynamically adjust the execution order and node parameters of the behavior tree, and optimize the control strategy of the robotic arm in real time to ensure that the robotic arm can adapt to the changes in the dynamic environment. There are mainly two parts: the semantic map and environmental change detection.
[0088] The transformation of the semantic map can be carried out through visual information and task description in the same way as constructing the behavior tree before.
[0089] In terms of environmental change detection, the embodiments of the present invention can adopt a 2D vision detection algorithm to compare the position changes of the same components in adjacent images to determine whether the environment has changed. For example, during the process of a component being grasped and moved, if it is detected that the position height of the same component changes rapidly, and the change rate is greater than the set threshold, it indicates that the component may have slipped. The formula is defined as follows
[0090] Among them, and represent the heights of the corresponding components in adjacent pictures, represents the time interval for sampling the information of two scenes. If If it is greater than a certain threshold, it indicates that the component has slipped.
[0091] In the embodiments of the present invention, identification can also be performed by calculating the center position.
[0092]
[0093] The formula represents the position deviation of components i and j in the three coordinate systems of x, y, and z. If the deviation is less than the set threshold, it indicates that the two components overlap. For these situations, the behavior tree needs to be updated.
[0094] During the assembly process, in the embodiments of the present invention, the assembly process of the server can also be monitored by setting detection nodes, and after the assembly is completed, the target server can be inspected to determine the correctness of the assembly.
[0095] In summary, the embodiments of the present invention can generate a behavior tree applicable to the server component assembly task through an action decision model based on a large language model, realizing flexible control and dynamic adjustment of the robotic arm. Only the scene information and the state of the robotic arm are required, and the model can autonomously generate the behavior tree without manual intervention. During the execution of the behavior tree, the state of the robotic arm, environmental changes, and operation conditions are monitored in real time, and the execution order and node parameters of the behavior tree are dynamically adjusted to optimize the control strategy of the robotic arm.
[0096] Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases, the former is a better implementation method.
[0097] The embodiments of the present invention also provide an assembly device for server components, which is applied to an assembly robot. Among them, device 10 includes: a first acquisition module 100, a construction module 200, and an assembly module 300.
[0098] Specifically, the first acquisition module 100 is used to obtain the assembly task of the target server and collect corresponding target scene information based on the assembly task.
[0099] The construction module 200 is used to convert the target scene information into a semantic map to construct at least one prompt word based on the assembly task and the semantic map.
[0100] The assembly module 300 is used to input at least one prompt word into a pre-constructed action decision model to output the behavior tree of the assembly robot, and control the assembly robot to perform corresponding assembly actions based on the behavior tree until the assembly task is completed.
[0101] Optionally, in an embodiment of the present invention, the first acquisition module 100 includes: a parsing unit and an acquisition unit.
[0102] Among them, the parsing unit is used to parse the assembly task to determine the task object, operation action, and task target of the assembly task.
[0103] The acquisition unit is used to acquire the target scene information containing the task object to obtain the assembly environment of the assembly robot and the object information and status information of the task object in the assembly environment.
[0104] Optionally, in an embodiment of the present invention, the assembly device 10 of the server component further includes: an acquisition module, a judgment module, a determination module, and an update module.
[0105] Among them, the acquisition module is used to acquire the operation state of the robotic arm of the assembly robot after completing the assembly action, and acquire new target scene information based on the operation state.
[0106] The judgment module is used to judge whether the assembly environment meets the preset change conditions based on the new target scene information.
[0107] The determination module is used to determine the actual change state of the assembly environment based on the new target scene information when the preset change conditions are met.
[0108] The update module is used to update the behavior tree with the actual change state to control the assembly robot with the updated behavior tree until the assembly task is completed.
[0109] Optionally, in an embodiment of the present invention, the determination module includes: a first extraction unit, a calculation unit, and a first determination unit.
[0110] Among them, the first extraction unit is used to extract the target component from the target scene information and obtain the first height information of the target component.
[0111] The calculation unit is used to track the second height information of the target component in the new target scene information to calculate the change rate of the target component using the first height information, the second height information, and the acquisition time interval between the target scene information and the new target scene information.
[0112] The first determination unit is used to determine whether the actual change state is the component slipping state using the change rate.
[0113] Optionally, in an embodiment of the present invention, the determination module includes: a first confirmation unit, a second confirmation unit, a comparison unit, a matching unit, and a second determination unit.
[0114] Among them, the first confirmation unit is used to confirm the first contour feature and the first quantity of the target component in the assembly environment based on the target scenario information.
[0115] The second confirmation unit is used to confirm the second contour feature and the second quantity of the target component in the assembly environment based on the new target scenario information.
[0116] The comparison unit is used to compare the first quantity and the second quantity to obtain a comparison result.
[0117] The matching unit is used to match the first contour feature and the second contour feature to obtain a matching result.
[0118] The second determination unit is used to combine the comparison result and the matching result to determine whether the actual change state is a component overlapping state.
[0119] Optionally, in an embodiment of the present invention, the construction module 200 includes: a first construction unit, a second construction unit, and a first generation unit.
[0120] Among them, the first construction unit is used to construct the current available object column based on the object information and status information of the task object.
[0121] The second construction unit is used to construct an action primitive set based on the operation action.
[0122] The first generation unit is used to generate at least one prompt word by combining the current available object column, the action primitive set, the task goal, and the preset example task.
[0123] Optionally, in an embodiment of the present invention, the second construction unit includes: an extraction subunit, an insertion subunit, and a construction subunit.
[0124] Among them, the extraction subunit is used to extract a plurality of action nodes from the preset action primitive library based on the operation action.
[0125] The insertion subunit is used to sort the plurality of action nodes and insert corresponding condition nodes between any two action nodes so that the next action node is executed when the condition node is satisfied.
[0126] The construction subunit is used to construct an action primitive set by combining the plurality of action nodes and the condition nodes.
[0127] Optionally, in an embodiment of the present invention, the construction module 200 further includes: a second extraction unit, an acquisition unit, and a second generation unit.
[0128] Among them, the second extraction unit is used to extract all condition nodes from the action primitive set.
[0129] An acquisition unit is configured to acquire the previous action node before any conditional node and the next action node after any conditional node, and determine whether a preset logical conflict condition is satisfied between any conditional node and the previous action node and the next action node.
[0130] A second generation unit is configured to generate an action conflict reminder when the preset logical conflict condition is satisfied.
[0131] Optionally, in an embodiment of the present invention, the assembly device 10 of the server component further includes: a setting module, a prediction module, a comparison module, a first judgment module, and a first reminder module.
[0132] Wherein, the setting module is configured to set at least one detection node during the assembly process of the target server based on the assembly task.
[0133] The prediction module is configured to predict the expected assembly state of the target server of the assembly task at at least one detection node by using a behavior tree, and acquire the actual assembly state of the target server at any detection node when the assembly process of the target server reaches any detection node.
[0134] The comparison module is configured to compare the actual assembly state with the expected assembly state corresponding to any detection node to obtain a state comparison result.
[0135] The first judgment module is configured to judge whether the target server meets the preset node qualification condition by using the state comparison result to obtain a node judgment result.
[0136] The first reminder module is configured to generate a corresponding node assembly qualification reminder or node assembly error reminder based on the node judgment result.
[0137] Optionally, in an embodiment of the present invention, the assembly device 10 of the server component further includes: a second acquisition module, a second judgment module, and a second reminder module.
[0138] Wherein, the second acquisition module is configured to acquire the actual scene state information including the target server.
[0139] The second judgment module is configured to extract at least one item feature from the actual scene state information and judge whether the target server meets the preset abnormal assembly condition based on the at least one item feature.
[0140] The second reminder module is configured to generate a corresponding assembly task error reminder when the abnormal assembly condition is satisfied.
[0141] Optionally, in an embodiment of the present invention, the assembly device 10 of the server component further includes: an operation module, a third judgment module, and a third reminder module.
[0142] Among them, the operation module is used to operate the target server and obtain the operation data of the target server.
[0143] The third judgment module is used to judge whether the target server meets the preset operation expectation conditions based on the operation data.
[0144] The third reminder module is used to generate a corresponding qualified verification reminder when the preset operation expectation conditions are met; otherwise, it evaluates the assembly abnormal nodes of the target server based on the operation data and generates a corresponding failed verification reminder based on the assembly abnormal nodes.
[0145] Optionally, in an embodiment of the present invention, the assembly device 10 of server components further includes: a recording module, a scoring module, and an optimization module.
[0146] Among them, the recording module is used to record the completion duration of the assembly task.
[0147] The scoring module is used to calculate the task completion score of the assembly robot by combining the completion duration and the operation data.
[0148] The optimization module is used to optimize the action decision model by using the task completion score.
[0149] For the description of the features in the corresponding embodiment of the assembly device of server components, reference can be made to the relevant description of the corresponding embodiment of the assembly method of server components, which will not be elaborated here one by one.
[0150] An embodiment of the present invention also provides an assembly robot, including a memory and a processor. A computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above-mentioned embodiments of the assembly method of server components.
[0151] An embodiment of the present invention also provides a computer-readable storage medium, in which a computer program is stored. The computer program is configured to execute the steps in any one of the above-mentioned embodiments of the assembly method of server components when running.
[0152] In an exemplary embodiment, the above-mentioned computer-readable storage medium may include, but is not limited to: USB flash drives, read-only memories (ROM for short), random access memories (RAM for short), mobile hard disks, magnetic disks, or optical discs and other various media that can store computer programs.
[0153] An embodiment of the present invention also provides a computer program product. The above-mentioned computer program product includes a computer program, and when the computer program is executed by a processor, it implements the steps in any one of the above-mentioned embodiments of the assembly method of server components.
[0154] An embodiment of the present invention further provides another computer program product, including a non-volatile computer-readable storage medium. The non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any of the above-described method embodiments for assembling server components are implemented.
[0155] Those skilled in the art can further realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the components and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Skilled professionals can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of the present invention.
[0156] The above has introduced in detail a method, device, assembly robot, and storage medium for assembling server components provided by the present invention. Specific examples are used herein to elaborate on the principles and implementation manners of the present invention. The description of the above embodiments is only used to help understand the method and its core idea of the present invention. It should be noted that for those of ordinary skill in the art in the technical field, without departing from the principle of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the protection scope of the claims of the present invention.
Claims
1. A method for assembling a server component, characterized in that: Applied to an assembly robot, wherein the method comprises the following steps: Obtaining an assembly task of a target server, and collecting corresponding target scenario information based on the assembly task; Converting the target scene information into a semantic map to construct at least one prompt word based on the assembly task and the semantic map; The at least one prompt word is input into a pre-built action decision model to output a behavior tree of the assembly robot, and the assembly robot is controlled to perform corresponding assembly actions based on the behavior tree until the assembly task is completed.
2. The method for assembling a server component according to claim 1, characterized in that: The collecting corresponding target scene information based on the assembly task includes: Parsing the assembly task to determine the task object, operation action and task goal of the assembly task; The target scene information including the task object is collected to obtain the assembly environment of the assembly robot and the object information and state information of the task object in the assembly environment.
3. The method for assembling a server component according to claim 2, characterized in that: After controlling the assembly robot to perform corresponding assembly actions based on the behavior tree, the method further includes: Acquire the operating state of the mechanical arm of the assembly robot after completing the assembly action, and acquire new target scene information based on the operating state; Determining whether the assembly environment meets a preset change condition based on the new target scene information; If the preset change condition is met, determining the actual change state of the assembly environment based on the new target scene information; The behavior tree is updated using the actual changed state, so as to control the assembly robot using the updated behavior tree until the assembly task is completed.
4. The method for assembling a server component according to claim 3, characterized in that: The determining the actual change state of the assembly environment based on the new target scene information includes: Extracting a target component from the target scene information and obtaining first height information of the target component; Tracking second height information of the target component in the new target scene information, so as to calculate a change rate of the target component by using the first height information, the second height information and a collection time interval between the target scene information and the new target scene information; The change rate is used to determine whether the actual change state is a component slipping state.
5. The method for assembling a server component according to claim 3, characterized in that: The determining the actual change state of the assembly environment based on the new target scene information includes: confirming a first contour feature and a first quantity of a target component in the assembly environment based on the target scene information; confirming a second contour feature and a second quantity of the target component in the assembly environment based on the new target scene information; comparing the first quantity and the second quantity to obtain a comparison result; matching the first contour feature and the second contour feature to obtain a matching result; In combination with the comparison result and the matching result, it is determined whether the actual change state is a component overlapping state.
6. The method for assembling a server component according to claim 2, characterized in that: The constructing at least one prompt word based on the assembly task and the semantic map includes: Building a currently available object list based on the object information and state information of the task object; Constructing an action primitive set based on the operation action; The at least one prompt word is generated in combination with the currently available object list, the action primitive set, the task goal and the preset example task.
7. The method for assembling a server component according to claim 6, characterized in that: The step of constructing an action primitive set based on the operation action comprises: Extracting multiple action nodes from a preset action primitive library based on the operation action; Sorting the multiple action nodes, and inserting a corresponding condition node between any two action nodes, so as to execute the next action node when the condition node is satisfied; The action primitive set is constructed by combining the multiple action nodes and the condition nodes.
8. The method for assembling a server component according to claim 7, characterized in that: After constructing the action primitive set, it also includes: Extract all conditional nodes from the action primitive set; Obtaining a previous action node before any condition node and a next action node after any condition node, and determining whether any condition node satisfies a preset logical conflict condition with the previous action node and the next action node; If the preset logical conflict condition is met, an action conflict reminder is generated.
9. The method for assembling a server component according to claim 1, characterized in that: Also includes: Setting at least one detection node in the assembly process of the target server based on the assembly task; Predicting the expected assembly state of the target server of the assembly task at the at least one detection node by using the behavior tree, and obtaining the actual assembly state of the target server at any detection node when the assembly process of the target server reaches any detection node; Comparing the actual assembly state with the expected assembly state corresponding to any detection node to obtain a state comparison result; Using the status comparison result, determining whether the target server meets a preset node qualification condition, and obtaining a node determination result; A corresponding node assembly qualified reminder or node assembly error reminder is generated based on the node judgment result.
10. The method for assembling a server component according to claim 9, characterized in that: After completing the assembly task, it also includes: Collecting actual scene status information including the target server; Extracting at least one item feature from the actual scene state information, and judging whether the target server meets a preset abnormal assembly condition based on the at least one item feature; If the abnormal assembly condition is met, a corresponding assembly task error reminder is generated.
11. The method for assembling a server component according to claim 1, characterized in that: Also includes: Running the target server and obtaining the running data of the target server; Determining whether the target server meets a preset expected operating condition based on the operating data; If the preset expected operation conditions are met, a corresponding verification pass reminder is generated; otherwise, the assembly abnormality node of the target server is evaluated based on the operation data, and a corresponding verification failure reminder is generated based on the assembly abnormality node.
12. The method for assembling a server component according to claim 11, characterized in that: After obtaining the operation data of the target server, the method further includes: Recording the completion time of the assembly task; Calculating a task completion score of the assembly robot in combination with the completion time and the operation data; The action decision model is optimized using the task completion score.
13. An assembly device for server components, characterized in that: Applied to an assembly robot, wherein the device comprises: A first acquisition module, used to obtain an assembly task of a target server, and to acquire corresponding target scenario information based on the assembly task; A construction module, used for converting the target scene information into a semantic map, so as to construct at least one prompt word based on the assembly task and the semantic map; The assembly module is used to input the at least one prompt word into a pre-built action decision model to output a behavior tree of the assembly robot, and control the assembly robot to perform corresponding assembly actions based on the behavior tree until the assembly task is completed.
14. An assembly robot, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the method for assembling a server component according to any one of claims 1 to 12 when executing the computer program.
15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the method for assembling a server component according to any one of claims 1 to 12.
Citation Information
Patent Citations
Intelligent assembly process design method based on morpheme division and artificial neural network
CN110766055A
Robot behavior control method and device, equipment, medium and product
CN117506922A
Robot control system and method, storage medium, controller and robot
CN118927246A
Humanoid robot flexible assembly method and system based on thinking chain and medium
CN119238612A
Humanoid inspection operation method and system for semantic intelligent substation robot
WO2022021739A1