The following relates to the power consumption monitoring arts, power management arts, and related arts with application to power consumption monitoring and/or power management of devices that are typically left running and that have active and inactive modes, such as printers (including dedicated printers and also multifunction printers with additional capabilities, e.g. document scanning, facsimile transmit/receive, et cetera), scanners, facsimile machines, computers, and so forth.
In a typical office setting, office machines installed on a local area network (LAN, which may be a wired, wireless, or hybrid wired/wireless network) consume substantial electrical power. While some of this power is consumed during active operation (such as printing or document scanning operations), much of this power is consumed while the device is in its inactive mode(s). For example, the marking engine of a printer may include a fuser component that melts and fuses toner onto paper. The fuser operates at a high temperature, e.g. around 150° C. in some cases. To balance efficiency in terms of print job throughput versus electricity consumption, it is known to configure the device to transition from the active printing mode through one or more inactive mode that typically consume less power with each successively traversed inactive mode, until reaching a final “deepest” sleep mode that usually consumes the least amount of power. These inactive modes reduce power consumption by reducing electrical draw of components in an optimized way. For example, in the first inactive mode, the fuser may be kept at its operating temperature. In the next successive inactive mode the fuser temperature may be reduced to some intermediate value, and in the final inactive mode the fuser temperature may be allowed to fall to room temperature. In this way, the printer is kept “warm” during short periods of inactivity as may typically occur during the workday, and is allowed to go to a minimum power consumption mode if not used for an extended period, such as overnight. Other office devices such as scanners, as well as other devices such as computers, similarly are designed to have an active mode and one or more inactive modes in which higher power draw components may be partly or wholly inactivated or other measures taken to reduce power consumption. In some devices, the duration of each inactive mode in the sequence may be configurable to optimize power use. The various inactive modes may be variously named, e.g. “idle mode”, “sleep mode”, “power saving mode”, “stand-by”, et cetera, and if the device goes through a sequence of inactive modes each individual inactive mode may be differently named.
In a typical office setting, there may be a large number of office devices, and these devices are typically inactive most of the time, even during the workday. Optimizing the inactive modes of these devices thus presents an opportunity to improve office energy efficiency (whether a commercial office or a home office). This can be done manually if the inactive mode transition times are user-configurable parameters. Automated algorithms are also known for optimizing inactive mode transition times. See, e.g. Dance et al., U.S. Pub. No. 2011/0010571 A1 published Jan. 13, 2011.
In some embodiments disclosed herein, a system includes a power meter and an electronic data processing device. The power meter is configured to measure power drawn by a device. That device is configured to operate in an active mode and to transition through a sequence of inactive modes comprising one or more intermediate inactive modes each having a bounded time duration terminating in a final inactive mode of unbounded time duration wherein the device is further configured to transition from any of the inactive modes to the active mode in response to a device activation signal. The electronic data processing device is configured to determine statistical characteristics of the power draw of the device in each of the inactive modes by fitting a state model to a time series of observations of the power draw of the device acquired using the power meter. In some embodiments the state model comprises states representing the active mode, the one or more intermediate inactive modes including their respective bounded time durations, and the final inactive mode and wherein the fitting includes estimating the power draw parameters of the states representing the active and inactive modes. In some embodiments the state model further includes a probabilistic representation of the transition from any of the inactive modes to the active mode in response to a device activation signal. For example, the state model may update at an update time interval, and the probabilistic representation of the transition from any of the inactive modes to the active mode in response to a device activation signal suitably comprises a probability of transition to the active mode per update time interval. In some embodiments the state model represents the active mode by an active state and represents each intermediate inactive mode by a Markov chain of states of length effective to represent the bounded time duration of the intermediate inactive mode. In this approach, the states of the Markov chain of states representing an intermediate inactive mode have the same values for the power draw parameters. In such a framework, the fitting may further include estimating the bounded time durations of the intermediate inactive modes by estimating the lengths of the Markov chains of states representing the intermediate inactive modes. In some embodiments the power meter comprises a clamp-on ammeter operative coupled with an electrical power cord of the device. In some embodiments the power meter is configured to measure power drawn by a printer.
In some embodiments disclosed herein, a non-transitory storage medium stores instructions readable and executable by an electronic data processing device to perform a method operating on a time series of observations of electrical power draw of a device. That device is configured to operate in an active mode and to transition through a sequence of inactive modes comprising one or more intermediate inactive modes each having a bounded time duration terminating in a final inactive mode of unbounded time duration, and is further configured to transition from any of the inactive modes to the active mode in response to a device activation signal. The method performed by the electronic data processing device executing the instructions stored on the non-transitory storage medium comprises determining statistical characteristics of the power draw of the device in each of the inactive modes by fitting a state model to the time series of observations, wherein the state model comprises a state representing the active mode and a Markov chain of states representing the sequence of inactive modes. In some embodiments, the state representing the active mode has a transition to itself and a transition to the first state of the Markov chain of states, each state of the Markov chain except the last state has a transition to the next state of the Markov chain of states and a transition to the active state, and the last state of the Markov chain has a transition to itself and a transition to the active state. The fitting may suitably include estimating power draw parameters of the states representing the active and inactive modes to fit the state model to the time series of observations. In some embodiments the transition from the state representing the active mode to itself has a transition probability η, and the transition from the state representing the active mode to the first state of the Markov chain of states has a transition probability 1−η, and the transition from each state of the Markov chain except the last state to the next state of the Markov chain of states has a transition probability 1−ζ, and the transition from the last state of the Markov chain to itself has a transition probability 1−ζ, and the transition from each state of the Markov chain to the active state has a transition probability ζ, and the fitting further includes estimating ζ and η to fit the state model to the time series of observations. In some embodiments each intermediate active mode is represented by a sub-chain of the Markov chain of states, the states of the sub-chain having the same power draw parameter values. In some embodiments the fitting further includes estimating the bounded time durations of the intermediate inactive modes by estimating allocation of the states of the Markov chain of states to the one or more sub-chains representing the respective one or more intermediate active modes in order to fit the state model to the time series of observations.
In some embodiments disclosed herein, a system comprises: a power meter configured to generate a time series of observations of power drawn by a device configured to operate in an active mode and to transition through a sequence of inactive modes comprising one or more intermediate inactive modes each having a bounded time duration terminating in a final inactive mode of unbounded time duration wherein the device is further configured to transition from any of the inactive modes to the active mode in response to a device activation signal; and an electronic data processing device programmed to determine the power draw of the device in each of the inactive modes by fitting a state model to the time series of observations, wherein the state model represents each intermediate inactive mode including its bounded time duration and further includes a probabilistic representation of the transition from any of the inactive modes to the active mode in response to a device activation signal. In some embodiments the state model represents each intermediate inactive mode as a Markov chain whose length represents the bounded time duration of the intermediate inactive mode. In some embodiments the system further comprises a printer configured to operate in an active mode and to transition through a sequence of inactive modes comprising one or more intermediate inactive modes each having a bounded time duration terminating in a final inactive mode of unbounded time duration wherein the device is further configured to transition from any of the inactive modes to the active mode in response to a device activation signal, wherein the power meter is operatively connected to generate a time series of observations of power drawn by the printer.
Accurate knowledge of the statistical characteristics of power consumption in each inactive mode is useful or required information for optimizing the inactive mode transition times. Power consumption ratings for the inactive mode(s) of a commercial device are often provided by the manufacturer. However, the inventors have found that in practice these nominal power consumption ratings are sometimes of limited accuracy, and may not be provided for some devices. Moreover, power consumption in the inactive mode(s) may drift over time as device components age, or may change due to replacement of original equipment manufacturer (OEM) parts with after-market parts, or the power consumption information may become lost for out-of-production device models, or so forth. Additionally, it may be useful for some optimization tasks to collect information on the device demand in the specific environment in which the device is used.
Many office machines are highly automated and include electronic data processors and the like. This is especially true for multifunction printers and other devices providing multiple functions, as an electronic processor is usually provided to select and control the various operating functions. However, these on-board device electronics are usually isolated from the main power supply by a.c.-d.c. converters, power regulating/conditioning electronics, and so forth. Thus, it would be difficult to add accurate power monitoring capabilities to the programmable electronics of a multifunction printer or other office device. Moreover, any power monitoring that implicates the on-board electronics of the device becomes device-specific, and hence needs to be re-created for each different device model or type.
Disclosed herein is a general approach that relies upon monitoring of the device power draw, for example at the power input, e.g. power flowing through the 110 VAC power cable in the case of a typical U.S. electrical mains-compatible device (or, equivalently, through the 220 VAC power cable in the case of a typical European electrical mains-compatible device, or similarly for devices designed for use in other region or countries). The device power draw is measured, and hence this approach is advantageously applicable to any device drawing mains power. However, it might be considered that such an approach is impractical because it is not known when the device is in its various operating modes. This difficulty could be overcome by integrating the input power monitoring with information obtained from on-board device electronics—but this would again make the system device-specific, and moreover would require developer-level access to the on-board device electronics.
To overcome this difficulty, it is further disclosed herein to model monitored input power-versus-time data using a state model that models the device power draw as a time series of discrete time instants t (spaced by a state model update time interval denoted herein as Δt where it is contemplated to up-sample or down-sample the acquired input power-versus-time series to match the state model, e.g. input power draw data acquired every second may be down-sampled to 10-second time intervals if the state model updates at Δt=10 sec). The state model represents device power draw as an active mode (denoted without loss of generality as mode k=0) followed by a sequence of 1, . . . , K inactive modes comprising one or more intermediate inactive modes 1, . . . , K−1 each of a (possibly configurable) bounded time duration (e.g., measured in integer units of the time interval Δt) with the Kth mode being a final inactive mode that terminates the inactive modes sequence and is of unbounded duration. Each inactive mode 1, . . . , K may transition at any time back to the active mode in response to a device activation signal, such as receipt of a print job via an electronic data network in the case of a printing device, or pressing the “scan” button in the case of an optical scanner, et cetera. The state model provides a probabilistic representation of the transition from any of the inactive modes to the active mode in response to a device activation signal, for example in the form of a transition probability ζ per time interval Δt. The state model is fitted to the power-versus-time series measured for the device to determine (at least) the power draw μk, k=1, . . . , K for the K inactive modes (where power draw μk may be a mean or other “average” power draw in some statistical sense). In some illustrative embodiments, other model parameters such as the transition times τk,k=1, . . . , K−1 of the intermediate inactive modes, the per-time interval probability ζ of initiating an active operation, a corresponding per-time interval probability η of terminating an active operation, other statistical power draw parameters (e.g., the power draw μ0 of the active mode, a power draw variance σk for each mode k=0, . . . , K), and so forth may be fitted. To provide for robust model fitting, in some preferred embodiments the number of inactive modes K and a maximum time duration of the inactive modes sequence M are given constraints; however, it is contemplated to fit one or both of these as parameters as well. It should be noted that the specific notational symbols, e.g. K, M, μ, τ, et cetera, are used herein for convenience, and alternative/other symbols and/or other model configurations are also contemplated.
The device modes k=0, . . . , K of the device are referred to herein as “modes” while the states of the state model are referred to herein as “states”. This terminology is used herein to distinguish operational “modes” of the device from “states” of the state model. It is to be understood that the manufacturers of some commercial devices may refer to device operational modes as “states”, for example possibly referring to the final inactive mode as a “standby state”—the skilled artisan will readily recognize such a “standby state” to be a device mode as that term is used herein. Each device mode is represented in the state model by one or more states of the state model.
With reference to
The power consumption profiling system includes a power meter 10, 12 configured to measure power drawn by the device 4. In illustrative
With continuing reference to
With continuing reference to
The output of the model fitting performed by the parameters estimation module 30 includes estimated values for all fitted parameters, such as (for the illustrative examples) the mode power parameters (μk,σk)k=0K, the transition probabilities ζ and η, and (if fitted) the transition times τk , k=1, . . . , K−1 of the intermediate inactive modes. Of these illustrative parameters, the transition probabilities ζ and η are indicative of device demand, rather than being characteristics inherent to the device 4. The transition times τk are (for many devices) user configurable, in which case the transition times τk are also not characteristics of the device 4, but rather indicate the chosen user configuration of the device 4. The mode power parameters (μk,σk)k=0K are typically characteristic of the device 4. For profiling energy consumption, the mean power μk is of interest, since the power variation over time measured by the variance σk is expected to have a time average of zero. Moreover, the power drawn in the active mode (μ0) is not usually useful information for optimizing the device 4 to reduce its energy draw, since the device 4 enters the active mode whenever an active job is executed and is therefore not amenable to configuration to reduce energy draw.
Thus, as shown in illustrative
Returning again to the illustrative example of
The output 44 of the device optimization module 40 are optimized transition times (τk)k=1K−1 for the intermediate inactive modes 1, . . . , K −1. In diagrammatic
It will be appreciated that the disclosed data processing performed by the computer 20 may additionally or alternatively be embodied by a non-transitory storage medium storing instructions readable and executable by an electronic data processing device (such as the illustrative computer 20) to perform the disclosed methods. For example, the non-transitory storage medium may include one or a combination of the following non-limiting illustrative examples: a hard disk or other magnetic storage medium; an optical disk or other optical storage medium; a FLASH memory, read-only-memory (ROM) or other electronic storage medium; or so forth.
Having provided an overview of an illustrative energy consumption profiling system with reference to
Second, during job execution (that is, in phase k=0) the power consumption is assumed to be stochastic but stationary: it may vary a lot in time, but with no specific trend or pattern. On a short time scale, power may vary with different operations such as scanning, marking, moving pages or trays, and so forth; but on a longer time scale, such as power sampling every second over the course of a print job, these different operations, many of which overlap in time, just add up to form a random signal around a stationary mean.
Third, when the device is inactive, the power consumption follows a quasi-deterministic pattern: typically, the device executes a partial shutdown procedure, characterised by a fixed sequence of operations (up to some noise). These are the one or more intermediate inactive modes k=1, K−1 each having a bounded time duration. Once the procedure is complete, the device reaches a stable mode (“deep sleep”) in which the power consumption is quasi-constant (up to some noise). This is the final inactive mode K of unbounded time duration. In any mode, as soon as a job arrives (or other device activation signal is received), the quasi-deterministic sequence is interrupted, whatever its progress, and the job execution pattern takes over.
Although the device 4 upon ending an active job is expected to go through the shutdown sequence represented by the inactive modes k=1, . . . , K, which is quasi-deterministic, this sequence of inactive modes is generally different for each device type and model (for example, the number of inactive modes K is generally different for each device type/model, as are the power consumed in each inactive mode), and further depends in general upon user-configurable settings such as the start time of specific blocks of operations within that sequence (corresponding to the model transition times τk; also referred to in the art by terms such as “timeouts”). Given the number of inactive modes (K) of the device, it is desired to recover, from the time series of observations of the energy consumption, the mean and variance of the power consumption in each of the inactive modes, as well as in the mean and variance of the power consumption (undifferentiated respective to the various operations, e.g. marking, paper movement, et cetera) in the active phase (k=0). In the illustrative examples, the number of modes K is a constraint, that is, the fitting of the model to the time series of observations does not attempt to recover the number of modes itself. (If the number of modes is unknown, then the problem would be ill-posed as there could be as many modes as there are discrete time units in the deterministic sequence or, at the other extreme, the whole sequence could be considered a single mode.) In the illustrative QDHMM, each mode k is characterized by a distinct mean μk and variance σk of its energy consumption.
With reference to
With reference to
Zt=deft−max{t′≦t|At′=1} (1)
The random variable Zt is the elapsed time since the last active instant. Note that Zt=0 iff At=1, i.e. the device is active at time t. The random variable Zt forms a Markov chain, with infinite state space {0: ∞}. Assuming the initial distribution is geometric, the state model is characterized by:
Zt+1|Zt=0: Cat(1:η; 0:
∀z≧1 Zt+1|Zt=z: Cat(0:ζ; z+1:
Z0: Geometric(0:
Let Yt denote the observed energy consumed by the device 4 over the period between t and t+1. Further assume that Yt|Zt follows a staged normal distribution, parametrized by scalars (μk,σk,τk)k=0K, where the sequence of integers (τk)k=0K is strictly increasing from τ0=0 to τK=∞. Then:
Yt|Zt=0˜Normal(μ0,σ0) (3)
and
∀kε1:K ∀zε{τk−1+1:τk} Yt|Zt=z˜Normal(μk,σk) (4)
Expression (3) represents the fact that the active mode (k=0) is undifferentiated (that is, characterized by mean and standard deviation μ0, σ0), and that the sequence of inactive modes consists of a sequence of k=1, . . . , K modes, each characterized by a mean μk and standard deviation σk and by a deterministic interval of occurrence, between instant τk−1+1 and τk inclusive, while the device is in the sequence of inactive modes.
The overall set of parameters of the illustrative QDHMM is therefore:
θ=K, ρ,η,ζ, (μk,σk,τk)k=0K (5)
Parameters K and (μk,σk)k=0K are physical characteristics of the device 4, whereas parameters ρ,η,ζ depend on the demand. Parameters (τk)k=1K−1, which describe the schedule of the one or more intermediate inactive modes during the inactivity phase, may be user-configurable parameters of the device 4.
The foregoing assumes that the latent state variable Zt lives in an infinite space. This assumption can be removed as follows. Choose M to be an integer such that M>τK−1 and define the random variable Żt=min (Zt,M), Equation (2) becomes:
Żt+1|Żt=0: Cat(1:η;0:
∀zε1:M Żt+1|Żt=z: Cat(0:ζ;min(z+1,M):
Ż0: Cat({z:
In this approach, M is an upper length limit or constraint on the combined lengths of the Markov chains of states representing the intermediate inactive modes k=1, . . . , K−1.
With reference to
The transition matrix P (mostly sparse) of the Markov chain is given by:
And the initial distribution Q of the Markov chain is given by:
The emission distribution of the bounded model is essentially identical to that of the unbounded model:
Yt|Żt=0˜Normal (μ0, σ0) (9)
and
∀kε1:K ∀zε{τk−1+1:τk} Yt|Żt=z˜Normal(μk,σk) (10)
with τK=M instead of τK=∞. This holds for the constraint M>τK−1.
With reference to
Having described the QDHMM as an illustrative state model, some illustrative techniques for fitting the model to the time series of observations measured for device 4 using the power meter 10, 12 are next described. In general, of the set of parameters given in Expression (5), the number of modes K is assumed to be a given constraint that is not fitted, and the Markov chain length M is also assumed to be a given constraint (M constrains fitted τK−1 to be less than M, which also effectively constrains any other transition times since τK−1>τK−2> . . . >τ1 must hold). The remaining parameters ρ,η,ζ,(μk,σk,τk)k=0K of Expression (5) are fitted parameters except that (i) τ0=0 and τK=∞ are fixed values (or, viewed alternatively, may be considered as undefined in the M-bounded QDHMM) and (ii) in a variant embodiment it is contemplated for (τk)k=1K−1 to also be constant, e.g. user-supplied, values which are not fitted as part of the model fitting. This is appropriate if, for example, the mode timeout values configured for the printer 4 when the time series of observations is acquired are known, and hence are readily identified as fixed inputs to the model fitting.
The illustrative QDHMM is an instance of a hidden Markov model (HMM), to which standard training and inference algorithms are applicable (Viterbi, Baum-Welsh et cetera). The QDHMM is fitted to the time series of observiations, suitably represented as a family y=(yrt)rtεT of scalar observations, where T={r,t|rε{1: R}, tε{0: Tr}}. Each subsequence (yrt)t=0T
In the QDHMM, the Markov chain parameters characterizing the state dynamics are ρ,η,ζ. Their updates at each iteration can be derived from the update formulas of the standard Baum-Welsh algorithm, adapted to the choice of parameterization of the Markov chain in the QDHMM. At each iteration of the EM algorithm, the usual γ,ζ statistics are computed in the normal way (E-step), using the current estimate of the model parameters. These quantities characterize the posterior distributions γrt(z)=p(Zrt=z|y) and ζrt(z1z2)=p(Zr(t−1)=z1,Zrt=z2|y). Then, the usual update to the transition matrix is given by:
which has the same sparsity pattern as P given in Expression (7), since each ζrt(z1z2) is proportional to Pz
Similarly, the usual update Q′ of the initial distribution Q is adapted to conform to Expression (8), leading to the update of ρ:
The updates to the emission parameters μ,σ,τ are to be plugged into the Baum-Welsh algorithm. They are obtained by solving the following optimization problem:
For a given sequence τ=(τk)k=0K, let (Dk(τ))k=0K be the partition of {0: M} defined as follows:
D0(τ)=def{0} ∀kε{1:K}Dk(τ)=def{τK−1+1:τk} (15)
Hence Dk(τ) represents the interval of inactive states which are in mode k for kε{1: K}, and the single active state 0 for k=0. The optimization problem of Expression (14) becomes:
Observe that given τ, the objective decomposes along each kε{0: K}, and each of the components is the objective of the fit of a normal distribution against a sequence of weighted values, for which the solution is known: the optimal values, given τ, of (μk, σk2) for kε{0: K} are the empirical mean (notation avg) and variance (notation var) of the family y with the weights Wk(T):
μ*k(τ)=avg[Y; Wk(τ)] and σk2*(τ)=var[y;Wk(τ)] (17)
With reference to
{umlaut over (w)}rz=def sum[(γrt(z))tε{0:T
{umlaut over (μ)}rz=def avg[(yrt)tε{0;T
{umlaut over (σ)}rz2=def var[(yrt)tε{0;T
{dot over (w)}z=def sum[(γrt(z))rtεT]
{dot over (μ)}z=def avg[Y; (γrt(z))rtεT]
{dot over (σ)}z2=def var[Y; (γrt(z))rtεT] (18)
For each rε{1: R}, the statistics ({umlaut over (w)}rz,{umlaut over (μ)}rz,{umlaut over (σ)}rz2)z=0M are computed, using only the r-th data series, i.e. the sequence (yrt)t=0T
Algorithm 1 utilizes the following identities, which are direct consequences of the compositionality properties of operators sum, avg, var:
{dot over (w)}z=sum[({umlaut over (w)}rz)rε{1:R}] (19)
{dot over (μ)}z=avg[({umlaut over (μ)}rz)rε{1:R}; ({umlaut over (w)}rz)rε{1:R}] (20)
{dot over (σ)}z2=var[({umlaut over (μ)}rz)rε{1:R}]+avg[({umlaut over (σ)}rz2)rε{1:R}; ({umlaut over (w)}rz)rε{1:R}] (21)
These identities are illustrated in Algorithm 2 (to be discussed further in conjunction with the optional fitting of the transition times τk). Finally, using the same compositionality properties, it can be shown that:
sum[Wk(τ)]=sum [1D
μk*(τ)=avg [Y; Wk(τ)]=avg[{dot over (μ)}; 1D
σk2*(τ)=var [Y; Wk(τ)]=var[{dot over (μ)}; 1D
Thus, if τ, which may depend on an explicit configuration of the device, is known a priori, then Equations (12), (13), (23) and (24) provide a complete description of the M-step of the EM algorithm.
As previously noted, the “transition time” value for the active mode is τ0=0, and for the final inactive state of unbounded duration (for the bounded QDHMM) τK=M. As further previously noted, the transition times (τk)k=1K−1 for the intermediate active modes may in some embodiments be input values (e.g. supplied based on a known configuration of the device 4 at the time that the time series of power observations is acquired), while in other embodiments these transition times (τk)k=1K−1 are parameters to be fitted as part of the model fitting to the time series of power observations. The following describes a suitable fitting approach in the latter case, i.e. where transition times (τk)k=1K−1 are parameters to be fitted. In this case the set of constraints M>τK−1> . . . >τ1>0 applies. Inserting the values of sum[Wk(τ)], μk*(τ) and σk2*(τ) as given by Equations (22), (23) and (24), into the objective, and eliminating k=0 which contributes only a constant term, the objective becomes:
where for any subset D of {0: M}, the following is defined:
φ(D)=defsum[1D{dot over (w)}]log(var[{dot over (μ)}; 1D{dot over (w)}]+avg[{dot over (σ)}2; 1D{dot over (w)}]) (26)
Thus, the problem amounts to computing the cheapest length-K path between 0 and M when the cost of an edge z, z′ where z<z′ is φ({z+1: z′}). Note that function φ satisfies the super-additivity property: φ(DE)≧φ(D)+φ(E). The “length-K” constraint is therefore utilized in the cheapest path formulation of the problem, since, by super-additivity of φ, if the length l of the paths was not constrained to l=K, the solution would be immediate: l=M and τk=k for kε{0:M}, meaning that each time unit after the beginning of inactivity would constitute a stable mode with its own mean and variance in the emission. The length-K constraint forces these M micro-modes to merge together to form K longer modes.
The brute force solution entails computing the edge costs φ({z+1: z′}) for z<z′, then applying a dynamic programming algorithm to compute the cheapest path (essentially Dijkstra's algorithm modified to account for the length-K constraint). Algorithm 2 provides a suitable formalism.
In Algorithm 2, first, for each zoε{0: M −1}, the vector of costs φ({zo+1: z})z=z
The overall complexity of the brute force method is aM2+bKM, or
if the first main loop of the algorithm can be run in parallel on N cores, where a,b are, repectively, the time taken by one inner iteration in the two main loops. Typically, K is small (below 5), but M can be of the order of several 100. If the complexity is too high, at least two solutions are available. One solution is subsampling: dividing the sampling frequency by 3 divides the size of the data, and M, by 3, and the complexity of the first loop by 9. Another solution is stochastic search: the brute force method, which computes the exact minimum of the objective, can be replaced by a less costly but approximate method such as simulated annealing.
In the following, some illustrative experimental results are described comparing the disclosed QDHMM algorithm with other illustrative techniques.
With reference to
With reference to
A first set of HMM versus QDHMM comparisons were performed on simulated data, in which an experiment consists in repeatedly generating a QDHMM model called the “true” model, then repeatedly drawing some sample data from the true model and comparing the latter to the model estimated from that data by each of the candidate methods (baseline HMM and QDHMM). Two performance measures were considered: the “true error” and the “regret”. The true error is the norm of the difference between the vector of power levels (μk)k=0K in the candidate model and in the true one. This is a useful measure since the vector (μk)k=0K is a quantity of interest for power consumption optimization. The regret characterizes the predictive capacity of the estimated model: a given proportion of the measurements is randomly selected; then, the predicted consumption over the whole time series given only the selected measurements is computed for the candidate model, and compared to the true value. The overall regret is the root-mean-square error of these predictions. The regret was computed to check whether it relates to the true error (the advantage of the regret being that it does not require the knowledge of the true model). In these simulated data experiments, the performance greatly depends on the true model, and in particular the degree of overlap of the distributions of power level in the active phase and in the different modes of the inactive phase, respectively.
With reference to
With reference to
The QDHMM model disclosed herein is, conceptually, a special case of the general class of Hidden Semi Markov Models (HSMM), in which the state is constrained to change at each step, but can generate a sequence of observations of arbitrary length. Indeed, if each of the (inactive or active) mode is represented by a state, then in QDHMM the length of the observation sequence for each mode follows a “bounded geometric” distribution, i.e. a distribution obtained from a geometric distribution by concentrating all the mass beyond a threshold value onto that value. This makes it possible to map the model into a simple HMM by enlarging the state space, introducing one state per instant spent in each mode instead of one state per mode (except for the two end modes). This in turn means that the well-studied exact inference and learning algorithms for HMM (forward-backward, Viterbi, Baum Welsch) become applicable. The methods disclosed herein show how these generic algorithms are transformed to account for the specific features of the QDHMM model, namely, on the one hand, the constraints on the allowed state transitions of QDHMM, and, on the other hand, the interdependency imposed on the emission models of the different states in QDHMM: when two states belong to the same inactivity mode, they must share their emission model.
It will be appreciated that various of the above-disclosed and other features and functions, or alternatives thereof, may be desirably combined into many other different systems or applications. Also that various presently unforeseen or unanticipated alternatives, modifications, variations or improvements therein may be subsequently made by those skilled in the art which are also intended to be encompassed by the following claims.
Number | Name | Date | Kind |
---|---|---|---|
20020178387 | Theron | Nov 2002 | A1 |
20100312600 | Motoyama | Dec 2010 | A1 |
20110010571 | Dance et al. | Jan 2011 | A1 |
20110231026 | Yaoyama | Sep 2011 | A1 |
20110252248 | Cameron | Oct 2011 | A1 |
Number | Date | Country |
---|---|---|
102 004 679 | Apr 2011 | CN |
Entry |
---|
Dewar, et al.; “Inference in Hidden Markov Models with Explicit State Duration Distributions”, IEEE Signal Processing Letters, 19(4), Mar. 2, 2012, pp. 235-238. |
Levinson; “Continuously Variable Duration Hidden Markov Models for Speech Analysis”, Computer Speech and Language, 1(1), 1986, pp. 1241-1244. |
Mitchell, et al.; “On the Complexity of Explicit Duration HMM's”, IEEE Transactions on Speech and Audio Processing, vol. 3, No. 3, May 1995, pp. 213-217. |
Murphy; “Hidden semi-Markov Models (HSMMs)”, Nov. 20, 2002, pp. 1-13. |
Yu, et al.; “A hidden semi-Markov model with missing data and multiple observation sequences for mobility tracking”, Signal Processing, 83(2) (2003), pp. 235-250. |
Yu, et al.; “An Efficient Forward-Backward Algorithm for an Explicit-Duration Hidden Markov Model”, IEEE Signal Processing Letters, vol. 10, No. 1, Jan. 2003, pp. 11-14. |
European Search Report for EP 15 16 0677, dated Sep. 3, 2015. |
Number | Date | Country | |
---|---|---|---|
20150285846 A1 | Oct 2015 | US |