Electric energy meter state evaluation method and system based on variable coefficient method and K-means

Through the coefficient of variation method and K-means clustering combined with cable regression and deep neural network, an electric energy meter status evaluation model is constructed, which solves the problem of large electric energy meter monitoring errors in the existing technology and achieves more efficient feature selection and power system Improved stability.

CN118747302AActive Publication Date: 2024-10-08ZHANGJIAKOU POWER SUPPLY COMPANY OF STATE GRID JINBEI ELECTRIC POWER COMPANY +1

Patent Information

Application Number
CN202410846468.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-10-08
Estimated Expiration
2044-06-27

AI Technical Summary

Technical Problem

Existing technology makes it difficult to effectively monitor and manage millions of electric energy meters, resulting in large errors and low reliability, making it difficult to meet the management needs of enterprises to reduce staff and increase efficiency.

Method used

The electric energy meter status evaluation method based on the coefficient of variation method and K-means is used to obtain historical working data and environmental data, perform preprocessing, feature extraction and clustering, and combine the Lasso regression and deep neural network to build a status evaluation model to achieve real-time Monitoring and dynamic optimization.

Benefits of technology

It improves the accuracy and reliability of electric energy meter status evaluation, reduces the redundancy of feature selection, and improves the prediction ability of the model and the stability of the power system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118747302A_ABST
    Figure CN118747302A_ABST
Patent Text Reader

Abstract

The invention relates to an electric energy meter state evaluation method based on a variable coefficient method and K-means, and the method comprises the following steps: S1, obtaining historical working data and environment data of an electric energy meter, and carrying out the preprocessing of the data; s2, carrying out feature extraction on the preprocessed data, and carrying out normalization processing on features; s3, calculating a variable coefficient of each feature to obtain an initial feature combination, and inputting the initial feature set into a K-means clustering algorithm; s4, feature selection is carried out by using cable regression in combination with a K-means clustering result, a final feature combination is formed, and a training data set is constructed; s5, constructing an electric energy meter state evaluation model based on the deep neural network, and training based on the training data set; and S6, establishing a real-time monitoring unit, monitoring an electric energy meter state evaluation result based on the trained electric energy meter state evaluation model, setting a threshold value, giving an alarm in real time, and reminding operation and maintenance personnel to process. The system effectively monitors and manages the electric energy meter, and improves the reliability and stability of a power supply system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electric energy meter state monitoring, and in particular to an electric energy meter state evaluation method and system based on a coefficient of variation method and K-means. Background Art

[0002] The electric energy meter is responsible for measuring, storing and transmitting important information such as voltage, current and electric energy. The accuracy and timeliness of electric energy metering and information transmission are related to the quality and efficiency of electricity bill settlement between power companies and customers. For millions of operating electric energy meters with large power volume, regular on-site inspections are generally used to monitor their operating status. The huge investment in transportation and manpower makes it difficult to meet the current management direction of enterprises to reduce staff and increase efficiency.

[0003] Since there are a large number of electricity meters and they are easily affected by many factors, the collected data has a lot of noise. The conventional status assessment scheme results in large errors and low reliability. Summary of the invention

[0004] In order to solve the above problems, the purpose of the present invention is to provide an electric energy meter status evaluation method based on the coefficient of variation method and K-means, so as to effectively monitor and manage the electric energy meter and improve the reliability and stability of the power supply system.

[0005] To achieve the above object, the present invention adopts the following technical solutions:

[0006] A method for evaluating the state of an electric energy meter based on a coefficient of variation method and K-means comprises the following steps:

[0007] S1: Obtain historical working data and environmental data of the electric energy meter and pre-process the data;

[0008] S2: Extract features from the preprocessed data and normalize the features;

[0009] S3: Calculate the coefficient of variation of each feature, screen out important features based on the coefficient of variation, remove redundant features with small coefficient of variation and low fluctuation, obtain an initial feature combination, and input the initial feature set into the K-means clustering algorithm to obtain a more representative and relevant feature combination;

