[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN116205375B - Pump station unit running state prediction method and system - Google Patents

Pump station unit running state prediction method and system Download PDF

Info

Publication number
CN116205375B
CN116205375B CN202310412702.XA CN202310412702A CN116205375B CN 116205375 B CN116205375 B CN 116205375B CN 202310412702 A CN202310412702 A CN 202310412702A CN 116205375 B CN116205375 B CN 116205375B
Authority
CN
China
Prior art keywords
data
self
unit
variable data
running state
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.)
Expired - Fee Related
Application number
CN202310412702.XA
Other languages
Chinese (zh)
Other versions
CN116205375A (en
Inventor
唐锚
刘秋生
万烁
赵柘
史晓宇
梁磊
侯欣伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing South Water To North Tuancheng Lake Co ltd
Original Assignee
Beijing South Water To North Tuancheng Lake Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing South Water To North Tuancheng Lake Co ltd filed Critical Beijing South Water To North Tuancheng Lake Co ltd
Priority to CN202310412702.XA priority Critical patent/CN116205375B/en
Publication of CN116205375A publication Critical patent/CN116205375A/en
Application granted granted Critical
Publication of CN116205375B publication Critical patent/CN116205375B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/20Administration of product repair or maintenance
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Biomedical Technology (AREA)
  • Evolutionary Computation (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Game Theory and Decision Science (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Development Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

The application provides a method and a system for predicting the running state of a pump station unit. The method comprises the following steps: collecting self-variable data and running state actual measurement data of unit running state prediction, deleting invalid data in the self-variable data and carrying out data preprocessing to obtain the self-variable data after data preprocessing; based on a bidirectional LSTM neural network, a unit running state prediction model is established; training and testing a unit running state prediction model by applying the self-variable data and running state actual measurement data which are subjected to data preprocessing; and predicting the change trend of the real-time running state of the pump station unit by applying the trained unit running state prediction model. According to the scheme provided by the application, the performance influence caused by the introduction of the abnormal value is fully considered, a data processing method of missing labels and multi-point fusion is designed, and the training calculation parameters of a network are effectively reduced; and secondly, multi-step long multi-element data preprocessing is realized, so that the difficulty in use of the multi-element data preprocessing in different scenes is reduced.

Description

一种泵站机组运行状态预测方法和系统A method and system for predicting the operating state of a pumping station unit

技术领域technical field

本发明属于泵站机组运行状态预测领域,尤其涉及一种泵站机组运行状态预测方法和系统。The invention belongs to the field of predicting the operating state of a pumping station unit, in particular to a method and system for predicting the operating state of a pumping station unit.

背景技术Background technique

机组状态变化趋势预测技术是实现机组事前维护的重要手段,根据机组历史和现在的运行状态,推测未来的机组工作状态的发展趋势。泵站机组属于大型工程机组,由主电机组和水机组等多组设备组成,其运行工况复杂,判断其运行安全的主要指标是温度、振动和摆度,因此目前研究泵站机组运行状态主要依托于机组电气数据、温度参数和振动等参数。电气和温度这些传感器在实际应用中比较成熟、易于获得,然而机组振动和摆度参数在获取时容易受运行环境中的噪声和机械等原因影响导致获取值失效,因此评估泵站机组运行状态首先要展开对振动和摆度数据的预测,进而实现泵站机组状态变化趋势预测。The unit status change trend prediction technology is an important means to realize unit maintenance in advance. According to the history and current operation status of the unit, the future development trend of the unit’s working status can be predicted. The pumping station unit is a large-scale engineering unit, which is composed of multiple sets of equipment such as the main motor unit and the water unit. Its operating conditions are complex, and the main indicators for judging its operation safety are temperature, vibration and swing. Mainly rely on the unit electrical data, temperature parameters and vibration parameters. Electrical and temperature sensors are relatively mature and easy to obtain in practical applications. However, the vibration and swing parameters of the unit are easily affected by noise and mechanical factors in the operating environment when they are acquired, resulting in invalid values. Therefore, the first step to evaluate the operating status of the pumping station unit It is necessary to carry out the prediction of vibration and swing data, and then realize the prediction of the state change trend of the pumping station unit.

泵站机组已经积累了一定量的历史运行数据,其中包括了机组实时运行数据、机组启动时间数据和供电模块等数据,寻找表征机组主设备运行状况的特征参数,实现泵站机组运行状态监测和预测,通过机组运行状态趋势的预测来评估机组主设备的健康状态,可有效地判断当前泵站的运行状态,进而预测机组运行异常发生的可能性与时间,分析各类监控设备的工作状态,发现设备异常和故障征兆,并根据异常种类和级别,在系统中生成报警记录,为实现泵站辅助机组的智能运维和长效保证机组生产安全提供技术支持。The pumping station unit has accumulated a certain amount of historical operation data, including the real-time operation data of the unit, the start-up time data of the unit and the data of the power supply module, etc., to find the characteristic parameters that characterize the operation status of the main equipment of the unit, and realize the monitoring and monitoring of the operation status of the pumping station unit. Prediction: Evaluate the health status of the main equipment of the unit through the forecast of the unit’s operating status trend, which can effectively judge the current operating status of the pumping station, and then predict the possibility and time of the abnormal operation of the unit, and analyze the working status of various monitoring equipment. Detect equipment abnormalities and fault symptoms, and generate alarm records in the system according to the type and level of abnormalities, providing technical support for the intelligent operation and maintenance of auxiliary units of the pumping station and long-term guarantee of production safety of the units.

目前在机组运行状态变化趋势预测的研究主要是通过对泵站机组振动和摆度等状态数据采集,将机组状态监视图、棒图、表格等形式显示,展示各个参数的数值、峰峰值以及一些时频特性,以统计学的方式来展示设备状态等。面对这样海量的监测数据常具有时变性和多变量耦合性,变量间存在着复杂的关联关系与变化机理,传统数据统计方法在缺乏先验知识的情况下很难实现对机组运行状态监测和趋势预测。At present, the research on the trend prediction of the operating state of the unit is mainly through the collection of state data such as vibration and swing of the pumping station unit, and displaying the unit status monitoring diagram, bar graph, table, etc., showing the value, peak-peak value and some parameters of each parameter. Time-frequency characteristics, showing the status of equipment in a statistical way. In the face of such massive monitoring data, which often has time-varying and multivariate coupling, and there are complex correlations and change mechanisms among variables, it is difficult for traditional data statistical methods to monitor and control the operating status of units in the absence of prior knowledge. Trend forecasting.

发明内容Contents of the invention

为解决上述技术问题,本发明提出一种泵站机组运行状态预测方法的技术方案,以解决上述技术问题。In order to solve the above-mentioned technical problems, the present invention proposes a technical proposal of a method for predicting the operating state of pumping station units to solve the above-mentioned technical problems.

本发明第一方面公开了一种泵站机组运行状态预测方法,所述方法包括:The first aspect of the present invention discloses a method for predicting the operating state of a pumping station unit, the method comprising:

步骤S1、基于机组运行的时序数据,采集机组运行状态预测的自变量数据和运行状态实测数据,删除自变量数据中的无效数据;Step S1, based on the time-series data of unit operation, collect the independent variable data of unit operating state prediction and the actual measurement data of operating state, and delete invalid data in the independent variable data;

步骤S2、对删除无效数据的自变量数据进行数据预处理,得到数据预处理后的自变量数据;Step S2, performing data preprocessing on the independent variable data from which invalid data is deleted, to obtain the independent variable data after data preprocessing;

步骤S3、基于双向LSTM神经网络,建立机组运行状态预测模型;应用数据预处理后的自变量数据和运行状态实测数据对所述机组运行状态预测模型进行训练和测试;Step S3, based on the bidirectional LSTM neural network, establish a unit operation state prediction model; apply the independent variable data after data preprocessing and the actual measurement data of the operation state to train and test the unit operation state prediction model;

步骤S4、应用训练好的机组运行状态预测模型对泵站机组实时运行状态的变化趋势进行预测。Step S4, applying the trained unit operation state prediction model to predict the change trend of the real-time operation state of the pumping station unit.

根据本发明第一方面的方法,在所述步骤S1中,所述自变量数据包括:机组推力轴瓦温度、上导瓦温度、定子绕组温度、下导瓦温度、电流、电压、有功功率、无功功率、功率因数和机组振动摆度;所述运行状态实测数据包括:机组振动和摆度状态。According to the method of the first aspect of the present invention, in the step S1, the independent variable data include: thrust bearing bush temperature, upper guide shoe temperature, stator winding temperature, lower guide shoe temperature, current, voltage, active power, reactive power Work power, power factor, and unit vibration swing; the measured operating state data includes: unit vibration and swing state.

根据本发明第一方面的方法,在所述步骤S1中,所述删除自变量数据中的无效数据的方法包括:According to the method of the first aspect of the present invention, in the step S1, the method for deleting invalid data in the argument data includes:

对所述自变量数据进行抽样稀释,然后在抽样稀释后的自变量数据中删除为空或者量程外的异常值,并记录所述异常值的时间戳;Sampling and diluting the independent variable data, and then deleting null or out-of-range abnormal values in the sample-diluted independent variable data, and recording the time stamp of the abnormal value;

在删除异常值的自变量数据中,对删除异常值的数据点位和时间戳进行缺失矩阵的生成,标注所述数据点位和时间戳为数据异常。In the independent variable data with outliers removed, a missing matrix is generated for the data points and time stamps with outliers removed, and the data points and time stamps are marked as data anomalies.

根据本发明第一方面的方法,在所述步骤S2中,所述对删除无效数据的自变量数据进行数据预处理的方法包括:According to the method of the first aspect of the present invention, in the step S2, the method for performing data preprocessing on the independent variable data for deleting invalid data includes:

对同一设备的多采集点位的自变量数据的数值进行加权平均融合。The weighted average fusion is performed on the values of the independent variable data of multiple collection points of the same equipment.

根据本发明第一方面的方法,在所述步骤S2中,所述对删除无效数据的自变量数据进行数据预处理的方法还包括:According to the method of the first aspect of the present invention, in the step S2, the method of performing data preprocessing on the independent variable data for deleting invalid data further includes:

对于包含标注数据异常的数据点位的自变量数据进行样本实例归一化。Sample instance normalization is performed on the independent variable data that contains data points that are anomalous in the labeled data.

根据本发明第一方面的方法,在所述步骤S2中,所述对删除无效数据的自变量数据进行数据预处理的方法还包括:According to the method of the first aspect of the present invention, in the step S2, the method of performing data preprocessing on the independent variable data for deleting invalid data further includes:

对不同预测时长的自变量数据进行层归一化。Stratified normalization of the independent variable data for different forecast durations.

根据本发明第一方面的方法,在所述步骤S3中,所述基于双向LSTM神经网络,建立机组运行状态预测模型的方法包括:According to the method of the first aspect of the present invention, in the step S3, the method of establishing a unit operating state prediction model based on the bidirectional LSTM neural network includes:

使用多层堆叠的双向LSTM神经网络建立机组运行状态预测模型;Use a multi-layer stacked bidirectional LSTM neural network to establish a unit operating status prediction model;

所述机组运行状态预测模型的输入层神经元数量等于所述自变量数据的维度数量。The number of neurons in the input layer of the unit operating state prediction model is equal to the number of dimensions of the independent variable data.

本发明第二方面公开了一种泵站机组运行状态预测系统,所述系统包括:The second aspect of the present invention discloses a system for predicting the operating state of pumping station units, the system comprising:

第一处理模块,被配置为,基于机组运行的时序数据,采集机组运行状态预测的自变量数据和运行状态实测数据,删除自变量数据中的无效数据;The first processing module is configured to, based on the time-series data of unit operation, collect independent variable data of unit operating state prediction and operating state measured data, and delete invalid data in the independent variable data;

第二处理模块,被配置为,对删除无效数据的自变量数据进行数据预处理,得到数据预处理后的自变量数据;The second processing module is configured to perform data preprocessing on the independent variable data from which invalid data is deleted, to obtain the independent variable data after data preprocessing;

第三处理模块,被配置为,基于双向LSTM神经网络,建立机组运行状态预测模型;应用数据预处理后的自变量数据和运行状态实测数据对所述机组运行状态预测模型进行训练和测试;The third processing module is configured to, based on the bidirectional LSTM neural network, establish a unit operation state prediction model; apply the independent variable data after data preprocessing and the operation state measured data to train and test the unit operation state prediction model;

第四处理模块,被配置为,应用训练好的机组运行状态预测模型对泵站机组实时运行状态的变化趋势进行预测。The fourth processing module is configured to use the trained unit operation state prediction model to predict the change trend of the real-time operation state of the pumping station unit.

根据本发明第二方面的系统,所述第一处理模块,被配置为,所述自变量数据包括:机组推力轴瓦温度、上导瓦温度、定子绕组温度、下导瓦温度、电流、电压、有功功率、无功功率、功率因数和机组振动摆度;所述运行状态实测数据包括:机组振动和摆度状态。According to the system of the second aspect of the present invention, the first processing module is configured such that the independent variable data includes: thrust bearing pad temperature, upper guide pad temperature, stator winding temperature, lower guide pad temperature, current, voltage, Active power, reactive power, power factor, and vibration swing of the unit; the measured data of the operating state includes: the vibration and swing state of the unit.

根据本发明第二方面的系统,所述第一处理模块,被配置为,所述删除自变量数据中的无效数据包括:According to the system of the second aspect of the present invention, the first processing module is configured such that the deleting invalid data in the argument data includes:

对所述自变量数据进行抽样稀释,然后在抽样稀释后的自变量数据中删除为空或者量程外的异常值,并记录所述异常值的时间戳;Sampling and diluting the independent variable data, and then deleting null or out-of-range abnormal values in the sample-diluted independent variable data, and recording the time stamp of the abnormal value;

在删除异常值的自变量数据中,对删除异常值的数据点位和时间戳进行缺失矩阵的生成,标注所述数据点位和时间戳为数据异常。In the independent variable data with outliers removed, a missing matrix is generated for the data points and time stamps with outliers removed, and the data points and time stamps are marked as data anomalies.

根据本发明第二方面的系统,所述第二处理模块,被配置为,所述对删除无效数据的自变量数据进行数据预处理包括:According to the system of the second aspect of the present invention, the second processing module is configured such that the data preprocessing of the independent variable data for deleting invalid data includes:

对同一设备的多采集点位的自变量数据的数值进行加权平均融合。The weighted average fusion is performed on the values of the independent variable data of multiple collection points of the same equipment.

根据本发明第二方面的系统,所述第二处理模块,被配置为,所述对删除无效数据的自变量数据进行数据预处理还包括:According to the system according to the second aspect of the present invention, the second processing module is configured such that the data preprocessing of the independent variable data for deleting invalid data further includes:

对于包含标注数据异常的数据点位的自变量数据进行样本实例归一化。Sample instance normalization is performed on the independent variable data that contains data points that are anomalous in the labeled data.

根据本发明第二方面的系统,所述第二处理模块,被配置为,所述对删除无效数据的自变量数据进行数据预处理还包括:According to the system according to the second aspect of the present invention, the second processing module is configured such that the data preprocessing of the independent variable data for deleting invalid data further includes:

对不同预测时长的自变量数据进行层归一化。Stratified normalization of the independent variable data for different forecast durations.

根据本发明第二方面的系统,所述第三处理模块,被配置为,所述基于双向LSTM神经网络,建立机组运行状态预测模型包括:According to the system according to the second aspect of the present invention, the third processing module is configured such that, based on the bidirectional LSTM neural network, establishing a unit operation state prediction model includes:

使用多层堆叠的双向LSTM神经网络建立机组运行状态预测模型;Use a multi-layer stacked bidirectional LSTM neural network to establish a unit operating status prediction model;

所述机组运行状态预测模型的输入层神经元数量等于所述自变量数据的维度数量。The number of neurons in the input layer of the unit operating state prediction model is equal to the number of dimensions of the independent variable data.

本发明第三方面公开了一种电子设备。电子设备包括存储器和处理器,存储器存储有计算机程序,处理器执行计算机程序时,实现本公开第一方面中任一项的一种泵站机组运行状态预测方法中的步骤。The third aspect of the present invention discloses an electronic device. The electronic device includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the steps in the method for predicting the operating state of the pumping station unit in any one of the first aspects of the present disclosure are realized.

本发明第四方面公开了一种计算机可读存储介质。计算机可读存储介质上存储有计算机程序,计算机程序被处理器执行时,实现本公开第一方面中任一项的一种泵站机组运行状态预测方法中的步骤。A fourth aspect of the present invention discloses a computer readable storage medium. A computer program is stored on the computer-readable storage medium, and when the computer program is executed by the processor, the steps in the method for predicting the operating state of the pumping station unit in any one of the first aspects of the present disclosure are realized.

本发明提出的方案,在不损失原始数据语义信息的设计下,充分考虑了异常值引入的性能影响,设计了缺失标注和多点位融合的数据处理方法,有效地减少了网络的训练计算参数,大大降低了计算复杂度;其次,实现了多步时长的多元数据预处理,使得其在不同场景下的使用方面降低了难度,增加了适用性。The solution proposed by the present invention fully considers the performance impact of the introduction of outliers without losing the semantic information of the original data, and designs a data processing method for missing labels and multi-point fusion, which effectively reduces the network training calculation parameters , which greatly reduces the computational complexity; secondly, multi-step multivariate data preprocessing is realized, which reduces the difficulty of its use in different scenarios and increases its applicability.

附图说明Description of drawings

为了更清楚地说明本发明具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the specific implementation of the present invention or the technical solutions in the prior art, the following will briefly introduce the accompanying drawings that need to be used in the specific implementation or description of the prior art. Obviously, the accompanying drawings in the following description The drawings show some implementations of the present invention, and those skilled in the art can obtain other drawings based on these drawings without any creative effort.

图1为根据本发明实施例的一种泵站机组运行状态预测方法的流程图;1 is a flow chart of a method for predicting the operating state of a pumping station unit according to an embodiment of the present invention;

图2为根据本发明实施例的自变量数据示意图;Fig. 2 is a schematic diagram of independent variable data according to an embodiment of the present invention;

图3为根据本发明实施例的LSTM神经网络结构示意图;Fig. 3 is a schematic diagram of the structure of an LSTM neural network according to an embodiment of the present invention;

图4a为根据本发明实施例的单步时长滚动预测机组运行状态变化趋势图;Fig. 4a is a single-step duration rolling prediction unit operating state change trend diagram according to an embodiment of the present invention;

图4b为根据本发明实施例的多步时长滚动预测机组运行状态变化趋势图;Fig. 4b is a multi-step duration rolling prediction trend diagram of unit operating state change according to an embodiment of the present invention;

图5为根据本发明实施例的一种泵站机组运行状态预测系统的结构图;5 is a structural diagram of a system for predicting the operating state of a pumping station unit according to an embodiment of the present invention;

图6为根据本发明实施例的一种电子设备的结构图。Fig. 6 is a structural diagram of an electronic device according to an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例只是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is only some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

本发明第一方面公开了一种泵站机组运行状态预测方法。图1为根据本发明实施例的一种泵站机组运行状态预测方法的流程图,如图1所示,所述方法包括:The first aspect of the present invention discloses a method for predicting the operating state of a pumping station unit. Fig. 1 is a flow chart of a method for predicting the operating state of a pumping station unit according to an embodiment of the present invention. As shown in Fig. 1 , the method includes:

步骤S1、基于机组运行的时序数据,采集机组运行状态预测的自变量数据和运行状态实测数据,删除自变量数据中的无效数据;Step S1, based on the time-series data of unit operation, collect the independent variable data of unit operating state prediction and the actual measurement data of operating state, and delete invalid data in the independent variable data;

步骤S2、对删除无效数据的自变量数据进行数据预处理,得到数据预处理后的自变量数据;Step S2, performing data preprocessing on the independent variable data from which invalid data is deleted, to obtain the independent variable data after data preprocessing;

步骤S3、基于双向LSTM神经网络,建立机组运行状态预测模型;应用数据预处理后的自变量数据和运行状态实测数据对所述机组运行状态预测模型进行训练和测试;Step S3, based on the bidirectional LSTM neural network, establish a unit operation state prediction model; apply the independent variable data after data preprocessing and the actual measurement data of the operation state to train and test the unit operation state prediction model;

步骤S4、应用训练好的机组运行状态预测模型对泵站机组实时运行状态的变化趋势进行预测。Step S4, applying the trained unit operation state prediction model to predict the change trend of the real-time operation state of the pumping station unit.

在步骤S1,基于机组运行的时序数据,采集机组运行状态预测的自变量数据和运行状态实测数据,删除自变量数据中的无效数据(因传感器故障等原因的无效数据)。In step S1, based on the time-series data of unit operation, the independent variable data of unit operating state prediction and the actual measurement data of operating state are collected, and invalid data in the independent variable data (invalid data due to sensor failure and other reasons) are deleted.

在一些实施例中,在所述步骤S1中,如图2所示,所述自变量数据包括:机组推力轴瓦温度、上导瓦温度、定子绕组温度、下导瓦温度、电流、电压、有功功率、无功功率、功率因数和机组振动摆度;所述运行状态实测数据包括:机组振动和摆度状态。In some embodiments, in the step S1, as shown in FIG. 2 , the independent variable data includes: thrust bearing pad temperature, upper guide pad temperature, stator winding temperature, lower guide pad temperature, current, voltage, active power power, reactive power, power factor, and unit vibration swing; the measured operating state data includes: unit vibration and swing state.

机组推力轴瓦温度、上导瓦温度、定子绕组温度和下导瓦温度为机组温度部分参数;The unit thrust bearing bush temperature, upper guide bush temperature, stator winding temperature and lower guide bush temperature are part of the temperature parameters of the unit;

电流、电压、有功功率、无功功率和功率因数为机组电气部分参数;Current, voltage, active power, reactive power and power factor are the electrical parameters of the unit;

所述删除自变量数据中的无效数据的方法包括:The method for deleting invalid data in the independent variable data includes:

对所述自变量数据进行抽样稀释,然后在抽样稀释后的自变量数据中删除为空或者量程外的异常值,并记录所述异常值的时间戳;Sampling and diluting the independent variable data, and then deleting null or out-of-range abnormal values in the sample-diluted independent variable data, and recording the time stamp of the abnormal value;

在删除异常值的自变量数据中,对删除异常值的数据点位和时间戳进行缺失矩阵的生成,标注所述数据点位和时间戳为数据异常。In the independent variable data with outliers removed, a missing matrix is generated for the data points and time stamps with outliers removed, and the data points and time stamps are marked as data anomalies.

具体地,以泵站机组工控网机组温度参数6维、电气参数9维和水机参数2维共17维数据为自变量数据,以机组振动为运行状态实测数据。因为泵站工控库中数据时间跨度大且采样频率高,这样的数据在短时间内不利于对机组运行状态的监测和趋势的预测,同时为了保证数据的多样性,因此在训练时选其中两个相对补位运行的泵站机组一年的运行状态数据作为进行训练数据,将数据按照4:1的比例进行抽样稀释,删除因传感器故障等原因的无效数据后,标注删除点位和删除时间戳。Specifically, 17-dimensional data in total of 6-dimensional electrical parameters, 9-dimensional electrical parameters, and 2-dimensional water machine parameters of the industrial control network of the pumping station unit are used as independent variable data, and the vibration of the unit is used as the actual measurement data of the operating state. Because the data in the industrial control database of the pumping station has a large time span and a high sampling frequency, such data is not conducive to the monitoring of the operating status of the unit and the prediction of the trend in a short period of time. In order to ensure the diversity of the data, two of them are selected during training The one-year operating status data of a pumping station unit in relatively supplementary operation is used as training data, and the data is sampled and diluted at a ratio of 4:1. After deleting invalid data due to sensor failure and other reasons, mark the deletion point and deletion time. stamp.

在步骤S2,对删除无效数据的自变量数据进行数据预处理,得到数据预处理后的自变量数据。In step S2, data preprocessing is performed on the independent variable data from which invalid data has been deleted, and the independent variable data after data preprocessing is obtained.

在一些实施例中,在所述步骤S2中,所述对删除无效数据的自变量数据进行数据预处理的方法包括:In some embodiments, in the step S2, the method for performing data preprocessing on the independent variable data for deleting invalid data includes:

对同一设备的多采集点位的自变量数据的数值进行加权平均融合,加权取值范围为:0.95-1.05,初步降低数据维度,且排除误差影响。The weighted average fusion is carried out on the values of the independent variable data of multiple collection points of the same device. The weighted value range is: 0.95-1.05, which initially reduces the data dimension and eliminates the influence of errors.

对于包含标注数据异常的数据点位的自变量数据进行样本实例归一化,并将其按时序关系存放在。The sample instance normalization is performed on the independent variable data containing the abnormal data points of the labeled data, and it is stored in the time series.

对不同预测时长的自变量数据进行层归一化。Stratified normalization of the independent variable data for different forecast durations.

具体地,将删除无效数据的自变量数据按8:2划分为训练集和测试集,训练过程结合实际机组运行情况,设置了单时长滚动预测实验和多时长(例如12个时间间隔)滚动预测实验2个预测实验,针对预测时长不同,首先进行删除点位判断,对包含有删除点位的自变量数据进行样本实例归一化,再对批量样本进行层归一化。Specifically, the independent variable data whose invalid data is deleted is divided into training set and test set according to 8:2. The training process is combined with the actual unit operation, and a single-duration rolling forecast experiment and a multi-duration (for example, 12 time intervals) rolling forecast are set up. Experiment 2 prediction experiments, according to the different forecasting time, first judge the deletion point, perform sample instance normalization on the independent variable data containing the deletion point, and then perform layer normalization on the batch samples.

在步骤S3,基于双向LSTM神经网络,建立机组运行状态预测模型;应用数据预处理后的自变量数据和运行状态实测数据对所述机组运行状态预测模型进行训练和测试。In step S3, based on the bidirectional LSTM neural network, a unit operation state prediction model is established; the unit operation state prediction model is trained and tested using the independent variable data after data preprocessing and the operation state measurement data.

在一些实施例中,在所述步骤S3中,所述基于双向LSTM神经网络,建立机组运行状态预测模型的方法包括:In some embodiments, in the step S3, the method of establishing a unit operating state prediction model based on a bidirectional LSTM neural network includes:

使用多层堆叠的双向LSTM神经网络建立机组运行状态预测模型;Use a multi-layer stacked bidirectional LSTM neural network to establish a unit operating status prediction model;

所述机组运行状态预测模型的输入层神经元数量等于所述自变量数据的维度。The number of neurons in the input layer of the unit operating state prediction model is equal to the dimension of the independent variable data.

具体地,基于双向LSTM神经网络,建立机组运行状态预测模型,实现机组运行多元时序数据的单步滚动预测和多步滚动预测:为了更好地拟合多元长距离机组运行时序数据,使用多层堆叠的双向LSTM神经网络,输入层神经元数量等于数据维度,输出层为机组运行状态预测值,使用线性全连接的方式将结果传递给输出层。Specifically, based on the bidirectional LSTM neural network, a unit operating state prediction model is established to realize single-step rolling prediction and multi-step rolling prediction of multivariate time-series data of unit operation: in order to better fit multivariate long-distance unit operation time-series data, multi-layer Stacked bidirectional LSTM neural network, the number of neurons in the input layer is equal to the data dimension, the output layer is the predicted value of the unit's operating status, and the results are passed to the output layer in a linear full connection manner.

LSTM神经网络的核心在于通过三个门来添加、删除或者更新单元状态的数据,最终达到对信息流的控制。具体来说,Sigmoid层和点乘操作组成了所谓的“门”,LSTM神经网络拥有三个门,分别是输入门、输出门、遗忘门,这些门可以选择性的通过信息。所有的LSTM神经网络都具有重复神经网络模块的链式形式,且重复模块中以层与堆叠的方式进行交互,LSTM神经网络的网络结构如图3所示。The core of the LSTM neural network is to add, delete or update the data of the unit state through three gates, and finally achieve the control of the information flow. Specifically, the Sigmoid layer and the dot product operation form the so-called "gate". The LSTM neural network has three gates, namely the input gate, the output gate, and the forgetting gate. These gates can selectively pass information. All LSTM neural networks have a chain form of repeated neural network modules, and the repeated modules interact in a layer and stacked manner. The network structure of the LSTM neural network is shown in Figure 3.

其中,ft是遗忘门,决定前一时刻单元状态c(t-1)中的信息哪些被保存到当前时刻的单元状态ct中;it是输入门,判断当前时刻哪些有用的信息需要被记录在单元状态里;ot是输出门,控制单元状态中输出多少信息到当前的输出值ht中。各个门的计算公式如下:Among them, f t is the forget gate, which determines which information in the unit state c (t-1) at the previous moment is saved in the unit state c t at the current moment; it is the input gate, which determines which useful information needs to be is recorded in the unit state; o t is the output gate, how much information is output in the control unit state to the current output value h t . The calculation formula of each door is as follows:

其中,σ代表sigmoid层,ht-1代表前一时刻的隐藏层的输出值,xt代表当前时刻的输入数据,[ht-1,xt]代表把两个向量拼接在一起,wf、wi、wo分别代表遗忘门、输入门和输出门的权重矩阵,bf、bi、bo分别代表遗忘门、输入门和输出门的偏置项。LSTM神经网络的最终输出ht由ot和单元状态ct共同决定。计算公式如下:Among them, σ represents the sigmoid layer, h t-1 represents the output value of the hidden layer at the previous moment, x t represents the input data at the current moment, [h t-1 ,x t ] represents the splicing of two vectors together, w f , w i , and w o represent the weight matrices of the forget gate, input gate, and output gate, respectively, and b f , bi , and b o represent the bias items of the forget gate, input gate, and output gate, respectively. The final output h t of the LSTM neural network is jointly determined by o t and the unit state c t . Calculated as follows:

其中,ct代表单元状态,ct-1代表前一时刻的单元状态,表示当前时刻的临时单元状态,bc代表单元状态的偏置,tanh()代表激活函数。Among them, ct represents the cell state, ct -1 represents the cell state at the previous moment, and represents the temporary cell state at the current moment, bc represents the bias of the cell state, and tanh() represents the activation function.

在网络参数初始化中,使用0到1的随机数对各层的输入门状态in t、遗忘门状态fn t、输出门状态on t、细胞状态Cn t、隐藏层状态hn t进行了初始化;使用0到0.5的随机数对各层反向传播遗忘门的权值矩阵Wn fh、反向传播输入门的权值矩阵Wn ih、反向传播计算单元状态的权值矩阵Wn ch、反向传播输出门的权值矩阵Wn oh、反向传播遗忘门的权值矩阵Wn fx、反向传播输入门的权值矩阵Wn ix、反向传播计算单元状态的权值矩阵Wn cx、沿网络线反向传播输出门的权值矩阵Wn ox进行了初始化,n表示多层堆叠的双向LSTM神经网络的层。本实施例采用多层堆叠的方式将5个单层100个隐藏节点的LSTM神经网络串联起来,并建立了模型双向运行机制使得模型可以更好地获取输入数据的语义特征。In the initialization of network parameters, random numbers from 0 to 1 are used to set the input gate state in t , the forgetting gate state f n t , the output gate state on t , the cell state C n t , and the hidden layer state h n t of each layer. Initialized; use random numbers from 0 to 0.5 to weight matrix W n fh of the backpropagation forgetting gate of each layer, weight matrix W n ih of the input gate of backpropagation, and weight matrix of the state of the backpropagation calculation unit W n ch , the weight matrix W n oh of the backpropagation output gate, the weight matrix W n fx of the backpropagation forgetting gate, the weight matrix W n ix of the backpropagation input gate, the state of the backpropagation calculation unit The weight matrix W n cx and the weight matrix W n ox of the output gate of the backpropagation along the network line are initialized, and n represents the layer of the bidirectional LSTM neural network stacked by multiple layers. In this embodiment, five single-layer LSTM neural networks with 100 hidden nodes are connected in series in a multi-layer stacking manner, and a two-way operation mechanism of the model is established so that the model can better obtain the semantic features of the input data.

考虑实际使用需求,设置不同时长间隔的滚动预测方法,如提前一天或几个小时的情况,将训练集分批次按预测需求加载到多层堆叠的双向LSTM神经网络中进行预测训练;Considering actual usage requirements, set rolling forecasting methods with different time intervals, such as one day or several hours in advance, and load the training set in batches into the multi-layer stacked bidirectional LSTM neural network for forecasting training;

训练过程MAE和MSE误差会随着迭代过程的进行而减小;The MAE and MSE errors of the training process will decrease as the iterative process proceeds;

式中,n为批量大小,为预测值,yi为真实值。In the formula, n is the batch size, which is the predicted value, and y i is the real value.

为了加快模型训练过程考虑使用损失为MAE加上N倍的MSE做为损失惩戒回传。模型是否能达到理想性能,依赖于模型评价指标。选择R2、MAPE以及单批次耗时作为模型的评价指标体系。R2的计算公式如下所示: In order to speed up the model training process, consider using the loss of MAE plus N times MSE as the loss penalty return. Whether the model can achieve the ideal performance depends on the model evaluation index. R 2 , MAPE and single batch time consumption are selected as the evaluation index system of the model. The formula for calculating R2 is as follows:

MAPE的计算公式如下所示: The calculation formula of MAPE is as follows:

在实验平台为Ubuntu18.04操作系统下PyTorch框架的深度学习环境,结合评价指标进行模型迭代训练,训练过程采用高迭代次数训练,迭代次数为2000,超参设置为:批量大小设置为2000,学习率为0.0001,模型优化器使用Adam算法,使用MSE误差与N倍的MAE误差多种误差叠加的方式计算预测值与真值之间的误差,并进行反馈以优化模型的训练;算法选择R2、MAPE以及单批次耗时作为模型的评价指标体系,实例预测结果如图4a 所示为单步时长滚动预测机组运行状态中振动变化趋势,从左上到右下,分别表示全部批次和部分批次中预测值与真实值之间数值归一化后的误差,模型收敛时得到模型MSE损失为0.00065,MAE为0.0101,R2为0.9409,模型测试MSE损失为0.00244,MAE为0.0224,R2为0.7487;图4b为多步时长滚动预测,从左上到右下,分别表示全部批次和部分批次中预测值与真实值之间数值归一化后的误差,在模型收敛时,得到模型MSE损失为0.0014,MAE为0.017,R2为0.943,测试结果为模型MSE损失为0.0091,MAE为0.0461,R2为0.7819,两个实验的对比体现了泵站机组运行状态在时间上呈现了更多的相关性。The experimental platform is the deep learning environment of the PyTorch framework under the Ubuntu 18.04 operating system, and the model is iteratively trained in combination with the evaluation indicators. The training process uses a high number of iterations. The number of iterations is 2000. The rate is 0.0001, the model optimizer uses the Adam algorithm, and uses the MSE error and N times the MAE error to calculate the error between the predicted value and the true value, and feedback to optimize the training of the model; algorithm selection R 2 , MAPE, and single-batch time consumption are used as the evaluation index system of the model. The example prediction results are shown in Figure 4a, which is the single-step time-length rolling prediction of the vibration change trend in the operating state of the unit. From the upper left to the lower right, it represents the whole batch and part The error after numerical normalization between the predicted value and the true value in the batch, when the model converges, the model MSE loss is 0.00065, the MAE is 0.0101, and the R 2 is 0.9409. The model test MSE loss is 0.00244, the MAE is 0.0224, and the R 2 is 0.7487; Figure 4b is a multi-step time-length rolling forecast, from upper left to lower right, respectively represents the error after numerical normalization between the predicted value and the real value in all batches and some batches, when the model converges, the model The MSE loss is 0.0014, the MAE is 0.017, and the R 2 is 0.943. The test results show that the model MSE loss is 0.0091, the MAE is 0.0461, and the R 2 is 0.7819. The comparison between the two experiments shows that the operating state of the pumping station unit has a more rapid development in time. Many correlations.

在步骤S4,应用训练好的机组运行状态预测模型对泵站机组实时运行状态的变化趋势进行预测。In step S4, the trained unit operating state prediction model is used to predict the change trend of the real-time operating state of the pumping station unit.

具体地,结合泵站机组工控网网络特性和设备特性,部署Python语言相关开发环境以及相关应用,功能参见实际需求,同时部署机组运行状态变化趋势预测模型,设置预测时长和GPU设备使用。Specifically, in combination with the network characteristics and equipment characteristics of the industrial control network of the pumping station unit, the Python language-related development environment and related applications are deployed. The functions refer to the actual needs. At the same time, the unit operation status change trend prediction model is deployed, and the prediction time and GPU device usage are set.

结合泵站机组工控网数据获取方法,使用Python编程可获取到机组运行实时数据,将其动态添加到目标数据库中,按时间序列存放,通过步骤1对数据进行过滤和标注和步骤2的降维和归一化处理。Combined with the data acquisition method of the industrial control network of the pumping station unit, use Python programming to obtain the real-time data of the unit operation, dynamically add it to the target database, store it in time series, filter and label the data through step 1 and reduce the dimension and sum of step 2 Normalized processing.

按照预测时长需求进行机组状态变化趋势预测,并进行对预测结果进行可视化展示,结合泵站管理相关规定,对预测值进行风险等级评估与报警。Predict the status change trend of the unit according to the forecast time requirement, and visually display the forecast results, and combine the relevant regulations of the pumping station management to evaluate the risk level of the predicted value and give an alarm.

综上,本发明提出的方案能够适用于机组运行状态监测和发展预测,无需过多数据预处理,计算复杂度低,预测误差低,可对时序数据进行多步长时序预测,适用范围广。实验表明该方法能够有效地进行机组运行状态变化趋势预测。To sum up, the solution proposed by the present invention can be applied to unit operation status monitoring and development prediction, without excessive data preprocessing, low computational complexity, low prediction error, multi-step time series prediction for time series data, and wide application range. Experiments show that this method can effectively predict the changing trend of unit operating status.

本发明第二方面公开了一种泵站机组运行状态预测系统。图5为根据本发明实施例的一种泵站机组运行状态预测系统的结构图;如图5所示,所述系统100包括:The second aspect of the present invention discloses a system for predicting the operating state of pumping station units. Fig. 5 is a structural diagram of a system for predicting the operating state of pumping station units according to an embodiment of the present invention; as shown in Fig. 5, the system 100 includes:

第一处理模块101,被配置为,基于机组运行的时序数据,采集机组运行状态预测的自变量数据和运行状态实测数据,删除自变量数据中的无效数据;The first processing module 101 is configured to, based on the time-series data of unit operation, collect independent variable data of unit operating state prediction and operating state measured data, and delete invalid data in the independent variable data;

第二处理模块102,被配置为,对删除无效数据的自变量数据进行数据预处理,得到数据预处理后的自变量数据;The second processing module 102 is configured to perform data preprocessing on the independent variable data from which invalid data is deleted, to obtain the independent variable data after data preprocessing;

第三处理模块103,被配置为,基于双向LSTM神经网络,建立机组运行状态预测模型;应用数据预处理后的自变量数据和运行状态实测数据对所述机组运行状态预测模型进行训练和测试;The third processing module 103 is configured to, based on the bidirectional LSTM neural network, establish a unit operation state prediction model; apply the independent variable data after data preprocessing and the operation state actual measurement data to train and test the unit operation state prediction model;

第四处理模块104,被配置为,应用训练好的机组运行状态预测模型对泵站机组实时运行状态的变化趋势进行预测。The fourth processing module 104 is configured to use the trained unit operation state prediction model to predict the change trend of the real-time operation state of the pumping station unit.

根据本发明第二方面的系统,所述第一处理模块101,被配置为,所述自变量数据包括:机组推力轴瓦温度、上导瓦温度、定子绕组温度、下导瓦温度、电流、电压、有功功率、无功功率、功率因数和机组振动摆度;所述运行状态实测数据包括:机组振动和摆度状态。According to the system of the second aspect of the present invention, the first processing module 101 is configured such that the independent variable data includes: thrust bearing pad temperature, upper guide pad temperature, stator winding temperature, lower guide pad temperature, current, voltage , active power, reactive power, power factor and unit vibration swing; the measured operating state data includes: unit vibration and swing state.

根据本发明第二方面的系统,所述第一处理模块101,被配置为,所述删除自变量数据中的无效数据包括:According to the system of the second aspect of the present invention, the first processing module 101 is configured such that the deletion of invalid data in the argument data includes:

对所述自变量数据进行抽样稀释,然后在抽样稀释后的自变量数据中删除为空或者量程外的异常值,并记录所述异常值的时间戳;Sampling and diluting the independent variable data, and then deleting null or out-of-range abnormal values in the sample-diluted independent variable data, and recording the time stamp of the abnormal value;

在删除异常值的自变量数据中,对删除异常值的数据点位和时间戳进行缺失矩阵的生成,标注所述数据点位和时间戳为数据异常。In the independent variable data with outliers removed, a missing matrix is generated for the data points and time stamps with outliers removed, and the data points and time stamps are marked as data anomalies.

根据本发明第二方面的系统,所述第二处理模块102,被配置为,所述对删除无效数据的自变量数据进行数据预处理包括:According to the system of the second aspect of the present invention, the second processing module 102 is configured such that the data preprocessing of the independent variable data for deleting invalid data includes:

对同一设备的多采集点位的自变量数据的数值进行加权平均融合。The weighted average fusion is performed on the values of the independent variable data of multiple collection points of the same equipment.

根据本发明第二方面的系统,所述第二处理模块102,被配置为,所述对删除无效数据的自变量数据进行数据预处理还包括:According to the system of the second aspect of the present invention, the second processing module 102 is configured such that the data preprocessing of the independent variable data for which invalid data is deleted further includes:

对于包含标注数据异常的数据点位的自变量数据进行样本实例归一化。Sample instance normalization is performed on the independent variable data that contains data points that are anomalous in the labeled data.

根据本发明第二方面的系统,所述第二处理模块102,被配置为,所述对删除无效数据的自变量数据进行数据预处理还包括:According to the system of the second aspect of the present invention, the second processing module 102 is configured such that the data preprocessing of the independent variable data for which invalid data is deleted further includes:

对不同预测时长的自变量数据进行层归一化。Stratified normalization of the independent variable data for different forecast durations.

根据本发明第二方面的系统,所述第三处理模块103,被配置为,所述基于双向LSTM神经网络,建立机组运行状态预测模型包括:According to the system according to the second aspect of the present invention, the third processing module 103 is configured such that the establishment of a unit operating state prediction model based on a bidirectional LSTM neural network includes:

使用多层堆叠的双向LSTM神经网络建立机组运行状态预测模型;Use a multi-layer stacked bidirectional LSTM neural network to establish a unit operating status prediction model;

所述机组运行状态预测模型的输入层神经元数量等于所述自变量数据的维度数量。The number of neurons in the input layer of the unit operating state prediction model is equal to the number of dimensions of the independent variable data.

本发明第三方面公开了一种电子设备。电子设备包括存储器和处理器,存储器存储有计算机程序,处理器执行计算机程序时,实现本发明公开第一方面中任一项的一种泵站机组运行状态预测方法中的步骤。The third aspect of the present invention discloses an electronic device. The electronic device includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the steps in the method for predicting the operating state of the pumping station unit in any one of the first aspects of the present disclosure are realized.

图6为根据本发明实施例的一种电子设备的结构图,如图6所示,电子设备包括通过系统总线连接的处理器、存储器、通信接口、显示屏和输入装置。其中,该电子设备的处理器用于提供计算和控制能力。该电子设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该电子设备的通信接口用于与外部的终端进行有线或无线方式的通信,无线方式可通过WIFI、运营商网络、近场通信(NFC)或其他技术实现。该电子设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该电子设备的输入装置可以是显示屏上覆盖的触摸层,也可以是电子设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。FIG. 6 is a structural diagram of an electronic device according to an embodiment of the present invention. As shown in FIG. 6 , the electronic device includes a processor, a memory, a communication interface, a display screen, and an input device connected through a system bus. Wherein, the processor of the electronic device is used to provide calculation and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The communication interface of the electronic device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, an operator network, near field communication (NFC) or other technologies. The display screen of the electronic device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device may be a touch layer covered on the display screen, or a button, a trackball or a touch pad provided on the housing of the electronic device , and can also be an external keyboard, touchpad, or mouse.

本领域技术人员可以理解,图6中示出的结构,仅仅是与本公开的技术方案相关的部分的结构图,并不构成对本申请方案所应用于其上的电子设备的限定,具体的电子设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in Figure 6 is only a structural diagram of the part related to the technical solution of the present disclosure, and does not constitute a limitation on the electronic equipment to which the solution of the present application is applied. Devices may include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.

本发明第四方面公开了一种计算机可读存储介质。计算机可读存储介质上存储有计算机程序,计算机程序被处理器执行时,实现本发明公开第一方面中任一项的一种泵站机组运行状态预测方法中的步骤中的步骤。A fourth aspect of the present invention discloses a computer readable storage medium. A computer program is stored on the computer-readable storage medium, and when the computer program is executed by the processor, the steps in the steps in the method for predicting the operating state of the pumping station unit in any one of the first aspects of the present disclosure are realized.

请注意,以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。以上实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。Please note that the various technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, all possible combinations of the various technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features , should be considered as within the scope of this specification. The above examples only express several implementation modes of the present application, and the description thereof is relatively specific and detailed, but should not be construed as limiting the scope of the patent for the invention. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the scope of protection of the patent application should be based on the appended claims.

Claims (4)

1. A method for predicting an operation state of a pump station unit, the method comprising:
step S1, based on time sequence data of unit operation, acquiring self-variable data and operation state actual measurement data of unit operation state prediction, and deleting invalid data in the self-variable data;
the self-variable data includes: the temperature of a thrust bearing bush of the unit, the temperature of an upper guide shoe, the temperature of a stator winding, the temperature of a lower guide shoe, current, voltage, active power, reactive power, power factor and vibration swing degree of the unit; the operation state actual measurement data includes: the vibration and swing degree states of the unit;
the method for deleting invalid data in the self-variable data comprises the following steps:
sampling and diluting the self-variable data, deleting an abnormal value which is empty or out of range from the sampled and diluted self-variable data, and recording a time stamp of the abnormal value;
generating a deletion matrix of data points and time stamps of the deleted abnormal values in the self-variable data of the deleted abnormal values, and marking the data points and the time stamps as data anomalies;
s2, performing data preprocessing on the self-variable data with invalid data deleted to obtain self-variable data after data preprocessing;
the method for preprocessing the self-variable data for deleting the invalid data comprises the following steps:
carrying out weighted average fusion on the values of the self-variable data of the multiple acquisition points of the same equipment;
sample instance normalization is carried out on the self-variable data containing the data points with abnormal labeling data;
carrying out layer normalization on the self-variable data with different prediction time lengths;
s3, building a unit running state prediction model based on a bidirectional LSTM neural network; training and testing the unit running state prediction model by applying the self-variable data and the running state actual measurement data which are subjected to data preprocessing; the method for establishing the unit running state prediction model based on the bidirectional LSTM neural network comprises the following steps:
establishing a unit operation state prediction model by using a multi-layer stacked bidirectional LSTM neural network;
the number of neurons of an input layer of the unit running state prediction model is equal to the number of dimensions of the self-variable data;
MAE and MSE errors in the training process can be reduced along with the progress of the iterative process;
;
where n is the batch size,as predicted value, y i Is a true value;
select R 2 MAPE and single-batch time consumption are used as an evaluation index system of the model; r is R 2 The calculation formula of (2) is as follows:
the MAPE calculation formula is as follows:
calculating the error between the predicted value and the true value by using a mode of superposition of multiple errors of MSE error and N times of MAE error, and feeding back to optimize the training of the model; algorithm selection R 2 MAPE and single-batch time consumption are used as an evaluation index system of the model;
and S4, predicting the change trend of the real-time running state of the pump station unit by applying the trained unit running state prediction model.
2. A system for predicting the operational status of a pump station assembly, the system comprising:
the first processing module is configured to collect self-variable data and running state actual measurement data predicted by the running state of the unit based on time sequence data of the running of the unit, and delete invalid data in the self-variable data;
the self-variable data includes: the temperature of a thrust bearing bush of the unit, the temperature of an upper guide shoe, the temperature of a stator winding, the temperature of a lower guide shoe, current, voltage, active power, reactive power, power factor and vibration swing degree of the unit; the operation state actual measurement data includes: the vibration and swing degree states of the unit;
the method for deleting invalid data in the self-variable data comprises the following steps:
sampling and diluting the self-variable data, deleting an abnormal value which is empty or out of range from the sampled and diluted self-variable data, and recording a time stamp of the abnormal value;
generating a deletion matrix of data points and time stamps of the deleted abnormal values in the self-variable data of the deleted abnormal values, and marking the data points and the time stamps as data anomalies;
the second processing module is configured to perform data preprocessing on the self-variable data with invalid data deleted to obtain self-variable data after data preprocessing;
the method for preprocessing the self-variable data for deleting the invalid data comprises the following steps:
carrying out weighted average fusion on the values of the self-variable data of the multiple acquisition points of the same equipment;
sample instance normalization is carried out on the self-variable data containing the data points with abnormal labeling data;
carrying out layer normalization on the self-variable data with different prediction time lengths;
the third processing module is configured to establish a unit running state prediction model based on the bidirectional LSTM neural network; training and testing the unit running state prediction model by applying the self-variable data and the running state actual measurement data which are subjected to data preprocessing;
the method for establishing the unit running state prediction model based on the bidirectional LSTM neural network comprises the following steps:
establishing a unit operation state prediction model by using a multi-layer stacked bidirectional LSTM neural network;
the number of neurons of an input layer of the unit running state prediction model is equal to the number of dimensions of the self-variable data;
MAE and MSE errors in the training process can be reduced along with the progress of the iterative process;
;
where n is the batch size,as predicted value, y i Is a true value;
select R 2 MAPE and single-batch time consumption are used as an evaluation index system of the model; r is R 2 The calculation formula of (c) is shown as follows,
the MAPE calculation formula is as follows:
calculating the error between the predicted value and the true value by using a mode of superposition of multiple errors of MSE error and N times of MAE error, and feeding back to optimize the training of the model; algorithm selection R 2 MAPE and single-batch time consumption are used as an evaluation index system of the model;
and the fourth processing module is configured to apply the trained unit running state prediction model to predict the change trend of the real-time running state of the pump station unit.
3. An electronic device comprising a memory and a processor, the memory storing a computer program, the processor implementing the steps in a pump station unit operation state prediction method according to claim 1 when executing the computer program.
4. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of a pump station set operation state prediction method according to claim 1.
CN202310412702.XA 2023-04-18 2023-04-18 Pump station unit running state prediction method and system Expired - Fee Related CN116205375B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310412702.XA CN116205375B (en) 2023-04-18 2023-04-18 Pump station unit running state prediction method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310412702.XA CN116205375B (en) 2023-04-18 2023-04-18 Pump station unit running state prediction method and system

Publications (2)

Publication Number Publication Date
CN116205375A CN116205375A (en) 2023-06-02
CN116205375B true CN116205375B (en) 2023-09-01

Family

ID=86519429

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310412702.XA Expired - Fee Related CN116205375B (en) 2023-04-18 2023-04-18 Pump station unit running state prediction method and system

Country Status (1)

Country Link
CN (1) CN116205375B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118522125B (en) * 2024-07-17 2024-11-15 河海大学 A water pump station fault early warning method and system based on sensor Internet of Things

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110147877A (en) * 2019-05-24 2019-08-20 福州大学 PM2.5 prediction technique based on the long network in short-term of convolution
CN113107626A (en) * 2021-05-25 2021-07-13 浙大城市学院 Combined cycle generator set load prediction method based on multivariable LSTM
WO2021232655A1 (en) * 2020-05-20 2021-11-25 国网河北省电力有限公司电力科学研究院 Method for evaluating mechanical state of high-voltage shunt reactor on the basis of vibration feature
CN114323642A (en) * 2020-09-29 2022-04-12 北京金风慧能技术有限公司 Wind turbine vibration data processing system and data dilution method
WO2022077587A1 (en) * 2020-10-14 2022-04-21 深圳大学 Data prediction method and apparatus, and terminal device
CN115758290A (en) * 2022-10-10 2023-03-07 重庆大唐国际彭水水电开发有限公司 Fan gearbox high-speed shaft temperature trend early warning method based on LSTM

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12175352B2 (en) * 2020-05-20 2024-12-24 State Grid Hebei Electric Power Research Institute Method for evaluating mechanical state of high-voltage shunt reactor based on vibration characteristics
CN111626506B (en) * 2020-05-27 2022-08-26 华北电力大学 Regional photovoltaic power probability prediction method based on federal learning and cooperative regulation and control system thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110147877A (en) * 2019-05-24 2019-08-20 福州大学 PM2.5 prediction technique based on the long network in short-term of convolution
WO2021232655A1 (en) * 2020-05-20 2021-11-25 国网河北省电力有限公司电力科学研究院 Method for evaluating mechanical state of high-voltage shunt reactor on the basis of vibration feature
CN114323642A (en) * 2020-09-29 2022-04-12 北京金风慧能技术有限公司 Wind turbine vibration data processing system and data dilution method
WO2022077587A1 (en) * 2020-10-14 2022-04-21 深圳大学 Data prediction method and apparatus, and terminal device
CN113107626A (en) * 2021-05-25 2021-07-13 浙大城市学院 Combined cycle generator set load prediction method based on multivariable LSTM
CN115758290A (en) * 2022-10-10 2023-03-07 重庆大唐国际彭水水电开发有限公司 Fan gearbox high-speed shaft temperature trend early warning method based on LSTM

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于E-LSTM循环神经网络的制冷设备状态预测;徐晨蕊 等;测控技术;第38卷(第12期);第40-45页 *

Also Published As

Publication number Publication date
CN116205375A (en) 2023-06-02

Similar Documents

Publication Publication Date Title
CN111724126A (en) A method and system for accurate traceability of abnormal process quality
CN112083244A (en) Integrated avionics equipment fault intelligent diagnosis system
CN112433907B (en) Method and device for processing host operation parameter data of uninterruptible power supply and electronic device
CN118137492B (en) Short-term power load prediction method and system
CN116861214A (en) A health status recognition method and system based on convolutional long short-term memory network
CN116205375B (en) Pump station unit running state prediction method and system
Peng et al. Residual remaining useful life prediction method for lithium-ion batteries in satellite with incomplete healthy historical data
Chang et al. Prognostics for remaining useful life estimation in proton exchange membrane fuel cell by dynamic recurrent neural networks
CN118410723B (en) Service performance degradation evaluation method capable of explaining whole life cycle of rotary machine
Zhang et al. Research on power system fault prediction based on GA-CNN-BiGRU
CN118425814A (en) Lithium battery remaining life prediction method based on MaSVD fusion attention mechanism
CN117804811A (en) Health diagnosis system and method for deep neural network port machinery equipment of attention mechanism
CN114298413B (en) A method for predicting the swing trend of hydropower units
CN117407757A (en) Intelligent fault diagnosis method and system for production line lifting appliance based on PCA-SVDD
CN115222069A (en) Equipment pre-diagnosis maintenance algorithm and intelligent factory management and control architecture integrating same
CN118939699A (en) Anomaly detection method for multi-period time series based on spatiotemporal graph neural network
CN113792828A (en) Power grid load prediction method, system, equipment and medium based on deep learning
Li et al. On-line degradation estimation of proton exchange membrane fuel cell based on imm-ekf
Esteves et al. Prognostics health management: perspectives in engineering systems reliability prognostics
Jia et al. A Dual-Stage Attention-Based LSTM Neural Network for Tool Remaining Useful Life Prediction
Ji Reliability Evaluation and Prediction of Mechanical System Based on Machine Learning Technology
Zhang et al. Fault Trend Prediction of Centrifugal Blowers Considering Incomplete Data
CN118551260B (en) A method and system for detecting automobile drive faults based on deep learning
Li Optimized LSTM Time Series Prediction Model for Industrial Big Data
CN119249365B (en) Intelligent multi-sensor fusion plate separator fault prediction and diagnosis method and 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
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20230901