CN112560977B - Non-invasive load decomposition method based on sparse classifier hierarchical algorithm - Google Patents

Non-invasive load decomposition method based on sparse classifier hierarchical algorithm Download PDF

Info

Publication number
CN112560977B
CN112560977B CN202011538200.4A CN202011538200A CN112560977B CN 112560977 B CN112560977 B CN 112560977B CN 202011538200 A CN202011538200 A CN 202011538200A CN 112560977 B CN112560977 B CN 112560977B
Authority
CN
China
Prior art keywords
electric appliance
active power
reactive power
frequency
power
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
CN202011538200.4A
Other languages
Chinese (zh)
Other versions
CN112560977A (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.)
North China Electric Power University
Original Assignee
North China Electric Power 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 North China Electric Power University filed Critical North China Electric Power University
Priority to CN202011538200.4A priority Critical patent/CN112560977B/en
Publication of CN112560977A publication Critical patent/CN112560977A/en
Application granted granted Critical
Publication of CN112560977B publication Critical patent/CN112560977B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/23Clustering techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/28Determining representative reference patterns, e.g. by averaging or distorting; Generating dictionaries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/06Electricity, gas or water supply

Abstract

The invention discloses a non-invasive load decomposition method based on a sparse classifier hierarchical algorithm, which comprises the following steps of: s1, acquiring voltage and current data of the electric appliance; s2, calculating low-frequency active power, low-frequency reactive power and high-frequency current harmonic waves of the electric appliance; s3, clustering analysis; s4, constructing a feature dictionary; s5, constructing a sparse matrix; s6, power identification; s7, judging the result, and if the coincidence number in the judgment result is equal to 1, outputting the judgment result; otherwise, executing step S8; and S8, identifying current harmonics and outputting an identification result. By adopting the non-invasive load decomposition method based on the sparse classifier hierarchical algorithm, whether current harmonic identification is introduced or not can be determined by comprehensively considering the active power identification result and the reactive power identification result of the electric appliances when partial household electric appliances with similar power exist in a user, so that the electric appliance identification result is ensured without long-time and large-calculation-amount electric appliance identification when the power is similar.

Description

