A non-intrusive load monitoring and identification method and system based on machine learning

Through non-intrusive load monitoring and identification methods based on machine learning, combined with Transformer model and Internet of Things technology, the problems of single load identification algorithm and large calculation amount in the existing technology are solved, and more accurate and efficient load identification and optimization are achieved. energy management and power system decisions.

CN118094111BActive Publication Date: 2024-09-06国网山东省电力公司日照供电公司
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410464817.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-18
Publication Date
2024-09-06
Estimated Expiration
2044-04-18

AI Technical Summary

Technical Problem

Existing non-intrusive load identification methods have a single algorithm, require a large amount of calculation, take a long time to train, are prone to overfitting, and cannot effectively handle complex load characteristics, resulting in low identification accuracy and reliability.

Method used

Adopt non-intrusive load monitoring and identification methods based on machine learning, combine the Internet of Things, big data and artificial intelligence, use the Transformer model to learn the association rules between loads, and achieve real-time monitoring and identification of load data through feature extraction and model optimization. .

Benefits of technology

It improves the accuracy and efficiency of load identification, can analyze power loads in real time, identify high-energy-consuming equipment and energy consumption peaks and valleys, optimize energy management and power system decisions, improve energy utilization efficiency and reduce energy consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118094111B
    Figure CN118094111B
Patent Text Reader

Abstract

The present invention belongs to the technical field of data identification and processing, and provides a non-intrusive load monitoring and identification method and system based on machine learning. The present invention combines new generation information technologies such as the Internet of Things, big data, artificial intelligence and machine learning with non-intrusive load identification, which can better cope with the scale, complexity and real-time requirements of load data, improve the accuracy, efficiency and intelligence level of load identification, and can be selected and adjusted according to application scenarios and needs to achieve the best non-intrusive load identification effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of data identification and processing, and specifically relates to a non-intrusive load monitoring and identification method and system based on machine learning. Background Art