[0010] The initial feature set is input into the K-means clustering algorithm to obtain a more representative and relevant feature combination, as follows:

[0011] (1) Select the number of clusters k′;

[0012] (2) Randomly initialize k′ center points;

[0013] (3) Repeat the following steps until the center point converges or the maximum number of iterations is reached:

[0014] aFor each data point, calculate its Euclidean distance with all center points and assign it to the cluster corresponding to the nearest center point;

[0015] b Recalculate the center point of each cluster;

[0016]

[0017] Among them, u k′ It is cluster C k The center point of |C k′ | is the number of cluster centers; z i′ belongs to cluster C k The coordinate vector of the i′ point;

[0018] According to the clustering results, the features in each cluster have similar properties, and a representative feature is selected from each cluster to form the final feature combination;

[0019] S4: Use Lasso regression combined with K-means clustering results to perform feature selection, form the final feature combination, and construct a training data set;

[0020] The Lasso regression is combined with the K-means clustering results to perform feature selection, form the final feature combination, and construct a training data set, as follows:

[0021] Combined with the final feature combination obtained by K-means clustering, the representative features in each cluster are input into Lasso regression, and the most representative features are further selected through Lasso regression. The Lasso regression is as follows:

[0022]

[0023] Among them, β is the estimated parameter of the regression model; m is the total number of samples; p is the total number of features; y u is the actual output / response variable for the u-th observation; x uv is the value of the vth characteristic variable of the uth observation; λ is the regularization parameter;

[0024] Extract the important features obtained by Lasso regression, form the final feature combination, and construct the training data set;

[0025] S5: constructing an electric energy meter state evaluation model based on a deep neural network and training it based on a training data set;

[0026] S6: Establish a real-time monitoring unit to monitor the status evaluation results of the electric energy meter based on the trained electric energy meter status evaluation model, set thresholds and issue real-time alarms to remind operation and maintenance personnel to handle the situation.

[0027] Furthermore, the step S1 is specifically as follows:

[0028] Obtain the historical working data of the electric energy meter including voltage, current, power, energy consumption, frequency, and phase angle; environmental data including temperature, humidity, and air pressure;

[0029] Interpolation method is used to handle missing values, and outliers are identified and processed based on the 3σ principle;

[0030] Smooth the time series data by calculating the average value of the data in a fixed window C to remove short-term fluctuations:

[0031] For the time series x t , and its moving average is:

[0032]

[0033] Where t is time.

[0034] Furthermore, the feature extraction includes extraction of time domain features, frequency domain features and time-frequency domain features, as follows:

[0035] The time domain features include mean, variance, peak, skewness, and peak-to-peak value, as follows:

[0036]

[0037] P2P = max(x) - min(x);

[0038] Among them, μ is the mean, σ 2 is the variance, S is the skewness, P2P is the peak-to-peak value; x i is the i-th data; N is the number of data;

[0039] Frequency domain features, including frequency amplitude and frequency band energy, are extracted through Fourier transform;

[0040]

[0041] Among them, X k is the value of the kth frequency component of the frequency domain signal; j is an imaginary unit; |X k | is the frequency amplitude of the kth frequency component of the frequency domain signal; E band Energy in band k1-k2; R(X k ) is the real part of the frequency domain signal at the kth frequency component, S(X k ) is the imaginary part of the frequency domain signal at the kth frequency component;

[0042] Finally, the energy distribution in time-frequency domain is obtained through wavelet transform.

[0043] Furthermore, the electric energy meter state evaluation model is constructed based on the deep neural network, as follows:

[0044] The deep neural network includes L hidden layers. In the first layer, the weight matrix W (l) , bias vector b (l) And the activation function LeakyReLU is composed as follows:

[0045] The input A of each layer [l-1] After linear transformation, we get Z [l] :

[0046] Z (l) =W (l) A (l-1) +b (l) ;

[0047] Among them, Z (l) is the linear transformation result of the lth layer;

