CN113449868A - Machining process parameter decision support knowledge mining method and system - Google Patents

Machining process parameter decision support knowledge mining method and system Download PDF

Info

Publication number
CN113449868A
CN113449868A CN202110780789.7A CN202110780789A CN113449868A CN 113449868 A CN113449868 A CN 113449868A CN 202110780789 A CN202110780789 A CN 202110780789A CN 113449868 A CN113449868 A CN 113449868A
Authority
CN
China
Prior art keywords
process parameter
parameter decision
data
decision support
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110780789.7A
Other languages
Chinese (zh)
Other versions
CN113449868B (en
Inventor
周光辉
秦天宇
张超
李晶晶
严如强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Jiaotong University
Original Assignee
Xian Jiaotong University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Jiaotong University filed Critical Xian Jiaotong University
Priority to CN202110780789.7A priority Critical patent/CN113449868B/en
Publication of CN113449868A publication Critical patent/CN113449868A/en
Application granted granted Critical
Publication of CN113449868B publication Critical patent/CN113449868B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N5/00Computing arrangements using knowledge-based models
    • G06N5/02Knowledge representation; Symbolic representation
    • G06N5/022Knowledge engineering; Knowledge acquisition
    • G06N5/025Extracting rules from data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N5/00Computing arrangements using knowledge-based models
    • G06N5/02Knowledge representation; Symbolic representation
    • G06N5/022Knowledge engineering; Knowledge acquisition
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Computational Linguistics (AREA)
  • Computing Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Artificial Intelligence (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a machining process parameter decision support knowledge mining method and a machining process parameter decision support knowledge mining system, wherein process data are obtained from a part machining process card, and process parameter decision support data are extracted; taking the extracted process parameter decision support data of the same family parts as input; constructing a process parameter decision support item head table; constructing a process parameter decision support FP tree based on the constructed process parameter decision support item head table; excavating the constructed process parameter decision support FP tree to form a process parameter decision support frequent tuple; and storing all the mined process parameter decision support frequent tuples into a knowledge base to support process parameter decision. The invention realizes the mining of the process parameter decision support knowledge, can support the decision of the tool and the cutting amount during the planning of the machining process, can efficiently mine the process parameter decision support knowledge facing the process data accumulated by enterprises and can avoid the occurrence of redundant knowledge.

Description

Machining process parameter decision support knowledge mining method and system
Technical Field
The invention belongs to the technical field of intelligent information of advanced manufacturing technology, and particularly relates to a machining process parameter decision support knowledge mining method and system.
Background
The process planning is an important content in the technical preparation work of the mechanical manufacturing production process, is a link of product design and processing and manufacturing, and is a decision-making process which is highly empirical and changes with the environment. In the traditional process planning, process decision is manually made by process designers according to own experience and by referring to relevant data, and the process decision mode comprises a large amount of tedious and repetitive work, so that the process planning efficiency is difficult to improve. In the intelligent manufacturing era, by using a Computer Aided Process Procedure (CAPP), process parameter decision can be performed with the help of a computer on the basis of process parameter decision support knowledge, so that the reuse of historical process knowledge is realized, the repetitive work is reduced, and the efficiency and the quality of process planning are improved.
The process parameter decision support knowledge comes from the process data of the enterprise, which is the summary and summarization thereof. The traditional method for extracting knowledge manually consumes a large amount of manpower and material resources, and is difficult to comprehensively mine process parameter decision support knowledge contained in process data. With the development and popularization of data mining technology, researchers begin to apply the data mining technology to the mining of process parameter decision support knowledge. Initially, researchers used Apriori methods to mine process parameter decision support knowledge, but such methods produced large candidate data sets and required repeated scans of the database, which was inefficient. With the continuous accumulation of enterprise data, the efficiency disadvantage of the method is gradually reflected. Then, a researcher adopts an FP-growth method to carry out the excavation of process parameter decision support knowledge, and the problem of low efficiency is solved to a certain extent.
However, the existing method simply applies the FP-growth method to the process parameter decision support knowledge mining, and does not consider that the process data is different from general data, i.e. the process data has an association relationship and a dependency relationship. The conventional FP-growth method is adopted to establish the item head table, construct the FP tree and mine the FP tree to realize the process parameter decision support knowledge mining, so that a large amount of redundant knowledge is generated, the knowledge needs to be filtered and screened manually and subsequently, and the mining of the redundant knowledge also influences the overall efficiency of the method.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method and a system for mining machining process parameter decision support knowledge, which are used for acquiring process data from a machining process card, fully considering the relationship among the process data, improving three processes of item head table establishment, FP tree construction and FP tree mining of an FP-growth method, and realizing efficient and redundancy-free intelligent mining of process parameter decision support knowledge so as to support tool and cutting amount decision in process design in machining process planning.
The invention adopts the following technical scheme:
a machining process parameter decision support knowledge mining method comprises the following steps:
s1, acquiring process data from the part machining process card, preprocessing the acquired process data, and extracting process parameter decision support data;
s2, taking the process parameter decision support data of the same family of parts extracted in the step S1 as the input of the FP-growth method, and setting a support degree threshold value alphafp
S3, scanning the process parameter decision support data input in the step S2 for the first time, and constructing a process parameter decision support item head table;
s4, scanning the process parameter decision support data input in the step S2 for the second time, and constructing a process parameter decision support FP tree based on the process parameter decision support item head table constructed in the step S3;
s5, mining the process parameter decision support FP tree constructed in the step S4 by adopting an improved FP tree mining method, taking each step feature information character as a rule antecedent, mining all process parameter decision support frequent tuples T corresponding to each step feature information characterfAs a corresponding rule suffix;
s6, determining and supporting the frequent tuples T by all the step characteristic information characters of the step S5 and the corresponding process parameters obtained by miningfAnd storing the decision-making support knowledge as machining process parameters into a knowledge base to support process parameter decision-making, and finding a corresponding cutter and cutting amount decision scheme through the step characteristic information in the process parameter decision-making.
Specifically, in step S1, the process parameters are determinedThe strategy support data comprises a work step operation step, a machine tool, a material grade, a cutter tool, a spindle rotation speed spindle, a feed amount feed, a cutting depth, a cutting depth, and a cutting depth; combining the work step operation _ step, the machine tool machine and the material mark material _ descriptor into a data item character representing the work step characteristic information, and taking each of the rest data as an independent data item; all data items of one process step are connected in series to form a process parameter decision support quintuple Ti(ii) a A plurality of process parameter decision support quintuple formed by process parameter decision data contained in a complete machining process route form a tuple set T.
Further, the expression of tuple set T is as follows:
T={T1,T2,...,Ti}
Ti=(characteri,tooli,spindle_speedi,feed_ratei,depth_of_cuti)
wherein, TiFive tuple, character, is supported by process parameter decision formed for ith process step data in tuple setiTool is the process step characteristic information formed by combining the process step of the ith process step, a processing machine tool and a material markiSpindle _ speed, the tool of the ith process stepiIs the spindle speed, feed _ rate, of the ith process stepiDepth _ of _ cut as the feed amount of the ith process stepiThe cutting depth of the ith process step.
Specifically, in step S3, the step of constructing a process parameter decision support item header table specifically includes:
and counting the frequency of each data item D, and storing all data items with weights larger than a weight threshold weight _ threshold into an item head table according to the weight _ data descending order of the data items.
Further, the weight _ data specifically includes:
Figure BDA0003156826390000041
therein, weiRight _ data (D) is the weight of data item D, F (D) is the frequency of data item D,
Figure BDA0003156826390000042
support of quintuple T for process parameter decision in inputiTool is the total number of tools.
Further, the weight threshold weight _ threshold is specifically:
weight_threhold=αfp×NumT
wherein, NumTIs the total number of input tuple sets T.
Specifically, in step S4, constructing the process parameter decision support FP tree specifically includes:
support each process parameter decision to quintuple TiThe data items in the FP tree are inserted into the FP tree in a node mode one by one according to the sequence in the item header table; if the node N is a new node, inserting the node and setting the node frequency F (N) to be 1, and if the new node N is a step characteristic information character, linking the data item corresponding to the item head table to the node through the node linked list; if the node N is an existing node, the frequency F (N) of the corresponding node is increased by one.
Specifically, in step S5, a process parameter decision support frequent tuple T is formedfThe method specifically comprises the following steps:
finding all nodes corresponding to each step characteristic information character in the item head table in the FP tree through the node linked list; if the node target is a leaf node, directly searching the ancestor node anecessor upwards until the root node, and if the node target is not the leaf node, searching the child node child downwards once and then searching the ancestor node anecessor upwards until the root node; connecting data items corresponding to paths formed by nodes of which the searched node weights weight _ node all meet weight threshold weight _ threshold in series to form process parameter decision support frequent tuple T corresponding to step characteristic information characterf
Further, process parameter decision supports frequent tuple TfThe method specifically comprises the following steps:
Tf(characterf)=(toolf,spindle_speedf,feed_ratef,depth_of_cutf)
among them, the characterfFor process step characteristic information, toolfSpindle _ speed as tool feature informationfIs the spindle speed, feed _ ratefIs the feed amount, depth _ of _ cutfIs the depth of cut.
Another technical solution of the present invention is a machining process parameter decision support knowledge mining system, comprising:
the data module is used for acquiring process data from the part machining process card, preprocessing the acquired process data and extracting process parameter decision support data;
the input module is used for taking the process parameter decision support data of the same family of parts extracted by the data module as the input of the FP-growth method and setting a support degree threshold value alphafp
The first construction module is used for scanning the process parameter decision support data input by the input module for the first time and constructing a process parameter decision support item head table;
the second construction module is used for scanning the process parameter decision support data input by the input module for the second time and constructing a process parameter decision support FP tree based on the process parameter decision support item head table constructed by the first construction module;
and the mining module is used for mining the process parameter decision support FP tree constructed by the second construction module by adopting an improved FP tree mining method, taking each step characteristic information character as a rule antecedent, mining all process parameter decision support frequent tuples T corresponding to each step characteristic information characterfAs a corresponding rule suffix;
a decision module for supporting the decision of the frequent tuples T of all the step characteristic information character of the mining module and the corresponding process parameters minedfAnd storing the decision-making support knowledge as machining process parameters into a knowledge base to support process parameter decision-making, and finding a corresponding cutter and cutting amount decision scheme through the step characteristic information in the process parameter decision-making.
Compared with the prior art, the invention has at least the following beneficial effects:
the invention provides a method for mining decision-support knowledge of machining process parameters, which fully considers the incidence relation and the dependency relation among process data, filters out process data which can be obtained by calculating other decision-support data items such as cutting speed, feed times, machining time and the like by improving three processes of item head table establishment, FP tree construction and FP tree mining in an algorithm, improves the overall operation efficiency of the method, and avoids the occurrence of redundant process parameter decision-support knowledge, thereby avoiding the need of filtering and screening the knowledge manually and subsequently.
Furthermore, by setting process parameter decision support data, filtering out data irrelevant to process parameter decision, and filtering out data relevant to process parameter decision but obtained by calculating other process parameter decision data, the screening of process parameter decision related data in the machining process card is realized; meanwhile, the three process data items of the process step, the machine tool and the material grade have great influence on the decision of cutters, cutting consumption and the like of one process step, so that the three items are combined to realize the representation of the characteristics of the process step.
Furthermore, by setting the element group set T, the process parameter decision data contained in a complete machining process route is integrated, and meanwhile, the structural representation is realized, so that the subsequent process parameter decision support knowledge mining is facilitated.
Furthermore, in the process of establishing an item head table of the FP-growth algorithm, the concept of a data item weight is introduced, and a tool data item is placed at the head of the item head table, so that the tool data item can be ensured to be immediately behind a root node when an FP tree is established, and a tool is contained in each path of the FP tree, thereby avoiding the occurrence of redundant knowledge of cutting parameter decision making when the tool decision is not made.
Furthermore, in the calculation of the weight, the frequency of the tool data items is added to the total number of the process parameter decision support quintuple, so that the weight is larger than other non-tool data items, and all the tool data items appear at the head of the item head table.
Furthermore, the weight threshold is set as the product of the support threshold and the total number of the tuple sets instead of the product of the support threshold and the total number of all input data, so that the number of input process routes is only required to be considered when the support threshold is set, and the influence on the setting of the support threshold caused by different process routes with different numbers of steps is avoided.
Furthermore, in the building process of the FP tree of the FP-growth algorithm, only the data items related to the step characteristic information in the item head table are linked with the corresponding nodes through the node linked lists, so that the occurrence of meaningless node linked lists is avoided, and the spatial performance is improved.
Furthermore, in the FP tree mining process of the FP-growth algorithm, the sub-nodes (if existing) of the step characteristic information are used as leaf nodes to perform frequent item mining, so that the operation efficiency is improved, and the data item with relatively low frequency of cutting depth is prevented from not being added into the process parameter decision support frequent tuple; meanwhile, aiming at the adjustment of the FP tree mining mode, the concept of node weight is introduced to calculate the support degree.
Furthermore, the process parameter decision support frequent tuple is set, so that the correspondence between the process step characteristic information and the process parameter decision support data item set is realized, the process step characteristic information and the process parameter decision support data item set are used as process parameter decision support knowledge to be output, a meaningless process parameter decision frequent mode is avoided from being used as the knowledge, the readability and the usability of the knowledge are improved, and the redundancy rate of the knowledge is reduced.
In conclusion, the FP-growth algorithm is improved and applied to the field of manufacturing process knowledge mining, so that the high-efficiency and redundancy-free intelligent mining of machining process parameter decision support knowledge is realized, the decision of a cutter and cutting amount during process design in machining process planning can be effectively supported, and the efficiency and quality of process parameter decision during process planning are improved.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
FIG. 1 is a flow chart of the present invention;
FIG. 2 is a partial schematic view of a machining process card of the present invention, wherein (a) is a process card for punching a positioning hole of a 2A60 whole impeller, and (b) is a process card for milling a whole impeller of a 2A60 whole impeller;
FIG. 3 is a detailed flow chart of the improved FP-growth algorithm of the present invention;
FIG. 4 is a schematic diagram of a process parameter decision support FP tree construction, wherein (a) is a schematic diagram of inserting an FP tree in a first step of milling a whole impeller, (b) is a schematic diagram of inserting an FP tree in a second step of milling the whole impeller, and (c) is a schematic diagram of inserting an FP tree in a third step of milling the whole impeller;
FIG. 5 is a schematic diagram of FP tree mining supported by process parameter decision making according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it is to be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Various structural schematics according to the disclosed embodiments of the invention are shown in the drawings. The figures are not drawn to scale, wherein certain details are exaggerated and possibly omitted for clarity of presentation. The shapes of various regions, layers and their relative sizes and positional relationships shown in the drawings are merely exemplary, and deviations may occur in practice due to manufacturing tolerances or technical limitations, and a person skilled in the art may additionally design regions/layers having different shapes, sizes, relative positions, according to actual needs.
The invention provides a machining process parameter decision support knowledge mining method, which comprises the steps of firstly extracting data for supporting process parameter decision from a part machining process card; taking the preprocessed process parameter decision support data of the same family of parts as input; then, data input by first scanning is used for constructing a process parameter decision support item head table; secondly, scanning the input data for the second time to construct a process parameter decision support FP tree; then, excavating a process parameter decision support FP tree to form a process parameter decision support frequent tuple; and finally, storing all the mined process parameter decision support frequent tuples into a knowledge base to support process parameter decision. The invention realizes the excavation of process parameter decision support knowledge, can support the decision of cutter and cutting amount during the planning of the machining process, and compared with the traditional method, the method can efficiently excavate the process parameter decision support knowledge and can avoid the occurrence of redundant knowledge by improving three processes of item head table establishment, FP tree construction and FP tree excavation in the FP-growth algorithm.
Referring to fig. 1, the method for mining knowledge supported by machining process parameter decision of the present invention includes the following steps:
s1, acquiring process data from the part machining process card, preprocessing the process data, extracting process parameter decision support data for supporting process parameter decision, and forming a process parameter decision support quintuple;
the process parameter decision support data comprises a work step operation step and a processing machine maA chip, a material brand material _ track, a cutter tool, a spindle speed _ speed, a feed amount feed _ rate and a cutting depth _ of _ cut; combining the work step operation _ step, the machine tool machine and the material mark material _ descriptor into a data item character representing the work step characteristic information, and taking each of the rest data as an independent data item; all data items of one process step are connected in series to form a process parameter decision support quintuple Ti(ii) a A plurality of process parameter decision support quintuple formed by process parameter decision data contained in a complete machining process route form a tuple set T.
The expression of tuple set T is as follows:
T={T1,T2,...,Ti}
Ti=(characteri,tooli,spindle_speedi,feed_ratei,depth_of_cuti)
wherein, TiFive tuple, character, is supported by process parameter decision formed for ith process step data in tuple setiTool is the process step characteristic information formed by combining the process step of the ith process step, a processing machine tool and a material markiSpindle _ speed, the tool of the ith process stepiIs the spindle speed, feed _ rate, of the ith process stepiDepth _ of _ cut as the feed amount of the ith process stepiThe cutting depth of the ith process step.
S2, taking the process parameter decision support data of the same family of parts preprocessed in the step S1 as input, and setting a support degree threshold value alphafp
S3, scanning the process parameter decision support data input in the step S2 for the first time, and constructing a process parameter decision support item head table;
counting the frequency of each data item D, and storing all data items with weights larger than a weight threshold weight _ threshold into an item head table in descending order according to the weight _ data of the data item;
the calculation formula of the weight _ data is as follows:
Figure BDA0003156826390000101
wherein weight _ data (D) is the weight of data item D, F (D) is the frequency of data item D,
Figure BDA0003156826390000102
support of quintuple T for process parameter decision in inputiTool is the total number of the cutting tools;
the weight threshold weight _ threshold is calculated as:
weight_threhold=αfp×NumT
wherein alpha isfpTo set a support threshold in the range of (0,1), NumTIs the total number of input tuple sets T.
S4, scanning the process parameter decision support data input in the step S2 for the second time, and constructing a process parameter decision support FP tree based on the process parameter decision support item head table constructed in the step S3;
support quintuple T for each process parameter decisioniInserting the data items into the FP tree in a node mode one by one according to the sequence in the item header table; if the node N is a new node, inserting the node and setting the node frequency F (N) to be 1, and if the new node N is a step characteristic information character, linking the data item corresponding to the item head table to the node through the node linked list; if the node N is an existing node, the frequency F (N) of the corresponding node is increased by one.
S5, mining the process parameter decision support FP tree constructed in the step S4 to form a process parameter decision support frequent tuple Tf
For each step characteristic information character in the item head table, finding all nodes corresponding to the characteristic information character in the FP tree through a node linked list; if the node target is already a leaf node, directly searching the ancestor node processor to the root node, and if the node target is not the leaf node, searching the child node child downwards once and then searching the ancestor node processor to the root node; connecting the data items corresponding to the paths formed by the nodes of which the searched node weights weight _ node all meet the weight threshold weight _ threshold in series to form a toolStep characteristic information character corresponds to process parameter decision support frequent tuple Tf
The calculation formula of the node weight _ node is as follows:
Figure BDA0003156826390000111
wherein, weight _ node (N) is the node weight of the node N, F (N) is the node frequency of the node N, child is the child node of the step characteristic information node, target is the step characteristic information node, and the operator is the ancestor node of the step characteristic information node,
Figure BDA0003156826390000112
accumulating the node frequency numbers of all target sub-nodes of the node N;
process parameter decision support frequent tuple TfThe expression of (a) is:
Tf(characterf)=(toolf,spindle_speedf,feed_ratef,depth_of_cutf)
wherein, the toolfSupporting frequent tuples T for a process parameter decisionfThe spindle speed spindle _ speedfFeed amount feed _ ratefDepth of cut _ of _ cutfSupporting frequent tuples T for a process parameter decisionfItems that may be included in (1).
S6, supporting all the process parameter decision-making mined in the step S5 to frequent tuples TfAnd storing the data into a knowledge base to support process parameter decision.
In another embodiment of the present invention, a machining process parameter decision support knowledge mining system is provided, which can be used to implement the above machining process parameter decision support knowledge mining method, and specifically, the machining process parameter decision support knowledge mining system includes a data module, an input module, a first construction module, a second construction module, a mining module, and a decision module.
The data module acquires process data from the part machining process card, preprocesses the acquired process data, and extracts process parameter decision support data;
the input module is used for taking the process parameter decision support data of the same family of parts extracted by the data module as the input of the FP-growth method and setting a support degree threshold value alphafp
The first construction module is used for scanning the process parameter decision support data input by the input module for the first time and constructing a process parameter decision support item head table;
the second construction module is used for scanning the process parameter decision support data input by the input module for the second time and constructing a process parameter decision support FP tree based on the process parameter decision support item head table constructed by the first construction module;
and the mining module is used for mining the process parameter decision support FP tree constructed by the second construction module by adopting an improved FP tree mining method, taking each step characteristic information character as a rule antecedent, mining all process parameter decision support frequent tuples T corresponding to each step characteristic information characterfAs a corresponding rule suffix;
a decision module for supporting the decision of the frequent tuples T of all the step characteristic information character of the mining module and the corresponding process parameters minedfAnd storing the decision-making support knowledge as machining process parameters into a knowledge base to support process parameter decision-making, and finding a corresponding cutter and cutting amount decision scheme through the step characteristic information in the process parameter decision-making.
In yet another embodiment of the present invention, a terminal device is provided that includes a processor and a memory for storing a computer program comprising program instructions, the processor being configured to execute the program instructions stored by the computer storage medium. The Processor may be a Central Processing Unit (CPU), or may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable gate array (FPGA) or other Programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, etc., which is a computing core and a control core of the terminal, and is adapted to implement one or more instructions, and is specifically adapted to load and execute one or more instructions to implement a corresponding method flow or a corresponding function; the processor provided by the embodiment of the invention can be used for operation of a machining process parameter decision support knowledge mining method, and comprises the following steps:
acquiring process data from a part machining process card, preprocessing the acquired process data, and extracting process parameter decision support data; the extracted process parameter decision support data of the same family of parts is used as the input of the FP-growth method, and a support degree threshold value alpha is setfp(ii) a Firstly scanning input process parameter decision support data, and constructing a process parameter decision support item head table; the process parameter decision support data input by the second scanning is constructed into a process parameter decision support FP tree based on the constructed process parameter decision support item head table; adopting an improved FP tree mining method to mine a constructed process parameter decision support FP tree, taking each step characteristic information character as a rule antecedent, mining all process parameter decision support frequent tuples T corresponding to each step characteristic information characterfAs a corresponding rule suffix; decision support frequent tuple T of all step characteristic information characters and corresponding process parameters obtained by miningfAnd storing the decision-making support knowledge as machining process parameters into a knowledge base to support process parameter decision-making, and finding a corresponding cutter and cutting amount decision scheme through the step characteristic information in the process parameter decision-making.
In still another embodiment of the present invention, the present invention further provides a storage medium, specifically a computer-readable storage medium (Memory), which is a Memory device in a terminal device and is used for storing programs and data. It is understood that the computer readable storage medium herein may include a built-in storage medium in the terminal device, and may also include an extended storage medium supported by the terminal device. The computer-readable storage medium provides a storage space storing an operating system of the terminal. Also, one or more instructions, which may be one or more computer programs (including program code), are stored in the memory space and are adapted to be loaded and executed by the processor. It should be noted that the computer-readable storage medium may be a high-speed RAM memory, or may be a non-volatile memory (non-volatile memory), such as at least one disk memory.
One or more instructions stored in the computer-readable storage medium may be loaded and executed by the processor to implement the corresponding steps of the method for mining knowledge regarding machining process parameter decision support in the above-described embodiments; one or more instructions in the computer-readable storage medium are loaded by the processor and perform the steps of:
acquiring process data from a part machining process card, preprocessing the acquired process data, and extracting process parameter decision support data; the extracted process parameter decision support data of the same family of parts is used as the input of the FP-growth method, and a support degree threshold value alpha is setfp(ii) a Firstly scanning input process parameter decision support data, and constructing a process parameter decision support item head table; the process parameter decision support data input by the second scanning is constructed into a process parameter decision support FP tree based on the constructed process parameter decision support item head table; adopting an improved FP tree mining method to mine a constructed process parameter decision support FP tree, taking each step characteristic information character as a rule antecedent, mining all process parameter decision support frequent tuples T corresponding to each step characteristic information characterf(ii) a Decision support frequent tuple T of all step characteristic information characters and corresponding process parameters obtained by miningfAnd storing the decision-making support knowledge as machining process parameters into a knowledge base to support process parameter decision-making, and finding a corresponding cutter and cutting amount decision scheme through the step characteristic information in the process parameter decision-making.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The process data is obtained from machining process cards in Excel form, each Excel file contains all the machining process cards of one part, and each Excel file contains a plurality of sub-tables, each sub-table being a process card of one process. Using a complete machining process card of 30 impeller parts, and obtaining 30 tuple sets T through pretreatment, wherein the tuple sets T totally comprise 620 process parameter decision support quintuple sets Ti. A partial process card of an integral impeller component is shown in figure 2.
Referring to fig. 3, an improved FP-growth algorithm is provided to mine machining process parameter decision support knowledge. The five-tuple set T is supported by the decision of the 30 tuple sets T obtained by the pretreatment and 620 process parameters in totaliAs an input, a support degree threshold α is setfp40 percent; scanning 30 tuple sets T input for the first time, counting frequency F (D) of each data item D, calculating weight _ data, and then storing the data items D which are greater than weight threshold weight _ threshold 12 into an item head table in a descending order; and (3) scanning 30 tuple sets T input for the second time, and circularly traversing the process parameter decision support quintuple Ti(ii) a Traversal of process parameter decision support quintuple T in order of entry header tableiData item D in (1); judging whether the data item D is an existing node in the FP tree or not; if the node is the existing node, adding one to the corresponding node frequency F (N); if the node is not the existing node, inserting the node N, setting the node frequency F (N) as 1, and if the node is the step characteristic information character, linking the data item corresponding to the item head table to the node through the node linked list; traversing all data in the tuple set TAfter the construction of the FP tree is finished, the excavation of the FP tree is started; for each step characteristic information character in the item head table, finding all nodes corresponding to the characteristic information character in the FP tree through a node linked list; if the corresponding node is not a leaf node, searching the child node downwards once, and calculating the weight _ node of the node; then searching ancestor nodes upwards and calculating the node weights weight _ nodes of all path nodes until reaching a root node; connecting data items corresponding to paths formed by nodes of which the searched node weights weight _ node all meet weight threshold weight _ threshold in series to form process parameter decision support frequent tuple T corresponding to step characteristic information characterfAs process parameter decision support knowledge.
Process parameter decision support quintuple TiExample of inserting FP Tree referring to FIG. 4, a five tuple T is supported for process parameter decisioniFrom the three process steps in fig. 2 b. Five tuple T is supported by process parameter decision in FIGS. 4a, 4biThe data items in the item list are all new nodes, therefore, the new nodes are inserted according to the sequence in the item head list, the node frequency is set to be 1, and the item head list is linked with the step characteristic information nodes through the node linked list. The tool, depth of cut, feed rate in FIG. 4c are the existing nodes, so the node count is incremented by one; the spindle speed spindle _ speed and the step characteristic information character are new nodes, so that the new nodes are inserted after the existing nodes.
Process parameter decision support frequent tuple TfReferring to fig. 5, first, two nodes corresponding to the step characteristic information character rough turning rear end-numerically controlled lathe-2 a60 in the FP-tree are found; one node is a leaf node, the corresponding node frequency is 16, so that an ancestor node operator is directly searched upwards, and the node weight _ node of the ancestor node is set to be 16; the other node is not a leaf node, the corresponding node frequency is 14, the child node is searched downwards once, the frequency of the child node child is 14, therefore, the node weight _ node of the child node is 14, the ancestor node anecessor is searched upwards, and 14 is added on the basis of the original 16; node formation satisfying weight threshold weight _ threshold 12The number of the paths is two, so that the data items are connected in series to obtain two process parameter decision-supporting frequent tuples Tf
The mined process parameter decision support knowledge (part of) is shown in table 1, and 16 process parameter decision support frequent tuples, namely 16 pieces of process parameter decision support knowledge, are mined.
TABLE 1 Process parameter decision support knowledge (modified FP-growth algorithm)
Figure BDA0003156826390000171
The process parameter decision support knowledge (part of) mined by the unmodified FP-growth algorithm is shown in Table 2, and 52 frequent patterns are mined in total. It can be seen that a large number of meaningless frequent patterns occur when the traditional FP-growth algorithm is used for process parameter decision knowledge mining, for example, the decision of feed amount and cutting depth is made under the condition that the rotating speed of the spindle is known; the excavated frequent modes which can be directly used are 10, and account for 19.2%; the number of the usable frequent modes is 7 after adjustment and combination, and 6 knowledge items are generated after combination, which accounts for 13.5%; the rest frequent patterns are invalid contents, and 35 frequent patterns account for 67.3 percent; namely, the redundancy rate of process parameter decision support knowledge mined by the traditional FP-growth algorithm reaches 69.2 percent; and in time consumption, the traditional FP-growth algorithm is 1.5 times of the improved FP-growth algorithm.
TABLE 2 Process parameter decision support knowledge (traditional FP-growth algorithm)
Figure BDA0003156826390000181
In summary, the method and the system for mining the machining process parameter decision support knowledge realize the mining of the process parameter decision support knowledge, can support the decision of the tool and the cutting amount during the process design in the machining process planning, and compared with the traditional method, the method can efficiently mine the process parameter decision support knowledge for the process data accumulated by enterprises and can avoid the occurrence of redundant knowledge.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may 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, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may 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, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above-mentioned contents are only for illustrating the technical idea of the present invention, and the protection scope of the present invention is not limited thereby, and any modification made on the basis of the technical idea of the present invention falls within the protection scope of the claims of the present invention.

Claims (10)

1. A machining process parameter decision support knowledge mining method is characterized by comprising the following steps:
s1, acquiring process data from the part machining process card, preprocessing the acquired process data, and extracting process parameter decision support data;
s2, taking the process parameter decision support data of the same family of parts extracted in the step S1 as the input of the FP-growth method, and setting a support degree threshold value alphafp
S3, scanning the process parameter decision support data input in the step S2 for the first time, and constructing a process parameter decision support item head table;
s4, scanning the process parameter decision support data input in the step S2 for the second time, and constructing a process parameter decision support FP tree based on the process parameter decision support item head table constructed in the step S3;
s5, mining the process parameter decision support FP tree constructed in the step S4 by adopting an improved FP tree mining method, taking each step feature information character as a rule antecedent, mining all process parameter decision support frequent tuples T corresponding to each step feature information characterfAs a corresponding rule suffix;
s6, determining and supporting the frequent tuples T by all the step characteristic information characters of the step S5 and the corresponding process parameters obtained by miningfAnd storing the decision-making support knowledge as machining process parameters into a knowledge base to support process parameter decision-making, and finding a corresponding cutter and cutting amount decision scheme through the step characteristic information in the process parameter decision-making.
2. The method of claim 1, wherein the step of removing the metal oxide is performed in a batch processIn step S1, the process parameter decision support data includes operation step, machine tool, material grade, tool, spindle speed, feed, depth of cut, and the like; combining the work step operation _ step, the machine tool machine and the material mark material _ descriptor into a data item character representing the work step characteristic information, and taking each of the rest data as an independent data item; all data items of one process step are connected in series to form a process parameter decision support quintuple Ti(ii) a A plurality of process parameter decision support quintuple formed by process parameter decision data contained in a complete machining process route form a tuple set T.
3. The method of claim 2, wherein tuple set T is expressed as follows:
T={T1,T2,...,Ti}
Ti=(characteri,tooli,spindle_speedi,feed_ratei,depth_of_cuti)
wherein, TiFive tuple, character, is supported by process parameter decision formed for ith process step data in tuple setiTool is the process step characteristic information formed by combining the process step of the ith process step, a processing machine tool and a material markiSpindle _ speed, the tool of the ith process stepiIs the spindle speed, feed _ rate, of the ith process stepiDepth _ of _ cut as the feed amount of the ith process stepiThe cutting depth of the ith process step.
4. The method according to claim 1, wherein in step S3, the step of constructing a process parameter decision support item header table specifically comprises:
and counting the frequency of each data item D, and storing all data items with weights larger than a weight threshold weight _ threshold into an item head table according to the weight _ data descending order of the data items.
5. The method of claim 4, wherein the weight _ data is specifically:
Figure FDA0003156826380000021
wherein weight _ data (D) is the weight of data item D, F (D) is the frequency of data item D,
Figure FDA0003156826380000022
support of quintuple T for process parameter decision in inputiTool is the total number of tools.
6. The method according to claim 4, wherein the weight threshold weight _ threshold is specifically:
weight_threhold=αfp×NumT
wherein, NumTIs the total number of input tuple sets T.
7. The method according to claim 1, wherein in step S4, constructing the process parameter decision support FP-tree specifically comprises:
support each process parameter decision to quintuple TiThe data items in the FP tree are inserted into the FP tree in a node mode one by one according to the sequence in the item header table; if the node N is a new node, inserting the node and setting the node frequency F (N) to be 1, and if the new node N is a step characteristic information character, linking the data item corresponding to the item head table to the node through the node linked list; if the node N is an existing node, the frequency F (N) of the corresponding node is increased by one.
8. The method of claim 1, wherein in step S5, forming process parameter decision support frequent tuples TfThe method specifically comprises the following steps:
finding all nodes corresponding to each step characteristic information character in the item head table in the FP tree through the node linked list; if the node target is a leaf node, directly searching an ancestor node operator upwards until the root nodeIf the node target is not a leaf node, searching the child node child downwards once and then searching the ancestor node operator upwards until reaching the root node; connecting data items corresponding to paths formed by nodes of which the searched node weights weight _ node all meet weight threshold weight _ threshold in series to form process parameter decision support frequent tuple T corresponding to step characteristic information characterf
9. The method of claim 8, wherein process parameter decision supports frequent tuples TfThe method specifically comprises the following steps:
Tf(characterf)=(toolf,spindle_speedf,feed_ratef,depth_of_cutf)
among them, the characterfFor process step characteristic information, toolfSpindle _ speed as tool feature informationfIs the spindle speed, feed _ ratefIs the feed amount, depth _ of _ cutfIs the depth of cut.
10. A machining process parameter decision support knowledge mining system is characterized by comprising:
the data module is used for acquiring process data from the part machining process card, preprocessing the acquired process data and extracting process parameter decision support data;
the input module is used for taking the process parameter decision support data of the same family of parts extracted by the data module as the input of the FP-growth method and setting a support degree threshold value alphafp
The first construction module is used for scanning the process parameter decision support data input by the input module for the first time and constructing a process parameter decision support item head table;
the second construction module is used for scanning the process parameter decision support data input by the input module for the second time and constructing a process parameter decision support FP tree based on the process parameter decision support item head table constructed by the first construction module;
the excavation module excavates the process parameter blocks constructed by the second construction module by adopting an improved FP tree excavation methodThe FP tree is planned and supported, each step characteristic information character is used as a rule antecedent, all process parameter decision support frequent tuples T corresponding to each step characteristic information character are minedfAs a corresponding rule suffix;
a decision module for supporting the decision of the frequent tuples T of all the step characteristic information character of the mining module and the corresponding process parameters minedfAnd storing the decision-making support knowledge as machining process parameters into a knowledge base to support process parameter decision-making, and finding a corresponding cutter and cutting amount decision scheme through the step characteristic information in the process parameter decision-making.
CN202110780789.7A 2021-07-09 2021-07-09 Machining process parameter decision support knowledge mining method and system Active CN113449868B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110780789.7A CN113449868B (en) 2021-07-09 2021-07-09 Machining process parameter decision support knowledge mining method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110780789.7A CN113449868B (en) 2021-07-09 2021-07-09 Machining process parameter decision support knowledge mining method and system

Publications (2)

Publication Number Publication Date
CN113449868A true CN113449868A (en) 2021-09-28
CN113449868B CN113449868B (en) 2022-12-09

Family

ID=77815921

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110780789.7A Active CN113449868B (en) 2021-07-09 2021-07-09 Machining process parameter decision support knowledge mining method and system

Country Status (1)

Country Link
CN (1) CN113449868B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103258049A (en) * 2013-05-27 2013-08-21 重庆邮电大学 Association rule mining method based on mass data
CN104281617A (en) * 2013-07-10 2015-01-14 广州中国科学院先进技术研究所 Domain knowledge-based multilayer association rules mining method and system
CN112784899A (en) * 2021-01-20 2021-05-11 中国电力科学研究院有限公司 Method, device and equipment for mining frequent pattern of power transformation operation and maintenance knowledge and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103258049A (en) * 2013-05-27 2013-08-21 重庆邮电大学 Association rule mining method based on mass data
CN104281617A (en) * 2013-07-10 2015-01-14 广州中国科学院先进技术研究所 Domain knowledge-based multilayer association rules mining method and system
CN112784899A (en) * 2021-01-20 2021-05-11 中国电力科学研究院有限公司 Method, device and equipment for mining frequent pattern of power transformation operation and maintenance knowledge and storage medium

Also Published As

Publication number Publication date
CN113449868B (en) 2022-12-09

Similar Documents

Publication Publication Date Title
CN104360634A (en) Skin mirror image milling numerical control program fast generating method based on features
US20080109097A1 (en) Machining step generating apparatus
CN111311004B (en) Layered iterative layout optimization method considering cutting efficiency and utilization rate
CN103341787A (en) Numerical control machining cutter radius compensation method based on characteristics
EP1283456A1 (en) Tool for searching similar machining data and automatic programming apparatus based thereon
CN106227770B (en) A kind of intelligentized news web page information extraction method
CN102436217A (en) Method for reconstructing web processing drive geometry of slot characteristic of aircraft structure
KR102465451B1 (en) Process knowledge push method based on machining characteristics
CN112988305A (en) Policy flow processing method and device, computer equipment and storage medium
CN113449868B (en) Machining process parameter decision support knowledge mining method and system
CN101833553B (en) Method, equipment and system for clustering data
JP4111860B2 (en) Data generation method, program and apparatus for object processing
JP2752787B2 (en) Numerical control information creation device
CN115113584B (en) Numerical control automatic programming method based on example and rule reasoning
Zhang et al. A hybrid method for recognizing feature interactions
CN108227627B (en) Numerical control programming method for key parts of marine diesel engine
CN115525918A (en) Encryption method and system for paperless office file
JP3185342B2 (en) Figure pattern data processing method
JPH11126219A (en) Device and method for drawing generation
CN112035976B (en) Automatic generation method for three-dimensional process model of shaft machining part
CN113449397B (en) Machining process route knowledge mining method and system
CN112464648B (en) Industry standard blank feature recognition system and method based on multi-source data analysis
TWI338238B (en) System and method for plate punching in computer aided design
CN118277711A (en) Operator segmentation method and device and operator compiling system
CN115268845A (en) Normalized numerical control programming system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant