[go: up one dir, main page]

CN111553444A - A load identification method based on non-intrusive load terminal data - Google Patents

A load identification method based on non-intrusive load terminal data Download PDF

Info

Publication number
CN111553444A
CN111553444A CN202010411408.3A CN202010411408A CN111553444A CN 111553444 A CN111553444 A CN 111553444A CN 202010411408 A CN202010411408 A CN 202010411408A CN 111553444 A CN111553444 A CN 111553444A
Authority
CN
China
Prior art keywords
load
data
cluster
electric appliance
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010411408.3A
Other languages
Chinese (zh)
Inventor
周赣
徐欣
黄莉
傅萌
冯燕钧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Southeast University
Original Assignee
Southeast University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Southeast University filed Critical Southeast University
Priority to CN202010411408.3A priority Critical patent/CN111553444A/en
Publication of CN111553444A publication Critical patent/CN111553444A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/23Clustering techniques
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R21/00Arrangements for measuring electric power or power factor
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • G06F18/2415Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on parametric or probabilistic models, e.g. based on likelihood ratio or false acceptance rate versus a false rejection rate
    • G06F18/24155Bayesian classification

Landscapes

  • Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Probability & Statistics with Applications (AREA)
  • Power Engineering (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a load identification method based on non-invasive load terminal data, which comprises the following steps: sampling the load data; carrying out mean shift clustering on historical electricity utilization data of various electric appliances of a user to obtain different clusters of a clustered electric appliance data set of the user, extracting load identification characteristics of the electric appliances from the electric appliance clusters, thereby identifying the historical load type loads and establishing a multivariate Gaussian distribution model of the operation characteristics of the electric appliances; on the other hand, load operation data is used as input characteristics, and the probability of occurrence of each cluster corresponding to the operation characteristics of the electric appliance is calculated by a naive Bayes algorithm; and taking a cluster with the maximum probability as the actual category of the electric appliance, and taking the electric appliance type of the cluster as the electric appliance type of the electric appliance. According to the invention, through carrying out cluster modeling on the user historical load operation data sent from the non-invasive load terminal data, the re-identification of the cloud platform on the user load is realized, and the comparison and correction of the electrical appliance attributes sent from the non-invasive terminal can be effectively carried out.

Description

一种基于非侵入负荷终端数据的负荷辨识方法A load identification method based on non-intrusive load terminal data

技术领域technical field

本发明属于智能用电技术领域,具体涉及一种基于非侵入负荷终端数据的负荷辨识方法。The invention belongs to the technical field of intelligent power consumption, and in particular relates to a load identification method based on non-invasive load terminal data.

背景技术Background technique

智能用电使居民负荷成为一种相对可控的资源,通过直接负荷控制、分时电价等手段,实现负荷转移和削峰填谷。而负荷监测则是智能用电的核心环节,利用智能电表分析用户内部负荷成分和负荷特性,获得详细的用户用电行为和电器用能信息。负荷监测分为侵入式电力负荷监测(Intrusive Load Monitoring,ILM)和非侵入式电力负荷监测(Non-intrusive Load Monitoring,NILM)。现有的监测系统为了对用户所有电器设备进行在线监测,需要入户安装许多用于感应测量的传感器和数据传输的装置,这不仅使得安装成本和维护费用大幅增加,而且这种“侵入式”的安装方式和维护管理会对用户的生产生活带来干扰,会降低用户对用能管理服务的满意度,因此亟需提升智能用电中的负荷监测技术水平。非侵入式方法是将监测设备安装在用户电力入口处,通过负荷识别算法分析用户的用电信息,获悉用户内部各设备的用电情况,大大简化硬件结构、降低成本,适用于大量分散用户安装模式,为电网和用户等多方带来效益,成为国内外研究的热点。Smart electricity consumption makes residential load a relatively controllable resource, and realizes load transfer and peak shaving and valley filling through means such as direct load control and time-of-use electricity pricing. Load monitoring is the core link of smart electricity consumption. Smart meters are used to analyze the internal load components and load characteristics of users, and obtain detailed information on electricity consumption behavior and electrical energy consumption of electrical appliances. Load monitoring is divided into intrusive load monitoring (Intrusive Load Monitoring, ILM) and non-intrusive load monitoring (Non-intrusive Load Monitoring, NILM). In order to perform online monitoring of all electrical equipment of users in the existing monitoring system, many sensors and data transmission devices for inductive measurement need to be installed in the home, which not only increases the installation cost and maintenance cost, but also makes this "intrusive" The installation method and maintenance management of the electricity will interfere with the production and life of users, and will reduce the satisfaction of users with energy management services. Therefore, it is urgent to improve the level of load monitoring technology in intelligent electricity consumption. The non-intrusive method is to install the monitoring equipment at the user's power entrance, analyze the user's power consumption information through the load identification algorithm, and learn the power consumption of each device inside the user, which greatly simplifies the hardware structure and reduces costs, and is suitable for a large number of scattered users. This mode brings benefits to the power grid and users, and has become a research hotspot at home and abroad.

利用非侵入式负荷监测实现用户用电行为分析的过程可分为3个部分:负荷分类、用电行为分解及高级应用。首先由通过特征提取和负荷分类对家庭用电设备进行分析,再利用用电行为分解算法统计用电设备的用电信息,包含消耗电能、启停电器的类型、所用电费、启停时间等内容,考虑到非侵入式负荷监测计算复杂,所以一般运行在云平台,最后在云端分析后,将监测到的各用电设备的用电信息反馈给用户,便于用户对家庭能量进行管理以及参与电网互动;另一方面为电网公司或其他管理部门制定电价及需求响应措施等激励政策提供服务。The process of using non-intrusive load monitoring to realize the user's power consumption behavior analysis can be divided into three parts: load classification, power consumption behavior decomposition and advanced application. Firstly, the household electrical equipment is analyzed by feature extraction and load classification, and then the electricity consumption information of the electrical equipment is counted by the power consumption behavior decomposition algorithm, including the power consumption, the type of start and stop appliances, the electricity cost, the start and stop time, etc. , considering the complexity of non-intrusive load monitoring calculations, it generally runs on the cloud platform, and finally after the cloud analysis, the monitored power consumption information of each electrical equipment is fed back to the user, which is convenient for the user to manage the home energy and participate in the power grid. Interaction; on the other hand, it provides services for grid companies or other management departments to formulate incentive policies such as electricity prices and demand response measures.

综上所述,NILMD技术的突破和产业化对智能用电的发展和节能减排效益的提高都具有重要意义。但NILMD技术在云平台的用电负荷特征辨识技术还有待深入研究。To sum up, the breakthrough and industrialization of NILMD technology are of great significance to the development of smart electricity consumption and the improvement of energy conservation and emission reduction benefits. However, the power load feature identification technology of NILMD technology in the cloud platform needs to be further studied.

发明内容SUMMARY OF THE INVENTION

发明目的:为了克服现有技术中存在的不足,提供一种基于非侵入负荷终端数据的负荷辨识方法,实现了云平台对用户负荷的再次辨识,能够有效的对非侵入终端上送的电器属性进行比对校正。Purpose of the invention: In order to overcome the deficiencies in the prior art, a load identification method based on non-intrusive load terminal data is provided, which realizes the re-identification of the user load by the cloud platform, and can effectively identify the electrical properties sent by the non-intrusive terminal. Make a comparison correction.

技术方案:为实现上述目的,本发明提供一种基于非侵入负荷终端数据的负荷辨识方法,包括如下步骤:Technical solution: In order to achieve the above purpose, the present invention provides a load identification method based on non-intrusive load terminal data, comprising the following steps:

S1:通过非侵入负荷终端对负荷数据进行采样;S1: Sampling the load data through the non-intrusive load terminal;

S2:对负荷数据进行整理,其具体包括以下两个方面:S2: Organize the load data, which specifically includes the following two aspects:

一方面,对用户的各类电器的历史用电数据进行均值漂移聚类,得到聚类后的用户电器数据集的不同簇,对电器簇提取电器的负荷辨识特征,从而对历史负荷类型负荷进行辨识;On the one hand, the mean-shift clustering is performed on the historical power consumption data of various electrical appliances of the user to obtain different clusters of the user electrical appliance data set after clustering, and the load identification features of the electrical appliances are extracted from the electrical appliance clusters, so as to analyze the historical load type load. identify;

另一方面,根据簇内各样本点的用户用电特征,建立电器运行特征的多元高斯分布模型,以负荷运行数据作为输入特征,以朴素贝叶斯算法计算电器的运行特征对应各个簇的发生概率;On the other hand, according to the user's electricity consumption characteristics of each sample point in the cluster, a multivariate Gaussian distribution model of the electrical appliance operating characteristics is established, and the load operating data is used as the input feature, and the naive Bayesian algorithm is used to calculate the electrical appliance operating characteristics corresponding to the occurrence of each cluster. probability;

S3:以其中最大概率的一簇作为电器的实际类别,获得该簇所属电器类型,将该簇的电器类型作为电器的电器类型。S3: Take a cluster with the highest probability as the actual category of the appliance, obtain the appliance type to which the cluster belongs, and use the appliance type of the cluster as the appliance type of the appliance.

进一步的,所述步骤S2中均值漂移聚类的具体步骤如下:Further, the specific steps of mean shift clustering in the step S2 are as follows:

A1:确定滑动窗口半径r,以随机选取的中心点C、半径为r的圆形滑动窗口开始聚类;A1: Determine the sliding window radius r, and start clustering with a randomly selected center point C and a circular sliding window with a radius of r;

A2:在每一次迭代过程中,计算新的滑动窗口内的均值即窗口新中心点,滑动窗口内的点的数量为窗口内的密度;A2: In each iteration process, calculate the mean value in the new sliding window, that is, the new center point of the window, and the number of points in the sliding window is the density in the window;

A3:继续按照均值移动滑动窗口直到圆内密度不再增加为止;A3: Continue to move the sliding window according to the mean value until the density in the circle no longer increases;

A4:对步骤A2到A4产生的滑动窗口进行过滤,当存在多个窗口重叠时,保留包含最多点的窗口,并根据数据点所在的滑动窗口进行聚类;A4: Filter the sliding windows generated in steps A2 to A4. When multiple windows overlap, retain the window containing the most points, and perform clustering according to the sliding window where the data points are located;

A5:保存各个数据集的质心坐标,作为类别的标准特征值,同时统计族群内各个特征的分布情况,作为电器特征分布范围。A5: Save the centroid coordinates of each data set as the standard feature value of the category, and count the distribution of each feature in the group as the distribution range of electrical features.

进一步的,所述步骤S2中电器的历史用电数据包括电器的电器总用电量、峰值功率、启停次数、开启时间和运行时长。Further, the historical power consumption data of the electrical appliance in the step S2 includes the electrical appliance's total electrical power consumption, peak power, start and stop times, on time and running time.

进一步的,所述步骤S2中电器簇的负荷辨识特征,包括负荷平均运行时长、负荷平均功率、运行时间分布。Further, the load identification features of the electrical cluster in the step S2 include the average load running time, the load average power, and the running time distribution.

进一步的,所述步骤S2中圆形滑动窗口的半径参数r的确定过程为:Further, the determination process of the radius parameter r of the circular sliding window in the step S2 is:

给定数据集P={p(i);i=0,1,…n},对于任意点P(i),计算点P(i)到集合D的子集S={p(1),p(2),…,p(i-1),p(i+1),…,p(n)}中所有点之间的距离,距离按照从小到大的顺序排序,假设排序后的距离集合为D={d(1),d(2),…,d(k-1),d(k),d(k+1),…,d(n)},则d(k)称为k-距离,对待聚类集合中每个点p(i)都计算k-距离,最后得到所有点的k-距离集合E={e(1),e(2),…,e(n)},根据得到的所有点的k-距离集合E,对集合E进行升序排序后得到k-距离集合E’,拟合一条排序后的E’集合中k-距离的变化曲线图,根据变化曲线图将急剧发生变化的位置所对应的k-距离的值,确定为半径r的值。Given a dataset P={p(i); i=0,1,...n}, for any point P(i), compute the subset S={p(1) from point P(i) to set D, The distances between all points in p(2),...,p(i-1),p(i+1),...,p(n)}, the distances are sorted in ascending order, assuming the sorted distances The set is D={d(1),d(2),...,d(k-1),d(k),d(k+1),...,d(n)}, then d(k) is called For the k-distance, the k-distance is calculated for each point p(i) in the clustering set, and finally the k-distance set of all points is obtained E={e(1),e(2),...,e(n )}, according to the obtained k-distance set E of all points, sort the set E in ascending order to obtain the k-distance set E', fit a change curve of k-distance in the sorted E' set, according to the change The graph determines the value of the k-distance corresponding to the position where the sharp change occurs as the value of the radius r.

进一步的,所述步骤S2中电器运行特征的多元高斯分布模型的建立过程为:Further, the process of establishing the multivariate Gaussian distribution model of the operating characteristics of the electrical appliance in the step S2 is:

B-1:数据初步处理:B-1: Preliminary data processing:

按聚类后的用户电器数据集的不同簇分别读取各簇内点的用户用电特征;According to the different clusters of the clustered consumer electrical appliance data set, the user electricity consumption characteristics of the points in each cluster are respectively read;

B-2:计算样本的特征均值μ:B-2: Calculate the feature mean μ of the sample:

Figure BDA0002493394440000031
Figure BDA0002493394440000031

Figure BDA0002493394440000032
Figure BDA0002493394440000032

其中,k为特征i在电器簇中总数,μi为簇中特征i的特征均值;Among them, k is the total number of feature i in the electrical cluster, and μ i is the feature mean of feature i in the cluster;

B-3:建立用电特征分布的协方差矩阵Σ,X为样本的特征向量集,m为样本数,B-3: Establish the covariance matrix Σ of the characteristic distribution of electricity consumption, X is the eigenvector set of the sample, m is the number of samples,

Figure BDA0002493394440000033
Figure BDA0002493394440000033

得到用户用电行为的多元高斯分布模型。The multivariate Gaussian distribution model of the user's electricity consumption behavior is obtained.

Figure BDA0002493394440000034
Figure BDA0002493394440000034

进一步的,所述步骤S2中以朴素贝叶斯算法计算电器的运行特征对应各个簇的发生概率的具体计算步骤如下:Further, in the step S2, the specific calculation steps for calculating the occurrence probability of each cluster corresponding to the operating characteristics of the electrical appliance by the Naive Bayes algorithm are as follows:

C-1:确定样本集的运行特征,搜集样本数据;C-1: Determine the operating characteristics of the sample set and collect sample data;

C-2:训练样本,对每个类别分别计算其特征的条件概率,即每个特征其对应特征值的发生概率;C-2: For training samples, the conditional probability of its features is calculated for each category, that is, the probability of occurrence of the corresponding feature value of each feature;

C-3:目标分类,读取目标的特征值X,计算其在各个类别Ci的概率p(X|Ci),以其中最大项作为目标的类。C-3: target classification, read the feature value X of the target, calculate its probability p(X|C i ) in each category C i , and take the largest item as the target class.

Figure BDA0002493394440000035
Figure BDA0002493394440000035

有益效果:本发明与现有技术相比,通过对非侵入负荷终端数据上送的用户历史负荷运行数据进行聚类建模,进而分析用户实际电器的种类,实现了云平台对用户负荷的再次辨识,能够有效的对非侵入终端上送的电器属性进行比对校正。Beneficial effect: Compared with the prior art, the present invention performs cluster modeling on the user's historical load operation data sent by the non-intrusive load terminal data, and then analyzes the type of the user's actual electrical appliances, thereby realizing the cloud platform's re-evaluation of the user's load. It can effectively compare and correct the electrical properties sent by the non-intrusive terminal.

附图说明Description of drawings

图1为本发明方法的系统流程图;Fig. 1 is the system flow chart of the method of the present invention;

图2为测试本发明方法的案例功率图。FIG. 2 is a power diagram of a case for testing the method of the present invention.

具体实施方式Detailed ways

下面结合附图和具体实施例,进一步阐明本发明。The present invention will be further illustrated below in conjunction with the accompanying drawings and specific embodiments.

如图1所示,本发明提供一种基于非侵入负荷终端数据的负荷辨识方法,包括如下步骤:As shown in FIG. 1, the present invention provides a load identification method based on non-intrusive load terminal data, including the following steps:

S1:通过非侵入负荷终端对负荷数据进行采样;S1: Sampling the load data through the non-intrusive load terminal;

S2:通过云平台对负荷数据进行整理,其具体包括以下两个方面:S2: Organize the load data through the cloud platform, which specifically includes the following two aspects:

一方面,对用户的各类电器的历史用电数据进行均值漂移聚类,得到聚类后的用户电器数据集的不同簇,对电器簇提取电器的负荷辨识特征,从而对历史负荷类型负荷进行辨识,电器簇的负荷辨识特征包括负荷平均运行时长、负荷平均功率、运行时间分布;On the one hand, the mean-shift clustering is performed on the historical power consumption data of various electrical appliances of the user to obtain different clusters of the user electrical appliance data set after clustering, and the load identification features of the electrical appliances are extracted from the electrical appliance clusters, so as to analyze the historical load type load. Identification, the load identification features of the electrical cluster include the average running time of the load, the average power of the load, and the distribution of running time;

另一方面,根据簇内各样本点的用户用电特征,建立电器运行特征的多元高斯分布模型,并且以负荷运行数据作为输入特征,以朴素贝叶斯算法计算电器的运行特征对应各个簇的发生概率;On the other hand, according to the user's electricity consumption characteristics of each sample point in the cluster, a multivariate Gaussian distribution model of the electrical appliance operating characteristics is established, and the load operating data is used as the input feature, and the naive Bayesian algorithm is used to calculate the electrical appliance operating characteristics corresponding to each cluster. probability of occurrence;

S3:以其中最大概率的一簇作为电器的实际类别,获得该簇所属电器类型,将该簇的电器类型作为电器的电器类型。S3: Take a cluster with the highest probability as the actual category of the appliance, obtain the appliance type to which the cluster belongs, and use the appliance type of the cluster as the appliance type of the appliance.

本实施例中电器的历史用电数据包括电器的电器总用电量、峰值功率、启停次数、开启时间和运行时长等。The historical power consumption data of the electrical appliance in this embodiment includes the electrical appliance's total electrical power consumption, peak power, start and stop times, on time, and running time, and the like.

本实施例中步骤S2中均值漂移聚类的具体步骤如下:The specific steps of mean-shift clustering in step S2 in this embodiment are as follows:

A1:确定滑动窗口半径r,以随机选取的中心点C、半径为r的圆形滑动窗口开始聚类;A1: Determine the sliding window radius r, and start clustering with a randomly selected center point C and a circular sliding window with a radius of r;

A2:在每一次迭代过程中,计算新的滑动窗口内的均值即窗口新中心点,滑动窗口内的点的数量为窗口内的密度;A2: In each iteration process, calculate the mean value in the new sliding window, that is, the new center point of the window, and the number of points in the sliding window is the density in the window;

A3:继续按照均值移动滑动窗口直到没有方向在核内可以容纳更多的点,即一直移动到圆内密度不再增加为止;A3: Continue to move the sliding window according to the mean value until there is no direction that can accommodate more points in the kernel, that is, until the density in the circle no longer increases;

A4:对步骤A2到A4产生的滑动窗口进行过滤,当存在多个窗口重叠时,保留包含最多点的窗口,并根据数据点所在的滑动窗口进行聚类;A4: Filter the sliding windows generated in steps A2 to A4. When multiple windows overlap, retain the window containing the most points, and perform clustering according to the sliding window where the data points are located;

A5:保存各个数据集的质心坐标,作为类别的标准特征值,同时统计族群内各个特征的分布情况,作为电器特征分布范围。A5: Save the centroid coordinates of each data set as the standard feature value of the category, and count the distribution of each feature in the group as the distribution range of electrical features.

其中,圆形滑动窗口的半径参数r的确定过程为:Among them, the determination process of the radius parameter r of the circular sliding window is:

给定数据集P={p(i);i=0,1,…n},对于任意点P(i),计算点P(i)到集合D的子集S={p(1),p(2),…,p(i-1),p(i+1),…,p(n)}中所有点之间的距离,距离按照从小到大的顺序排序,假设排序后的距离集合为D={d(1),d(2),…,d(k-1),d(k),d(k+1),…,d(n)},则d(k)称为k-距离,对待聚类集合中每个点p(i)都计算k-距离,最后得到所有点的k-距离集合E={e(1),e(2),…,e(n)},根据得到的所有点的k-距离集合E,对集合E进行升序排序后得到k-距离集合E’,拟合一条排序后的E’集合中k-距离的变化曲线图,然后绘出曲线,通过观察,将急剧发生变化的位置所对应的k-距离的值,确定为半径r的值。Given a dataset P={p(i); i=0,1,...n}, for any point P(i), compute the subset S={p(1) from point P(i) to set D, The distances between all points in p(2),...,p(i-1),p(i+1),...,p(n)}, the distances are sorted in ascending order, assuming the sorted distances The set is D={d(1),d(2),...,d(k-1),d(k),d(k+1),...,d(n)}, then d(k) is called For the k-distance, the k-distance is calculated for each point p(i) in the clustering set, and finally the k-distance set of all points is obtained E={e(1),e(2),...,e(n )}, according to the obtained k-distance set E of all points, sort the set E in ascending order to obtain the k-distance set E', fit a change curve of k-distance in the sorted E' set, and then draw The curve is drawn, and through observation, the value of the k-distance corresponding to the position where the sharp change occurs is determined as the value of the radius r.

本实施例中步骤S2中电器运行特征的多元高斯分布模型的建立过程为:In the present embodiment, the process of establishing the multivariate Gaussian distribution model of the operating characteristics of the electrical appliance in step S2 is as follows:

B-1:数据初步处理:B-1: Preliminary data processing:

按聚类后的用户电器数据集的不同簇分别读取各簇内点的用户用电特征;According to the different clusters of the clustered consumer electrical appliance data set, the user electricity consumption characteristics of the points in each cluster are respectively read;

B-2:计算样本的特征均值μ:B-2: Calculate the feature mean μ of the sample:

Figure BDA0002493394440000051
Figure BDA0002493394440000051

Figure BDA0002493394440000052
Figure BDA0002493394440000052

其中,k为特征i在电器簇中总数,μi为簇中特征i的特征均值;Among them, k is the total number of feature i in the electrical cluster, and μ i is the feature mean of feature i in the cluster;

B-3:建立用电特征分布的协方差矩阵Σ,X为样本的特征向量集,m为样本数,B-3: Establish the covariance matrix Σ of the characteristic distribution of electricity consumption, X is the eigenvector set of the sample, m is the number of samples,

Figure BDA0002493394440000053
Figure BDA0002493394440000053

得到用户用电行为的多元高斯分布模型。The multivariate Gaussian distribution model of the user's electricity consumption behavior is obtained.

Figure BDA0002493394440000054
Figure BDA0002493394440000054

本实施例中步骤S2中以负荷运行数据作为输入特征,以朴素贝叶斯算法计算电器的运行特征对应各个簇的发生概率的具体计算步骤如下:In this embodiment, the load operation data is used as the input feature in step S2, and the specific calculation steps for calculating the occurrence probability of each cluster corresponding to the operation feature of the electrical appliance by the naive Bayes algorithm are as follows:

C-1:确定样本集的运行特征,搜集样本数据;C-1: Determine the operating characteristics of the sample set and collect sample data;

C-2:训练样本,对每个类别分别计算其特征的条件概率,即每个特征其对应特征值的发生概率;C-2: For training samples, the conditional probability of its features is calculated for each category, that is, the probability of occurrence of the corresponding feature value of each feature;

C-3:目标分类,读取目标的特征值X,计算其在各个类别Ci的概率p(X|Ci),以其中最大项作为目标的类。C-3: target classification, read the feature value X of the target, calculate its probability p(X|C i ) in each category C i , and take the largest item as the target class.

Figure BDA0002493394440000061
Figure BDA0002493394440000061

图2所示为定频空调-A、电饭锅-B、微波炉-C、电磁炉-D、电热水壶-E和电热水器-F在单独运行时的有功功率,本实施例中利用上述基于非侵入负荷终端数据的负荷辨识方法,对这些电器单独运行的工况进行辨识,具体的辨识结果如表1所示:Figure 2 shows the active power of the fixed-frequency air conditioner-A, electric rice cooker-B, microwave oven-C, induction cooker-D, electric kettle-E and electric water heater-F when they operate independently. The load identification method that invades the load terminal data is used to identify the working conditions of these electrical appliances running alone. The specific identification results are shown in Table 1:

表1Table 1

Figure BDA0002493394440000062
Figure BDA0002493394440000062

表1展示了基于非侵入负荷终端数据的负荷辨识方法对典型电器单独运行工况的测试结果,可以看出负荷辨识方法能够有效的辨识电器。Table 1 shows the test results of the load identification method based on the non-intrusive load terminal data on the individual operating conditions of typical electrical appliances. It can be seen that the load identification method can effectively identify electrical appliances.

Claims (7)

1. A load identification method based on non-intrusive load terminal data is characterized in that: the method comprises the following steps:
s1: sampling load data through a non-intrusive load terminal;
s2: the load data is sorted, and the method specifically comprises the following two aspects:
on one hand, the historical electricity utilization data of various electric appliances of the user are subjected to mean shift clustering to obtain different clusters of a clustered electric appliance data set of the user, and load identification characteristics of the electric appliances are extracted from the electric appliance clusters, so that the historical load type load is identified;
on the other hand, a multivariate Gaussian distribution model of the operation characteristics of the electric appliance is established according to the electricity utilization characteristics of the user of each sample point in the cluster, the load operation data is used as input characteristics, and the probability of the operation characteristics of the electric appliance corresponding to each cluster is calculated by a naive Bayes algorithm;
s3: and taking a cluster with the maximum probability as the actual category of the electric appliance, obtaining the electric appliance type of the cluster, and taking the electric appliance type of the cluster as the electric appliance type of the electric appliance.
2. The method of claim 1, wherein the load identification method based on non-intrusive load terminal data is characterized in that: the specific steps of mean shift clustering in step S2 are as follows:
a1: determining the radius r of the sliding window, and starting clustering by using a randomly selected central point C and a circular sliding window with the radius r;
a2: in each iteration process, calculating the mean value in a new sliding window, namely a new central point of the window, wherein the number of points in the sliding window is the density in the window;
a3: continuing to move the sliding window according to the mean value until the density in the circle is not increased any more;
a4: filtering the sliding windows generated in the steps A2 to A4, and when a plurality of windows are overlapped, reserving the window containing the most points and clustering according to the sliding window where the data points are positioned;
a5: and storing the centroid coordinates of each data set as standard characteristic values of the categories, and counting the distribution condition of each characteristic in the group as the distribution range of the electric appliance characteristics.
3. The method of claim 1, wherein the load identification method based on non-intrusive load terminal data is characterized in that: the historical electricity consumption data of the electrical appliance in the step S2 includes total electricity consumption, peak power, start-stop times, start time, and running time of the electrical appliance.
4. The method of claim 2, wherein the load identification method based on non-intrusive load terminal data is characterized in that: the determination process of the radius parameter r of the circular sliding window in step S2 is as follows:
given a dataset P ═ { P (i); 0,1, … n, for any point p (i), calculating the distances between all points in the subset S of the set D from the point p (i) to the point p (i), p (2), …, p (i-1), p (i +1), …, p (n), the distances being sorted in order from small to large, assuming that the sorted distance set is D { D (1), D (2), …, D (k-1), D (k +1), …, D (n) }, D (k) is called k-distance, calculating k-distance for each point p (i) in the set to be clustered, and finally obtaining the k-distance set E of all points E ═ E (1), E (2), …, E (n) }, and according to the obtained k-distance set E of all points, sorting the set E in ascending order to obtain the k-distance set E, obtaining the k-distance set E', and fitting a change curve graph of the k-distance in the sorted E' set, and determining the value of the k-distance corresponding to the position where the change occurs sharply as the value of the radius r according to the change curve graph.
5. The method of claim 1, wherein the load identification method based on non-intrusive load terminal data is characterized in that: and the load identification characteristics of the electrical appliance cluster in the step S2 include load average running time, load average power and running time distribution.
6. The method of claim 1, wherein the load identification method based on non-intrusive load terminal data is characterized in that: the process of establishing the multivariate Gaussian distribution model of the operation characteristics of the electric appliance in the step S2 is as follows:
b-1: data preliminary processing:
respectively reading the user electricity utilization characteristics of the points in each cluster according to different clusters of the clustered user electrical appliance data set;
b-2: calculating the characteristic mean value mu of the sample:
Figure FDA0002493394430000021
Figure FDA0002493394430000022
wherein k is the total number of the characteristics i in the electrical appliance cluster, muiThe characteristic mean value of the characteristic i in the cluster;
b-3: establishing a covariance matrix sigma of the electrical characteristic distribution, wherein X is a characteristic vector set of the samples, m is the number of the samples,
Figure FDA0002493394430000023
and obtaining a multivariate Gaussian distribution model of the power utilization behavior of the user.
Figure FDA0002493394430000024
7. The method of claim 1, wherein the load identification method based on non-intrusive load terminal data is characterized in that: the specific calculation steps of calculating the occurrence probability of each cluster corresponding to the operating characteristics of the electrical appliance by using a naive Bayes algorithm in the step S2 are as follows:
c-1: determining the operation characteristics of a sample set, and collecting sample data;
c-2: training samples, and respectively calculating the conditional probability of the characteristics of each category, namely the occurrence probability of the corresponding characteristic value of each characteristic;
c-3: classifying the target, reading the characteristic value X of the target, calculating it in each class CiProbability of p (X | C)i) The class that targets the maximum term.
Figure FDA0002493394430000031
CN202010411408.3A 2020-05-15 2020-05-15 A load identification method based on non-intrusive load terminal data Pending CN111553444A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010411408.3A CN111553444A (en) 2020-05-15 2020-05-15 A load identification method based on non-intrusive load terminal data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010411408.3A CN111553444A (en) 2020-05-15 2020-05-15 A load identification method based on non-intrusive load terminal data

Publications (1)

Publication Number Publication Date
CN111553444A true CN111553444A (en) 2020-08-18

Family

ID=72004742

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010411408.3A Pending CN111553444A (en) 2020-05-15 2020-05-15 A load identification method based on non-intrusive load terminal data

Country Status (1)

Country Link
CN (1) CN111553444A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112560909A (en) * 2020-12-04 2021-03-26 江苏方天电力技术有限公司 Cloud collaborative non-intrusive load identification method based on multi-type feature interaction
CN112561230A (en) * 2020-11-06 2021-03-26 国网浙江慈溪市供电有限公司 Environment-friendly equipment state monitoring method based on electrical characteristics
CN112636329A (en) * 2020-12-02 2021-04-09 广东电网有限责任公司广州供电局 Method for calculating load components of three-phase four-wire system user meter and related device thereof
CN112784210A (en) * 2021-01-25 2021-05-11 南京智睿能源互联网研究院有限公司 Load identification method based on multivariate Gaussian discrimination mode
CN112801188A (en) * 2021-01-29 2021-05-14 国网上海市电力公司 NILMD method based on affine propagation clustering algorithm and selective Bayesian classification
CN113158309A (en) * 2021-04-09 2021-07-23 天津大学 Heating and ventilation equipment operation strategy identification method
CN113269227A (en) * 2021-04-15 2021-08-17 国网浙江省电力有限公司电力科学研究院 Non-invasive deep decomposition method and system for small and miniature load time-space electricity consumption behavior
CN113723479A (en) * 2021-08-18 2021-11-30 南京工程学院 Non-invasive load identification method based on GRNN and mean shift algorithm

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109145949A (en) * 2018-07-19 2019-01-04 山东师范大学 Non-intrusive electrical load monitoring and decomposition method and system based on integrated study
CN109541336A (en) * 2018-10-10 2019-03-29 华南理工大学 A kind of multidimensional signal detection method of non-intrusion type load monitoring
CN110533089A (en) * 2019-08-19 2019-12-03 三峡大学 Adaptive non-intrusion type load recognition methods based on random forest
CN110580502A (en) * 2019-08-20 2019-12-17 上海纺织节能环保中心 Factor hidden Markov load decomposition method based on Gaussian mixture
CN110907762A (en) * 2019-12-10 2020-03-24 深圳供电局有限公司 A Non-Intrusive Load Matching Identification Method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109145949A (en) * 2018-07-19 2019-01-04 山东师范大学 Non-intrusive electrical load monitoring and decomposition method and system based on integrated study
CN109541336A (en) * 2018-10-10 2019-03-29 华南理工大学 A kind of multidimensional signal detection method of non-intrusion type load monitoring
CN110533089A (en) * 2019-08-19 2019-12-03 三峡大学 Adaptive non-intrusion type load recognition methods based on random forest
CN110580502A (en) * 2019-08-20 2019-12-17 上海纺织节能环保中心 Factor hidden Markov load decomposition method based on Gaussian mixture
CN110907762A (en) * 2019-12-10 2020-03-24 深圳供电局有限公司 A Non-Intrusive Load Matching Identification Method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
武昕 等: "基于非侵入式用电数据分解的自适应特征库构建与负荷辨识" *
陈振宇 等: "非侵入终端负荷辨识能力测评系统设计方法研究" *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112561230A (en) * 2020-11-06 2021-03-26 国网浙江慈溪市供电有限公司 Environment-friendly equipment state monitoring method based on electrical characteristics
CN112636329A (en) * 2020-12-02 2021-04-09 广东电网有限责任公司广州供电局 Method for calculating load components of three-phase four-wire system user meter and related device thereof
CN112636329B (en) * 2020-12-02 2022-10-25 广东电网有限责任公司广州供电局 Method for calculating load components of three-phase four-wire system user meter and related device thereof
CN112560909A (en) * 2020-12-04 2021-03-26 江苏方天电力技术有限公司 Cloud collaborative non-intrusive load identification method based on multi-type feature interaction
CN112560909B (en) * 2020-12-04 2022-06-24 江苏方天电力技术有限公司 Cloud collaborative non-intrusive load identification method based on multi-type feature interaction
CN112784210A (en) * 2021-01-25 2021-05-11 南京智睿能源互联网研究院有限公司 Load identification method based on multivariate Gaussian discrimination mode
CN112801188A (en) * 2021-01-29 2021-05-14 国网上海市电力公司 NILMD method based on affine propagation clustering algorithm and selective Bayesian classification
CN113158309A (en) * 2021-04-09 2021-07-23 天津大学 Heating and ventilation equipment operation strategy identification method
CN113269227A (en) * 2021-04-15 2021-08-17 国网浙江省电力有限公司电力科学研究院 Non-invasive deep decomposition method and system for small and miniature load time-space electricity consumption behavior
CN113723479A (en) * 2021-08-18 2021-11-30 南京工程学院 Non-invasive load identification method based on GRNN and mean shift algorithm