Non-invasive load decomposition method based on sparse classifier hierarchical algorithm
Technical Field
The invention relates to a smart grid technology, in particular to a non-intrusive load decomposition method based on a sparse classifier hierarchical algorithm.
Background
The key technology of intelligent power utilization is mainly embodied in Advanced Metering Infrastructure (AMI), system and terminal technology, intelligent power utilization bidirectional interactive operation mode and support technology, and the mutual influence of a user power utilization environment and a power utilization mode.
With the comprehensive popularization of AMI technology, the acquisition of fine-grained aggregated power of users becomes possible, which provides a chance for deep mining of user load information. In the construction of an intelligent power grid, the perception and acquisition of equipment Load information in a user are key links in information flow exchange and information deep mining, and Non-Intrusive Load Monitoring (NILM) provides a method for acquiring energy consumption data of each piece of equipment in a family only by collecting data such as aggregated power and current.
The non-intrusive load decomposition includes low frequency non-intrusive load decomposition and high frequency load decomposition. In the low-frequency non-invasive load decomposition, a large amount of prior knowledge is usually required for identification, and the low-frequency non-invasive load decomposition is difficult to realize in practical application. And the load decomposition calculation amount of high frequency is large, and the identification time is long. And aiming at the problem that the user side has electrical appliances with similar power, how to make the identification result reach the best under the condition of ensuring the decomposition time becomes the problem which needs to be solved urgently.
Disclosure of Invention
The invention aims to provide a non-invasive load decomposition method based on a sparse classifier hierarchical algorithm, which can comprehensively consider the active power identification and reactive power identification results of electric appliances to determine whether to introduce current harmonic identification when partial household electric appliances with similar power exist in a user, thereby ensuring that the electric appliance identification result is ensured without long-time and large-computation-amount electric appliance identification when the power is similar.
In order to achieve the above object, the present invention provides a non-invasive load decomposition method based on a sparse classifier hierarchical algorithm, comprising the following steps:
s1, acquiring voltage and current data of the electric appliance;
s2, calculating low-frequency active power, low-frequency reactive power and high-frequency current harmonic waves of the electric appliance according to the acquired voltage and current data;
s3, performing cluster analysis on the low-frequency active power, the low-frequency reactive power and the high-frequency current harmonic of the electric appliance according to a Mean-shift algorithm;
s4, constructing a low-frequency active power feature dictionary, a low-frequency reactive power feature dictionary and a high-frequency current harmonic feature dictionary of the electric appliance according to the clustering analysis result;
s5, constructing a sparse matrix according to the clustering analysis result and the characteristic that different states of the same electric appliance cannot be used simultaneously;
s6, performing power identification according to the sparse matrix, the low-frequency active power feature dictionary and the low-frequency reactive power feature dictionary;
s7, judging results according to the active power identification results and the reactive power identification results, and if the coincidence number in the judgment results is equal to 1, outputting the judgment results; otherwise, executing step S8;
and S8, performing current harmonic recognition according to the sparse matrix and the high-frequency current harmonic feature dictionary, and outputting a recognition result.
Preferably, step S2 specifically includes the following steps:
s20, calculating the active power P of the electric appliance according to the voltage and current data;
s21, calculating reactive power Q of the electric appliance according to the voltage and current data;
s22, calculating the specific formula of the current harmonic X of the electric appliance according to the voltage and current data, wherein the specific formula is as follows:
Figure GDA0003769652970000021
in the formula, C 0 Is a direct current component, C m sin (m ω t + θ) denotes the m harmonic, C m Is the amplitude of the m-th harmonic, and θ is the initial phase of the m-th harmonic, with an angular frequency of ω.
Preferably, step S4 specifically includes the following steps:
s40, establishing a low-frequency active power feature dictionary, a low-frequency reactive power feature dictionary and a high-frequency current harmonic feature dictionary of the electric appliance i, wherein the specific formulas are as follows:
P i =[p 1 ,p 2 ,…,p L ]
Q i =[q 1 ,q 2 ,…,q L ]
X i =[x 1 ,x 2 ,…,x L ]
in the formula, p 1 ,p 2 ,…p L Is active in all states of the electrical appliance iA power dictionary value; q. q.s 1 ,q 2 ,…,q L Dictionary values of reactive power of all states of the electrical appliance i; x is the number of 1 ,x 2 ,…,x L Current harmonic dictionary values for all states of the electrical appliance i; wherein p is L ,q L Power value, x, representing the state of the appliance L Representing the first 15 current harmonics of the state of the electric appliance;
s41, establishing a low-frequency active power characteristic dictionary, a low-frequency reactive power characteristic dictionary and a high-frequency current harmonic characteristic dictionary of all electrical equipment, wherein the specific formulas are as follows:
P D =[P 1 ,P 2 ,P 3 ,…,P N ]
Q D =[Q 1 ,Q 2 ,Q 3 ,…,Q N ]
X D =[X 1 ,X 2 ,X 3 ,…,X N ]
in the formula, P D Dictionary of active power, P, representing all electrical appliances 1 ,P 2 ,…P N Dictionary values of active power of all states of N electrical appliances; q D Dictionary of reactive powers, Q, representing all electrical appliances 1 ,Q 2 ,…Q N Dictionary values of reactive power for all states of the N electrical appliances; x D Dictionary of high-frequency current harmonics, X, representing all electrical appliances 1 ,X 2 ,…X N Current harmonic dictionary values for all states of the N appliances.
Preferably, the sparse matrix formula constructed in step S5 is:
Figure GDA0003769652970000031
in the formula, each column of the sparse matrix a represents a combination of appliances, and there are at most four 1 s in each column, which means that there are at most four appliances turned on simultaneously.
Preferably, step S6 specifically includes the following steps:
s60 active power identification
S600, calculating the minimum Euclidean distance between the input active power and the input active power according to the sparse matrix and the low-frequency active power feature dictionary;
s601, obtaining an active power threshold value according to the set penalty coefficient, and calculating all electric appliance combinations smaller than or equal to the active power threshold value;
s61 reactive power identification
S610, calculating the minimum Euclidean distance from the input reactive power according to the sparse matrix and the low-frequency reactive power feature dictionary;
and S611, obtaining a reactive power threshold according to the set penalty coefficient, and calculating all electric appliance combinations less than or equal to the reactive power threshold.
Preferably, step S6 specifically includes the following steps:
s60 active power identification
S600, the specific formula of the minimum Euclidean distance is as follows:
d p =min|P-P D ×A|
wherein P represents input active power, P D X A represents the active power value of all the electrical appliances in combination, d p The Euclidean distance representing the minimum active power of the input active power and the active power of all electric appliance combinations;
s601, calculating all electric appliance combinations with active power thresholds smaller than or equal to the active power thresholds, wherein the specific formula is as follows:
A p ←|P-P D ×A|≤d p
wherein P represents input active power, P D X A represents the active power value of all the electrical appliances in combination, d p + ε represents the active power threshold, ε represents the penalty factor, A P Representing all the electric appliance combinations with Euclidean distances between the active power of the electric appliance combinations in the sparse matrix A and the input active power smaller than or equal to an active power threshold value;
s61 reactive power identification
S610, the specific formula of the minimum Euclidean distance is as follows:
d q =min|Q-Q D ×A|
wherein Q represents the reactive power of the input, Q D xA represents all electrical appliancesCombined value of reactive power, d q The Euclidean distance representing the minimum reactive power of the input reactive power and the reactive power of all electric appliance combinations;
s611, calculating all electric appliance combinations smaller than or equal to the reactive power threshold value, wherein the specific formula is as follows:
A q ←|Q-Q D ×A|≤d q
wherein Q represents the reactive power of the input, Q D X A represents the reactive power value of all the electrical appliances in combination, d q + ε represents the reactive power threshold, ε represents the penalty factor, A q And all the electric appliance combinations with Euclidean distance between the reactive power of the electric appliance combination in the sparse matrix A and the input reactive power smaller than or equal to the reactive power threshold value.
Preferably, step S7 specifically includes the following steps: judging the number of the electric appliance combinations in the intersection of all the electric appliance combinations with the active power threshold value and all the electric appliance combinations with the reactive power threshold value, and if the electric appliance combinations are equal to 1, directly outputting a power identification result; otherwise, step S8 is executed.
Preferably, the specific formula of the number of electrical appliances in step S7 is as follows:
n,A pq =f(A p ,A q )
wherein f () represents taking A p 、A q Number of combinations of coincidences, n representing number of coincidences, A pq Representing the corresponding electric appliance combination, if n is equal to 1, indicating that the power identification result is good, and directly outputting a judgment result if only one electric appliance combination in the database accords with the power characteristic of an identification object; if n is greater than 1, execution proceeds to step S8.
Preferably, step S8 specifically includes the following steps:
performing current harmonic recognition according to the sparse matrix and the high-frequency current harmonic feature dictionary, wherein the specific formula is as follows:
d X =min|X-X D A pq |
wherein X represents the harmonic of the input current, X D ×A pq Representing the combined harmonic wave of the electric appliance meeting the identification of active power and reactive power, total 15 harmonic waves, d x Representing the minimum Euclidean distance between the input current harmonic and the current harmonic of all the electric appliance combinations;
finding the corresponding electric appliance combination according to the minimum Euclidean distance of the current harmonic waves:
A x ←|X-X D ×A pq |=d x
in the formula A x Is shown as A pq The combination of electrical appliances in the set corresponding to the minimum Euclidean distance of the input current harmonics, A x And outputting the recognition result for the final result of the electric appliance recognition.
Therefore, the beneficial effects of the invention are as follows:
1) the method comprises the steps of firstly obtaining voltage and current data of the electric appliance, secondly calculating low-frequency active power, low-frequency reactive power and high-frequency current harmonic data of the electric appliance, then carrying out cluster analysis on the low-frequency active power, the low-frequency reactive power and the high-frequency current harmonic data of the electric appliance according to a Mean-shift algorithm so as to construct a low-frequency active power characteristic dictionary, a low-frequency reactive power characteristic dictionary, a high-frequency current harmonic characteristic dictionary and a sparse matrix of the electric appliance, and finally determining the electric appliance combination corresponding to each electric appliance data by adopting a hierarchical load identification method according to the sparse matrix, the low-frequency active power characteristic dictionary, the low-frequency reactive power characteristic dictionary and the high-frequency current harmonic characteristic dictionary, judging whether current harmonic identification needs to be introduced or not according to the reactive power identification result of the electric appliance under the condition that the power of the electric appliance is similar, thereby ensuring that when the power is similar, the method has the advantages that long-time and large-calculation-amount electric appliance identification is not needed, the identification result of the electric appliance is guaranteed, and the problems that when low-frequency data is used for load decomposition, a large amount of priori knowledge is needed to improve the decomposition precision, and the decomposition precision is difficult to achieve in practical application, and when high-frequency data is used for load decomposition, the identification time is too long, and the calculation amount is too large are solved.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
Fig. 1 is a flowchart of a non-intrusive load decomposition method based on a hierarchical algorithm of a sparse classifier according to an embodiment of the present invention;
fig. 2 is a detailed flowchart of step S6 of a non-intrusive load decomposition method based on a sparse classifier pyramid algorithm according to an embodiment of the present invention.
Detailed Description
The present invention will be further described with reference to the accompanying drawings, and it should be noted that the present embodiment is based on the technical solution, and the detailed implementation and the specific operation process are provided, but the protection scope of the present invention is not limited to the present embodiment.
Fig. 1 is a flowchart of a non-invasive load decomposition method based on a sparse classifier hierarchical algorithm according to an embodiment of the present invention, and fig. 2 is a detailed flowchart of step S6 of the non-invasive load decomposition method based on the sparse classifier hierarchical algorithm according to the embodiment of the present invention, as shown in fig. 1 and fig. 2, the present invention includes the following steps:
s1, acquiring voltage and current data of the electric appliance;
s2, calculating low-frequency active power, low-frequency reactive power and high-frequency current harmonic waves of the electric appliance according to the acquired voltage and current data;
s3, performing cluster analysis on the low-frequency active power, the low-frequency reactive power and the high-frequency current harmonic of the electric appliance according to a Mean-shift algorithm;
s4, constructing an electric appliance low-frequency active power feature dictionary, a low-frequency reactive power feature dictionary and a high-frequency current harmonic feature dictionary according to the clustering analysis result;
s5, constructing a sparse matrix according to the clustering analysis result and the characteristic that different states of the same electric appliance cannot be used simultaneously;
s6, performing power identification according to the sparse matrix, the low-frequency active power feature dictionary and the low-frequency reactive power feature dictionary;
s7, judging results according to the active power identification result and the reactive power identification result, and outputting a judgment result if the number of coincidences in the judgment result is equal to 1; otherwise, executing step S8;
and S8, performing current harmonic recognition according to the sparse matrix and the high-frequency current harmonic feature dictionary, and outputting a recognition result.
Wherein, step S2 specifically includes the following steps:
s20, calculating the active power P of the electric appliance according to the voltage and current data;
s21, calculating reactive power Q of the electric appliance according to the voltage and current data;
s22, calculating the specific formula of the current harmonic X of the electric appliance according to the voltage and current data, wherein the specific formula is as follows:
Figure GDA0003769652970000081
in the formula, C 0 Is a direct current component, C m sin (m ω t + θ) denotes the m harmonic, C m Is the amplitude of the m-th harmonic, and θ is the initial phase of the m-th harmonic, with an angular frequency of ω.
Step S4 specifically includes the following steps:
s40, establishing a low-frequency active power characteristic dictionary, a low-frequency reactive power characteristic dictionary and a high-frequency current harmonic characteristic dictionary of the electric appliance i, wherein the specific formulas are as follows:
P i =[p 1 ,p 2 ,…,p L ]
Q i =[q 1 ,q 2 ,…,q L ]
X i =[x 1 ,x 2 ,…,x L ]
in the formula, p 1 ,p 2 ,…p L The active power dictionary values of all the states of the electrical appliance i are obtained; q. q.s 1 ,q 2 ,…,q L Dictionary values of reactive power for all states of the electrical appliance i; x is the number of 1 ,x 2 ,…,x L Current harmonic dictionary values for all states of the electrical appliance i; wherein p is L ,q L Power value, x, representing the state of the appliance L Representing the first 15 current harmonics of the state of the electric appliance;
s41, establishing a low-frequency active power characteristic dictionary, a low-frequency reactive power characteristic dictionary and a high-frequency current harmonic characteristic dictionary of all electrical equipment, wherein the specific formulas are as follows:
P D =[P 1 ,P 2 ,P 3 ,…,P N ]
Q D =[Q 1 ,Q 2 ,Q 3 ,…,Q N ]
X D =[X 1 ,X 2 ,X 3 ,…,X N ]
in the formula, P D Dictionary of active power, P, representing all electrical appliances 1 ,P 2 ,…P N The active power dictionary values of all the states of the N electric appliances are obtained; q D Dictionary of reactive powers, Q, representing all electrical appliances 1 ,Q 2 ,…Q N Dictionary values of reactive power for all states of the N electrical appliances; x D High frequency current harmonic dictionary, X, representing all electrical appliances 1 ,X 2 ,…X N Current harmonic dictionary values for all states of the N appliances.
The sparse matrix formula constructed in step S5 is:
Figure GDA0003769652970000091
in the formula, each column of the sparse matrix A represents a combination of appliances, and at most four 1 s exist in each column, which means that at most four appliances are simultaneously turned on.
Step S6 specifically includes the following steps:
s60 active power identification
S600, calculating the minimum Euclidean distance between the input active power and the input active power according to the sparse matrix and the low-frequency active power feature dictionary;
s601, obtaining an active power threshold value according to the set penalty coefficient, and calculating all electric appliance combinations smaller than or equal to the active power threshold value;
s61 reactive power identification
S610, calculating the minimum Euclidean distance from the input reactive power according to the sparse matrix and the low-frequency reactive power feature dictionary;
s611, obtaining a reactive power threshold value according to the set penalty coefficient, and calculating all electric appliance combinations smaller than or equal to the reactive power threshold value.
More specifically, step S6 specifically includes the following steps:
s60, active power identification
S600, the specific formula of the minimum Euclidean distance is as follows:
d p =min|P-P D ×A|
wherein P represents input active power, P D X A represents the active power value of all the electrical appliances in combination, d p The Euclidean distance representing the minimum active power of the input active power and the active power of all electric appliance combinations;
s601, calculating all electric appliance combinations with active power thresholds smaller than or equal to the active power thresholds, wherein the specific formula is as follows:
A p ←|P-P D ×A|≤d p
wherein P represents input active power, P D X A represents the active power value of all the electrical appliances in combination, d p + ε represents the active power threshold, ε represents the penalty factor, A P All the electric appliance combinations with Euclidean distance between the active power of the electric appliance combination in the sparse matrix A and the input active power smaller than or equal to the active power threshold;
s61 reactive power identification
S610, the specific formula of the minimum Euclidean distance is as follows:
d q =min|Q-Q D ×A|
wherein Q represents the input reactive power, Q D X A represents the reactive power value of all the electrical appliances in combination, d q The Euclidean distance representing the minimum reactive power of the input reactive power and the reactive power of all electric appliance combinations;
s611, calculating all electric appliance combinations smaller than or equal to the reactive power threshold value, wherein the specific formula is as follows:
A q ←|Q-Q D ×A|≤d q
wherein Q represents the reactive power of the input, Q D X A represents the reactive power value of all the electrical appliances in combination, d q + ε represents the reactive power threshold, ε represents the penalty factor, A q Representing reactive power of electrical combinations in sparse matrix AAnd all the electric appliance combinations with Euclidean distance from the input reactive power less than or equal to the reactive power threshold value.
Step S7 specifically includes the following steps: judging the number of the electric appliance combinations in the intersection of all the electric appliance combinations with the active power threshold value and all the electric appliance combinations with the reactive power threshold value, and if the electric appliance combinations are equal to 1, directly outputting a power identification result; otherwise, step S8 is executed.
More specifically, the specific formula of the number of electrical appliance combinations in step S7 is as follows:
n,A pq =f(A p ,A q )
wherein f () represents taking A p 、A q Number of combinations of coincidences, n denotes the number of coincidences, A pq Representing the corresponding electric appliance combination, if n is equal to 1, indicating that the power identification result is good, and directly outputting a judgment result if only one electric appliance combination in the database accords with the power characteristic of an identification object; if n is greater than 1, execution proceeds to step S8.
Step S8 specifically includes the following steps:
performing current harmonic recognition according to the sparse matrix and the high-frequency current harmonic feature dictionary, wherein the specific formula is as follows:
d X =min|X-X D A pq |
wherein X represents the harmonic of the input current, X D ×A pq Representing the combined harmonic wave of the electric appliance meeting the identification of active power and reactive power, total 15 harmonic waves, d x The minimum Euclidean distance between the input current harmonic and the current harmonic of all electric appliance combinations is represented;
finding the corresponding electric appliance combination according to the minimum Euclidean distance of the current harmonic waves:
A x ←|X-X D ×A pq |=d x
in the formula A x Is represented by A pq The combination of electrical appliances in the set corresponding to the minimum Euclidean distance of the input current harmonics, A x And outputting the identification result for the final result of the electrical appliance identification.
Example one
In this embodiment, a total of 6 kinds of household appliances are provided, and the effectiveness of the method is tested by sampling voltage and current data of a user electric meter by using a USB type a/D data acquisition card, wherein the sampling frequency is 6.4 kHZ. In the data acquisition process, 6 electric equipment are ordered: the electric hair drier, the electric rice cooker, the microwave oven, the television, the electromagnetic oven and the dust collector are started and stopped randomly for 200 times, and the monitoring time is 24 hours. The random start-stop event represents the number of times the running state of the electrical appliance changes. The dictionary values obtained after the load feature template construction process are shown in table 1:
TABLE 1 electric appliance power dictionary value table
Figure GDA0003769652970000111
The evaluation indexes used in table 1 include: the Accuracy (Accuracy), Precision (Precision), Recall (Recall) and F1 scores are respectively calculated as follows:
Figure GDA0003769652970000121
Figure GDA0003769652970000122
Figure GDA0003769652970000123
Figure GDA0003769652970000124
in the formula, TP represents the total number of times the load is open in real data and also open in prediction; FP represents the total number of times the load is turned off in real data and on in predictions; TN represents the total number of times the load is turned off in real data and also turned off in anticipation; FN represents the total number of times the load is on in real data and off in anticipation. These metrics show how accurately an algorithm can predict the on/off state of a device. Finally, the identification result of each electric appliance is obtained, and the evaluation indexes are shown in the following table 2:
TABLE 2 evaluation index comparison Table
Figure GDA0003769652970000125
Therefore, by adopting the non-intrusive load decomposition method based on the sparse classifier hierarchical algorithm, whether current harmonic identification is introduced or not can be determined by comprehensively considering the active power identification result and the reactive power identification result of the electric appliances when the household electric appliances with similar partial power exist in a user, so that the electric appliance identification result is ensured without long-time and large-calculation-amount electric appliance identification when the power is similar, and the electric appliance identification result is ensured.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting the same, and although the present invention is described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that: modifications and equivalents may be made to the invention without departing from the spirit and scope of the invention.

Claims (9)

1. A non-invasive load decomposition method based on a sparse classifier hierarchical algorithm is characterized by comprising the following steps: the method comprises the following steps:
s1, acquiring voltage and current data of the electric appliance;
s2, calculating low-frequency active power, low-frequency reactive power and high-frequency current harmonic waves of the electric appliance according to the collected voltage and current data;
s3, performing cluster analysis on the low-frequency active power, the low-frequency reactive power and the high-frequency current harmonic of the electric appliance according to a Mean-shift algorithm;
s4, constructing an electric appliance low-frequency active power feature dictionary, a low-frequency reactive power feature dictionary and a high-frequency current harmonic feature dictionary according to the clustering analysis result;
s5, constructing a sparse matrix according to the clustering analysis result and the characteristic that different states of the same electric appliance cannot be used simultaneously;
s6, performing power identification according to the sparse matrix, the low-frequency active power feature dictionary and the low-frequency reactive power feature dictionary;
s7, judging results according to the active power identification results and the reactive power identification results, and if the coincidence number in the judgment results is equal to 1, outputting the judgment results; otherwise, executing step S8;
and S8, performing current harmonic recognition according to the sparse matrix and the high-frequency current harmonic feature dictionary, and outputting a recognition result.
2. The sparse classifier pyramid algorithm-based non-invasive load decomposition method according to claim 1, wherein: step S2 specifically includes the following steps:
s20, calculating the active power P of the electric appliance according to the voltage and current data;
s21, calculating the reactive power Q of the electric appliance according to the voltage and current data;
s22, calculating the specific formula of the current harmonic X of the electric appliance according to the voltage and current data, wherein the specific formula is as follows:
Figure FDA0003769652960000011
in the formula, C 0 Is a direct current component, C m sin (m ω t + θ) denotes the m harmonic, C m Is the amplitude of the m-th harmonic, and θ is the initial phase of the m-th harmonic, with an angular frequency of ω.
3. The sparse classifier pyramid algorithm-based non-invasive load decomposition method according to claim 1, wherein: step S4 specifically includes the following steps:
s40, establishing a low-frequency active power feature dictionary, a low-frequency reactive power feature dictionary and a high-frequency current harmonic feature dictionary of the electric appliance i, wherein the specific formulas are as follows:
P i =[p 1 ,p2,…,p L ]
Q i =[q 1 ,q 2 ,…,q L ]
X i =[x 1 ,x 2 ,…,x L ]
in the formula, p 1 ,p 2 ,…p L The active power dictionary values of all the states of the electrical appliance i are obtained; q. q.s 1 ,q 2 ,…,q L Dictionary values of reactive power for all states of the electrical appliance i; x is a radical of a fluorine atom 1 ,x 2 ,…,x L Current harmonic dictionary values for all states of the electrical appliance i; wherein p is L ,q L Power value, x, representing the state of the appliance L Representing the first 15 current harmonics of the state of the electric appliance;
s41, establishing a low-frequency active power feature dictionary, a low-frequency reactive power feature dictionary and a high-frequency current harmonic feature dictionary of all electrical equipment, wherein the specific formulas are as follows:
P D =[P 1 ,P 2 ,P 3 ,…,P N ]
Q D =[Q 1 ,Q 2 ,Q 3 ,…,Q N ]
X D =[X 1 ,X 2 ,X 3 ,…,X N ]
in the formula, P D Dictionary of active power, P, representing all electrical appliances 1 ,P 2 ,…P N The active power dictionary values of all the states of the N electric appliances are obtained; q D Dictionary of reactive power, Q, representing all electrical appliances 1 ,Q 2 ,…Q N Dictionary values of reactive power for all states of the N electrical appliances; x D Dictionary of high-frequency current harmonics, X, representing all electrical appliances 1 ,X 2 ,…X N Current harmonic dictionary values for all states of the N appliances.
4. The sparse classifier pyramid algorithm-based non-intrusive load decomposition method of claim 1, wherein: the sparse matrix formula constructed in step S5 is:
Figure FDA0003769652960000031
in the formula, each column of the sparse matrix A represents a combination of appliances, and at most four 1 s exist in each column, which means that at most four appliances are simultaneously turned on.
5. The sparse classifier pyramid algorithm-based non-intrusive load decomposition method of claim 1, wherein: step S6 specifically includes the following steps:
s60, active power identification
S600, calculating the minimum Euclidean distance between the input active power and the input active power according to the sparse matrix and the low-frequency active power feature dictionary;
s601, obtaining an active power threshold value according to the set penalty coefficient, and calculating all electric appliance combinations smaller than or equal to the active power threshold value;
s61 reactive power identification
S610, calculating the minimum Euclidean distance from the input reactive power according to the sparse matrix and the low-frequency reactive power feature dictionary;
and S611, obtaining a reactive power threshold according to the set penalty coefficient, and calculating all electric appliance combinations less than or equal to the reactive power threshold.
6. The sparse classifier pyramid algorithm-based non-intrusive load decomposition method of claim 5, wherein: step S6 specifically includes the following steps:
s60 active power identification
S600, the specific formula of the minimum Euclidean distance is as follows:
d p =min|P-P D ×A|
wherein P represents input active power, P D Dictionary of active power, P, representing all electrical appliances D X A represents the active power value of all the electrical appliances in combination, d p The Euclidean distance representing the minimum active power of the input active power and the active power of all electric appliance combinations;
s601, calculating all electric appliance combinations with active power thresholds less than or equal to the active power thresholds, wherein the specific formula is as follows:
A p ←|P-P D ×A|≤d p
wherein P represents input active power, P D X A represents the active power value of all the electrical appliances in combination, d p + ε represents the active power threshold, ε represents the penalty factor, A P Representing all the electric appliance combinations with Euclidean distances between the active power of the electric appliance combinations in the sparse matrix A and the input active power smaller than or equal to an active power threshold value;
s61 reactive power identification
S610, the specific formula of the minimum Euclidean distance is as follows:
d q =min|Q-Q D ×A|
wherein Q represents the input reactive power, Q D Dictionary of reactive power, Q, representing all electrical appliances D X A represents the reactive power value of all the electrical appliances in combination, d q The Euclidean distance representing the minimum reactive power of the input reactive power and the reactive power of all electric appliance combinations;
s611, calculating all electric appliance combinations smaller than or equal to the reactive power threshold value, wherein the specific formula is as follows:
A q ←|Q-Q D ×A|≤d q
wherein Q represents the input reactive power, Q D X A represents the reactive power value of all the electrical appliances in combination, d q + ε represents the reactive power threshold, ε represents the penalty factor, A q And all the electric appliance combinations with Euclidean distances between the reactive power of the electric appliance combinations in the sparse matrix A and the input reactive power smaller than or equal to the reactive power threshold value.
7. The sparse classifier pyramid algorithm-based non-invasive load decomposition method according to claim 1, wherein: step S7 specifically includes the following steps: judging the number of the electric appliance combinations in the intersection of all the electric appliance combinations with the active power threshold value and all the electric appliance combinations with the reactive power threshold value, and if the electric appliance combinations are equal to 1, directly outputting a power identification result; otherwise, step S8 is executed.
8. The sparse classifier pyramid algorithm-based non-invasive load decomposition method of claim 7, wherein: the specific formula of the number of electrical appliance combinations in step S7 is as follows:
n,A pq =f(A p ,A q )
in the formula, A P All the electric appliance combinations with Euclidean distance between the active power of the electric appliance combination in the sparse matrix A and the input active power less than or equal to the active power threshold value A q Representing all the electric appliance combinations with Euclidean distance between reactive power of the electric appliance combinations in the sparse matrix A and input reactive power less than or equal to a reactive power threshold value, and f () representing A p 、A q Number of combinations of coincidences, n denotes the number of coincidences, A pq Representing the corresponding electric appliance combination, if n is equal to 1, indicating that the power identification result is good, and directly outputting a judgment result if only one electric appliance combination in the database accords with the power characteristic of an identification object; if n is greater than 1, execution proceeds to step S8.
9. The sparse classifier pyramid algorithm-based non-invasive load decomposition method according to claim 1, wherein: step S8 specifically includes the following steps:
performing current harmonic recognition according to the sparse matrix and the high-frequency current harmonic feature dictionary, wherein the specific formula is as follows:
d X =min|X-X D A pq |
wherein X represents the harmonic of the input current, X D Dictionary of high frequency current harmonics representing all electrical appliances, A pq Denotes the corresponding electrical combination, X D ×A pq Representing the combined harmonic wave of the electric appliance meeting the identification of active power and reactive power, total 15 harmonic waves, d x Representing the minimum Euclidean distance between the input current harmonic and the current harmonic of all the electric appliance combinations;
finding the corresponding electric appliance combination according to the minimum Euclidean distance of the current harmonic waves:
A x ←|X-X D ×A pq |=d x
in the formula A x Is represented by A pq The electrical appliance combination corresponding to the minimum Euclidean distance of the input current harmonic in the set, A x And outputting the identification result for the final result of the electrical appliance identification.
CN202011538200.4A 2020-12-23 2020-12-23 Non-invasive load decomposition method based on sparse classifier hierarchical algorithm Active CN112560977B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011538200.4A CN112560977B (en) 2020-12-23 2020-12-23 Non-invasive load decomposition method based on sparse classifier hierarchical algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011538200.4A CN112560977B (en) 2020-12-23 2020-12-23 Non-invasive load decomposition method based on sparse classifier hierarchical algorithm

