Next Article in Journal
Using True RMS Current Measurements to Estimate Harmonic Impacts of Multiple Nonlinear Loads in Electric Distribution Grids
Previous Article in Journal
Improving the Energy Efficiency of Petrochemical Plant Operations: A Measurement and Verification Case Study Using a Balanced Wave Optimizer
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Harmonic Loads Classification by Means of Currents’ Physical Components

The Physical Electronics Department, School of Electrical Engineering, Tel Aviv University, Tel Aviv 69978, Israel
*
Author to whom correspondence should be addressed.
Energies 2019, 12(21), 4137; https://doi.org/10.3390/en12214137
Submission received: 25 September 2019 / Revised: 24 October 2019 / Accepted: 28 October 2019 / Published: 30 October 2019
(This article belongs to the Section G: Energy and Buildings)

Abstract

:
Electric load identification and classification for smart grid environment can improve the power service for both consumers and producers. The main concept of electric load identification and classification is to disaggregate various loads and categorize them. In this paper, a new practical method for electric load identification and classification is presented. The method is based on using a power monitor to analyze a real measured current waveform of a grid-connected device. A set number of features is extracted using the currents’ physical components-based power theory decomposition. Using currents’ physical components ensures a constant number of features, which maintains the signal’s characteristics regardless of the harmonic content. These features are used to train a supervised classifier based on two techniques: artificial neural network and nearest neighbor search. The theory is outlined, and experimental results are shown. This paper demonstrates high accuracy performance in identifying an electric load from a designated database. Furthermore, the results show a definite classification of an untrained operation state of a device to the closest trained operation state, for example, the excitation angle of a dimmer. In a comparative study, the method is shown to outperform other state-of-the-art techniques, which are based on harmonic components.

Graphical Abstract

1. Introduction

In the last few years, the field of power grid technologies and monitoring has attracted a lot of attention. The need for energy conservation, responsible management of the demand response of the grid and the ability to implement advanced technologies in this new smart grid has resulted in emerging research and investment in power grids all over the world [1]. Smart grid is a general term that refers to the combination of various communication technologies, smart meters and control abilities to create a well-managed electrical grid. This new grid will have innovative abilities, such as optimizing energy production and consumption, while taking into account renewable energy as well as electric cars. Smart meters as well as smart monitors (which also measure and calculate power quality parameters) are an essential part of this new system [2].
Classification is considered an important decision-making task for many real-world problems in various fields, including smart grid technologies. Classification will be used when an object needs to be classified into a predefined class or group, based on the attributes of that object. Load data in a smart grid contain much valuable knowledge; therefore, electric load identification and classification play important roles in decision making regarding power systems. Since the electricity consumption patterns are unique for each user and device, classification is a possible task. Electric load identification and classification can improve the production planning and increase personalized power service for electricity consumers and producers [3]. By analyzing a load’s classification, users can understand consumption patterns and adjust their electricity behavior to be more economical and optimal. Thus, electricity consumption will be used more efficiently, and the cost will be reduced significantly [4]. Therefore, the extraction of precious information from electric load data for load classification is an important research direction. Load classification is used for widespread applications such as load reliability [5], bad data identification [6], marketing polices and tariff setting [7] and load forecasting [8,9,10].
The main concept of electric load identification and classification is to separate various loads, which are measured by smart meters, to groups of similar patterns. When the accuracy of the classification is high, the analysis and decisions can lead to a better optimization. A considerable number of works focus on load classification based on various algorithms and different patterns have been suggested in the last two decades. For example, harmonic components are used to classify load patterns in [11,12]. The authors of [11] suggested using the first 25 harmonics of the current to classify loads using artificial neural network as a classifier, while, in [12], the load profiles of harmonics sources are estimated by using independent component analysis. It should be noted that the number of harmonics components are not constant and therefore it might affect the performance of the classification. In [13], the authors presented an application of support vector clustering to electrical load pattern classification. The authors of [14] tried to identify the load characteristics of nine appliances in three different operation states (In use, Standby, and Off) by support vector machines as an application of a smart home electric energy saving system. In [15], the authors presented a new method for extracting features in the wavelet domain and used them for classification of washing machines vibration transient signals. The method is tested on specific device vibration/states, but without other devices included in the system. More methods are follow-the-leader and self-organizing maps [16], their disadvantage being that the number of clusters must be allocated in advance. In [17], an improved model for k-means is used to solve the problem of randomness of the solution. More common clustering algorithms are: iterative self-organizing data-analysis technique [18] and hierarchical clustering method [19]. Additional approaches for electric load identification can be found in [20].
In this light, this paper describes and implements a new algorithm that functions as a power device classification tool for smart grid applications, based on currents’ physical components (CPC) based power theory [21]. The calculated CPC decomposition elements per device are used as features which define a unique signature per waveform. These features are used as inputs to an artificial neural network (ANN) and nearest neighbor classifier.
The integration of CPC theory and supervised classifier for device identification has created a new powerful classifier due to:
  • A power theory yields a unique harmonic decomposition which has physical meaning. Namely, the features are not simple classifiers but also enable accurate calculation and measurement of the various currents and powers of the load.
  • CPC enables the generation of a fixed number of features, regardless of the harmonic content of the load. Other methods (e.g., [11,12]) use many features, which imply complex search and computing time.
  • The method enables identifying various modes of operation of the same device. Other methods show good results when there is significant difference; CPC can classify minor load changes such as excitation angle of a dimmer.
