CN118534229A - Transformer fault determination method and device based on multi-sensor - Google Patents
Transformer fault determination method and device based on multi-sensor Download PDFInfo
- Publication number
- CN118534229A CN118534229A CN202410701837.2A CN202410701837A CN118534229A CN 118534229 A CN118534229 A CN 118534229A CN 202410701837 A CN202410701837 A CN 202410701837A CN 118534229 A CN118534229 A CN 118534229A
- Authority
- CN
- China
- Prior art keywords
- transformer
- data
- operation information
- information
- analysis result
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 130
- 238000004458 analytical method Methods 0.000 claims abstract description 76
- 238000001514 detection method Methods 0.000 claims abstract description 66
- 238000004364 calculation method Methods 0.000 claims abstract description 41
- 238000004422 calculation algorithm Methods 0.000 claims description 108
- 238000012549 training Methods 0.000 claims description 46
- 230000015654 memory Effects 0.000 claims description 42
- 230000008439 repair process Effects 0.000 claims description 34
- 230000005540 biological transmission Effects 0.000 claims description 24
- 238000004891 communication Methods 0.000 claims description 22
- 238000004590 computer program Methods 0.000 claims description 22
- 230000002159 abnormal effect Effects 0.000 claims description 20
- 238000012360 testing method Methods 0.000 claims description 10
- 238000005070 sampling Methods 0.000 claims description 7
- 238000012731 temporal analysis Methods 0.000 claims description 7
- 238000000700 time series analysis Methods 0.000 claims description 7
- 238000010219 correlation analysis Methods 0.000 claims description 6
- 230000008569 process Effects 0.000 description 42
- 238000003745 diagnosis Methods 0.000 description 38
- 230000004927 fusion Effects 0.000 description 27
- 238000010586 diagram Methods 0.000 description 16
- 230000006870 function Effects 0.000 description 15
- 238000012545 processing Methods 0.000 description 13
- 238000003860 storage Methods 0.000 description 13
- 238000012795 verification Methods 0.000 description 12
- 238000011156 evaluation Methods 0.000 description 9
- 238000009826 distribution Methods 0.000 description 8
- 230000007246 mechanism Effects 0.000 description 8
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 7
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 7
- 230000000694 effects Effects 0.000 description 7
- 238000010801 machine learning Methods 0.000 description 6
- 230000004048 modification Effects 0.000 description 6
- 238000012986 modification Methods 0.000 description 6
- 238000007405 data analysis Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 238000012544 monitoring process Methods 0.000 description 5
- 238000010276 construction Methods 0.000 description 4
- 238000013480 data collection Methods 0.000 description 4
- 230000002708 enhancing effect Effects 0.000 description 4
- 230000008676 import Effects 0.000 description 4
- 230000010354 integration Effects 0.000 description 4
- 238000005457 optimization Methods 0.000 description 4
- 238000007619 statistical method Methods 0.000 description 4
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 238000012423 maintenance Methods 0.000 description 3
- 239000011159 matrix material Substances 0.000 description 3
- 238000007476 Maximum Likelihood Methods 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000007418 data mining Methods 0.000 description 2
- 238000013135 deep learning Methods 0.000 description 2
- 230000007613 environmental effect Effects 0.000 description 2
- 230000008713 feedback mechanism Effects 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000013450 outlier detection Methods 0.000 description 2
- 238000007781 pre-processing Methods 0.000 description 2
- 238000002360 preparation method Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 1
- 208000025174 PANDAS Diseases 0.000 description 1
- 208000021155 Paediatric autoimmune neuropsychiatric disorders associated with streptococcal infection Diseases 0.000 description 1
- 240000000220 Panda oleosa Species 0.000 description 1
- 235000016496 Panda oleosa Nutrition 0.000 description 1
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 1
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 1
- 238000003646 Spearman's rank correlation coefficient Methods 0.000 description 1
- 230000005856 abnormality Effects 0.000 description 1
- 238000000540 analysis of variance Methods 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 238000007664 blowing Methods 0.000 description 1
- 238000004140 cleaning Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000010292 electrical insulation Methods 0.000 description 1
- 230000003628 erosive effect Effects 0.000 description 1
- 230000003862 health status Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000009413 insulation Methods 0.000 description 1
- 239000012774 insulation material Substances 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000010606 normalization Methods 0.000 description 1
- 238000003909 pattern recognition Methods 0.000 description 1
- 238000011112 process operation Methods 0.000 description 1
- 238000010998 test method Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 238000010200 validation analysis Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D21/00—Measuring or testing not otherwise provided for
- G01D21/02—Measuring two or more variables by means not covered by a single other subclass
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/50—Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
- G01R31/62—Testing of transformers
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Testing Electric Properties And Detecting Electric Faults (AREA)
Abstract
Description
技术领域Technical Field
本申请涉及变压器故障诊断技术领域,具体而言,涉及一种基于多传感器的变压器的故障确定方法、装置、计算机程序产品和变压器故障检测系统。The present application relates to the technical field of transformer fault diagnosis, and in particular to a transformer fault determination method, device, computer program product and transformer fault detection system based on multiple sensors.
背景技术Background Art
变压器故障诊断是指通过对变压器运行过程中的各种参数和信号进行监测和分析,以判断变压器是否存在故障,并找出故障的具体原因和位置。然而,目前的变压器故障检测的方案中,故障检测的准确率较低。Transformer fault diagnosis refers to monitoring and analyzing various parameters and signals during the operation of the transformer to determine whether the transformer has a fault and find out the specific cause and location of the fault. However, in the current transformer fault detection scheme, the accuracy of fault detection is low.
发明内容Summary of the invention
本申请的主要目的在于提供一种基于多传感器的变压器的故障确定方法、装置、计算机程序产品和变压器故障检测系统,以至少解决现有技术中变压器故障检测的准确率较低的问题。The main purpose of the present application is to provide a transformer fault determination method, device, computer program product and transformer fault detection system based on multiple sensors, so as to at least solve the problem of low accuracy of transformer fault detection in the prior art.
为了实现上述目的,根据本申请的一个方面,提供了一种基于多传感器的变压器的故障确定方法,包括:获取变压器的运行信息,其中,所述运行信息有多个,所述运行信息为采用传感器采集得到的,所述传感器有多个,所述运行信息和所述传感器一一对应;获取所述运行信息对应的权重系数,其中,所述权重系数和所述运行信息一一对应;计算所述权重系数和所述运行信息的加权平均值,得到综合计算结果;根据所述综合计算结果和预设运行阈值的大小关系,得到第一分析结果,其中,所述第一分析结果用于表征所述变压器是否故障,在所述综合计算结果大于或者等于所述预设运行阈值的情况下,所述第一分析结果表征所述变压器正常,在所述综合计算结果小于所述预设运行阈值的情况下,所述第一分析结果表征所述变压器故障。In order to achieve the above-mentioned purpose, according to one aspect of the present application, a transformer fault determination method based on multiple sensors is provided, including: obtaining operating information of the transformer, wherein there are multiple operating information, the operating information is collected by sensors, there are multiple sensors, and the operating information corresponds to the sensors one-to-one; obtaining a weight coefficient corresponding to the operating information, wherein the weight coefficient corresponds to the operating information one-to-one; calculating a weighted average of the weight coefficient and the operating information to obtain a comprehensive calculation result; obtaining a first analysis result based on the size relationship between the comprehensive calculation result and a preset operating threshold, wherein the first analysis result is used to characterize whether the transformer is faulty, and when the comprehensive calculation result is greater than or equal to the preset operating threshold, the first analysis result characterizes that the transformer is normal, and when the comprehensive calculation result is less than the preset operating threshold, the first analysis result characterizes that the transformer is faulty.
可选地,在获取变压器的运行信息之前,所述方法还包括:获取初始运行信息;对所述初始运行信息进行数据一致性检验,得到检验结果,其中,检验方式至少包括数值分析、方差分析、相关性分析、时间序列分析中的一种或者多种;在所述检验结果表征数据不一致的情况下,对所述初始运行信息进行数据修复,得到所述运行信息,其中,数据修复方式至少包括重新采集数据、填补缺失数据、剔除异常数据中的一种或者多种。Optionally, before obtaining the operating information of the transformer, the method further includes: obtaining initial operating information; performing a data consistency check on the initial operating information to obtain a check result, wherein the check method includes at least one or more of numerical analysis, variance analysis, correlation analysis, and time series analysis; when the check result indicates that the data is inconsistent, performing data repair on the initial operating information to obtain the operating information, wherein the data repair method includes at least one or more of re-collecting data, filling in missing data, and eliminating abnormal data.
可选地,在获取变压器的运行信息之后,所述方法还包括:构建第一检测模型,其中,所述第一检测模型是使用多组训练数据来通过贝叶斯算法训练得到的,所述多组训练数据中的每一组训练数据均包括历史时间段内获取的历史运行信息、所述历史运行信息对应的历史第二分析结果,其中,所述历史第二分析结果用于表征历史变压器是否故障;将所述运行信息输入至所述第一检测模型,得到所述运行信息对应的第二分析结果。Optionally, after obtaining the operating information of the transformer, the method further includes: constructing a first detection model, wherein the first detection model is trained by a Bayesian algorithm using multiple sets of training data, and each set of training data in the multiple sets of training data includes historical operating information obtained within a historical time period, and a historical second analysis result corresponding to the historical operating information, wherein the historical second analysis result is used to characterize whether the historical transformer is faulty; inputting the operating information into the first detection model to obtain a second analysis result corresponding to the operating information.
可选地,在获取变压器的运行信息之后,所述方法还包括:构建第二检测模型,其中,所述第二检测模型是使用多组训练数据来通过贝叶斯算法和辅助算法训练得到的,所述多组训练数据中的每一组训练数据均包括历史时间段内获取的历史运行信息、所述历史运行信息对应的历史第三分析结果,其中,所述历史第三分析结果用于表征历史变压器是否故障,所述辅助算法至少包括LSTM算法、LightGBM算法、TPE算法、BOA-LSTM算法、BART算法中的一种或者多种;将所述运行信息输入至所述第二检测模型,得到所述运行信息对应的第三分析结果。Optionally, after obtaining the operating information of the transformer, the method further includes: constructing a second detection model, wherein the second detection model is trained using multiple sets of training data through a Bayesian algorithm and an auxiliary algorithm, and each set of training data in the multiple sets of training data includes historical operating information obtained within a historical time period, and a historical third analysis result corresponding to the historical operating information, wherein the historical third analysis result is used to characterize whether the historical transformer is faulty, and the auxiliary algorithm includes at least one or more of an LSTM algorithm, a LightGBM algorithm, a TPE algorithm, a BOA-LSTM algorithm, and a BART algorithm; the operating information is input into the second detection model to obtain a third analysis result corresponding to the operating information.
可选地,在获取变压器的运行信息之前,所述方法还包括:获取接口定义信息,其中,所述接口定义信息为预先定义的所述传感器的接口的数据传输格式、传输协议和通信方式的信息;根据所述接口定义信息,对所述传感器的接口进行配置。Optionally, before obtaining the operating information of the transformer, the method further includes: obtaining interface definition information, wherein the interface definition information is information on a data transmission format, a transmission protocol and a communication method of a predefined interface of the sensor; and configuring the interface of the sensor according to the interface definition information.
可选地,在获取变压器的运行信息之前,所述方法还包括:获取配置定义信息,其中,所述配置定义信息为预先定义的所述传感器的采样频率、分辨率、异常报警阈值和电源模式的信息;根据所述配置定义信息,对所述传感器进行配置。Optionally, before obtaining the operating information of the transformer, the method further includes: obtaining configuration definition information, wherein the configuration definition information is pre-defined information of a sampling frequency, resolution, abnormal alarm threshold and power mode of the sensor; and configuring the sensor according to the configuration definition information.
可选地,在根据所述综合计算结果和预设运行阈值的大小关系,得到第一分析结果之后,所述方法还包括:在所述第一分析结果表征所述变压器故障的情况下,生成预警信息;基于所述预警信息,控制预警设备开启,其中,所述预警设备至少包括蜂鸣器和/或LED灯。Optionally, after obtaining the first analysis result based on the size relationship between the comprehensive calculation result and the preset operating threshold, the method also includes: generating early warning information when the first analysis result characterizes the transformer fault; based on the early warning information, controlling the early warning device to turn on, wherein the early warning device includes at least a buzzer and/or an LED light.
根据本申请的另一方面,提供了一种基于多传感器的变压器的故障确定装置,包括:第一获取单元,用于获取变压器的运行信息,其中,所述运行信息有多个,所述运行信息为采用传感器采集得到的,所述传感器有多个,所述运行信息和所述传感器一一对应;第二获取单元,用于获取所述运行信息对应的权重系数,其中,所述权重系数和所述运行信息一一对应;计算单元,用于计算所述权重系数和所述运行信息的加权平均值,得到综合计算结果;确定单元,用于根据所述综合计算结果和预设运行阈值的大小关系,得到第一分析结果,其中,所述第一分析结果用于表征所述变压器是否故障,在所述综合计算结果大于或者等于所述预设运行阈值的情况下,所述第一分析结果表征所述变压器正常,在所述综合计算结果小于所述预设运行阈值的情况下,所述第一分析结果表征所述变压器故障。According to another aspect of the present application, a multi-sensor based transformer fault determination device is provided, comprising: a first acquisition unit, used to acquire operating information of the transformer, wherein there are multiple operating information, the operating information is acquired by using sensors, there are multiple sensors, and the operating information and the sensors correspond one-to-one; a second acquisition unit, used to acquire a weight coefficient corresponding to the operating information, wherein the weight coefficient and the operating information correspond one-to-one; a calculation unit, used to calculate a weighted average of the weight coefficient and the operating information to obtain a comprehensive calculation result; a determination unit, used to obtain a first analysis result based on the size relationship between the comprehensive calculation result and a preset operating threshold, wherein the first analysis result is used to characterize whether the transformer is faulty, and when the comprehensive calculation result is greater than or equal to the preset operating threshold, the first analysis result characterizes that the transformer is normal, and when the comprehensive calculation result is less than the preset operating threshold, the first analysis result characterizes that the transformer is faulty.
根据本申请的再一方面,提供了一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现任意一种所述基于多传感器的变压器的故障确定方法的步骤。According to another aspect of the present application, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the steps of any one of the multi-sensor based transformer fault determination methods are implemented.
根据本申请的又一方面,提供了一种变压器故障检测系统,包括:一个或多个处理器,存储器,以及一个或多个程序,其中,所述一个或多个程序被存储在所述存储器中,并且被配置为由所述一个或多个处理器执行,所述一个或多个程序包括用于执行任意一种所述的基于多传感器的变压器的故障确定方法。According to another aspect of the present application, a transformer fault detection system is provided, comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include a method for executing any one of the multi-sensor based transformer fault determination methods.
应用本申请的技术方案,可以同时采集到不同传感器检测的信息,得到多个运行信息,综合分析多个运行信息,来评估变压器是否故障,相比单一传感器评估的方式准确率更高,可以提高变压器故障检测的准确性。By applying the technical solution of the present application, information detected by different sensors can be collected at the same time to obtain multiple operating information, which can be comprehensively analyzed to evaluate whether the transformer is faulty. Compared with the single sensor evaluation method, it has higher accuracy and can improve the accuracy of transformer fault detection.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
构成本申请的一部分的说明书附图用来提供对本申请的进一步理解,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings constituting part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
图1示出了根据本申请的实施例中提供的一种执行基于多传感器的变压器的故障确定方法的移动终端的硬件结构框图;FIG1 shows a hardware structure block diagram of a mobile terminal for executing a transformer fault determination method based on multiple sensors provided in an embodiment of the present application;
图2示出了根据本申请的实施例提供的一种基于多传感器的变压器的故障确定方法的流程示意图;FIG2 is a schematic flow chart of a transformer fault determination method based on multiple sensors according to an embodiment of the present application;
图3示出了基于多传感器的变压器的故障检测的流程示意图;FIG3 shows a schematic diagram of a process flow of transformer fault detection based on multiple sensors;
图4示出了数据一致性检测的流程示意图;FIG4 shows a schematic diagram of a process flow of data consistency detection;
图5示出了不确定诊断的流程示意图;FIG5 shows a schematic diagram of the process of uncertain diagnosis;
图6示出了接口标准化的流程示意图;FIG6 shows a schematic diagram of the process of interface standardization;
图7示出了动态配置的流程示意图;FIG7 shows a schematic diagram of a dynamic configuration process;
图8示出了插件机制的流程示意图;FIG8 shows a schematic diagram of the flow of the plug-in mechanism;
图9示出了根据本申请的实施例提供的一种基于多传感器的变压器的故障确定装置的结构框图。FIG9 shows a structural block diagram of a transformer fault determination device based on multiple sensors according to an embodiment of the present application.
其中,上述附图包括以下附图标记:The above drawings include the following reference numerals:
102、处理器;104、存储器;106、传输设备;108、输入输出设备。102, processor; 104, memory; 106, transmission device; 108, input and output devices.
具体实施方式DETAILED DESCRIPTION
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
正如背景技术中所介绍的,现有技术中变压器故障检测的准确率较低,为解决如上的问题,本申请的实施例提供了一种基于多传感器的变压器的故障确定方法、装置、计算机程序产品和变压器故障检测系统。As introduced in the background technology, the accuracy of transformer fault detection in the prior art is low. To solve the above problem, the embodiments of the present application provide a transformer fault determination method, device, computer program product and transformer fault detection system based on multiple sensors.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.
本申请实施例中所提供的方法实施例可以在移动终端、计算机终端或者类似的运算装置中执行。以运行在移动终端上为例,图1是本发明实施例的一种基于多传感器的变压器的故障确定方法的移动终端的硬件结构框图。如图1所示,移动终端可以包括一个或多个(图1中仅示出一个)处理器102(处理器102可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)和用于存储数据的存储器104,其中,上述移动终端还可以包括用于通信功能的传输设备106以及输入输出设备108。本领域普通技术人员可以理解,图1所示的结构仅为示意,其并不对上述移动终端的结构造成限定。例如,移动终端还可包括比图1中所示更多或者更少的组件,或者具有与图1所示不同的配置。The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, FIG1 is a hardware structure block diagram of a mobile terminal of a fault determination method for a transformer based on a multi-sensor according to an embodiment of the present invention. As shown in FIG1 , the mobile terminal may include one or more (only one is shown in FIG1 ) processors 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input/output device 108 for communication functions. It can be understood by those skilled in the art that the structure shown in FIG1 is only for illustration and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than those shown in FIG1 , or have a configuration different from that shown in FIG1 .
存储器104可用于存储计算机程序,例如,应用软件的软件程序以及模块,如本发明实施例中的设备信息的显示方法对应的计算机程序,处理器102通过运行存储在存储器104内的计算机程序,从而执行各种功能应用以及数据处理,即实现上述的方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器104可进一步包括相对于处理器102远程设置的存储器,这些远程存储器可以通过网络连接至移动终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。传输设备106用于经由一个网络接收或者发送数据。上述的网络具体实例可包括移动终端的通信供应商提供的无线网络。在一个实例中,传输设备106包括一个网络适配器(Network Interface Controller,简称为NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输设备106可以为射频(Radio Frequency,简称为RF)模块,其用于通过无线方式与互联网进行通讯。The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the display method of device information in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, the above method is implemented. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The transmission device 106 is used to receive or send data via a network. The above-mentioned specific network example may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
在本实施例中提供了一种运行于移动终端、计算机终端或者类似的运算装置的基于多传感器的变压器的故障确定方法,需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。In this embodiment, a transformer fault determination method based on multiple sensors is provided, which runs on a mobile terminal, a computer terminal or a similar computing device. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
图2是根据本申请实施例的一种基于多传感器的变压器的故障确定方法的流程示意图。如图2所示,该方法包括以下步骤:FIG2 is a flow chart of a method for determining a transformer fault based on multiple sensors according to an embodiment of the present application. As shown in FIG2 , the method includes the following steps:
步骤S201,获取变压器的运行信息,其中,上述运行信息有多个,上述运行信息为采用传感器采集得到的,上述传感器有多个,上述运行信息和上述传感器一一对应;Step S201, obtaining operation information of the transformer, wherein the operation information is multiple, the operation information is collected by using a sensor, there are multiple sensors, and the operation information corresponds to the sensors one by one;
具体地,可以使用多个传感器来对变压器进行检测,一个传感器检测一种类型的运行信息,当然,也可以多个传感器检测一种类型的运行信息,例如,温度传感器检测变压器的温度,湿度传感器检测变压器的湿度。Specifically, multiple sensors can be used to detect the transformer, with one sensor detecting one type of operating information. Of course, multiple sensors can also detect one type of operating information, for example, a temperature sensor detects the temperature of the transformer, and a humidity sensor detects the humidity of the transformer.
步骤S202,获取上述运行信息对应的权重系数,其中,上述权重系数和上述运行信息一一对应;Step S202, obtaining a weight coefficient corresponding to the operation information, wherein the weight coefficient corresponds to the operation information one by one;
具体地,预先设定了不同运行信息的权重系数,权重信息表示运行信息在数据融合中所占的权重。Specifically, weight coefficients of different operation information are preset, and the weight information represents the weight of the operation information in the data fusion.
步骤S203,计算上述权重系数和上述运行信息的加权平均值,得到综合计算结果;Step S203, calculating the weighted average of the weight coefficient and the operation information to obtain a comprehensive calculation result;
具体地,通过融合算法将不同传感器检测的数据整合在一起,可以得到综合变压器的计算结果,即综合计算结果。Specifically, by integrating the data detected by different sensors through a fusion algorithm, the calculation result of the comprehensive transformer, that is, the comprehensive calculation result, can be obtained.
例如,多传感器可分为温度传感器、湿度传感器和气体传感器,将温度传感器采集到的数据为T(t),湿度传感器采集到的数据为H(t),气体传感器采集到的数据为G(t),最后得出S(t)=f(T(t),H(t),G(t));分别设定权重系数α=0.4、β=0.3、γ=0.3,具体表示温度在融合中占40%的权重,湿度和气体浓度各占30%的权重,在时刻t的数据如下:For example, multiple sensors can be divided into temperature sensors, humidity sensors and gas sensors. The data collected by the temperature sensor is T(t), the data collected by the humidity sensor is H(t), and the data collected by the gas sensor is G(t). Finally, S(t)=f(T(t), H(t), G(t)) is obtained; the weight coefficients α=0.4, β=0.3, and γ=0.3 are set respectively, which specifically means that the temperature accounts for 40% of the weight in the fusion, and the humidity and gas concentration each account for 30% of the weight. The data at time t are as follows:
T(t)=80摄氏度;T(t) = 80 degrees Celsius;
H(t)=60%;H(t)=60%;
G(t)=0.5ppm;G(t) = 0.5 ppm;
根据信息融合算法,可以计算综合信息S(t)=0.4×80+0.3×60+0.3×0.5=2+18+0.15=50.15,最后通过调整权重系数,可以灵活地控制不同传感器数据在融合中的影响程度,从而实现更加精准和有效的信息融合。According to the information fusion algorithm, the comprehensive information S(t)=0.4×80+0.3×60+0.3×0.5=2+18+0.15=50.15 can be calculated. Finally, by adjusting the weight coefficient, the influence of different sensor data in the fusion can be flexibly controlled, thereby achieving more accurate and effective information fusion.
步骤S204,根据上述综合计算结果和预设运行阈值的大小关系,得到第一分析结果,其中,上述第一分析结果用于表征上述变压器是否故障,在上述综合计算结果大于或者等于上述预设运行阈值的情况下,上述第一分析结果表征上述变压器正常,在上述综合计算结果小于上述预设运行阈值的情况下,上述第一分析结果表征上述变压器故障。Step S204, obtaining a first analysis result based on the size relationship between the above-mentioned comprehensive calculation result and the preset operating threshold, wherein the above-mentioned first analysis result is used to characterize whether the above-mentioned transformer is faulty. When the above-mentioned comprehensive calculation result is greater than or equal to the above-mentioned preset operating threshold, the above-mentioned first analysis result characterizes that the above-mentioned transformer is normal; when the above-mentioned comprehensive calculation result is less than the above-mentioned preset operating threshold, the above-mentioned first analysis result characterizes that the above-mentioned transformer is faulty.
具体地,在得到了变压器的综合的评价的综合计算结果后,直接通过阈值比较的方式来确定第一分析结果,例如,预设运行阈值可以是50、60、70、80等等,在上述的实施例中,如果预设运行阈值是50,综合计算结果是50.15,那么变压器未故障。Specifically, after obtaining the comprehensive calculation result of the comprehensive evaluation of the transformer, the first analysis result is determined directly by threshold comparison. For example, the preset operating threshold may be 50, 60, 70, 80, etc. In the above embodiment, if the preset operating threshold is 50 and the comprehensive calculation result is 50.15, then the transformer is not faulty.
通过本实施例,可以同时采集到不同传感器检测的信息,得到多个运行信息,综合分析多个运行信息,来评估变压器是否故障,相比单一传感器评估的方式准确率更高,可以提高变压器故障检测的准确性。Through this embodiment, information detected by different sensors can be collected at the same time to obtain multiple operating information, which can be comprehensively analyzed to evaluate whether the transformer is faulty. Compared with the single sensor evaluation method, it has higher accuracy and can improve the accuracy of transformer fault detection.
另外,上述的方案可以应用于变压器故障检测系统,本方案中的不同功能在系统中可以采用模块化架构,每个模块独立负责特定功能,便于模块的新增或替换,从而确保系统的灵活扩展性,并且可对诊断结果的不确定性进行了有效管理,从而显著增强了系统在复杂环境下的故障诊断能力。In addition, the above scheme can be applied to the transformer fault detection system. The different functions in this scheme can adopt a modular architecture in the system. Each module is independently responsible for a specific function, which is convenient for adding or replacing modules, thereby ensuring the flexible scalability of the system and effectively managing the uncertainty of the diagnostic results, thereby significantly enhancing the system's fault diagnosis capabilities in complex environments.
本方案中提出的基于多传感器信息融合的变压器故障诊断方案,是指通过同时采集和融合来自不同传感器的多种参数信息,综合分析这些信息,从而提高对变压器故障的准确性和可靠性,在这种方案中,可以使用数据融合技术将来自不同传感器的数据整合在一起,利用模式识别、统计分析等方法对这些数据进行处理和分析,以实现对变压器故障的准确诊断。通过综合考虑多种参数信息,可以提高故障诊断的准确性,并且可以更全面地了解变压器的运行状态,及时采取措施进行维护和修复,确保变压器的安全和可靠运行。The transformer fault diagnosis scheme based on multi-sensor information fusion proposed in this scheme refers to the simultaneous collection and fusion of multiple parameter information from different sensors, and the comprehensive analysis of this information, so as to improve the accuracy and reliability of transformer faults. In this scheme, data fusion technology can be used to integrate data from different sensors, and these data can be processed and analyzed using pattern recognition, statistical analysis and other methods to achieve accurate diagnosis of transformer faults. By comprehensively considering multiple parameter information, the accuracy of fault diagnosis can be improved, and the operating status of the transformer can be more comprehensively understood, and timely measures can be taken for maintenance and repair to ensure the safe and reliable operation of the transformer.
具体地,如图3所示,方案的主要功能包括数据采集、信息融合、故障诊断和系统反馈,数据采集是通过多传感器采集,还包括系统扩展,系统扩展主要包括接口标准化、动态配置和插件机制配置,还包括数据一致性检测,还包括数据接收、数据预处理,还包括不确定诊断。Specifically, as shown in Figure 3, the main functions of the solution include data acquisition, information fusion, fault diagnosis and system feedback. Data acquisition is carried out through multiple sensors and also includes system expansion. The system expansion mainly includes interface standardization, dynamic configuration and plug-in mechanism configuration, as well as data consistency detection, data reception, data preprocessing and uncertain diagnosis.
具体地,数据采集指的是通过传感器采集数据,并将采集到的数据进行融合,根据预设的权重系数计算综合计算结果,根据综合计算结果判断变压器是否发生故障。还可以将这些诊断的结果进行反馈,反馈给操作人员,通过多功能模块之间的协作运转,本方案可以实现数据采集、信息融合、故障诊断和自动反馈的全流程化操作,提高了方案整体的准确性和稳定性,帮助及时发现和处理潜在的故障问题。Specifically, data collection refers to collecting data through sensors, fusing the collected data, calculating the comprehensive calculation results according to the preset weight coefficients, and judging whether the transformer has a fault based on the comprehensive calculation results. The results of these diagnoses can also be fed back to the operator. Through the collaborative operation between the multi-functional modules, this solution can realize the full process operation of data collection, information fusion, fault diagnosis and automatic feedback, which improves the overall accuracy and stability of the solution and helps to timely discover and deal with potential fault problems.
具体地,将经过预处理的数据进行信息融合,通过融合算法将不同传感器的数据融合在一起,得到综合的变压器的状态信息,其中,多传感器可分为温度传感器、湿度传感器和气体传感器,将温度传感器采集到的数据为T(t),湿度传感器采集到的数据为H(t),气体传感器采集到的数据为G(t),最后得出S(t)=f(T(t),H(t),G(t))。Specifically, the preprocessed data is fused, and the data from different sensors are fused together through a fusion algorithm to obtain comprehensive transformer status information, wherein the multiple sensors can be divided into temperature sensors, humidity sensors and gas sensors. The data collected by the temperature sensor is T(t), the data collected by the humidity sensor is H(t), and the data collected by the gas sensor is G(t). Finally, S(t)=f(T(t), H(t), G(t)) is obtained.
现有监测温度、湿度和气体浓度三个指标,设定权重系数α=0.4、β=0.3、γ=0.3,具体表示温度在融合中占40%的权重,湿度和气体浓度各占30%的权重,在时刻t的数据如下:The three indicators of temperature, humidity and gas concentration are currently monitored, and the weight coefficients are set to α = 0.4, β = 0.3, and γ = 0.3, which specifically means that temperature accounts for 40% of the weight in the fusion, and humidity and gas concentration each account for 30% of the weight. The data at time t are as follows:
T(t)=80摄氏度;T(t) = 80 degrees Celsius;
H(t)=60%;H(t)=60%;
G(t)=0.5ppm;G(t) = 0.5 ppm;
根据信息融合算法,可以计算综合信息S(t)=0.4×80+0.3×60+0.3×0.5=2+18+0.15=50.15,最后通过调整权重系数,可以灵活地控制不同传感器数据在融合中的影响程度,从而实现更加精准和有效的信息融合。According to the information fusion algorithm, the comprehensive information S(t)=0.4×80+0.3×60+0.3×0.5=2+18+0.15=50.15 can be calculated. Finally, by adjusting the weight coefficient, the influence of different sensor data in the fusion can be flexibly controlled, thereby achieving more accurate and effective information fusion.
为了进一步提高数据的有效性和准确性,在获取变压器的运行信息之前,上述方法还包括以下步骤:获取初始运行信息;对上述初始运行信息进行数据一致性检验,得到检验结果,其中,检验方式至少包括数值分析、方差分析、相关性分析、时间序列分析中的一种或者多种;在上述检验结果表征数据不一致的情况下,对上述初始运行信息进行数据修复,得到上述运行信息,其中,数据修复方式至少包括重新采集数据、填补缺失数据、剔除异常数据中的一种或者多种。In order to further improve the validity and accuracy of the data, before obtaining the operating information of the transformer, the above method also includes the following steps: obtaining initial operating information; performing data consistency check on the above initial operating information to obtain a test result, wherein the test method includes at least one or more of numerical analysis, variance analysis, correlation analysis, and time series analysis; when the above test result indicates that the data is inconsistent, performing data repair on the above initial operating information to obtain the above operating information, wherein the data repair method includes at least one or more of re-collecting data, filling in missing data, and eliminating abnormal data.
该方案中,可以对数据进行一致性检验,以确定是否存在异常的数据,如果数据不一致,即存在异常的数据的情况下,可以对数据进行修复处理,从而可以进一步提高数据的有效性和准确性。In this solution, the data can be checked for consistency to determine whether there is any abnormal data. If the data is inconsistent, that is, if there is abnormal data, the data can be repaired, thereby further improving the validity and accuracy of the data.
初始运行信息为初始时刻获取得到的运行信息,即变压器刚运行时候获取得到的运行信息。The initial operation information is the operation information obtained at the initial moment, that is, the operation information obtained when the transformer just starts to operate.
具体地,可以对变压器数据进行数值分析,计算各个变量的均值、中位数、标准差等统计量,以了解数据的分布情况和异常值情况。利用方差分析检验变压器数据的均值是否存在显著差异。可以使用ANOVA方法对多个变量之间的均值进行比较,以确定它们是否存在一致性。通过相关性分析来检验变压器数据之间的相关性,判断数据之间是否存在一致性关系。可以计算Pearson相关系数或Spearman秩相关系数来评估变量之间的相关性。对变压器数据进行时间序列分析,检验数据是否呈现出一致的时间趋势和周期性。可以绘制时间序列图和自相关图来观察数据的特征。Specifically, the transformer data can be numerically analyzed to calculate the mean, median, standard deviation and other statistics of each variable to understand the distribution of the data and the situation of outliers. Variance analysis can be used to test whether there are significant differences in the means of transformer data. The ANOVA method can be used to compare the means between multiple variables to determine whether they are consistent. The correlation between transformer data can be tested by correlation analysis to determine whether there is a consistent relationship between the data. The Pearson correlation coefficient or the Spearman rank correlation coefficient can be calculated to evaluate the correlation between variables. Time series analysis can be performed on transformer data to test whether the data shows a consistent time trend and periodicity. Time series graphs and autocorrelation graphs can be drawn to observe the characteristics of the data.
例如,有一组变压器的数据,包括输入电流、输出电流和温度等变量。首先对这些数据进行统计分析,计算均值、中位数和标准差等统计量。然后使用方差分析检验这些变量的均值是否存在显著差异,以确定它们之间是否存在一致性。接着通过相关性分析计算各个变量之间的相关系数,判断它们之间的关系是否一致。最后通过时间序列分析检验数据是否存在一致的时间趋势和周期性。For example, there is a set of transformer data, including variables such as input current, output current, and temperature. First, statistical analysis is performed on these data to calculate statistics such as mean, median, and standard deviation. Then, variance analysis is used to test whether there are significant differences in the means of these variables to determine whether there is consistency between them. Then, correlation analysis is used to calculate the correlation coefficients between the variables to determine whether the relationship between them is consistent. Finally, time series analysis is used to test whether the data has consistent time trends and periodicity.
假设得到的结果显示,输入电流和输出电流之间的相关系数为0.95,表明它们之间存在高度相关性;而温度变量的均值在方差分析中不显著不同,说明温度变量的数据一致性较好。时间序列分析显示,输出电流呈现出逐渐增加的趋势,表明变压器输出电流可能存在一致的时间变化规律。通过以上分析,可以得出结论:变压器的输入电流和输出电流之间存在高度一致性,而温度变量的数据也较为一致。The results obtained by assuming that the correlation coefficient between the input current and the output current is 0.95, indicating that there is a high correlation between them; and the mean of the temperature variable is not significantly different in the variance analysis, indicating that the data consistency of the temperature variable is good. The time series analysis shows that the output current shows a gradual increase trend, indicating that the transformer output current may have a consistent time variation law. Through the above analysis, it can be concluded that there is a high consistency between the input current and the output current of the transformer, and the data of the temperature variable is also relatively consistent.
具体地,可以重新采集变压器的数据,确保数据的准确性和完整性。可以通过传感器或监测设备实时监测数据,或者定期对变压器进行检查和测试来获取数据。对于缺失的数据,可以通过插值法或均值法来填补。插值法是根据已知数据点之间的关系来估计缺失数据点的值,例如线性插值、多项式插值等;均值法是用已知数据的平均值来代替缺失数据。通过对数据进行统计分析和异常值检测,找出异常数据点并剔除。常见的异常值检测方法包括箱线图、Z-score方法等。剔除异常数据可以提高数据的准确性和可靠性。Specifically, the data of the transformer can be recollected to ensure the accuracy and completeness of the data. Data can be obtained by real-time monitoring through sensors or monitoring equipment, or by regular inspection and testing of the transformer. For missing data, it can be filled by interpolation or mean method. The interpolation method estimates the value of the missing data point based on the relationship between known data points, such as linear interpolation, polynomial interpolation, etc.; the mean method replaces the missing data with the average value of the known data. By performing statistical analysis and outlier detection on the data, abnormal data points are found and eliminated. Common outlier detection methods include box plots, Z-score methods, etc. Eliminating abnormal data can improve the accuracy and reliability of the data.
具体地,如图4所示,上述实施例的主要流程包括数据采集、一致性检测、数据修复、修复执行、异常报警和日志记录。Specifically, as shown in FIG. 4 , the main process of the above embodiment includes data collection, consistency detection, data repair, repair execution, abnormality alarm and log recording.
具体地,可以定期检测数据库中的传感器数据,比较不同传感器之间的数据是否一致,检测包括数据值是否在合理范围内以及是否存在异常数据,当检测到数据不一致时,会根据预先设定的数据修复策略进行处理,其中的数据修复策略可通过以下步骤生成:数据分析、异常检测、策略生成、策略评估、策略优化、策略应用、结果监控、反馈机制。Specifically, the sensor data in the database can be regularly checked to compare whether the data between different sensors are consistent, including whether the data values are within a reasonable range and whether there are abnormal data. When data inconsistency is detected, it will be processed according to a pre-set data repair strategy. The data repair strategy can be generated through the following steps: data analysis, anomaly detection, strategy generation, strategy evaluation, strategy optimization, strategy application, result monitoring, and feedback mechanism.
数据分析:收集历史数据,并进行数据分析,包括统计分析、异常检测等;Data analysis: collect historical data and perform data analysis, including statistical analysis, anomaly detection, etc.;
异常检测:使用数据挖掘或机器学习算法检测传感器数据中的异常值或不一致性;Anomaly detection: Detecting outliers or inconsistencies in sensor data using data mining or machine learning algorithms;
策略生成:根据异常检测结果和数据分析,自动化生成数据修复策略;策略生成可以基于规则引擎、机器学习模型或专家系统;Strategy generation: Automatically generate data repair strategies based on anomaly detection results and data analysis; strategy generation can be based on rule engines, machine learning models, or expert systems;
策略评估:对生成的数据修复策略进行评估,包括准确性、效率和可行性等方面;确保策略能够有效修复数据不一致性问题;Strategy evaluation: Evaluate the generated data repair strategy, including accuracy, efficiency, and feasibility, to ensure that the strategy can effectively repair data inconsistency issues;
策略优化:如有必要,对生成的策略进行优化和调整,提高修复效果和性能;Strategy optimization: If necessary, optimize and adjust the generated strategy to improve the repair effect and performance;
策略应用:将生成的数据修复策略应用到实际数据中,修复不一致性数据;Strategy application: Apply the generated data repair strategy to the actual data to repair inconsistent data;
结果监控:监控修复后的数据,确保数据一致性和准确性;Result monitoring: monitor the repaired data to ensure data consistency and accuracy;
反馈机制:根据修复结果反馈到策略生成模块,用于优化和改进策略生成过程。Feedback mechanism: Feedback to the strategy generation module based on the repair results to optimize and improve the strategy generation process.
通过以上流程,可以自动化生成数据修复策略,提高数据修复的效率和准确性。可以根据历史数据和实时数据动态生成适合当前情况的修复策略,减少人工干预和提高方案的自适应能力。同时,通过策略的评估和优化,可以不断改进数据修复的效果,确保数据的一致性和质量。Through the above process, data repair strategies can be automatically generated to improve the efficiency and accuracy of data repair. Repair strategies suitable for the current situation can be dynamically generated based on historical data and real-time data, reducing manual intervention and improving the adaptive ability of the solution. At the same time, through the evaluation and optimization of strategies, the effect of data repair can be continuously improved to ensure the consistency and quality of data.
具体实现过程中,在获取变压器的运行信息之后,上述方法还包括以下步骤:构建第一检测模型,其中,上述第一检测模型是使用多组训练数据来通过贝叶斯算法训练得到的,上述多组训练数据中的每一组训练数据均包括历史时间段内获取的历史运行信息、上述历史运行信息对应的历史第二分析结果,其中,上述历史第二分析结果用于表征历史变压器是否故障;将上述运行信息输入至上述第一检测模型,得到上述运行信息对应的第二分析结果。In the specific implementation process, after obtaining the operating information of the transformer, the method also includes the following steps: constructing a first detection model, wherein the first detection model is obtained by training with a Bayesian algorithm using multiple sets of training data, and each set of training data in the multiple sets of training data includes historical operating information obtained within a historical time period, and historical second analysis results corresponding to the historical operating information, wherein the historical second analysis results are used to characterize whether the historical transformer is faulty; inputting the operating information into the first detection model to obtain a second analysis result corresponding to the operating information.
该方案中,可以通过训练数据集来训练贝叶斯网络模型,即第一检测模型,通过第一检测模型来分析变压器是否故障,贝叶斯算法可以根据已有的数据和先验知识来计算出变压器是否故障的概率,从而快速准确地判断变压器的工作状态,贝叶斯算法可以有效地处理不确定性和噪声,进一步提高了故障诊断的准确性和可靠性。In this scheme, the Bayesian network model, i.e., the first detection model, can be trained through the training data set. The first detection model is used to analyze whether the transformer is faulty. The Bayesian algorithm can calculate the probability of whether the transformer is faulty based on the existing data and prior knowledge, thereby quickly and accurately judging the working status of the transformer. The Bayesian algorithm can effectively handle uncertainty and noise, further improving the accuracy and reliability of fault diagnosis.
具体地,如图5所示,上述实施例的主要流程包括不确定建模、故障诊断、不确定性处理、结果解释、反馈优化,还包括额外节点添加、节点定义和数据整合。Specifically, as shown in FIG5 , the main process of the above embodiment includes uncertainty modeling, fault diagnosis, uncertainty processing, result interpretation, feedback optimization, and also includes additional node addition, node definition, and data integration.
具体地,首先从传感器等设备中采集实时数据,并存储在数据库中接着对采集到的数据进行清洗、去噪和特征提取,以准备进行故障诊断分析再将多种故障诊断算法包括规则引擎、机器学习模型和专家系统进行融合,形成一个集成的故障检测模型(第一检测模型),此时引入概率推断技术,对算法生成的诊断结果使用贝叶斯网络进行不确定性建模,根据数据特征和算法融合结果,进行故障诊断分析,并生成可能的故障诊断结果,对诊断结果的不确定性进行处理,包括计算置信度或概率分布,以提高诊断结果的可靠性,其中特别要说明的是,使用贝叶斯网络进行不确定性建模时,额外加入了温度、湿度、风速作为模型的输入,接着根据领域知识和数据分析,定义地理环境和天气因素与变压器状态之间的关系,具体的,在高温环境下,变压器内部的温度可能会升高,导致电气绝缘性能下降,从而增加了变压器发生故障的风险,因此建立一个表示温度对变压器状态的影响关系节点,高湿度环境可能导致变压器绝缘材料受潮,增加了漏电和短路的可能性。因此,湿度可以与变压器状态节点相关联,反映湿度对变压器性能的影响,在风速较大的情况下,可能会导致变压器受到外部环境的影响,风吹动导致的应力增加或风雨侵蚀导致的绝缘性能下降,因此,风速可以作为一个节点,与变压器状态节点相关联,描述风速对变压器的影响,此时,当引入额外节点表示地理环境和天气因素时,可以通过条件概率分布矩阵来描述节点之间的关系,具体设有以下节点:Specifically, first, real-time data is collected from sensors and other devices and stored in a database. Then, the collected data is cleaned, denoised and feature extracted to prepare for fault diagnosis analysis. Then, multiple fault diagnosis algorithms including rule engines, machine learning models and expert systems are integrated to form an integrated fault detection model (first detection model). At this time, probabilistic inference technology is introduced, and the diagnosis results generated by the algorithm are modeled using Bayesian networks for uncertainty. According to data features and algorithm fusion results, fault diagnosis analysis is performed and possible fault diagnosis results are generated. The uncertainty of the diagnosis results is processed, including calculating confidence or probability distribution to improve the reliability of the diagnosis results. It should be particularly noted that when using Bayesian networks for uncertainty modeling, temperature, humidity and wind speed are additionally added as inputs to the model. Then, based on domain knowledge and data analysis, the relationship between geographical environment and weather factors and transformer status is defined. Specifically, in a high temperature environment, the temperature inside the transformer may rise, resulting in a decrease in electrical insulation performance, thereby increasing the risk of transformer failure. Therefore, a relationship node representing the impact of temperature on the transformer status is established. A high humidity environment may cause the transformer insulation material to become damp, increasing the possibility of leakage and short circuit. Therefore, humidity can be associated with the transformer status node to reflect the impact of humidity on transformer performance. In the case of high wind speed, the transformer may be affected by the external environment, the stress caused by wind blowing may increase, or the insulation performance may decrease due to wind and rain erosion. Therefore, wind speed can be used as a node and associated with the transformer status node to describe the impact of wind speed on the transformer. At this time, when additional nodes are introduced to represent geographical environment and weather factors, the relationship between nodes can be described by the conditional probability distribution matrix. Specifically, the following nodes are set:
变压器状态节点:T(正常、故障);Transformer status node: T (normal, fault);
电流节点:I(低(小于第一电流阈值)、正常(大于等于第一电流阈值并且小于第二电流阈值)、高(大于第二电流阈值),第一电流阈值小于第二电流阈值);Current node: I (low (less than the first current threshold), normal (greater than or equal to the first current threshold and less than the second current threshold), high (greater than the second current threshold), the first current threshold is less than the second current threshold);
温度节点:Temp(低(小于第一温度阈值)、正常(大于等于第一温度阈值并且小于第二温度阈值)、高(大于第二温度阈值),第一温度阈值小于第二温度阈值);Temperature node: Temp (low (less than the first temperature threshold), normal (greater than or equal to the first temperature threshold and less than the second temperature threshold), high (greater than the second temperature threshold), the first temperature threshold is less than the second temperature threshold);
湿度节点:Humidity(低(小于第一湿度阈值)、正常(大于等于第一湿度阈值并且小于第二湿度阈值)、高(大于第二湿度阈值),第一湿度阈值小于第二湿度阈值);Humidity node: Humidity (low (less than the first humidity threshold), normal (greater than or equal to the first humidity threshold and less than the second humidity threshold), high (greater than the second humidity threshold), the first humidity threshold is less than the second humidity threshold);
风速节点:Wind(低(小于第一风速阈值)、正常(大于等于第一风速阈值并且小于第二风速阈值)、高(大于第二风速阈值),第一风速阈值小于第二风速阈值);Wind speed node: Wind (low (less than the first wind speed threshold), normal (greater than or equal to the first wind speed threshold and less than the second wind speed threshold), high (greater than the second wind speed threshold), the first wind speed threshold is less than the second wind speed threshold);
最终P(T∣I,Temp,Humidity,Wind)(变压器状态节点关于其他节点的条件概率分布)这个矩阵包含了所有可能的组合情况,如当电流为低、温度为高、湿度为正常、风速为低时,变压器状态为正常的概率,这样的矩阵可以帮助模型进行推断和预测,更全面地考虑了多个因素。Finally, the matrix P(T|I, Temp, Humidity, Wind) (conditional probability distribution of transformer status nodes with respect to other nodes) contains all possible combinations, such as the probability that the transformer status is normal when the current is low, the temperature is high, the humidity is normal, and the wind speed is low. Such a matrix can help the model to infer and predict, and it takes multiple factors into account more comprehensively.
接着将地理环境和天气数据整合到贝叶斯网络模型的训练数据中,然后进行模型训练。通过学习数据中的模式和关联性,模型可以更准确地对变压器的状态进行推断和预测,再接着将诊断结果按照地区的不同反馈给用户或操作者,并解释诊断结果的可信度和推荐的处理措施,最后根据实际情况和用户反馈,优化算法融合和不确定性建模过程,以提高方案整体的故障诊断准确性和可靠性,最终实现了将地理位置的气温、湿度和风速因素作为额外节点,与变压器状态节点关联起来,通过分析这些因素与变压器故障之间的关系,贝叶斯网络模型可以更准确地预测变压器的运行状态和潜在故障。Then, the geographic environment and weather data are integrated into the training data of the Bayesian network model, and then the model is trained. By learning the patterns and correlations in the data, the model can more accurately infer and predict the status of the transformer, and then feedback the diagnosis results to the user or operator according to the region, and explain the credibility of the diagnosis results and the recommended treatment measures. Finally, according to the actual situation and user feedback, the algorithm fusion and uncertainty modeling process are optimized to improve the overall fault diagnosis accuracy and reliability of the scheme. Finally, the temperature, humidity and wind speed factors of the geographical location are used as additional nodes and associated with the transformer status node. By analyzing the relationship between these factors and transformer faults, the Bayesian network model can more accurately predict the operating status and potential faults of the transformer.
具体的,整合地理环境和天气数据到贝叶斯网络模型的训练数据中,然后进行模型训练,需要进行以下步骤:数据准备、构建贝叶斯网络模型、整合数据、模型训练。Specifically, integrating geographic environment and weather data into the training data of the Bayesian network model and then training the model requires the following steps: data preparation, building a Bayesian network model, integrating data, and model training.
数据准备:准备地理环境和天气数据,以及传感器数据。确保数据格式一致,并且进行必要的预处理,如缺失值处理、数据归一化等;Data preparation: Prepare geographic environment and weather data, as well as sensor data. Ensure that the data format is consistent and perform necessary preprocessing, such as missing value processing and data normalization;
构建贝叶斯网络模型:使用合适的库或工具来构建贝叶斯网络模型具体使用pgmpy;Building a Bayesian network model: Use appropriate libraries or tools to build a Bayesian network model, specifically using pgmpy;
整合数据:将地理环境和天气数据整合到传感器数据中,形成完整的训练数据集;Integrate data: Integrate geographic environment and weather data into sensor data to form a complete training data set;
模型训练:使用整合后的训练数据集来训练贝叶斯网络模型。这包括将数据输入到模型中,并调用相应的训练函数来拟合模型。Model training: Use the integrated training data set to train the Bayesian network model. This includes inputting data into the model and calling the corresponding training function to fit the model.
具体模型训练代码如下:The specific model training code is as follows:
from pgmpy.models import BayesianModel;from pgmpy.models import BayesianModel;
from pgmpy.estimators import ParameterEstimator;from pgmpy.estimators import ParameterEstimator;
from pgmpy.estimators import MaximumLikelihoodEstimator;from pgmpy.estimators import MaximumLikelihoodEstimator;
import pandas as pd;import pandas as pd;
#假设已经准备好了传感器数据、地理环境和天气数据,并且存储在DataFrame中;#Assume that sensor data, geographic environment and weather data have been prepared and stored in DataFrame;
#假设传感器数据存储在sensor_data中,地理环境数据存储在geo_data中,天气数据存储在weather_data中;#Assume that sensor data is stored in sensor_data, geographic environment data is stored in geo_data, and weather data is stored in weather_data;
#合并数据;#Merge data;
merged_data=pd.concat([sensor_data,geo_data,weather_data],axis=1);merged_data=pd.concat([sensor_data,geo_data,weather_data],axis=1);
#构建贝叶斯网络模型;#Build a Bayesian network model;
model=BayesianModel([('sensor1','sensor2'),('geo_feature','sensor1'),('weather_feature','sensor1')]);model=BayesianModel([('sensor1','sensor2'),('geo_feature','sensor1'),('weather_feature','sensor1')]);
#使用最大似然估计来估计参数;#Use maximum likelihood estimation to estimate parameters;
estimator=ParameterEstimator(model,merged_data);estimator=ParameterEstimator(model,merged_data);
estimator.get_parameters();estimator.get_parameters();
#使用最大似然估计来估计参数;#Use maximum likelihood estimation to estimate parameters;
model.fit(merged_data,estimator=MaximumLikelihoodEstimator);model.fit(merged_data,estimator=MaximumLikelihoodEstimator);
通过以上流程,可以有效处理故障诊断算法的不确定性,提高故障诊断结果的可靠性和可解释性。算法融合和概率推断的结合可以充分利用不同算法的优势,并对诊断结果的不确定性进行有效管理,从而提高本方案在复杂环境下的故障诊断能力。Through the above process, the uncertainty of the fault diagnosis algorithm can be effectively handled, and the reliability and interpretability of the fault diagnosis results can be improved. The combination of algorithm fusion and probabilistic inference can make full use of the advantages of different algorithms and effectively manage the uncertainty of the diagnosis results, thereby improving the fault diagnosis capability of this solution in complex environments.
上述的,由于不同传感器之间的数据可能存在不一致性,包括单位不同、采样频率不同,这会影响信息融合的准确性,并且随着变压器检测系统的规模的增大和新传感器的引入,变压器检测系统的可扩展性也是一个挑战,需要考虑到变压器检测系统的性能和资源需求,同时变压器检测系统内部的故障诊断算法可能存在误判和漏判的情况,特别是在复杂故障情况下,算法的准确性可能受到影响,在进行信息融合的过程中常采用贝叶斯网络模型进行变压器故障检测,然而通过固定的贝叶斯网络模型经过深度学习后,应用到不同区域位置的变电站时还会因为地理环境及外界的天气的影响而产生不同的错误判断,进而可能造成预测故障时的局限性,因此可以通过多算法融合的凡是来进行深度学习训练,以下实施例进行详细介绍。As mentioned above, since the data between different sensors may be inconsistent, including different units and sampling frequencies, this will affect the accuracy of information fusion, and with the increase in the scale of the transformer detection system and the introduction of new sensors, the scalability of the transformer detection system is also a challenge, and the performance and resource requirements of the transformer detection system need to be considered. At the same time, the fault diagnosis algorithm within the transformer detection system may have misjudgments and missed judgments, especially in complex fault conditions. The accuracy of the algorithm may be affected. In the process of information fusion, the Bayesian network model is often used for transformer fault detection. However, after deep learning through a fixed Bayesian network model, when it is applied to substations in different regions, different erroneous judgments will be generated due to the influence of the geographical environment and external weather, which may cause limitations in predicting faults. Therefore, deep learning training can be performed through the fusion of multiple algorithms. The following embodiments are introduced in detail.
具体实现过程中,在获取变压器的运行信息之后,上述方法还包括以下步骤:构建第二检测模型,其中,上述第二检测模型是使用多组训练数据来通过贝叶斯算法和辅助算法训练得到的,上述多组训练数据中的每一组训练数据均包括历史时间段内获取的历史运行信息、上述历史运行信息对应的历史第三分析结果,其中,上述历史第三分析结果用于表征历史变压器是否故障,上述辅助算法至少包括LSTM算法、LightGBM算法、TPE算法、BOA-LSTM算法、BART算法中的一种或者多种;将上述运行信息输入至上述第二检测模型,得到上述运行信息对应的第三分析结果。In the specific implementation process, after obtaining the operating information of the transformer, the method also includes the following steps: constructing a second detection model, wherein the second detection model is trained by a Bayesian algorithm and an auxiliary algorithm using multiple sets of training data, and each set of training data in the multiple sets of training data includes historical operating information obtained within a historical time period, and a historical third analysis result corresponding to the historical operating information, wherein the historical third analysis result is used to characterize whether the historical transformer is faulty, and the auxiliary algorithm includes at least one or more of the LSTM algorithm, LightGBM algorithm, TPE algorithm, BOA-LSTM algorithm, and BART algorithm; inputting the operating information into the second detection model to obtain the third analysis result corresponding to the operating information.
该方案中,通过多种算法进行融合,可以弥补单一算法的不足,进而可以降低误判率,进一步准确地确定变压器是否故障。In this solution, the fusion of multiple algorithms can make up for the shortcomings of a single algorithm, thereby reducing the misjudgment rate and further accurately determining whether the transformer is faulty.
具体地,可以通过贝叶斯算法和LSTM算法来构建第二检测模型,确定变压器是否故障。使用贝叶斯算法对提取的特征进行分析,计算出变压器故障的概率。贝叶斯算法可以有效地处理不确定性和缺失数据。将时间序列数据输入到LSTM神经网络中进行训练,以预测未来的变压器状态。LSTM算法可以捕捉时间序列数据中的长期依赖关系。将贝叶斯算法和LSTM算法的结果进行综合分析,确定变压器是否存在故障。贝叶斯算法可以有效地处理不确定性和缺失数据,提高了方案的鲁棒性。LSTM算法可以捕捉时间序列数据中的长期依赖关系,提高了预测的准确性和稳定性。结合两种算法可以综合考虑静态特征和动态特征,全面分析变压器的健康状态。Specifically, the second detection model can be constructed by using the Bayesian algorithm and the LSTM algorithm to determine whether the transformer is faulty. The extracted features are analyzed using the Bayesian algorithm to calculate the probability of transformer failure. The Bayesian algorithm can effectively handle uncertainty and missing data. The time series data is input into the LSTM neural network for training to predict the future state of the transformer. The LSTM algorithm can capture long-term dependencies in time series data. The results of the Bayesian algorithm and the LSTM algorithm are comprehensively analyzed to determine whether the transformer is faulty. The Bayesian algorithm can effectively handle uncertainty and missing data, improving the robustness of the solution. The LSTM algorithm can capture long-term dependencies in time series data, improving the accuracy and stability of the prediction. Combining the two algorithms can comprehensively consider static and dynamic features and comprehensively analyze the health status of the transformer.
具体地,可以通过贝叶斯算法和LightGBM算法来构建第二检测模型,确定变压器是否故障。将数据集划分为训练集和测试集。使用贝叶斯算法对训练集进行训练,得到模型。使用LightGBM算法对训练集进行训练,得到模型。使用测试集对模型进行评估,比较两种算法的准确率、召回率等指标。根据模型预测结果确定变压器是否故障。LightGBM算法是一种高效的梯度提升算法,能够处理大规模数据集,并且具有较高的准确率。两种算法结合使用可以提高模型的准确率和鲁棒性,使得故障判断更加可靠。Specifically, the second detection model can be constructed by using the Bayesian algorithm and the LightGBM algorithm to determine whether the transformer is faulty. The data set is divided into a training set and a test set. The training set is trained using the Bayesian algorithm to obtain a model. The training set is trained using the LightGBM algorithm to obtain a model. The model is evaluated using the test set to compare the accuracy, recall and other indicators of the two algorithms. Determine whether the transformer is faulty based on the model prediction results. The LightGBM algorithm is an efficient gradient boosting algorithm that can handle large-scale data sets and has a high accuracy rate. The combination of the two algorithms can improve the accuracy and robustness of the model, making fault judgment more reliable.
具体地,可以通过贝叶斯算法和TPE算法来构建第二检测模型,确定变压器是否故障。使用贝叶斯算法建立一个初始的概率模型,该模型可以表示变压器是否故障的概率分布。使用TPE算法对该概率模型进行优化,以找到最可能导致变压器故障的参数组合。根据优化后的参数组合,再次使用贝叶斯算法更新概率模型,以更准确地表示变压器是否故障的概率分布。根据更新后的概率模型,可以得到一个更准确的预测结果,从而确定变压器是否故障。TPE算法可以快速有效地找到最可能导致变压器故障的参数组合,从而减少计算时间和资源消耗。贝叶斯算法和TPE算法的结合可以在不断更新概率模型的过程中,更好地适应变压器故障的潜在规律和特征,提高预测的准确性和可靠性。Specifically, the second detection model can be constructed by the Bayesian algorithm and the TPE algorithm to determine whether the transformer is faulty. An initial probability model is established using the Bayesian algorithm, which can represent the probability distribution of whether the transformer is faulty. The TPE algorithm is used to optimize the probability model to find the parameter combination that is most likely to cause the transformer to fail. Based on the optimized parameter combination, the Bayesian algorithm is used again to update the probability model to more accurately represent the probability distribution of whether the transformer is faulty. Based on the updated probability model, a more accurate prediction result can be obtained to determine whether the transformer is faulty. The TPE algorithm can quickly and effectively find the parameter combination that is most likely to cause a transformer failure, thereby reducing computing time and resource consumption. The combination of the Bayesian algorithm and the TPE algorithm can better adapt to the potential laws and characteristics of transformer failures in the process of continuously updating the probability model, thereby improving the accuracy and reliability of the prediction.
具体地,可以通过贝叶斯算法和BOA-LSTM算法来构建第二检测模型,确定变压器是否故障。使用贝叶斯算法进行故障预测:利用贝叶斯算法对变压器运行数据进行分析和建模,得出变压器是否存在故障的概率。将预处理后的数据输入到BOA-LSTM算法中进行训练,得出变压器是否存在故障的预测结果。将贝叶斯算法和BOA-LSTM算法得到的故障预测结果进行结合,综合分析变压器是否存在故障。贝叶斯算法可以提供概率分析的结果,BOA-LSTM算法可以提供时间序列数据的预测结果,两者结合可以更全面地评估变压器的故障情况。结合两种算法可以有效降低误报率和漏报率,提高故障预测的效果和效率。Specifically, the second detection model can be constructed by using the Bayesian algorithm and the BOA-LSTM algorithm to determine whether the transformer is faulty. Use the Bayesian algorithm for fault prediction: Use the Bayesian algorithm to analyze and model the transformer operation data to obtain the probability of whether the transformer is faulty. Input the preprocessed data into the BOA-LSTM algorithm for training to obtain the prediction result of whether the transformer is faulty. Combine the fault prediction results obtained by the Bayesian algorithm and the BOA-LSTM algorithm to comprehensively analyze whether the transformer is faulty. The Bayesian algorithm can provide the results of probability analysis, and the BOA-LSTM algorithm can provide the prediction results of time series data. The combination of the two can more comprehensively evaluate the fault condition of the transformer. Combining the two algorithms can effectively reduce the false alarm rate and the missed alarm rate, and improve the effect and efficiency of fault prediction.
具体地,可以通过贝叶斯算法和BART算法来构建第二检测模型,确定变压器是否故障。用贝叶斯算法对数据进行分析,计算出变压器各个参数的后验概率分布。将得到的后验概率分布作为BART算法的输入,利用BART算法建立一个预测模型,预测变压器是否故障。根据BART算法的预测结果,对变压器进行维护或修理。BART算法可以通过非参数方法建立预测模型,提高了预测的准确性和稳定性。结合两种算法可以更全面地分析变压器的状态,提高了故障诊断的效率和准确性。Specifically, the second detection model can be constructed by using the Bayesian algorithm and the BART algorithm to determine whether the transformer is faulty. The Bayesian algorithm is used to analyze the data and calculate the posterior probability distribution of each parameter of the transformer. The obtained posterior probability distribution is used as the input of the BART algorithm, and a prediction model is established using the BART algorithm to predict whether the transformer is faulty. According to the prediction results of the BART algorithm, the transformer is maintained or repaired. The BART algorithm can establish a prediction model through a non-parametric method, which improves the accuracy and stability of the prediction. Combining the two algorithms can more comprehensively analyze the status of the transformer and improve the efficiency and accuracy of fault diagnosis.
具体地,本方案通过收集并分析历史数据,结合数据挖掘与机器学习算法,能够有效识别传感器数据中的异常值或不一致现象。进一步地,结合规则引擎、机器学习模型和专家系统,可针对各种数据修复需求与情况,自动生成相应的修复策略。这一自动化流程不仅大幅提升了数据修复的效率与准确性,而且通过策略生成的动态调整,能够根据历史及实时数据生成适应当前情境的最佳修复策略,从而显著减少人工干预,增强自适应能力。同时,通过不断地评估与优化策略,能够持续优化数据修复效果,确保数据的一致性与质量。在故障诊断算法方面,通过考虑地理环境和天气因素,使得加入地理位置与天气情况节点的贝叶斯网络模型可以更好地适应不同区域的变压器系统,这种定制化的模型可以更准确地反映特定区域的环境特征,提高了模型的适用性和泛化能力,并且结合预测模型和修复策略生成,可以更加智能地调整修复策略,以适应未来数据的变化。这样一来,就能够更加灵活地应对不同情况,进一步提高方案的适应性和泛化能力。Specifically, this solution can effectively identify abnormal values or inconsistencies in sensor data by collecting and analyzing historical data and combining data mining and machine learning algorithms. Furthermore, by combining rule engines, machine learning models and expert systems, corresponding repair strategies can be automatically generated for various data repair needs and situations. This automated process not only greatly improves the efficiency and accuracy of data repair, but also generates the best repair strategy for the current situation based on historical and real-time data through dynamic adjustment of strategy generation, thereby significantly reducing manual intervention and enhancing adaptive capabilities. At the same time, by continuously evaluating and optimizing strategies, the data repair effect can be continuously optimized to ensure data consistency and quality. In terms of fault diagnosis algorithms, by considering geographical environment and weather factors, the Bayesian network model with geographical location and weather condition nodes can better adapt to transformer systems in different regions. This customized model can more accurately reflect the environmental characteristics of a specific region, improve the applicability and generalization of the model, and combine the prediction model and repair strategy generation to more intelligently adjust the repair strategy to adapt to future data changes. In this way, it is possible to respond to different situations more flexibly and further improve the adaptability and generalization of the solution.
在一些实施例上,在获取变压器的运行信息之前,上述方法还包括以下步骤:获取接口定义信息,其中,上述接口定义信息为预先定义的上述传感器的接口的数据传输格式、传输协议和通信方式的信息;根据上述接口定义信息,对上述传感器的接口进行配置。In some embodiments, before obtaining the operating information of the transformer, the method further includes the following steps: obtaining interface definition information, wherein the interface definition information is pre-defined information on the data transmission format, transmission protocol and communication method of the interface of the sensor; and configuring the interface of the sensor according to the interface definition information.
该方案中,可以预先定义标准化的接口规范,保证可以通过标准接口实现通信与数据交互,极大地促进了第三方模块或者第三方设备的集成,进一步增强了本方案的可扩展性。In this solution, standardized interface specifications can be pre-defined to ensure that communication and data interaction can be achieved through standard interfaces, which greatly promotes the integration of third-party modules or third-party devices and further enhances the scalability of this solution.
具体地,通过获取预先定义的传感器接口的数据传输格式、传输协议和通信方式的信息,然后根据这些信息来配置传感器的接口。这样做的好处是可以确保传感器与其他设备(例如变压器)或系统之间的数据传输是有效和准确的,同时也能提高系统的稳定性和可靠性。Specifically, by obtaining the information of the data transmission format, transmission protocol and communication mode of the predefined sensor interface, and then configuring the sensor interface according to this information, the advantage of doing so is that it can ensure that the data transmission between the sensor and other devices (such as transformers) or systems is effective and accurate, and it can also improve the stability and reliability of the system.
举例来说,假设有一个温度传感器,根据厂商提供的接口定义信息,该传感器使用Modbus协议进行通信,数据传输格式为16位整数,通信方式为RS485。根据这些信息,可以配置传感器的接口参数,确保与其他设备或系统之间的通信正常进行,避免数据传输错误或丢失。通过合理配置传感器的接口,可以提高系统的整体效率和性能,减少因数据传输问题导致的系统故障,确保数据的准确性和可靠性。For example, suppose there is a temperature sensor. According to the interface definition information provided by the manufacturer, the sensor uses the Modbus protocol for communication, the data transmission format is a 16-bit integer, and the communication method is RS485. Based on this information, the interface parameters of the sensor can be configured to ensure normal communication with other devices or systems and avoid data transmission errors or losses. By properly configuring the sensor interface, the overall efficiency and performance of the system can be improved, system failures caused by data transmission problems can be reduced, and the accuracy and reliability of data can be ensured.
具体地,在上述具体实施例中,如图6所示,接口标准化的具体流程如下步骤:接口定义、接口管理、接口注册、接口验证、接口通信、接口更新。Specifically, in the above specific embodiment, as shown in FIG. 6 , the specific process of interface standardization includes the following steps: interface definition, interface management, interface registration, interface verification, interface communication, and interface update.
接口定义:确定各个传感器以及系统之间需要进行数据交换和通信的接口。可以包括定义接口的数据格式、传输协议、通信方式等规范;Interface definition: Determine the interfaces required for data exchange and communication between various sensors and systems. This may include defining the data format, transmission protocol, communication method, and other specifications of the interface;
接口管理:接口标准化管理中负责管理的所有接口的定义和规范。可以维护一个接口清单,包括接口名称、描述、数据格式等信息;Interface management: Interface standardization management is responsible for the definition and specification of all interfaces. You can maintain an interface list, including interface name, description, data format and other information;
接口注册:当新模块或者新的传感器加入整体系统时,需要注册其提供的接口。注册包括接口名称、功能描述、数据格式等信息;Interface registration: When a new module or a new sensor is added to the overall system, the interface it provides needs to be registered. The registration includes information such as interface name, function description, data format, etc.
接口验证:对注册的接口进行验证,确保符合规范。验证包括数据格式是否正确、数据传输是否可靠等方面;Interface verification: Verify the registered interface to ensure compliance with the specification. Verification includes whether the data format is correct and whether the data transmission is reliable;
接口通信:当需要与其他传感器或者设备进行通信时,通查询对应接口的规范。按照规范进行数据交换和通信,确保数据的正确传输和解析;Interface communication: When you need to communicate with other sensors or devices, query the specifications of the corresponding interface. Perform data exchange and communication according to the specifications to ensure the correct transmission and analysis of data;
接口更新:随着整体方案的演化和需求变化,接口规范可能需要更新。及时更新接口规范,并通知对应的设备或者模块或者传感器进行相应调整。Interface update: As the overall solution evolves and requirements change, the interface specifications may need to be updated. Update the interface specifications in a timely manner and notify the corresponding devices, modules, or sensors to make corresponding adjustments.
通过以上流程,接口标准化可以确保系统中各个模块以及传感器之间的接口规范一致性和可靠性,提高可维护性和可扩展性。同时,通过统一的接口规范,不同设备和模块之间的集成和交互变得更加简单和高效。Through the above process, interface standardization can ensure the consistency and reliability of interface specifications between various modules and sensors in the system, and improve maintainability and scalability. At the same time, through unified interface specifications, the integration and interaction between different devices and modules become simpler and more efficient.
在一些实施例上,在获取变压器的运行信息之前,上述方法还包括以下步骤:获取配置定义信息,其中,上述配置定义信息为预先定义的上述传感器的采样频率、分辨率、异常报警阈值和电源模式的信息;根据上述配置定义信息,对上述传感器进行配置。In some embodiments, before obtaining the operating information of the transformer, the method further includes the following steps: obtaining configuration definition information, wherein the configuration definition information is pre-defined information of a sampling frequency, resolution, abnormal alarm threshold and power mode of the sensor; and configuring the sensor according to the configuration definition information.
该方案中,可以预先定义标准化的传感器规范,保证可以通过标准化的设置来对传感器进行自动化配置,进而进一步增强了本方案的可扩展性,进一步高传感器的性能和稳定性。In this solution, standardized sensor specifications can be predefined to ensure that the sensors can be automatically configured through standardized settings, thereby further enhancing the scalability of the solution and further improving the performance and stability of the sensors.
具体地,获取传感器的配置信息,包括采样频率、分辨率、异常报警阈值和电源模式等预先定义的参数;然后根据这些配置信息对传感器进行相应的配置设置。这样可以根据实际需求和环境条件来定制传感器的工作参数,以确保传感器能够正常工作并提供准确的数据。例如,如果需要监测温度变化,可以设置温度传感器的采样频率为每分钟采集一次数据,分辨率为0.1摄氏度,异常报警阈值为超过40摄氏度时报警,电源模式选择低功耗模式。通过配置传感器,可以提高传感器的性能和稳定性,同时也可以有效管理电源消耗,延长传感器的使用寿命。Specifically, obtain the configuration information of the sensor, including pre-defined parameters such as sampling frequency, resolution, abnormal alarm threshold and power mode; then configure the sensor accordingly according to these configuration information. In this way, the working parameters of the sensor can be customized according to actual needs and environmental conditions to ensure that the sensor can work normally and provide accurate data. For example, if you need to monitor temperature changes, you can set the sampling frequency of the temperature sensor to collect data once a minute, the resolution to 0.1 degrees Celsius, the abnormal alarm threshold to alarm when it exceeds 40 degrees Celsius, and the power mode to select low power mode. By configuring the sensor, you can improve the performance and stability of the sensor, and you can also effectively manage power consumption and extend the service life of the sensor.
具体地,在上述具体实施例中,通过动态配置可管理配置信息,并允许用户或管理员根据需要动态修改配置。如图7所示,以下是动态配置的具体流程:配置管理、配置查询、配置修改、配置校验、配置生效、配置回滚。Specifically, in the above specific embodiment, the configuration information can be managed through dynamic configuration, and the user or administrator is allowed to dynamically modify the configuration as needed. As shown in Figure 7, the following is the specific process of dynamic configuration: configuration management, configuration query, configuration modification, configuration verification, configuration validation, and configuration rollback.
配置管理:维护一个配置清单,包括各个模块以及传感器的配置项及其默认值。每个配置项都有一个唯一的标识符和描述,用于识别和说明该配置项的作用;Configuration management: Maintain a configuration list, including configuration items and their default values for each module and sensor. Each configuration item has a unique identifier and description to identify and explain the function of the configuration item;
配置查询:用户或管理员可以查询配置项及其当前取值。提供接口或界面供用户查看和管理配置信息;Configuration query: Users or administrators can query configuration items and their current values. Provide an interface or screen for users to view and manage configuration information;
配置修改:用户可以通过修改配置项取值修改配置项时,会根据新的取值自动更新相关模块的配置;Configuration modification: When users modify configuration items by changing their values, the configuration of related modules will be automatically updated according to the new values;
配置校验:在用户修改配置项时,会对新的配置取值进行校验。校验包括数据格式是否正确、取值范围是否合法等方面;Configuration verification: When users modify configuration items, the new configuration values will be verified. Verification includes whether the data format is correct and whether the value range is legal.
配置生效:用户修改配置后,会将新的配置信息应用到相关模块以及传感器。确保新的配置立即生效,而无需重启主控的设备;Configuration takes effect: After the user modifies the configuration, the new configuration information will be applied to the relevant modules and sensors. Ensure that the new configuration takes effect immediately without restarting the main control device;
配置回滚:如果用户修改配置后发现问题,可以将配置项回滚到修改前的取值。确保在配置修改过程中可以做到安全可靠。Configuration rollback: If a user finds a problem after modifying the configuration, the configuration item can be rolled back to the value before the modification. This ensures that the configuration modification process can be safe and reliable.
通过以上流程,可以实现配置的灵活管理和动态调整,提高了方案适应性和可维护性。用户可以根据需要随时修改配置,而无需停机或重启系统,从而提高了方案的灵活性和可定制性。Through the above process, flexible management and dynamic adjustment of configuration can be achieved, which improves the adaptability and maintainability of the solution. Users can modify the configuration at any time as needed without shutting down or restarting the system, thus improving the flexibility and customizability of the solution.
具体地,本方案还引入了插件机制,可以允许用户或开发人员根据实际需求编写自定义插件,并将其无缝集成至方案中,为用户提供了极大的功能扩展空间。Specifically, this solution also introduces a plug-in mechanism, which allows users or developers to write custom plug-ins according to actual needs and integrate them seamlessly into the solution, providing users with great functional expansion space.
具体地,在上述具体实施例中,通过插件机制可以负责加载、管理和调用的插件。如图8所示,以下是引入插件机制的流程的步骤:插件注册、插件加载、插件调用、插件卸载、插件更新、插件通信。Specifically, in the above specific embodiment, the plug-in mechanism can be responsible for loading, managing and calling the plug-in. As shown in Figure 8, the following are the steps of the process of introducing the plug-in mechanism: plug-in registration, plug-in loading, plug-in calling, plug-in unloading, plug-in updating, and plug-in communication.
插件注册:开发人员编写插件,并将插件注册到包括传感器的系统中。注册包括插件名称、描述、版本号、作者等信息。Plugin registration: Developers write plugins and register them with the system including sensors. The registration includes plugin name, description, version number, author, etc.
插件加载:系统启动时,会加载所有注册的插件。加载过程包括检查插件的依赖关系、初始化插件环境等操作。Plugin loading: When the system starts, all registered plugins are loaded. The loading process includes checking plugin dependencies, initializing the plugin environment, and other operations.
插件调用:可以调用已加载的插件。插件提供了一些接口或功能,供调用和扩展功能。Plugin call: You can call loaded plugins. Plugins provide some interfaces or functions for calling and extending functions.
插件卸载:当不再需要某个插件时,可以卸载该插件。卸载过程包括释放插件占用的资源、清理插件相关的数据等操作。Plugin uninstallation: When a plugin is no longer needed, you can uninstall it. The uninstallation process includes releasing the resources occupied by the plugin and cleaning up the plugin-related data.
插件更新:可以支持插件的更新操作。当插件作者发布新版本时,可以更新插件。Plugin update: It supports plugin update operations. When the plugin author releases a new version, the plugin can be updated.
插件通信:插件之间可以进行通信和协作。提供了一些通信机制,用于插件之间的数据交换和协同工作。Plugin communication: Plugins can communicate and collaborate with each other. Some communication mechanisms are provided for data exchange and collaborative work between plugins.
通过以上流程,插件机制可以实现功能的动态扩展和定制,提高了方案的灵活性和可扩展性。开发人员可以根据需要编写插件,而不必修改核心代码,从而降低了方案维护和升级的难度。同时,插件机制也促进了模块之间的解耦和协作,使方案更加模块化和可组合。Through the above process, the plug-in mechanism can realize dynamic expansion and customization of functions, improving the flexibility and scalability of the solution. Developers can write plug-ins as needed without modifying the core code, thereby reducing the difficulty of solution maintenance and upgrades. At the same time, the plug-in mechanism also promotes decoupling and collaboration between modules, making the solution more modular and combinable.
综上,本方案的设计旨在实现灵活扩展与高度定制化,以满足不同用户的实际需求,从而确保方案的高可扩展性和强适应性。In summary, the design of this solution aims to achieve flexible expansion and high customization to meet the actual needs of different users, thereby ensuring the high scalability and strong adaptability of the solution.
在一些实施例上,在根据上述综合计算结果和预设运行阈值的大小关系,得到第一分析结果之后,上述方法还包括以下步骤:在上述第一分析结果表征上述变压器故障的情况下,生成预警信息;基于上述预警信息,控制预警设备开启,其中,上述预警设备至少包括蜂鸣器和/或LED灯。In some embodiments, after obtaining the first analysis result based on the size relationship between the above-mentioned comprehensive calculation result and the preset operating threshold, the above-mentioned method also includes the following steps: when the above-mentioned first analysis result characterizes the above-mentioned transformer fault, generating early warning information; based on the above-mentioned early warning information, controlling the early warning device to turn on, wherein the above-mentioned early warning device at least includes a buzzer and/or an LED light.
该方案中,如果变压器故障,那么可以控制预警设备开启,这样可以及时提示作业人员变压器故障,以便于作业人员及时了解变压器故障。In this solution, if the transformer fails, the early warning device can be controlled to turn on, so that the operating personnel can be promptly reminded of the transformer failure, so that the operating personnel can understand the transformer failure in time.
综上,本方案中的可扩展性较好,基本上故障诊断算法存在误判和漏判情况较少。In summary, the scalability of this solution is good, and the fault diagnosis algorithm has fewer misjudgments and missed judgments.
为了使得本领域技术人员能够更加清楚地了解本申请的技术方案,以下将结合具体的实施例对本申请的基于多传感器的变压器的故障确定方法的实现过程进行详细说明。In order to enable those skilled in the art to more clearly understand the technical solution of the present application, the implementation process of the multi-sensor based transformer fault determination method of the present application will be described in detail below in combination with specific embodiments.
本实施例涉及一种具体的基于多传感器的变压器的故障确定方法,包括如下步骤:This embodiment relates to a specific transformer fault determination method based on multiple sensors, comprising the following steps:
步骤S1:数据采集处理;Step S1: data collection and processing;
首先从不同传感器中实时采集数据,并将数据传递到信息融合模块中,并且在接收数据的同时,比较不同传感器之间的数据是否一致,同时检测包括数据值是否在合理范围内,是否存在异常数据,当检测到传感器数据不一致时,数据一致性校验模块会根据预先设定的数据修复策略进行处理,包括取平均值、取中位数、剔除异常值,当需要对系统进行拓展时,首先确定系统中各个模块之间需要进行数据交换和通信的接口,接着定义接口的数据格式、传输协议以及通信方式;First, data is collected from different sensors in real time and passed to the information fusion module. While receiving data, the data between different sensors are compared for consistency. At the same time, the data values are checked to see if they are within a reasonable range and whether there are abnormal data. When inconsistent sensor data is detected, the data consistency check module will process it according to the pre-set data repair strategy, including taking the average, taking the median, and removing abnormal values. When the system needs to be expanded, the interfaces for data exchange and communication between the modules in the system are first determined, and then the data format, transmission protocol and communication method of the interface are defined.
步骤S2:信息融合;Step S2: information fusion;
接着接收来自不同传感器的数据,通过加权平均的方式计算综合信息S,具体计算公式为S=α*T+β*H+γ*G,其中α、β和γ为权重系数,用于调节不同传感器在融合中的重要性;Then, the data from different sensors are received and the comprehensive information S is calculated by weighted average. The specific calculation formula is S = α*T + β*H + γ*G, where α, β and γ are weight coefficients used to adjust the importance of different sensors in fusion;
步骤S3:故障诊断;Step S3: fault diagnosis;
根据融合后的信息S进行故障诊断,判断系统是否存在故障,当S超过预设阈值,判定系统存在故障,触发警报并提供维修建议,当S未超过阈值,系统正常运行,不进行任何操作,在故障诊断的过程中,将多种故障诊断算法包括规则引擎、机器学习模型和专家系统进行融合,形成一个集成的故障诊断系统,接着使用贝叶斯网络对算法生成的诊断结果进行不确定性建模,再对诊断结果的不确定性进行处理。Fault diagnosis is performed based on the fused information S to determine whether the system has a fault. When S exceeds the preset threshold, it is determined that the system has a fault, an alarm is triggered and maintenance suggestions are provided. When S does not exceed the threshold, the system operates normally and no operation is performed. In the fault diagnosis process, multiple fault diagnosis algorithms including rule engines, machine learning models and expert systems are integrated to form an integrated fault diagnosis system. Then, the Bayesian network is used to model the uncertainty of the diagnosis results generated by the algorithm, and then the uncertainty of the diagnosis results is processed.
本申请实施例还提供了一种基于多传感器的变压器的故障确定装置,需要说明的是,本申请实施例的基于多传感器的变压器的故障确定装置可以用于执行本申请实施例所提供的用于基于多传感器的变压器的故障确定方法。该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。The embodiment of the present application also provides a fault determination device for a transformer based on multiple sensors. It should be noted that the fault determination device for a transformer based on multiple sensors in the embodiment of the present application can be used to execute the fault determination method for a transformer based on multiple sensors provided in the embodiment of the present application. The device is used to implement the above-mentioned embodiments and preferred implementation modes, and those that have been described will not be repeated. As used below, the term "module" can implement a combination of software and/or hardware for a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
以下对本申请实施例提供的基于多传感器的变压器的故障确定装置进行介绍。The following introduces a transformer fault determination device based on multiple sensors provided in an embodiment of the present application.
图9是根据本申请实施例的一种基于多传感器的变压器的故障确定装置的结构框图。如图9所示,该装置包括:FIG9 is a structural block diagram of a transformer fault determination device based on multiple sensors according to an embodiment of the present application. As shown in FIG9 , the device includes:
第一获取单元10,用于获取变压器的运行信息,其中,上述运行信息有多个,上述运行信息为采用传感器采集得到的,上述传感器有多个,上述运行信息和上述传感器一一对应;A first acquisition unit 10 is used to acquire operation information of the transformer, wherein the operation information is multiple and is acquired by using a sensor. There are multiple sensors, and the operation information corresponds to the sensors one by one.
第二获取单元20,用于获取上述运行信息对应的权重系数,其中,上述权重系数和上述运行信息一一对应;A second acquisition unit 20 is used to acquire a weight coefficient corresponding to the operation information, wherein the weight coefficient corresponds to the operation information in a one-to-one manner;
计算单元30,用于计算上述权重系数和上述运行信息的加权平均值,得到综合计算结果;The calculation unit 30 is used to calculate the weighted average of the weight coefficient and the operation information to obtain a comprehensive calculation result;
确定单元40,用于根据上述综合计算结果和预设运行阈值的大小关系,得到第一分析结果,其中,上述第一分析结果用于表征上述变压器是否故障,在上述综合计算结果大于或者等于上述预设运行阈值的情况下,上述第一分析结果表征上述变压器正常,在上述综合计算结果小于上述预设运行阈值的情况下,上述第一分析结果表征上述变压器故障。The determination unit 40 is used to obtain a first analysis result based on the size relationship between the above-mentioned comprehensive calculation result and the preset operation threshold, wherein the above-mentioned first analysis result is used to characterize whether the above-mentioned transformer is faulty. When the above-mentioned comprehensive calculation result is greater than or equal to the above-mentioned preset operation threshold, the above-mentioned first analysis result characterizes that the above-mentioned transformer is normal; when the above-mentioned comprehensive calculation result is less than the above-mentioned preset operation threshold, the above-mentioned first analysis result characterizes that the above-mentioned transformer is faulty.
通过本实施例,可以同时采集到不同传感器检测的信息,得到多个运行信息,综合分析多个运行信息,来评估变压器是否故障,相比单一传感器评估的方式准确率更高,可以提高变压器故障检测的准确性。Through this embodiment, information detected by different sensors can be collected at the same time to obtain multiple operating information, which can be comprehensively analyzed to evaluate whether the transformer is faulty. Compared with the single sensor evaluation method, it has higher accuracy and can improve the accuracy of transformer fault detection.
为了进一步提高数据的有效性和准确性,上述装置还包括第三获取单元、检验单元和修复单元,第三获取单元用于在获取变压器的运行信息之前,获取初始运行信息;检验单元用于对上述初始运行信息进行数据一致性检验,得到检验结果,其中,检验方式至少包括数值分析、方差分析、相关性分析、时间序列分析中的一种或者多种;修复单元用于在上述检验结果表征数据不一致的情况下,对上述初始运行信息进行数据修复,得到上述运行信息,其中,数据修复方式至少包括重新采集数据、填补缺失数据、剔除异常数据中的一种或者多种。In order to further improve the validity and accuracy of the data, the above-mentioned device also includes a third acquisition unit, a verification unit and a repair unit. The third acquisition unit is used to obtain initial operating information before obtaining the operating information of the transformer; the verification unit is used to perform data consistency verification on the above-mentioned initial operating information to obtain a verification result, wherein the verification method at least includes one or more of numerical analysis, variance analysis, correlation analysis, and time series analysis; the repair unit is used to perform data repair on the above-mentioned initial operating information to obtain the above-mentioned operating information when the above-mentioned verification result indicates that the data is inconsistent, wherein the data repair method at least includes one or more of re-collecting data, filling missing data, and eliminating abnormal data.
该方案中,可以对数据进行一致性检验,以确定是否存在异常的数据,如果数据不一致,即存在异常的数据的情况下,可以对数据进行修复处理,从而可以进一步提高数据的有效性和准确性。In this solution, the data can be checked for consistency to determine whether there is any abnormal data. If the data is inconsistent, that is, if there is abnormal data, the data can be repaired, thereby further improving the validity and accuracy of the data.
具体实现过程中,上述装置还包括第一构建单元和第一处理单元,第一构建单元用于在获取变压器的运行信息之后,构建第一检测模型,其中,上述第一检测模型是使用多组训练数据来通过贝叶斯算法训练得到的,上述多组训练数据中的每一组训练数据均包括历史时间段内获取的历史运行信息、上述历史运行信息对应的历史第二分析结果,其中,上述历史第二分析结果用于表征历史变压器是否故障;第一处理单元用于将上述运行信息输入至上述第一检测模型,得到上述运行信息对应的第二分析结果。During the specific implementation process, the above-mentioned device also includes a first construction unit and a first processing unit. The first construction unit is used to construct a first detection model after obtaining the operating information of the transformer, wherein the above-mentioned first detection model is obtained by training through a Bayesian algorithm using multiple sets of training data, and each set of training data in the above-mentioned multiple sets of training data includes historical operating information obtained within a historical time period and historical second analysis results corresponding to the above-mentioned historical operating information, wherein the above-mentioned historical second analysis results are used to characterize whether the historical transformer is faulty; the first processing unit is used to input the above-mentioned operating information into the above-mentioned first detection model to obtain the second analysis result corresponding to the above-mentioned operating information.
该方案中,可以通过训练数据集来训练贝叶斯网络模型,即第一检测模型,通过第一检测模型来分析变压器是否故障,贝叶斯算法可以根据已有的数据和先验知识来计算出变压器是否故障的概率,从而快速准确地判断变压器的工作状态,贝叶斯算法可以有效地处理不确定性和噪声,进一步提高了故障诊断的准确性和可靠性。In this scheme, the Bayesian network model, i.e., the first detection model, can be trained through the training data set. The first detection model is used to analyze whether the transformer is faulty. The Bayesian algorithm can calculate the probability of whether the transformer is faulty based on the existing data and prior knowledge, thereby quickly and accurately judging the working status of the transformer. The Bayesian algorithm can effectively handle uncertainty and noise, further improving the accuracy and reliability of fault diagnosis.
具体实现过程中,上述装置还包括第二构建单元和第二处理单元,第二构建单元用于在获取变压器的运行信息之后,构建第二检测模型,其中,上述第二检测模型是使用多组训练数据来通过贝叶斯算法和辅助算法训练得到的,上述多组训练数据中的每一组训练数据均包括历史时间段内获取的历史运行信息、上述历史运行信息对应的历史第三分析结果,其中,上述历史第三分析结果用于表征历史变压器是否故障,上述辅助算法至少包括LSTM算法、LightGBM算法、TPE算法、BOA-LSTM算法、BART算法中的一种或者多种;第二处理单元用于将上述运行信息输入至上述第二检测模型,得到上述运行信息对应的第三分析结果。During the specific implementation process, the above-mentioned device also includes a second construction unit and a second processing unit. The second construction unit is used to construct a second detection model after obtaining the operating information of the transformer, wherein the above-mentioned second detection model is obtained by training through a Bayesian algorithm and an auxiliary algorithm using multiple sets of training data, and each set of training data in the above-mentioned multiple sets of training data includes historical operating information obtained within a historical time period, and a historical third analysis result corresponding to the above-mentioned historical operating information, wherein the above-mentioned historical third analysis result is used to characterize whether the historical transformer is faulty, and the above-mentioned auxiliary algorithm includes at least one or more of the LSTM algorithm, LightGBM algorithm, TPE algorithm, BOA-LSTM algorithm, and BART algorithm; the second processing unit is used to input the above-mentioned operating information into the above-mentioned second detection model to obtain the third analysis result corresponding to the above-mentioned operating information.
该方案中,通过多种算法进行融合,可以弥补单一算法的不足,进而可以降低误判率,进一步准确地确定变压器是否故障。In this solution, the fusion of multiple algorithms can make up for the shortcomings of a single algorithm, thereby reducing the misjudgment rate and further accurately determining whether the transformer is faulty.
在一些实施例上,上述装置还包括第四获取单元和第一配置单元,第四获取单元用于在获取变压器的运行信息之前,获取接口定义信息,其中,上述接口定义信息为预先定义的上述传感器的接口的数据传输格式、传输协议和通信方式的信息;第一配置单元用于根据上述接口定义信息,对上述传感器的接口进行配置。In some embodiments, the above-mentioned device also includes a fourth acquisition unit and a first configuration unit, the fourth acquisition unit is used to obtain interface definition information before obtaining the operation information of the transformer, wherein the above-mentioned interface definition information is pre-defined information on the data transmission format, transmission protocol and communication method of the interface of the above-mentioned sensor; the first configuration unit is used to configure the interface of the above-mentioned sensor according to the above-mentioned interface definition information.
该方案中,可以预先定义标准化的接口规范,保证可以通过标准接口实现通信与数据交互,极大地促进了第三方模块或者第三方设备的集成,进一步增强了本方案的可扩展性。In this solution, standardized interface specifications can be pre-defined to ensure that communication and data interaction can be achieved through standard interfaces, which greatly promotes the integration of third-party modules or third-party devices and further enhances the scalability of this solution.
在一些实施例上,上述装置还包括第五获取单元和第二配置单元,第五获取单元用于在获取变压器的运行信息之前,获取配置定义信息,其中,上述配置定义信息为预先定义的上述传感器的采样频率、分辨率、异常报警阈值和电源模式的信息;第二配置单元用于根据上述配置定义信息,对上述传感器进行配置。In some embodiments, the above-mentioned device also includes a fifth acquisition unit and a second configuration unit, the fifth acquisition unit is used to obtain configuration definition information before obtaining the operation information of the transformer, wherein the above-mentioned configuration definition information is pre-defined information of the sampling frequency, resolution, abnormal alarm threshold and power mode of the above-mentioned sensor; the second configuration unit is used to configure the above-mentioned sensor according to the above-mentioned configuration definition information.
该方案中,可以预先定义标准化的传感器规范,保证可以通过标准化的设置来对传感器进行自动化配置,进而进一步增强了本方案的可扩展性,进一步高传感器的性能和稳定性。In this solution, standardized sensor specifications can be predefined to ensure that the sensors can be automatically configured through standardized settings, thereby further enhancing the scalability of the solution and further improving the performance and stability of the sensors.
在一些实施例上,上述装置还包括生成单元和控制单元,生成单元用于在根据上述综合计算结果和预设运行阈值的大小关系,得到第一分析结果之后,在上述第一分析结果表征上述变压器故障的情况下,生成预警信息;控制单元用于基于上述预警信息,控制预警设备开启,其中,上述预警设备至少包括蜂鸣器和/或LED灯。In some embodiments, the above-mentioned device also includes a generation unit and a control unit. The generation unit is used to generate early warning information after obtaining a first analysis result based on the size relationship between the above-mentioned comprehensive calculation result and a preset operating threshold, when the above-mentioned first analysis result characterizes the above-mentioned transformer fault; the control unit is used to control the early warning device to start based on the above-mentioned early warning information, wherein the above-mentioned early warning device at least includes a buzzer and/or an LED light.
该方案中,如果变压器故障,那么可以控制预警设备开启,这样可以及时提示作业人员变压器故障,以便于作业人员及时了解变压器故障。In this solution, if the transformer fails, the early warning device can be controlled to turn on, so that the operating personnel can be promptly reminded of the transformer failure, so that the operating personnel can understand the transformer failure in time.
上述基于多传感器的变压器的故障确定装置包括处理器和存储器,上述第一获取单元、第二获取单元、计算单元和确定单元等均作为程序单元存储在存储器中,由处理器执行存储在存储器中的上述程序单元来实现相应的功能。上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。The above-mentioned transformer fault determination device based on multiple sensors includes a processor and a memory, and the above-mentioned first acquisition unit, second acquisition unit, calculation unit and determination unit are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions. The above-mentioned modules are all located in the same processor; or, the above-mentioned modules are respectively located in different processors in the form of any combination.
处理器中包含内核,由内核去存储器中调取相应的程序单元。内核可以设置一个或以上,通过调整内核参数来解决现有技术中变压器故障检测的准确率较低的问题。The processor includes a kernel, and the kernel retrieves the corresponding program unit from the memory. One or more kernels can be provided, and the problem of low accuracy of transformer fault detection in the prior art can be solved by adjusting kernel parameters.
存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM),存储器包括至少一个存储芯片。The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
本发明实施例提供了一种计算机可读存储介质,上述计算机可读存储介质包括存储的程序,其中,在上述程序运行时控制上述计算机可读存储介质所在设备执行上述基于多传感器的变压器的故障确定方法。An embodiment of the present invention provides a computer-readable storage medium, which includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the multi-sensor based transformer fault determination method.
本发明实施例提供了一种处理器,上述处理器用于运行程序,其中,上述程序运行时执行上述基于多传感器的变压器的故障确定方法。An embodiment of the present invention provides a processor, and the processor is used to run a program, wherein the multi-sensor-based transformer fault determination method is executed when the program is run.
本发明实施例提供了一种设备,设备包括处理器、存储器及存储在存储器上并可在处理器上运行的程序,处理器执行程序时实现至少基于多传感器的变压器的故障确定方法步骤。An embodiment of the present invention provides a device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, at least steps of a transformer fault determination method based on multiple sensors are implemented.
本文中的设备可以是服务器、PC、PAD、手机等。The devices in this article can be servers, PCs, PADs, mobile phones, etc.
一种计算机程序产品,包括非易失性计算机可读存储介质,上述非易失性计算机可读存储介质存储计算机程序,上述计算机程序被处理器执行时实现本申请各个实施例中上述基于多传感器的变压器的故障确定方法的步骤。A computer program product includes a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the multi-sensor-based transformer fault determination method in each embodiment of the present application are implemented.
本申请还提供一种变压器故障检测系统,包括一个或多个处理器,存储器,以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置为由上述一个或多个处理器执行,上述一个或多个程序包括用于执行任意一种上述的基于多传感器的变压器的故障确定方法。The present application also provides a transformer fault detection system, comprising one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include a method for executing any one of the above-mentioned multi-sensor based transformer fault determination methods.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to the flowchart and/or block diagram of the method, device (system) and computer program product according to the embodiment of the present application. It should be understood that each process and/or box in the flowchart and/or block diagram, and the combination of the process and/or box in the flowchart and/or block diagram can be realized 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 produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for realizing the function specified in one process or multiple processes in the flowchart and/or one box or multiple boxes in the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPU), input/output interfaces, network interfaces, and memory.
存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。存储器是计算机可读介质的示例。The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and/or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
从以上的描述中,可以看出,本申请上述的实施例实现了如下技术效果:From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
1)、本申请的基于多传感器的变压器的故障确定方法,可以同时采集到不同传感器检测的信息,得到多个运行信息,综合分析多个运行信息,来评估变压器是否故障,相比单一传感器评估的方式准确率更高,可以提高变压器故障检测的准确性。1) The multi-sensor transformer fault determination method of the present application can simultaneously collect information detected by different sensors, obtain multiple operating information, and comprehensively analyze the multiple operating information to evaluate whether the transformer is faulty. Compared with the single sensor evaluation method, it has higher accuracy and can improve the accuracy of transformer fault detection.
2)、本申请的基于多传感器的变压器的故障确定装置,可以同时采集到不同传感器检测的信息,得到多个运行信息,综合分析多个运行信息,来评估变压器是否故障,相比单一传感器评估的方式准确率更高,可以提高变压器故障检测的准确性。2) The multi-sensor based transformer fault determination device of the present application can simultaneously collect information detected by different sensors, obtain multiple operating information, and comprehensively analyze the multiple operating information to evaluate whether the transformer is faulty. Compared with the single sensor evaluation method, it has higher accuracy and can improve the accuracy of transformer fault detection.
以上所述仅为本申请的优选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410701837.2A CN118534229A (en) | 2024-05-31 | 2024-05-31 | Transformer fault determination method and device based on multi-sensor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410701837.2A CN118534229A (en) | 2024-05-31 | 2024-05-31 | Transformer fault determination method and device based on multi-sensor |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118534229A true CN118534229A (en) | 2024-08-23 |
Family
ID=92387669
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410701837.2A Pending CN118534229A (en) | 2024-05-31 | 2024-05-31 | Transformer fault determination method and device based on multi-sensor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118534229A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118861869A (en) * | 2024-09-23 | 2024-10-29 | 中国电建集团山东电力建设第一工程有限公司 | A cable fault prediction method and system introducing uncertain factors |
CN119513499A (en) * | 2024-12-02 | 2025-02-25 | 南京大桥机器有限公司 | Remote fault monitoring method and system for vehicle-mounted mobile meteorological monitoring equipment |
CN119561957A (en) * | 2024-10-28 | 2025-03-04 | 浪潮通信技术有限公司 | Meteorological gateway system and multi-factor data collection method based on meteorological gateway system |
CN119917821A (en) * | 2025-04-02 | 2025-05-02 | 合肥工业大学 | A vibration reliability testing mechanism and testing method for vertical take-off and landing aircraft |
-
2024
- 2024-05-31 CN CN202410701837.2A patent/CN118534229A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118861869A (en) * | 2024-09-23 | 2024-10-29 | 中国电建集团山东电力建设第一工程有限公司 | A cable fault prediction method and system introducing uncertain factors |
CN119561957A (en) * | 2024-10-28 | 2025-03-04 | 浪潮通信技术有限公司 | Meteorological gateway system and multi-factor data collection method based on meteorological gateway system |
CN119513499A (en) * | 2024-12-02 | 2025-02-25 | 南京大桥机器有限公司 | Remote fault monitoring method and system for vehicle-mounted mobile meteorological monitoring equipment |
CN119917821A (en) * | 2025-04-02 | 2025-05-02 | 合肥工业大学 | A vibration reliability testing mechanism and testing method for vertical take-off and landing aircraft |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN118534229A (en) | Transformer fault determination method and device based on multi-sensor | |
US20250298397A1 (en) | Cooling system running method and apparatus, device, and storage medium | |
US8577663B2 (en) | System and methods for fault-isolation and fault-mitigation based on network modeling | |
US9141915B2 (en) | Method and apparatus for deriving diagnostic data about a technical system | |
US20120215450A1 (en) | Distinguishing between sensor and process faults in a sensor network with minimal false alarms using a bayesian network based methodology | |
US20150067153A1 (en) | Remote monitoring of data facility in real-time using wireless sensor network | |
US11941521B2 (en) | Vibrating machine automated diagnosis with supervised learning | |
CN111353911A (en) | Power equipment operation and maintenance method, system, equipment and storage medium | |
CN113015942B (en) | Method, device and system for data analysis | |
CN109791401A (en) | Generate the fault model for being used for embedded analysis and diagnosis/Forecast reasoning | |
US11115843B2 (en) | Method and device for managing multiple remote radio heads in communication network | |
CN116457671A (en) | Monitoring washing machine operation using machine learning analysis of acoustic transducer signal information | |
CN118911977A (en) | Water pump operation efficiency testing method, tester, equipment and medium | |
CN103616877B (en) | Monitoring diagnostic method and system for energy pipe network | |
CN119337464A (en) | Online health monitoring system for large-span roof grid steel structures | |
JP6967099B2 (en) | Learning model creation system and learning model creation method | |
CN119052055A (en) | Processing method and device for data transmission faults of distribution network terminal and electronic equipment | |
CN110490132B (en) | Data processing method and device | |
CN110875832B (en) | Abnormal service monitoring method, device and system and computer readable storage medium | |
CN118759873A (en) | Control method and device for smart home system, electronic device, and smart home system | |
Xin et al. | Dynamic probabilistic model checking for sensor validation in Industry 4.0 applications | |
JP2007293553A (en) | Field device diagnosis system and field device diagnosis method | |
CN111989896A (en) | Dependency control in a network of devices | |
JP2025517109A (en) | Real-time detection, prediction, and repair of sensor failures through a data-driven approach | |
Buga et al. | Towards modeling monitoring of smart traffic services in a large-scale distributed system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |