CN118916807A - Cloud edge cooperative tunnel equipment energy consumption abnormality intelligent identification method and system - Google Patents

Cloud edge cooperative tunnel equipment energy consumption abnormality intelligent identification method and system Download PDF

Info

Publication number
CN118916807A
CN118916807A CN202410930241.XA CN202410930241A CN118916807A CN 118916807 A CN118916807 A CN 118916807A CN 202410930241 A CN202410930241 A CN 202410930241A CN 118916807 A CN118916807 A CN 118916807A
Authority
CN
China
Prior art keywords
data
tunnel
phase
module
representing
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.)
Granted
Application number
CN202410930241.XA
Other languages
Chinese (zh)
Other versions
CN118916807B (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.)
Yunnan Science Research Institute Of Communication Co ltd
Kunming University of Science and Technology
Original Assignee
Yunnan Science Research Institute Of Communication Co ltd
Kunming University of Science and Technology
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 Yunnan Science Research Institute Of Communication Co ltd, Kunming University of Science and Technology filed Critical Yunnan Science Research Institute Of Communication Co ltd
Priority to CN202410930241.XA priority Critical patent/CN118916807B/en
Publication of CN118916807A publication Critical patent/CN118916807A/en
Application granted granted Critical
Publication of CN118916807B publication Critical patent/CN118916807B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/243Classification techniques relating to the number of classes
    • G06F18/2433Single-class perspective, e.g. one-against-all classification; Novelty detection; Outlier detection
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/10Pre-processing; Data cleansing
    • G06F18/15Statistical pre-processing, e.g. techniques for normalisation or restoring missing data
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/044Recurrent networks, e.g. Hopfield networks
    • G06N3/0442Recurrent networks, e.g. Hopfield networks characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • G06N3/084Backpropagation, e.g. using gradient descent
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Computation (AREA)
  • Business, Economics & Management (AREA)
  • General Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Economics (AREA)
  • Molecular Biology (AREA)
  • Mathematical Physics (AREA)
  • Computational Linguistics (AREA)
  • Biophysics (AREA)
  • Computing Systems (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Biomedical Technology (AREA)
  • Probability & Statistics with Applications (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Alarm Systems (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Abstract

本发明涉及高速公路隧道用电设备电力数据处理技术领域,且公开了一种基于云边协同隧道设备能耗异常智能识别方法及系统包括数据采集模块、存储模块、边缘检测模块和通讯模块,数据采集模块、存储模块和边缘检测模块均由通讯模块进行连接。该基于云边协同隧道设备能耗异常智能识别方法及系统采用LSTM—BP神经网络模型的方法,捕获用电数据时序和三相关系,可以极大提高检测的准确率。用电智能异常识别系统具有精确的异常检测,良好的数据传输质量保障性和符合隧道里程长的实际情况的较长传输距离,同时硬件成本低、便于实现,缓解了运维人员工作量,提高了工作效率,减少人为出错可能,减少能源浪费。

The present invention relates to the technical field of power data processing of electrical equipment in highway tunnels, and discloses a method and system for intelligently identifying energy consumption anomalies of tunnel equipment based on cloud-edge collaboration, including a data acquisition module, a storage module, an edge detection module and a communication module, wherein the data acquisition module, the storage module and the edge detection module are all connected by a communication module. The method and system for intelligently identifying energy consumption anomalies of tunnel equipment based on cloud-edge collaboration adopts the method of LSTM-BP neural network model to capture the timing and three-phase relationship of power consumption data, which can greatly improve the accuracy of detection. The intelligent power anomaly recognition system has accurate anomaly detection, good data transmission quality assurance and a long transmission distance that meets the actual situation of long tunnel mileage. At the same time, the hardware cost is low and easy to implement, which alleviates the workload of operation and maintenance personnel, improves work efficiency, reduces the possibility of human errors, and reduces energy waste.

Description

Cloud edge cooperative tunnel equipment energy consumption abnormality intelligent identification method and system
Technical Field
The invention relates to the technical field of electric data processing of electric equipment of expressway tunnels, in particular to an intelligent recognition method and system for energy consumption abnormality of tunnel equipment based on cloud edge cooperation.
Background
Road tunnels also have unavoidable drawbacks as tubular semi-enclosed structures. If a driver enters a tunnel, the light becomes dark, an illumination system is required to illuminate so as to ensure the driving safety, and after an accident occurs in the tunnel, the tunnel needs to be ventilated and exhausted in time, and the like. The tunnel thus carries out various functions such as lighting, ventilation, smoke evacuation, monitoring, etc., which function is not separated from the stable and reliable power supply and the normal operation of the equipment. Once the power supply is abnormal, equipment faults, short circuits and the like can cause the system failure of illumination, monitoring, ventilation and the like in the tunnel, the occurrence risk of accidents is increased. The tunnel environment is complex, is greatly influenced by factors such as topography, climate and the like, and the power equipment is easy to wet and pollute, which can lead to equipment failure, electrical short circuit and energy consumption increase.
Disclosure of Invention
(One) solving the technical problems
Aiming at the defects of the prior art, the invention provides the intelligent recognition method and the intelligent recognition system for the energy consumption abnormality of the tunnel equipment based on cloud edge cooperation, which have the advantages of reducing the possibility of human error, reducing the energy waste and the like, and solve the technical problems.
(II) technical scheme
In order to achieve the above purpose, the present invention provides the following technical solutions: a cloud edge cooperative tunnel equipment energy consumption abnormality intelligent identification method comprises the following steps:
s1, collecting electricity utilization data of tunnel equipment for arrangement, wherein the electricity utilization data type tau in the tunnel comprises three-phase current Three-phase voltageThree-phase active powerAnd reactive powerT represents the moment of time at which,And A, B, C three phases are represented, and the data expression after finishing is obtained as follows:
wherein, The current at time t 1、t2、...、tn of phase a is shown, The currents at the times t 1、t2、...、tn of the B phase are respectively shown,The currents at the times t 1、t2、...、tn of the C phase are respectively indicated,Reactive power at the moment of the C phase t 1、t2、...、tn is respectively represented;
s2, carrying out normalization processing on the data obtained in the step S1, and taking an A-phase current as an example, describing the formula as follows:
wherein, For the data to be normalized,AndRespectively the maximum and minimum values in the data,The actual electricity consumption data;
s3, setting the length l of an input window and the step length, wherein l is more than or equal to 2 and less than or equal to 12, step is more than or equal to 1 and less than or equal to 5, and establishing an LSTM model, wherein the LSTM model consists of a forgetting gate, an input gate and an output gate;
The expression of the forgetting gate is as follows:
ft=σ(W[ht-1,xt]+b)
Wherein f t represents the output of the forgetting gate at time t, h t-1 represents the hidden state at the previous time, [/x ] represents connecting two vectors into a matrix, x t represents the input at the current time, W and b represent the coefficient and bias coefficient of the linear relationship respectively, and σ (/ x) represents the Sigmoid activation function;
the expression of the input gate is as follows:
it=σ(Wi[ht-1,xt]+bt)
Wherein i t denotes the update information at the output gate t, The method comprises the steps of representing a currently input unit state, h t-1 representing a hidden state at the last moment, x t representing an input at the current moment, W i and b t respectively representing a weight matrix and a bias term of update information i t at the time of outputting a gate t, W c and b c respectively representing tan h (x) representing a hyperbolic tangent function, sigma (x) representing a Sigmoid activation function, C t representing a unit state at the current moment, C t-1 representing a unit state at the last moment, and f t representing an output of a forgetting gate at the time t;
The expression of the output gate is as follows:
ot=σ(Wo[ht-1,xt]+bo)
ht=ot·tanh(Ct)
Wherein h t-1 represents a hidden state at the previous time, x t represents an input at the current time, σ (x) represents a Sigmoid activation function, tanh (x) represents a hyperbolic tangent function, C t represents a unit state at the current time, o t represents a degree of information output at the current time, and h t is an output hidden state vector;
S4, inputting the data in the step S1 into the built LSTM model according to the window length and moving the window step length to obtain an output characteristic space expression as follows:
wherein, Features of tunnel equipment a-phase circuit length 1, length 2 respectively up to length len,Features of tunnel equipment B-phase circuit length 1, length 2 respectively.Respectively represent tunnel devicesPower consumption data length 1, length 2 in phase τ. τ represents the type of electricity data and the superscript len represents the feature space length;
S5, arranging the data in the step S4 in sequence, inputting the data into a BP neural network model to obtain an abnormal electricity utilization result, if the abnormal electricity utilization result is acceptable, finishing model training, and if the abnormal electricity utilization result is unacceptable, adopting a back propagation algorithm to adjust model parameters until the result is acceptable, and finally obtaining an LSTM-BP model;
S6, inputting actual tunnel equipment electricity utilization data, and predicting abnormal electricity utilization data.
As a preferable technical scheme of the invention, the difference between +1 data and the real data y t output in the step S2 exceeds a threshold epsilon, and the power consumption behavior is abnormal, and an alarm is sent.
As a preferred technical scheme of the invention, the model training process in the step S5 adopts an SMOTE algorithm to balance data, and the specific steps are as follows:
S5.1, selecting an abnormal electricity consumption data sample X min,xi∈Xmin,xi as the ith data in an abnormal electricity consumption data sample X min, removing the residual electricity consumption abnormal sample of X i as y i, and calculating the Euclidean distance d (X, y) of an m-dimensional space, wherein the specific expression is as follows:
Where y i denotes the remaining power consumption anomaly samples except X i, d (X, y) denotes the Euclidean distance in m-dimensional space, X i denotes the ith data in the anomaly power consumption data sample X min, Representing summing m data and obtaining sample data in k X min nearest to X i;
S5.2, randomly selecting one sample from sample data in k X min nearest to X i, and combining the selected sample with X i to form a new sample, wherein the specific expression is as follows:
Wherein x new represents the new sample synthesized, Represents randomly selected samples in the sample data in k X min nearest to X i, δ represents the sampling ratio, and δ∈ [0,1].
As the preferable technical scheme of the invention, the number of hidden layers in the BP neural network model is four, the activation function in the hidden layers adopts a tanh function, and the activation function of the output layer in the BP neural network model adopts a softmax function.
The intelligent recognition system based on cloud edge cooperative tunnel equipment energy consumption abnormality comprises a data acquisition module, a storage module, an edge detection module and a communication module, wherein the data acquisition module, the storage module and the edge detection module are all connected through the communication module;
The intelligent cloud data processing center is used for storing the LSTM-BP model constructed based on the cloud edge collaborative tunnel equipment energy consumption abnormality intelligent identification method, the LSTM-BP model is sent to the edge detection module, the edge detection module reads real-time data for detection, and sends alarm data to the tunnel management center if abnormality occurs, and the storage module is used for storing the data in the acquisition module, the intelligent cloud data processing center and the edge detection module.
As a preferable technical scheme of the invention, the data acquisition module acquires electricity data comprising three-phase voltage, three-phase current, three-phase active power and reactive power in tunnel electric equipment, the data acquisition module consists of an IM3332 three-phase electric energy quality monitoring meter and an RS 485-to-TCP/IP module, and the edge detection module adopts an embedded development board customized by Raspberry Pi 5.
Compared with the prior art, the invention provides the intelligent recognition method and the intelligent recognition system for the energy consumption abnormality of the tunnel equipment based on cloud edge cooperation, which have the following beneficial effects:
The invention captures the time sequence and three-phase relation of the power consumption data by adopting the LSTM-BP neural network model method, and can greatly improve the detection accuracy. The intelligent power consumption abnormality recognition system has accurate abnormality detection, good data transmission quality assurance and longer transmission distance conforming to the actual condition of long tunnel mileage, and meanwhile, the hardware cost is low, the realization is convenient, the workload of operation and maintenance personnel is relieved, the working efficiency is improved, the possibility of human error is reduced, and the energy waste is reduced.
Drawings
FIG. 1 is a schematic flow chart of the present invention;
FIG. 2 is a schematic diagram of a tunnel system classification according to the present invention;
FIG. 3 is a schematic diagram of a cloud edge cooperative tunnel electricity utilization abnormality intelligent recognition system;
FIG. 4 is a schematic diagram of the abnormal electricity test model of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1-4, the tunnel power system may be functionally divided into a power supply and distribution system, a lighting system, a ventilation system, a fire alarm system, a traffic control system, an environmental monitoring system, an emergency telephone and broadcasting system, and a monitoring video system, each of which includes one or more tunnel devices, which are specifically classified into categories, as shown in fig. 2
A cloud edge cooperative tunnel equipment energy consumption abnormality intelligent identification method comprises the following steps:
s1, collecting electricity utilization data of tunnel equipment for arrangement, wherein the electricity utilization data type tau in the tunnel comprises three-phase current Three-phase voltageThree-phase active powerAnd reactive powerT represents the moment of time at which,And A, B, C three phases are represented, and the data expression after finishing is obtained as follows:
wherein, The current at time t 1、t2、…、tn of phase a is shown, The currents at the times t 1、t2、…、tn of the B phase are respectively shown,The currents at the times t 1、t2、…、tn of the C phase are respectively indicated,Reactive power at the moment of the C phase t 1、t2、…、tn is respectively represented;
s2, carrying out normalization processing on the data obtained in the step S1;
S3, setting the length l of an input window and the step length step, and establishing an LSTM model, wherein the LSTM model consists of a forgetting gate, an input gate and an output gate;
The expression of the forgetting gate is as follows:
ft=σ(W[ht-1,xt]+b)
Wherein f t represents the output of the forgetting gate at time t, h t-1 represents the hidden state at the previous time, [/x ] represents connecting two vectors into a matrix, x t represents the input at the current time, W and b represent the coefficient and bias coefficient of the linear relationship respectively, and σ (/ x) represents the Sigmoid activation function;
the expression of the input gate is as follows:
it=σ(Wi[ht-1,xt]+bt)
Wherein i t denotes the update information at the output gate t, The state of the cell is indicated and,The method comprises the steps of representing a currently input unit state, h t-1 representing a hidden state at the last moment, x t representing an input at the current moment, W i and b t respectively representing a weight matrix and a bias term of update information i t at the output gate t moment, W c and b c respectively representing an input gate weight matrix and a bias term, tanh representing a hyperbolic tangent function, sigma representing a Sigmoid activation function, C t representing a unit state at the current moment, C t-1 representing a unit state at the last moment, and f t representing an output of a forgetting gate at the t moment;
The expression of the output gate is as follows:
ot=σ(Wo[ht-1,xt]+bo)
ht=ot·tanh(Ct)
Wherein h t-1 represents the hidden state at the previous time, x t represents the input at the current time, σ (x) represents the Sigmoid activation function, tanh (x) represents the hyperbolic tangent function, C t represents the cell state at the current time, o t represents the output degree of the information at the current time, h t is the output hidden state vector, Representing an output;
S4, inputting the data of t 1、t2、...、tn in the step S1 into m LSTM models of the built LSTM 1,LSTM2…LSTM1 according to the window length l and the step moving window, and obtaining an output characteristic space expression as follows:
wherein, Features of tunnel equipment a-phase circuit length 1, length 2 respectively up to length len,Features of tunnel equipment B-phase circuit length 1, length 2 respectively.Respectively represent tunnel devicesPower consumption data length 1, length 2 in phase τ. τ represents the type of electricity data and the superscript len represents the feature space length;
S5, arranging the data in the step S4 in sequence, inputting the data into a BP neural network model to obtain an abnormal electricity utilization result, if the obtained artificial auxiliary judgment result of the abnormal electricity utilization is acceptable, finishing the training of the LSTM-BP model, and if the artificial auxiliary judgment result of the abnormal electricity utilization is unacceptable, adopting a back propagation algorithm to adjust model parameters until the result is acceptable, and finally obtaining the LSTM-BP model; the arrangement in columns is as follows:
Specific examples by column are as follows:
s6, inputting actual tunnel equipment electricity utilization data, judging abnormal electricity utilization data, namely judging that the result is in an abnormal electricity utilization type I, an abnormal electricity utilization type 2 or an abnormal electricity utilization type n through a training completion model, and alarming.
Furthermore, in the step S5, the data is balanced by adopting an SMOTE algorithm, and abnormal electricity consumption data belongs to small sample data, which may cause inaccurate parameter training of the model, so that the data is balanced by adopting the SMOTE algorithm; the SMOTE algorithm does not repeatedly copy samples to achieve the purpose of expanding a sample set, but rather combines a few samples into a new sample based on an interpolation method, and balances a data sample set, and the main construction process is as follows:
S5.1, selecting an abnormal electricity consumption data sample X min,xi∈Xmin,xi as the ith data in an abnormal electricity consumption data sample X min, removing the residual electricity consumption abnormal sample of X i as y i, and calculating the Euclidean distance d (X, y) of an m-dimensional space, wherein the specific expression is as follows:
Where y i denotes the remaining power consumption anomaly samples except x i, d (x, y) denotes the Euclidean distance in m-dimensional space, x i denotes the ith data in the anomaly power consumption data sample x min, Representing summing m data and obtaining sample data in k x min nearest to x i;
S5.2, randomly selecting one sample from sample data in k X min nearest to X i, and combining the selected sample with X i to form a new sample, wherein the specific expression is as follows:
Wherein x new represents the new sample synthesized, Represents randomly selected samples from among the sample data in k X min nearest to X i, δ represents the sampling ratio and δ∈ [0,1].
Further, generally, the more the number of layers of the neural network is, the smaller the error is, but the problem of reverse gradient elimination and gradient explosion may be caused along with the increase of the number of layers, so that the number of hidden layers in the BP neural network model is four for tunnel equipment power consumption data, the activation function in the hidden layers adopts the tanh function, and the activation function of the output layer in the BP neural network model adopts the softmax function.
The intelligent recognition system based on cloud edge cooperative tunnel equipment energy consumption abnormality comprises a data acquisition module, a storage module, an edge detection module and a communication module, wherein the data acquisition module, the storage module and the edge detection module are all connected through the communication module;
The data acquisition module is used for acquiring electricity data, sending the acquired electricity data to the intelligent cloud data processing center and the edge detection module through the communication module, wherein the intelligent cloud data processing center stores the LSTM-BP model constructed based on the cloud edge collaborative tunnel equipment energy consumption abnormality intelligent identification method, the LSTM-BP model is sent to the edge detection module, the edge detection module reads real-time data for detection, and if abnormality occurs, alarm data are sent to the tunnel management center, and the storage module is used for storing the data in the acquisition module, the intelligent cloud data processing center and the edge detection module.
Further, the data acquisition module acquires electricity data including three-phase voltage, three-phase current, three-phase active power and reactive power in tunnel electric equipment, the tunnel electric equipment comprises an IM3332 three-phase electric energy quality monitoring meter and an RS 485-to-TCP/IP module, the edge detection module adopts an embedded development board customized by Raspberry Pi 5, and the tunnel electric equipment further comprises a power supply, a display screen, a memory card, a communication module and the like, operates a Ubuntu 23.10 operating system and loads a PyTorch deep learning framework. The functions are as follows: receiving and temporarily storing the electric quantity data acquired from the bottom communication model; receiving control information transmitted from a cloud, receiving and storing the LSTM-BP model transmitted from the cloud at fixed time, and operating the updated LSTM-BP model; carrying out data preprocessing, standardization and input data reconstruction on the electric quantity data acquired in real time, carrying out real-time energy consumption anomaly detection on the acquired electric quantity data by adopting an updated LSTM-BP model, and storing anomaly results and data; if abnormality is found, sending alarm information to the cloud and tunnel management center; according to the management center and cloud instructions and according to the security level, corresponding operation is performed to ensure the electricity utilization security of the tunnel; providing operation functions and interfaces for field inspection and maintenance of maintenance personnel;
the data acquisition module is arranged in a loop of a power supply and distribution system, a lighting system, a ventilation system, a fire alarm system, a traffic control system, an environment monitoring system, an emergency telephone, a broadcasting system and a monitoring video system, electricity consumption data are acquired in real time through an IM3332 three-phase electric energy quality monitoring meter, an RS485 interface is reserved on the meter, the meter can be directly connected with the RS485, meanwhile, the RS485 is connected with an internal RS485 to TCP/IP module, and the data are output as final output by the module and transmitted to a gateway. And the raspberry in the edge detection module sends out an instruction, and is connected with the gateway through a transmission medium to obtain electricity consumption data in the gateway for detection. Meanwhile, the intelligent cloud data processing center regularly obtains data in the gateway and updates the model, and returns the model to the edge detection module. Optionally, the gateway can poll the data acquisition module in a 'one master and multiple slaves' mode to obtain data, so that communication conflict and delay are reduced.
Although embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made therein without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (6)

1. The intelligent recognition method for the energy consumption abnormality of the tunnel equipment based on cloud edge cooperation is characterized by comprising the following steps of: the method comprises the following steps:
s1, collecting electricity utilization data of tunnel equipment for arrangement, wherein the electricity utilization data type tau in the tunnel comprises three-phase current Three-phase voltageThree-phase active powerAnd reactive powerT represents the moment of time at which,And A, B, C three phases are represented, and the data expression after finishing is obtained as follows:
wherein, The current at time t 1、t2、…、tn of phase a is shown, The currents at the times t 1、t2、…、tn of the B phase are respectively shown,The currents at the times t 1、t2、…、tn of the C phase are respectively indicated,Reactive power at the moment of the C phase t 1、t2、…、tn is respectively represented;
s2, carrying out normalization processing on the data obtained in the step S1;
S3, setting the length l of an input window and the step length, and establishing an LSTM model;
s4, the data in the step S1 are input into m LSTM models of the LSTM 1,LSTM2…LSTM1 according to the window length l and the step moving window, and the output characteristic space expression is obtained as follows:
wherein, The characteristics of the tunnel equipment a-phase circuit length 1 and length 2 … up to length len are shown respectively,The characteristics of the tunnel equipment B-phase circuit length 1 and length 2 … up to length len are shown respectively,Respectively represent tunnel devicesThe characteristics of the electricity consumption data from length 1 to length 2 … to length len in the phase tau, wherein tau represents the type of the electricity consumption data, and the superscript len represents the characteristic space length;
S5, arranging the data in the step S4 in sequence, inputting the data into a BP neural network model to obtain an abnormal electricity utilization result, if the abnormal electricity utilization result is acceptable, finishing model training, and if the abnormal electricity utilization result is unacceptable, adopting a back propagation algorithm to adjust model parameters until the result is acceptable, and finally obtaining an LSTM-BP model;
S6, inputting actual tunnel equipment electricity utilization data, and predicting abnormal electricity utilization data.
2. The intelligent recognition method for the energy consumption abnormality of the tunnel equipment based on cloud edge coordination according to claim 1 is characterized by comprising the following steps: the LSTM model consists of a forgetting door, an input door and an output door;
The expression of the forgetting gate is as follows:
ft=σ(W[ht-1,xt]+b)
Wherein f t represents the output of the forgetting gate at time t, h t-1 represents the hidden state at the previous time, [/x ] represents connecting two vectors into a matrix, x t represents the input at the current time, W and b represent the coefficient and bias coefficient of the linear relationship respectively, and σ (/ x) represents the Sigmoid activation function;
the expression of the input gate is as follows:
it=σ(Wi[ht-1,xt]+bt)
Wherein i t denotes the update information at the output gate t, The state of the cell is indicated and,The method comprises the steps of representing a currently input unit state, h t-1 representing a hidden state at the last moment, x t representing an input at the current moment, W i and b t respectively representing a weight matrix and a bias term of update information i t at the output gate t moment, W c and b c respectively representing an input gate weight matrix and a bias term, tanh representing a hyperbolic tangent function, sigma representing a Sigmoid activation function, C t representing a unit state at the current moment, C t-1 representing a unit state at the last moment, and f t representing an output of a forgetting gate at the t moment;
The expression of the output gate is as follows:
ot=σ(Wo[ht-1,xt]+bo)
ht=ot·tanh(Ct)
Wherein h t-1 represents a hidden state at the previous time, x t represents an input at the current time, σ (x) represents a Sigmoid activation function, tanh (x) represents a hyperbolic tangent function, C t represents a unit state at the current time, o t represents a degree of information output at the current time, h t is an output hidden state vector, and W o and b o represent a weight matrix and a paranoid term of an output gate.
3. The intelligent recognition method for the energy consumption abnormality of the tunnel equipment based on cloud edge coordination according to claim 1 is characterized by comprising the following steps: the model training process in the step S5 adopts an SMOTE algorithm to balance data, and the specific steps are as follows:
S5.1, selecting an abnormal electricity consumption data sample X min,xi∈Xmin,xi as the ith data in an abnormal electricity consumption data sample X min, removing the residual electricity consumption abnormal sample of X i as y i, and calculating the Euclidean distance d (X, y) of an m-dimensional space, wherein the specific expression is as follows:
where y i denotes the remaining power consumption anomaly samples except X i, d (X, y) denotes the Euclidean distance in m-dimensional space, X i denotes the ith data in the anomaly power consumption data sample X min, Representing summing m data and obtaining sample data in k X min nearest to X i;
S5.2, randomly selecting one sample from sample data in k X min nearest to X i, and combining the selected sample with X i to form a new sample, wherein the specific expression is as follows:
Wherein x new represents the new sample synthesized, Represents randomly selected samples in the sample data in k X min nearest to X i, δ represents the sampling ratio, and δ∈ [0,1].
4. The intelligent recognition method for the energy consumption abnormality of the tunnel equipment based on cloud edge coordination according to claim 1 is characterized by comprising the following steps: the number of hidden layers in the BP neural network model is four, the activation function in the hidden layers adopts a tanh function, and the activation function of the output layer in the BP neural network model adopts a softmax function.
5. Based on cloud limit cooperatees unusual intelligent identification system of tunnel equipment energy consumption, its characterized in that: the device comprises a data acquisition module, a storage module, an edge detection module and a communication module, wherein the data acquisition module, the storage module and the edge detection module are all connected through the communication module;
the data acquisition module is used for acquiring electricity data, sending the acquired electricity data to the intelligent cloud data processing center and the edge detection module through the communication module, wherein the intelligent cloud data processing center stores an LSTM-BP model constructed based on the intelligent identification method for the abnormal energy consumption of cloud-edge cooperative tunnel equipment according to any one of claims 1-4, and sends the LSTM-BP model to the edge detection module, the edge detection module reads real-time data for detection, and sends alarm data to the tunnel management center if abnormality occurs, and the storage module is used for storing the data in the acquisition module, the intelligent cloud data processing center and the edge detection module.
6. The cloud edge collaborative tunnel equipment energy consumption abnormality intelligent recognition system according to claim 4, wherein the system comprises the following components: the data acquisition module acquires electricity data comprising three-phase voltage, three-phase current, three-phase active power and reactive power in tunnel electric equipment, the data acquisition module consists of an IM3332 three-phase electric energy quality monitoring meter and an RS 485-to-TCP/IP module, and the edge detection module adopts an embedded development board customized by Raspberry Pi 5.
CN202410930241.XA 2024-07-11 2024-07-11 A method and system for intelligently identifying abnormal energy consumption of tunnel equipment based on cloud-edge collaboration Active CN118916807B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410930241.XA CN118916807B (en) 2024-07-11 2024-07-11 A method and system for intelligently identifying abnormal energy consumption of tunnel equipment based on cloud-edge collaboration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410930241.XA CN118916807B (en) 2024-07-11 2024-07-11 A method and system for intelligently identifying abnormal energy consumption of tunnel equipment based on cloud-edge collaboration

Publications (2)

Publication Number Publication Date
CN118916807A true CN118916807A (en) 2024-11-08
CN118916807B CN118916807B (en) 2025-04-01

Family

ID=93303985

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410930241.XA Active CN118916807B (en) 2024-07-11 2024-07-11 A method and system for intelligently identifying abnormal energy consumption of tunnel equipment based on cloud-edge collaboration

Country Status (1)

Country Link
CN (1) CN118916807B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119917299A (en) * 2025-04-07 2025-05-02 博创联动科技股份有限公司 An edge computing system for monitoring energy consumption of agricultural machinery
CN120161742A (en) * 2025-03-26 2025-06-17 盐城数融智升科技有限公司 Energy management system based on intelligent control

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111047094A (en) * 2019-12-12 2020-04-21 国网浙江省电力有限公司 Meter reading data anomaly analysis method based on deep learning algorithm
US11176442B1 (en) * 2021-02-11 2021-11-16 North China Electric Power University Fast power system disturbance identification using enhanced LSTM network with renewable energy integration
CN116383650A (en) * 2023-04-04 2023-07-04 桂林海威科技股份有限公司 An LSTM model-based method for abnormal diagnosis of concentrator electric power
CN116933839A (en) * 2023-07-05 2023-10-24 国网浙江省电力有限公司湖州供电公司 Residential building electricity consumption prediction method based on BOA-LSTM

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111047094A (en) * 2019-12-12 2020-04-21 国网浙江省电力有限公司 Meter reading data anomaly analysis method based on deep learning algorithm
US11176442B1 (en) * 2021-02-11 2021-11-16 North China Electric Power University Fast power system disturbance identification using enhanced LSTM network with renewable energy integration
CN116383650A (en) * 2023-04-04 2023-07-04 桂林海威科技股份有限公司 An LSTM model-based method for abnormal diagnosis of concentrator electric power
CN116933839A (en) * 2023-07-05 2023-10-24 国网浙江省电力有限公司湖州供电公司 Residential building electricity consumption prediction method based on BOA-LSTM

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
SENGAL GHIDEWON-ABAY等: "Control of a Three-Phase Grid-Connected Voltage-Sourced Converter Using Long Short-Term Memory Networks", 《ENERGIES》, vol. 16, 31 December 2022 (2022-12-31), pages 1 - 16 *
陈园园: "数据驱动的建筑电能耗预测模型", 《中国优秀硕士学位论文全文数据库 工程科技II辑》, no. 2021, 15 December 2021 (2021-12-15), pages 038 - 153 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN120161742A (en) * 2025-03-26 2025-06-17 盐城数融智升科技有限公司 Energy management system based on intelligent control
CN120161742B (en) * 2025-03-26 2025-12-02 盐城数融智升科技有限公司 Energy Management System Based on Intelligent Control
CN119917299A (en) * 2025-04-07 2025-05-02 博创联动科技股份有限公司 An edge computing system for monitoring energy consumption of agricultural machinery

Also Published As

Publication number Publication date
CN118916807B (en) 2025-04-01

Similar Documents

Publication Publication Date Title
CN118916807B (en) A method and system for intelligently identifying abnormal energy consumption of tunnel equipment based on cloud-edge collaboration
CN105158723B (en) An error evaluation system and method for a digital electric energy metering system
CN116614177B (en) Optical fiber state multidimensional parameter monitoring system
WO2025108476A1 (en) Air conditioner load monitoring and anomaly detection method and system
CN105958474B (en) Dynamic capacity increasing method and system for power transmission line for power grid regulation and control system
CN115313355A (en) Automatic prediction method and system for big data of smart power grid in short-term load prediction
CN120126328A (en) Highway environment monitoring terminal based on the Internet of Things
CN120185193A (en) Intelligent power distribution cabinet state dynamic monitoring method and system
CN116147712B (en) Three-dimensional construction environment monitoring device and prediction method free from time and space constraints
CN117491845A (en) Precise DC shunt metering method for multi-channel DC load equipment
CN114629103B (en) Building load decomposition method based on inception structural load decomposition model
CN121032261A (en) Photovoltaic power generation prediction system and method based on smart grid
CN121091112A (en) Real-time prediction method for lithium battery state of charge and energy state
CN115762169A (en) Intelligent control system and method for unmanned driving of sanitation vehicle
Li et al. Research of Extreme Gradient Enhancement in Fault Prediction of Smart Distribution Networks
Weng et al. Modeling and forecasting of wind power output of urban regional energy internet based on deep learning
CN118596139B (en) Substation inspection robot and operation method thereof
CN120124820A (en) A method and system for predicting carbon emissions from airport terminals
CN112801352A (en) Power prediction method for cooperative control in offshore wind farm
CN119535084A (en) A power grid fault diagnosis method and system based on FFT-CNN-GCN hybrid network
CN115222160B (en) Rail transit traction load prediction method based on measured big data
CN118472316A (en) Cloud-edge collaborative hydrogen fuel cell fault real-time early warning method and system
KR20210015168A (en) Solar cell power plant and control system, and its method of operating thereof
CN117036103A (en) Power system operation situation prediction method based on LSTM recurrent neural network
CN111857015B (en) Power transmission and transformation cloud intelligent controller

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