Applied Computational Intelligence and Soft Computing

Volume 2013 (2013), Article ID 686345, 7 pages

http://dx.doi.org/10.1155/2013/686345

## A Novel Feature Extraction Method for Nonintrusive Appliance Load Monitoring

^{1}Department of Electrical and Electronics Engineering, Lebanese International University, Mazraa, Beirut 146404, Lebanon^{2}Pascal Institute, UMR 6602, 24 Avenue des Landais, 63177 Aubière Cedex, France

Received 30 March 2013; Accepted 12 April 2013

Academic Editor: Baoding Liu

Copyright © 2013 Khaled Chahine and Khalil El Khamlichi Drissi. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

Improving energy efficiency by monitoring household electrical consumption is of significant importance with the climate change concerns of the present time. A solution for the electrical consumption management problem is the use of a nonintrusive appliance load monitoring (NIALM) system. This system captures the signals from the aggregate consumption, extracts the features from these signals and classifies the extracted features in order to identify the switched-on appliances. This paper focuses solely on feature extraction through applying the matrix pencil method, a well-known parametric estimation technique, to the drawn electric current. The result is a compact representation of the current signal in terms of complex numbers referred to as poles and residues. These complex numbers are shown to be characteristic of the considered load and can thus serve as features in any subsequent classification module. In the absence of noise, simulations indicate an almost perfect agreement between theoretical and estimated values of poles and residues. For real data, poles and residues are used to determine a feature vector consisting of the contribution of the fundamental, the third, and the fifth harmonic currents to the maximum of the total load current. The result is a three-dimensional feature space with reduced intercluster overlap.

#### 1. Introduction

The reason behind the drive for the installation of smart meters in homes and businesses is that they facilitate for consumers to monitor their energy consumption, thereby making it easier for them to save energy, carbon emissions, and money. To help customers as well as utilities in the monitoring process, researchers have been studying load disaggregation schemes for more than two decades.

One method of load disaggregation is distributed direct sensing which requires a sensor at each device or appliance in order to measure consumption. The one-sensor-per-device requirement is both the blessing and the curse of this method, for it is highly accurate but expensive. To overcome the limitations associated with the direct sensing approach, researchers have explored methods to infer disaggregated energy usage via a single sensor. Pioneering work in this area is non intrusive appliance load monitoring (NIALM), first introduced by Hart in the late 1980s [1]. In contrast to the direct sensing methods, NIALM relies solely on single-point measurements of voltage and current on the power feed entering the household. NIALM consists of four steps: data acquisition, event detection, feature extraction, and event classification. The raw current and voltage waveforms are transformed into a feature vector, that is, a more compact and meaningful representation that may include real power, reactive power, current-voltage phase difference, and harmonics (e.g., [2]). These extracted features are monitored for changes, identified as events (e.g., an appliance turning “on” or “off”), and classified down to the appliance or device category level using a classification algorithm, which usually compares the features to a preexisting database of signatures. Several reviews of feature extraction methods for electric loads in residential and commercial buildings can be found in the literature [3, 4].

Based on the degree of nonintrusiveness, the literature draws a distinction between manual-setup NIALM (MS-NIALM) and automatic-setup NIALM (AS-NIALM) systems. While the former requires switching individual appliances on and off manually to learn their signatures, the latter sets itself up using prior information about potential appliances. AS-NIALM hence extracts the signatures and labels them without any sort of manual intervention which would greatly facilitate mass installation of smart meters. To the authors’ knowledge, no AS-NIALM system has hitherto been implemented. It is hence the main goal of this work to pave the way for such a solution.

In this paper, the matrix pencil method, a well-known parametric estimation technique, is applied to the electric current drawn by some elementary linear and nonlinear electric loads driven by a sinusoidal voltage source as well as real loads. The result is a compact representation of the current in terms of complex numbers referred to as poles and residues [5, 6]. These complex numbers are shown to be characteristic of the considered load and thus can serve as features for the subsequent classification phase [7]. For both synthetic and real data, results indicate that poles and residues extracted by the MPM allow an almost perfect reconstruction of drawn electric currents. Results obtained from a database of a household indicate that the extracted features succeed in reducing the intercluster overlap of different appliances.

The objectives of this paper are summarized in the following two points: (1) show that the reduced number of poles and residues estimated by MPM enable an accurate reconstruction of synthetic and real signals;(2) show that the fundamental and higher harmonic currents determined from poles and residues yield a feature space with reduced intercluster overlap.

The rest of the paper is organized as follows. Section 2 presents the signal model and the principle of the MPM. Sections 3 and 4 show the validation on simulated and real data, respectively. Finally, Section 5 provides the summary and conclusion.

