Professional Documents
Culture Documents
net/publication/343452402
CITATIONS READS
0 15
3 authors, including:
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Amit Kumar Nath on 05 August 2020.
Authors
Sujan Sarker, Amit Kumar Nath, Md. Abdur Razzaque
Green Networking Research (GNR) Group
Faculty of Engineering and Technology
Dept. of Computer Science and Engineering
University of Dhaka
Bangladesh
Overview
2
Introduction
Related Works
System Model
Performance Evaluation
Conclusion
References
3
Introduction
Introduction
4
Introduction
5
Smartphones contain
several embedded
sensors
Sensing operations in
different domains are
enabled
Introduction
6
Introduction 7
Related Works
[4] Y. Wang, J. Lin, M. Annavaram, Q. A. Jacobson, J. Hong, B. Krishnamachari, and N.
11
Sadeh,“A framework of energy efficient mobile sensing for automatic user state
recognition”, in MobiSys ’09: Proceedings of the 7th international conference on
Mobile systems, applications, and services, New York, NY, USA, 2009.
Drawbacks:
• Sensors have fixed
duty cycles
whenever they are
active
• They are not
adjustable to
different user
behavior
12
[12] K. K. Rachuri, M. Musolesi, and C. Mascolo, “Energy-accuracy trade-offs in querying
sensor data for continuous sensing mobile systems”, in Proc. of Mobile Context Awareness
Workshop, vol. 10. Citeseer, 2010.
Drawbacks:
• Function based
approch doesn’t
always ensure high
performance
• Thresholds are set
manually
[5] O. Yurur, C. Liu, X. Liu, and W. Moreno, “Adaptive sampling and duty cycling for 13
smartphone accelerometer,” in Mobile Ad-Hoc and Sensor Systems (MASS), 2013 IEEE
10th International Conference on, Oct 2013.
Drawbacks:
• Adaptation method is
inefficient
• Both the parameters
(duty cycle and
sampling frequency)
cannot be adjusted
simultaneously
14
Contributions
Developed a framework for dynamic sensing and
monitoring applications
System Model
16
(1/4)
• Proposed an intelligent computational method to
recognize contextual information of the user
• Conventional methods process all raw sensor data
• Proposed mechanism notifies the application about the
user’s state only when a state transition occurs
• When a raw sensor data arrives, it is compared with
previously buffered data to decide whether it indicates
a possible change of user’s current state or not
Context Monitoring Mechanism 19
(2/4)
• Let, for each sensor there is a there is a buffer Bi of
size N which stores N previously sensed data
• Bi = {X1, X2,……, XN} where Xj denotes the jth data
tuple sensed by sensor Ai
• We applied K-means clustering
k is the number algorithm to partition Bi
into K clusters, of clusters
• Equation used for clustering: mean of k-th cluster
Context Monitoring Mechanism 20
(3/4)
• Let Xj is the current sample and Xj-1 is the previous sample stored
in the buffer
• Mean and standard deviation (k) of kth cluster, Ck are calculated:
Context Monitoring Mechanism 21
(4/4)
Sensor Operation Structure 22
(1/2)
Initialization time Termination
Active cycle time time
Sampling interval
Sampling period
Sensor Operation Structure 23
(2/2)
• Tc: Time required for an operational cycle
• Number of samples N, taken in Tc: N = f x d x Tc
• Ttotal: Total running time
• Sensor’s active running time for taking samples:
Trun = Ttotal - (Tinit + Tter)
• Number of active cycles run by a sensor between Tinit
and Tter, Ncycle = Trun/Tc
• Sampling interval within which time a sample is taken:
Ts = Tc/N
• Sampling period, ts = 1/f
Dynamic Frequency Calibration 24
(1/8)
• The actual number of required
i-th datareadings between two
(i-1)-th data
consecutive samples cantuple
be calculated
tuple as,
Max allowable
diff.
Dynamic Frequency Calibration 25
(2/8)
• Sampling frequency is limited to
• The maximum and minimum numbers of samples that
can be taken during Ts are –
(3/8)
• To reduce energy consumption, a pair of duty cycle
and sampling frequency is assigned to each sensor
• A tradeoff between energy consumption vs.
accuracy arises, which has to be balanced
efficiently
• Our proposed mechanism dynamically adjusts
sampling frequency and duty cycle to balance this
tradeoff
Dynamic Frequency Calibration 27
(4/8)
• We define base B as,
(5/8)
• Using Ncur and Nmax we can determine sampling
frequency for the next cycle:
(6/8)
• Since sensor’s frequency can’t be calibrated to any continuous
value, we must map the fnext and dnext pair to the available
discrete values
• Let F and D denote the sets of all available frequencies and duty
cycles.
• The required mapping function can be defined as,
(7/8)
• The sensor’s sampling frequency is calibrated to φ(fnext) and
φ(dnext) is assigned as the active duty cycle in the next cycle, as
summarized in Algorithm 2:
Dynamic Frequency Calibration 31
(8/8)
• Overall sensor operation scheme is presented in Algorithm 3:
32
Performance Evaluation
33
Environment Setup
• We study the performance of our proposed system with
comparison to the methods described in [5]
• For our convenience, we denote the methods described in
[5] as ASDC (Adaptive Sampling and Duty Cycling)
• Performance measurement is done in terms of accuracy
and power efficiency
• A smartphone application is implemented in order to
evaluate the performance of the proposed system
• The application collects contextual data using
accelerometer sensor
• Samsung Galaxy S-DUOS smartphone is used as the target
device
• Android Studio is used as software development tool
34
• Simulation parameters:
Comparison Between ASDC and 36
Conclusion
39
Conclusion
• Introduced novel approaches to address the energy
accuracy tradeoff for smartphone sensing
• Developed Several algorithms to improve the energy
efficiency of context monitoring applications while
capturing accurate contextual information
• The use of MIMD in adaptively scaling the sensing frequency
has been explored and the results prove that it is more
effective than AIAD (additive increase additive decrease)
40
Future Works
• Formulation of an optimization function is being explored
• Optimization based approach might further improve
tradeoff levels
• Whenever the application environment parameters greatly
vary over time, optimization function would be able to
address and make necessary changes
41
References
References (1/3) 42
References (2/3) 43
References (3/3) 44
Any questions?