A Two-Layer Approach for Energy Efficiency in Mobile Location - - PowerPoint PPT Presentation

a two layer approach for energy efficiency in mobile
SMART_READER_LITE
LIVE PREVIEW

A Two-Layer Approach for Energy Efficiency in Mobile Location - - PowerPoint PPT Presentation

A Two-Layer Approach for Energy Efficiency in Mobile Location Sensing Applications Ling-Jyh Chen (Academia Sinica, Taiwan) Introduction Mobile location sensing applications (MLSAs) Exploit Global Positioning System (GPS) technology to


slide-1
SLIDE 1

A Two-Layer Approach for Energy Efficiency in Mobile Location Sensing Applications

Ling-Jyh Chen (Academia Sinica, Taiwan)

slide-2
SLIDE 2

Introduction

  • Mobile location sensing applications (MLSAs)
  • Exploit Global Positioning System (GPS) technology to facilitate location-based services
  • MLSA platforms are battery-powered and resource-constrained
  • Tradeoff between information accuracy and energy efficiency
  • Two-layer of MLSAs
  • GPS tracking
  • Data communication
slide-3
SLIDE 3

Previous work (1)

  • Energy efficiency on the MLSA GPS tracking
  • Static duty-cycle (SDC)
  • Turn GPS receivers ON and OFF at regular intervals
  • Operate in a “blind” manner
  • Dynamic duty-cycle (DDC)
  • Adjust GPS duty cycles based on events triggered by additional sensors
  • r analytical models

(ex: a lookup table of pre-learned radio patterns)

slide-4
SLIDE 4

Previous work (2)

  • Energy efficiency on the data communication
  • Byte-level compression
  • Compress MLSA data without considering its intrinsic properties
  • Compressed data cannot be processed directly without decompression into

its raw form

  • Spatio-temporal compression
  • Achieve a good compression ratio at the expense of information loss
slide-5
SLIDE 5

Our solution: Two-layer solution

  • Energy efficiency on the MLSA GPS tracking:

Event-based GPS Tracking (EBT)

  • Require minimal prerequisites for extra knowledge
  • Energy efficiency on the data communication:

Inter-Frame Coding (IFC)

  • Provide lossless compression and allow queries to operate on the compressed

data directly

  • Simple, lightweight, and portable to off-the-shelf smart phones
slide-6
SLIDE 6

Two-layer solution

  • Event-based GPS Tracking (EBT)
  • Inter-Frame Coding (IFC)
slide-7
SLIDE 7

Event-based GPS Tracking (EBT)

EBT

Hybrid duty-cycle scheduling Location estimation

Event-based dynamic duty-cycle (DDC): Turn Detection Approach (TDA)

Static duty-cycle (SDC)

Uses G-sensor data to estimate location

slide-8
SLIDE 8

EBT has two components

  • Hybrid duty-cycle scheduling
  • Static duty-cycle (SDC)
  • Turn on GPS when GPS receiver has been in the OFF mode longer than a pre-

defined period (TDC)

  • Event-based dynamic duty-cycle (DDC)
  • Turn on GPS when detecting a significant change in the movement pattern
  • Location estimation
  • Uses the data of the G-sensor to estimate the location when GPS is off
slide-9
SLIDE 9

Hybrid duty-cycle scheduling

slide-10
SLIDE 10

Question (1) How to detect a turn?

  • Turn Detection Approach (TDA): Significant changes in direction

result in significant changes in acceleration data

  • Sliding standard deviation of acceleration in direction orthogonal to gravity and

trajectory’s direction (window size = w)

  • Target Power Saving Ratio (α)
  • If a sliding standard deviation is on the top (1 - α), there is a significant change in

acceleration data

  • Set the sliding standard deviation on the top (1 - α) as turn detection threshold
  • Poisson Sampling (rate = λ)
  • Random view of acceleration distribution
slide-11
SLIDE 11

Question (2) Queue management in TDA

  • Infinite-Queue Approach (IQA)
  • Provide a baseline, but infeasible
  • FIFO Queue Approach(FQA)
  • Finite queue length (L)
  • Skewed view of acceleration distribution
  • Dual-Queue Approach (DQA)

One is for standard deviations smaller than or equal to threshold (FIFO queue length = ⎡ α L⎤) The other one is for standard deviations greater than threshold (FIFO queue length = L - ⎡ α L⎤)

slide-12
SLIDE 12

Location estimation: Estimate location when GPS is in the OFF mode

  • Direction
  • Obtained from the last successful

GPS lock

  • Displacement
  • Displacement measurement algorithm

(DMA) [6]

[6] T. Chen, W. Hu, and R. Sun. Displacement Measurement Algorithm Using Handheld Device with Accelerometer. In Asia-Pacific Conference on Wearable Computing Systems, 2010.

slide-13
SLIDE 13

Two-layer solution

  • Event-based GPS Tracking (EBT)
  • Inter-Frame Coding (IFC)
slide-14
SLIDE 14

Inter-Frame Coding (IFC)

  • Spatial and temporal offsets are limited to
  • Object’s mobility
  • Trajectory’s sampling rate
  • IFC exploits the spatial and temporal localities of contiguous spatio-temporal data to

reduce redundancy

slide-15
SLIDE 15

Two types of data points in IFC

  • I frame:

Index data points of a trajectory

  • O frame:

Offsets of the subsequent data points

  • An I frame is associated with n O frames
  • n depends on sampling rate, speed, and

data compression ratio

slide-16
SLIDE 16

Example of IFC (given n = 3)

  • The second I frame is created because n O frames have been created for the first I frame.
  • The third I frame is created because the longitude and latitude offsets exceed the maximum
  • ffset value.
slide-17
SLIDE 17

Upper bound of n

  • Spatial and temporal offsets are limited to
  • Maximum value of the latitude and longitude offsets = MAXdist
  • Maximum value of the time offset = MAXtime
  • Maximum possible speed = Vmax m/s
  • Trajectory data collection rate = s data points/s
slide-18
SLIDE 18

Compression ratio ψ

  • The best compression ratio is (Size_O/Size_I) when n approaches infinity,

but very large n value is infeasible

  • Computationally expensive when n is very large: Data query involves two separate

database queries

  • Loss of a single I frame may result in the loss of the original data
  • Cannot achieve the theoretical compression ratio: Subsequent n points have oversized
  • ffset values that cannot be represented by O frames
slide-19
SLIDE 19

Evaluation

  • Evaluation of EBT
  • Evaluation of IFC
slide-20
SLIDE 20

Experimental setup

  • 50 trips of the TPE-CMS bus system using the VProbe application
  • Collect smart phone sensory data: GPS trajectories, digital compass directions, and 3-axis

accelerations

  • Platform: Acer Liquid, HTC Magic, Samsung Nexus S, and Sony Ericsson XPERIA X10

phones

  • Configuration
  • Data sampling rate
  • GPS: 1 Hz
  • Digital compass: 20 Hz
  • 3-axis acceleration: 20 Hz
  • Results are based on the average performance of 10 simulation
  • Static Duty Cycle (TDC) = 60

seconds

  • Queue Length (L) = 1000 samples
  • Window Size (w) = 50 samples
slide-21
SLIDE 21

Evaluation (1) Feasibility of using digital compasses

  • Dataset
  • Trajectories of 86,607 seconds
  • 235 turn events are marked manually as ground truth
  • Results
  • 795 turn events are reported by the digital compass
  • 115 turn events are detected correctly: accuracy of turn event detection is 48.94%
  • 680 events are false-alarms: false positive ratio is 85.53%
  • Digital compasses are very sensitive to magnetic and electrical fields
slide-22
SLIDE 22

Evaluation (2) Evaluation of TDA

  • EBT’s hit rate is more than 98%

when the TDA scheme is used (i.e., α < 1)

  • Hit rate is approximately 71%

when α = 1 (i.e., under the SDC scheme)

  • There are no significant

differences between the hit rates

  • f the IQA, FQA and DQA

schemes

slide-23
SLIDE 23

Evaluation (3) Power saving ratio achieved with different target power saving ratios with the three queue management schemes

  • α’ increases with α, and the IQA

and DQA schemes perform better than FQA

  • The reason is that FQA

implements the FIFO queue with a size limit of L = 1, 000, and the selected threshold Sthresh is not usually representative of the true distribution of turn events; hence, there is a large number of false alarms

slide-24
SLIDE 24

Evaluation (4) Location estimation errors using different target power saving ratios

  • The distance error increases with

α: loss of location accuracy is the the trade-off reduced energy consumption

  • TDA scheme improves the location

accuracy significantly in EBT

  • The average location estimation

error is

  • About 120m when the TDA

scheme is not applied (i.e., α = 0)

  • About 80m (i.e., a 33%

improvement) with the TDA scheme and α = 0.95

slide-25
SLIDE 25

Evaluation (5) Power saving ratio achieved with different sampling rates and target power saving ratios

EBT achieves a good power saving ratio and detects nearly all the turn events under different values

slide-26
SLIDE 26

Evaluation

  • Evaluation of EBT
  • Evaluation of IFC
slide-27
SLIDE 27

Experimental setup

  • We implement the IFC scheme using the open-source PostgreSQL database

(version 8.4.4) and the PostGIS spatial database extension (version 1.5.1)

  • Data size
  • I frame (32 bytes)
  • Point data type (16 bytes) for

location information (x and y)

  • Timestamp data type (8 bytes)

for time information (z)

  • Integer data type (4 bytes) for

sequence numbers (i) and trajectory identifiers (u)

  • O frame (10 bytes)
  • Integer data type (4 bytes) for I

frame sequence number (i)

  • Short Integer data type (2 bytes)

for offsets Dx, Dy, and Dz

slide-28
SLIDE 28

Evaluation (6) Comparison of theoretical compression ratio and compression ratio achieved

  • Two curves are nearly
  • verlapped completely
  • Compression ratio is lower

than 0.5 after the value of n becomes larger than 4

slide-29
SLIDE 29

Evaluation (7) Comparison of the results of the IFC, OPW, TDTR, STTrace, Uniform Sample, and DP schemes

  • We use an exhaustive set of

configurations to observe their Pareto frontiers between the average distance error and the compression ratio

  • IFC scheme outperforms the
  • ther schemes significantly and

always achieves the “Pareto

  • ptimum”
  • IFC scheme is lossless
  • IFC’s distance error is zero

despite the different compression ratios achieved

slide-30
SLIDE 30

Conclusion

  • A two-layer approach to reduce the energy consumption of MLSAs
  • MLSA GPS tracking layer: Event-based GPS tracking approach

(EBT)

  • MLSA data communication layer: Inter-Frame Coding (IFC)
  • Simulations based on a real dataset
  • EBT achieves a good power saving ratio while maintaining acceptable

location estimation error

  • IFC is lossless and effective in MLSA data compression
  • The solution is simple and effective, and it is generalizable to other

mobile location sensing applications