[0048] Z (l)

[0049] Perform batch normalization to ensure that the input distribution of each layer is similar and improve training stability:

[0050]

[0051] Among them, u B is the mean calculated in batch normalization, is the variance calculated in batch normalization, and ε is the smoothing term: is the linear transformation result of the lth layer after batch normalization

[0052] The activation function Leaky ReLU is:

[0053]

[0054] Among them, α is the slope parameter in the Leaky ReLU activation function;

[0055] Based on dropout, neurons are randomly discarded, making the model more robust during training and reducing the risk of overfitting.

[0056]

[0057] Where p is the proportion of retained neurons;

[0058] The output layer is:

[0059]

[0060] Furthermore, the electric energy meter state evaluation model is trained based on the training set, combined with the loss function with L2 regularization and the ADAM optimizer to obtain the trained electric energy meter state evaluation model. The loss function is as follows:

[0061]

[0062] Where M is the number of categories, is the actual label of the qth sample in the cth category; is the model's predicted probability for the qth sample in the cth category;

[0063] Initialize model parameters, including weight matrix W (l) , bias vector b (l) , set the baseline learning rate α, hyperparameters β1, β2,∈, regularization coefficient λ and number of iterations T;

[0064] Update the parameters at each time step, and process each parameter θ as follows:

[0065] Time step update: t=t+1;

[0066] Compute the gradient:

[0067]

[0068] Compute first moment estimates:

[0069] m t =β1m t-1 +(1-β1)g t ;

[0070] Compute second moment estimates:

[0071]

[0072] Apply bias correction to the first moment estimates:

[0073]

[0074] Apply bias correction to the second moment estimates:

[0075]

[0076] Parameter update:

[0077]

[0078] Repeat the above steps until the number of training iterations is met, and finally obtain the trained electricity meter state evaluation model.

[0079] Furthermore, the S6 is specifically:

[0080] S61: collecting real-time data through sensors deployed on the electric energy meter and transmitting it to a real-time monitoring unit through the Internet of Things technology;

[0081] S62: Use the streaming data processing engine Apache Flink to preprocess the real-time data stream, including data cleaning, filtering and feature extraction;

[0082] S63: Monitor the status evaluation results of the electric energy meter based on the trained electric energy meter status evaluation model, and use the online learning algorithm to train and update the real-time data, and continuously optimize the model parameters to achieve dynamic evaluation.

[0083] A system for evaluating the state of an electric energy meter based on the coefficient of variation method and K-means as described in any one of claims 1 to 6, characterized in that it comprises a sensor module, a data collection gateway, a real-time monitoring unit, a streaming data processing engine Apache Flink, a state evaluation module and an online learning module; the sensor module collects real-time data and transmits it to the real-time monitoring unit through the data collection gateway, uses the streaming data processing engine Apache Flink to preprocess the real-time data stream, including data cleaning, filtering and feature extraction, monitors the electric energy meter state evaluation results based on the state evaluation module, and trains and updates the real-time data based on the online learning module, and continuously optimizes the model parameters to achieve dynamic evaluation.

[0084] The present invention has the following beneficial effects:

[0085] 1. The present invention combines K-means clustering and Lasso regression to select more representative and relevant features from the feature set, thereby forming the final feature combination, ensuring that feature selection not only considers the similarity and redundancy between features, but also further selects the most predictive and explanatory features through Lasso regression;

[0086] 2. The present invention constructs an electric energy meter state evaluation model based on a deep neural network, and trains it with a training data set constructed by Lasso regression. The present application trains the electric energy meter state evaluation model based on a loss function with L2 regularization and an ADAM optimizer, which can further improve the prediction ability and accuracy of the model, and can effectively improve the performance of the electric energy meter state evaluation model, so that it can perform well in real-time monitoring and dynamic optimization tasks. BRIEF DESCRIPTION OF THE DRAWINGS

[0087] Figure 1 is a flow chart of the method of the present invention;

