A production line dynamic process knowledge base construction method and process plan generation method

By building a dynamic process knowledge base and using process domain knowledge models and reasoning engines, we solve the problems of low process knowledge utilization and low credibility of intelligent decision-making, achieve efficient sharing and reuse of process knowledge, and improve the efficiency of process decision-making. and credibility.

CN118296165BActive Publication Date: 2024-08-30SHANDONG UNIV
View PDF 12 Cites 0 Cited by

Patent Information

Application Number
CN202410726885.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-08-30
Estimated Expiration
2044-06-06

AI Technical Summary

Technical Problem

In discrete manufacturing production, the utilization rate of process knowledge is low, the credibility of intelligent decision-making is low, heterogeneity and low structuring limit knowledge sharing and reuse, and time-varying working environments and disturbances bring new challenges to process decision-making. Traditional knowledge bases are insufficient to support large-scale complex process decisions.

Method used

Build a dynamic process knowledge base, which is composed of process domain knowledge models, case libraries and rule libraries, and is dynamically updated based on real-time production line data and the latest process cases. Ontology and reasoning engines are used to support process decisions and achieve structuring and matching of process knowledge. and reasoning.

Benefits of technology

It improves the level of sharing and reuse of process knowledge, improves the credibility and decision-making efficiency of process plans, and enhances the dynamics and adaptability of the process knowledge base.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118296165B
    Figure CN118296165B
Patent Text Reader

Abstract

The present invention relates to the field of intelligent and digital production technology for production lines, and specifically discloses a method for constructing a dynamic process knowledge base for a production line and a method for generating a process plan, including the steps of constructing a process knowledge base, dynamically updating the process knowledge base, and realizing the generation of a process route based on the process knowledge base through case reasoning, rule reasoning, and the integration of the two. The present invention is based on knowledge engineering to achieve complete modeling of all elements of the production line, and at the same time construct a manufacturing field process knowledge base consisting of a process field knowledge model, a case base, and a rule base, and based on the real-time data of the production line and the latest process cases and process rules, realize the dynamic update of the process knowledge base, and support process decisions through matching, querying, and reasoning of process knowledge based on the knowledge base.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of intelligent and digital production of production lines, and in particular to a method for constructing a dynamic process knowledge base for a production line and a method for generating a process plan. Background Art

[0002] The development of intelligent manufacturing promotes the realization of autonomous perception, intelligent interconnection, intelligent learning and autonomous decision-making of production systems. As a bridge between design and manufacturing, process decision-making is a key link in intelligent manufacturing. Knowledge base, dynamic sensing and autonomous decision-making are the three cores of intelligent manufacturing. They enable heterogeneous data sources and implicit expert knowledge and other related field knowledge to be structured, ordered and efficiently stored, organized, managed and shared in computers, which is an important driving force for realizing intelligent manufacturing.

[0003] In the current process decision-making for discrete manufacturing production, there are problems such as low utilization of process knowledge and low credibility of intelligent decision-making. The heterogeneity and low structure of the process limit knowledge sharing and reuse, and implicit knowledge cannot be effectively mined. The lack of available knowledge has led to the reliance of the process decision-making process on algorithms such as genetic algorithms and ant colony algorithms. However, decision-making algorithms often require specific search algorithms to find the best solution, and the algorithms lack flexibility and adaptability to large-scale collaborative production conditions. In order to solve the above problems, some studies have introduced knowledge bases into process decisions. These traditional knowledge bases are based on knowledge graphs. They are based on object-oriented ideas and focus on instance knowledge, but they do not pay enough attention to process rules in the process of process decision-making, resulting in the ineffective use of some process knowledge. In addition, the time-varying working environment and various disturbances have brought new challenges to process decision-making. Simple decision-making algorithms and traditional knowledge bases are not enough to support large-scale complex process decisions under the collaborative relationship of production lines. Summary of the invention

[0004] To solve the above problems, the present invention provides a method for constructing a dynamic process knowledge base for a production line and a method for generating a process plan. Based on knowledge engineering, complete modeling of all elements of the production line is achieved, and a manufacturing field process knowledge base consisting of a process field knowledge model, a case base and a rule base is constructed. Based on the real-time data of the production line and the latest process cases and process rules, the process knowledge base is dynamically updated, and process decisions are supported through matching, querying and reasoning of process knowledge based on the knowledge base.

[0005] In a first aspect, the technical solution of the present invention provides a method for constructing a dynamic process knowledge base of a production line, comprising:

[0006] S1, the steps of building the process knowledge base;

