Hydraulic system condition monitoring method and system based on virtual knowledge graph

By constructing a knowledge ontology in the field of hydraulic systems and using Ontop virtual knowledge graph software, we solve the problems of knowledge sharing and predictive maintenance in hydraulic system fault diagnosis, realize intelligent status monitoring and fault prediction of hydraulic systems, reduce costs and improve efficiency. .

CN114564589BActive Publication Date: 2024-09-17BEIJING JUNHANG ENERGY TECH DEV CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202210038503.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-13
Publication Date
2024-09-17
Estimated Expiration
2042-01-13

AI Technical Summary

Technical Problem

Existing hydraulic system fault diagnosis technology is difficult to share and reuse knowledge, and the method of pre-monitoring the time of fault occurrence is high-cost and inefficient, and cannot effectively predict hydraulic system faults.

Method used

Using a method based on virtual knowledge graph, by constructing the knowledge ontology of the hydraulic system domain, and using Ontop virtual knowledge graph software to create mapping statements and SPARQL query statements, the status monitoring and fault prediction of each component of the hydraulic system can be realized, and information management and knowledge sharing can be promoted.

Benefits of technology

It realizes intelligent status monitoring of the hydraulic system, reduces the cost of operating relational databases, improves the accuracy and efficiency of fault detection, promotes knowledge sharing and reasoning, and reduces unnecessary downtime.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114564589B
    Figure CN114564589B
Patent Text Reader

Abstract

The present invention discloses a method and system for monitoring the state of a hydraulic system based on a virtual knowledge graph, the method comprising: constructing a knowledge ontology in the field of hydraulic systems; obtaining a data set of a hydraulic system to be monitored, and importing the data set into a relational database management system; using Ontop virtual knowledge graph software to establish a mapping relationship between the knowledge ontology in the field of hydraulic systems and the data set; creating a query statement; using the query statement to query on the mapping relationship to achieve state monitoring of each component of the hydraulic system to be monitored. The hydraulic system ontology is a shared model that can promote information management, knowledge modeling, knowledge sharing, etc. The invention not only focuses on the conceptual modeling of the ontology, but also pays special attention to the practical application of the ontology.
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 monitoring of mechanical systems, and in particular to a method and system for monitoring the state of a hydraulic system based on a virtual knowledge graph. Background Art

[0002] The statements in this section merely mention background art related to the present invention and do not necessarily constitute prior art.

[0003] In recent years, various mechanical equipment is developing towards artificial intelligence, and the demand for various types of machinery is also increasing, which greatly increases the complexity of mechanical structures and hydraulic components, and also increases the probability of mechanical failure. Hydraulic systems have the advantages of small size, light weight, high stability, and fast response speed, so they are widely used in modern machinery. However, the hydraulic system has a complex structure, and the failure is sudden and hidden, which increases the difficulty of fault diagnosis. If the failure is not discovered and handled in time, it may cause a chain failure and cause a major safety accident. Therefore, appropriate measures need to be taken to handle the failure in real time and accurately to ensure the normal operation of the machinery and reduce unnecessary downtime.

[0004] Predictive maintenance has an important application scenario in artificial intelligence. When the machine is running, it conducts regular fault diagnosis and status monitoring on the main components of the machine, determines the status of the machine, predicts the future trend of the status, and formulates maintenance plans in advance based on its changing trend and failure mode to determine the repair time, repair method and technology required for the mechanical equipment failure. Predictive maintenance allows users to timely and accurately find the location of the hydraulic system failure, the cause of the failure and what method to use to solve the failure, which reduces the loss caused by failure to handle the failure in time and reduces unnecessary downtime of the machine.

[0005] After years of technical research, various hydraulic system fault diagnosis technologies have been applied, such as machine learning, signal processing technology, neural networks, mathematical models, and expert systems. Although hydraulic system fault diagnosis has made great progress in technology with the continuous innovation of technology, there are still some problems that need further research. For example, how to share and reuse hydraulic system fault diagnosis knowledge, how to achieve fast and accurate fault detection without building mathematical models, etc.

[0006] Chinese invention patent (application number: 202010239169.8, patent name: A hydraulic press fault diagnosis device and method based on an intelligent system), the invention collects working signals of the hydraulic press in real time by installing an acquisition system on the hydraulic press; the acquisition system self-checking device is used to distinguish between acquisition system failures and hydraulic system failures; the inference engine combines the collected working signals with the stored knowledge modeling for fault reasoning; the human-computer interaction system displays the fault results. Although this invention solves the problems of poor knowledge expansion capability and inaccurate reasoning in hydraulic system fault diagnosis, it does not solve the problem of pre-monitoring when a hydraulic system failure occurs.

[0007] Chinese invention patent (application number: 202010687382.5, patent name: Hydraulic system fusion fault diagnosis and prediction method based on digital twin), this invention is to infer the fault by calculating the remaining service life of the hydraulic system, and adopts a fusion method that combines data-driven and digital twin model-driven. Collect data from sensors and update them in real time, extract features from the data, and then establish a prediction model. Although the present invention can achieve the effect of predicting faults, the cost of collecting data by sensors is relatively high, which may bring a burden to some companies. At the same time, this method performs poorly in sharing and reusing knowledge in the field of hydraulic systems. Summary of the invention

[0008] In order to solve the deficiencies of the prior art, the present invention provides a method and system for monitoring the state of a hydraulic system based on a virtual knowledge graph; the present invention utilizes the advantages of ontology, firstly performs ontology modeling for the domain knowledge of the hydraulic system, uses the Ontop Mapping plug-in in the Ontop virtual knowledge graph software to create mapping statements to map the ontology to a relational database, and uses the Ontop SPARQL plug-in to create SPARQL query statements for data access and query, thereby timely and accurately monitoring the state of the hydraulic system. The hydraulic system ontology is a shared model that can promote information management, knowledge modeling, knowledge sharing, etc. This invention not only focuses on the conceptual modeling of the ontology, but also pays special attention to the practical application of the ontology.

[0009] In a first aspect, the present invention provides a method for monitoring the state of a hydraulic system based on a virtual knowledge graph;

[0010] The hydraulic system condition monitoring method based on virtual knowledge graph includes:

[0011] Construct the knowledge ontology of hydraulic system domain;

[0012] Obtaining a data set of the hydraulic system to be monitored, and importing the data set into a relational database management system;

[0013] Use Ontop virtual knowledge graph software to establish the mapping relationship between hydraulic system domain knowledge ontology and data set;

[0014] Create a query statement; use the query statement to query on the mapping relationship to achieve status monitoring of each component of the hydraulic system to be monitored.

[0015] In a second aspect, the present invention provides a hydraulic system state monitoring system based on a virtual knowledge graph;

[0016] The hydraulic system condition monitoring system based on virtual knowledge graph includes:

[0017] A knowledge ontology construction module, which is configured to: construct a knowledge ontology in the hydraulic system domain;

[0018] A data import module is configured to: obtain a data set of the hydraulic system to be monitored, and import the data set into a relational database management system;

[0019] A mapping relationship establishment module is configured to: use Ontop virtual knowledge graph software to establish a mapping relationship between the hydraulic system domain knowledge ontology and the data set;

[0020] The condition monitoring module is configured to: create a query statement; and use the query statement to query on the mapping relationship to achieve condition monitoring of each component of the hydraulic system to be monitored.

[0021] In a third aspect, the present invention further provides an electronic device, comprising:

[0022] a memory for non-temporarily storing computer-readable instructions; and a processor for executing the computer-readable instructions,

[0023] When the computer-readable instructions are executed by the processor, the method described in the first aspect is executed.

[0024] In a fourth aspect, the present invention further provides a storage medium that non-temporarily stores computer-readable instructions, wherein when the non-temporary computer-readable instructions are executed by a computer, the instructions of the method described in the first aspect are executed.

[0025] In a fifth aspect, the present invention further provides a computer program product, comprising a computer program, wherein the computer program is used to implement the method described in the first aspect when running on one or more processors.

[0026] Compared with the prior art, the present invention has the following beneficial effects:

[0027] In order to promote the modeling, sharing and information management of hydraulic system domain knowledge, ontology technology is introduced into the present invention. Protégé5.5.0 is used as a development tool for hydraulic system ontology modeling.

[0028] The present invention uses Ontop virtual knowledge graph software, and uses the Ontop Mapping plug-in therein to create mapping statements to map the hydraulic system domain ontology to a relational database. Use the Ontop SPARQL plug-in to create SPARQL query statements, retrieve data, and infer the status of each component of the hydraulic system, thereby realizing intelligent status monitoring of the hydraulic system, and the ontology can also infer new knowledge. The advantage of using Ontop is that a virtual knowledge graph is used, and the ontology is virtual, which avoids the operation of the relational database, and the operation of the relational database is time-consuming and expensive. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0030] Figure 1 It is a flow chart of the method of the present invention. DETAILED DESCRIPTION

