Abstract
The sensor localization problem can be formalized using distance and orientation constraints, typically in 3D. Local methods can be used to refine an initial location estimation, but in many cases such estimation is not available and a method able to determine all the feasible solutions from scratch is necessary. Unfortunately, existing methods able to find all the solutions in distance space can not take into account orientations, or they can only deal with one- or two-dimensional problems and their extension to 3D is troublesome. This paper presents a method that addresses these issues. The proposed approach iteratively projects the problem to decrease its dimension, then reduces the ranges of the variable distances, and back-projects the result to the original dimension, to obtain a tighter approximation of the feasible sensor locations. This paper extends previous works introducing accurate range reduction procedures which effectively integrate the orientation constraints. The mutual localization of a fleet of robots carrying sensors and the position analysis of a sensor moved by a parallel manipulator are used to validate the approach.
Keywords: localization, sensor networks, distance constraints, orientation constraints, Distance Geometry
1. Introduction
The accurate localization of a sensor is fundamental in many applications. For instance, one of the main problems to address in sensor networks is the location of the nodes since most of the objectives of such networks rely on the correct association between the sensor readings and the location information [1]. Moreover, the position of the nodes can be exploited to optimize aspects such as the power consumption of the network [2]. Even for isolated sensors, the position at which each measure is taken is fundamental to determine, for instance, the exact place where there is a defect in a pipe probed with a radar [3] or a problem in an electronic device inspected with ultrasounds [4].
Sensor localization is typically based on angular and distance information. Distance Geometry studies problems characterized by distance and orientation constraints between a given set of points [5]. It provides a formulation invariant to the reference frame and, therefore, it gives geometric insights on different problems that remain concealed when using Cartesian geometry. These insights allow deriving solutions common to problems that otherwise have to be treated on a case-by-case basis [6]. Due to its generality, Distance Geometry finds application in many fields, including biochemistry [7], nano-technology [8], inverse/direct kinematics of serial/parallel robots [9], singularity analysis [10], or fusion of sensor data [11]. This paper proposes novel Distance Geometry tools for the sensor localization problem.
Arguably, the main issue of existing Distance Geometry techniques is that they can not deal with orientation constraints, which are fundamental in many applications [12,13]. The common alternative is to first take into account only the distance constraints to generate all the possible solutions and then rule out those with wrong orientations in a post-processing. However, in principle, the orientation constraints can be integrated into the solver and exploited to focus the search effort, thus increasing the computational efficiency. To the best of our knowledge, only two approaches exists that combine distance and orientation constraint [14,15], but they are limited to 1D or 2D problems, respectively, and their possible extensions to solve higher-dimensional problems is non-feasible.
This paper presents an alternative that naturally scales to higher dimensions. The proposed procedure is geometric, avoiding the use of Cayley-Menger determinants, the dominant tool in Distance Geometry [16,17,18], which generates formulations that rapidly get involved with the number of points and their dimension [19,20]. The method extends some of the ideas in [21], which implements geometric methods to project the problem to a lower dimensional sub-space, reduce the feasibility ranges for the variable distances in the problem, and back-project these reduced ranges to the original dimension to obtain a tighter approximation of the solution set. Herein, the approach in [21] is improved by introducing novel projection and back-projection methods that clearly outperform the original ones. Moreover, the range reduction procedure proposed in this paper effectively integrates the orientation constraints, which were not considered in [21].
This paper is structured as follows. Next section frames the proposed approach in the context of existing works and Section 3 formalizes the problem addressed in this paper. Then, Section 4 describes the projection, range reduction, and back-projection procedures, and Section 5 experimentally evaluates them. Finally, Section 6 summarizes the contributions of this work and points to issues deserving further consideration.
2. Related Work
The problem of localization appears in many fields, including sensor networks, mobile robotics, or in the position analysis of mechanisms. In all the cases, the problem is to localize one or more devices from sensor information. The sensor information can be based on distances (either given by the configuration of the sensing device or computed from time of flight or from signal strength) [22,23,24], on angles [25,26,27], or even on signal profiling [28,29,30]. The latter approach can produce accurate results, but it requires a map of the signal profile acquired offline, which is not available in general. Thus, the method introduced in this paper addresses the sensor localization problem using only distance and angular information acquired on-line, but it is agnostic on how the distance and orientation constraints are obtained. Actually, the angular information required in the proposed method is just the relative orientation of particular point sets, which is easier to obtain than accurate angular measures.
In any case, the sensor readings will be affected by the inaccuracies inherent to any physical process. The way in which such inaccuracies are modeled characterizes the two main families of approaches to the localization problem. The first one, which is the most popular, represents the inaccuracies with probabilistic models [31,32,33,34,35,36,37,38,39,40]. In this case, maximum likelihood estimators are typically used to determine the most probable solution to the problem using iterative procedures that require an initial point relatively close to the optimal solution. Such initialization points are not easy to determine. Moreover, as remarked in [41] (p. 2549), the probabilistic approaches assume unbiased distributions, which is a hypothesis hard to validate in practice due to the existence of flex and flip ambiguities [42]. For this reason, set theoretic approaches have been proposed, where the sensor inaccuracies are bounded in given intervals, but where not assumption is taken about the error distribution inside such ranges [43]. The method proposed in this paper belongs to this second family of approaches.
The space where the problem is formalized gives another broad classification of localization methods. In this case, the dominant approach formalizes the sensor localization in Cartesian space [24,44,45,46,47,48] introducing arbitrary reference frames, anchor nodes, and non-linearities when transforming distances to coordinates. A better alternative, explored herein, is to reduce the location uncertainty directly in distance space and compute coordinates only when uncertainties are reduced using a process of error propagation [18,42,49,50,51,52]. Moreover, like the method described in [53], our approach does not require anchor nodes for the range reduction since they are only used, if available, when computing coordinates.
A popular approach operating in distance space is Multidimensional Scaling (MDS) [49]. In this approach, an initial estimation for the missing distances is refined by projecting the distance matrix to the cone of positive semidefinite matrices to obtain the closer valid distance matrix in the least square sense. In related approaches, semidefinite programming [50,51,54,55] and simulated annealing [42,47] are used to obtain better approximations in the cone of semidefinite matrices and to avoid local minima. Such approaches assume a probabilistic model of the error, operate on points, can not guarantee the final solution to be inside pre-define ranges, and only provide good results if the number of known distances is relatively large. In the extreme case in which enough distances are initially known, trilateration methods can be used to determine the location of the sensors using a greedy procedure [11,20,52,56]. While the methods that project to the cone of semidefinite matrices only provide one solution to the problem, trilateration-based methods can deliver all the valid solutions. Actually, the determination of all the valid localizations is a fundamental problem in distance-based sensor localization [41]. The approach presented in this paper is related to the MDS method in the sense that it also decomposes a given matrix to determine valid coordinates for the sensors to localize. However, our approach adopts a set theoretic approach which guarantees the solutions to be inside the given ranges and, like in the trilateration approaches, it determines all the valid solutions for a given localization problem. Additionally, a relevant distinctive feature of the approach is that it can incorporate orientation constraints to avoid flip ambiguities, focusing only on the valid solutions. To the best of our knowledge, no other distance-based approaches exist able to integrate the orientation constraints in the search process for arbitrary dimensional problems. Moreover, the method is also able to deal with flex ambiguities providing a complete approximation of the set of valid locations if such ambiguities occur.
Finally, in sensor networks there is a difference between centralized and distributed localization systems [38,57,58]. In principle, the latter offer better scalability and they are energetically more efficient, but they must be carefully designed to ensure convergence and to control the error propagation. While the approach introduced in this paper can be combined with distributed approaches that fuse local position estimations [59], we describe it as a centralized procedure to simplify the presentation.
Summarizing, this paper presents a sensor localization system able to integrate distance and orientation information, which operates in distance space to avoid non-linearities and arbitrary reference frames, without making any assumption on the distribution of errors in the input data, and that is able to determine all the solutions of the given problem without any initial estimation, even if the solution set is a flex. All these features make the proposed system a unique approach in the field.
3. Problem Formalization
The general problem addressed here can be formalized as follows. Given , with , the square of , the distance between points and in , and , the desired relative orientation between any two q-dimensional simplices sharing hyperface F defined by , and with apexes at and , the objective is to find all the possible coordinates for the points up to rigid transformations, such that the given distance and orientation constraints are fulfilled. Typically, q is 2 or 3 and, by convention, is set to if the two simplices must be on the same side of the hyperplane defined by F, if they have to be on opposite sides of this hyperplane, and 0 if their relative orientation is not fixed.
Since rigid transformations have to be disregarded, the coordinates of one of the points, say , can be arbitrarily fixed to and the rest of the yet unknown coordinates can be arranged in a matrix
| (1) |
Then, the matrix
| (2) |
is known as the Gram matrix. If all the squared inter-point distances are know, the entries of this matrix can be computed using the cosine law, without resorting to the coordinates
| (3) |
with α the angle between and .
Schoenberg showed that a set of inter-point distances can be embedded in if and only if is a positive semidefinite matrix with range q [60]. In this case, the first q steps of the Cholesky factorization of are feasible and generate , from which the desired coordinates can be readily determined [16]. Thus, in the context of Distance Geometry, the Cholesky factorization can be interpreted as a process of determining the q-dimensional coordinates of a set of points from their pair-wise distances. The first step of the factorization gives the first coordinate for all the points (i.e., the first column of ) and defines a set of distances in a dimensional space that, once recursively processed, provides the remaining columns of .
Thus, if all the pair-wise distances are know, the Cholesky factorization yields the desired set of coordinates. However, due to characteristics of the problem or to sensor range limitations, in general only few of the input distances are know [61]. The rest of them are corrupted with noise and systematic errors, which are assumed bounded, but without any particular noise probability distribution inside the bounds [43]. Thus, distances may be exactly known (in which case the initial lower and upper bounds coincide), unknown (in which case the initial range goes from zero to infinity), or estimated using sensor information (in which case an initial finite range is known). The Cartesian product of such ranges defines an initial box, i.e., an orthotope, in distance space which includes the solutions for the problem at hand.
The approach proposed here to find all the solutions in the given initial box is based on the recursive Cholesky factorization and it is illustrated in Figure 1. Let’s suppose that we have five points, , , , , and , and that all the distances between them are known, except . Thus, in this example, the initial search space is , i.e., a one-dimensional box. Fixing , , and , point can be placed at two locations relative to the plane defined by , , and . The approach proposed in this paper first projects the points to a plane orthogonal to to obtain , , , and . Then, these points are projected to a line orthogonal to to obtain , , and . Actually, the projections are not explicitly computed, but the distance between projected points is directly obtained. Two possible values exist for the distance between and , and . If no orientation constraint is introduced in this problem the range for this distance must include these two values, i.e., . This range once back-projected (i.e., when undoing the projection steps) gives a range for , , tighter than the initial search box. This range can not be further reduced by projection and back-projection and, thus, to isolate the two solutions of this problem the branch-and-bound approach illustrated in Figure 2 is adopted. The obtained range is split in two sub-ranges, and with , which are processed independently to isolate the two solutions. However, if an orientation constraint is introduced indicating, for instance, that and must be at opposite sides of the plane defined by , , and , only one of the two solutions is valid. This solution can be directly identified in a single iteration and without any range division fixing to , which once back-projected gives a single value for .
Figure 1.
Schematic illustration of the projection and back-projection range reduction procedure proposed in this paper. See the text for details.
Figure 2.
Searching for two solutions (indicated by crosses) in a two-dimensional distance space using a branch-and-prune approach. The initial search space (light gray rectangle on the left plot) is reduced as much as possible, but without leaving out any solution. The result is the middle-gray rectangle. Then this space is bisected and the search is repeated independently in the two resulting sub-spaces, as shown in the right part of the figure. Finally, the solutions are isolated as small boxes in distance space (the dark-gray squares around the crosses).
Schoenberg’s characterization of feasibility has been exploited projecting incomplete distance matrices to the cone of semidefinite matrices with the aim of determining one valid set of coordinates [49,50,51,54], while we are interested in all the possible ones in the given input intervals. Cholesky methods for interval matrices exist and might be used [62,63], but they assume a Gram matrix with uncorrelated entries, which is not our case, as it can be concluded from Equation (3) since several entries of involve the same squared distances. These correlations induce overestimations in interval arithmetics [64]. Consider, for instance, that we want to determine the range of
| (4) |
with . Plain interval arithmetics evaluates f as if its two terms were independent
| (5) |
while the actual range of f in the given domain is . The method presented in [21] interprets the Cholesky factorization geometrically to deal with distance constraints, but it is based on interval arithmetics and, thus, it is also affected by the overestimation issue.
In the approach presented in this paper, the correlations are taken into account to provide tighter range evaluations and, thus, a faster convergence to the solutions. Note, however, that since we are working with ranges and not with points Schoenberg’s approach only provides necessary conditions for realizability. Thus, the method presented next is based on necessary conditions that progressively isolate the solution set.
4. Isolating the Solution Set via Projections and Back-Projections
Next, we describe the three basic steps of the proposed method: projection on a given hyperplane, distance range reduction, and back-projection. Projections on different hyperplanes can be used to reduce the ranges and, when no further reduction is possible, the largest distance range is split at its central point and the two resulting sub-problems are treated independently. This process is iterated until the solution set is isolated with a desired accuracy. In this process some empty boxes, i.e., boxes resulting from a bisection which include no solutions, may be generated. The performance of a branch-and-prune solver can be evaluated by the number of empty boxes generated, i.e., the lower the better since the ideal algorithm would converge directly to the solutions without exploring empty boxes.
4.1. Projection
Figure 3, illustrates a single step of the Cholesky factorization of the Gramian associated with a distance matrix. For instance, the element is decomposed into , the projection of on the axis defined by , and , the projection on the dimensional space orthogonal to this axis. Projections , with , give the first column of in Equation (2) and the recursive analysis of matrix with would provide the remaining columns of this matrix.
Figure 3.
Projecting distances on the axis defined by and on its orthogonal complement.
Formally, is
| (6) |
which, by the cosine rule becomes
| (7) |
The square of the projection in the subspace orthogonal to the vector pointing from to is
| (8) |
The interval evaluation of Equations (7) and (8) would produce overestimation [21] since, for instance, and, thus, appears twice in them. Tighter estimations can be obtained using the monotonicity analysis introduced in [15], which we recall next.
If a function is monotone in a given domain, it is clear that its extrema are the boundary of the domain. Moreover, if the domain is an axis-aligned box, as it is our case, we can appeal the following well-known proposition to find exact bounds without overestimation:
Proposition 1.
[65]. Let be a tuple of q real interval-valued variables defining an axis-aligned box such that , and let . If f is continuous and locally monotonic with respect to each argument, then
and
where is the set of vertices of the box defined by x.
If the derivatives of f with respect to are know, then the vertices defining the extrema can be identified without the need of evaluating f in all of them: the maximum would correspond to the vertex where, for , is if and otherwise. The minimum would be in a vertex defined with the opposite criterion. Therefore, the analysis of the sign of reveals the monotonic domains for f as a function of . Moreover, the boundaries between monotonic domains, i.e., the points where the derivative is 0, have to be analyzed separately, considering also the monotonicity, since they may include the extrema of f, as illustrated in Figure 4.
Figure 4.
Schematic illustration of how to determine the exact bounds of analyzing its monotonicity. We have to consider the value of the function in selected corners of the domain and the sub-spaces where or where , if such conditions may hold in the domain. These sub-spaces have to be recursively analyzed. For instance, the plot at the right shows this analysis for the first case. The evaluation of f on and gives , the upper bound of this function in the prescribed domain. In this example, the lower bound is obtained in the analysis of the sub-space where . Figure adapted from [15].
Applying this monotonicity analysis to as defined in Equation (7), we obtain
| (9) |
| (10) |
| (11) |
The first two derivatives are positive and negative, respectively, and thus the maximum of can only be at and and the minimum at and . If Equation (11) is also monotone, only the corresponding limit, or , need to be considered. However, if the ranges of and intersect, Equation (11) could vanish and the extrema of can be in the subspace where , which must be analyzed separately. In this situation, shown in Figure 5, is orthogonal to , and thus
| (12) |
which is monotone in both and . Therefore, the maximum of in Equation (12) is at and and the minimum at and . Thus, if can be orthogonal to , these points must be considered as potential extrema of .
Figure 5.
Special situation where is orthogonal to . This case has to be considered separately in the monotonicity analysis of .
The monotonicity analysis for as defined in Equation (8) requires computing
| (13) |
| (14) |
| (15) |
These three derivatives are monotone, except for or . In the first case, we have that
| (16) |
and, in the second one,
| (17) |
Both expressions are linear and, thus, monotone.
A similar monotonicity analysis can be done for , with , and for the corresponding to obtain tight ranges for all of them.
4.2. Range Reduction
When the projection process is repeated times, the problem becomes one-dimensional and all ranges should correspond to distances between points on a line. Then, the congruence between the ranges can be enforced using the triangular equality [66]. However, in our case, orientation constraints can be exploited to further reduce the ranges, as detailed in Algorithm 1. This algorithm is a variant of the Floyd-Warshall method to determine the shortest paths between all pairs of nodes in a weighted graph [5]. The distance between two points, and , is the shortest possible via any intermediate point . Since distances are not signed, when considering a triplet , , and , we have to consider the case where vectors and have the same or opposite orientations on the line (see Figure 1). This gives two possible values for , and (see lines 5 and 9 in Algorithm 1) and the range for this distance must be set to the interval hull of both of them, i.e., the smallest interval containing the two given solution ranges. Function HULL in line 12 of Algorithm 1 implements this procedure. Note that and that, by convention, .
If with and , is set to 1 or , and the original problem is projected using the axes defined by , the orientation of the triplet , , and is fixed, i.e., in the projected problem has the same value as in the original problem. This is illustrated in Figure 1, where the relative orientation of the tetrahedra formed by , and translates to a particular orientation of vector with respect to vector . This can be exploited to consider only one of the two solutions of the triangular equality. Since all the possible combinations of projections are iteratively used in the algorithm, all the orientations fixed in the original problem are eventually used when reducing the ranges.
The reduction in the orthogonal subspace can be translated to the projection axis defined by taking into account that, as shown in Figure 6, must be at distance from and at distance from , i.e.,
| (18) |
| (19) |
Figure 6.
Possible location of for the given ranges of and and the corresponding projections on the axis defined by , , and on its orthogonal complement, . A reduction in the range of can be translated into a reduction of the range of .
Thus,
| (20) |
Once the ranges for with are clipped, the triangular equality can be used to propagate the reductions to the other projections on the axis defined by .
| Algorithm 1: Range reduction using distance and orientation constraints. |
| ReduceRange(D) input: The matrix of squared distances output: The reduced matrix of squared distances.
|
4.3. Back-Projection
The reduced ranges on the projected sub-spaces can be back-projected to recover possibly reduced distance ranges in the original space taking into account that, as shown in Figure 3,
| (21) |
and
| (22) |
The expression in Equation (21) is monotone and, for Equation (22), we have
| (23) |
| (24) |
| (25) |
that are monotone except for . In this case
| (26) |
which is monotone both in and in .
The improvement of the projection and back-projection procedures based on the monotonicity analysis presented in this paper with respect to those presented in [21] based on interval arithmetics are illustrated in Figure 7 for a particular example. The figure shows the accuracy in the approximation of the solution set for a problem with two isolated solutions and a one-dimensional flex. The approach using standard interval-based projection and back-projection correctly isolates the solutions, but, for the flex, the approximation is rough and irregular. With the same parameters, the projection and back-projection methods based on the monotonicity analysis generate a more regular and accurate approximation. This example also illustrates that the proposed approach can deal with problems even if they include flex ambiguities, which are hardly considered in previous works.
Figure 7.
Approximation of the solution space for a problem with two isolated solutions and a one-dimensional flex. The isolated solutions are encircled to make them visible. (a) Using a projection and back-projection relying on standard interval arithmetics we obtain a rough approximation of the flex. (b) Using the monotonicity-based alternative introduced in this paper over-estimations are avoided and the flex is tightly bounded.
5. Experiments
To illustrate the localization method introduced in this paper, we apply it to solve the localization of a fleet of robots carrying sensors to survey a flat environment and the position analysis of a sensor moved by a parallel manipulator. A non-optimized and non-parallelized Matlab implementation of the approach introduced in this paper including the examples described next is attached to this paper as multimedia material.
5.1. Localization of Networked Mobile Robots
Networked mobile robots interact over a signal exchange network for its coordinated operation and behavior. Such systems have applications in diverse areas of science and engineering such as rescue operations [67], networked vehicles [68] or distributed arrays of sensors [69].
Robot teams can exploit collaboration to maintain global positioning as they move through space. Each robot can be equipped, for instance, with an infrared sensor and a camera to estimate its distance to the teammates [70]. Moreover, the camera provides information about the relative bearing of the robot with respect to the rest of the team. Thus, the global positioning of the team must fulfill a set of distance and orientation constraints as the ones given in Section 3.
Since the distance measurements are noisy, or simply missing due to the limited range of the infrared sensors, maximum-likelihood estimators that determine the most probable position of all the robots have been used in the past [71]. Nevertheless, it is difficult to give realistic probability density functions of the sensor readings due to the complexity of the physical process on which the estimated distance is based. Instead, if we simply assume that errors in measurements are bounded, it is possible to apply a Distance Geometry approach to obtain tight bounds, as exemplified next.
Consider the team of six mobile robots shown in Figure 8. The maximum range of the infrared sensors is 8 meters and distances are estimated with a 3% of error. Moreover, the orientations of the triangles given by the robot’s cameras are those in the figure. For instance, with is +1. In these conditions, the sensors provide the matrix of distance ranges between the robots shown in Figure 9. Some of the distances are not measured due to sensor problems, or because the robots are further than the maximum span of the infrared sensor. Thus, for those distances we can only assume that they in the range . In the actual implementation 100 meters is used as the maximum possible distance since this is larger than the sum of all the measured distances in the problem.
Figure 8.
A fleet or robots. Each robot is equipped with an infrared sensor to measure the distances to nearby teammates. The lines in the figure represent the distances actually measured. The relative orientation of the triangles is given by cameras mounted on the robots.
Figure 9.
stands for the matrix of input ranges as provided by the infrared sensors; , for the matrix of ranges after imposing triangular inequalities; and , the matrix of ranges resulting from applying the method introduced in this paper.
After applying the triangular inequalities, i.e., the standard tool for range reduction when using Distance Geometry, the undefined ranges get bounded, as shown in matrix . Due to the ambiguities inherent to the used distance formulation, this process only produces a trivial reduction of some of the ranges. In contrast, applying the method introduced in this paper, matrix is obtained, where some of the ranges are significantly narrower than the ones obtained with the standard method. For instance is reduced from to . The plot in Figure 10 shows a graphical representation of the reduction of the ranges when we apply alternative tightening processes.
Figure 10.
The reduction of the size of the intervals for the non-measured distances in the problem when applying alternative tightening procedures.
Although not intended for this case, the proposed algorithm can be applied to the same problem, but without orientation constraints. Then, the problem has 8 solutions corresponding to the different orientations of the triangles sharing segments , , and . The procedure introduced in this paper isolates these eight solutions without generating any empty box, i.e., boxes resulting from a bisection process that do not include any solution point. Such empty boxes indicate inefficiencies in the range reduction procedures. Existing branch-and-bound approaches operating in distance space [19,21] isolate the same 8 solutions, but they generate more empty boxes in the process because such approaches rely on interval arithmetics which introduce overestimations. Moreover, there is no way to incorporate orientation constraints in these solvers to directly isolate one of the solutions.
Finally, the approach proposed in this paper may have some resemblance to the MDS method, although MDS projects distance matrices, while we implicitly project points in Cartesian space using distance information and MDS assumes a probabilistic model of the errors while we adopt a set theoretic one. Therefore, the results from both approaches are significantly different. The MDS method generates an initial distance matrix sampling in the ranges given by the sensors and approximating the rest of distances by the shortest path on the graph defined by the sampled values. The initial distance matrix is improved projecting it to the closest point in the least square sense in the cone of semidefinite matrices. In the projection, all the distances in the matrix are modified and, thus, there is no way to ensure that the result is included in the ranges provided by the sensors. Consequently, this procedure has a low probability of generating any of the actual solutions of the problem. Actually, in our tests, none out of 100 executions of the MDS procedure returned any of the 8 valid solution for the problem, which are correctly identified by the procedure introduced in this paper.
5.2. Position Analysis of a Parallel Robot
Parallel manipulators, if well calibrated, can move a sensing device with a high position and angular accuracy [72]. The octahedral parallel manipulator considered next was studied, for instance, in [73] where a closed formula for its forward position analysis is provided. However, the analytical approaches do not take into account orientation constraints such as the ones considered in this paper. The particular robot analyzed has equilateral base and platform with side 12 and 6 distance units, respectively and the leg lengths are
with these values, the platform can be positioned in six different poses with respect to the robot’s base.
Considering that this problem is three-dimensional and, thus, two consecutive projections are necessary before reducing the ranges, 150 different combinations of projection are possible. With these projections, the solutions of the position analysis are isolated after processing 23 boxes: six are solutions, six are empty boxes (i.e, boxes with no solution inside), and 11 boxes are internal nodes of the search tree. Despite the double projection introduces dependencies that are not considered when applying them as independent operations, the performance is remarkably good since very few empty boxes are generated, in comparison with the number of solutions. Figure 11 shows two views of the boxes processed by the solver when isolating the six solutions.
Figure 11.
Two views of the boxes processed to isolate the six valid poses of the octahedral manipulator. The solutions are the encircled tiny boxes. The initial box, i.e., the lighter red box, is reduced and split until the six solutions are properly isolated. It can be appreciated that only few of the processed boxes include no solution, i.e., they are empty boxes.
However, the six solutions are not equal taking into account aspects such as leg interference and the stiffness of the platform. If the following orientation constraints are added to the problem , , , , , , only the solution shown in Figure 12, which is the preferred configuration in practice, is valid. This solution is isolated after processing 7 boxes (1 solution, 3 empty, and 3 intermediate boxes). These boxes are represented in Figure 13. The solver effectively takes advantage of the orientation constraints since the number of processed boxes significantly reduces when taking them into account. Previous approaches either analytical or numerical would produce the same result with or without orientation constraints since they only consider them in a post-process stage.
Figure 12.