[0007] Acquire process knowledge in production line process decision-making from various process knowledge sources and process cases, and construct a process domain knowledge model by structuring and hierarchical processing of process knowledge based on ontology; the process knowledge includes process concepts, concept-related data, and relationships between concepts;

[0008] According to the process knowledge of the process domain knowledge model, process information is extracted from the process documents, and the process information is expressed as process cases in a specified format to build a process case library;

[0009] Convert the process rule knowledge in the process manual into a reasoning engine to build a process rule library;

[0010] S2, a step of dynamically updating the process knowledge base;

[0011] Update the process case library according to the real-time status of relevant elements of the production line;

[0012] When process rules and process cases change, the process rule library and process case library are updated respectively.

[0013] In an optional implementation, the process knowledge in the production line process decision is obtained from various process knowledge sources and process cases, and the process knowledge is structured and hierarchically processed to construct a process domain knowledge model, specifically including:

[0014] Use a top-down approach to obtain process knowledge for production line process decision-making from various process knowledge sources;

[0015] A bottom-up approach is used to obtain process knowledge in production line process decision-making from process cases;

[0016] The ontology modeling tool is used to formalize the process domain knowledge model, formalize the process concepts into classes, formalize the relevant attributes of the concepts into data attributes of the classes, and formalize the relationships between concepts into object attributes of the classes, so as to represent the process domain knowledge model in the form of OWL.

[0017] In an optional embodiment, the process domain knowledge model includes a processing task subclass model, a production line manufacturing resource subclass model, a production line processing technology subclass model, and the relationship between the subclass models;

[0018] Processing task subclass model: describes the manufacturing information of the order in the process case, the component feature information of the parts, the design process requirements of the parts, and the relationship between the component features of the parts;

[0019] Production line manufacturing resource subclass model: describes the basic attributes, state attributes, functional attributes and the relationship between the manufacturing resources in the production line; the manufacturing resources include machine tools, cutting tools, fixtures and cutting fluids;

[0020] Production line processing technology subclass model: describes the process plan corresponding to the processing task subclass model, including the processing chain of each feature in the process plan, each feature step corresponding to the processing chain, the processing sequence of the steps, the process steps composed of the steps and the relationship between these elements.

[0021] In an optional implementation, according to the process knowledge of the process domain knowledge model, process information is extracted from the process document, and the process information is expressed as a process case in a specified format to construct a process case library, specifically including:

[0022] Based on the process knowledge of "instance-data attribute" and "instance-object attribute-instance" provided by the process domain knowledge model, structured process information is extracted from process documents through XML, semi-structured process information is extracted from process documents through regular expressions, and unstructured process information is extracted from process documents through the BERT model;

[0023] The extracted process information is expressed in the form of the following process case:

[0024] Case = {T, R, C, P};

[0025] Among them, T represents the features or parts in the processing task, R represents the state of the manufacturing resources corresponding to the process decision of the processing task, C represents the processing chain corresponding to the processing task, and P represents the process parameters of each step in the processing chain and the selected manufacturing resources.

[0026] In an optional implementation, the process rule knowledge in the process manual is converted into a process rule library by an inference engine, specifically including:

[0027] Classify the process rules, including process chain selection rules, manufacturing resource selection rules, process parameter selection rules, and process route sorting rules;

[0028] For structured and semi-structured knowledge, XML is used as the intermediate data format, and templates are developed for each type of structured knowledge to achieve the transformation of table information into Jena Rules / SWRL rules;

[0029] Organize the unstructured knowledge based on the concepts and relationships in the process domain knowledge model to generate JenaRules / SWRL rules;

[0030] Jena Rules / SWRL rules are written based on classes, attributes, instances and data values ​​in OWL.

[0031] In an optional implementation, updating the process case library according to the real-time status of relevant elements of the production line specifically includes:

[0032] Obtain the real-time status of relevant elements of the production line through the collected real-time operation data of the production line;

[0033] Map the real-time status of relevant elements of the production line to the corresponding attributes of the corresponding instances in the process case library;

[0034] The real-time status of the relevant elements of the production line is updated in real time to the corresponding attributes of the corresponding instances in the process case library according to the mapping relationship, so that the instances in the process case library are in the latest status.

[0035] In an optional implementation, when the process rules and process cases are changed, the process rule library and the process case library are updated respectively, specifically including:

[0036] When the process rules are changed, add, update or delete the process rules in the process rule library;

[0037] When there is a new process case, the similarity between the new process case and the existing process cases in the process case library is calculated;

[0038] If all similarities are less than the threshold, the new process case is added to the process case library;

[0039] If the similarities are all greater than the threshold, the new process case will not be added to the process case library;

[0040] The process cases are sorted according to the production objectives, and non-Pareto optimal process solutions are eliminated to update the process case library.