[0031] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used in the present invention have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.

[0032] It should be noted that the terms used herein are only for describing specific embodiments, and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that the terms "include" and "have" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0033] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.

[0034] In this embodiment, all data is obtained in compliance with laws and regulations and based on the user's consent, and is used legally.

[0035] Terminology explanation:

[0036] SparQL (Simple Protocol and RDF Query Language) is a query language and data retrieval protocol developed for RDF. It is defined for the RDF data model developed by W3C, but can be used for any information resource that can be represented by RDF.

[0037] Embodiment 1

[0038] This embodiment provides a hydraulic system state monitoring method based on a virtual knowledge graph;

[0039] like Figure 1 As shown, the hydraulic system condition monitoring method based on virtual knowledge graph includes:

[0040] S101: Constructing knowledge ontology in the hydraulic system domain;

[0041] S102: Acquire a data set of the hydraulic system to be monitored, and import the data set into a relational database management system;

[0042] S103: Use Ontop virtual knowledge graph software to establish the mapping relationship between the hydraulic system domain knowledge ontology and the data set;

[0043] S104: Create a query statement; use the query statement to query on the mapping relationship to achieve status monitoring of each component of the hydraulic system to be monitored.

[0044] Furthermore, the S101: constructing a knowledge ontology in the hydraulic system domain specifically includes:

[0045] The Web Ontology Language (OWL) is used as the ontology description language, and Protégé5.5.0 is used as the ontology encoder to develop and modify the hydraulic system ontology.

[0046] A bottom-up approach was adopted in developing the ontology, where the bottom layer is the domain knowledge of hydraulic systems and the upper layer contains the domain knowledge required for the operation of hydraulic systems.

[0047] The International Organization for Standardization (ISO) was referenced when constructing the ontology, making the developed ontology more standardized.

[0048] The hydraulic system ontology includes: class, data property and object property.

[0049] In the hydraulic system ontology, classes are used to express the domain knowledge of hydraulic systems. Object attributes and data attributes are two important relationships connecting classes.

[0050] Exemplarily, the knowledge ontology takes behavior, equipment component, feedback, function, issue, solution, structure, and system as classes.

[0051] The Behavior main class describes how the elements in the hydraulic system act and react. Four subclasses are created under this main class: Cooler_condition, Valve_codition, Hydraulic_accumulator_condition, and Internal_pump_leakage_condition. Each of these four subclasses contains its own subclasses.

[0052] The Equipment_component main class describes a piece of tool or equipment that is assembled to achieve a specific purpose.

[0053] The Function main class describes the function of each component in the hydraulic system. Four subclasses are also created under this main class: Cooler structure function (Cooler_structure_function), internal pump function (Internal_pump_function), valve function (Valve_function) and hydraulic accumulator function (Hydraulic_accumulator_function).

[0054] The Issue main class describes an unresolved controversial or contentious issue.

[0055] The Solution main class describes the method and process of solving problems.

[0056] Object attributes and data attributes are two important relationships that connect classes.

[0057] Object attributes are properties that relate individuals to individuals, and data attributes link individuals to XML Schema data type values.

[0058] Object properties in the hydraulic system body include:

[0059] hasBehavior describes the behavior that the hydraulic system has, hasFeedback describes the feedback information that the hydraulic system has, hasEquipment_component describes the equipment component that the system has, hasFunction describes the function that the hydraulic system has, hasIssue describes the problem that the system has, hasStructure describes the structure of the hydraulic system, inheritFrom describes that the structure inherits from the equipment component, isAssembledBy describes that the component is assembled by parts, isAttachedTo describes that the sensor is attached to the equipment, and isSolvedBy describes the problem that can be solved by the solution.

[0060] Among them, the hasEquipment_component object attribute describes the equipment component of the system, its domain is System, and its scope is Equipment_component. The hasBehavior object attribute describes the behavior contained in the hydraulic system, its domain is Hydraulic System, and its scope is Behavior.

[0061] Data attributes, including:

[0062] hasStableFlag describes whether the hydraulic system is stable, hasCooler_condition_value describes the status of the hydraulic cooler, hasHydraulic_accunulator_value describes the status of the hydraulic accumulator, hasInternal_pump_leakage_value describes the status of the internal pump, hasValve_condition_value describes the status of the valve, etc.

[0063] Furthermore, the S101 further includes: visualizing the hydraulic system domain knowledge ontology; specifically including:

[0064] Use the OntoGrap plug-in in Protégé5.5.0 to visualize the hydraulic system ontology, showing the class hierarchy and the relationships between the classes.

[0065] Furthermore, the step S102: obtaining a data set of the hydraulic system to be monitored specifically includes:

[0066] The data set comes from the Condition monitoring of hydraulic systems Data Set.

[0067] Furthermore, the step S102: importing the data set into a relational database management system specifically includes:

[0068] The data set is imported into a relational database management system in the form of a csv file through SQL statements; the relational database management system is an H2 relational database management system.

[0069] H2 is a JAVA-based relational database management system that allows users to interact with relational databases in client-server mode.

[0070] The data set was acquired using a hydraulic test rig. The hydraulic test rig consists of a primary working circuit and a secondary cooling-filtration circuit. The hydraulic test rig cyclically repeats constant load cycles (duration 60 seconds) and measures process values ​​such as pressure, volume flow and temperature while the states of four hydraulic components (cooler, valve, pump and accumulator) are quantitatively varied.

[0071] Attribute information: The dataset contains the raw process sensor data (i.e., without feature extraction), which is structured in the form of a matrix (tab-delimited), with rows representing cycles and columns representing data points within a cycle.

[0072] The target condition values ​​are marked in a cyclic manner (separated by tabs) in the profile.txt file.

[0073] The row number indicates the cycle number, and the column number indicates the status of the cooler, the status of the valve, the status of the pump, the status of the accumulator, and the stability flag.

[0074] The cooler has three status values: 3 represents close to total failure, 20 represents reduced efficiency, and 100 represents full efficiency.

[0075] The valve has four status values: 100 represents optimal switching behavior, 90 represents small lag, 80 represents severe lag, and 73 represents close to total failure.

[0076] There are three status values ​​for pump internal leakage: 0 represents no leakage, 1 represents weak leakage, and 2 represents severe leakage.

[0077] The accumulator has four status values: 130 represents optimal pressure, 115 represents slightly reduced pressure, 100 represents severely reduced pressure, and 90 represents close to total failure.

[0078] The stability flag has two status values: 0 means that the conditions were stable, and 1 means that static conditions might not have been reached yet.

[0079] The method of importing a data set into the H2 relational database management system is as follows: convert the data set profile.txt file into the profile.csv file, and add a data field Seq_id to the profile.csv file. Create a Status table in the H2 relational database management system, and import the data set with the Seq_id column into the Status table. The Status table contains six columns: Seq_id is a serial number column, indicating the position of the data field in the Status table, the Cooler_condition column contains the status values ​​of each state of the cooler, the Valve_condition column contains the status values ​​of each state of the valve, the Internal_pump_leakage column contains the status values ​​of each state of the internal pump, the Hydraulic_accumulator column contains the status values ​​of each state of the hydraulic accumulator, and the StableFlag column contains the status value of whether the hydraulic system is stable. Then design the Status table, and use Seq_id as the primary key in the Status table to uniquely identify a row of data.

[0080] Furthermore, Ontop virtual knowledge graph software is used to establish the mapping relationship between the hydraulic system domain knowledge ontology and the data set; specifically:

[0081] Use the Ontop Mapping plug-in in the Ontop virtual knowledge graph software to create mapping statements to map the classes and data attributes in the hydraulic system domain knowledge ontology to the relational database management system.

[0082] Mapping principle: Map the classes and data attributes in the ontology to the corresponding status values ​​in the Status table.

[0083] Create a mapping from the hydraulic system ontology to the data set using Protégé5.5.0, using the OntopMappings-->Mapping manager tab in the Ontop plug-in.

[0084] The mapping is to connect the classes or data attributes in the ontology to the state values ​​of the corresponding components in the dataset, which is also the basis for subsequent ontology reasoning.

[0085] For example, the cooler_close_to_total_failure class in the ontology that describes the hydraulic system cooler in a state close to total failure is mapped to the Seq_id data field corresponding to "COOLER_CONDITION" = 3 (the COOLER_CONDITION column in the Status table is a data field of 3, and the COOLER_CONDITION column contains the status values ​​of each state of the cooler. 3 indicates that the cooler is close to total failure.); the hasCooler_condition_value data attribute that describes the hydraulic cooler status in the ontology is mapped to the COOLER_CONDITION column that contains the status values ​​of each state of the cooler. The other classes and data attribute mappings are the same as above.

[0086] in:

[0087] :hasValve_condition_value describes the state of the valve, :hasCooler_condition_value describes the state of the hydraulic cooler, :hasHydraulic_accunulator_value describes the state of the hydraulic accumulator, :hasInternal_pump_leakage_value describes the state of the internal pump, :hasStableFlag describes whether the hydraulic system is stable, etc. These are all data attributes in the hydraulic system body. The contents in curly brackets, {COOLER_CONDITION}, {VALVE_CONDITION}, etc. are all columns in the data set, which contain the state values ​​of each state of the cooler and the state values ​​of each state of the valve. The contents in “<>” are the IRI values ​​of the class, for example, the accumulator_close_to_total_failure class, its IRI value is:

[0088] <http: / / www.semanticweb.org / ontologies / hso / accumulator_close_to_total_failure>These mapping statements map the data attributes and classes in the hydraulic system ontology to the corresponding state values ​​in the relational database. Through this form of mapping, ontology-based methods can be used for data access, providing rich data semantics for information retrieval and information management tasks, improving the interpretability of data retrieval, and enriching domain knowledge and query answers.

[0089] Furthermore, the S104: creating a query statement; using the query statement to query on the mapping relationship to achieve status monitoring of each component of the hydraulic system to be monitored; specifically includes:

[0090] Use the Ontop SPARQL plug-in in Protégé5.5.0 to create SPARQL query statements;

[0091] Using Ontop virtual knowledge graph software, SPARQL query statements are converted into SQL query statements on the relational database management system to achieve status monitoring of each component in the hydraulic system to be monitored.

[0092] The SPARQL query statement is used for data access and retrieval.

[0093] By querying the status values ​​in the Status table, the status of each component in the hydraulic system to be monitored can be detected. Query ideas: To create a query for a specific purpose, for example, to query the normal status of the hydraulic system, it is necessary to ensure that the status value of each component is optimal.

[0094] Furthermore, the S104: creating a query statement; using the query statement to query on the mapping relationship to achieve status monitoring of each component of the hydraulic system to be monitored; specifically includes:

[0095] S1041: Create the first SPARQL query, which is used to query the states of other components when the valve state is full efficiency (100: full_efficiency) (ie Cooler_condition=100).

[0096] To ensure that the hydraulic system can work normally, it is necessary to ensure that all components in the hydraulic system are in good condition.

[0097] The valve status is full efficiency as the condition of this query, and the corresponding status of other components is queried.

[0098] That is, query the Seq_id data field corresponding to the full_efficiency class status value that describes the full efficiency of the valve status, and the data attribute hasCooler_condition_value describes the status of the hydraulic cooler, hasHydraulic_accunulator_value describes the status of the hydraulic accumulator, hasInternal_pump_leakage_value describes the status of the internal pump, and hasValve_condition_value describes the status of the valve and the status value corresponding to the full_efficiency class. The query result returns six columns: Seq_id is a sequence number column, indicating the position of the data field in the Status table, the Cooler_condition column contains the status values ​​of each cooler state, the Valve_condition column contains the status values ​​of each valve state, the Internal_pump_leakage column contains the status values ​​of each internal pump state, the Hydraulic_accumulator column contains the status values ​​of each hydraulic accumulator state, and the StableFlag column contains the status value of whether the hydraulic system is stable. The query result contains the serial number corresponding to the data field, the status value of each component, and the stability flag, so as to realize the monitoring of other components.

[0099] In actual applications, when the hydraulic system valve is in full efficiency, in order for the hydraulic system to work properly, it is also necessary to ensure that other components are in good condition. When one of the components of the hydraulic system is in an abnormal state, it is necessary to perform maintenance in a timely manner.

[0100] Through the above SPARQL query, when the valve is in full efficiency state, we can infer the state of other components. A total of 741 results are returned from the dataset.

[0101] Use the GROUP BY keyword to group the query results and return the status value of each component.

[0102] The ORDER BY keyword is used to sort the query results, which are sorted in ascending order by default. The query results are sorted in ascending order of SEQ_ID.

[0103] The SEQ_ID column indicates the location of the data field in the data set. SEQ_ID is also the primary key in the Status table, which can uniquely identify a row of data and facilitate the query and retrieval of data and information.

[0104] S1042: Create a second SPARQL query to query a data field in the data set. Through the second SPARQL query, the states of valves, coolers, pumps, and accumulators in the hydraulic system and stability flags are inferred for random inspection of the hydraulic system state.

