Skip to main content

ORIGINAL RESEARCH article

Front. Energy Res., 05 August 2021
Sec. Smart Grids
Volume 9 - 2021 | https://doi.org/10.3389/fenrg.2021.720391

Nonintrusive Monitoring for Electric Vehicles Based on Zero-Shot Learning

www.frontiersin.orgJingwei Hu www.frontiersin.orgRufei Ren www.frontiersin.orgJie Hu www.frontiersin.orgQiuye Sun*
  • College of Information Science and Engineering, Northeastern University, Shenyang, China

Monitoring the charging behavior of electric vehicle clusters will contribute to developing more effective energy management strategies for grid operators. A low implementation cost leads to a wide application prospect in nonintrusive monitoring for EVs. Aiming at the problem that traditional nonintrusive monitoring methods cannot identify unknown devices accurately due to the lack of classes, a nonintrusive monitoring method based on zero-shot learning (ZSL) is proposed in this article, one which can monitor the unknown types of EVs connected to charging piles. First, the charging characteristics of known EVs and unknown EVs are extracted by dictionary learning. Then EVs are classified by ZSL based on sparse coding. Furthermore, EVs are decomposed based on the proposed multimode factorial hidden Markov model (FHMM). Finally, the EV dataset of Pecan Street is used to verify the effectiveness and accuracy of the proposed method.

1 Introduction

With the continuous improvement of the penetration of renewable energy, the gradual decline in the electricity price has been making EVs more appealing to consumers (Liu et al., 2013). The promotion of EVs is regarded as one of the effective means to achieve energy conservation and emission reduction. When a large number of EVs are connected to the grid for charging and discharging, EVs are no longer just transport agents but also controllable loads and distributed energy sources in the energy system (Sun et al., 2019; Wang et al., 2021b). In this sense, EVs are distributed and mobile energy storage units.

However, the random and uncertain behavior generated by the EVs’ charging demand will have many negative effects on the grid (Ahmadian et al., 2015; Mehta et al., 2018). These effects include increased peak power demand and overloads on feeders and transformers, especially in the distribution network (Li et al., 2019; Wang et al., 2020a). Therefore, it is necessary to monitor the charging and discharging behavior of EVs.

According to the EV charging environment, EV monitoring can be divided into household EV monitoring and parking lot EV monitoring (Rastogi et al., 2019). At present, the minimum charging and discharging power of EVs sold on the market is 3 KW, which is 5–10 times that of most household appliances. When the household charging pile is connected with EVs, the power fluctuation is obvious. For parking lots equipped with charging piles, most of them are planned in buildings, such as apartments, office buildings, and shopping malls. Due to the high power demand of EVs, it is significant to monitor such EV clusters:

1) For the parking lot with a large number of charging piles, its charging behavior has a certain regularity and synchronization, and such cluster charging behavior will generate a surge in the electricity demand (Li et al., 2021). In order to ensure intelligent charging of EVs, the power grid/third-party assistance can monitor EV charging in a more intelligent way (Dickerman and Harrison, 2010; Rastogi et al., 2019);

2) Charging an EV takes longer than filling up an internal combustion engine vehicle. The real-time queuing information for EVs can be provided by monitoring the parking lot equipped with charging piles, including the number of EVs being charged and the estimated waiting time (de Weerdt et al., 2016; Goel et al., 2020);

3) In the long-term vision, one of the goals of the smart grid is to optimize the power service economy by establishing a two-way relationship between the power grid and EVs (Zeff, 2016). EVs can be regarded as energy storage. In the future, the advantages of short-term storage of EVs can be used to charge in the trough power demand and feed energy back to the grid in the peak power demand (Ahmadian et al., 2020; Wang et al., 2021a).

EV monitoring can be divided into intrusive monitoring and nonintrusive monitoring (NIM). Measurement data of each charging pile are required to be collected in intrusive EV monitoring, so as to realize real-time charging and discharging power monitoring of EVs. This intrusive monitoring method has a high cost of installation and maintenance due to the need to install a data acquisition device on each charging pile. The nonintrusive monitoring method was proposed by Hart in 1992. This method only needs the aggregated data measured at a single metering point to effectively realize the monitoring and identification of EVs.

In recent years, in the field of nonintrusive monitoring, many scholars have devoted themselves to improving the accuracy and applicability of NIM technology. Various methods have been used for NIM. An energy decomposition algorithm based on the adversarial network and the joint adaptation network is applied to NIM, which reduces the distribution gap of the feature space and the label space between the source domain and the target domain (Liu et al., 2021). A multitask NIM model based on the deep neural network is proposed, which can simultaneously analyze energy estimation and load state detection (Cimen et al., 2021). A hybrid event detection method is used for NIM for devices with long transients, high fluctuations, and/or near simultaneous action (Lu and Li, 2020). A multi-label classification method based on sparse representation classification is proposed, which can realize a fuzzy clustering algorithm inspired by NIM competitive-aggregation constrained by the entropy index through less training data (Singh and Majumdar, 2020). A low-complexity unsupervised NIM algorithm is proposed for the use of devices in families (Liu et al., 2019). In view of device feature representation in event-based NIM, Faustine et al. combined the adaptive weighted recursive graph block with the deep neural network architecture for device identification (Faustine et al., 2021). A convolutional neural network based on multi-scale features and context information is used to improve the accuracy of load decomposition (Chen et al., 2020). In order to improve the accuracy of new data decomposition, Hasan Rafiq trained the deep convolutional neural network model through data expansion (Rafiq et al., 2021). Taking advantage of the fact that the HMM can model multimode devices separately, a layered hidden Markov model (HHMM) is used for load decomposition of household appliances, one which can conduct nonintrusive monitoring of appliances with multiple modes and different power consumptions (Kong et al., 2018).

