[go: up one dir, main page]

CN103018611B - Non-invasive load monitoring method and system based on current decomposition - Google Patents

Non-invasive load monitoring method and system based on current decomposition Download PDF

Info

Publication number
CN103018611B
CN103018611B CN201210579563.1A CN201210579563A CN103018611B CN 103018611 B CN103018611 B CN 103018611B CN 201210579563 A CN201210579563 A CN 201210579563A CN 103018611 B CN103018611 B CN 103018611B
Authority
CN
China
Prior art keywords
current
decomposition
manifold
electric device
statistical manifold
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.)
Active
Application number
CN201210579563.1A
Other languages
Chinese (zh)
Other versions
CN103018611A (en
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.)
Institute of Computing Technology of CAS
Original Assignee
Institute of Computing Technology of CAS
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 Institute of Computing Technology of CAS filed Critical Institute of Computing Technology of CAS
Priority to CN201210579563.1A priority Critical patent/CN103018611B/en
Publication of CN103018611A publication Critical patent/CN103018611A/en
Application granted granted Critical
Publication of CN103018611B publication Critical patent/CN103018611B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Abstract

本发明提供一种基于电流分解的非侵入式负载监测方法及系统,该方法包括:步骤1,对每一个用电设备进行训练,获得所述每一个用电设备的统计流形,并将所述统计流形存入数据库;步骤2,在电网入口处安装采集单元,实时获取所有用电设备的用电数据,并将所述用电数据转换成计算统计流形的向量表示,获得总电流的向量集合;步骤3,计算单元载入所述每一个用电设备的统计流形,根据所述统计流形分解所述总统计流形,从而获得每一个用电设备的实时电流向量。本发明直接将采集到的总电流分解到各个设备上,不再对复杂的运行状态进行估计,而是直接利用电流信息计算有关设备上的详细用电信息,保证获得准确而详细的用电信息。

The present invention provides a non-intrusive load monitoring method and system based on current decomposition. The method includes: step 1, train each electric device, obtain the statistical manifold of each electric device, and The above statistical manifold is stored in the database; step 2, install the acquisition unit at the entrance of the power grid to obtain the power consumption data of all electrical equipment in real time, and convert the power consumption data into a vector representation of the calculation statistical manifold to obtain the total current The set of vectors; step 3, the calculation unit loads the statistical manifold of each electric device, and decomposes the total statistical manifold according to the statistical manifold, so as to obtain the real-time current vector of each electric device. The present invention directly decomposes the collected total current to each device, no longer estimates the complex operating state, but directly uses the current information to calculate the detailed power consumption information on the relevant equipment, so as to ensure accurate and detailed power consumption information .

Description

一种基于电流分解的非侵入式负载监测方法及系统A non-intrusive load monitoring method and system based on current decomposition

技术领域technical field

本发明涉及计算机应用技术领域,特别涉及一种基于电流分解的非侵入式负载监测方法及系统。The invention relates to the technical field of computer applications, in particular to a non-invasive load monitoring method and system based on current decomposition.

背景技术Background technique

2008年IBM提出"智慧地球"的概念,将智慧地球描述为“更透彻的感知、更全面的互联互通、更深入的智能化”。美国政府在智慧地球提出不久之后也将智能电网作为其“新能源救市计划”中的重要部分提上日程。与我们熟知的传统电网比较起来,智能电网意味着尽可能获取更多信息,更注重于使用者间的交互,通过解析信息提供更到位的服务。智能电表等用户端设备直接与用户接触,指导用户用电行为,是智能电网不同于传统电网的重要体现。通过给出有关设备上的详细用电情况,能够有效的减小用户对用电行为的认识偏差,优化用户的使用习惯,从而得到更好的节电效果。In 2008, IBM proposed the concept of "Smart Earth", describing it as "more thorough perception, more comprehensive interconnection, and deeper intelligence". The US government also put smart grid as an important part of its "new energy rescue plan" on the agenda shortly after Smart Earth was proposed. Compared with the traditional grid that we are familiar with, the smart grid means to obtain as much information as possible, pay more attention to the interaction between users, and provide better services by analyzing information. User-end devices such as smart meters directly contact users and guide users' electricity consumption behaviors, which is an important manifestation of the difference between smart grids and traditional grids. By giving detailed power consumption information on the relevant equipment, it can effectively reduce the user's understanding of the power consumption behavior, optimize the user's usage habits, and obtain better power saving effects.

因此,有效获取用电环境(家庭、生产环境等)中有关设备上的详细用电信息,是智能电网领域用户端信息采集的关键技术。在不影响用电环境的情况下,从外部获取各个设备上的详细用电信息的监测技术,被称为非侵入式负载监测(NILM)技术。到目前为止,非侵入式负载监测技术主要包括两大类:Therefore, effectively obtaining detailed power consumption information on related devices in the power consumption environment (family, production environment, etc.) is a key technology for user-side information collection in the smart grid field. The monitoring technology that obtains detailed power consumption information on each device from the outside without affecting the power consumption environment is called non-intrusive load monitoring (NILM) technology. So far, non-intrusive load monitoring technologies mainly fall into two categories:

1.基于稳态分析的负载监测技术:此类技术首先为每个用电设备定义多个运行状态(稳态),并在训练阶段为每个运行状态建立对应的特征;在开始监测后,通过将采集到的全局信息与已知的特征集合的比对,获取当前状态下所有用电设备的运行状态;最终根据预先定义的运行状态,给出有关设备上的详细用电信息。1. Load monitoring technology based on steady-state analysis: This type of technology first defines multiple operating states (steady-state) for each electrical equipment, and establishes corresponding characteristics for each operating state during the training phase; after starting monitoring, By comparing the collected global information with the known feature set, the operating status of all electrical equipment in the current state is obtained; finally, according to the predefined operating status, detailed electrical information on the equipment is given.

2.基于暂态事件的负载监测技术:此类技术首先为每个用电设备定义多个暂态事件,并在训练阶段为每个暂态事件建立对应的特征;在开始监测后,通过将采集到的全局信息与已知的特征集合的比对,判断当前状态下是否发生暂态事件;当有暂态事件发生时,根据事件定义,修改对应设备的运行状态,最终给出有关设备上的详细用电信息。2. Load monitoring technology based on transient events: This type of technology first defines multiple transient events for each electrical equipment, and establishes corresponding characteristics for each transient event in the training phase; Compare the collected global information with the known feature set to judge whether a transient event occurs in the current state; when a transient event occurs, modify the operating state of the corresponding device according to the event definition, and finally give the information on the relevant device. detailed electricity usage information.

虽然上述两种技术都支持非侵入式负载监测,满足智能电网领域用户端信息采集的需求,但是这两种技术都对用电设备做出了类似的假设:设备具有相对稳定的运行状态,确定运行状态后可以根据已知的信息,获得设备的详细用电信息。而随着时代进步,用电设备的行为日益弹性化,使得这一假设不再适用,不能获得准确的用电信息。例如:在同样时间段中,运行游戏程序的电脑相对于单纯浏览网页消耗更多的电力,空闲与繁忙的功耗差异可能超过30%。Although both of the above two technologies support non-intrusive load monitoring and meet the needs of user-end information collection in the smart grid field, both technologies make similar assumptions about electrical equipment: the equipment has a relatively stable operating state, and the After the running state, the detailed power consumption information of the equipment can be obtained according to the known information. With the progress of the times, the behavior of electrical equipment is becoming more and more flexible, which makes this assumption no longer applicable, and accurate electricity consumption information cannot be obtained. For example: in the same period of time, a computer running game programs consumes more power than simply browsing the web, and the difference between idle and busy power consumption may exceed 30%.

发明内容Contents of the invention

针对用电设备的弹性用电行为,本方法对通过设备的电流的相空间建模,直接将采集到的总电流分解到各个设备上。不再对复杂的运行状态进行估计,直接利用电流信息计算有关设备上的详细用电信息。Aiming at the flexible power consumption behavior of electrical equipment, this method models the phase space of the current passing through the equipment, and directly decomposes the collected total current into each equipment. Instead of estimating the complex operating state, the current information is directly used to calculate the detailed power consumption information on the equipment.

为实现上述目的,本发明提供一种基于电流分解的非侵入式负载监测方法,该方法包括:In order to achieve the above object, the present invention provides a non-intrusive load monitoring method based on current decomposition, the method comprising:

步骤1,对每一个用电设备进行训练,获得所述每一个用电设备的统计流形,并将所述统计流形存入数据库;Step 1, train each electrical device, obtain the statistical manifold of each electrical device, and store the statistical manifold in a database;

步骤2,在电网入口处安装采集单元,实时获取所有用电设备的用电数据,并将所述用电数据转换成计算统计流形的向量表示,获得总电流的向量集合;Step 2, installing a collection unit at the entrance of the power grid to obtain the power consumption data of all power consumption equipment in real time, and converting the power consumption data into a vector representation of the calculation statistical manifold to obtain a vector set of the total current;

步骤3,计算单元载入所述每一个用电设备的统计流形,根据所述统计流形分解所述总统计流形,从而获得每一个用电设备的实时电流向量。Step 3, the calculation unit loads the statistical manifold of each electric device, and decomposes the total statistical manifold according to the statistical manifold, so as to obtain the real-time current vector of each electric device.

进一步的,所述步骤1包括:Further, the step 1 includes:

步骤11,采集每一个用电设备正常工作时的电流与电压信号;Step 11, collecting the current and voltage signals of each electrical device when it is working normally;

步骤12,将所述电流与电压信号向量化,获得每一个用电设备的向量集合;Step 12, vectorizing the current and voltage signals to obtain a vector set for each electrical device;

步骤13,根据所述向量集合,构造出该用电设备的统计流形,直到完成所有用电设备的训练。Step 13, according to the set of vectors, construct the statistical manifold of the electrical equipment until the training of all electrical equipment is completed.

进一步的,所述步骤2包括:Further, said step 2 includes:

步骤21,所述采集单元实时获取所有用电设备的电流与电压信号;Step 21, the acquisition unit acquires the current and voltage signals of all electrical equipment in real time;

步骤22,所述计算单元将所述电流与电压信号向量化,获得总电流的向量集合。Step 22, the calculation unit vectorizes the current and voltage signals to obtain a vector set of the total current.

进一步的,所述步骤3包括:Further, said step 3 includes:

步骤31,所述计算单元载入各个用电设备的统计流形,根据统计流形的性质选取分解时使用的最优化算法;Step 31, the calculation unit loads the statistical manifold of each electric device, and selects the optimization algorithm used for decomposition according to the properties of the statistical manifold;

步骤32,使用所述最优化算法,结合所述各个用电设备的统计流形,对所述总电流的向量集合进行分解,得到各个设备上的电流。Step 32, using the optimization algorithm, combined with the statistical manifold of each electric device, decomposes the vector set of the total current to obtain the current on each device.

所述非侵入式负载监测方法还包括:The non-intrusive load monitoring method also includes:

步骤4,完成分解后,对分解结果进行误差分析;Step 4, after completing the decomposition, perform error analysis on the decomposition results;

步骤5,如果误差在接受范围内,所述计算单元根据所述每一个用电设备的实时电流向量计算每一个用电设备的功率,并将所述功率传入显示单元;否则进行异常处理。Step 5, if the error is within the acceptable range, the calculation unit calculates the power of each electric device according to the real-time current vector of each electric device, and transmits the power to the display unit; otherwise, abnormal processing is performed.

为实现上述目的,本发明还提供一种基于电流分解的非侵入式负载监测系统,该系统包括:To achieve the above purpose, the present invention also provides a non-invasive load monitoring system based on current decomposition, which includes:

训练模块,对每一个用电设备进行训练,获得所述每一个用电设备的统计流形,并将所述统计流形存入数据库;A training module, which trains each electrical device, obtains the statistical manifold of each electrical device, and stores the statistical manifold in a database;

预处理模块,在电网入口处安装采集单元,实时获取所有用电设备的用电数据,并将所述用电数据转换成总电流向量;The preprocessing module installs the collection unit at the grid entrance to obtain the electricity consumption data of all electrical equipment in real time, and converts the electricity consumption data into a total current vector;

分解模块,计算单元载入所述每一个用电设备的统计流形,根据所述统计流形分解所述总电流向量,从而获得每一个用电设备的实时电流向量。In the decomposition module, the calculation unit loads the statistical manifold of each electric device, and decomposes the total current vector according to the statistical manifold, so as to obtain the real-time current vector of each electric device.

进一步的,所述训练模块包括:Further, the training module includes:

第一采集模块,采集每一个用电设备正常工作时的电流与电压信号;The first acquisition module collects the current and voltage signals of each electrical device when it is working normally;

第一向量化模块,将所述电流与电压信号向量化,获得每一个用电设备的向量集合;The first vectorization module vectorizes the current and voltage signals to obtain a vector set for each electrical device;

第一流形构造模块,根据所述向量集合,构造出该用电设备的统计流形,直到完成所有用电设备的训练。The first manifold construction module constructs the statistical manifold of the electric device according to the set of vectors until the training of all electric devices is completed.

进一步的,所述预处理模块包括:Further, the preprocessing module includes:

第二采集模块,所述采集单元实时获取所有用电设备的电流与电压信号;The second acquisition module, the acquisition unit acquires the current and voltage signals of all electrical equipment in real time;

第二向量化模块,所述计算单元将所述电流与电压信号向量化,获得所有用电设备的向量集合。In the second vectorization module, the calculation unit vectorizes the current and voltage signals to obtain a vector set of all electrical equipment.

进一步的,所述分解模块包括:Further, the decomposition module includes:

算法选取模块,所述计算单元载入各个用电设备的统计流形,根据统计流形的性质选取分解时使用的最优化算法;Algorithm selection module, the calculation unit loads the statistical manifold of each electrical equipment, and selects the optimization algorithm used when decomposing according to the properties of the statistical manifold;

算法执行模块,使用所述最优化算法,结合所述各个用电设备的统计流形,对所述总电流的向量集合进行分解,得到各个设备上的电流。The algorithm execution module decomposes the vector set of the total current by using the optimization algorithm combined with the statistical manifold of each electric device to obtain the current on each device.

所述非侵入式负载监测系统还包括:The non-intrusive load monitoring system also includes:

分析模块,完成分解后,对分解结果进行误差分析;The analysis module, after completing the decomposition, performs error analysis on the decomposition results;

处理模块,如果误差在接受范围内,所述计算单元根据所述每一个用电设备的实时电流向量计算每一个用电设备的功率,并将所述功率传入显示单元;否则进行异常处理。Processing module, if the error is within the acceptable range, the calculation unit calculates the power of each electric device according to the real-time current vector of each electric device, and transmits the power to the display unit; otherwise, abnormal processing is performed.

本发明的有益功效在于,The beneficial effect of the present invention is that,

1.本发明不依赖于设备状态的判断,直接分解电流:现有非侵入式负载监测技术大多首先进行设备状态的估计,之后再完成用电信息的分析。此类方法有着一个直接的缺陷,当家庭中存在负载动态变化的弹性设备时,分析精度会有明显的下降。而本发明直接对设备的电流相空间建模,不依赖于设备的运行状态判断,能够有效分解多种负载动态变化的弹性设备产生的电流。1. The present invention does not rely on the judgment of the equipment state, and directly decomposes the current: most of the existing non-intrusive load monitoring technologies first estimate the equipment state, and then complete the analysis of the power consumption information. This type of method has a direct flaw, when there are elastic devices with dynamically changing loads in the home, the analysis accuracy will drop significantly. However, the present invention directly models the current phase space of the equipment, does not depend on the judgment of the operating state of the equipment, and can effectively decompose the current generated by various elastic equipment with dynamically changing loads.

2.本发明在分解电流的计算方法中,使用多种最优化方法,极大提高电流分解精度:现有非侵入式负载监测技术大多首先进行设备状态的估计,此步骤的估计准确性大约在95%左右,在此基础上进行的用电信息分析精度大约在90%左右,当家庭中存在多个弹性设备时,精度还会有10%左右的下滑。而本发明简化了计算步骤,同时使用最优化方法直接分解设备电流,有效追踪各个设备的电流变化情况,能够将电流分解的平均精度提高到95%。2. In the calculation method of the decomposed current, the present invention uses a variety of optimization methods to greatly improve the accuracy of the current decomposition: most of the existing non-intrusive load monitoring technologies first estimate the state of the equipment, and the estimation accuracy of this step is about About 95%, the accuracy of electricity consumption information analysis based on this is about 90%, and when there are multiple elastic devices in the family, the accuracy will drop by about 10%. However, the present invention simplifies the calculation steps, and at the same time uses the optimization method to directly decompose the equipment current, effectively track the current changes of each equipment, and can increase the average accuracy of the current decomposition to 95%.

以下结合附图和具体实施例对本发明进行详细描述,但不作为对本发明的限定。The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments, but not as a limitation of the present invention.

附图说明Description of drawings

图1是本发明的基于电流分解的非侵入式负载监测方法流程图;Fig. 1 is the flow chart of the non-intrusive load monitoring method based on current decomposition of the present invention;

图2是本发明的基于电流分解的非侵入式负载监测系统示意图;2 is a schematic diagram of a non-invasive load monitoring system based on current decomposition of the present invention;

图3是本发明的训练阶段流程图;Fig. 3 is the training stage flowchart of the present invention;

图4是本发明的分解阶段流程图;Fig. 4 is the decomposition stage flowchart of the present invention;

图5是本发明的用电设备结构示意图。Fig. 5 is a schematic structural diagram of the electrical equipment of the present invention.

具体实施方式Detailed ways

图5是本发明的用电设备结构示意图。该结构实现包括三个主要部件:采集单元、计算单元与显示单元,其中:Fig. 5 is a schematic structural diagram of the electrical equipment of the present invention. The realization of this structure includes three main components: acquisition unit, calculation unit and display unit, among which:

采集单元是主要的输入装置,用电设备电流分解系统通过在家庭电网入口附近安装采集单元,获取整个家庭中的电流电压信息。采集单元中的电流传感器可以使用基于霍尔效应的磁场感应芯片,利用电磁感应的原理实现非侵入式的电流数据采集。而电压传感器直接接入市电电路即可与所有用电设备并联,测量其上的电压。在分解算法中,计算信号的向量表示时,要求数据的采集频率高于某一阈值,在本发明的一个实施例中:算法使用短时傅里叶变换时,要求每个周期中包括256个采样点,即对50Hz的交流电需要有12.8kHz的采样频率。The acquisition unit is the main input device, and the current decomposition system of electrical equipment obtains the current and voltage information in the entire home by installing the acquisition unit near the entrance of the household grid. The current sensor in the acquisition unit can use a magnetic field sensing chip based on the Hall effect, and use the principle of electromagnetic induction to realize non-invasive current data acquisition. The voltage sensor can be directly connected to the mains circuit to be connected in parallel with all electrical equipment to measure the voltage on it. In the decomposition algorithm, when calculating the vector representation of the signal, the acquisition frequency of the data is required to be higher than a certain threshold. In one embodiment of the present invention: when the algorithm uses the short-time Fourier transform, it is required to include 256 Sampling point, that is, a sampling frequency of 12.8kHz is required for 50Hz alternating current.

计算单元是整个分解系统的核心,整个家庭的电流电压信息在此处被分解到各个用电设备上,得到各个设备的实时用电信息。计算单元处于整个分解系统的中央,从采集单元得到实时采集的数据,经过计算后将分解结果传递到显示单元。在本发明的实施例中,任意具备足够计算能力的设备都可以作为系统中计算单元。因此,计算单元既可以独立实现,也可以与采集单元共用一个处理器,构成类似智能电表的新型采集设备;还可以与显示单元共用一个处理器,构成类似智能终端的新型显示设备。The calculation unit is the core of the entire decomposition system, where the current and voltage information of the entire family is decomposed to each electrical device, and the real-time power consumption information of each device is obtained. The calculation unit is located in the center of the whole decomposition system, and the real-time collected data is obtained from the acquisition unit, and the decomposition result is transmitted to the display unit after calculation. In the embodiment of the present invention, any device with sufficient computing capability can be used as a computing unit in the system. Therefore, the calculation unit can be implemented independently, or share a processor with the acquisition unit to form a new acquisition device similar to a smart meter; it can also share a processor with the display unit to form a new display device similar to an intelligent terminal.

显示单元是系统与用户交互的主要单元,除了基本的显示与交互功能以外,还需要能够对实时的用电信息进行统计与分析,并且支持数据的存储与管理功能。显示单元从计算单元中获取到家庭中各个用电设备的实时用电信息,对各个用电设备以及整个家庭的历史用电信息和实时用电信息进行更新,并将这些内容保存到数据库或其他媒体中;另一方面,显示单元需要实现一套有效的用户交互界面,包括图形化的显示界面,将用电信息以转化为用户能够理解的形式,反馈给用户;同时用户能够指出系统分析失真的部分,并反馈给分解系统,从而提高以后分解的精度。The display unit is the main unit for the interaction between the system and the user. In addition to the basic display and interaction functions, it also needs to be able to count and analyze real-time power consumption information, and support data storage and management functions. The display unit obtains the real-time power consumption information of each electric device in the family from the computing unit, updates the historical and real-time power consumption information of each electric device and the whole family, and saves these contents to the database or other In the media; on the other hand, the display unit needs to implement a set of effective user interaction interface, including a graphical display interface, to convert the power consumption information into a form that the user can understand, and to feed back to the user; at the same time, the user can point out the distortion of the system analysis and feed back to the decomposition system, so as to improve the accuracy of subsequent decomposition.

本发明的关键技术集中在计算单元所使用的电流分解算法中。算法流程可以分为两个阶段:训练阶段和分解阶段。The key technology of the present invention is concentrated in the current decomposition algorithm used by the calculation unit. The algorithm flow can be divided into two phases: training phase and decomposition phase.

训练阶段是为每个用电设备建立计算模型的必要阶段。在这一阶段中分别采集每一个设备正常工作时的电流与电压信号;之后将采集到的数据转换为预先设定的向量表示;由采集到的实际数据构造当前设备电流相空间的统计流形。此阶段不需要同时进行所有电器的训练,因此可以由用户自己在家庭中完成,也可以有设备提供商或第三方机构完成。但从训练的效果角度以及实现此阶段所需的劳动量上分析,由设备提供商或者第三方机构完成训练阶段,并将结果发送到各个用户,能够更加精确和有效地完成此阶段。此阶段中获得的各个统计流形将被存入数据库,在下一阶段中使用。The training phase is a necessary phase to build a computational model for each electrical device. In this stage, the current and voltage signals of each device during normal operation are collected respectively; the collected data is then converted into a preset vector representation; the statistical manifold of the current phase space of the current device is constructed from the collected actual data . At this stage, it is not necessary to train all electrical appliances at the same time, so it can be completed by the user at home, or by an equipment provider or a third-party organization. However, from the perspective of the effect of training and the amount of labor required to achieve this stage, it is more accurate and effective to complete the training stage by the equipment provider or a third-party organization and send the results to each user. Each statistical manifold obtained in this stage will be stored in the database and used in the next stage.

分解阶段是进行用电设备电流分解的主要阶段。在这一阶段中需要将采集单元安装于电网入口处,采集整个家庭的电流与电压信号;而后将采集到的数据传入计算单元,转换为向量表示;同时从数据库中取出家庭中所有已知设备的统计流形,并按照各个统计流形的数学特征选取合适的最优化方法;在已知总用电信息的情况下,通过计算整个家庭中各个设备上最有可能的电流分布情况;由获得的各个设备的电流信息推导出具体用电信息,最终将这些信息传输到显示单元完成显示与后续的统计处理。The decomposition stage is the main stage for the current decomposition of electrical equipment. In this stage, it is necessary to install the acquisition unit at the entrance of the power grid to collect the current and voltage signals of the whole family; then transfer the collected data to the calculation unit and convert it into a vector representation; The statistical manifold of the equipment, and select the appropriate optimization method according to the mathematical characteristics of each statistical manifold; in the case of knowing the total power consumption information, by calculating the most likely current distribution on each device in the whole family; by The obtained current information of each device deduces the specific power consumption information, and finally transmits the information to the display unit to complete the display and subsequent statistical processing.

