Next Article in Journal
Electrochemical Energy Storage Potentials of Waste Biomass: Oil Palm Leaf- and Palm Kernel Shell-Derived Activated Carbons
Next Article in Special Issue
Solving the Energy Efficient Coverage Problem in Wireless Sensor Networks: A Distributed Genetic Algorithm Approach with Hierarchical Fitness Evaluation
Previous Article in Journal
Deep Highway Networks and Tree-Based Ensemble for Predicting Short-Term Building Energy Consumption
Previous Article in Special Issue
Towards Effective and Efficient Energy Management of Single Home and a Smart Community Exploiting Heuristic Optimization Algorithms with Critical Peak and Real-Time Pricing Tariffs in Smart Grids
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Non-Intrusive Load Monitoring Based on Novel Transient Signal in Household Appliances with Low Sampling Rate

School of Computer Science and Engineering, Pusan National University, Busan 609-735, Korea
*
Author to whom correspondence should be addressed.
Current address: Information Security & IoT Lab, Building A06, School of Computer Science & Engineering, Pusan National University, San-30, JangJeon–dong, Geumjeong–gu, Busan 609-735, Korea.
Energies 2018, 11(12), 3409; https://doi.org/10.3390/en11123409
Submission received: 31 October 2018 / Revised: 1 December 2018 / Accepted: 3 December 2018 / Published: 5 December 2018

Abstract

:
Nowadays climate change problems have been more and more concerns and urgent in the real world. Especially, the energy power consumption monitoring is a considerate trend having positive effects in decreasing affecting climate change. Non-Intrusive Load Monitoring (NILM) is the best economic solution to solve the electrical consumption monitoring issue. NILM captures the electrical signals from the aggregate energy consumption, feature extraction from these signals and then learning and predicting the switch ON/OFF of appliances used these feature extracted. This paper proposed a NILM framework including data acquisition, data feature extraction, and classification model. The main contribution is to develop a new transient signal in a different aspect. The proposed transient signal is extracted from the active power signal in the low-frequency sampling rate. This transient signal is used to detect the event of household appliances. In household appliances event detection, we applied to Decision Tree and Long Short-Time Memory (LSTM) models. The average accuracies of these models achieved 92.64% and 96.85%, respectively. The computational and result experiments present the solution effectiveness for the accurate transient signal extraction in the electrical input signals.

1. Introduction

Developing countries with rapid urbanization in high buildings construction and the high power demand are a reason for the need for conversation and efficient energy program. The program requires monitoring of customer appliances energy consumption in real-time. Using smart meter had led to NILM enables estimation of individual power consumption used for aggregate power consumption in energy management recently.
In the factory field, researchers are working on Factory Energy Management System (FEMS) for efficient electric energy use. In recently, FEMS has been linked with to the Cyber-Physical Systems (CPS) of Industry 4.0. And the related researches will be more significant in this area [1]. At resident homes, NILM provides the households understand their consumption usage via a cost-effective real-time monitoring appliances system. The customers need giving up unwanted activities to avoid producing unnecessary energy consumption such as the appropriate appliances usage time and appliances usage optimization. These activities can be obtained showing to customers the consumption of each appliance in the sum of the total billing to detect excesses or malfunction [2]. Furthermore, it could be possible notify users of possible savings in their billing electricity. In contrary to this, Kelly et al. [3] have argued that it is not proven yet that above activity and the additional feedback which become saving energy. In addition, there is an increase in micro-grids and renewable energy facility installation also continuous growth in recently. In purpose of increasing efforts these saving, automating energy measurement, energy monitoring, and the power management system are needed. In the load measurement of a power system, load monitoring has the main role that the process of acquiring and identifying the load [4]. This load monitoring will determine the status of appliances and their consumption. Besides, it supports to understand the behavior of each load in the whole power system. There are two types of the load monitoring including Intrusive Load Monitoring (ILM) and Non-Intrusive Monitoring (NILM).
In ILM, the term “intrusive” means that there is the meter device in the resident house and close to the appliances to monitor. ILM deploys a measurement of the energy consumption of one or more household appliances using meter devices. In the ILM ecosystem, more low-end meter devices are needed. This makes hard to install, maintain, expand as well as expensive. In contrary to ILM, the term “non-intrusive” in NILM means that no extra equipment is installed in the house. NILM is a process which gives data from whole house energy consumption. This process includes installing a sensor device at the panel level and then the appliances will be inferred with being used. NILM preferred using than ILM because it is cheaper and easier installation. Instead of at least one-meter device per room, this technique requires only one-meter device for each energy entrance to the house. Energy disaggregation is another synonym for NILM. This technique estimates the power demand for each appliance from a single meter which contains the overall demand for several appliances.
A NILM system has three roles including capturing the signals from the aggregate consumption, extracting the feature uniquely from the load signal and classifying to identify which appliances are turned ON based on these features extracted. To identify the individual signature of each device, the NILM system requires several steps such as signal sampling (data acquisition), feature extraction based on signal analysis from the electrical signals. This paper presents a NILM framework including data acquisition, data feature extraction, and classification model. The contributions in this NILM study are: (1) propose a NILM framework, (2) collect the household appliances energy consumption data set in low-frequency sampling rate, (3) propose the algorithm to extract a new transient signal in low-frequency sampling rate, (4) improve the performance of NILM model in event detection as well as load identification.
The main contribution to be presented in this paper is a new approach to extract the transient uniquely. The proposed transient signal is extracted from the active power signal in the low-frequency sampling rate. This transient signal is used to detect the event of household appliances. Besides, an embedded board, Jetson TX2, is used to build the proposed NILM application system. This board has two roles to use in this research. The first role is to connect with the sensor to request and storage energy data (data acquisition). The second one is to build machine learning and deep learning models with high-performance training and testing. It is integrated Graphic Processing Unit (GPU) related to deep learning and its performance such as LSTM model. Furthermore, NILM Web application can be built for visualizing NILM result at this board. On the other hand, it can be replaced Jetson TX2 by other hardware that integrated GPU or normal personal computer (PC) without accelerated computing. Hence, the roles of Jetson TX2 is the same role with PC that integrated GPU to perform deep learning model. In summary, Jetson TX2 can connect to the sensor to storage data. Besides, it can build the machine learning, deep learning models, training, predicting and visualizing the result Jetson board or the PC has GPU with support high computation in a deep neural networks.
This paper is organized as follows. The next Section introduces the NILM system concept and presents a related literature works. In Section 3, a NILM framework is proposed. The core of this NILM framework is to propose the algorithm to develop a new transient signal from power signal in low-frequency sampling rate. The experimental setup is described and experimental results are presented in Section 4. Finally, conclusions and future works are drawn in Section 5.

2. Related Works

