Non-intrusive power load identification method based on multiple groups of simulation decision networks

Through adversarial training of multiple groups of simulated decision-making networks, power data images are generated and processed, which solves the problems of complexity of power load monitoring models and large computing resource requirements in the existing technology, and achieves high accuracy and robustness of electrical appliance status recognition. , suitable for power load monitoring in complex environments.

CN118779756AInactive Publication Date: 2024-10-15NANJING UNIV OF INFORMATION SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411255468.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-09
Publication Date
2024-10-15
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the existing technology, non-intrusive power load monitoring methods based on factor hidden Markov models suffer from high model complexity, large computing resource requirements, poor adaptability, poor scalability, and strong dependence on equipment characteristics, making it difficult to achieve real-time monitoring. and efficiently identify the switch status of electrical appliances.

Method used

Multi-group simulation decision network (MGSDN) is used to conduct adversarial training through image feature simulation network (SNN) and image decision network (DmNN) to generate and process power data images, and multi-layer convolution operations and batch normalization layers are used to improve Recognition accuracy and robustness of the model.

Benefits of technology

It significantly improves the accuracy of electrical appliance status recognition, especially the detection accuracy in frequent switching of electrical appliances and complex environments. It overcomes the problems of large calculation amount and low search efficiency of traditional methods, and has high practical value.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118779756A_ABST
    Figure CN118779756A_ABST
Patent Text Reader

Abstract

The invention discloses a non-intrusive power load identification method based on a multi-group simulation decision network. The method comprises the following steps: (1) obtaining power load time sequence data and carrying out preprocessing; (2) constructing a non-intrusive power load identification network based on the MGSDN, wherein the non-intrusive power load identification network comprises an image feature simulation network SNN module and an image decision network DmNN module; wherein the SNN module is used for generating an analog image; the DmNN is used for receiving real and analog images and outputting a prediction result through multi-layer convolution operation; the two networks alternately update parameters through antagonism training; (3) outputting a final prediction image; according to the method, the accuracy is improved, especially when an electric appliance which is frequently turned on and off is detected, the accuracy is remarkably improved, and the recognition effect of the model is further enhanced through more training iterations; the method still shows good robustness and reliability under the conditions of processing a complex environment and simultaneously operating a plurality of electric appliances, and has a relatively high practical value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a non-intrusive power load identification method based on multiple groups of simulation decision networks. Background Art

[0002] With the advancement of smart grid technology, the energy consumption of households is monitored by using smart meters. This method is to install a smart meter on each appliance in the home to obtain information on energy consumption in real time. However, the cost of using smart meters for energy monitoring at the appliance level is still quite expensive. A more cost-effective way to monitor the energy consumption of a house is to install only one meter per household to monitor the overall energy consumption. At the same time, the total energy signal is inferred into sub-signals at the level of each device that constitutes the signal with the help of relevant algorithms. This process is also called the energy decomposition task, and the field of studying it is called non-intrusive load monitoring (NILM). However, in the existing technology, the method of monitoring the aggregated signal of household appliances and tracking the operating status of appliances by using factor hidden Markov models (FHMM) often has some disadvantages: the model is highly complex, the computing resource requirements are large, and it is difficult to achieve real-time monitoring; it has strong dependence on device features and poor adaptability; it has poor scalability as the number of appliances increases; in addition, the model usually requires a large amount of labeled data for training, and the data collection cost is high, which affects its universality and efficiency in practical applications. Summary of the invention

[0003] Purpose of the invention: The purpose of the present invention is to provide a non-intrusive power load identification method based on multiple groups of simulated decision networks, using a power data feature extraction module to convert the popular EMBED dataset from low-frequency data into images; the images are input into a classification algorithm together with the corresponding device labels for training so that it can accurately identify the on or off state of the electrical appliances.

[0004] Technical solution: The non-intrusive power load identification method based on multiple groups of simulated decision networks described in the present invention comprises the following steps: (1) Obtain power load time series data and perform preprocessing; (2) Construct a non-intrusive power load identification network based on MGSDN, including: an image feature simulation network SNN module and an image decision network DmNN module; the SNN module is used to generate simulated images; the DmNN is used to receive real and simulated images and output prediction results through multi-layer convolution operations; the two networks update parameters alternately through adversarial training; (3) Output the final predicted image.

[0005] Furthermore, step (1) is specifically as follows: acquiring power consumption data, encoding the power consumption data, and upgrading the encoded power data into image data; classifying the image data, including: SDN_1 data set and SDN_2 data set, which are used to train the data when the appliance is turned on and off, respectively.

[0006] Furthermore, in step (2), the SNN module is specifically as follows: the SNN module receives random noise sampled from a standard normal distribution, generates a simulated image through a multi-layer transposed convolution operation, and updates the parameters by minimizing the predicted value of the generated image.

[0007] Furthermore, the SNN module includes: a fully connected layer and four image feature amplifier modules; the first three image feature amplifiers: delete the pooling layer of the convolutional neural network, replace the original convolution layer with a transposed convolution layer to obtain the required image size, and at the same time, add a batch normalization BN layer after each layer, using LeakyRelU as the activation function, and the last image feature amplifier chooses to use the Tanh activation function to capture the details and texture of the image and generate output with good continuity.

[0008] Furthermore, in step (2), the DmNN module is specifically as follows: the DmNN module receives the real image and the generated simulated image, and outputs the predicted values ​​of the real image and the simulated image respectively through multi-layer convolution operations. The DmNN network updates the parameters by maximizing the predicted value of the real image and minimizing the predicted value of the generated image.

[0009] Furthermore, the DmNN module consists of four image feature extraction modules. Based on the convolutional neural network architecture, the pooling layer is deleted, the original convolution layer remains unchanged, and multiple convolutions are performed to reach the required image size. At the same time, a batch normalization BN layer is added after each layer to deal with the problem of poor initialization training; after batch normalization, LeakyRelU is selected as the activation function.

[0010] Furthermore, step (3) is specifically as follows: compare the prediction results of the two DmNNs, if the output of the DmNN trained for the closed state data is greater than the output of the DmNN trained for the open state data, determine that the current state is closed; otherwise, determine that the current state is open; then compare the above determination result with the label, if the open or closed state is consistent with the label, then the prediction is considered correct, otherwise the prediction is considered wrong.

[0011] Beneficial effects: Compared with the prior art, the present invention has the following significant advantages: through the adversarial training of SNN and DmNN, the detection model of the electrical appliance status is optimized, and the method significantly improves the accuracy in identifying the switch status of electrical appliances, especially when detecting frequently switched electrical appliances, the accuracy is significantly improved, and more training iterations further enhance the recognition effect of the model; when dealing with complex environments and multiple electrical appliances running at the same time, it still shows good robustness and reliability, effectively overcoming the problems of large computational complexity and low search efficiency of traditional methods, and has high practical value. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 It is a flow chart of the present invention.

[0013] Figure 2 This is the power data feature extraction process of the present invention.

[0014] Figure 3 This is the SDN network training and prediction process of the present invention. DETAILED DESCRIPTION

[0015] The technical solution of the present invention is further described below in conjunction with the accompanying drawings.

[0016] like Figure 1 As shown, an embodiment of the present invention provides a non-intrusive power load identification method based on multiple groups of simulated decision networks, comprising the following steps: (1) Obtain power load time series data and perform preprocessing; Figure 2 As shown, the details are as follows: obtain power consumption data, encode the power consumption data, and upgrade the encoded power data into image data; classify the image data, including: SDN_1 data set and SDN_2 data set, which are used to train the data when the appliance is turned on and off, respectively. (2) If Figure 3 As shown, a non-intrusive power load identification network based on MGSDN is constructed, including: an image feature simulation network SNN module and an image decision network DmNN module; wherein, the SNN module is used to generate simulated images; the DmNN is used to receive real and simulated images, and output prediction results through multi-layer convolution operations; the two networks update parameters alternately through adversarial training; the SNN module consists of a fully connected layer and four image feature amplifier modules; the first three image feature amplifiers: delete the pooling layer of the convolutional neural network, replace the original convolution layer with a transposed convolution layer to obtain the required image size, and at the same time, add a batch normalization BN layer after each layer, use LeakyRelU as the activation function, and the last image feature amplifier chooses to use the Tanh activation function to capture the details and texture of the image and generate output with good continuity. The details are as follows: The first three image feature amplifiers: discard the pooling layer of the traditional convolutional neural network, replace the original convolution layer with the transposed convolution layer, and upsample multiple times to reach the required image size. At the same time, a batch normalization (BN) layer is added after each layer to deal with the problem of poor initialization training; after batch normalization, choose to use LeakyRelU as the activation function. LeakyReLU has a small slope (usually 0.01) in the negative half area, which can effectively avoid the dead node problem. At the same time, since LeakyRelu also has a non-zero gradient in the negative half area, it can better maintain the gradient flow and promote network training.

