Automated process route generation method and apparatus

By generating process routes using the PDV semantic model and A search algorithm, the problems of low efficiency and unstable quality in existing process planning technologies are solved, realizing automated and optimized process route planning and improving the efficiency and accuracy of process planning.

CN123138472APending Publication Date: 2026-11-20BEIJING YUANHUI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611271357.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-20
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing technologies suffer from inefficient process route planning, rely on manual experience, lack systematic management, cannot directly utilize the rich semantic information of PDV 3D models, and traditional systems cannot perform multi-objective optimization, resulting in large differences in planning results, unstable quality, and an inability to balance processing costs, time, and resource utilization.

Method used

Manufacturing features are extracted by a pre-set PDV semantic model, candidate process chains are generated by loading the process rule base, a directed acyclic graph of process priority is constructed, state search is performed by A search algorithm, the optimal process route with the minimum cost evaluation function value is output, and process cards are generated in a structured manner according to a pre-set template.

Benefits of technology

It improves the efficiency and accuracy of process route planning, realizes the automated generation and optimization of process chains, reduces manual intervention, and improves the quality stability and resource utilization of process planning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123138472A_ABST
    Figure CN123138472A_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide an automatic process route generation method and device, the method comprising: extracting all manufacturing features of a part to be processed according to a preset PDV semantic model, including feature type, geometric parameter, technical requirement and material information; loading a preset process rule library, generating a candidate process chain list for each manufacturing feature, taking each process as a node, adding a directed edge according to process constraints, constructing a process priority directed acyclic graph, each node being attached with process cost and resource attributes; using an A search algorithm to search states in the directed acyclic graph, taking the sum of heuristic function value and cost function value as a cost evaluation function, outputting an optimal process route with the minimum evaluation function value, and generating a process card according to a preset template, which can improve the efficiency and accuracy of process route planning.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing, specifically to an automated process route generation method and apparatus. Background Technology

[0002] In the field of machining, process route planning (CAPP) is a crucial step in achieving the integration of computer-aided design and manufacturing. Currently, the process planning of most enterprises still relies heavily on the personal experience of process engineers, that is, manually interpreting part drawings, selecting machining methods, arranging the sequence of operations, and determining cutting parameters. This model has significant shortcomings: First, manual planning is inefficient; the process planning cycle for complex parts (such as aero-engine casings) can reach several weeks, and the planning results of different engineers vary significantly, making it difficult to guarantee quality stability. Second, the process knowledge of enterprises is mostly stored in the form of paper documents or unstructured electronic files, lacking systematic management, which makes it difficult to transfer and reuse experience, and the training cycle for new employees is lengthy. Furthermore, most existing CAPP systems are based on two-dimensional drawings or simplified three-dimensional models, and cannot directly utilize PDV three-dimensional models containing rich semantic information such as manufacturing features, materials, precision, and heat treatment (PDV three-dimensional models refer to PDV files that conform to GB / T45405-2025 "Application Format for Three-Dimensional Product Data Visualization" and construct RDF semantic models oriented towards manufacturing features based on the product structure, geometric topology, attributes, and annotation data within them). Feature recognition and process matching still require a large amount of manual intervention. In addition, traditional "rule matching" systems usually only output a single or a small number of feasible process routes, without introducing a multi-objective optimization mechanism, and cannot take into account key production indicators such as processing cost, time, and resource utilization.

[0003] In summary, there is currently a lack of an automated process route generation method that can improve the efficiency and accuracy of process route planning. Summary of the Invention

[0004] To address the problems in the prior art, this application provides an automated process route generation method and apparatus, which can improve the efficiency and accuracy of process route planning.

[0005] To solve at least one of the above problems, this application provides the following technical solution: Firstly, this application provides an automated process route generation method, including: All manufacturing features of the part to be processed are extracted according to the preset PDV semantic model, wherein the manufacturing features include feature type, geometric parameters, technical requirements and material information; Load a preset process rule library, generate multiple candidate process chains for the manufacturing feature according to the process rule library, determine the corresponding process chain list, take each process in the process chain list as a process node, add directed edges to each process node according to preset process constraint rules, determine the corresponding process priority directed acyclic graph, and the process node is attached with the process attributes of the process, including process cost and process required resources. According to preset A The search algorithm performs state search using the directed acyclic graph of process priorities as the search space. After the search is completed, it outputs the route with the minimum cost evaluation function value, determines the corresponding optimal process route, and structures each process in the optimal process route according to a preset process card template to determine the corresponding structured process card. The cost evaluation function value is the sum of the heuristic function value and the cost function value. The heuristic function value is calculated based on the set comprehensive cost model.

[0006] Further, the loading of a preset process rule library, generating multiple candidate process chains for the manufacturing feature based on the process rule library, and determining the corresponding process chain list includes: Load a preset process rule library, which contains process decision rules expressed in the form of condition-action. The condition part of the process decision rule defines the condition range of the manufacturing feature, and the action part of the process decision rule defines one or more candidate process chains that can be selected when they match the condition part. Each manufacturing feature is matched against the conditions one by one to select one or more candidate process chains that match the manufacturing feature. If multiple candidate process chains are selected, the optimal process chain is selected from the multiple candidate process chains based on the preset enterprise cost constraints and used as the candidate process chain for the manufacturing feature. All candidate process chains for all manufacturing features are merged to determine the corresponding process chain list.

[0007] Furthermore, according to preset A The search algorithm uses the directed acyclic graph of process priorities as the search space to perform state search, including: Step S301: Construct A Search the state and initialize the search state. Use the initialized search state as the root node and add it to the priority queue. The search state includes the set of scheduled processes, the current last process, and the current resource status information. Step S302: Take the search state with the smallest cost evaluation function value from the priority queue as the current state to be expanded; Step S303: Based on the set of processes already arranged in the current state to be expanded, perform a traversal operation using the directed acyclic graph of process priorities as the search space to determine the corresponding candidate set of expandable processes; Step S304: Update the current state to be expanded according to the scalable process candidate set, determine the corresponding new search state, calculate the cost evaluation function value of the new search state, and add all new search states to the priority queue. Step S305: Repeat steps S302-S304 until the set of arranged operations in the search state taken from the priority queue contains all the operation nodes in the directed acyclic graph of the operation priority. Then, terminate the search and output the operation sequence corresponding to the search state as the optimal process route.

[0008] Further, initializing the search state includes: Set the set of scheduled processes in the search state to an empty set; Set the current last step in the search state to a null value; The current resource status information in the search state is set as the initial resource status, which includes at least one of the currently available machine tool identifier, the current tool cluster identifier, and the current clamping posture identifier.

[0009] Furthermore, the cost evaluation function value is the sum of the heuristic function value and the cost function value, including: The heuristic function value is calculated based on the set comprehensive cost model. The comprehensive cost model is used to calculate the lower bound of the minimum cost of the remaining processes in the search state, including the minimum machining cost of the remaining processes, the cost of necessary tool cluster switching, and the cost of necessary clamping posture switching. The cost function value is calculated based on a preset cost function, which is used to calculate the comprehensive cost of the scheduled processes in the search state.

[0010] Further, the step of determining the corresponding candidate set of expandable processes by traversing the directed acyclic graph of process priorities as the search space, based on the set of processes already arranged in the current state to be expanded, includes: Determine whether the set of scheduled processes in the current state to be expanded is an empty set; If the set is empty, then all process nodes with an in-degree of zero in the directed acyclic graph of process priorities are selected as the candidate set of expandable processes. If it is not empty, then select the process node in the directed acyclic graph of process priority where all predecessor processes already exist in the set of arranged processes and the process node itself has not yet been arranged, as the candidate set of expandable processes.

[0011] Further, the step of updating the current state to be expanded based on the scalable process candidate set and determining the corresponding new search state includes: For each candidate process node in the expandable process candidate set, add the candidate process node to the arranged process set in the current state to be expanded, and obtain the updated arranged process set; Set the candidate process node as the updated current last process; Update the current resource status information according to the process attributes attached to the candidate process node to obtain the updated current resource status information; Based on the updated set of scheduled processes, the updated current last process, and the updated current resource status information, determine the corresponding new search status.

[0012] Secondly, this application provides an automated process route generation apparatus, comprising: The feature extraction module is used to extract all manufacturing features of the part to be processed according to the preset PDV semantic model, wherein the manufacturing features include feature type, geometric parameters, technical requirements and material information; The process priority graph construction module is used to load a preset process rule library, generate multiple candidate process chains for the manufacturing feature according to the process rule library, determine the corresponding process chain list, take each process in the process chain list as a process node, add directed edges to each process node according to preset process constraint rules, and determine the corresponding process priority directed acyclic graph. The process node is attached with the process attributes of the process, including process cost and process required resources. The search optimization module is used to optimize based on preset A. The search algorithm performs state search using the directed acyclic graph of process priorities as the search space. After the search is completed, it outputs the route with the minimum cost evaluation function value, determines the corresponding optimal process route, and structures each process in the optimal process route according to a preset process card template to determine the corresponding structured process card. The cost evaluation function value is the sum of the heuristic function value and the cost function value. The heuristic function value is calculated based on the set comprehensive cost model.

[0013] Thirdly, this application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the automated process route generation method.

[0014] Fourthly, this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the automated process route generation method described above.

[0015] Fifthly, this application provides a computer program product, including a computer program / instructions that, when executed by a processor, implement the steps of the automated process route generation method.

[0016] As can be seen from the above technical solution, this application provides an automated process route generation method and apparatus. It extracts all manufacturing features of the part to be processed through a preset PDV semantic model, including feature type, geometric parameters, technical requirements, and material information; loads a preset process rule library to generate a candidate process chain list for each manufacturing feature, and treats each process as a node, adding directed edges according to process constraints to construct a directed acyclic graph of process priority. Each node is accompanied by process cost and resource attributes; and employs A... The search algorithm performs state search in the directed acyclic graph, uses the sum of the heuristic function value and the cost function value as the cost evaluation function, outputs the optimal process route with the minimum evaluation function value, and generates process cards in a structured manner according to a preset template, thereby improving the efficiency and accuracy of process route planning. Attached Figure Description

[0017] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1 This is a flowchart illustrating the automated process route generation method in the embodiments of this application; Figure 2 This is a structural diagram of the automated process route generation device in the embodiments of this application. Detailed Implementation

[0019] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0020] The acquisition, storage, use, and processing of data in this application all comply with relevant laws and regulations.

[0021] Considering that process route planning currently relies primarily on manual labor and lacks systematic management, it faces problems such as difficulty in inheriting and reusing experience and low planning efficiency due to the inability to directly utilize the PDV standard. This application provides an automated process route generation method and apparatus. It extracts all manufacturing features of the part to be processed through a preset PDV semantic model, including feature type, geometric parameters, technical requirements, and material information; loads a preset process rule library to generate a candidate process chain list for each manufacturing feature; and treats each process as a node, adding directed edges according to process constraints to construct a directed acyclic graph of process priorities. Each node is accompanied by process cost and resource attributes. The method employs AI... The search algorithm performs state search in the directed acyclic graph, uses the sum of the heuristic function value and the cost function value as the cost evaluation function, outputs the optimal process route with the minimum evaluation function value, and generates process cards in a structured manner according to a preset template, thereby improving the efficiency and accuracy of process route planning.

[0022] To improve the efficiency and accuracy of process route planning, this application provides an embodiment of an automated process route generation method, see [link to embodiment]. Figure 1 The automated process route generation method specifically includes the following: Step S101: Extract all manufacturing features of the part to be processed according to the preset PDV semantic model, wherein the manufacturing features include feature type, geometric parameters, technical requirements and material information; Optionally, in this embodiment, the PDV semantic model refers to parsing PDV files that conform to GB / T45405-2025 "Application Format for 3D Product Data Visualization" and constructing an RDF semantic model oriented towards manufacturing features based on the product structure, geometric topology, attributes and annotation data therein. Unlike ordinary 3D models that only record the underlying geometric topology such as points, lines and surfaces, the PDV semantic model pre-identifies and semantically annotates geometric shapes in the model that have specific manufacturing meanings. For example, it annotates a group of cylindrical surfaces as "through holes" instead of only recording their radius and axis position.

[0023] Manufacturing features refer to local geometric shapes on a part that have clear machining semantics. In this embodiment, manufacturing features include, but are not limited to: Feature type: A classification identifier for manufacturing features, used to distinguish the processing methods corresponding to different geometric shapes. For example: holes (through holes, blind holes, threaded holes), slots (straight slots, T-slots), planes, outer cylindrical surfaces, curved surfaces, toothed surfaces, etc.

[0024] Geometric parameters: A set of parameters used to quantitatively describe the dimensions and spatial location of manufacturing features. Examples include: diameter, depth, length, width, angle, and position.

[0025] Technical requirements: These refer to the quality requirements for manufacturing features specified during the design phase. Examples include dimensional tolerances, geometric tolerances, surface roughness, and heat treatment requirements.

[0026] Material information: refers to the material data used for the entire part or a specific area. This includes: material grade, hardness, and heat treatment condition.

[0027] Optionally, in this embodiment, the PDV semantic model file is used as input. The data structure of the model file is parsed, and all object nodes marked as manufacturing features are traversed. For each feature node, its type identifier field, geometric parameter substructure, technical requirement field group, and material attribute field are read. The read data is collected and organized according to a preset data structure. After organization, all attribute fields of each feature are combined into a complete feature description record. After all features are processed, all records are summarized into a feature list F = {f1, f2, ..., f...} n The output data of this step is used for subsequent process mapping steps.