[0088] Figure 2 It is a system framework diagram in one embodiment of the present invention. DETAILED DESCRIPTION

[0089] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments:

[0090] refer to Figure 1 In this embodiment, a method for evaluating the state of an electric energy meter based on the coefficient of variation method and K-means is provided, comprising the following steps:

[0091] S1: Obtain historical working data and environmental data of the electric energy meter and pre-process the data;

[0092] S2: Extract features from the preprocessed data and normalize the features;

[0093] S3: Calculate the coefficient of variation of each feature, screen out important features based on the coefficient of variation, remove redundant features with small coefficient of variation and low fluctuation, obtain an initial feature combination, and input the initial feature set into the K-means clustering algorithm to obtain a more representative and relevant feature combination;

[0094] The initial feature set is input into the K-means clustering algorithm to obtain a more representative and relevant feature combination, as follows:

[0095] (1) Select the number of clusters k′;

[0096] (2) Randomly initialize k′ center points;

[0097] (3) Repeat the following steps until the center point converges or the maximum number of iterations is reached:

[0098] aFor each data point, calculate its Euclidean distance with all center points and assign it to the cluster corresponding to the nearest center point;

[0099] b Recalculate the center point of each cluster;

[0100]

[0101] Among them, u k′ It is cluster C k The center point of |C k′ | is the number of cluster centers; z i′ belongs to cluster C k The coordinate vector of the i′ point;

[0102] According to the clustering results, the features in each cluster have similar properties, and a representative feature is selected from each cluster to form the final feature combination;

[0103] S4: Use Lasso regression combined with K-means clustering results to perform feature selection, form the final feature combination, and construct a training data set;

[0104] The Lasso regression is combined with the K-means clustering results to perform feature selection, form the final feature combination, and construct a training data set, as follows:

[0105] Combined with the final feature combination obtained by K-means clustering, the representative features in each cluster are input into Lasso regression, and the most representative features are further selected through Lasso regression. The Lasso regression is as follows:

[0106]

[0107] Among them, β is the estimated parameter of the regression model; m is the total number of samples; p is the total number of features; y u is the actual output / response variable for the u-th observation; x uv is the value of the vth characteristic variable of the uth observation; λ is the regularization parameter;

[0108] Extract the important features obtained by Lasso regression, form the final feature combination, and construct the training data set;

[0109] S5: constructing an electric energy meter state evaluation model based on a deep neural network and training it based on a training data set;

[0110] S6: Establish a real-time monitoring unit to monitor the status evaluation results of the electric energy meter based on the trained electric energy meter status evaluation model, set thresholds and issue real-time alarms to remind operation and maintenance personnel to handle the situation.

[0111] In this embodiment, step S1 is specifically as follows:

[0112] Obtain the historical working data of the electric energy meter including voltage, current, power, energy consumption, frequency, and phase angle; environmental data including temperature, humidity, and air pressure;

[0113] Interpolation method is used to handle missing values, and outliers are identified and processed based on the 3σ principle;

[0114] Smooth the time series data by calculating the average value of the data in a fixed window C to remove short-term fluctuations:

[0115] For the time series x t , and its moving average is:

[0116]

[0117] Where t is time.

[0118] In this embodiment, feature extraction includes extraction of time domain features, frequency domain features, and time-frequency domain features, as follows:

[0119] The time domain features include mean, variance, peak, skewness, and peak-to-peak value, as follows:

[0120]

[0121]

[0122] P2P = max(x) - min(x);

[0123] Among them, μ is the mean, σ 2 is the variance, S is the skewness, P2P is the peak-to-peak value; x i is the i-th data; N is the number of data;

[0124] Frequency domain features, including frequency amplitude and frequency band energy, are extracted through Fourier transform;

[0125]

[0126] Among them, X k is the value of the kth frequency component of the frequency domain signal; j is an imaginary unit; |X k | is the frequency amplitude of the kth frequency component of the frequency domain signal; E band Energy in band k1-k2; R(X k ) is the real part of the frequency domain signal at the kth frequency component, S(X k ) is the imaginary part of the frequency domain signal at the kth frequency component;

[0127] Finally, the energy distribution in time-frequency domain is obtained through wavelet transform.

[0128] In this embodiment, an electric energy meter state evaluation model is constructed based on a deep neural network, as follows:

[0129] The deep neural network includes L hidden layers. In the first layer, the weight matrix W (l) , bias vector b (l) And the activation function LeakyReLU is composed as follows:

[0130] The input A of each layer [l-1] After linear transformation, we get Z [l] :

[0131] Z (l) =W (l) A (l-1) +b (l) ;

[0132] Among them, Z (l) is the linear transformation result of the lth layer;

[0133] Z (l)

[0134] Perform batch normalization to ensure that the input distribution of each layer is similar and improve training stability:

[0135]

[0136] Among them, u B is the mean calculated in batch normalization, is the variance calculated in batch normalization, and ε is the smoothing term: is the linear transformation result of the lth layer after batch normalization

[0137] The activation function Leaky ReLU is:

[0138]

[0139] Among them, α is the slope parameter in the Leaky ReLU activation function;

[0140] Based on dropout, neurons are randomly discarded, making the model more robust during training and reducing the risk of overfitting.

[0141]

[0142] Where p is the proportion of retained neurons;

[0143] The output layer is:

[0144]

[0145] In this embodiment, the electric energy meter state evaluation model is trained based on the training set, combined with the loss function with L2 regularization and the ADAM optimizer to obtain the trained electric energy meter state evaluation model. The loss function is as follows:

[0146]

[0147] Where M is the number of categories, is the actual label of the qth sample in the cth category; is the model's predicted probability for the qth sample in the cth category;

[0148] Initialize model parameters, including weight matrix W (l) , bias vector b (l) , set the baseline learning rate α, hyperparameters β1, β2,∈, regularization coefficient λ and number of iterations T;

[0149] Update the parameters at each time step, and process each parameter θ as follows:

[0150] Time step update: t=t+1;

[0151] Compute the gradient:

[0152]

[0153] Compute first moment estimates:

[0154] m t =β1m t-1 +(1-β1)g t ;

[0155] Compute second moment estimates:

[0156]

[0157] Apply bias correction to the first moment estimates:

[0158]

[0159] Apply bias correction to the second moment estimates:

[0160]

[0161] Parameter update:

[0162]

[0163] Repeat the above steps until the number of training iterations is met, and finally obtain the trained electricity meter state evaluation model.

[0164] In this embodiment, S6 is specifically:

[0165] S61: collecting real-time data through sensors deployed on the electric energy meter and transmitting it to a real-time monitoring unit through the Internet of Things technology;

[0166] S62: Use the streaming data processing engine Apache Flink to preprocess the real-time data stream, including data cleaning, filtering and feature extraction;

[0167] S63: Monitor the status evaluation results of the electric energy meter based on the trained electric energy meter status evaluation model, and use the online learning algorithm to train and update the real-time data, and continuously optimize the model parameters to achieve dynamic evaluation.

[0168] A power meter state evaluation system based on coefficient of variation method and K-means includes a sensor module, a data collection gateway, a real-time monitoring unit, a streaming data processing engine Apache Flink, a state evaluation module and an online learning module; the sensor module collects real-time data and transmits it to the real-time monitoring unit through the data collection gateway, uses the streaming data processing engine Apache Flink to pre-process the real-time data stream, including data cleaning, filtering and feature extraction, monitors the power meter state evaluation result based on the state evaluation module, and trains and updates the real-time data based on the online learning module, and continuously optimizes the model parameters to achieve dynamic evaluation

[0169] 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.

[0170] 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.

[0171] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0172] 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.

