context awareness system and service scene 2011.05.28 js lee 1 energy-efficient rate-adaptive...

25
Context Awareness System and Service SCENE 2011.05.28 JS Lee 1 Energy-Efficient Rate-Adaptive GPS-based Positioning for Smartphones

Upload: maximillian-sharp

Post on 25-Dec-2015

219 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Context Awareness System and Service SCENE 2011.05.28 JS Lee 1 Energy-Efficient Rate-Adaptive GPS-based Positioning for Smartphones

Context Awareness System and Service

1

SCENE

2011.05.28JS Lee

Energy-Efficient Rate-Adaptive GPS-based Positioning for Smartphones

Page 2: Context Awareness System and Service SCENE 2011.05.28 JS Lee 1 Energy-Efficient Rate-Adaptive GPS-based Positioning for Smartphones

Context Awareness System and Service

2

Contents

EVAUATION

RATE ADAPTIVE POSITIONING SYSTEM

PROBLEM

INTRODUCTION

Page 3: Context Awareness System and Service SCENE 2011.05.28 JS Lee 1 Energy-Efficient Rate-Adaptive GPS-based Positioning for Smartphones

Context Awareness System and Service

3

Introduction

Page 4: Context Awareness System and Service SCENE 2011.05.28 JS Lee 1 Energy-Efficient Rate-Adaptive GPS-based Positioning for Smartphones

Context Awareness System and Service

4

Introduction

GPS GSM/WiFi

Accuracy Power Consumption

This paper present RAPS, rate-adaptive positioning system for smartphone applications.

It is based on the observation that GPS is generally less accurate in urban areas, so it suffices to turn on GPS only as often as necessary to achieve this accuracy.

RAPS uses a collection of techniques to cleverly determine when to turn on GPS.

Page 5: Context Awareness System and Service SCENE 2011.05.28 JS Lee 1 Energy-Efficient Rate-Adaptive GPS-based Positioning for Smartphones

Context Awareness System and Service

5

Introduction

RAPS uses the location-time history of the user to estimate user velocity and adaptively turn on GPS only if the estimated uncertainty in position exceeds the accuracy threshold.

It also efficiently estimates user movement using a duty-cycled accelerometer,and utilizes Bluetooth communication to reduce position uncertainty among neighboring devices.

Finally, it employs celltower-RSS blacklisting to detect GPS unavailability (e.g., indoors) and avoid turning on GPS in these cases.

Page 6: Context Awareness System and Service SCENE 2011.05.28 JS Lee 1 Energy-Efficient Rate-Adaptive GPS-based Positioning for Smartphones

Context Awareness System and Service

6

Problem

Page 7: Context Awareness System and Service SCENE 2011.05.28 JS Lee 1 Energy-Efficient Rate-Adaptive GPS-based Positioning for Smartphones

Context Awareness System and Service

7

Rate-Adaptive Positioning System

RAPS is designed for smartphone applications that require position information for location-based context-aware services.

It is based on the observation that GPS is generally less accurate in urban areas, so it suffices to turn on GPS only as often as necessary to achieve this accuracy.

Thus the goal of RAPS is to reduce the amount of energy spent by the positioning system while still providing sufficiently accurate position information.

the individual components of RAPS: 1) user movement detection using a duty-cycled accelerometer 2) velocity and uncertainty estimation using space-time history 3) GPS unavailability detection using celltower-RSS blacklisting4) position uncertainty reduction using Bluetooth.

Page 8: Context Awareness System and Service SCENE 2011.05.28 JS Lee 1 Energy-Efficient Rate-Adaptive GPS-based Positioning for Smartphones

Context Awareness System and Service

8

Rate-Adaptive Positioning System

Movement

First, unlike most prior work that either uses the accelerometer as a binarysensor to detect movement or non-movement, or restricts it to detect pedestrians,

It uses the accelerometer to measure the activity ratio, defined as the fraction of a given time window during which the user is in motion.

It then uses this activity ratio along with the history of velocity information to estimate the current velocity of the user.

Second, given the high power consumption of the accelerometer, we carefully duty-cycle it to save energy without significantly sacrificing accuracy.

Page 9: Context Awareness System and Service SCENE 2011.05.28 JS Lee 1 Energy-Efficient Rate-Adaptive GPS-based Positioning for Smartphones

Context Awareness System and Service

9

Rate-Adaptive Positioning System

Movement

Page 10: Context Awareness System and Service SCENE 2011.05.28 JS Lee 1 Energy-Efficient Rate-Adaptive GPS-based Positioning for Smartphones

Context Awareness System and Service

10

Rate-Adaptive Positioning System

Movement

Our method for deriving a good duty-cycling parameter involved first collecting continuous acceleration measurements for five different kinds of common human activities: 1. being stationary2. frequent walking and stopping3. fast walking4. driving in a car5. milling about in a coffee shop

The parameters we emulated range from 5% 50% for the duty-cycle, and 2 15∼ ∼seconds for the ON period.

Our goal was to select the lowest duty-cycle parameter which resulted in less than 10% average error across all five activities.

Page 11: Context Awareness System and Service SCENE 2011.05.28 JS Lee 1 Energy-Efficient Rate-Adaptive GPS-based Positioning for Smartphones

Context Awareness System and Service

11

Rate-Adaptive Positioning System

Movement

Page 12: Context Awareness System and Service SCENE 2011.05.28 JS Lee 1 Energy-Efficient Rate-Adaptive GPS-based Positioning for Smartphones

Context Awareness System and Service

12

Rate-Adaptive Positioning System

Space-Time History

A key component of RAPS is the space-time table that records the past history of user movements.

Specifically, RAPS maintains the average user velocity and the average estimated activity ratio associated with each space-time unit in a 3-dimensional (latitude, longitude, time-of-day) coordinate system.

Whenever RAPS needs to decide when to activate GPS, it looks up the history of average user velocity and activity ratio associated with the current position and time, and then calculates the current position uncertainty based on the estimated current velocity and the activity ratio.

Page 13: Context Awareness System and Service SCENE 2011.05.28 JS Lee 1 Energy-Efficient Rate-Adaptive GPS-based Positioning for Smartphones

Context Awareness System and Service

13

Rate-Adaptive Positioning System

Space-Time History

This space-time history is used to estimate uncertainty as follows.

Suppose that the user was last known to be at (PA,TA) (PA isthe last recorded position fix). To calculate the uncertainty U(t) atsome time t > TA, RAPS uses the following equations:

Page 14: Context Awareness System and Service SCENE 2011.05.28 JS Lee 1 Energy-Efficient Rate-Adaptive GPS-based Positioning for Smartphones

Context Awareness System and Service

14

Rate-Adaptive Positioning System

Celltower-RSS(Received Signal Strength) Blacklisting

In this section, we investigate whether or not such signatures can be used to detect motion, so we can regulate how often GPS needs to be activated.

Since we are merely interested in determining whether and when GPS should be activated, we considered the following question.

Instead of using cell towers to detect motion, can we directly detect whether users are in an environment (e.g., indoors) where it would be futile to turn on GPS?

This paper studied the relationship between GSM cellId and their RSS values, and GPS availability.

Page 15: Context Awareness System and Service SCENE 2011.05.28 JS Lee 1 Energy-Efficient Rate-Adaptive GPS-based Positioning for Smartphones

Context Awareness System and Service

15

Rate-Adaptive Positioning System

Celltower-RSS(Received Signal Strength) Blacklisting

Whenever a GPS reading is successfully obtained or the request has timed-out, it stores this information in a celltower-RSS blacklist.

To do this, it reads the current cellId and RSS values and increments the success or fail counter for the corresponding cellId in the list.

Then the GPS availability for that particular cellId is simply the fraction of successfulattempts.

It also updates one of two RSS threshold values associated to each cellId; RSSGood_Thresh is the best RSS value that resulted in GPS update failure, and RSSBad_Thresh is the worst RSS value that resulted in successful GPS update.

The list is called blacklist because RAPS uses it to maintain locations at which GPSactivation is more likely to fail, so it can delay activation and save energy.

Page 16: Context Awareness System and Service SCENE 2011.05.28 JS Lee 1 Energy-Efficient Rate-Adaptive GPS-based Positioning for Smartphones