[0028] Step S102: Load the preset process rule library, generate multiple candidate process chains for the manufacturing feature according to the process rule library, determine the corresponding process chain list, take each process in the process chain list as a process node, add directed edges to each process node according to the preset process constraint rules, determine the corresponding process priority directed acyclic graph, and the process node is attached with the process attributes of the process, including process cost and process required resources; Optionally, in this embodiment, the process rule base refers to a set of process decision knowledge pre-organized and structured by process experts. Each rule includes applicable conditions and a corresponding processing scheme, and the rules are saved in a computer-readable format. Process constraint rules refer to the process sequencing principles generally followed in the field of machining, used to determine the sequential relationship that should be satisfied between different processes. Common constraints include that datum surface machining takes precedence over other feature machining, roughing processes take precedence over corresponding finishing processes, major surface machining takes precedence over minor surface machining, and processes with geometric interference relationships are arranged in an avoidance order.

[0029] For example, the rule format of the process rule base is as follows: IF Feature Type = Through Hole AND Diameter Range = [d_min, d_max] AND Depth / Diameter Ratio > 3 AND Tolerance Grade <= IT8THEN; Output optional operation sequence = [center drill, drill, reamer, reamer] (each operation has cost and resource constraints).

[0030] Optionally, in this embodiment, for each manufacturing feature f extracted in the previous step iThe system iterates through each rule in the process rule base, matching manufacturing features with the applicable conditions of the rules. When all attributes of a feature fall within the range specified by the rule conditions, the rule is considered a match. The process chain defined by each matched rule is then used as a candidate process chain. A feature may match multiple rules, thus a feature can correspond to multiple candidate process chains (e.g., drilling in one step vs. drilling + reaming). For each feature's multiple optional process chains, the optimal optional process chain is selected based on the enterprise's cost constraints as the optimal process chain corresponding to that manufacturing feature. A process chain list is then obtained based on the optimal process chains corresponding to all manufacturing features.

[0031] Preferably, each operation in the operation chain list includes: operation name, machining resources (machine tool type, cutting tool), machining time, cost, and dependencies (e.g., "reaming" must follow "drilling").

[0032] Optionally, in this embodiment, the process chain list is traversed, and a corresponding process node is created for each process in the list. Processes in different candidate process chains each have their own nodes created independently. A preset set of process constraint rules is loaded, and pairwise comparisons or rule-by-rule applications are performed on all created process nodes. For each pair of process nodes, it is determined whether they conform to the precedence relationship defined by a certain constraint rule. If process A must be completed before process B, a directed edge from A to B is added to the graph. After all edges are added, the system performs cycle detection on the graph to ensure that there are no directed cycles.

[0033] Optionally, in this embodiment, after creating all process nodes and adding all directed edges, the current graph structure is determined as a directed acyclic graph of process priorities, which serves as input data for subsequent search steps. Simultaneously with creating a process node, the process cost value and required resource information corresponding to that process in the rule base are written into the node's attribute field and stored in a bound manner.

[0034] For example, construct a directed acyclic graph (DAG) G = (V, E) for process prioritization, where: V = All candidate process nodes.

[0035] E = Preferred constraint edge u → v indicates that operation u must be completed before operation v.

[0036] Each node v has the following attributes: cost (machining time + tool change time + clamping time) and required resources (machine tool, cutting tool, fixture).

[0037] Step S103: According to preset A The search algorithm performs state search using the directed acyclic graph of process priorities as the search space. After the search is completed, it outputs the route with the minimum cost evaluation function value, determines the corresponding optimal process route, and structures each process in the optimal process route according to a preset process card template to determine the corresponding structured process card. The cost evaluation function value is the sum of the heuristic function value and the cost function value. The heuristic function value is calculated based on the set comprehensive cost model.

[0038] Optionally, in this embodiment, a directed acyclic graph of process priorities is used as A. Search input. A The goal of the search is to find an optimal sequence of operations from a state with no operations to a state containing all operations, while satisfying the order constraints represented by all edges. The cost evaluation function is a numerical indicator used to rank the search states; it is obtained by adding the cost function value and the heuristic function value. The smaller this value, the lower the estimated total cost to reach the target state from the starting state through the current state.

[0039] Specifically, construct A Search state X represents a complete description of the determined process arrangement at a certain moment during the search process, and is expressed as: X=(S,last,R) Where S is the set of scheduled processes, last is the current last process, and R is the current resource status, which includes at least the current machine tool, tool set, and clamping posture.

[0040] Set the initial search state: the set of scheduled operations is empty, the current last operation is empty, and the current resource state is the initial resource state (e.g., initial machine tool, initial tool set, initial clamping posture). Add the initial state to the priority queue. The search states in this priority queue are sorted in ascending order of cost evaluation function value.

[0041] Wherein, the cost evaluation function is f(X) = g(X) + h(X): The heuristic function h(X) is the lower bound of the minimum cost for predicting the remaining processes, expressed as: h(X)=h_proc(X)+h_tool(X)+h_setup(X) Where h_proc(X) is the minimum machining cost of the remaining operations, h_tool(X) is the necessary tool family switching cost, and h_setup(X) is the necessary clamping posture switching cost. All values ​​are estimated using a lower bound that does not overestimate the actual remaining cost, to ensure that A... Optimality of the search.

[0042] Cost function g(X): The total cost of the scheduled processes, expressed as: g(X_new)=g(X_old)+ΔC C(v|last)=w_t T_proc(v)+w_tool T_tool(last,v)+w_setup T_setup(last,v)+w_res C_res(v)+w_q C_quality(v) Where ΔC = C(v|last) represents the additional comprehensive cost incurred when switching from the current last process (last) to the newly added process (v), g(X_old) represents the comprehensive cost of the currently scheduled processes (initial value: 0), g(X_new) represents the comprehensive cost after adding process (v) to the new state, v is the added candidate process node, T_proc is the machining time, T_tool is the tool change or tool cluster switching time between adjacent processes, T_setup is the clamping posture or reference switching time, C_res is the resource cost of machine tools, tools, fixtures, etc., C_quality is the quality risk penalty item, and w is an adjustable weight. The time and cost can be normalized according to the production strategy and then weighted and summed.

[0043] Multi-objective processing supplement: When there are conflicts between time, cost, number of tool changes and quality risks, a weighted normalization method can be used to form a single comprehensive cost; alternatively, several Pareto non-dominated candidate process routes can be retained, which can be selected by process engineers or the production system based on current capacity, delivery time and cost strategy.

[0044] Specifically, each time, the search state with the smallest cost evaluation function value is taken from the priority queue and used as the current state. If it is an initial search state, then the initial search state is used as the current state.