Recently, with the popularity of EVs, nonintrusive EV monitoring has gradually attracted the attention of scholars. On the basis of NIM, a training-free, nonintrusive load extraction algorithm was proposed based on boundary box fitting and load characteristics (Zhao et al., 2019), which can automatically identify the start time, end time, and power amplitude of charging events. Based on the low-frequency characteristics of the charging load mode, a charging load extraction method based on residential smart meter data was proposed to realize the nonintrusive extraction of the residential EV charging load mode (Xiang et al., 2021). Based on independent component analysis, an unsupervised EV charging load extraction method is proposed in the study by Munshi and Mohamed (2019). The proposed algorithm only requires the low-frequency active power measurement data. A nonintrusive identification method for EV charging curve extraction driven by a depth generation model is proposed in the study by Wang et al. (2020b). The proposed Markov model embedded in the presentation layer can solve the likelihood distribution overlap of learning.

However, there are many types of EVs and various battery types in EVs, and NIM needs to know the types and characteristics of monitored objects in advance, which greatly limits the accuracy of monitoring EVs.

Zero-shot learning (ZSL) provides an effective solution to the problem of class absence in nonintrusive EV monitoring. ZSL refers to the technology of using some known category data and the auxiliary information corresponding to the known category to train a certain model, so as to realize the classification and recognition of the data of the unknown category. A ZSL approach is proposed to simulate knowledge transfer between classes by learning visually consistent word vectors and tag embedding models (Demirel et al., 2019). The main idea is to project the vector space word vectors of attributes and classes into the visual space, so as to make the word representation of semantically related classes more close and, furthermore, use the proposed projection vector embedded in the model to identify the invisible classes. A transfer-sensing embedded projection method to solve multi-label ZSL learning was proposed in the study by Ye and Guo (2019). In this method, the label embedding vector is projected into a low-dimensional space to induce a better inter-label relationship, and the multi-label classifier with the largest boundary is learned via the projection label embedding. A ZSL classification method is proposed, which can automatically learn label embedding from input data in a semi-supervised large-profit learning framework, in the study by Li et al. (2015). A generation model is proposed, which simplifies the ZSL problem to a supervised classification task, in the study by Sariyildiz and Cinbis (2019). A ZSL method based on unsupervised domain adaptation was proposed in the study by Kodirov et al. (2015). In order to overcome the problem of the domain shift in the process of ZSL projection, the method regularized sparse coding to regularize the target domain projection.

In view of this, this study proposes a nonintrusive EV monitoring method based on the ZSL factor hidden Markov model. Firstly, the charge–discharge characteristics of known EVs and unknown EVs connected to the charging pile were extracted by dictionary learning. Furthermore, ZSL based on sparse coding is used to classify EVs. Finally, EVs are decomposed based on the proposed FHMM based on the bilateral long-term and short-term memory network (Bi-LSTM).

The rest of this article is organized as follows: Section 2 describes the nonintrusive EV monitoring and extracts and classifies the charging and discharging status of EVs, Section 3 proposes an FHMM-based EV decomposition method, Section 4 discusses the proposed method of performing simulation and verification, and conclusions are drawn in section 5.

2 EVs’ Charge–Discharge Status Extraction and Classification

A framework of nonintrusive monitoring for EV clusters is given in Figure 1. The data monitored using the meter include the building load and the EV charging load. In the study by Munshi and Mohamed (2019), the existing EV charging loads are summarized into seven types, as shown in Table 1. However, as the market for EVs gradually expands, the charging power of EVs will also be varied. During nonintrusive monitoring of EVs’ charge–discharge power, EVs of an unknown charge–discharge model are identified. In the parking lot of Figure 1, there are seven known-model EVs and one unknown-model EV.

FIGURE 1
www.frontiersin.org

FIGURE 1. Framework of nonintrusive monitoring for the electric vehicle cluster.

TABLE 1
www.frontiersin.org

TABLE 1. Battery parameters of typical EVs.

2.1 Definitions

The total power time series monitored using the meter is x={x1,x2,,xT}, where the EVs’ charge–discharge power time series is P={P1,P2,,PT}. The parking lot has M charging piles, one charging pile supports only one EV access, and the charge–discharge power time series of the mth charging pile is pm={pm,1,pm,2,,pm,T}. pm,t represents the magnitude of the charging power at time period t for the mth charging pile. In other words, the total power curves of M charging piles represent the charge–discharge power time series of EVs in this region. In addition, a maximum of M EVs are charged and discharged at time period t.

Furthermore, in the time period t, sm,t represents the charge–discharge state of the charging pile, that is, if the charging pile is in the charging state, then sm,t=1; if the charging pile is in the stopping state, then sm,t=0; and if the EV is in the discharging state, then sm,t=1. It is worth noting that one charging pile may successively access multiple different types of EVs in the time series T. Although the charge–discharge state of the charging pile is a time series of (0,1,1), the charge–discharge power may vary in size.

2.2 Description of the Problem