The initial NILM approach was proposed by Hart in 1990s [5]. The author introduced the Non-Intrusive Appliance Load Monitor(NALM) is a software which was able to analyze single point electrical data and then obtained energy used correspond to individual electrical appliances. Figure 1 shows the first concept of general NILM.
In recently, there are a number of studies have applied and extended this approach by using directly sampled which is increased the resolving power of the Δ P Δ Q space such in [6,7]. This approach has a limitation which cannot distinct appliances has similar in power signal and their operational principles, for example, hairdryer and iron. Hence, Laughman et al. [8] proposed another advanced solution. The capable of this idea based on the transient shapes of appliances to recognize individual load. Besides, they proposed the analysis of the spectral envelopes for continuously variable loads. However, they have not solved the electric noise of appliance usage yet. Therefore, Patel et al. [9] proposed a method to avoid the electric noise via combination software and hardware in household-level current sampling task at 1 MHz. They applied Support Vector Machine (SVM) model to trained the data to achieve accuracy at 90%. However, this technique has a limitation which requires high sampling rate with more kHz. Because of the meter device limitation, it is hard to apply in the real world environment. Furthermore, the need for an adjusting the prediction models on different data on training data is another drawback. The NILM algorithm needs to detect the appliance operation status (ON and OFF) from the power measurements. The NILM approaches can be classified as event-based or state-based based on different event detection strategies.
Event-based methods generated the state transient edges of appliances. This approach uses a change detection algorithm to determine the start and end of an event such in [10,11]. The significant information needs to extract to identification the event has occurred, for example, appliance signatures such as active power, rising or falling edge etc. These extracted features are analyzed to detect the event based on the appliances and their power consumption estimated. The researcher [12] has used different classification methods such as K-Means, K-Nearest Neighbour (KNN), SVM, Hidden Markov Model (HMM) and HMM’s variations to detect event appliance. However, the performance of the event-based approach is not high because of the fixed threshold in the change detection algorithm, the large noise, and the similar among steady state signatures. Furthermore, false positive rate or false alarm rate may arise in the detection of edges methods.
State-based methods do not base on event detection. The idea is how to determine each appliance operation based on a state machine which is a different state transient using usage pattern of appliances [13]. When the appliance is turned ON/OFF or is changed running states, the method creates new state power signal through a probability distribution to match to the original power signal of the appliance. HMM and its variants [14,15,16,17] are used in state-based NILM. However, state-based approaches have several limitations. Firstly, the need for expert knowledge to set a prior value for each appliance by long training periods. Secondly, they have the complexity to compute [13,18]. Finally, there is not a good way to handle states may stable unchanged for long time intervals [19]. The requirement for an effective NILM algorithm is unique features or signatures have to characterize appliance behavior. Appliance signatures are a unique energy consumption pattern of all appliances. Ahmed Z., et al. [17] used appliance signatures to uniquely identify and recognized appliance operations from the aggregated load measurements. In feature selection, two main appliance features are used by NILM research to identify loads including steady-state and transient state [20].
Steady state is extracted when an appliance changes its running states related to sustained changes in power characteristics. The factors are used in this method including active power, reactive power, current, and voltage. The steady state signatures extraction of current and voltage do not demand high-end meter devices. Features at low frequency are used in the most commonly in steady state features in advance researches. However, the performance of this approach is limited by similarities among steady state signatures. In recently, deep neural network (DNN) in deep learning field becomes more attractive and widely system recognition applied in several areas such as handwritten recognition, speed recognition etc. Specifically, LSTM model is a kind of DNN model which is applied to classification applications have time series data. In NILM, this model is applied to load identification on the UK Domestic Appliance-Level Electricity (UK-DALE) dataset using active power by Kelly et al. [21]. However, the author pointed out the performance limitation on the appliances have informative events in power signal can be many time steps such as washing machine. Besides, Kim et al. [22] applied LSTM model on the variant power signals are generated from active power in low frequency on several public datasets. This method overcomes the long gaps between event may present a challenge in LSTM. In future NILM works, LSTM model may become more and more promising and effecting learning method for researchers.
Contrary to the steady state features, before settling into a steady state value, transient state features are short-term fluctuations in current or power. To create transient feature uniquely, the authors [17] defined appliance state transients which are shapes, size, duration, and harmonics by sampling current and voltage waveforms at high frequency. Hence, these transient features can achieve signal uniquely to a high degree. Besides, they capture all operation cycles in high sampling rates in longer monitoring time [23]. For example, Patel et al. [9] proposed a custom hardware built to detect the transient noise in range 0.001 kHz to 100 kHz frequency. Then, the authors used the fact that each appliance in-state operation transmits noise back to the power line. However, the high sampling rate required is the major drawback to obtain transient features such as current spikes, transient response time, repeatable transient power profiles, spectral envelopes, etc. [24]. When using a high sampling rate, the system demands a costly hardware and complicated to be installed in the home to detect these transient features [24]. The cause is smart meters report only low-frequency power. In the transient state analysis, the researchers [25,26] analyzed and captured the load signatures based on wavelet transform and transient energy algorithm. Artificial Neural Network (ANN) and HMM are used to improve the performance of NILM in these researches, respectively. Although the results were very much significant, there are still the little drawbacks. For example, the authors [25] sampled at high frequency for current and voltage waveform data to capture the transient effect. Nevertheless, doing this will increase the cost of energy meters because modern energy meters are not equipped with such functionality. Besides, the authors [26] used the data which have the repeatable transient energy signature for load identification because of the varying transient with these waveforms. Therefore, the sampling of the instantaneous load profile for each turn ON transient is required much diligence. In addition, the authors [27] applied the Wavelet Transform Coefficient (WTC) based on ON/OFF transient signal identification in data acquisition. Although WTC works better than Fourier Transform, WTC requires much longer computation time. Besides, it needs larger machine resource like memory usage.
In summary, the low-frequency or high-frequency data collected is used in classifying appliance recognition systems based on signature feature extraction. A low-frequency data sampling rate is implemented in without additional installation by using existing meter infrastructure. Contrary to this, high-frequency data sampling rate needs adding more hardware installing in data acquisition. Especially, the limitations of high sampling rate data acquisition are more expensive cost and more complex in signature database management [28,29]. However, a more accurate and precise analysis can be provided with more information and assistance [30]. Hence, using a low-frequency sampling rate is more promising in event detection appliances based on analysis the active power and/or reactive power. A new necessary technique of NILM has valid three most important factors to introduce into services for end-users. First thing is an ability to widely appropriately applied in household. The second thing is the usage of the low-cost device to retrieve the energy consumption. The third thing is able to recognition appliances with the same power signal and appliances with variable power signals in the low-frequency sampling data. Hence, in this work, new transient signal is extracted from the active power signal in the low-frequency sampling rate to overcome the problem in advance studies.

3. The Proposed NILM Framework

The proposed NILM framework is introduced in this Section. Figure 2 shows the proposed NILM system. The proposed NILM system includes several components such as energy stream data, sensing device MCP39F511 (Microchip Technology Inc., Chandler, AZ, USA), an embedded board Jetson TX2 (NVIDIA Corporation, Santa Clara, CA, USA), transient signal extraction and recognition, and energy monitoring and consumption prediction system.

3.1. Energy Stream Data

In data acquisition, several household appliances and the multi-tab power (HJ04009-10010C, KC Electric Company, Seoul, Korea) to collect energy data are prepared. Five appliances are collected including Air-purifier (LG Electronics Inc., Seoul, Korea), Fan (Cixi Xiongsheng Electrical Appliances Co., Ltd., Ningbo, China), Hairdryer (Korea Hanil Electronics, Seoul, Korea), LG monitor (LG Electronics Inc., Seoul, Korea), and Samsung monitor (Samsung Electronics Inc., Suwon, Korea). These appliances are connected to sensing device MCP39F511 via a multi-tab and the sensor’s port. Table 1 describes models and power consumption of five appliances which are used to collect energy data.
Besides, twenty test cases data are also collected. The purpose of testing data collection is to obtain variant transient signals of five appliances. Each test case corresponds to set up that require the number of appliances is different. To each appliance, four combinations between this appliance and 1, 2, 3, or 4 other appliances are create in this work. Therefore, each appliance has four different transient signals in this collecting process. The process to collect testing data includes two steps as follows. The first step is to turn ON simultaneously all appliances required for each test. The second step is to make one appliance transient by turn OFF and then turn ON while other appliances are still ON. Table 2 presents the process to collect twenty test cases in detail.

3.2. MCP39F511

The MCP39F511 is a power monitoring device that can measure input power in real time for the consumer, power distribution units, AC/DC power supplies. This sensor supports 2-wire serial protocols and Universal Asynchronous Receiver/Transmitter (UART)with enabling select full speed at up to 115.2 kbps. This sensor has a Power Monitor Demonstration Board which is a fully functional single-phase power. The system calculates and displays active power, reactive power, RMS current, RMS voltage, active energy (both import and export), and four quadrants reactive energy. MCP39F511 changes data acquisition mode compare to a conventional method. In the conventional method, data acquisition mode is getting energy data stored in registers by sending a command from PC. In this sensor device, the mode is getting energy data via connecting to Jetson TX2 (see Figure 3) via some steps as follows.
  • Step 1: Jetson TX2 sends a command to switch to single wire mode. This single wire mode includes twenty bytes such as Header Byte (0 × AB), Header Byte 2 (0 × CD), Header Byte 3 (0 × EF), Current RMSs with Byte 0 to Byte 3, Voltage RMSs with Byte 0 to Byte 1, Active Power with Byte 0 to Byte 3, Reactive power with Byte 0 to Byte 3, Line Frequency with Byte 0 to Byte 1, and final is check sum.
  • Step 2: Single wire mode is automatically sent whenever the sensing device updates energy data.
  • Step 3: The sampling rate is in 15 Hz (see Figure 4).
There is a coherent sampling algorithm to phase lock the sampling rate to the line frequency based on an integer number of sample per line cycle in the computation cycle of MCP39F511. After that, it reports all power output quantities at a 2 N number of line cycles. The power outputs include RMS current, RMS voltage, apparent power, active power. The accumulation interval is defined as an 2 N number of line cycles, where N is the value in the Accumulation Interval Parameter register. Equations (1)–(5) system calculate and display RMS current ( I R M S ), RMS voltage ( V R M S ), Apparent power (S), Active power (P), Reactive power (Q), and Power factor as follows.
RMS current equation ( I R M S ) with unit is Amps (A):
I R M S = n = 0 2 N 1 ( i n ) 2 2 N
RMS voltage equation ( V R M S ) with unit is Volt (V):
V R M S = n = 0 2 N 1 ( v n ) 2 2 N
Apparent power equation (S) with unit is Volt-Amps (VA):
S = I R M S × V R M S
Active power equation (P) with unit is Watts (W):
P = 1 2 N k = 0 2 N 1 V k × I k
In the MCP39F511, Reactive power (Q) with Volt-Amps-Reactive unit (VAR) is measured based on a θ -degree phase shift in the voltage channel. The common degree is 90-degree phase shift. Accumulator Unit (ACCU) acts as the accumulator where has the similar accumulation principles applied to Active power (P). In the Gain Reactive power register, Gain is corrected. In the Reactive power register, an unsigned 32-bit value is located which is the final output. P is measured by the formula below.
Q = V R M S × I R M S × s i n ( θ )
The ratio of P to S or Active power divided by Apparent power is Power factor ( P F ) measurement.
P F = P S

