Knowledge-driven mechanical part machining process model construction method and system
By constructing a structured process knowledge base and using feature recognition technology, the automated construction of machining process models for mechanical parts is achieved, solving the problem of low efficiency in mechanical part process design and enabling rapid reuse of process solutions and efficient automated modeling.
Patent Information
- Application Number
- CN202611207685.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-11
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2046-08-11
AI Technical Summary
In the existing technology, the process design of mechanical parts is inefficient, cannot reuse the process solutions of typical parts, and the design relies on manual feature recognition and modeling operations. It lacks automation, resulting in a lot of repetitive work, low design efficiency and easy human error.
By constructing a knowledge-driven machining process model for mechanical parts, and utilizing a structured process knowledge base to automate feature recognition, process arrangement, and modeling, a standardized machining process flow is generated by extracting common and different process knowledge, breaking the strong binding of CAD kernel IDs and enabling rapid reuse of process solutions.
It significantly improves the efficiency and flexibility of process design, reduces repetitive operations, increases the automation level of process design, reduces the rate of human error and the cost of trial and error in processing, and the reuse rate of process solutions can reach more than 90%.
Smart Images

Figure CN122736278B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer-aided machining technology, and in particular to a knowledge-driven method and system for constructing machining process models for mechanical parts. Background Technology
[0002] The statements in this section are merely background information related to the present invention and do not necessarily constitute prior art.
[0003] In the field of machining, the process design of mechanical parts is a crucial step in the production process. In traditional process design workflows, such as... Figure 1 As shown, the construction of process models mainly relies on designers manually completing feature recognition, machining surface selection, process arrangement, and 3D modeling operations. The generation and execution of process schemes are strongly bound to the unique part IDs generated by the CAD kernel. However, process schemes for similar parts often contain the same processes and allowances, differing only in a few machining parameters. Due to limitations imposed by the CAD kernel, different part models have different topological IDs in the CAD kernel, meaning that the process schemes completed for the previous part cannot be directly reused for the next structurally similar part of the same type. Designers need to repeatedly perform feature recognition, process arrangement, and modeling operations, generating a large amount of repetitive work and significantly reducing process design efficiency. Furthermore, currently, process design and modeling operations are separated, making it impossible to automatically generate modeling instructions. The transfer between process models and processes still requires manual processing, resulting in a low overall level of automation and making it difficult to meet the needs of efficient and standardized process design. Summary of the Invention
[0004] To address the problems of existing technologies, such as the inability to reuse typical part process schemes, low design efficiency, and lack of automation, this invention provides a knowledge-driven method and system for constructing machining process models for mechanical parts. By analyzing the commonalities and differences in machining characteristics, extracting general process knowledge, and establishing the binding relationship between features and processes, automated process arrangement and modeling can be achieved, which can significantly improve the efficiency and flexibility of process design.
[0005] Firstly, this invention provides a knowledge-driven method for constructing a machining process model for mechanical parts.
[0006] A knowledge-driven method for constructing a machining process model for mechanical parts includes: A process knowledge base for machining various types of typical mechanical parts is pre-built, including a typical process library, a process resource library, and a feature database; Obtain the parts to be processed, and determine the corresponding typical part types and processing attribute requirements in the typical process library; Extract the topology of the part to be processed and identify the processing features according to the preset division rules in the feature database of the corresponding typical types; For all identified processing features, they are divided into primary feature groups according to processing direction and secondary feature groups according to geometric attributes and processing attributes. Based on the feature grouping results, the matching processing method chain is called from the process resource library, the feature processing methods are generated and arranged to form a complete processing process flow and generate a modeling instruction sequence; The processing procedure model is automatically constructed based on the instruction sequence. The model of the previous procedure is used as the blank model for the next procedure. After completion, the process plan and procedure model are stored in the process knowledge base.
[0007] A further technical solution is that the typical process library is stored according to typical part types and consists of multiple data tables, each corresponding to a typical part type; each data table contains multiple Boolean type attribute fields and multiple process scheme objects, each process scheme object corresponds to a unique set of attribute field combinations; the process scheme object contains a set of machining process schemes and a set of arrangement rule IDs, and the machining process scheme contains process information used to construct the process list; The process resource library includes an arrangement rule table, a method chain library, and a process parameter library. Each arrangement rule ID points to a unique arrangement rule table within the process resource library. The arrangement rule table is a two-dimensional table containing multiple columns of data, including primary feature groups, secondary feature groups, feature processing methods, arrangement operation names, arrangement operation order, and arrangement priority. The method chain library stores the standard processing method chains corresponding to each feature. The process parameter library stores standard process parameters for various types of processing, including cutting allowance and surface roughness. The feature database contains geometric determination rules and processing attribute requirements for various processing features, which are used to provide a standard basis for feature recognition.
[0008] A further technical solution, the identification of the processing features, includes: Obtain the 3D model of the part to be processed, perform a global traversal of all geometric surfaces of the part to be processed, and extract the topological structure of the part; Based on the part's topology, the system calls the preset geometric judgment rules in the feature database of the corresponding typical type to match and judge the part's topology, and automatically identifies the standard machining features that meet the processing requirements. The machining features include: plane, large plane, hole, groove, U-shaped groove, L-shaped groove, annular groove, spherical groove, outer circle, fillet, chamfer, and outer contour.
[0009] A further technical solution involves dividing all machining features into primary feature groups based on machining direction and secondary feature groups based on geometric and machining attributes, including: Determine the main machining axis of the part to be processed. For all identified machining features, calculate the dot product of the feature direction and the main machining axis. Based on the dot product and the part type, divide the features into first-level feature groups, including front feature group, back feature group, and surrounding feature group. Within the same feature group, consistency checks are performed based on feature type, geometric attributes, and processing attributes. Features with the same type, consistent geometric dimensions, and identical processing attributes are merged into a secondary feature group to form a structured feature grouping result.
[0010] A further technical solution involves, based on the feature grouping results, calling the matching processing method chain from the process resource library to generate feature processing methods, including: Based on the feature grouping results, obtain the first-level feature group, the second-level feature group, and geometric and processing attribute information; Based on the acquired first- and second-level feature group types, geometric and processing attribute combinations, the appropriate standard processing method chain is retrieved from the method chain library and associated with the corresponding process parameters to form a feature processing method sequence that can be directly used for process orchestration.
[0011] A further technical solution involves arranging the feature processing methods to form a complete processing flow and generating a sequence of modeling instructions, including: Based on the identified typical part types and processing attribute requirements, match the corresponding process scheme objects and their arrangement rule IDs from the typical process library; Based on the arrangement rule ID, the corresponding arrangement rule table is retrieved from the process resource library. Based on the first-level feature group, the second-level feature group and the processing method chain, multi-condition filtering and matching are performed in the arrangement rule table to determine the process name, process order and arrangement priority of each processing method. Each processing method chain is automatically associated with the corresponding process node, and then sorted twice according to the arrangement order and arrangement priority to form a complete process flow; The process flow is converted into a sequence of modeling instructions and stored in the modeling instruction data pool for subsequent automated modeling.
[0012] Secondly, this invention provides a knowledge-driven mechanical parts processing procedure model construction system.
[0013] A knowledge-driven system for constructing machining process models for mechanical parts includes a pre-built process knowledge base for machining various types of typical mechanical parts, comprising a typical process library, a process resource library, and a feature database; it also includes: The parts information acquisition module is used to acquire the parts to be processed and determine the corresponding typical parts type and processing attribute requirements in the typical process library; The feature recognition module is used to extract the topological structure of the part to be processed and identify the processing features according to the preset division rules in the feature database of the corresponding typical types. The feature segmentation module is used to divide all identified processing features into primary feature groups according to processing direction and secondary feature groups according to geometric attributes and processing attributes. The processing technology generation and orchestration module is used to call the matching processing method chain from the process resource library based on the feature grouping results, generate feature processing methods and then orchestrate them to form a complete processing technology flow and generate a modeling instruction sequence. The automatic process modeling module is used to automatically construct processing process models based on the instruction sequence. The model of the previous process is used as the blank model for the next process. After completion, the process plan and process model are stored in the process knowledge base.
[0014] Thirdly, the present invention also provides an electronic device, comprising: a memory for storing executable instructions; and a processor for implementing the above-described knowledge-driven mechanical parts processing procedure model construction method when executing the executable instructions stored in the memory.
[0015] Fourthly, the present invention also provides a computer-readable storage medium storing executable instructions for causing a processor to execute the executable instructions to implement the above-described knowledge-driven mechanical parts processing procedure model construction method.
[0016] Fifthly, the present invention also provides a computer program product, which includes executable instructions stored in a computer-readable storage medium; wherein, when the processor of the electronic device reads the executable instructions from the computer-readable storage medium and executes the executable instructions, the above-mentioned knowledge-driven mechanical parts processing procedure model construction method is implemented.
[0017] The above one or more technical solutions have the following beneficial effects: This invention provides a knowledge-driven method and system for constructing machining process models for mechanical parts. By using a structured process knowledge base to achieve standardized feature recognition and process arrangement, the design of process schemes no longer relies on the personal experience of designers, effectively reducing human error rates and machining trial and error costs. At the same time, it establishes a binding relationship between extracted features and processes, realizing automated process arrangement and modeling. This breaks the traditional strong binding method between process schemes and CAD kernel IDs, enabling rapid reuse of process schemes for typical parts. It completes the full-process automation from feature recognition to process model generation, integrating process design and modeling operations, reducing repetitive manual modeling operations, lowering the professional threshold for process design, and solving the problems of inability to reuse process schemes for typical parts, low design efficiency, and lack of automation in existing technologies. It can significantly improve the efficiency and flexibility of process design.
[0018] Advantages of additional aspects of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description
[0019] The accompanying drawings, which form part of this invention, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an improper limitation of the invention.
[0020] Figure 1 A flowchart for designing the machining process of existing mechanical parts; Figure 2 This is a flowchart of a knowledge-driven mechanical parts processing procedure model construction method in an embodiment of the present invention; Figure 3 This is a flowchart of automatic feature grouping in an embodiment of the present invention; Figure 4 This is a three-dimensional structural diagram of the design model of the mechanical part to be processed imported in the embodiment of the present invention; where (a) is part A and (b) is part B; Figure 5 This is a schematic diagram of the structure of the blank model constructed in an embodiment of the present invention; where (a) is part A and (b) is part B; Figure 6 This is a schematic diagram of the identification features in an embodiment of the present invention; where (a) is part A and (b) is part B; Figure 7 This is a schematic diagram of the identification feature grouping results in an embodiment of the present invention; where (a) is part A and (b) is part B; Figure 8 This is a schematic diagram of the method chain reasoning result in an embodiment of the present invention; where (a) is part A and (b) is part B; Figure 9 This is a schematic diagram of the process arrangement result for part A in an embodiment of the present invention; Figure 10 This is a schematic diagram of the process arrangement result of part B in an embodiment of the present invention; Figure 11 This is a schematic diagram of the modeling effect of the final process model in the embodiment of the present invention; where (a) is part A and (b) is part B. Detailed Implementation
[0021] It should be noted that the following detailed descriptions are exemplary and are intended only to describe specific embodiments and to provide further explanation of the invention, and are not intended to limit the scope of exemplary embodiments of the invention. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. Furthermore, it should be understood that when the terms "comprising" and / or "including" are used in this specification, they indicate the presence of features, steps, operations, devices, components, and / or combinations thereof.
[0022] Example 1 As pointed out in the background section, different part models generate different ID information in the CAD kernel due to their different topological structures. Existing process design schemes are strongly bound to part IDs, which means that part feature information and machining process schemes cannot be reused in multiple parts. Process design relies entirely on manual completion of feature recognition, machining surface selection, and process arrangement, resulting in low design efficiency. Furthermore, the standardization of process scheme design depends on the professional experience of designers, which is prone to human error. There is no reference basis for the process design of similar parts, resulting in a lot of repetitive design work and high trial and error costs. In addition, the process scheme is separated from the modeling operation, making it impossible to achieve automated modeling after process arrangement. The repetitive operation in the modeling process further reduces design efficiency.
[0023] To address the aforementioned issues, this embodiment provides a knowledge-driven method for constructing machining process models for mechanical parts. Leveraging the deep integration of SVMAN-M software and the CAPP process design platform, it automates the entire process from process knowledge extraction, feature recognition and grouping, process arrangement to process model generation. Its core principle is to replace CAD kernel ID binding with geometric feature matching, enabling the reuse of process solutions. For example... Figure 2 As shown, the method proposed in this embodiment specifically includes the following steps: Step S1: Pre-construct a process knowledge base for machining various types of typical mechanical parts. This process knowledge base includes a typical process library, a process resource library, and a feature database.
[0024] Specifically, firstly, the machining processes of several typical parts of the same type are analyzed in depth to identify the commonalities and differences in their machining characteristics, process parameters, and process models. General process knowledge applicable to all parts of this type is extracted to form the foundation of a knowledge base. Furthermore, the analysis results are structured to obtain: all standard processes involved in the machining of these parts; the feature groups / feature types that need to be processed in each process; the standard machining methods corresponding to each feature group / feature; and the process parameters such as roughing allowance, finishing allowance, and surface roughness corresponding to each process / machining method.
[0025] Then, based on the aforementioned knowledge base, a structured process knowledge base is constructed within the CAPP platform. This knowledge base consists of three parts: a typical process library, a process resource library, and a feature database. It enables structured storage and efficient matching of processing features, process parameters, and process models. The specific configuration rules are as follows: 1) Typical process library: It consists of multiple data tables, each corresponding to a typical part type; each data table contains multiple Boolean type attribute fields and multiple process scheme objects. The target process scheme object can be accurately found by arranging and combining attribute fields, and each process scheme object corresponds to a unique set of attribute field combinations; the process scheme object contains a complete set of machining process schemes and a set of arrangement rule IDs, where the machining process scheme contains process information used to construct the process list.
[0026] 2) Process Resource Library: Stores the arrangement rule table, method chain library, and process parameter library. The arrangement rule ID points to a unique arrangement rule table in the process resource library. The arrangement rule table is a two-dimensional table containing columns such as: primary feature group, secondary feature group, feature processing method, arrangement process name, arrangement process order, and arrangement priority. Logically, it supports filtering by any single column or combination of multiple columns. The method chain library stores the standard processing method chain corresponding to each feature, and the process parameter library stores the default allowance, roughness, and other parameters for various processing.
[0027] 3) Feature Database: Stores the geometric determination rules and processing attribute requirements of all supported processing features, providing a standard basis for feature recognition.
[0028] Step S2: Obtain the part to be processed and determine the corresponding typical part type and processing attribute requirements in the typical process library.
[0029] Specifically, acquire the parts to be processed and their related information, and based on the type and processing characteristics of the parts, complete the initialization settings of typical part types and process parameters in SVMAN-M, including: First, after the SVMAN-M system receives the user's initialization settings click event, it requests all part types in the typical process library from the CAPP platform backend and displays them in the front-end drop-down box. Secondly, after selecting the typical part type corresponding to the part to be processed, the system re-requests all custom attribute fields under that part type and displays them in the front-end table in the form of a multi-select list. Finally, based on the actual processing requirements of the parts to be processed, select the attribute fields, configure the process parameters (such as roughing allowance, roughness threshold, processing equipment model, etc.), complete the initialization settings, and the system will synchronize the settings results to the CAPP platform.
[0030] As another implementation method, other indexing methods can also be used to select typical part types and set parameters, including but not limited to the following: 1) Sequence Index: A unique numerical sequence number is assigned to each part type in the typical process library of the CAPP platform. Users can select the part type by directly entering the sequence number. Attribute fields can automatically match default values according to the sequence number, and users can manually modify them. 2) ID Index: A unique character ID is assigned to each part type. The user enters the ID to complete the part type selection. The rest of the process is the same as the serial number index. 3) Keyword search: Set up a keyword search box on the front end. Users can enter keywords related to the part type (such as "inner shell" or "shaft"). The system will automatically match the part types in the typical process library and display the corresponding attribute fields.
[0031] Step S3: Extract the topology of the part to be processed and identify the processing features according to the preset division rules in the feature database of the corresponding typical type.
[0032] Specifically, in the CAPP platform, based on the geometric information of the acquired 3D CAD model of the part to be processed, and combined with the preset standard rules in the CAPP platform feature database, geometric feature matching replaces CAD kernel ID recognition to automatically identify the processing features of the part, laying the foundation for subsequent grouping and reasoning. The process is as follows: First, the processing features supported in this embodiment are defined, including: plane, large plane, hole, groove, U-shaped groove, L-shaped groove, annular groove, spherical groove, outer circle, fillet, chamfer, outer contour, etc. After the system receives the user's feature recognition command, the SVMAN-M client initiates a recognition request, traverses all geometric surfaces of the part in the CAD kernel layer, and obtains and analyzes the topology of the part. Then, according to the geometric determination rules in the feature database, for example, for a plane, the normal vectors of the surface are consistent and the flatness error is ≤0.01mm; for a hole, it is a cylindrical surface and the hole diameter / hole depth ratio is in the range of 1:1 to 1:10; in this way, the topology of the part is analyzed and the machining features of the part are planned. Finally, the identified processing features are displayed in a tree structure in the feature tree of the user interface. The feature tree contains basic information such as the geometric attributes and orientation attributes of the features.
[0033] By identifying part processing features through the aforementioned preset geometric determination rules, it can replace the traditional CAD kernel ID recognition and achieve standardized feature recognition and matching.
[0034] Step S4: For all identified processing features, divide them into primary feature groups according to processing direction and secondary feature groups according to geometric attributes and processing attributes.
[0035] Specifically, based on the identified processing features and part types, primary features are grouped and secondary features are grouped according to process requirements. The grouping process fully considers the geometry, orientation, and processing attributes of the features to ensure that reusable typical process solutions can be flexibly adjusted between different parts, thus solving the problem of integrating the processing attributes of secondary feature groups.
[0036] In this embodiment, as Figure 3 As shown, the process of grouping the first and second level features is as follows: After receiving the user's automatic grouping command, the automatic grouping algorithm is invoked. This algorithm is developed based on C++ and includes: First, acquire all identified features, calculate the dot product (dot) between the feature processing direction and the main processing axis, and then group the features into primary feature groups based on the dot value. Specifically, the primary feature grouping process is as follows: Define the following variables: For the first Each processing feature corresponds to a unit normal vector on the reference plane, satisfying the vector magnitude constraint. ; For the first The calculated dot product of the surface normal of each feature with the main machining axis. ; 1) Determine the main machining axis and define it. Let be the unit direction vector of the machine tool's main machining axis, satisfying , At the same time, define For the first Each processing feature corresponds to a unit normal vector on the reference plane, satisfying the vector magnitude constraint. The dot value is calculated by multiplying the feature machining direction with the main machining axis. The formula for this dot product is: ; In the above formula, For the first The calculated dot product of the surface normal of each feature with the main machining axis. .
[0037] In this embodiment, the geometric center axis of the part blank is used as the main machining axis by default. If the blank has no center axis, the direction of the edge with the largest size of the blank is used as the main machining axis. Users can manually adjust it according to actual processing needs.
[0038] 2) Based on the calculated dot values, determine and classify the first-level features. The formula is as follows: ; In the above formula, The threshold for determining whether the normal is perpendicular to the principal axis (a preset process constant, preferably) is set. It can be adaptively adjusted according to the part's machining process. In this embodiment, for ease of description, it is selected as... ,like Figure 3 (as shown); This is a first-level grouping mapping function that outputs the first-level group number to which the feature belongs. For positive features, For negative features, Features of the surrounding area.
[0039] Next, after completing the first-level grouping of all features using the above method, the geometric and processing attributes of the features are extracted, and the second-level feature groups are merged based on these dual attributes. In this embodiment, the rule for dividing the second-level feature groups is as follows: within the same first-level feature group, features are first classified by feature type, and then features of the same type undergo dual verification of geometric and processing attributes. Features with consistent geometric attributes (such as hole depth, hole diameter, etc.) and consistent processing attributes (such as roughness, roughing allowance, etc.) are grouped into the same second-level feature group; otherwise, if no feature with consistent dual attributes exists, a new second-level feature group is created for that feature. Furthermore, this second-level feature group division can be expressed as: ; ; ; ; In the above formula, , For the same first-level group The first The, the One feature to be classified; These correspond to the front, back, and surrounding first-level groups, respectively. Features A normalized geometric attribute vector, whose elements include geometric dimensional parameters such as feature aperture, groove depth, and corner radius. ; Features A normalized machining attribute vector, where vector elements include process parameters such as machining tool type, machining process, and dimensional tolerances. ; For geometric attribute similarity, For processing attribute similarity weights, weight constraints ; Features and Geometric similarity To process attribute similarity, The similarity is calculated based on both attributes. The threshold for determining the merging of secondary groups; This is a mapping function for second-level group numbering.
[0040] Using the above formula, geometric attribute similarity and processing attribute similarity are calculated for features of the same type within the same feature group. Then, a weighted fusion of the two similarities is calculated to obtain a weighted dual-attribute comprehensive similarity, with the corresponding similarity value range. The closer the value is to 1, the higher the consistency of the corresponding attributes of the two features; based on this, similarity comparison is only performed within the same first-level feature group, and when the comprehensive similarity is greater than or equal to a preset threshold... At this time, the two features are merged into the same secondary feature group. Additionally, it should be noted that the weights... With threshold The program provides configurable parameters that can be flexibly assigned in the C++ algorithm code based on product category and processing technology, thereby achieving standardized secondary grouping of features.
[0041] By using the above method, first-level feature groups are divided according to the processing direction, and then second-level feature groups are divided according to both geometric and processing attributes, thus achieving standardized grouping of features.
[0042] Furthermore, the grouping results are synchronously updated to the feature tree. The first-level nodes of the feature tree are the first-level feature groups, the second-level nodes are the second-level feature groups, and the third-level nodes are the specific features, laying the foundation for subsequent processing technology arrangement.
[0043] As another implementation method, feature-process binding can also be achieved without feature grouping in the following way: 1) Omit feature grouping and directly perform feature-level method chain reasoning and process orchestration: After identifying all features, perform method chain reasoning on each feature individually, and then automatically associate and sort the processing methods and processes of each feature. This approach will increase the computational load of the system to some extent, but it can still achieve process orchestration and automated modeling; 2) Simplify grouping by grouping only by processing attributes: omit the division of first-level feature groups and directly group features by processing attributes (such as roughness, roughing allowance, etc.). Then, perform method chain reasoning and process arrangement on features in the same group to simplify the grouping algorithm and reduce workload.
[0044] Step S5: Based on the feature grouping results, call the matching processing method chain from the process resource library, generate feature processing methods, arrange them to form a complete processing process flow, and generate a modeling instruction sequence.
[0045] Specifically, firstly, based on the aforementioned feature grouping results, the corresponding machining method chain is called from the method chain library of the CAPP platform's process resource library to generate a machining method suitable for the current feature. The reasoning process combines the part's geometric information, machining parameters, and expert experience from the knowledge base. Specifically, it includes: Firstly, after receiving the user's automatic reasoning command, collecting all feature grouping information in the feature tree, including first-level / second-level feature group types, feature geometric attributes, machining attributes, etc.; then, sending the grouping information to the CAPP platform, which matches the best machining method chain for the current feature from the method chain library based on the combination of first-level feature group type + feature geometric attributes + machining attributes; next, the CAPP platform sends the matched method chain data + corresponding process parameters (such as allowance, cutting speed, etc.) back to the SVMAN-M client. After parsing the data, the client binds the method chain to the feature and writes it to the corresponding node in the feature tree.
[0046] Next, the processing method chain generated by reasoning is arranged according to the process arrangement order of the CAPP platform process knowledge base to form a complete processing process flow. The process arrangement takes into account the compatibility of processing equipment, the rationality of processing path and the optimality of margin allocation. It supports both automatic and manual arrangement. Both methods will eventually convert the modeling data into a modeling instruction sequence and store it in the modeling instruction data pool.
[0047] In this embodiment, the manual arrangement method is as follows: according to the actual processing technology requirements, in the process tree interface, the processing methods and processes in the method chain of the feature group are manually associated and sorted. After sorting, the system automatically converts all associated modeling data into a modeling instruction sequence, sets the corresponding instruction parameters, and stores it in the modeling instruction data pool.
[0048] As another implementation method, different from the automatic arrangement method through the arrangement rule table of the CAPP platform, the following methods can also be used to realize process arrangement, including: 1) Process orchestration based on machining equipment: Add a machining equipment field to the process knowledge base, bind the machining method to the machining equipment, and sort the process according to the machining sequence of the machining equipment (such as lathe → milling machine → drilling machine) to realize the automation of process orchestration; 2) Process orchestration based on processing path: The priority of processing paths with preset features is set in the process knowledge base. During process orchestration, the processing paths are sorted according to the rules of from near to far and from outside to inside, so as to realize the association between processing methods and processes.
[0049] Specifically, upon receiving the automatic orchestration instruction, the entire process is automated and orchestrated, including: 1) Based on the typical part types and parameters set in step S3, send an arrangement request to the CAPP platform; 2) The CAPP platform selects a unique process solution object and a matching arrangement rule ID from the typical process library based on the part type and attribute field combination, and returns it to the SVMAN-M client; 3) The client first applies the process information from the process scheme object to the local process tree to generate a standard process list; 4) The client iterates through the processing methods in the feature tree one by one, extracts its first-level feature group, second-level feature group, and feature processing method information, and sends this information along with the orchestration rule ID to the CAPP platform; 5) Based on the above information, the CAPP platform retrieves the corresponding arrangement rule table from the process resource library, finds the best match through multi-column combination filtering, extracts the arrangement process name, arrangement process order, and arrangement priority from the match, and sends it back to the client. 6) The client searches for the same process name in the process tree according to the process name; if there are multiple processes with the same name, the corresponding process is indexed according to the process order. 7) Associate the processing methods with the corresponding processes. After all processing methods are associated, sort the processing methods under all processes by both the order of arrangement and the priority of arrangement. 8) After sorting, the system automatically converts all modeling data into a modeling instruction sequence, sets the instruction parameters (such as machining position, cutting parameters, etc.), and stores them in the modeling instruction data pool.
[0050] Step S6: Automatically construct the processing procedure model according to the instruction sequence, use the model of the previous procedure as the blank model of the next procedure, and store the process plan and procedure model in the process knowledge base after completion.
[0051] Specifically, based on the above-arranged process flow, a process model is automatically generated. Following the sequence of the process arrangement, feature processing commands are executed step-by-step, feature-by-feature, to generate a process model, enabling automatic transfer and updating of models between processes, including: Upon receiving the automatic model generation command, the system reads the modeling command sequence from the modeling command data pool and executes them one by one according to the first-in-first-out principle. During the modeling process, the system follows the inter-process model transfer rules, that is, the process model of the previous process is automatically used as the blank model of the next process. Before executing the modeling command of the next process, the system automatically performs geometric shape verification on the blank model to ensure that the model has no topological errors.
[0052] Preferably, if an error occurs during the execution of a modeling command, such as incorrect command parameters, model topology conflicts, or exceeding machining limits, the execution process is immediately interrupted, while retaining the previous execution results. At this time, the user can manually execute modeling commands in SVMAN-M to fine-tune the blank model (e.g., correct machining positions, adjust cutting parameters, etc.). After fine-tuning, subsequent modeling commands can be executed. In this embodiment, modeling commands are organized into data packets in a parameterized form, managed by a first-in-first-out queue container to ensure the sequential and standardized execution of commands.
[0053] Furthermore, after completing the above-mentioned process model construction, the generated structured process scheme and the final blank model (i.e., process model) of each process are exported and saved to the process knowledge base of the CAPP platform for easy reuse in subsequent process operations. In this embodiment, the process / step information, feature grouping information, method chain inference results, modeling instruction sequences, etc. in the process tree are first converted into structured data; then the structured data is bound to the process model (3D model file) of each process and uploaded together to the typical process library of the CAPP platform, and stored according to part type; during the storage process, a unique identifier is added to the process scheme, and key information such as part type, feature grouping information, method chain inference results, and process parameters are recorded to provide a directly reusable reference for the design of similar parts in the future.
[0054] By using the above-described solution in this embodiment, the strong binding between the process solution and the CAD kernel part ID is broken, enabling the rapid construction and reuse of machining process solutions, and significantly improving the efficiency and flexibility of process design.
[0055] To further verify the effectiveness and superiority of the method proposed in this embodiment, a more detailed description is provided through the following examples.
[0056] Specifically, it will be as follows Figure 4 The target design part model shown (including) Figure 4 Part A shown in (a) and Figure 4 Part B shown in (b) is imported into SVMAN-M for analysis. The part can be divided into three processes: milling a plane, milling a groove, and milling a hole. Rough and finish milling are further differentiated, resulting in the following steps: milling the outer contour, rough milling the large plane, rough milling the groove, finish milling the large plane, finish milling the groove, and drilling. The required method chains are milling the outer contour, rough and finish milling the large plane, rough and finish milling the groove, and drilling. Next, a typical part type, "inner shell," is added to the typical process library of the CAPP platform. The relevant process scheme objects, arrangement rule tables, method chains, and default allowance data are configured. After configuration, the initialization setting command is used in SVMAN-M to set the current typical part type to "inner shell" and to set the typical process parameters.
[0057] After completing the above initialization operations, when the user clicks the "Custom Blank" command button, the system automatically constructs a minimum bounding box based on the part dimensions, then expands it outwards by combining it with the allowance information, thereby constructing a blank model that can be manipulated by subsequent machining commands. This blank model is as follows: Figure 5 As shown in (a) and (b); next, based on the previously analyzed process plan, after completing the initialization settings, the area to be processed is identified as a feature according to the predetermined process plan, and the following data is obtained: Figure 6 The feature recognition results are shown in (a) and (b). After feature recognition is completed, click the automatic grouping command to execute the automatic grouping algorithm to group the features and obtain the results shown in (a) and (b). Figure 7 The feature grouping results are shown in (a) and (b); based on the features, the method chain data and residual data are requested from the CAPP platform to obtain the following results: Figure 8 The method chain inference results are shown in (a) and (b). Afterwards, clicking the process orchestration command automatically calculates the method chains in all feature groups, then initiates a process scheme inference request through intelligent generation. Based on this request, the process orchestration process begins, resulting in the following... Figure 9 and Figure 10 The process orchestration result is shown below. After completing the process orchestration, the modeling process is initiated by clicking the automatic model generation command. The system automatically completes the feature modeling commands in the modeling command data pool in batches, resulting in the following: Figure 11 The final modeling results are shown in (a) and (b). It should be clarified that... Figure 11 The model shown is the final process model generated by progressively modeling in batches (or processes) based on the blank model. The final process model is identical to the initially given part design model (i.e., Figure 4 The fit is excellent, which further verifies the reliability of this solution.
[0058] Furthermore, after modeling is completed, the process information can be converted into structured data through the save and upload function, and the process model can be exported and uploaded to the CAPP platform as the final process design result. This structured process knowledge base enables standardized storage and accumulation of process knowledge. New process solutions can be continuously added to the knowledge base to achieve continuous iterative optimization of process knowledge and improve the standardization and professionalism of the enterprise's overall process design.
[0059] Using the above methods, the reuse rate of process schemes for similar typical parts can reach over 90%, and the overall time for process design is reduced from several hours to within 30 minutes, reducing repetitive design work by more than 90%. This method supports various blank types such as square stock and bar stock, and can be adapted to various typical parts such as inner shells, shafts, and gears. It also supports flexible switching between manual and automatic arrangement, and can be customized according to actual processing needs to adapt to different processing scenarios. At the same time, automated modeling ensures the consistency of geometric shape and process parameters of process models for similar parts, providing a standardized basis for subsequent machining and quality inspection, which can further improve the product processing qualification rate.
[0060] Example 2 This embodiment provides a knowledge-driven mechanical parts machining process model construction system, including a pre-built process knowledge base for machining multiple types of typical mechanical parts, including a typical process library, a process resource library, and a feature database; it also includes: The parts information acquisition module is used to acquire the parts to be processed and determine the corresponding typical parts type and processing attribute requirements in the typical process library; The feature recognition module is used to extract the topological structure of the part to be processed and identify the processing features according to the preset division rules in the feature database of the corresponding typical types. The feature segmentation module is used to divide all identified processing features into primary feature groups according to processing direction and secondary feature groups according to geometric attributes and processing attributes. The processing technology generation and orchestration module is used to call the matching processing method chain from the process resource library based on the feature grouping results, generate feature processing methods and then orchestrate them to form a complete processing technology flow and generate a modeling instruction sequence. The automatic process modeling module is used to automatically construct processing process models based on the instruction sequence. The model of the previous process is used as the blank model for the next process. After completion, the process plan and process model are stored in the process knowledge base.
[0061] Example 3 This embodiment provides an electronic device, including: a memory for storing executable instructions; and a processor for executing the executable instructions stored in the memory to implement the method provided in this embodiment.
[0062] Example 4 This embodiment also provides a computer-readable storage medium storing executable instructions, which, when executed by a processor, will cause the processor to execute the method described above in this embodiment.
[0063] Example 5 This embodiment provides a computer program product including executable instructions, which are computer instructions; the executable instructions are stored in a computer-readable storage medium. When the processor of an electronic device reads the executable instructions from the computer-readable storage medium and executes the executable instructions, the electronic device performs the method described in this embodiment.
[0064] The steps and methods involved in Embodiments 2 to 5 above correspond to those in Embodiment 1. For specific implementation details, please refer to the relevant description section of Embodiment 1. The term "computer-readable storage medium" should be understood as a single medium or multiple media including one or more instruction sets; it should also be understood as including any medium capable of storing, encoding, or carrying an instruction set for execution by a processor and enabling the processor to perform any of the methods in this invention.
[0065] Those skilled in the art will understand that the modules or steps of the present invention described above can be implemented using general-purpose computer devices. Optionally, they can be implemented using computer-executable program code, thereby allowing them to be stored in a storage device for execution by a computer device, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. The present invention is not limited to any particular combination of hardware and software.
[0066] The above description is only a preferred embodiment of the present invention. Although the specific embodiments of the present invention have been described in conjunction with the accompanying drawings, they are not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that, based on the technical solutions of the present invention, various modifications or variations that can be made by those skilled in the art without creative effort are still within the scope of protection of the present invention.
Claims
1. A knowledge-driven method for constructing a machining process model for mechanical parts, characterized in that, include: A process knowledge base for machining various types of typical mechanical parts is pre-built, including a typical process library, a process resource library, and a feature database; The typical process library is stored according to typical part types and consists of multiple data tables, each corresponding to a typical part type. Each data table contains multiple Boolean type attribute fields and multiple process scheme objects. Each process scheme object corresponds to a unique set of attribute field combinations. The process scheme object contains a set of machining process schemes and a set of arrangement rule IDs. The machining process scheme contains process information used to construct the process list. The process resource library includes an arrangement rule table, a method chain library, and a process parameter library. Each arrangement rule ID points to a unique arrangement rule table within the process resource library. The arrangement rule table is a two-dimensional table containing multiple columns of data, including primary feature groups, secondary feature groups, feature processing methods, arrangement operation names, arrangement operation order, and arrangement priority. The method chain library stores the standard processing method chains corresponding to each feature. The process parameter library stores standard process parameters for various types of processing, including cutting allowance and surface roughness. The feature database contains geometric determination rules and processing attribute requirements for various processing features, which are used to provide a standard basis for feature recognition. Obtain the parts to be processed, and determine the corresponding typical part types and processing attribute requirements in the typical process library; Extract the topology of the part to be processed and identify the processing features according to the preset division rules in the feature database of the corresponding typical types; For all identified processing features, they are divided into primary feature groups based on processing direction and secondary feature groups based on geometric and processing attributes, including: Determine the main machining axis of the part to be processed. For all identified machining features, calculate the dot product of the feature direction and the main machining axis. Based on the dot product and the part type, divide the features into first-level feature groups, including front feature group, back feature group, and surrounding feature group. Within the same feature group, consistency checks are performed based on feature type, geometric attributes, and processing attributes. Features with the same type, consistent geometric dimensions, and the same processing attributes are merged into a second-level feature group to form a structured feature grouping result. Based on the feature grouping results, the matching processing method chain is called from the process resource library to generate feature processing methods, which are then arranged to form a complete processing flow and generate a modeling instruction sequence, including: Based on the identified typical part types and processing attribute requirements, match the corresponding process scheme objects and their arrangement rule IDs from the typical process library; Based on the arrangement rule ID, the corresponding arrangement rule table is retrieved from the process resource library. Based on the first-level feature group, the second-level feature group and the processing method chain, multi-condition filtering and matching are performed in the arrangement rule table to determine the process name, process order and arrangement priority of each processing method. Each processing method chain is automatically associated with the corresponding process node, and then sorted twice according to the arrangement order and arrangement priority to form a complete process flow; The process flow is converted into a sequence of modeling instructions and stored in the modeling instruction data pool for subsequent automated modeling. The processing procedure model is automatically constructed based on the instruction sequence. The model of the previous procedure is used as the blank model for the next procedure. After completion, the process plan and procedure model are stored in the process knowledge base.
2. The knowledge-driven mechanical parts processing procedure model construction method as described in claim 1, characterized in that, The identification of the processing features includes: Obtain the 3D model of the part to be processed, perform a global traversal of all geometric surfaces of the part to be processed, and extract the topological structure of the part; Based on the part's topology, the system calls the preset geometric judgment rules in the feature database of the corresponding typical type to match and judge the part's topology, and automatically identifies the standard machining features that meet the processing requirements. The machining features include: plane, large plane, hole, groove, U-shaped groove, L-shaped groove, annular groove, spherical groove, outer circle, fillet, chamfer, and outer contour.
3. The knowledge-driven mechanical parts processing procedure model construction method as described in claim 1, characterized in that, Based on the feature grouping results, the matching processing method chain is called from the process resource library to generate feature processing methods, including: Based on the feature grouping results, obtain the first-level feature group, the second-level feature group, and geometric and processing attribute information; Based on the acquired first- and second-level feature group types, geometric and processing attribute combinations, the appropriate standard processing method chain is retrieved from the method chain library and associated with the corresponding process parameters to form a feature processing method sequence that can be directly used for process orchestration.
4. A knowledge-driven mechanical parts machining process model construction system, characterized in that, The method for constructing a knowledge-driven machining process model for mechanical parts as described in any one of claims 1-3 includes a pre-constructed process knowledge base for machining multiple types of typical mechanical parts, including a typical process library, a process resource library, and a feature database. Also includes: The parts information acquisition module is used to acquire the parts to be processed and determine the corresponding typical parts type and processing attribute requirements in the typical process library; The feature recognition module is used to extract the topological structure of the part to be processed and identify the processing features according to the preset division rules in the feature database of the corresponding typical types. The feature segmentation module is used to divide all identified processing features into primary feature groups according to processing direction and secondary feature groups according to geometric attributes and processing attributes. The processing technology generation and orchestration module is used to call the matching processing method chain from the process resource library based on the feature grouping results, generate feature processing methods and then orchestrate them to form a complete processing technology flow and generate a modeling instruction sequence. The automatic process modeling module is used to automatically construct processing process models based on the instruction sequence. The model of the previous process is used as the blank model for the next process. After completion, the process plan and process model are stored in the process knowledge base.
5. An electronic device, characterized in that, include: Memory, used to store executable instructions; The processor, when executing executable instructions stored in the memory, implements the knowledge-driven mechanical parts processing procedure model construction method according to any one of claims 1-3.
6. A computer-readable storage medium, characterized in that, The device stores executable instructions that, when executed by a processor, implement the knowledge-driven mechanical parts processing procedure model construction method according to any one of claims 1-3.
7. A computer program product, characterized in that, The computer program product includes executable instructions stored in a computer-readable storage medium; When the processor of the electronic device reads the executable instructions from the computer-readable storage medium and executes the executable instructions, the knowledge-driven mechanical parts processing procedure model construction method according to any one of claims 1-3 is implemented.
Citation Information
Patent Citations
Manufacturing cost estimation method based on technological process
CN114065432A