[0045] Check if the currently searched set of scheduled processes contains all process nodes: If it is contained, the search ends, and the process sequence corresponding to this state is the optimal result; If not included, the directed acyclic graph of process priorities is traversed to find process nodes whose predecessor processes are already in the current set of scheduled processes and which themselves have not yet been scheduled. These nodes are then used as the expandable process set for the current state. If the current set of scheduled processes is empty (corresponding to the initial search state), all process nodes with an in-degree of zero in the directed acyclic graph of process priorities are selected as the candidate set of expandable processes. An in-degree of zero indicates that a process without any predecessor constraints can be prioritized for scheduling in the initial state.

[0046] Specifically, for each candidate process in the current scalable process set, a corresponding new search state is generated, including: adding the candidate process to the arranged process set, updating the current last process to the candidate process, calculating the resource switching cost based on the difference between the resources required by the process and the resource status of the previous process, and updating the current resource status.

[0047] While generating a new search state, the cost function g(X) is called to calculate the marginal cost of switching from the last process in the current state to this candidate process (including the processing time cost of the process itself, the cost of tool change or clamping switching with the previous process, resource usage cost, quality risk penalty, etc.). The actual cost incurred in the current state is added to this marginal cost to obtain the cost function value of the new state.

[0048] For all new search states, the heuristic function h(X) is invoked to calculate the corresponding heuristic function value f(X). The cost function value is then added to the heuristic function value to obtain the cost evaluation function value. New search states are inserted into a priority queue according to their cost evaluation function values, and the search loop is repeated. After the search terminates, each process in the optimal process sequence is extracted sequentially, and fields such as process number, process name, process content, equipment, tool, cutting parameters, and time quota are filled in according to a preset process card template to generate structured process card data.

[0049] This example demonstrates how this embodiment extracts manufacturing features from a PDV semantic model, combines them with a process priority diagram and a cost model, and uses A... The search algorithm automatically generates optimized process sequences and outputs process cards that conform to enterprise standards.

[0050] As described above, the automated process route generation method provided in this application can extract all manufacturing features of the part to be processed through a preset PDV semantic model, including feature type, geometric parameters, technical requirements, and material information; load a preset process rule library to generate a candidate process chain list for each manufacturing feature, and take each process as a node, add directed edges according to process constraints, construct a directed acyclic graph of process priority, and attach process cost and resource attributes to each node; and use A The search algorithm performs state search in the directed acyclic graph, uses the sum of the heuristic function value and the cost function value as the cost evaluation function, outputs the optimal process route with the minimum evaluation function value, and generates process cards in a structured manner according to a preset template, thereby improving the efficiency and accuracy of process route planning.

[0051] In one embodiment of the automated process route generation method of this application, it may further include the following: Step S201: Load a preset process rule library, which contains process decision rules expressed in the form of condition-action. The condition part of the process decision rule defines the condition range of the manufacturing feature, and the action part of the process decision rule defines one or more candidate process chains that can be selected when they match the condition part. Step S202: Match each manufacturing feature with the condition section one by one, and filter out one or more candidate process chains that match the manufacturing feature. If multiple candidate process chains are filtered out, select the optimal process chain from the multiple candidate process chains based on the preset enterprise cost constraints, and use it as the candidate process chain for the manufacturing feature. Merge all candidate process chains of all manufacturing features to determine the corresponding process chain list.

[0052] Optionally, in this embodiment, the process rule base file is read from local storage or network storage, and the structured data of all rules in the file is loaded into memory. After loading, the system can traverse and query the rule base.

[0053] Optionally, in this embodiment, a complete list of extracted manufacturing features is obtained. For each manufacturing feature in the list, the system sequentially reads each rule in the rule base and compares the actual attribute value of the feature with the condition part of the rule item by item.

[0054] The comparison method is as follows: whether the feature type is consistent with the type specified in the conditions; whether the geometric dimensions of the feature fall within the dimensional range specified in the conditions; whether the tolerance grade meets the grade requirements specified in the conditions; whether the material information belongs to the material category listed in the conditions; and other attributes are compared accordingly. The rule is considered a successful match when all comparison items are satisfied.

[0055] Record each successfully matched rule, and extract one or more candidate process chains defined by the action part of that rule, adding them to the candidate set corresponding to that feature. A single feature may match multiple rules, thus obtaining multiple candidate process chain solutions.

[0056] If the initial candidate set contains only one candidate process chain, then that process chain is directly determined as the final candidate process chain for that feature.

[0057] If the initial candidate set contains multiple candidate process chains, the estimated comprehensive cost of each candidate process chain is calculated separately. The calculation of the estimated comprehensive cost is based on data such as the processing time and required resource costs of each process in the chain. The system compares the estimated comprehensive cost of each candidate process chain with the pre-loaded enterprise cost constraints and selects the one that meets the constraints and has the lowest comprehensive cost as the final candidate process chain for that feature.

[0058] After each feature generates its corresponding candidate process chain, the system merges all candidate process chains into a unified process chain list. During the merging process, the correspondence between each process chain and its source feature is preserved for easy traceability later.

[0059] Through step S202, this embodiment completes the transformation from process rule knowledge to specific part processing scheme instances. Each manufacturing feature obtains an optimal process chain scheme, and the schemes for all features are summarized into a complete process chain list, serving as input data for subsequent process priority graph construction. This list can reflect multiple alternative processing routes under the same feature, providing a basis for scheme diversity for subsequent optimization searches.

[0060] In one embodiment of the automated process route generation method of this application, it may further include the following: Step S301: Construct A Search the state and initialize the search state. Use the initialized search state as the root node and add it to the priority queue. The search state includes the set of scheduled processes, the current last process, and the current resource status information. Step S302: Take the search state with the smallest cost evaluation function value from the priority queue as the current state to be expanded; Step S303: Based on the set of processes already arranged in the current state to be expanded, perform a traversal operation using the directed acyclic graph of process priorities as the search space to determine the corresponding candidate set of expandable processes; Step S304: Update the current state to be expanded according to the scalable process candidate set, determine the corresponding new search state, calculate the cost evaluation function value of the new search state, and add all new search states to the priority queue. Step S305: Repeat steps S302-S304 until the set of arranged operations in the search state taken from the priority queue contains all the operation nodes in the directed acyclic graph of the operation priority. Then, terminate the search and output the operation sequence corresponding to the search state as the optimal process route.

[0061] Optionally, in this embodiment, the initial search state is constructed to correspond to the starting point of the process route planning, that is, the state when no process has been arranged.

[0062] Specifically, an empty set is created as the set of scheduled processes, indicating that no process has been scheduled into the process route. The current last process is set to null (NULL or NIL), indicating that no process has been executed yet. The current resource status information is set to the initial resource status, which is determined based on the initial configuration of the actual production workshop.

[0063] After constructing the initial search state, the actual cost g incurred in this initial state is 0 (because no processing costs have been incurred yet), and the lower bound h of the estimated cost of the remaining processes is calculated, resulting in the cost evaluation function value f = g + h. Then, the initial search state and its corresponding g and f values ​​are added as a record to a priority queue as the starting node for the search.

[0064] Optionally, in this embodiment, the top element of the priority queue is accessed, and its corresponding search state, g value, and f value are read. Then, the top element is removed from the priority queue. The removed state is the current state to be expanded, and subsequent steps will generate all possible subsequent states based on this state.

[0065] Optionally, in this embodiment, after obtaining the current state to be expanded, it is necessary to determine which processes can be expanded from this state. Essentially, this involves finding all process nodes that have not yet been scheduled in the directed acyclic graph of process priorities, but whose predecessors have all been scheduled.

[0066] Specifically, obtain the set S of scheduled processes in the current state to be expanded. Obtain the set V of all process nodes in the directed acyclic graph of process priorities. Calculate the set U of unscheduled process nodes, which is the difference between all nodes and the set of scheduled nodes.

[0067] For each process node v in U, obtain the set Pred(v) of all its direct predecessor nodes in the directed acyclic graph of process priorities. Check each node in Pred(v) to see if it belongs to S. If all nodes in Pred(v) belong to S, it means that all prerequisite constraints of process v have been satisfied, and process v can be immediately added to the current process sequence; add v to the scalable process candidate set. If at least one node in Pred(v) does not belong to S, it means that process v still has incomplete predecessor processes and is not scalable in the current state; skip this node. After traversing all nodes in U, output the final scalable process candidate set.

[0068] Optionally, in this embodiment, for each candidate process in the expandable process candidate set, a corresponding new search state is generated, and these new states are added to the priority queue.

[0069] Specifically, obtain X = (S_old, last_old, R_old) in the current state to be expanded, and generate X' = (S_new, last_new, R_new) based on each candidate process v in the candidate set of expandable processes.

[0070] For an already scheduled set of operations S, add operation v to S_old. Since all predecessors of v are already guaranteed to be in S_old, S_new will still remain a conflict-free set of operations.

[0071] For the current last step, last, directly update last_old to v, that is, last_new = v.

[0072] For the current resource state R_old, the resource switching state is calculated and the updated resource state R_new is generated based on the required resource information (including required machine tool type, required tool cluster identifier, and required clamping posture identifier) ​​in the process attribute data attached to the candidate process v, as well as the current machine tool identifier, current tool cluster identifier, and current clamping posture identifier in the current resource state R_old.

[0073] After updating all fields of the search state, calculate the marginal cost ΔC for transitioning from the current state to be expanded X to the new search state X'. Marginal cost refers to the additional comprehensive cost incurred when switching from the current last process corresponding to the current state to be expanded to the newly added process, calculated by the cost function g(X). Add the marginal cost ΔC to the actual incurred cost g_old corresponding to the current state to be expanded, obtaining the actual incurred cost g_new = g_old + ΔC for the new search state. Next, calculate the lower bound h_new of the estimated cost of the remaining processes in the new search state, and the cost evaluation function value f_new = g_new + h_new for the new search state, using a heuristic function. Insert the new search state (containing the three data fields S_new, last_new, and R_new) and its corresponding g_new and f_new as a record into a priority queue.

[0074] The above operation is performed once for each candidate process in the scalable process candidate set, thereby generating the same number of new search states as the number of candidate processes and adding them all to the priority queue.

[0075] Optionally, in this embodiment, steps S302 to S304 are repeated. Each time a search state is retrieved from the priority queue, it is checked whether the set of scheduled operations for that state contains all operation nodes in the directed acyclic graph of operation priorities. If all operation nodes are contained, the search loop terminates, and the operation sequence corresponding to that search state is the optimal process route. This operation sequence is output as the final result. If the priority queue is emptied and the termination condition is still not met, no feasible solution is returned.

[0076] Through step S305, this embodiment expands the priority queue layer by layer according to the cost evaluation function value from small to large, ensuring that the output process sequence when all processes are arranged for the first time is the global comprehensive cost optimal solution under the premise of satisfying the priority constraints of all processes.

[0077] In one embodiment of the automated process route generation method of this application, it may further include the following: Step S401: Set the set of scheduled processes in the search state to an empty set; Step S402: Set the current last process in the search state to a null value; Step S403: Set the current resource status information in the search state to the initial resource status, wherein the initial resource status includes at least one of the currently available machine tool identifier, the current tool cluster identifier, and the current clamping posture identifier.

[0078] Optionally, in this embodiment, the search state is initialized.

[0079] Specifically, the scheduled process set refers to the set used to record all process nodes that have been ordered and included in the process route in the current search state. During initialization, an empty set data structure is created, containing no process node identifiers. This empty set is assigned to the scheduled process set field in the current search state. Since the set is empty, it indicates that no process has yet been selected to enter the process route sequence. This empty set will be gradually filled during subsequent search expansion; each time a process is selected from the expandable process candidate set and added to the end of the sequence, its identifier is inserted into this set.

[0080] Specifically, the "current last operation" refers to the operation node at the very end of the sequence of scheduled operations corresponding to the current search state. This field is used to calculate the marginal cost required to switch from the previous operation to the next operation during subsequent expansions, because resource switching costs (such as tool change time and clamping adjustment time) typically depend on the difference between the resource state at the end of the previous operation and the resources required for the next operation. Initially, the "current last operation" field is assigned a null value (NULL or NIL). This null value indicates that there are no scheduled operations in the current sequence. When calculating the marginal cost of the first operation in subsequent steps, the logic for determining the resource switching cost needs special handling because the "current last operation" field is null: the tool installation time and clamping time of the first operation should be fully included in the cost, rather than calculated as a "switch" (because there is no existing resource state inherited from the previous operation).

[0081] Specifically, the current resource status information refers to the specific configuration status of various processing resources in the production workshop after the scheduled processes have been completed in the current search state. This information is used to determine whether resource switching operations (such as tool changing, reclamping, or machine tool replacement) are required when scheduling the next process, and how much switching cost is incurred. During initialization, the initial resource status is set, which refers to the resource configuration of the production workshop at the initial moment before the process route planning starts. This status depends on the actual production preparation conditions of the workshop.

[0082] The initial resource state includes: Machine tool identification: A code or name used to uniquely identify a specific machine tool or a type of machine tool, such as "CNC Lathe-01" or "Machining Center-03". The machine tool identification determines whether subsequent processes need to wait for or switch to a specific machine tool.

[0083] Tool cluster identifier: An identifier used to identify a group of tools with the same function and interchangeable. For example, an "external roughing tool cluster" contains multiple external roughing inserts of the same model. When the spindle is currently equipped with any tool from this tool cluster, executing the corresponding machining operation does not require reinstalling the tool. The advantage of using tool clusters instead of individual tools as the resource unit is that multiple tools within the same tool cluster, although having different specific numbers, have the same function for the operation and can be considered equivalent resources.

