Methods and system for nonintrusive load monitoring
09817045 · 2017-11-14
Assignee
Inventors
Cpc classification
G01D2204/24
PHYSICS
Y02B70/30
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
Y04S20/30
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
Y04S20/242
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
Y02B90/20
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
International classification
Abstract
Identification and tracking of major electric appliances by using aggregate power data obtained at the main breaker level of a residence or commercial establishment. Step power changes and power surges characterize appliances. These features are identified and the time of use and duration statistics are considered to match an observed sequence of power changes with the appliances being turned on and off. The time-dependent usage of appliances and their power consumption are then reconstructed.
Claims
1. A method for nonintrusive monitoring of electrical energy usage by a plurality of electrical loads at a premise to which electrical power is supplied via a common feed, comprising: clustering, using at least one processor, tuples of power changes in the electrical energy usage at the premise that are attributable to a same load of the plurality of electrical loads at the premise, wherein the clustering comprises analyzing power changes in the electrical energy usage based on usage statistics for the plurality of electrical loads to identify power changes attributable to the same load; calculating, using the at least one processor, a degree of similarity between clusters of tuples of power changes based at least in part on times associated with power changes in the clusters; merging, using the at least one processor, clusters of tuples of power changes having a degree of similarity above a threshold; updating, using the at least one processor, the usage statistics to estimate times different loads of the plurality of electrical loads are in different states; and based on the updated usage statistics, processing, using the at least one processor, real-time power-change measurements to develop real-time load state information based on detected power changes in the electrical energy usage.
2. The method of claim 1 further including associating the real-time load state information with identifiable loads of the plurality of electrical loads at the premise.
3. The method of claim 2, wherein associating the real-time load state information with identifiable loads comprises correlating known load actions with the updated usage statistics.
4. The method of claim 1 wherein calculating the degree of similarity between clusters and merging clusters based on the degree of similarity comprises applying a Viterbi algorithm to analyze power changes that may be associated with state transitions of known loads, wherein applying the Viterbi algorithm comprises analyzing power changes based at least in part on transition probabilities between states of the known loads.
5. A method for nonintrusive monitoring of electrical energy usage by a plurality of electrical loads at a premise to which electrical power is supplied via a common feed, comprising: a. via a sensor, providing a sensor output signal indicative of power delivered through the feed over a first time interval; b. monitoring, using at least one processor, the sensor output signal to detect positive and negative changes of power, power surge amplitudes and durations; c. clustering, using the at least one processor, negative changes of power, wherein clustering negative changes in power comprises: clustering, using the at least one processor, tuples of power changes in the electrical energy usage at the premise that are attributable to a same load of the plurality of electrical loads at the premise, wherein the clustering comprises analyzing power changes in the electrical energy usage based on usage statistics for the plurality of electrical loads to identify power changes attributable to the same load; calculating, using the at least one processor, a degree of similarity between clusters of tuples of power changes based at least in part on times associated with power changes in the clusters; and merging, using the at least one processor, clusters of tuples of power changes having a degree of similarity above a threshold; d. matching, using the at least one processor, negative and positive changes of power; e. estimating, using the at least one processor, times loads were turned on and turned off during a second time interval; and f. statistically, using the at least one processor, characterizing the operation of at least one of said loads.
6. The method of claim 5, wherein: the clustering further comprises: g. sorting clusters according to their mean values; h. applying a Viterbi algorithm to tuples of clusters; and i. resolving cluster conflicts to provide a set of clusters disambiguating power changes; and the method further comprises: j. estimating appliance states based on the power changes represented by said set of clusters.
7. The method of claim 6, further comprising updating clustering and appliance feature statistics based on the results of steps i and j.
8. The method of claim 7, further comprising, for a second time interval shorter than and later than the first time interval, re-performing steps g-j on clusters created from power changes sensed by the sensor during the second time interval.
9. A system for nonintrusive monitoring of electrical energy usage by a plurality of electrical loads at a premise to which electrical power is supplied via a common feed, comprising: a. a power sensor configured and arranged to monitor aggregate power consumed at the premise; b. means for detecting changes in the monitored power; and c. a processor executing stored program instructions to disambiguate the detected power changes and associate them with individual loads by clustering power changes and, by means of a Viterbi algorithm, matching clusters to identify power changes associated with individual loads, wherein clustering the power changes comprises: clustering tuples of power changes in the electrical energy usage at the premise that are attributable to a same load of the plurality of electrical loads at the premise, wherein the clustering comprises analyzing power changes in the electrical energy usage based on usage statistics for the plurality of electrical loads to identify power changes attributable to the same load; calculating a degree of similarity between clusters of tuples of power changes based at least in part on times associated with power changes in the clusters; and merging clusters of tuples of power changes having a degree of similarity above a threshold.
10. The method of claim 1, further comprising calculating the usage statistics based for the plurality of electrical loads, for use in the clustering, based on an analysis of the electrical energy usage at the premise.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) A set of drawing figures is provided, to be reviewed in conjunction with the detailed description of some embodiments, for a fuller understanding thereof. Like reference designations in the figures are intended to refer to the same or corresponding elements. In the drawings:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
DETAILED DESCRIPTION OF EMBODIMENTS
(10) Attention is now directed to
(11) With reference to
(12)
(13) Turning first to
(14) The signal processing methods 26 may have three stages: a preliminary processing stage, a main stage in which historical power usage for the premise is analyzed, and a real-time stage in which the same techniques are used as in the main stage but in which near real-time data is processed.
(15) Preliminary Processing
(16) As shown in
(17) For positive changes in power consumption, note that some appliances pull a surge of power to start. Therefore, erroneous readings for the magnitude of the change may occur unless a post-surge value is used for the positive power change.
(18) Due to measurement errors and natural variability of conditions, the measured negative change of power when a given appliance is turned off will not be single-valued, but will be distributed (scattered) about a nominal value. Therefore, in order to identify appliances, the identified negative changes of power are grouped into clusters, step 36, using an appropriate statistical method, e.g., the well-known and popular ISODATA clustering algorithm (see, e.g., Tou, J. T., Pattern Recognition Principles, New York, Addition-Wesley, 1974, hereby incorporated by reference, or other references). Each such cluster may correspond to a separate appliance being turned off. The positive changes of power are not clustered at this stage.
(19) The clustering procedure can result in errors, of course. A single appliance can yield both positive and negative power changes that correspond to multiple identified clusters. Those clusters then need to be merged in order to have a complete record for that appliance. Additionally, multiple appliances can correspond to a single cluster, which then needs to be split.
(20) Merging of clusters based on negative power changes occurs in steps 38 and 40. For cluster merging, the empirical statistics of appliance usage in time are calculated. The statistics can be, for example, the hourly presence or absence of a negative change of power for a given cluster. That is, a binary variable or function may be defined which denotes whether a negative change of power occurred during each hour. If at least one negative change of power within the boundaries of a given cluster occurred during a given hour, then the function of hourly presence for that cluster at the given hour may be assigned the value “1”. Otherwise, the function of hourly presence for that cluster at the given hour is assigned the value “0.” The degree of similarity of load usage between cluster pairs is then estimated. Step 38. This may be done, for example, by calculating a fraction of hours during which both clusters are present (i.e., their functions of hourly presence both have a value of 1). Then adjacent cluster pairs whose degree of load usage similarity exceeds a threshold are merged. Step 40.
(21)
(22) After merging, the clusters are numbered in the order of their mean values. In each cluster, the negative power changes are characterized statistically in parametric form, e.g., by fitting their empirical distribution to a Gaussian mixture model (Tou, 1974) or to a Laplace distribution mixture. Experience suggests that a two-component Gaussian or Laplace mixture model of the probability density function (PDF) is sufficient in most cases; however, other parametric distribution models can be used. Note that the cluster boundaries may overlap.
(23) Preliminary time statistics of appliances being in states “on” and “off” are then estimated. Step 42. To this end, each identified negative power change j of magnitude −ΔP.sub.ij that occurred at time t.sub.j and came from cluster i (i=1, 2, . . . , n, where n is the total number of clusters after merging), is matched with a positive power change k of magnitude ΔP.sub.ik that occurred earlier, at time t.sub.k. Step 44. An exact equality between the positive and negative power changes for a match is not required, instead, a tolerance δ is used:
ΔP.sub.ik ϵΔP.sub.ij(1±δ). Eq. 1
At this stage, the match is considered to be the first ΔP.sub.ik satisfying Eq. (1) when going backward in time from the −ΔP.sub.ij. In this way, for each cluster i, a sample set of intervals or times “on” {t.sub.on}, is constructed by calculating t.sub.on=t.sub.j−t.sub.k for each available matching pair. Similarly, a sample set of intervals or times “off” {t.sub.off}.sub.i is constructed by calculating
t.sub.off=t.sub.k+1−t.sub.j. Step 46. Once both sample sets are available for each cluster, the cumulative distribution functions (CDF) of t.sub.on and t.sub.off for each cluster are calculated. Step 42. (Other time-dependent statistics, e.g., the clock-time probability of use, can also be implemented for cluster characterization.)
(24) A collection of the positive power changes that match the negative power changes from cluster i is considered to be cluster i.sub.plus. In each such cluster, the statistical distribution of the positive power changes is parametrically characterized, e.g., by fitting the empirical distribution to a two-component Gaussian or Laplace mixture. In each cluster i.sub.plus, the surges are also statistically characterized. The surge magnitude (ΔP.sub.surge) and duration (Δt.sub.surge) are used to obtain a sample set of surge magnitudes and a sample set of surge durations for cluster i.sub.plus. Then, the PDFs of ΔP.sub.surge and duration Δt.sub.surge for each cluster are fitted, e.g., to a Gaussian mixture model. Table 1 summarizes the statistics that preferably are obtained in the preliminary processing. Note, that the waveform signal features obtainable at a higher sampling rate can also be included in Table 1 in a similar manner and included into the main algorithm described in the next section.
(25) TABLE-US-00001 TABLE 1 Cluster i characteristic Statistical characterization Negative change of power, W Parametric PDF (Gaussian or Laplace mixture), P.sub.i(−) Positive change of power, W Parametric PDF (Gaussian or Laplace mixture), P.sub.i(+) Time on, s CDF (non-parametric), C.sub.on,i Time off, s CDF (non-parametric), C.sub.off,i Surge magnitude, W Parametric PDF (Gaussian or Laplace mixture), s.sub.m,i Surge duration, s Parametric PDF (Gaussian or Laplace mixture), s.sub.d,i Presence in time Binary function of clock time, B.sub.i
(26) Main Process for Historical Data
(27) The main process is intended to better match the negative and positive changes of power and resolve ambiguities relating to the simultaneous starting or stopping of two or more appliances, measurement/processing errors, and the overlap between adjacent clusters. This process works as follows.
(28) Consider adjacent clusters of negative power changes i and i+1. Each of these clusters includes the detected negative power changes that range from −ΔP.sub.i.sub._.sub.max to −ΔP.sub.i.sub._.sub.min and from −ΔP.sub.i+1.sub._.sub.max to −ΔP.sub.i+1.sub._.sub.min for clusters i and i+1 correspondingly. Note that, because of the potential overlap −ΔP.sub.i.sub._.sub.min≠−ΔP.sub.i+1.sub._.sub.max. The information pertinent to these clusters also includes the hourly usage statistics and the time on/time off statistics.
(29) Consider the detected positive power changes. The positive power changes ΔP.sub.k are considered to be candidates for matching with the clusters i or i+1 if they are within the matching boundaries plus the tolerance:
ΔP.sub.i+1,min(1−δ)≤ΔP.sub.k≤ΔP.sub.i,max(1+δ) Eq. 1
(30) Note that the boundaries, Eq. (2), are generally broader than those corresponding to the positive clusters i.sub.plus and (i+1).sub.plus.
(31) Clusters i and i.sub.plus presumably correspond to appliance i, whereas clusters i+1 and (i+1).sub.plus correspond to appliance i+1. Since each of the appliances i and i+1 can either be in the “on” or “off” states, the total number of states in the system that includes both appliances is four. These states are listed below.
(32) TABLE-US-00002 TABLE 2 State Appliance i Appliance i + 1 1 off off 2 on off 3 off on 4 on on
(33) The system with the states shown in Table 2 can transition from one state to another as soon as a new power change within the boundaries is recorded. The states and the transitions within these states are hidden for an observer, whereas the changes of power are observable. The sequence of transitions of the system is directly related to the sequence of the observations, and the current system state depends on the previous state through transition probabilities. Therefore, this system can be represented by a hidden Markov model (HMM) and the hidden path of state transitions can be estimated by a well-known Viterbi algorithm.
(34) Tables 3 (positive change ΔP with a surge) and 4 (negative change) list the probabilities in terms of Tables 1 and 2.
(35) TABLE-US-00003 TABLE 3 Transition between states Probability 1 .fwdarw. 1 0 1 .fwdarw. 2
(36) TABLE-US-00004 TABLE 4 Transition between states Probability 1 .fwdarw. 1 0 1 .fwdarw. 2 0 1 .fwdarw. 3 0 1 .fwdarw. 4 0 2 .fwdarw. 1 1 2 .fwdarw. 2 0 2 .fwdarw. 3 0 2 .fwdarw. 4 0 3 .fwdarw. 1 1 3 .fwdarw. 2 0 3 .fwdarw. 3 0 3 .fwdarw. 4 0 4 .fwdarw. 1 0 4 .fwdarw. 2
(37) The transition probabilities listed in Tables 3 and 4, along with the estimated statistics listed in Table 1, can be applied to the series of positive and negative power changes through the Viterbi-type algorithm. However, those skilled in the art will conclude from observation of Tables 3 and 4 that there are two peculiarities that may hamper the implementation of the Viterbi-type algorithm. First, several transitions between the states are forbidden, which may render the algorithm unsolvable. Second, the transition probabilities of this system are time-dependent, which calls for additional calculations of the time intervals t.sub.12, t.sub.13, t.sub.42 and t.sub.43. The time-dependent probabilities also make the current system state dependent on several previous states and not on just one previous state. The algorithm will be unsolvable, e.g., in case of a missing power change or in case of a wrong power change, which in turn can be, e.g., the result of a simultaneous starting or stopping of two or more appliances or a measurement/processing error. The missing power change can result, e.g., from a ramping up of power consumption when an appliance starts up, so that the power change gets split. In case of such insolvency, the method can be adapted in such a way as to yield a special state, e.g., 0, each time the insolvency occurs. After the historical data has been processed for the clusters i and i.sub.plus, these special state occurrences can be found and the corresponding power changes can be separated and excluded for further consideration. The procedure then is reapplied to the remaining data. The foregoing process can be repeated several times until the number of the insolvencies is below a pre-defined threshold.
(38) The procedure is firstly applied to clusters 1 and 2, then to clusters 2 and 3, . . . , n−1, n. In this way, every cluster but the first and the n.sup.th will be processed twice. For each cluster k, k=2, 3, . . . , n−1, the series of its states obtained by the above process to the pair k−1, k is compared to that obtained for clusters k, k+1. Since the main purpose of the process for historical data is better separation of clusters, those states of cluster k that do not appear in both algorithmic solutions are excluded, together with the earlier considered states resulting in insolvency.
(39) Another strategy for dealing with the missing power changes can be consideration of non-zero probability of the system to remain in the same state. This strategy is also applicable to the problem of overlapping clusters, in which case there are “foreign” power changes, i.e., the changes that came from the adjacent clusters. If the probabilities of transitions 1.fwdarw.1, 2.fwdarw.2, 3.fwdarw.3, 4.fwdarw.4 (see Tables 3, 4) are non-zero, then a missing power change will no longer cause the system to remain in the previous state. This probability is proportional to the probability of an appliance (called an “external” appliance), other than the two considered appliances, being turned on or off and producing an observed power change ΔP or larger. Analogously, the presence of the foreign power changes will make the probabilities of all other previously forbidden transitions to be non-zero. Therefore, the transition probability matrix may be modified to account for the transitions from “external” appliances.
(40) The transition probability matrix with the possibility of such external transitions is listed in Table 5 for negative changes of power. A matrix for positive power changes with the external transitions can be obtained similarly. The exact probabilities can be straightforwardly calculated similarly to the calculations underlying Tables 2 and 3.
(41) TABLE-US-00005 TABLE 5 Transition between states Probability 1 .fwdarw. 1 point from external cluster 1 .fwdarw. 2 missing point from state 2 AND point from external cluster 1 .fwdarw. 3 missing point from state 3 AND point from external cluster 1 .fwdarw. 4 2 missing points (states 2 AND 3) AND point from external cluster 2 .fwdarw. 1 ∝ w.sub.i+1P.sub.i(−)(−ΔP)ΔC.sub.on,i(t.sub.21)[1 − C.sub.off,i+1(t.sub.24)] 2 .fwdarw. 2 point from external cluster 2 .fwdarw. 3 missing point from state 4 AND is 4.fwdarw.3 transition 2 .fwdarw. 4 missing point from state 3 AND point from external cluster 3 .fwdarw. 1 ∝ [w.sub.i+1P.sub.i(−)(−ΔP)[1 − C.sub.off,i(t.sub.34)]ΔC.sub.on,i+1(t.sub.31)] 3 .fwdarw. 2 missing point from state 4 AND is 4.fwdarw.2 transition 3 .fwdarw. 3 point from external cluster 3 .fwdarw. 4 missing point from state 4 AND is 4.fwdarw.2 transition 4 .fwdarw. 1 missing point (states 2 OR 3) AND is (2.fwdarw.1 OR 3.fwdarw.1) transition 4 .fwdarw. 2 ∝ w.sub.i+1P.sub.i(−)(−ΔP)ΔC.sub.on,i+1(t.sub.42)[1 − C.sub.on,i(t.sub.43)] 4 .fwdarw. 3 ∝ w.sub.iP.sub.i(−)(−ΔP)ΔC.sub.on,i(t.sub.43)[1 − C.sub.on,i+1(t.sub.42)] 4 .fwdarw. 4 point from external cluster
(42) The processing technique under this strategy can take several forms. For example, the processing can be done in triplets (e.g., clusters i, i−1, and i+1) or even larger clusters, for more accuracy, considering the cluster as an n-tuple of points, where n is the number of points (power changes) in the cluster. At each triplet (i.e., 3-tuple), the pairs i, i−1 and i, i+1 are firstly independently processed as described above. Then the points of no state change are identified. Such points in the first pair, if they match those identified in the second pair, are excluded from consideration in the first pair, and the modified Viterbi algorithm is reapplied to the first pair. The same processing next is applied to the second pair. After this processing, the information on points belonging to cluster i is fused from the two pairs using the maximum probability principle. That is, if point # k was identified as belonging to cluster i in both pairs, it is accepted as belonging to cluster i. If point # k was found to belong to cluster i in the first pair (or in the second pair), but to belong to cluster i+1 in second pair (or to i−1 in first pair), the probabilities of these two possibilities are compared. If the first possibility has a higher probability, point # k is concluded to belong to cluster i.
(43) After all pairs of clusters have been processed, the power changes corresponding to the excluded or separated states are considered. Various strategies can be applied to processing these power changes. For example, if several excluded power changes occur within a given time interval, they can be merged together. Isolated-in-time power changes can be split: ΔP=ΔP.sub.1±ΔP.sub.2, where ΔP.sub.1 and ΔP.sub.2 are within the boundaries of any two clusters. The algorithm is then reapplied to the power change data modified in this way.
(44) After the successive algorithm processing of the historical data, the statistical characteristics of the clusters (see Table 1) are updated. Each obtained empirical distribution of times on/off is then statistically tested for multi-modality. If significant multi-modality is detected, then the corresponding clusters preferably are split, e.g., using clustering of the times that have exhibited the bimodality.
(45) Once the clustering of the power changes has been finalized, the clusters can be named by corresponding appliances using, e.g., the information of the power draw and usage patterns.
(46) Main Algorithm for Near Real-Time Data
(47) Once historical data has been processed to establish starting statistics, power usage is monitored in real-time or near real-time, using substantially the same methodology. However, instead of considering data over a lengthy time period, a data window of a shorter reasonable size, e.g., the most recent 24 hours, is used. Each time a new power change is detected, it is processed as previously described.
(48) Since the algorithm is intended to resolve the likeliest state path, i.e., the most probable sequence of appliances' states, the appliance states estimated at a given time will be re-estimated as soon as new data are obtained and processed.
(49) In the example embodiments discussed above, a modified Viterbi algorithm was used for pairs of appliances, instead of applying it simultaneously to the N appliances at a premise. By doing so, the interactions between appliance (cluster) i and i±3, i±4, i±5, etc. are essentially neglected. This is because the overlap in power draw between them is supposed to be small. On this account, computational complexity becomes linearly proportional to the number of appliances, whereas the conventional use of a Viterbi algorithm would result in an exponential dependence. When the overlap between cluster i and i+3 is not negligible, one may consider using triples instead of pairs. In a triple, the number of states would be 2^3=8 and number of transitions=64, which is still manageable. If triplets are not enough, then quadruplets and so on can be used. In any case, by decomposing of the whole system into such small units, the computational complexity is decreased by many orders of magnitude.
(50) Having described inventive concepts as well as some example embodiments in detail, various modifications and improvements will readily occur to those skilled in the art. Such modifications and improvements are intended to be within the spirit and scope of the invention. Accordingly, the foregoing description is by way of example only, and is not intended as limiting. The invention is limited only as defined by the following claims and the equivalents thereto.