Solution of the direct kinematics of the octahedral manipulator obtained when considering orientation constraints.
Figure 13.
Boxes processed when introducing orientation constraints in the direct kinematics problem for the octahedral manipulator. The solution is the encircled tiny box.
6. Conclusions
This paper extends a projection and back-projection method for solving systems of distance constraints to consider orientation constraints as well, and provides new procedures for its three basic steps: the projection, the range reduction, and the back-projection. The novel projection and back-projections are based on a monotonicity analysis that avoids the overestimations introduced when using standard interval arithmetics. The proposed procedures give an effective solver that is conceptually simple and whose basic operations can be easily parallelized. This opens a wide range of applications for Distance Geometry in fields such as Robotics, structural biology, nano-technology, or network sensors.
The presented experiments prove the feasibility of the proposed method, but it can be improved in many directions. For instance, several (combinations of) projections can be used in each problem, but not all of them contribute equally to the range reduction. Thus, it is our objective to further analyze the projection procedure to characterize the best projections.
Acknowledgments
This work has been partially supported by by the Spanish Ministry of Economy and Competitiveness under project DPI2014-57220-C2-2-P.
Supplementary Materials
The following are available online at http://www.mdpi.com/1424-8220/16/7/1096/s1. The Matlab implementation of the method presented in this paper is available as a supplementary material attached to this paper.
Author Contributions
Josep M. Porta, Aleix Rull, and Federico Thomas conceived and designed the experiments, performed the experiments, analyzed the data, and wrote the paper in equal contribution. Authors are listed alphabetically.
Conflicts of Interest
The authors declare no conflict of interest.
References
- 1.Puccinelli D., Haenggi M. Wireless sensor networks: Applications and challenges of ubiquitous sensing. IEEE Circuits Syst. Mag. 2005;5:19–31. doi: 10.1109/MCAS.2005.1507522. [DOI] [Google Scholar]
- 2.Wang J., Kim J.U., Shu L., Niu Y., Lee S. A distance-based energy aware routing algorithm for wireless sensor networks. Sensors. 2010;10:9493–9511. doi: 10.3390/s101009493. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Duran O., Althoefer K., Seneviratne L.D. State of the art in sensor technologies for sewer inspection. IEEE Sens. J. 2002;2:73–81. doi: 10.1109/JSEN.2002.1000245. [DOI] [Google Scholar]
- 4.Angrisani L., Bechou L., Dallet D., Daponte P., Ousten Y. Detection and location of defects in electronic devices by means of scanning ultrasonic microscopy and the wavelet transform. Measurement. 2002;31:77–91. doi: 10.1016/S0263-2241(01)00032-X. [DOI] [Google Scholar]
- 5.Havel R.F. Encyclopedia of Computational Chemistry. John Wiley & Sons, Ltd.; Hoboken, NJ, USA: 1998. Distance geometry: Theory, algorithms, and chemical applications; pp. 723–741. [Google Scholar]
- 6.Rojas N., Thomas F. The univariate closure conditions of all fully-parallel planar robots derived from a single polynomial. IEEE Trans. Robot. 2013;29:758–765. doi: 10.1109/TRO.2013.2242376. [DOI] [Google Scholar]
- 7.Crippen G., Havel T.F. Distance Geometry and Molecular Conformation. Research Studies Press; Baldock, UK: 1998. [Google Scholar]
- 8.Billinge S.J.L., Levin I. The problem with determining atomic structure at the nanoscale. Science. 2007;316:561–565. doi: 10.1126/science.1135080. [DOI] [PubMed] [Google Scholar]
- 9.Rojas N., Thomas F. The forward kinematics of 3-RPR planar robots: A review and a distance-based formulation. IEEE Trans. Robot. 2011;27:143–150. doi: 10.1109/TRO.2010.2092251. [DOI] [Google Scholar]
- 10.Thomas F. A distance geometry approach to the singularity analysis of 3R robots. ASME J. Mech. Robot. 2015;8:011001. doi: 10.1115/1.4029500. [DOI] [Google Scholar]
- 11.Thomas F., Ros L. Revisiting trilateration for robot localization. IEEE Trans. Robot. 2005;21:93–101. doi: 10.1109/TRO.2004.833793. [DOI] [Google Scholar]
- 12.Moreno-Salinas D., Pascoal A., Aranda J. Sensor networks for optimal target localization with bearings-only measurements in constrained three-dimensional scenarios. Sensors. 2013;13:10386–10417. doi: 10.3390/s130810386. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13.Huang C.C., Chiu Y.H., Wen C.Y. Using hybrid angle/distance information for distributed topology control in vehicular sensor networks. Sensors. 2014;14:20188–20216. doi: 10.3390/s141120188. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.Dress A.W.M., Havel T. Bound smoothing under chirality constraints. SIAM J. Discret. Math. 1991;4:535–549. doi: 10.1137/0404047. [DOI] [Google Scholar]
- 15.Rull A., Porta J.M., Thomas F. Distance bound smoothing under orientation constraints; Proceedings of the IEEE International Conference on Robotics and Automation; Seattle, WA, USA. 26–30 May 2015; pp. 1431–1436. [Google Scholar]
- 16.Blumenthal L.M. Theory and Applications of Distance Geometry. Oxford University Press; Oxford, UK: 1953. [Google Scholar]
- 17.Havel T. Encyclopedia of Nuclear Magnetic Resonance. Wiley; New York, NY, USA: 1995. Distance geometry; pp. 1701–1710. [Google Scholar]
- 18.Cao M., Anderson B.D.O., Morse A.S. Localization with imprecise distance information in sensor networks; Proceedings of the Joint IEEE Conference on Decision and Control and European Control Conference; Seville, Spain. 12–15 December 2005; pp. 2829–2834. [Google Scholar]
- 19.Porta J.M., Ros L., Thomas F., Torras C. A branch-and-prune algorithm for solving systems of distance constraints; Proceedings of the IEEE International Conference on Robotics and Automation; Taipei, Taiwan. 14–19 September 2003; pp. 342–348. [Google Scholar]
- 20.Porta J.M., Ros L., Thomas F. Inverse kinematics by distance matrix completion; Proceedings of the 4th International Workshop on Computational Kinematics; Cassino, Italy. 4–6 May 2005. [Google Scholar]
- 21.Thomas F. Solving geometric constraints by iterative projections and backprojections; Proceedings of the 2004 IEEE International Conference on Robotics and Automation; New Orleans, LA, USA. 26 April–1 May 2004; pp. 1789–1795. [Google Scholar]
- 22.Carter G. Time delay estimation for passive sonar signal processing. IEEE Trans. Acoust. Speech Signal Process. 1981;29:463–470. doi: 10.1109/TASSP.1981.1163560. [DOI] [Google Scholar]
- 23.Gardner W.A., Chen C.K. Signal-selective time-difference- of-arrival estimation for passive location of man-made signal sources in highly corruptive environments. I. Theory and method. IEEE Trans. Signal Process. 1992;40:1168–1184. doi: 10.1109/78.134479. [DOI] [Google Scholar]
- 24.Romer K. The lighthouse location system for smart dust; Proceedings of the ACM/USENIX Conference on Mobile Systems, Applications, and Services; San Francisco, CA, USA. 5–8 May 2003; pp. 15–30. [Google Scholar]
- 25.Rappaport T., Reed J., Woerner B. Position location using wireless communications on highways of the future. IEEE Commun. Mag. 1996;34:33–41. doi: 10.1109/35.544321. [DOI] [Google Scholar]
- 26.Roy R., Kailath T. ESPRIT-estimation of signal parameters via rotational invariance techniques. IEEE Trans. Acoust. Speech Signal Process. 1989;37:984–995. doi: 10.1109/29.32276. [DOI] [Google Scholar]
- 27.Schell S.V., Gardner W.A. Handbook of Statistics. Volume 10. Elsevier; Amsterdam, The Netherlands: 1993. High-resolution direction finding; pp. 755–817. [Google Scholar]
- 28.Bahl P., Padmanabhan V. RADAR: An in-building RF-based user location and tracking system; Proceedings of the Nineteenth Annual Joint Conference of the IEEE Computer and Communications Societies; Tel Aviv, Israel. 26–30 March 2000; pp. 775–784. [Google Scholar]
- 29.Roos T., Myllymaki P., Tirri H. A statistical modeling approach to location estimation. IEEE Trans. Mob. Comput. 2002;1:59–69. doi: 10.1109/TMC.2002.1011059. [DOI] [Google Scholar]
- 30.Ni L.M., Yunhao L., Cho L.Y., Patil A.P. LANDMARC: Indoor location sensing using active RFID; Proceedings of the IEEE International Conference on Pervasive Computing and Communications; Fort Worth, TX, USA. 23–26 March 2003; pp. 407–415. [Google Scholar]
- 31.Stanfield R.G. Statistical theory of DF finding. J. IEE. 1947;94:762–770. [Google Scholar]
- 32.Ancker C.J. Airborne direction finding—Theory of navigation errors. IRE Trans. Aeronaut. Navig. Electron. 1958;5:199–210. doi: 10.1109/TANE3.1958.4201630. [DOI] [Google Scholar]
- 33.Foy W.H. Position-location solutions by Taylor-series estimation. IEEE Trans. Aerosp. Electron. Syst. 1976;12:187–194. doi: 10.1109/TAES.1976.308294. [DOI] [Google Scholar]
- 34.Torrieri D.J. Statistical theory of passive location systems. IEEE Trans. Aerosp. Electron. Syst. 1984;20:183–198. doi: 10.1109/TAES.1984.310439. [DOI] [Google Scholar]
- 35.Porta J.M., Terwijn B., Krose B. Efficient entropy-based action selection for appearance-based robot localization; Proceedings of the IEEE International Conference on Robotics and Automation; Taipei, Taiwan. 14–19 September 2003; pp. 2842–2847. [Google Scholar]
- 36.Patwari N., Hero A.O., Perkins M. Relative location estimation in wireless sensor networks. IEEE Trans. Signal Process. 2003;51:2137–2148. doi: 10.1109/TSP.2003.814469. [DOI] [Google Scholar]
- 37.Ihler A., Fisher I., Moses J.W.R. Nonparametric belief propagation for self-localization of sensor networks. IEEE J. Sel. Areas Commun. 2005;23:809–819. doi: 10.1109/JSAC.2005.843548. [DOI] [Google Scholar]
- 38.Olfati-Saber R. Distributed Kalman filtering for sensor networks; Proceedings of the 46th IEEE Conference on Decision and Control; New Orleans, LA, USA. 12–14 December 2007; pp. 5492–5498. [Google Scholar]
- 39.Reza-Gholami M., Wymeersch H., Ström E.G., Rydström M. Wireless network positioning as a convex feasibility problem. EURASIP J. Wirel. Commun. Netw. 2011;161:1–15. [Google Scholar]
- 40.Piovan G., Shames I., Fidan B., Bullo F., Anderson B.D.O. On frame and orientation localization for relative sensing networks. Automatica. 2013;49:206–213. doi: 10.1016/j.automatica.2012.09.014. [DOI] [Google Scholar]
- 41.Mao G., Fidan B., Anderson B.D.O. Wireless sensor network localization techniques. Comput. Netw. 2007;51:2529–2553. doi: 10.1016/j.comnet.2006.11.018. [DOI] [Google Scholar]
- 42.Kannan A., Mao G., Vucetic B. Simulated annealing based wireless sensor network localization with flip ambiguity mitigation; Proceedings of the IEEE Vehicular Technology Conference; Melbourne, Australia. 7–10 May 2006; pp. 1022–1026. [Google Scholar]
- 43.Walter E., Piet-Lahanier H. Estimation of parameter bounds from bounded-error data: A survey. Math. Comput. Simul. 1990;32:449–468. doi: 10.1016/0378-4754(90)90002-Z. [DOI] [Google Scholar]
- 44.Bancroft S. Algebraic solution of the GPS equations. IEEE Trans. Aerosp. Electron. Syst. 1985;21:56–59. doi: 10.1109/TAES.1985.310538. [DOI] [Google Scholar]
- 45.Fang B.T. Simple solutions for hyperbolic and related position fixes. IEEE Trans. Aerosp. Electron. Syst. 1990;26:748–753. doi: 10.1109/7.102710. [DOI] [Google Scholar]
- 46.Gavish M., Weiss A. Performance analysis of bearing-only target location algorithms. IEEE Trans. Aerosp. Electron. Syst. 1992;28:817–828. doi: 10.1109/7.256302. [DOI] [Google Scholar]
- 47.Kannan A.A., Mao G., Vucetic B. Simulated annealing based localization in wireless sensor network; Proceedings of the IEEE Conference on Local Computer Networks; Sydney, Australia. 15–17 November 2005; pp. 513–514. [Google Scholar]
- 48.Tarrío P., Bernardos A.M., Casar J.R. Weighted least squares techniques for improved received signal strength based localization. Sensors. 2011;11:8569–8592. doi: 10.3390/s110908569. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 49.Shang Y., Ruml W., Zhang Y., Fromherz M. Localization from connectivity in sensor networks. IEEE Trans. Parallel Distrib. Syst. 2004;15:961–974. doi: 10.1109/TPDS.2004.67. [DOI] [Google Scholar]
- 50.Doherty L., Pister K., Ghaoui L.E. Convex position estimation in wireless sensor networks; Proceedings of the Twentieth Annual Joint Conference of the IEEE Computer and Communications Societies; Anchorage, AK, USA. 22–26 April 2000; pp. 1655–1663. [Google Scholar]
- 51.Biswas P., Ye Y. Semidefinite programming for ad hoc wireless sensor network localization; Proceedings of the International Symposium on Information Processing in Sensor Networks; Los Angeles, CA, USA. 25–27 April 2000; pp. 46–54. [Google Scholar]
- 52.Aspnes J., Eren T., Goldenberg D., Morse A., Whiteley W., Yang Y., Anderson B.D.O., Belhumeur P. A theory of network localization. IEEE Trans. Mob. Comput. 2006;5:1663–1678. doi: 10.1109/TMC.2006.174. [DOI] [Google Scholar]
- 53.Xu Y., Ouyang Y., Le Z., Ford J., Makedon F. Distributed Computing in Sensor Systems. Volume 4549. Springer; Berlin, Germany: 2007. Mobile anchor-free localization for wireless sensor networks; pp. 96–109. [Google Scholar]
- 54.Alfakih A., Khandani A., Wolkowicz H. Solving Euclidean distance matrix completion problems via semidefinite programming. Comput. Optim. Appl. 1999;12:13–30. doi: 10.1023/A:1008655427845. [DOI] [Google Scholar]
- 55.Biswas P., Lian T., Wang T., Ye Y. Semidefinite programming based algorithms for sensor network localization. ACM Trans. Sens. Netw. 2006;2:188–220. doi: 10.1145/1149283.1149286. [DOI] [Google Scholar]
- 56.Porta J.M., Ros L., Thomas F. On the trilaterable six-degree-of-freedom parallel and serial manipulators; Proceedings of the IEEE International Conference on Robotics and Automation; Barcelona, Spain. 18–22 April 2005; pp. 960–967. [Google Scholar]
- 57.Savarese C., Rabaey J. Robust positioning algorithms for distributed ad-hoc wireless sensor networks; Proceedings of the USENIX Annual Technical Conference; Monterey, CA, USA. 10–15 June 2002; pp. 317–327. [Google Scholar]
- 58.Nagpal R., Shrobe H., Bachrach J. Organizing a global coordinate system from local information on an ad hoc sensor network; Proceedings of the International Workshop on Sensor Networks; Palo Alto, CA, USA. 22–23 April 2003. [Google Scholar]
- 59.Capkun S., Hamdi M., Hubaux J. GPS-free positioning in mobile ad-hoc networks; Proceedings of the 34th Annual Hawaii International Conference on System Sciences; Maui, HI, USA. 3–6 January 2001; pp. 3481–3490. [Google Scholar]
- 60.Schoenberg I.J. Remarks on a F. Fréchet’s article. Ann. Math. 1935;36:724–732. doi: 10.2307/1968654. [DOI] [Google Scholar]
- 61.He K., Xu T., Förste C., Petrovic S., Barthelmes F., Jiang N., Flechtner F. GNSS precise kinematic positioning for multiple kinematic stations based on a priori distance constraints. Sensors. 2016;16 doi: 10.3390/s16040470. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 62.Alefeld G., Mayer G. The Cholesky method for interval data. Linear Algebra Its Appl. 1993;194:161–182. doi: 10.1016/0024-3795(93)90120-D. [DOI] [Google Scholar]
- 63.Garloff J. Pivot tightening for the interval cholesky method. Proc. Appl. Math. Mech. 2010;10:549–550. doi: 10.1002/pamm.201010267. [DOI] [Google Scholar]
- 64.Alefeld G., Herzberger J. Introduction to Interval Computations. Academic Press; Orlando, FL, USA: 1983. [Google Scholar]
- 65.Untiedt E., Lodwick W. Using gradual numbers to analyze non-monotonic functions of fuzzy intervals; Proceedings of the Annual Meeting of the North American Fuzzy Information Processing Society; New York, NY, USA. 19–22 May 2008. [Google Scholar]
- 66.Dress A., Havel T. Shortest-path problems and molecular conformation. Discret. Appl. Math. 1988;19:129–144. doi: 10.1016/0166-218X(88)90009-1. [DOI] [Google Scholar]
- 67.Nagatani K., Okada Y., Tokunaga N., Kiribayashi S., Yoshida K., Ohno K., Takeuchi E., Tadokoro S., Akiyama H., Noda I., et al. Multirobot exploration for search and rescue missions: A report on map building in RoboCupRescue 2009. J. Field Robot. 2011;28:373–387. doi: 10.1002/rob.20389. [DOI] [Google Scholar]
- 68.Girard A.R., Borges de Sousa J., Hedrick J.K. A selection of recent advances in networked multivehicle systems. Proc. Inst. Mech. Eng. I J. Syst. Control Eng. 2005;219:1–14. doi: 10.1243/095440705X9425. [DOI] [Google Scholar]
- 69.Poduri S., Sukhatme G. Constrained coverage for mobile sensor networks; Proceedings of the 2004 IEEE International Conference on Robotics and Automation; New Orleans, LA, USA. 26 April–1 May 2004; pp. 165–171. [Google Scholar]
- 70.Lázaro J.L., Cano A.E., Fernández P.R., Luna C.A. Sensor for distance estimation using FFT of images. Sensors. 2009;9:10434–10446. doi: 10.3390/s91210434. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 71.Hahnel D., Burgard W., Fox D., Fishkin K., Philipose M. Mapping and localization with RFID technology; Proceedings of the 2004 IEEE International Conference on Robotics and Automation; New Orleans, LA, USA. 26 April–1 May 2004; pp. 1015–1020. [Google Scholar]
- 72.Traslosheros A., Sebastián J.M., Torrijos J., Carelli R., Castillo E. An inexpensive method for kinematic calibration of a parallel robot by using one hand-held camera as main sensor. Sensors. 2013;13:9941–9965. doi: 10.3390/s130809941. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 73.Rojas N., Borras J., Thomas F. The octahedral manipulator revisited; Proceedings of the IEEE International Conference on Robotics and Automation; Saint Paul, MN, USA. 14–18 May 2012; pp. 2293–2298. [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.