Suppose the time series of the EV charge–discharge power of the group NEV is known, and the known dataset constituted by it is DEV={(pEV,i,yEV,i)}i=1NEV, where pEV,i represents the charge–discharge power time series of the EV of the group i and yEV,i represents the corresponding EV label. Each known class EV label comes from a collection YEV of known class labels, that is, yEV,iYEV={yi}i=1QEV, where QEV is the number of known-type EVs. In addition, the time series of the charge–discharge power of the group NX of EVs to be identified constitutes the unknown dataset DX={(pX,i,yX,i)}i=1NX. For each unknown power time series pX,i, its label yX,i comes from the unknown class label set YX, that is, yX,iYX={yi}i=1QX, where QX is the number of unknown-type EVs. The set YEV of known category labels and the set YX of unknown category labels constitute the complete set Y of categories, and the set of known category labels and the set of unknown category labels do not intersect with each other, that is, YEVYX=Y, YEVYX=.

In most studies at home and abroad, the nonintrusive monitoring problem for low-frequency data is mostly regarded as a load decomposition problem, and the related technologies mainly have two subtasks: 1) classification and 2) reconstruction. First, the operation state of the device can be divided into known classes by classification, and second, the time series monitored using the meter can be reconstructed based on the classification results. Based on the purpose of nonintrusive monitoring, a nonintrusive EV recognition method based on zero-sample migration learning is proposed in this study. The classification model is trained by using the known dataset DEV={(pEV,i,yEV,i)}i=1NEV of EVs and its auxiliary information, and the knowledge learned by the known dataset is effectively migrated to the unknown dataset, so as to realize the classification of the unknown EV dataset.

Considering the case of the unknown type of EVs accessing charging piles for charge–discharge, there is a mapping offset problem due to the poor generalization ability of the mapping model when classifying the operating state of EVs. It is shown that in the training process, the model maps the time series of known EVs’ charge–discharge power into the known class label space in the semantic space, and due to the lack of the unknown dataset composed of the time series of EVs’ charge–discharge power to be identified, the classification model will not map the unknown dataset into the unknown class label space at the time of testing, that is, there is a mapping offset, and the unknown EV category cannot be accurately identified.

2.3. Zero-Shot Classification Based on Sparse Coding

To solve the mapping offset problem of unknown-type EVs in the recognition process, this study converts the projection function learning problem into a sparse coding problem using the unsupervised domain adaptive model proposed in the study by Kodirov et al. (2015) as follows: each dimension of the semantic embedding space corresponds to the dictionary base vector, and the sparse code of each feature vector is its projection in the semantic embedding space. Regularity terms are introduced separately for the dictionary learning problem of the charge–discharge power time series of known-type EVs and unknown-type EVs. The known-type EVs’ semantic dictionary learning problem can be expressed as follows:

LEV=minLEVPEVLEVHEVF2+λLEV22,s.t.li221,(1)

where LEV is the semantic dictionary of known-type EVs, HEV is the semantic representation of known-type EVs, F is the Frobenius norm, and λ controls the strength of the regular term.

Unlike known-type EVs’ semantic dictionary learning, in unknown-type EVs’ semantic dictionary learning, both the unknown-type EV semantic dictionary LX and the unknown-type EV semantic representation SX are unknown. To overcome the domain offset problem during learning, that is, mapping offset, LEV and HX time is used to optimize LX. Therefore, the unknown-type EVs’ semantic dictionary learning problem can be expressed as follows:

{LX,HX}=minLX,SXPXLXHXF2+λ1LXLEVF2+λ2i,jωijsiqj22+λ3LX1,s.t.li221,(2)

where LX1=i=1NXli1, qj is the representation of yX,j in the semantic embedding space, and ωij is the probability that the input time series belongs to the label yX,j, whose size can be estimated using the IAP model (Lampert et al., 2009). The first regular term LXLEV is used to limit the fitness of LX vs. LEV, and the second regular term hiqj is used to limit the similarity of the representation of unknown-type EVs’ power time series in the semantic embedding space to the representation of unknown-type EV labels in the semantic embedding space. Based on Eq. 3, the method of alternating iteration is used to solve one, and HX and LX are fixed to solve another, as follows:

LX*=argminLXPXLXHXF2+λ1LXLEVF2HX*=argminHXPXLXHXF2+λ2i,jωijhiqj22+λ3LX1.(3)

3 Nonintrusive Hidden Markov Load Decomposition

3.1 FHMM Model

The HMM can well describe the influence of the system equipment state change on the system output. The traditional HMM structure is given by, and its model θ can be expressed as follows:

θ=(A,B,π),(4)

where A is the state transition matrix, B is the observation matrix, and π is the initial state probability distribution, which is expressed as follows:

π=φ(s1=i),A=[aij]=φ(st=j|st1=i),B=φ(xt|st=i)N(μi,εi),(5)

where φ(xt|st=i) denotes the output probability of the state st=i to the observation matrix xt, which obeys a normal distribution, μi is the mean vector, and εi is the covariance matrix of the observation matrix.

