A process determination method, device, server and storage medium
Through pre-grouping of workpiece information and process adjustment, the problem of low accuracy caused by reliance on experience in engine block machining process planning is solved, efficient and accurate process flow determination is achieved, and the overall accuracy of process planning is improved.
Patent Information
- Application Number
- CN202010863854.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-25
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2040-08-25
AI Technical Summary
In the process planning of engine cylinder block machining, the existing technology relies on the experience of professional engineers, resulting in a long solution cycle and low accuracy. It is easy to fall into local optimization and it is difficult to fully consider the overall process planning.
By obtaining workpiece information, pre-grouping process steps, determining process procedures, and adjusting the order between work step groups based on minimizing machine tool tool costs and processing sequence constraints to generate processing process sequences, reduce the scale of mathematical model solution, and improve process planning accuracy.
It improves the solution efficiency and accuracy of process planning solutions, avoids local optimization dilemmas, and achieves more accurate process flow determination.
Smart Images

Figure CN112001635B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of process planning, and more specifically, to a process flow determination method, device, server and storage medium. Background Art
[0002] With the continuous development of society, the automobile manufacturing industry is developing faster and faster. The production of engine cylinder blocks is one of the important links in automobile manufacturing. The quality of the process planning method for producing engine cylinder blocks directly affects the manufacturing cost of automobiles.
[0003] The machining process of automobile engine cylinder blocks contains hundreds of machining features, each of which has its own independent machining standard requirements (including machining surface, machining datum, machining error, machining time, machining tool, etc.). Therefore, how to plan hundreds of machining features into a reasonable process planning scheme is a complex combinatorial optimization problem.
[0004] At present, the process planning of engine cylinder block processing still mainly relies on the experience of professional engineers. This method has a very long solution cycle and relies only on the experience of professional engineers for heuristic exploration. Due to the limitation of brain computing power, the overall process planning level cannot be fully considered during the exploration process. It is usually limited to a small range of series connection, and finally multiple process steps are combined in series as a whole, which is easy to fall into the dilemma of local optimization, and the solution accuracy of the process planning scheme is low. Summary of the invention
[0005] In view of this, the present application provides a process flow determination method, device, server and storage medium to improve the accuracy of process planning solution on the basis of providing process planning solution efficiency. The technical solution is as follows:
[0006] The first aspect of the present invention discloses a method for determining a process flow, comprising:
[0007] Acquire artifact information of each of the at least one artifact;
[0008] Pre-grouping all the working steps indicated by the information of each workpiece to obtain at least one working step group for each workpiece;
[0009] With the goal of minimizing the machine tool cost, the process step groups of the at least one workpiece are processed according to the target processing constraints of the at least one workpiece, and the process to which each of the process step groups of each of the workpieces belongs is determined;
[0010] Based on the processing sequence constraint between the work steps of the workpiece, the sequence between the work steps in the work step group of the workpiece and the sequence between the work step groups of the workpiece in the process are adjusted to generate a processing sequence of the workpiece.
[0011] Optionally, the pre-grouping of all the work steps indicated by the workpiece information of the workpiece to obtain at least one work step group of the workpiece includes:
[0012] For each feature indicated by the workpiece information of the workpiece, all the working steps under the feature are determined as a processing group;
[0013] Merging the processing groups that satisfy the preset feature group processing sequence constraint among the processing groups to obtain at least one first processing group of the workpiece;
[0014] Merging the first processing groups satisfying the preset feature processing sequence constraint in the at least one first processing group to obtain at least one second processing group of the workpiece;
[0015] The respective second processing groups satisfying the preset nesting condition in the at least one second processing group are merged to obtain at least one process step group of the workpiece.
[0016] Optionally, the target processing constraint is related to the processing requirement of the workpiece type of the at least one workpiece, and the process of minimizing the machine tool cost is performed on the work step group of the at least one workpiece according to the target processing constraint of the at least one workpiece to determine the process to which each work step group of each workpiece belongs, including:
[0017] determining a mathematical model constructed using machining constraints adapted to the workpiece type and an optimization objective related to minimizing machine tool cost;
[0018] generating a target machining constraint for the at least one workpiece based on the workpiece information of the at least one workpiece and the machining constraint;
[0019] A solution to the mathematical model is determined using the target processing constraints, wherein the solution includes the process to which each of the process step groups of at least each of the workpieces belongs.
[0020] Optionally, the step of adjusting the order of each step in the step group of the workpiece and the order of the workpiece between each step group in the process based on the processing sequence constraint between the steps of the workpiece to generate the processing sequence of the workpiece includes:
[0021] Determine each feature group corresponding to the process step group of the workpiece, sort each process step group of the workpiece in the process according to the processing sequence between the feature groups, and obtain the first process step group sequence of the workpiece in the process;
[0022] Sort the steps in each feature of each of the first step group sequences by using the processing sequence of the steps in the features, to obtain second step group sequences corresponding to each of the first step group sequences;
[0023] A processing sequence of the workpiece is generated according to all the second process step group sequences of the workpiece.
[0024] Optionally, generating a processing sequence of the workpiece according to all the second process step group sequences of the workpiece includes:
[0025] According to the processing order of each of the processes, the second step group sequence of the workpiece in each process is determined in turn to obtain the processing process sequence of the workpiece.
[0026] Optionally, the processing constraints include: processing sequence constraints between work step groups, production rhythm requirement constraints, applicability constraints between work steps and machine tools, constraints that only one processing scheme can be selected for processing each feature, upper and lower limit constraints on the number of machine tools used in each process, limit constraints on the number of tool positions of each machine tool, constraints that only one type of machine tool can be used in each process, constraints that each work step can only be processed once, tool merging constraints, processing sequence constraints between work steps within a process, constraints that each work step can only be assigned to one tool position, and any one or more of the constraints in tool fixed cost calculation.
[0027] Optionally, the workpiece type is an automobile engine block.
[0028] A second aspect of the present invention discloses a process flow determination device, comprising:
[0029] A first acquisition unit, configured to acquire workpiece information of each of at least one workpiece;
[0030] A preprocessing unit, used for pre-grouping all the working steps indicated by each workpiece information to obtain at least one working step group for each workpiece;
[0031] A first determining unit is used for processing the step groups of the at least one workpiece according to the target processing constraint of the at least one workpiece with the goal of minimizing the machine tool cost, and determining the process to which each step group of each workpiece belongs;
[0032] The first generating unit is used to adjust the order between each step in the step group of the workpiece and the order of the workpiece between each step group in the process based on the processing sequence constraint between the steps of the workpiece, so as to generate a processing step sequence of the workpiece.
[0033] The third aspect of the present invention discloses a server, comprising: at least one memory and at least one processor; the memory stores a program, the processor calls the program stored in the memory, and the program is used to implement the process flow determination method disclosed in any one of the first aspects of the present invention.
[0034] A fourth aspect of the present invention discloses a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to execute the process flow determination method disclosed in any one of the first aspects of the present invention.
[0035] The present invention provides a process flow determination method, device, server and storage medium, which pre-processes all the work steps indicated by the workpiece information of the workpiece, merges the work steps that must be processed in one process into the same work step group in advance, reduces the solution scale of the mathematical model to the greatest extent, and improves the solution efficiency of the workpiece processing step sequence. In addition, the present application aims to minimize the tool cost, uses the target processing constraint of at least one workpiece to determine the process to which the work step in the workpiece belongs, and then adjusts the order between the work step groups and the order between the work steps in the work step group based on the processing sequence constraint between the work steps of the workpiece, effectively avoiding the existing technology relying on the experience of professional engineers to formulate process planning schemes, resulting in the dilemma of easy local optimization and low solution accuracy of the process planning scheme. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0037] Figure 1 A schematic diagram of a process flow determination method provided by an embodiment of the present invention;
[0038] Figure 2 A schematic diagram of a process for pre-grouping all the working steps indicated by the workpiece information of a workpiece to obtain at least one working step group of the workpiece provided by an embodiment of the present invention;
[0039] Figure 3 An example diagram of a solution process of a two-stage mass solver is provided for an embodiment of the present invention;
[0040] Figure 4 An example diagram of the solution process of a three-level quality solver is provided for an embodiment of the present invention
[0041] Figure 5A flowchart of a method for generating a spatial processing sequence based on a processing sequence constraint between process steps of a workpiece provided by an embodiment of the present invention, adjusting the sequence between each process step in a process step group of the workpiece and the sequence between each process step group of the workpiece in a process;
[0042] Figure 6 A schematic diagram of the structure of a process flow determination device provided by an embodiment of the present invention;
[0043] Figure 7 A structural block diagram of a server provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0044] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0045] In this application, the terms "comprises", "comprising" or any other variation thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of more restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element.
[0046] The definitions of the relevant professional terms involved in the present invention are as follows:
[0047] Product / Workpiece: refers to the engine block;
[0048] Feature group: processing feature group (a feature group consists of multiple similar processing features);
[0049] Features: processing features (a processing feature consists of multiple processing steps);
[0050] Processing plan: Each processing feature has one or more processing plans, and only one of them can be selected (the processing time and tool price of different processing plans are different);
[0051] Process step: processing step, the basic unit of processing;
[0052] Tool: The tool used in the processing step can be changed according to different processing plans;
[0053] Tool holder: The tool holder corresponding to the machine tool, there are two types, HSK63 and HSK100;
[0054] Standard benchmarks: ABC, DEF, GHPA;
[0055] Non-standard benchmarks: benchmarks other than DEF, ABC, and GHPA;
[0056] Processing axis: A axis, B axis, AB axis;
[0057] Process: a collection of several processing steps, corresponding to processing on the same machine tool;
[0058] BOP matrix: feature group processing order relationship matrix;
[0059] Tolerance adjustment: In two nested layers (F, Q, R1 / T1 / Y1 in order), if any of Q and R1 / T1 / Y1 are processed in the same process, it is necessary to consider whether to adjust the tolerance on Q (min{P(Q),A(Q)}). Specifically, if F and Q are also processed in the same process, it is not necessary to adjust the tolerance on Q; if F and Q are not processed in the same process, it is necessary to adjust the tolerance on Q.
[0060] It can be seen from the above background technology that how to plan hundreds of processing features into a reasonable engine cylinder processing process planning scheme is a complex combinatorial optimization problem. The methods for solving combinatorial optimization problems are mainly divided into exact algorithms and heuristic algorithms. However, exact algorithms are generally suitable for problems with low solution time requirements and high solution accuracy requirements, and are not suitable for problems with high solution time requirements. Heuristic algorithms are generally suitable for problems that are difficult to refine mathematical models, have high solution time requirements, and aim to quickly obtain near-optimal solutions. Although heuristic algorithms are suitable for problems with high solution time, this method has a weak dependence on specific problems and cannot effectively utilize the specific characteristics of the problem, resulting in low solution efficiency. Among them, exact algorithms can be branch and bound methods, dynamic programming methods, etc. Heuristic algorithms can be greedy algorithms, genetic algorithms, ant colony algorithms, taboo search, local search, etc.
[0061] Therefore, the present invention provides a process flow determination method, device, server and storage medium, which can improve the accuracy of solving the process planning scheme on the basis of providing the efficiency of solving the process planning scheme.
[0062] See also Figure 1 , shows a schematic flow chart of a process flow determination method provided by an embodiment of the present invention, the process flow determination method specifically comprises the following steps:
[0063] S101: Acquire workpiece information of each workpiece in at least one workpiece;
[0064] In the specific process of executing step S101, the workpiece information of each workpiece in at least one workpiece is obtained, wherein the workpiece information of each workpiece at least includes at least one common information between workpieces, reference and feature comparison information, feature information, process step information, and tool mergeable relationship matrix.
[0065] In an embodiment of the present application, the shared information between at least one workpiece includes machine tool information, standard reference error comparison information, one-layer nested error comparison information, two-layer nested error comparison information, processing sequence matrix between feature groups, and feature merging relationship information.
[0066] Among them, the machine tool information is shown in Table 1; the standard benchmark error comparison information is shown in Table 2; the one-layer nested error comparison information is shown in Table 3; the two-layer nested error comparison information is shown in Table 4; the processing sequence matrix between feature groups can be a matrix in which the row and column indexes are both feature group names, and the matrix cell values are <, >, =, <=, >= (where <=, >= are used to identify three or more nested work steps and other business steps that are required to be processed in one process); the feature mergeability relationship information is shown in Table 5; the benchmark and feature comparison information is shown in Table 6; the feature information is shown in Table 7; the work step information is shown in Table 8; the tool mergeability relationship matrix can be a matrix in which the row and column indexes are both the tolnumber field in Step, and the value in the matrix is 1 or empty, 1 represents that the two tools can be merged, and empty represents that the two tools cannot be merged. Moreover, the merging of tools is symmetrical and transitive. For example, if there are three tools, namely tool A, tool B, and tool C, if tool A and tool B can be merged, then tool B and tool A can also be merged; if tool A and tool B can be merged, and tool A and tool C can be merged, then tool B and tool C can be merged.
[0067] Table 1:
[0068]
[0069] Table 2:
[0070] Field Name Field Type meaning datum_design string Design basis (choose one of ABC, DEF, GHPA) datum_position string Positioning reference (choose one from ABC, DEF, GHPA) value float Error value (=E0)
[0071] Table 3:
[0072] Field Name Field Type meaning datum_design_q string qDesign basis (choose one from ABC, DEF, GHPA) datum_position_q string qPositioning reference (choose one from ABC, DEF, GHPA) datum_position_f string f Positioning reference (choose one of ABC, DEF, GHPA) value float Error value (=-E0+E1)
[0073] Table 4:
[0074]
[0075]
[0076] Table 5:
[0077]
[0078] Table 6:
[0079] Field Name Field Type meaning datum string Base name featuregroupname string Feature Group Name featurenumber string Feature Code
[0080] Table 7:
[0081]
[0082]
[0083] Table 8:
[0084] Field Name Field Type meaning id int Work step id, numbering starts from 0 name string Step name featurenumber string Feature code corresponding to the work step solutionnumber string Solution code corresponding to the work step stepnumber string Step code corresponding to the work step toolnumber string Tool code corresponding to the work step toolholder string Tool handle code corresponding to the work step avalue string A value (e.g. Mill, Drill, Tap) margin float Error margin workingtime float Processing time of the process step (unit: seconds) toolprice float Cost of tooling for each process step (unit: 10,000 yuan) internalnumber int Internal number, step number
[0085] S102: pre-grouping all the working steps indicated by each workpiece information to obtain at least one working step group for each workpiece;
[0086] See also Figure 2 , shows a flow chart of a method for pre-grouping all the work steps indicated by the workpiece information of a workpiece to obtain at least one work step group of the workpiece provided by an embodiment of the present invention. The method specifically comprises the following steps:
[0087] S201: for each feature indicated by the workpiece information of the workpiece, all the working steps under the feature are determined as a processing group;
[0088] In the embodiment of the present application, all features of the workpiece can be determined from the feature information in the workpiece information of the workpiece; for each feature of all the features of the workpiece, the feature includes at least one process step, and all the process steps under the feature constitute a processing group.
[0089] S202: merging processing groups that satisfy a preset feature group processing sequence constraint among the processing groups to obtain at least one first processing group of the workpiece;
[0090] In an embodiment of the present application, a feature group processing order constraint is preset, and the preset feature group processing order constraint may be a constraint that represents a processing order relationship between two feature groups as "=", that is, all work steps corresponding to the two feature groups must be processed in the same process.
[0091] In the specific process of executing step S202, firstly, all feature groups in the workpiece are determined, wherein one feature group includes at least one feature (processing group); at least one feature group having a feature group processing order constraint is determined from all the feature groups of the workpiece; for each feature group in at least one feature group, all processing groups corresponding to the feature group are merged to obtain at least one first processing group of the workpiece.
[0092] For example, workpiece 1 has 6 features, among which features 1 and feature 2 form a feature group 1, features 3 and feature 4 form a feature group 2, and features 5 and feature 6 form a feature group 3; if the relationship between feature group 1 and feature group 2 satisfies the feature group processing order constraint, feature group 1 and feature group 2 are merged to obtain the first processing group 1 (feature group 1 and feature group 2), the first processing group 2 (the processing group corresponding to feature 5), and the first processing group 3 (the processing group corresponding to feature 6) of workpiece 1.
[0093] S203: merging the first processing groups that meet the preset feature processing sequence constraints in at least one first processing group to obtain at least one second processing group of the workpiece;
[0094] In an embodiment of the present application, a feature processing order constraint is pre-set. The pre-set feature processing constraint can be a processing order that represents the existence of two pairs of steps in two features, that is, both "<" and ">". This means that all the steps in the processing groups corresponding to the two features should be processed in the same process, that is, the two processing groups with the feature processing order constraint should be placed in the same process.
[0095] In the specific process of executing step S203, two first processing groups satisfying the feature processing sequence constraint are determined from each first processing group of the workpiece; the two first processing groups satisfying the feature processing sequence constraint are merged to obtain at least one second processing group of the workpiece.
[0096] For example, still taking the example in the above step S202 as an example, the first processing group 1 (feature group 1 and feature group 2), the first processing group 2 (the processing group corresponding to feature 5) and the first processing group 3 (the processing group corresponding to feature 6) of the workpiece 1, if the first processing group 2 and the first processing group 3 in each first processing group of the workpiece 1 meet the preset feature processing sequence constraint, the first processing group 2 and the first processing group 3 are merged to obtain the second processing group 1 (first processing group 1) and the second processing group 2 (first processing group 2 and the first processing group 3).
[0097] S204: Merging the second processing groups that meet the preset nesting condition in at least one second processing group to obtain at least one process step group of the workpiece.
[0098] In the embodiment of the present application, in order to ensure the tolerance, the work steps with more than two layers of nesting errors are processed in the same process as their benchmarks. Obtain at least one work step sequence with more than two layers of nesting among all the work steps of the workpiece; for each work step sequence in at least one work step sequence, determine from the work step sequence the first work step that is not nested by other work steps in the work step sequence, and the second work step in the work step sequence that is only nested by the first work step; determine the second processing group to which the first work step belongs and the second processing group to which the second work step belongs, merge the determined second processing group to which the first work step belongs and the second processing group to which the second work step belongs, and then obtain each work step group of the workpiece.
[0099] For example, it is determined from all the work steps of the workpiece that there are more than two layers of nested work step sequences, namely work step 1, work step 2, work step 3, and work step 4, where work step 1 is based on work step 2, work step 2 is based on work step 3, and work step 3 is based on work step 4. It can be determined that the first work step in the work step sequence that is not nested by other work steps is work step 1, the second work step that is only nested by the first work step, and the second work step that is only nested by work step 1 is work step 2. The second processing group to which work step 1 (first work step) belongs and the second processing group to which work step 2 (second work step) belongs are determined, and the second processing group to which work step 1 belongs and the second processing group to which work step 2 belongs are merged to obtain one work step group.
[0100] S103: with the goal of minimizing the machine tool cost, processing the process step group of at least one workpiece according to the target processing constraint of at least one workpiece, and determining the process to which each process step group of each workpiece belongs;
[0101] In an embodiment of the present application, a mathematical model is pre-constructed based on machining constraints and optimization targets adapted to the workpiece type, wherein the optimization target is related to minimizing the machine tool cost. A target machining constraint for at least one workpiece is generated based on the acquired basic information data set, information data, and pre-set machining constraints related to the workpiece type, and then a solution to the mathematical model is determined based on the target machining constraints with the goal of minimizing the machine tool cost. The solution to the mathematical model determined based on the target machining constraints with the goal of minimizing the machine tool cost includes the process to which the work step group of each workpiece in at least one workpiece belongs; the workpiece type may be an automobile engine block.
[0102] In an embodiment of the present application, the processing constraints related to the workpiece type include: a processing sequence constraint between work steps, a production rhythm requirement constraint, a suitability constraint between work steps and machine tools, a constraint that only one processing scheme can be selected for processing each feature, an upper and lower limit constraint on the number of machine tools used in each process, a limit constraint on the number of tool positions for each machine tool, a constraint that only one type of machine tool can be used in each process, a constraint that each work step can only be processed once, a tool merging constraint, a processing sequence constraint between work steps within a process, a constraint that each work step can only be assigned to one tool position, and any one or more of the tool fixed cost calculation constraints.
[0103] In the embodiment of the present application, the processing sequence constraints between work steps are obtained by converting the processing sequence between feature groups, the processing sequence of work steps in a feature, whether multiple features in a feature group are merged for processing requirements, and three or more nested processing requirements.
[0104] For example, if feature group A and feature group B in the BOP matrix satisfy the processing order constraint between feature groups, that is, feature group A is equal to (=) feature group B, then all process steps in feature group A and all process steps in feature group B must be processed in the same process, and there is no requirement for the processing order between all process steps in feature group A and all process steps in feature group B; if the BOP matrix requires that feature group A is less than (<) feature group B, regardless of whether all process steps in feature group A and all process steps in feature group B are assigned to the same process, all process steps in feature group B are required to be processed before any process step in feature group A; if the BOP matrix requires that feature group A is greater than (>) feature group B, regardless of whether all process steps in feature group A and all process steps in feature group B are assigned to the same process, all process steps in feature group A are required to be processed before any process step in feature group B.
[0105] For multiple steps in a single feature, it is necessary to ensure that the step (ST i ) in the process step (ST i+1 ) in front and ensure that they are processed in the same process.
[0106] If multiple features in a feature group are required to be processed together, all work steps corresponding to all features under the feature group should be processed in the same process.
[0107] For v-layer (v≥3) nesting, all the steps corresponding to the features involved in the first v-2 layers must be processed in the same process. For example, for three-layer nesting (F / Q / R1 / X), the features involved in the first layer (F and Q) must be processed in the same process; and for four-layer nesting (F / Q / R1 / X / U), the features involved in the first two layers (F, Q and R1) must be processed in the same process.
[0108] The case of v layers (v ≥ 3) of nesting can be divided into the following three cases.
[0109] In the first case, workpiece l's process step m must be processed before process step n, that is, (Correspondingly, step n must be processed after step m, i.e. ).
[0110] For example: the process of processing step m of workpiece l is earlier than or equal to the process of processing step n; is a set of steps that have sequential processing requirements for workpiece l. If step m and step n are processed in the same process, the requirement that step n is processed before step n must also be met. Specifically, as shown in Formula 1:
[0111]
[0112] In the second case, step m and step n must be processed at the same time, that is
[0113] For example: workpiece l's process steps m and n must be processed in the same process j. is the set of steps that workpiece l is required to process in the same process. If step m and step n have processing sequence requirements, they must also meet the processing sequence; otherwise, there is no processing sequence. Specifically, as shown in Formula 2:
[0114]
[0115] In the third case, there is no requirement for the processing sequence of step m and step n, and workpiece l has no processing requirement set of steps, that is, in A set of work steps for which workpiece l has no processing requirements
[0116] In the embodiment of the present application, the production cycle constraint can be characterized as that the total time consumed by each process in each workpiece (the sum of the net processing time, tool change time, rapid movement time between features, i.e., auxiliary time, and loading and unloading time) cannot exceed the number of machine tools for processing the process multiplied by the cycle time of the workpiece. Specifically, as shown in Formula 3:
[0117]
[0118] In the embodiment of the present application, the applicability constraint between the work step and the machine tool can be: the applicability constraint between the work step and the machine tool determines whether the work step can be processed on the machine tool of this type. Specifically, it includes the following three situations, namely, the initial matching of the machine tool and the work step, after the feature feature is processed, the machine tool type of the preset type can be used, and the conduction nesting of the processing error.
[0119] In the first case, the initial matching of machine tools and work steps can be: each type of machine tool can process a limited number of surfaces, the machine tool's processing axis is single-axis (A axis, B axis) or double-axis (AB axis); the machine tool's tool holder is HSK63 or HSK100, and there is a corresponding fixture type. For each work step of the workpiece, the work step requires processing on a specific processing surface, a specific processing axis, and by a tool installed on a specific type of tool holder, and different fixture types will directly affect the processing quality of the work step. For workpiece l and work step i, follow the steps below to match the set of machine tool types that can process work step i The specific steps include:
[0120] a) Standard (single) machining surface restrictions for a work step; b) A work step has multiple machining surfaces, and for each machining surface, the machine tool must be able to machine the machining surface; c) Processing requirements for the AB axis of the work step; d) Tool holder requirements for the tool used to machine the work step; e) If the design datum of the work step is the standard datum, determine whether the work step can be machined on the type of machine tool according to P(F)-E0>=A(F) (first-level quality solver); For example, if the machine tool type is type have: If the machine type is have:
[0121] It should be noted that if the design basis of step i is the standard basis, and after matching according to the above steps a)-d) Then it should be pointed out which step or steps in steps a)-d) are not satisfied; if the above steps a)-e) are matched, steps a)-d) are all satisfied, but step e) causes At this time, it is mandatory that process step i be processed in the same process as its design datum (the design datum can be ABC or GHPA), or be processed with the design datum as the positioning datum (the design datum can be DEF).
[0122] In the second case, the machine type is the preset type of machine tool to start using, for example, for the machine type The machine tool can only be used after all the steps corresponding to at least one specific feature in the workpiece l have been processed. The specific details are shown in Formula 4:
[0123]
[0124] In the third case, the nesting of the conduction of the machining error can be: if the design basis of the work step is a non-standard basis, the nesting of the machining error needs to be considered. The nesting of the machining error can be divided into one-layer machining error nesting and two-layer machining error nesting. Among them, the situation of three layers and more than three layers of nesting can refer to the relevant description in the constraints of the processing sequence between work steps, which will not be repeated here.
[0125] One level of machining error nesting (two-level quality solver, such as Figure 3 As shown in the figure, it can be that the design basis of the work step is a non-standard basis, but the design basis of the design basis is a standard basis. At this time, it can be judged whether the work step can be processed on a machine tool of the preset machine tool type based on P(F)-[P(Q)-E0+E1]>=A(F).
[0126] For example: The machine type of processing step F is k F , the machine type for machining design datum Q is k Q , and satisfies the inequality relationship P(F)-[P(Q)-E0+E1]<A(F). If k F ≠k Q ,but and Cannot be 1 at the same time, that is, step F cannot be placed in type k at the same time F On the machine tool, step Q is ranked in type k Q The specific process is shown in Formula 5. Indicates that workpiece l process step F is in type k F Processing on machine tools, Indicates that workpiece l process step Q is in type k Q The machine tool is added, and Indicates that workpiece l process step R1 is in type k R1 Processed on machine tools.
[0127]
[0128] If k F =k Q , then: if and If both are 1, they must be in the same process. That is, if process step F is placed in type k F On the machine tool, step Q is ranked in type k Q If it is processed on a machine tool, then k F and k Q It must be the same machine tool, as shown in formula (6):
[0129]
[0130] Two-level machining error nesting (three-level quality solver, such as Figure 4As shown. ) can be: the design datum Q of the work step F is a non-standard datum, the design datum R1 of the design datum F is still a non-standard datum, but the design datum R1 of the design datum Q is a standard datum. At this time, the inequality P(F)-{[P(Q)-P(R1)-E0+E1]+E2}≥A(F) can be used to determine whether the work step can be processed on a machine tool of the preset machine tool type.
[0131] For example, the machine tool types for processing F, Q, and R1 are k F , k Q , k R1 , and satisfies the inequality relation P(F)-{[P(Q)-P(R1)-E0+E1]+E2}<A(F). If k F ≠k Q , k Q ≠k R1 , k F ≠k R1 , then: as well as Cannot be 1 at the same time, that is, the solution is not feasible, and step F cannot be placed in type k at the same time F On the machine tool, step Q is ranked in type k Q On the machine tool, step R1 is in type k R1 The specific formula is as shown in formula 7:
[0132]
[0133] If k F =k Q , k Q ≠k R1 , If both are 1, then step F and step Q must be in the same process. That is, if step F is placed in type k F On the machine tool, step Q is ranked in type k Q On the machine tool, step R1 is in type k R1 If it is processed on a machine tool, then k F and k F It must be the same machine tool. As shown in formula 8:
[0134]
[0135] If k F ≠k Q , k Q =k R1 , P(F)-{min(P(Q),A(Q))+E2}<A(F), then: Cannot be 1 at the same time, that is, F cannot be ranked in type k at the same timeF On machine tools, Q is ranked in type k Q On machine tools, R1 is ranked in type k R1 The specific formula is as shown in formula 9:
[0136]
[0137] If k F ≠k Q , k Q =k R1 , P(F)-{min(P(Q),A(Q))+E2}≥A(F), then: If If both are 1, then step Q and step R1 must be in the same process. That is, if F is placed in type k F On machine tools, Q is ranked in type k Q On machine tools, R1 is ranked in type k R1 If it is processed on a machine tool, then k Q and k R1 It must be the same machine tool. As shown in formula 10:
[0138]
[0139] If k F ≠k Q , k F =k R1 ,but Cannot be 1 at the same time, that is, step F cannot be placed in type k at the same time F On the machine tool, step Q is ranked in type k Q On the machine tool, step R1 is in type k R1 The specific formula is as shown in formula 11:
[0140]
[0141] If k F =k Q =k R1 , P(F)-{min(P(Q),A(Q))+E2}<A(F), if If both are 1, then step F and step Q must be processed in the same process. That is, if step F is placed in type k F On the machine tool, step Q is ranked in type k Q On the machine tool, step R1 is in type k R1 If it is processed on a machine tool, then k F and k R1 It must be the same machine tool. The details are shown in formula 12:
[0142]
[0143] If k F =k Q =k R1 , P(F)-{min(P(Q),A(Q))+E2}≥A(F), if If both are 1, then step F and step Q are in the same process, or step Q and step R1 are in the same process. That is, if step F is placed in type k F On the machine tool, step Q is ranked in type k Q On the machine tool, step R1 is in type k R1 If it is processed on a machine tool, then k F and k Q Must be the same machine tool or k Q and k R1 It must be the same machine tool. The details are shown in formula 13:
[0144]
[0145] In the embodiment of the present application, each feature can only select one processing scheme for processing. The constraints can be: for each feature, the feature is processed using different tools, the net processing time is different, and the cost of the tool may also be different; corresponding to multiple processing schemes, each feature can only select one of the processing schemes for processing, and all the steps in the feature should select the same processing scheme as the feature for processing. Specifically, as shown in formula 14:
[0146]
[0147] In the embodiment of the present application, the upper and lower limits of the number of machine tools used in each process can be: the number of machine tools of type k used in any process j cannot exceed N max , cannot be less than N min . The specific formula is as shown in formula 15:
[0148]
[0149] In the embodiment of the present application, the restriction on the number of tool positions of each machine tool may be: the number of tools used in the work steps assigned to any process j cannot exceed the number of tool positions of the machine tool used. Specifically, as shown in Formula 16:
[0150]
[0151] In the embodiment of the present application, the constraint that each process can use at most one type of machine tool can be: each process can only use one type of machine tool, and an empty process is not assigned any type of machine tool. Specifically, as shown in Formula 17:
[0152]
[0153] In the embodiment of the present application, the constraint that each process step can only be processed once can be: workpiece l process step i can only be processed once using one type of machine tool, and multiple processing is not allowed. Specifically, as shown in formula 18:
[0154]
[0155] In the embodiment of the present application, the tool merging constraint may be: if the s-th set of processing solutions for step i and the s'-th set of processing solutions for step i' cannot be merged, then processing cannot be performed on one tool position; if the tools can be merged, then the tools may be merged or not. Specifically, as shown in Formula 19:
[0156]
[0157] In the embodiment of the present application, the processing sequence constraint between the steps in a process can be: if the step i is required to be processed before the step i', then the process must meet this processing sequence requirement; if there is no requirement between the steps in the process, then the step i can be processed before the step i', or the step i' can be processed before the step i. Specifically, as shown in Formula 20:
[0158]
[0159] , each work step can only be assigned to one tool position. The constraint can be: each work step can only be processed once using a tool on one tool position. Specifically, as shown in formula 21:
[0160]
[0161] In the embodiment of the present application, the tool fixed cost calculation constraint may be: for tools that can be merged, the cost of the merged tool is the maximum cost of each merged tool (in actual application, the cost of each tool should be equal). Specifically, as shown in Formula 22:
[0162]
[0163] The description of each parameter in formula (1) to formula (22) is shown in Table 9.
[0164] Table 9:
[0165]
[0166]
[0167]
[0168] S104: Based on the processing sequence constraint between the work steps of the workpiece, adjust the sequence between the work steps in the work step group of the workpiece and the sequence between the work step groups in the process to generate a processing sequence of the workpiece.
[0169] In the embodiment of the present application, the processing sequence between work steps includes the processing sequence between feature groups and the processing sequence between work steps in features. After determining the process to which each work step group of each workpiece belongs, for each workpiece, the processing sequence of the workpiece is generated by adjusting the order between the work step groups in the process according to the processing sequence between the feature groups of the workpiece and the processing sequence between the work step groups in the feature. The specific process of generating the processing sequence of the workpiece according to the processing sequence between the feature groups of the workpiece and the processing sequence between the work step groups in the feature can be found in Figure 5 The process shown will not be repeated here.
[0170] In the embodiment of the present application, after obtaining the processing step sequence of the workpiece, the corresponding process content details, process content overview, verticality and parallelism information, assembly line configuration overview and other information are also output. Among them, the process content details are shown in Table 10, the process content overview is shown in Table 11, the verticality and parallelism information is shown in Table 12, and the assembly line configuration overview and other information are shown in Table 13.
[0171] Table 10:
[0172]
[0173] Table 11:
[0174]
[0175] Table 12:
[0176] Field Name Field Type meaning ProcessName string Feature Group Name Tool string Tool name FixtureType string Fixture Type Number string Process step name (including processing plan) Product string Verticality, parallelism Tolerances string tolerance
[0177] Table 13:
[0178]
[0179]
[0180] The present invention provides a method for determining a process flow, which pre-processes all the work steps indicated by the workpiece information of the workpiece, and merges the work steps that must be processed in one process into the same work step group in advance, thereby reducing the scale of solving the mathematical model to the greatest extent and improving the efficiency of solving the processing step sequence of the workpiece. In addition, the present application aims to minimize the tool cost, uses the target processing constraint of at least one workpiece to determine the process to which the work step in the workpiece belongs, and then adjusts the order between the work step groups and the order between the work steps in the work step group based on the processing sequence constraint between the work steps of the workpiece, effectively avoiding the existing technology that relies on the experience of professional engineers to formulate process planning schemes, resulting in the dilemma of easy local optimization and low solution accuracy of the process planning scheme.
[0181] See also Figure 5 , shows a flow chart of a method for generating a spatial processing sequence based on the processing sequence constraint between the work steps of the workpiece, adjusting the sequence between the work steps in the work step group of the workpiece and the sequence between the work step groups of the workpiece in the process, and the method specifically includes the following steps:
[0182] S501: Determine each feature group corresponding to the work step group of the workpiece, sort each work step group of the workpiece in the process according to the processing sequence between the feature groups, and obtain the first work step group sequence of the process of the workpiece;
[0183] In an embodiment of the present application, a processing sequence between feature groups is preset. After determining the process to which each process step group of the workpiece belongs, the process step group of each process is selected in turn according to the processing sequence of each process. For each process of the workpiece, the various process step groups of the workpiece are sorted according to the preset processing sequence between feature groups to obtain a first process step group sequence.
[0184] In an embodiment of the present application, the pre-set processing sequence between feature groups can be: feature group A is equal to (=) feature group B, that is, all process steps in feature group A and all process steps in feature group B must be processed in the same process, and there is no requirement for the processing sequence between all process steps in feature group A and all process steps in feature group B; feature group A is less than (<) feature group B, that is, regardless of whether all process steps in feature group A and all process steps in feature group B are assigned to the same process, all process steps in feature group B are required to be processed before any process step in feature group A; feature group A is greater than (>) feature group B, regardless of whether all process steps in feature group A and all process steps in feature group B are assigned to the same process, all process steps in feature group A are required to be processed before any process step in feature group B.
[0185] For example, the work step groups of the workpiece are work step group 1, work step group 2, work step group 3, and work step group 4, wherein the process to which work step group 1 belongs is process 2, the process to which work step group 2 belongs is process 1, the process to which work step group 3 belongs is process 3, and the process to which work step group 4 belongs is process 3; the feature group corresponding to work step group 1 is feature group 1, the feature group corresponding to work step group 2 is feature group 2, the feature group corresponding to work step group 3 is feature group 3, and the feature group corresponding to work step group 4 is feature group 4. If the inter-feature group processing sequence between feature group 3 and feature group 4 is feature group 3 is less than (<) feature group 4, the various work step groups of process 3 are sorted according to the inter-feature group processing sequence to obtain the first work step group sequence of process 3 as work step group 3 and work step group 4.
[0186] S502: sorting the process steps in each feature in the first process step group sequence according to the processing sequence of the process steps in the feature, to obtain a second process step group sequence corresponding to each first process step group sequence;
[0187] In the embodiment of the present application, a processing sequence of the work steps in the feature is preset. For each process in the workpiece, after sorting the various work step groups of the process according to the processing sequence between the feature groups to obtain the first work step group sequence of the process, the work steps in the first work step group sequence are sorted according to the preset process step sequence in the feature to obtain the second work step group sequence corresponding to the first work step group sequence.
[0188] In the embodiment of the present application, the processing sequence of the steps in the pre-set feature can be the processing sequence of the step (ST i ) must be in the process step (ST i+1 )Front processing.
[0189] For example, still taking the example in the above step S501 as an example, the first step group sequence of process 3 is step group 4 and step group 3, wherein the feature group corresponding to step group 3 is feature group 3, feature group 3 may include feature 3, feature 3 includes: step 5 (ST1), step 6 (ST2), the feature group corresponding to step group 4 is feature group 4, feature group 4 includes feature 4, feature 4 includes step 7 (ST2) and step 8 (ST1). The first step group sequence (step group 4, step group 3) is sorted according to the order of processing steps in the pre-set features, and the second step group sequence can be: step group 4 (step 8 (ST1), step 7 (ST2)), step group 3 (step 5 (ST1), step 6 (ST2)).
[0190] S503: Generate a processing sequence of the workpiece according to all second process step group sequences of the workpiece.
[0191] In an embodiment of the present application, the steps in each feature of the first step group sequence of each process of the workpiece are sorted according to the processing sequence of the steps in the feature, and the second step group sequence corresponding to the first step group sequence of each process is obtained. Then, the second step group sequence of the workpiece in each process is determined in turn according to the processing order of each process to obtain the processing process sequence of the workpiece.
[0192] For example, the work step groups of the workpiece are work step group 1, work step group 2, work step group 3, and work step group 4, wherein the process to which work step group 1 belongs is process 2, the process to which work step group 2 belongs is process 1, the process to which work step group 3 belongs is process 3, and the process to which work step group 4 belongs is process 3; the feature group corresponding to work step group 1 is feature group 1, and feature 1 may include feature 1, and feature 1 includes work step 1 (ST2) and work step 2 (ST1); the feature group corresponding to work step group 2 is feature group 2, and feature group 2 may include feature 2, and feature 2 includes: work step 3 (ST1) and work step 4 (ST2); the feature group corresponding to work step group 3 is feature group 3, and feature group 3 may include feature 3, and feature 3 includes: work step 5 (ST1) and work step 6 (ST2); the feature group corresponding to work step group 4 is feature group 4, and feature 4 includes work step 7 (ST2) and work step 8 (ST1).
[0193] If the processing sequence between feature groups 3 and feature group 4 is feature group 3 is less than (<) feature group 4, the step groups of process 3 are sorted according to the processing sequence between feature groups to obtain the first step group sequence of process 3, which is step group 3 and step group 4; the step groups of process 1 are sorted according to the processing sequence between feature groups to obtain the first step group sequence of process 1, which is step group 2; the step groups of process 2 are sorted according to the processing sequence between feature groups to obtain the first step group sequence of process 2, which is step group 1.
[0194] According to the order of processing steps in the preset feature, the first process step group sequence (process step group 2) of process 1 is sorted, and the second process step group sequence of process 1 is process step group 2 (process step 3 (ST1), process step 4 (ST2)); according to the order of processing steps in the preset feature, the first process step group sequence (process step group 1) of process 2 is sorted, and the second process step group sequence of process 2 is process step group 1 (process step 2 (ST1), process step 1 (ST2)); according to the order of processing steps in the preset feature, the first process step group sequence (process step group 4, process step group 3) of process 3 is sorted, and the second process step group sequence of process 3 is: process step group 4 (process step 8 (ST1), process step 7 (ST2)), process step group 3 (process step 5 (ST1), process step 6 (ST2)). Furthermore, the processing process sequence of the workpiece generated according to all the second process step group sequences of the workpiece can be process 1 (process 3 (ST1), process 4 (ST2)), process 2 (process 2 (ST1), process 1 (ST2)), process 3 (process 8 (ST1), process 7 (ST2), process 5 (ST1), process 6 (ST2)).
[0195] Based on the process flow determination method disclosed in the embodiment of the present invention, the embodiment of the present invention also discloses a process flow determination device, such as Figure 6 As shown, the process flow determination device comprises:
[0196] A first acquisition unit 61 is used to acquire workpiece information of each workpiece in at least one workpiece;
[0197] A preprocessing unit 62, used for pre-grouping all the working steps indicated by each workpiece information to obtain at least one working step group for each workpiece;
[0198] A first determining unit 63 is used to process the process step group of at least one workpiece according to the target processing constraint of at least one workpiece with the goal of minimizing the machine tool cost, and determine the process to which each process step group of each workpiece belongs;
[0199] The first generating unit 64 is used to adjust the order between each step in the step group of the workpiece and the order between each step group of the workpiece in the process based on the processing sequence constraint between the steps of the workpiece, so as to generate a processing sequence of the workpiece.
[0200] The specific principles and execution processes of each unit in the process flow determination device disclosed in the above embodiment of the present invention are the same as the process flow determination method disclosed in the above embodiment of the present invention. Please refer to the corresponding parts of the process flow determination method disclosed in the above embodiment of the present invention, and will not be repeated here.
[0201] The present invention provides a process flow determination device, which pre-processes all the work steps indicated by the workpiece information of the workpiece, merges the work steps that must be processed in one process into the same work step group in advance, reduces the solution scale of the mathematical model to the greatest extent, and improves the solution efficiency of the workpiece processing step sequence. In addition, the present application aims to minimize the tool cost, uses the target processing constraint of at least one workpiece to determine the process to which the work step in the workpiece belongs, and then adjusts the order between the work step groups and the order between the work steps in the work step group based on the processing sequence constraint between the work steps of the workpiece, effectively avoiding the existing technology that relies on the experience of professional engineers to formulate process planning schemes, resulting in the dilemma of easy local optimization and low solution accuracy of the process planning scheme.
[0202] In the embodiment of the present application, preferably, the preprocessing unit includes:
[0203] A second determining unit is used to determine, for each feature indicated by the workpiece information of the workpiece, all the working steps under the feature as a processing group;
[0204] A first merging unit is used to merge the processing groups that meet the preset feature group processing sequence constraints in each processing group to obtain at least one first processing group of the workpiece;
[0205] A second merging unit is used to merge the first processing groups that meet the preset feature processing sequence constraints in at least one first processing group to obtain at least one second processing group of the workpiece;
[0206] The third merging unit is used to merge the second processing groups that meet the preset nesting conditions in at least one second processing group to obtain at least one process step group of the workpiece.
[0207] In an embodiment of the present application, the target processing constraint is related to a processing requirement of a workpiece type of at least one workpiece. Preferably, the first determining unit includes:
[0208] A third determination unit is used to determine a mathematical model constructed using machining constraints adapted to the workpiece type and an optimization target, wherein the optimization target is related to minimizing the cost of a machine tool tool;
[0209] a second generating unit, configured to generate a target processing constraint of at least one workpiece based on the workpiece information and the processing constraint of at least one workpiece;
[0210] The fourth determining unit is used to determine a solution of the mathematical model by using the target processing constraint, wherein the solution includes at least the process to which each process step group of each workpiece belongs.
[0211] In the embodiment of the present application, preferably, the first generating unit includes:
[0212] A first sorting unit is used to determine each feature group corresponding to the work step group of the workpiece, and sort each work step group of the workpiece in the process according to the processing sequence between the feature groups to obtain the first work step group sequence of the workpiece in the process;
[0213] A second sorting unit sorts the steps in each feature of each first step group sequence according to the processing sequence of the steps in the feature, to obtain a second step group sequence corresponding to each first step group sequence;
[0214] The third generating unit is used to generate a processing sequence of the workpiece according to all second process step group sequences of the workpiece.
[0215] In the embodiment of the present application, preferably, the third generating unit includes:
[0216] A fourth generating unit is used to determine the second step group sequence of the workpiece in each process in sequence according to the processing order of each process, and obtain a processing process sequence of the workpiece;
[0217] In the embodiment of the present application, preferably, the processing constraints include: processing sequence constraints between work step groups, production rhythm requirement constraints, applicability constraints between work steps and machine tools, constraints that only one processing scheme can be selected for processing for each feature, upper and lower limit constraints on the number of machine tools used in each process, limit constraints on the number of tool positions of each machine tool, constraints that only one type of machine tool can be used in each process, constraints that each work step can only be processed once, tool merging constraints, processing sequence constraints between work steps within a process, constraints that each work step can only be assigned to one tool position, and any one or more of the tool fixed cost calculation constraints.
[0218] In the embodiment of the present application, preferably, the workpiece type is an automobile engine block.
[0219] The following takes the application of the request method to the server as an example to describe in detail the hardware structure of the server to which the process flow determination method provided in the embodiment of the present application is applicable.
[0220] A process flow determination method provided in an embodiment of the present application can be applied to a server, which can be a service device on the network side that provides services to users. It can be a server cluster composed of multiple servers or a single server.
[0221] Optional, Figure 7 The hardware structure block diagram of the server side to which the process flow determination method provided in the embodiment of the present application is applicable is shown. Figure 7 , the hardware structure of the server may include: a processor 71, a memory 72, a communication interface 73 and a communication bus 74;
[0222] In the embodiment of the present invention, the number of the processor 71, the memory 72, the communication interface 73, and the communication bus 74 may be at least one, and the processor 71, the memory 72, and the communication interface 73 communicate with each other through the communication bus 74;
[0223] The processor 71 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention;
[0224] The memory 72 may include a high-speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory;
[0225] The memory stores a program, and the processor can call the program stored in the memory, and the program is used to:
[0226] obtaining artifact information of each of the at least one artifact;
[0227] Pre-grouping all the working steps indicated by each workpiece information to obtain at least one working step group for each workpiece;
[0228] With the goal of minimizing the machine tool cost, processing the step group of at least one workpiece according to the target processing constraint of at least one workpiece, and determining the process to which each step group of each workpiece belongs;
[0229] Based on the processing sequence constraints between the work steps of the workpiece, the order between the work steps in the work step group of the workpiece and the order between the work step groups of the process are adjusted to generate the processing sequence of the workpiece.
[0230] The functions of the relevant programs can be found in the detailed description of a process flow determination method provided in an embodiment of the present application above, which will not be elaborated here.
[0231] Furthermore, an embodiment of the present application also provides a computer-readable computer storage medium, in which computer-executable instructions are stored, and the computer-executable instructions are used to execute the above-mentioned process flow determination method.
[0232] For specific contents of the computer executable instructions, please refer to the detailed description of a process flow determination method provided in the embodiment of the present application above, which will not be repeated here.
[0233] The above is a detailed introduction to a process flow determination method, device, server and storage medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
[0234] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.
[0235] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device that includes a series of elements is inherent to the elements, or also includes elements inherent to these processes, methods, articles or devices. In the absence of further restrictions, the elements defined by the sentence "including a..." do not exclude the presence of other identical elements in the process, method, article or device that includes the elements.
[0236] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for determining a process flow, characterized in that: include: Acquire artifact information of each of the at least one artifact; Pre-grouping all the working steps indicated by the information of each workpiece to obtain at least one working step group for each workpiece; With the goal of minimizing the machine tool cost, the process step groups of the at least one workpiece are processed according to the target processing constraints of the at least one workpiece, and the process to which each of the process step groups of each of the workpieces belongs is determined; Based on the processing sequence constraint between the work steps of the workpiece, the sequence between the work steps in the work step group of the workpiece and the sequence between the work step groups of the workpiece in the process are adjusted to generate a processing sequence of the workpiece; The pre-grouping of all the working steps indicated by the workpiece information to obtain at least one working step group for each workpiece comprises: For each feature indicated by the workpiece information of the workpiece, all the work steps under the feature are determined as a processing group; specifically comprising: determining all the features of the workpiece from the feature information in the workpiece information of the workpiece; for each feature of all the features of the workpiece, the feature includes at least one work step, and all the work steps under the feature constitute a processing group; Merging the processing groups that satisfy the preset feature group processing sequence constraint in each of the processing groups to obtain at least one first processing group of the workpiece; specifically comprising: first determining all feature groups in the workpiece, wherein one feature group includes at least one processing group; determining at least one group of feature groups with feature group processing sequence constraint from all feature groups of the workpiece; for each feature group in at least one group of feature groups, merging all processing groups corresponding to the feature group to obtain at least one first processing group of the workpiece; Merging the first processing groups satisfying the preset feature processing sequence constraint in the at least one first processing group to obtain at least one second processing group of the workpiece; specifically comprising: determining two first processing groups satisfying the feature processing sequence constraint from each first processing group of the workpiece; merging the determined two first processing groups satisfying the feature processing sequence constraint to obtain at least one second processing group of the workpiece; Merging each second processing group that meets the preset nesting condition in the at least one second processing group to obtain at least one process step group of the workpiece; specifically comprising: in order to ensure the tolerance, the process step with more than two layers of nesting error and its reference are processed in the same process, and at least one process step sequence with more than two layers of nesting is obtained from all the process steps of the workpiece; for each process step sequence in the at least one process step sequence, determining from the process step sequence a first process step that is not nested by other process steps in the process step sequence, and a second process step that is only nested by the first process step in the process step sequence; determining the second processing group to which the first process step belongs and the second processing group to which the second process step belongs, merging the determined second processing group to which the first process step belongs and the second processing group to which the second process step belongs to obtain each process step group of the workpiece; The target processing constraint is related to the processing requirement of the workpiece type of the at least one workpiece, and the process of processing the step group of the at least one workpiece according to the target processing constraint of the at least one workpiece and determining the process to which each step group of each workpiece belongs includes: determining a mathematical model constructed using machining constraints adapted to the workpiece type and an optimization objective related to minimizing machine tool cost; generating a target machining constraint for the at least one workpiece based on the workpiece information of the at least one workpiece and the machining constraint; Determining a solution of the mathematical model using the target processing constraint, the solution including the process to which each of the process step groups of each of the at least one workpiece belongs; The step of adjusting the order of each step in the step group of the workpiece and the order of the workpiece between each step group in the process based on the processing order constraint between the steps of the workpiece to generate the processing sequence of the workpiece includes: Determine each feature group corresponding to the work step group of the workpiece, and sort each work step group of the workpiece in the process by using the processing sequence between feature groups to obtain a first work step group sequence of the workpiece in the process; wherein a processing sequence between feature groups is preset, and after determining the process to which each work step group of the workpiece belongs, select the work step group of each process in turn according to the processing sequence of each process, and for each process of the workpiece, sort each work step group of the workpiece by using the preset processing sequence between feature groups to obtain a first work step group sequence; The work steps in each feature of each of the first work step group sequences are sorted respectively by using the processing sequence of the work steps in the features to obtain the second work step group sequences respectively corresponding to each of the first work step group sequences; wherein the processing sequence of the work steps in the features is preset, and for each process in the workpiece, after sorting the work step groups of the process according to the processing sequence between the feature groups to obtain the first work step group sequence of the process, the work steps in each feature of the first work step group sequence are sorted according to the preset processing sequence of the work steps in the features to obtain the second work step group sequence corresponding to the first work step group sequence; Generate a processing sequence of the workpiece according to all the second process step group sequences of the workpiece; including: sequentially determine the second process step group sequence of the workpiece in each process according to the processing order of each process, and obtain the processing sequence of the workpiece.
2. The method according to claim 1, characterized in that The processing constraints include: Constraints on the processing sequence between work step groups, production cycle requirements, applicability constraints between work steps and machine tools, constraints that only one processing plan can be selected for each feature, upper and lower limits on the number of machine tools used in each process, limit on the number of tool positions for each machine tool, constraints that only one type of machine tool can be used in each process, constraints that each work step can only be processed once, tool merging constraints, constraints on the processing sequence between work steps within a process, constraints that each work step can only be assigned to one tool position, and any one or more of the constraints in the calculation of tool fixed costs.
3. The method according to claim 1, characterized in that The workpiece type is an automobile engine block.
4. A process flow determination device, characterized in that: include: A first acquisition unit, configured to acquire workpiece information of each of at least one workpiece; A preprocessing unit, used for pre-grouping all the working steps indicated by each workpiece information to obtain at least one working step group for each workpiece; A first determining unit is used for processing the step groups of the at least one workpiece according to the target processing constraint of the at least one workpiece with the goal of minimizing the machine tool cost, and determining the process to which each step group of each workpiece belongs; A first generating unit is used to adjust the order between each step in the step group of the workpiece and the order of the workpiece between each step group of the process based on the processing sequence constraint between the steps of the workpiece, so as to generate a processing sequence of the workpiece; The pre-processing unit is specifically used for: For each feature indicated by the workpiece information of the workpiece, all the work steps under the feature are determined as a processing group; specifically comprising: determining all the features of the workpiece from the feature information in the workpiece information of the workpiece; for each feature of all the features of the workpiece, the feature includes at least one work step, and all the work steps under the feature constitute a processing group; Merging the processing groups that satisfy the preset feature group processing sequence constraint in each of the processing groups to obtain at least one first processing group of the workpiece; specifically comprising: first determining all feature groups in the workpiece, wherein one feature group includes at least one processing group; determining at least one group of feature groups with feature group processing sequence constraint from all feature groups of the workpiece; for each feature group in at least one group of feature groups, merging all processing groups corresponding to the feature group to obtain at least one first processing group of the workpiece; Merging the first processing groups satisfying the preset feature processing sequence constraint in the at least one first processing group to obtain at least one second processing group of the workpiece; specifically comprising: determining two first processing groups satisfying the feature processing sequence constraint from each first processing group of the workpiece; merging the determined two first processing groups satisfying the feature processing sequence constraint to obtain at least one second processing group of the workpiece; Merging each second processing group that meets the preset nesting condition in the at least one second processing group to obtain at least one process step group of the workpiece; specifically comprising: in order to ensure the tolerance, the process step with more than two layers of nesting error and its reference are processed in the same process, and at least one process step sequence with more than two layers of nesting is obtained from all the process steps of the workpiece; for each process step sequence in the at least one process step sequence, determining from the process step sequence a first process step that is not nested by other process steps in the process step sequence, and a second process step that is only nested by the first process step in the process step sequence; determining the second processing group to which the first process step belongs and the second processing group to which the second process step belongs, merging the determined second processing group to which the first process step belongs and the second processing group to which the second process step belongs to obtain each process step group of the workpiece; The target processing constraint is related to the processing requirement of the workpiece type of the at least one workpiece, and the first determining unit is specifically configured to: determining a mathematical model constructed using machining constraints adapted to the workpiece type and an optimization objective related to minimizing machine tool cost; generating a target machining constraint for the at least one workpiece based on the workpiece information of the at least one workpiece and the machining constraint; Determining a solution of the mathematical model using the target processing constraint, the solution including the process to which each of the process step groups of each of the at least one workpiece belongs; The first generating unit is specifically used for: Determine each feature group corresponding to the work step group of the workpiece, and sort each work step group of the workpiece in the process by using the processing sequence between feature groups to obtain a first work step group sequence of the workpiece in the process; wherein a processing sequence between feature groups is preset, and after determining the process to which each work step group of the workpiece belongs, select the work step group of each process in turn according to the processing sequence of each process, and for each process of the workpiece, sort each work step group of the workpiece by using the preset processing sequence between feature groups to obtain a first work step group sequence; The work steps in each feature of each of the first work step group sequences are sorted respectively by using the processing sequence of the work steps in the features to obtain the second work step group sequences respectively corresponding to each of the first work step group sequences; wherein the processing sequence of the work steps in the features is preset, and for each process in the workpiece, after sorting the work step groups of the process according to the processing sequence between the feature groups to obtain the first work step group sequence of the process, the work steps in each feature of the first work step group sequence are sorted according to the preset processing sequence of the work steps in the features to obtain the second work step group sequence corresponding to the first work step group sequence; Generate a processing sequence of the workpiece according to all the second process step group sequences of the workpiece; including: sequentially determine the second process step group sequence of the workpiece in each process according to the processing order of each process, and obtain the processing sequence of the workpiece.
5. A server, characterized in that: include: at least one memory and at least one processor; The memory stores a program, and the processor calls the program stored in the memory, and the program is used to implement the process flow determination method according to any one of claims 1 to 3.
6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to execute the process flow determination method described in any one of claims 1-3.