3.3. Jetson TX2

Jetson is the low-power embedded platform in the world’s leading. Besides, it enables server-class AI to compute performance everywhere. Jetson’s features include an integrated 256-core NVIDIA Pascal GPU, a hex-core ARMv8 64-bit CPU complex, and 8GB of LPDDR4 memory with a 128-bit interface. Figure 5 shows the CPU complex which combines a dual-core NVIDIA Denver 2 alongside a quad-core ARM Cortex-A57.
Table 3 shows Jetson TX2 technical specifications in detail. The installation files of Jetson TX2 are set up including,
  • GPU includes Cuda, cudnn
  • Machine learning/ deep learning with Tensorflow 1.3
  • Python 3rd party lib with Pandas, numpy, jupyter, pyserial, matplotlib etc.
  • Power Sensor Interlock is CDC ACM module
  • Server includes Node.js 6.11.3, Npm 3.10.10, MongoDB-enterprise
It is a necessary to configure the system for collecting energy data from the appliances. The stream energy data is calculated in the power sensing device (MCP39F511). When the embedded board (Jetson TX2) sends a power data request, the sensing device will transfer power data via a single wire mode transmission frame 15 times per second. After that, Jetson TX2’s processor operates to sort data received from MCP39F511 and save the data result to database management (MongoDB). For instance, Figure 6 shows the system configuration diagram to collect data from five household appliances (Air-purifier, Fan, Hairdryer, LG monitor, and Samsung monitor).
To collecting and storing the energy data, this paper proposes Algorithm 1. The algorithm consists of four steps as follows.
  • Step 1. Setting up serial connect from NVIDIA Jetson TX2 to MCP39F511
  • Step 2. Checking frame with 20-byte frame
  • Step 3. Calculating power data including current, voltage, active power, reactive power, frequency
  • Step 4. Storing data into NVIDIA Jetson TX2
Algorithm 1 The requesting and storing energy data of Jetson TX2
Require: 
s i n g l e _ w i r e _ f r a m e  
Ensure: 
current (I), voltage (V), activepwr (P), reactivepwr (Q), frequency (F)
  1:
if S e r i a l . is Connected () then
  2:
     S e r i a l . write ( s i n g l e _ w i r e _ f r a m e )  
  3:
else
  4:
    print ("serial connection error!")  
  5:
    exit()  
  6:
end if 
  7:
while S e r i a l . is Connected() do
  8:
     s i n g l e _ w i r e _ m o d e = S e r i a l .read()  
  9:
     c h e c k = check_frame ( s i n g l e _ w i r e _ f r a m e )  
10:
    if c h e c k = True then
11:
        I, V, P, Q, F = calculate_power_data ( s i n g l e _ w i r e _ m o d e )
12:
        save_to_database (I, V, P, Q, F)  
13:
    end if 
14:
end while 
In this algorithm, it defines two functions. The first function is check_frame() to check frame with 20-byte frame in single wire mode. The second one is calculate_power_data() to measure energy data information in Root Mean Square (RMS).

3.4. Transient Signal Extraction and Recognition

Based on literature observation above, this paper states three problems needing solve as follows.
Problem 1. Analyzing and extracting new transient signal from original power signal in low sampling rate data in feature extraction.
Problem 2. Labeling ON/OFF data on new transient signals extracted.
Problem 3. Improving the performance for event detection as well as load identification using a new transient signal results and machine learning/deep learning models.
This study selects active power factor which is a unique input in this approach. Figure 7 shows in detail of the proposed solution. The Figure 7a displays the process of this solution. The Figure 7b is to illustrate the process in Figure 7a, respectively. The proposed method includes three processes, such as feature extraction, labeling, and classification. The first, the feature extraction task is to generate the state of the appliance and to extract the transient signal of appliances. The second, labeling task is to label ON/OFF data with state and transient signals of appliance after extracting. The final, classification task is to learn and classify the ON/OFF appliance based on the transient signal and ON/OFF label signal.
In feature extraction task, to label ON/OFF for appliance data, this work generates two signals including State of appliance signal and Transient signal. Hence, this paper proposes two algorithms, Algorithms 2 and 3.
The main idea of this task is how to detect whether or not rising and falling signals from the active power signal. The rising signal means appliance is operating (ON state). The falling signal means appliance is changing state from ON to OFF. Sliding window size of time series data is used to trace power signal to detect changing signals. Hence, the performance of the changing detection algorithm does not depend on the fixed or adaptive threshold, the large measure noise, and similarities among steady state signatures. Figure 8 shows the changing signals from active power signal of the appliance.
Algorithm 2 is to generate State of the appliances, denoted by S. S value extracted is used for the input of Algorithm 4.
Algorithm 2 State of the appliances generation algorithm
Require: 
Activepwr ( P )  
Ensure: 
State of appliance (S)  
  1:
L p length of P  
  2:
b i n histogram (P)  
  3:
t h r e s h o l d b i n  
  4:
O F F _ s t a t e ⟵ 0  
  5:
O N _ s t a t e ⟵ 1  
  6:
fori in range ( 0 , L p ) do
  7:
    if P [ i ] = 0 then
  8:
         S S | | 0  
  9:
    else if P [ i ] < t h r e s h o l d then
10:
         S S | | O F F _ s t a t e  
11:
    else
12:
         S S | | O N _ s t a t e  
13:
    end if 
14:
end for
15:
returnS
Algorithm 3 is to extract new transient signal from active power signal, denoted by T. T value is determined based on calculating prior P data ( p r e _ d a t a ) and post P data ( p o s t _ d a t a ). To assign p r e _ d a t a and p o s t _ d a t a values, the requirement is to use the window size w of P time series data and time shifting time series data of P is +1 for p o s t _ d a t a value. The size of w depends on the sample size of P and periodicity of the data. To get smaller smoothing moving the average of time series data, there is an initialization of w value is 5. Hence, confidence intervals for the smoothed values are get. T signal extracted from this algorithm becomes to the input of Algorithm 4. If T value has negative value it means corresponding to P active power has falling signal, and then setting appliance’s label is OFF event. In contrast to this, the active power has a rising signal, and then setting appliance’s label is ON event.
Algorithm 3 Transient signal extraction algorithm
Require: 
Activepwr ( P )
Ensure: 
Transient signal extraction (T)  
  1:
L p length of P  
  2:
w 5  
  3:
T [0]  
  4:
fori in range ( w , L p w ) do
  5:
     T _ s u m 0  
  6:
    for j in range (15) do
  7:
         p r e _ d a t a P [ i w + j ]  
  8:
         p o s t _ d a t a P [ i w + 1 + j ]  
  9:
         T _ l i s t p o s t _ d a t a p r e _ d a t a  
10:
         T _ s u m Σ ( T _ l i s t )  
11:
    end for 
12:
     T T | | T _ s u m  
13:
end for 
14:
returnT  
In labeling task, this paper generates ON/OFF labeling by the proposed Algorithm 4. T signal and state of the appliances are extracted by Algorithms 2 and 3, respectively. They become to the input of this algorithm. The task of Algorithm 4 is to generate ON_label or OFF_label from T signal. This study defines t h r e s h o l d value is −5 which is a maximum threshold value to determine whether event status changing from ON to OFF event. If T value extracted at time t smaller than −5 it means that at that time has occurred event changing from ON to OFF. In case S variable has 0 value, it means that no event operation. If T value is smaller than t h r e s h o l d , it is assigned label is O F F _ l a b e l ; else it is assigned label is O N _ l a b e l . O F F _ l a b e l value or O N _ l a b e l value of each appliance are different values. For example, there are two appliances including Air-purifier and Fan. This paper defines sets of ON/OFF labels of these appliances as follow. Labels of Air-purifier device are O F F _ l a b e l = 1 and O N _ l a b e l = 2. And labels of Fan device are O F F _ l a b e l = 3 and O N _ l a b e l = 4. For setting ON/OFF labeling values of each appliance and twenty-test cases data, this paper mentions the labels for testing data in next Section.
Algorithm 4 Labeling ON/OFF algorithm
Require: 
Transient signal extracted (T), State of appliance (S)
Ensure: 
O N _ O F F _ l a b e l  
  1:
