So with these sets of data available, the location of the smartphone can be traced every second using trilateration algorithm which is a process of finding the location of the point using the geometry of circles, spheres and triangle. More information about trilateration is in wikipedia.
Using the rssi transmitted by the smartphone, and since we know the distance of each beacon from each other(d and e), we have a lot of data to use in determining the exact location of the point. We will also assume that all points of interest in the scenario lie on the same plane. The formula for computing distance in meters from rssi is as follows:
In the above picture, we can easily determine the value of x and y by Trigonometry's Pythagorian Theorem:
RSSI = -20 * log10(distance in meters) + RssiAtOneMeter
distance in meters = pow(10, (RssiAtOneMeter - ReceivedRSSI) / 20)
source: Evaluation of the Reliability of RSSI for Indoor Localization
In the above picture, we can easily determine the value of x and y by Trigonometry's Pythagorian Theorem:
Using the eaquation:
x2+y2=b2
No comments:
Post a Comment