Context Awareness System and Service

16

Rate-Adaptive Positioning System

Celltower-RSS(Received Signal Strength) Blacklisting

Page 17: Context Awareness System and Service SCENE 2011.05.28 JS Lee 1 Energy-Efficient Rate-Adaptive GPS-based Positioning for Smartphones

Context Awareness System and Service

17

Rate-Adaptive Positioning System

Celltower-RSS(Received Signal Strength) Blacklisting

When the position uncertainty indicates that it is time to get a GPS update, RAPS checks the blacklist for the GPS availability predicted for the current cellId-RSS reading.

If the list indicates that the user is in the good or variable region, RAPS turns on GPS with a probability equal to the historically-observed availability.

If it finds itself in the bad region, it waits until either there is a change in GSM data (either cellId or RSS) or until a maximum timeout time has passed.

Page 18: Context Awareness System and Service SCENE 2011.05.28 JS Lee 1 Energy-Efficient Rate-Adaptive GPS-based Positioning for Smartphones

Context Awareness System and Service

18

Rate-Adaptive Positioning System

Bluetooth-based Position Synchronization

This enables phones to save energy by reducing the number of GPSactivations.

Bluetooth is a good candidate for such a position synchronizationfor several reasons.

1. The communication range of Bluetooth in smartphones is in general less than 10 meters.

2. The energy cost of Bluetooth is considerably less than that of GPS.

3. Bluetooth is available on almost all mobile phones, not just smartphones, and many users enable Bluetooth for frequent everyday use.

Page 19: Context Awareness System and Service SCENE 2011.05.28 JS Lee 1 Energy-Efficient Rate-Adaptive GPS-based Positioning for Smartphones

Context Awareness System and Service

19

Rate-Adaptive Positioning System

Bluetooth-based Position Synchronization

Consider a scenario where there are two smart phones, A and B, in direct communication range of each other.

If A has recently activated GPS and received a position fix, then it is possiblefor B to get the position information from its neighboring node using peer-to-peer communication without the need to activate GPS itself.

If B happens to have better position (lower uncertainty) than A, then it can immediately notify A of that fact and A can use B’s position to update itself.

The goal is to opportunistically synchronize the position information with Bluetooth contacts to lower overall uncertainty and reduce energy usage.

Page 20: Context Awareness System and Service SCENE 2011.05.28 JS Lee 1 Energy-Efficient Rate-Adaptive GPS-based Positioning for Smartphones

Context Awareness System and Service

20

EVALUATION

• How much, in absolute terms, does RAPS increase lifetime, and how much do each of its components contribute to this improvement?

• Could a periodic GPS activation strategy have performed just as well?

• Is RAPS flexible enough to be incorporated with a WiFi-based positioning system?

• Are the GPS are the GPS errors that motivated the design of RAPS pervasive?

Page 21: Context Awareness System and Service SCENE 2011.05.28 JS Lee 1 Energy-Efficient Rate-Adaptive GPS-based Positioning for Smartphones

Context Awareness System and Service

21

EVALUATION Quantifying the Benefits of RAPS and its Components

Page 22: Context Awareness System and Service SCENE 2011.05.28 JS Lee 1 Energy-Efficient Rate-Adaptive GPS-based Positioning for Smartphones

Context Awareness System and Service

22

EVALUATION Comparing RAPS to Periodic GPS Activation

Page 23: Context Awareness System and Service SCENE 2011.05.28 JS Lee 1 Energy-Efficient Rate-Adaptive GPS-based Positioning for Smartphones

Context Awareness System and Service

23

EVALUATION Integration with a WiFi Positioning System

Page 24: Context Awareness System and Service SCENE 2011.05.28 JS Lee 1 Energy-Efficient Rate-Adaptive GPS-based Positioning for Smartphones

Context Awareness System and Service

24

EVALUATION Are GPS errors Pervasive?

Page 25: Context Awareness System and Service SCENE 2011.05.28 JS Lee 1 Energy-Efficient Rate-Adaptive GPS-based Positioning for Smartphones

Context Awareness System and Service

25

Q & A Session

Feel free to ask any question