[0084] Clamping posture marking: This marking describes the workpiece's positioning and clamping method on the machine tool. It includes at least the workpiece's machining direction relative to the cutting tool (e.g., machining from end A or end B), the positioning reference surface (e.g., positioning by an outer cylindrical surface or by an end face), and the fixture type (e.g., three-jaw chuck, four-jaw chuck, vise, special fixture). The clamping posture determines the workpiece's spatial position on the machine tool; switching between different clamping postures requires re-clamping and aligning the workpiece.

[0085] Through step S403, this embodiment completes the construction of the initial state for search A. This initial state provides a unified initial benchmark for subsequent process expansion.

[0086] In one embodiment of the automated process route generation method of this application, it may further include the following: Step S501: The heuristic function value is calculated based on the set comprehensive cost model. The comprehensive cost model is used to calculate the lower bound of the minimum cost of the remaining processes in the search state, including the minimum machining cost of the remaining processes, the cost of necessary tool cluster switching, and the cost of necessary clamping posture switching. Step S502: The cost function value is calculated according to a preset cost function, which is used to calculate the comprehensive cost of the arranged processes in the search state.

[0087] Optionally, in this embodiment, the comprehensive cost model is set as follows: h(X)=h_proc(X)+h_tool(X)+h_setup(X) Where h(X) is the heuristic function value, X is the search state, h_proc(X) is the minimum machining cost of the remaining operations, h_tool(X) is the necessary tool family switching cost, and h_setup(X) is the necessary clamping posture switching cost.

[0088] Specifically, the minimum processing cost of remaining processes is determined. The set of scheduled processes in the current search state is obtained and compared with all process nodes in the directed acyclic graph of process priorities to identify the set of remaining unscheduled process nodes. For each process in the remaining process node set, all possible processing schemes corresponding to that process are traversed in the process rule base, and the processing cost value corresponding to each scheme is extracted. The minimum value is selected as the minimum possible processing cost for that process. The minimum possible processing costs of all remaining processes are summed to obtain the minimum processing cost component for the remaining processes.

[0089] Specifically, obtain the current resource status information of the current search state, including at least the current tool cluster identifier and the current clamping posture identifier. Separately calculate the required tool cluster type set and the required clamping posture type set for the remaining process node set.

[0090] For estimating tool cluster switching costs: If the current tool cluster identifier already belongs to the set of tool cluster types required for the remaining processes, then in the most optimistic case, all remaining processes can be completed using the current tool cluster without tool changes (this only holds true if the remaining processes require only one type of tool cluster, the current tool cluster), in which case the necessary tool cluster switching count is 0; if the set of tool cluster types required for the remaining processes does not include the current tool cluster, then at least one tool cluster needs to be switched from the current tool cluster to one of the tool clusters in that set, in which case the necessary switching count is at least 1; if the remaining processes require multiple different tool clusters, then in addition to the one switch required to enter the set from the current tool cluster, the minimum number of switches between different tool clusters is (number of required tool cluster types - 1). Based on the above judgments, the minimum number of tool cluster switching counts required to complete all remaining processes is calculated. This minimum value is then multiplied by the standard time or standard cost of a single tool cluster switching to obtain the necessary tool cluster switching cost component.

[0091] For estimating the cost of clamping posture switching, the same calculation logic as for tool cluster switching cost is adopted: based on the relationship between the current clamping posture identifier and the set of clamping posture types required for the remaining processes, the minimum number of clamping posture switching times necessary to complete all remaining processes is calculated, and this minimum value is multiplied by the standard time or standard cost of a single clamping posture switching to obtain the necessary clamping posture switching cost component.

[0092] The sum of the minimum machining cost component of the remaining operations, the necessary tool cluster switching cost component, and the necessary clamping posture switching cost component is the heuristic function value h(X) for this search state.

[0093] Optionally, in this embodiment, the cost function is as follows: g(X_new)=g(X_old)+ΔC C(v|last)=w_t T_proc(v)+w_tool T_tool(last,v)+w_setup T_setup(last,v)+w_res C_res(v)+w_q C_quality(v).

[0094] Where ΔC=C(v|last) represents the additional comprehensive cost incurred when switching from the current last process last to the newly added process v, g(X_old) represents the comprehensive cost of the processes already scheduled in the current state, with an initial value of 0, g(X_new) represents the comprehensive cost after adding process v in the new state, v is the added candidate process node, T_proc is the processing time, T_tool is the tool change or tool cluster switching time between adjacent processes, T_setup is the clamping posture or reference switching time, C_res is the resource cost of machine tools, tools, fixtures, etc., and C_quality is the quality risk penalty item.

[0095] Specifically, read the identifier last_old of the last process and the cumulative cost value g_old of the currently scheduled processes from the current pending expansion state.

[0096] Read the process attribute data of the newly added process v, including the processing time T_proc, the required tool family identifier, the required clamping posture identifier, and the required machine tool type. At the same time, read the process attribute data of last_old (if last_old is empty, it means that the current state is the initial state and there is no previous process).

[0097] Based on the relationship between last_old and v, the marginal cost ΔC from last_old to v is calculated using the cost function described above. This marginal cost calculation includes at least the following: Processing time cost: Directly take the processing time T_proc of v, multiply it by the unit time cost coefficient, and obtain the processing time cost item.

[0098] Tool cluster switching cost: Compare the tool cluster required by last_old with the tool cluster required by v. If they are the same, the switching cost is 0; if they are different, query the preset tool change schedule for the time or cost required to switch from the tool cluster corresponding to last_old to the tool cluster corresponding to v, and use this as the tool cluster switching cost item. If last_old is empty (i.e., v is the first operation), then the tool cluster switching cost is the time or cost required to install the tool cluster required by v from its initial idle state into place.

[0099] Clamping posture switching cost: Compare the clamping posture required by last_old with that required by v. If they are the same, the switching cost is 0; if they are different, look up the time or cost required to switch from the clamping posture corresponding to last_old to the clamping posture corresponding to v from the preset clamping adjustment schedule, and use this as the clamping posture switching cost item. If last_old is empty (i.e., v is the first operation), then the clamping posture switching cost is the time or cost of clamping the workpiece from its initial state to the posture required by v.

[0100] Resource cost item: Based on the machine tool type and cutting tool type selected by v, the corresponding unit resource usage cost is retrieved from the preset resource rate table, multiplied by v's processing time to obtain the resource cost item.

[0101] Quality risk penalty item: Based on the characteristic type of v, tolerance level, and the position of the current process in the entire process sequence (e.g., the unreasonable order caused by arranging the roughing process after the finishing process), the corresponding penalty coefficient is retrieved from the preset quality risk rule table, multiplied by the benchmark penalty cost, and the quality risk penalty item is obtained.