[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.

[0003] At present, the load monitoring technology of the power system is mainly divided into two types: intrusive and non-intrusive. Traditional intrusive load monitoring (ILM) technology requires the transformation of transmission lines at home and the installation of a large number of sensors in the transmission lines, which will not only lead to high economic costs, but also cause certain interference to the original operation of the load system. Non-intrusive load monitoring (NILM) technology only requires the installation of a total load monitoring device at the power access port. This monitoring method can well obtain the working data of electrical appliances without the negative problems caused by intrusive load monitoring (ILM).

[0004] The inventors found that although there are many types of non-intrusive load identification methods, various algorithms such as KNN algorithm, support vector machine algorithm or other neural network algorithms are relatively simple, the amount of calculation is large and the training time is long, it is easy to have overfitting problems, and the initial parameters of the algorithm are difficult to determine. In practical applications, power loads may have multiple different states, modes and characteristics. A single neural network algorithm cannot handle diverse and complex load characteristics, and the accuracy and reliability of load identification are low. Summary of the invention

[0005] In order to solve the above problems, the present invention proposes a non-intrusive load monitoring and identification method and system based on machine learning. The present invention combines new generation information technologies such as the Internet of Things (IoT), big data, artificial intelligence and machine learning with non-intrusive load identification, which can better cope with the scale, complexity and real-time requirements of load data, improve the accuracy, efficiency and intelligence level of load identification, and can be selected and adjusted according to application scenarios and needs to achieve the best non-intrusive load identification effect.

[0006] According to some embodiments, the present invention adopts the following technical solutions:

[0007] A non-intrusive load monitoring and identification method based on machine learning comprises the following steps:

[0008] Obtain non-intrusive monitoring data of loads;

[0009] Clean and preprocess the acquired load data, and unify the data format and structure;

[0010] Analyze the processed load data, mine the features related to load identification, extract the key features of the load data in the frequency domain and time domain, and convert them into quantifiable feature vectors;

[0011] Use the Transformer model to learn the association rules between loads and calculate the similarity of the feature vectors of load data;

[0012] Based on the load characteristics and corresponding association rules, a machine learning model is constructed to minimize the difference between the model prediction output and the actual load association rules, and the weights and parameters of the model are optimized through back propagation;

[0013] Select transfer learning strategies based on target tasks and data size to fine-tune and train machine learning models;

[0014] The trained machine learning model is used to process the real-time non-intrusive monitoring data of the load to obtain the identification results.

[0015] As an optional implementation scheme, the specific process of obtaining non-intrusive monitoring data of the load includes connecting the load equipment and sensors to the network using the Internet of Things technology, obtaining the load data using the Internet of Things, and the Internet of Things using a message queue telemetry transmission communication protocol to transmit the load data.

[0016] As an optional implementation scheme, the specific process of cleaning the acquired load data includes removing outliers, noise and missing data, and the process of preprocessing the acquired load data includes performing data calibration and normalization to keep the load data in a consistent format and structure.

[0017] As an optional implementation scheme, features related to load identification are mined to extract key features of load data in frequency and time domains. The specific process includes: introducing a residual shrinkage network to extract features of load data and make similarity or difference judgments, inputting load data into the residual shrinkage network, and extracting feature representation of load data through the forward propagation process of the network.

[0018] As a further limited implementation scheme, the time series is reconstructed using Takens' theorem, and the delay vectors in the time series are sequentially organized into phase space trajectories based on selected delay times and embedding dimensions.

[0019] As an optional implementation scheme, the specific process of using the Transformer model to learn the association rules between loads includes converting the load data into a time series, using the load value at each time step as the input of the Transformer model, and using the self-attention mechanism of the Transformer model to learn the dependency and importance between the loads;

[0020] Each position of the input sequence is used as a query, key and value, and the attention weight of each position and other positions is calculated. The attention weight is used to focus on the correlation between different positions and features in the load data.

[0021] As a further limited implementation scheme, the structure of the Transformer model is determined according to the requirements of the association rule analysis, including the number of layers, the number of hidden units, and the number of attention heads of the Transformer model.

[0022] As an optional embodiment, the specific process of calculating the similarity of the feature vectors of the load data includes calculating the similarity between the loads using the Euclidean distance as a similarity measurement algorithm;

[0023] The standard deviation is used to measure the volatility of load data, and a threshold is set to determine the similarity or difference between loads. Specifically, the statistical characteristics, frequency domain characteristics, and time domain characteristics of the load data are calculated by analyzing the historical load data. The threshold is set based on the above characteristics, and loads with a similarity greater than the threshold are considered similar loads, and loads with a similarity less than the threshold are considered dissimilar loads.

[0024] As an optional implementation scheme, the specific process of minimizing the difference between the model prediction output and the actual load association rules includes, during the training process of the Transformer model, minimizing the difference between the output of the Transformer model and the actual load association rules, and updating the weights and parameters of the Transformer model through a stochastic gradient descent back-propagation algorithm to form a machine learning model.

[0025] As an optional implementation plan, select a transfer learning strategy based on the target task and data scale. The specific process of fine-tuning and training the machine learning model includes:

[0026] Load the machine learning model into the target task, adjust the machine learning model according to the label of the target task to adapt to the output requirements of the target task, and use the load data of the target task for training to obtain the trained machine learning model.

[0027] A non-intrusive load monitoring and identification system based on machine learning, comprising:

[0028] A data acquisition module configured to acquire non-intrusive monitoring data of a load;

[0029] A preprocessing module is configured to clean and preprocess the acquired load data and unify the data format and structure;

[0030] A feature vector extraction module is configured to analyze the processed load data, mine features related to load identification, extract key features of the load data in the frequency domain and time domain, and convert them into quantifiable feature vectors;

[0031] A learning module, configured to learn association rules between loads using a Transformer model and calculate similarities of feature vectors of load data;

[0032] A model building module is configured to build a machine learning model based on load characteristics and corresponding association rules, minimize the difference between the model prediction output and the actual load association rules, and optimize the weights and parameters of the model through back propagation;

[0033] The model fine-tuning module is configured to select a transfer learning strategy based on the target task and data size to fine-tune and train the machine learning model;

[0034] The identification module is configured to process the real-time non-intrusive monitoring data of the load using the trained machine learning model to obtain an identification result.

[0035] Compared with the prior art, the present invention has the following beneficial effects:

[0036] The present invention combines the new generation of information technology with non-intrusive load identification to make non-intrusive load monitoring more real-time and efficient. With the help of machine learning and artificial intelligence algorithms, more accurate load identification is achieved. Through non-intrusive load monitoring and identification based on machine learning, it is possible to perform real-time analysis of power loads, identify high-energy consumption equipment and energy consumption peaks and valleys, and help users improve energy use and management. The data analysis results based on load identification can provide support for decision-making in the power system, optimize decision-making processes such as load scheduling, energy planning, and capacity expansion, make decisions more scientific and efficient, and help improve energy utilization efficiency, reduce energy consumption, and maintain the safe and stable operation of the power system.

[0037] The proposed non-intrusive load monitoring and identification method can identify different power loads while ensuring stability and accuracy, and has good practicality.

[0038] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0040] Figure 1is a schematic diagram of a flow chart of an embodiment of the present invention;

[0041] Figure 2 It is a simulation comparison diagram of an embodiment of the present invention. DETAILED DESCRIPTION

[0042] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0043] It should be noted that the following detailed descriptions are all illustrative and intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.

[0044] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0045] Embodiment 1

[0046] like Figure 1 As shown, the method of non-intrusive load monitoring and identification based on machine learning includes:

[0047] Step 1: Use 5G and IoT technologies to connect sensors and load devices to the network, use the IoT platform to collect real-time load data, and use the Message Queue Telemetry Transport (MQTT) communication protocol to transmit real-time load data to ensure data security and reliability and achieve non-intrusive monitoring of loads;

[0048] Step 2: In the data processing center, the collected data is cleaned and preprocessed to remove outliers, noise and missing data, and the data is calibrated and normalized. Through data integration technology and Extract, Transform and Load (ETL) process, it is ensured that the data can be processed and analyzed in a consistent format and structure;

[0049] Step 3: Use big data technology to analyze and process load data, mine features related to load identification, use Pearson correlation coefficient for correlation analysis, measure the linear correlation between features and loads, automatically extract key features in the frequency and time domains of load data by analyzing the information gain and importance of features, and perform effective feature engineering to further optimize the representation of features. Use logarithmic, power, exponential functions and other transformations to adjust the distribution of features. By integrating multiple features and interacting with features, new feature combinations are constructed to convert complex electrical signals into quantifiable feature vectors.

[0050] The electrical signal is load data, including some of voltage, current, frequency, active power and reactive power.

[0051] In this step, the introduction of the residual shrinkage network can be used to extract the features of the load data and make similarity or difference judgments. The load data is input into the residual shrinkage network, and the feature representation of the load data is extracted through the forward propagation process of the network. The backbone of the residual shrinkage network can be a pre-trained residual network or other network structure suitable for load identification tasks. The shrinkage mechanism is introduced in the network to extract the high-order features hidden in the load data and improve the expressiveness of the features. The residual shrinkage network uses its deeper hierarchical structure to enhance the expressiveness of the features through multi-layer nonlinear transformations, characterize the complex patterns and laws in the load data, improve the discriminability of the features, better capture the key features in the load data, and suppress irrelevant information, thereby improving the expression and identification effects of the load.

[0052] In order to enhance the representation of load characteristics, the time series is reconstructed using Takens' theorem, which helps to more accurately identify the characteristics and changes in the load data. Based on the selected delay time and embedding dimension, the delay vectors in the time series are sequentially organized into phase space trajectories to construct the corresponding phase space from a high-dimensional time series.

[0053] (1)

[0054] in: To reconstruct the matrix To reconstruct the matrix vector, there are The reconstruction vector, To reconstruct the embedding dimension, is the delay time.

[0055] Step 4: Use the Transformer model to learn the association rules between loads, mine the temporal relationship, dependency relationship and importance between loads based on the association rules, infer the change trend of the loads, and input the feature vector of the load data into the similarity measurement algorithm to calculate the similarity score between the loads.

