# US 10,372,842 B2 · Method and device for calibrating and updating a power model

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 10,372,842 B2
- Document ID: US10372842B2
- Status: Granted
- Kind: B2
- Application number: 13/826,988
- Filed: 2013-03-14
- Published: 2014-09-18
- Granted: 2019-08-06
- Earliest claimed: 2013-03-14
- Assignees: Xerox Corporation
- Applicants: Xerox Corporation
- Inventors: Fritz Francis Ebner
- Web page: https://patentgrep.com/patent/US10372842B2

## CPC

- H04N 1/00891: {Switching on or off, e.g. for saving power when not in use (H04N1/00896 takes precedence)}
- G06F 30/20: Design optimisation, verification or simulation (optimisation, verification or simulation of circuit designs G06F30/30)
- H04N 1/00885: {Power supply means, e.g. arrangements for the control of power supply to the apparatus or components thereof}
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method and device for calibrating a power model for a multi-state device. The device includes a processor and a computer readable medium containing instructions to instruct the processor to perform the method. The method includes receiving a device state log comprising a time-based representation of multi-state device states for a first period of time and a power trace comprising a time-based representation of power consumed by the multi-state device for the first period of time; eroding the device state log to reduce potential noise present at state transitions within the device state log, thereby producing an eroded device state log; determining energy consumption for each state transition in the eroded power state log; creating an updated power model for the multi-state device based upon the eroded power state log; and storing the updated power model in a non-transitory computer readable medium operably connected to the multi-state device.

## Claims

### Claim 1

A method of updating a power model for a multi-state device, the method comprising:
receiving, at a processing device, a device state log comprising a time-based representation of states of the multi-state device for a first period of time;
measuring, by a power meter, power consumed by the multi-state device for the first period of time and generating a digital representation of a power trace based on the measured power consumption;
receiving by the processing device, the digital representation of the power trace;
eroding, by the processing device, the device state log wherein the eroding comprises setting to zero a value of the representation for a duration of time of state transition at each state transition within the device state log, thereby producing an eroded device state log;
smoothing, by the processing device, the power trace by applying a finite impulse response filter to the power trace;
determining, by the processing device, energy consumption based on an area under the smoothed power trace for the first period of time in the eroded device state log;
creating, by the processing device, an updated power model for the multi-state device based upon the energy consumption for the first period of time in the eroded device state log;
storing, by the processing device, the updated power model in a non-transitory computer readable medium operably connected to the multi-state device; and
using the updated power model to estimate energy consumption of the multi-state device.

### Claim 2 (depends on 1)

The method of claim 1, further comprising replacing the power model of the device with the updated power model.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
prior to eroding the device state log:
determining whether a time base of the multi-state device is different from a time base of the power meter; and
upon determining that the time base of the multi-state device is different from the time base of the power meter, aligning the device state log and the power trace to compensate for any time deviations.

### Claim 4 (depends on 1)

The method of claim 1, wherein using the updated power model to estimate the energy consumption of the multi-state device comprises:
determining, by the processing device, mean and peak values for each power state in the eroded device state log; and
creating, by the processing device, an initial estimate of a state power trace based upon the mean and peak values and the eroded device state log.

### Claim 5 (depends on 4)

The method of claim 4, wherein determining the mean and peak values for each state in the eroded device state log comprises calculating a mean and peak value for the duration of time for each state transition in the eroded device state log based on the smoothed power trace.

### Claim 6 (depends on 4)

The method of claim 4, wherein calculating the mean and peak values for each state in the eroded device state log comprises calculating a mean and peak value for each non-zero state in the eroded device state log based on the smoothed power trace.

### Claim 7 (depends on 4)

The method of claim 4, wherein creating the initial estimate of the state power trace comprises replacing each state value in the eroded power state log with a corresponding mean state power value.

### Claim 8 (depends on 1)

The method of claim 1, wherein smoothing the power trace comprises applying a moving average to filter the power trace.

### Claim 9

A device for updating a power model for a multi-state device, the device comprising:
a power meter configured to measure power consumed by the multi-state device for a first period of time and generate a digital representation of a power trace based on the measured power consumption;
a processor; and
a non-transitory computer readable medium operably connected to the processor, the computer readable medium containing a set of instructions configured to instruct the processor to:
receive a device state log comprising a time-based representation of states of the multi-state device for the first period of time and the digital representation of the power trace generated by the power meter,
erode the device state log by setting to zero a value of the representation for a duration of time of state transition at each state transition within the device state log, thereby producing an eroded device state log,
smooth the power trace by applying a finite impulse response filter to the power trace,
determine energy consumption based on an area under the smoothed power trace for the first period of time in the eroded device state log,
create an updated power model for the multi-state device based upon the energy consumption for the first period of time in the eroded device state log,
store the updated power model in a non-transitory computer readable medium operably connected to the multi-state device, and
use the updated power model to estimate energy consumption of the multi-state device.

### Claim 10 (depends on 9)

The device of claim 9, wherein the set of instructions further comprises instructions configured to instruct the processor to replace the power model of the device with the updated power model.

### Claim 11 (depends on 9)

The device of claim 9, wherein the set of instructions further comprises instructions configured to instruct the processor to, prior to eroding the device state log:
determine whether a time base of the multi-state device is different from a time base of the power meter; and
upon determining that the time base of the multi-state device is different from the time base of the power meter, align the device state log and the power trace to compensate for any time deviations prior to eroding the device state log.

### Claim 12 (depends on 9)

The device of claim 9, wherein the set of instructions for using the updated power model to estimate the energy consumption of the multi-state device comprise instructions configured to instruct the processor to:
determine mean and peak values for each power state in the eroded device state log; and
create an initial estimate of a state power trace based upon the mean and peak values and the eroded device state log.

### Claim 13 (depends on 12)

The device of claim 12, wherein the set of instructions for determining the mean and peak values for each state in the eroded device state log further comprise instructions configured to instruct the processor to calculate a mean and peak value for the duration of time for each state transition in the eroded device state log based on the smoothed power trace.

### Claim 14 (depends on 12)

The device of claim 12, wherein the set of instructions for calculating the mean and peak values for each state in the eroded device state log further comprise instructions configured to instruct the processor to calculate a mean and peak value for each non-zero state in the eroded device state log based on the smoothed power trace.

### Claim 15 (depends on 12)

The device of claim 12, wherein the set of instructions for creating the initial estimate of the state power trace further comprise instructions configured to instruct the processor to replace each state value in the eroded power state log with a corresponding mean state power value.

### Claim 16 (depends on 9)

The device of claim 9, wherein the set of instructions for smoothing the power trace further comprise instructions configured to instruct the processor to apply a moving average to filter the power trace.

### Claim 17

A method of updating a power model for a multifunction printing device, the method comprising:
receiving, at a processing device, a device state log comprising a time-based representation of states of the multifunction printing device for a first period of time, wherein each of the states represents a specific function that the multifunction print device is configured to perform;
measuring, by a power meter, power consumed by the multifunction printing device for the first period of time and generating a digital representation of a power trace based on the measured power consumption;
receiving by the processing device, the digital representation of the power trace;
eroding, by the processing device, the device state log, wherein the eroding comprises setting to zero a value of the representation for a duration of time of state transition at each state transition within the device state log, thereby producing an eroded device state log;
smoothing, by the processing device, the power trace by applying a finite impulse response filter to the power trace;
determining, by the processing device, energy consumption based on an area under the smoothed power trace for the first period of time in the eroded device state log;
creating, by the processing device, an updated power model for the multifunction print device based upon the energy consumption for the first period of time in the eroded device state log;
storing, by the processing device, the updated power model in a non-transitory computer readable medium operably connected to the multifunction printing device; and
using the updated power model to estimate energy consumption of the multifunction printing device.

### Claim 18 (depends on 17)

The method of claim 17, further comprising replacing the power model of the device with the updated power model.

### Claim 19 (depends on 17)

The method of claim 17, wherein using the updated power model to estimate the energy consumption of the multifunction printing device comprises:
determining, by the processing device, mean and peak values for each power state in the eroded device state log; and
creating, by the processing device, an initial estimate of a state power trace based upon the mean and peak values and the eroded device state log.

### Claim 20 (depends on 19)

The method of claim 19, wherein determining the mean and peak values for each state in the eroded device state log comprises calculating a mean and peak value for the duration of time for each state transition in the eroded device state log based on the smoothed power trace.

### Claim 21 (depends on 19)

The method of claim 19, wherein calculating the mean and peak values for each state in the eroded device state log comprises calculating a mean and peak value for each non-zero state in the eroded device state log based on the smoothed power trace.

### Claim 22 (depends on 19)

The method of claim 19, wherein creating the initial estimate of the state power trace comprises replacing each state value in the eroded power state log with a corresponding mean state power value.
