The present invention relates to an on-demand power control system, an on-demand power control system program, and a computer-readable recording medium recording the same program and, more particularly, to an on-demand power control system, an on-demand power control system program, and a computer-readable recording medium recording the same program which are capable of analyzing a unique feature of each electrical device collected by a smart tap and a power consumption pattern, and estimating behavior of a person at home.
An on-demand power control system is intended to implement energy management in households and offices. The system aims to make a 180-degree shift from a supplier-centric “push” power network to a user- or consumer-driven “pull” power network. The system is a system in which a home server infers “which one of the device requests is most important” from a user's usage pattern in response to requests for power from various devices at home (e.g., requests from an air conditioner and a light) and performs control so as to supply power to electrical devices beginning with an important one with high priority, i.e., performs on-demand power control. In the following, Energy on Demand control which is the on-demand power control will be referred to as “EoD control”, and a system thereof will be referred to as an “EoD control system”. The EoD control system is proposed by Professor Takashi Matsuyama, Kyoto University.
The greatest benefit of use of the system is that energy saving and CO2 emissions reduction can be implemented from the demand side. For example, if a user sets instructions to make a 20% electric rate cut in the home server in advance, a user-centric effort to feed only power cut by 20% can be made by EoD control, and the system can implement energy saving and CO2 emissions reduction.
As the EoD control system described above, there is known a home network including estimation means for estimating the function of an electrical device that is in operation and a positional relationship between a resident and the electrical device, and estimating the number of residents at home and the behavior of the resident(s) based on the operation status(es) of electrical device(s) (see Patent Literature 1). More specifically, the home network described above includes n electrical devices arranged at home, n modules for supplying power to the n electrical devices from outlets, and for detecting power use statuses of the electrical devices and the arranged positions thereof, detection means for detecting operation statuses of m electrical devices that are actually in operation, based on the power use statuses of the n electrical devices transmitted from the modules, and detecting mutual positional relationships of the m electrical devices that are in operation based on the n arranged positions transmitted from the n modules, and estimation means for determining feasibility of the operation statuses of the m electrical devices that are in operation and estimating the number of residents at home, based on the mutual positional relationships which have been detected and the operation statuses of the m electrical devices that are in operation.
Additionally, the module described above is called a “smart tap” (hereinafter, referred to as a “ST”) these days, and this ST is composed of voltage and current sensors which measure power, a semiconductor relay for power control, a ZigBee module for communication, and a microcomputer with a built-in DSP which performs overall control of the components and internal processing, and may calculate in detail current and voltage waveforms by high speed data sampling at 20 kHz (see Non Patent Literature 1).
The estimation means of Patent Literature 1 requires burdensome input operations to input to the modules in advance what each electrical device is, and measures the mutual positional relationships of the electrical devices and estimates the number of residents at home and the behavior of the resident(s) by attaching IC tags to outlets provided in the wall and providing IC tag readers to the modules. Thus, since the estimation means corresponds to human behavior estimation means, it will be referred to as the human behavior estimation means in the following. Regarding this human behavior estimation means, a problem is pointed out that, in spite of requiring burdensome labor such as an input operation of electrical devices, attachment of IC tags, installation of IC tag readers, and the like, only limited information regarding the number of residents at home and the behavior of the resident(s) based on the mutual positional relationships of the electrical devices may be obtained.
Accordingly, to solve the problem described above, a method of identifying what the electrical device being measured by the ST is being proposed (see Non Patent Literature 2). According to this method, a small number of features representing characteristics of the current waveform is extracted and transmitted to a server by the ST, and an electrical device is identified by using the obtained features by the server. The household commercial power is AC, and as can be seem from the voltage/current waveforms of a hair dryer and a vacuum cleaner in
Regarding the human behavior estimation means of Patent Literature 1, a problem is pointed out that the information obtained is only limited information for estimating the number of residents at home and the behavior of the resident(s) based on the mutual positional relationships of the electrical devices. Now, due to the damage to the Fukushima No. 1 nuclear power plant caused by the Great East Japan Earthquake of March 2011, the Japanese government announced a policy to reduce electricity consumption by about 15% compared to the previous year, regarding a power-saving target within the jurisdictions of Tokyo Electric Power Company and Tohoku Electric Power Company during an on-peak period in summer which is a pillar of countermeasures against power shortages. Combined with this, users' desire to reduce the power consumption of electrical devices, even if only by a small amount, without impairing the Quality of Life (hereinafter, referred to as “QoL”) of the users is becoming strong. To reduce power of the electrical devices without impairing the QoL, to what extent the power consumption can be reduced while maintaining the QoL becomes important, and if the behavior of a person using an electrical device at home may be estimated from the unique feature of each electrical device and the power consumption pattern, a light which one forgot to turn off may be turned off, and an electrical device which one forgot to stop may be stopped, for example. Also, if an electrical device put to use may be identified by using the feature and the power consumption pattern, and the behavior of a person at home may be estimated based on the operation state of the electrical device which has been identified (on/off or high/medium/low of a switch, or the like), power may be saved while guaranteeing the QoL.
Accordingly, in view of the conventional problem as described above, the present invention aims to provide an EoD control system, an EoD control system program, and a computer-readable recording medium recording the same program which estimate the behavior of a person at home based on a feature of an electrical device and a power consumption pattern without estimating the number of persons based on the mutual positional relationships of electrical devices.
As a result of keen examination to achieve the above-described object, the present inventors have reached the present invention.
A human behavior estimation apparatus of the invention according to claim 1 of the present invention is an on-demand power control system including a power source including at least a commercial power source, a plurality of electrical devices, a smart tap connected to the electrical devices, a human behavior estimation apparatus, including a memory, for estimating behavior of a person in a living space, and a network to which the human behavior estimation apparatus is connected via the smart tap, wherein the human behavior estimation apparatus includes initial human-induced probability value estimation means for comparing a feature obtained from a power consumption pattern of an electrical device with a feature of learning data obtained in advance for each electrical device to estimate a state of the electrical device, and estimating an initial value of a human-induced probability of the electrical device based on the estimated state of the electrical device, human position estimation means for calling up the initial value of the human-induced probability of the electrical device and a likelihood map of the device from the memory, performing, for all samples, a process of referring to a sample human position selected from the likelihood map and calculating a weight of the device by multiplying a human position and the human-induced probability of the device, and estimating a probability of a human position at each time point until a final time, and human-induced probability re-estimation means for performing recalculation of the human-induced probability based on the human-induced probability and a human position probability, performing the recalculation of the human-induced probability until a value of the recalculation converges, and outputting the human-induced probability and the human position probability when the value is converged.
The human behavior estimation apparatus of the invention according to claim 2 of the present invention estimates the behavior of a person based on the human-induced probability that is a probability of a person performing a human-induced operation on a device and the human position probability that is a probability of a person existing at a position.
The human behavior estimation apparatus of the invention according to claim 3 of the present invention determines feature data of an operation state based solely on the power consumption pattern of each electrical device, and determines the human position and the human-induced probability by repeated calculation while taking a human-induced probability obtained from the data as an initial value, to estimate both the human position and the human-induced probability.
According to the human behavior estimation apparatus of the invention according to claim 4 of the present invention, the feature data of an operation state is composed of an id of an electrical device, an operation state of the device, and a feature of the device.
According to the human behavior estimation apparatus of the invention according to claim 5 of the present invention, the power consumption pattern of an electrical device is generated based on a change in an operation mode or a state of an electrical device due to operation of the device by a sequence of human states including movement and stopping.
According to the human behavior estimation apparatus of the invention according to claim 6 of the present invention, the feature of an electrical device is an average and dispersion of power consumption.
According to the human behavior estimation apparatus of the invention according to claim 7 of the present invention, the initial human-induced probability value estimation means is capable of estimating the initial value of the human-induced probability based on a probability of a state of an electrical device, by having a probability of a state shift of the electrical device being caused by a human-induced operation given in advance.
According to the human behavior estimation apparatus of the invention according to claim 8 of the present invention, the human position estimation means estimates a movement position of a person based on a human-induced probability according to which a two-dimensional position of the person at a time t may be determined by repeated calculation for a preceding time t−1.
According to the human behavior estimation apparatus of the invention according to claim 9 of the present invention, the human position estimation means uses a time-series filter to estimate the human position probability.
According to the human behavior estimation apparatus of the invention according to claim 10 of the present invention, the time-series filter is a particle filter, a Kalman filter or a moving average filter.
According to the human behavior estimation apparatus of the invention according to claim 11 of the present invention, the human position estimation means calculates the human-induced probability by using a likelihood map that is based on a relationship between a position of an electrical device and a human position.
According to the human behavior estimation apparatus of the invention according to claim 12 of the present invention, the likelihood map shows, using pixel values, an existence probability of a person who can press a power switch of an electrical device, with respect to an actual living space.
According to the human behavior estimation apparatus of the invention according to claim 13 of the present invention, in the likelihood map, calculation is performed using a pixel value of zero for a range that cannot be reached by a human hand if there is an obstacle.
According to the human behavior estimation apparatus of the invention according to claim 14 of the present invention, in the likelihood map, small pixel values are assigned to a wide range in a case where the electrical device may be operated by a remote control.
According to the human behavior estimation apparatus of the invention according to claim 15 of the present invention, in the likelihood map, in a case where the electrical device may be operated from a plurality of positions, large pixel values are assigned to a plurality of narrow ranges allowing operation.
According to the human behavior estimation apparatus of the invention according to claim 16 of the present invention, in the likelihood map, the pixel values are expressed based on a floor plan, the position/distance of an obstacle and a power switch, and a position of the electrical device.
According to the human behavior estimation apparatus of the invention according to claim 17 of the present invention, in a case where there is a plurality of persons, the human estimation apparatus performs calculation using a mixed normal distribution for the number of persons.
A program of the invention according to claim 18 of the present invention is a program for causing a computer to operate as a human behavior estimation apparatus on an on-demand power control system including a power source including at least a commercial power source, a plurality of electrical devices, a smart tap connected to the electrical devices, the human behavior estimation apparatus, including a memory, for estimating behavior of a person in a living space, and a network to which the human behavior estimation apparatus is connected via the smart tap, wherein the human behavior estimation apparatus includes initial estimated human-induced probability value setting means, human position estimation means, and human-induced probability re-estimation means, and wherein the program causes the computer to perform processes of: by the initial estimated human-induced probability value setting means, comparing a feature obtained from a power consumption pattern of an electrical device with a feature of learning data obtained in advance for each electrical device to estimate a state of the electrical device, and calculating an estimation of an initial value of a human-induced probability of the electrical device based on the estimated state of the electrical device, by the human position estimation means, calling up the initial value of the human-induced probability of the electrical device and a likelihood map of the device from the memory, performing, for all samples, a process of referring to a sample human position selected from the likelihood map and calculating a weight of the device by multiplying a human position and the human-induced probability of the device, and calculating an estimation of a probability of a human position at each time point until a final time, and by the human probability re-estimation means, performing recalculation of the human-induced probability based on the human-induced probability and a human position probability, performing the recalculation of the human-induced probability until a value of the recalculation converges, and outputting the human-induced probability and the human position probability when the value is converged.
A program of the invention according to claim 19 of the present invention is a program for causing a computer to operate as a human behavior estimation apparatus according to claim 1, the program causing the computer to perform a process of estimating, by the human behavior estimation apparatus, behavior of a person based on a human-induced probability that is a probability of a person performing a human-induced operation on a device and a human position probability that is a probability of a person existing at a position.
A program of the invention according to claim 20 of the present invention is a program for causing a computer to operate as a human behavior estimation apparatus according to claim 1, the program causing the computer to perform a process of, by the human behavior estimation apparatus, determining feature data of an operation state based solely on a power consumption pattern of each electrical device, and determining a human position and a human-induced operation by repeated calculation while taking a human-induced probability obtained from the data as an initial value, to estimate both the human position and a human-induced operation.
A recording medium of the invention according to claim 21 of the present invention is a computer-readable medium recording a program according to claim 18.
A recording medium of the invention according to claim 22 of the present invention is a computer-readable medium recording a program according to claim 19.
A recording medium of the invention according to claim 23 of the present invention is a computer-readable medium recording a program according to claim 20.
A human behavior estimation apparatus of an on-demand power control system of the present invention is capable of estimating the behavior of a person at home through the daily life of a user in which the user uses electrical devices, and thus, power may be preferentially supplied to a necessary electrical device or unnecessary light may be turned off by laying out a plan regarding use of power or predicting an electrical device which is likely to be used next. This is an apparatus that is highly useful in saving power because power can be preferentially supplied to an electrical device needed by a user, or a light which the user forgot to turn off can be turned off and an electrical device which the user forgot to stop can be stopped, for example.
That the human behavior estimation apparatus is capable of estimating the behavior of a person at home was proven by the result of a real-life experiment conducted in a smart apartment room where subjects actually lived.
The configuration of a communication network of an EoD control system according to the present invention will be described with reference to
Furthermore, with respect to the human behavior estimation apparatus, a knowledge database (a knowledge DB) 10 may be structured inside the human behavior estimation apparatus by using a directly connected or built-in memory. Power from a commercial power source is supplied via the power control apparatus 30 to the human behavior estimation apparatus and each device.
Additionally, a commercial power source is described as the power source of the EoD control system of the present invention, but the present invention is not limited to this, and photovoltaic power generation or a fuel cell may be used as the power source. Although an ordinary household will be described as the installation location of the EoD control system 50 according to the present invention, the present invention is not limited to this. Any location such as an office may be adopted as long as a ST can be installed. An external type ST which is connected to a power outlet will be described as a ST of the EoD control system according to the present invention. The present invention, however, is not limited to this, and an internal type one which is embedded in a power outlet may be employed.
As has been described with reference to
The human behavior estimation apparatus and the plurality of devices 20 are connected to the output side of the power control apparatus 30, i.e., the secondary sides of the sub-breakers. Although not shown, the human behavior estimation apparatus is connected so as to be capable of receiving power from the power control apparatus 30 by inserting its attachment plug into, e.g., a wall socket. For the plurality of devices, the STs each include a plug which is an attachment plug and an outlet, and power from the commercial power source 32 is fed from the plug. The plurality of devices are connected so as to be capable of receiving power through plugs of the plurality of devices connected to the outlets.
As described above, in the EoD control system according to the present invention, not only the power network shown in
Regarding the structure of the ST, a known structure composed of voltage and current sensors which measure power, a semiconductor relay for power control, a ZigBee module (hereinafter, referred to as a “communication member”) for communication, and a microcomputer which performs overall control of the components and internal processing is used, as described above. The ST measures in real-time the consumption of power supplied to a device via the plug 113, and transmits the power consumption to the human behavior estimation apparatus via the communication member.
The size shown by the floor plan is 538 cm×605 cm, i.e. about 33 m2. As shown in
Table 1 is a table showing possible operation states (0 to 3) of each device.
Now, the “behavior of a person” is generally defined as a plurality of continuous actions and a sequence of human states such as stopping and movement of the person. The present invention takes notice that, in an ordinary living space, many actions involve operation of devices, and thus, the behavior is defined taking actions as a series of human-induced operations of a device and a human state as the position where a person performs an action.
That is, the following two objects are to be achieved by the present invention.
(1) Detection of a human-induced operation of a device
(2) Estimation of the position of a person
As shown in
Additionally, the process described below to be performed by the human behavior estimation apparatus is performed off-line, and the human behavior estimation apparatus processes the power consumption pattern transmitted by the ST and performs off-line a process of indicating the activity path of a person where a probability distribution of a human position z
Ph(i)(z) and a set of probabilities of a device being operated
are output as an estimation result.
As shown in
Table 2 shows each device and its operation states, 0 to 3 (on/off or high/medium/low of a switch, or the like), and the values of average and dispersion of power consumption (the average and dispersion will be hereinafter referred to as “feature(s)”), and the feature is used in the process of initial value estimation of a human-induced probability described later as learning data. State 0, state 1, state 2, and state 3 in Table 1 are the same as the operation states 0 to 3 of devices in Table 2, and indicate possible operation states of devices. As can be seen from Table 2, the feature changes according to a change in the operation state, and the value of the feature is different for each device. This Table 2 showing the operation states and features of devices (id) is defined and used as the “feature data of an operation state”.
When position information of devices is given, if the timing of a human-induced operation performed by a person with respect to a device is known, it is possible to know that the person was near the device at that time, and by connecting these facts in a chronological order, the movement track of the person may be estimated. However, a device includes not only a state change due to a human-induced operation, but also an automatic state change, continuous load variations and the like, and it is difficult to identify a human-induced operation based solely on the power consumption pattern. If the position information of a person may be estimated at this time, since a human-induced operation is possible if the person is near the device and the operation is not possible if the person is far away from the device, it is possible to distinguish between a human-induced operation and a state change induced by other factors. To distinguish between the two, it is necessary to understand a “human-induced probability
pm(sa,t=1)
”, which is the probability of a person performing a human-induced operation with respect to a device at a time t, and a “human position probability
ph(Zt)
”, which is the probability of a person being able to operate a device from a position Zt. The “human-induced probability
pm(sa,t=1)
” and the “human position probability
ph(Zt)
” will be described below.
Whether a human-induced operation is performed on a certain device
a
at a time
t
will be expressed by
sa,t.
Also, when the human position at a time
t
is given as
and the power consumption pattern of
a
up to the time
t
is given as
the probability
pm(sa,t=1)
of a person performing a human-induced operation (hereinafter, referred to as a “human-induced probability”) on
a
is expressed by the following equation.
p
m(sa,t=1)=∫pm(sa,t=1|Wa,t,Zt)ph(Zt)dZt=∫pm(Wa,t|sa,t=1)Pm(sa,t=1|Zt)ph(Zt)dZt (2)
pm(Wa,t|sa,t=1)
is the probability of a power consumption pattern
being obtained when a person operates the device
a,
is the probability distribution of the human position (hereinafter, referred to as a “human position probability”), and
Pm(sa,t=1|Zt)
is the probability of a person being able to operate
a
from a certain position
According to this equation, it can be seen that, if the human position probability
is obtained, the human-induced probability
Pm(sa,t=1) may be estimated.
On the other hand, when the number of devices is given as
whether a human-induced operation is performed on all the devices at a time
t is expressed by a set
st{sa1,t, sa2,t, . . . , saN,t},
and a sequence of human-induced operations up to a time
t
is given as
St={s0, s1, . . . , st},
the human position may be determined by the following equation by Bayes' theorem.
Moreover, since
Ph(st|St-1)
is not related to a probability variable
is given as a normalization constant
kt,
and
ktph(St|Zt)ph(Zt|St-1)
is given. Here,
ph(St|Zt)
is the human-induced probability for each device based on the human position
and may be calculated by the following equation.
Here, the influence on a device on which the human-induced operation is not performed is irrelevant to the human position, and thus, a specific probability
α
is given as a uniform distribution. Also,
ph(Zt|St-1)
in Equation (3) is a human position estimated based on the observation until a time
t−1,
and when assuming that the movement track of a person has a Markov property, modification to the following equation is possible.
p
h(Zt|St-1)=∫Ph(Zt|Zt-1)ph(Zt-1|St-1)dZt-1 (5)
is a movement model of a person, and
is a human position probability at a preceding time. Equations (3) and (5) are time series filter equations, and may be efficiently solved by a particle filter, a Kalman filter or a moving average filter, each being a time series filter, if the probability of a human-induced operation expressed by Equation (4) and the movement model are given. It can be said that, if a human-induced operation
pm(St)
is obtained, for example, the human position
pm(Zt)
may be determined by the particle filter.
Accordingly, it can be seen that, according to this problem, there is interdependence that, if the human-induced operation
pm(St)
is known, the human position
ph(Zt)
may be determined, and if the human position
ph(Zt)
is known, the human-induced operation
pm(St)
may be determined.
The human behavior estimation apparatus of the present invention may estimate both of the human position and the human-induced operation by determining the feature data of the operation state based solely on the power consumption pattern of each device, and determining the human position and the human-induced operation by repeated calculation while taking the feature of the human-induced operation determined from the data as the initial value.
The human behavior estimation apparatus is composed of initial human-induced probability value estimation means 120, human position estimation means 122, and human-induced probability re-estimation means 124.
This human behavior estimation apparatus 1 has (1) a function of setting, by the initial human-induced probability value estimation means 120, an initial value of a human-induced probability of a device by comparing the power consumption pattern of the device received from the ST with the feature and the operation probability of the device stored in a memory, (2) a function of estimating a human position by the human position estimation means 122 by using a time series filter and based on the initial value, and a floor plan, the arrangement of devices, the device operation probability at each position and a human movement model stored in the memory, and (3) a function of estimating, by the human-induced probability re-estimation means 124, a human-induced probability of the device being operated, based on the estimated human position, inputting the estimated human-induced probability to the human position estimation means 122, inputting the estimated human position to the human-induced probability re-estimation means 124, performing processes until the human position estimation process and the human-induced probability re-estimation process converge, and outputting the human position and the human-induced probability.
Probability calculation processes performed by (1) the initial human-induced probability value estimation means 120, (2) the human position estimation means 122, and (3) the human-induced probability re-estimation means 124 in
(1) Initial Human-Induced Probability Value Estimation Means
The probability calculation process of the initial human-induced probability value estimation means 120 will be described.
In the initial estimation, the probability of a human-induced operation (the human-induced probability) is estimated based on Equation (6) by using only the power consumption pattern
Wa,t
of each of the devices
a1, a2, . . . , aN.
P
m
(0)(sa,t=1)=pm(sa,t=1|Wa,t) (6)
Each device has an operation mode unique to the device, and the operation mode is shifted by a human-induced operation or automatic control. That is, the human-induced operation and the automatic operation may be defined for each state transition like this. When a state
δ
is shifted to a state
δ′
from a time
t−1
to a time
t,
the probability of this shift being caused by a human-induced operation is given as
po(sa,t=1|dt-1=δ, dt=δ′).
Also, when the probability of the state of a household appliance being
δ
at the time
t
is given as
po(dt=δ|Wa,t)
the human-induced probability for this household appliance is given as the following equation.
If the probability
po(sa,t=1|dt-1, dt).
of a certain state shift being caused by a human-induced operation is given in advance, the initial value of the human-induced probability may be estimated from the probability
po(dt|Wa,t)
regarding the state of the household appliance.
Which power consumption pattern observed by a smart tap corresponds to which household appliance is recognized in advance by the technique described in Non Patent Literature 2. At this time, estimation of the state of a device is performed by using the average and dispersion of the power consumption in a predetermined time section. A large number of average values and dispersion values of power consumption in each state are learned in advance as sample values for each state, with respect to all the devices. The average value of power consumption at the time when a household appliance
α
is in a state
δ
is given as
μα,δ,
and the dispersion value is given as
σα,δ,
and these are normalized as below such that the average will be zero and dispersion will be one:
{circumflex over (μ)}α,δ, σα,δ.
m
pieces of data are selected and given as learning data for each state, and
m′
pieces of data which are different from the above and which are randomly extracted are given as unknown data, and the state of the unknown data is estimated by the nearest neighbor algorithm, and accuracy evaluation is performed. Accordingly, when the state of the device
a
is assumed to be
δi(i=1, 2, . . . , D),
the probability
po(δi|δk)(i, k=1, . . . , D)
of being a true state
δi
with respect to an estimated state
δk
may be obtained. When the power consumption pattern
of the device
a
is measured, the normalized average value
{circumflex over (μ)}a,t
and dispersion value
{circumflex over (σ)}a,t
of power consumption are compared with the learning data, and a state
δa,t
is estimated. At this time, if the estimation result by the nearest neighbor algorithm is given as
δa,t, the probability of being in the state
δa,t
at the time
t
is
po(dt=δa,t|Wa,t)po(δa,t|δa,t).
To estimate the human-induced probability by Equation (6),
po(dt=δa,t|Wa,t)
has to be estimated for all the combinations of the states, but in reality, calculation is performed only for the state with the highest probability, for the sake of simplicity.
Also, when the human-induced probability is below a threshold
filtering is performed such that the human-induced probability is assumed to be zero, to simplify the human position estimation.
Here, the combination of a household appliance and a time
(a,t)
by which
pm(0)(sa,t=1)≧To
is true is made an event sequence
E(0)={(a,t)|pm(0)(sa,t=1)≧To},
and a combination of a time and a device with respect to which a human-induced operation has possibly been performed is indicated.
(2) Human Position Estimation Means
The probability calculation process of the human position estimation means 122 will be described.
A method of estimating a human position
ph(i)(Zt)
based on a human-induced probability
pm(i-1)(sa,t=1)
estimated according to Equations (3), (4) and (5) will be described. The internal state to be determined is a two-dimensional position
Zt(xt,yt)
of a person at the time
t,
and a movement position of the person is estimated based on a human-induced probability
pm(i-1)(sa,t=1)
determined by repeated calculation for a preceding time (t−1).
According to Equation (3), when
kt
is given as a normalization constant, the human position probability
ph(i)(Zt)
at the time
t
may be estimated by the following equation.
P
h
(i)(Zt)=Ph(i)(Zt|St)=ktPh(i)(St|Zt)ph(i)(Zt|St-1) (10)
Also, according to Equations (4) and (5), the following is true.
p
h
(i)(St|Zt)=Πa{pm(sa,t=1|Zt)pm(i-1)(sa,t=1)+αpm(i-1)(sa,t=0)} (11)
p
h
(i)(Zt|St-1)=∫ph(Zt|Zt-1)ph(i)(Zt-1|St-1)dZt-1 (12)
Here, the system model
is a movement model of a person, and is a two-dimensional normal distribution
according to the human behavior estimation apparatus of the present invention. Also, an observation model is estimated based on the human-induced probability
pm(i-1)(sa,t=1)
estimated as expressed by Equation (11) and the probability
pm(sa,t=1|Z)
of the household appliance
a
being able to be operated from a position
With respect to
is given by a normal distribution regarding distance of the household appliance
a
from a position
However, a likelihood map is given in advance such that zero is true for a position blocked by a wall or the like.
A particle filter is used to estimate the human position probability
ph(i)(Zt)
according to Equations (10), (11) and (12). A particle filter is a method of performing estimation by approximating a probability distribution by using a large number of samples (particles) generated according to the probability distribution. A set of samples according to a prior distribution
ph(i)(Zt|St-1) is given as
Qt|t={qt|t-1[t], . . . , qt|t-1[M]},
and a set of samples according to a posterior distribution
ph(i)(Zt|St)
is given as
Qt|t={qt|t[t], . . . , qt|t[M]},
[Initialization] A set of random samples
is generated as an initial value.
t:==1
is given.
[Prediction] A prediction sample qt|t-1[j], . . . , qt-1|t-1[j]+R(N(0, Σ2))
at a time
t
is generated according to the system model. Additionally,
is a random number according to the two-dimensional normal distribution
[Filter] A weight
πt[j]
is calculated for each prediction sample
qt|t-1[j]
according to the observation model by the following equation.
ph[i](st|Zt=qt|t-1[j])
is calculated according to Equation (11).
pieces of
qt|t-1[j]
are sampled with replacement from
at a rate proportional to respective weights
πt[j]
to obtain
Qt|t.
Additionally, in the case where
st={0, 0, . . . , 0}
is true, the prior distribution
ph[i](Zt|St-1)
predicted from the distribution at a preceding time becomes the posterior distribution
ph[i](Zt|St)
as it is, and thus,
Qt|t=Qt|t-1
is given and this process may be omitted. This
is taken as the set of samples for approximating the posterior distribution. If
t>tend
the process is repeated from the prediction based on
t:=t+1.
Now, specific examples of likelihood maps will be described with reference to
The likelihood map shows, using pixel values, an existence probability of a person who can press a power switch of an electrical device, with respect to an actual living space.
As can be understood from the description above, the pixel values of the likelihood map are calculated based on the use statuses of devices in an actual living space in such a way that the map is black in the case there is a fixed obstacle such as a wall or a shelf, the map is grey over a wide range in the case of a remote control, and the map is white at two positions in the case of double pole switches.
(3) Human-Induced Probability Re-Estimation Means
The probability calculation process of the human-induced probability re-estimation means 124 will be described.
A method of re-estimating a human-induced probability using a human position probability at each time point according to Equation (2) will be described. According to Equation (2), estimation by integration has to be performed for all the possible human positions, but here, to simplify the process, re-estimation is performed while excluding the calculation for a position with a low probability by determining an optimal human position with the highest probability,
{circumflex over (Z)}(t)={{circumflex over (Z)}t(t)}(t=0, 1, . . . tend).
As a method of determining
{circumflex over (Z)}(t),
a method of determining the same as an expected value at each time point by using a weighted average by likelihood is used in many cases with respect to real-time tracking and the like, but here, what is to be determined is the movement track of a person, and thus, a path of human positions whose product of probabilities along the path is the greatest is estimated as the optimal path, taking the temporal connection into account. This may be formulated as below by giving the number of samples in the particle filter as
That is,
j0, j1, . . . , jt
satisfying the above is to be determined. An estimated value
{circumflex over (Z)}(t)
of a state to be determined by a sample sequence of these numbers is determined. Specifically, each sample keeps a history regarding from which of the samples at a preceding time point the sample is derived, and
{circumflex over (Z)}(t)
is determined by following the history of the sample with the greatest weight at
tend.
The human-induced probability is updated by the following equation using this optimal path.
p
m
(t)(sa,t=1)=pm(Wa,t|sa,t=1)pm(sa,t=1|Zt={circumflex over (Z)}(t)) (15)
Update is performed by performing filtering in the same manner as Equation (9) with respect to a household appliance and a time whose human-induced probability is at or below a threshold
and by removing a combination at or below the threshold
from the event sequence
E
(i)={(a,t)εE(i-1)|pm(i)(sa,t=1)≧To} (16)
The human-induced probability
pm(i)(St)
is estimated here, and human position estimation and human-induced probability re-estimation are repeated until
pm(i)(St)
is converged based on
i:=i+1.
When the number of repetitions by which convergence is achieved is given as
i=if,
the event sequence
which is obtained at this time may be said to be the sequence of human-induced operations obtained from
Also, the optimal path
{circumflex over (Z)}(i
determined from the final probability distribution
ph(i
is the movement track of a person.
As shown in
As shown in
As shown in
πt[j]
of the selected sample j. In step S45, the processes of (1) to (3) described above are performed on all the samples while changing the selected sample. In step S47, samples are duplicated by a number of pieces proportional to N×the weight of sample
πt[j]
for each sample in the set of predicted samples, and a set of posterior samples at the time t is generated. In step S49, whether the time t is the last time is determined, and if it is determined to be Yes in step S51, the process is ended. If it is determined to be No in step S51, t+1 is given as the time in step S53, and the process returns to step S33.
As shown in
As shown in
As shown in
πt[j]
of the selected sample j. In step S85, the processes of (1) to (3) described above are performed on all the samples while changing the selected sample. In step S87, samples are duplicated by a number of pieces proportional to N×the weight of sample
πt[j]
for each sample in the set of predicted samples, and a set of posterior samples at the time t is generated, and the process proceeds to (4).
As shown in
(Real Life Experiment)
The following real life experiment was conducted to prove that the human position estimation apparatus 1 is capable of estimating the behavior of a person at home based on the power consumption pattern in a smart apartment room.
The number of residents was one at a time and three in total, and 26 STs were installed. Devices were fixed to 21 of the STs, and the plugs of the devices were not inserted into or removed from the STs. The devices were arranged at positions shown in
With respect to the life pattern, residents were out during the day, and were at home from night to morning. No other restrictions were imposed. The experiment was conducted on three subjects, three days for each subject. The three persons were asked to record their actions in the room and which devices they used. Three days were consecutive or non-consecutive. The three subjects are subjects A, B, and C. Basic information for each subject is as follows.
Subject A: Male in twenties, student, 2 days+1 day
Subject B: Female in twenties, student, 1 day×3
Subject C: Male in twenties, student, 3 days
The approximate power consumption of each hour was obtained for each subject based on the power consumption pattern of each subject. According to the power consumption patterns (not shown), the patterns of life that subject A returned home at about 10 o'clock at night, went to bed at about 3 o'clock in the morning, and went out at about 12 o'clock at noon, and that subject B usually slept about 7 hours a day, and that subject C used power more and over a longer period of time at night than in the morning can be grasped.
(Human Position Estimation Result)
Next, the estimation result of subject C, from returning home at night on day 3 to leaving home in the morning, is shown in
obtained by performing position estimation once is drawn in order. A small black circle is the estimation position of the person for each 20 frames. A big black circle with a number written inside drawn as well indicates the electrical device with respect to which an event included in the event sequence E(0) used for the estimation has occurred, and its position. The position connected to the big black circle by a thick solid line is the estimation position at the time of the event.
To observe the distribution as a whole, a graph with time as the horizontal axis and dispersion of distribution as the vertical axis is shown in
is shown in (a) of
at the same time is shown in (b) of
This (b) of
and a set of probabilities of devices being in operation
have been output by the human behavior estimation apparatus as estimation results, and it is proven that the human behavior estimation apparatus is capable of estimating the behavior of a person at home.
Number | Date | Country | Kind |
---|---|---|---|
2011-154494 | Jul 2011 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP2012/068002 | 7/13/2012 | WO | 00 | 1/9/2014 |