[0041] In an optional embodiment, the method further comprises:

[0042] S3, a step of storing the process knowledge base locally and in a distributed manner;

[0043] The process domain knowledge model is stored locally through Jena TDB;

[0044] The process case library and process rule library are stored in HBase, where each instance in the process case library is stored in a different HBase table according to the class to which it belongs, and the process cases are organized into a data structure in the form of SPO triples for storage through Jena TDB.

[0045] In a second aspect, the technical solution of the present invention provides a method for generating a process plan, which is implemented based on the process knowledge base constructed by any of the above items and comprises the following steps:

[0046] Check whether the process knowledge base contains similar cases of the target processing task;

[0047] If there are similar cases, determine whether the parameters of the similar cases need to be modified;

[0048] If the parameters need to be modified, rule reasoning is performed based on the process rule library to obtain the process parameters and process sequence, and the target process parameters are modified based on the real-time status of the production line;

[0049] If the parameters do not need to be modified, the process plan of similar cases can be reused directly;

[0050] If there is no similar case, rule reasoning is performed based on the process rule library to obtain process parameters and process sequence;

[0051] Fill the obtained process plan into the process document.

[0052] In an optional implementation, querying whether the process knowledge base contains similar cases of the target processing task specifically includes:

[0053] Calculate the similarity between the target processing task and existing cases in the process knowledge base;

[0054] Based on various attributes of the target processing task, the existing process cases in the process knowledge base are clustered;

[0055] Set a similarity threshold and calculate the similarity between the target processing task and the existing process cases based on the k-nearest neighbor algorithm;

[0056] The corresponding process cases whose calculated similarities are within the similarity threshold range are available similar cases.

[0057] The present invention provides a production line dynamic process knowledge base construction method and process plan generation method, which have the following beneficial effects compared with the prior art: first, a process domain knowledge model is constructed based on the ontology, and the key concepts related to the production line in the process decision, the attributes of the concepts and the relationship between the concepts are expressed, and the multi-source heterogeneous process knowledge is structured; then, the process domain knowledge model is used to guide the construction of the process case library and the rule library; secondly, a knowledge base update mechanism is established, and the cases, rules, etc. are updated in time, and the mapping relationship between the instance attributes and the production line data in the knowledge base is established to ensure that the knowledge base is in the latest state; finally, a process plan is generated for the processing task based on the index and reasoning method, and the implicit process knowledge is obtained, and the process document is generated based on the knowledge combination. The whole process is based on historical process cases, expert experience and process manuals, which improves the sharing and reuse level of these knowledge and the credibility of the process plan. With the support of knowledge engineering related technologies, the efficiency of process decision-making is improved, and the dynamic nature of the process knowledge base further improves the credibility of the process plan. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] In order to more clearly illustrate the embodiments of the present invention or the technical solutions of 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 some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0059] Figure 1 It is a schematic diagram of the architecture of a production line dynamic process knowledge base construction and process solution generation method of the present invention.

[0060] Figure 2 It is a flow chart of a method for constructing a dynamic process knowledge base for a production line provided by an embodiment of the present invention.

[0061] Figure 3 It is a schematic diagram of the key concepts and relationships between concepts in the process domain knowledge model.

[0062] Figure 4 It is a schematic diagram of the storage structure design of the process knowledge base.

[0063] Figure 5 It is a flow chart of a method for generating a process scheme provided in an embodiment of the present invention.

[0064] Figure 6 It is a basic flow chart generated by the process plan based on the process knowledge base. DETAILED DESCRIPTION

[0065] In order to enable those skilled in the art to better understand the scheme of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0066] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.

[0067] In the current intelligent manufacturing decision-making system in discrete manufacturing production, there are problems such as low credibility and poor usability of intelligent decision-making. In order to solve the above problems and improve the utilization rate of relevant knowledge in process decision-making, the present invention provides a method for constructing a dynamic process knowledge base of a production line and generating a process plan, such as Figure 1As shown, the method includes three functional lines: process knowledge base construction, process knowledge base dynamic update and maintenance, and process decision-making based on the knowledge base. It includes two aspects: production line dynamic process knowledge base construction and process plan generation. The present invention is described in detail based on these two aspects.

[0068] Figure 2 The flowchart is a flow chart of a method for constructing a dynamic process knowledge base for a production line provided by an embodiment of the present invention. According to different requirements, the order of the steps in the flowchart can be changed, and some can be omitted.

[0069] like Figure 2 As shown, the method includes the following steps.

[0070] S1, the steps of constructing process knowledge base.

