Self-Constructive High-Rate System Energy Modeling for - - PowerPoint PPT Presentation

self constructive high rate system energy modeling for
SMART_READER_LITE
LIVE PREVIEW

Self-Constructive High-Rate System Energy Modeling for - - PowerPoint PPT Presentation

Self-Constructive High-Rate System Energy Modeling for Battery-Powered Mobile Systems Mian Dong and Lin Zhong Rice University System Energy Model y ( t ) = f ( x 1 ( t ), x 2 ( t ),, x p ( t )) Predictors x i ( t ): Response y ( t ): System


slide-1
SLIDE 1

Self-Constructive High-Rate System Energy Modeling for Battery-Powered Mobile Systems Mian Dong and Lin Zhong Rice University

slide-2
SLIDE 2

System Energy Model

Response y(t): Energy consumed by the system in t

y(t) = f(x1(t), x2(t),…, xp(t))

Predictors xi(t): System status variables in t

slide-3
SLIDE 3

Rate (1/t)

0.01Hz 1Hz 100Hz

slide-4
SLIDE 4

A High-Rate Energy Model

is needed to provide an energy reading at each OS scheduling interval

10ms

slide-5
SLIDE 5

Target System Data Acquisition Equipment Host PC

31,415,926

y(t1) x1(t1) x2(t1) … xp(t1) x1(t2) x2(t2) … xp(t2) x1(tn) x2(tn) … xp(tn) y(t2) y(tn) t=t1=t2=…=tn

Model Construction

slide-6
SLIDE 6

Target System Data Acquisition Equipment Host PC

31,415,926

y(t1) x1(t1) x2(t1) … xp(t1) x1(t2) x2(t2) … xp(t2) x1(tn) x2(tn) … xp(tn) y(t2) y(tn) t=t1=t2=…=tn

X(t) Y(t)

Regression

Model Construction

slide-7
SLIDE 7

Target System Data Acquisition Equipment Host PC

31,415,926

t=t1=t2=…=tn

y(t) = β0+β1x1(t)+…+ βpxp(t) β = argminβ(║Y(t)−[1 X(t)]β║2) ^

Linear Model:

Model Construction

slide-8
SLIDE 8

Target System Data Acquisition Equipment Host PC

31,415,926

t=t1=t2=…=tn

y(ti) − y(ti) err(ti) = y(ti) ^ ^ ^ ^ ^ y(t) = β0+β1x1(t)+…+ βpxp(t)

Linear Model:

Model Construction

Mean Absolute Root-Mean-Square

slide-9
SLIDE 9

What are the limitations?

slide-10
SLIDE 10

External Devices

for energy measurement

slide-11
SLIDE 11

Deep Knowledge

for predictor collection

www.nokia.com

slide-12
SLIDE 12

Exclusive Model

for a specific platform

slide-13
SLIDE 13

Fixed Model for all

instances of the same platform

slide-14
SLIDE 14

Hardware & Usage

suggest “personalized” models be constructed for a mobile system Dependencies of system energy models on

slide-15
SLIDE 15

Self-Constructive

System Energy Modeling

slide-16
SLIDE 16

External Devices Deep Knowledge Exclusive Model Fixed Model

slide-17
SLIDE 17

Battery Interface Statistical Learning

Personalized Model

slide-18
SLIDE 18

Battery

Interface

slide-19
SLIDE 19

State-of-the-art battery Interfaces are

Low-rate/Inaccurate

N85 T61 N900 Max Rate 4Hz 0.5Hz 0.1Hz Accuracy 67% 82% 58%

Accuracy = 100% – Root_Mean_Square(Instant_Relative_Error)

slide-20
SLIDE 20

Errors in battery interface readings are Non-Gaussian

slide-21
SLIDE 21

High-Rate/Accurate System Energy Model Low-Rate/Inaccurate Battery Interface

Statistical Learning

slide-22
SLIDE 22

0% 10% 20% 30% 40% 50% 0.01 0.1 1 10

RMS of Relative Error Rate (Hz)

N900 T61 N85

Averaged battery interface readings

have

Higher Accuracy

but

Even Lower Rate

slide-23
SLIDE 23

y x

Time

y(t) y(T) x(t) x(T)

Time High-rate data points Low-rate data points

High-rate data points Low-rate data points

Linear models are

Independent on Time

slide-24
SLIDE 24
  • 1. Model Molding

0.01Hz 1Hz 100Hz Y(tH) Y(tL) Y(tVL) X(tH) X(tVL) β ^ ^ β ^

slide-25
SLIDE 25

0% 10% 20% 30% 0.01 0.1 1 10 100

RMS of Relative Error Rate (Hz)

Battery Interface

slide-26
SLIDE 26

0% 10% 20% 30% 0.01 0.1 1 10 100

RMS of Relative Error Rate (Hz)

Model Molding improves rate

Battery Interface Molded Model

slide-27
SLIDE 27
  • 2. Predictor Transformation

x1(t), x2(t),…, xp(t) z1(t), z2(t),…, zL(t)

Principle Component Analysis

L L ≤ p

slide-28
SLIDE 28

0% 10% 20% 30% 0.01 0.1 1 10 100

RMS of Relative Error Rate (Hz)

PCA improves accuracy

Battery Interface Molded Model Molded Model + PCA

slide-29
SLIDE 29

x y yj rj y=f(x)

Training data points

dj xj Δxj

  • 3. Total-Least-Square
slide-30
SLIDE 30

0% 10% 20% 30% 0.01 0.1 1 10 100

RMS of Relative Error Rate (Hz)

TLS improves accuracy at high rate

Battery Interface Molded Model Molded Model + PCA Molded Model + PCA + TLS

slide-31
SLIDE 31

Data Collector

Sesame

Model Constructor

Predictor transformation

Model

Model Manager Operating System Bat I/F STATS

Energy readings Stats readings Predictors Responses

Model molding

Application specific predictors

slide-32
SLIDE 32

Implementation

N900 T61

slide-33
SLIDE 33

Sesame is able to generate energy models with a rate up to 100Hz T61 N900 1Hz 95% 86% 100Hz 88% 82%

Accuracy = 100% – Root_Mean_Square(Instant_Relative_Error)

slide-34
SLIDE 34

Field Study

Day 1-5: Model Construction Day 6: Model Evaluation

slide-35
SLIDE 35

Models were generated within 15 hours

0% 10% 20% 30% 7 9 11 13 15

Error Time (hour)

User 1 User 2 User 3 User 4 0% 10% 20% 30% 1 2 3 4

Error Laptop User

Sesame@1Hz Sesame@100Hz

slide-36
SLIDE 36
  • 1. Sophisticated Statistical Methods
  • 2. Capability to Adapt Models

Sesame is able to construct models

  • f high accuracy because of
slide-37
SLIDE 37

Virtual Power Meter

Sesame is a high-rate/accurate

slide-38
SLIDE 38

Energy Optimization & Management

and creates new opportunities in

slide-39
SLIDE 39

y(t) = β0+β1x1(t)+…+ βpxp(t)

Software Optimization

“Knob” provided by target software

slide-40
SLIDE 40

y(t) = β0+β1x1(t)+…+ βpxp(t)

Energy Accounting

n Processes

slide-41
SLIDE 41

y(t) = β0+β1x1(t)+…+ βpxp(t)

Energy Accounting

x1(t) = x1,1(t)+…+ x1,n(t) xp(t) = xp,1(t)+…+ xp,n(t)

slide-42
SLIDE 42

yj(t) = β1x1,j(t)+…+ βpxp,j(t)

Energy Contribution by Process j

slide-43
SLIDE 43

Servers and Workstations

Sesame can be also used for

slide-44
SLIDE 44

Conclusions

  • Self-Modeling is necessary to adapt to the

changes in hardware and usage

  • Statistical methods help to construct high-rate

/accurate models from low-rate/inaccurate battery interfaces

  • Sesame creates new opportunities in system

energy optimization and management