[0105] For example: query the 20th data field, use the IRI value of the 20th data as the query condition, and query the status values ​​and stable status of the data attributes corresponding to the four components: hasCooler_condition_value describes the status of the hydraulic cooler, hasHydraulic_accunulator_value describes the status of the hydraulic accumulator, hasInternal_pump_leakage_value describes the status of the internal pump, hasValve_condition_value describes the status of the valve, and hasStableFlag describes whether the hydraulic system is stable. The query result returns five columns, including the Cooler_condition column containing the status value of the cooler, the Valve_condition column containing the status value of the valve, the Internal_pump_leakage column containing the status value of the internal pump, the Hydraulic_accumulator column containing the status value of the hydraulic accumulator, and the StableFlag column containing the status value of whether the hydraulic system is stable. The returned result contains the status value and stability flag of each component, thereby realizing the query and retrieval of the data and information.

[0106] The GROUP BY keyword is the same as the previous query and is used to group the query results.

[0107] This query implements the query on the data field of row 20, and can retrieve the status of the valve, cooler, pump and accumulator and the stability flag of the hydraulic system in the data field.

[0108] S1043: Create a third SPARQL query to query the number of data items in the hydraulic system where the accumulator and valve are in the optimal state, but the internal pump and cooler are not in the optimal state.

[0109] The query results must satisfy the requirement that the accumulator and valve in the hydraulic system are both in the optimal state, while the internal pump and cooler are not in the optimal state. The COUNT function is used to aggregate the third query result, and the output result is named "COUNT". To prevent duplicates in the query results, the DISTINCT field is used to restrict them. The UNION keyword is used to take the union of the results, because when the internal pump is not in the optimal state, there are two states: weak leakage (weak_leakage) and severe leakage (severe_leakage). When querying the non-optimal state, the union of the two states needs to be taken. Similarly, the cooler also has two non-optimal states, namely reduced efficiency (reduced_efficiency) and close to total failure (cooler_close_to_total_failure), and the union of the two states also needs to be taken.

[0110] In the present invention, Ontop virtual knowledge graph software is used, and Ontop Mappings plug-in is used to create mapping statements to map the hydraulic system domain ontology to a relational database. The advantage of Ontop is that it uses a virtual knowledge graph. Since the ontology is virtual, it avoids the operation of the relational database. Direct operation of the relational database is costly and cumbersome. Ontop can easily access the database and can simplify data integration tasks. When there are multiple data sets that need to be integrated, a lot of time and manpower are required. The Ontop virtual knowledge graph can be used to achieve flexible integration of multiple data sets. Because the ontology can enrich domain knowledge, this method can also be used to reason about data and knowledge to obtain new knowledge.

[0111] Embodiment 2

[0112] This embodiment provides a hydraulic system state monitoring system based on a virtual knowledge graph;

[0113] The hydraulic system condition monitoring system based on virtual knowledge graph includes:

[0114] A knowledge ontology construction module, which is configured to: construct a knowledge ontology in the hydraulic system domain;

[0115] A data import module is configured to: obtain a data set of the hydraulic system to be monitored, and import the data set into a relational database management system;

[0116] A mapping relationship establishment module is configured to: use Ontop virtual knowledge graph software to establish a mapping relationship between the hydraulic system domain knowledge ontology and the data set;

[0117] The condition monitoring module is configured to: create a query statement; and use the query statement to query on the mapping relationship to achieve condition monitoring of each component of the hydraulic system to be monitored.

[0118] It should be noted that the above-mentioned knowledge ontology construction module, data import module, mapping relationship establishment module and status monitoring module correspond to steps S101 to S104 in Embodiment 1, and the above-mentioned modules and the corresponding steps have the same examples and application scenarios, but are not limited to the contents disclosed in Embodiment 1. It should be noted that the above-mentioned modules as part of the system can be executed in a computer system such as a set of computer executable instructions.

[0119] The description of each embodiment in the above embodiments has different emphases. For parts not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0120] The proposed system can be implemented in other ways. For example, the system embodiment described above is only illustrative, and the division of the modules is only a logical function division. In actual implementation, there may be other division methods, such as multiple modules can be combined or integrated into another system, or some features can be ignored or not executed.

[0121] Embodiment 3

[0122] This embodiment also provides an electronic device, including: one or more processors, one or more memories, and one or more computer programs; wherein the processor is connected to the memory, and the one or more computer programs are stored in the memory. When the electronic device is running, the processor executes the one or more computer programs stored in the memory so that the electronic device executes the method described in the above embodiment one.

[0123] It should be understood that in this embodiment, the processor may be a central processing unit CPU, and the processor may also be other general-purpose processors, digital signal processors DSP, application-specific integrated circuits ASIC, off-the-shelf programmable gate arrays FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0124] The memory may include a read-only memory and a random access memory, and provide instructions and data to the processor. A portion of the memory may also include a non-volatile random access memory. For example, the memory may also store information about the device type.

[0125] In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in a processor or an instruction in the form of software.

[0126] The method in the first embodiment can be directly embodied as a hardware processor, or a combination of hardware and software modules in the processor. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware. To avoid repetition, it will not be described in detail here.

[0127] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with this embodiment can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0128] Embodiment 4

[0129] This embodiment further provides a computer-readable storage medium for storing computer instructions. When the computer instructions are executed by a processor, the method described in the first embodiment is completed.

[0130] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A hydraulic system condition monitoring method based on virtual knowledge graph, characterized in that: include: Construct the knowledge ontology of hydraulic system domain; Obtaining a data set of the hydraulic system to be monitored, and importing the data set into a relational database management system; Using Ontop virtual knowledge graph software to establish a mapping relationship between the hydraulic system domain knowledge ontology and the data set; using Ontop virtual knowledge graph software to establish a mapping relationship between the hydraulic system domain knowledge ontology and the data set specifically refers to: using the Ontop Mapping plug-in in the Ontop virtual knowledge graph software to create a mapping statement to map the classes and data attributes in the hydraulic system domain knowledge ontology to the relational database management system; Mapping principle: map the classes and data attributes in the ontology to the corresponding status values ​​in the Status table; Create a query statement; use the query statement to query on the mapping relationship to achieve status monitoring of each component of the hydraulic system to be monitored; The creating query statement; Use query statements to query on the mapping relationship to achieve status monitoring of each component of the hydraulic system to be monitored, including: Create the first SPARQL query to find out the states of other components when the valve state is full efficiency. Create a second SPARQL query to query a data field in the dataset; use the second SPARQL query to infer the status of valves, coolers, pumps, and accumulators in the hydraulic system, as well as stability flags, for random inspection of the hydraulic system status; Create a third SPARQL query to find the number of records in the hydraulic system where the accumulator and valve are in optimal condition, but the internal pump and cooler are not in optimal condition. The query results must satisfy the requirement that the accumulator and valve in the hydraulic system are in the optimal state, while the internal pump and cooler are not in the optimal state. The COUNT function is used to aggregate the third query result, and the output result is named "COUNT". To prevent duplicate items in the query results, the DISTINCT field is used to limit them. The UNION keyword is used to take the union of the results, because when the internal pump is not in the optimal state, there are two states: weak leakage weak_leakage and severe leakage severe_leakage. When querying the non-optimal state, the union of the two states needs to be taken. Similarly, the cooler also has two non-optimal states, reduced efficiency reduced_efficiency and cooler_close_to_total_failure, and the union of the two states is also taken.

2. The method for monitoring the hydraulic system state based on a virtual knowledge graph according to claim 1, characterized in that: Hydraulic system domain knowledge ontology, including: Class, Data Property and Object Property; The knowledge ontology takes behavior, equipment component, feedback, function, issue, solution, structure and system as classes; Object properties in the hydraulic system body include: hasBehavior describes the behavior of the hydraulic system, hasFeedback describes the feedback information of the hydraulic system, hasEquipment_component describes the equipment component of the system, hasFunction describes the function of the hydraulic system, hasIssue describes the problem of the system, hasStructure describes the structure of the hydraulic system, inheritFrom describes that the structure inherits from the equipment component, isAssembledBy describes that the component is assembled by parts, isAttachedTo describes that the sensor is attached to the equipment, and isSolvedBy describes the problem solved by the solution; Data attributes, including: hasStableFlag describes whether the hydraulic system is stable, hasCooler_condition_value describes the status of the hydraulic cooler, hasHydraulic_accunulator_value describes the status of the hydraulic accumulator, hasInternal_pump_leakage_value describes the status of the internal pump, and hasValve_condition_value describes the status of the valve.

3. The method for monitoring the hydraulic system state based on virtual knowledge graph according to claim 1, characterized in that: Importing data sets into a relational database management system; specifically: The data set is imported into a relational database management system in the form of a csv file through SQL statements; the relational database management system is an H2 relational database management system.

