Electric energy metering multi-verification assembly line fault management and control method and system
By constructing equipment network diagrams and combining deep learning models for fault prediction and diagnosis, and using genetic algorithms for cross-pipeline scheduling, the problem of stability and low efficiency of the electric energy metering form verification pipeline has been solved, and the efficient operation and efficiency of the electric energy metering multi-calibration pipeline have been achieved. Fault management.
Patent Information
- Application Number
- CN202410921863.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-10-15
AI Technical Summary
The existing electric energy meter verification pipeline has problems of poor stability and low efficiency. Especially when facing a large workload, the islanding effect between multiple pipelines fails to fully utilize its advantages, resulting in insufficient overall system reliability and fault resistance.
A multi-test pipeline fault management and control method for electric energy measurement is adopted. By constructing an equipment network diagram and combining LSTM, CNN, XGBoost and other models for fault prediction and diagnosis, genetic algorithms are used for cross-pipeline scheduling and path planning to achieve automatic self-healing and task optimization. .
It has significantly improved the operating efficiency and stability of the multi-calibration line for electric energy measurement, achieved rapid fault handling and accurate fault location, and improved the reliability of the system and the level of equipment management.
Smart Images

Figure CN118779737A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent detection, and in particular to a method and system for controlling faults of an electric energy metering multi-calibration pipeline. Background Art
[0002] The electric energy meter form verification line is a production line used to verify and calibrate the electric energy meter, and mainly includes detection equipment, calibration equipment, data processing system, etc. The electric energy meter form verification line in the prior art has the problems of poor stability and low fault tolerance.
[0003] Therefore, with the development of digital power grid, the redundant design and fault tolerance mechanism of multiple assembly lines are introduced into the calibration line of electric energy metering form to improve the overall reliability and fault resistance of the system and ensure the continuity of the production process. However, due to the island effect between multiple assembly lines, the advantages of multiple assembly lines are not fully utilized. Faced with large-volume calibration tasks, there are still problems of low efficiency and low stability. Summary of the invention
[0004] In order to solve the above problems, the purpose of the present invention is to provide a method and system for fault control of electric energy metering multi-calibration pipeline, which can significantly improve the operating efficiency and stability of the electric energy metering multi-calibration pipeline.
[0005] To achieve the above object, the present invention adopts the following technical solutions:
[0006] A method for controlling faults in an electric energy metering multi-calibration pipeline comprises the following steps:
[0007] S1: Treat each device of the electric energy metering multi-verification pipeline as an independent node and construct a device network diagram;
[0008] S2: Based on sensors, the operation data and line status data of each calibration equipment on each assembly line are collected in real time and preprocessed;
[0009] S3: Combine LSTM and CNN for feature extraction, and then use XGBoost to establish a multimodal fault prediction model to detect real-time data;
[0010] S4: locate the fault based on the fault detection result and the device network diagram to obtain the fault source;
[0011] S5: Based on the SVM model, a fault diagnosis model is constructed, and the root cause analysis of the fault source is performed through the fault diagnosis model to determine the specific fault type. According to the fault type output by the model, the corresponding automatic control logic is triggered to perform self-healing operations;
[0012] S6: Based on the fault location and self-healing results, a genetic algorithm is used to obtain a scheduling plan to achieve cross-assembly line scheduling. According to the scheduling plan, the robot transportation path is planned based on the path planning algorithm to complete real-time scheduling and optimize the operation status of multiple assembly lines in real time to ensure stable operation of the system. The details are as follows:
[0013] Based on fault diagnosis and self-healing operations, locate the production line where the equipment is located and the specific fault location, evaluate the self-healing effect, and determine whether the production task needs to be rescheduled;
[0014] If production tasks need to be rescheduled, they are reassigned and scheduled based on genetic algorithms;
[0015] Based on the scheduling plan, the path planning algorithm is used to plan the transportation path for the robot to ensure smooth material handling and task allocation between multiple assembly lines;
[0016] The redistribution and scheduling of production tasks based on genetic algorithms are as follows:
[0017] Generate random initial scheduling schemes and calculate the fitness of each scheme based on task completion time, delay and load balance;
[0018]
[0019] Among them, Fitness(S) is the fitness of solution S; α′ and β′ are weight coefficients; L is the total number of tasks; S is the total number of pipelines; D l is the urgency of the lth task; Delay(T l ) is the delay time of the lth task; Load(M s ) is the load balance degree of the sth pipeline;
[0020] Delay(T l )=max(0,completion(T l )-Deadline(T l ));
[0021]
[0022] Among them, completion(T l ) is the completion time of the lth task; Deadline(T l ) is the deadline of the lth task; L D (M s ) is the current load of pipeline s; Ave is the average load of all pipelines;
[0023] Select the solution with the highest fitness for crossover and mutation;
[0024] Crossover: Exchange some tasks and generate new scheduling plans;
[0025] Mutation: Randomly adjust some tasks to avoid local optimality;
[0026] Repeat the above steps until the convergence condition is met or the maximum number of iterations is reached.
[0027] Furthermore, the device network diagram is constructed as follows:
[0028] The hierarchical topology includes sensor nodes, device nodes, and control nodes;
[0029] Assume that each node N u Represents a specific device or sensor; E uv Represents node v u and v v The communication link between them; weight w uv Indicates the communication bandwidth;
[0030] Construct the adjacency matrix:
[0031]
[0032] Among them, a uv =1 indicates node v u and v v There is a connection between uv =0 means no connection;
[0033]
[0034] Among them, w uv Represents node v u and v v The communication bandwidth between them.
[0035] Furthermore, step S2 is specifically as follows:
[0036] Obtain timestamp t, device ID and parameter value V(t) based on the sensor;
[0037] The parameter values are denoised and filtered using mean filtering, and the data is standardized based on Z-score standardization:
[0038] Use weighted average method to perform multi-sensor data fusion:
[0039]
[0040] Where m is the number of sensors; w i′ and V i′ (t) represent the weight and parameter value of the i′th sensor respectively.
[0041] Furthermore, LSTM and CNN are combined for feature extraction, as follows:
[0042] Obtain sensor time series data V(t) and monitoring image data I t ;
[0043] Extracting features from time series data using LSTM:
[0044] h t =LSTM(x t ,h t-1 ,c t-1 ), t=1,2...,T;
[0045] Among them, h t and c t are the hidden state and cell state at time t respectively;
[0046] Feature extraction layer:
[0047] F lstm =(h1,h2,...,h T );
[0048] where F lstm is the feature vector extracted by the LSTM network;
[0049] Use CNN to extract features from image data:
[0050]
[0051] in, is the output of the convolutional layer; W conv and b conv are the weights and biases of the convolutional layer, * represents the convolution operation, and ReLU is the activation function;
[0052]
[0053] Among them, P (t) It is the feature map output by the pooling layer;
[0054]
[0055] Among them, W fc and b fc are the weights and biases of the fully connected layer, is the final eigenvector;
[0056]
[0057] Among them, F cnnIt is the feature vector extracted by the CNN network;
[0058] Finally, the feature vectors extracted by LSTM and CNN are fused to obtain a comprehensive vector:
[0059] F combined =[F lstm ,F cnn ].
[0060] Furthermore, XGBoost is used to establish a multimodal fault prediction model, as follows:
[0061] The input feature is the fusion feature vector F of the sensor and the image combined , Label: fault label y, 0 means normal, 1 means fault;
[0062] XGBoost uses the weighted tree integration method, and the objective function is as follows:
[0063]
[0064] in, is the loss function; y i and are the predicted label and actual label of the i-th data respectively; Ω(f k ) is the regularization term;
[0065] The weighted tree model is:
[0066]
[0067] The structure of the tree:
[0068]
[0069] Among them, γ is the penalty coefficient of the number of leaf nodes, T k is the number of leaf nodes of the kth tree; λ is the weight w kj The penalty coefficient.
[0070] Furthermore, based on the fault detection results and the device network diagram, the fault is located and the fault source is obtained, as follows:
[0071] Based on the equipment network diagram, the fault propagation model is used to analyze the fault propagation path in the network and build a fault propagation probability matrix;
[0072] P uv =P(v v fails|v u fails
[0073] Among them, P uv represents the probability of device vu failing when device vv fails;
[0074] Based on the fault detection results of the detection model, the fault state vector y is obtained;
[0075] The detection results and the propagation model are used to calculate the fault probability of each node. The initial fault propagation probability vector p0 = y is set, and the propagation probability is updated through iteration:
[0076] p(t′+1)=P·p(t′)
[0077] Where t′ represents the number of iterations, and the iteration is stopped when the fault propagation converges;
[0078] Using the Bayesian network, the observed fault state vector y and prior knowledge P(v v ), calculate the posterior probability P(v v ∣y);
[0079] P(v v ∣y)∝P(y∣v v )P(v v );
[0080] Based on the posterior probability P(vi|y), the possibility of each device being the root fault node is evaluated, and the device with the largest posterior probability is selected as the fault source.
[0081] Furthermore, based on the SVM model, a fault diagnosis model is constructed, as follows:
[0082] Construct the optimization objective function:
[0083]
[0084] Among them, K(x i″ ,x j″ ) = exp(-γ||x i″ -x j″ || 2 ) is the kernel function; x i″ ,x j″ are input feature vectors, representing the i″th and j″th data samples respectively; α is the Lagrange multiplier; y i″ represents the actual category of the i″th sample; N is the number of samples;
[0085] Constraints:
[0086]
[0087] Where C is the soft interval parameter;
[0088] Prediction function:
[0089]
[0090] Where FT is the predicted fault type, sign(·) is the sign function, b is the bias term;
[0091] The SVM model is trained based on the historical data set, and the Lagrange multiplier is solved using the SMO algorithm to obtain the fault diagnosis model.
[0092] A system for controlling faults in a multi-calibration pipeline for electric energy metering comprises a processor, a memory and a computer program stored in the memory. When the processor executes the computer program, it specifically executes the steps in the method for controlling faults in a multi-calibration pipeline for electric energy metering as described above.
[0093] The present invention has the following beneficial effects:
[0094] 1. The present invention uses real-time monitoring of sensor data and image data, combines prediction models to predict faults, discovers potential faults in advance, and uses fault diagnosis models to analyze the root causes of faults and perform self-healing operations, thereby achieving rapid processing and improving system reliability. Finally, a scheduling solution is obtained through a genetic algorithm to achieve effective scheduling across production lines, which can significantly improve the operating efficiency and stability of the multi-calibration production line for electric energy metering.
[0095] 2. The present invention combines LSTM and CNN for feature extraction, and then uses XGBoost to establish a fault detection model, which can fully utilize the information in time series and image data to achieve accurate fault detection;
[0096] 3. The present invention comprehensively applies fault propagation analysis, probability model and graph algorithm to improve the accuracy and efficiency of fault location and effectively enhance the level of equipment management and maintenance. BRIEF DESCRIPTION OF THE DRAWINGS
[0097] Figure 1 The figure is a flow chart of the method of the present invention. DETAILED DESCRIPTION
[0098] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments:
[0099] refer to Figure 1 In this embodiment, a method for controlling faults in an electric energy metering multi-calibration pipeline is provided, comprising the following steps:
[0100] S1: Treat each device of the electric energy metering multi-verification pipeline as an independent node and construct a device network diagram;
[0101] S2: Based on sensors, the operation data and line status data of each calibration equipment on each assembly line are collected in real time and preprocessed; industrial cameras, vibration sensors, temperature sensors and current and voltage sensors are used to collect sensor data and image data;
[0102] S3: Combine LSTM and CNN for feature extraction, and then use XGBoost to establish a multimodal fault prediction model to detect real-time data;
[0103] S4: locate the fault based on the fault detection result and the device network diagram to obtain the fault source;
[0104] S5: Based on the SVM model, a fault diagnosis model is constructed, and the root cause analysis of the fault source is performed through the fault diagnosis model to determine the specific fault type. According to the fault type output by the model (such as sensor fault, mechanical fault, electrical fault, etc.), the corresponding automatic control logic is triggered to perform self-healing operations; for example, the position of the power meter is adjusted, the sensor is replaced, etc., to achieve self-healing operations;
[0105] S6: Based on the fault location and self-healing results, a genetic algorithm is used to obtain a scheduling plan to achieve cross-assembly line scheduling. According to the scheduling plan, the robot transportation path is planned based on the path planning algorithm to complete real-time scheduling and optimize the operating status of multiple assembly lines in real time to ensure stable operation of the system.
[0106] In this embodiment, preferably, the device network diagram is constructed as follows:
[0107] The hierarchical topology includes sensor nodes, device nodes, and control nodes;
[0108] Assume that each node N u Represents a specific device or sensor; E uv Represents node v u and v v The communication link between them; weight w uv Indicates the communication bandwidth;
[0109] Construct the adjacency matrix:
[0110]
[0111] Among them, a uv =1 indicates node v u and v v There is a connection between uv =0 means no connection;
[0112]
[0113] Among them, w uv Represents node v uand v v The communication bandwidth between them.
[0114] Node example:
[0115] N1: sensor node (temperature sensor).
[0116] N2: sensor node (vibration sensor).
[0117] N3: Equipment node (conveyor belt motor).
[0118] N4: edge computing node.
[0119] N5: Cloud management node.
[0120] Adjacency Matrix:
[0121]
[0122] Weight matrix:
[0123]
[0124] In this embodiment, preferably, step S2 is specifically:
[0125] Obtain timestamp t, device ID and parameter value V(t) based on the sensor;
[0126] The parameter values are denoised and filtered using mean filtering, and the data is standardized based on Z-score standardization:
[0127] Use weighted average method to perform multi-sensor data fusion:
[0128]
[0129] Where m is the number of sensors; w i′ and V i′ (t) represent the weight and parameter value of the i′th sensor respectively.
[0130] In this embodiment, preferably, LSTM and CNN are combined to perform feature extraction, as follows:
[0131] Obtain sensor time series data V(t) and monitoring image data I t ;
[0132] Extracting features from time series data using LSTM:
[0133] h t =LSTM(x t ,h t-1 ,c t-1 ), t=1,2...,T;
[0134] Among them, h t and c t are the hidden state and cell state at time t respectively;
[0135] Feature extraction layer:
[0136] F lstm =(h1,h2,...,h T );
[0137] where F lstm is the feature vector extracted by the LSTM network;
[0138] Use CNN to extract features from image data:
[0139]
[0140] in, is the output of the convolutional layer; W conv and b conv are the weights and biases of the convolutional layer, * represents the convolution operation, and ReLU is the activation function;
[0141]
[0142] Among them, P (t) It is the feature map output by the pooling layer;
[0143]
[0144] Among them, W fc and b fc are the weights and biases of the fully connected layer, is the final eigenvector;
[0145]
[0146] Among them, F cnn It is the feature vector extracted by the CNN network;
[0147] Finally, the feature vectors extracted by LSTM and CNN are fused to obtain a comprehensive vector:
[0148] F combined =[F lstm ,F cnn ].
[0149] In this embodiment, preferably, XGBoost is used to establish a multimodal fault prediction model, as follows:
[0150] The input feature is the fusion feature vector F of the sensor and the image combined, Label: fault label y, 0 means normal, 1 means fault;
[0151] XGBoost uses the weighted tree integration method, and the objective function is as follows:
[0152]
[0153] in, is the loss function; y i and are the predicted label and actual label of the i-th data respectively; Ω(f k ) is the regularization term;
[0154] The weighted tree model is:
[0155]
[0156] The structure of the tree:
[0157]
[0158] Among them, γ is the penalty coefficient of the number of leaf nodes, Tk is the number of leaf nodes in the kth tree; λ is the penalty coefficient of the weight wkj.
[0159] In this embodiment, preferably, the fault location is performed based on the fault detection result and the device network diagram to obtain the fault source, as follows:
[0160] Based on the equipment network diagram, the fault propagation model is used to analyze the fault propagation path in the network and build a fault propagation probability matrix;
[0161] P uv =P(v v fails|v u fails
[0162] Among them, P uv represents the probability of device vu failing when device vv fails;
[0163] Based on the fault detection results of the detection model, the fault state vector y is obtained;
[0164] The detection results and the propagation model are used to calculate the fault probability of each node. The initial fault propagation probability vector p0 = y is set, and the propagation probability is updated through iteration:
[0165] p(t′+1)=P·p(t′)
[0166] Where t′ represents the number of iterations, and the iteration is stopped when the fault propagation converges;
[0167] Using the Bayesian network, the observed fault state vector y and prior knowledge P(vv ), calculate the posterior probability P(v v ∣y);
[0168] P(v v ∣y)∝P(y∣v v )P(v v );
[0169] Based on the posterior probability P(vi|y), the possibility of each device being the root fault node is evaluated, and the device with the largest posterior probability is selected as the fault source.
[0170] In this embodiment, preferably, a fault diagnosis model is constructed based on the SVM model, which is as follows:
[0171] Construct the optimization objective function:
[0172]
[0173] Among them, K(x i″ ,x j″ ) = exp(-γ||x i″ -x j″ || 2 ) is the kernel function; x i″ ,x j″ are input feature vectors, representing the i″th and j″th data samples respectively; α is the Lagrange multiplier; y i″ represents the actual category of the i″th sample; N is the number of samples;
[0174] Constraints:
[0175]
[0176] Where C is the soft interval parameter;
[0177] Prediction function:
[0178]
[0179] Where FT is the predicted fault type, sign(·) is the sign function, b is the bias term;
[0180] Therefore
[0181] The SVM model is trained based on the historical data set, and the Lagrange multiplier is solved using the SMO algorithm to obtain the fault diagnosis model.
[0182] In this embodiment, preferably, step S6 is specifically as follows:
[0183] Based on fault diagnosis and self-healing operations, locate the production line where the equipment is located and the specific fault location, evaluate the self-healing effect, and determine whether the production task needs to be rescheduled;
[0184] If production tasks need to be rescheduled, they are reassigned and scheduled based on genetic algorithms;
[0185] Based on the scheduling plan, a path planning algorithm (such as A* algorithm, Dijkstra algorithm, etc.) is used to plan the transportation path for the robot to ensure smooth material handling and task allocation between multiple assembly lines.
[0186] In this embodiment, preferably, the redistribution and scheduling of production tasks are performed based on a genetic algorithm, as follows:
[0187] Generate random initial scheduling schemes and calculate the fitness of each scheme based on task completion time, delay and load balance;
[0188]
[0189] Among them, Fitness(S) is the fitness of solution S; α′ and β′ are weight coefficients; L is the total number of tasks; S is the total number of pipelines; D l is the urgency of the lth task; Delay(T l ) is the delay time of the lth task; Load(M s ) is the load balance degree of the sth pipeline;
[0190] Delay(T l )=max(0,completion(T l )-Deadline(T l ));
[0191]
[0192] Among them, completion(T l ) is the completion time of the lth task; Deadline(T l ) is the deadline of the lth task; L D (M s ) is the current load of pipeline s; Ave is the average load of all pipelines;
[0193] Select the solution with the highest fitness for crossover and mutation;
[0194] Crossover: Exchange some tasks and generate new scheduling plans;
[0195] Mutation: Randomly adjust some tasks to avoid local optimality;
[0196] Repeat the above steps until the convergence condition is met or the maximum number of iterations is reached.
[0197] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0198] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0199] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0200] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0201] The above is only a preferred embodiment of the present invention, and does not limit the present invention in other forms. Any technician familiar with the profession may use the above disclosed technical content to change or modify it into an equivalent embodiment with equivalent changes. However, any simple modification, equivalent change and modification made to the above embodiment according to the technical essence of the present invention without departing from the technical solution of the present invention still belongs to the protection scope of the technical solution of the present invention.
Claims
1. A method for fault control of electric energy metering multi-calibration pipeline, characterized in that: The following steps are involved: S1: Treat each device of the electric energy metering multi-verification pipeline as an independent node and construct a device network diagram; S2: Based on sensors, the operation data and line status data of each calibration equipment on each assembly line are collected in real time and preprocessed; S3: Combine LSTM and CNN for feature extraction, and then use XGBoost to establish a multimodal fault prediction model to detect real-time data; S4: locate the fault based on the fault detection result and the device network diagram to obtain the fault source; S5: Based on the SVM model, a fault diagnosis model is constructed, and the root cause analysis of the fault source is performed through the fault diagnosis model to determine the specific fault type. According to the fault type output by the model, the corresponding automatic control logic is triggered to perform self-healing operations; S6: Based on the fault location and self-healing results, a genetic algorithm is used to obtain a scheduling plan to achieve cross-assembly line scheduling. According to the scheduling plan, the robot transportation path is planned based on the path planning algorithm to complete real-time scheduling and optimize the operation status of multiple assembly lines in real time to ensure stable operation of the system. The details are as follows: Based on fault diagnosis and self-healing operations, locate the production line where the equipment is located and the specific fault location, evaluate the self-healing effect, and determine whether the production task needs to be rescheduled; If production tasks need to be rescheduled, they are reassigned and scheduled based on genetic algorithms; Based on the scheduling plan, the path planning algorithm is used to plan the transportation path for the robot to ensure smooth material handling and task allocation between multiple assembly lines; The redistribution and scheduling of production tasks based on genetic algorithms are as follows: Generate random initial scheduling schemes and calculate the fitness of each scheme based on task completion time, delay and load balance; Among them, Fitness(S) is the fitness of solution S; α′ and β′ are weight coefficients; L is the total number of tasks; S is the total number of pipelines; D l is the urgency of the lth task; Delay(T l ) is the delay time of the lth task; Load(M s ) is the load balance degree of the sth pipeline; Delay(T l )=max(0,completion(T l )-Deadline(T l )); Among them, completion(T l ) is the completion time of the lth task; Deadline(T l ) is the deadline of the lth task; L D (M s ) is the current load of pipeline s; Ave is the average load of all pipelines; Select the solution with the highest fitness for crossover and mutation; Crossover: Exchange some tasks and generate new scheduling plans; Mutation: Randomly adjust some tasks to avoid local optimality; Repeat the above steps until the convergence condition is met or the maximum number of iterations is reached.
2. According to claim 1, a method for fault control of electric energy metering multi-verification pipeline, characterized in that: The device network diagram is constructed as follows: The hierarchical topology includes sensor nodes, device nodes, and control nodes; Assume that each node N u Represents a specific device or sensor; E uv Represents node v u and v v The communication link between them; weight w uv Indicates the communication bandwidth; Construct the adjacency matrix: Among them, a uv =1 indicates node v u and v v There is a connection between uv =0 means no connection; Among them, w uv Represents node v u and v v The communication bandwidth between them.
3. The method for fault control of electric energy metering multi-verification pipeline according to claim 1 is characterized in that: The step S2 is specifically as follows: Obtain timestamp t, device ID and parameter value V(t) based on the sensor; The parameter values are denoised and filtered using mean filtering, and the data is standardized based on Z-score standardization: Use weighted average method to perform multi-sensor data fusion: Where m is the number of sensors; w i′ and V i′ (t) represent the weight and parameter value of the i′th sensor respectively.
4. The method for fault control of electric energy metering multi-verification pipeline according to claim 1 is characterized in that: The feature extraction is performed by combining LSTM and CNN as follows: Obtain sensor time series data V(t) and monitoring image data I t ; Extracting features from time series data using LSTM: h t =LSTM(x t ,h t-1 ,c t-1 ),t=1,2...,T; Among them, h t and c t are the hidden state and cell state at time t respectively; Feature extraction layer: F lstm =(h1,h2,...,h T ); where F lstm is the feature vector extracted by the LSTM network; Use CNN to extract features from image data: in, is the output of the convolutional layer; W conv and b conv are the weights and biases of the convolutional layer, * represents the convolution operation, and ReLU is the activation function; Among them, P (t) It is the feature map output by the pooling layer; Among them, W fc and b fc are the weights and biases of the fully connected layer, is the final eigenvector; Among them, F cnn It is the feature vector extracted by the CNN network; Finally, the feature vectors extracted by LSTM and CNN are fused to obtain a comprehensive vector: F combined =[F lstm ,F cnn ]。 5. The method for fault control of electric energy metering multi-verification pipeline according to claim 4 is characterized in that: The multimodal fault prediction model is established using XGBoost, as follows: The input feature is the fusion feature vector F of the sensor and the image combined , Label: fault label y, 0 means normal, 1 means fault; XGBoost uses the weighted tree integration method, and the objective function is as follows: in, is the loss function; y i and are the predicted label and actual label of the i-th data respectively; Ω(f k ) is the regularization term; The weighted tree model is: The structure of the tree: Among them, γ is the penalty coefficient of the number of leaf nodes, T k is the number of leaf nodes of the kth tree; λ is the weight w kj The penalty coefficient.
6. The method for fault control of electric energy metering multi-verification pipeline according to claim 1 is characterized in that: The fault location is performed based on the fault detection result and the device network diagram to obtain the fault source, as follows: Based on the equipment network diagram, the fault propagation model is used to analyze the fault propagation path in the network and build a fault propagation probability matrix; P uv =P(v v fails∣v u fails) Among them, P uv represents the probability of device vu failing when device vv fails; Based on the fault detection results of the detection model, the fault state vector y is obtained; The detection results and the propagation model are used to calculate the fault probability of each node. The initial fault propagation probability vector p0 = y is set, and the propagation probability is updated through iteration: p(t′+1)=P·p(t′) Where t′ represents the number of iterations, and the iteration is stopped when the fault propagation converges; Using the Bayesian network, the observed fault state vector y and prior knowledge P(v v ), calculate the posterior probability P(v v ∣y); P(in v ∣y)∝P(y∣v v )P(v v ); Based on the posterior probability P(vi|y), the possibility of each device being the root fault node is evaluated, and the device with the largest posterior probability is selected as the fault source.
7. The method for fault control of electric energy metering multi-verification pipeline according to claim 1 is characterized in that: Based on the SVM model, a fault diagnosis model is constructed, which is specifically as follows: Construct the optimization objective function: Among them, K(x i″ ,x j″ ) = exp(-γ||x i″ -x j″ || 2 ) is the kernel function; x i″ ,x j″ are input feature vectors, representing the i″th and j″th data samples respectively; α is the Lagrange multiplier; y i″ represents the actual category of the i″th sample; N is the number of samples; Constraints: Where C is the soft interval parameter; Prediction function: Among them, FT is the predicted fault type, sign() is the sign function; b is the bias term; The SVM model is trained based on the historical data set, and the Lagrange multiplier is solved using the SMO algorithm to obtain the fault diagnosis model.
8. An electric energy metering multi-calibration pipeline fault control system, characterized in that: It includes a processor, a memory and a computer program stored in the memory. When the processor executes the computer program, it specifically executes the steps in the electric energy metering multi-calibration pipeline fault control method as described in any one of claims 1 to 7.
Citation Information
Cited By
Power equipment diagnosis method and system based on artificial intelligence
CN119026088A
A power equipment diagnosis method and system based on artificial intelligence
CN119026088B
Equipment fault repair management system
CN120579966A
Fault diagnosis method and device for hydrogen energy power generation equipment
CN120781126A
Multi-branch fault detection method and system for electric energy metering assembly line
CN121980247A