图1是是本发明的基于电流分解的非侵入式负载监测方法流程图。如图1所示,该方法包括:Fig. 1 is a flowchart of the non-intrusive load monitoring method based on current decomposition of the present invention. As shown in Figure 1, the method includes:

步骤1,对每一个用电设备进行训练,获得所述每一个用电设备的统计流形,并将所述统计流形存入数据库;Step 1, train each electrical device, obtain the statistical manifold of each electrical device, and store the statistical manifold in a database;

步骤2,在电网入口处安装采集单元,实时获取所有用电设备的用电数据,并将所述用电数据转换成计算统计流形的向量表示,获得总电流的向量集合;Step 2, installing a collection unit at the entrance of the power grid to obtain the power consumption data of all power consumption equipment in real time, and converting the power consumption data into a vector representation of the calculation statistical manifold to obtain a vector set of the total current;

步骤3,计算单元载入所述每一个用电设备的统计流形,根据所述统计流形分解所述总统计流形,从而获得每一个用电设备的实时电流向量。Step 3, the calculation unit loads the statistical manifold of each electric device, and decomposes the total statistical manifold according to the statistical manifold, so as to obtain the real-time current vector of each electric device.

完成信号的向量表示。利用短时傅里叶变换或小波变换等方法,将获得的电流电压等信号从时域转化到频域,将一个基本周期的信号波形转换为高维向量空间中的一个孤立点,使用一个频域信号的高维向量或矩阵表示一段时间的电路信号波形;技术效果:变换后,信号能够更为直观表示出其上的物理意义,例如,能够支持对谐波功率,无功功率等物理量的直接计算。Vector representation of the completion signal. Using methods such as short-time Fourier transform or wavelet transform, the obtained signals such as current and voltage are transformed from the time domain to the frequency domain, and a basic periodic signal waveform is converted into an isolated point in a high-dimensional vector space. The high-dimensional vector or matrix of the domain signal represents the circuit signal waveform for a period of time; technical effect: after transformation, the signal can express its physical meaning more intuitively, for example, it can support the analysis of physical quantities such as harmonic power and reactive power Calculate directly.

建立设备电流相空间的统计学模型。利用微分几何中流形的概念以及统计学的相关方法,根据预先采集的单个设备的用电信息,将每个设备的电流信号相空间(在高维向量空间中信号可能出现区域)表示为一个统计流形,即一系列支持微分几何方法的平滑概率分布函数,其中,流形的几何结构是从电路理论的角度对设备进行刻画,而其上的概率分布则表述了设备在运行时电流的取值分布;技术效果:对每一个用电设备,其上电流的所有取值都包含在一个统计流形中,能够利用此流形计算对应设备以特定电流工作的概率。Establish a statistical model of the equipment current phase space. Using the concept of manifold in differential geometry and statistical methods, according to the pre-collected power consumption information of a single device, the current signal phase space of each device (in the high-dimensional vector space where the signal may appear) is expressed as a statistical Manifold, that is, a series of smooth probability distribution functions that support the differential geometry method, in which the geometric structure of the manifold describes the device from the perspective of circuit theory, and the probability distribution on it expresses the current of the device during operation Value distribution; technical effect: For each electric device, all the values of the current on it are included in a statistical manifold, and this manifold can be used to calculate the probability of the corresponding device working at a specific current.

构造电流分解的计算方法。根据多种运筹学中的最优化计算方法,结合已知的各个设备对应的统计流形,建立多种电流分解方法;当需要进行分解时,能够根据情况选取最有效的方法,完成对总电流的分解;技术效果:针对复杂的家庭用电环境,通过这种复合分解方法,从采集的总电流中分解出通过各个设备的电流,并保证在系统正常工作中分解获得的平均电流精度在95%以上。Computational methods for constructing current decompositions. According to a variety of optimization calculation methods in operations research, combined with the known statistical manifolds corresponding to each device, a variety of current decomposition methods are established; when decomposition is required, the most effective method can be selected according to the situation to complete the calculation of the total current Decomposition; technical effect: For the complex household electricity environment, through this compound decomposition method, the current passing through each device is decomposed from the total current collected, and the average current accuracy obtained by decomposing during the normal operation of the system is guaranteed to be within 95%. %above.

进一步的,所述步骤1包括:Further, the step 1 includes:

步骤11,采集每一个用电设备正常工作时的电流与电压信号;Step 11, collecting the current and voltage signals of each electrical device when it is working normally;

步骤12,将所述电流与电压信号向量化,获得每一个用电设备的向量集合;Step 12, vectorizing the current and voltage signals to obtain a vector set for each electrical device;

步骤13,根据所述向量集合,构造出该用电设备的统计流形,直到完成所有用电设备的训练。Step 13, according to the set of vectors, construct the statistical manifold of the electrical equipment until the training of all electrical equipment is completed.

进一步的,所述步骤2包括:Further, said step 2 includes:

步骤21,所述采集单元实时获取所有用电设备的电流与电压信号;Step 21, the acquisition unit acquires the current and voltage signals of all electrical equipment in real time;

步骤22,所述计算单元将所述电流与电压信号向量化,获得总电流的向量集合。Step 22, the calculation unit vectorizes the current and voltage signals to obtain a vector set of the total current.

进一步的,所述步骤3包括:Further, said step 3 includes:

步骤31,所述计算单元载入各个用电设备的统计流形,根据统计流形的性质选取分解时使用的最优化算法。In step 31, the calculation unit loads the statistical manifold of each electric device, and selects an optimization algorithm for decomposition according to the properties of the statistical manifold.

步骤32,使用所述最优化算法,结合所述各个用电设备的统计流形,对所述总电流的向量集合进行分解,得到各个设备上的电流。Step 32, using the optimization algorithm, combined with the statistical manifold of each electric device, decomposes the vector set of the total current to obtain the current on each device.

所述步骤31中提到的最优化算法主要包括:最小二乘法、最大似然估计、最小风险法以及最小化最大熵方法。The optimization algorithm mentioned in the step 31 mainly includes: the least square method, the maximum likelihood estimation, the minimum risk method and the method of minimizing the maximum entropy.

所述非侵入式负载监测方法还包括:The non-intrusive load monitoring method also includes:

步骤4,完成分解后,对分解结果进行误差分析;Step 4, after completing the decomposition, perform error analysis on the decomposition results;

步骤5,如果误差在接受范围内,所述计算单元根据所述每一个用电设备的实时电流向量计算每一个用电设备的功率,并将所述功率传入显示单元;否则进行异常处理。Step 5, if the error is within the acceptable range, the calculation unit calculates the power of each electric device according to the real-time current vector of each electric device, and transmits the power to the display unit; otherwise, abnormal processing is performed.

图3是本发明的训练阶段流程图。如图3所示,训练阶段开始后,需要判断是否已经完成所有用电设备的训练。如果没有则选取一个待测设备,部署训练环境。训练阶段需要采集各个用电设备正常运行时的电流电压信息,然后计算单元对采集到的电流信息进行短时傅里叶变换,从而获得在频域空间中每一时刻电流对应的向量表示。Fig. 3 is a flow chart of the training phase of the present invention. As shown in FIG. 3 , after the training phase starts, it is necessary to judge whether the training of all electric devices has been completed. If not, select a device to be tested and deploy the training environment. In the training phase, it is necessary to collect the current and voltage information of each electrical equipment during normal operation, and then the calculation unit performs short-time Fourier transform on the collected current information, so as to obtain the vector representation corresponding to the current at each moment in the frequency domain space.

