15 446 Networked Systems Practicum Lecture 8 Localization

  • Slides: 51
Download presentation
15 -446 Networked Systems Practicum Lecture 8 – Localization 1

15 -446 Networked Systems Practicum Lecture 8 – Localization 1

Outline • • • General Techniques GPS Wi. Fi Audio Trajectory 2

Outline • • • General Techniques GPS Wi. Fi Audio Trajectory 2

GPS Basics • GPS stands for Global Positioning System which measures 3 -D locations

GPS Basics • GPS stands for Global Positioning System which measures 3 -D locations on Earth surface using satellites • GPS operates using radio signals sent from satellites orbiting the earth • Created and Maintained by the US Dept. of Defense • System as a whole consists of three segments • Satellites (space segment) • Receivers (user segment) • Ground stations (control segment)

GPS History • Development began in 1973 • First satellite became operational in 1978

GPS History • Development began in 1973 • First satellite became operational in 1978 • Declared completely functional in 1995 • A total of 52 satellites have been launched in 4 phases • 30 satellites are currently functional • Managed by the U. S. Department of Defense • Originally developed for submarines • Now part of modern “smart bombs” and highly accurate missiles

Satellites • At least 4 satellites are above the horizon anytime anywhere • GPS

Satellites • At least 4 satellites are above the horizon anytime anywhere • GPS satellites are also known as “NAVSTAR satellites” • The satellites transmit time according to very accurate atomic clocks onboard each one • The precise positions of satellites are known to the GPS receivers from a GPS almanac Map from P. Dana, The Geographer's Craft Project, Dept. of Geography, U. Texas-Austin.

Satellites • The satellites are in motion around the earth • Like the sun

Satellites • The satellites are in motion around the earth • Like the sun and moon satellites rise and set as they cross the sky • Locations on earth are determined from available satellites (i. e. , those above the horizon) at the time the GPS data are collected Map from P. Dana, The Geographer's Craft Project, Dept. of Geography, U. Texas-Austin.

Receivers • Ground-based devices read and interpret the radio signals from several of the

Receivers • Ground-based devices read and interpret the radio signals from several of the NAVSTAR satellites at once • Geographic position is determined using the time it takes signals from the satellites to reach the GPS receiver • Calculations result in varying degrees of accuracy that depend on: • Quality of the receiver • User operation of the receiver (e. g. , skill of user and receiver settings) • Atmospheric conditions • Local conditions (i. e. , objects that block or reflect the signals) • Current status of system

Ground Stations Map from P. Dana, The Geographer's Craft Project, Dept. of Geography, U.

Ground Stations Map from P. Dana, The Geographer's Craft Project, Dept. of Geography, U. Texas-Austin. • Control stations • Master station at Falcon (Schriever) AFB, Colorado • 4 additional monitoring stations distributed around the world • Responsibilities • Monitor satellite orbits & clocks • Broadcast orbital data and clock corrections to satellites

How GPS Works: Overview • Satellites have accurate atomic clocks onboard and all GPS

How GPS Works: Overview • Satellites have accurate atomic clocks onboard and all GPS satellites transmit the same time signal at the same time • Think “synchronize your watches” • The satellite signals contain information that includes • Satellite number • Time of transmission

How GPS Works: Overview • Receivers use an almanac that includes • The position

How GPS Works: Overview • Receivers use an almanac that includes • The position of all satellites every second • This is updated monthly from control stations • The satellite signal is received, compared with the receiver’s internal clock, and used to calculate the distance from that satellite • Trilateration (similar to triangulation) is used to determine location from multiple satellite signals

How GPS Works • Distances between satellites and receivers is determined by the time

How GPS Works • Distances between satellites and receivers is determined by the time is takes the signal to travel from satellite to receiver • Radio signals travel at speed of light (186, 000 miles/second) • All satellites send the identical time, which is also generated by the receivers • Signal travel time = offset between the satellite signal and the receiver signal 1 sec Satellite signal Receiver signal • Distance from each satellite to receiver = signal travel time * 186, 000 miles/second

How GPS Works: Trilateration • Start by determining distance between a GPS satellite and

How GPS Works: Trilateration • Start by determining distance between a GPS satellite and your position

How GPS Works: Trilateration • Adding more distance measurements to satellites narrows down your

How GPS Works: Trilateration • Adding more distance measurements to satellites narrows down your possible positions

How GPS Works: Trilateration

How GPS Works: Trilateration

How GPS Works: Trilateration • The 4 th satellite in trilateration is to resolve

How GPS Works: Trilateration • The 4 th satellite in trilateration is to resolve any signal timing error • Unlike GPS satellites, GPS receivers do not contain an atomic clock • To make sure the internal clock in the receiver is set correctly we use the signal from the 4 th satellite

GPS Error Sources • Satellite errors • Satellite position error (i. e. , satellite

GPS Error Sources • Satellite errors • Satellite position error (i. e. , satellite not exactly where it’s supposed to be) • Atomic clocks, though very accurate, are not perfect • Atmospheric • Electro-magnetic waves travel at light speed only in a vacuum • Atmospheric molecules, particularly those in the ionosphere, change the signal speed • Multi-path distortion • The signal may "bounce" off structures before reaching the GPS receiver – the reflected signal arrives a little later • Receiver error: • Due to the receiver clock or internal noise • Selective Availability • No longer an issue

Sources of Error • Satellite Clock & Satellite Position • Atomic clock errors •

Sources of Error • Satellite Clock & Satellite Position • Atomic clock errors • +/- 2 meters of error • Satellite is not in precise orbit • +/- 2. 5 meters of error

Sources of Error • Atmospheric Delays/Bending • +/- 5 meters or error

Sources of Error • Atmospheric Delays/Bending • +/- 5 meters or error

Sources of Error • Multi Path Interference (signal bouncing off of buildings, trees, etc.

Sources of Error • Multi Path Interference (signal bouncing off of buildings, trees, etc. ) • +/- 1 meter of error

Sources of Error • Receiver Timing/Rounding Errors • +/- 1 meter of error (depends

Sources of Error • Receiver Timing/Rounding Errors • +/- 1 meter of error (depends on the quality of the GPS receiver) Quadruple Redundant Atomic Clocks Accurate to Nanoseconds $800, 000 in clocks on each satellite 2: 01. 23456789012 Powered by 4 AA Batteries ~$2. 99 2: 01. 2345

GPS - Selective Availability • A former significant source of error • Error intentionally

GPS - Selective Availability • A former significant source of error • Error intentionally introduced into the satellite signal by the U. S. Dept. of Defense for national security reasons • Selective Availability turned off early May 2, 2000

Good Satellite Geometry

Good Satellite Geometry

Good Satellite Geometry

Good Satellite Geometry

Poor Satellite Geometry

Poor Satellite Geometry

Poor Satellite Geometry

Poor Satellite Geometry

Real Time Differential GPS x+5, y-3 x+30, y+60 x-5, y+3 Receiver DGPS correction =

Real Time Differential GPS x+5, y-3 x+30, y+60 x-5, y+3 Receiver DGPS correction = x+(30 -5) and y+(60+3) DGPS Site True coordinates = x+0, y+0 True coordinates = x+25, y+63 Correction = x-5, y+3

NDGPS Ground Stations National Differential Global Positioning System Yellow areas show overlap between NDGPS

NDGPS Ground Stations National Differential Global Positioning System Yellow areas show overlap between NDGPS stations. Green areas are little to no coverage. Topography may also limit some areas of coverage depicted here.

NDGPS Ground Stations National Differential Global Positioning System Yellow areas show overlap between NDGPS

NDGPS Ground Stations National Differential Global Positioning System Yellow areas show overlap between NDGPS stations. Green areas are little to no coverage. Topography may also limit some areas of coverage depicted here.

Wide Area Augmentation System Geostationary WAAS satellites GPS Constellation WAAS Control Station (West Coast)

Wide Area Augmentation System Geostationary WAAS satellites GPS Constellation WAAS Control Station (West Coast) Local Area System (LAAS) WAAS Control Station (East Coast)

How good is WAAS? With Selective Availability set to zero, and under ideal conditions,

How good is WAAS? With Selective Availability set to zero, and under ideal conditions, a GPS receiver without WAAS can achieve fifteen meter accuracy most of the time. * Under ideal conditions a WAAS equipped GPS receiver can achieve three meter accuracy 95% of the time. * +-15 meters +3 meters * Precision depends on good satellite geometry, open sky view, and no user induced errors.

Outline • • • General Techniques GPS Wi. Fi Audio Trajectory 31

Outline • • • General Techniques GPS Wi. Fi Audio Trajectory 31

Test Environment • • 3 Base Stations 10500 sq ft Lucent Wave. LAN cards.

Test Environment • • 3 Base Stations 10500 sq ft Lucent Wave. LAN cards. 200 m/50 m/25 m range for open/semi-open/closed areas. Map of Testbed

Empirical Data Collection • Mobile host 4 UDP packets per second with 6 -byte

Empirical Data Collection • Mobile host 4 UDP packets per second with 6 -byte payload. • Each base station records the signal strength with timestamp (t, bs, ss) • User indicates current location on mobile application • Store orientation since it causes variation in detected signal. • Mobile node records (t, x, y, d) • Data collection phase repeated for 70 distinct locations for 4 -directions.

Information Collected • Use signal information • Off-Line Phase • Construct/validate models for signal

Information Collected • Use signal information • Off-Line Phase • Construct/validate models for signal propagation • Real-Time Phase • Infer location of user • Information Passed • Signal strength (SS) • Signal-to-noise ratio (SNR) • SS is a stronger function of location; therefore authors do not use SNR

Analysis • Convert physical space to signal space (ss 1, ss 2, ss 3)

Analysis • Convert physical space to signal space (ss 1, ss 2, ss 3) • Nearest Neighbor in Signal Space (NNSS) using Euclidean distance.

Comparison • Empirical Method is more accurate than other tracking methods.

Comparison • Empirical Method is more accurate than other tracking methods.

K-nearest neighbors • Average k neighbors (in signal space) • Result: Small k has

K-nearest neighbors • Average k neighbors (in signal space) • Result: Small k has some benefit and large k is not accurate. • K-neighbors in signal space are not near in physical space. An illustration of how averaging multiple nearest (N 1, N 2, N 3) can lead to a guess (G) that is closer to the user’s true location (T) than any of the neighbors is individually.

Other Analysis Methods • • Accuracy did not decrease with number or data points.

Other Analysis Methods • • Accuracy did not decrease with number or data points. Accuracy decreased with decreased samples. Ignoring radio orientation decreases accuracy Tracking Mobile User as sequence of location determination problems. • Use 10 sample window. Results are only slightly worse.

Outline • • • General Techniques GPS Wi. Fi Audio Trajectory 39

Outline • • • General Techniques GPS Wi. Fi Audio Trajectory 39

Determining Distance Beacon Ultrasound (pulse) RF data (location name) Listener listener measures the •

Determining Distance Beacon Ultrasound (pulse) RF data (location name) Listener listener measures the • The A beacon transmitsthe antime RF gap andbetween an receipt of RF and ultrasonic signals ultrasonic signal simultaneously – A time gap of x ms roughly corresponds to a • RF carries location data, ultrasound is a distance of x feet from beacon narrow pulse • Velocity of ultra sound << velocity of RF

Uncoordinated Beacons Beacon A Beacon B Incorrect distance RF B RF A US B

Uncoordinated Beacons Beacon A Beacon B Incorrect distance RF B RF A US B US A time • Multiple beacon transmissions are uncoordinated • Different beacon transmissions can interfere • Causing inaccurate distance measurements at the listener

Bounding Stray Signal Interference S b r v S/b - size of space string

Bounding Stray Signal Interference S b r v S/b - size of space string - RF bit rate - ultrasound range - velocity of ultrasound S r/v (max) r b v (RF transmission time) (Max. RF US separation at the listener) t

Bounding Stray Signal Interference RF B US B RF A US A t •

Bounding Stray Signal Interference RF B US B RF A US A t • Envelop ultrasound by RF • Interfering ultrasound causes RF signals to collide • Listener does a block parity error check – The reading is discarded

Closest Beacon May Not Reflect Correct Space Room A Room B I am at

Closest Beacon May Not Reflect Correct Space Room A Room B I am at B

Correct Beacon Positioning Room A Room B x I am at A Position beacons

Correct Beacon Positioning Room A Room B x I am at A Position beacons to detect the boundary Multiple beacons per space are possible x

Outline • • • General Techniques GPS Wi. Fi Audio Trajectory 46

Outline • • • General Techniques GPS Wi. Fi Audio Trajectory 46

Accelerometer Pedometer 47

Accelerometer Pedometer 47

Error-prone Trajectories 48

Error-prone Trajectories 48

Signatures 49

Signatures 49

Un. Loc Design 50

Un. Loc Design 50

Other Techniques • • Ambient noise Angle of arrival Camera views Etc… 51

Other Techniques • • Ambient noise Angle of arrival Camera views Etc… 51