[0102] Summing up the above items yields the marginal cost ΔC. Adding g_old to ΔC gives the cost function value g_new = g_old + ΔC for the new search state. This g_new value serves as the actual cost incurred for the new search state and is used in subsequent calculations of the cost evaluation function value and for ranking in the priority queue.

[0103] Through step S502, this embodiment successfully determined the heuristic function value and the cost function value, ensuring A Admissibility of the search algorithm and its complete fit in the process routing problem.

[0104] In one embodiment of the automated process route generation method of this application, it may further include the following: Step S601: Determine whether the set of arranged processes in the current state to be expanded is an empty set; Step S602: If it is an empty set, select all process nodes with an in-degree of zero in the directed acyclic graph of process priority as the expandable process candidate set. Step S603: If it is not empty, select the process nodes in the directed acyclic graph of process priority where all predecessor processes already exist in the set of arranged processes and they have not yet been arranged, as the candidate set of expandable processes.

[0105] Optionally, in this embodiment, if the set of arranged processes is empty, it means that no processes have been arranged yet, and the search is in its initial state. In this state, there are no completed processes to refer to, so all process nodes in the directed acyclic graph of process priority are directly traversed, the in-degree of each node is counted, and all process nodes with an in-degree of zero are selected to form an expandable process candidate set.

[0106] In this context, in-degree refers to the number of directed edges pointing to a given process node in a directed acyclic graph of process priorities, which is essentially the number of its direct predecessor processes. A process node with an in-degree of zero indicates that the process has no predecessor constraints and can be scheduled at any time.

[0107] Optionally, in this embodiment, if the set of scheduled processes is non-empty, it means that at least one process has been scheduled, and the search is in an intermediate stage. Obtain the set V of all process nodes in the directed acyclic graph of process priorities. Subtract the set of scheduled processes from V to obtain the set U of unscheduled process nodes. For each process node v in U, obtain its set of all direct predecessor processes Pred(v). Check each node in Pred(v) to see if it belongs to the set of scheduled processes. If all nodes in Pred(v) already exist in the set of scheduled processes, add v to the expandable process candidate set; if at least one predecessor node does not belong to the set of scheduled processes, v is not expandable, and the node is skipped. After traversal, output all process nodes that meet the conditions as the expandable process candidate set.

[0108] Through step S603, this embodiment achieves A. The determination of the expandable process candidate set during the search process ensures that all sequence constraints in the directed acyclic graph of process priorities are strictly adhered to during the search process, avoiding the generation of invalid process sequences that violate process logic.

[0109] In one embodiment of the automated process route generation method of this application, it may further include the following: Step S701: For each candidate process node in the expandable process candidate set, add the candidate process node to the arranged process set in the current state to be expanded, and obtain the updated arranged process set; Step S702: Set the candidate process node as the updated current last process; Step S703: Update the current resource status information according to the process attributes attached to the candidate process node to obtain the updated current resource status information; Step S704: Determine the corresponding new search status based on the updated set of scheduled processes, the updated current last process, and the updated current resource status information.

[0110] Optionally, in this embodiment, X = (S_old, last_old, R_old) in the current state to be expanded is used to generate X' = (S_new, last_new, R_new) based on each candidate process v in the expandable process candidate set.

[0111] For an already scheduled set of operations S, add operation v to S_old. Since all predecessors of v are already guaranteed to be in S_old, S_new will still remain a conflict-free set of operations.

[0112] For the current last step, last, directly update last_old to v, that is, last_new = v.

[0113] For the current resource state R_old, based on the difference between the required resource information in the process attribute data attached to the candidate process v and the resource state information in the current resource state R_old, the resource switching state is calculated and an updated resource state R_new is generated. During the calculation of the resource switching, each item needs to be compared: For machine tool switching, compare the machine tool type required by v with the current machine tool identifier in R_old. If they match, no machine tool switching is required; otherwise, the machine tool needs to be switched to the machine tool required by v, and the corresponding machine tool switching time is included in the process cost.

[0114] For tool family switching, compare the tool family identifier required by v with the current tool family identifier in R_old. If they match, no tool change is needed; otherwise, a tool family switch is required, and the corresponding tool change time is included in the process cost. The tool change time can be obtained from the tool change schedule pre-stored in the process rule base.

[0115] When switching clamping postures, compare the clamping posture identifiers required by v (such as machining direction, positioning reference surface, fixture type, etc.) with the current clamping posture identifiers in R_old. If they match, no clamping adjustment is needed; if they do not match, clamping adjustment is required, and the corresponding clamping time or reference switching time is included in the process cost.

[0116] The updated set of scheduled processes, the updated current last process, and the updated current resource status information are combined to form a new search state. This new search state, as the next search node reached after selecting the current candidate process from the current state to be expanded, will have its actual incurred costs and the lower bound of the estimated costs of the remaining processes calculated. Then, along with the calculation results, it will be inserted into a priority queue, waiting to be popped and expanded later.

[0117] Through step S704, this embodiment incorporates a candidate process into the current process route, ensuring that during the next state expansion, it can accurately determine which processes can be added and what the resource switching cost is.

[0118] To improve the efficiency and accuracy of process route planning, this application provides an embodiment of an automated process route generation apparatus for implementing all or part of the automated process route generation method, see [link to embodiment]. Figure 2 The automated process route generation device specifically includes the following components: The feature extraction module 10 is used to extract all manufacturing features of the part to be processed according to the preset PDV semantic model, wherein the manufacturing features include feature type, geometric parameters, technical requirements and material information; The process priority graph construction module 20 is used to load a preset process rule library, generate multiple candidate process chains for the manufacturing feature according to the process rule library, determine the corresponding process chain list, take each process in the process chain list as a process node, add directed edges to each process node according to preset process constraint rules, and determine the corresponding process priority directed acyclic graph. The process node is attached with the process attributes of the process, including process cost and process required resources. Search optimization module 30 is used to optimize based on preset A The search algorithm performs state search using the directed acyclic graph of process priorities as the search space. After the search is completed, it outputs the route with the minimum cost evaluation function value, determines the corresponding optimal process route, and structures each process in the optimal process route according to a preset process card template to determine the corresponding structured process card. The cost evaluation function value is the sum of the heuristic function value and the cost function value. The heuristic function value is calculated based on the set comprehensive cost model.

[0119] As described above, the automated process route generation device provided in this application can extract all manufacturing features of the part to be processed through a preset PDV semantic model, including feature type, geometric parameters, technical requirements, and material information; load a preset process rule library to generate a candidate process chain list for each manufacturing feature, and take each process as a node, add directed edges according to process constraints, construct a directed acyclic graph of process priority, and attach process cost and resource attributes to each node; and use A The search algorithm performs state search in the directed acyclic graph, uses the sum of the heuristic function value and the cost function value as the cost evaluation function, outputs the optimal process route with the minimum evaluation function value, and generates process cards in a structured manner according to a preset template, thereby improving the efficiency and accuracy of process route planning.

