Knowledge graph-based high-voltage transformer operation and maintenance decision-making method and system
By building a knowledge graph and using Bayesian reasoning, the problem of complex fault handling and poor real-time knowledge acquisition in high-voltage transformer operation and maintenance is solved, efficient and accurate operation and maintenance decisions are achieved, the operation and maintenance process is simplified and the system adaptability is improved. performance and reliability.
Patent Information
- Application Number
- CN202410812351.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-09-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing high-voltage transformer operation and maintenance decision-making software cannot effectively handle complex faults, has a heavy workload, poor real-time knowledge acquisition, and lacks an end-to-end system solution.
A knowledge graph-based method is adopted, by constructing a knowledge graph ontology, using an open source large language model for knowledge extraction, combining Bayesian reasoning to obtain operation and maintenance decision-making suggestions from fault trees, and dynamically updating the knowledge graph to adapt to changes in the power system.
It improves the scientificity and accuracy of operation and maintenance decisions, reduces the dependence on individual experience, accelerates fault response, simplifies the operation and maintenance process, and improves overall collaboration and efficiency.
Smart Images

Figure CN118585653A
Abstract
Description
Background Art
[0002] As the core component of energy transmission, high-voltage transformers play a vital role in the power system. With the rise of the concept of smart grid, how to improve the intelligence level of transformer operation and maintenance and ensure its efficient and stable operation has become the focus of the industry.
[0003] At present, transformer operation and maintenance mainly rely on traditional experience, which leads to weak interpretability of operation and maintenance measures, and the operation and maintenance personnel react slowly to fault changes and fail to handle faults quickly and accurately in time. At the same time, transformer failures often occur, the structure of power transformers is complex, and there are differences in the operation and maintenance methods of different types of transformers. Transformer operation and maintenance requires high technical capabilities of operation and maintenance personnel and is difficult. The power system has accumulated a large number of fault handling cases, mainly structured and semi-structured texts. How to quickly and accurately extract valuable information from massive data and use data-driven methods to perform intelligent operation and maintenance of transformers is an urgent problem that needs to be solved in the power field.
[0004] At present, the status of high-voltage transformer operation and maintenance decision-making software is as follows:
[0005] 1. Most operation and maintenance decision software can only make operation and maintenance decision suggestions according to preset rules. For example, if the diagnostic system or operation and maintenance personnel diagnose a core multi-point grounding fault, the system will directly give an operation and maintenance decision suggestion for the core multi-point grounding fault. There is no ability to analyze complex faults, and it is impossible to give operation and maintenance decision suggestions for complex faults.
[0006] 2. Currently, there is software for complex fault analysis based on equipment fault trees, but it can only enumerate the types of fault causes and cannot further analyze the faults based on actual detection conditions to determine the possibility of the fault causes.
[0007] 3. Existing equipment fault trees are usually saved in the form of knowledge graphs. There are usually two ways to organize the equipment failure mechanism knowledge and operation and maintenance decision suggestions in the knowledge graph. One method is to label the data and then extract knowledge through a dedicated extraction model; the other method is to organize it manually. These two methods have a large workload and poor real-time knowledge acquisition.
[0008] 4. The existing systems have only partial functions and lack an end-to-end system for high-voltage transformer operation and maintenance decision-making.
[0009] The concept of knowledge graph was formally proposed by Google in 2012. It is essentially a semantic network of entity relationships and is currently used to refer to large-scale databases. At present, the research on knowledge graphs in other fields of intelligent decision-making and equipment operation and maintenance has been carried out earlier and has been widely used. At present, there is little participation of knowledge graphs in the field of power system equipment operation and maintenance. Therefore, combining knowledge graphs with intelligent operation and maintenance of power transformers has a broad application prospect and use value.
[0010] Currently, knowledge extraction technologies in the power sector mostly use rule-based matching and traditional machine learning methods, which have low flexibility and are difficult to handle massive and rapidly changing power sector operation and maintenance data. Summary of the invention
[0011] The technical problem to be solved by the present invention is to provide a high-voltage transformer operation and maintenance decision-making method and system based on knowledge graph in response to the deficiencies in the above-mentioned prior art, so as to solve the technical problems that the existing methods have large workload, poor real-time knowledge acquisition, and cannot provide operation and maintenance decision suggestions for complex faults.
[0012] The present invention adopts the following technical solutions:
[0013] A high-voltage transformer operation and maintenance decision-making method based on knowledge graph includes the following steps:
[0014] S1. Build the knowledge graph ontology;
[0015] S2. Construct a prompt word template based on the knowledge graph ontology obtained in step S1, use an open source large language model to extract knowledge, and save the extracted formatted knowledge to the knowledge graph;
[0016] S3, obtaining the device status from the external system, retrieving the knowledge graph obtained in step S2, and obtaining the fault tree;
[0017] S4. Perform Bayesian reasoning on the fault tree obtained in step S3 to obtain the most likely fault cause and output corresponding operation and maintenance decision suggestions.
[0018] Preferably, the knowledge graph ontology includes key entities, attributes of entities and relationships between entities, causal relationships and probabilities between faults, relationships and probabilities between detection results and faults, and correspondences between faults and operation and maintenance decision recommendations.
[0019] Preferably, the key entities include equipment, fault causes, fault phenomena, detection methods, detection results, and operation and maintenance suggestions; the fault phenomena are the detected fault states, and the fault causes are the fault states that need to be repaired.
[0020] Preferably, the open source large language model is used for knowledge extraction as follows:
[0021] Use an open source large language model, set corresponding prompt words, and extract triple information from user-uploaded documents and save it in the knowledge graph through clear instruction guidance and structured queries.
[0022] Preferably, the clear instruction guidance is specifically:
[0023] By asking the model specific questions or instructions, you explicitly ask it to identify specific information in the text.
[0024] Preferably, the structured query is specifically:
[0025] Construct queries with predefined prompt word templates to direct the model to output information in a specific format.
[0026] Preferably, the device status acquired from the external system includes a description of the device status and a description of the device detection result, the description of the device status is used to retrieve and match the fault phenomenon node corresponding to the device, the description of the device detection result is used to retrieve and match the detection result node corresponding to the device, and retrieve the corresponding fault node through the detection result node;
[0027] In the process of retrieving and matching knowledge graph nodes, the word vector cosine similarity of the text to be compared is used for calculation; for the matched fault node, the state of the fault node is determined; after the matched fault node is retrieved, all fault nodes related to the fault node are retrieved in the knowledge graph to build a fault tree.
[0028] Preferably, the output corresponding operation and maintenance decision suggestions are specifically:
[0029] The fault tree is converted into a Bayesian network, and the Nosiy-Or algorithm is used to supplement the missing conditional probability. The state of the known fault node in the current equipment fault tree is used as a parameter, and Bayesian reasoning is performed on the fault cause nodes in the fault tree to calculate the probability of the fault cause. The operation and maintenance decision suggestions corresponding to the fault cause with the highest probability are output to the user as the operation and maintenance decision suggestions for the corresponding equipment.
[0030] Preferably, the fault analysis and operation and maintenance decisions processed by the system are confirmed, inappropriate operation and maintenance decision suggestions are fed back, the corrected fault analysis results and operation and maintenance decision suggestions are input into the system as a case library, and the corrected case library is used to update the content of the knowledge graph.
[0031] In a second aspect, an embodiment of the present invention provides a high-voltage transformer operation and maintenance decision system based on a knowledge graph, comprising:
[0032] Building modules and constructing knowledge graph ontology;
[0033] The extraction module builds a prompt word template based on the knowledge graph ontology, uses LLM to extract knowledge, and saves the extracted formatted knowledge to the knowledge graph;
[0034] The retrieval module obtains the device status from the external system, retrieves the knowledge graph, and obtains the fault tree;
[0035] The decision module performs Bayesian reasoning on the fault tree to obtain the most likely cause of the fault and outputs corresponding operation and maintenance decision recommendations.
[0036] In a third aspect, a computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned knowledge graph-based high-voltage transformer operation and maintenance decision-making method when executing the computer program.
[0037] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, including a computer program, which, when executed by a processor, implements the steps of the above-mentioned knowledge graph-based high-voltage transformer operation and maintenance decision-making method.
[0038] Compared with the prior art, the present invention has at least the following beneficial effects:
[0039] A high-voltage transformer operation and maintenance decision-making method based on knowledge graph, by introducing knowledge graph, effectively integrates multi-dimensional data, provides a global perspective for operation and maintenance decisions, and improves the scientificity and accuracy of decisions; replaces manual experience judgment with algorithm model, improves the objectivity and consistency of decision-making, reduces dependence on individual experience, and accelerates fault response speed; extracts knowledge through open source pre-trained large language model, avoids the cost of data annotation and training of traditional models, and also avoids the cost of manual knowledge extraction; through the dynamic knowledge graph update mechanism, ensures that the operation and maintenance knowledge base is synchronized with technological development, adapts to new changes in the power system, and improves operation and maintenance efficiency and equipment reliability; simplifies the operation and maintenance process by providing end-to-end solutions from data collection, analysis to decision support, and improves the overall coordination and efficiency of operation and maintenance management; has good scalability and can adapt to transformer equipment of different types and sizes, as well as new operation and maintenance scenarios and needs that may arise in the future.
[0040] Furthermore, by using open source pre-trained large language models to extract knowledge, the cost of data labeling and training of traditional models is avoided, as well as the cost of manual knowledge extraction.
[0041] Furthermore, a dynamic knowledge graph update mechanism ensures that the operation and maintenance knowledge base keeps pace with technological development, adapts to new changes in the power system, and improves operation and maintenance efficiency and equipment reliability.
[0042] It can be understood that the beneficial effects of the second aspect mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here.
[0043] In summary, the method of the present invention has the advantages of information integration and intelligent decision-making, can reduce experience dependence, reduce the cost of knowledge extraction, realize real-time knowledge updating, and has strong scalability and adaptability.
[0044] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 It is a schematic diagram of the process of the present invention;
[0046] Figure 2 It is the knowledge graph ontology connection diagram;
[0047] Figure 3 A schematic diagram of a computer device provided by an embodiment of the present invention;
[0048] Figure 4 The present invention is a block diagram of an electronic device provided according to an embodiment. DETAILED DESCRIPTION
[0049] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0050] In the description of the present invention, it should be understood that the terms “include” and “comprises” indicate the presence of described features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or collections thereof.
[0051] It should also be understood that the terms used in the present specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the present specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0052] It should be further understood that the term "and / or" used in the present specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes these combinations. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in the present invention generally indicates that the associated objects are in an "or" relationship.
[0053] It should be understood that, although the terms first, second, third, etc. may be used to describe preset ranges, etc. in the embodiments of the present invention, these preset ranges should not be limited to these terms. These terms are only used to distinguish preset ranges from each other. For example, without departing from the scope of the embodiments of the present invention, the first preset range may also be referred to as the second preset range, and similarly, the second preset range may also be referred to as the first preset range.
[0054] The word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.
[0055] Various structural schematic diagrams of the embodiments disclosed in the present invention are shown in the accompanying drawings. These figures are not drawn to scale, and some details are magnified and some details may be omitted for the purpose of clear expression. The shapes of various regions and layers shown in the figures and the relative sizes and positional relationships therebetween are only exemplary, and may deviate in practice due to manufacturing tolerances or technical limitations, and those skilled in the art may additionally design regions / layers with different shapes, sizes, and relative positions according to actual needs.
[0056] The present invention provides a high-voltage transformer operation and maintenance decision-making method based on knowledge graph. The method automatically extracts triples from documents and saves them to the knowledge graph through an open source pre-trained large language model. The Bayesian network is constructed through the equipment fault tree, equipment status and detection results to infer the cause of the fault. A set of knowledge graph ontology suitable for high-voltage transformer operation and maintenance decision-making is designed. The open source pre-trained large language model is used to extract triples from standard guidelines, product manuals, operation and maintenance specifications, real-time monitoring data, historical operation and maintenance records, and fault case data and save them to the knowledge graph. The current real-time monitoring data, daily inspection records and other data of the equipment are obtained from the external system, and the fault features are extracted from them. The fault phenomena, detection methods, and detection results in the knowledge graph are matched to determine the status of the fault nodes related to the current equipment and to build a fault tree. Based on the constructed fault tree and the status of the fault nodes related to the current equipment, the Bayesian network is used to infer and calculate the probabilities of all possible fault causes in the fault tree, and the operation and maintenance decision suggestions corresponding to the fault cause with the highest probability are provided to the user. An automated knowledge graph update mechanism is established to feed back the newly generated operation and maintenance data, user feedback, fault handling results and other information to the knowledge graph in real time, and the graph structure and content are automatically updated through algorithms to ensure the timeliness and accuracy of the knowledge graph and continuously optimize the operation and maintenance decision model.
[0057] See also Figure 1 The present invention provides a high-voltage transformer operation and maintenance decision-making method based on a knowledge graph, comprising the following steps:
[0058] S1. Build the knowledge graph ontology;
[0059] See also Figure 2 ,The knowledge graph ontology includes equipment, fault causes, fault phenomena, detection methods, ,detection results, operation and maintenance suggestions, the attributes of entities and ,the relationships between entities.
[0060] The definition of fault is broad, including fault causes and fault phenomena; the detected fault state (including those directly observed and detected by other technical means) is called the fault phenomenon; the fault state that needs to be repaired is called the fault cause.
[0061] The knowledge graph ontology contains the causal relationship and probability between faults, the relationship and probability between detection results and faults, and the correspondence between faults and operation and maintenance decision recommendations.
[0062] S2. Construct a prompt word template based on the knowledge graph ontology obtained in step S1, and use LLM to extract knowledge;
[0063] By using an open source large language model and setting appropriate prompts, triple information is extracted from documents uploaded by users and saved in the knowledge graph. The method of the present invention avoids the conventional data labeling and model training process required for extracting triples through an LSTM model.
[0064] The basic unit of the knowledge graph is a triple consisting of an entity, a relation, and an attribute, in the form of (entity, relation, entity) or (entity, attribute, attribute value). The process of extracting this type of structured information from text is called relation extraction or knowledge extraction.
[0065] Although large language models themselves are not specifically designed as knowledge graph building tools, they can analyze and identify potential entities, relationships between entities, and attribute descriptions based on input instructions and text context.
[0066] To extract triples from text, the following strategy is adopted:
[0067] 1) Clear instruction guidance: By asking the model specific questions or instructions, it is explicitly required to identify specific information in the text, such as "find the cause of the fault and the resulting fault phenomenon from this paragraph."
[0068] 2) Structured query: Construct a query containing predefined prompt word templates to guide the model to output information in a specific format, such as "fault cause-result-fault phenomenon", "test result-indication-fault cause" and other formats of query.
[0069] 3) Finally, the extracted formatted knowledge is saved to the knowledge graph.
[0070] S3, obtain the device status from the external system, retrieve the knowledge graph to obtain the fault tree;
[0071] Obtain the current status of the device from the external system, and determine the status of the knowledge graph node corresponding to the current device by comparing the similarity between the device status description and the content of the corresponding node in the knowledge graph.
[0072] The current status of the device obtained by the external system is divided into the following two categories:
[0073] 1) Description of device status
[0074] This type of information can be retrieved and matched to the fault phenomenon node corresponding to the device.
[0075] 2) Description of equipment test results
[0076] This type of information can be retrieved and matched to the detection result node corresponding to the device, and the corresponding fault node can be retrieved through the detection result node.
[0077] In the process of retrieving and matching knowledge graph nodes, the cosine similarity of the word vectors of the text to be compared is used for calculation. For the matched fault nodes, the status of the fault nodes (occurred / not occurred) is determined.
[0078] After retrieving the matching fault nodes, all fault nodes related to these fault nodes are retrieved in the knowledge graph to build a fault tree.
[0079] S4, perform Bayesian reasoning on the fault tree obtained in step S3, obtain the fault cause with the highest probability, and output corresponding operation and maintenance decision suggestions;
[0080] The fault tree constructed in the above steps is converted into a Bayesian network, and the Nosiy-Or algorithm is used to supplement the missing conditional probability. The state of the known fault node in the current equipment fault tree is used as a parameter, and Bayesian reasoning is performed on the fault cause nodes in the fault tree to calculate the probability of the fault cause. The operation and maintenance decision suggestions corresponding to the fault cause with the highest probability are output to the user as the operation and maintenance decision suggestions for the equipment.
[0081] S5. Use the revised case library to update the content of the knowledge graph.
[0082] The fault analysis and operation and maintenance decisions processed by the system are finally manually confirmed. For inappropriate operation and maintenance decision suggestions, a manual feedback channel is provided, and the corrected fault analysis results and operation and maintenance decision suggestions are entered into the system as a case library. The system regularly extracts information from the case library data according to step S2 and updates it to the knowledge graph to ensure the timeliness and accuracy of the knowledge graph and continuously optimize the operation and maintenance decision model.
[0083] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as systems, methods or program products. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, which may be collectively referred to herein as "circuits", "modules" or "platforms".
[0084] In another embodiment of the present invention, a high-voltage transformer operation and maintenance decision system based on a knowledge graph is provided. The system can be used to implement the above-mentioned high-voltage transformer operation and maintenance decision method based on the knowledge graph. Specifically, the high-voltage transformer operation and maintenance decision system based on the knowledge graph includes a construction module, an extraction module, a retrieval module and a decision module.
[0085] Among them, the construction module builds the knowledge graph ontology;
[0086] The extraction module builds a prompt word template based on the knowledge graph ontology, uses LLM to extract knowledge, and saves the extracted formatted knowledge to the knowledge graph;
[0087] The retrieval module obtains the device status from the external system, retrieves the knowledge graph, and obtains the fault tree;
[0088] The decision module performs Bayesian reasoning on the fault tree to obtain the most likely cause of the fault and outputs corresponding operation and maintenance decision recommendations.
[0089] In another embodiment of the present invention, a terminal device is provided, which includes a processor and a memory, wherein the memory is used to store a computer program, the computer program includes program instructions, and the processor is used to execute the program instructions stored in the computer storage medium. The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. It is the computing core and control core of the terminal, which is suitable for implementing one or more instructions, and is specifically suitable for loading and executing one or more instructions to implement the corresponding method flow or corresponding function; the processor described in the embodiment of the present invention can be used for the operation of the high-voltage transformer operation and maintenance decision-making method based on the knowledge graph, including:
[0090] Construct a knowledge graph ontology; construct a prompt word template based on the knowledge graph ontology, use LLM to extract knowledge, and save the extracted formatted knowledge to the knowledge graph; obtain the device status from the external system, search the knowledge graph, and obtain the fault tree; perform Bayesian reasoning on the fault tree to obtain the most probable fault cause, and output the corresponding operation and maintenance decision recommendations.
[0091] In another embodiment of the present invention, the present invention also provides a storage medium, specifically a computer-readable storage medium (Memory), which is a memory device in a terminal device for storing programs and data. It is understandable that the computer-readable storage medium here can include both the built-in storage medium in the terminal device and the extended storage medium supported by the terminal device, and can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it. The computer-readable storage medium provides a storage space, which stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by the processor are also stored in the storage space, and these instructions can be one or more computer programs (including program codes). It should be noted that more specific examples (non-exhaustive list) of the computer-readable storage medium here include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0092] Computer readable storage media also include data signals propagated in baseband or as part of a carrier wave, which carry readable program codes. Such propagated data signals can take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The readable storage medium can also be any readable medium other than a readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or device. The program code contained on the readable storage medium can be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above.
[0093] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0094] One or more instructions stored in a computer-readable storage medium may be loaded and executed by a processor to implement the corresponding steps of the high-voltage transformer operation and maintenance decision-making method based on a knowledge graph in the above embodiment; one or more instructions in the computer-readable storage medium are loaded and executed by the processor as follows:
[0095] Construct a knowledge graph ontology; construct a prompt word template based on the knowledge graph ontology, use LLM to extract knowledge, and save the extracted formatted knowledge to the knowledge graph; obtain the device status from the external system, search the knowledge graph, and obtain the fault tree; perform Bayesian reasoning on the fault tree to obtain the most probable fault cause, and output the corresponding operation and maintenance decision recommendations.
[0096] See also Figure 3 , the terminal device is a computer device, and the computer device 60 of this embodiment includes: a processor 61, a memory 62, and a computer program 63 stored in the memory 62 and executable on the processor 61. When the computer program 63 is executed by the processor 61, the method for calculating the composition of fluid in the reservoir transformation wellbore in the embodiment is realized. To avoid repetition, it is not described one by one here. Alternatively, when the computer program 63 is executed by the processor 61, the functions of each model / unit in the calculation system for the composition of fluid in the reservoir transformation wellbore in the embodiment are realized. To avoid repetition, it is not described one by one here.
[0097] The computer device 60 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The computer device 60 may include, but is not limited to, a processor 61 and a memory 62. Those skilled in the art will appreciate that Figure 3 This is only an example of the computer device 60 and does not constitute a limitation of the computer device 60. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the computer device may also include input and output devices, network access devices, buses, etc.
[0098] The processor 61 may be a central processing unit (CPU), or other general-purpose processors, central processing units, graphics processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, data processing logic based on quantum computing, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0099] The memory 62 may be an internal storage unit of the computer device 60, such as a hard disk or memory of the computer device 60. The memory 62 may also be an external storage device of the computer device 60, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc., equipped on the computer device 60.
[0100] Furthermore, the memory 62 may include both an internal storage unit of the computer device 60 and an external storage device. The memory 62 is used to store computer programs and other programs and data required by the computer device. The memory 62 may also be used to temporarily store data that has been output or is to be output.
[0101] Any reference to memory, database or other media used in the embodiments provided in the present application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM may be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.
[0102] The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. The non-relational database may include a distributed database based on blockchain, etc., but is not limited thereto. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but is not limited thereto.
[0103] See also Figure 4 The terminal device 600 is an electronic device, and the electronic device is in the form of a general computing device. The components of the electronic device may include but are not limited to: at least one processing unit 610, at least one storage unit 620, a bus 630 connecting different platform components (including the storage unit 620 and the processing unit 610), a display unit 640, etc.
[0104] The storage unit stores program codes, which can be executed by the processing unit 610, so that the processing unit 610 performs the steps according to various exemplary embodiments of the present invention described in the above method section of this specification. For example, the processing unit 610 can perform the following steps: Figure 1 Follow the steps shown in .
[0105] The storage unit 620 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 6201 and / or a cache memory unit 6202 , and may further include a read-only memory unit (ROM) 6203 .
[0106] The storage unit 620 may also include a program / utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0107] Bus 630 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0108] The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 600, and / or communicate with any device that enables the electronic device 600 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 650. Furthermore, the electronic device 600 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 via a bus 630. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage platforms, etc.
[0109] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. The components of the embodiments of the present invention described and shown in the drawings here can usually be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments in 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.
[0110] Under the guidance of experts in the power field, this embodiment extracts the corpus text information, forms ontology concepts including transformer models, components, defects, attributes, test methods, protection measures, and their interrelationships, and constructs an ontology layer. The entity layer construction of the power transformer operation and maintenance knowledge graph mainly performs entity extraction, relationship extraction, attribute extraction, etc. on the basis of the ontology layer concepts. First, the unstructured text is annotated to form a training data set, and samples of semi-structured transformer fault reports are generated to expand the number of corpora. Then, a deep algorithm is used to extract entities and relationships from the power transformer operation and maintenance text, and triples are constructed and stored in the graph database, thereby completing the construction of the knowledge graph.
[0111] After the knowledge graph is constructed, considering the different data sources and quality used in the process of building the graph, some information errors or redundancy may occur during the information extraction process, so knowledge fusion is needed. Entity alignment is to merge the same entity using different expressions. For example, "partial discharge" and "partial discharge" have the same meaning and can be represented by the same entity. Entity disambiguation is to distinguish different entities represented by the same name. For example, "bus No. 1" can mean "bus No. 1 main transformer bus" or "bus No. 2 main transformer bus", so it is necessary to distinguish them. In the daily operation and maintenance of power transformers, if new knowledge is encountered or information is missing or wrong in the graph, it is necessary to complete the knowledge of the graph in time to improve the quality of the graph. The knowledge graph finally constructed in this embodiment contains 6 types of ontologies, a total of 5545 entities and 5 types of ontology relationships, a total of 3529 entity relationships.
[0112] The power transformer operation and maintenance knowledge graph of this application can realize intelligent operation and maintenance processes such as operation and maintenance question and answer and decision support. Based on the knowledge reasoning and deep question and answer of triples in the knowledge graph, it avoids the problem of lack of interpretability of results of neural networks with a large number of samples as input in the current transformer fault diagnosis and operation and maintenance process, making the reasoning results and decision-making support information more in line with human logic and more practical. At the same time, it is supplemented by human experience and operation and maintenance rule knowledge judgment to form highly reliable operation and maintenance decision recommendations. The question and answer and decision-making support services based on the knowledge graph are very suitable for intelligent operation and maintenance scenarios, transforming the traditional experience-based operation and maintenance model into a "knowledge-data-driven" intelligent operation and maintenance model, and have a broad application space.
[0113] As the means of monitoring power transformers continue to enrich, the types of operation and maintenance data are also increasing. The applicant can combine the constantly updated voiceprint, image, oil chromatogram and other data with the original knowledge of the transformer for storage, and assist experts to screen and filter the knowledge to form a professional power transformer operation and maintenance multimodal knowledge graph, thereby constructing a transformer fault information and related knowledge query, and an operation and maintenance plan intelligent recommendation system, thereby realizing accurate and efficient intelligent operation and maintenance.
[0114] In summary, the present invention provides a high-voltage transformer operation and maintenance decision-making method and system based on knowledge graph. The open source large language model is used for knowledge extraction to avoid the labeling and training costs of traditional models. The knowledge graph is used to integrate data to improve the scientificity, objectivity and consistency of operation and maintenance decisions. The Bayesian network can be used to quantify the uncertainty of fault causes in incomplete information scenarios. The dynamic update mechanism reduces the system maintenance cost and improves the accuracy and adaptability of the system.
[0115] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0116] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0117] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the present invention 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.
[0118] In the embodiments provided by the present invention, it should be understood that the disclosed devices / terminals and methods can be implemented in other ways. For example, the device / terminal embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0119] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0120] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0121] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0122] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0123] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0124] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0125] The above contents are only for explaining the technical idea of the present invention and cannot be used to limit the protection scope of the present invention. Any changes made on the basis of the technical solution in accordance with the technical idea proposed by the present invention shall fall within the protection scope of the claims of the present invention.
Claims
1. A high-voltage transformer operation and maintenance decision-making method based on knowledge graph, It is characterized in that The following steps are involved: S1. Build the knowledge graph ontology; S2. Construct a prompt word template based on the knowledge graph ontology obtained in step S1, use an open source large language model to extract knowledge, and save the extracted formatted knowledge to the knowledge graph; S3, obtaining the device status from the external system, retrieving the knowledge graph obtained in step S2, and obtaining the fault tree; S4. Perform Bayesian reasoning on the fault tree obtained in step S3 to obtain the most likely fault cause and output corresponding operation and maintenance decision suggestions.
2. According to claim 1, the high-voltage transformer operation and maintenance decision-making method based on knowledge graph, It is characterized in that The knowledge graph ontology contains key entities, the attributes of entities and the relationships between entities, the causal relationship and probability between faults, the relationship and probability between detection results and faults, and the correspondence between faults and operation and maintenance decision recommendations.
3. According to claim 2, the high-voltage transformer operation and maintenance decision-making method based on knowledge graph, It is characterized in that Key entities include equipment, fault cause, fault phenomenon, detection method, detection result, and operation and maintenance suggestions; the fault phenomenon is the detected fault state, and the fault cause is the fault state that needs to be repaired.
4. The high-voltage transformer operation and maintenance decision-making method based on knowledge graph according to claim 1, It is characterized in that Using the open source large language model for knowledge extraction is as follows: Use an open source large language model, set corresponding prompt words, and extract triple information from user-uploaded documents and save it in the knowledge graph through clear instruction guidance and structured queries.
5. According to claim 4, the high-voltage transformer operation and maintenance decision-making method based on knowledge graph, It is characterized in that The specific instructions are: By asking the model specific questions or instructions, you explicitly ask it to identify specific information in the text.
6. The high-voltage transformer operation and maintenance decision-making method based on knowledge graph according to claim 4, It is characterized in that The structured query is as follows: Construct queries with predefined prompt word templates to direct the model to output information in a specific format.
7. The high-voltage transformer operation and maintenance decision-making method based on knowledge graph according to claim 1, It is characterized in that The device status obtained from the external system includes a description of the device status and a description of the device detection result. The device status description is used to retrieve and match the fault phenomenon node corresponding to the device. The device detection result description is used to retrieve and match the detection result node corresponding to the device, and the corresponding fault node is retrieved through the detection result node. In the process of retrieving and matching knowledge graph nodes, the cosine similarity calculation of the word vectors of the text to be compared is used; for the matched faulty nodes, the status of the faulty nodes is determined; After retrieving the matching fault node, all fault nodes related to the fault node are retrieved in the knowledge graph to construct a fault tree.
8. The high-voltage transformer operation and maintenance decision-making method based on knowledge graph according to claim 1, It is characterized in that The output corresponding operation and maintenance decision suggestions are as follows: The fault tree is converted into a Bayesian network, and the Nosiy-Or algorithm is used to supplement the missing conditional probability. The state of the known fault node in the current equipment fault tree is used as a parameter, and Bayesian reasoning is performed on the fault cause nodes in the fault tree to calculate the probability of the fault cause. The operation and maintenance decision suggestions corresponding to the fault cause with the highest probability are output to the user as the operation and maintenance decision suggestions for the corresponding equipment.
9. The high-voltage transformer operation and maintenance decision-making method based on knowledge graph according to claim 1, It is characterized in that Confirm the fault analysis and operation and maintenance decisions processed by the system, provide feedback on inappropriate operation and maintenance decision suggestions, input the corrected fault analysis results and operation and maintenance decision suggestions into the system as a case library, and use the corrected case library to update the content of the knowledge graph.
10. A high-voltage transformer operation and maintenance decision system based on knowledge graph, It is characterized in that include: Building modules and constructing knowledge graph ontology; The extraction module builds a prompt word template based on the knowledge graph ontology, uses LLM to extract knowledge, and saves the extracted formatted knowledge to the knowledge graph; The retrieval module obtains the device status from the external system, retrieves the knowledge graph, and obtains the fault tree; The decision module performs Bayesian reasoning on the fault tree to obtain the most likely cause of the fault and outputs corresponding operation and maintenance decision recommendations.
Citation Information
Patent Citations
Transformer fault diagnosis method based on Bayesian network and fault tree
CN117114102A
Professional recommendation knowledge graph construction method and query system based on large language model
CN118069865A
Cited By
Ship operation and maintenance guidance animation generation method based on AI and knowledge graph
CN119128173A
Power generation system fault auxiliary decision generation method and system based on large model
CN120387060A
