Next Article in Journal
Accelerating Strawberry Ripeness Classification Using a Convolution-Based Feature Extractor along with an Edge AI Processor
Previous Article in Journal
Sleep Analysis by Evaluating the Cyclic Alternating Pattern A Phases
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Non-Invasive Load Identification Method Considering Feature Dimensionality Reduction and DB-LSTM

School of Electrical Engineering, Northeast Electric Power University, Jilin 132012, China
*
Author to whom correspondence should be addressed.
Electronics 2024, 13(2), 343; https://doi.org/10.3390/electronics13020343
Submission received: 11 December 2023 / Revised: 5 January 2024 / Accepted: 11 January 2024 / Published: 13 January 2024

Abstract

:
As the demand for detailed load data descriptions in modern power systems continues to increase, challenges such as high computational complexity in load identification tasks and high hardware requirements for devices have significantly hindered progress. Therefore, this paper proposes a non-intrusive load identification method using Densely-connected Bi-directional Long Short-Term Memory (DB-LSTM) with Kernel Principal Component Analysis. Firstly, a bilateral sliding window algorithm is employed for event detection in the data collected by load identification devices, checking for the switching on and off of electrical appliances. Secondly, after detecting the switching of load devices and extracting features, Kernel Principal Component Analysis is used to reduce data dimensions due to the complexity of existing features, selecting more relevant characteristics. Finally, a densely connected Bi-directional Long Short-Term Memory (LSTM) network is utilized. This enhances global and dynamic local features by stacking LSTM units and combining them with dense skip connections, providing additional channels for signal transmission, thereby strengthening feature propagation and reducing the number of parameters. This approach lowers computational complexity and improves the efficiency of the model’s load identification. The proposed model is compared and validated against mainstream non-intrusive load identification models through experiments, demonstrating its higher efficiency in load identification.

1. Introduction

In the continuously evolving landscape of new energy societies, electricity users are increasingly demanding detailed and refined management of their power consumption devices. To meet this challenge, Dr. Hart proposed a method called Non-Intrusive Load Monitoring (NILM) [1]. Unlike traditional intrusive load monitoring methods, NILM utilizes the total load information of electricity users. By inferring the power usage behavior of each appliance, it avoids the cumbersome process of installing sensors on each device. This approach offers numerous advantages, such as reduced installation costs, minimal interference with user privacy, and ease of operation [2,3,4], making it the mainstream method for analyzing electricity consumption behavior. However, to understand and apply the NILM method more deeply, it is beneficial to fully utilize Advanced Metering Infrastructure (AMI) data. AMI not only provides information about the total load of users but also offers more detailed and real-time electricity usage data, thereby enhancing the accuracy of appliance monitoring. Through precise analysis of AMI data, we can gain a more accurate understanding of the energy consumption patterns and usage of each device, further optimizing energy management strategies. Additionally, integrating the NILM method with demand response technology allows for flexible adjustment of electricity demand during peak periods, achieving intelligent energy dispatching. For emerging electricity demands like electric heat pumps and electric vehicle charging, the NILM method can also support their integration, ensuring efficiency and sustainability in energy usage. Overall, the application of the NILM method in power management, particularly in combination with AMI data and demand response technology, will propel the forefront of energy management and provide electricity users with more intelligent and efficient consumption solutions. By adopting this comprehensive approach, a more holistic understanding of every aspect of the power system can be achieved, laying the foundation for sustainable and intelligent energy management goals.
The process of NILM involves four crucial steps to accomplish load identification effectively. The first step is event detection. In the initial models of load identification, this is primarily achieved by setting relevant thresholds based on changes in load information such as current, voltage, and active power. This allows for the detection of related load events. [5]. However, these methods can be cumbersome when setting thresholds, as different types of equipment exhibit varied fluctuations during load-switching events. Determining reasonable thresholds usually requires manual setting, which is time-consuming and labor-intensive, hindering the load identification task. Therefore, Dr. Yang [6] proposed using zero-crossing detection, current similarity detection, and threshold assessment to evaluate load-switching events, improving the success rate of event detection. Furthermore, Kotsilitis proposed a novel approach in his work [7] to calculate the slope coefficient of relevant load data, detecting load-switching events by the degree of change in the slope coefficient. In addition to these methods, improvements in event detection methods for load identification tasks include using the transient response of active power [8], introducing multi-head attention mechanisms [9], and a deep dictionary learning model based on adaptive window changes [10], which have significantly improved the accuracy of load identification tasks, although some methods still struggle with detecting minor and short-term load changes.
After the initial event detection of transient events is completed, it is necessary to preprocess the data that may have load state changes and extract relevant features. NILM is then conducted by associating different feature changes with different load-switching events. Scholars have proposed using features like current, voltage, peak current, root mean square, and even V-I trajectory curves for load identification tasks [11,12,13]. Researchers from Zhejiang University [14] suggested using the Fast Fourier Transform (FFT) for further frequency domain transformation of features before extraction. Additionally, there are one-dimensional and two-dimensional load features like recurrence plots [15], equivalent impedance analysis of voltage and current data [16], and time-frequency multi-feature fusion of time-series images [17]. Various directions of research have continuously improved models in the data preprocessing and feature extraction aspects of load identification tasks.
The final step in the load identification task involves feeding the extracted features into relevant deep-learning networks to complete the task. With an increasing number of deep learning models being employed in load identification tasks, such as CNN, KNN, multi-task neural networks like SAMNet, Temporal Convolutional Networks (TCN), and Random Finite State Machines, various deep learning models have been researched for their application in NILM tasks [18,19,20,21,22]. As models continue to be optimized and improved, new improved models are continually being applied to NILM tasks: Dr. Himeur [23] proposed an improved K-Nearest Neighbors algorithm based on histograms (IKNN) to enhance load identification performance; Dr. Yang [12] introduced a transfer learning method that converts voltage-current (V-I) trajectories into visual representations through color coding; Mr. Kaselimi [24] proposed the use of attention mechanism to improve the s2p learning model; [25] and adaptive context-aware bidirectional deep learning models considering non-causal and seasonal factors have also been developed. However, while computing related load features, these models have not effectively excluded irrelevant features, leading to redundancy in the model training phase, thereby reducing model efficiency and hindering the load identification tasks.
The various load identification methods discussed above consider different aspects in each segment and make corresponding improvements. However, some aspects are still not sufficiently addressed, such as in the feature transfer phase. The aforementioned load identification models all use effective features but do not specially handle redundant features. This results in a bloated model structure, where many features are ignored and left unprocessed, leading to decreased computational efficiency and impacting the efficiency of load identification. This paper proposes a NILM method that incorporates feature dimensionality reduction and DB-LSTM to address these aspects. Considering that sensors and other data collection devices are widely installed in load identification tasks, models that require high hardware specifications are not suitable. Therefore, this paper proposes the use of Dense Bidirectional LSTM networks, which enhance both global and dynamic local features. By stacking LSTM units and combining them with dense skip connections, additional channels for signal transmission are provided, thereby strengthening feature propagation, reducing the number of parameters, and lowering computational complexity. This approach decreases computational demands on devices, aiming to enhance the efficiency of the model in load identification tasks. Below are the specific research works of this paper:
  • To address the difficulty in effectively monitoring load-switching events in load identification problems, a bilateral sliding window CUSUM algorithm is proposed. This algorithm dynamically monitors types of data such as load power, voltage, and current in the input load monitoring devices to identify the operational status of electrical equipment in real time.
  • Existing methods extract a variety of features from multiple domains. However, due to the large number of extracted load features, potentially beneficial features for load identification tasks might be overlooked, resulting in longer computation times and increased computational demands on devices. Therefore, this study considers using Kernel Principal Component Analysis (KPCA) for data dimensionality reduction of the extracted load features, thereby obtaining more relevant feature data for load identification tasks.
  • Considering that existing methods already account for the time-related aspects of load operation data but suffer from overly complex models that only utilize effective features without special handling of redundant ones, this leads to bloated model structures. Many features are ignored and left unprocessed, thus reducing computational efficiency and impacting load identification efficiency. To enhance the efficiency and accuracy of load identification, this paper proposes the use of Dense-LSTM networks. By employing stacked representation learners, both global and dynamic local features are enhanced. The interconnection of various modules within the LSTM network model ensures that the extracted features are transmitted to each layer, enhancing the reuse of effective features, reducing data redundancy, and decreasing the number of parameters to improve load identification efficiency.

2. Bilateral CUSUM Event Detection Method Based on Median Filtering in Sliding Windows

In non-intrusive load identification tasks, it is often necessary to collect and obtain data from actual field operations. Relying on data sets from intrusive load identification is very time-consuming and labor-intensive, making it costly for load identification tasks. Therefore, it is essential to utilize non-intrusive load identification methods for event detection, feature extraction, data processing, and load identification of electrical devices to accomplish the task. A crucial issue is how to effectively detect load events from the load data obtained from electrical users. Existing load identification methods can be categorized into two types based on the method of identifying changes in the state of electrical devices: event-based load identification methods and non-event-based load identification methods. Non-event-based methods, also known as blind source separation methods, mainly include hidden Markov models, stochastic finite state machines, and others. Event-based methods can be referred to as rule-based load identification methods or change point detection-based load identification methods. These methods typically involve unidirectional scanning of load data. However, such methods often fail to detect local data changes or sudden load-switching events, resulting in the oversight of some electrical device status changes. Therefore, effectively monitoring related event changes becomes a challenge. This paper proposes an event detection method based on bilateral CUSUM and median filter denoising in sliding windows to determine the occurrence of load-switching events in electrical devices within the input data for the non-intrusive load identification model.

2.1. Bilateral Cumulative Sum Event Detection Method Using Sliding Windows

In existing non-intrusive load identification models, some utilize cluster-based methods or hidden Markov models, which are non-event-based. These models are effective in identifying switching events of electrical devices from large amounts of load data. However, they often fail to monitor short-term load-switching events of electrical devices, especially when there is no historical data for newly connected devices in the power system, leading to decreased identification capability under short-term load changes. Event-based methods for detecting load-switching events excel in real-time monitoring of load data fluctuations and observing the load behavior of electrical devices, thereby swiftly detecting the occurrence of switching events in these devices.
The Cumulative Sum (CUSUM) algorithm, derived from the likelihood ratio model, is a control chart model that continuously accumulates the difference between the data to be tested and the standard data in the input model. This process analyzes fluctuations in the data, amplifies related fluctuations, and thus detects the occurrence of switching events in electrical devices. Taking the active power consumption of electrical devices as an example, when there is a load-switching event in the electrical devices, the active power data collected by relevant sensors may exhibit either abrupt or gradual changes. Subsequently, transient events can be determined through algorithms. However, it still faces challenges in detecting short-term changes and local anomalies.
To address these issues, scholars have further proposed the bilateral CUSUM (Cumulative Sum) event detection method using sliding windows [26]. This method is a statistical approach for real-time monitoring of abnormal changes or events in time series data. Unlike the traditional CUSUM method, the bilateral CUSUM with sliding windows introduces the concept of a sliding window to adapt to short-term changes and local anomalies that may occur in the system or process. In this approach, instead of applying the CUSUM algorithm to the entire load data sequence, a fixed-size window is deployed over the entire load data sequence, and the CUSUM algorithm is applied only within this window. This is more beneficial for detecting the occurrence of switch-on and switch-off events in electrical devices. Its working principle is as follows:
Firstly, introduce a period of time series data X , Its expression is X = { x ( k ) , k = 1 , 2 , 1 } . Assuming that an electrical device switching event occurs at a certain moment δ, the expressions for the statistical functions g k + and g k can be set as:
{ g 0 + = 0 g k + = max ( 0 , g k 1 + + s k + )
{ g 0 = 0 g k = max ( 0 , g k 1 + s k )
In the formula, s k + and s k represent the positive and negative offsets of the current detection point after removing the influence of noise values.
The expressions for s k + and s k are:
s k + = x k ( μ 0 + β )
s k = ( μ 0 β ) x k
where μ 0 represents the average data value under normal conditions; And β represents various types of noise that exist during the data collection process; When the amplitude of the change in active power is less than β , it will be ignored. In addition, due to a certain time delay between the occurrence and detection of events throughout the entire process, this time delay is set to ζ , Therefore, the following sliding window bilateral CUSUM event detection process can be obtained:
Firstly, when there is no transient event of the electrical equipment in the overall data, the overall value of 0 remains basically unchanged as the average of the statistical function, and no event detection is performed;
Secondly, if a transient event occurs, numerical accumulation is performed in statistical functions g k + and g k based on the rise and fall of the data, until the threshold Ω is reached, which is considered a transient event. If the cumulative threshold does not reach the threshold, d is applied to the time delayed data, that is, ζ i + 1 = ζ i + 1 , until the value exceeds the threshold, which is considered a transient event.
The sliding window bilateral CUSUM method can effectively detect local changes in load data, thereby detecting the occurrence of related load-switching events and achieving more accurate load identification.

2.2. Data Denoising with Median Filtering

In load identification tasks, it is crucial to collect effective and accurate load data such as current, voltage, power, and sensor measurements related to the load in the power system. However, these data often contain various interferences, such as Gaussian noise.
Moreover, during event detection tasks, load data is highly susceptible to noise from measurement devices, communication interference, and other external factors, leading to unnecessary fluctuations and disturbances in the data. Additionally, the power system experiences various sudden events, such as equipment switching and fault recovery, which can cause dramatic changes in load data, thereby reducing the accuracy.
Therefore, this paper proposes the use of median filtering technology for denoising filtering [27]. Median filtering is a nonlinear signal processing technique based on the theory of order statistics. It is an effective noise reduction technique for on-site data collection, also known as a nonlinear filter or a statistical order filter. The principle of median filtering is to take each load data point of an electrical device as the center and convert this point into the median value of all data points within a certain neighborhood window [28].
For data requiring noise reduction, median filtering can effectively accomplish this task and better preserve the edges of the signal, maintaining the complete structure of the data, unlike linear filtering methods that may blur the data waveform by treating edge data as noise points. Additionally, median filtering possesses the advantages of simplicity in computation and ease of application in hardware, making it more suitable for the denoising task in the scenario presented in this paper compared to other filtering methods. The specific process is as follows:
Assuming a load data sequence of electrical equipment is x j ( < j < + ) , when performing median filtering on this set of time series data, a window of length l needs to be set, and the value of l is 2 N + 1 , where N is a positive integer. Taking a certain moment x ( i ) as an example, taking a total of a points before and after x ( i N ) , x ( i ) , x ( i + N ) as 2 N + 1 window, where x ( i ) is the center point of all data in this window, and arranging the aforementioned points x ( i N ) , x ( i ) , x ( i + N ) and 2 N + 1 according to their size, taking the value, and defining it as the output value of the median filter in this window.
This article proposes a double accumulation and CUSUM event detection method using sliding windows based on median filtering to effectively detect the switching of electrical equipment. After preliminary noise reduction of load data using median filtering technology, it can effectively reduce the interference of noise on load events by detecting whether switching events have occurred.

3. Non-Intrusive Load Monitoring Method Incorporating Feature Dimension Reduction and DB-LSTM

In existing load identification tasks, models process the raw steady-state or transient features extracted from the operation of electrical devices. This processing may involve time-frequency domain transformations or other feature extraction methods to obtain higher-dimensional relevant features. However, among these features, some may be highly beneficial for load identification tasks, while others may have little or no use. Therefore, selecting relevant and beneficial features becomes a noteworthy research problem.

3.1. Feature Dimension Reduction Method Based on Kernel Principal Component Analysis

In non-intrusive load monitoring tasks, the model performs a sequence of operations, encompassing event detection, feature extraction, data preprocessing, and load identification, in order to accomplish the task of load identification. However, the data input into the model is often voluminous and complex, containing both beneficial load feature information and other redundant information not useful for load identification. Therefore, selecting relevant data features becomes an important research issue.
Some scholars have proposed using Principal Component Analysis (PCA) [29] to perform feature dimension reduction analysis on load data during the switching events of electrical devices in non-intrusive load identification tasks. However, traditional PCA is a linear feature processing method and is less sensitive to changes in data involving randomness and occasional events, such as the switching of electrical devices, which have nonlinear relationships. Therefore, its feasibility in non-intrusive load identification is not high.
However, the more recently proposed KPCA method can greatly improve this issue. Firstly, KPCA is a method of performing principal component analysis on nonlinear data. By exploring additional mapping forms in high-dimensional space, this method effectively captures the nonlinear correlations between input features. Consequently, it selects features more conducive to the load identification task, extracts more crucial information, achieves feature dimensionality reduction, and establishes a more precise model. This, in turn, reduces computational complexity, improves computational efficiency, and lessens hardware requirements. The KPCA method includes multiple kernel functions, such as linear kernels, radial basis function (RBF) kernels, etc. Among them, the Gaussian kernel function is one of the most common and effective kernel functions in RBF kernels, and its mathematical expression is as follows:
K ( x i , x j ) = exp ( x i x j 2 2 σ 2 )
where x i and x j represent the input electrical equipment load data, while σ represents a parameter of the shape of the kernel function. Due to the selected load device data in this paper being a type of nonlinear and complex data, among various kernel functions in KPCA, RBF kernel is highly effective in capturing nonlinear relationships within the data. It achieves this by mapping the data into a high-dimensional space and generating additional nonlinear structures. This further processes the data. Since the RBF kernel allows for the adjustment of the kernel’s width through parameter ‘ σ ‘, it diversifies the function, making it more adaptable to different data forms, thereby enhancing the effectiveness of data analysis and optimizing the algorithm.

3.2. DB-LSTM Non-Intrusive Load Identification Model

Various deep-learning methods have already been applied to non-intrusive load identification tasks. However, issues such as model complexity and high computational demand still exist. Additionally, some types of LSTM models tend to overlook the connections between load data of the same electrical device over different lengths of time [30,31]. This type of data connection is crucial for users who can collect or store long-term load data and should not be ignored. The DB-LSTM network addresses this by analyzing data across different time scales using densely connected LSTM modules, thus achieving more accurate load identification.
To overcome the shortcomings of existing methods, this paper introduces a novel long-term temporal model for non-intrusive load identification, namely the Dense-LSTM network. This network utilizes a stack of representation learners to enhance both global and dynamic local features. By integrating various modules within the LSTM network model and establishing interconnections between layers, features extracted can be propagated throughout each layer, ensuring the effective reuse of valuable features, reducing data redundancy, and minimizing the number of parameters. Additionally, short-term and long-term time analysis patterns are established to facilitate the learning of temporal relationships in load data. Furthermore, forward and backward bidirectional learning is conducted based on the current target point, capturing a broader range of load information and comprehensively improving the efficiency of load identification.
Following the concept of densely connected networks, the LSTM network is further expanded into a densely connected form. This involves using skip connections within the densely connected network blocks, as shown in Figure 1, where y t l represents the densely connected module at the t time step in the l layer, with various colored lines indicating the connections between different dense layers.
The DB-LSTM network models the related temporal patterns of the switching actions of electrical devices through the aforementioned structure. It takes full advantage of the dense connection modules and bidirectional time feature detection to reduce computational complexity and enhance event detection capabilities. The main feature of the entire DB-LSTM network is that it not only achieves inter-layer connectivity but also cross-level connections across multiple layers. Its structure is shown in Figure 2. This structure effectively reduces the gradient explosion problem commonly found in traditional LSTM networks. Additionally, by facilitating communication across multiple levels, it enhances effective feature reuse.
In this DB-LSTM model, y t refers to the output of the t -th LSTM module, and the specific calculation formula is as follows:
y t = [ y t , y t ]
The y t and y t in Formula (6) represent the output of the t -th step in the two-way directions of the module in that group, respectively. [ , ] indicates that these two outputs are directly linked to each other. and respectively represent the direction of output d . The output y t l calculation method for the t -th time step of the LSTM module’s l -th layer is as follows:
y t l = [ h t l ( [ y t 0 , y t 1 , , y t i , y t l 1 ] ) , x t ]
Among them, [ y t 0 , y t 1 , y t i , y t l 1 ] refers to the set of features extracted by multiple modules before this layer module.
Using expression H l ( X ) to represent the l -th layer in the DB-LSTM network, where X is the input to each layer of the LSTM:
X = { x 0 , x 1 , , x t 1 }
Merge the output of the previous LSTM layer with the input feature x t of the t -th time step.
To obtain a comprehensive overall temporal correlation feature of load data, this paper represents the last output of the DB-LSTM network as φ ( S , F , W S , W L ) , where S is the sampling stack, F is the primary network, and W S and W L represent the weights of the SRL and DB-LSTM backbone networks, respectively. And use the cross entropy function to calculate the loss:
Ψ ( ρ , φ ) = j = 1 c ρ i ( φ i l o g j = 1 c exp φ i )
Finally, merge the scores generated by the network model modeling with the fusion layer and use a multi-scale sliding window to fuse all outputs into scores, the fusion formula is:
W q = 1 ( K q ) q s = 1 K q t = s s + q D t b i
In the formula, s represents the starting time step of the sliding window, and K   represents the number of time steps.

3.3. Non-Intrusive Load Identification Model Incorporating Feature Dimension Reduction and DB-LSTM

The illustration in Figure 3 outlines the specific procedure of the KPCA-DBLSTM non-intrusive load identification model proposed in this paper.
  • Step 1: Collect aggregate data through sensors or other devices.
  • Step 2: Perform denoising on the data using median filtering.
  • Step 3: Detect events in the data using a sliding window’s bilateral cumulative sum (CUSUM).
  • Step 4: Extract features from the detected data, focusing on multi-dimensional characteristics.
  • Step 5: Employ the KPCA technique for data dimension reduction, extracting features that are more effective for load identification tasks.
  • Step 6: Input the processed data into the DB-LSTM network for load identification.
  • Step 7: Obtain the results of the load identification and output relevant information.

4. Case Analysis

4.1. Evaluation Metrics and Model Parameters

This paper uses the REFIT Power Data public dataset, which consists of electricity usage data from multiple UK households between 2013 and 2015 [32]. For non-intrusive load disaggregation experiments, seven types of common household load devices from households 2, 3, 5, 6, 15 in the REFIT Power Data dataset were selected [33]. The electrical load data from a portion of HOUSE2 will be extracted to serve as the training set for the experimental section of this paper, while the remaining data will be used as the test set. The data from household 3, 5, 6, and 15 was used as a validation set for experimentation. Some devices exhibited variable states and operating modes in different households, including single-state and multi-state switching devices. Due to the similar active load values and variable operating modes of these devices, the task of load disaggregation presents certain challenges. The capability of this work in load identification tasks is further highlighted, emphasizing its proficiency in the recognition of electrical loads. Detailed information about the seven types of loads is shown in Table 1.
The article selects A c c , M A E and F 1 as relevant evaluation metrics for the load identification model [34], assessing the ability of the load decomposition model in this article. Whereas A c c represents the overall accuracy of load identification results. The M A E metric reflects the real-time accuracy of the model in load identification, with a lower value indicating higher accuracy in load identification. The F 1 metric focuses on reflecting the error between actual load data and data identified by the model in real situations. These three categories of metrics provide a comprehensive evaluation of the load identification results [35]. The following formulas 21–25 represent the calculation formulas for these three metrics:
A c c = 1 i = 1 N i = 1 T | β t ( i ) β t ( i ) | 2 i = 1 N i = 1 T β t ( i )
M A E = 1 T 1 T 0 t = T 0 T 1 a b s ( β t ( i ) β t ( i ) )
P R E = T P T P + F P
R E C = T P T P + F N
F 1 = 2 × P R E × R E C P R E + R E C
In the formula, β t ( i ) ^ represents the power value of electrical appliance i obtained using the load decomposition algorithm at time t , β t ( i ) represents the actual power value of electrical appliance i at time t , A c c denotes the accuracy of the decomposition of all appliances in the entire household. M A E stands for the mean absolute error of the power decomposition values from time T 0 to T 1 within the time period. P R E represents precision. R E C signifies recall. F 1 represents the harmonic mean of precision and recall; T P is the point at which it is in and considered to be in a working state; F P is the point in time when it is in but not considered to be in a working state; F N is a point in time when it is not considered to be in a working state.

4.2. Experimental Parameter Settings and Effect Analysis

Experiment 1: Regarding the median filtering method proposed in this paper, its filtering effect and its impact on the accuracy of load identification results were investigated. The aim is to demonstrate the filtering effect of the median filtering method and its impact on the accuracy of load identification results. A comparison is made using before-and-after filtering effect images, as well as the evaluation metrics A c c , M A E and F 1 .
Experiment 2: Validates the effectiveness of the feature dimensionality reduction method proposed in this paper and compares it with various other methods.
Experiment 3: Conducts comprehensive experiments comparing results between trained and untrained data.
The above three sets of experiments aim to thoroughly validate the effectiveness and generality of the previously proposed methods in the task of load identification.

5. Results

The effectiveness experiment of the median filtering method was conducted first. The intuitive filtering effect is shown in Figure 4, where (a) represents the waveform of the load data without median filtering, and (b) represents the waveform of the load data after median filtering. It is apparent that after median filtering, the significantly prominent data in the load data has reduced, making the overall waveform smoother without losing the general fluctuation pattern. It retains the overall information regarding load changes. According to Table 2, it is evident that this does not affect the load identification effect. On the contrary, the accuracy of load identification has slightly improved.
In addition, Table 2 shows the comparison of three metrics between the LSTM, CNN, HMM models, and the proposed KPCA-DBLSTM model under two conditions: with and without median filtering. According to the data in Table 2, the load data after median filtering, when input into the model, does not decrease the overall recognition rate. Instead, it leads to different degrees of improvement in the three evaluation metrics. Firstly, there is an improvement of 1.2% to 2.6% in the Acc metric, and the MAE metric also shows a slight improvement. Finally, the F 1 metric exhibits an improvement ranging from 1.3% to 4%. In this experimental part, the KPCA-DBLSTM model proposed in this paper achieves optimal performance across all three evaluation metrics. From the comprehensive performance in the above table, it can be observed that the median filtering event detection method employed in this paper has the potential to improve the load identification efficiency of multiple models to varying degrees. However, there is a certain degree of variation in the improvement among different models. This is because, although median filtering can effectively reduce the impact of various factors such as noise and outliers, it is difficult to avoid filtering out the special feature information contained in some extreme values. Consequently, while the method can enhance accuracy in the subsequent identification of relevant models, it does not lead to a significant increase in accuracy.
Next, this paper conducted experiments to validate the effectiveness of feature dimensionality reduction methods, and the results of three evaluation metrics can be obtained from Table 2. In this experiment, to verify the effectiveness of the feature dimensionality reduction methods, only changes were made in the feature processing part. Specifically, the results of the three metrics after feature computation with and without feature dimensionality reduction methods were compared.
From the results in Table 3, it can be observed that the feature dimensionality reduction method has a certain effect on the improvement of load identification accuracy. Firstly, there is a noticeable improvement of 3.7% to 5.4% in the A c c metric, and the M A E metric also shows a slight improvement. Finally, the F 1 metric exhibits a relatively stable improvement ranging from 3.5% to 3.8%. This indicates that feature dimensionality reduction techniques effectively eliminate load features that are ineffective or have minimal impact on the load identification task. This makes the model calculations lean towards load features that are more beneficial for load identification, resulting in an increase in relevant evaluation metric values. However, after analyzing the data in the table, it was found that there is a disparity in the improvement of accuracy among different models. This is because, during the process of feature dimensionality reduction, different models emphasize the extraction of different types of features. As a result, the applicable features vary, leading to such issues in accuracy enhancement.
The final step involves a comparative experiment to validate the model’s generalization performance. This paper verifies the generalization capability of the proposed model by comparing untrained data from HOUSE2 with data from HOUSE3, 5, 6, and 15. Figure 5 illustrates the comparative results of three metrics across multiple load identification models.
Through the comparison of the three indicators in Figure 5a–c, the results indicate that the proposed KPCA-DBLSTM model in this paper exhibits a significant advantage across multiple scenarios and various metrics. For the A c c metric, the KPCA-DBLSTM model proposed in this paper shows a 7.6–15.1% increase compared to other models in different scenarios. Under the M A E metric, there is an optimization ranging from 3.8% to 10.18%, and finally, the F 1 metric shows an improvement of 6.7–17.1%. The comparison of these data effectively demonstrates the overall effectiveness of the non-intrusive load identification model proposed in this paper.
Furthermore, during the process of validating the generalization performance of the KPCA-DBLSTM model in different household data situations, there is a certain fluctuation in the accuracy. For instance, in the trained data of HOUSE2, the model performs the best, while the load identification results for data from other households (HOUSE3, 5, 6, and 15) show varying degrees of decrease. This is attributed to the fact that although different households may adopt similar electrical devices, their electricity consumption behaviors, power consumption, and other relevant load characteristics differ from those in HOUSE2, which was part of the training data. Therefore, while still effective in identification, there is a potential decrease in load identification accuracy.

6. Discussion

In this paper, a non-intrusive load identification method based on DB-LSTM, considering feature dimensionality reduction, is proposed. Through experimental comparisons, the model introduced in this paper optimizes and improves the load identification task in various stages, such as event detection, data processing, and load identification. The median filtering method helps mitigate the impact of extreme data on experiments, feature dimensionality reduction concentrates computational resources on aspects beneficial to load identification, and the DB-LSTM network effectively reduces model complexity and hardware requirements for load identification devices through the multiple reuse of features.
The proposed model facilitates the simplification of load identification procedures in real-world scenarios, enhancing computational speed and, consequently, improving the efficiency of analyzing electricity consumption behavior. This leads to a more convenient and accurate execution of load identification tasks, providing power users with more authentic and effective electricity consumption data. It assists users in optimizing their electricity consumption habits intelligently.
However, the computational process of the proposed method remains relatively extensive and cumbersome, requiring a complete workflow for load identification tasks. This imposes higher computational demands on load identification devices, potentially limiting the widespread deployment of this technology, especially in cost-sensitive or resource-constrained environments. Therefore, further research is needed to explore ways to enhance the computational capabilities of load identification devices, such as simplifying algorithmic processes, reducing computational complexity, and lowering device computational requirements.
For instance, more efficient feature selection and dimensionality reduction techniques could be investigated, or lighter network structures could be developed. Model compression and quantization techniques could also be explored to reduce the size and computational demands of the model, making it more suitable for operation on resource-constrained devices. This could further facilitate the interoperability between edge devices and cloud devices, leveraging the advantages of the simplified network in DB-LSTM to reduce hardware requirements for edge detection devices installed in homes. This, in turn, addresses the current challenge of the limited installation of load identification devices due to cost issues and contributes to the further development of smart grids, promoting advancements in intelligent electricity usage.

Author Contributions

Conceptualization, methodology, and validation, H.W.; formal analysis, N.H.; investigation and data curation, H.W., X.W., D.W. and C.H.; writing—original draft preparation, H.W.; writing—review and editing, H.W.; supervision, N.H. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by China’s National Key Development Plan, grant number 2022YFB2404002.

Data Availability Statement

The method of obtaining the REFIT Power Data dataset can be found in its corresponding reference.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Hart, G.W. Nonintrusive Appliance Load Monitoring. Proc. IEEE 1992, 80, 1870–1891. [Google Scholar] [CrossRef]
  2. He, K.; Stankovic, L.; Liao, J.; Stankovic, V. Non-Intrusive Load Disaggregation Using Graph Signal Processing. IEEE Trans. Smart Grid 2018, 9, 1739–1747. [Google Scholar] [CrossRef]
  3. Le, T.-T.-H.; Heo, S.; Kim, H. Toward Load Identification Based on the Hilbert Transform and Sequence to Sequence Long Short-Term Memory. IEEE Trans. Smart Grid 2021, 12, 3252–3264. [Google Scholar] [CrossRef]
  4. Li, D.; Dick, S. Residential Household Non-Intrusive Load Monitoring via Graph-Based Multi-Label Semi-Supervised Learning. IEEE Trans. Smart Grid 2019, 10, 4615–4627. [Google Scholar] [CrossRef]
  5. ul Islam, N.; Shah, S.M. A Low Complexity Binary-Weighted Energy Disaggregation Framework for Residential Electricity Consumption. Energy Build. 2023, 298, 113553. [Google Scholar] [CrossRef]
  6. Yang, D.; Gao, X.; Kong, L.; Pang, Y.; Zhou, B. An Event-Driven Convolutional Neural Architecture for Non-Intrusive Load Monitoring of Residential Appliance. IEEE Trans. Consum. Electron. 2020, 66, 173–182. [Google Scholar] [CrossRef]
  7. Kotsilitis, S.; Kalligeros, E.; Marcoulaki, E.C.; Karybali, I.G. An Efficient Lightweight Event Detection Algorithm for On-Site Non-Intrusive Load Monitoring. IEEE Trans. Instrum. Meas. 2023, 72, 2169. [Google Scholar] [CrossRef]
  8. Athanasiadis, C.; Doukas, D.; Papadopoulos, T.; Chrysopoulos, A. A Scalable Real-Time Non-Intrusive Load Monitoring System for the Estimation of Household Appliance Power Consumption. Energies 2021, 14, 767. [Google Scholar] [CrossRef]
  9. Jiao, R.; Li, C.; Xun, G.; Zhang, T.; Gupta, B.B.; Yan, G. A Context-Aware Multi-Event Identification Method for Nonintrusive Load Monitoring. IEEE Trans. Consum. Electron. 2023, 69, 194–204. [Google Scholar] [CrossRef]
  10. Liu, Y.; Liu, W.; Shen, Y.; Zhao, X.; Gao, S. Toward Smart Energy User: Real Time Non-Intrusive Load Monitoring with Simultaneous Switching Operations. Appl. Energy 2021, 287, 6616. [Google Scholar] [CrossRef]
  11. Najmeddine, H.; El Khamlichi Drissi, K.; Pasquier, C.; Faure, C.; Kerroum, K.; Diop, A.; Jouannet, T.; Michou, M. State of Art on Load Monitoring Methods. In Proceedings of the 2008 IEEE 2nd International Power and Energy Conference, Johor Bahru, Malaysia, 1–3 December 2008; pp. 1256–1258. [Google Scholar]
  12. Liu, Y.; Wang, X.; You, W. Non-Intrusive Load Monitoring by Voltage-Current Trajectory Enabled Transfer Learning. IEEE Trans. Smart Grid 2019, 10, 5609–5619. [Google Scholar] [CrossRef]
  13. Lam, H.Y.; Fung, G.S.K.; Lee, W.K. A Novel Method to Construct Taxonomy Electrical Appliances Based on Load Signaturesof. IEEE Trans. Consum. Electron. 2007, 53, 653–660. [Google Scholar] [CrossRef]
  14. Kang, J.-S.; Yu, M.; Lu, L.; Wang, B.; Bao, Z. Adaptive Non-Intrusive Load Monitoring Based on Feature Fusion. IEEE Sens. J. 2022, 22, 6985–6994. [Google Scholar] [CrossRef]
  15. Chen, J.; Wang, X.; Zhang, X.; Zhang, W. Temporal and Spectral Feature Learning With Two-Stream Convolutional Neural Networks for Appliance Recognition in NILM. IEEE Trans. Smart Grid 2022, 13, 762–772. [Google Scholar] [CrossRef]
  16. Zhang, Y.; Lin, C.; Shao, Z.; Liu, B. A Non-Intrusive Identification Method of Harmonic Source Loads for Industrial Users. IEEE Trans. Power Deliv. 2022, 37, 4358–4369. [Google Scholar] [CrossRef]
  17. Li, K.; Yin, B.; Du, Z.; Sun, Y. A Nonintrusive Load Identification Model Based on Time-Frequency Features Fusion. IEEE Access 2021, 9, 1376–1387. [Google Scholar] [CrossRef]
  18. Li, Y.; Wang, H.; Yang, J.; Wang, K.; Qi, G. A Non-Intrusive Load Monitoring Algorithm Based on Multiple Features and Decision Fusion. Energy Rep. 2021, 7, 1555–1562. [Google Scholar] [CrossRef]
  19. Liu, Y.; Qiu, J.; Ma, J. SAMNet: Toward Latency-Free Non-Intrusive Load Monitoring via Multi-Task Deep Learning. IEEE Trans. Smart Grid 2022, 13, 2412–2424. [Google Scholar] [CrossRef]
  20. Hur, C.-H.; Lee, H.-E.; Kim, Y.-J.; Kang, S.-G. Semi-Supervised Domain Adaptation for Multi-Label Classification on Nonintrusive Load Monitoring. Sensors 2022, 22, 5838. [Google Scholar] [CrossRef]
  21. Athanasiadis, C.L.; Papadopoulos, T.A.; Doukas, D.I. Real-Time Non-Intrusive Load Monitoring: A Light-Weight and Scalable Approach. Energy Build. 2021, 253, 1523. [Google Scholar] [CrossRef]
  22. Singhal, V.; Maggu, J.; Majumdar, A. Simultaneous Detection of Multiple Appliances From Smart-Meter Measurements via Multi-Label Consistent Deep Dictionary Learning and Deep Transform Learning. IEEE Trans. Smart Grid 2019, 10, 2969–2978. [Google Scholar] [CrossRef]
  23. Himeur, Y.; Alsalemi, A.; Bensaali, F.; Amira, A. Smart Non-Intrusive Appliance Identification Using a Novel Local Power Histogramming Descriptor with an Improved k-Nearest Neighbors Classifier. Sustain. Cities Soc. 2021, 67, 2764. [Google Scholar] [CrossRef]
  24. Yang, M.; Li, X.; Liu, Y. Sequence to Point Learning Based on an Attention Neural Network for Nonintrusive Load Decomposition. Electronics 2021, 10, 1657. [Google Scholar] [CrossRef]
  25. Kaselimi, M.; Doulamis, N.; Voulodimos, A.; Protopapadakis, E.; Doulamis, A. Context Aware Energy Disaggregation Using Adaptive Bidirectional LSTM Models. IEEE Trans. Smart Grid 2020, 11, 3054–3067. [Google Scholar] [CrossRef]
  26. Niu, L.; Jia, H. Transient Event Detection Algorithm for Non-Intrusive Load Monitoring. Autom. Electr. Power Syst. 2011, 35, 30–35. [Google Scholar]
  27. Yang, C.C.; Soh, C.S.; Yap, V.V. A Systematic Approach to ON-OFF Event Detection and Clustering Analysis of Non-Intrusive Appliance Load Monitoring. Front. Energy 2015, 9, 231–237. [Google Scholar] [CrossRef]
  28. Bonfigli, R.; Felicetti, A.; Principi, E.; Fagiani, M.; Squartini, S.; Piazza, F. Denoising Autoencoders for Non-Intrusive Load Monitoring: Improvements and Comparative Evaluation. Energy Build. 2018, 158, 1461–1474. [Google Scholar] [CrossRef]
  29. Yang, C.C.; Soh, C.S.; Yap, V.V. A Systematic Approach in Load Disaggregation Utilizing a Multi-Stage Classification Algorithm for Consumer Electrical Appliances Classification. Front. Energy 2019, 13, 386–398. [Google Scholar] [CrossRef]
  30. Zai, Z.; Zhao, S.; Zhang, Z.; Li, H.; Sun, N. Non-Intrusive Load Monitoring Based on the Combination of Gate-Transformer and CNN. Electronics 2023, 12, 2824. [Google Scholar] [CrossRef]
  31. Hwang, H.; Kang, S. Nonintrusive Load Monitoring Using an LSTM With Feedback Structure. IEEE Trans. Instrum. Meas. 2022, 71, 9536. [Google Scholar] [CrossRef]
  32. Murray, D.; Stankovic, L.; Stankovic, V. An Electrical Load Measurements Dataset of United Kingdom Households from a Two-Year Longitudinal Study. Sci. Data 2017, 4, 122. [Google Scholar] [CrossRef] [PubMed]
  33. Langevin, A.; Carbonneau, M.-A.; Cheriet, M.; Gagnon, G. Energy Disaggregation Using Variational Autoencoders. Energy Build. 2022, 254, 1623. [Google Scholar] [CrossRef]
  34. Himeur, Y.; Alsalemi, A.; Bensaali, F.; Amira, A. Robust Event-Based Non-Intrusive Appliance Recognition Using Multi-Scale Wavelet Packet Tree and Ensemble Bagging Tree. Appl. Energy 2020, 267, 4877. [Google Scholar] [CrossRef]
  35. Kim, H.; Lim, S. Temporal Patternization of Power Signatures for Appliance Classification in NILM. Energies 2021, 14, 2931. [Google Scholar] [CrossRef]
Figure 1. Dense-LSTM module structure diagram.
Figure 1. Dense-LSTM module structure diagram.
Electronics 13 00343 g001
Figure 2. DB-LSTM network architecture diagram.
Figure 2. DB-LSTM network architecture diagram.
Electronics 13 00343 g002
Figure 3. Structure of the non-intrusive load identification model incorporating feature dimension reduction and DB-LSTM.
Figure 3. Structure of the non-intrusive load identification model incorporating feature dimension reduction and DB-LSTM.
Electronics 13 00343 g003
Figure 4. Comparison of median filtering denoising effects.
Figure 4. Comparison of median filtering denoising effects.
Electronics 13 00343 g004
Figure 5. Comparison of load identification result metrics across multiple models.
Figure 5. Comparison of load identification result metrics across multiple models.
Electronics 13 00343 g005
Table 1. Equipment Type Classification and Information Table.
Table 1. Equipment Type Classification and Information Table.
Equipment NumberEquipment CategoryDevice TypeMaximum Power/WMinimum Power/W
1Multistate devicerefrigerator13080
2Multistate devicewashing machine1002600
3Multistate devicedishwasher23602000
4Multivariable equipmenttelevision6018
5Single state devicemicrowave oven125010
6Single state devicetoaster98921
7Single state devicekettle29201280
Table 2. Comparison of recognition result metrics for load data with and without filtering.
Table 2. Comparison of recognition result metrics for load data with and without filtering.
Identification Results without Median FilteringIdentification Results after Median Filtering
LSTMCNNHMMKPCA-DBLSTMLSTMCNNHMMKPCA-DBLSTM
A c c 0.8350.8970.8720.9410.8470.9110.9010.967
M A E 12.758.949.513.7410.177.147.873.32
F 1 0.8280.8870.8690.9320.8450.9020.8820.972
Table 3. Comparison of dimensionality reduction effects.
Table 3. Comparison of dimensionality reduction effects.
Identification Results of Dimensionality Reduction without FeaturesIdentification Results after Feature Dimensionality Reduction
LSTMCNNHMMKPCA-DBLSTMLSTMCNNHMMKPCA-DBLSTM
A c c 0.8170.8610.8540.9230.8740.9130.8910.977
M A E 14.2910.578.554.749.446.237.523.12
F 1 0.8010.8730.8570.9390.8390.9110.8920.975
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Huang, N.; Wang, H.; Wang, X.; Hu, C.; Wang, D. A Non-Invasive Load Identification Method Considering Feature Dimensionality Reduction and DB-LSTM. Electronics 2024, 13, 343. https://doi.org/10.3390/electronics13020343

AMA Style

Huang N, Wang H, Wang X, Hu C, Wang D. A Non-Invasive Load Identification Method Considering Feature Dimensionality Reduction and DB-LSTM. Electronics. 2024; 13(2):343. https://doi.org/10.3390/electronics13020343

Chicago/Turabian Style

Huang, Nantian, Hao Wang, Xinran Wang, Chenhan Hu, and Dongxu Wang. 2024. "A Non-Invasive Load Identification Method Considering Feature Dimensionality Reduction and DB-LSTM" Electronics 13, no. 2: 343. https://doi.org/10.3390/electronics13020343

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop