Embodiments described herein relate to an electrical device monitoring apparatus and a method thereof to estimate power consumption of an electrical device, and an electrical device monitoring system.
There is known a technique of estimating ON/OFF and power consumption of an electrical device including an inverter device by measuring a current/voltage of a feeder service entrance in a power customer and calculating a feature (such as the intensity of harmonic). According to this technique, the ON/OFF state and power consumption of multiple devices can be estimated at one measurement point and a power measurement adaptor per device is not required. Therefore, it is expected to become common as a technique to realize visualization at a moderate price.
In the above technique, to estimate the ON/OFF and power consumption of devices, it is necessary to operate the devices for a certain period of time in a state where a power measurement adaptor is attached in advance. Subsequently, a set of the feature and power consumption of an individual device are measured to construct an estimation model. Therefore, in a case where a burden for model construction is large and the device varies across the ages, there is a possibility that the estimation model includes an error.
According to one embodiment, there is provided an electrical device monitoring apparatus including: a measuring unit, a power consumption calculating unit, a power consumption storage, a feature calculating unit, a feature storage, a detecting unit, a model generating unit, and a power consumption estimating unit.
The measuring unit measures a current and a voltage of a power supplying unit that supplies power to a plurality of devices.
The power consumption calculating unit calculates power consumed by the devices at a time interval.
The power consumption storage accumulates a value of power consumption calculated by the power consumption calculating unit.
The feature calculating unit calculates a feature based on at least one of the current and the voltage at the time interval.
The feature storage accumulates the feature calculated by the feature calculating unit.
The detecting unit detects a starting time and an ending time of operating of each of the devices.
The model generating unit calculates calculate a power consumption difference between the power consumption at the starting time and each power consumption at the time interval, in a first period from the starting time, for each of the devices.
The model generating unit calculates a feature difference between the feature at the starting time and each feature at the time interval, in the first period from the starting time, for each of the devices.
The model generating unit creates, for each combination of the devices, a set of learning data each including power consumption differences of devices in the combination and a sum of feature differences of devices in the combination at the time interval.
The model generating unit generates a model to estimate, as a function of a first variable indicating the sum of feature differences, second variables indicating power consumption differences of the plurality of devices, based on all of each set of the learning data.
The power consumption estimating unit calculates the second variables of the model based on the feature calculated by the feature calculating unit, the feature being given to the first variable of the model and the second variables calculated representing power consumption of each of the plurality of devices.
In the following, with reference to the drawings, embodiments will be explained.
The electrical device monitoring apparatus 100 includes an inputting/outputting unit 200, a power consumption/feature calculator 300, an individual device power consumption calculator 400 and a device operating unit (detecting unit) 500.
The inputting/outputting unit 200 includes an inputting unit 210 and an outputting unit 220.
The power consumption/feature calculator 300 includes a current voltage measuring unit 310, a power consumption calculating unit 320, a feature calculating unit 330 and a timer (time calculating unit) 340.
The individual device power consumption calculator 400 includes a data storage (power consumption storage and feature storage) 410, a data extracting unit 420, a model generation data storage 430, a power consumption estimation model generator 440, a model storage 450 and a power consumption estimating unit 460.
The present apparatus includes a model generating phase of generating a model to estimate the power consumption of individual devices from power information in a home, and a power consumption estimation/visualization phase to actually estimate and visualize the power consumption using the generated model. After the model is generated in the model generating phase, these phases can operate in parallel (i.e. independently).
The model generating phase includes device operation/data collection processing (S101), power consumption/feature collection processing (S102) and model data generation processing (S103).
The device operating unit 500 accepts a device operation from the user (S1011). For example, it accepts an ON/OFF operation of a device. Setting information such as the preset temperature of a device may be accepted. For example, the user can perform the device operation as behavior in normal daily life without taking care of an operation of the present apparatus.
In step S1012, the device operating unit 500 transmits a control instruction based on the user operation to a corresponding device. Also, it outputs identification data of the control (such as ON/OFF) to the inputting unit 210 where the identification data additionally includes the identification number (or individual identification number) of the device and the time the user operation was accepted. The household electrical appliance having received the control instruction performs an operation according to the control instruction.
In parallel to the device operation/data collection processing in step S101, the current voltage measuring unit 310 measures a current and voltage of a customer feeder part (i.e. power supplying unit) (S1021). The measurement is performed for, for example, 2 KHz/sec.
The power consumption calculating unit 320 calculates power consumption by integrating the current and the voltage. Also, the feature calculating unit 330 calculates a feature(s) from at least one of the current and the voltage (S1022).
For example, a frequency spectrum or phase is calculated by performing FFT (Fast Fourier Transform) on a measured current signal. Alternatively, a power factor is calculated from the voltage and the current.
The time in the timer (or time calculating unit) 340 is added to the value of the power consumption calculated in the power consumption calculating unit 320 (S1023) and data is transmitted to the data storage 410. Also, the time in the timer (or time calculating unit) 340 is added to the feature calculated in the feature calculating unit 330 (S1023) and data is transmitted to the data storage 410. The data storage 410 stores these items of data (S1024).
The data extracting unit 420 generates model generation data (i.e. first and second model generation data) to calculate a power consumption estimation model, using the individual identification number transmitted from the inputting unit 210 and the starting time and ending time of the device (S1031).
The generation of the model generation data is performed by using power consumption data and feature data stored in the data storage 410. Also, the power consumption data shows power consumption of the whole house (i.e. total power consumption of multiple devices in the home).
The upper part of
Power consumption Pts at the operation starting time of the device and power consumption Pte at the ending time are extracted from the data storage 410. The power consumption Pts is subtracted from power consumption P1 of each time (P1 is a vector) at intervals of a data generation time within time TDs from the starting time (i.e. first period), and thereby, a difference of power consumption is calculated at intervals of the data generation time. Here, it should be noted that the data generation time indicates a period to calculate a feature and differs from a measurement period of a current and a voltage. Also, the power consumption Pte is subtracted from power consumption P2 (P2 is a vector) of each time at intervals of the data generation time within time TDe before the ending time (i.e. second period), and thereby, a difference of power consumption is calculated at intervals of the data generation time. These items of difference data (power consumption difference and feature difference are stored in the model generation data storage 430 as first model generation data. Specifically, it is assumed that a period of TDs starting from the starting time is a short period, and, by regarding that other devices are not newly turned on during this period, it is possible to handle the difference between Pts and each P1 in the period of TDs as the power consumed by the device. Similarly, by regarding that the device is turned off at the ending time and other devices are not turned off during a period of TDe before the ending time, it is possible to handle the difference between Pte and each P1 in the period of TDe as the power consumed by the device.
The lower part of
As feature data, a result of FFT is used. In the result of FFT, third-order harmonic data H3, fifth-order harmonic data H5 and seventh-order harmonic data H7 are shown. By extracting only values of third-order, fifth-order and seventh-order harmonics from the result of FFT and connecting these in the time direction, the graphs in the figure are acquired. That is, with respect to the power consumption data, FFT is performed at intervals of data generation time while moving a predetermined-width window from the start to the end of the power consumption data at a certain width (i.e. a length of data generation time) in the time direction. Further, by extracting only values of third-order, fifth-order and seventh-order harmonics and connecting these in the time direction, the graphs of third-order, fifth-order and seventh-order harmonics are acquired. These graphs are processed in the same way as in
Specifically, in the third-order harmonic data, the intensity at the starting time is subtracted from the intensity of each time at intervals of data generation time within time TDs from the starting time, and a difference of the feature is calculated at intervals of data generation time. Also, the intensity at the ending time is subtracted from the intensity of each time at intervals of data generation time within time TDe before the ending time, and a difference of the feature is calculated at intervals of data generation time. These items of difference data (feature difference) are stored in the model generation data storage 430 as second model generation data. Also, regarding fifth-order and seventh-order harmonic data, second model generation data is created in the same way and stored in the model generation data storage 430.
The power consumption estimation model generator 440 generates a power consumption estimation model from the model generation data (i.e. first and second model generation data) per device stored in the model generation data storage 430. Regarding this, as described below, there are a method of generating the model for each device and a method of generating one item of model for a whole of the devices. In any cases, an existing technique is used.
For example, in related art, a model is learned by a neural net in which harmonic data is an input and power consumption is an output. In addition, there are suggested a method using RBF, support vector machine or LMC (Large Margin Classfier) and a method using GA.
The generated model is stored in the model storage 450. In the case where the power consumption estimation model is generated per device, identification information of the device is stored together.
Here, there is provided a method of generating the power consumption estimation model per device.
It is suggested that the length of TDs illustrated in
The following equation is an equation to generate a set of harmonics at certain time.
The number of items of data is 2000 due to 2 KHz in one second. This is referred to as “xi.” Here, “i” indicates the i-th item in 2000 data. Also, “Xk” indicates a value after discrete Fourier transform. Also, “k” indicates a frequency component and k=150, k=250 and k=350 indicate the third-order harmonic, the fifth-order harmonic and the seventh-order harmonic. It is assumed that the order is referred to as “m” and an m-order harmonic is referred to as “Hm” (Hm is a vector) in a simple manner. That is, X150 corresponds to H3. Xk (K=150, 250 and 350) corresponding to the third order, fifth order and seventh order is a combination of harmonics at certain time. When the certain time is t1, a combination of harmonics at time t1 is represented by H3(t1), H5(t1) and H7(t1). Also, power consumption at certain time denotes an average of product of “i” and “v” in one second. This is represented by P(t1).
Here, it is assumed that the starting time of TDs is “ts.” In the case of acquiring data for ten minutes, a sequence of P(t), H3(t), H5(t) and H7(t) is acquired. Here, P(t) indicates power consumption at time t, where t∈{ts, ts+1, . . . , ts+10} is established. The order of harmonic may be increased according to sampling frequency.
Subsequently, calculations are performed for p(t)=P(t)−P(ts), h3(t)=H3(t)−H3(ts), h5(t)=H5(t)−H5(ts) and h7(t)=H7(t)−H7(ts). By this means, a data set (i.e. learning data) of p(t), h3(t), h5(t) and h7(t) for model generation is acquired.
In the interval of TDe in
In the case of generating a power consumption estimation model for each device, a model outputting “p” as a function of |h3|, |h5| and |h7| is generated for each device. This can be constructed in, for example, a multiple regression model. That is, “a,” “b,” “c” and “d” may be determined such that the sum of squares of p−p′ (i.e. difference between p and p′) in the equation of p′=a*|h3|+b*|h5|+c*|h7|+d is minimum. The “*” indicates multiplication. Here, |h3|, |h5| and |h7| each correspond to a first variable indicating a feature difference and “p′” corresponds to a second variable indicating a power consumption difference.
Next, an explanation is given to the case of generating one power consumption estimation model for a whole of the devices.
This model corresponds to a model to estimate the power consumption of each device from the intensity of harmonic of power consumption “i” in the whole house. The intensity is not a difference but is a value itself of the graph in the lower part of
Regarding an individual device “j,” it is assumed that data of a combination of power consumption and harmonic is pj, h3j, h5j and h7j. These indicate a power consumption difference and feature difference (i.e. harmonic intensity difference) which are acquired in the same way as when the above-described individual model is created.
It is assumed that all device combinations with respect to “j” are referred to as “J.” For example, in a case where the number of devices is three, J={(1), (1,2), (1,3), (2,3), (1,2,3)} is established.
Regarding each combination, data is randomly extracted one from the data set of each of devices included in the combination and, based on each extracted data of such devices, h3, h5 and h7 are added to each other. Also, “p” is used itself without being added and “p” of a device which is not included in the combination is set to 0. This data collection is described as “dx” and it is repeatedly created. Each created data collection is input in a data set D. When the number of repetitions is 1000, data collection of d1 to d1000 is input in D.
For example, in a case where the individual identifier of the device is 1 and 2, a data set {|h31+h32|, |h51+h52|, |h71+h72|, p1, p2, 0} is an example of dx, which includes: addition of h3, h5 and h7 with respect to randomly selected p1, h31, h51 and h71 and randomly selected p2, h32, h52 and h72; p1; p2; and power consumption p3 of a device which is not included in the combination, where the power consumption p3 is set to 0. This dx is represented as {hh3x, hh5x, hh7x, p1x, p2x, p3x}.
Using the data set D (i.e. learning data), a model to output p1, p2 and p3 as a function of hh3, hh5 and hh7 is generated as illustrated in
Although a general flow of the model generating phase has been described above, repetition of this processing improves a model, resulting in a more accurate model.
The power consumption estimation/visualization phase estimates device power consumption using the model stored in the model storage 450.
The data storage 410 stores feature data calculated from home current and voltage information. The power consumption estimating unit 460 estimates the power consumption of each device from this feature. The estimation is performed in real time, for example, every one minute. The estimation method varies depending on whether to use the power consumption estimation model for each device (in the above example, multiple regression model) or use one power consumption estimation model for a whole of devices (i.e. the above neural net model).
In the case of using the power consumption estimation model for each device, it is premised where ON/OFF of each device is possible. The feature(s) in the whole house at time t to estimate power consumption is divided depending on operating devices.
For this purpose, for example, the feature pattern for each device (in the above example, intensity distribution of third-order, fifth-order and seventh-order harmonics) is learned in advance. For each device, a representative pattern (such as an average) of harmonic intensity distribution in a past operation period is learned. The pattern may be learned depending on an operation setting or state of the device (in the case of an air conditioner, a set temperature, an operation start period from the time when power-on is instructed to the time when the operation becomes stable, or a normal operation period).
Subsequently, the features (intensity of third-order, fifth-order and seventh-order harmonics) in the whole house at time t to estimate the power consumption are divided such that each divided features is the most closest to the corresponding pattern of each device, and each divided features are determined as the features of each device. By inputting the determined features of a target device among each device into the model of the target device (i.e. multiple regression model) as the first variables, power consumption of the target device is obtained as a value of the second variable being output of the model. Here, this is just an example and an arbitrary method can be used.
In the case of using one power consumption estimation model for a whole of the devices, the features (intensity of third-order, fifth-order and seventh-order harmonics in the whole house) at time t are given to a neural net model as the first variables. By this means, the power consumption of each device is acquired as second variables being output of the model. According to this, even in an environment in which ON/OFF measurement per device is not possible, it is easily possible to estimate the power consumption of the individual device.
The outputting unit 220 outputs the estimated power consumption so as to be visualized by the user. For example, it is displayed in a graph such that not only transition in the power consumption in a house but also the device-basis power consumption is identified. The upper right of
The electrical device monitoring apparatus illustrated in
The voltage and current of a customer feeder are measured in the current measuring apparatus 720 and the voltage measuring apparatus 730. The measured values are subjected to AD conversion in an interface unit 610 and stored in a memory 640 or a hard disk 650 on a PC. The processing in the power consumption calculating unit 320 and the feature calculating unit 330 is performed by reading and executing a program stored in the memory 640 by a CPU 630. The calculation results in these calculating units are stored in the memory 640 or the hard disk 650. Each processing in the individual device power consumption calculator 400 is performed on the PC 600. Visualization information of the power consumption of an individual device for a liver is generated on the PC 600 and presented to the liver using the displaying apparatus 700.
Also, the present electrical device monitoring apparatus may be formed with multiple PCs. In a case where the power consumption/feature calculator 300 and the individual device power consumption calculator 400 are realized on different PCs, required data is exchanged using a communication apparatus 660 of the PCs.
As described above, according to the present embodiment, it is possible to easily or automatically construct a power consumption estimation model while the user lives. Since a power consumption measuring apparatus does not have to be attached to individual devices, it is possible to construct an estimation model at low cost, thereby realizing a technique of visualization at a low price with a low burden on customers.
The individual device power consumption calculator 400 illustrated in
The power consumption estimation model is created as follows. Data is acquired in homes A and B in the same way as in the first embodiment and transmitted to the individual device power consumption calculator 400. Here, it is assumed that the same devices or devices of the same model number have the same characteristics, and the power consumption estimation model generator 440 (see
Also, even immediately after setting devices in which data is not collected yet, regarding the same device and devices of the same model number, it is possible to effectively perform power consumption estimation immediately after the setting, by a model created from data of a different home.
The present embodiment shows another method of generating model generation data (i.e. the above-described first model generation data and second model generation data) to generate a power consumption estimation model.
The data extracting unit 420 extracts all data during a time period from the operation starting time of the device to the ending time.
At this time, regarding power consumption, the data extracting unit 420 draws a line segment to interpolate operation starting time is of the device to ending time te, as a base line. Subsequently, a value subtracting a value of the base line from power consumption in one home is regarded as power consumption of the device and acquired as first model generation data.
Regarding a feature, a base line is drawn in the same way. A value subtracting a value of the base line from the feature is regarded as a feature of the device and acquired as second model generation data.
In the first embodiment, as illustrated in
As described above, according to the present embodiment, in the whole operation period of a device, it is possible to acquire power consumption and feature of the device in a simple manner.
While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed, the novel embodiments described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the embodiments described herein may be made without departing from the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the inventions.
Number | Date | Country | Kind |
---|---|---|---|
2012-064367 | Mar 2012 | JP | national |
This application is a Continuation of International Application No. PCT/JP2013/058469, filed on Mar. 18, 2013, the entire contents of which is hereby incorporated by reference.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP2013/058469 | Mar 2013 | US |
Child | 14183107 | US |