可以使用256维的频域向量表示设备一个周期中的电流信息,采集数据需保证每个周期256个以上的采样点,因此选择12.8kHz作为采样频率。而对特定用电设备,在获取足够长的时间(所谓“足够长的时间”是指这段时间内包括此设备正常使用时可能出现的所有工作状态)的电流向量之后,之后开始计算其工作电流所属的统计流形。A 256-dimensional frequency domain vector can be used to represent the current information in one cycle of the device, and more than 256 sampling points per cycle must be guaranteed for data collection, so 12.8kHz is selected as the sampling frequency. For a specific electrical device, after obtaining the current vector for a sufficiently long time (the so-called "sufficiently long time" refers to including all possible working states of the device during normal use), the calculation of its work is started. The statistical manifold to which the current belongs.

本方法以概率密度均匀分布的线性流形作为描述设备电流相空间的数学抽象,计算方法为主成分分析:将采集到所有电流向量(行向量)组成一个矩阵,对此矩阵进行主成分分析,选取方差贡献率大于95%的主成分对应的特征向量构造此设备的线性流形,也就是电流向量必须满足线性流形方程。将得到的特征向量存入数据库,以供分解阶段使用。直到所有用电设备完成训练,训练阶段结束。This method uses the linear manifold with uniform distribution of probability density as the mathematical abstraction to describe the phase space of the equipment current. The calculation method is principal component analysis: all the collected current vectors (row vectors) are formed into a matrix, and the principal component analysis is performed on this matrix. Select the eigenvector corresponding to the principal component whose variance contribution rate is greater than 95% to construct the linear manifold of this device, that is, the current vector must satisfy the linear manifold equation. The resulting eigenvectors are stored in a database for use in the decomposition stage. The training phase is over until all electrical equipments are trained.

图4是本发明的分解阶段流程图。如图4所示,分解阶段根据训练阶段获得的所有设备的电流相空间对实时采集的家庭总电流进行分解。在分解阶段中,第一步是从数据库载入家庭中所有电器(用电设备)的统计流形。开启采集单元,获取实时的总电流,电压数据。Fig. 4 is a flowchart of the decomposition stage of the present invention. As shown in Figure 4, the decomposition phase decomposes the real-time collected total household current according to the current phase space of all devices obtained in the training phase. In the decomposition phase, the first step is to load the statistical manifold of all electrical appliances (electrical consumers) in the household from the database. Turn on the acquisition unit to obtain real-time total current and voltage data.

然后判断此时是否收到分解停止命令,如果没有收到,则利用采集单元在电网入口处获取家庭中的总电流数据,数据的采集频率与训练阶段相同,计算单元将数据经过短时傅里叶变换得到当前时刻总电流对应的频域向量表示。然后根据现场情况选取分解算法,进行电流分解。本实施例中的分解方法选取最小二乘法,Then judge whether to receive the decomposition stop command at this time, if not received, then use the acquisition unit to obtain the total current data in the household at the grid entrance, the data acquisition frequency is the same as the training stage, and the calculation unit will pass the data through the short-time Fourier The leaf transformation obtains the frequency-domain vector representation corresponding to the total current at the current moment. Then select the decomposition algorithm according to the field situation, and carry out the current decomposition. The decomposition method in the present embodiment selects the least squares method,

由基尔霍夫定律可知,任意时刻,总电流是等于各个设备上的电流之和,同时各个设备的电流向量都属于其线性流形。因此在分解阶段中,已知总电流和各个电器线性流形,即可以得到由两类方程组成的方程组:基尔霍夫方程与线性流形对应的方程。此方程组为超定方程组,不能使用通常的求解方法。本分解阶段中使用最小二乘法求解方程组,求解误差最小化的各个设备上的电流。在本分解阶段中需考虑到求解过程中可能发生的异常情况(使用新的设备、设备损坏等)。According to Kirchhoff's law, at any time, the total current is equal to the sum of the currents on each device, and the current vector of each device belongs to its linear manifold. Therefore, in the decomposition stage, the total current and the linear manifold of each electrical appliance are known, and an equation system consisting of two types of equations can be obtained: Kirchhoff's equation and the equation corresponding to the linear manifold. This system of equations is overdetermined and cannot be solved using the usual methods. In this decomposition stage, the least squares method is used to solve the system of equations for the currents on each device that minimizes the error. Anomalies that may occur during the solution process (use of new equipment, equipment damage, etc.) need to be taken into account in this decomposition phase.

在完成分解计算后,对分解结果进行误差分析:比较分解得到的各个电流值之和与总电流的数值关系,通过对其中偏差值的分析,判断是否有异常发生,并对可能出现的异常进行处理。对于正常的分解结果,从计算单元传入显示单元完成最后的数据处理,根据各个设备上的电流向量,结合家庭内的电压信息,计算各个设备上的功率与能耗,并将结果存入数据库以备用户查阅。After the decomposition calculation is completed, the error analysis of the decomposition results is carried out: compare the numerical relationship between the sum of the current values obtained by the decomposition and the total current, and judge whether there is any abnormality through the analysis of the deviation value, and analyze the possible abnormalities. deal with. For the normal decomposition results, the final data processing is passed from the calculation unit to the display unit, and the power and energy consumption of each device are calculated according to the current vector on each device, combined with the voltage information in the home, and the results are stored in the database. for user review.

在本分解阶段中,分解后得到的电流向量为电流频域表示,可以与对应时刻的电压向量直接计算得到功率信息,无需转换回时域。在本实施例中,分解阶段将一直持续执行,直到用户对分解系统发出分解停止的命令。In this decomposition stage, the current vector obtained after decomposition is expressed in the current frequency domain, and the power information can be directly calculated with the voltage vector at the corresponding time without converting back to the time domain. In this embodiment, the decomposition stage will continue to be executed until the user issues a command to the decomposition system to stop the decomposition.

图2是是本发明的基于电流分解的非侵入式负载监测系统流程图。如图2所示,该系统包括:Fig. 2 is a flowchart of the non-intrusive load monitoring system based on current decomposition of the present invention. As shown in Figure 2, the system includes:

训练模块100,对每一个用电设备进行训练,获得所述每一个用电设备的统计流形,并将所述统计流形存入数据库;The training module 100 trains each electric device, obtains the statistical manifold of each electric device, and stores the statistical manifold in a database;

预处理模块200,在电网入口处安装采集单元,实时获取所有用电设备的用电数据,并将所述用电数据转换成计算统计流形的向量表示,获得总电流的向量集合;The pre-processing module 200 installs an acquisition unit at the entrance of the power grid, acquires the power consumption data of all power consumption equipment in real time, and converts the power consumption data into a vector representation of the calculation statistical manifold to obtain a vector set of the total current;

分解模块300,计算单元载入所述每一个用电设备的统计流形,根据所述统计流形分解所述总统计流形,从而获得每一个用电设备的实时电流向量。In the decomposition module 300, the calculation unit loads the statistical manifold of each electric device, and decomposes the total statistical manifold according to the statistical manifold, so as to obtain the real-time current vector of each electric device.

完成信号的向量表示。利用短时傅里叶变换或小波变换等方法,将获得的电流电压等信号从时域转化到频域,将一个基本周期的信号波形转换为高维向量空间中的一个孤立点,使用一个频域信号的高维向量或矩阵表示一段时间的电路信号波形;技术效果:变换后,信号能够更为直观表示出其上的物理意义,例如,能够支持对谐波功率,无功功率等物理量的直接计算。Vector representation of the completion signal. Using methods such as short-time Fourier transform or wavelet transform, the obtained signals such as current and voltage are transformed from the time domain to the frequency domain, and a basic periodic signal waveform is converted into an isolated point in a high-dimensional vector space. The high-dimensional vector or matrix of the domain signal represents the circuit signal waveform for a period of time; technical effect: after transformation, the signal can express its physical meaning more intuitively, for example, it can support the analysis of physical quantities such as harmonic power and reactive power Calculate directly.