L T length of (T)  
  2:
O N _ O F F _ l a b e l []  
  3:
t h r e s h o l d 5  
  4:
fori in range ( 0 , L T ) do
  5:
    if S [ i ] = 0 then
  6:
         O N _ O F F _ l a b e l O N _ O F F _ l a b e l | | 0  
  7:
    else if T [ i ] < t h r e s h o l d then
  8:
         O N _ O F F _ l a b e l O N _ O F F _ l a b e l | | O F F _ l a b e l  
  9:
    else
10:
         O N _ O F F _ l a b e l O N _ O F F _ l a b e l | | O N _ l a b e l  
11:
    end if 
12:
end for 
13:
return O N _ O F F _ l a b e l  
In the classification task, this paper evaluates the proposed method using the models in both Machine Learning (ML) and Deep Learning (DL) fields. For learning T signal and ON/OFF labeling signal, Decision Tree and Long Short-Term Memory (LSTM) models are selected in ML and DL, respectively.
  • Decision Tree is a supervised learning method. It is used in both classification and regression tasks. The input feature of this model is used to infer the output feature by learning simple decision rules. CART [31] (Classification and Regression Trees) is similar to C4.5, however, two different to C4.5 are it supports the regression task in numerical target variable and does not need to compute rule sets. This algorithm builds binary trees based on the feature and threshold with the largest information gain at each node. In a decision tree algorithm, it needs training vectors x i R n , i = 1 , , l and a vector y R l . This algorithm needs to recursively partition such that grouping the same labels in a group together. A feature f and threshold t h r e f , partition the data into T l e f t and T r i g h t subsets are contained in each candidate split θ = ( j , t h r e f )
    T l e f t ( θ ) = ( x , y ) | x f t h r e j
    T r i g h t ( θ ) = T \ T l e f t ( θ )
    The impurity is the choice of the classification or regression task. The impurity at j is calculated based on an impurity function H ( j ) .
    G ( T , θ ) = n l e f t N j H ( T l e f t ( θ ) ) + n r i g h t N j H ( T r i g h t ( θ ) )
    Select the parameters that minimizes the impurity is formulated by θ * as follows.
    θ * = a r g m i n θ G ( T , θ )
    Recurse for subsets T l e f t ( θ * ) and T r i g h t ( θ * ) reaching the maximum allowable depth, N j < m i n s a m p l e s or N j = 1 . In the classification task, the output classification represents a region R j with N j observations taking on value 0 , 1 , , K 1 , for node j.
    p r j k = 1 N j Σ x i R j I ( y i = k )
    be the proportion of class k observations in node j. I ( . ) is a spitting criterion that makes used of the impurity measure.
    Common measures of impurity are Gini index which is calculated as follows.
    H ( X j ) = Σ k p j k ( 1 p r j k )
  • LSTM has been designed by Hochreiter and Schmidhuber in 1997 [32]. LSTM is an elegant Recurrent Neural Network (RNN). The LSTM architecture is combined memory cells by replacing the regular units of the neural network. A memory cell consists of three gates: an input gate, a forget gate, an output gate and the state of memory cell is called cell state (Figure 9a). In particular, at the input gate, it allows incoming signal to alter the cell state or block it. On the other hand, the output gate can allow the cell state to have an effect on other neurons or prevent it. Finally, the forget gate can modulate cell state of the memory cell. Besides, it allows the cell to remember or forget its previous state as needed.
    The difference between LSTM and the original RNN is hidden units. In LSTM, the hidden units are replaced by LSTM cells. Figure 9b shows an architecture of LSTM having two input units, three LSTM cells as hidden units and three output units. The equations below describe how LSTM processes data. Assumption that X t = [ x t 1 , x t 2 , x t 3 , , x t n x ] is an input vector and H t = [ h t 1 , h t 2 , h t 3 , , h t n h ] , Y t = [ y t 1 , y t 2 , y t 3 , , y t n y ] , C t = [ c t 1 , c t 2 , c t 3 , , c t n c ] are hidden, output and cell vector, respectively. The elements of each vector are units for layers of LSTM. n x , n h , n c and n y are a number of each units. σ is the logistic sigmoid function, and i, f and o are the input gate, forget gate and output gate, respectively. The weight matrix superscripts have the obvious meaning. For example, W t h i is the hidden-input gate weight matrix and W t x o is the input-output gate weight matrix. b t i , b t f , b t c and b t o are bias terms at time t.
    First is to compute the value for f t , the activation of the forget gate. The output range of f t is from 0 to 1 and the output value will be multiplied by c t 1 when calculating c t . Therefore, f t means an activation rate of the previous cell state.
    f t = σ ( W t x f i = 1 n x x t i + W t h f j = 1 n h h t 1 j + W t c f k = 1 n c c t 1 k + b f )
    Second is to compute the value for the input gate i t . In common with f t , i t is the activation ratio of the input value x t .
    i t = σ ( W t x i i = 1 n x x t i + W t h i j = 1 n h h t 1 j + W t c i k = 1 n c c t 1 k + b i )
    Third is to compute the value for the cell state c t . Two factors are combined. The first factor is the previous cell state activated by the forget gate and the second factor is the input value activated by the input gate.
    c t = f t c t 1 + i t t a n h ( W t x c i = 1 n x x t i + W t h c j = 1 n h h t 1 j + b c )
    Final is to compute the value of their output gates and use it for the memory block output.
    o t = σ ( W t x o i = 1 n x x t i + W t h o j = 1 n h h t 1 j + W t c o k = 1 n c c t 1 k + b o )
    h t = o t t a n h ( c t )
    Equations (13)–(17) are processed in one LSTM cell. After all process are done in the hidden layer, it can be calculated for the output units with the hidden vector H t .
    y t = σ ( W t h y i = 1 n h h t i )

3.5. Energy Monitoring and Consumption Prediction System

This is a web application to display the energy disaggregation results. This paper uses Node.js, Javascript, and HTML to build the user interface for NILM system. The results of classification are passed to energy monitoring system.

4. Experiments

This section points data preparation for experiment and experiment results in this approach. The results including T signals extracted and classification ON/OFF event. This study sets up the environment for implementation as following Intel ® CoreTM i7-4790 CPU @3.60 GHz; GPU: NVIDIA GeForce GTX 750 (NVIDIA Corporation, Santa Clara, CA, USA); RAM: 16GB and Operating System (OS): Windows 10; the language programming in Python.
Besides, this paper uses confusion matrix (CM) to evaluate the approach classification model. CM includes four categories such as True Positive (TP), False Positive (FP), True Negative (TN) and False Negative (FN). This paper assumes that the positive event means an appliance is turned ON and when the appliance is turned OFF that it is the negative event. Hence, Recall, Precision, Accuracy, F1-score are calculated for evaluating the NILM model based on CM.
Recall is a ratio of the number correctly classified to the total number of actual positive samples.
Recall = TP TP + FN
Precision is a ratio of the number of correctly classify to the total number of predicted positive samples.
Precision = TP TP + FP
Accuracy is a ratio of correctly classify to the total test data.
Accuracy = TP + TN ( TP + FP ) + ( FN + TN )
F1-score is the harmonic average of Recall and Precision.
F 1 score = 2 × Precision × Recall Precision + Recall
Furthermore, this paper measures loss of NILM model using Loss function such as Mean Squared Error (MSE).
Loss = 1 n Σ i = 1 n ( Y t Y p ) 2
where Y t is the expected output of sample data, Y p is the predicted output of sample data by NILM approach model.

4.1. Data Preparation for Experiment

Five appliances data individual and twenty test cases are collected and saved in *.csv files. As mentioned in the previous Section, this paper selected active power data for input feature in the experiments. Figure 10 illustrates the active power signals from five active power data of five appliances.
In testing data, this paper named twenty-test cases data files following in Table 4.
Besides, this paper plotted twenty active power signals from twenty test cases in Figure 11.

4.2. Experiment Results

4.2.1. State of Appliance, Transient Signal and ON/OFF Label Results