Publications (2)

Publication Number Publication Date
CN112560977A CN112560977A (en) 2021-03-26
CN112560977B true CN112560977B (en) 2022-09-27

Family

ID=75030978

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011538200.4A Active CN112560977B (en) 2020-12-23 2020-12-23 Non-invasive load decomposition method based on sparse classifier hierarchical algorithm

Country Status (1)

Country Link
CN (1) CN112560977B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113094931B (en) * 2021-04-29 2022-04-22 杭州电力设备制造有限公司 Non-invasive load decomposition method, device and equipment
CN113408341B (en) * 2021-05-10 2023-01-06 深圳供电局有限公司 Load identification method and device, computer equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015059272A1 (en) * 2013-10-24 2015-04-30 Universite Libre De Bruxelles Improved non-intrusive appliance load monitoring method and device
WO2016079229A1 (en) * 2014-11-21 2016-05-26 Universite Libre De Bruxelles Improved non-intrusive appliance load monitoring method and device
WO2019155214A1 (en) * 2018-02-07 2019-08-15 Green Running Limited Method and apparatus for power signal disaggragation using a convolutional neural network
CN110514889A (en) * 2019-07-19 2019-11-29 浙江万胜智能科技股份有限公司 A kind of method and system of non-intrusion type household electricity remained capacity
CN110954744A (en) * 2019-11-18 2020-04-03 浙江工业大学 Non-invasive load monitoring method based on event detection
CN111007347A (en) * 2019-12-27 2020-04-14 广东电网有限责任公司电力科学研究院 Non-invasive load identification device and related equipment
CN111461189A (en) * 2020-03-23 2020-07-28 东南大学 Resident rhythm detection method based on non-invasive measurement technology

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015059272A1 (en) * 2013-10-24 2015-04-30 Universite Libre De Bruxelles Improved non-intrusive appliance load monitoring method and device
WO2016079229A1 (en) * 2014-11-21 2016-05-26 Universite Libre De Bruxelles Improved non-intrusive appliance load monitoring method and device
WO2019155214A1 (en) * 2018-02-07 2019-08-15 Green Running Limited Method and apparatus for power signal disaggragation using a convolutional neural network
CN110514889A (en) * 2019-07-19 2019-11-29 浙江万胜智能科技股份有限公司 A kind of method and system of non-intrusion type household electricity remained capacity
CN110954744A (en) * 2019-11-18 2020-04-03 浙江工业大学 Non-invasive load monitoring method based on event detection
CN111007347A (en) * 2019-12-27 2020-04-14 广东电网有限责任公司电力科学研究院 Non-invasive load identification device and related equipment
CN111461189A (en) * 2020-03-23 2020-07-28 东南大学 Resident rhythm detection method based on non-invasive measurement technology

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"Multi-objective evolutionary algorithms applied to non-intrusive load monitoring";LingLi 等;《Electric Power Systems Research》;20191231;第177卷;第1-16页 *
"Non-Intrusive Load Monitoring via Multi-Label Sparse Representation-Based Classification";Shikha Singh 等;《IEEE Transactions on Smart Grid》;20200331;第11卷(第2期);第1799-1801页 *
"计及设备用电特性和用户用电模式的负荷分解方法";刘天宇;《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》;20190115(第12期);全文 *

Also Published As

Publication number Publication date
CN112560977A (en) 2021-03-26

Similar Documents

Publication Publication Date Title
CN103001230B (en) Non-invasive power load monitoring and decomposing current mode matching method
CN112560977B (en) Non-invasive load decomposition method based on sparse classifier hierarchical algorithm
CN109470957B (en) Non-invasive electrical appliance identification method based on Frey's distance
CN110726875B (en) New energy flexible direct-current grid-connected transient harmonic detection method and system
Dash et al. An appliance load disaggregation scheme using automatic state detection enabled enhanced integer programming
Xu et al. A new non-intrusive load monitoring algorithm based on event matching
WO2023005976A1 (en) Deep-learning-based identification method and apparatus for electric device
CN111934318B (en) Non-invasive power load decomposition method, apparatus, device and storage medium
CN113762355A (en) User abnormal electricity consumption behavior detection method based on non-invasive load decomposition
CN110009231A (en) A kind of power load recognition methods and device based on repeatability and entropy weight distinction
Xu et al. Edge-based NILM system with MDMR filter-based feature selection
CN115825602A (en) Load identification method and system for comprehensive multivariate information similarity analysis
Zhihua et al. Research on non-invasive load identification method based on VMD
CN110896218B (en) Harmonic modeling method and system for establishing collective residential load
CN110542855B (en) Load switch event detection method and system based on discrete cosine transform
CN111199014B (en) Time sequence based seq2point NILM method and device
CN113762619B (en) Distribution Internet of things user load identification method, system, equipment and storage medium
Pengfei et al. Non-intrusive load monitoring method based on LMD and KNN algorithm
Shi et al. Load identification method of household smart meter based on decision tree algorithm
Yu et al. Nonintrusive load disaggregation method based on graph signal processing
Duan et al. A Non-intrusive loading monitoring method based on Attention mechanism and denoising-Autoencoder
Zhang et al. Appliance Recognition Using VI Trajectories based on Deep Learning
Zhihua et al. Research on Non-invasive Specific Electrical Load Identification Based on VMD Algorithm
Lai et al. Applied lightweight parallel multi-appliance recognition on smart meter
Liu et al. Enhancing Residential Electricity Safety and Management: A Novel Non-Intrusive Load Monitoring-Based Methodology for Accurate Appliance Operational State Identification

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
GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20210326

Assignee: Yunnan Yinhuan Power Engineering Co.,Ltd.

Assignor: NORTH CHINA ELECTRIC POWER University (BAODING)

Contract record no.: X2023420000264

Denomination of invention: A non-invasive load decomposition method based on sparse classifier hierarchical algorithm

Granted publication date: 20220927

License type: Common License

Record date: 20230726

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20210326

Assignee: Yunnan Yadian Technology Co.,Ltd.

Assignor: NORTH CHINA ELECTRIC POWER University (BAODING)

Contract record no.: X2023420000285

Denomination of invention: A non-invasive load decomposition method based on sparse classifier hierarchical algorithm

Granted publication date: 20220927

License type: Common License

Record date: 20230816

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20210326

Assignee: HEFEI LIFA ELECTRICAL TECHNOLOGY Co.,Ltd.

Assignor: NORTH CHINA ELECTRIC POWER University (BAODING)

Contract record no.: X2023980047629

Denomination of invention: A non-invasive load decomposition method based on sparse classifier hierarchical algorithm

Granted publication date: 20220927

License type: Common License

Record date: 20231120

EE01 Entry into force of recordation of patent licensing contract