[0071] S1.1, obtain the process knowledge in production line process decision-making from various process knowledge sources and process cases, and construct a process domain knowledge model by structuring and hierarchical processing of process knowledge based on ontology.

[0072] Among them, process knowledge includes process concepts, concept-related data and relationships between concepts.

[0073] The purpose of this step is to construct a process domain knowledge model, which specifically includes the following steps.

[0074] S1.1.1, Use a top-down approach to obtain process knowledge for production line process decisions from various process knowledge sources.

[0075] S1.1.2, Use a bottom-up approach to obtain process knowledge in production line process decisions from process cases.

[0076] S1.1.3, use ontology modeling tools to formalize the process domain knowledge model, formalize process concepts into classes, formalize the relevant attributes of concepts into data attributes of classes, and formalize the relationships between concepts into object attributes of classes, so as to represent the process domain knowledge model in the form of OWL.

[0077] A process domain knowledge model is extracted from various knowledge sources such as process manuals, process documents and expert experience based on ontology using a combination of top-down and bottom-up approaches. Specifically, after cleaning the knowledge in process manuals and expert experience, a top-down approach is used to obtain the top-level key concepts, attributes and relationships between concepts in production line process decisions from high-quality process knowledge sources. At the same time, a bottom-up approach is used to abstract process knowledge from process cases to supplement key concepts, attributes and relationships between concepts in the process.

[0078] The process domain knowledge model encapsulates process-related knowledge into relevant process concepts, attributes, and relationships between concepts that affect production line process decisions, such as Figure 3 Shown is a schematic diagram of the key concepts and relationships between concepts in the process domain knowledge model.

[0079] Process knowledge is mainly composed of three sub-category knowledge models: processing tasks, production line manufacturing resources, and production line processing technology. Each sub-category process domain knowledge model is composed of relevant key concepts and the attributes and relationships related to process decisions in the concepts. Specifically, it consists of a processing task sub-category model, a production line manufacturing resource sub-category model, and a production line processing technology sub-category model. The contents of each sub-category model are as follows: the processing task sub-category model describes the manufacturing information of the order in the process case, the component feature information of the parts, the design process requirements of the parts, and the relationship between the component features of the parts; the production line manufacturing resource sub-category model describes the basic attributes, state attributes, functional attributes, and the relationship between the manufacturing resources such as machine tools, tools, fixtures, and cutting fluids in the production line; the production line processing technology sub-category model describes the process plan corresponding to the processing task sub-category model, including the processing chain of each feature in the process plan, the feature steps corresponding to the processing chain, the processing sequence of the steps, the processes composed of the steps, and the relationship between these elements. In addition, the process domain knowledge model also includes the relationship between each sub-category model.

[0080] Based on Protégé, the process domain knowledge model is formalized. The process concepts are formalized into classes, the relevant attributes of the concepts are formalized into data attributes of the classes, and the relationships between concepts are formalized into object attributes of the classes. Finally, the process domain knowledge model is expressed in OWL language, and it is ensured that the process domain knowledge model does not contain any process instances, so as to guide the generation of case base and rule base.

[0081] S1.2, based on the process knowledge of the process domain knowledge model, extract process information from the process documents, express the process information as process cases in a specified format to build a process case library.

[0082] The purpose of this step is to build a process case library, which specifically includes the following steps.

[0083] S1.2.1, based on the process knowledge of "instance-data attribute" and "instance-object attribute-instance" provided by the process domain knowledge model, extract structured process information from process documents through XML, extract semi-structured process information from process documents through regular expressions, and extract unstructured process information from process documents through the BERT model.

[0084] S1.2.2, express the extracted process information in the form of the following process cases,

[0085] Case={T,R,C,P}

[0086] Among them, T represents the features or parts in the processing task, R represents the state of the manufacturing resources corresponding to the process decision of the processing task, C represents the processing chain corresponding to the processing task, and P represents the process parameters of each step in the processing chain and the selected manufacturing resources.

[0087] This embodiment takes the process domain knowledge model as the target of information extraction, and integrates rule-based knowledge extraction and BERT model-based knowledge extraction methods to extract information matching the process domain knowledge model from process documents, mainly including the following two types: instance-attribute, instance-relationship-instance, organize the matched information into triples, express each process case in a specified format, and construct a process case library expressed in OWL with the same namespace as the process domain knowledge model. Exemplarily, based on process knowledge in the form of "instance-data attribute" and "instance-object attribute-instance" provided by the process domain knowledge model, rule-based information extraction is used to extract triples from structured information and simple text information in process documents, where structured information includes machine tools, cutting tools, fixtures, and processing stages to which the process belongs, etc. These information are extracted through XML and combined into triples for writing into the case library; simple unstructured information such as "machine" and "relationship" are used to extract information from process documents. 53.55g6 outer circle to 56" extracts the processing information by defining regular expressions. For complex unstructured information, information extraction is performed based on the BERT model. First, the Subject in the sentence is identified, then the Object is identified and its relationship with the Subject is determined, so as to complete the extraction of all triples contained in a sentence. Finally, the process case is expressed in the form of the above formula to facilitate the management and reuse of process cases.

[0088] S1.3, convert the process rule knowledge in the process manual into a reasoning engine to build a process rule library.

[0089] The purpose of this step is to build a process rule library, which specifically includes the following steps.

[0090] S1.3.1, classify the process rules, including processing chain selection rules, manufacturing resource selection rules, process parameter selection rules and process route sorting rules.

[0091] S1.3.2, for the structured and semi-structured knowledge, XML is used as the intermediate data format, and templates are developed for each type of structured knowledge to realize the conversion of tabular information into Jena Rules / SWRL rules.

[0092] S1.3.3, organize the unstructured knowledge based on the concepts and relationships in the process domain knowledge model to generate Jena Rules / SWRL rules.

[0093] Jena Rules / SWRL rules are written based on classes, attributes, instances and data values ​​in OWL.

[0094] This embodiment is based on the process domain knowledge model and process case library, combined with the process knowledge in the process manual, based on XML and converting the structured, semi-structured and unstructured knowledge therein into Jena Rules and SWRL to support common reasoning engines, and by defining the mapping relationship between Jena Rules and SWRL, the conversion of the two rule expression languages ​​is realized, thereby constructing a process rule library. Specifically, based on the concepts, attributes and relationships defined in the process domain knowledge model, the process rules of the process manual and expert experience are classified, including processing chain selection rules, manufacturing resource selection rules, process parameter selection rules and process route sorting rules. For the structured and semi-structured knowledge therein, XML is used as the intermediate data format, and templates are formulated for each type of structured knowledge to realize the conversion of tabular information into Jena Rules / SWRL rules; the unstructured knowledge with complex logical relationships therein is organized based on the concepts and relationships in the knowledge model to generate Jena Rules / SWRL rules.

[0095] S2, the step of dynamically updating the process knowledge base.

[0096] S2.1, update the process case library according to the real-time status of relevant elements of the production line.

[0097] The purpose of this step is to update the process case library in real time according to the real-time status of the production line, which specifically includes the following steps.

[0098] S2.1.1, obtain the real-time status of relevant elements of the production line through the collected real-time operation data of the production line.

[0099] S2.1.2, map the real-time status of relevant elements of the production line to the corresponding attributes of the corresponding instances in the process case library.

[0100] S2.1.3, update the real-time status of the relevant elements of the production line to the corresponding attributes of the corresponding instances in the process case library in real time according to the mapping relationship, so that the instances in the process case library are in the latest status.

[0101] This embodiment establishes a mapping relationship between instance status attributes and data in the process case library. Based on the real-time data of the production line in the database, or in combination with historical operation data, vibration data analysis, image recognition and other methods can be used to diagnose or predict the status of machine tools, cutting tools and other instances, and the results of the data analysis are mapped to the corresponding positions in the case library. An association relationship between real-time data and the process knowledge base is established to ensure the consistency of the status attributes of the manufacturing resource instances in the knowledge base and the real-time data, and to ensure that instances of manufacturing resources and the like are in the latest state.

[0102] S2.2, when the process rules and process cases change, the process rule library and process case library are updated respectively.

[0103] The purpose of this step is to update the process knowledge base based on rule and case changes, which specifically includes the following steps.

[0104] S2.2.1, when the process rules are changed, add, update or delete the process rules in the process rule library.

[0105] S2.2.2, when there is a new process case, the similarity between the new process case and the existing process cases in the process case library is calculated.

[0106] S2.2.3, if all similarities are less than the threshold, the new process case is added to the process case library; if there are similarities that are greater than the threshold, the new process case is not added to the process case library.

[0107] S2.2.4, sort the process cases according to the production objectives, eliminate the non-Pareto optimal process solutions, and update the process case library.

[0108] In this embodiment, the rules in the process rule library can be classified according to decision-making objectives, and the process rules can be added, updated or deleted in a timely manner when the process rules change.

[0109] In this embodiment, similarity calculation and comparative optimization are performed on new process cases and existing process solutions in the knowledge base, wherein the process case is composed of a processing task and a process solution, and the processing task attributes can be divided into character type, numerical type and fuzzy type attributes. Corresponding to different similarity calculation methods, the weights of different types of attributes are determined based on the hierarchical analysis method and the principal component analysis method to obtain the similarity between the processing tasks. After encoding the process route, the distance between the process solutions is calculated based on the Euclidean distance to determine the similarity between the process solution and the existing process solutions in the knowledge base.

[0110] In addition, this embodiment sorts process cases according to different production objectives such as production cost and processing time, and eliminates non-Pareto optimal process solutions to update the case library. It can further combine the memory forgetting model to ultimately achieve the precipitation optimization of knowledge in the process knowledge base.

[0111] S3 is the step of local storage and distributed storage of the process knowledge base.

[0112] S3.1, store the process domain knowledge model locally through Jena TDB.

[0113] S3.2, storing the process case library and the process rule library in HBase, wherein each instance in the process case library is stored in a different HBase table according to the class to which it belongs, and organizing the process cases into a data structure in the form of SPO triples for storage through Jena TDB.

[0114] This embodiment uses a combination of local storage and distributed storage to implement the storage of the knowledge base. Figure 4 The schematic diagram of the storage structure design of the process knowledge base is shown in the figure. The process domain knowledge model is stored locally independently of the case base and the rule base. Then, each instance in the process case base is stored in different HBase tables according to the class to which it belongs. JenaTDB is used to realize the local storage of the knowledge base and organize the relevant cases in the case base into a specific data structure, including the extraction of instances and their related attributes under each category and organizing them into SPO triples to facilitate the storage of data in HBase. HBase combines Subject and Predicate into SP, Predicate and Object into PO as row keys to facilitate the retrieval of process-related knowledge. An optional implementation method uses an ontology parsing tool and a distributed storage system to realize local storage and distributed storage of the knowledge base respectively. The ontology parsing tool reads and organizes OWL files, realizes local storage and addition, deletion, modification and query of the process knowledge base, generates a specific data structure, establishes a composite primary key, and stores it in a distributed database to realize data sharing. At the same time, the data read from the distributed database is organized into OWL files to realize the formalization and visualization of knowledge based on the ontology modeling tool.

[0115] The method for constructing a dynamic process knowledge base for a production line in this embodiment, firstly, organizes and manages process knowledge such as process cases and process rules based on the process domain knowledge model, structures the relevant knowledge, and constructs a process case library and a process rule library to form a process knowledge base, which ensures the ease of use of knowledge through an orderly organization method; secondly, based on the mapping relationship between the instance state attribute and the data, the instance is ensured to be in the latest state, and the applicability of the knowledge to the real-time state of the production line is ensured. At the same time, the knowledge base is updated based on new cases and new process rules, and the knowledge in the knowledge base is precipitated and optimized to ensure the quality of knowledge; based on the data storage method, the local storage and distributed storage of the process knowledge base are respectively realized, which is conducive to the sharing and rapid retrieval of knowledge; finally, the process knowledge base is based on the query and reasoning of the process plan, and the knowledge is assembled to finally form a process document to ensure the interpretability of the process plan. According to the above process, the dynamic knowledge base system is applied to the process knowledge aggregation and process decision-making process, which improves the credibility of the large-scale complex process decision-making results under the collaborative relationship of the production line and the utilization rate of the process knowledge, an important asset of the enterprise.

[0116] In addition, in order to solve the heterogeneity and low structure problems in the reuse of process knowledge, an ontology-based process domain knowledge model is constructed and used as the basis for the construction of the process knowledge base. The process knowledge is cleaned and packaged, and a process case library and a process rule library are established. To a certain extent, the efficiency of sharing and reuse of historical knowledge is improved.

[0117] At the same time, in order to address the problem of time-varying production factor composition and state performance in discrete manufacturing systems due to time-varying production systems and changing product orders, the production data is analyzed and a mapping relationship between equipment status information and instance attributes in the knowledge base is established. An update mechanism for the process knowledge base is also established to ensure the consistency of instance status with the production line and the availability of process decision-making plans.

[0118] Figure 5 This is a flow chart of a process scheme generation method provided in an embodiment of the present invention. According to different requirements, the order of the steps in the flow chart can be changed, and some can be omitted.

[0119] like Figure 5 As shown, the method includes the following steps.

[0120] SS1, queries whether the process knowledge base contains similar cases of the target processing task.

[0121] The purpose of this step is to find similar cases, which includes the following steps.

[0122] SS1.1, calculate the similarity between the target processing task and the existing cases in the process knowledge base.

[0123] SS1.2, based on various attributes of the target processing tasks, cluster the existing process cases in the process knowledge base.

[0124] SS1.3, set a similarity threshold and calculate the similarity between the target processing task and the existing process cases based on the k-nearest neighbor algorithm.

[0125] SS1.4, the corresponding process cases whose calculated similarity is within the similarity threshold range are available similar cases.

[0126] SS2, if there are similar cases, determine whether the parameters of the similar cases need to be modified.

[0127] SS3, if the parameters need to be modified, rule reasoning is performed based on the process rule library to obtain the process parameters and process sequence, and the target process parameters are corrected based on the real-time status of the production line.

[0128] SS4, if there is no need to modify the parameters, the process plan of similar cases is directly reused.

[0129] SS5, if there is no similar case, rule reasoning is performed based on the process rule library to obtain process parameters and process sequence.

[0130] SS6, fill in the obtained process plan into the process document.

[0131] This embodiment realizes the generation of process routes based on the process knowledge base through case reasoning, rule reasoning and the integration of the two. Figure 6 Generate a basic flow chart for the process plan based on the process knowledge base. Specifically, first query whether the processing task is already included in the knowledge base based on the SPARQL language. If not, first obtain several similar cases through similarity calculation based on case reasoning, and determine whether the processing task can directly reuse the historical process plan based on the similarity value. If it cannot be directly reused, rule reasoning is used as a supplement to case reasoning. Rule reasoning is performed on the parameters that need to be adjusted based on the rule base to re-make process decisions for key links or make process decisions based entirely on rule reasoning.

[0132] Among them, when faced with new processing tasks and real-time production line status, the process cases are first clustered based on the various attributes of the processing tasks to reduce the scale of calculation. Then, the similarity between the processing tasks and the existing cases is calculated, and a similarity threshold is set. According to the k-nearest neighbor algorithm, the process cases within the threshold range are determined as available process methods.

[0133] Taking the outer circle feature as an example, the steps of making process decisions based on rules include: feature processing chain decision, adding process instances according to the processing chain, preliminary reasoning of process sequence, reasoning of process parameters, machine tools and tools corresponding to the decision process, and reasoning of the back cutting amount, feed rate, cutting speed and working hours corresponding to the process. Finally, the process plan retrieved or reasoned is filled into the appropriate position of the process document, and the process decision is completed based on knowledge assembly.

[0134] The above disclosure is only a preferred embodiment of the present invention, but the present invention is not limited thereto. Any non-creative changes that can be thought of by a person skilled in the art, as well as several improvements and modifications made without departing from the principle of the present invention, should fall within the protection scope of the present invention.

Claims

1. A method for constructing a dynamic process knowledge base of a production line, wherein the production line is a discrete manufacturing production line, characterized in that: The method includes, S1, the steps of building the process knowledge base; Acquire process knowledge in production line process decision-making from various process knowledge sources and process cases, and construct a process domain knowledge model by structuring and hierarchical processing of process knowledge based on ontology; the process knowledge includes process concepts, concept-related data, and relationships between concepts; According to the process knowledge of the process domain knowledge model, process information is extracted from the process documents, and the process information is expressed as process cases in a specified format to build a process case library; Convert the process rule knowledge in the process manual into a reasoning engine to build a process rule library; S2, a step of dynamically updating the process knowledge base; Update the process case library according to the real-time status of relevant elements of the production line; When process rules and process cases change, the process rule library and process case library are updated respectively; Among them, according to the process knowledge of the process domain knowledge model, the process information is extracted from the process document, and the process information is expressed as a process case in a specified format to build a process case library, which specifically includes: Based on the process knowledge of "instance-data attribute" and "instance-object attribute-instance" provided by the process domain knowledge model, structured process information is extracted from process documents through XML, semi-structured process information is extracted from process documents through regular expressions, and unstructured process information is extracted from process documents through the BERT model; The extracted process information is expressed in the form of the following process case: Case = {T, R, C, P}; Among them, T represents the features or parts in the processing task, R represents the state of the manufacturing resources corresponding to the process decision of the processing task, C represents the processing chain corresponding to the processing task, and P represents the process parameters of each step in the processing chain and the selected manufacturing resources.

2. The method for constructing a dynamic process knowledge base of a production line according to claim 1, characterized in that: Acquire process knowledge in production line process decision-making from various process knowledge sources and process cases, and construct a process domain knowledge model by structuring and hierarchical processing of process knowledge, including: Use a top-down approach to obtain process knowledge for production line process decision-making from various process knowledge sources; Use a bottom-up approach to obtain process knowledge in production line process decision-making from process cases; The ontology modeling tool is used to formalize the process domain knowledge model, formalize the process concepts into classes, formalize the relevant attributes of the concepts into data attributes of the classes, and formalize the relationships between concepts into object attributes of the classes, so as to represent the process domain knowledge model in the form of OWL.

3. The method for constructing a dynamic process knowledge base of a production line according to claim 2, characterized in that: The process domain knowledge model includes the processing task subclass model, the production line manufacturing resource subclass model, the production line processing technology subclass model and the relationship between each subclass model; Processing task subclass model: describes the manufacturing information of the order in the process case, the component feature information of the parts, the design process requirements of the parts, and the relationship between the component features of the parts; Production line manufacturing resource subclass model: describes the basic attributes, state attributes, functional attributes and the relationship between the manufacturing resources in the production line; the manufacturing resources include machine tools, cutting tools, fixtures and cutting fluids; Production line processing technology subclass model: describes the process plan corresponding to the processing task subclass model, including the processing chain of each feature in the process plan, each feature step corresponding to the processing chain, the processing sequence of the steps, the process steps composed of the steps and the relationship between these elements.

4. The method for constructing a dynamic process knowledge base of a production line according to claim 3, characterized in that: The process rule knowledge in the process manual is converted into a reasoning engine to build a process rule library, including: Classify the process rules, including process chain selection rules, manufacturing resource selection rules, process parameter selection rules, and process route sorting rules; For structured and semi-structured knowledge, XML is used as the intermediate data format, and templates are developed for each type of structured knowledge to achieve the transformation of table information into Jena Rules / SWRL rules; Organize the unstructured knowledge based on the concepts and relationships in the process domain knowledge model to generate JenaRules / SWRL rules; Jena Rules / SWRL rules are written based on classes, attributes, instances and data values ​​in OWL.

5. The method for constructing a dynamic process knowledge base of a production line according to claim 4, characterized in that: Update the process case library based on the real-time status of relevant elements of the production line, including: Obtain the real-time status of relevant elements of the production line through the collected real-time operation data of the production line; Map the real-time status of relevant elements of the production line to the corresponding attributes of the corresponding instances in the process case library; The real-time status of the relevant elements of the production line is updated in real time to the corresponding attributes of the corresponding instances in the process case library according to the mapping relationship, so that the instances in the process case library are in the latest status.

6. The method for constructing a dynamic process knowledge base for a production line according to claim 5, characterized in that: When the process rules and process cases change, the process rule library and process case library are updated respectively, including: When the process rules are changed, add, update or delete the process rules in the process rule library; When there is a new process case, the similarity between the new process case and the existing process cases in the process case library is calculated; If all similarities are less than the threshold, the new process case is added to the process case library; If the similarities are all greater than the threshold, the new process case will not be added to the process case library; The process cases are sorted according to the production objectives, and non-Pareto optimal process solutions are eliminated to update the process case library.

7. The method for constructing a dynamic process knowledge base for a production line according to any one of claims 1 to 6, characterized in that: The method further comprises, S3, a step of storing the process knowledge base locally and in a distributed manner; The process domain knowledge model is stored locally through Jena TDB; The process case library and process rule library are stored in HBase, where each instance in the process case library is stored in a different HBase table according to the class to which it belongs, and the process cases are organized into a data structure in the form of SPO triples for storage through Jena TDB.

8. A process scheme generation method, characterized in that: The method is implemented based on the process knowledge base constructed by the method described in any one of claims 1 to 7, and comprises the following steps: Check whether the process knowledge base contains similar cases of the target processing task; If there are similar cases, determine whether the parameters of the similar cases need to be modified; If the parameters need to be modified, rule reasoning is performed based on the process rule library to obtain the process parameters and process sequence, and the target process parameters are modified based on the real-time status of the production line; If the parameters do not need to be modified, the process plan of similar cases can be directly reused; If there is no similar case, rule reasoning is performed based on the process rule library to obtain process parameters and process sequence; Fill the obtained process plan into the process document.

9. The process scheme generation method according to claim 8, characterized in that: Check whether the process knowledge base contains similar cases of the target processing task, including: Calculate the similarity between the target processing task and the existing cases in the process knowledge base; Based on various attributes of the target processing task, the existing process cases in the process knowledge base are clustered; Set a similarity threshold and calculate the similarity between the target processing task and the existing process cases based on the k-nearest neighbor algorithm; The corresponding process cases whose calculated similarities are within the similarity threshold range are available similar cases.

Citation Information

Patent Citations

  • Robot welding technology parameter optimization method based on CBR and RBR

    CN109865916A

  • Knowledge-based assembly process design method and system and medium

    CN110851499A

  • Assembly process knowledge mining method and rapid construction method of assembly case ontology

    CN113656595A

  • Ontology-based processing method intelligent generation method

    CN114254441A

  • Process industry factory knowledge graph self-maintenance system and method

    CN114418399A