Professional Documents
Culture Documents
Outline
Positioning systems and techniques
Outdoor
GPS system
Cellular-based systems
Indoor
Java ME Location API 2.0
2
Copyright Dr. Miguel A. Labrador
3
Copyright Dr. Miguel A. Labrador
4
Copyright Dr. Miguel A. Labrador
30
TLM
HOW
60
300
Clock Correction Data, GPS Week Number
600
Subframe #2
TLM
HOW
Subframe #3
TLM
HOW
Subframe #4
TLM
HOW
Subframe #5
TLM
5
Copyright Dr. Miguel A. Labrador
GPS System
Almanac contains coarse orbit and status information about
every satellite in the constellation
Each NM contains 1/25th of the almanac
Receiver needs 12.5 minutes to receive the entire almanac from a
particular satellite
Almanac is very important because it helps GPS receivers to locate
satellites at power up
6
Copyright Dr. Miguel A. Labrador
Lateration
Process of calculating the users position using distances
between entities
Finding the position of the user consists of finding the distance
between the GPS receiver and the satellite and solving a
systems of equations using Pythagoras theorem
7
Copyright Dr. Miguel A. Labrador
Lateration
Problem of this method is in the calculation of the distance
between GPS receiver and the satellites
Calculated measuring the time it takes the satellite signal to reach
the receiver and multiplying it by the speed of light
The NM contains the exact time at which the signal was sent
In order to make GPS receivers affordable, clocks are not very
precise
Synchronization problem introduce errors in distance calculations
1 microsecond error introduces an error of 300 meters!
Satellites are needed to be far from the user and separated from each
other
Dilution of Precision (DOP) used to select most appropriate satellites
8
Copyright Dr. Miguel A. Labrador
9
Copyright Dr. Miguel A. Labrador
10
Copyright Dr. Miguel A. Labrador
10
Enhanced Cell ID
BTS measures RTT and estimates distance
Reduces the radio of the circle only
11
Copyright Dr. Miguel A. Labrador
11
Improved accuracy
Better indoor coverage
Shorter TTFF
Less power consumption
12
Copyright Dr. Miguel A. Labrador
12
13
Copyright Dr. Miguel A. Labrador
13
Fingerprinting
Based on off-line measurements of the signal strength in specific
reference points within the space of interest
Stored in a database and utilized by the system to find the MSs location
Ultrasound-based systems
Use RF and ultrasound signals to estimate distances
Need US hardware and restricted to very few meters
14
Copyright Dr. Miguel A. Labrador
14
15
Copyright Dr. Miguel A. Labrador
15
javax.microedition.location.services
New classes and interfaces related to LBS, such as geocoding, map,
and navigation
16
Copyright Dr. Miguel A. Labrador
16
17
Copyright Dr. Miguel A. Labrador
17
Two methods
getLocation method to obtain the location one time
LocationListener method to obtain the location at predefined intervals
18
Copyright Dr. Miguel A. Labrador
18
getLocation Method
try {
// Create a Criteria object to define desired selection criteria
Criteria cr = new Criteria();
cr.setHorizontalAccuracy(20);//Requests an estimated accuracy of 20 meters
cr.setSpeedAndCourseRequired(true);//Requests speed and course of MS
//Requests a LocationProvider that meets these Criteria
LocationProvider lp = LocationProvider.getInstance(cr);
// Get the location, 60 seconds timeout
Location loc = lp.getLocation(60);
Coordinates coord = loc.getQualifiedCoordinates();
if (coord != null) {
// Include code that uses coordinates here
// ...
}
}
catch (LocationException e) {
// Could not retrieve location
}
catch (InterruptedException e) {
// Location retrieval interrupted
}
19
Copyright Dr. Miguel A. Labrador
19
20
Copyright Dr. Miguel A. Labrador
20
21
Copyright Dr. Miguel A. Labrador
21
22
Copyright Dr. Miguel A. Labrador
22
23
Copyright Dr. Miguel A. Labrador
23
ProximityListener
Proximity detection has been greatly enhanced in version 2.0
An interval and timeout value can be defined by the application
when the ProximityEnterAndExitListener, which has replaced
the ProximityListener of version 1.0, is registered
Now, a new locationUpdated() method is called at a particular
interval, so that the application can tell how frequently the device is
checking proximity to the registered location
24
Copyright Dr. Miguel A. Labrador
24