This disclosure relates to a method and to a positioning engine for determining a position of a mobile device. The disclosure further relates to a computer program product and a non-volatile storage medium.
In many applications like indoor positioning systems, IPS, or real-time location services, RTLS, one key element is to determine a position of a mobile device like a tag based on position information relative to multiple anchor points. Such determination is for example performed in a positioning engine using various mathematical models.
In conventional approaches, an accuracy of the determined position of the mobile device depends on the accuracy of the relative position information of each anchor point only. Hence, if an anchor point provides wrong or inaccurate relative position information for various reasons, the determined position of the mobile device will be less accurate too.
An object to be achieved is to provide an improved processing concept that allows an improved determination of a position of a mobile device with a higher accuracy.
This object is achieved with the subject-matter of the independent claims. Embodiments and developments derive from the dependent claims.
According to the present disclosure, determination of a position of a mobile device includes, for each of a plurality of anchor points, receiving respective relative position information between the respective anchor point and the mobile device such that the received relative position information for the plurality of anchor points forms a set of position information. Each relative position information includes one of i) a direction between the respective anchor point and the mobile device, ii) a distance between the respective anchor point and the mobile device, and iii) a direction and a distance between the respective anchor point and the mobile device. Directions are assumed to be defined in 3-dimensional, 3D, space.
The improved processing concept is based on the insight that initially an estimated position of the mobile device is determined based on the set of position information. Such an estimated position may be subject to inaccuracies due to wrong or inaccurate relative position information in the set of position information. To account for such inaccuracies of the respective anchor points, weight factors are introduced that reduce the influence of the inaccurate relative position information on the overall determined position of the mobile device.
To this end, the relative position information of the plurality of anchor points is evaluated with respect to the estimated position of the mobile device. In particular, depending on the type of relative position information as described above, each one or two of the relative position information defines a locus for possible positions of the mobile device. In this disclosure, a locus, plural ‘loci’, is a set of all points, commonly a line, a line segment, a curve or a plane, whose location satisfies or is determined by one or more specified conditions that are e.g. given by respective equations. Here, the specified conditions are given by the relative position information. According to the improved processing concept, it is assumed that the accuracy of the relative position information decreases with a distance between the estimated position and the locus. Hence, the weight factors are determined according to such a dependency and a refined position of the mobile device can be determined based on a set of position information and the determined weight factors.
Due to the applied weight factors, the influence of less accurate relative position information is decreased such that the refined position will be closer to the actual ground truth position of the mobile device.
In some implementations of the improved processing concept, the process may be performed iteratively such that, for example in a subsequent iteration step, the refined position of the previous iteration step is used as the estimated position such that the determination of the distance values of the loci to the estimated position and the respective determination of the weight factors is based on the previously determined refined position of the mobile device. This can further increase accuracy. The iteration can be performed for a predetermined number of iteration steps or until an exit criterion is achieved.
In an embodiment of a method for determining a position of a mobile device according to the improved processing concept, after receiving the set of position information and determining an estimated position of the mobile device based on the set of position information, a set of loci is defined, each locus of the set of loci being based on one or more of the relative position information from the set of position information. For each locus of the set of loci, a distance value between the estimated position of the mobile device and the respective locus is determined. Furthermore, for each locus of the set of loci, a weight factor is determined as a function of the determined distance values. A refined position of the mobile device is determined based on the set of position information and the determined weight factors.
For example, the determination of the estimated position of the mobile device is performed with a linear equation system solved with a least squares, LS, approach. Furthermore, the determination of the refined position of the mobile device may be performed with the linear equation system solved with a weighted least squares, WLS, approach based on the determined weight factors. For example, the WLS approach employs a diagonal weight matrix formed from the determined weight factors.
In various embodiments the distance values may be determined as the distances, e.g. geometrical distances, between the estimated position of the mobile device and the respective locus. In alternative implementations, the distance values are determined as squared distances, e.g. geometrical distances, between the estimated position of the mobile device and the respective locus. The use of squared distances may reduce the computational effort of the determination since, for example, square root calculations may be avoided.
In various implementations, the function determining the weight factor for each locus of the set of loci as a function of the determined distance values, is monotonically decreasing or strictly decreasing with respect to the associated distance value of the respective locus. For example, the larger the distance value for one locus, the smaller will be the weight factor for that locus, and vice versa.
Generally, the weight factors may be in the range between 0 and 1, such that, for example, for a weight factor of 0, the respective locus is completely ignored while for a weight factor of 1, the locus is completely taken into account.
Various functions for determining the weight factors are available depending, for example, on the minimum distance value of all distance values of the loci, a sum of all distance values of all loci, a distance threshold value and the distance value for the actual locus. This may be combined with closed form functions employing exponential values. In some implementations the functions may be pre-calculated and stored in a lookup table, LUT, such that the resulting weight factor is retrieved from the LUT based on their actual distance value.
In various implementations the refined position of the mobile device is determined further based on quality information for at least one of the plurality of anchor points. For example, the quality information for the at least one anchor point is determined from at least one of the following: a signal strength associated with the received relative position of the at least one anchor point, a number of antenna elements of the at least one anchor point, a confidence factor associated with the received relative position of the at least one anchor point, upper and/or lower bounds for the weight factor associated with the at least one anchor point.
For example, if a WLS approach is chosen for determining the refined position of the mobile device, the quality information may be mapped to one or more respective weight matrices, which preferably have the same form as the weight matrices with weight factors determined from the distance values.
As mentioned before, the method may be performed in an iterative fashion such that in an initial iteration step the estimated position is determined based on the set of position information and in each subsequent iteration step the refined position determined in a respective preceding iteration is used as the estimated position for determining the distance values and the weight factors.
Preferably, an absolute position of each of the plurality of anchor points is known.
For example, the method is performed in a positioning engine. Such a positioning engine may be a local positioning engine being located in the same area as the anchor points. However, the positioning engine may also be implemented as a service component in a network cloud.
For example, a positioning engine for determining a position of a mobile device according to the improved processing concept comprises a receiver and a processing unit. The receiver is configured for receiving from each of a plurality of anchor points, respective relative position information between the respective anchor point and a mobile device. The received relative position information for the plurality of anchor points forms a set of position information. Each relative position information is of the form as described above.
The processing unit is configured for determining an estimated position of the mobile device based on the set of position information, defining a set of loci, each locus of the set of loci being based on one or more of the relative position information from the set of position information, determining, for each locus of the set of loci, a distance value between the estimated position of the mobile device and the respective locus, determining, for each locus of the set of loci, a weight factor as a function of the determined distance values, and determining a refined position of the mobile device based on the set of position information and the determined weight factors.
Further implementations of the positioning engine become apparent for the skilled reader from the various implementations of the method described above.
A positioning engine as described above together with a plurality of anchor points and, optionally, one or more mobile devices like tags, forms a positioning system, for example.
According to one embodiment of the improved processing concept, a computer program product for determining a position of a mobile device comprises instructions that may be stored in a preferably non-transitory computer-readable storage medium, the instructions enabling a computer system to execute a method according to one of the implementations described above. The computer system may be implemented within a positioning engine.
Furthermore, a computer system may have a processor and a storage medium having computer program instructions stored therein, enabling the processor to execute a method according to one of the implementations described above.
The improved processing concept will be explained in more detail in the following with the aid of the drawings. Elements and functional blocks having the same or similar function bear the same reference numerals throughout the drawings. Hence their description is not necessarily repeated in following drawings.
In the drawings:
Referring now to
Referring back to
Further method steps 102 to 106 may be carried out by the processing unit PROC of the positioning engine LPE.
It should be noted that the number of five anchor points chosen in the example of
A direction may be defined as a directional vector or as a 3D angle of arrival, AoA, or 3D angle of departure, AoD.
Referring now to
In this example the case is assumed where the mobile device TG is moving around a room and the anchor points 1-5 are responsible for measuring the distance and/or the AoA/AoD among them and the mobile device TG. A position of the anchor points 1-5 is assumed to be known. Furthermore, each measurement of distance and/or AoA/AoD is being conducted or transformed in such a way with respect to a global coordinate frame that characterizes the room under examination.
Referring now to
Let us suppose that the Anchor Ai is located at the point xi,yi,zi and measures a distance di. Then, the equation of the distance sphere is given by equation (1), where every quantity is expressed with respect to the room-global coordinate system that is depicted in
Referring now to
In mathematics, a spherical coordinate system is a coordinate system for three-dimensional space where the position of a point is specified by three numbers: the radial distance r of that point from a fixed origin, its polar angle θ measured from a fixed zenith direction, and the azimuthal angle φ of its orthogonal projection on a reference plane that passes through the origin and is orthogonal to the zenith, measured from a fixed reference direction on that plane.
The spherical coordinates vary at the following range:
Referring now to
For example, such an anchor point, after the appropriate coordinate transformations, provides two angles φ and θ which are the spherical coordinates of the target, except of the “r”. These two angles are measured with respect to the global coordinate axes that have been transferred to the anchor's position without changing its orientation.
The direction on which the target is located, relative to the anchor point's position is given by the directional vector {right arrow over (δ)}i which is defined in equation (3):
Directional vector {right arrow over (δ, )} defines completely a 3D straight line which contains the anchor and the tag, provided that no error has occurred.
Let us suppose that the tag and the anchor are located at the points T(x,y,x) and respectively. Then we can assert that
The last equation (4) represents the aforementioned 3D straight line which is depicted in
Referring now to
In this case, the anchor point 3 is a combination of the previous scenarios and based on equation (3), this anchor point determines a relative positional vector that is pointing to the target, respectively to the mobile device TG.
Indeed, if we suppose that the anchor Ai is located at the point (xi,yi,zi) and measures a distance di and the two angles φi and θi, then we can derive the following equation:
If there is zero impact from multipath effects, AWGN, etc., then the positional vector {right arrow over (Δ)}i, which can also be called a relative positional vector, should point exactly at the location of the target.
Referring back to
Of particular interest are the anchor points 1 and 2, which measure distance and define spheres given by equation (1). In order to use these anchor points, one must combine a pair of them each time and create a useful linear equation. In the present example there are only two of them, so we have the following algebraic manipulations:
The last equation (6), in general, represents a plane in the 3D space. Referring now to
Before combining all equations from all kind of anchors, we have to normalize the equations that represent planes in the 3D-space. Namely, we transform equation (6) as follows. First we define the scaling factor SF12 for the plane equation (6), defined by anchors 1 and 2, see equation (7), and then we normalize, see equation (8).
So, combining all kind of anchors of our example, we get the following matrix equation (9) with the known coordinates of the anchors,
and the unknown coordinates of the target
In the example of equation (9), the first row results from the distance information from anchors 1 and 2, rows 2-4 result from direction and distance information from anchor 3, and rows 5-8 result from the direction information from anchors 4 and 5, respectively. This also becomes apparent from the indices used.
Referring back to
Equation (10) is solved by assuming that all anchor points and all equations in the matrix equation (9) are of equal importance and have the same reliability. In the real world, this is not true. Several sources of errors make the equations that form the matrix equation (9), less or more reliable.
One approach is to use different weights for each equation. For example, in our case we can define a weight matrix and find the solution by using Weighted Least Square, WLS, algorithm.
In general, the idea of WLS, tailored to our example, is being illustrated as described in the following. An 8×8 diagonal weight matrix, such that, in general, each equation (here: 8) of the matrix equation (9) has its own weight.
Usage of the weight matrix W results in
Of course, there are some critical issues. The most important of them are the following:
An indoor environment with many targets to follow inside it is not suitable for statistical models. Furthermore, trying to use memory and/or statistical models is extremely resource consuming when the number of tags increases.
With the improved processing concept it is proposed defining the weights, according to the distance of the estimated position and the locus defined by each anchor point or pair of anchor points, as described at the previous paragraphs.
It has already been described that each kind of anchor (or group of anchors) determines a specific locus for the target. The equations that describe each locus are the rows of the matrices H and B of the matrix equation (9) as mentioned above.
In our example, the correspondence between the type of the anchor(s), the type of the locus that is generated of each anchor type and the number of the equations which describes it in the 3D space, is summarized at the following table
Hence referring back to
Furthermore, in step 104, for each locus of the set of loci, a distance value between the estimated position of the mobile device (TG) and the respective locus is determined.
This will be described in more detail in the following for the different possible configurations.
Distance between a point and a plane in the 3D space
Let us suppose that we want to determine the distance between the point X0(x0,y0,z0) and the plane described by equation (8). The distance is given from the following with A1(x1,y1,z1) and A2(x2,y2,z2) being the positions of the anchor points 1 and 2 that measure distances d1, d2.
Assuming the following notations
and the plane equation with respect to equation (8),
Cxx+Cyy+Czz=C0−Cd,
a distance Dplane between the point X0(x0,y0,z0) and the plane results to
The quantities Cx, Cy, Cz, C0, SF12 and √{square root over (Cx2+Cy2+Cz2)} depend on the anchor points only. This observation allows us to predetermine them and simplify the computational effort of such a distance calculation, resulting in the following equation (13):
Dplane=|Cx′x0+C0Cy′y0+Cz′z0−C0′+Cd(d22−d12)| (13)
Herein the following predefined coefficients are used:
Distance Between Two Points in the 3D Space
Let us suppose that we want to determine the distance between the point X0(x0,y0,z0) and the point defined by the vector {right arrow over (Δ)}3 for anchor point 3 as described above. The distance is given from the following equations. With A3(x3,y3,z3) being the position of the anchor point 3, and measured distance d3 and measured angles φ3, θ3, the vector {right arrow over (Δ)}3 for anchor point 3 is defined as
The distance Dpoint between the two points therefore results in:
Distance Between a Point and a Line in the 3D Space
The distance between the point X0(x0,y0,z0) and the line defined by equation (4) is given by equation (15) below, using anchor point 4 of our example.
With A4(x4,y4,z4) being the position of the anchor point 4, and measured angles φ4, θ4, vector {right arrow over (δ)}4 and the vector {right arrow over (A4X0)} result to:
The distance Dline between the point and the line therefore results in:
At the last step, to simplify the calculation of Dline, we have exploited the fact that by definition∥{right arrow over (δ)}4∥=1. In some implementations, the distance values are determined as squared distances, e.g. squared geometrical distances, between the estimated position of the mobile device TG and the respective locus. The use of squared distances may reduce the computational effort of the determination since, for example, square root calculations can be avoided.
Referring now to step 105 in
If we look carefully at the room with the five anchor points 1 to 5, we will observe that with respect to the estimated position, called a draft estimation in
Hence, referring back to step 105, the distances of the estimated LS position from all the four loci are used for producing the weights for each one of the rows of the weight matrix W that has been described above in conjunction with equation (11).
The weights are calculated per locus and not per row of the matrix equation (9).
This means that for our example, weight matrix W should have the following form for the present example:
Derivation of Weights Based on the Distances
As already has been mentioned, the improved processing concept makes the weights dependent on the distance of the estimated position from each locus. The bigger the distance is, the less should be the reliability (and the weight) of the specific locus.
Let us assume that we treat a room with N anchors (N=5 in our example) of any type, which produce M different loci (M=4 in our example). For each locus Li, 1≤i≤M we calculate the distance Di according to the equations described above. We define a set of M functions fi: M→
that maps the M respective values of Di to a set of M values of wI, such that
wi=fi(D1,D2, . . . ,Di, . . . DM),1≤i≤M (17)
There are numerus candidate functions fi, some of which will be described in the following.
Furthermore, we can generalize the concept of the distance Di and use any monotonicaly increasing function of it, for example the squared Di as mentioned above. Let us denote as Ei this generalized distance between the estimated position and each locus. For example, it could be:
Ei=Di,E1=(Di)2,Ei=√{square root over (Di)}etc.
For example, the weight factor wi for each locus of the set of loci as a function of the determined distance values may be defined as
wherein
In an alternative, the weight factor wi for each locus of the set of loci as a function of the determined distance values may be defined as
wherein
In a further alternative, the weight factor wi for each locus of the set of loci as a function of the determined distance values is defined as
wherein
In an example Whigh may have a value close to 1 or equal to 1, whereas wlow may have a value close to 0 or equal to 0.
The weights that are being generated from the above formulas are in the range 0≤wi≤1.
The value Ethreshold, where applicable, is a threshold defined from the designer and it expresses the distance limit below which the weight approaches the value “1”.
Also, exponents μ, ν, are choice of the designer and they define the dependence of the weights on the distances and their ranges are, for example ¼≤μ≤1, 1≤ν≤4.
After the weight factors have been determined in step 105, in step 106 a refined position is determined based on the set of position information and the determined weight factors, e.g. by the WLS approach defined in equation (11), using the weight factor of the form described in equation (16).
Optionally, the method may be performed in an iterative fashion. For example, after the refined position has been determined, in a next iteration step it is continued at step 104 by determining distance values from the loci to the refined position of the mobile device TG. For example, in an initial iteration step the estimated position is determined based on the set of position information, and in each subsequent iteration step the refined position determined in a respective preceding iteration step is used as the estimated position for determining the distance values and the weight factors. The number of iterations may be predetermined and/or the iteration stops when some exit criterion is fulfilled.
Referring now to
For example, the CDF shown in
Simulating the same scenario but using the formula of equation (19) with v=2, we get the performance results shown in
For both approaches,
Ethreshold=0.1
has been used. We can observe that the improvement of the confidence level of e.g. 90% is more than 0.5 m.
If we repeat the previous two measurements in the same office environment, but the mobile device follows the path that always one or two of the anchor points are in a non-line-of-sight condition or suffer a strong multipath, then the improvement is even more evident, as can be seen in
In addition to the weight factors as described above, in some implementations the refined position of the mobile device TG may be determined further based on quality information for at least one of the plurality of anchor points. For example, this quality information can be expressed in one or more further weight matrices that are applied to the WLS algorithm.
For example, the quality information for the at least one anchor point is determined from at least one of the following:
Various embodiments of the improved processing concept can be implemented in the form of logic in software or hardware or a combination of both. The logic may be stored in a computer readable or machine-readable storage medium as a set of instructions adapted to direct a processor of a computer system to perform a set of steps disclosed in embodiments of the improved processing concept. The logic may form part of a computer program product adapted to direct an information-processing device to automatically perform a set of steps disclosed in embodiments of the improved processing concept.
The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense. However, it will be evident that various modifications and changes may be made thereunto without departing from the scope of the invention as set forth in the claims.
Number | Date | Country | Kind |
---|---|---|---|
21197751 | Sep 2021 | EP | regional |
Number | Name | Date | Kind |
---|---|---|---|
8149162 | Pauls | Apr 2012 | B1 |
8406785 | Alizadeh-Shabdiz et al. | Mar 2013 | B2 |
20120058733 | Jovicic | Mar 2012 | A1 |
20170356979 | Georgiou et al. | Dec 2017 | A1 |
20190129446 | Kaufmann | May 2019 | A1 |
20220248366 | Bao | Aug 2022 | A1 |
Entry |
---|
European Extended Search Report in European Appln. No. 21197751.7, dated Jun. 1, 2022, 5 pages. |
Number | Date | Country | |
---|---|---|---|
20230091448 A1 | Mar 2023 | US |