A method for autonomous assembly sequence planning of robots based on graphical model
Through a graph model-based robot autonomous assembly sequence planning method, combined with a genetic algorithm and a minimum spanning tree algorithm, the time-consuming problem of traditional assembly sequence planning is solved, a near-optimal assembly sequence can be obtained within a limited time, and industrial production efficiency is improved.
Patent Information
- Application Number
- CN202210514862.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-12
- Publication Date
- 2024-08-30
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing robot technology is difficult to meet the assembly needs of multi-variety, small-batch, and short-cycle products. Traditional assembly sequence planning methods are time-consuming and inefficient, and cannot obtain near-optimal assembly sequences within a limited time.
The robot autonomous assembly sequence planning method based on the graphical model is used to generate the parts assembly sequence by constructing a three-dimensional model diagram, combined with the genetic algorithm and the minimum spanning tree algorithm, and updates the graphical model structure and parameters during the robot demonstration assembly process, taking into account the assembly relationship, Physical constraints and optimization objectives.
It greatly reduces the time complexity of the algorithm, improves the ability and rationality of independently planning the assembly sequence, can obtain a near-optimal assembly sequence within a limited time, and improves production efficiency.
Smart Images

Figure CN114872044B
Abstract
Description
Technical Field
[0001] The invention belongs to the field of robot intelligent assembly, and in particular relates to a robot autonomous assembly sequence planning method based on a graphical model. Background Art
[0002] At present, a large number of industrial assembly robots are widely used in industrial production, replacing humans in harsh, dangerous, extremely large or extremely small environments to perform dangerous or repetitive work. However, existing robot technology still cannot meet the application requirements of multi-variety, small batch, and short-cycle products. The structures of different assembly parts vary greatly, and the assembly methods vary greatly. If the corresponding assembly sequence can be generated autonomously for different parts, this will greatly improve the production efficiency of the industry.
[0003] Assembly sequence planning is a well-known combinatorial optimization problem in the manufacturing industry and is also an NP-hard problem. Traditional methods will generate a large number of assembly sequences and spend a lot of time evaluating the assembly sequences. Therefore, how to obtain a near-optimal assembly sequence within a limited time is an urgent problem to be solved in current industrial production. Summary of the invention
[0004] The purpose of the present invention is to overcome the shortcomings of the prior art and provide a robot autonomous assembly sequence planning method based on a graph model. The present invention constructs a corresponding assembly graph model through the three-dimensional model data of the assembly parts; in the robot demonstration assembly process, the assembly relationship between the parts, the physical constraints between the robot and the parts, and the assembly optimization goal are fully considered to update the graph model structure and parameters; finally, the genetic algorithm and the minimum spanning tree algorithm of the graph are used to generate the parts assembly sequence.
[0005] The present invention proposes a robot autonomous assembly sequence planning method based on a graphical model, which is characterized in that the method includes the following stages.
[0006] 1) Graph model construction phase: Based on the 3D model of the assembly, the assembly part data is obtained, the parts are represented by nodes, the corresponding relationships are represented by edges, and the corresponding graph model is initialized according to the basic assembly constraints;
[0007] The three-dimensional model of the assembly includes the assembly and part models in the three-dimensional modeling software, and the hierarchical text file in the XML format corresponding to the assembly.
[0008] The assembly part data includes the part number N obtained from the three-dimensional model, and the relative positions and assembly relationships between any two parts.
[0009] The basic assembly constraints include mechanical feasibility constraints between parts obtained from the three-dimensional model and assembly motion freedom constraints.
[0010] 2) Graphical model learning phase: During the robot demonstration assembly process, a certain amount of observation data is obtained based on absolute constraints and optimization objectives, and the observation data is used to update the structure and parameters of the graphical model.
[0011] In the robot demonstration assembly process, the absolute constraints include collision constraints during the assembly process and stability constraints of the assembly parts.
[0012] The collision constraint is that during the assembly process, the robot and the assembly parts should avoid collision, and the collision force generated by the assembly parts should be less than a certain threshold.
[0013] The stability constraint is that during the assembly process, the assembled parts should remain stable, and the stable state should be the target state.
[0014] Preferably, the optimization target is composed of multiple indicators including assembly time, assembly cost, and total assembly energy consumption.
[0015] The method for obtaining observation data of the robot demonstration assembly process is as follows.
[0016] 2-1) Build the corresponding simulation environment according to the assembly task. Import the assembly model and robot model into the simulation, and set the corresponding dynamic parameters.
[0017] 2-2) Construct robot primitive action set, trajectory planning method, and robot control method.
[0018] Preferably, the primitive action set includes jaw clamping, jaw release, free space movement, and assembly process movement.
[0019] Preferably, the trajectory planning method adopts a linear interpolation algorithm with parabolic transition.
[0020] Preferably, the robot control method adopts robot Cartesian space impedance control.
[0021] 2-3) Select the corresponding assembly action according to the edge of the graph model and decompose it into a combination of robot primitive actions and motion trajectories.
[0022] 2-4) The robot performs assembly actions multiple times in the simulation.
[0023] 2-5) Obtain observation data. For each assembly, an observation data vector of equal length is returned to record the satisfaction of the absolute constraints and the evaluation results of the optimization goal.
[0024] The length of the observation data vector is equal to the sum of the number of constraints and the number of optimization targets. The absolute constraints use qualitative judgment results, and the optimization targets use quantitative judgment results.
[0025] Furthermore, the method for updating the graph model structure and parameters includes the following steps.
[0026] 2-6) According to the success rate of each assembly action, delete the edges of the graph model structure and update the graph model structure.
[0027] 2-7) Use fuzzy hierarchical analysis method to analyze the above observation data.
[0028] 2-8) Update the weight of the corresponding edge based on the average evaluation obtained by fuzzy analytic hierarchy process.
[0029] 3) Assembly sequence inference stage: Genetic algorithm is used to infer the optimal assembly reference parts, and the actual assembly sequence is inferred based on the minimum spanning tree of the graphical model. The specific steps are as follows.
[0030] 3-1) Considering the node degree of the graph model, the three-dimensional model structure of the parts, and the position of the parts in the assembly, a multi-objective optimization problem model is established; a multi-objective genetic algorithm is used to solve the Pareto solution set for the selection of assembly benchmark parts.
[0031] 3-2) Based on the minimum spanning tree Prim algorithm of the graph model, the reference part is used as the parent node of the whole tree to generate a hierarchical assembly tree of the graph model. Some assembly order information is implicit in the hierarchical assembly tree, such as the assembly of lower-level parts should be superior to the assembly of upper-level parts, and the assembly order of parts on the same level can be switched.
[0032] 3-3) Search for the best assembly order on the hierarchical assembly tree.
[0033] The beneficial effects of the present invention are as follows: 1) The assembly relationship is represented by a graphical model, and a genetic algorithm and a minimum spanning tree algorithm are used to obtain a near-optimal assembly sequence, which greatly reduces the algorithm time complexity. 2) During the robot demonstration assembly process, the assembly knowledge is collected and learned autonomously, and the ability to autonomously plan the assembly sequence is improved. 3) The fuzzy hierarchical analysis method is used to fully consider the qualitative and quantitative constraints and goals in the assembly process, and the rationality and reliability of the planned assembly sequence are improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 It is a flow chart of a method for autonomous assembly sequence planning of robots based on a graphical model in the implementation of the present invention.
[0035] Figure 2 It is a flowchart of updating the graph model in the present invention.
[0036] Figure 3 It is a schematic diagram of the hierarchical assembly tree in the present invention. DETAILED DESCRIPTION
[0037] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings of the present invention.
[0038] like Figure 1 As shown, the present invention proposes a robot autonomous assembly sequence planning method based on a graphical model. The method comprises the following steps.
[0039] 1) Graphic model construction stage: Obtain assembly part data based on the three-dimensional model of the assembly, use nodes to represent parts, use edges to represent corresponding relationships, and build the corresponding graphical model according to the basic assembly constraints.
[0040] Specifically, the three-dimensional model of the assembly includes the assembly and part models in the three-dimensional modeling software, and the hierarchical text file in the xml format corresponding to the assembly. The assembly part data includes the part number N obtained from the three-dimensional model, the relative position and assembly relationship between the two parts. The basic assembly constraints include the mechanical feasibility constraints between the parts obtained from the three-dimensional model, and the motion freedom constraints of the assembly.
[0041] In the specific implementation process of the present invention, the above data is used to construct an undirected graph model in which nodes represent parts and edges with weighted values represent the corresponding relationship between parts. The graph model is stored in the form of an adjacency matrix.
[0042] 2) The graph model learning phase Figure 2 As shown in the figure: During the robot demonstration assembly process, a certain amount of observation data is obtained according to the absolute constraints and optimization objectives, and the observation data is used to update the structure and parameters of the graphical model.
[0043] Specifically, the absolute constraints include collision constraints during assembly and stability constraints of assembly parts. The collision constraints are that during assembly, the robot and assembly parts should avoid collision, and the collision force between assembly parts should be less than a certain threshold. The stability constraints are that during assembly, the assembled parts should remain stable, and the stable state should be the target state.
[0044] The optimization target is composed of multiple indicators including assembly time, assembly cost, and total assembly energy consumption.
[0045] The steps of the method for obtaining observation data of the robot demonstration assembly process are as follows.
[0046] 2-1) Build the corresponding simulation environment according to the assembly task. Import the assembly model and robot model into the VREP simulation, and set the corresponding dynamic parameters.
[0047] 2-2) Construct robot primitive action set, trajectory planning method, and robot control method.
[0048] In a specific implementation process, the primitive action set includes clamping of the clamp, releasing of the clamp, movement in free space, and movement in the assembly process.
[0049] The trajectory planning method uses a linear interpolation algorithm with parabolic transition.
[0050] The robot control method adopts robot Cartesian space impedance control.
[0051] 2-3) Select the corresponding assembly action according to the edge of the graph model and decompose it into a combination of robot primitive actions and motion trajectories.
[0052] 2-4) The robot performs assembly actions multiple times in the simulation.
[0053] 2-5) Obtain observation data. For each assembly, an observation data vector of equal length is returned to record the satisfaction of the absolute constraints and the evaluation results of the optimization goal.
[0054] The length of the observation data vector is equal to the sum of the number of constraints and the number of optimization targets. The absolute constraints use qualitative judgment results, and the optimization targets use quantitative judgment results.
[0055] Furthermore, the method for updating the graph model structure and parameters includes the following steps.
[0056] 2-6) According to the success rate of each assembly action, delete the edges of the graph model structure and update the graph model structure.
[0057] 2-7) Use fuzzy hierarchical analysis method to analyze the above observation data.
[0058] 2-8) Update the weight of the corresponding edge based on the average evaluation obtained by fuzzy analytic hierarchy process.
[0059] 3) Use the graphical model to infer the actual assembly sequence. The specific steps are as follows.
[0060] 3-1) Considering the node degree of the graph model, the three-dimensional model structure of the parts, and the position of the parts in the assembly, a multi-objective optimization problem model is established; a multi-objective genetic algorithm is used to solve the Pareto solution set for the selection of assembly benchmark parts.
[0061] Specifically, the multi-objective genetic algorithm adopts NSGA-Ⅱ, and encodes the parts using an encoding method based on assembly part features.
[0062] 3-2) Based on the minimum spanning tree Prim algorithm of the graph model, the reference part is used as the parent node of the whole tree to generate a hierarchical assembly tree of the graph model.
[0063] like Figure 3As shown in the figure, some assembly order information is implicit in the hierarchical assembly tree, such as the assembly of lower-level parts should take precedence over the assembly of upper-level parts, and the assembly order of parts at the same level can be converted.
[0064] 3-3) Search for the best assembly order on the hierarchical assembly tree.
[0065] Finally, it should be noted that the above are only preferred embodiments of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein with equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. The present invention proposes a robot autonomous assembly sequence planning method based on a graphical model, characterized in that: The method comprises the following steps: 1) a graph model construction phase: obtaining assembly part data based on a three-dimensional model of an assembly, using nodes to represent parts, using edges to represent corresponding relationships, and initializing a corresponding graph model according to basic assembly constraints; 2) a graph model learning phase: obtaining a certain amount of observation data according to absolute constraints and optimization goals during a robot demonstration assembly process, wherein the absolute constraints include collision constraints during the assembly process and stability constraints of the assembly parts, and the optimization goals are composed of multiple goals including assembly time, assembly cost, and total assembly energy consumption. The method for obtaining observation data during the assembly process is as follows: a) building a corresponding simulation environment according to the assembly task; importing an assembly part model and a robot model into the simulation, and setting corresponding dynamic parameters; b) constructing a robot primitive action set, a trajectory planning method, and a robot control method; the primitive action set includes The invention discloses a method for controlling the robot in a Cartesian space; c) selecting the corresponding assembly action according to the edge of the graphical model, and decomposing it into a combination of the robot's primitive action and the motion trajectory; d) the robot performs the assembly action multiple times in the simulation; e) obtaining the observation data; returning an observation data vector of equal length for each assembly to record the satisfaction of the absolute constraint conditions and the evaluation result of the optimization target; wherein the length of the observation data vector is equal to the sum of the number of constraint conditions and the number of optimization targets, the absolute constraint conditions adopt the qualitative judgment results, and the optimization target adopts the quantitative judgment results; finally, the observation data is used to update the structure and parameters of the graphical model; 3) the assembly sequence inference stage: using the genetic algorithm to infer the optimal assembly reference parts, and inferring the actual assembly sequence based on the minimum spanning tree of the graphical model.
2. According to the method of claim 1, the robot autonomous assembly sequence planning method based on the graphical model is characterized in that: The three-dimensional model of the assembly includes the assembly and part models in the three-dimensional modeling software, and the hierarchical text file in the XML format corresponding to the assembly.
3. The method for autonomous assembly sequence planning of a robot based on a graphical model according to claim 1, characterized in that: The assembly part data includes part numbers obtained from the three-dimensional model, relative positions and assembly relationships between two parts.
4. The method for autonomous assembly sequence planning of a robot based on a graphical model according to claim 1, characterized in that: The basic assembly constraints include mechanical feasibility constraints between parts obtained from the three-dimensional model and assembly motion freedom constraints.
5. The method for autonomous assembly sequence planning of a robot based on a graphical model according to claim 1, characterized in that The method for updating the graph model structure and parameters is as follows: 1) according to the success rate of each assembly action, the edges of the graph model structure are deleted and the graph model structure is updated; 2) Analyze the above observation data using fuzzy analytic hierarchy process; 3) Obtain the average evaluation of the assembly action according to the fuzzy analytic hierarchy process and update the weight of the corresponding edge of the graphical model.
6. The method for autonomous assembly sequence planning of a robot based on a graphical model according to claim 1, characterized in that The specific method of assembly order inference is as follows: 1) considering the node degree of the graph model, the three-dimensional model structure of the parts, and the position of the parts in the assembly, a multi-objective optimization problem model is established; a multi-objective genetic algorithm is used to solve the Pareto solution set for the selection of the assembly reference parts; 2) based on the minimum spanning tree Prim algorithm of the graph model, the reference parts are used as the parent nodes of the whole tree to generate a hierarchical assembly tree of the graph model; Most of the assembly sequence information is hidden in the hierarchical assembly tree. The assembly of lower-level parts should be superior to that of upper-level parts, and the assembly sequence of parts on the same level can be changed; 3) Search for the best assembly sequence on the hierarchical assembly tree.
Citation Information
Patent Citations
Assembly sequence planning method and assembly sequence planning system
CN104504471A
Disassembly sequencing planning (DSP) method for large-size complicated product and DSP system for large-size complicated product
CN105045804A
Planning method for welding and assembly sequence of hexagonal bracket mouth steel nodes
CN108723628A