建立设备电流相空间的统计学模型。利用微分几何中流形的概念以及统计学的相关方法,根据预先采集的单个设备的用电信息,将每个设备的电流信号相空间(在高维向量空间中信号可能出现区域)表示为一个统计流形,即一系列支持微分几何方法的平滑概率分布函数,其中,流形的几何结构是从电路理论的角度对设备进行刻画,而其上的概率分布则表述了设备在运行时电流的取值分布;技术效果:对每一个用电设备,其上电流的所有取值都包含在一个统计流形中,能够利用此流形计算对应设备以特定电流工作的概率。Establish a statistical model of the equipment current phase space. Using the concept of manifold in differential geometry and statistical methods, according to the pre-collected power consumption information of a single device, the current signal phase space of each device (in the high-dimensional vector space where the signal may appear) is expressed as a statistical Manifold, that is, a series of smooth probability distribution functions that support the differential geometry method, in which the geometric structure of the manifold describes the device from the perspective of circuit theory, and the probability distribution on it expresses the current of the device during operation Value distribution; technical effect: For each electric device, all the values of the current on it are included in a statistical manifold, and this manifold can be used to calculate the probability of the corresponding device working at a specific current.

构造电流分解的计算方法。根据多种运筹学中的最优化计算方法,结合已知的各个设备对应的统计流形,建立多种电流分解方法;当需要进行分解时,能够根据情况选取最有效的方法,完成对总电流的分解;技术效果:针对复杂的家庭用电环境,通过这种复合分解方法,从采集的总电流中分解出通过各个设备的电流,并保证在系统正常工作中分解获得的平均电流精度在95%以上。Computational methods for constructing current decompositions. According to a variety of optimization calculation methods in operations research, combined with the known statistical manifolds corresponding to each device, a variety of current decomposition methods are established; when decomposition is required, the most effective method can be selected according to the situation to complete the calculation of the total current Decomposition; technical effect: For the complex household electricity environment, through this compound decomposition method, the current passing through each device is decomposed from the total current collected, and the average current accuracy obtained by decomposing during the normal operation of the system is guaranteed to be within 95%. %above.

进一步的,所述训练模块100包括:Further, the training module 100 includes:

第一采集模块110,采集每一个用电设备正常工作时的电流与电压信号;The first collection module 110 collects the current and voltage signals of each electric device when it is working normally;

第一向量化模块120,将所述电流与电压信号向量化,获得每一个用电设备的向量集合;The first vectorization module 120 vectorizes the current and voltage signals to obtain a vector set for each electric device;

第一流形构造模块130,根据所述向量集合,构造出该用电设备的统计流形,直到完成所有用电设备的训练。The first manifold construction module 130 constructs the statistical manifold of the electric device according to the set of vectors until the training of all electric devices is completed.

进一步的,所述预处理模块200包括:Further, the preprocessing module 200 includes:

第二采集模块210,所述采集单元实时获取所有用电设备的电流与电压信号;The second acquisition module 210, the acquisition unit acquires the current and voltage signals of all electrical equipment in real time;

第二向量化模块220,所述计算单元将所述电流与电压信号向量化,获得总电流的向量集合。The second vectorization module 220, the calculation unit vectorizes the current and voltage signals to obtain a vector set of the total current.

进一步的,所述分解模块300包括:Further, the decomposition module 300 includes:

算法选取模块310,所述计算单元载入各个用电设备的统计流形,根据统计流形的性质选取分解时使用的最优化算法。Algorithm selection module 310, the calculation unit loads the statistical manifold of each electric device, and selects the optimization algorithm used in decomposition according to the properties of the statistical manifold.

算法执行模块320,使用所述最优化算法,结合所述各个用电设备的统计流形,对所述总电流的向量集合进行分解,得到各个设备上的电流。The algorithm execution module 320 uses the optimization algorithm to decompose the vector set of the total current in combination with the statistical manifold of each electrical device, to obtain the current on each device.

所述算法选取模块310中提到的最优化算法主要包括:最小二乘法、最大似然估计、最小风险法以及最小化最大熵方法。The optimization algorithms mentioned in the algorithm selection module 310 mainly include: the least square method, the maximum likelihood estimation, the minimum risk method and the method of minimizing the maximum entropy.

所述非侵入式负载监测系统还包括:The non-intrusive load monitoring system also includes:

分析模块400,完成分解后,对分解结果进行误差分析;The analysis module 400, after completing the decomposition, performs error analysis on the decomposition result;

处理模块500,如果误差在接受范围内,所述计算单元根据所述每一个用电设备的实时电流向量计算每一个用电设备的功率,并将所述功率传入显示单元;否则进行异常处理。Processing module 500, if the error is within the acceptable range, the calculation unit calculates the power of each electric device according to the real-time current vector of each electric device, and transmits the power to the display unit; otherwise, abnormal processing is performed .

图3是本发明的训练阶段流程图。如图3所示,训练阶段开始后,需要判断是否已经完成所有用电设备的训练。如果没有则选取一个待测设备,部署训练环境。训练阶段需要采集各个用电设备正常运行时的电流电压信息,然后计算单元对采集到的电流信息进行短时傅里叶变换,从而获得在频域空间中每一时刻电流对应的向量表示。Fig. 3 is a flow chart of the training phase of the present invention. As shown in FIG. 3 , after the training phase starts, it is necessary to judge whether the training of all electric devices has been completed. If not, select a device to be tested and deploy the training environment. In the training phase, it is necessary to collect the current and voltage information of each electrical equipment during normal operation, and then the calculation unit performs short-time Fourier transform on the collected current information, so as to obtain the vector representation corresponding to the current at each moment in the frequency domain space.

可以使用256维的频域向量表示设备一个周期中的电流信息,采集数据需保证每个周期256个以上的采样点,因此选择12.8kHz作为采样频率。而对特定用电设备,在获取足够长的时间(所谓“足够长的时间”是指这段时间内包括此设备正常使用时可能出现的所有工作状态)的电流向量之后,之后开始计算其工作电流所属的统计流形。A 256-dimensional frequency domain vector can be used to represent the current information in one cycle of the device, and more than 256 sampling points per cycle must be guaranteed for data collection, so 12.8kHz is selected as the sampling frequency. For a specific electrical device, after obtaining the current vector for a sufficiently long time (the so-called "sufficiently long time" refers to including all possible working states of the device during normal use), the calculation of its work is started. The statistical manifold to which the current belongs.

本方法以概率密度均匀分布的线性流形作为描述设备电流相空间的数学抽象,计算方法为主成分分析:将采集到所有电流向量(行向量)组成一个矩阵,对此矩阵进行主成分分析,选取方差贡献率大于95%的主成分对应的特征向量构造此设备的线性流形。将得到的特征向量存入数据库,以供分解阶段使用。直到所有用电设备完成训练,训练阶段结束。This method uses the linear manifold with uniform distribution of probability density as the mathematical abstraction to describe the phase space of the equipment current. The calculation method is principal component analysis: all the collected current vectors (row vectors) are formed into a matrix, and the principal component analysis is performed on this matrix. Select the eigenvectors corresponding to the principal components whose variance contribution rate is greater than 95% to construct the linear manifold of this device. The resulting eigenvectors are stored in a database for use in the decomposition stage. The training phase is over until all electrical equipments are trained.

图4是本发明的分解阶段流程图。如图4所示,分解阶段根据训练阶段获得的所有设备的电流相空间对实时采集的家庭总电流进行分解。在分解阶段中,第一步是从数据库载入家庭中所有电器(用电设备)的统计流形。开启采集单元,获取实时的总电流,电压数据。Fig. 4 is a flowchart of the decomposition stage of the present invention. As shown in Figure 4, the decomposition phase decomposes the real-time collected total household current according to the current phase space of all devices obtained in the training phase. In the decomposition phase, the first step is to load the statistical manifold of all electrical appliances (electrical consumers) in the household from the database. Turn on the acquisition unit to obtain real-time total current and voltage data.