#### 2. Feature Extraction

##### 2.1. Signal Model

For a sinusoidal driving voltage of the form , the drawn electric current can be modeled as a linear combination of cisoids (complex-valued sinusoidal signals) weighted by complex residues according to the following signal model: where is the residue of the th cisoid, is its attenuation factor, is its frequency, and is additive white Gaussian noise. After sampling, the time variable, , is replaced by , where is the chosen sampling period. The discrete current signal becomes where is the th complex pole. Under matrix form, the signal model is expressed by with the following notational definitions: The superscript denotes the transpose operator.

The feature extraction problem can now be stated as follows. Given the electric current data sequence , use a feature extraction method to extract the complex poles and residues of the load.

##### 2.2. Matrix Pencil Method (MPM)

This section briefly recalls the principle of MPM which is a linear prediction method tailored to the parameter estimation of the damped/undamped exponential model. Starting from the signal model given in (1), MPM chooses a free parameter, , known as the pencil parameter such as . The proper choice of results in significant robustness against noise. The next step is to construct a Hankel data matrix: Two matrices are then obtained by removing the last and first columns of . In MATLAB notation, they are given as follows: The matrix pencil for the two matrices and is defined as their linear combination , with a scalar parameter. In the absence of noise and owing to the assumed signal model, it is easily verified that and admit the following Vandermonde decomposition: where revealing the fundamental shift-invariance property in the column and row spaces. The matrix pencil can then be written as where is the identity matrix. Hence, each value of is a rank-reducing number of the pencil. The estimates of are, therefore, the generalized eigenvalues (GEVs) of the matrix pair .

Once the complex poles are determined, the complex residues can be estimated using a least squares fit having the following solution:

For noisy data, total least squares matrix pencil method (TLSMPM) is usually preferred in which the singular value decomposition is used to prefilter the complex signals, and then conventional procedures follow. For more details, the reader can refer to [8].

#### 3. Validation on Synthetic Data

##### 3.1. Linear Loads

To validate MPM as a feature extraction method, we shall first compare its poles and residues with those obtained from the theoretical expressions of the following linear elementary loads: series RC, series RL, parallel RL, and series RLC. The RC and RL circuits lead to first order differential equations in time whereas the RLC circuit leads to a second-order differential equation. Using Euler’s formula and rearranging allow rewriting the current expression obtained from the solution of the differential equation characterizing the load in the form of (1). The poles and residues of each elementary load can then be readily identified. Tables 1, 2, 3, and 4 give the residues, attenuation factors, and frequencies of the four studied elementary loads. As can be seen from these tables, first-order circuits (RL and RC) are characterized by two pure imaginary conjugate poles representing their forced response and one real pole representing their natural response, whereas the second-order circuit (RLC) has, besides the two pure imaginary conjugate poles of its forced response, two conjugate complex poles related to its natural response. The expressions of the dependent parameters are given in the appendix.

##### 3.2. Nonlinear Loads

A nonlinear load is one for which the relationship between the current through the load and the voltage across the load is a nonlinear function. A simple view of the nature of nonlinear loads can be presented using Ohm’s Law, which states that the voltage is the product of the load resistance and the current (). For a linear load, the resistance () is a constant; for a nonlinear load, the resistance varies. When AC power is supplied to a nonlinear load, the result is the creation of currents that do not oscillate at the supply frequency. These currents are called harmonics. Harmonics occur at multiples of the supply (fundamental) frequency. For instance, if the fundamental frequency is 50 Hz, the so-called second harmonic is 100 Hz, the third harmonic is 150 Hz, and so on. Any number of harmonics can be created by a particular piece of equipment depending on that equipment’s electrical characteristics. Therefore, the current drawn by nonlinear loads can still be represented by (1) where harmonics appear in the form of pole-residue couples at frequency multiples of 50 Hz.

##### 3.3. Results

Assuming zero initial conditions ( and/or ), the following numerical values were used to determine the electric current data sequence from which MPM extracted poles and residues: Ω, mF} for the series RC circuit, Ω, for both the series and parallel RL circuits, and Ω, , mF} for the series RLC circuit. A duration of ten periods or seconds was chosen for the current which at is equivalent to 320 samples, and MPM was applied at each period. Figures 1, 2, 3, and 4 show the current obtained from the analytic expression of poles and residues in the tables above and its reconstruction obtained from the poles and residues extracted by MPM. An almost perfect agreement can be seen between the two curves indicating the accuracy of the characteristic complex numbers extracted by MPM. In addition, the figures show the forced and natural responses of each of the four elementary circuits.