The objective of this paper is to present the theory as well as experimental results of supervised classifier technique combining the CPC theory with the ability to:
  • Identify a device from known database
  • Identify a specific operation state of a device
The results, obtained by real measurements from a power monitor, show high classification accuracy.
The paper is organized as follows. Section 2 is a theoretical background, which reviews the theory of currents’ physical component based power theory and the theory of artificial neural networks. Then, Section 3 is devoted to feature extraction by means of CPC and signal classification using ANN and nearest neighbor. Section 4 contains simulated as well as experimental results, based on the proposed theory. Finally, Section 5 contains some discussion and conclusions.

2. Theoretical Background

2.1. Currents’ Physical Component Theory Overview

The Currents’ Physical Component based power theory deals with the calculations of various powers in a single and three phase systems. The concept is applied usually for the calculation and definition of non-active powers in the presence of non-sinusoidal currents and voltages. The spectra of each waveform are used to define the waveform origin by means of CPC theory. CPC theory was developed by L. S. Czarnecki [21]. Since it was first publicized, there have been developments and adaptations of this power theory [22,23,24,25]. In this section, a short overview of the method is presented with emphasis on the components and the powers which are used in this study as features for uniquely identifying an electric load.
Fourier series is the most general way to present time domain non-sinusoidal harmonic voltage [ V ]
u ( t ) = U o + 2 R e ( n N U ¯ n e j n w 1 t ) ,
where U 0 is the DC component (which is ignored in the rest of the paper since it usually does not exist) and U ¯ n is the complex RMS value of the voltage at the nth harmonic, where n N , and N is an integer. The harmonic Y n admittance for the nth harmonic can be expressed by the complex expression,
Y n = G n + j B n .
Multiplying the voltage and admittance yields the resulting current harmonic Fourier series [ A ] as follows
i ( t ) = 2 R e ( n N Y n U ¯ n e j n w 1 t ) .
The active power of such a system is derived from the scalar product of Equations (1) and (3) and therefore only the harmonic components which have the same index in both the voltage and the current will contribute to this power [ W ] ,
P = n U n I n 2 cos ϕ n ,
where U n and I n are the voltage and current amplitudes at the nth harmonic, and ϕ n is the angle between the voltage and the current at the same harmonic. After the active power is calculated, the equivalent active conductance of the system can be defined as
G e = P u 2 ,
where u is the RMS value of the voltage, which can be expressed as
u = n = 1 U n 2 2 .
The active current i a can now be calculated as
i a ( t ) = G e u ( t ) = 2 R e ( n = 1 N G e U ¯ n e j n w 1 t ) .
Subtracting this active current from the general current yields
i ( t ) i a ( t ) = 2 R e ( n = 1 N ( G n + j B n G e ) U ¯ n e j n w 1 t ) .
The imaginary part of Equation (8) can be considered as i r , the reactive current, which is π / 2 shifted relative to the same voltage harmonic [26,27],
i r ( t ) = 2 R e ( n = 1 N ( j B n U ¯ n e j n w 1 t ) .
The remaining part of Equation (8) is called the scattered current i s . This current appears if G n G e and it is a measure at voltage u ( t ) of the source current increase due to a scattering of conductance G n around the equivalent conductance G e [26,27] as shown next
i s ( t ) = 2 R e ( n = 1 N ( G n G e ) U ¯ n e j n w 1 t ) .
Nonlinear loads can be considered as harmonic generating loads. In the presence of such loads the direction of energy flow between the source and the load can be decided by investigating the angle between the current and the voltage ϕ n of the nth harmonic. If | ϕ n | < π / 2 , then there is an average energy flow from the source to the load and, if | ϕ n | > π / 2 , then the energy flow is from the load towards the source. In this case, the harmonics can be sorted into two groups: (1) N D is the set of harmonics which are originated at the source; and (2) N C is the set of harmonics which are originated at the load. Therefore, the system can be divided into two subnetworks at the measuring point. The first is the source network, denoted by D and include the N D set of harmonics. The second is the load subnetwork, C, which includes the N C set of harmonics. Each subnetwork can be considered to have its own current and voltage, as noted below.
The current which is associated with the N C group is called the load generated current, i c . The total current can now be written as
i = i a + i r + i s + i c .
This current can be rewritten with respect to the N D and N C disaggregation as follows:
i = n N i n = n N D i n + n N C i n = i D + i C ,
where N is the set of all harmonic content in the decomposed total current. This set is divided into the source and load sets N D and N C , accordingly [28]:
i = i a D + i r D + i s D + i C .
Note that the load generated current can be also disaggregated to the i a C , i r C , and i s C components; however, in this work, we limit the amount of features and take into consideration the aggregated i C .
It can be shown that all components in CPC theory are orthogonal and therefore
i 2 = i a D 2 + i r D 2 + i s D 2 + i C 2 .
The same procedure can be implemented to the voltage. Thus, the expression for the voltage, taking into account the direction of the energy flow, is:
u = n N u n = n N D u n + n N C u n = u D u C .
In [28], a detailed discussion is presented regarding the decomposition and analysis of various powers in a non-sinosoidal system. There, the apparent power S can be expressed as:
S 2 = S 0 D 2 + S 0 C 2 + S F 2 ,
where S 0 D and S 0 C are the apparent powers of the subnetworks D and C when they are considered as sourceless loads, and S F is the forced apparent power, which is the voltage of each subnetwork (D and C) combined multiplied by the current of the other subnetwork. Namely, the voltage u D is multiplied by i C and vice versa. Now, the powers S 0 D and S 0 C can be decomposed into the active, reactive and scattered powers. S 0 D can be written as:
S 0 D 2 = Δ i D 2 u D 2 = P a D 2 + Q r D 2 + D s D 2 ,
where P a D is the active power, Q r D is the reactive power and D s D is the scattered power of subnetwork D. For the purpose of this paper, we do not decompose S 0 C to limit the number of features. Therefore, the total apparent power can be expressed as:
S 2 = P a D 2 + Q r D 2 + D s D 2 + S 0 C 2 + S F 2 .
There has been a debate about the applicability of this method for measuring power, and whether these components are mathematical or physical [24,29]. However, this paper focuses on the classification and recognition method, and, for these purposes, CPC is a promising method for extracting a fixed, small amount of descriptive and quantity features from the signals, as opposed to using the FFT harmonics, which will have a different number of features for each signal depending on its nonlinearity extent.

2.2. Artificial Neural Network

The artificial neural network (ANN) is a technique inspired by the neural structure of the brain that mimics the learning capability from experiences. It means that, if a neural network is trained using past data, it will be able to generate outputs based on the knowledge extracted from the training. Neural networks, a machine-learning method, have been used to solve a wide variety of tasks that are hard to solve using ordinary rule-based programming. When there is a sufficient amount of data to train the ANN, classification produces good results. As mentioned in [30], there are many advantages to using ANN for the power and energy field. In this study, we used the back-propagation algorithm for the neural network [31]. The network contains three layers: input layer, referred to by the index i; hidden layer, referred to by the index j; and output layer, referred to by the index k.
In the training phase, as shown in Figure 1, the training data, features with known labels, are fed into the input layer. In this stage, appropriate weights between the nodes are adjusted iteratively for improving the network until it can perform the task for which it is being trained. After the weights are updated, the network best maps a set of inputs to their correct output.
One of the central ideas in ANN is the transfer function, which is a monotonically increasing, continuous function, applied to the weighted input of a neuron to produce its output. A well-known transfer function is the sigmoid which defined as
s i g m o i d ( x ) = f ( x ) = 1 1 + exp ( x ) .
An exponential function of the derivative is simply
d f ( x ) d x = f ( x ) ( 1 f ( x ) ) .
Another exponential function with simple derivative is softmax, which is defined as
s o f t m a x ( x d ) = exp ( x d ) y exp ( x y ) .
Due to the simplicity of derivative, these functions were chosen as the transfer function of the nodes in the training network. The sigmoid is mainly used in the hidden layer while the softmax is mainly used in the output layer.
Next, simplified back-propagation algorithm is describing shortly:
  • Stage 1: The features are fed into the first layer. The results of the output of the last layer y k are calculated by using initial random weights as follows:
    y k = f k ( j = 1 M f j ( i = 1 N x i w j , i ) w k , j ) ,
    where f k is the transfer functions for calculating the result of the output layer nodes and f j is the transfer functions for calculating the output results of the hidden layer nodes. w j , i is the weight from the input layer of node i to the hidden layer of node j and w k , j is the weight from the hidden layer of node j to the output layer node k. These weights are initially randomly chosen and are updated in each iteration.
  • Stage 2: For each output, we calculate the error signal for a neuron. The idea is to propagate iteratively an error signal δ back to all neurons. The error signal in the output neurons can be expressed as:
    δ k = d E d w k ,
    where E is the total network error function. The error function in classic back-propagation is the mean squared error (MSE)
    E = 1 2 K k K ( y ^ k y k ) 2 ,
    where y k is the target value of the input and y ^ k is the computed output of the network on the input.
  • Stage 3: Using the error signal δ k , the new error signal for the hidden layer δ j is calculated as:
    δ j = k = 1 K δ k w j , k .
    Then, the addition to the weight can be calculated and added to the last computed weight:
    Δ w = δ j y j ( 1 y j ) ,
    w n e w = w + Δ w .
    The same process is done for the error signal in the input layer. Now, the new output can be calculated by Equation (22) with the updated weights
    y k , n e w = f k ( j = 1 M f j ( i = 1 N x i w j , i , n e w ) w k , j , n e w ) .
  • Stage 4: MSE condition is formulated for keeping the results in a bounded region by choosing a threshold such that E > T h r e s h o l d . As long as the condition is maintained, the back-propagation algorithm is repeated from Stage 2 to Stage 4.

3. CPC Features and Classification

3.1. CPC Features Extraction

The theory of CPC as presented in Section 2 enables a unique representation of currents and voltages in a non-sinusoidal environment. In that aspect, the various currents and powers form a finger print of the waveforms and therefore of their origin (the electric load or any other harmonic anomaly in grid). The input current and voltage waveforms are in the time domain.
First, FFT is used for extracting the various harmonics of the wave forms. Using these harmonics as features of the waveform will result in processing a lot of data, especially in highly nonlinear loads. Therefore, transforming the input data into sets of CPC features reduces the amount of data which represent the currents and voltages waves. The various current harmonics are then sorted into their physical components and the powers are calculated using the CPC theory [23], as presented in Section 2. All values of the currents and voltages are normalized so the measurements and simulations are not voltage level-dependent. The feature extraction module is presented in Figure 2. In Equations (14) and (18), the various currents’ and powers’ components are presented. For load identification, we limit ourselves to only 10 features, five features of currents and five of powers. The chosen extracted features, as described in Figure 2, are all the five normalized RMS currents’ as follows: i 2 , i a D 2 denoted as i a 2 , i r D 2 denoted as i r 2 , i s D 2 denoted as i s 2 and i C 2 . The five power components that were chosen are: P a D denoted as P, Q r D denoted as Q, D s D denoted as D s , S 0 C denoted as D C and S the total apparent power. The process of feature generation can be seen in Figure 2 and is summarized as follows.
Algorithm 1: CPC feature extraction process.
Energies 12 04137 i001

3.2. Classification Using Artificial Neural Network

In this work, the neural network objective is to classify the CPC features into a set of target categories which presents the type of the device. As mentioned in the previous section, there are two important stages in ANN operation:
  • The training stage with the back-propagation algorithm adjusts the weight of neurons by calculating the gradient of the loss function on known inputs [31]. In this study, the loss function is the mean square error and the transfer function is the sigmoid for the hidden layer and softmax for the output layer.
  • The inference stage, in which the trained network is used in real time for classify new and unknown single device.
Figure 3a shows the complete training process; the process includes a database of voltage and current waveforms of known measured devices. Each waveform is an input to the CPC feature extraction procedure, as explained above and summarized in Figure 2. Each signal is now represented by its CPC components (features). These features are the input of the neural network.
Figure 3b shows the inference/classify process on unknown machine waveform. The CPC procedure is obtained in the same manner as was described in training process. These features are the inputs to the trained network, as shown in Figure 4. The network contains three layers: input, hidden, and output layers. The inputs are the 10 CPC features of a specific waveform. The hidden layer includes all the neurons and trained weights. The output layer of the trained network includes the number of neurons as the number of all possible devices in the database. A decision about the type of the waveform is made based on the output layer result.

3.3. Classification Based Nearest Neighbor Search

Nearest neighbor search [32] is considered to be one of the simplest classification algorithms. The algorithm assigns an unlabeled point to the nearest (most similar) sample in a known set by using a distance metric (such as Euclidean distance).
Formally, the nearest neighbor search problem is defined as follows: A set of n known pairs is given ( x 1 , y 1 ) , ( x 2 , y 2 ) , …, ( x n , y n ) such that x i is a known variable in space X and the category y i is assigned to the x i sample. The nearest neighbor goal is to classify a new measurement x , to y based on the closest known y i using a defined measurement metric d i s t .
x N N is defined as the nearest neighbor of x ,
d i s t ( x N N , x ) = min d i s t ( x i , x ) i = 1 , 2 , , n .
In the case d i s t is chosen to be the Euclidean distance and X is m-dimension space, Equation (29) can be written as
d i s t ( x i , x ) = ( x 1 i x 1 ) 2 + + ( x m i x m ) 2
In this work, the nearest neighbor search classification process is used on the CPC features. A set of n known CPC vectors with 10 dimensions is given such that each vector is assigned to a device category that is known in advance. When trying to classify an un-labeled waveform, the CPC procedure is activated for feature extraction. The features are used to classify the waveform to the closest known label based on Euclidean distance.

4. Simulation and Experimental Results

4.1. General

For the verification of the proposed method, all the above theory was implemented in Matlab and the Neural Network Pattern Recognition Toolbox (patternnet) [33] was used for the ANN implementation. The results of the simulations are presented in two categories:
  • Identifying a single device out of a variety of devices
  • Identifying the operation state of single device
For the first category, nine devices were tested:
  • Power filter with inter-harmonics
  • Power diode
  • Power thyristor
  • Single phase inverter
  • Microwave
  • Computer
  • Air conditioner
  • Toaster
  • Dimmer
The devices were either simulated by MATLAB and SIMULINK or were extracted from real measurements by power meter (SATEC EM720) with 128–1024 samples per period, as presented in Figure 5.
The second category was designed to show the ability of detecting the status of a device. It is well-known that continuously variable device is a problematic device to classify. Therefore, in this paper, we consider the light dimmer device as five different devices. This is done by considering various excitation angles of the dimmer as a separate device and therefore the classification of such a device is possible as shown ahead. The five excitation angles that were used are: 30°, 60°, 90°, 120° and 150°.

4.2. CPC Feature Extraction and ANN Training Procedure

In Table 1, Table 2 and Table 3, the devices CPC feature values are summarized. These properties are the inputs of the ANN for identifying and classifying a device. In Table 1 and Table 2, the CPC features of eight devices are presented. For each machine, the normalized values of the currents and powers by means of CPC are calculated. The ANN was trained with various excitation angles of the dimmer, which represent different operation modes of the same device. The CPC features of the dimmer in the various excitation angles are summarized in Table 3. It is evident in Table 1 and Table 2 that the CPC features are clearly different for each device. Moreover, the CPC features of two operation states of the same dimmer also show noticeable differences based on Table 3.
Next, examples of current waveforms and their CPC features are presented. For each figure, the left part is a simulated current waveform of a nonlinear load and the right part is the CPC features of this device. In Figure 6 and Figure 7, the current waveform of a filter and power diode are presented, respectively, and, in Figure 8 and Figure 9, the current waveform of a dimmer with excitation angle of 60° and 120° are shown as representing examples of various operation modes of the same device.
Figure 10 presents the network’s architecture and size in MATLAB. In this work, a two-layer feed-forward network was used. The network contains a hidden layer with sigmoid and output layer with softmax as transfer functions. The 10 CPC features are the input to classifier and the 13 devices are the outputs. The devices include the mentioned nine devices, while the dimmer is considered to be five devices, since five different excitation angles are recorded as separate waveforms (note that the dimmer is also considered as one of the nine devices). In addition, the number of neurons in the hidden layer was chosen to be 16 empirically by trial and error. To enable proper training of the ANN, all signals were also altered by adding noise. Each signal was recorded 20 times with various levels of additive white Gaussian noise. The total success of the training process was 99.2%, as can be seen from the generated confusion matrix [34] in Figure 11. In the confusion matrix, each cell on the diagonal of the matrix contains the number of machines that were correctly classified. For example, the number in the second cell on the diagonal indicates that, out of the 20 examples, 19 were correctly classified. The off diagonal cells indicate all misclassification. The cell in Row 12 and Column 3 has a value of 1, namely Machine 12 was classified as being Machine 3. In this case, a dimmer with 120° excitation angle is misclassified as being a power thyristor. The last cell in the diagonal shows the total success of the training process, in this case 99.2%, which is very good result.

4.3. Inference Results

4.3.1. Evaluation Metrics

Most of the evaluation metrics formulate as binary classification tasks, and have four possible outcomes: true positive (TP) is the number of times a device is correctly detected as ON, true negative (TN) is the number of times a device is correctly detected as OFF, false positive (FP) is the number of times a device is wrongly detected as ON, and false negative (FN) is the number of times a device is wrongly detected as OFF. In this work, we use the F-measure metric, which is common in the information retrieval domain. The F-measure [35] is the harmonic mean of precision and recall, which is given by
F - measure = 2 precision · recall precision + recall ,
where
precision = TP TP + FP , recall = TP TP + FN .
Here, precision is defined as the correct classification in all positive estimations, and recall is defined as the percentage of ON appliances that are classified correctly.

4.3.2. Simulation Results

Each device was tested 30 times with different noise. To verify the feasibility of the CPC classifier, 11 extra state operations of dimmer excitation angles were used, for which the network was not trained. The excitation angles are: 10°, 20°, 40°, 50°, 70°, 80°, 100°, 110°, 130° 140°, and 160°. Table 4 shows a classification of each untrained angle to the closest trained one. From a database that includes various devices and various dimmer excitation angles, the device with the closest operating mode was chosen.
Figure 12 is an example of a noised waveform of dimmer with excitation angle of 70°. When comparing the dimmer CPC features with the ones of a dimmer with excitation angle of 60° excitation angle, as shown in Figure 8, and the features resulting in Table 3, the CPC features of the dimmer with 70° are very close to the ones of a dimmer with excitation angle of 60°, and also close to but less than the dimmer with excitation angle of 90°. Therefore, there is a high probability that the net will classify this dimmer as the dimmer with excitation angle of 60° option.
For validation, Table 5 summarizes the F-measure results based on two methods: the suggested CPC features and 25 harmonic components [11]. The F-measure results based on CPC features is 0.87 for ANN and 0.86 for nearest neighbor, while the the F-measure results based on harmonic components is 0.83 for ANN and 0.84 for nearest neighbor. There are two devices in the CPC methods for which their classification is less accurate when compared to the harmonics components: the power thyristor, which is classified as single phase inverter and vice versa, and also the dimmer with excitation angle of 60°, which is classified as dimmer with excitation angle of 90° and vice versa. For power diode, microwave, computer, air conditioner, toaster and dimmer with excitation angle of 30° the CPC method results outperform the harmonics components method. Even though the number of CPC features is smaller than the harmonics, the accuracy is better and contains more information. Each device has a different number of harmonics, depending on its nonlinearity extent. When more harmonics are calculated per device, there might be over-fitting due to noise. If fewer harmonics are calculated than needed, then some information might be lost. Therefore, some of the device classifications are not accurate for the harmonic components. In addition, we believe that the reason the nearest neighbor classifier is better than ANN classifier in the harmonic components methods is due to over-fitting of the data.

5. Conclusions

In this paper, CPC-based supervised classifiers are used for electric load identification and classification. The classifier is based on two different techniques: artificial neural network and nearest neighbor. The theoretical background of CPC and the chosen classifier procedure are explained and demonstrated. The experimental results of the simulations are presented in two categories: (1) identifying a single device out of a variety of devices; and (2) identifying the operation state of a single device.
Using CPC implies a constant and small number of features, which keeps the signal’s property regardless of the harmonic content. This study has shown high success in identifying a device activation out of 13 input devices stored in the database when compared to harmonic components features. Moreover, an example if using varying excitation angles of a dimmer is proposed to demonstrate the ability of the system to identify the closest operation mode of a device. The results show that the trained classifier identified each untrained excitation angle as the closest to it.
Other methods in the literature (e.g., [11,12]) did not test the classification of an untrained operation. In contrast, the authors of [15] classified a specific device (washing machine) operation, but without including other devices in the data. Future research will include CPC features as electric load signature for classification in larger device databases, power quality tasks and later in non-intrusive load monitoring problems [36,37].

Author Contributions

Y.B. and R.M. conceived the original idea, contributed to the design and implementation of the research, to the analysis of the results and to the writing of the manuscript. Y.B. supervised the project.

Funding

This research was supported in part by the Israel Smart Grid Consortium, administered by the office of the Chief Scientist of the Israel innovation authority.

Acknowledgments

The authors want to thank SATEC Ltd. for contributing their power quality monitors.

Conflicts of Interest

The authors certify that they have NO affiliations with or involvement in any organization or entity with any financial interest (such as honoraria; educational grants; participation in speakers bureaus; membership, employment, consultancies, stock ownership, or other equity interest; and expert testimony or patent-licensing arrangements), or nonfinancial interest (such as personal or professional relationships, affiliations, knowledge or beliefs) in the subject matter or materials discussed in this manuscript.

Abbreviations

The following abbreviations are used in this manuscript:
ANNartificial neural network
CPCcurrents’ physical components
DCdirect current
FFTfast Fourier transform
FNfalse negative
FPfalse positive
MSEmean square error
TNtrue negative
TPtrue positive
RMSRoot mean square

References

  1. Hashmi, M.; Hanninen, S.; Maki, K. Survey of smart grid concepts, architectures, and technological demonstrations worldwide. In Proceedings of the 2011 IEEE PES Confrence on Innovative Smart-Grid Technologies Latin America (ISGT LA), Medellin, Colombia, 19–21 October 2011; IEEE: Piscataway, NJ, USA, 2011. [Google Scholar] [CrossRef]
  2. Haq, A.; Jacobsen, H.A. Prospects of Appliance-Level Load Monitoring in Off-the-Shelf Energy Monitors: A Technical Review. Energies 2018, 11, 189. [Google Scholar] [CrossRef]
  3. Valero, S.; Ortiz, M.; Senabre, C.; Alvarez, C.; Franco, F.; Gabaldon, A. Methods for customer and demand response policies selection in new electricity markets. IET Gener. Transm. Distrib. 2007, 1, 104. [Google Scholar] [CrossRef]
  4. Grandjean, A.; Adnot, J.; Binet, G. A review and an analysis of the residential electric load curve models. Renew. Sustain. Energy Rev. 2012, 16, 6539–6565. [Google Scholar] [CrossRef]
  5. Ren, Y.; Wu, H.; Yang, H.; Yang, S.; Li, Z. A Method for Load Classification and Energy Scheduling Optimization to Improve Load Reliability. Energies 2018, 11, 1558. [Google Scholar] [CrossRef]
  6. Jiang, D.L.; Wang, K.W.; Wang, X.D. Clustering method of fuzzy equivalence matrix to bad-data detection and identification. Power Syst. Prot. Control. 2011, 39, 1–6. [Google Scholar]
  7. Chicco, G.; Napoli, R.; Postolache, P.; Scutariu, M.; Toader, C. Customer characterization options for improving the tariff offer. IEEE Trans. Power Syst. 2003, 18, 381–387. [Google Scholar] [CrossRef]
  8. Fan, G.F.; Peng, L.L.; Hong, W.C. Short term load forecasting based on phase space reconstruction algorithm and bi-square kernel regression model. Appl. Energy 2018, 224, 13–33. [Google Scholar] [CrossRef]
  9. Dong, Y.; Zhang, Z.; Hong, W.C. A Hybrid Seasonal Mechanism with a Chaotic Cuckoo Search Algorithm with a Support Vector Regression Model for Electric Load Forecasting. Energies 2018, 11, 1009. [Google Scholar] [CrossRef]
  10. Hong, W.C.; Li, M.W.; Geng, J.; Zhang, Y. Novel chaotic bat algorithm for forecasting complex motion of floating platforms. Appl. Math. Model. 2019, 72, 425–443. [Google Scholar] [CrossRef]
  11. Fernandes, R.A.S.; da Silva, I.N.; Oleskovicz, M. Load Profile Identification Interface for Consumer Online Monitoring Purposes in Smart Grids. IEEE Trans. Ind. Inform. 2013, 9, 1507–1517. [Google Scholar] [CrossRef]
  12. Gursoy, E.; Niebur, D. Harmonic Load Identification Using Complex Independent Component Analysis. IEEE Trans. Power Deliv. 2009, 24, 285–292. [Google Scholar] [CrossRef]
  13. Chicco, G.; Ilie, I.S. Support Vector Clustering of Electrical Load Pattern Data. IEEE Trans. Power Syst. 2009, 24, 1619–1628. [Google Scholar] [CrossRef]
  14. Chen, M.T.; Lin, C.M. Standby Power Management of a Smart Home Appliance by Using Energy Saving System With Active Loading Feature Identification. IEEE Trans. Consum. Electron. 2019, 65, 11–17. [Google Scholar] [CrossRef]
  15. Goumas, S.; Zervakis, M.; Stavrakakis, G. Classification of washing machines vibration signals using discrete wavelet analysis for feature extraction. IEEE Trans. Instrum. Meas. 2002, 51, 497–508. [Google Scholar] [CrossRef]
  16. Chicco, G.; Napoli, R.; Piglione, F.; Postolache, P.; Scutariu, M.; Toader, C. Load Pattern-Based Classification of Electricity Customers. IEEE Trans. Power Syst. 2004, 19, 1232–1239. [Google Scholar] [CrossRef]
  17. López, J.J.; Aguado, J.A.; Martín, F.; Muñoz, F.; Rodríguez, A.; Ruiz, J.E. Hopfield–K-Means clustering algorithm: A proposal for the segmentation of electricity customers. Electr. Power Syst. Res. 2011, 81, 716–724. [Google Scholar] [CrossRef]
  18. Mutanen, A.; Ruska, M.; Repo, S.; Jarventausta, P. Customer Classification and Load Profiling Method for Distribution Systems. IEEE Trans. Power Deliv. 2011, 26, 1755–1763. [Google Scholar] [CrossRef]
  19. Jota, P.R.; Silva, V.R.; Jota, F.G. Building load management using cluster and statistical analyses. Int. J. Electr. Power Energy Syst. 2011, 33, 1498–1505. [Google Scholar] [CrossRef]
  20. le Zhou, K.; lin Yang, S.; Shen, C. A review of electric load classification in smart grid environment. Renew. Sustain. Energy Rev. 2013, 24, 103–110. [Google Scholar] [CrossRef]
  21. Czarnecki, L.S. Currents’ physical components (CPC) concept: A fundamental of power theory. In Proceedings of the 2008 International School on Nonsinusoidal Currents and Compensation, Lagow, Poland, 10–13 June 2008; IEEE: Piscataway, NJ, USA, 2008. [Google Scholar] [CrossRef]
  22. Czarnecki, L. Could Power Properties of Three-Phase Systems Be Described in Terms of the Poynting Vector? IEEE Trans. Power Deliv. 2006, 21, 339–344. [Google Scholar] [CrossRef]
  23. Czarnecki, L.; Pearce, S. Compensation objectives and Currents Physical Components generation of reference signals for shunt switching compensator control. IET Power Electron. 2009, 2, 33–41. [Google Scholar] [CrossRef]
  24. Firlit, A. Current’s physical components theory and pq power theory in the control of the three-phase shunt active power filter. Electr. Power Qual. Util. 2007, 13, 59–66. [Google Scholar]
  25. Calamero, N.; Beck, Y.; Shmilovitz, D. Defining the Unique Signatures of Loads Using the Currents’ Physical Components Theory and $Z$-Transform. IEEE Trans. Ind. Inform. 2015, 11, 155–165. [Google Scholar] [CrossRef]
  26. Czarnecki, L.S. Considerations on the Reactive Power in Nonsinusoidal Situations. IEEE Trans. Instrum. Meas. 1985, IM-34, 399–404. [Google Scholar] [CrossRef]
  27. Czarnecki, L. Scattered and reactive current, voltage, and power in circuits with nonsinusoidal waveforms and their compensation (power systems). IEEE Trans. Instrum. Meas. 1991, 40, 563–574. [Google Scholar] [CrossRef]
  28. Czarnecki, L.; Swietlicki, T. Powers in nonsinusoidal networks: Their interpretation, analysis, and measurement. IEEE Trans. Instrum. Meas. 1990, 39, 340–345. [Google Scholar] [CrossRef]
  29. Emanuel, A.E. Power Definitions and the Physical Mechanism of Power Flow; IEEE Press: Piscataway, NJ, USA, 2010. [Google Scholar]
  30. Bollen, M.; Gu, I.; Santoso, S.; Mcgranaghan, M.; Crossley, P.; Ribeiro, M.; Ribeiro, P. Bridging the gap between signal and power. IEEE Signal Process. Mag. 2009, 26, 12–31. [Google Scholar] [CrossRef]
  31. Bishop, C.M. Pattern Recognition and Machine Learning; Springer: Berlin/Heidelberg, Germany, 2006. [Google Scholar]
  32. Cover, T.; Hart, P. Nearest neighbor pattern classification. IEEE Trans. Inf. Theory 1967, 13, 21–27. [Google Scholar] [CrossRef]
  33. Beale, M.H.; Hagan, M.T.; Demuth, H.B. Neural Network Toolbox: User’s Guide; Matlab, MathWorks: Natick, MA, USA, 1992. [Google Scholar]
  34. Susmaga, R. Confusion Matrix Visualization. In Intelligent Information Processing and Web Mining; Springer: Berlin/Heidelberg, Germany, 2004; pp. 107–116. [Google Scholar] [CrossRef]
  35. Hripcsak, G.; Rothschild, A.S. Agreement, the F-measure, and reliability in information retrieval. J. Am. Med Inform. Assoc. 2005, 12, 296–298. [Google Scholar] [CrossRef]
  36. Bouhouras, A.; Gkaidatzis, P.; Chatzisavvas, K.; Panagiotou, E.; Poulakis, N.; Christoforidis, G. Load Signature Formulation for Non-Intrusive Load Monitoring Based on Current Measurements. Energies 2017, 10, 538. [Google Scholar] [CrossRef]
  37. Du, S.; Li, M.; Han, S.; Shi, J.; Li, H. Multi-Pattern Data Mining and Recognition of Primary Electric Appliances from Single Non-Intrusive Load Monitoring Data. Energies 2019, 12, 992. [Google Scholar] [CrossRef]
Figure 1. The back-propagation training process for neural network.
Figure 1. The back-propagation training process for neural network.
Energies 12 04137 g001
Figure 2. Block diagram of the CPC feature extraction process.
Figure 2. Block diagram of the CPC feature extraction process.
Energies 12 04137 g002
Figure 3. (a) Training process for creating a network of CPC features; and (b) inference process for unknown machine/device.
Figure 3. (a) Training process for creating a network of CPC features; and (b) inference process for unknown machine/device.
Energies 12 04137 g003
Figure 4. Architecture of the neural network.
Figure 4. Architecture of the neural network.
Energies 12 04137 g004
Figure 5. SATEC EM720 smart power meter.
Figure 5. SATEC EM720 smart power meter.
Energies 12 04137 g005
Figure 6. Filter: (a) simulated current waveform; and (b) CPC features.
Figure 6. Filter: (a) simulated current waveform; and (b) CPC features.
Energies 12 04137 g006
Figure 7. Diode: (a) Simulated current waveform; and (b) CPC features.
Figure 7. Diode: (a) Simulated current waveform; and (b) CPC features.
Energies 12 04137 g007
Figure 8. Dimmer with excitation angle of 60°: (a) simulated current waveform; and (b) CPC features.
Figure 8. Dimmer with excitation angle of 60°: (a) simulated current waveform; and (b) CPC features.
Energies 12 04137 g008
Figure 9. Dimmer with excitation angle of 120°: (a) simulated current waveform; and (b) CPC features.
Figure 9. Dimmer with excitation angle of 120°: (a) simulated current waveform; and (b) CPC features.
Energies 12 04137 g009
Figure 10. Network architecture and size in MATLAB.
Figure 10. Network architecture and size in MATLAB.
Energies 12 04137 g010
Figure 11. Confusion matrix for the ANN training process.
Figure 11. Confusion matrix for the ANN training process.
Energies 12 04137 g011
Figure 12. Noisy dimmer with excitation angle of 70°: (a) simulated current waveform; and (b) CPC features.
Figure 12. Noisy dimmer with excitation angle of 70°: (a) simulated current waveform; and (b) CPC features.
Energies 12 04137 g012
Table 1. CPC features for the chosen tested Devices 1–4.
Table 1. CPC features for the chosen tested Devices 1–4.
Device/FeatureFilterDiodePower ThyristorInverter
i0.5770.5030.4940.514
i a 0.00030.3420.1310.393
i s 000.4110.019
i r 0.1430.0960.2210.27
i c 0.550.3560.0890.189
P00.2420.0830.281
Q0.10080.0680.140.194
D s 000.2610.0014
D c 0.3950.2520.0570.1353
S0.4080.3550.3130.367
Output1234
Table 2. CPC features for the chosen tested Devices 5–8.
Table 2. CPC features for the chosen tested Devices 5–8.
Device/FeatureMicrowaveComputerAir conditionerToster
i0.6050.7180.6210.746
i a 0.5930.5520.0290.33
i s 0.0230.1120.0010.32
i r 0.790.3930.0150.108
i c 0.880.2110.6190.7443
P0.420.3890.0210.0232
Q0.05540.2770.0110.0076
D s 0.0160.0790.0010.0225
D c 0.0620.1490.4460.526
S0.4250.5070.44660.527
Output5678
Table 3. CPC features for the dimmer various operation states (different excitation angles).
Table 3. CPC features for the dimmer various operation states (different excitation angles).
Device/Featuredimmer 30°dimmer 60°dimmer 90°dimmer 120°dimmer 150°
i0.69540.630.510.40.315
i a 0.6860.570.370.1920.073
i s 00000
i r 0.0830.1780.2270.19660.05
i c 0.0730.1920.2610.29130.3025
P0.48540.4040.2630.1360.052
Q0.06870.1260.160.1390.0354
D s 00000
D c 0.05150.13570.1840.20.214
S0.4920.4440.3590.2830.223
Output910111213
Table 4. Classification of untrained dimmer’s excitation angle to a known output.
Table 4. Classification of untrained dimmer’s excitation angle to a known output.
Un-Trained Excitation AngleClassify Dimmer
dimmer 10°, 20°, 40°dimmer 30°
dimmer 50°, 70°dimmer 60°
dimmer 80°, 100°dimmer 90°
dimmer 110°, 130°dimmer 120°
dimmer 140°, 160°dimmer 150°
Table 5. F-measure results.
Table 5. F-measure results.
FeaturesCPC25 Harmonics [11]
Device/ClassifierANNNearest NeighborANNNearest Neighbor
power filter0.98310.98310.92311
power diode110.86790.3972
power thyristor0.68970.69770.88240.8525
single phase inverter0.5660.61860.98311
microwave10.68180.98310.8824
computer0.882410.74071
air conditioner0.88240.88240.37840.333
toaster110.40540.7895
dimmer 30°110.40.481
dimmer 60°0.74130.7511
dimmer 90°0.74130.741311
dimmer 120°0.92860.947411
dimmer 150°0.98880.902411
Average0.87640.86250.83060.8444

Share and Cite

MDPI and ACS Style

Beck, Y.; Machlev, R. Harmonic Loads Classification by Means of Currents’ Physical Components. Energies 2019, 12, 4137. https://doi.org/10.3390/en12214137

AMA Style

Beck Y, Machlev R. Harmonic Loads Classification by Means of Currents’ Physical Components. Energies. 2019; 12(21):4137. https://doi.org/10.3390/en12214137

Chicago/Turabian Style

Beck, Yuval, and Ram Machlev. 2019. "Harmonic Loads Classification by Means of Currents’ Physical Components" Energies 12, no. 21: 4137. https://doi.org/10.3390/en12214137

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