[0173] 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 evaluating the state of an electric energy meter based on the coefficient of variation method and K-means, characterized in that: The following steps are involved: S1: Obtain historical working data and environmental data of the electric energy meter and pre-process the data; S2: Extract features from the preprocessed data and normalize the features; S3: Calculate the coefficient of variation of each feature, screen out important features based on the coefficient of variation, remove redundant features with small coefficient of variation and low fluctuation, obtain an initial feature combination, and input the initial feature set into the K-means clustering algorithm to obtain a more representative and relevant feature combination; The initial feature set is input into the K-means clustering algorithm to obtain a more representative and relevant feature combination, as follows: (1) Select the number of clusters k′; (2) Randomly initialize k′ center points; (3) Repeat the following steps until the center point converges or the maximum number of iterations is reached: aFor each data point, calculate its Euclidean distance with all center points and assign it to the cluster corresponding to the nearest center point; b Recalculate the center point of each cluster; Among them, u k′ It is cluster C k The center point of |C k′ | is the number of cluster centers; z i′ belongs to cluster C k The coordinate vector of the i′ point; According to the clustering results, the features in each cluster have similar properties, and a representative feature is selected from each cluster to form the final feature combination; S4: Use Lasso regression combined with K-means clustering results to perform feature selection, form the final feature combination, and construct a training data set; The Lasso regression is combined with the K-means clustering results to perform feature selection, form the final feature combination, and construct a training data set, as follows: Combined with the final feature combination obtained by K-means clustering, the representative features in each cluster are input into Lasso regression, and the most representative features are further selected through Lasso regression. The Lasso regression is as follows: Among them, β is the estimated parameter of the regression model; m is the total number of samples; p is the total number of features; y u is the actual output / response variable for the u-th observation; x uv is the value of the vth characteristic variable of the uth observation; λ is the regularization parameter; Extract the important features obtained by Lasso regression, form the final feature combination, and construct the training data set; S5: constructing an electric energy meter state evaluation model based on a deep neural network and training it based on a training data set; S6: Establish a real-time monitoring unit to monitor the status evaluation results of the electric energy meter based on the trained electric energy meter status evaluation model, set thresholds and issue real-time alarms to remind operation and maintenance personnel to handle the situation.

2. The method for evaluating the state of an electric energy meter based on the coefficient of variation method and K-means according to claim 1, characterized in that: The step S1 is specifically as follows: Obtain the historical working data of the electric energy meter including voltage, current, power, energy consumption, frequency, and phase angle; environmental data including temperature, humidity, and air pressure; Interpolation method is used to handle missing values, and outliers are identified and processed based on the 3σ principle; Smooth the time series data by calculating the average value of the data in a fixed window C to remove short-term fluctuations: For the time series x t , and its moving average is: Where t is time.

3. The method for evaluating the state of an electric energy meter based on the coefficient of variation method and K-means according to claim 2, characterized in that: The feature extraction includes the extraction of time domain features, frequency domain features and time-frequency domain features, as follows: The time domain features include mean, variance, peak, skewness, and peak-to-peak value, as follows: P2P = max(x) - min(x); Among them, μ is the mean, σ 2 is the variance, S is the skewness, P2P is the peak-to-peak value; x i is the i-th data; N is the number of data; Frequency domain features, including frequency amplitude and frequency band energy, are extracted through Fourier transform; Among them, X k is the value of the kth frequency component of the frequency domain signal; j is an imaginary unit; |X k | is the frequency amplitude of the kth frequency component of the frequency domain signal; E band Energy in band k1-k2; R(X k ) is the real part of the frequency domain signal at the kth frequency component, S(X k ) is the imaginary part of the frequency domain signal at the kth frequency component; Finally, the energy distribution in time-frequency domain is obtained through wavelet transform.