然后判断此时是否收到分解停止命令,如果没有收到,则利用采集单元在电网入口处获取家庭中的总电流数据,数据的采集频率与训练阶段相同,计算单元将数据经过短时傅里叶变换得到当前时刻总电流对应的频域向量表示。然后根据现场情况选取分解算法,进行电流分解。由基尔霍夫定律可知,任意时刻,总电流是等于各个设备上的电流之和,同时各个设备的电流向量都属于其线性流形。Then judge whether to receive the decomposition stop command at this time, if not received, then use the acquisition unit to obtain the total current data in the household at the grid entrance, the data acquisition frequency is the same as the training stage, and the calculation unit will pass the data through the short-time Fourier The leaf transformation obtains the frequency-domain vector representation corresponding to the total current at the current moment. Then select the decomposition algorithm according to the field situation, and carry out the current decomposition. According to Kirchhoff's law, at any time, the total current is equal to the sum of the currents on each device, and the current vector of each device belongs to its linear manifold.

因此在分解阶段中,已知总电流和各个电器线性流形,即可以得到由两类方程组成的方程组:基尔霍夫方程与线性流形对应的方程。本分解阶段中使用最小二乘法求解方程组,求解误差最小化的各个设备上的电流。在本分解阶段中需考虑到求解过程中可能发生的异常情况(使用新的设备、设备损坏等)。Therefore, in the decomposition stage, the total current and the linear manifold of each electrical appliance are known, and an equation system consisting of two types of equations can be obtained: Kirchhoff's equation and the equation corresponding to the linear manifold. In this decomposition stage, the least squares method is used to solve the system of equations for the currents on each device that minimizes the error. Anomalies that may occur during the solution process (use of new equipment, equipment damage, etc.) need to be taken into account in this decomposition phase.

在完成分解计算后,对分解结果进行误差分析,比较分解得到的各个电流值与总电流的数值关系,判断是否有异常发生,并对可能出现的异常进行处理。对于正常的分解结果,从计算单元传入显示单元完成最后的数据处理,根据各个设备上的电流向量,结合家庭内的电压信息,计算各个设备上的功率与能耗,并将结果存入数据库以备用户查阅。After the decomposition calculation is completed, the error analysis is performed on the decomposition results, and the numerical relationship between each current value and the total current obtained by the decomposition is compared to determine whether there is an abnormality, and to deal with the possible abnormality. For the normal decomposition results, the final data processing is passed from the calculation unit to the display unit, and the power and energy consumption of each device are calculated according to the current vector on each device, combined with the voltage information in the home, and the results are stored in the database. for user review.

在本分解阶段中,分解后得到的电流向量为电流频域表示,可以与对应时刻的电压向量直接计算得到功率信息,无需转换回时域。在本实施例中,分解阶段将一直持续执行,直到用户对分解系统发出分解停止的命令。In this decomposition stage, the current vector obtained after decomposition is expressed in the current frequency domain, and the power information can be directly calculated with the voltage vector at the corresponding time without converting back to the time domain. In this embodiment, the decomposition stage will continue to be executed until the user issues a command to the decomposition system to stop the decomposition.

当然,本发明还可有其它多种实施例,在不背离本发明精神及其实质的情况下,熟悉本领域的技术人员当可根据本发明作出各种相应的改变和变形,但这些相应的改变和变形都应属于本发明所附的权利要求的保护范围。Certainly, the present invention also can have other multiple embodiments, without departing from the spirit and essence of the present invention, those skilled in the art can make various corresponding changes and deformations according to the present invention, but these corresponding Changes and deformations should belong to the scope of protection of the appended claims of the present invention.

Claims (8)

1.一种基于电流分解的非侵入式负载监测方法,其特征在于,包括:1. A non-intrusive load monitoring method based on current decomposition, characterized in that, comprising: 步骤1,对每一个用电设备进行训练,获得所述每一个用电设备的统计流形,并将所述统计流形存入数据库;Step 1, train each electrical device, obtain the statistical manifold of each electrical device, and store the statistical manifold in a database; 步骤2,在电网入口处安装采集单元,实时获取所有用电设备的用电数据,将采集到的所述用电数据传入计算单元,所述计算单元将所述用电数据转换成计算统计流形的向量表示,获得总电流的向量集合;Step 2, install a collection unit at the entrance of the power grid to obtain the power consumption data of all power consumption equipment in real time, and transfer the collected power consumption data to a calculation unit, and the calculation unit converts the power consumption data into calculation statistics The vector representation of the manifold, the vector set of the total current is obtained; 步骤3,所述计算单元载入所述每一个用电设备的统计流形,根据所述统计流形分解所述总电流的向量集合,从而获得每一个用电设备的实时电流向量;Step 3, the calculation unit loads the statistical manifold of each electric device, and decomposes the vector set of the total current according to the statistical manifold, so as to obtain the real-time current vector of each electric device; 所述步骤1包括:Said step 1 includes: 步骤11,采集每一个用电设备正常工作时的电流与电压信号;Step 11, collecting the current and voltage signals of each electrical device when it is working normally; 步骤12,将所述电流与电压信号向量化,获得每一个用电设备的向量集合;Step 12, vectorizing the current and voltage signals to obtain a vector set for each electrical device; 步骤13,根据所述向量集合,构造出该用电设备的统计流形,直到完成所有用电设备的训练。Step 13, according to the set of vectors, construct the statistical manifold of the electrical equipment until the training of all electrical equipment is completed. 2.如权利要求1所述的非侵入式负载监测方法,其特征在于,所述步骤2包括:2. The non-intrusive load monitoring method according to claim 1, wherein said step 2 comprises: 步骤21,所述采集单元实时获取所有用电设备的电流与电压信号;Step 21, the acquisition unit acquires the current and voltage signals of all electrical equipment in real time; 步骤22,所述计算单元将所述电流与电压信号向量化,获得总电流的向量集合。Step 22, the calculation unit vectorizes the current and voltage signals to obtain a vector set of the total current. 3.如权利要求1所述的非侵入式负载监测方法,其特征在于,所述步骤3包括:3. The non-intrusive load monitoring method according to claim 1, wherein said step 3 comprises: 步骤31,所述计算单元载入各个用电设备的统计流形,根据统计流形的性质选取分解时使用的最优化算法;Step 31, the calculation unit loads the statistical manifold of each electric device, and selects the optimization algorithm used for decomposition according to the properties of the statistical manifold; 步骤32,使用所述最优化算法,结合所述各个用电设备的统计流形,对所述总电流的向量集合进行分解,得到各个设备上的电流。Step 32, using the optimization algorithm, combined with the statistical manifold of each electric device, decomposes the vector set of the total current to obtain the current on each device. 4.如权利要求1所述的非侵入式负载监测方法,其特征在于,所述非侵入式负载监测方法还包括:4. The non-intrusive load monitoring method according to claim 1, wherein the non-intrusive load monitoring method further comprises: 步骤4,完成分解后,对分解结果进行误差分析;Step 4, after completing the decomposition, perform error analysis on the decomposition results; 步骤5,如果误差在接受范围内,所述计算单元根据所述每一个用电设备的实时电流向量计算每一个用电设备的功率,并将所述功率传入显示单元;否则进行异常处理。Step 5, if the error is within the acceptable range, the calculation unit calculates the power of each electric device according to the real-time current vector of each electric device, and transmits the power to the display unit; otherwise, abnormal processing is performed. 5.一种基于电流分解的非侵入式负载监测系统,其特征在于,包括:5. A non-intrusive load monitoring system based on current decomposition, characterized in that it comprises: 训练模块,对每一个用电设备进行训练,获得所述每一个用电设备的统计流形,并将所述统计流形存入数据库;A training module, which trains each electrical device, obtains the statistical manifold of each electrical device, and stores the statistical manifold in a database; 预处理模块,在电网入口处安装采集单元,实时获取所有用电设备的用电数据,将采集到的所述用电数据传入计算单元,所述计算单元将所述用电数据转换成计算统计流形的向量表示,获得总电流的向量集合;The preprocessing module installs the collection unit at the entrance of the power grid to obtain the power consumption data of all power consumption equipment in real time, and transfers the collected power consumption data to the calculation unit, and the calculation unit converts the power consumption data into calculation The vector representation of the statistical manifold obtains the vector set of the total current; 分解模块,所述计算单元载入所述每一个用电设备的统计流形,根据所述统计流形分解所述总电流的向量集合,从而获得每一个用电设备的实时电流向量;Decomposition module, the calculation unit loads the statistical manifold of each electric device, and decomposes the vector set of the total current according to the statistical manifold, so as to obtain the real-time current vector of each electric device; 所述训练模块包括:The training modules include: 第一采集模块,采集每一个用电设备正常工作时的电流与电压信号;The first acquisition module collects the current and voltage signals of each electrical device when it is working normally; 第一向量化模块,将所述电流与电压信号向量化,获得每一个用电设备的向量集合;The first vectorization module vectorizes the current and voltage signals to obtain a vector set for each electrical device; 第一流形构造模块,根据所述向量集合,构造出该用电设备的统计流形,直到完成所有用电设备的训练。The first manifold construction module constructs the statistical manifold of the electric device according to the set of vectors until the training of all electric devices is completed. 6.如权利要求5所述的非侵入式负载监测系统,其特征在于,所述预处理模块包括:6. The non-intrusive load monitoring system according to claim 5, wherein the preprocessing module comprises: 第二采集模块,所述采集单元实时获取所有用电设备的电流与电压信号;The second acquisition module, the acquisition unit acquires the current and voltage signals of all electrical equipment in real time; 第二向量化模块,所述计算单元将所述电流与电压信号向量化,获得总电流的向量集合。In the second vectorization module, the calculation unit vectorizes the current and voltage signals to obtain a vector set of the total current. 7.如权利要求5所述的非侵入式负载监测系统,其特征在于,所述分解模块包括:7. The non-intrusive load monitoring system according to claim 5, wherein the decomposition module comprises: 算法选取模块,所述计算单元载入各个用电设备的统计流形,根据统计流形的性质选取分解时使用的最优化算法;Algorithm selection module, the calculation unit loads the statistical manifold of each electrical equipment, and selects the optimization algorithm used when decomposing according to the properties of the statistical manifold; 算法执行模块,使用所述最优化算法,结合所述各个用电设备的统计流形,对所述总电流的向量集合进行分解,得到各个设备上的电流。The algorithm execution module decomposes the vector set of the total current by using the optimization algorithm combined with the statistical manifold of each electric device to obtain the current on each device. 8.如权利要求5所述的非侵入式负载监测系统,其特征在于,所述非侵入式负载监测系统还包括:8. The non-intrusive load monitoring system of claim 5, wherein the non-intrusive load monitoring system further comprises: 分析模块,完成分解后,对分解结果进行误差分析;The analysis module, after completing the decomposition, performs error analysis on the decomposition results; 处理模块,如果误差在接受范围内,所述计算单元根据所述每一个用电设备的实时电流向量计算每一个用电设备的功率,并将所述功率传入显示单元;否则进行异常处理。Processing module, if the error is within the acceptable range, the calculation unit calculates the power of each electric device according to the real-time current vector of each electric device, and transmits the power to the display unit; otherwise, abnormal processing is performed.
CN201210579563.1A 2012-12-27 2012-12-27 Non-invasive load monitoring method and system based on current decomposition Active CN103018611B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210579563.1A CN103018611B (en) 2012-12-27 2012-12-27 Non-invasive load monitoring method and system based on current decomposition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210579563.1A CN103018611B (en) 2012-12-27 2012-12-27 Non-invasive load monitoring method and system based on current decomposition