To evaluate the performance of MPM on nonlinear loads, we considered the current shown in Table 5. It consists of a fundamental and four harmonics and hence can be represented by ten pairwise complex conjugate pole-residue couples. We then used MPM to extract these ten couples which served to reconstruct the current as shown in Figure 5. As can be seen, MPM is successful in estimating the pole-residue couples of the load.

#### 4. Validation on Real Data

##### 4.1. Reconstruction Results

In this section, the validation of MPM is carried out on currents of three representative loads: a television set, a vacuum cleaner, and an economy lamp. As for the case of synthetic data, MPM was applied at each period. Figures 6, 7, and 8 show the current drawn by the appliances and its reconstruction based on the pole-residue estimates of MPM. The close agreement shown in the figures indicate that the exponential model of (1) and its parameters estimated by the MPM accurately predict the response of the actual loads. It is worth mentioning that the number of pole-residue couples increases with the nonlinearity of the load. For instance, the current of the vacuum cleaner could be accurately reconstructed from four pole-residue couples, whereas that of the economy lamp needed up to twelve couples.

##### 4.2. Feature Space

The feature space contains 900 signatures uniformly distributed among the following nine appliances: incandescent lamp, halogen lamp, economy lamp, water heater, electric convector, oven, two-burner hot plate, television set, and computer. As shown in Figure 9, each signature (represented by a point in the the three-dimensional feature space) is characterized by three pole-residue products corresponding to the maxima of the fundamental, third, and fifth harmonic currents. The restriction to three frequencies has the sole aim of representing the feature space graphically. From the feature space, ten clusters representing the nine appliances can be clearly distinguished. The additional cluster is due to the two-burner hot plate which is represented by two clusters, one for each burner. It can hence be concluded that the studied appliances can be fairly distinguished using the fundamental and higher harmonics.

#### 5. Conclusion

This paper presented a novel feature extraction method for non intrusive appliance load monitoring. First, the poles and residues estimated by the matrix pencil method were shown to enable accurate reconstruction of synthetic and real current signals. Second, these complex numbers were used to determine a three-dimensional feature space with reduced intercluster overlap. Future research will make use of the extracted features for the classification phase.

#### Appendix

The dependent parameters of first-order circuits are given in Table 6, where is the time constant and is the phase angle.

In addition to the phase angle , the dependent parameters of the series RLC circuit include the resonance angular frequency and the damping factor : The roots of the characteristic equation of the second-order differential equation, and , are expressed in terms of the the damping factor as follows: Finally, and , shown in Table 4, are expressed as follows: where

#### Acknowledgment

This work was supported in part by Landis+Gyr.

#### References

- G. W. Hart, “Nonintrusive appliance load monitoring,”
*Proceedings of the IEEE*, vol. 80, no. 12, pp. 1870–1891, 1992. View at Google Scholar - C. Laughman, K. Lee, R. Cox et al., “Power signature analysis,”
*IEEE Power and Energy Magazine*, vol. 1, no. 2, pp. 56–63, 2003. View at Google Scholar - Y. Du, L. Du, B. Lu, R. Harley, and T. Habetler, “A review of identification and monitoring methods for electric loads in commercial and residential buildings,” in
*Proceedings of the 2nd IEEE Energy Conversion Congress and Exposition (ECCE '10)*, pp. 4527–4533, Atlanta, Ga, USA, September 2010. View at Publisher · View at Google Scholar · View at Scopus - M. Zeifman and K. Roth, “Nonintrusive appliance load monitoring: review and outlook,”
*IEEE Transactions on Consumer Electronics*, vol. 57, no. 1, pp. 76–84, 2011. View at Google Scholar - H. Najmeddine, K. E. K. Drissi, C. Pasquier et al., “Smart Metering by using matrix pencil,” in
*Proceedings of the 9th International Conference on Environment and Electrical Engineering (EEEIC '10)*, pp. 238–241, Prague, Czech Republic, May 2010. View at Publisher · View at Google Scholar · View at Scopus - H. Najmeddine, K. El Khamlichi Drissi, A. Diop, and T. Jouannet, “Method and device for the non-intrusive determination of the electrical power consumed by an installation, by analysing load transients,” French Patent, FR 0856717, October 2008.
- K. Chahine, K. El Khamlichi Drissi, C. Pasquier et al., “Electric load disaggregation in smart metering using a novel feature extraction method and supervised classification,”
*Energy Procedia*, vol. 6, pp. 627–632, 2011. View at Google Scholar - Y. Hua and T. K. Sarkar, “Matrix pencil method for estimating parameters of exponentially damped/undamped sinusoids in noise,”
*IEEE Transactions on Acoustics, Speech, and Signal Processing*, vol. 38, no. 5, pp. 814–824, 1990. View at Publisher · View at Google Scholar · View at Scopus