4. The method for evaluating the state of an electric energy meter based on the coefficient of variation method and K-means according to claim 1, characterized in that: The electric energy meter state evaluation model based on the deep neural network is constructed as follows: The deep neural network includes L hidden layers. In the first layer, the weight matrix W (l) , bias vector b (l) And the activation function LeakyReLU is composed as follows: The input A of each layer [l-1] After linear transformation, we get Z [l] : Z (l) =W (l) A (l-1) +b (l) ; Among them, Z (l) is the linear transformation result of the lth layer; Z (l) Perform batch normalization to ensure that the input distribution of each layer is similar and improve training stability: Among them, u B is the mean calculated in batch normalization, is the variance calculated in batch normalization, and ε is the smoothing term: is the linear transformation result of the lth layer after batch normalization The activation function Leaky ReLU is: Among them, α is the slope parameter in the Leaky ReLU activation function; Based on dropout, neurons are randomly discarded, making the model more robust during training and reducing the risk of overfitting. Where p is the proportion of retained neurons; The output layer is:

5. The method for evaluating the state of an electric energy meter based on the coefficient of variation method and K-means according to claim 4, characterized in that: The electric energy meter state evaluation model is trained based on the training set, combined with the loss function with L2 regularization and the ADAM optimizer to obtain the trained electric energy meter state evaluation model. The loss function is as follows: Where M is the number of categories, is the actual label of the qth sample in the cth category; is the model's predicted probability for the qth sample in the cth category; Initialize model parameters, including weight matrix W (l) , bias vector b (l) , set the baseline learning rate α, hyperparameters β1, β2,∈, regularization coefficient λ and number of iterations T; Update the parameters at each time step, and process each parameter θ as follows: Time step update: t=t+1; Compute the gradient: Compute first moment estimates: m t =β1m t-1 +(1-β1)g t ; Compute second moment estimates: Apply bias correction to the first moment estimates: Apply bias correction to the second moment estimates: Parameter update: Repeat the above steps until the number of training iterations is met, and finally obtain the trained electricity meter state evaluation model.

6. The method for evaluating the state of an electric energy meter based on the coefficient of variation method and K-means according to claim 1, characterized in that: The S6 is specifically: S61: collecting real-time data through sensors deployed on the electric energy meter and transmitting it to a real-time monitoring unit through the Internet of Things technology; S62: Use the streaming data processing engine Apache Flink to preprocess the real-time data stream, including data cleaning, filtering and feature extraction; S63: Monitor the status evaluation results of the electric energy meter based on the trained electric energy meter status evaluation model, and use the online learning algorithm to train and update the real-time data, and continuously optimize the model parameters to achieve dynamic evaluation.

7. A system based on the method for evaluating the state of an electric energy meter based on the coefficient of variation method and K-means according to any one of claims 1 to 6, characterized in that: It includes a sensor module, a data collection gateway, a real-time monitoring unit, a streaming data processing engine Apache Flink, a state evaluation module and an online learning module; the sensor module collects real-time data and transmits it to the real-time monitoring unit through the data collection gateway, and uses the streaming data processing engine Apache Flink to pre-process the real-time data stream, including data cleaning, filtering and feature extraction, monitors the state evaluation result of the electric energy meter based on the state evaluation module, and trains and updates the real-time data based on the online learning module, and continuously optimizes the model parameters to achieve dynamic evaluation.

Citation Information

Patent Citations

  • An intelligent electric meter state evaluation method based on neural network health degree evaluation

    CN109447531A

  • Electric energy meter state evaluation method and device

    CN110738429A

  • Lithium ion battery health state evaluation method under incomplete charging and discharging data

    CN115201686A

  • Multi-task hyperparameter optimization method for deep neural network, and device

    WO2020252766A1

  • Wearable device-based method and system for motion fatigue detection

    WO2022233027A1

Cited By

  • Method, system and equipment for evaluating performance of intelligent electric meter and storage medium

    CN119598228A

  • A smart meter performance evaluation method, system, device and storage medium

    CN119598228B

  • Intelligent electric energy meter with error self-detection function

    CN120254383A

  • Charging pile health state evaluation method and system based on multi-dimensional data driving

    CN122390583A

  • A method and system for assessing the health status of charging piles based on multidimensional data.

    CN122390583B