Firstly, this paper determined and declared ON/OFF label value to use in Algorithm 4. Table 5 and Table 6 show ON/OFF labels for five appliances and twenty test cases, respectively.
Secondly, this paper implemented Algorithms 2 and 3 to extract S t a t e of the appliance and T signals, respectively. After that, the Algorithm 4 are implemented to label ON/OFF based on each T signals from five appliances and twenty test cases data. The left, middle, and right of Figure 12 are S t a t e S, T and O N / O F F _ l a b e l signals obtained from five appliances data, respectively. From observing these T signal results in this figure, this paper can determine the number of changing status of event ON/OFF in each appliance. There are two, three, three, five, and four times changing status from ON to OFF corresponding to air-purifier, fan, hairdryer, LG monitor, and Samsung monitor.
In summary, this paper recognizes that when T signal changes the value from positive to negative value and smaller than − 5, the event ON/OFF on device will occur. In particular, when the T signal obtains positive values, it means that the appliance is operating (ON). Contrast to this, the appliance switches to OFF.
For visualizing the results of twenty test cases, this paper pointed the S, T, and ON_OFF label results of test 1 to test 4 in Figure 13. Besides, the S, T, and ON_OFF label results of test 5 to test 20 are plotted in Figure A1, Figure A2 and Figure A3 at Appendix A, respectively.

4.2.2. Classification Results

  • In ML, this paper applied Decision Tree model for classification ON/OFF event of the household appliance in this study. The reason for selecting Decision Tree model in classification task related to classification accuracy. This study tried to apply other models such as SVM, Random Forest, Multilayer Perceptrons (MLP), etc., however, the result of them obtained not well. This paper used T signals for input feature and output feature is ON/OFF labeling for the approached models. Five T signals extracted from five appliances are training data. The testing data is twenty T signals extracted from twenty tests data. This paper used CM to display the classification result. The performance classification results for detecting ON/OFF of Decision Tree model are shown in Figure 14. The main diagonal of confusion matrix represents the number of correctly samples are predicted by the applied model.
    Table 7 is classification report for each event detection of five appliances using other performance metrics such as precision, recall, F1-score. The average accuracy of event detection model on these appliances data obtained 93%.
    In summary, Table 8 pointed the average performance of the approached model. The performance classification of our approach model achieved 92.64% and loss rate was 1.67.
  • In DL, LSTM model is used for classification ON/OFF event of appliances. Similar to Decision Tree model, this paper used T signals and ON/OFF labeling for input and output features, respectively. For testing data, this research also used twenty T signals of twenty tests data. Setting up hyper-parameters of LSTM model are described in Table 9 as follows.
    To evaluate LSTM model, this paper uses accuracy metric and Root Mean Square Error (RMSE) for measuring performance and loss of the model, respectively. RMSE is the standard deviation of the residuals (prediction errors). The formula to calculate RMSE is as follows.
    RMSE = ( p r e x ) 2
    where p r is predicted output and e x is expected output.
    Figure 15 presents the results of LSTM model for classification ON/OFF of five appliances data. Besides, LSTM model’s results on test 1 to test 4 data are shown in Figure 16 and the others tests’ results in Figure A4 at Appendix A. The average accuracy of LSTM model obtained 96.85% for detecting ON/OFF appliances. The loss of LSTM model (RMSE) obtained 0.60632.

4.2.3. Applying the Proposed Method on a Publicly Available Dataset

There are several NILM available datasets such as Building-Level fUlly-labeled dataset for Electricity Disaggregation (BLUED), UK-DALE, Residential Energy Disaggregation Dataset (REDD), The Almanac of Minutely Power dataset (Version 2) (AMPds2) etc. This paper applied the proposed method on AMPds2 [33] dataset which is low sampling rate data. Although several data file formats are published such as Original file format, Tab-delimited, Rdata format, Variable metadata, etc. The original file format in CSV is used in this paper. In this dataset, there are 19 appliances data in isolation have already collected and tested in electricity data. There are no publicly aggregated data between the loads in this dataset. Therefore, this paper only performed and tested on individual load. Among available loads, 5 appliances data are randomly selected to use in this experiment. These appliances are Master and South Bedroom, Basement Plugs and Lights, Instant Hot Water Unit, Entertainment: TV, PVR, AMP, Kitchen Fridge. Besides, ON/OFF label value are determined and declared from 1 to 10 corresponding to each appliance. The information of these appliances and their ON/OFF labels are described in Table 10 as follows.
About processing dataset, in this dataset, there are 11 electric data features in each appliance data. Timestamp (TS) feature is Unix timestamp value in this dataset. Electricity measurement is at one minute intervals. This dataset was collected to total of 1,051,200 readings per meter for 2 years of monitoring from 2012 to 2014. Therefore, these loads data are big dataset. In testing performance of the presently proposed methodology, the range of TS in the first 500 readings/samples value data from 1333263600 to 1333323540 is selected. This range of TS value is converted to Universal Time Coordinated (UTC) corresponding to the date time range from 2012-4-01 7:00 a.m. to 2012-4-01 15:19 p.m. The total of time series data is 500 min. Because real power P is active power data, hence P is selected for the input data in the experiment. Figure 17 visualizes five real power P signals time series data were selected.
About feature extraction result, this paper applied the proposed solution to generate and extract S, T, ON/OFF label signals of each appliance. Figure 18 illustrates these results of each appliance.
About classification result, this paper applied two approached learning models on this selected dataset.
  • In ML, the classification result of Decision Tree model is presented in Figure 19. Furthermore, Table 11 presents the event detection results in detail of this confusion matrix result. The average classification performance of Decision Tree model on this dataset achieved 98.6% accuracy and loss rate was 0.488.
  • In DL, the classification result of LSTM model obtained 96.78% accuracy and RMSE was 0.5124. Figure 20 illustrates the predicted results ON/OFF label of 5 appliances compare to the expected outputs.
In summary, the presently proposed method achieved high-performance accuracy for load identification on the AMPds2 dataset with over 96% accuracy on both approached learning models.

5. Conclusions and Further Works

This study built a complete NILM framework including data acquisition, appliance feature extraction, classification data and monitoring energy data. First, this paper collected the personal NILM data in low-sampling rate including five household appliances energy data and twenty tests case data in the data acquisition task. Secondly, state of the appliance and transient signals are extracted to generate ON/OFF label on personal data in feature extraction task. The proposed transient signal is a transient signal to detect ON/OFF event of appliances. Thirdly, two models in ML and DL fields are stated to detect event on loads. In particular, the Decision Tree model and LSTM model are applied to perform two classification models with average accuracies achieved 92.64% and 96.85%, respectively. Finally, in monitoring energy data, a website platform system are developed to display the results of load identification. Besides, the proposed method is applied on a publicly available dataset, AMPds2. Both approach models obtained over 96% on this sub-data. In future work, this solution can be applied to extract transient signal on other publicly available datasets to widely apply the proposed methodology.

6. Data Availability

The household appliances energy consumption data set was downloaded from the figshare repository with DOI https://figshare.com/articles/NILM_EnergyData/7269692, and other data generated or analyzed during this study are available from the corresponding author on reasonable request.

Author Contributions

T.-T.-H.L. stated the problems and theirs solution. H.K. managed this project and reviewed the manuscript.

Funding

This research was supported by the MSIT (Ministry of Science and ICT), Korea, under the ITRC (Information Technology Research Center) support program (2014-1-00743) supervised by the IITP (Institute for Information & communications Technology Promotion). This work was supported by the Human Resources Development program (No. 20184030202060) of the Korea Institute of Energy Technology Evaluation and Planning (KETEP) grant funded by the Korea government Ministry of Trade, Industry and Energy.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

NILMNon-Intrusive Load Monitoring
ILMIntrusive Load Monitoring
UARTUniversal Asynchronous Receiver/Transmitter
EEPROMElectrically Erasable Programmable Read-Only Memory
RMSRoot Mean Square
AIArtificial Intelligent
ARMAcorn RISC Machines
GPUGraphic Processing Unit
SVMSupport Vector Machine
DNNDeep Neural Network
MLPMultilayer Perceptrons
KNNK-Nearest Neighbour
HMMHidden Markov Model
MSEMean Squared Error
MLMachine Learning
DLDeep Learning
CARTClassification and Regression Trees
LSTMLong Short Term Memory
RMSERoot Mean Square Error
ANNArtificial Neural Network
WTCWavelet Transform Coefficient
CMConfusion Matrix
TPTrue Positive
FPFalse Positive
TNTrue Negative
FNFalse Negative
UTCUniversal Time Coordinated
BLUEDBuilding-Level fUlly-labeled dataset for Electricity Disaggregation
REDDResidential Energy Disaggregation Dataset
UK-DALEUK Domestic Appliance-Level Electricity
AMPds2The Almanac of Minutely Power dataset (Version 2)

Appendix A

Figure A1. State S signals of test 5 to test 20 data.
Figure A1. State S signals of test 5 to test 20 data.
Energies 11 03409 g0a1
Figure A2. Transient T signals of test 5 to test 20 data.
Figure A2. Transient T signals of test 5 to test 20 data.
Energies 11 03409 g0a2
Figure A3. ON/OFF labels of test 5 to test 20 data.
Figure A3. ON/OFF labels of test 5 to test 20 data.
Energies 11 03409 g0a3
Figure A4. Classification results of LSTM model on test 5 to test 20 data: ON/OFF label is expected output with Blue color; ON/OFF label is predicted output with Green color.
Figure A4. Classification results of LSTM model on test 5 to test 20 data: ON/OFF label is expected output with Blue color; ON/OFF label is predicted output with Green color.
Energies 11 03409 g0a4

