This invention, is related to location determination using mobile electronic devices, such as smart phones, and more particularly to determining location when Global Positioning Satellite (GPS) signals are absent or not accurate.
Current problem caused by weak GPS signal in metropolitan areas often lead to less than desirable user experiences. Comprehensive experiments in downtown Chicago have indicated that GPS signals are very weak and unstable on most roads due to high-rises, or even completely blocked, in some complicated road structures, such as tunnels and underground roadways. To handle such difficulties, existing technologies mainly focuses on using inertial sensors to measure walking speed and distance of a pedestrian and to exploit compass information to estimate direction, so as to estimate a location. Some utilize motion sensors to collect motion, data of vehicles, and use remote servers to calculate a position. However, the real-time localization of moving vehicles in metropolitan areas is far more challenging, as such activity does not have a cycle pattern in sensory data. In addition, the pattern of a moving vehicle is much more complicated, depending on the current driving condition and road infrastructures. Therefore, current technologies cannot transplant to locating moving vehicle in metropolises directly.
The method and system of this invention provide more precise location positions for moving vehicles in metropolitan areas. The invention includes adjusting the location dynamically according to current driving status and road infrastructures. The invention can be designed as an application for a mobile device, sued as an. Android smartphone, which can be mounted to a windshield while driving.
Another potential use for the invention is to reduce the energy usage of of mobile device. Using GPS to obtain continuous location consumes large amount of battery energy. However, extracting sensory data to complement GPS positioning can reduce energy consumption without compromising the location accuracy.
The general object of the invention can be attained, at least in part, through a method for determining location, such as implemented via software executed on a mobile device. The method includes measuring movement of an electronic device with at least one inertial sensor of the electronic device. Exemplary inertial sensors include an accelerometer, a gyroscope, and/or a magnetic field sensor. The method further includes automatically calculating a moving velocity and/or a traveling distance of the electronic device as a function of the measured movement, and automatically determining an error value in the calculated moving velocity and/or traveling distance by comparison, of the calculated moving velocity and/or traveling distance to GPS signals, when available. Further calculations using sensor readings, such as when GPS signals are absent, or inaccurate, are improved by automatically compensating as a function of the error value.
In embodiments of this invention, an error value is determined from a comparison between a calculated moving velocity and/or traveling distance and a GPS-measured moving velocity and/or traveling distance for a same time and/or distance. The error value is determined when the GPS signal is available and is useful for increasing accuracy of the sensor-based estimation when the GPS signals are not accurate or available. Upon reestablishing an accurate GPS signal the error value is determined again for a further distance or time. In embodiments of this invention, the error value is continually determined in a “shifting window” of time and/or distance, such that the error value is more accurate to changes in location.
In embodiments of this invention, the movement of the electronic device is modeled as a summation of true movement and sensor error during a predetermined time period. During this time period, sensor error is determined by comparing the sensor measured device movement to GPS signals received, by the device. Continually remodeling for a predetermined time or distance occurs in the presence of the GPS signals, in view of, for example, changing road and/or traffic patterns. In one embodiment, the error value of the model is calculated using linear regression.
Embodiments of this invention additionally include calibration to electronic map data and/or traffic pattern (either real-time or historical). By detecting slowing, stopping, turning, and/or reacceleration, etc. with the inertial sensors, and analyzing and comparing these movement activities against a map, the location can be calibrated or otherwise fine-tuned to provide a more accurate location, particularly in the absence of GPS signals. For example, acceleration, stopping, and/or turning can be automatically correlated to map data, such as an intersection location, to calibrate or correct a location determination.
Another embodiment of this invention includes a method for determining location by sensing movement of an electronic device with at least one inertial sensor of the electronic device during a predetermined timeframe in a presence of GPS signals, automatically calculating a moving velocity and/or a traveling distance of the electronic device as a function of the measured movement, automatically determining an error value in the calculated moving velocity and/or traveling distance by comparison with the GPS signals, sensing further movement, off an electronic device with at least one sensor of the electronic device in an absence of the GPS signals, and automatically calculating a former moving velocity and/or a further traveling distance of the electronic device in the absence of the GPS signals by compensating the further measured movement as a function of the error value. The error value is continually redetermined during movement of the electronic device in the presence of the GPS signals. The error value used to calculate the further velocity and/or a further traveling distance of the electronic device is desirably determined from a predetermined period prior to loss of the GPS signals.
The method and model of this invention can also be used to correct a location determined from weak and/or inaccurate GPS signals as a function of the inertia sensor-based calculated moving velocity and/or traveling distance of the electronic device.
The method embodiments described above are implemented automatically through software code stored on a recordable medium and executed by a processor on an electronic device used to determine and track location. The invention includes a portable electronic device and/or navigation system including one or more processors, an inertial sensor, a GPS antenna, memory, and one or more programs or applications stored in the memory and configured to be executed by the one or more processors. The one or more programs include instructions for measuring a movement of an electronic device with the inertial sensor, instructions for calculating a moving velocity and/or a traveling distance of the electronic device as a function of the measured movement, instructions for determining an error value in the calculated moving velocity and/or traveling distance by comparing with obtained. GPS position data, and instructions for determining a further moving velocity and/or a further traveling distance of the electronic device as a function of a further measured movement and the error value in absence of a GPS signal.
The invention further includes or Is implemented by a non-transitory computer-readable storage medium encoded with instructions for determining a location of a portable electronic device with an inertial sensor and a GPS antenna. The encoded instructions include instructions for measuring a movement of an electronic device with the inertial sensor, instructions for calculating a moving velocity and/or a traveling distance of the electronic device as a function of the measured movement, instructions for determining an error value in the calculated moving velocity and/or traveling distance by comparing with obtained GPS position data; and instructions for determining a further moving velocity and/or a further traveling distance of the electronic device as a function of a former measured movement and the error value in absence of a GPS signal.
This invention includes a localization method and system to estimate a location and a traveling distance, particularly for use areas with blocked GPS signals, such as in metropolitan areas, by leveraging low-power inertial sensors as a supplement to GPS. Embodiments of this invention include a new dynamic trajectory model for automatically calculating trajectory distance and the location or a moving vehicle in metropolitan areas based upon current road conditions. The invention can also incorporate a calibration strategy based on road infrastructures and driving status to adjust the positioning accuracy.
In embodiments of this invention, inertial sensors in the mobile device are used to estimate the movement of a vehicle, and provide locations based on the traveling distance and orientation with high accuracy bat low energy consumption. The invention addresses the inaccuracy caused by complex infrastructures in, for example, downtown areas, and can also exploit area landmarks in the map to improve the localization accuracy.
Tire method and software application of this invention are useful to provide car location upon the GPS signal being lost between the tall downtown buildings 28, or airy other environment that interferes with receiving GPS signals. While receiving GPS signals, along highway 20 and through intersections A-C, the phone operates according to this invention to use the phone's inertial sensors to continually estimate the movement and/or location of the vehicle. The estimated movement and/or location is compared to the GPS-determined location to determine an error value of the inertial sensor-based estimation. Referring again to
As stated above, the method continually models the sensor readings to estimate location and to determine the error value against the GPS. However, referring to
Although existing works use accelerometer, gyroscope, and/or magnetometer sensors to calculate motion conditions, the intrinsic noise can make the naive distance estimation based on Newton's Law unavailable because the error would be accumulated. In embodiments of this invention, a predictive dynamic trajectory estimating model adaptively calibrates itself using GPS signals and dead-reckoning.
a. Velocity Estimator:
Because of the inertial noises and measurement errors, the traditional velocity estimation model is no longer reliable. The velocity Vi, at the end of a timeslot i can be denoted as:
V
i
=V
i-1
+β·a
i
·Δt+μ,
where β is the parameter to be learned and adjusted in real time, ai is the average measured acceleration during the timeslot i, and μ is the noise.
When the GPS signals are strong, both Vi and Vi-1 can be achieved from GPS directly, and the mean, linear acceleration ai is extracted from the accelerometer. The best parameter of β and μ can be calculated through regression of the model. When the localization through GPS is unreliable, the trained model predicts the velocity Vi.
b. Distance Estimator:
For general working cases, the trajectory distance gathered from GPS indicates the distance with some error. Therefore, G(Δti) is denoted as the distance daring a timeslot i read from GPS, which can also be presented as:
G(Δti)=λ1·Vi-1·Δt+1/2·âi·Δt2+η,
where âi is the actual acceleration in the timeslot i. In this equation, λ1 is multiplied to reflect the error in the estimated speed Vi-1 for the time slot i−1. Since the known measured acceleration ai contains both inherent noise and measurement error, by assuming that these errors follows normal, distribution, the measured acceleration can be defined, as ai+(1+ε)âi+δ.
The distance can then be calculated by the following formula:
G(Δti)=λ1·Vi-1·Δt+λ2·1/2·ai·Δt2+λ3·Δt2+λ4·Δt+η.
where λ1 to λ4 are parameters to be learned by the regression model. When the GPS signals are strong (e.g., GPS error is less than 20 meters), based on the Vi-1, ai is computed using the sensory data and the distance from GPS. The previous equation is used as a model to predict the distance in time slot i when GPS signals are bad. From the predicted trajectory distance G(Δti), the location at the timeslot i can be estimated based on the obtained location, distance and orientation.
Driving in metropolitan areas provides other unpredictable traffic conditions and road infrastructures, such as tunnels, bridges, traffic lights, and crossroads, which will affect the parameters learnt from the previous model. Therefore, a more flexible dynamic adjusting strategy is provided to update the parameters to match the current driving status. In this strategy, parameters are calculated in a predictive dynamic trajectory estimating model only based on the latest driving data. A small buffer can be allocated to save the latest driving information. When the protocol is still in the learning process, the model will replace the oldest data with latest information in order to update the model parameters.
Existing works do not take the driving conditions into account, for example, if the vehicle stops, the estimated speed, is highly likely to be non-zero, which leads to a huge error in the final prediction. Embodiments of this invention can incorporate a landmark or map-based calibration to adjust the location when the vehicle stops.
a. Traffic Lights:
When a vehicle stops due to the traffic lights and/or drives through crossroads, unique patterns appear in the readings of sensors (See
where L indicates me average length of a vehicle, and n represents the current possible number of vehicles waiting for a signal change (e.g., a green light). The number of vehicles waiting for green lights can be assumed to follow a normal distribution of n□N(μi,σi2).
b. Turning:
The orientation of a moving vehicle can be determined by an angle change, which is observed along the axis in gravity direction. The readings 0, 90, 180, and 270 can represent north, east, south, and west, respectively. Embodiments of the invention, employ moving averages to cancel some noises and calculate the driving orientation.
Certain driving patterns, such as turning left or right and stopping for traffic lights or stop signs, can be more accurately detected and thus classified. To classify other road infrastructures, the sensor readings of those patterns are collected and stored as fingerprints, and then match the real-time sensor readings with the trained fingerprints. The invention can rely on coarse-grained estimation of the location from dead-reckoning first, and then use a predictive regression model to confine the search space: only the road infrastructures (stored fingerprints) I within a certain distance δ from the estimated location x will be considered as the matching candidate for the real dime pattern P achieved from the sensory data. The infrastructure that maximizes the weighted matching score:
αM(I,P)+(1−α)e−D(x,L(I)),
where M(I,P) is the matching score between the fingerprint of an infrastructure I and the observed pattern P, αε(0,1) is a constant, and D(x,L(I)) is the geodesic distance between the location x and the location L(I) of infrastructure I. Then, the estimated location x is updated as the location L(I*) of the infrastructure I* which maximizes the weighted matching score.
The invention is desirably designed as a software application, running on a mobile computing device, such as an Android smartphone. For testing, the invention was deployed in a Samsung Galaxy S3, with Android 4.3, and an extensive evaluation was taken in both downtown Chicago and suburban highways. During the experiments, the smartphone was mounted to the windshield, and the invention took, over 100 different road segments in downtown Chicago ranging from 1 km to 1.0 km, and over 30 km on the highway.
The test system calibrated the location as soon as it detected specific patterns. In order to compare the results to the ground truth, the evaluation was conducted on the road with good GPS locations. In this case, the GPS location was considered as ground truth. In the evaluation, it was assumed that part of the road did not have GPS signals, and the location in this segment of roads was calculated and the result compared to the original GPS locations, in the first evaluation, the first 3400 m was with reliable GPS signals, and the precise locations were accessible. The location accuracy was tested in the following 1400 m. During the experiment, the vehicle crossed 5 traffic lights in total, and successfully detected all 5 traffic lights. For the first 900 m, the estimation trace nearly overlapped with the ground truth. During the whole test, although the predicted distance consequently deviated from the ground truth a little, the error remained small.
The deviation of the results from the ground truth came from the accumulated error from all time slots. With landmarks calibration as described herein, the mean error of the estimated locations for all time slots fell below 20 m for 90% of time.
On the highway, the tests were taken under 10 different highway segments with total distance being over 60 km. The precise location from the GPS was updated every 3 seconds. For each segment, the first 3 km was trained and the location was predicted for the next 2 km. The experiments indicated that the largest error was only 12 m among the 10 different highway segments, and in over 80% of the cases, the errors were less than 5 m. Compared with the actual distance extracted from the ground truth, at over 95% locations, the errors were less that 1% of the actual driving distance, and the largest error was less than 2% of the actual driving distance. The experiments also demonstrated mat the accuracy of the prediction decreased with the increase of the driving distance.
Thus, the invention provides a method and apparatus for determining location, and for supplementing GPS locations when signals are lost and/or for correcting inaccurate GPS locations.
It will be appreciated that details of the foregoing embodiments, given for purposes of illustration, are not to be construed as limiting the scope of this invention. Although only a few exemplary embodiments of this invention have been described in detail above, those skilled in the art will readily appreciate that many modifications are possible in the exemplary embodiments without materially departing from me novel teachings and advantages of this invention. Accordingly, all such modifications are intended to be included within, the scope of this invention, which is defined, in file following claims and all equivalents thereto. Further, it is recognized that many embodiments may be conceived that do not achieve all of the advantages of some embodiments, particularly of the preferred embodiments, yet the absence of a particular advantage shall not be construed to necessarily mean that such an embodiment is outside the scope of the present invention.
This application claims the benefit of U.S. Provisional Patent Application, Ser. No. 62/058,189, filed on 1 Oct. 2015. The co-pending Provisional patent application is hereby incorporated by reference herein in its entirety and is made a part hereof, including but not limited to those portions winch specifically appear hereinafter.
Number | Date | Country | |
---|---|---|---|
62058189 | Oct 2014 | US |