Publications (2)

Publication Number Publication Date
CN103018611A CN103018611A (en) 2013-04-03
CN103018611B true CN103018611B (en) 2015-06-17

Family

ID=47967443

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210579563.1A Active CN103018611B (en) 2012-12-27 2012-12-27 Non-invasive load monitoring method and system based on current decomposition

Country Status (1)

Country Link
CN (1) CN103018611B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104483575B (en) * 2014-12-22 2017-05-03 天津求实智源科技有限公司 Self-adaptive load event detection method for noninvasive power monitoring
CN105652118B (en) * 2015-12-29 2019-02-26 国家电网公司 A power grid power load monitoring method based on load instantaneous energy characteristics
CN106093630B (en) * 2016-06-02 2019-01-15 华北电力大学 A kind of non-intrusion type household electrical appliance discrimination method
CN106443233A (en) * 2016-08-26 2017-02-22 北京电力经济技术研究院 Non-invasive steady-state load monitoring method
CN110995543B (en) * 2019-12-18 2022-11-01 云南大学 Non-invasive method for monitoring abnormal internet surfing behavior of minors
CN112083287B (en) * 2020-09-08 2021-06-01 上海交通大学 Dynamic event location method and system for distribution network based on eigenvalue spectral distribution model

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101567559A (en) * 2009-06-04 2009-10-28 天津天大求实电力新技术股份有限公司 Tabular method of non-intrusive electrical load decomposition
CN101576580A (en) * 2009-06-04 2009-11-11 天津天大求实电力新技术股份有限公司 Non-invasive unitized current on-line measurement method of electric equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5717325A (en) * 1994-03-24 1998-02-10 Massachusetts Institute Of Technology Multiprocessing transient event detector for use in a nonintrusive electrical load monitoring system
US9817045B2 (en) * 2010-12-13 2017-11-14 Fraunhofer Usa, Inc. Methods and system for nonintrusive load monitoring

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101567559A (en) * 2009-06-04 2009-10-28 天津天大求实电力新技术股份有限公司 Tabular method of non-intrusive electrical load decomposition
CN101576580A (en) * 2009-06-04 2009-11-11 天津天大求实电力新技术股份有限公司 Non-invasive unitized current on-line measurement method of electric equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
非侵入式电力负荷分解与监测;黎鹏;《万方数据企业知识服务平台》;20100830;论文正文第3.2-3.3、3.5节 *

Also Published As

Publication number Publication date
CN103018611A (en) 2013-04-03

Similar Documents

Publication Publication Date Title
CN103001230B (en) Non-invasive power load monitoring and decomposing current mode matching method
CN103018611B (en) Non-invasive load monitoring method and system based on current decomposition
CN103135009B (en) Electric appliance detection method and system based on user feedback information
CN103020459B (en) A kind of cognitive method of various dimensions electricity consumption behavior and system
CN106093652A (en) A non-intrusive power load monitoring system and method with self-learning function
CN109840691B (en) Non-invasive polynomial electric quantity estimation method based on deep neural network
CN103838959A (en) Method for applying partial least squares regression to power distribution network harmonic source positioning and detecting
CN110416995B (en) Non-invasive load decomposition method and device
CN106443164B (en) The monitoring method of transient state and stable state event in a kind of electric energy classification metering process
CN105652118A (en) Load instantaneous energy feature-based power grid electric energy load monitoring method
CN109470957B (en) Non-invasive electrical appliance identification method based on Frey's distance
Luan et al. Energy theft detection via integrated distribution state estimation based on AMI and SCADA measurements
CN105811404B (en) A kind of distribution static voltage stability situation monitoring method of transmission & distribution collaboration
Dash et al. An appliance load disaggregation scheme using automatic state detection enabled enhanced integer programming
CN107525964A (en) A kind of recognition methods of non-intrusion type load and device based on fusion decision-making
CN112421608B (en) Household load prediction method based on Markov from bottom to top
Hoyo-Montaño et al. Overview of Non-Intrusive Load Monitoring: A way to energy wise consumption
CN111199014B (en) A NILM method and device based on time series seq2point
CN108767847A (en) A kind of non-intrusion type power load decomposition method and device
CN108614154A (en) A kind of power consumer phase recognition methods based on spectrum analysis
CN109214545B (en) A Load Decomposition Algorithm Based on Human Behavior
CN107341736B (en) A method and system for power load decomposition based on current waveform characteristics
CN117251758A (en) Load identification method and system based on multiple features and Bagging integrated learning model
CN109241874A (en) Power signal filtering method in Energy Decomposition
Zhuang et al. Power load data completion method considering low rank property

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant