The following relates to a system for the computer-aided creation of rules for monitoring and/or diagnosing a technical plant, particularly an industrial plant, such as e.g. a manufacturing or production plant.
Monitoring and diagnosis of technical plants requires, on the basis of the structure of the plant, the creation of a suitable monitoring and diagnosis system that, during operation of the plant, takes sensor signals or process information from the plant as a basis for detecting malfunctions and critical operating states and causes thereof.
The prior art discloses rule-based monitoring systems that are able to adapt their behavior on the basis of rules but that do not allow redundant rules to be identified or the consistency of rules to be checked or the rules to be analyzed in another way.
An aspect relates to providing a system for creating rules for monitoring and/or diagnosing a technical plant, in which a user is assisted in the drafting of rules in a simple and flexible manner and the rules can be automatically checked.
The system according to embodiments of the invention comprise a digital knowledge base in the form of a first ontology. Ontologies are sufficiently well known and represent semantic knowledge in the form of digital data. For this, ontologies use what are known as concepts or classes and relations between the concepts and also further constructs, such as inference and integrity rules for reasoning and for ensuring that said rules are valid. The first ontology comprises a plant ontology, which describes the technical plant on the basis of concepts and relations, and a rule ontology, which comprises rules as concepts and hence maps the structure of the rules. In this case, a respective rule is linked by means of a condition relation to concepts in the form of one or more conditions that refer to one or more concepts of the plant ontology. In addition, a respective rule is linked by means of a consequence relation to the concept of a consequence (e.g. a state) that is derived from the condition(s) and that refers to one or more concepts of the plant ontology. In other words, a respective rule derives a consequence in relation to a plant component when the condition(s) of the rule are met.
The system according to embodiments of the invention additionally comprise a user interface by means of which a user can alter the rule ontology by specifying rules (particularly instantiating rules), whereby the first ontology is edited. Furthermore, a reasoner is provided, reasoners for processing ontologies being inherently known. The reasoner is applied to a second ontology. The second ontology may be identical to the first edited ontology or be derived from the first edited ontology by means of an ontology transformation means. The reasoner verifies the rules in the second ontology and outputs the verification result via the user interface. The user is thus repeatedly provided with the opportunity to take the verification result from the reasoner via the user interface as a basis for making changes to the rules again and then returning them to the reasoner. The reasoner recognizes redundant, similar, conflicting and inconsistent rules, in particular, and these erroneous rules can then be eliminated by a user.
The system according to embodiments of the invention additionally comprise a rule generator in order to generate executable rules from the first edited ontology, which executable rules can be executed by a rule engine. In this way, rules are created that can subsequently be processed by means of the rule engine during operation of the technical plant, the rule engine being able to take the rules as a basis for recognizing and diagnosing critical states, fault states and the like for the technical plant. In this case, the execution of rules on the basis of rule engines is inherently known.
Embodiments of the invention are based on the insight that in a rule-based monitoring and diagnosis system, the rules can be represented on the basis of an ontology, which provides the opportunity for rules created by the user to be able to be automatically analyzed by means of a reasoner. This provides an improved system for creating user-specific rules that can subsequently be used to monitor and diagnose a technical plant during operation thereof.
In a particularly preferred embodiment, the first ontology is described on the basis of an ontology editor and is editable using the ontology editor. For example, the editor used can be Semantic Mediawiki, which is based on OWL/RDF. Semantic Mediawiki is an inherently known editor from the Semantic Web domain, which is based on web pages. This editor can be used in a particularly simple manner to provide a user interface for editing rules. If need be, the first ontology can also be described by means of other editors, such as e.g. Protege, however.
In a further preferred embodiment, the second ontology is implemented on the basis of the inherently known description language OWL (OWL—Ontology Web Language).
In a further variant of the system according to embodiments of the invention, the plant ontology comprises a structural ontology and a process ontology, wherein the structural ontology describes components of the plant and also the structural correlations thereof and the process ontology describes processes performed by the components of the plant. This allows the processes taking place during operation of a plant to be mapped in structured form in the ontology.
In a further embodiment, the system according to embodiments of the invention is embodied such that it first of all exports the edited first ontology, the exported ontology subsequently being converted into the second ontology using the ontology transformation means. In particular, the exported ontology is merged with a generic ontology in this case, the generic ontology containing axioms and concepts that are needed for the verification by the reasoner. The merging of ontologies and also the definition of a suitable generic ontology is in this case inherently known or lies within the scope of action of a person skilled in the art (see e.g. Bao, J. and Honavar, V., “Adapt OWL as a Modular Ontology Language”, in Proceedings of OWLED 2006 (Nov. 10-11, 2006)). Alternatively or additionally, the further ontology can be used by the rule generator to generate the executable rules.
In a further variant of the system according to embodiments of the invention, the user interface can additionally be used by a user to specify concepts and relations of the first ontology. This allows the system to be flexibly matched to any technical plants.
Preferably, the reasoner used in the system according to the invention is additionally embodied such that it classifies the concepts in the second ontology and outputs the classification result via the user interface. As a result, the user is provided with useful information about the technical plant and the processed rules, which he can then in turn take into account for editing the first ontology.
In a further embodiment of the system according to the invention, the user interface is embodied such that a user can direct queries to the second ontology, the query results being output via the user interface. In this case, queries are preferably processed in the inherently known query language SPARQL. According to this variant, the user can analyze the second ontology in a suitable manner on the basis of his requirements.
In a further, particularly preferred embodiment, the rule generation means or rule generator is embodied such that it first of all generates rules in the inherently known RIF-XML serialization syntax and subsequently translates the rules of this syntax into the executable rules of the format of the rule engine, appropriate translation algorithms being inherently known. In this case, the format of the rule engine is e.g. the Etalis format. This variant involves the performance of a conversion into the generic RIF format, which allows the system to be flexibly matched to different formats of different rule engines.
Embodiments of the invention additionally relate to a method for the computer-aided creation of rules for monitoring and/or diagnosing a technical plant by means of the system according to embodiments of the invention that are described above. In this case, a digital knowledge base in the form of a first ontology is provided, wherein the first ontology comprises a plant ontology, which describes the technical plant on the basis of concepts and relations, and a rule ontology, which comprises rules as concepts, wherein a respective rule is linked by means of a condition relation to concepts in the form of one or more conditions that refer to one or more concepts of the plant ontology, and is linked by means of a consequence relation to the concept of a consequence that is derived from the condition(s) and that refers to one or more concepts of the plant ontology. In addition, a user interface is provided by means of which a user can alter the rule ontology by specifying rules, whereby the first ontology is edited.
As part of the above method, a reasoner is applied to a second ontology, which is derived from the first edited ontology by means of an ontology transformation means or which is the first edited ontology, wherein the reasoner verifies the rules in the second ontology and outputs the verification result via the user interface. In addition, a rule generation means or rule generator generates executable rules from the first edited ontology, which executable rules can be executed by a rule engine.
All the preferred variants of the system according to embodiments of the invention that have been described above can also be implemented in a similar manner in the method according to embodiments of the invention that has been described above.
Embodiments of the invention furthermore relate to a method for monitoring and/or diagnosing a technical plant, wherein executable rules that have been or are created using the above-described system according to embodiments of the invention are executed by means of a rule engine during operation of the technical plant.
In addition, embodiments of the invention relate to an apparatus for monitoring and/or diagnosing a technical plant, wherein the apparatus is set up to carry out the above-described method for monitoring and diagnosing the technical plant.
Embodiments of the invention additionally comprise a computer program product having a program code, which is stored on a machine-readable storage medium, for performing the above-described method according to embodiments of the invention for creating rules and the above-described method according to embodiments of the invention for monitoring and/or diagnosing a technical plant when the program code is executed on a computer.
Some of the embodiments will be described in detail, with reference to the following figures, wherein like designations denote like members, wherein:
The text below describes an exemplary embodiment of the invention based on the monitoring and diagnosis of a technical plant in the form of an industrial plant, which may be e.g. a production line or another plant for manufacturing products. Normally, the monitoring of an industrial plant comprises the derivation of equipment states of the industrial plant in order to schedule the maintenance of this equipment in a suitable manner. In addition, the monitoring in most cases also includes what is known as process monitoring, in which particular processes that are performed during operation of the plant are monitored in order to ensure that they are carried out correctly. In addition, the monitoring of an industrial plant normally also includes energy monitoring, which analyzes the present energy consumption of the plant in comparison with an expected energy consumption. The operators of an industrial plant therefore need to perform a multiplicity of different kinds of monitoring tasks. The embodiment described below provides a system in this regard that can be used to create, manage and execute appropriate rules for monitoring the plant in a simple and efficient manner.
According to the embodiment in
As is evident from the explanations above, it is therefore possible for a user, such as e.g. an engineer with knowledge about the plant, to store and edit his knowledge in the knowledge base KB in the form of an ontology library ON1. The knowledge base contains ontologies that assist the engineer in generating plant-specific ontologies thereon by editing the knowledge base. In this case, the user has the opportunity either to add additional concepts to the library or to map concepts onto already existing concepts in the library. This ensures that the knowledge base is flexible and adaptable.
In the embodiment described here, the knowledge base KB or the ontology ON1 is edited by using the inherently known editor “Semantic Mediawiki (SMW)”, which converts the ontology library into appropriate RDF models (RDF=Resource Description Framework) that allow a user to generate and edit structured knowledge about the plant in the form of web pages. In this case, Semantic Mediawiki assists experts in their task of modeling data from the plant and rules for monitoring and diagnosing the plant. In addition, Semantic Mediawiki allows the visualization and navigation in corresponding modeled data by means of the technical plant. The component RUEN and the associated interface UI therefore allow an expert to provide a more detailed specification of the technical plant on which the monitoring and diagnosis are based and to stipulate appropriate rules for monitoring and diagnosing the plant.
According to the embodiment in
An advantage of the use of Semantic Mediawiki is additionally that the cooperation of different experts who are familiar with different aspects of the plant is made possible. By way of example, manufacturers of components of the plant can specify general monitoring rules for these components, since they have in-depth knowledge that is needed for monitoring the components. A further advantage of Semantic Mediawiki is that firstly it provides an overview of all aspects of the monitored plant with navigation links, and secondly it is possible for specific aspects of the plant to be filtered using what are known as ASK queries.
In the embodiment in
The reasoner REA is applied to the ontology ON2, as indicated by the arrow P4. In this case, the reasoner verifies the rules that the ontology ON2 contains by identifying semantically incorrect rules. In addition, it classifies the rules by arranging them in a structured taxonomy (i.e. classification). The corresponding verification and classification result is in turn output via the user interface UI. The user can then take the displayed result as a basis for correcting relevant conflicts in the original knowledge base or errors contained therein. In the embodiment in
According to the embodiment in
As a result, it is possible for appropriate monitoring or diagnosis states of the technical plant and the components thereof to be derived, during operation thereof, on the basis of sensor data or process data using the executable rules. It is therefore possible for e.g. warnings to be output, provided that critical states arise during operation of the technical plant. Similarly, the executable rules can be used to obtain e.g. diagnosis data for the technical plant. The intermediate conversion of the rules into the RIF format increases the flexibility of the system, since the user can select a suitable rule engine on the basis of the plant-specific circumstances. If the system is intended to monitor e.g. realtime events, then it is possible to use a more complex CEP (Complex Event Processing) rule engine, such as e.g. Drools Fusion.
The ontologies PON and RON that the knowledge base KB contains are explained in more detail below. The ontologies described below are based in part on ontology patterns from known ontology sources. For example, they are based on the process specification language (PSL), which identifies, formally defines and structures semantic concepts in relation to the process performed by the plant. The plant ontology PON contains semantic knowledge about the specific plant, such as e.g. about connections between components in the plant or about products that are produced by the plant. By contrast, the rule ontology RON contains rules for recognizing states in the plant, such as e.g. a rule for deriving the state “powerTooHigh” (i.e. excessively high electric power) for a motor m1 in the plant.
The plant ontology PON in the embodiment described here is additionally split again into a structural ontology STON and a process ontology PRON (
The process ontology PRON specifies the material that is processed by activities of the plant and manipulated by components of the plant throughout the production process. The namespace of the process ontology is “pr:”.
In contrast to the above ontologies STON and PRON, the rule ontology RON uses concepts that are needed in order to specify fundamental rules for recognizing states of the monitored elements of the other ontologies. This rule ontology is an essential part of the system according to embodiments of the invention, since it is needed in order to create the rules and process them further. The namespace of the rule ontology is “mon:”.
Relation he (=head), which corresponds to a then relation and stipulates which state ST arises
Specifically, the plant ontology PON of
Some of the concepts of the plant ontology described above are based on ontology patterns from available ontology sources, such as e.g. the concepts “activity” and “activity occurrence”, with corresponding axioms from the PSL ontology. All other concepts have been extracted by virtue of different production plants having been analyzed, known standards in the field of manufacture (e.g. CAEX for a plant structure) having been checked and interviews with experts having been conducted. Some concepts of the plant ontology PON shown in
The table below shows concepts that are contained in the rule ontology RON.
The concepts and relations explained in the table above are presented again in detail in
The further relations, contained in
The rule ontology shown in
In addition, a user can use the concepts of the rule ontology in order to manually construct taxonomies for states, monitored conditions or rules. Such taxonomies have different advantages. Firstly, a higher level of reusability of the monitored rules is achieved on the basis of the common information structures when new rules are drafted by the user. Secondly, the cooperation between different experts is facilitated, since the automatic selection of objects having identical meanings is simplified.
The meaning of these relations is as follows:
acr (=activityRef) is a reference re to an activity ACT;
acop (=activity Op) is an operator op for an activity occurrence ACO;
atr (=attributeRef) is a reference re to an attribute ATT;
atop (=attributeOp) is an operator op for an attribute occurrence ATO;
sr (=stateRef) is a reference re to a state ST;
sop (=stateOp) is an operator op for a state occurrence STO;
mr (=materialRef) is a reference re to a material MAT;
mop (=materialOp) is an operator op for a material occurrence MAO.
The ontology shown in
Furthermore,
The rule shown in
The text below describes how the reasoner REA shown in
By way of example, a verification is explained according to which two conflicting rules are identified. Two rules are in conflict when they derive two different states even though they have the same conditions as an input. If a rule Rule1 derives the state TempTooHigh and a rule Rule2 derives the state TempTooLow, for example, even though both rules relate to the same condition, then such an inconsistency is recognized by a suitable OWL-DL reasoner, such as e.g. Pellet. A further example of a verification task is the identification of rules that can never be executed. This is the case, for example, when rules use inverse monitored conditions. This arises when a rule contains the two conditions “temperature of m1 greater than 20° C.” and “temperature of m1 less than 20° C.”, for example. Such inverse conditions within a rule are also recognized by means of a suitable reasoner.
The reasoner REA used in
As is evident from
The conversion of the knowledge base KB or ontology ON1 into executable rules EXR that is shown in
Finally, the RIF rules are converted into specific rules in the language format of a rule engine RM by means of XSLT. During the XSLT processing, matching XML structures are ascertained in this case and translated into rule code fragments. Finally, executable rules are obtained by means of the relevant rule engine. In one specific embodiment, the executable rules are based on the rule language Etalis.
As a result of the system described above, suitable executable rules are finally obtained that are denoted by EXR in
The embodiments of the invention that are described above have a series of advantages. In particular, simple and efficient creation of rules for a technical plant is achieved by means of a user interface, the rules also being presented as ontologies, in contrast to the prior art. This allows knowledge-based reasoning and query mechanisms to be used to check the rules, and particularly verify and classify them, in a suitable manner. The result of the check can be presented to the user, who can then make adjustments to the created rules in the event of inconsistencies in the rule base. The system according to embodiments of the invention additionally allows automatic conversion of the rules from the ontology into suitable executable rules of a rule engine, which can then be used to monitor or diagnose the technical plant in a simple and efficient manner.
Although the present invention has been disclosed in the form of preferred embodiments and variations thereon, it will be understood that numerous additional modifications and variations could be made thereto without departing from the scope of the invention.
For the sake of clarity, it is to be understood that the use of “a” or “an” throughout this application does not exclude a plurality, and “comprising” does not exclude other steps or elements.
Number | Date | Country | Kind |
---|---|---|---|
10 2013 223 833.9 | Nov 2013 | DE | national |
This application claims priority to PCT Application No. PCT/EP2014/073777, having a filing date of Nov. 5, 2014, based off of German application No. DE 102013223833.9 having a filing date of Nov. 21, 2013, the entire contents of which are hereby incorporated by reference.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/EP2014/073777 | 11/5/2014 | WO | 00 |