4. The method for monitoring the hydraulic system state based on virtual knowledge graph according to claim 1, characterized in that: Importing data sets into a relational database management system; specifically: Convert the data set profile.txt file into a profile.csv file, and add a column Seq_id to the profile.csv file to identify the data field; Create a Status table in the H2 relational database management system and import the data set with the Seq_id column into the Status table. The Status table contains six columns: Seq_id is a sequence number column, indicating the position of the data field in the Status table. The Cooler_condition column contains the status values ​​of each cooler state, the Valve_condition column contains the status values ​​of each valve state, the Internal_pump_leakage column contains the status values ​​of each internal pump state, the Hydraulic_accumulator column contains the status values ​​of each hydraulic accumulator state, and the StableFlag column contains the status value of whether the hydraulic system is stable. Then, design the Status table and use Seq_id as the primary key in the Status table to uniquely identify a row of data.

5. The method for monitoring the hydraulic system state based on virtual knowledge graph according to claim 1, characterized in that: Create a query statement; use the query statement to query on the mapping relationship to achieve status monitoring of each component of the hydraulic system to be monitored; specifically include: Use the Ontop SPARQL plug-in in Protégé5.5.0 to create SPARQL query statements; Using Ontop virtual knowledge graph software, SPARQL query statements are converted into SQL query statements on the relational database management system to achieve status monitoring of each component in the hydraulic system to be monitored.

6. A hydraulic system condition monitoring system based on a virtual knowledge graph is characterized by: include: A knowledge ontology construction module, which is configured to: construct a knowledge ontology in the hydraulic system domain; A data import module is configured to: obtain a data set of the hydraulic system to be monitored, and import the data set into a relational database management system; The mapping relationship establishment module is configured to: use the Ontop virtual knowledge graph software to establish a mapping relationship between the hydraulic system domain knowledge ontology and the data set; the use of the Ontop virtual knowledge graph software to establish a mapping relationship between the hydraulic system domain knowledge ontology and the data set specifically refers to: using the OntopMapping plug-in in the Ontop virtual knowledge graph software to create a mapping statement to map the classes and data attributes in the hydraulic system domain knowledge ontology to the relational database management system; mapping principle: map the classes and data attributes in the ontology to the corresponding status values ​​in the Status table respectively; The state monitoring module is configured to: create a query statement; use the query statement to query on the mapping relationship to achieve state monitoring of each component of the hydraulic system to be monitored; the query statement is created; Use query statements to query on the mapping relationship to achieve status monitoring of each component of the hydraulic system to be monitored, including: Create the first SPARQL query to find out the states of other components when the valve state is full efficiency. Create a second SPARQL query to query a data field in the dataset; use the second SPARQL query to infer the status of valves, coolers, pumps, and accumulators in the hydraulic system, as well as stability flags, for random inspection of the hydraulic system status; Create a third SPARQL query to find the number of records in the hydraulic system where the accumulator and valve are in optimal condition, but the internal pump and cooler are not in optimal condition. The query results must satisfy the requirement that the accumulator and valve in the hydraulic system are in the optimal state, while the internal pump and cooler are not in the optimal state. The COUNT function is used to aggregate the third query result, and the output result is named "COUNT". To prevent duplicate items in the query results, the DISTINCT field is used to limit them. The UNION keyword is used to take the union of the results, because when the internal pump is not in the optimal state, there are two states: weak leakage weak_leakage and severe leakage severe_leakage. When querying the non-optimal state, the union of the two states needs to be taken. Similarly, the cooler also has two non-optimal states, reduced efficiency reduced_efficiency and cooler_close_to_total_failure, and the union of the two states is also taken.

7. An electronic device, comprising: a memory for non-temporarily storing computer-readable instructions; and a processor for executing the computer-readable instructions, When the computer-readable instructions are executed by the processor, the method described in any one of claims 1 to 5 is executed.

8. A storage medium, characterized in that: The computer-readable instructions are non-transitory stored, wherein when the non-transitory computer-readable instructions are executed by a computer, the instructions of the method according to any one of claims 1 to 5 are executed.

Citation Information

Patent Citations

  • Hydraulic system fusion type fault diagnosis and prediction method based on digital twins

    CN111911483A

  • Hydraulic machine fault diagnosis device and method based on intelligent system

    CN113467408A

  • Insurance industry knowledge graph question and answer system construction method and device

    CN110019844A

  • Hydroelectric generating set fault diagnosis method and system based on knowledge graph

    CN110941725A

  • Fault diagnosis and maintenance system, method and equipment and storage medium

    CN113359664A