Similar Documents

Publication Publication Date Title
CN111553444A (en) A load identification method based on non-intrusive load terminal data
CN109146705B (en) Method for detecting electricity stealing by using electricity characteristic index dimension reduction and extreme learning machine algorithm
Altrabalsi et al. Low-complexity energy disaggregation using appliance load modelling
Munshi et al. Unsupervised nonintrusive extraction of electrical vehicle charging load patterns
CN110954744A (en) A non-intrusive load monitoring method based on event detection
CN111564842B (en) Method for statistical estimation of medium-and-long-term energy consumption in non-invasive electric load monitoring
CN110781332A (en) Clustering method of daily load curve of electric residential users based on compound clustering algorithm
CN106786534A (en) A non-intrusive electric load transient process identification method and system
CN109543943A (en) A kind of electricity price inspection execution method based on big data deep learning
CN106646026A (en) Non-intrusive household appliance load identification method
CN113036759B (en) A fine-grained identification method and identification system for power user load
CN110119948B (en) Power user credit evaluation method and system based on dynamic combination of time-varying weights
CN103135009A (en) Electric appliance detection method and system based on user feedback information
CN111563827B (en) Load decomposition method based on physical characteristics of electrical appliance and electricity utilization behaviors of residents
CN105574642A (en) Smart grid big data-based electricity price execution checking method
CN109767054A (en) Energy Efficiency Cloud Evaluation Method and Edge Energy Efficiency Gateway Based on Deep Neural Network Algorithm
CN111327118B (en) A Non-Intrusive Electric Load Identification Method
CN113591899A (en) Power customer portrait recognition method and device and terminal equipment
CN116304537B (en) A verification method for electricity stealing users based on intelligent measurement terminals
CN115456034A (en) Automatic identification and monitoring method and system for electric bicycle charging
CN114186631A (en) A load identification method based on non-intrusive intelligent terminal
CN110569888A (en) Transformer fault diagnosis method and device based on directed acyclic graph support vector machine
Deng et al. Residential appliance detection using attention-based deep convolutional neural network
Bartman et al. Identification of electrical appliances using their virtual description and data selection for non-intrusive load monitoring
Dan et al. Review of non-intrusive load appliance monitoring

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned

Effective date of abandoning: 20240220

AD01 Patent right deemed abandoned