<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article article-type="research-article" dtd-version="2.3" xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Energy Res.</journal-id>
<journal-title>Frontiers in Energy Research</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Energy Res.</abbrev-journal-title>
<issn pub-type="epub">2296-598X</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">896398</article-id>
<article-id pub-id-type="doi">10.3389/fenrg.2022.896398</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Energy Research</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>A Non-Intrusive Residential Electric Bicycle Load Monitoring Method Based on Hybrid Feature Bitmap and DeiT</article-title>
<alt-title alt-title-type="left-running-head">Huang et al.</alt-title>
<alt-title alt-title-type="right-running-head">Electric Bicycle Load Monitoring</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name>
<surname>Huang</surname>
<given-names>Qifeng</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Fang</surname>
<given-names>Kaijie</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
<uri xlink:href="https://loop.frontiersin.org/people/1715827/overview"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Ding</surname>
<given-names>Zecheng</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Cheng</surname>
<given-names>Hanmiao</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/1719675/overview"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Huang</surname>
<given-names>Yixuan</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Geng</surname>
<given-names>Lulu</given-names>
</name>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Wang</surname>
<given-names>Puyu</given-names>
</name>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Xu</surname>
<given-names>Haibo</given-names>
</name>
<xref ref-type="aff" rid="aff3">
<sup>3</sup>
</xref>
</contrib>
</contrib-group>
<aff id="aff1">
<sup>1</sup>
<institution>Marketing Service Center</institution>, <institution>State Grid Jiangsu Electric Power Co., Ltd</institution>, <addr-line>Nanjing</addr-line>, <country>China</country>
</aff>
<aff id="aff2">
<sup>2</sup>
<institution>School of Automation</institution>, <institution>Nanjing University of Science and Technology</institution>, <addr-line>Nanjing</addr-line>, <country>China</country>
</aff>
<aff id="aff3">
<sup>3</sup>
<institution>Xi&#x2019;an XD Power Systems Co., Ltd.</institution>, <addr-line>Xi&#x2019;an</addr-line>, <country>China</country>
</aff>
<author-notes>
<fn fn-type="edited-by">
<p>
<bold>Edited by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1222560/overview">Bo Yang</ext-link>, Kunming University of Science and Technology, China</p>
</fn>
<fn fn-type="edited-by">
<p>
<bold>Reviewed by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1727605/overview">Gan Zhou</ext-link>, Southeast University, China</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1764389/overview">XueLong Hu</ext-link>, Nanjing University of Posts and Telecommunications, China</p>
</fn>
<corresp id="c001">&#x2a;Correspondence: Kaijie Fang, <email>kaijiefang@126.com</email>
</corresp>
<fn fn-type="other">
<p>This article was submitted to Smart Grids, a section of the journal Frontiers in Energy Research</p>
</fn>
</author-notes>
<pub-date pub-type="epub">
<day>30</day>
<month>06</month>
<year>2022</year>
</pub-date>
<pub-date pub-type="collection">
<year>2022</year>
</pub-date>
<volume>10</volume>
<elocation-id>896398</elocation-id>
<history>
<date date-type="received">
<day>15</day>
<month>03</month>
<year>2022</year>
</date>
<date date-type="accepted">
<day>04</day>
<month>05</month>
<year>2022</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2022 Huang, Fang, Ding, Cheng, Huang, Geng, Wang and Xu.</copyright-statement>
<copyright-year>2022</copyright-year>
<copyright-holder>Huang, Fang, Ding, Cheng, Huang, Geng, Wang and Xu</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>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.</p>
</license>
</permissions>
<abstract>
<p>Taking into account energy management and fire safety, electric bicycles are one of the most significant household loads that require real-time sensing for nonintrusive load monitoring. V&#x2013;I trajectories, power quantities, and harmonic characteristics are the basic selection in feature space for appliance identification. Based on the study of the charging mode of electric bicycles, this study expands the V&#x2013;I trajectory into V-&#x25b3;I trajectory for gaining the load signature with multi appliances working simultaneously. We perform linear interpolation and pixelation to obtain a bitmap of the V-&#x25b3;I trajectory. Meanwhile, active and harmonic features are encoded and combined to form a hybrid feature bitmap, which is unique to compensate for the high harmonic feature loss caused by the pixelation of the V-&#x25b3;I trajectory. Furthermore, we trained the DeiT model on the self-built dataset and UK-DALE dataset and performed two experiments under single and superposition working conditions for electric bicycles. Our case results indicate that the DeiT model using hybrid feature bitmap offers better overall precision in the prediction of electric bicycles, against other deep convolutional neural networks.</p>
</abstract>
<kwd-group>
<kwd>electric bicycle identification</kwd>
<kwd>V-I trajectory</kwd>
<kwd>hybrid feature bitmap</kwd>
<kwd>DeiT model</kwd>
<kwd>deep learning</kwd>
</kwd-group>
</article-meta>
</front>
<body>
<sec id="s1">
<title>1 Introduction</title>
<p>Benefiting from the cheap price and convenient usage, electric bicycles are an important means of transportation for people, especially in China and Southeast Asian countries, and the number of electric bicycles has exceeded 300 million in China.</p>
<p>However, due to poor product quality, illegal modification, and chaotic parking and charging, safety accidents such as fires caused by electric bicycle charging have frequently occurred, which seriously endangered users and their neighborhoods. According to the data from the Fire and Rescue Bureau of the Ministry of Emergency Management of China, there are about 2,000 electric bicycle fire incidents every year around China, and about 80 percent of the accidents occurred during the charging process. For instance, on 8 August 2020, three residents lost their lives in an electric bicycle fire in Gulou District, Nanjing City, Jiangsu Province.</p>
<p>From a security and management perspective, the charging electric bicycles become one kind of malignant load in the grid. The behaviors have high randomness and strong concealment, which cause low efficiency and a high missed detection rate in the human inspection executed by managerial staff. The simple and convenient way to handle this problem is to monitor the charging behavior all the time on the grid side.</p>
<p>Professor Hart proposed the concept of load monitoring in the 1980s (<xref ref-type="bibr" rid="B16">Hart, 1992</xref>). Also, the nonintrusive load monitoring (NILM) technology rapidly received a lot of attention from scholars around the world. By analyzing the bus current from a smart meter, NILM can monitor the start and stop of each appliance of residential users and sense the detailed electricity consumption in the household (<xref ref-type="bibr" rid="B35">Zoha et al., 2012</xref>). As a special household load, electric bicycles can be completely recognizable and sensed by NILM without any additional plug-in equipment in the household.</p>
<p>Generally, four main stages are vital in NILM, consisting of data collection, event detection, feature extraction, and load identification (<xref ref-type="bibr" rid="B29">Ruano et al., 2019</xref>). Relying on metering, data collection can obtain voltage, current, active power, reactive power, and other features at low frequency and gain harmonic, transient waveform, and other information at high frequency. Then, the load event should be detected for gaining the start and end time. Li proposed an algorithm for load event detection in smart homes based on wide and deep learning that combines the convolutional neural network and the soft-max regression (<xref ref-type="bibr" rid="B23">Li et al., 2021</xref>). As for data collection and event detection, electric bicycles follow many commercial plug-in devices and detectors of NILM.</p>
<p>In terms of feature extraction, the active, reactive, and apparent powers denoted as P, Q, and S, respectively, calculated from the time series of current variables are the most used features (<xref ref-type="bibr" rid="B20">Kelly and Knottenbelt, 2015a</xref>; <xref ref-type="bibr" rid="B22">Le et al., 2015</xref>). Some start-up transient feature parameters with clear physical meanings are designed for motor load identification (<xref ref-type="bibr" rid="B24">Liu et al., 2022</xref>). Also, many researchers apply different mathematical manipulations, such as fast Fourier transform (FFT) (<xref ref-type="bibr" rid="B28">Nguyen et al., 2017</xref>; <xref ref-type="bibr" rid="B6">Bouhouras et al., 2017</xref>), discrete wavelet transformation (DWT) (<xref ref-type="bibr" rid="B9">Chang H H et al., 2013</xref>), and Hilbert transform (HT) (<xref ref-type="bibr" rid="B13">Gabald&#xf3;n et al., 2014</xref>), to deal with high-frequency time series and gain abundant information in the frequency domain, while a normalized steady-state voltage and current signals during one cycle called V-I trajectories are considered distinguishable load signatures (<xref ref-type="bibr" rid="B17">Hassan et al., 2013</xref>; <xref ref-type="bibr" rid="B33">Wang et al., 2018</xref>). In the study by <xref ref-type="bibr" rid="B15">Gao et al., (2015</xref>), contrast examples based on the PLAID public dataset certify that V&#x2013;I trajectories have more advantages in identification than other high-frequency features.</p>
<p>The load identification algorithm can be divided into optimization approaches and machine learning methods (<xref ref-type="bibr" rid="B35">Zoha et al., 2012</xref>). With the improvement of the types of identification appliances, the NP dimension of the optimization gets bigger, and the efficiency of optimization is difficult to improve. However, the machine learning methods, represented by an artificial neural network (<xref ref-type="bibr" rid="B8">Chang et al., 2015</xref>), support vector machine (<xref ref-type="bibr" rid="B30">Su et al., 2019</xref>), and decision tree (<xref ref-type="bibr" rid="B7">Buddhahai et al., 2018</xref>), can build lots of classifiers through offline data training. Also, a convolution neural network implemented on hardware was used to identify the appliance through the voltage and current (V&#x2013;I) trajectory. Showing 78.16% accuracy in the PLAID dataset, the CNN algorithm also has low processing time (5.7&#xa0;ms) and power consumption (1.868&#xa0;W) (<xref ref-type="bibr" rid="B3">Baptista et al., 2018</xref>).</p>
<p>The nonintrusive load identification models and algorithms almost focus on multiple classes of appliances and lack the identification method for a single special class such as electric bicycles. This study builds an electric bicycle sensing model based on a hybrid feature bitmap and DeiT. First, the hybrid feature bitmap, combined with V-&#x25b3;I trajectory features, power features, and high-harmonic features, is proposed in this study to avoid the information loss caused by normalization and pixelation of the trajectory. Then, this study incorporates the collecting electric bicycle charging data and other appliance data from the self-build dataset and the UK-DALE dataset into DeiT for training. In view of the single-class identification of electric bicycles, the positive data are the images of electric bicycles, and the negative data are other different appliances. Also, the case under multi-devices working at the same time is tested to effectively avoid the error identification problem of unknown electrical input. In addition, the main contributions/innovations of this study can be concluded as follows:<list list-type="simple">
<list-item>
<p>&#x2022; By improving the V&#x2013;I trajectory into V-&#x25b3;I trajectory, the feature of electric bicycle load becomes more unique and efficient for identification.</p>
</list-item>
<list-item>
<p>&#x2022; This study proposes one novel hybrid bitmap construction method to gain the most suitable input data for subsequent image classifier.</p>
</list-item>
<list-item>
<p>&#x2022; This study adapts the DeiT to realize the accurate identification of electric bicycle load in a single and complex working scene.</p>
</list-item>
</list>
</p>
<p>This study is organized as follows: the charging process of the electric cycle and its improved V-&#x25b3;I trajectory are presented in <xref ref-type="sec" rid="s2">Section 2</xref>; <xref ref-type="sec" rid="s3">Section 3</xref> illustrates the construction of a hybrid feature bitmap of electric bicycles. Also, an electric bicycle identification model based on DeiT is provided in <xref ref-type="sec" rid="s4">Section 4</xref>; <xref ref-type="sec" rid="s5">Section 5</xref> shows the practicability and effectiveness through examples, and finally, conclusions are drawn in <xref ref-type="sec" rid="s6">Section 6</xref>.</p>
</sec>
<sec id="s2">
<title>2 Charging Process and the V-&#x25b3;I Trajectory of Electric Bicycles</title>
<sec id="s2-1">
<title>2.1 Charging Process of Electric Bicycles</title>
<p>Similar to electric vehicles, electric bicycles are powered by batteries, widely known as nickel-metal hydride (NiMH) and lithium-ion (Li-ion) batteries, which require circulated energy supplement during reduplicated driving. As shown in <xref ref-type="fig" rid="F1">Figure 1</xref>, the charger is essentially a single-phase AC/DC power supply with control voltage and current output capability.</p>
<fig id="F1" position="float">
<label>FIGURE 1</label>
<caption>
<p>Block diagram of the electric bicycle charger.</p>
</caption>
<graphic xlink:href="fenrg-10-896398-g001.tif"/>
</fig>
<p>Due to the rectification and chopping links, there are a large number of odd harmonics in its output direct current. <xref ref-type="fig" rid="F2">Figure 2</xref> shows the charging current waveform directly, with a typical triangular wave appearing. Accordingly, the ratios of harmonic content are presented in <xref ref-type="fig" rid="F3">Figure 3</xref>, which are particularly obvious on odd harmonics such as three, five, and seven times.</p>
<fig id="F2" position="float">
<label>FIGURE 2</label>
<caption>
<p>Current waveform during the electric bicycle charging.</p>
</caption>
<graphic xlink:href="fenrg-10-896398-g002.tif"/>
</fig>
<fig id="F3" position="float">
<label>FIGURE 3</label>
<caption>
<p>Ratios of harmonic content during the electric bicycle charging.</p>
</caption>
<graphic xlink:href="fenrg-10-896398-g003.tif"/>
</fig>
<p>The charging method directly impacts the safety, durability, and performance of batteries. An unscientific charging method can significantly reduce the life of batteries and cause danger. According to <xref ref-type="bibr" rid="B34">Young et al. (2013)</xref>, there are three stages in common charging methods shown in the <xref ref-type="fig" rid="F4">Figure 4</xref>.<list list-type="simple">
<list-item>
<p>1) Constant current stage. In the beginning, a large current should be applied to the battery to supply the energy at maximum speed. In order to maintain a constant current to the battery, controlled charging voltage is applied to the battery. However, the voltage of the grid side is basically unchanged, so the overall power is high and constant. In this scheme, the state of charge (SOC) will increase linearly and rapidly till the cut-off point constantly reaches the thermal or other chemical limits.</p>
</list-item>
<list-item>
<p>2) Constant voltage stage. Aimed at protecting the battery, the current has been adjusted to a smaller and more flexible value for batteries. Also, as the SOC of batteries increases, the current gradually decreases to a low level.</p>
</list-item>
<list-item>
<p>3) Mixed stage. The mixed stage is the combination of constant voltage and constant current methods. In this stage, the battery will be filled with less current and voltage.</p>
</list-item>
</list>
</p>
<fig id="F4" position="float">
<label>FIGURE 4</label>
<caption>
<p>Active power curve in three charging stage.</p>
</caption>
<graphic xlink:href="fenrg-10-896398-g004.tif"/>
</fig>
</sec>
<sec id="s2-2">
<title>2.2 V-&#x25b3;I Trajectory of Electric Bicycles</title>
<p>The V&#x2013;I trajectory refers to the mutual trajectory of the instantaneous voltage and the current waveform of the electrical load (<xref ref-type="bibr" rid="B17">Hassan et al., 2013</xref>), which is mathematically manifested as a function of the sampling voltage and the current over a cycle. Baets proves that the V&#x2013;I trajectories of household loads can be extracted from the delta of voltage and current samples before and after the start-up event (<xref ref-type="bibr" rid="B10">De Baets et al., 2018</xref>). <xref ref-type="fig" rid="F5">Figure 5</xref> shows the shapes of the V&#x2013;I trajectories of two kinds of collected electric bicycles.</p>
<fig id="F5" position="float">
<label>FIGURE 5</label>
<caption>
<p>V&#x2013;I trajectories of two kinds of collected electric bicycles.</p>
</caption>
<graphic xlink:href="fenrg-10-896398-g005.tif"/>
</fig>
<p>It is clear that the V&#x2013;I trajectory exhibits distinct and easily distinguishable shape properties for electrical loads with different operating principles such as heating, motor driving, and electronic driving. At the same time, the voltage of the gird is relatively stable, and the voltage waveform of different loads is basically consistent. Therefore, the V&#x2013;I trajectory can be equivalent to the current waveform characteristics of the reactive load device.</p>
<p>However, it should be noted that these V&#x2013;I trajectories are drawn in the stable working state of the electric bicycles, without any other appliances working. When the electric bicycle load is started based on other appliances working, the steady-state current is the sum of the electric bike and other electric currents based on Kirchhoff laws. At this point, it is conceivable that the V&#x2013;I trajectory of the mixed working state is severely distorted, as shown in <xref ref-type="fig" rid="F6">Figure 6</xref>. The V&#x2013;I trajectory under multiple appliances simultaneous operating cannot present the typical shape of electric bicycle load.</p>
<fig id="F6" position="float">
<label>FIGURE 6</label>
<caption>
<p>V&#x2013;I trajectory of mixed state with electric bicycles and hairdryer both working.</p>
</caption>
<graphic xlink:href="fenrg-10-896398-g006.tif"/>
</fig>
<p>Considering that the load equipment startup is a very short transient process, assuming that the working waveform of already-on appliances is completely unchanged before and after the start event of another electric load on these background appliances is reasonable. Therefore, the difference vector (&#x25b3;I) of the current waveforms before and after the start of the electric bicycles will filter the effect caused by other working appliances. The V-&#x25b3;I trajectories calculated by the current differences and voltage will return to the situation with only one device working, where the voltage vector can take any cycle near the start event. Moreover, there are many event detection methods for NILM, such as generalized likelihood ratio (GLR) (<xref ref-type="bibr" rid="B5">Berges et al., 2011</xref>) and log-likelihood ratio (LLR) (<xref ref-type="bibr" rid="B2">Anderson et al., 2012a</xref>). In this study, a modified CUSUM algorithm (<xref ref-type="bibr" rid="B12">Fang et al., 2020</xref>) with a fast and accurate detection effect is adopted.</p>
<p>Finally, the V-&#x25b3;I trajectories of the electric bicycle devices are only approximated, not identical, which are just like the Arabic handwritten letters. Correspondingly, the identification of the electric bicycles, similar to the Arabic handwritten letter recognition, adopts image construction methods and an image recognition model.</p>
</sec>
</sec>
<sec id="s3">
<title>3 Building the Hybrid Feature Bitmap</title>
<p>In the Arabic handwritten letter recognition system, gaining the bitmaps is the first and significant step, which can reduce the complexity of characteristics and improve the accuracy of the subsequent identification. At the same time, the bitmaps cause the fuzzification of the images, which makes different devices in the same category share closer features.</p>
<sec id="s3-1">
<title>3.1 The Linear Interpolation and Pixelization of the V-&#x25b3;I Trajectory</title>
<p>In order to effectively handle the V-&#x25b3;I trajectories within the same category, this study proposes a three-step mapping algorithm, mapping the V-&#x25b3;I trajectory into a binary bitmap where each cell is assigned one binary number.</p>
<p>Given that the V-&#x25b3;I trajectory is drawn from current and voltage samples whose frequency may not match or meet the requirement, the first step is to perform the linear interpolation for the V-&#x25b3;I trajectory using the formulas given by <xref ref-type="bibr" rid="B16">Hart, (1992</xref>); <xref ref-type="bibr" rid="B35">Zoha et al., (2012)</xref>. Assuming that the number of the original current or voltage samples during one cycle is <inline-formula id="inf1">
<mml:math id="m1">
<mml:mrow>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, the formulas given by <xref ref-type="bibr" rid="B16">Hart (1992)</xref> and <xref ref-type="bibr" rid="B35">Zoha et al. (2012)</xref> expand the current or voltage samples sequence.<disp-formula id="e1">
<mml:math id="m2">
<mml:mrow>
<mml:msubsup>
<mml:mi>i</mml:mi>
<mml:mi>p</mml:mi>
<mml:mi>q</mml:mi>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mi>q</mml:mi>
<mml:mrow>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mfrac>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>i</mml:mi>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>i</mml:mi>
<mml:mi>p</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>i</mml:mi>
<mml:mi>p</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mi>q</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mrow>
<mml:mo>{</mml:mo>
<mml:mrow>
<mml:mn>1,2</mml:mn>
<mml:mo>,</mml:mo>
<mml:mo>&#x22ef;</mml:mo>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
<mml:mo>}</mml:mo>
</mml:mrow>
<mml:mo>,</mml:mo>
<mml:mi>p</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mrow>
<mml:mo>{</mml:mo>
<mml:mrow>
<mml:mn>1,2</mml:mn>
<mml:mo>,</mml:mo>
<mml:mo>&#x22ef;</mml:mo>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo>}</mml:mo>
</mml:mrow>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(1)</label>
</disp-formula>
<disp-formula id="e2">
<mml:math id="m3">
<mml:mrow>
<mml:msubsup>
<mml:mi>u</mml:mi>
<mml:mi>p</mml:mi>
<mml:mi>q</mml:mi>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mi>q</mml:mi>
<mml:mrow>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mfrac>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>u</mml:mi>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>u</mml:mi>
<mml:mi>p</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>u</mml:mi>
<mml:mi>p</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mi>q</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mrow>
<mml:mo>{</mml:mo>
<mml:mrow>
<mml:mn>1,2</mml:mn>
<mml:mo>,</mml:mo>
<mml:mo>&#x22ef;</mml:mo>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
<mml:mo>}</mml:mo>
</mml:mrow>
<mml:mo>,</mml:mo>
<mml:mi>p</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mrow>
<mml:mo>{</mml:mo>
<mml:mrow>
<mml:mn>1,2</mml:mn>
<mml:mo>,</mml:mo>
<mml:mo>&#x22ef;</mml:mo>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo>}</mml:mo>
</mml:mrow>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(2)</label>
</disp-formula>
</p>
<p>In the formula given by <xref ref-type="bibr" rid="B16">Hart (1992)</xref> and <xref ref-type="bibr" rid="B35">Zoha et al. (2012)</xref>, <inline-formula id="inf2">
<mml:math id="m4">
<mml:mrow>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the number of interpolation points between the two original samples, <inline-formula id="inf3">
<mml:math id="m5">
<mml:mrow>
<mml:msub>
<mml:mi>i</mml:mi>
<mml:mi>p</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the <inline-formula id="inf4">
<mml:math id="m6">
<mml:mrow>
<mml:msup>
<mml:mi>p</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> sample in the original current sequence, and <inline-formula id="inf5">
<mml:math id="m7">
<mml:mrow>
<mml:msubsup>
<mml:mi>i</mml:mi>
<mml:mi>p</mml:mi>
<mml:mi>q</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> is the <inline-formula id="inf6">
<mml:math id="m8">
<mml:mrow>
<mml:msup>
<mml:mi>q</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> interpolation point between sample <inline-formula id="inf7">
<mml:math id="m9">
<mml:mrow>
<mml:msub>
<mml:mi>i</mml:mi>
<mml:mi>p</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and sample <inline-formula id="inf8">
<mml:math id="m10">
<mml:mrow>
<mml:msub>
<mml:mi>i</mml:mi>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>. Similarly, <inline-formula id="inf9">
<mml:math id="m11">
<mml:mrow>
<mml:msub>
<mml:mi>u</mml:mi>
<mml:mi>p</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the <inline-formula id="inf10">
<mml:math id="m12">
<mml:mrow>
<mml:msup>
<mml:mi>p</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> sample in the original voltage sequence and <inline-formula id="inf11">
<mml:math id="m13">
<mml:mrow>
<mml:msubsup>
<mml:mi>u</mml:mi>
<mml:mi>p</mml:mi>
<mml:mi>q</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> is the <inline-formula id="inf12">
<mml:math id="m14">
<mml:mrow>
<mml:msup>
<mml:mi>q</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> interpolation point between sample <inline-formula id="inf13">
<mml:math id="m15">
<mml:mrow>
<mml:msub>
<mml:mi>u</mml:mi>
<mml:mi>p</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and sample <inline-formula id="inf14">
<mml:math id="m16">
<mml:mrow>
<mml:msub>
<mml:mi>u</mml:mi>
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>. The length of the expended current or voltage sequence is <inline-formula id="inf15">
<mml:math id="m17">
<mml:mrow>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mo>&#x2217;</mml:mo>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, also marked as <inline-formula id="inf16">
<mml:math id="m18">
<mml:mi>n</mml:mi>
</mml:math>
</inline-formula>.</p>
<p>The second step is normalization. Changing the values of current and voltage expended sequence per unit which ranges from 0 to 1 is necessary by formula (<xref ref-type="bibr" rid="B29">Ruano et al., 2019</xref>) and (<xref ref-type="bibr" rid="B23">Li et al., 2021</xref>).<disp-formula id="e3">
<mml:math id="m19">
<mml:mrow>
<mml:msub>
<mml:msup>
<mml:mi>i</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>i</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mrow>
<mml:mi>min</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mrow>
<mml:mi>max</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mrow>
<mml:mi>min</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
<mml:mo>,</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mrow>
<mml:mo>{</mml:mo>
<mml:mrow>
<mml:mn>1,2</mml:mn>
<mml:mo>,</mml:mo>
<mml:mo>&#x22ef;</mml:mo>
<mml:mo>,</mml:mo>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mo>}</mml:mo>
</mml:mrow>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(3)</label>
</disp-formula>
<disp-formula id="e4">
<mml:math id="m20">
<mml:mrow>
<mml:msub>
<mml:msup>
<mml:mi>u</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>u</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>U</mml:mi>
<mml:mrow>
<mml:mi>min</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>U</mml:mi>
<mml:mrow>
<mml:mi>max</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>U</mml:mi>
<mml:mrow>
<mml:mi>min</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
<mml:mo>,</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mrow>
<mml:mo>{</mml:mo>
<mml:mn>1,2</mml:mn>
<mml:mo>,</mml:mo>
<mml:mo>&#x22ef;</mml:mo>
<mml:mo>,</mml:mo>
<mml:mi>n</mml:mi>
<mml:mo>}</mml:mo>
</mml:mrow>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(4)</label>
</disp-formula>
</p>
<p>In the formula given by <xref ref-type="bibr" rid="B29">Ruano et al. (2019)</xref> and <xref ref-type="bibr" rid="B23">Li et al. (2021)</xref>, <inline-formula id="inf17">
<mml:math id="m21">
<mml:mrow>
<mml:msub>
<mml:msup>
<mml:mi>i</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
<mml:mi>k</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf18">
<mml:math id="m22">
<mml:mrow>
<mml:msub>
<mml:mi>i</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> are the <inline-formula id="inf19">
<mml:math id="m23">
<mml:mrow>
<mml:msup>
<mml:mi>k</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> points in the current sequence before and after normalizing, respectively. <inline-formula id="inf20">
<mml:math id="m24">
<mml:mrow>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mrow>
<mml:mi>max</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf21">
<mml:math id="m25">
<mml:mrow>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mrow>
<mml:mi>min</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the maximum and minimum value of the current sequence before normalizing, respectively. As for voltage, the <inline-formula id="inf22">
<mml:math id="m26">
<mml:mrow>
<mml:msub>
<mml:msup>
<mml:mi>u</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
<mml:mi>k</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf23">
<mml:math id="m27">
<mml:mrow>
<mml:msub>
<mml:mi>u</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf24">
<mml:math id="m28">
<mml:mrow>
<mml:msub>
<mml:mi>U</mml:mi>
<mml:mrow>
<mml:mi>max</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, and <inline-formula id="inf25">
<mml:math id="m29">
<mml:mrow>
<mml:msub>
<mml:mi>U</mml:mi>
<mml:mrow>
<mml:mi>min</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> have the same computational properties.</p>
<p>The expended current and voltage sequences should be mapped into the bitmap in the third step, also called pixelization. Generally, the mapping process involves scanning each point in sequence and finding the location cell in the image which has m&#x2a;m grid cells. The cells occupied by points in sequences will be colored in black, and unmatched cells will be white. A binary matrix, corresponding to a black-and-white bitmap, can be calculated by the formula given by <xref ref-type="bibr" rid="B24">Liu et al. (2022)</xref>.<disp-formula id="e5">
<mml:math id="m30">
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mi>x</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mo>&#x230a;</mml:mo>
<mml:mrow>
<mml:msub>
<mml:msup>
<mml:mi>u</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:mo>&#x2217;</mml:mo>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>m</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mo>&#x230b;</mml:mo>
</mml:mrow>
<mml:mo>.</mml:mo>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mi>y</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mo>&#x230a;</mml:mo>
<mml:mrow>
<mml:msub>
<mml:msup>
<mml:mi>i</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:mo>&#x2217;</mml:mo>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>m</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mo>&#x230b;</mml:mo>
</mml:mrow>
<mml:mo>.</mml:mo>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mi>M</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>y</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1.</mml:mn>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:math>
<label>(5)</label>
</disp-formula>
</p>
<p>In the formula given by <xref ref-type="bibr" rid="B24">Liu et al. (2022)</xref>, x and y are row and column indexes of matrix <inline-formula id="inf26">
<mml:math id="m31">
<mml:mi>M</mml:mi>
</mml:math>
</inline-formula>, respectively. <inline-formula id="inf27">
<mml:math id="m32">
<mml:mrow>
<mml:mrow>
<mml:mo>&#x230a;</mml:mo>
<mml:mo>&#x230b;</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is the symbol of the ceiling. All values in the bitmap are initialized as zero, and each point will be mapped to the corresponding cell.</p>
<p>It is noted that the parameter <inline-formula id="inf28">
<mml:math id="m33">
<mml:mrow>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> of linear interpolation in step 1 and the parameter m of the grid decide the degree of fuzziness of the bitmap. Under the same conditions, if the value of <inline-formula id="inf29">
<mml:math id="m34">
<mml:mrow>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf30">
<mml:math id="m35">
<mml:mi>m</mml:mi>
</mml:math>
</inline-formula> is less, the bitmap of the <inline-formula id="inf31">
<mml:math id="m36">
<mml:mrow>
<mml:mi>V</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>&#x394;</mml:mi>
<mml:mi>I</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> trajectory becomes more blurry. On the contrary, the bitmap is more close to the actual <inline-formula id="inf32">
<mml:math id="m37">
<mml:mrow>
<mml:mi>V</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>&#x394;</mml:mi>
<mml:mi>I</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> trajectory images with larger <inline-formula id="inf33">
<mml:math id="m38">
<mml:mrow>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf34">
<mml:math id="m39">
<mml:mrow>
<mml:msub>
<mml:mi>n</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>. <xref ref-type="fig" rid="F7">Figure 7</xref> is a typical bitmap of the <inline-formula id="inf35">
<mml:math id="m40">
<mml:mrow>
<mml:mi>V</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>&#x394;</mml:mi>
<mml:mi>I</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> trajectory of electric bicycles.</p>
<fig id="F7" position="float">
<label>FIGURE 7</label>
<caption>
<p>Typical bitmap of the V-&#x25b3;I trajectory of electric bicycles.</p>
</caption>
<graphic xlink:href="fenrg-10-896398-g007.tif"/>
</fig>
</sec>
<sec id="s3-2">
<title>3.2 Mixed Feature Bitmap</title>
<p>Not surprisingly, the normalized V-&#x25b3;I trajectories lack information about active and reactive power. Therefore, the bitmap of the household with the same working principle but different working power, such as laptop and television, is not considered. In addition, harmonic amplitude and phase, as the effective harmonic features, are also not considered.</p>
<p>To solve the problem caused by the normalization and pixelization of the V-&#x25b3;I trajectory and improve the accuracy of load identification, supplementary features such as active power, reactive power, and harmonic current should be added to the bitmap. This study proposes the mixed feature bitmap, combining the V-&#x25b3;I trajectory, active power, reactive power, and high odd harmonic currents from 5 to 15.</p>
<p>Each supplementary feature is just one single value within the real number fields, differing from the two-dimensional images. It is necessary to change the single value into a special image that only has one column of pixels. Before transforming, the normalization of the supplementary feature should be executed. After all, the units vary across the supplementary parameters. Also, the formula given by <xref ref-type="bibr" rid="B19">Kelly and Knottenbelt (2015b)</xref> shows the calculating process during all samples of the supplementary feature.<disp-formula id="e6">
<mml:math id="m41">
<mml:mrow>
<mml:msub>
<mml:msup>
<mml:mi>C</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi>min</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi>max</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi>min</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
<mml:mo>.</mml:mo>
</mml:mrow>
</mml:math>
<label>(6)</label>
</disp-formula>
</p>
<p>In the formula given by <xref ref-type="bibr" rid="B20">Kelly and Knottenbelt (2015a)</xref>, <inline-formula id="inf36">
<mml:math id="m42">
<mml:mrow>
<mml:msub>
<mml:msup>
<mml:mi>C</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
<mml:mi>k</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf37">
<mml:math id="m43">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> are the normalized and original values of the <inline-formula id="inf38">
<mml:math id="m44">
<mml:mrow>
<mml:msub>
<mml:mi>k</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>h</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> supplementary feature, respectively, while <inline-formula id="inf39">
<mml:math id="m45">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi>max</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf40">
<mml:math id="m46">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mi>min</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> are the maximum and minimum values of the feature in all training samples, respectively.</p>
<p>After normalizing, the next step of gaining the hybrid feature bitmap is to encode and splice the image. First, each normalized feature, constantly within [0, 1], is expended to an integer within <inline-formula id="inf41">
<mml:math id="m47">
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mn>0</mml:mn>
<mml:mo>,</mml:mo>
<mml:msup>
<mml:mn>2</mml:mn>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>]</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>. The binary code of this integer is the one-column bitmap for the feature. Horizontal splicing of binary codes of multiple features yields the bitmap of supplementary features, whose matrix expression form is <inline-formula id="inf42">
<mml:math id="m48">
<mml:mrow>
<mml:msup>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>&#xd7;</mml:mo>
<mml:mi>a</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf43">
<mml:math id="m49">
<mml:mi>a</mml:mi>
</mml:math>
</inline-formula> is the number of supplementary features. As shown in <xref ref-type="fig" rid="F7">Figure 7</xref>, the hybrid feature bitmap <inline-formula id="inf44">
<mml:math id="m50">
<mml:mrow>
<mml:mi>M</mml:mi>
<mml:msup>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mo>&#xd7;</mml:mo>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>a</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>m</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> can be easily gained by combining the sub-bitmap of the V-&#x25b3;I trajectory and supplementary features.</p>
</sec>
</sec>
<sec id="s4">
<title>4 The Identification Model Based on Data-Efficient Image Transformers</title>
<p>Obviously, this study draws a black and white image for each sample, called a hybrid feature bitmap, containing the V-&#x25b3;I trajectory, active power, reactive power, and harmonic features. Just like one given Arabic handwritten letter system, electric bicycle load can be extracted and identified by convolutional neural networks (CNNs). In this study, the Data-efficient image Transformer (DeiT) model, which has achieved better results on the large dataset ImageNet, is used for electric bicycle recognition.</p>
<p>The transformer is a natural language processing (NLP) model proposed by Google in 2017 (<xref ref-type="bibr" rid="B32">Vaswani A et al., 2017</xref>). Based on the self-attention mechanism, it can not only be trained in a parallel way but can also capture global context information and mine the dependencies between long-distance information. In October 2020, Dosovitskiy proposed the Vision Transformer (ViT) model (<xref ref-type="bibr" rid="B11">Dosovitskiy A et al., 2020</xref>), an image classification scheme based entirely on the self-attention mechanism. It is also the first work in the CV field where the Transformer completely replaces standard convolution. However, the ViT model requires millions of datasets to achieve ideal accuracy and generalization ability, and it is difficult for most researchers and projects to obtain such large datasets and computing resources, especially in the field of electric bicycle identification. Therefore, Facebook proposed a Data-efficient image Transformer (DeiT) (<xref ref-type="bibr" rid="B31">Touvron H et al., 2021</xref>) model based on knowledge distillation in 2021, which efficiently reduces the amount of dataset and time required for training without declining the accuracy of ViT.</p>
<sec id="s4-1">
<title>4.1 Transformer and ViT</title>
<p>The Transformer framework consists of an encoder and a decoder. The encoder comprises N identical encoder layers. Each encoder layer includes sub-modules such as multi-head attention, sum and norm layer, feed-forward neural network, etc. The decoder also comprises N identical decoder layers. In addition to including the same four sub-modules as the encoder, each decoder also adds a masked multi-head attention module to avoid subsequent information in the decoding process as known information to predict the current information.</p>
<p>The heavy use of the layer called self-attention is most special in Transformer. Also, the Attention mechanism imitates the internal process of biological observation behavior, and increasing the fineness of observation in some areas can quickly extract important features of sparse data. Self-attention is a variant of the attention mechanism, which reduces the dependence on external information and is better at capturing the internal correlation of data or features. The application of the self-attention mechanism in text mainly solves the problem of long-distance dependence by calculating the mutual influence between words. Multihead self-attention is the connection and mapping of multiple self-attention mechanisms. The purpose is to construct multiple sub-spaces and find correlations between input data from different angles so that multiple relationships and subtle differences can be encoded.</p>
<p>Compared with the traditional cyclic neural network, the Transformer network has no input sequence but adopts the idea of parallelization to speed up the operation so that the model can process the next sequence at the same time when the result of the previous sequence has not been revealed. Therefore, in order not to lose order, it is necessary to combine position embedding before inputting the sequence.</p>
<p>In order to convert the image into sequence data that can be processed by the Transformer structure, the two-dimensional image is first processed into blocks (sequence of flattened 2D patches), and then each image patch is flattened into a one-dimensional vector through a linear transformation (full connection layer). At the same time, position coding is introduced, and the position information of the sequence is added. In addition, a classification flag (class) is added before the input sequence data as a learnable embedding vector for outputting classification prediction.</p>
</sec>
<sec id="s4-2">
<title>4.2 DeiT Model</title>
<p>The DeiT model uses distillation to guide ViT to learn from the teacher model, achieving better performance than the teacher model and spending less training overhead than the original ViT.</p>
<p>The method involves adding a distillation token after the input patch tokens. This token is used for computing the first loss function in the learned representation and the label of the teacher model. The representation and ground truth corresponding to the original class token are used for the second loss, and finally, the learning results of the two tokens are used. After linear transformation, they are used together as inferred embeddings.</p>
<p>There are two loss functions called soft loss and hard loss shown given in the formula by <xref ref-type="bibr" rid="B22">Le et al. (2015)</xref> and <xref ref-type="bibr" rid="B28">Nguyen et al. (2017)</xref>, respectively.<disp-formula id="e7">
<mml:math id="m51">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="italic">&#x2112;</mml:mi>
<mml:mrow>
<mml:mi>g</mml:mi>
<mml:mi>l</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>b</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>l</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>&#x3bb;</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:msub>
<mml:mi mathvariant="italic">&#x2112;</mml:mi>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>E</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>&#x3c8;</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:msub>
<mml:mi>Z</mml:mi>
<mml:mi>s</mml:mi>
</mml:msub>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>,</mml:mo>
<mml:mi>y</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>&#x3bb;</mml:mi>
<mml:msup>
<mml:mi>&#x3c4;</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:mi>K</mml:mi>
<mml:mi>L</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>&#x3c8;</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:msub>
<mml:mi>Z</mml:mi>
<mml:mi>s</mml:mi>
</mml:msub>
<mml:mo>/</mml:mo>
<mml:mi>&#x3c4;</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>,</mml:mo>
<mml:mi>&#x3c8;</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:msub>
<mml:mi>Z</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>/</mml:mo>
<mml:mi>&#x3c4;</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(7)</label>
</disp-formula>
<disp-formula id="e8">
<mml:math id="m52">
<mml:mrow>
<mml:msubsup>
<mml:mi mathvariant="italic">&#x2112;</mml:mi>
<mml:mrow>
<mml:mi>g</mml:mi>
<mml:mi>l</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>b</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>l</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>h</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>d</mml:mi>
<mml:mi>D</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>s</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>l</mml:mi>
<mml:mi>l</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mn>2</mml:mn>
</mml:mfrac>
<mml:msub>
<mml:mi mathvariant="italic">&#x2112;</mml:mi>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>E</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>&#x3c8;</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:msub>
<mml:mi>Z</mml:mi>
<mml:mi>s</mml:mi>
</mml:msub>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>,</mml:mo>
<mml:mi>y</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mn>2</mml:mn>
</mml:mfrac>
<mml:msub>
<mml:mi mathvariant="italic">&#x2112;</mml:mi>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>E</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>&#x3c8;</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:msub>
<mml:mi>Z</mml:mi>
<mml:mi>s</mml:mi>
</mml:msub>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(8)</label>
</disp-formula>where <inline-formula id="inf45">
<mml:math id="m53">
<mml:mrow>
<mml:msub>
<mml:mi>Z</mml:mi>
<mml:mi>s</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf46">
<mml:math id="m54">
<mml:mrow>
<mml:msub>
<mml:mi>Z</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> are the logits of the student model and teacher model, respectively; <inline-formula id="inf47">
<mml:math id="m55">
<mml:mi>y</mml:mi>
</mml:math>
</inline-formula> is the ground truth label; <inline-formula id="inf48">
<mml:math id="m56">
<mml:mrow>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the value of the teacher prediction; <inline-formula id="inf49">
<mml:math id="m57">
<mml:mrow>
<mml:mi>&#x3c8;</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mo>&#xb7;</mml:mo>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> presents the softmax function; <inline-formula id="inf50">
<mml:math id="m58">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="italic">&#x2112;</mml:mi>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>E</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> presents the loss function of cross entropy; and <inline-formula id="inf51">
<mml:math id="m59">
<mml:mrow>
<mml:mi>K</mml:mi>
<mml:mi>L</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mo>&#xb7;</mml:mo>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is the function calculating the KL divergence.</p>
</sec>
<sec id="s4-3">
<title>4.3 The Identification Process Based on DeiT</title>
<p>The overall flow of the electric bike recognition model based on DeiT presented here is shown in <xref ref-type="fig" rid="F8">Figure 8</xref>. First, the high-frequency voltage and current data of all kinds of electrical appliances obtained are preprocessed. Subsequently, the trajectory image is generated, pixelated, and encoded to build a hybrid feature bitmap. Finally, the hybrid bitmap is used as an input to the image classifier, and the DeiT model is used for feature extraction and classification to complete the load recognition task.</p>
<fig id="F8" position="float">
<label>FIGURE 8</label>
<caption>
<p>Hybrid feature bitmap of electric bicycles.</p>
</caption>
<graphic xlink:href="fenrg-10-896398-g008.tif"/>
</fig>
</sec>
</sec>
<sec id="s5">
<title>5 Case Study</title>
<sec id="s5-1">
<title>5.1 Training Data Gaining</title>
<p>Generally, the example verification of the nonintrusive load identification algorithm uses standard load datasets, such as BLUED and PLAID. The existing datasets released by European and American scientific research institutes mainly focus on households in these areas. <xref ref-type="table" rid="T1">Table 1</xref> shows the main features of the household load datasets with more number of references.</p>
<table-wrap id="T1" position="float">
<label>TABLE 1</label>
<caption>
<p>Main differences between popular load datasets.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="left">Dataset</th>
<th align="center">Location</th>
<th align="center">Voltage amplitude (V)</th>
<th align="center">Grid frequency (Hz)</th>
<th align="center">Sampling frequency</th>
<th align="center">Sampling parameter&#x203b;</th>
<th align="center">Device number</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">REDD <xref ref-type="bibr" rid="B21">Kolter and Johnso. (2011)</xref>
</td>
<td>United States</td>
<td align="char" char=".">110</td>
<td align="center">60</td>
<td align="center">15&#xa0;kHz (Agg) 0.5.1&#xa0;Hz (Sub)</td>
<td>V, P(Agg), P(Sub)</td>
<td align="center">24</td>
</tr>
<tr>
<td align="left">BLUED <xref ref-type="bibr" rid="B1">Anderson et al. (2012b)</xref>
</td>
<td>United States</td>
<td align="char" char=".">110</td>
<td align="center">60</td>
<td align="center">12&#xa0;kHz (Agg) 20&#xa0;Hz (Sub)</td>
<td>I,V</td>
<td align="center">NA</td>
</tr>
<tr>
<td align="left">AMPds <xref ref-type="bibr" rid="B25">Makonin et al., (2016)</xref>
</td>
<td>Canada</td>
<td align="char" char=".">110</td>
<td align="center">60</td>
<td align="center">1 min</td>
<td>V, I, F, P, Q, S, etc</td>
<td align="center">21</td>
</tr>
<tr>
<td align="left">UK-DALE <xref ref-type="bibr" rid="B19">Kelly and Knottenbelt. (2015b)</xref>
</td>
<td>United Kingdom</td>
<td align="char" char=".">230</td>
<td align="center">50</td>
<td align="center">16&#xa0;kHz (I, V of Agg) 6s (Agg&#x26;Sub); 1s (Agg)</td>
<td>P, I, V</td>
<td align="center">5&#x2013;54</td>
</tr>
<tr>
<td align="left">GREEND <xref ref-type="bibr" rid="B26">Monacchi et al. (2014)</xref>
</td>
<td>Austria</td>
<td align="char" char=".">220</td>
<td align="center">50</td>
<td align="center">1&#xa0;Hz</td>
<td>P</td>
<td align="center">9</td>
</tr>
<tr>
<td align="left">ECO <xref ref-type="bibr" rid="B4">Beckel et al., (2014)</xref>
</td>
<td>Switzerland</td>
<td align="char" char=".">220</td>
<td align="center">50</td>
<td align="center">1&#xa0;Hz</td>
<td>P, Q</td>
<td align="center">10</td>
</tr>
<tr>
<td align="left">PLAID <xref ref-type="bibr" rid="B14">Gao et al., (2014)</xref>
</td>
<td>United States</td>
<td align="char" char=".">110</td>
<td align="center">60</td>
<td align="center">30&#xa0;kHz</td>
<td>I&#x3001;V</td>
<td align="center">200</td>
</tr>
<tr>
<td align="left">EMBED <xref ref-type="bibr" rid="B18">Jazizadeh et al. (2018)</xref>
</td>
<td>United States</td>
<td align="char" char=".">110</td>
<td align="center">60</td>
<td align="center">12&#xa0;kHz (Agg) 1&#x2013;2&#xa0;Hz (Sub)</td>
<td>I, V, P, Q, F</td>
<td align="center">40</td>
</tr>
<tr>
<td align="left">DRED <xref ref-type="bibr" rid="B27">Nambi et al., (2015)</xref>
</td>
<td>Holland</td>
<td align="char" char=".">220</td>
<td align="center">50</td>
<td align="center">1&#xa0;Hz</td>
<td>E, P (Agg&#x26; Sub)</td>
<td align="center">12</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>Unfortunately, these datasets shown in the table are not well-suited for verification in this study. There are three main reasons for this. First, these existing load datasets lack the electric bicycle data. Second, the supply mode, voltage amplitude, and grid frequency for European and American users are quite different from those in China and Southeast Asia. Finally, the cases in which electric bicycle charging event happens under the ON-STATE appliances are also missed in these datasets, so the ability to identify the electric bicycles in more complex situations cannot be tested.</p>
<p>In order to solve the problem of lacking effective load data, a customized load data acquiring device which uses AD7685 from ADI as the core sampling chip, shown in <xref ref-type="fig" rid="F9">Figure 9</xref>, is designed to use in this study. The schematic diagram of our device is shown in <xref ref-type="fig" rid="F10">Figure 10</xref>. The collected data mainly include current, voltage, and active and reactive data at 1.6&#xa0;kHz. Using this device, more than 507 pieces of data on electric bicycles and nearly 2,340 pieces of data on other household appliances under independent working were recorded separately. Meanwhile, 493 pieces of data on electric bicycles working with other appliances at the same time are also recorded.</p>
<fig id="F9" position="float">
<label>FIGURE 9</label>
<caption>
<p>Overall flow chart of this method. The physical picture of the data acquiring device.</p>
</caption>
<graphic xlink:href="fenrg-10-896398-g009.tif"/>
</fig>
<fig id="F10" position="float">
<label>FIGURE 10</label>
<caption>
<p>Schematic diagram of the data acquiring device.</p>
</caption>
<graphic xlink:href="fenrg-10-896398-g010.tif"/>
</fig>
<p>The shortcomings of the load types of existing datasets and the amount of data on self-built datasets are both considered. This study adopts part data from UK-DALE which is most similar to the operation of the Chinese distribution network and combines the self-built datasets and UK-DALE as the training set, which contain the electric bicycles under single and superposition working condition. The detailed composition of the training set is shown in <xref ref-type="table" rid="T2">Table 2</xref>, and the division of the dataset is shown in <xref ref-type="table" rid="T3">Table 3</xref>. Focusing on identifying electric bicycles, the positive examples in the data set are electric bicycle data, including electric bicycle superposition with other electrical appliances. The counter-examples are various other electrical appliances, including air conditioners and hairdryers. The final DeiT algorithm is a binary classification model.</p>
<table-wrap id="T2" position="float">
<label>TABLE 2</label>
<caption>
<p>Details of the self-built dataset.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="left">Category</th>
<th align="center">Total Quantities</th>
<th align="center">Self-Build dataset</th>
<th align="center">UK-DALE</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">Inverter air conditioner</td>
<td align="char" char=".">144</td>
<td align="char" char=".">144</td>
<td align="char" char=".">0</td>
</tr>
<tr>
<td align="left">Fixed-frequency air conditioner</td>
<td align="char" char=".">219</td>
<td align="char" char=".">219</td>
<td align="char" char=".">0</td>
</tr>
<tr>
<td align="left">Kitchen ventilator</td>
<td align="char" char=".">112</td>
<td align="char" char=".">112</td>
<td align="char" char=".">0</td>
</tr>
<tr>
<td align="left">Electric baking pan</td>
<td align="char" char=".">115</td>
<td align="char" char=".">115</td>
<td align="char" char=".">0</td>
</tr>
<tr>
<td align="left">Hairdryer</td>
<td align="char" char=".">559</td>
<td align="char" char=".">459</td>
<td align="char" char=".">100</td>
</tr>
<tr>
<td align="left">Induction cooker</td>
<td align="char" char=".">267</td>
<td align="char" char=".">267</td>
<td align="char" char=".">0</td>
</tr>
<tr>
<td align="left">Rice cooker</td>
<td align="char" char=".">628</td>
<td align="char" char=".">528</td>
<td align="char" char=".">100</td>
</tr>
<tr>
<td align="left">Electric heater</td>
<td align="char" char=".">168</td>
<td align="char" char=".">118</td>
<td align="char" char=".">50</td>
</tr>
<tr>
<td align="left">Electric kettle</td>
<td align="char" char=".">128</td>
<td align="char" char=".">78</td>
<td align="char" char=".">50</td>
</tr>
<tr>
<td align="left">Microwave oven</td>
<td align="char" char=".">400</td>
<td align="char" char=".">300</td>
<td align="char" char=".">100</td>
</tr>
<tr>
<td align="left">Electric bicycles</td>
<td align="char" char=".">507</td>
<td align="char" char=".">507</td>
<td align="char" char=".">0</td>
</tr>
<tr>
<td align="left">Electric bicycles with hairdryer working</td>
<td align="char" char=".">243</td>
<td align="char" char=".">243</td>
<td align="char" char=".">0</td>
</tr>
<tr>
<td align="left">Electric bicycles with rice cooker working</td>
<td align="char" char=".">250</td>
<td align="char" char=".">250</td>
<td align="char" char=".">0</td>
</tr>
<tr>
<td align="left">Sum</td>
<td align="char" char=".">3,740</td>
<td align="char" char=".">3,340</td>
<td align="char" char=".">400</td>
</tr>
</tbody>
</table>
</table-wrap>
<table-wrap id="T3" position="float">
<label>TABLE 3</label>
<caption>
<p>Division of the self-built dataset.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="left"/>
<th align="center">Positive class</th>
<th align="center">Negative class</th>
<th align="center">Sum</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">Training dataset</td>
<td align="left">459 images of electric bicycles and 447 images of electric bicycles with other electrical appliances working</td>
<td align="left">2,206 images of other electrical appliances</td>
<td align="char" char=".">3,112</td>
</tr>
<tr>
<td align="left">Testing dataset 1</td>
<td align="left">48 images of electric bicycles</td>
<td align="left">267 images of other electrical appliances</td>
<td align="char" char=".">315</td>
</tr>
<tr>
<td align="left">Testing dataset 2</td>
<td align="left">46 images of electric bicycles with other electrical appliances working</td>
<td align="left">267 images of other electrical appliances</td>
<td align="char" char=".">313</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<fn>
<p>Models characteristics and hyperparameter settings.</p>
</fn>
</table-wrap-foot>
</table-wrap>
<p>In this study, the ResNet18, ResNet50, and ViT models are selected as comparative experiments, and <xref ref-type="table" rid="T4">Table 4</xref> shows the detailed characteristic of different models. ResNet18 and ResNet50 are deep convolutional neural networks. Compared with other fully connected neural networks, the CNN uses convolutional kernels to greatly reduce the training parameters and has high training efficiency.</p>
<table-wrap id="T4" position="float">
<label>TABLE 4</label>
<caption>
<p>Characteristic of different models.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="left">Model</th>
<th align="center">Embedding dimension</th>
<th align="center">Training resolution</th>
<th align="center">Head</th>
<th align="center">Parameter (M)</th>
<th align="center">Layer</th>
<th align="center">Throughput (im/sec)</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">ResNet18</td>
<td align="center">&#x2014;</td>
<td align="char" char=".">224</td>
<td align="center">&#x2014;</td>
<td align="char" char=".">11</td>
<td align="char" char=".">18</td>
<td align="char" char=".">103</td>
</tr>
<tr>
<td align="left">ResNet50</td>
<td align="center">&#x2014;</td>
<td align="char" char=".">224</td>
<td align="center">&#x2014;</td>
<td align="char" char=".">20.7</td>
<td align="char" char=".">50</td>
<td align="char" char=".">79.8</td>
</tr>
<tr>
<td align="left">ViT</td>
<td align="center">768</td>
<td align="char" char=".">224</td>
<td align="center">12</td>
<td align="char" char=".">86</td>
<td align="char" char=".">12</td>
<td align="char" char=".">9</td>
</tr>
<tr>
<td align="left">DeiT</td>
<td align="center">384</td>
<td align="char" char=".">224</td>
<td align="center">6</td>
<td align="char" char=".">22</td>
<td align="char" char=".">12</td>
<td align="char" char=".">50</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>It can be concluded from the aforementioned table that DeiT has more model parameters than the CNN but far less than ViT, and the speed of processing images is much faster than that of ViT, while <xref ref-type="table" rid="T5">Table 5</xref> shows the training strategy and hyperparameter settings of the model. In addition, two hyper-parameters for DeiT are set as <inline-formula id="inf52">
<mml:math id="m60">
<mml:mrow>
<mml:mi>&#x3bb;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>0.1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mi>&#x3c4;</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>3</mml:mn>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
<table-wrap id="T5" position="float">
<label>TABLE 5</label>
<caption>
<p>Training strategy and hyper-parameter settings.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="left">Model</th>
<th align="center">Optimizer</th>
<th align="center">Learning rate</th>
<th align="center">Learning rate decay</th>
<th align="center">Weight decay</th>
<th align="center">Warm-up epochs</th>
<th align="center">Batch size</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">ResNet18</td>
<td>SGD</td>
<td align="char" char=".">0.1</td>
<td align="center">cosine</td>
<td align="char" char=".">0.0005</td>
<td align="char" char=".">0</td>
<td align="char" char=".">256</td>
</tr>
<tr>
<td align="left">ResNet50</td>
<td>SGD</td>
<td align="char" char=".">0.1</td>
<td align="center">cosine</td>
<td align="char" char=".">0.0005</td>
<td align="char" char=".">0</td>
<td align="char" char=".">256</td>
</tr>
<tr>
<td align="left">ViT</td>
<td>AdamW</td>
<td align="char" char=".">0.003</td>
<td align="center">cosine</td>
<td align="char" char=".">0.3</td>
<td align="char" char=".">3.4</td>
<td align="char" char=".">4,096</td>
</tr>
<tr>
<td align="left">DeiT</td>
<td>AdamW</td>
<td align="char" char=".">0.001</td>
<td align="center">cosine</td>
<td align="char" char=".">0.05</td>
<td align="char" char=".">5</td>
<td align="char" char=".">1,024</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>Moreover, the hardware environment of the load identification case study is briefly explained. The cases are executed using a 64-bit computer with NVIDIA Quadro RTX 8000 graphics card, Intel(R) CoreTM i5-7300HQ CPU, and 6G DDR4 memory. Also, Windows 10, Python 3.6, and Keras comprise the software environment in this study.</p>
</sec>
<sec id="s5-2">
<title>5.2 Case 1</title>
<p>The first case is executed using the testing dataset 1 in <xref ref-type="table" rid="T3">Table 3</xref> to prove the effectiveness of this electric bicycle identification when other appliances are in off-state in one household. The results of case 1 are shown in <xref ref-type="table" rid="T6">Table 6</xref>. The results show that the DeiT model has an accuracy of 98.41% for the identification of electric bicycles without the interference of other electrical appliances, and the results are almost perfect.</p>
<table-wrap id="T6" position="float">
<label>TABLE 6</label>
<caption>
<p>Results of case 1.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="left"/>
<th align="center">Accuracy (%)</th>
<th align="center">Recall (%)</th>
<th align="center">Precision (%)</th>
<th align="center">F1 score</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">Resnet18</td>
<td align="char" char=".">97.14</td>
<td align="char" char=".">95.83</td>
<td align="char" char=".">86.79</td>
<td align="char" char=".">0.9109</td>
</tr>
<tr>
<td align="left">Resnet50</td>
<td align="char" char=".">97.78</td>
<td align="char" char=".">95.83</td>
<td align="char" char=".">90.20</td>
<td align="char" char=".">0.9293</td>
</tr>
<tr>
<td align="left">ViT</td>
<td align="char" char=".">50.16</td>
<td align="char" char=".">54.17</td>
<td align="char" char=".">16.15</td>
<td align="char" char=".">0.2488</td>
</tr>
<tr>
<td align="left">DeiT</td>
<td align="char" char=".">98.41</td>
<td align="char" char=".">97.92</td>
<td align="char" char=".">92.16</td>
<td align="char" char=".">0.9495</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>Because the data set is relatively small, the loss function of the ViT model does not converge, the model fails completely, and the final accuracy rate approaches random probability. Compared with the traditional CNN deep learning model, the DeiT model has better performance in all four indicators.</p>
<p>Only focusing on monitoring the electric bicycles, the electric bicycle identification model based on DeiT is a binary classification model, explaining whether the turn-on device is an electric bicycle. It presents advantages in the accuracy of identifying compared with the multiclassification model. <xref ref-type="fig" rid="F11">Figure 11</xref> shows the accuracy bars of the DeiT classifier model with two to seven classes. Also, it is obvious that the accuracy of electric bicycles is decreasing with the increase in classification types.</p>
<fig id="F11" position="float">
<label>FIGURE 11</label>
<caption>
<p>Accuracy of electric bicycles under the two to seven classification DeiT model.</p>
</caption>
<graphic xlink:href="fenrg-10-896398-g011.tif"/>
</fig>
</sec>
<sec id="s5-3">
<title>5.3 Case 2</title>
<p>The second case is executed using the testing dataset 2 in <xref ref-type="table" rid="T3">Table 3</xref> to test the accuracy of the electric bicycle identification model when multiple appliances are working together. The results of the model on testing dataset 2 are shown in <xref ref-type="table" rid="T7">Table 7</xref>. The results show that the identification accuracy of the DeiT model under the superposition condition reaches 96.17%, which is lower than that of the single condition. The main reason is that the fluctuation of the superposition electrical appliance will still have a certain influence, but it still exceeds 95%, which can meet the requirements of NILM.</p>
<table-wrap id="T7" position="float">
<label>TABLE 7</label>
<caption>
<p>Results of case 2.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="left"/>
<th align="center">Accuracy (%)</th>
<th align="center">Recall (%)</th>
<th align="center">Precision (%)</th>
<th align="center">F1 score</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">Resnet18</td>
<td align="char" char=".">94.25</td>
<td align="char" char=".">89.13</td>
<td align="char" char=".">75.93</td>
<td align="char" char=".">0.8200</td>
</tr>
<tr>
<td align="left">Resnet50</td>
<td align="char" char=".">94.57</td>
<td align="char" char=".">89.13</td>
<td align="char" char=".">77.36</td>
<td align="char" char=".">0.8283</td>
</tr>
<tr>
<td align="left">ViT</td>
<td align="char" char=".">49.84</td>
<td align="char" char=".">52.17</td>
<td align="char" char=".">15.09</td>
<td align="char" char=".">0.2341</td>
</tr>
<tr>
<td align="left">DeiT</td>
<td align="char" char=".">96.17</td>
<td align="char" char=".">93.48</td>
<td align="char" char=".">82.69</td>
<td align="char" char=".">0.8776</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>According to the results of case 2, the ViT model still fails completely, and the accuracy of the electric bicycles under the superposition state of other models is generally reduced, but the DeiT model still achieves the best performance, and the four indicators are better than the CNN.</p>
</sec>
</sec>
<sec id="s6">
<title>6 Conclusion</title>
<p>This study proposes a new method for identifying and sensing the electric bicycle-based hybrid feature bitmap and DeiT. The main process is divided into three steps. First, adapting the complex superposition work situation, the original V&#x2013;I trajectory is improved by using the current differences as mapping parameters. The second step is the construction of the hybrid feature bitmap for the V-&#x25b3;I trajectory. Finally, the electric bicycle identification model based on DeiT is established. Tests conducted in two cases have shown that the rate of successful identification is above 95% and strong robustness for handling the impact of the simultaneous working by multi appliances. It is believed that the proposed method makes electric bicycle monitoring more applicable.</p>
</sec>
</body>
<back>
<sec sec-type="data-availability" id="s7">
<title>Data Availability Statement</title>
<p>The original contributions presented in the study are included in the article/Supplementary Material; further inquiries can be directed to the corresponding author.</p>
</sec>
<sec id="s8">
<title>Author Contributions</title>
<p>Conceptualization, KF and QH; methodology, KF; software, ZD; validation, KF, HC, and LG; formal analysis, KF, PW, and HX; investigation, YH; resources, HC; data curation, GL; writing&#x2014;original draft preparation, KF, ZD, and PW; writing&#x2014;review and editing, KF, QH, PW, and HX; supervision, YH; project administration, QH; All authors have read and agreed to the published version of the manuscript.</p>
</sec>
<sec id="s9">
<title>Funding</title>
<p>This study received funding from the National Key Research and Development Program of 411 China-Technology Boosts Economy 2020 Key Topic (Grant number 2020YFF0426410) and, the Science and Technology Project of State Grid Jiangsu Electric Power Company (Grant number J2021057). The funder was not involved in the study design, collection, analysis, interpretation of data, the writing of this article, or the decision to submit it for publication. All authors declare no other competing interests.</p>
</sec>
<sec sec-type="COI-statement" id="s10">
<title>Conflict of Interest</title>
<p>Authors QH, KF, ZD, HC, and YH are employed by State Grid Jiangsu Electric Power Co., Ltd, LG is the postgraduate student of the School of Automation of Nanjing University of Science and Technology, Author PW is employed by Nanjing University of Science and Technology as an associate professor, and Author HX is employed by Xi&#x27;an XD Power Systems Co. Ltd. All authors declare no other competing interests.</p>
<p>The remaining 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.</p>
</sec>
<sec sec-type="disclaimer" id="s11">
<title>Publisher&#x2019;s Note</title>
<p>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.</p>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Anderson</surname>
<given-names>K. D.</given-names>
</name>
<name>
<surname>Ocneanu</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Benitez</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Carlson</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Rowe</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Berg&#xe9;s</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2012b</year>). &#x201c;<article-title>BLUED: A Fully Labeled Public Dataset for Event-Based Non-intrusive Load Monitoring Research</article-title>,&#x201d; in <conf-name>Proceedings of the 2nd KDD Workshop on Data Mining Applications in Sustainability (SustKDD)</conf-name>, <conf-date>August 12, 2012</conf-date> (<publisher-loc>Beijing, China</publisher-loc>, <fpage>1</fpage>&#x2013;<lpage>5</lpage>. </citation>
</ref>
<ref id="B2">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Anderson</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Berges</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Ocneanu</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Benitez</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Moura</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2012a</year>). &#x201c;<article-title>Event Detection for Non-intrusive Load Monitoring</article-title>,&#x201d; in <conf-name>IECON 2012-38th Annual Conference on IEEE Industrial Electronics Society</conf-name>, <conf-date>October 25&#x2013;28, 2012</conf-date> (<publisher-loc>Montreal, QC</publisher-loc>), <fpage>3312</fpage>&#x2013;<lpage>3317</lpage>. <pub-id pub-id-type="doi">10.1109/IECON.2012.6389367</pub-id> </citation>
</ref>
<ref id="B3">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Baptista</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Mostafa</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Pereira</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Sousa</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Morgado-Dias</surname>
<given-names>F.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Implementation Strategy of Convolution Neural Networks on Field Programmable Gate Arrays for Appliance Classification Using the Voltage and Current (V-I) Trajectory</article-title>. <source>Energies</source> <volume>11</volume>, <fpage>2460</fpage>. <pub-id pub-id-type="doi">10.3390/en11092460</pub-id> </citation>
</ref>
<ref id="B4">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Beckel</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Kleiminger</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Cicchetti</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Staake</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Santini</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2014</year>). &#x201c;<article-title>The Eco Data Set and the Performance of Non-intrusive Load Monitoring Algorithms</article-title>,&#x201d; in <conf-name>Proceedings of the 1st ACM International Conference on Embedded Systems for Energy Efficient Buildings (Build Sys 2014)</conf-name>, <conf-date>November 3&#x2013;6, 2014</conf-date> (<publisher-loc>Memphis, TN</publisher-loc>), <fpage>80</fpage>&#x2013;<lpage>89</lpage>. <pub-id pub-id-type="doi">10.1145/2674061.2674064</pub-id> </citation>
</ref>
<ref id="B5">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Berges</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Goldman</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Matthews</surname>
<given-names>H. S.</given-names>
</name>
<name>
<surname>Soibelman</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Anderson</surname>
<given-names>K.</given-names>
</name>
</person-group> (<year>2011</year>). <article-title>User-centered Nonintrusive Electricity Load Monitoring for Residential Buildings</article-title>. <source>J. Comput. Civ. Eng.</source> <volume>25</volume>, <fpage>471</fpage>&#x2013;<lpage>480</lpage>. <pub-id pub-id-type="doi">10.1061/(asce)cp.1943-5487.0000108</pub-id> </citation>
</ref>
<ref id="B6">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Bouhouras</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Gkaidatzis</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Chatzisavvas</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Panagiotou</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Poulakis</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Christoforidis</surname>
<given-names>G.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Load Signature Formulation for Non-intrusive Load Monitoring Based on Current Measurements</article-title>. <source>Energies</source> <volume>10</volume>, <fpage>538</fpage>. <pub-id pub-id-type="doi">10.3390/en10040538</pub-id> </citation>
</ref>
<ref id="B7">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Buddhahai</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Wongseree</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Rakkwamsuk</surname>
<given-names>P.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>A Non-intrusive Load Monitoring System Using Multi-Label Classification Approach</article-title>. <source>Sustain. cities Soc.</source> <volume>39</volume>, <fpage>621</fpage>&#x2013;<lpage>630</lpage>. <pub-id pub-id-type="doi">10.1016/j.scs.2018.02.002</pub-id> </citation>
</ref>
<ref id="B8">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Chang</surname>
<given-names>H. H.</given-names>
</name>
<name>
<surname>Lee</surname>
<given-names>M. C.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>N.</given-names>
</name>
</person-group> (<year>2015</year>). &#x201c;<article-title>Feature Extraction Based Hellinger Distance Algorithm for Non-intrusive Aging Load Identification in Residential Buildings</article-title>,&#x201d; in <conf-name>2015 IEEE Industry Applications Society Annual Meeting, Addison</conf-name>, <conf-date>October 18&#x2013;22, 2015</conf-date> (<publisher-loc>Addison, TX</publisher-loc>), <fpage>1</fpage>&#x2013;<lpage>8</lpage>. <pub-id pub-id-type="doi">10.1109/IAS.2015.7356778</pub-id> </citation>
</ref>
<ref id="B9">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Chang</surname>
<given-names>H. H.</given-names>
</name>
<name>
<surname>Lian</surname>
<given-names>K. L.</given-names>
</name>
<name>
<surname>Su</surname>
<given-names>Y. C.</given-names>
</name>
</person-group> (<year>2013</year>). <article-title>Power-spectrum-based Wavelet Transform for Nonintrusive Demand Monitoring and Load Identification</article-title>. <source>IEEE Trans. Industry Appl.</source> <volume>50</volume>, <fpage>2081</fpage>. </citation>
</ref>
<ref id="B10">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>De Baets</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Dhaene</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Deschrijver</surname>
<given-names>D.</given-names>
</name>
</person-group> (<year>2018</year>). &#x201c;<article-title>VI-based Appliance Classification Using Aggregated Power Consumption Data</article-title>,&#x201d; in <conf-name>2018 IEEE international conference on smart computing (SMARTCOMP)</conf-name>, <conf-date>June 18&#x2013;20, 2018</conf-date> (<publisher-loc>Taormina, Italy</publisher-loc>), <fpage>179</fpage>&#x2013;<lpage>186</lpage>. <pub-id pub-id-type="doi">10.1109/smartcomp.2018.00089</pub-id> </citation>
</ref>
<ref id="B11">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Dosovitskiy</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Beyer</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Kolesnikov</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2020</year>). <source>An Image Is Worth 16x16 Words: Transformers for Image Recognition at Scale</source>. <comment>arXiv preprint arXiv:2010.11929</comment>. </citation>
</ref>
<ref id="B12">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Fang</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Huang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Huang</surname>
<given-names>Q.</given-names>
</name>
</person-group> (<year>2020</year>). &#x201c;<article-title>An Event Detection Approach Based on Improved CUSUM Algorithm and Kalman Filter</article-title>,&#x201d; in <conf-name>2020 IEEE 4th Conference on Energy Internet and Energy System Integration (EI2)</conf-name> (<publisher-loc>Wuhan, China</publisher-loc>. </citation>
</ref>
<ref id="B13">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Gabald&#xf3;n</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Ortiz-Garc&#xed;a</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Molina</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Valero-Verd&#xfa;</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2014</year>). <article-title>Disaggregation of the Electric Loads of Small Customers through the Application of the Hilbert Transform</article-title>. <source>Energy Effic.</source> <volume>7</volume>, <fpage>711</fpage>&#x2013;<lpage>728</lpage>. <pub-id pub-id-type="doi">10.1007/s12053-013-9250-6</pub-id> </citation>
</ref>
<ref id="B14">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Gao</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Giri</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Kara</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Berg&#xe9;s</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2014</year>). &#x201c;<article-title>PLAID: A Public Dataset of High-Resoultion Electrical Appliance Measurements for Load Identifification Research: Demo Abstract</article-title>,&#x201d; in <conf-name>Proceedings of the 1st ACM Conference on Embedded Systems for Energy-Effiffifficient Buildings</conf-name>, <conf-date>November 3&#x2013;6, 2014</conf-date> (<publisher-loc>Memphis, TN</publisher-loc>), <fpage>198</fpage>&#x2013;<lpage>199</lpage>. <pub-id pub-id-type="doi">10.1145/2674061.2675032</pub-id> </citation>
</ref>
<ref id="B15">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Gao</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Kara</surname>
<given-names>E. C.</given-names>
</name>
<name>
<surname>Giri</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2015</year>). &#x201c;<article-title>A Feasibility Study of Automated Plug-Load Identification from High-Frequency Measurements</article-title>,&#x201d; in <conf-name>2015 IEEE global conference on signal and information processing</conf-name> <publisher-loc>Orlando,USA</publisher-loc>. </citation>
</ref>
<ref id="B16">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hart</surname>
<given-names>G. W.</given-names>
</name>
</person-group> (<year>1992</year>). <article-title>Nonintrusive Appliance Load Monitoring</article-title>. <source>Proc. IEEE</source> <volume>80</volume>, <fpage>1870</fpage>&#x2013;<lpage>1891</lpage>. <pub-id pub-id-type="doi">10.1109/5.192069</pub-id> </citation>
</ref>
<ref id="B17">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hassan</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Javed</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Arshad</surname>
<given-names>N.</given-names>
</name>
</person-group> (<year>2013</year>). <article-title>An Empirical Investigation of VI Trajectory Based Load Signatures for Non-intrusive Load Monitoring</article-title>. <source>IEEE Trans. Smart Grid</source> <volume>5</volume>, <fpage>870</fpage> </citation>
</ref>
<ref id="B18">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Jazizadeh</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Afzalan</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Becerik-Gerber</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Soibelman</surname>
<given-names>L.</given-names>
</name>
</person-group> (<year>2018</year>). &#x201c;<article-title>EMBED: A Dataset for Energy Monitoring through Building Electricity Disaggregation</article-title>,&#x201d; in <conf-name>Proceedings of the 9th ACM International Conference on Future Energy Systems (e-Energy &#x2019;18)</conf-name>, <conf-date>June 12&#x2013;15, 2018</conf-date> (<publisher-loc>Karlsruhe, Germany</publisher-loc>), <fpage>230</fpage>&#x2013;<lpage>235</lpage>. <pub-id pub-id-type="doi">10.1145/3208903.3208939</pub-id> </citation>
</ref>
<ref id="B19">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kelly</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Knottenbelt</surname>
<given-names>W.</given-names>
</name>
</person-group> (<year>2015b</year>). <article-title>The uk-dale Dataset, Domestic Appliance-Level Electricity Demand and Whole-House Demand from Five uk Homes</article-title>. <source>Sci. Data</source> <volume>2</volume>, <fpage>150007</fpage>. <comment>Article No. 150007</comment>. <pub-id pub-id-type="doi">10.1038/sdata.2015.7</pub-id> </citation>
</ref>
<ref id="B20">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Kelly</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Knottenbelt</surname>
<given-names>W.</given-names>
</name>
</person-group> (<year>2015a</year>). &#x201c;<article-title>Neural Nilm: Deep Neural Networks Applied to Energy Disaggregation</article-title>,&#x201d; in <conf-name>Proceedings of the 2nd ACM International Conference on Embedded Systems for Energy-Efficient Built Environments (BuildSys &#x2019;15)</conf-name>, <conf-date>November 4&#x2013;5, 2015</conf-date> (<publisher-loc>Seoul South Korea</publisher-loc>), <fpage>55</fpage>&#x2013;<lpage>64</lpage>. <pub-id pub-id-type="doi">10.1145/2821650.2821672</pub-id> </citation>
</ref>
<ref id="B21">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Kolter</surname>
<given-names>J. Z.</given-names>
</name>
<name>
<surname>Johnson</surname>
<given-names>M. J.</given-names>
</name>
</person-group> (<year>2011</year>). &#x201c;<article-title>Redd: a Public Data Set for Energy Disaggregation Research</article-title>,&#x201d; in <source>The 1st SustKDD Workshop on Data Mining Applications in Sustainability</source> (<publisher-loc>San Diego, USA</publisher-loc>, <fpage>1</fpage>&#x2013;<lpage>6</lpage>. </citation>
</ref>
<ref id="B22">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Le</surname>
<given-names>X. C.</given-names>
</name>
<name>
<surname>Vrigneau</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Sentieys</surname>
<given-names>O.</given-names>
</name>
</person-group> (<year>2015</year>). &#x201c;<article-title>l1-Norm Minimization Based Algorithm for Non-Intrusive Load Monitoring</article-title>,&#x201d; in <conf-name>2015 IEEE International Conference on Pervasive Computing and Communication Workshops (PerCom Workshops)</conf-name>, <conf-date>March 23&#x2013;27, 2015</conf-date> (<publisher-loc>St. Louis, MO</publisher-loc>), <fpage>299</fpage>&#x2013;<lpage>304</lpage>. <pub-id pub-id-type="doi">10.1109/PERCOMW.2015.7134052</pub-id> </citation>
</ref>
<ref id="B23">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Liang</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Zhao</surname>
<given-names>H.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>A Demand-Side Load Event Detection Algorithm Based on Wide-Deep Neural Networks and Randomized Sparse Backpropagation</article-title>. <source>Front. Energy Res.</source> <volume>9</volume>, <fpage>586</fpage>. <pub-id pub-id-type="doi">10.3389/fenrg.2021.720831</pub-id> </citation>
</ref>
<ref id="B24">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Liu</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Liang</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Huang</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>A Non-intrusive Motor Load Identification Method Based on Load Transient Features</article-title>. <source>Front. Energy Res.</source> <volume>10</volume>, <fpage>858</fpage>&#x2013;<lpage>969</lpage>. <pub-id pub-id-type="doi">10.3389/fenrg.2022.858969</pub-id> </citation>
</ref>
<ref id="B25">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Makonin</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Ellert</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Baji&#x107;</surname>
<given-names>I. V.</given-names>
</name>
<name>
<surname>Popowich</surname>
<given-names>F.</given-names>
</name>
</person-group> (<year>2016</year>). <article-title>Electricity, Water, and Natural Gas Consumption of a Residential House in Canada from 2012 to 2014</article-title>. <source>Sci. Data</source> <volume>3</volume>, <fpage>160037</fpage>&#x2013;<lpage>160112</lpage>. <pub-id pub-id-type="doi">10.1038/sdata.2016.37</pub-id> </citation>
</ref>
<ref id="B26">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Monacchi</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Egarter</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Elmenreich</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>D&#x2019;Alessandro</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Tonello</surname>
<given-names>A. M.</given-names>
</name>
</person-group> (<year>2014</year>). &#x201c;<article-title>Greend: an Energy Consumption Dataset of Households in Italy and Austria</article-title>,&#x201d; in <conf-name>Proceedings of IEEE International Conference on Smart Grid Communications (SmartGridComm)</conf-name>, <conf-date>November 3&#x2013;6, 2014</conf-date> (<publisher-loc>Venice, Italy</publisher-loc>), <fpage>511</fpage>&#x2013;<lpage>516</lpage>. <pub-id pub-id-type="doi">10.1109/smartgridcomm.2014.7007698</pub-id> </citation>
</ref>
<ref id="B27">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Nambi</surname>
<given-names>S. N. A. U.</given-names>
</name>
<name>
<surname>Lua</surname>
<given-names>A. R.</given-names>
</name>
<name>
<surname>Prasad</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>2015</year>). &#x201c;<article-title>LocED: Location-Aware Energy Disaggregation Framework</article-title>,&#x201d; in <conf-name>Proceedings of the 2nd ACM International Conference on Embedded Systems For Energy-Efficient Built Environments (BuildSys &#x2019;15)</conf-name>, <conf-date>November 4&#x2013;5, 2015</conf-date> (<publisher-loc>Seoul, South Korea</publisher-loc>, <fpage>45</fpage>&#x2013;<lpage>54</lpage>. <pub-id pub-id-type="doi">10.1145/2821650.2821659</pub-id> </citation>
</ref>
<ref id="B28">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Nguyen</surname>
<given-names>T. K.</given-names>
</name>
<name>
<surname>Dekneuvel</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Jacquemod</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Nicolle</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Zammit</surname>
<given-names>O.</given-names>
</name>
<name>
<surname>Nguyen</surname>
<given-names>V. C.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Development of a Real-Time Non-intrusive Appliance Load Monitoring System: An Application Level Model</article-title>. <source>Int. J. Electr. Power . Energy Syst.</source> <volume>90</volume>, <fpage>168</fpage>&#x2013;<lpage>180</lpage>. <pub-id pub-id-type="doi">10.1016/j.ijepes.2017.01.012</pub-id> </citation>
</ref>
<ref id="B29">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ruano</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Hernandez</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Ure&#xf1;a</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Ruano</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Garcia</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>NILM Techniques for Intelligent Home Energy Management and Ambient Assisted Living: A Review</article-title>. <source>Energies</source> <volume>12</volume>, <fpage>2203</fpage>. <pub-id pub-id-type="doi">10.3390/en12112203</pub-id> </citation>
</ref>
<ref id="B30">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Su</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Shi</surname>
<given-names>Q.</given-names>
</name>
<name>
<surname>Xu</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>W.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Nonintrusive Load Monitoring Based on Complementary Features of Spurious Emissions</article-title>. <source>Electronics</source> <volume>8</volume>, <fpage>1002</fpage>. <pub-id pub-id-type="doi">10.3390/electronics8091002</pub-id> </citation>
</ref>
<ref id="B31">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Touvron</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Cord</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Douze</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2021</year>). &#x201c;<article-title>Training Data-Efficient Image Transformers and Distillation through Attention</article-title>,&#x201d; in <conf-name>International Conference on Machine Learning (PMLR)</conf-name>, <conf-date>July 18&#x2013;24, 2021)</conf-date> (<publisher-loc>Virtual</publisher-loc>) <volume>139</volume>, <fpage>10347</fpage>&#x2013;<lpage>10357</lpage>. </citation>
</ref>
<ref id="B32">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Vaswani</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Shazeer</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Parmar</surname>
<given-names>N.</given-names>
</name>
</person-group> (<year>2017</year>). &#x201c;<article-title>Attention Is All You Need</article-title>,&#x201d; in <conf-name>31st Conference on Neural Information Processing Systems (NIPS 2017)</conf-name>, <conf-date>December 4&#x2013;9, 2017</conf-date> (<publisher-loc>Long Beach, CA</publisher-loc>), <fpage>6000</fpage>&#x2013;<lpage>6010</lpage>. </citation>
</ref>
<ref id="B33">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname>
<given-names>A. L.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>B. X.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>C. G.</given-names>
</name>
<name>
<surname>Hua</surname>
<given-names>D.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Non-intrusive Load Monitoring Algorithm Based on Features of V-I Trajectory</article-title>. <source>Electr. Power Syst. Res.</source> <volume>157</volume>, <fpage>134</fpage>&#x2013;<lpage>144</lpage>. <pub-id pub-id-type="doi">10.1016/j.epsr.2017.12.012</pub-id> </citation>
</ref>
<ref id="B34">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Young</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>L. Y.</given-names>
</name>
<name>
<surname>Strunz</surname>
<given-names>K.</given-names>
</name>
</person-group> (<year>2013</year>). &#x201c;<article-title>Electric Vehicle Battery Technologies</article-title>,&#x201d; in <source>Electric Vehicle Integration into Modern Power Networks</source> (<publisher-loc>New York, NY</publisher-loc>: <publisher-name>Springer</publisher-name>), <fpage>15</fpage>&#x2013;<lpage>56</lpage>. <pub-id pub-id-type="doi">10.1007/978-1-4614-0134-6_2</pub-id> </citation>
</ref>
<ref id="B35">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zoha</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Gluhak</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Imran</surname>
<given-names>M. A.</given-names>
</name>
<name>
<surname>Rajasegarar</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2012</year>). <article-title>Non-intrusive Load Monitoring Approaches for Disaggregated Energy Sensing: A Survey</article-title>. <source>Sensors (Basel)</source> <volume>12</volume>, <fpage>16838</fpage>&#x2013;<lpage>16866</lpage>. <pub-id pub-id-type="doi">10.3390/s121216838</pub-id> </citation>
</ref>
</ref-list>
</back>
</article>