self constructive high rate system energy modeling for
play

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


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

  2. System Energy Model y ( t ) = f ( x 1 ( t ), x 2 ( t ),…, x p ( t )) Predictors x i ( t ): Response y ( t ): System status Energy consumed variables in t by the system in t

  3. Rate ( 1 / t ) 0.01Hz 1Hz 100Hz

  4. A High-Rate Energy Model is needed to provide an energy reading at each OS scheduling interval 10ms

  5. Model Construction t=t 1 =t 2 =…= t n 31,415,926 Target Data Acquisition Host System Equipment PC y ( t 1 ) x 1 ( t 1 ) x 2 ( t 1 ) … x p ( t 1 ) y ( t 2 ) x 1 ( t 2 ) x 2 ( t 2 ) … x p ( t 2 ) y ( t n ) x 1 ( t n ) x 2 ( t n ) … x p ( t n )

  6. Model Construction t=t 1 =t 2 =…= t n 31,415,926 Target Data Acquisition Host System Equipment PC y ( t 1 ) x 1 ( t 1 ) x 2 ( t 1 ) … x p ( t 1 ) Regression y ( t 2 ) x 1 ( t 2 ) x 2 ( t 2 ) … x p ( t 2 ) X ( t ) Y ( t ) y ( t n ) x 1 ( t n ) x 2 ( t n ) … x p ( t n )

  7. Model Construction t=t 1 =t 2 =…= t n 31,415,926 Target Data Acquisition Host System Equipment PC Linear Model: y ( t ) = β 0 + β 1 x 1 ( t )+…+ β p x p ( t ) ^ β = argmin β (║ Y ( t )−[ 1 X ( t )] β ║ 2 )

  8. Model Construction t=t 1 =t 2 =…= t n 31,415,926 Target Data Acquisition Host System Equipment PC Linear Model: ^ ^ ^ ^ y ( t ) = β 0 + β 1 x 1 ( t )+…+ β p x p ( t ) ^ y ( t i ) − y ( t i ) Mean Absolute err ( t i ) = Root-Mean-Square y ( t i )

  9. What are the limitations?

  10. External Devices for energy measurement

  11. Deep Knowledge for predictor collection www.nokia.com

  12. Exclusive Model for a specific platform

  13. Fixed Model for all instances of the same platform

  14. Dependencies of system energy models on Hardware & Usage suggest “personalized” models be constructed for a mobile system

  15. Self-Constructive System Energy Modeling

  16. External Devices Deep Knowledge Exclusive Model Fixed Model

  17. Battery Interface Statistical Learning Personalized Model

  18. Battery Interface

  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)

  20. Errors in battery interface readings are Non-Gaussian

  21. Low-Rate/Inaccurate Battery Interface Statistical Learning High-Rate/Accurate System Energy Model

  22. Averaged battery interface readings have 50% RMS of Relative Error Higher N900 40% T61 Accuracy N85 30% but 20% Even Lower Rate 10% 0% 0.01 0.1 1 10 Rate (Hz)

  23. Linear models are Independent on Time y High-rate data points y ( t ) x ( t ) Time Low-rate data points y ( T ) High-rate data points x ( T ) Low-rate data points x Time

  24. 1. Model Molding ^ Y ( t VL ) Y ( t L ) Y ( t H ) X ( t VL ) X ( t H ) ^ ^ β β 0.01Hz 1Hz 100Hz

  25. 30% RMS of Relative Error Battery Interface 20% 10% 0% 0.01 0.1 1 10 100 Rate (Hz)

  26. Model Molding improves rate 30% RMS of Relative Error Battery Interface Molded 20% Model 10% 0% 0.01 0.1 1 10 100 Rate (Hz)

  27. 2. Predictor Transformation x 1 ( t ), x 2 ( t ),…, x p ( t ) Principle Component Analysis z 1 ( t ), z 2 ( t ),…, z L ( t ) L L ≤ p

  28. PCA improves accuracy 30% RMS of Relative Error Battery Interface Molded 20% Model Molded Model + 10% PCA 0% 0.01 0.1 1 10 100 Rate (Hz)

  29. 3. Total-Least-Square y y=f ( x ) y j d j r j x j Training data points x Δ x j

  30. TLS improves accuracy at high rate 30% RMS of Relative Error Battery Interface Molded 20% Model Molded Model + 10% PCA Molded Model + 0% PCA + TLS 0.01 0.1 1 10 100 Rate (Hz)

  31. Model Manager Sesame Model Model Constructor Predictor Model molding transformation Responses Predictors Application Data Collector specific predictors Stats readings Energy readings Operating STATS Bat I/F System

  32. Implementation N900 T61

  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)

  34. Field Study Day 1-5: Model Construction Day 6: Model Evaluation

  35. Models were generated within 15 hours 30% 30% Sesame@1Hz User 1 Sesame@100Hz User 2 User 3 20% 20% Error Error User 4 10% 10% 0% 0% 7 9 11 13 15 1 2 3 4 Time (hour) Laptop User

  36. Sesame is able to construct models of high accuracy because of 1. Sophisticated Statistical Methods 2. Capability to Adapt Models

  37. Sesame is a high-rate/accurate Virtual Power Meter

  38. and creates new opportunities in Energy Optimization & Management

  39. Software Optimization y ( t ) = β 0 + β 1 x 1 ( t )+…+ β p x p ( t ) “Knob” provided by target software

  40. Energy Accounting y ( t ) = β 0 + β 1 x 1 ( t )+…+ β p x p ( t ) n Processes

  41. Energy Accounting y ( t ) = β 0 + β 1 x 1 ( t )+…+ β p x p ( t ) x 1 ( t ) = x 1,1 ( t )+…+ x 1 ,n ( t ) x p ( t ) = x p ,1 ( t )+…+ x p,n ( t )

  42. Energy Contribution by Process j y j ( t ) = β 1 x 1, j ( t )+…+ β p x p,j ( t )

  43. Sesame can be also used for Servers and Workstations

  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

Recommend


More recommend