A method for rapid assembly of parts based on semantics

Through semantic expression and automatic assembly process, the problems of low assembly efficiency and high cost in the assembly process of complex products are solved, fast and accurate assembly in the virtual environment is achieved, and assembly efficiency and quality are improved.

CN114996867BActive Publication Date: 2024-09-27CHANGCHUN UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

During the assembly process of complex products, traditional physical prototype assembly methods lead to extended working hours and increased costs, and it is difficult to effectively access assembly information, affecting assembly quality.

Method used

Adopting a semantic-based rapid assembly method of parts, through information modeling of the parts, build an information model, define the semantic expression structure of assembly features, analyze the semantics of assembly features, design the assembly semantics-driven process, match and reason assembly constraint information, and build the assembly A link bridge between semantics and constraint relationships to realize automatic assembly.

Benefits of technology

Quickly obtain assembly positioning information in the virtual environment, reasonably express assembly constraints between parts, significantly improve the assembly efficiency of complex parts, and reduce assembly costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114996867B
    Figure CN114996867B
Patent Text Reader

Abstract

The present invention relates to a method for rapid assembly of parts based on semantics, comprising the following steps: determining a framework for building a part information model; rapidly assigning part information to build a part information model; defining a semantic expression structure of assembly features according to the part information model; parsing the assembly feature semantics contained in the part according to the semantic expression of the part, and defining a semantic practice standard for assembly features; designing an assembly semantic driving process according to the semantic expression and parsing results; matching and inferring the inherent constraint information of the assembly semantics according to the semantic driving results, and establishing a matching relationship according to the assembly constraint information; adjusting and transforming the part posture according to the matching relationship, completing the generation of assembly constraints of the part in a virtual environment, and realizing automatic assembly. The present invention ensures that assembly positioning information is quickly obtained in a virtual environment, and various assembly constraints between parts are reasonably expressed, so that the assembly efficiency of complex parts in a virtual environment is significantly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of mechanical engineering, and in particular to a semantic-based rapid assembly method for parts. Background Art

[0002] For complex products, the quality of their performance is closely related to their overall assembly quality. However, when the product structure is complex and there are many assembly parts, the traditional physical sample assembly method will cause extended working hours and increased costs, and cannot meet the design cycle. Using virtual assembly technology to automatically assemble product parts can effectively simulate the assembly process, reduce the scrap rate of actual assembly parts, and improve the economic benefits of the product.

[0003] In the process of virtual assembly of parts, traditional virtual modeling methods cannot dynamically and effectively access assembly information, and it is difficult to play the role of the model as a carrier of product information. By giving geometric characteristics, physical characteristics and assembly characteristics to parts, building a part information model, and using the part information model to record the assembly constraint relationship between parts, it is of great significance to truly reproduce the complex product assembly process and guide the actual production and assembly of parts. Summary of the invention

[0004] The present invention provides a semantic-based method for rapid assembly of parts, aiming at the problems that existing complex equipment has many assembly parts, traditional physical assembly methods have a long cycle, and in the actual production process, it is easy for assembly parts that do not meet the assembly quality requirements to occur, resulting in extended working hours and increased costs.

[0005] A semantic-based rapid assembly method for components includes the following steps:

[0006] Step 1: Carry out information modeling of parts and determine the framework for building the part information model;

[0007] Step 2: quickly assign part information and build a part information model, wherein the part information includes geometric properties, physical properties and assembly features of the part;

[0008] Step 3: Based on the part information model, define the semantic expression structure of assembly features and build dynamic links between parts;

[0009] Step 4: According to the semantic expression of the part, parse the semantics of the assembly features contained in the part and define the semantic practice standards of the assembly features;

[0010] Step 5: Design the assembly semantics-driven process based on the semantic expression and analysis results;

[0011] Step 6: According to the semantic driving results, match and infer the inherent constraint information of the assembly semantics, build a link bridge between the assembly semantics and the constraint relationship, and establish a matching relationship based on the assembly constraint information;

[0012] Step 7: Adjust and transform the part posture according to the matching relationship, complete the generation of assembly constraints of the parts in the virtual environment, and realize automatic assembly.

[0013] The above technical solution of the present invention has at least the following beneficial effects:

[0014] In the semantic-based rapid assembly method of parts of the present invention, according to the parameterized expression method of the part feature structure, the part information model and the assembly feature semantic expression structure are established, and its practice standard is defined according to the feature semantic expression, and then the semantic information to be retrieved is determined, the assembly semantic driving process is designed, and the inherent constraint information contained in the reasoning assembly semantics is matched, and a link bridge between the assembly semantics and the constraint relationship is built to achieve rapid assembly between parts in a virtual environment. The present invention ensures that assembly positioning information is quickly obtained in a virtual environment, and various assembly constraints between parts are reasonably expressed, so that the assembly efficiency of complex parts in a virtual environment is significantly improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 A flowchart of a method for rapid assembly of parts based on semantics according to an embodiment of the present invention;

[0016] Figure 2 A framework for constructing a part information model in an embodiment of the present invention;

[0017] Figure 3 is a hierarchical expression relationship of the parts assembly features in the embodiment of the present invention;

[0018] Figure 4 This is a flowchart of semantic-driven design in an embodiment of the present invention;

[0019] Figure 5 Schematic diagram of the coordinate system for part posture transformation in an embodiment of the present invention;

[0020] Figure 6 It is a schematic diagram of information of parts to be assembled in a CNC machine tool in an embodiment of the present invention. DETAILED DESCRIPTION

[0021] In order to more clearly describe the technical problems, technical solutions and advantages to be solved by the present invention, a detailed description is given below in conjunction with the accompanying drawings and specific embodiments.

[0022] The present invention provides a method for rapid assembly of parts based on semantics. The method establishes a semantic expression method for assembly features according to a part information model, selects assembly parts, extracts and converts the semantic information contained therein, completes semantic expression, and thereby matches the semantics to generate assembly feature pairs; the assembly position of the parts is inferred based on the feature pairs and assembly constraint information is generated to complete the semantic automatic assembly of the parts.

[0023] like Figure 1 As shown, an embodiment of the present invention provides a method for rapid assembly of parts based on semantics, comprising the following steps:

[0024] Step 1: Carry out information modeling of parts and determine the framework for building part information models based on geometric properties, physical properties and assembly features.

[0025] In the above embodiment of the present invention, the part information model building framework in step 1 is the data basis for product assembly process and motion simulation, which is specifically described as follows: Figure 2 As shown;

[0026] Among them, geometric characteristics refer to information related to the actual structure of the product. Geometric characteristics determine the geometric size and shape of parts and assemblies, and also determine the position and posture of parts in the assembly; physical characteristics are manifested as part material type, mass, moment of inertia, etc., which are mainly stored in part attributes in the form of numerical values; assembly features are an extended expression of geometric constraint information on part points, lines, and surfaces, including part assembly relationship information and assembly constraint information. Assembly relationship information refers to the spatial relative position and matching relationship between parts; assembly constraint information refers to the mutual constraint relationship between parts in an assembly.

[0027] Step 2: Quickly assign part information to realize the rapid construction of part information model, where the part information includes the aforementioned geometric properties, physical properties and assembly features of the part.

[0028] Step 3: Based on the part information model, define the semantic expression structure of assembly features and build dynamic links between parts. This step semantically expresses the parts, builds dynamic links between assembly parts, and simplifies the virtual assembly process.

[0029] According to the specific content of the part information model, after the 3D model of the part to be assembled is completed, various relevant information including part name, assembly features, feature association and other semantic assembly requirements are given to it;

[0030] The constraint relationship between corresponding assembly parts is expressed based on semantics. The semantic expression structure of the defined assembly features is: based on the geometric structure of the model and the assembly relationship, assembly constraints are generated to reflect information such as assembly matching type, assembly hierarchy, and assembly rules.

[0031] The expression of part assembly features based on semantics can represent various information of parts in a hierarchical manner, which is conducive to describing various relationships between parts and facilitating the storage and reasoning of design information by computers. Figure 3 As shown, it includes a geometric layer, a relationship layer and a constraint layer. The geometric layer includes shape types, geometric dimensions and geometric elements, where the geometric elements include entities, surfaces, boundaries and vertices. The relationship layer includes connection, coordination, motion and position. The constraint layer includes constraint rules and constraint information.

[0032] According to the part feature expression structure and assembly feature hierarchy, the specific content of semantic expression is established:

[0033] Assembly Feature (AF) = {GS ∪ AR ∪ AC};

[0034] GS (Geometric Structure) represents the geometric information of the part, and the specific parameterized expression is:

[0035] GS={Si,Zp,Lp,Lw};

[0036] Among them, Si is the part size information, Zp is the center positioning description, Lp is the circumferential positioning description, and Lw is whether there is a thread and thread features;

[0037] AR (Assembly Relationship) represents assembly relationship information, and its specific parameterized expression is:

[0038] AR={Pr,Cp,Pl};

[0039] Among them, Pr is the feature number, Cp is the associated matching part, and Pl is the spatial position;

[0040] AC (Assembly Constraints) represents assembly constraint information, which is expressed in parameter form as follows:

[0041] AC={Ct,Gc,Pv};

[0042] Among them, Ct is the constraint type information, Gc is the constraint geometric element, and Pv is the assembly parameter value;

[0043] Step 4: According to the semantic expression of the parts, parse the feature semantics contained in the parts, and define the assembly feature semantic practice standards according to the different assembly connection and matching methods of the parts.

[0044] Among them, the practical standard for assembly feature semantics is: two or more parts have the same feature semantics, can form assembly feature pairs, and form a mutual constraint relationship.

[0045] The assembly semantics analysis in step 4 plays an important role in connecting the previous and the next steps. The primary purpose of analyzing the assembly semantics is to decompose it into an assembly language that can be processed by a computer.

[0046] Step 5: Design the assembly semantics-driven process based on the semantic expression and analysis results.

[0047] According to the principle of automatic addition of semantic assembly constraints, the assembly semantics driven process is designed, such as Figure 4 As shown;

[0048] Firstly, the assembly features of reference parts and assembly parts in the virtual environment are extracted and transformed to obtain semantic hierarchical expression information.

[0049] Furthermore, for the parts to be assembled, the code is used to traverse the information contained therein; wherein the traversed resources include information such as geometric dimensions, assembly features, postures and constraints;

[0050] According to the semantic expression method, common assembly constraint relationships are semantically decomposed;

[0051] Divide the parts to be assembled and determine the reference parts and assembly parts;

[0052] Extract the assembly features, positions and constraint relationships between conversion reference parts and assembly parts, and obtain semantic hierarchical expression information.

[0053] Secondly, the semantic hierarchical expression information is retrieved and matched with the information in the assembly semantic library to generate corresponding assembly feature pairs; the assembly semantic library refers to the semantic code database containing mapping information pre-input through UG secondary development.

[0054] Then, the posture state of the assembly is inferred from the assembly feature pair, and the constraint information is matched from the assembly constraint library; wherein, the assembly constraint library refers to the constraint type, which is used to establish matching constraints for related parts with assembly relationships. The contents of the assembly constraint library are shown in Table 1.

[0055] Finally, the assembly constraint relationship between the reference parts and the assembly parts in the virtual environment is established according to the constraint information to complete the rapid assembly.

[0056] Table 1 Semantic assembly constraint types

[0057]

[0058] Step 6: According to the semantic driving results, match and infer the inherent constraint information of the assembly semantics, build a link bridge between the assembly semantics and the constraint relationship, and establish a matching relationship based on the assembly constraint information;

[0059] Step 7: Adjust and transform the part posture according to the matching relationship, complete the generation of assembly constraints of the parts in the virtual environment, and realize automatic assembly.

[0060] In this step, the position and posture of the parts are adjusted according to the semantic driving results so that they meet the assembly position after semantic matching and achieve accurate matching between parts.

[0061] The displacement change of parts in virtual assembly is mainly reflected by the coordinate position transformation. Specifically, the adjustment and transformation of the part position according to the matching relationship includes the following steps:

[0062] According to the coordinates of the part in the relative coordinate system r'=[x1,y1,z1] T , the coordinates in the absolute coordinate system r = [x, y, z] T And the origin of the two coordinate systems corresponds to the vector coordinate r c =[x c ,y c ,z c ] T The corresponding vector relationship is

[0063] The rotation matrix between the relative coordinate system and the absolute coordinate system is recorded as L, and the part matrix transformation expression is obtained: r = r c +L T r', that is

[0064] The part pose and posture are represented by a 4×4 pose matrix [P];

[0065] Among them, X r , Y r , Z r is the direction vector of the part coordinate system relative to the assembly coordinate system, (X s ,Y s ,Z s ) is the relative coordinate origin of the part in the assembly coordinate system;

[0066] Determine the relative position information of the assembly parts based on semantic analysis and matching;

[0067] After matrix transformation, the pose matrix [P]' can be obtained, the formula is: [P]'=[M][P];

[0068] Where [M] is the transformation matrix, and

[0069] In the transformation matrix, (X v ,Y v ,Z v ) is the translation component of the assembly parts along the three coordinate axes, and the vector (X i ,Y i ,Z i ) reflects the rotation of the parts during the transformation process, where i = 1, 2, 3;

[0070] By semantically reasoning about assembly constraint types and constraint geometric objects, assembly constraint relationships are constructed, and the addition of constraint information of parts in a virtual environment is completed to achieve automatic assembly.

[0071] by Figure 5 Taking a connecting screw in the figure as an example, its position transformation is deduced;

[0072] In the figure, X, Y, and Z are absolute coordinate systems, and X1, Y1, and Z1 are relative coordinate systems, and the coordinate systems X1, Y1, and Z1 move relative to the coordinate systems X, Y, and Z;

[0073] Point M is the center of mass of the screw, and its coordinates in the X1, Y1, Z1 coordinate system are r'=[x1,y1,z1] T , the coordinate in the X, Y, Z coordinate system is r = [x, y, z] T , the coordinate of the origin of the X1, Y1, Z1 coordinate system in the X, Y, Z coordinate system is r c =[x c ,y c ,z c ] T ;

[0074] The corresponding vector relationship is:

[0075] The rotation matrix of coordinate system X1, Y1, Z1 relative to coordinate system X, Y, Z is L, then the above formula can be converted into a matrix expression: r = r c +L T r';

[0076] Right now This formula is the matrix transformation from the moving coordinate system to the static coordinate system;

[0077] According to the inverse transformation, That is the matrix transformation from the static coordinate system to the dynamic coordinate system.

[0078] This embodiment determines the part information model construction framework, establishes a parametric expression method for component assembly features based on assembly semantics, and designs a semantic-driven process. It traverses the semantic information, performs matching reasoning on the semantics, generates assembly constraints, determines the final position of the parts, and completes semantic automatic assembly, effectively improving the efficiency of part assembly.

[0079] The present invention is further explained below in conjunction with specific examples.

[0080] When verifying the present invention by examples, the NXOpen C / C++ development tool can be used to develop a semantic rapid assembly method in a virtual environment based on the UG (Unigraphics NX) software platform to verify the relevant technology by examples.

[0081] Secondary development is carried out based on the UG platform. By setting up an interactive interface for adding part information, manual input is performed to quickly assign part information and realize the rapid construction of information models. According to the semantic expression method of assembly features, the semantic code containing mapping information and the semantic assembly constraint type are pre-entered into the assembly semantic database and constraint database respectively. After completing the selection of reference parts and assembly parts, the semantic information contained in each part is traversed using the relevant function code to obtain the relevant assembly semantic elements, and the features with the same semantic elements are combined into assembly feature pairs, which are matched and reasoned with the information in the database to determine the part assembly constraint type and constraint geometric object, automatically specify the assembly position between the assembly part and the reference part, and construct the assembly constraint relationship to realize semantic rapid assembly.

[0082] Below Figure 6 The analysis is carried out by taking the parts to be assembled in the CNC machine tool shown as an example. In the figure, 1 to 8 are part numbers, F1 to F4 are positioning reference surfaces, and AX1 to AX5 are part axes.

[0083] First, specify the reference parts and assembly parts. The reference parts serve as the positioning and movement reference of the assembly, and determine the accuracy of the overall assembly of the model;

[0084] Second, obtain assembly semantic elements. Traverse the multi-attribute information contained in the reference part and the assembly part, obtain the relevant assembly semantic elements, and combine the features with the same semantics into assembly feature pairs, and process the semantic information contained in them; among them, between the reference part 2 and the assembly parts 1 and 3, based on the AP center positioning description and the LP circumferential positioning description, match and generate assembly feature pairs: (AX1∪AX4), (AX2∪AX3∪AX5), (F3∪F4) and (F1∪F2);

[0085] Third, matching and generating assembly constraints. The assembly constraint type and constraint geometric object are inferred by semantic AC, the assembly position between the assembly parts and the reference parts is automatically specified, and the assembly constraint relationship is constructed. The specific constraint relationship is shown in Table 2:

[0086] Table 2 Semantic assembly operation constraint information

[0087]

[0088] Fourth, based on the functions related to assembly constraints in NXOpen C++, the constraint information of parts is added in the virtual environment to achieve automatic assembly.

[0089] In the semantic-based rapid assembly method of parts of the present invention, according to the parameterized expression method of the part feature structure, the part information model and the assembly feature semantic expression structure are established, and its practice standard is defined according to the feature semantic expression, and then the semantic information to be retrieved is determined, the assembly semantic driving process is designed, and the inherent constraint information contained in the reasoning assembly semantics is matched, and a link bridge between the assembly semantics and the constraint relationship is built to achieve rapid assembly between parts in a virtual environment. The present invention ensures that assembly positioning information is quickly obtained in a virtual environment, and various assembly constraints between parts are reasonably expressed, so that the assembly efficiency of complex parts in a virtual environment is significantly improved.

[0090] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0091] The above-mentioned embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

Claims

1. A semantic-based rapid assembly method for components, characterized in that: The following steps are involved: Step 1: Carry out information modeling of parts and determine the framework for building the part information model; Step 2: quickly assign part information and build a part information model, wherein the part information includes geometric properties, physical properties and assembly features of the part; Step 3: Based on the part information model, define the semantic expression structure of the assembly features and build dynamic links between parts; the semantic expression structure of the defined assembly features is as follows: Assembly features = {GS ∪ AR ∪ AC}; GS represents the part geometry information, and the specific parameterized expression is: GS = {Si, Zp, Lp, Lw}; Among them, Si is the part size information, Zp is the center positioning description, Lp is the circumferential positioning description, and Lw is whether there is a thread and thread features; AR represents assembly relationship information, and its specific parameterized expression is: AR = {Pr, Cp, Pl}; Among them, Pr is the feature number, Cp is the associated matching part, and Pl is the spatial position; AC represents assembly constraint information, and its specific parameterized expression is: AC = {Ct, Gc, Pv}; Among them, Ct is the constraint type information, Gc is the constraint geometric element, and Pv is the assembly parameter value; Step 4: According to the semantic expression of the parts, the assembly feature semantics contained in the parts are parsed, and the assembly feature semantic practice standard is defined. The assembly feature semantic practice standard is: two or more parts have the same feature semantics, can form an assembly feature pair, and form a mutual constraint relationship; Step 5: Design an assembly semantics-driven process based on the semantic expression and analysis results; the assembly semantics-driven process includes the following steps: Extract and transform the assembly features of reference parts and assembly parts in the virtual environment to obtain semantic hierarchical expression information; Retrieve and match the semantic hierarchical expression information with the information in the assembly semantic library to generate corresponding assembly feature pairs; Inferring the posture state of the assembly from the assembly feature pair, and matching constraint information from the assembly constraint library; Establishing an assembly constraint relationship between the reference part and the assembly part in a virtual environment according to the constraint information; Step 6: According to the semantic driving results, match and infer the inherent constraint information of the assembly semantics, build a link bridge between the assembly semantics and the constraint relationship, and establish a matching relationship based on the assembly constraint information; Step 7: Adjust and transform the part posture according to the matching relationship, complete the generation of assembly constraints of the parts in the virtual environment, and realize automatic assembly.

2. A semantic-based rapid assembly method for parts according to claim 1, characterized in that: Adjusting and transforming the part pose according to the matching relationship includes the following steps: According to the coordinates of the part in the relative coordinate system r'=[x1,y1,z1] T , the coordinates in the absolute coordinate system r = [x, y, z] T And the origin of the two coordinate systems corresponds to the vector coordinate r c =[x c ,y c ,z c ] T The corresponding vector relationship is The rotation matrix between the relative coordinate system and the absolute coordinate system is recorded as L, and the part matrix transformation expression is obtained: r = r c +L T r', that is The part pose and posture are represented by a 4×4 pose matrix [P]; Among them, X r , Y r , Z r is the direction vector of the part coordinate system relative to the assembly coordinate system, (X s ,Y s ,Z s ) is the relative coordinate origin of the part in the assembly coordinate system; Determine the relative position information of the assembly parts based on semantic analysis and matching; After matrix transformation, the pose matrix [P]' can be obtained, the formula is: [P]'=[M][P]; Where [M] is the transformation matrix, and In the transformation matrix, (X v ,Y v ,Z v ) is the translation component of the assembly parts along the three coordinate axes, and the vector (X i ,Y i ,Z i ) reflects the rotation of the parts during the transformation process, where i = 1, 2, 3; By semantically reasoning about assembly constraint types and constraint geometric objects, assembly constraint relationships are constructed, and the addition of constraint information of parts in a virtual environment is completed to achieve automatic assembly.