References

  1. Lee, J.; Bagheri, B.; Kao, H.A. A cyber-physical systems architecture for industry 4.0-based manufacturing systems. Manuf. Lett. 2015, 11, 18–23. [Google Scholar] [CrossRef]
  2. Darby, S. The Effectiveness of Feedback on Energy Consumption a Review for DEFRA of the Literature on Metering, Billing and Direct Displays; Environmental Change Institute, University of Oxford: Oxford, UK, 2006. [Google Scholar]
  3. Kelly, J.; Knottenbelt, W. Does disaggregated electricity feedback reduce domestic electricity consumption? arXiv, 2016; arXiv:1605.00962. [Google Scholar]
  4. Abubakar, I.; Khalid, S.N.; Mustafa, M.W.; Shareef, H.; Mustapha, M. Application of load monitoring in appliances energy management: A review. Renew. Sustain. Energy Rev. 2017, 67, 235–245. [Google Scholar] [CrossRef]
  5. Hart, G.W. Nonintrusive appliance load monitoring. IEEE Proc. 1992, 80, 1870–1891. [Google Scholar] [CrossRef]
  6. Roos, J.G.; Lane, I.E.; Botha, E.C.; Hancke, G.P. Using neural networks for non-intrusive monitoring of industrial electrical loads. In Proceedings of the Instrumentation and Measurement Technology Conference, Hamamatsu, Japan, 10–12 May 1994; pp. 1115–1118. [Google Scholar]
  7. Sultanem, F. Using appliance signatures for monitoring residential loads at meter panel level. IEEE Trans. Power Deliv. 1991, 6, 1380–1385. [Google Scholar] [CrossRef]
  8. Laughman, C.; Lee, K.; Cox, R.; Shaw, S.; Leeb, S.; Norford, L.; Armstrong, P. Power signature analysis. IEEE Power Energy Mag. 2003, 1, 56–63. [Google Scholar] [CrossRef]
  9. Patel, S.N.; Robertson, T.; Kientz, J.A.; Reynolds, M.S.; Abowd, G.D. At the flick of a switch: detecting and classifying unique electrical events on the residential power line. In International Conference on Ubiquitous Computing; Springer: Berlin/Heidelberg, Germany, 2007; Volume 4717, pp. 271–288. ISBN 9783540748526. [Google Scholar]
  10. Barsim, K.S.; Streubel, R.; Yang, B. An Approach for Unsupervised NonIntrusive Load Monitoring of Residential Appliances. In Proceedings of the 2nd International Workshop on Non-Intrusive Load Monitoring, Austin, TX, USA, 3 June 2014. [Google Scholar]
  11. Yung, F.W.; Ahmet, Y.S.; Tom, D.; Voon, S.W. Recent approaches to non-intrusive load monitoring techniques in residential settings. In Proceedings of the IEEE Symposium on Computational Intelligence Applications in Smart Grid, Singapore, 16–19 April 2013; pp. 73–79. [Google Scholar]
  12. Hana, A.; Jing, L.; Lina, S.; Vladimir, S. A low-complexity energy disaggregation method: Performance and robustness. In Proceedings of the IEEE Symposium on Computational Intelligence Applications in Smart Grid (CIASG), Orlando, FL, USA, 9–12 December 2014. [Google Scholar]
  13. Hyungsul, K.; Manish, M.; Martin, A.; Geoff, L.; Jiawei, H. Unsupervised Disaggregation of Low Frequency Power Measurements. In Proceedings of the 11th SIAM International Conference on Data Mining, Phoenix, AZ, USA, 28–30 April 2011; pp. 747–758. [Google Scholar]
  14. Zico, K.; Tommi, J.; Kolter, J.Z. Approximate Inference in Additive Factorial HMMs with Application to Energy Disaggregation. In Proceedings of the International Conference on Artificial Intelligence and Statistics, Canary Islands, Spain, 21–23 April 2012; pp. 1472–1482. [Google Scholar]
  15. Oliver, P.; Ghosh, S.; Weal, M.; Rogers, A. Non-intrusive Load Monitoring using Prior Models of General Appliance Types. In Proceedings of the twenty-Sixth AAAI Conference on Artificial Intelligence (AAAI-12), Toronto, ON, Canada, 22–26 July 2012. [Google Scholar]
  16. Stephen, M.; Fred, P.; Ivan, V.B.; Bob, G.; Lyn, B. Exploiting HMM Sparsity to Perform Online Real-Time Nonintrusive Load Monitoring. IEEE Trans. Smart Grid 2016, 7, 2575–2585. [Google Scholar]
  17. Ahmed, Z.; Alexander, G.; Muhammad, A.I.; Sutharshan, R. Non-intrusive Load Monitoring approaches for disaggregated energy sensing: A survey. Sensors 2012, 12, 16838–16866. [Google Scholar]
  18. Lukas, M.; Karim, S.B.; Bin, Y. How well can HMM model load signals. In Proceedings of the 3rd International Workshop on NonIntrusive Load Monitoring (NILM 2016), Vancouver, BC, Canada, 14–15 May 2016. [Google Scholar]
  19. Liang, J.; Ng, S.K.; Kendall, G.; Cheng, J.W. Load Signature Study Part I: Basic Concept, Structure, and Methodology. IEEE Trans. Power Deliv. 2010, 25, 551–560. [Google Scholar] [CrossRef]
  20. Faustine, A.; Mvungi, H.N.; Kaijage, S.; Michael, K. A Survey on Non-Intrusive Load Monitoring Methodies and Techniques for Energy Disaggregation Problem. arXiv, 2017; arXiv:1703.00785. [Google Scholar]
  21. Kelly, J.; Knottenbelt, W. Neural NILM: Deep Neural Networks Applied to Energy Disagregation. In Proceedings of the 2nd ACM International Conference on Embedded Systems for Energy-Efficient Built Environments (BuildSys’15), Seoul, Korea, 4–5 November 2015; pp. 55–64. [Google Scholar]
  22. Kim, J.; Le, T.T.; Kim, H. Nonintrusive load monitoring based on advanced deep learning and novel signature. Comput. Intell. Neurosci. 2017, 2017, 4216281. [Google Scholar] [CrossRef] [PubMed]
  23. Kanghang, H.; Lina, S.; Jing, L.; Vladimir, S. Non-Intrusive Load Disaggregation using Graph Signal Processing. IEEE Trans. Smart Grid 2016, 9, 1739–1747. [Google Scholar]
  24. Figueiredo, M.B.; De Almeida, A.; Ribeiro, B. An Experimental Study on Electrical Signature Identification of Non-Intrusive Load Monitoring (NILM) Systems; Lecture Notes in Computer Science (Including Subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics); Springer: Berlin/Heidelberg, Germany, 2011; Volume 6594, pp. 31–40. ISBN 9783642202667. [Google Scholar]
  25. Chang, H.H.; Chen, K.L.; Tsai, Y.P.; Lee, W.J. A New Measurement Method for Power Signature of Non-intrusive Demoand Monitoring and Load Identification. In Proceedings of the Industry Applications Society Annual Meeting (IAS), Orlando, FL, USA, 9–13 October 2011. [Google Scholar]
  26. Kofi, A.A.; Sekyung, H.; Soohee, H. Real-Time Recognition Non-Intrusive Electrical Appliance Monitoring Algorithm for a Residential for a Residential Building Energy Management System. Energies 2015, 8, 9029–9048. [Google Scholar] [CrossRef]
  27. Chang, H.H.; Lian, K.L.; Su, Y.C.; Lee, W.J. Power-Spectrum-Based Wavelet Transform for Noninstrusive Demand Monitoring and Load Identification. IEEE Trans. Ind. Appl. 2014, 50, 2081–2089. [Google Scholar] [CrossRef]
  28. Zeifman, M.; Akers, C.; Roth, K. Nonintrusive appliance load monitoring: Review and outlook. IEEE Trans. Consum. Electron. 2011, 57, 76–84. [Google Scholar] [CrossRef]
  29. Hassan, T.; Javed, F.; Arshad, N. An Empirical Investigation of V-I Trajectory Based Load Signatures for Non-Intrusive Load Monitoring. IEEE Trans. Smart Grid 2013, 5, 870–878. [Google Scholar] [CrossRef]
  30. Nilson, H.; Kodjo, A.; Suosso, K.; Sayed, S.H.; Michael, F. Power Estimation of Multiple Two-State Loads Using A Probabilistic Non-Intrusive Approach. Energies 2018, 11, 88. [Google Scholar] [CrossRef]
  31. Breiman, L.; Friedman, J.H.; Olshen, R.A.; Stone, C.J. Classification and Regression Trees; Routledge: Wadsworth, OH, USA; Belmont, CA, USA, 1984. [Google Scholar]
  32. Sepp, H.; Jurgen, S. Long short-term memory. Neural Comput. 1997, 9, 1735–1780. [Google Scholar]
  33. Makonin, S.; Ellert, B.; Bajic, I.V.; Popowic, F. Electricity, water, and natural gas consumption of a residential house in Canada from 2012 to 2014. Sci. Data 2016, 3, 160037. [Google Scholar] [CrossRef] [PubMed]
  34. Makonin, S. AMPds2: The Almanac of Minutely Power Dataset (Version 2). 2016. Available online: https://doi.org/10.7910/DVN/FIE0S4 (accessed on 30 October 2018).