[0017] The last image feature amplifier chooses to use the Tanh activation function. The output range of Tanh is [-1, 1]. This symmetry can effectively capture the details and texture of the image when generating images. At the same time, Tanh has non-zero gradients in the entire interval, which is suitable for generating outputs with good continuity.

[0018] The SNN (Simulator Neural Network) receives a random noise vector sampled from a standard normal distribution with a dimension of 100. It first maps the noise vector to The first image feature amplifier module uses a transposed convolution layer to enlarge the feature map to , the convolution kernel size is 4×4, followed by a batch normalization (BN) layer, and the LeakyReLU activation function (alpha=0.2); the second module transposes the convolution layer to enlarge the feature map to , the convolution kernel size is 4×4, and it is also connected to the BN layer and the LeakyReLU activation function; the transposed convolution layer of the third module enlarges the feature map to , the convolution kernel size is 4×4, followed by a BN layer and a LeakyReLU activation function; the last image feature amplifier module uses a transposed convolution layer to enlarge the feature map to 8×8×1, the convolution kernel size is 4×4, and the Tanh activation function is used to generate a continuous output. SNN updates parameters by minimizing the judgment value of the generated image. The optimizer is Adam, the learning rate is 0.0002, beta1 is 0.5, and beta2 is 0.999.

[0019] SNN training: Input a standard normal distribution Sampled random noise vector. SNN output simulated image ;loss : By minimizing the predicted value of the simulated image To update the parameters .

[0020] ; in, Is a loss function used to evaluate the quality of images generated by the neural network. By minimizing this loss function, the parameters of the generated network are optimized to make the generated images as realistic as possible. Indicates the average of all possible values ​​of the input noise z. z - p_z(z) indicates that z is sampled from the noise distribution p_z(z). T(z) represents a simulated image of power data generated by SNN, z is the input noise vector, D(): decision function, which is used to determine whether the input image is a real image. D(T(z)) represents the judgment value of DmNN for the simulated image. log(D(T(z))): Take the logarithm of the output value of the decision network, which is used to calculate the logarithmic probability of the generated image.

[0021] The DmNN module consists of four image feature extraction modules. Based on the convolutional neural network architecture, the pooling layer is deleted, the original convolution layer remains unchanged, and multiple convolutions are performed to reach the required image size. At the same time, a batch normalization BN layer is added after each layer to deal with the problem of poor initialization training; after batch normalization, LeakyRelU is selected as the activation function. The details are as follows: The DmNN module is a convolutional neural network (CNN)-based image classifier consisting of four image feature extraction modules; The image feature extraction module is based on the convolutional neural network architecture, discarding the pooling layer, leaving the original convolution layer unchanged, and downsampling multiple times to reach the required image size. At the same time, a batch normalization (BN) layer is added after each layer to deal with the problem of poor initialization training; after batch normalization, LeakyRelU is selected as the activation function. LeakyReLU has a small slope (usually 0.01) in the negative half area, which can effectively avoid the dead node problem. At the same time, since LeakyRelU also has a non-zero gradient in the negative half area, it can better maintain the gradient flow and promote network training.

[0022] DmNN (Decision Maker Neural Network) receives real images and generated simulated images with size , extracting features layer by layer through four image feature extraction modules. The first image feature extraction module uses a convolutional layer to reduce the input image to , the convolution kernel size is 4×4, followed by a batch normalization (BatchNormalization, BN) layer, and uses the LeakyReLU activation function (alpha=0.2); the second module convolution layer shrinks the feature map to , the convolution kernel size is 4×4, followed by a BN layer and a LeakyReLU activation function; the third module convolution layer reduces the feature map to , the convolution kernel size is 4×4, followed by a BN layer and a LeakyReLU activation function; the fourth module convolution layer further extracts features, the convolution kernel size is 4×4, followed by a BN layer and a LeakyReLU activation function. The predicted probability value is finally output. DmNN updates parameters by maximizing the predicted value of the real image and minimizing the predicted value of the generated image. The optimizer is Adam, the learning rate is 0.0002, beta1 is 0.5, and beta2 is 0.999.

[0023] Training: DmNN receives real images And simulated images generated by SNN As input. Through multiple layers of convolution operations, the input image is mapped to a predicted value. The network outputs two results: the predicted value of the real image and the predicted value for the generated image The goal is to label the real image as 1 (Label( ) = 1), and the simulated image is marked as 0 (Label( ) = 0).