[0056] In this embodiment, the load relationship analysis based on association rules is realized by using the Transformer model, the load data is organized into a time series, and the load value at each time step is used as the input of the model. According to the requirements of the association rule analysis, a suitable Transformer model structure is designed, including the selection of hyperparameters such as the number of layers, the number of hidden units, and the number of attention heads of the Transformer model. In order to capture the association rules between loads, the attention mechanism of the Transformer model is used to pay more attention to important time steps and related features when modeling load data. Each position of the input sequence is used as a query, key, and value, and the attention weight of each position with other positions is calculated. Through the attention weight, the model can pay attention to the correlation between different positions and features in the load data, so as to better capture important time steps and related features. Through the self-attention mechanism, the model can learn the dependencies and importance between loads.

[0057] Step 5: Based on the association rules between the extracted features and loads, a machine learning model for load identification is constructed. First, the model structure is constructed. According to the association rules between features and loads, as well as the characteristics and complexity of the data, the appropriate input-output mapping relationship and the network hierarchy are selected to build the basic structure of the load identification model; then the model parameters are initialized, and the weights, biases and other parameters of the model are initialized using a random initialization method so that the model has a certain fitting ability in the initial stage; finally, the extracted features and load data are used as training sets, and the constructed load identification model is trained and evaluated by minimizing the difference between the model output and the true load association rules, and the weights and parameters of the model are optimized through back propagation to improve the accuracy and robustness of the load identification model.

[0058] In order to represent the relationship between loads in the model space, this embodiment uses the Euclidean distance as a similarity measurement algorithm to calculate the similarity between loads, specifically:

[0059] (2)

[0060] in: is the coordinate corresponding to the load characteristic in the state space, is the Euclidean distance.

[0061] According to the requirements of load identification targets, the present invention uses standard deviation to measure the volatility of load data and sets thresholds to judge the similarity or dissimilarity between loads. By analyzing historical load data, the statistical characteristics (such as mean, variance, kurtosis, etc.), frequency domain characteristics (Fourier transform, wavelet transform, etc.) and time domain characteristics (lag correlation, autocorrelation, etc.) of load data are calculated, and then the threshold is set according to these characteristics. Loads with similarity greater than the threshold are regarded as similar loads, while loads with similarity less than the threshold are regarded as dissimilar loads.

[0062] Step 4 mines the temporal relationship, dependency relationship and importance between loads based on association rules. Step 5 builds a model based on the extracted features and the association rules between loads and improves the accuracy of the model by updating parameters.

[0063] Step 6: Use cross-validation technology to evaluate the performance of the model, select a transfer learning strategy based on the target task and data size, and perform fine-tuning and further training on the load identification task data to gradually adapt the model to the characteristics of the target task and better adapt to new load identification scenarios to improve the generalization ability of the load identification model;

[0064] The performance of the model is evaluated using cross-validation technology as follows: first, randomly shuffle the load data to prevent the model from being dependent on the order of the data set, and divide the data set into 70% training set and 30% test set; then perform k-fold cross-validation, further divide the training set into k subsets, one of which is used as the validation set, and the remaining k-1 subsets are used as training sets, and the division is repeated k times so that each subset has the opportunity to be used as a validation set. In each round of cross-validation, k-1 subsets are used to train the model, and then the performance of the model is evaluated on the validation set. After repeating the cross-validation k times, k performance evaluation results are obtained. Finally, the performance indicators are summarized, the k evaluation results are statistically analyzed, and indicators such as the average performance indicator and standard deviation are calculated to measure the stability and consistency of the model performance.

[0065] Fine-tuning and further training on the load identification task data are specifically as follows: first, the pre-trained machine learning model is loaded into the target task; then, according to the label or guidance information of the target task, the output layer or some specific layers of the model are adjusted to adapt to the output requirements of the target task; finally, further training is performed on the load identification data of the target task, using a smaller learning rate to reduce the update amplitude of the pre-training parameters, so that the model can better adapt to new data and scenarios.

[0066] Step 7: Deploy the fine-tuned and trained machine learning model to the actual application environment for real-time load monitoring and identification. By analyzing the load data, the load can be accurately identified and classified, non-intrusive load identification can be achieved, and timely feedback can be provided to the load management and control system to achieve intelligent load management.

[0067] Model export and save: Export the trained load identification model to .h5 file format to ensure that the model structure, weights and other necessary parameters are saved when storing the model.

[0068] Deployment environment preparation: Ensure that the required hardware and software environment in the target application environment is met, prepare appropriate computing resources (such as CPU, GPU, etc.) according to the requirements of the model, and install the required deep learning frameworks, libraries, dependencies, etc.

[0069] Model loading and initialization: Load the saved model file in the application and initialize the model to ensure that all related model files and configuration files can be loaded and parsed correctly.

[0070] like Figure 2 As shown in the figure, the non-intrusive load identification algorithm determines the type of elements by quantifying and comparing the distances between elements. The specific steps are as follows:

[0071] 1. Establish a load feature library and use the repmat function in MATLAB to expand both the training samples and the test samples into a 1000×2-dimensional load feature library matrix, doubling the information contained in the original data and improving the accuracy of load identification;

[0072] 2. Calculate the Euclidean distance between the elements in the training sample load feature library and the elements in the test sample load feature library respectively;

[0073] 3. Distance preservation and sorting. The variable distance is used to store the Euclidean distance calculated in the previous step and sort the distance;

[0074] 4. Determine the type. The function class determines the size and type of the data in the distance variable distance by setting and updating the attribute value, and outputs the result to the category variable num;

[0075] 5. Output the result. The final value of variable num is the load identification result.

[0076] Waveforms of different colors represent different power loads. Through the image, we can intuitively see the relationship between the test sample and the training sample. Among them, the test sample belongs to the fifth category.

[0077] It can be seen that the proposed non-intrusive load monitoring and identification method can identify different power loads while ensuring stability and accuracy, and has good practicality.

[0078] It should be understood by those skilled in the art 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 an all-hardware embodiment, an all-software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of one or more computer-usable storage media (including but not limited to disk storage, CD - ROM , optical storage, etc.).

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

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

[0081] 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 A step that specifies a function in one or more boxes.

[0082] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made by those skilled in the art within the spirit and principle of the present invention without creative labor shall be included in the protection scope of the present invention.

Claims

1. A non-intrusive load monitoring and identification method based on machine learning, characterized in that: The following steps are involved: Obtain non-intrusive monitoring data of loads; Clean and preprocess the acquired load data, and unify the data format and structure; Analyze the processed load data, mine the features related to load identification, extract the key features of the load data in the frequency domain and time domain, and convert them into quantifiable feature vectors; Use the Transformer model to learn the association rules between loads and calculate the similarity of the feature vectors of load data; Based on the load characteristics and corresponding association rules, a machine learning model is constructed to minimize the difference between the model prediction output and the actual load association rules, and the weights and parameters of the model are optimized through back propagation; Select transfer learning strategies based on target tasks and data size to fine-tune and train machine learning models; The trained machine learning model is used to process the real-time non-intrusive monitoring data of the load to obtain the identification results; The specific process of mining the features related to load identification and extracting the key features of the load data in the frequency domain and time domain includes: introducing a residual shrinkage network to extract the features of the load data and make a similarity or difference judgment, inputting the load data into the residual shrinkage network, and extracting the feature representation of the load data through the forward propagation process of the network; The residual shrinkage network is a pre-trained residual network, and the network introduces a shrinkage mechanism to extract high-order features hidden in the load data. The residual shrinkage network uses its own hierarchical structure to enhance the expression ability of features through multi-layer nonlinear transformations to describe complex patterns and laws in the load data. Takens theorem is used to reconstruct the time series. Based on the selected delay time and embedding dimension, the delay vectors in the time series are sequentially combined into phase space trajectories to construct the corresponding phase space from a high-dimensional time series to enhance the load feature representation. The specific process of using the Transformer model to learn the association rules between loads includes converting the load data into a time series, using the load value at each time step as the input of the Transformer model, and using the self-attention mechanism of the Transformer model to learn the dependency and importance between the loads; Each position of the input sequence is used as a query, key and value, and the attention weight of each position and other positions is calculated, and the correlation between different positions and features in the load data is focused on through the attention weight; The specific process of selecting a transfer learning strategy based on the target task and data scale and fine-tuning and training the machine learning model includes: Load the machine learning model into the target task, adjust the machine learning model according to the label of the target task to adapt to the output requirements of the target task, and use the load data of the target task for training to obtain the trained machine learning model.

2. The non-intrusive load monitoring and identification method based on machine learning as claimed in claim 1, characterized in that: The specific process of obtaining non-intrusive monitoring data of the load includes connecting the load equipment and sensors to the network using the Internet of Things technology, obtaining the load data using the Internet of Things, and the Internet of Things using a message queue telemetry transmission communication protocol to transmit the load data.

3. The non-intrusive load monitoring and identification method based on machine learning as claimed in claim 1, characterized in that: The specific process of cleaning the acquired load data includes removing outliers, noise and missing data, and the process of preprocessing the acquired load data includes data calibration and normalization to keep the load data in a consistent format and structure.

4. The non-intrusive load monitoring and identification method based on machine learning as claimed in claim 1, characterized in that: The time series is reconstructed using Takens' theorem. Based on the selected delay time and embedding dimension, the delay vectors in the time series are sequentially organized into phase space trajectories.

5. The non-intrusive load monitoring and identification method based on machine learning as claimed in claim 1, characterized in that: The specific process of calculating the similarity of the characteristic vectors of the load data includes calculating the similarity between the loads using the Euclidean distance as a similarity measurement algorithm; The standard deviation is used to measure the volatility of load data, and a threshold is set to determine the similarity or difference between loads. Specifically, the statistical characteristics, frequency domain characteristics, and time domain characteristics of the load data are calculated by analyzing the historical load data. The threshold is set based on the above characteristics, and loads with a similarity greater than the threshold are considered similar loads, and loads with a similarity less than the threshold are considered dissimilar loads.

6. The non-intrusive load monitoring and identification method based on machine learning as claimed in claim 1, characterized in that: The specific process of minimizing the difference between the model prediction output and the actual load association rules includes, during the training process of the Transformer model, minimizing the difference between the output of the Transformer model and the actual load association rules, and updating the weights and parameters of the Transformer model through the stochastic gradient descent back propagation algorithm to form a machine learning model.

7. A non-intrusive load monitoring and identification system based on machine learning, characterized in that: include: A data acquisition module configured to acquire non-intrusive monitoring data of a load; A preprocessing module is configured to clean and preprocess the acquired load data and unify the data format and structure; The feature vector extraction module is configured to analyze the processed load data, mine the features related to load identification, extract the key features of the load data in the frequency domain and time domain, and convert them into quantifiable feature vectors; the specific process of mining the features related to load identification and extracting the key features of the load data in the frequency domain and time domain includes: introducing a residual shrinkage network to extract the features of the load data and make a similarity or difference judgment, inputting the load data into the residual shrinkage network, and extracting the feature representation of the load data through the forward propagation process of the network; The learning module is configured to use the Transformer model to learn the association rules between loads and calculate the similarity of the feature vectors of the load data; the specific process of using the Transformer model to learn the association rules between loads includes converting the load data into a time series, using the load value at each time step as the input of the Transformer model, and using the self-attention mechanism of the Transformer model to learn the dependency and importance between the loads; Each position of the input sequence is used as a query, key and value, and the attention weight of each position and other positions is calculated, and the correlation between different positions and features in the load data is focused on through the attention weight; A model building module is configured to build a machine learning model based on load characteristics and corresponding association rules, minimize the difference between the model prediction output and the actual load association rules, and optimize the weights and parameters of the model through back propagation; The model fine-tuning module is configured to select a transfer learning strategy based on the target task and data size to fine-tune and train the machine learning model. The specific process includes: Load the machine learning model into the target task, adjust the machine learning model according to the label of the target task to adapt to the output requirements of the target task, and use the load data of the target task for training to obtain the trained machine learning model; The identification module is configured to process the real-time non-intrusive monitoring data of the load using the trained machine learning model to obtain an identification result.

Citation Information

Patent Citations

  • Non-intrusive load decomposition method based on mathematical morphology and improved Transform

    CN115905857A

  • Non-intrusive load detection and decomposition method and device and storage medium

    CN117591909A

  • Non-intrusive load decomposition method and system

    CN117829203A

  • A method of detection of a landmark in a volume of medical images

    WO2023166330A1