Figure 1. The first concept of NILM based on a single point measurement by Hart [5].
Figure 1. The first concept of NILM based on a single point measurement by Hart [5].
Energies 11 03409 g001
Figure 2. The proposed NILM framework.
Figure 2. The proposed NILM framework.
Energies 11 03409 g002
Figure 3. Data transfer process.
Figure 3. Data transfer process.
Energies 11 03409 g003
Figure 4. The low sampling rate format data collected in 15 Hz of Air-purifier device.
Figure 4. The low sampling rate format data collected in 15 Hz of Air-purifier device.
Energies 11 03409 g004
Figure 5. Jetson TX2.
Figure 5. Jetson TX2.
Energies 11 03409 g005
Figure 6. System configuration diagram collection data.
Figure 6. System configuration diagram collection data.
Energies 11 03409 g006
Figure 7. The proposed technique for transient signal extraction and recognition. (a) The proposed concept; (b) The illustration of the proposed process.
Figure 7. The proposed technique for transient signal extraction and recognition. (a) The proposed concept; (b) The illustration of the proposed process.
Energies 11 03409 g007
Figure 8. The analysis of active power signal with rising and falling signal.
Figure 8. The analysis of active power signal with rising and falling signal.
Energies 11 03409 g008
Figure 9. (a) LSTM Cell; (b) An architecture of LSTM model.
Figure 9. (a) LSTM Cell; (b) An architecture of LSTM model.
Energies 11 03409 g009
Figure 10. Active power signals: (a) Airpurifier; (b) Fan appliance; (c) Hairdryer appliance; (d) LG monitor appliance; (e) Samsung monitor appliance.
Figure 10. Active power signals: (a) Airpurifier; (b) Fan appliance; (c) Hairdryer appliance; (d) LG monitor appliance; (e) Samsung monitor appliance.
Energies 11 03409 g010
Figure 11. Active Power Signals of twenty test cases data: (ad): test 1 to test 4; (eh): test 5 to test 8; (il): test 9 to test 12; (mp): test 13 to test 16; (qt): test 17 to test 20.
Figure 11. Active Power Signals of twenty test cases data: (ad): test 1 to test 4; (eh): test 5 to test 8; (il): test 9 to test 12; (mp): test 13 to test 16; (qt): test 17 to test 20.
Energies 11 03409 g011
Figure 12. State S, T & ON/OFF label signals of 5 appliances: (ac): Air-purifier device; (df): Fan device; (gi): Hair Dryer device; (jl): LG monitor device; (mo): Samsung monitor device.
Figure 12. State S, T & ON/OFF label signals of 5 appliances: (ac): Air-purifier device; (df): Fan device; (gi): Hair Dryer device; (jl): LG monitor device; (mo): Samsung monitor device.
Energies 11 03409 g012
Figure 13. State S, T & ON/OFF label signals of test 1 to test 4 data: (ac) test 1; (df) test 2; (gi) test 3; (jl) test 4.
Figure 13. State S, T & ON/OFF label signals of test 1 to test 4 data: (ac) test 1; (df) test 2; (gi) test 3; (jl) test 4.
Energies 11 03409 g013
Figure 14. Confusion matrix of Decision Tree model for classification ON/OFF label.
Figure 14. Confusion matrix of Decision Tree model for classification ON/OFF label.
Energies 11 03409 g014
Figure 15. Classification results of LSTM model on 5 appliances data: (a) Airpurifier device; (b) Fan device; (c) Hairdryer device; (d) LG monitor device; (e) Samsung monitor device.
Figure 15. Classification results of LSTM model on 5 appliances data: (a) Airpurifier device; (b) Fan device; (c) Hairdryer device; (d) LG monitor device; (e) Samsung monitor device.
Energies 11 03409 g015
Figure 16. Classification results of LSTM model on test 1 to test 4 data: (a) Test 1; (b) Test 2; (c) Test 3; (d) Test 4.
Figure 16. Classification results of LSTM model on test 1 to test 4 data: (a) Test 1; (b) Test 2; (c) Test 3; (d) Test 4.
Energies 11 03409 g016
Figure 17. Active power signal of appliance data: (a) Master and South Bedroom; (b) Basement Plugs and Lights appliance; (c) Instant Hot Water Unit appliance; (d) Entertainment: TV, PVR, AMP appliance; (e) Kitchen Fridge appliance.
Figure 17. Active power signal of appliance data: (a) Master and South Bedroom; (b) Basement Plugs and Lights appliance; (c) Instant Hot Water Unit appliance; (d) Entertainment: TV, PVR, AMP appliance; (e) Kitchen Fridge appliance.
Energies 11 03409 g017
Figure 18. State S, T & ON/OFF label signals of 5 appliances: (ac) Master and South Bedroom device; (df) Basement Plugs and Lights device; (gi) Instant Hot Water Unit device; (jl) Entertainment: TV, PVR, AMP device; (mo) Kitchen Fridge device.
Figure 18. State S, T & ON/OFF label signals of 5 appliances: (ac) Master and South Bedroom device; (df) Basement Plugs and Lights device; (gi) Instant Hot Water Unit device; (jl) Entertainment: TV, PVR, AMP device; (mo) Kitchen Fridge device.
Energies 11 03409 g018
Figure 19. Confusion Matrix of Decision Tree model for classification ON/OFF label on five appliances data in AMPds2.
Figure 19. Confusion Matrix of Decision Tree model for classification ON/OFF label on five appliances data in AMPds2.
Energies 11 03409 g019
Figure 20. Classification results of LSTM model on 5 appliances data selected in AMPds2: (a) Master and South Bedroom; (b) Basement Plugs and Lights appliance; (c) Instant Hot Water Unit appliance; (d) Entertainment: TV, PVR, AMP appliance; (e) Kitchen Fridge appliance.
Figure 20. Classification results of LSTM model on 5 appliances data selected in AMPds2: (a) Master and South Bedroom; (b) Basement Plugs and Lights appliance; (c) Instant Hot Water Unit appliance; (d) Entertainment: TV, PVR, AMP appliance; (e) Kitchen Fridge appliance.
Energies 11 03409 g020
Table 1. Specifications of five appliances.
Table 1. Specifications of five appliances.
ApplianceModelPower Consumption (W)
Air-purifierLG AS181DRWT40
FanTESS-S106040
HairdryerPatech PH-30501300
LG monitor24MP57VQ23
Samsung monitorS27D850T90
Table 2. Twenty tests data information.
Table 2. Twenty tests data information.
NoTestDescription
1Test 1[Air-purifier, LG monitor, Samsung monitor, Fan, Hairdryer] are ON simultaneously.
Turn OFF and then turn ON [Air-purifier] while the other appliances are still ON.
2Test 2[Air-purifier, LG monitor, Samsung monitor, and Fan] are ON simultaneously.
Turn OFF and then turn ON [Air-purifier] while the other appliances are still ON.
3Test 3[Air-purifier, LG monitor, Samsung monitor] are ON simultaneously.
Turn OFF and then turn ON [Air-purifier] while the other appliances are still ON.
4Test 4[Air-purifier and LG monitor] are ON simultaneously.
Turn OFF and then turn ON [Air-purifier] while the other appliance are still ON.
5Test 5[Fan and Air-purifier] are ON simultaneously.
Turn OFF and then ON [Fan] while the other appliance are still ON.
6Test 6[Fan, Samsung monitor, and Air-purifier] are ON simultaneously.
Turn OFF and then ON [Fan] while the other appliance are still ON.
7Test 7[Fan, Samsung monitor, LG monitor, Air-purifier, and Hairdryer] are ON simultaneously.
Turn OFF and then ON [Fan] while the other appliance are still ON.
8Test 8[Fan, Samsung monitor, LG monitor, and Air-purifier] are ON simultaneously.
Turn OFF and then ON [Fan] while the other appliance are still ON.
9Test 9[Hairdryer, Air-purifier, LG monitor, Fan, and Samsung monitor] are ON simultaneously.
Turn OFF and turn ON [Hairdryer] while the other appliance are still ON.
10Test 10[Hairdryer, Air-purifier, LG monitor, and Fan] are ON simultaneously.
Turn OFF and then turn ON [Hairdryer] while the other appliance are still ON.
11Test 11[Hairdryer, Air-purifier, and LG monitor] are ON simultaneously.
Turn OFF and then tun ON [Hairdryer] while the other appliance are still ON.
12Test 12[Hairdryer and Air-purifier] are ON simultaneously.
Turn OFF and then turn ON [Hairdryer] while the other appliance are still ON.
13Test 13[LG monitor, Samsung monitor, Fan, Air-purifier, and Hairdryer] are ON simultaneously.
Turn OFF and then turn ON [LG monitor] while the other appliance are still ON.
14Test 14[LG monitor, Samsung monitor, Fan, and Air-purifier] are ON simultaneously.
Turn OFF and then turn ON [LG monitor] while the other appliance are still ON.
15Test 15[LG monitor, Samsung monitor, and Fan] are ON simultaneously.
Turn OFF and then turn ON [LG monitor] while the other appliance are still ON.
16Test 16[LG monitor and Samsung monitor] are ON simultaneously.
Turn OFF and then turn ON [LG monitor] while the other appliance are still ON.
17Test 17[Hairdryer, Fan, Samsung monitor, LG monitor, and Air-purifier] are ON simultaneously.
Turn OFF and then turn ON [Samsung monitor] while the other appliance are still ON.
18Test 18[Samsung monitor, Fan, LG monitor, and Air-purifier] are ON simultaneously.
Turn OFF and then turn ON [Samsung monitor] while the other appliance are still ON.
19Test 19[Samsung monitor, LG monitor, and Air-purifier] are ON simultaneously.
Turn OFF and then turn ON [Samsung monitor] while the other appliance are still ON.
20Test 20[Samsung monitor and Air-purifier] are ON simultaneously.
Turn OFF and then turn ON [Samsung monitor] while the other appliance are still ON.
Table 3. Jetson TX2 Technical Specifications.
Table 3. Jetson TX2 Technical Specifications.
FeatureByte
CPUNVIDIA Pascal T M , 256 CUDA cores
GPUHMP Dual Denver 2/2 MB L2 + Quad ARM A57/2 MB L2
Monitor8 GB 128 bit LPDDR4 59.7 GB/s
Data capacity32 GB eMMC, SDIO, SATA
Connectivity1 Gigabit Ethernet, 802.11ac WLAN, Bluetooth
Etc.CAN, UART, SPI, I2C, I2S, GPIOs
Table 4. Twenty-test cases data file name.
Table 4. Twenty-test cases data file name.
NoTestFile NameDescription
1Test 1Airpurifier_Transient_LG_Samsung_Fan_Hairdryer_Steady
2Test 2Airpurifier_Transient_LG_Samsung_Fan_SteadyAir-purifier transient
3Test 3Airpurifier_Transient_LG_Samsung_Steady
4Test 4Airpurifier_Transient_LG_Steady
5Test 5Fan_Transient_Airpurifier_Steady
6Test 6Fan_Transient_Samsung_Airpurifier_SteadyFan transient
7Test 7Fan_Transient_Samsung_LG_Airpurifier_Hairdryer_Steady
8Test 8Fan_Transient_Samsung_LG_Airpurifier_Steady
9Test 9Hairdryer_Transient_Airpurifier_LG_Fan_Samsung_Steady
10Test 10Hairdryer_Transient_Airpurifier_LG_Fan_SteadyHairdryer transient
11Test 11Hairdryer_Transient_Airpurifier_LG_Steady
12Test 12Hairdryer_Transient_Airpurifier_Steady
13Test 13LG_Transient_Samsung_Fan_Airpurifier_Hairdryer_Steady
14Test 14LG_Transient_Samsung_Fan_Airpurifier_Steady
15Test 15LG_Transient_Samsung_Fan_SteadyLG monitor transient
16Test 16LG_Transient_Samsung_Steady
17Test 17Samsung_Transient_Airpurifier_LG_Haridryer_Fan_Steady
18Test 18Samsung_Transient_Airpurifier_LG_Fan_SteadySamsung monitor transient
19Test 19Samsung_Transient_Airpurifier_LG_Steady
20Test 20Samsung_Transient_Airpurifier_Steady
Table 5. Labeling ON/OFF for each appliance.
Table 5. Labeling ON/OFF for each appliance.
Appliance NameON/OFF Labeling
ON Label OFF Label
Airpurifier1 2
Fan3 4
Hairdryer5 6
LG monitor7 8
Samsung monitor9 10
Table 6. Labeling ON/OFF for twenty test cases.
Table 6. Labeling ON/OFF for twenty test cases.
Test NameON/OFF Labeling
ON Label OFF Label
Test 1, Test 2, Test 3, Test 41 2
Test 5, Test 6, Test 7, Test 83 4
Test 9, Test 10, Test 11, Test 125 6
Test 13, Test 14, Test 15, Test 167 8
Test 17, Test 18, Test 19, Test 209 10
Table 7. Classification result for event detection ON/OFF of each appliance.
Table 7. Classification result for event detection ON/OFF of each appliance.
LabelEvent DevicePrecisionRecallF1-ScoreSupport
0No Event0.950.960.952747
1Air-purifier_ON0.820.770.79411
2Air-purifier_OFF1.000.670.809
3Fan_ON0.930.910.92739
4Fan_OFF0.921.000.9624
5Hairdryer_ON0.950.970.96657
6Hairdryer_OFF0.960.960.9623
7LG-monitor_ON0.870.880.87565
8LG-monitor_OFF0.820.970.8929
9Samsung-monitor_ON0.920.900.91412
10Samsung-monitor_OFF0.831.000.9110
avg/total0.930.930.935629
Table 8. Classification result of Decision Tree model on energy data.
Table 8. Classification result of Decision Tree model on energy data.
MetricPerformance
Accuracy0.926413
Precision0.927533
Recall0.926413
F10.926778
Loss1.66637
Table 9. Hyper-parameter of LSTM model in the approach.
Table 9. Hyper-parameter of LSTM model in the approach.
Hyper-Parameter NameValue
InputT signals
Hidden size100
Batch size893
time step1
Number of LSTM layers3
Epochs5000
OutputOn_Off_labeling
Table 10. Five appliances information in AMPds2 dataset selected [34].
Table 10. Five appliances information in AMPds2 dataset selected [34].
CSV File NameAppliance NameWatts (W)ON LabelOFF Label
Electricity_B2EMaster and South Bedroom17512
Electricity_BMEBasement Plugs and Lights38734
Electricity_HTEInstant Hot Water Unit7056
Electricity_TVEEntertainment: TV, PVR, AMP41578
Electricity_FGEKitchen Fridge525910
Table 11. Classification result for event detection ON/OFF of each appliance in AMPds2.
Table 11. Classification result for event detection ON/OFF of each appliance in AMPds2.
LabelEvent DevicePrecisionRecallF1-ScoreSupport
0No Event0.990.990.99305
1Master and South Bedroom_ON0.951.000.9737
2Master and South Bedroom_OFF1.001.001.004
3Basement Plugs and Lights_ON1.000.980.9953
4Basement Plugs and Lights_OFF1.001.001.0011
5Instant Hot Water_ON0.900.900.9020
6Instant Hot Water_OFF1.001.001.001
7Entertainment: TV, PVR, AMP_ON0.951.000.9820
8Entertainment: TV, PVR, AMP_OFF1.001.001.0010
9Kitchen Fridge_ON1.000.900.9520
10Kitchen Fridge_OFF1.001.000.9119
avg/total0.990.990.99500

Share and Cite

MDPI and ACS Style

Le, T.-T.-H.; Kim, H. Non-Intrusive Load Monitoring Based on Novel Transient Signal in Household Appliances with Low Sampling Rate. Energies 2018, 11, 3409. https://doi.org/10.3390/en11123409

AMA Style

Le T-T-H, Kim H. Non-Intrusive Load Monitoring Based on Novel Transient Signal in Household Appliances with Low Sampling Rate. Energies. 2018; 11(12):3409. https://doi.org/10.3390/en11123409

Chicago/Turabian Style

Le, Thi-Thu-Huong, and Howon Kim. 2018. "Non-Intrusive Load Monitoring Based on Novel Transient Signal in Household Appliances with Low Sampling Rate" Energies 11, no. 12: 3409. https://doi.org/10.3390/en11123409

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