In the HMM-based nonintrusive monitoring problem of EVs, π and A determine the EVs’ charge–discharge state sequence, and B determines the EVs’ charge–discharge power time series P1:T={p1,p2,,pT}. The nonintrusive monitoring of EVs based on the HMM can be divided into two stages: model parameter estimation and observation matrix decoding. In the model estimation stage, the model parameters are estimated by unsupervised learning or supervised learning, so that the probability of observed EVs’ charge–discharge power time series under this model parameter reaches the largest, that is, θ*=argmaxφ(x|θ); in the observation matrix decoding stage, the charge–discharge status and charging power of each charging pile are decomposed according to the optimal parameter θ* estimated in the previous stage and the input EV charge–discharge power time series xt.

The charge–discharge states of EVs can be represented by Figure 2. EVs’ charge–discharge state can be divided into the OFF state and the ON state. The OFF state represents that EVs are in the standby state due to system scheduling or full battery power, which is equivalent to ending the charge–discharge behavior, that is, changing from OFF to End; the ON state represents that EVs are in the charge–discharge state, and there is a certain probability of ending the charge–discharge state. According to the EV charge–discharge state transfer rule, the charge–discharge state of the charging pile during the time series T can be expressed as S1:T={s1,s2,,sT}, where st={1,0,1}.

FIGURE 2
www.frontiersin.org

FIGURE 2. Schematic diagram of EV charging–discharge state transfer.

According to the EV cluster monitoring framework depicted in Figure 1, the nonintrusive monitoring structure based on the FHMM is shown in Figure 3. Since the observable time series in this FHMM framework is the total power output containing the building and parking lot charging stakes, and not the EV charge–discharge power time series, P1:T needs to be extracted from X1:T={x1,x2,,xT}.

FIGURE 3
www.frontiersin.org

FIGURE 3. Framework of nonintrusive monitoring for the EV cluster.

3.2. Bi-LSTM Model

In the process of extracting P={p1,p2,,pT}, upon considering the state of charge (SOC) of the battery in EVs, it is not only determined by the current moment t and the future period t+ charge–discharge power but also by the charge–discharge power of the past period t. Conventional LSTM performs forward transfer updating of the hidden layer state via one-way time series input when training, while full epoch data of X1:T are required when extracting EVs’ charge–discharge time series. Based on this, in this study, P1:T is extracted using Bi-LSTM, and its structure is shown in Figure 4. The output expression of the bidirectional LSTM is as follows:

pϑ,tjoin=[pϑ,tforw,pϑ,tback],ϑ[1,υ],(6)

where pϑ,tforw, pϑ,tback, and pϑ,tjoin are the outputs of the forward LSTM neural network, the reverse LSTM neural network, and the Bi-LSTM in the hidden layer of layer ϑ at time t, respectively; υ is the number of hidden layers. The LSTM network used in this study contains six layers, in which the length of the input layer is the length of the time window t, the second layer is the convolution layer, which is used to extract features from the signal, the third and fourth layers are Bi-LSTM, the fifth layer is the convolution layer, and the sixth layer is the full connection layer. The whole network is trained using the time forward and reverse bidirectional propagation method.

FIGURE 4
www.frontiersin.org

FIGURE 4. Operating characteristics of the MT.

3.3 Nonintrusive EV Decomposition

In the framework shown in Figure 3, we note that although the charge–discharge time series of each charging pile are independent of each other, that is, M parallel Markov chains. Compared with the 3M state combinations of HMM charging piles at time t, the decomposition of EVs based on the FHMM effectively reduces the complexity of the decomposition algorithm.

Considering that the known types of EVs are limited and the charge–discharge time series of the same type of EVs are similar, there may be multiple EVs of the same type for charge–discharge at time t. Based on the EVs’ charge–discharge characteristics, this study further reduces the computational complexity of the EV decomposition model and classifies the same type of EV charge–discharge state at time t into a Markov chain. The improved HMM structure in Figure 5 shows that there are Q+1 types of EVs, of which Q types of EVs are known, and (Q+1)th is an unknown type of EV accessed by the charging pile. Here, the number of each type of EV accessed by the charging pile is assumed to be {d1,d2,,dQ}. Therefore, the charge–discharge state of EVs of type qth at moment t can be expressed as follows:

st(q)={1,11dq,12dq,,0,1dq,2dq,,1}(7)

In the process of EV decomposition, considering that there are many unknown types of EVs connected to the charging pile and the charge–discharge power of unknown types of EVs is different, because the specific model of unknown types of EVs cannot be given, all unknown types of EVs’ charge–discharge behavior is equivalent to a storage battery with unknown charge–discharge behavior in this study. When one unknown type of EV is connected to the charging pile, the hidden state is {1,0,1}, and when two unknown types of EVs are connected to the charging pile, the hidden state is {1,11l1,11l2,1l1+l2l1l2,0,1l1,1l2,l1+l2l1l2,1}.

FIGURE 5
www.frontiersin.org

FIGURE 5. Framework of nonintrusive monitoring for the EV cluster.

The nonintrusive FHMM model parameters based on clusters of EVs can be expressed as follows:

π=φ(s1(1),s1(2),,s1(Q+1)),A=φ(st(1),st(2),,st(Q+1)|st1(1),st1(2),,st1(Q+1)),B=φ(pt|st(1),st(2),,st(Q+1))N(μi,εi).(8)

The FHMM model is composed of clusters of the same type of EV, each HMM chain represents the same type of EV, and the charge–discharge power and charge–discharge status are independent of each other between each type of EV. Therefore, the HMM model parameters constituted by each type of EV cluster are solved one by one, and thus obtain the total FHMM model parameters, such that the following occurs:

θ*=argmaxθj=1|P1:T|stSφ(P=pt,S=st;θ).(9)

In this study, the EM (expectation maximization) algorithm is used to estimate the model parameters of Eq. 9. Two auxiliary variables, one forward variable αt(q)(i) and one backward variable βt(q)(i), need to be used in the calculation. The forward variable αt(q)(i) represents the joint probability of an EV charge–discharge time series p1(n),,pt(n) of type qth at time t and the charge–discharge state i. Given the initial parameter θ0, αt(q)(i) can be expressed as follows:

αt(q)(i)=φ(st(q)=i,p1(n),,pt(n),θ0).(10)

Under the initial conditions, αt(q)(i) is expressed as follows:

α1(q)(i)=φ(s1(q)=i)φ(p1(n)|s1(q)=i).(11)

Based on the α1(q)(i) forward recursion, the following occurs:

αt+1(q)(j)=iαt(q)(i)aij(q)φ(pt+1(n)|st+1(q)=j).(12)

The backward variable βt(q)(i) represents the probability of observing an EV charge–discharge time series of type qth as pt+1(n),,pT(n) at time t and the charge–discharge state i. Given an initial parameter θ0, βt(q)(i) can be expressed as follows:

βt(q)(i)=φ(pt+1(n),,pT(n)|st(q)=i,θ0).(13)

Similarly, the backward variable βt(q)(i) can also be calculated using the recursive formula as follows:

βt(q)(i)=jaij(q)φ(pt+1(n)|st+1(q)=j)βt+1(q)(j),(14)

where the initial value βT(q)(i)=1.

Based on the two variables above, the FHMM decomposition process for a given initial parameter θ0 and the observation sequence P(q)=[p1(q),p2(q),,pT(q)] can be divided into the following two steps:

1) E-Step: Compute the probability ξt(q)(i,j) of EVs of type qth shifting from state st(q)=i to state st+1(q)=j and the probability γt(q)(i) of presenting state st(q)=i at time t as follows:

ξt(q)(i,j)=φ(st(q)=i,st+1(q)=j|P(q),θ0)=αt(q)(i)aij(q)φ(pt+1(n)|st+1(q)=j)βt+1(q)(j)i=1j=1αt(q)(i)aij(q)φ(pt+1(n)|st+1(q)=j)βt+1(q)(j),(15)
γt(q)(i)=φ(st(q)=i|P(q),θ0)=αt(q)(i)βt(q)(i)jαt(q)(j)βt(q)(j).(16)

2) M-Step: Recalculate model parameters for qth HMM chains as follows:

π^i(q)=γ1(q)(i),(17)
a^ij(q)=t=1Tξt(q)(i,j)t=1Tγt(q)(i,j),(18)
μ^i(q)=t=1Tγt(q)(i)pt(q)t=1Tγt(q)(i),(19)
ε^i(q)=t=1Tγt(q)(i)(pt(q)μ^i(q))(pt(q)μ^i(q))Tt=1Tt=1Tγt(q)(i).(20)

3) Forward variables α1(q)(i) and backward variables βt(q)(i), ξt(q)(i,j), and γt(q)(i) are iteratively calculated according to the new parameter cycle until convergence.

After all the parameters of the FHMM model are obtained, the hidden state can be decoded by applying the Viterbi algorithm to the summarized power consumption sequence. In the Viterbi algorithm, the variable δt(i) is introduced. We define δt(i) as the probability maximum of all states {s1,s1,,st} to the observation sequence {p1,p2,,pT} at the moment t as follows:

δt+1(i)=max1jN{δt(j)aji}φ(pt+1|st+1=i),(21)

where N is the number of hidden layer states of EVs, t=1,2,,T.

The nonintrusive monitoring step of EVs based on the Viterbi algorithm is as follows:

1) input θ0=(π^i,a^ij,μ^i,ε^i) and EV charge–discharge time series P1:T={p1,p2,,pT};

2) initialize δ1(i)=πiφ(p1|s1=i);

3) recurrent δt(i)=max1jN{δt1(j)aji}φ(pt|st=i); and

4) optimal path backtracking for t=T1,T2,,1, st(i)=argmax1jN{δt(j)}.

4 Experiment and Result

4.1 Dataset Description

In order to verify that the method proposed in this study can classify unknown types of EVs effectively and, furthermore, monitor the charging behavior of EVs accurately, the processed EV dataset of Pecan Street is used for training and testing. Specifically, the dataset consists of 16,000 sets of EV charging data belonging to eight types. In the ZSL process, seven types of known EV data are used for training and one type of unknown EV data is used for testing, among which power levels of EVs are used as EV labels, that is, YEV={3,3.3,,10}. The data sampling interval is 1 min. Charging services for EVs are provided by 120 primary/secondary charging piles.

4.2 Zero-Shot Classification

In order to ensure that the method proposed in this study can accurately identify the access of unknown types of EVs in the EV cluster, this study selects seven kinds of EV charging data commonly available in the market for training and uses 6-kW EVs for testing. The test results are shown in Figure 6. It can be seen that zero-sample classification based on sparse coding can well identify the access of different types of EVs and has certain classification functions for unknown types of EVs. It is worth noting that the EV classification effect with a small power level difference is weaker than the EV classification effect with a large power level difference. Therefore, the classification effect of the {3kW,3.3kW,3.6kW} and {7kW,7.2kW,7.4kW} sets in Figure 6 is not very obvious.

FIGURE 6
www.frontiersin.org

FIGURE 6. Confusion matrices on different types of EVs.

Considering the classification problem between EVs and other devices, this study took REDD centralized electric appliance equipment and 3.3-kW type EVs as the training set to test the EVs of {6kW}. The classification effect is shown in Figure 7.

FIGURE 7
www.frontiersin.org

FIGURE 7. Confusion matrices on different appliances.

In order to verify the recognition effect of different EV type combination training sets on unknown EV test sets, this study selects typical types of EV combinations for testing. The test sets include from one type of EV to four types of EV combinations. The recognition effect is shown in Table 2. It can be seen from Table 2 that the more EV types there are, the better the recognition effect will be. In the case of a certain number of EV types, the more dispersed the EV power level is, the better the recognition effect will be.

TABLE 2
www.frontiersin.org

TABLE 2. Classification effects of different combinations of EV types.

To further verify the correctness of the conclusions above, this article studies the influence of the sample size of each EV type training set on the recognition effect. The results are shown in Figure 8. It can be seen that the greater the number of samples in the training set, the more obvious the effect. At the same time, the performance tends to be stable when the sample size of the training set reaches 300.

FIGURE 8
www.frontiersin.org

FIGURE 8. Influence of the EV sample size on the recognition effect.

4.3 EVs’ Nonintrusive Decomposition

In order to verify the nonintrusive monitoring method of EVs proposed in this study, the decomposition effects of the traditional FHMM and the proposed method were compared. Figure 9 shows the nonintrusive identification effect of the traditional FHMM, in which Figure 9A shows the charging state of 120 charging piles, Figure 9B shows the charging power of charging piles obtained based on LSTM, and Figure 9C shows the total charging power of EVs decomposed based on the FHMM.

FIGURE 9
www.frontiersin.org

FIGURE 9. Charging load decomposition effect of the traditional FHMM. (A) Charging state of 120 charging piles. (B) Charging power of charging piles. (C) Total charging power of EVs decomposed based on the FHMM.

The nonintrusive decomposition effect of EVs based on the method proposed in this study is shown in Figure 10. The charging states of EVs connected by charging piles is shown in Figure 10A, where the first 7 EVs are the charging status of known EVs, and the eighth is the charging status of unknown EVs.

FIGURE 10
www.frontiersin.org

FIGURE 10. Charging load decomposition effect of the traditional FHMM. (A) Charging states of EVs. (B) Charging power of each type of EV. (C) Total charging power of EVs decomposed based on the proposed method.

FIGURE 11
www.frontiersin.org

FIGURE 11. Structure of LSTM.

Based on the decomposed EV charging state, the charging power of each type of EV can be obtained using Bi-LSTM. As shown in Figure 10B, the total power curve is synthesized according to the decomposed EV charging power. By comparing with Figure 9C, it can be seen that the nonintrusive decomposition of EVs proposed in this study has a higher precision.

5 Conclusion

In this study, the FHMM framework is used to develop a nonintrusive monitoring method based on ZSL. The charge–discharge characteristics of known EVs and unknown EVs connected to the charging pile were extracted by dictionary learning, and furthermore, the ZSL based on sparse coding was used to classify EVs, which could effectively identify the unknown EVs. In the validation process, the processed Pecan Street EV dataset was used for training and testing. Compared with the traditional FHMM, the nonintrusive decomposition of EVs proposed in this study has a higher accuracy.

Data Availability Statement

The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.

Author Contributions

JH was responsible for the specific work of this article. JH and RR carried out some of the calculation work. QS guided the work of this article.

Conflict of Interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Publisher’s Note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

Acknowledgments

The authors acknowledge the funding of the National Key Research and Development Program of China (2018YFA0702200) and the National Natural Science Foundation of China (U20A20190 and 62073065).

References

Ahmadian, A., Mohammadi-Ivatloo, B., and Elkamel, A. (2020). A Review on Plug-In Electric Vehicles: Introduction, Current Status, and Load Modeling Techniques. J. Mod. Power Syst. Clean Energ. 8, 412–425. doi:10.35833/MPCE.2018.000802

CrossRef Full Text | Google Scholar

Ahmadian, A., Sedghi, M., and Aliakbar-Golkar, M. (2015). “Stochastic Modeling of Plug-In Electric Vehicles Load Demand in Residential Grids Considering Nonlinear Battery Charge Characteristic,” in 2015 20th Conference on Electrical Power Distribution Networks Conference (EPDC), Zahedan, Iran, April 28–29, 2015, 22–26. doi:10.1109/EPDC.2015.7330467

CrossRef Full Text | Google Scholar

Chen, K., Zhang, Y., Wang, Q., Hu, J., Fan, H., and He, J. (2020). Scale- and Context-Aware Convolutional Non-intrusive Load Monitoring. IEEE Trans. Power Syst. 35, 2362–2373. doi:10.1109/TPWRS.2019.2953225

CrossRef Full Text | Google Scholar

Cimen, H., Cetinkaya, N., Vasquez, J. C., and Guerrero, J. M. (2021). A Microgrid Energy Management System Based on Non-intrusive Load Monitoring via Multitask Learning. IEEE Trans. Smart Grid 12, 977–987. doi:10.1109/TSG.2020.3027491

CrossRef Full Text | Google Scholar

de Weerdt, M. M., Stein, S., Gerding, E. H., Robu, V., and Jennings, N. R. (2016). Intention-aware Routing of Electric Vehicles. IEEE Trans. Intell. Transport. Syst. 17, 1472–1482. doi:10.1109/TITS.2015.2506900

CrossRef Full Text | Google Scholar

Demirel, B., Cinbis, R. G., and Ikizler-Cinbis, N. (2019). “Learning Visually Consistent Label Embeddings for Zero-Shot Learning,” in 2019 IEEE International Conference on Image Processing (ICIP), Taipei, China, September 22–25, 2019, 3656–3660. doi:10.1109/ICIP.2019.8803458

CrossRef Full Text | Google Scholar

Dickerman, L., and Harrison, J. (2010). A New Car, a New Grid. IEEE Power Energ. Mag. 8, 55–61. doi:10.1109/MPE.2009.935553

CrossRef Full Text | Google Scholar

Faustine, A., Pereira, L., and Klemenjak, C. (2021). Adaptive Weighted Recurrence Graphs for Appliance Recognition in Non-intrusive Load Monitoring. IEEE Trans. Smart Grid 12, 398–406. doi:10.1109/TSG.2020.3010621

CrossRef Full Text | Google Scholar

Goel, S., Kumar, R., Kumar, A., and Malhotra, R. (2020). Smart Station Search Assistance for Electric Vehicle-A Step toward Smart City. IEEE Consumer Electron. Mag. 9, 27–33. doi:10.1109/MCE.2020.2985656

CrossRef Full Text | Google Scholar

Kodirov, E., Xiang, T., Fu, Z., and Gong, S. (2015). “Unsupervised Domain Adaptation for Zero-Shot Learning,” in 2015 IEEE International Conference on Computer Vision (ICCV), Santiago, Chile, December 7–13, 2015, 2452–2460. doi:10.1109/ICCV.2015.282

CrossRef Full Text | Google Scholar

Kong, W., Dong, Z. Y., Hill, D. J., Ma, J., Zhao, J. H., and Luo, F. J. (2018). A Hierarchical Hidden Markov Model Framework for home Appliance Modeling. IEEE Trans. Smart Grid 9, 3079–3090. doi:10.1109/TSG.2016.2626389

CrossRef Full Text | Google Scholar

Lampert, C. H., Nickisch, H., and Harmeling, S. (2009). “Learning to Detect Unseen Object Classes by Between-Class Attribute Transfer,” in 2009 IEEE Conference on Computer Vision and Pattern Recognition, Miami, Florida, June 20–25, 2009, 951–958. doi:10.1109/CVPR.2009.5206594

CrossRef Full Text | Google Scholar

Li, X., Guo, Y., and Schuurmans, D. (2015). “Semi-supervised Zero-Shot Classification with Label Representation Learning,” in 2015 IEEE International Conference on Computer Vision (ICCV), Santiago, Chile, December 7–13, 2015, 4211–4219. doi:10.1109/ICCV.2015.479

CrossRef Full Text | Google Scholar

Li, Y., Gao, W., Yan, W., Huang, S., Wang, R., Gevorgian, V., et al. (2021). Data-driven Optimal Control Strategy for Virtual Synchronous Generator via Deep Reinforcement Learning Approach. J. Mod. Power Syst. Clean Energ., 1–11. doi:10.35833/MPCE.2020.000267

CrossRef Full Text | Google Scholar

Li, Y., Zhang, H., Liang, X., and Huang, B. (2019). Event-triggered-based Distributed Cooperative Energy Management for Multienergy Systems. IEEE Trans. Ind. Inf. 15, 2008–2022. doi:10.1109/TII.2018.2862436

CrossRef Full Text | Google Scholar

Liu, C., Chau, K. T., Wu, D., and Gao, S. (2013). Opportunities and Challenges of vehicle-to-home, Vehicle-To-Vehicle, and Vehicle-To-Grid Technologies. Proc. IEEE 101, 2409–2427. doi:10.1109/JPROC.2013.2271951

CrossRef Full Text | Google Scholar

Liu, Q., Kamoto, K. M., Liu, X., Sun, M., and Linge, N. (2019). Low-complexity Non-intrusive Load Monitoring Using Unsupervised Learning and Generalized Appliance Models. IEEE Trans. Consumer Electron. 65, 28–37. doi:10.1109/TCE.2019.2891160

CrossRef Full Text | Google Scholar

Liu, Y., Zhong, L., Qiu, J., Lu, J., and Wang, W. (2021). Unsupervised Domain Adaptation for Non-intrusive Load Monitoring via Adversarial and Joint Adaptation Network. IEEE Trans. Ind. Inf. 1, 1. doi:10.1109/TII.2021.3065934

CrossRef Full Text | Google Scholar

Lu, M., and Li, Z. (2020). A Hybrid Event Detection Approach for Non-intrusive Load Monitoring. IEEE Trans. Smart Grid 11, 528–540. doi:10.1109/TSG.2019.2924862

CrossRef Full Text | Google Scholar

Mehta, R., Srinivasan, D., Khambadkone, A. M., Yang, J., and Trivedi, A. (2018). Smart Charging Strategies for Optimal Integration of Plug-In Electric Vehicles within Existing Distribution System Infrastructure. IEEE Trans. Smart Grid 9, 299–312. doi:10.1109/TSG.2016.2550559

CrossRef Full Text | Google Scholar