[0120] This invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor performs the above-described automated process route generation method.

[0121] This invention also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described automated process route generation method.

[0122] This invention also provides a computer program product, which includes a computer program that, when executed by a processor, implements the above-described automated process route generation method.

[0123] In this embodiment of the invention, all manufacturing features of the part to be processed can be extracted through a preset PDV semantic model, including feature type, geometric parameters, technical requirements, and material information; a preset process rule library is loaded to generate a candidate process chain list for each manufacturing feature, and each process is treated as a node. Directed edges are added according to process constraints to construct a directed acyclic graph of process priority, with each node accompanied by process cost and resource attributes; A... The search algorithm performs state search in the directed acyclic graph, uses the sum of the heuristic function value and the cost function value as the cost evaluation function, outputs the optimal process route with the minimum evaluation function value, and generates process cards in a structured manner according to a preset template, thereby improving the efficiency and accuracy of process route planning.

[0124] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0125] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0126] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0127] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0128] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. An automated process route generation method, characterized in that, The method includes: All manufacturing features of the part to be processed are extracted according to the preset PDV semantic model, wherein the manufacturing features include feature type, geometric parameters, technical requirements and material information; Load a preset process rule library, generate multiple candidate process chains for the manufacturing feature according to the process rule library, determine the corresponding process chain list, take each process in the process chain list as a process node, add directed edges to each process node according to preset process constraint rules, determine the corresponding process priority directed acyclic graph, and the process node is attached with the process attributes of the process, including process cost and process required resources. According to preset A The search algorithm performs state search using the directed acyclic graph of process priorities as the search space. After the search is completed, it outputs the route with the minimum cost evaluation function value, determines the corresponding optimal process route, and structures each process in the optimal process route according to a preset process card template to determine the corresponding structured process card. The cost evaluation function value is the sum of the heuristic function value and the cost function value. The heuristic function value is calculated based on the set comprehensive cost model.

2. The automated process route generation method according to claim 1, characterized in that, The loading of a preset process rule library, generating multiple candidate process chains for the manufacturing feature based on the process rule library, and determining the corresponding process chain list include: Load a preset process rule library, which contains process decision rules expressed in the form of condition-action. The condition part of the process decision rule defines the condition range of the manufacturing feature, and the action part of the process decision rule defines one or more candidate process chains that can be selected when they match the condition part. Each manufacturing feature is matched against the conditions one by one to select one or more candidate process chains that match the manufacturing feature. If multiple candidate process chains are selected, the optimal process chain is selected from the multiple candidate process chains based on the preset enterprise cost constraints and used as the candidate process chain for the manufacturing feature. All candidate process chains for all manufacturing features are merged to determine the corresponding process chain list.

3. The automated process route generation method according to claim 1, characterized in that, According to preset A The search algorithm uses the directed acyclic graph of process priorities as the search space to perform state search, including: S301: Construct A Search the state and initialize the search state. Use the initialized search state as the root node and add it to the priority queue. The search state includes the set of scheduled processes, the current last process, and the current resource status information. S302: Take the search state with the smallest cost evaluation function value from the priority queue as the current state to be expanded; S303: Using the set of processes already arranged in the current state to be expanded as a benchmark, and using the directed acyclic graph of process priorities as the search space, perform a traversal operation to determine the corresponding candidate set of expandable processes; S304: Update the current state to be expanded according to the scalable process candidate set, determine the corresponding new search state, calculate the cost evaluation function value of the new search state, and add all new search states to the priority queue. S305: Repeat S302-S304 until the set of arranged operations in the search state taken from the priority queue contains all the operation nodes in the directed acyclic graph of the operation priority, then terminate the search and output the operation sequence corresponding to the search state as the optimal process route.

4. The automated process route generation method according to claim 3, characterized in that, The initialization of the search state includes: Set the set of scheduled processes in the search state to an empty set; Set the current last step in the search state to a null value; The current resource status information in the search state is set as the initial resource status, which includes at least one of the currently available machine tool identifier, the current tool cluster identifier, and the current clamping posture identifier.

5. The automated process route generation method according to claim 3, characterized in that, The cost evaluation function value is the sum of the heuristic function value and the cost function value, including: The heuristic function value is calculated based on the set comprehensive cost model. The comprehensive cost model is used to calculate the lower bound of the minimum cost of the remaining processes in the search state, including the minimum machining cost of the remaining processes, the cost of necessary tool cluster switching, and the cost of necessary clamping posture switching. The cost function value is calculated based on a preset cost function, which is used to calculate the comprehensive cost of the scheduled processes in the search state.

6. The automated process route generation method according to claim 4, characterized in that, The step of determining the corresponding candidate set of expandable processes by traversing the directed acyclic graph of process priorities as the search space, based on the set of already arranged processes in the current state to be expanded, includes: Determine whether the set of scheduled processes in the current state to be expanded is an empty set; If the set is empty, then all process nodes with an in-degree of zero in the directed acyclic graph of process priorities are selected as the candidate set of expandable processes. If it is not empty, then select the process node in the directed acyclic graph of process priority where all predecessor processes already exist in the set of arranged processes and the process node itself has not yet been arranged, as the candidate set of expandable processes.

7. The automated process route generation method according to claim 3, characterized in that, The step of updating the current state to be expanded based on the scalable process candidate set and determining the corresponding new search state includes: For each candidate process node in the expandable process candidate set, add the candidate process node to the arranged process set in the current state to be expanded, and obtain the updated arranged process set; Set the candidate process node as the updated current last process; Update the current resource status information according to the process attributes attached to the candidate process node to obtain the updated current resource status information; Based on the updated set of scheduled processes, the updated current last process, and the updated current resource status information, determine the corresponding new search status.

8. An automated process route generation device, characterized in that, The device includes: The feature extraction module is used to extract all manufacturing features of the part to be processed according to the preset PDV semantic model, wherein the manufacturing features include feature type, geometric parameters, technical requirements and material information; The process priority graph construction module is used to load a preset process rule library, generate multiple candidate process chains for the manufacturing feature according to the process rule library, determine the corresponding process chain list, take each process in the process chain list as a process node, add directed edges to each process node according to preset process constraint rules, and determine the corresponding process priority directed acyclic graph. The process node is attached with the process attributes of the process, including process cost and process required resources. The search optimization module is used to optimize based on preset A. The search algorithm performs state search using the directed acyclic graph of process priorities as the search space. After the search is completed, it outputs the route with the minimum cost evaluation function value, determines the corresponding optimal process route, and structures each process in the optimal process route according to a preset process card template to determine the corresponding structured process card. The cost evaluation function value is the sum of the heuristic function value and the cost function value. The heuristic function value is calculated based on the set comprehensive cost model.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the automated process route generation method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the steps of the automated process route generation method according to any one of claims 1 to 7.