[0024] in, is the loss function of the decision network (DmNN) by optimizing the parameters; To improve the discriminator's ability to distinguish between real images and simulated images. It is the judgment value of the decision network for the input real image x, which represents the probability of the real image.

[0025] is the judgment value of the decision network on the simulated image T(z), indicating the probability that T(z) is a real image. T(z) is a simulated image generated by the image feature simulation network through the noise vector z. It means averaging all real images x. Indicates that x is sampled from the true data distribution p_data(x). is the logarithm of the output value of the image decision network for the real image x. denotes averaging all input noise z. z ∼ p_z(z) denotes that z is sampled from the noise distribution p_z(z). It is the logarithm of the output value of the image decision network for the simulated image T(z), which represents the logarithm of the probability that the image T(z) is a simulated image.

[0026] SNN and DmNN update parameters alternately and gradually improve their respective capabilities through adversarial training.

[0027] When the images generated by SNN cannot be predicted as 0 by DmNN, the training reaches a balanced state.

[0028] (3) Output the final predicted image. Specifically, the prediction results of the two DmNNs are compared. If the output of the DmNN trained on the off state data is greater than the output of the DmNN trained on the on state data, we determine that the appliance is currently in the off state; otherwise, we determine that the appliance is currently in the on state. Then compare the above judgment result with the label. If the on or off state is consistent with the label, the prediction is considered correct, otherwise it is considered an incorrect prediction.

Claims

1. A non-intrusive power load identification method based on multiple groups of simulated decision networks, characterized in that: The following steps are involved: (1) Obtain power load time series data and perform preprocessing; (2) Construct a non-intrusive power load identification network based on MGSDN, including: an image feature simulation network SNN module and an image decision network DmNN module; the SNN module is used to generate power data feature simulation images; the DmNN is used to receive real and simulated images and output prediction results through multi-layer convolution operations; the two networks alternately update parameters through adversarial training; (3) Output the final predicted image.

2. The non-intrusive power load identification method based on multiple groups of simulation decision networks according to claim 1 is characterized in that: Step (1) is as follows: acquiring power consumption data, encoding the power consumption data, and upgrading the encoded power data into image data; classifying the image data, including: SDN_1 data set and SDN_2 data set, which are used to train the data when the appliance is turned on and off, respectively.

3. The non-intrusive power load identification method based on multiple groups of simulation decision networks according to claim 1 is characterized in that: In step (2), the SNN module is specifically as follows: the SNN module receives random noise sampled from a standard normal distribution, generates a simulated image through multiple layers of transposed convolution operations, and updates the parameters by minimizing the predicted value of the generated image.

4. The non-intrusive power load identification method based on multiple groups of simulation decision networks according to claim 3 is characterized in that: The SNN module includes: a fully connected layer and four image feature amplifier modules; the first three image feature amplifiers: delete the pooling layer of the convolutional neural network, replace the original convolution layer with a transposed convolution layer to obtain the required image size, and at the same time, add a batch normalization BN layer after each layer, using LeakyRelU as the activation function, and the last image feature amplifier chooses to use the Tanh activation function to capture the details and texture of the image and generate output with good continuity.

5. The non-intrusive power load identification method based on multiple groups of simulation decision networks according to claim 1 is characterized in that: In step (2), the DmNN module is specifically as follows: the DmNN module receives the real image and the generated simulated image, and outputs the predicted values ​​of the real image and the simulated image respectively through multi-layer convolution operations. The DmNN network updates the parameters by maximizing the predicted value of the real image and minimizing the predicted value of the generated image.

6. The non-intrusive power load identification method based on multiple groups of simulation decision networks according to claim 5 is characterized in that: The DmNN module consists of four image feature extraction modules. Based on the convolutional neural network architecture, the pooling layer is deleted, the original convolution layer remains unchanged, and multiple convolutions are performed to reach the required image size. At the same time, a batch normalization BN layer is added after each layer to deal with the problem of poor initialization training; after batch normalization, LeakyRelU is selected as the activation function.

7. The non-intrusive power load identification method based on multiple groups of simulation decision networks according to claim 1 is characterized in that: Step (3) is as follows: compare the prediction results of the two DmNNs. If the output of the DmNN trained for the closed state data is greater than the output of the DmNN trained for the open state data, it is determined that the current state is closed; otherwise, it is determined that the current state is open; then compare the above judgment result with the label. If the open or closed state is consistent with the label, the prediction is considered correct, otherwise the prediction is considered wrong.