Munshi, A. A., and Mohamed, Y. A.-R. I. (2019). Unsupervised Nonintrusive Extraction of Electrical Vehicle Charging Load Patterns. IEEE Trans. Ind. Inf. 15, 266–279. doi:10.1109/TII.2018.2806936

CrossRef Full Text | Google Scholar

Rafiq, H., Shi, X., Zhang, H., Li, H., Ochani, M. K., and Shah, A. A. (2021). Generalizability Improvement of Deep Learning-Based Non-Intrusive Load Monitoring System Using Data Augmentation. IEEE Trans. Smart Grid 12, 3265–3277. doi:10.1109/TSG.2021.3082622

CrossRef Full Text | Google Scholar

Rastogi, S. K., Sankar, A., Manglik, K., Mishra, S. K., and Mohanty, S. P. (2019). Toward the Vision of All-Electric Vehicles in a Decade [energy and Security]. IEEE Consumer Electron. Mag. 8, 103–107. doi:10.1109/MCE.2018.2880848

CrossRef Full Text | Google Scholar

Rui, W., Qiuye, S., Dazhong, M., and Xuguang, H. (2020a). Line Impedance Cooperative Stability Region Identification Method for Grid-Tied Inverters under Weak Grids. IEEE Trans. Smart Grid 11, 2856–2866. doi:10.1109/TSG.2020.2970174

CrossRef Full Text | Google Scholar

Sariyildiz, M. B., and Cinbis, R. G. (2019). “Gradient Matching Generative Networks for Zero-Shot Learning,” in 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Los Angeles, California, June 16–20, 2015, 2163–2173. doi:10.1109/CVPR.2019.00227

CrossRef Full Text | Google Scholar

Singh, S., and Majumdar, A. (2020). Non-intrusive Load Monitoring via Multi-Label Sparse Representation-Based Classification. IEEE Trans. Smart Grid 11, 1799–1801. doi:10.1109/TSG.2019.2938090

CrossRef Full Text | Google Scholar

Sun, Q., Zhang, N., You, S., and Wang, J. (2019). The Dual Control with Consideration of Security Operation and Economic Efficiency for Energy Hub. IEEE Trans. Smart Grid 10, 5930–5941. doi:10.1109/TSG.2019.2893285

CrossRef Full Text | Google Scholar

Wang, R., Sun, Q., Hu, W., Li, Y., Ma, D., and Wang, P. (2021a). Soc-based Droop Coefficients Stability Region Analysis of the Battery for Stand-Alone Supply Systems with Constant Power Loads. IEEE Trans. Power Electron. 36, 7866–7879. doi:10.1109/TPEL.2021.3049241

CrossRef Full Text | Google Scholar

Wang, R., Sun, Q., Tu, P., Xiao, J., Gui, Y., and Wang, P. (2021b). Reduced-order Aggregate Model for Large-Scale Converters with Inhomogeneous Initial Conditions in Dc Microgrids. IEEE Trans. Energ. Convers. 1, 1. doi:10.1109/TEC.2021.3050434

CrossRef Full Text | Google Scholar

Wang, S., Du, L., Ye, J., and Zhao, D. (2020b). A Deep Generative Model for Non-intrusive Identification of Ev Charging Profiles. IEEE Trans. Smart Grid 11, 4916–4927. doi:10.1109/TSG.2020.2998080

CrossRef Full Text | Google Scholar

Xiang, Y., Wang, Y., Xia, S., and Teng, F. (2021). Charging Load Pattern Extraction for Residential Electric Vehicles: A Training-free Non-intrusive Method. IEEE Trans. Ind. Inf. 1, 1. doi:10.1109/TII.2021.3060450

CrossRef Full Text | Google Scholar

Ye, M., and Guo, Y. (2019). Multi-label Zero-Shot Learning with Transfer-Aware Label Embedding Projection. In 2019 IEEE International Conference on Image Processing (ICIP), Taipei, China, September 22–25, 2019, 3671–3675. doi:10.1109/ICIP.2019.8803720

CrossRef Full Text | Google Scholar

Zeff, S. (2016). My Electric Journey with a Nissan Leaf: A Classic Early-Adopter Experience. IEEE Consumer Electron. Mag. 5, 79–80. doi:10.1109/MCE.2016.2556839

CrossRef Full Text | Google Scholar

Zhao, H., Yan, X., and Ma, L. (2019). Training-free Non-intrusive Load Extracting of Residential Electric Vehicle Charging Loads. IEEE Access 7, 117044–117053. doi:10.1109/ACCESS.2019.2936589

CrossRef Full Text | Google Scholar

Keywords: nonintrusive monitoring, electric vehicles, zero-shot learning, factorial hidden markov model, long short-term memory

Citation: Hu J, Ren R, Hu J and Sun Q (2021) Nonintrusive Monitoring for Electric Vehicles Based on Zero-Shot Learning. Front. Energy Res. 9:720391. doi: 10.3389/fenrg.2021.720391

Received: 04 June 2021; Accepted: 02 July 2021;
Published: 05 August 2021.

Edited by:

Peng Li, Tianjin University, China

Reviewed by:

Pengfei Tu, Nanyang Technological University, Singapore
Wei Hu, Zhejiang University, China

Copyright © 2021 Hu, Ren, Hu and Sun. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Qiuye Sun, sunqiuye@ise.neu.edu.cn

Download