Abstract
The existence of multiple solutions to an attitude determination problem impacts the design of estimation schemes, potentially increasing the errors by a significant value. It is therefore essential to identify such cases in any attitude problem. In this paper, the cases where multiple attitudes satisfy all constraints of a three-vehicle heterogeneous formation are identified. In the formation considered herein, the vehicles measure inertial references and relative line-of-sight vectors. Nonetheless, the line of sight between two elements of the formation is restricted, and these elements are denoted as deputies. The attitude determination problem is characterized relative to the number of solutions associated with each configuration of the formation. There are degenerate and ambiguous configurations that result in infinite or exactly two solutions, respectively. Otherwise, the problem has a unique solution. The degenerate configurations require some collinearity between independent measurements, whereas the ambiguous configurations result from symmetries in the formation measurements. The conditions which define all such configurations are determined in this work. Furthermore, the ambiguous subset of configurations is geometrically interpreted resorting to the planes defined by specific measurements. This subset is also shown to be a zero-measure subset of all possible configurations. Finally, a maneuver is simulated to illustrate and validate the conclusions. As a result of this analysis, it is concluded that, in general, the problem has one attitude solution. Nonetheless, there are configurations with two or infinite solutions, which are identified in this work.
1. Introduction
Attitude determination is the computation of the angular relation between different frames in a given moment. Information about attitude serves a critical role in autonomous navigation of any system. It has been well studied since the dawn of spacecraft technology, when one of the most recognized methods, the Tri-Axial Attitude Determination (TRIAD) algorithm, was developed [1]. This algorithm constructs two triads of orthonormal reference and observation vectors from two non-collinear vector references and observations, which are related by a unique orthogonal matrix. Shortly after, Wahba formulated an optimization problem combining several measurements into a cost function [2]. This problem has remained central in attitude determination, hence many methods for its solution exist. A widely known and employed solution is the Quaternion Estimator (QUEST) algorithm [3], which makes use of the quaternion representation of a rotation matrix. Moreover, there are more recent approaches, such as the fast linear quaternion attitude estimator (FLAE), which can reduce the computational time while having similar accuracy to other methods, as described in [4]. As the variety of applications for autonomous systems expanded, the interest in vehicle formations has grown, because of their potential to solve complex problems with simpler and cheaper individual systems [5], while being more flexible and more fault tolerant, as a whole, than other systems. Their practical applications are numerous and use all kinds of vehicles. For instance, [6] describes a problem for platoons of underwater vehicles, [7] describes a range of applications with unmanned aerial vehicles, whereas [8] presents a survey with applications, both real and potential, for cooperative systems of vehicles, including scenarios with ground, aerial, and marine vehicles working together.
Attitude determination in the context of formations may be challenging, specially if there are constraints that prevent individual vehicles of measuring their own attitude. The three-vehicle formation considered in [9] is constrained to have all measurements in the same plane. Its attitude determination problem is solved considering first both the inertial positions and relative bearing measurements, then parallel relative bearing measurements, and finally non-parallel relative bearing and range measurements. An application of this problem is found in [10], which considers a formation of small satellites. A similar scenario with a coplanar constraint is considered in [11], where the attitude determination problem is solved for a two-vehicle formation, while taking advantage of the observation of a common landmark. A recent attitude problem was addressed in [12], where both hand-eye and vector measurements were used to minimize a cost function and determine the relative attitude between two spacecraft. This work considers the framework laid out in [13], that is, a three-vehicle formation with both line-of-sight (LOS) measurements, relative to other vehicles, and inertial reference measurements, where the LOS observations between two of the vehicles are restricted.
This work is motivated by the lack of a complete analysis on the number of solutions for each measurement set in the attitude determination problem described in [13]. Such analysis is necessary because undesired multiple solutions can substantially affect the estimation errors. Consequently, the identification of these cases is essential for any attitude observer design applied to this specific problem, since such design must handle the potential errors associated with these cases. Otherwise, the existence of multiple solutions may cause the deviation of the estimation errors into intolerable values.
This characterization should provide a way to obtain the number of solutions for the problem without actually applying the solution. A similar analysis for two robots is shown in [14], where a wide range of minimal problems with two vehicles is characterized relative to the number of poses which solve such problems. Nonetheless, a third vehicle introduces more complexity, specifically at the level of information symmetry, which is not considered in that work.
Therefore, the main goal of this paper is to identify the number of attitude solutions of each specific set of measurements, also called a configuration of the formation, considering the framework described in [13]. Moreover, it is interesting to geometrically interpret the special configurations with multiple attitude solutions, since they provide intuition for the problem.
In this work, vision sensors are considered, although alternatives exist. Such sensors provide an accessible and reliable method to extract observations in formations, due to the variety of such sensors available and the independence from outside systems such as the Global Positioning System (GPS). Nonetheless, due to the constraints considered in this problem, the measurement of an inertial reference by each vehicle is required. This requirement allows the use of magnetometers, instead of star trackers, which are a more expensive option and generally already provide a complete inertial attitude estimate.
This formation is denominated as heterogeneous [5] because the sets of sensors, or measurements, for each vehicle are different. As an example, one vehicle has two LOS sensors measuring the relative direction to other vehicles, while the remainder only have one. The potential applications of such a formation is, for example, in multi-spacecraft observatories, in orbit far from Earth, which synthesize large aperture telescopes or long baseline interferometers [15], or even sample spatially disperse phenomena such as the Earth’s magnetotail [16]. In such context, it is desirable to have a large distance between each element of the system, because it improves resolution. Another scenario where this framework can be applied is in chained leader–follower constellations, where each spacecraft only has line of sight relative to its nearest neighbor. In all these, the advantage of the formation in [13] is that it does not require line of sight measurements between the furthermost vehicles to solve the attitude determination problem.
The contributions of this work include the full characterization of all the configurations for which there is more than one set of attitudes that satisfy all the constraints imposed by the measurements. In addition, an intuitive geometric reasoning is given for the different cases. Hence, this paper improves the special configurations’ description in [17], which was based on the analysis of the solution equations. The new results not only provide a full insight to the geometry of the problem, but also include a proof for each of the conclusions. First, the analysis focus on just two of the vehicles of the formation. Their relative and inertial attitudes are shown to have either one, two, or infinite solutions and the specific conditions for each outcome are specified. The cases with a unique solution are related to the problems in [9,11], whereas the cases with infinite solutions correspond to a loss of information in the measurement set. Then, the whole formation is shown to have either one, two, or infinite solutions. Again, the respective configurations are specified. Moreover, the cases with two solutions result from information symmetries and, as before, infinite solutions relate to information loss. Finally, the ambiguous configurations’ subset is shown to be a zero-measure subset, while the simulations show that the neighborhood of such cases is important as well, due to possible estimation errors.
This paper is organized as follows. First, recurrent notation, definitions and properties are described. Then, in Section 3, the problem and respective solution, from [13], are summarized. Section 4 initially characterizes the number of solutions for the relative and inertial attitudes with the measurements from two of the vehicles. Then, it analyzes the number of solutions for the entire formation. The distinction between the general case and some ambiguous configurations requires the analysis of the symmetry of the whole formation, which provides an extra condition for the existence of two solutions. At the end of the section, the geometric intuition for such cases is shown, followed by the proof that these ambiguous configurations are a zero measure subset. Section 5 shows a simulation of a simple maneuver which illustrates and validates the conclusions in this paper. Finally, Section 6 summarizes and comments the results obtained in this work.
2. Notation, Definitions, and Properties
Throughout this document, scalars are represented in regular typeface, whereas vectors and matrices are represented in bold, with the latter in capital case. Reference frames are represented in calligraphic typeface and between brackets, such as . Body-fixed frames are numbered and represented by the letter , with the respective number as a subscript. The symbol represents the null vector or matrix and represents the identity matrix with the appropriate dimensions. The four-quadrant inverse tangent function is denoted by , with . The set of unit vectors in is denoted by . The special orthogonal group of dimension 3, which describes proper rotations, is denoted by . The skew-symmetric matrix parameterized by ∈, which encodes the cross product between and another vector, is denoted by
with .
The rotation matrix in that transforms a given vector, in , expressed in to , , is denoted by . If a frame is not body-fixed, the respective letter is used instead. Moreover, multiple candidates for the same quantity are identified by a subscript capital case letter, such as . The rotation matrix of an angle about the axis described by the unit vector ∈ is denoted by , which is written, recalling (1), as [18]
The following properties are used recurrently throughout the paper. Let , , , , and . Then,
and
3. Problem and Solution
3.1. Problem Definition
Consider a formation with three vehicles, where , , and are the body-fixed frames of the respective vehicles and represents the inertial frame. In the proposed framework, there are two kinds of measurements: one is a LOS vector that points to the position of another vehicle and the other is an inertial reference vector, for example, a known physical field direction. All measurements are unit vectors obtained in the respective body-fixed frame. Moreover, the inertial references are known in the inertial frame.
In the formation, the main constraint is that two of the vehicles, called the deputies, cannot measure LOS vectors between them. Meaning, for example, that these two vehicles are too far from each other. Furthermore, each vehicle can measure one inertial vector independently. The vehicle that measures LOS to the other two is identified as vehicle 1 and is denominated as chief, whereas the deputies are identified as vehicles 2 and 3. The subgroup with the chief and a deputy is called a branch of the formation, hence there are two branches in this case. The branch 1–2 includes the chief and vehicle 2, whereas branch 1–3 includes the chief and vehicle 3. The geometry of the framework is represented in Figure 1.
Figure 1.
Three-vehicle heterogeneous formation.
In the figure and throughout this document, , , , represents the LOS vector from the i-th to the j-th vehicles, expressed in , and , , represents the inertial vector measured by the i-th platform, expressed in . A left superscript specifying the frame is used whenever a vector is expressed in a different frame. For example, , , is the inertial vector of the i-th vehicle, expressed in .
The problem that is here considered is that of determining all the rotation matrices, both relative (, , ) and inertial (, , ), using the measurement vectors that were described, as well as the references , , and .
3.2. Solution
The solution proposed in [13] resorts to multiple stages, as represented in Figure 2. First, the candidates for and are determined. Afterwards, these are used to obtain the candidates for . Since computing using either or is equivalent, then it is possible to disambiguate the problem. Therefore, a comparison between the candidates for is carried out. Finally, the remaining matrices are found from the disambiguated solutions for , , and . A more detailed algorithm flowchart can be found in [13].
Figure 2.
Disambiguation procedure.
3.2.1. Relative Attitude
In this section, the solution for the candidates of is provided. The solution for is omitted because it is completely analogous. The ensuing derivation also relates to the work in [11], where it is shown that using a planar constraint leads to an ambiguity. In this case, however, the problem is not constrained to a triangle, and therefore, such ambiguity cannot be resolved without extra information, which will be provided when combining the information of both branches. Hence, recall the parameterization (2) and consider the decomposition of the relative attitude given by
with and , such that verifies the constraints expressed as
and
The resulting parameters are given by
and
with
where
As evidenced in (11a), there are, in general, two candidates for . Nonetheless, it is possible to have a unique solution when is unique. The same reasoning applies to .
3.2.2. Inertial Attitude
The candidates for are computed using the TRIAD algorithm [1], which considers the relations between the inertial vectors expressed in different frames, as given by
and
However, for the characterization of the problem, it is useful to describe the candidates for as a product between two rotations, similarly to and . For that matter, consider the following alternative method for the determination of . Decompose the rotation matrix into a product between two separate rotations, as given by
with , , and . The rotation verifies (14a) and is given by
Since (15) verifies (14b) or (14c), according to which branch is being considered, then . Next, define
and
where is substituted by the candidate reference A or B, and is substituted by the candidate reference C or D. In conclusion, the inertial attitude candidate for is given by , where represents the candidate reference A, B, C, or D, accordingly, and is defined by the corresponding expression of (17). For example, consider candidate A. Then, , with obtained from substituting the relative attitude candidate in (17a). Since these results are analogous to the relative attitude solution in [13], the proof is omitted.
3.2.3. Comparison
To compare the candidates for , from different branches, consider the parameter defined by
where and represent two different candidates. This parameter is based on the dependence of the rotation matrix trace and its angle of rotation. Thus, is zero when both candidates are equal, which enables the disambiguation.
3.2.4. Complete Solution
The remaining attitude matrices, that is , , and , are obtained from a product between the attitudes already determined, see [13] for further details.
3.2.5. Sensor Errors
In the presence of sensor errors, the comparison between the inertial candidates is imperfect, hence the values of are, in general, different from zero. In that case, the solution is given by the smallest . Optionally, the pair of candidates with the lowest value of are averaged using the singular value decomposition (SVD) to obtain an improved estimate for . Nonetheless, if there are multiple values of close to zero, the minimum may not correspond to the correct solution. The characterization of the problem given in this work identifies the configurations where such situation may happen.
3.2.6. Computational Complexity
This algorithm is based on a small number of measurements and their operations are relatively simple. Computationally, the operation which is more costly is the SVD that is performed to find a mean rotation, however this operation is optional. Moreover, there are computationally efficient algorithms to perform the SVD of 3 × 3 matrices.
4. Characterization
This section analyzes the relation between each possible configuration of the formation and the respective number of attitude solutions. If there is no other information, any attitude set that satisfies all the constraints is considered a solution for the problem. Therefore, it is important to understand which configurations result in more than one solution, otherwise there may be large errors, or even divergence from the correct attitude, in the design of estimators. Thus, these configurations are properly identified in the sequel.
In general, there is only one attitude set which satisfies the constraints for a given configuration. However, there are degenerate configurations, where there are infinitely many attitudes which verify all the constraints. Furthermore, there are ambiguous configurations, where there are exactly two possible attitude sets that satisfy all the constraints.
The degenerate configurations are generated by a set of constraints with an incomplete amount of information, which result in, at least, an extra degree of freedom for the system. Likewise, some ambiguous configurations result from a measurement set with poor quality. Nonetheless, these configurations are usually the result of symmetric information in both branches of the formation, which in turn results in identical pairs of candidates for .
The analysis is divided into three parts. First, a branch analysis investigates the constraints used in the branch 1–2 to find the solutions of and . Then, it identifies the conditions which lead to degenerate, ambiguous, and unambiguous branches, respectively, with infinite, two, or one solution. Analogous conclusions are taken relative to the branch 1–3. Afterwards, a formation analysis investigates the various conditions found in the branch analysis and connects them to the number of solutions for the entire formation. Finally, a symmetry analysis is required to find ambiguous configurations which are not determined by the number of solutions of the branches. This analysis explores the problem symmetry to find conditions for the ambiguous configurations. Such configurations are explained geometrically and the respective set is shown to be a zero measure subset of all possible configurations. Lastly, the results of this section are discussed and compared with related work.
4.1. Branch Analysis
The analysis of a single branch, which includes only two vehicles, hints at the possible number of solutions for the overall formation. The number of candidates in a branch is either one, two, or infinite. Therefore, a branch can be classified as either unambiguous, ambiguous, or degenerate, respectively. Consider the solutions for and using measurements from branch 1–2. The ensuing results and conclusions are analogously applicable to the branch 1–3, due to the symmetry of the problem.
First, consider the solution for given by the parameters from (10) and (11). Since this solution relies on the constraints given in (9a) and (9b), then the degenerate and unambiguous branch configurations are a result of how much information is encoded in these constraints.
The basic idea behind the different number of solutions is that having collinear independent measurements translates into information loss, because one of the axes is not constrained. Moreover, in this case, the coplanarity of the independent vectors eliminates the inherent ambiguity of the branch. In (9a) and (9b), there are three independent vectors, hence two collinear relations are possible: or .
The effects of each of these conditions are explored before showing the different number of solutions for . Assume that the former relation, i.e., , is true. It follows, from (8), (10) and (11), that the constraint (9b) can be rewritten as
or, equivalently, from (4),
Therefore, , as defined in (8), satisfies both (9a) and (9b), with any . Moreover, recall (15), (16) and (17a). Since, by definition, , then (6) implies that
Then, substituting (8) and (19) in the constraint (14b) yields
which, recalling the assumption , can be written as
It follows that, , as expressed in (19), satisfies both (14a) and (14b) with any , because is arbitrary.
Consequently, since satisfies (9a), which can be verified by substituting by in (9a), it follows that , as expressed in (8), satisfies both (9a) and (9b) with any . Additionally, substituting (8) in (14b) gives
Hence, if and , there is a unique value for that satisfies both (14a) and (14b), because the second constraint becomes independent of .
The intuition given before provides some conditions which affect the information encoded in the constraints. However, the connection between the number of solutions and a set of conditions for the measurements relies on the expressions used for the solution. Therefore, the next lemma addresses the relation between the collinear conditions, considered above, and particular values of the coefficients and , as defined in (12), which are related to special cases of the solution. It establishes the logical connection used to relate the degenerate cases to an infinite number of solutions for . Since this is a technical result, the respective proof is given in Appendix B.
Lemma 1.
Consider and as defined in (12). Then, both and if and only if either or .
Knowing the conditions associated with and allows to find the degenerate configurations, because that is the only case for which the expressions that result in and are not defined. Furthermore, from (8), with the respective parameters given in (10) and (11), it follows that the ambiguity, which yields two candidates, is encoded in the angle , as is evidenced in (11a). Inspecting such expression leads to the conclusion that there are cases with only one solution for , namely, when
with .
The next theorem addresses all possible numbers of solutions for , considering the measurements of branch 1–2.
Theorem 1.
Consider the relative attitude between vehicles 1 and 2, i.e., . Recall the measurements given as , , , and . Then:
- (i)
- there are infinite solutions if and only ifor
- (ii)
- the solution is unique if and only ifwhileand;
- (iii)
- otherwise, there are two solutions.
Proof.
This proof is divided into three parts:
- (i)
- Consider that (24a) or (24b) are verified. Then, [13] (Lemma 3) ensures that there are infinite solutions for . Otherwise, consider that neither (24a) nor (24b) are verified. Then, it follows from Lemma 1 that either or , or both. In any case, (8)–(13) are all well-defined and there are, at most, two solutions for , i.e., a finite number of solutions. By contra-position, if there are infinite solutions for , either (24a) or (24b) must be satisfied, thus completing the first part of the proof.
- (ii)
- Assume that neither (24a) nor (24b) are verified, then is always defined. Since (2) is periodic relative to the angle, with period , it is concluded, from (11a), that has a unique solution if and only if
- (iii)
- All other cases result in two solutions for , because they yield two distinct values for , considering their representation in the same interval, as concluded from the inspection of (11a). Hence, the proof is complete.
□
Remark 1.
In short, the first condition, for infinite solutions, is verified when the measurements of one vehicle are collinear. Moreover, there is a unique solution if the involved vectors, given in the same reference frame, are coplanar, but not collinear as in the first case. Otherwise there are two solutions.
The problems described in [9,11] consider coplanar vectors, which means that (23) is satisfied. Thus, those problems have only one solution in general. Note that the case with a coplanar vector configuration is a particular case of the general problem addressed in the relative attitude solution of the branch. Thus, the information of a second branch is required to disambiguate the solutions.
Finally, consider the solution for , with the information available within the branch 1–2. The constraints (14a) and (14b) involve only two independent vectors, and therefore, there is only one possible collinearity condition, which is given by Applying such condition in (14b) yields
or, equivalently,
Therefore, satisfies (14b) for any . Furthermore, this condition influences the solution of , because it implies that (25) is satisfied. Therefore, if none of the expressions in (24) are verified, there is an unambiguous solution for .
As before, to evaluate the number of solutions for , the expressions which give such attitude must be considered. Hence, recall that (15), with (16) and (17a) result in candidates and , considering candidates and . Since the inertial candidates are obtained from the application of the same method used to find the candidates for , then the degenerate configurations can be found analogously. Hence, considering the analogous of Lemma 1 and Theorem 1, leads to the conclusion that there are infinite solutions for , in the branch 1–2, if and only if or In conclusion, since both conditions are equivalent, then there are infinite solutions for if and only if . In every other case, each relative attitude candidate generates an inertial attitude candidate, because the two independent vectors involved are coplanar by definition, and therefore, satisfy the analogous of (25). The unambiguous character of this solution is expressed by (15)–(17). In such conditions, the number of inertial candidates is the same as the number of relative attitude candidates.
4.2. Formation Analysis
The attitude solution for the entire formation results from the fusion of information between both branches. Therefore, the number of attitude solutions of each branch directly influences the number of solutions for the formation.
Recall the nomenclature used to characterize each branch relative to the number of candidates it provides, that is, the branch is degenerate, ambiguous, or unambiguous, respectively, if it has infinite, two, or one solution. Table 1 shows possible combinations of branches configurations and gives the respective number of solutions for the whole formation. Multiple degenerate conditions for each branch can be verified simultaneously, but this analysis, and this table, considers that only one of them, for each branch, is verified at each moment.
Table 1.
Number of solutions for the entire formation.
4.2.1. Configurations with Infinite Solutions
The conditions which result in infinite solutions for the entire formation require that at least one branch is degenerate, which is expressed in Table 1. All such cases are described below, alongside some details that support the conclusions.
In the cases where both branches are degenerate, all conditions in (14) are satisfied by , with any . Therefore, there are infinite attitude solutions for the problem.
4.2.2. Configurations with Two Solutions
The conditions which result in two solutions for the entire formation require that at least one branch is ambiguous, as expressed in Table 1. All such cases are described below, alongside some details that support the conclusions.
Consider the case where one branch is ambiguous and the other is degenerate. First, assume that while the branch 1–3 is ambiguous. In this case, if is known, then (20) provides a second constraint to . Hence, the two different candidates for , that emerge from branch 1–3, can be used in (20) to find two candidates for . The result is a set of two solutions for the entire formation. Assume instead that while the branch 1–3 is ambiguous. Since (28) implies that (25) is satisfied, then there is a unique solution for . Therefore, there are two solutions for the formation attitude, because branch 1–3 is ambiguous, which means it gives two candidates for both and . The same conclusions arise when considering that branch 1–2 is ambiguous and that either or is satisfied.
According to Table 1, there may be two solutions in the general case where both branches are ambiguous. A more detailed analysis is required to determine these cases. However, the basic idea is that, in such cases, there are two distinct pairs of identical candidates for . This analysis follows in Section 4.3, where the conditions which result in such ambiguous cases are found.
4.2.3. Configurations with One Solution
Besides the general case which will be analyzed later, the only other possibility for a unique solution requires that at least one branch is unambiguous.
Consider the case where the branch 1–3 is unambiguous. Hence, there is a unique solution for and . The goal of this analysis is to understand whether a single candidate for can be extracted as well. Assume that , then (28) can be used as a constraint for , given that is already determined. Therefore, a unique solution for exists. Assume instead that . Since (25) is verified, then, from Theorem 1, there is a unique solution for , and therefore, a unique solution for all attitudes. Otherwise, in the case where one branch is unambiguous and the other is ambiguous and in the case where both branches are unambiguous, there is clearly a unique solution for every attitude of the formation.
4.3. Symmetry Analysis
The number of solutions of the branches is not enough to determine the number of solutions of the formation when both branches give two candidates for each attitude. In this case, the symmetry between both branches is responsible for the number of compatible attitudes. The ensuing analysis completes the picture presented in Table 1, by showing whether the solution is unique or ambiguous, when both branches are ambiguous.
An important detail for the ensuing analysis is that any three-dimensional unit vector can be written as the result of two rotations whose axes are orthogonal to each other. Consider that and , which are verified when both branches are ambiguous, then for some combination of angles , , , and , it follows that
and
The notation and definitions, which are given next, simplify the expressions used to determine the ambiguous configurations. Hence, consider the inertial attitude candidates, which, recalling (15), are given as
and
with defined in (16) and , , , and defined in (17). Moreover, denote the reference measurements in the intermediate coordinate frame as
and
Additionally, consider a unit vector and define the normal to a plane given by and as
Finally, consider the superscript ⊥ to denote the transformation which makes a given vector orthogonal to , as follows
with and , such that
4.3.1. Relation between Measurements of the Same Branch
The transformation defined in (36) allows to represent the system measurements in a plane orthogonal to , which is convenient for establishing the relations between and , and analogously between and . Such relations are respectively derived in Lemmas A5–A8, in Appendix C, and assume that the candidates that are identical to the inertial attitude are known. Hence, recalling the angles and candidates defined in (30) and assuming that both branches are ambiguous, as defined in Theorem 1, if , then
Otherwise, if , then
Moreover, if , then
Otherwise, if , then
with .
4.3.2. Relation between Same Type of Measurement
The relation between measurements across branches completes the set of relations required to establish a connection between the identical candidates and the system measurements.
The only measurement shared by both branches is , hence the transformation defined in (36) is also convenient for establishing the relation between and , and analogously between and . Such relations are derived in Lemmas A9 and A10, in Appendix D, and are given as
and
with and respectively defined in (29a) and (29b), and with .
4.3.3. Ambiguous Conditions
Advancing to the determination of the ambiguous conditions, recall that the ambiguous configurations with ambiguous branches satisfy either
or
while both and . Thus, the definitions in (30) applied to (42) imply one of two cases:
- and ;
- and ;
with and .
The main result of this work relates the ambiguous definitions in (42) with the set of formation configurations. For that purpose, it considers the relations encoded in (29) and is given in the following theorem.
Theorem 2.
Consider the definitions for the four candidates of and the angles , , , and defined in (30) and expressed in the same interval of length . Assume that
and that
with . Consider as well the angles defined in (29). Then,
or
if and only if
with .
Proof.
This proof is divided into four parts, one for each possible pair of correct candidates for i.e., one for each of the cases given as follows
- (i)
- ;
- (ii)
- ;
- (iii)
- ;
- (iv)
- .
First, consider that (i) is verified. Then, recall (43) and substitute (38a) in (40) which gives
which from (41) is expressed as
Finally, recalling (43) and substituting (39a) results in
Recalling (30), then case (i) implies that . Therefore, (46) is rewritten as
If (44a) is verified, then and thus (47) implies (45). Conversely, if (45) is verified, then (47) results in (44a). Moreover, since , then (44b) is out of the scope of the assumptions in (43), because it would mean that in the same interval. Hence, the first part of the proof is complete. The remaining cases follow the same train of thought. Consider case (ii), which implies that . Taking (40), recalling (43), and substituting (38a), (39b) and (41), and , in that order, gives
If (44b) is verified, then and thus (48) implies (45). Conversely, if (45) is verified, then (48) results in (44b). Moreover, since , then (44a) is out of the scope of the assumptions in (43), because it would mean that in the same interval. Hence, the second part of the proof is complete. Next, consider case (iii), which implies that . Taking (40), recalling (43), and substituting (38b), (39a) and (41), and , in that order, gives
If (44b) is verified, then and thus (49) implies (45). Conversely, if (45) is verified, then (49) results in (44b). Moreover, since , then (44a) is out of the scope of the assumptions in (43), because it would mean that in the same interval. Hence, the third part of the proof is complete. Finally, consider case (iv), which implies that . Taking (40), recalling (43), and substituting (38b), (39b) and (41), and , in that order, gives
If (44a) is verified, then and thus (50) implies (45). Conversely, if (45) is verified, then (50) results in (44a). Moreover, since , then (44b) is out of the scope of the assumptions in (43), because it would mean that in the same interval, which completes this proof. □
Remark 2.
The configurations where may satisfy (45). However, such configurations were already defined by Theorem 1 and the conditions which define them do not depend on the angles and . Therefore, the cases where can be distinguished from the truly ambiguous configurations.
Importantly, left multiplying (29b) by and recalling (5)–(7), implies that the relations in (29) can be rewritten as
and
Therefore, the ambiguous configurations can be determined without solving the attitude problem.
4.3.4. Geometric Interpretation
The application of the constraint given by (45) to the relations in (29) provides a simple geometric interpretation in the inertial frame. Consider the planes defined by and each of the other measurements, as represented in Figure 3. If the angle between the planes with LOS measurements (i.e., , ) is the same as the angle between the planes with inertial references (i.e., , ), then the configuration is ambiguous, assuming that the branches are ambiguous as well.
Figure 3.
Geometric interpretation of the ambiguous configuration condition with planes.
For another interpretation of this symmetry, take the perspective of the information available for each branch. If the information about the inertial frame is identical in both branches, then an ambiguous solution results from the two ambiguous branches. A simple example is the collinear formation with parallel inertial vectors of the deputies, as represented in Figure 4. In this case, both branches are equivalent in the inertial frame, that is and . Thus, the two candidates for from both branches coincide. This situation is even more evident when , because both candidates for are identical to both candidates for .
Figure 4.
Ambiguous solution: collinear formation.
The measurements of the configuration in Figure 4 can be transformed according to three degrees of freedom given by , , and as defined in (29), with constrained by (45). Thus, there are infinite such configurations. Nonetheless, these are a zero measure subset of all possible configurations, as it will be shown next.
4.3.5. Ambiguous Configurations Subset Measure
An interesting and very important property of the subset of ambiguous configurations is its measure. Even though it is shown that the set of ambiguous configurations is, in fact, a zero measure subset, this does not mean that these configurations can be ignored. As it will be shown in the simulations, the ambiguous configurations can have an impact in the attitude estimation when noise is introduced and the formation is near the ambiguity. Hence the importance of this study.
Consider the parameterization of given by
with . Furthermore, consider the parameterization of given by
where is the rotation axis of .
The following theorem shows that the subset of ambiguous configurations is a zero measure subset of the configuration set.
Theorem 3.
Consider the octuple . Denote the set of all possible configurations of the formation by
The ambiguous configurations subset is , whose functions and are defined as
and
with . Then, is a zero measure subset of M.
Proof.
First, note that [19] (Example 1.2) and [20] (Appendix C.2.1) are smooth manifolds, thus M is a smooth manifold as well, because it results from the Cartesian product between elements in and [19] (Example 1.13). Furthermore, M is a 19-dimensional manifold. Next, consider a collection of subsets covering and denoted by , where each is small enough to have vectors in parameterized by both angles of the spherical coordinates, as given by (51), and transformations in parameterized by three angles as encoded in (52). Considering , if all elements but are known, then is determined by the angle , from (53a), alone, because and . Thus, there exists a homeomorphism for every i in the collection and is an atlas covering . Furthermore, every has zero Lebesgue measure in , because these are subsets of . Therefore, is a zero measure subset of M [19] (Lemma 6.4). □
4.4. Discussion of Results
The branch analysis showed that, in general, there are ambiguities in the branch measurements and therefore two attitudes satisfy the measurement constraints. These ambiguities were identified in [9,11], where the authors constrain their problem geometry such that it gives a unique solution. Theorem 1 identifies the same condition used to ensure the uniqueness of the solution in those works. However, in the formation considered in this work, such constraint is not required, because there is more information available in the other branch. Thus, by combining the information of both branches, a unique solution can still be determined.
The formation analysis considers the fusion of the information in both branches and how the number of solutions of each branch impacts the number of solutions of the entire problem. It was shown that combining the data in both branches reduces the limitations inherent to the isolated branch. This conclusion is expressed in Table 1, where it is visible that the number of solutions for the entire formation can be unique even when there are branches with two or infinite solutions.
The symmetry analysis distinguishes the configurations in which the branch ambiguities extend to the entire formation, from the configurations which have a unique solution. In general, the latter case is verified. In the former case, the ambiguities at the level of the formation result from symmetries between both branches. The simple geometric intuition given by Figure 3 is useful to evaluate whether the configuration is ambiguous or not, and can be employed while designing estimators.
Finally, the fact that all the configurations with multiple solutions are a zero measure subset of the entire configuration space is relevant for the design of estimators, because it means that such designs have the potential to converge to small errors for almost all configurations.
5. Simulation
In this section, a simulation illustrates and validates the characterization of the attitude problem considered in this article. Since the degenerate and ambiguous configurations are independent of the attitudes, then, in this simulation and for simplicity, their values are constant and equal to the identity matrix. At the initial time, consider the formation with a unique solution, where the LOS measurements, represented in the inertial frame, are given as and . Furthermore, the inertial references are given as and . A maneuver of vehicle 2 changes the formation configuration such that the formation reaches an ambiguous configuration and a degenerate configuration at different times. This maneuver consists in varying the position of vehicle 2, which implies a variation of and , because . In total, the maneuver takes 100 s and rotates by radians through the axis . The remaining vectors and all attitudes are constant throughout the simulation.
Assuming position sensing diodes as sensors, the measurement noise follows the large field of view sensor model [21]. Therefore, the measurement in the sensor frame, , is related to the focal coordinates , considering a unit focal length, by . The focal covariance is given as
where is a known standard deviation. Then, the covariance of the sensor is given as
where is the respective Jacobian of the relation between the sensor and focal coordinates.
For simplicity, it is assumed that the sensors are aligned with the standard unit vector of the maximum component of the measurement in the body-fixed frame. Thus, the six possible transformations between the body-fixed frame and the sensor frame are given by
respectively when the maximum component of the measurement is x, , y, , z, and , where the axis are standard unit vectors of the coordinate frame.
The simulation takes 100 s, the same duration of the maneuver. It is assumed that all sensors are synchronized and have a sampling rate of 10 Hertz, which means that a measurement is taken every 0.1 s. Moreover, all sensors are characterized by radians. At each sampling instant, each measurement is sampled as follows: first, its true value is represented in the respective sensor frame, which, in turn, gives the true focal coordinates. Both are used to compute the sensor covariance, , by applying (54) and (55). The respective noise is sampled from a zero mean normal distribution with covariance , which is then added to the measurement. Moreover, the inertial references, in the inertial frame, are known a priori and considered noiseless. With the complete set of measurements, corrupted by noise, the attitude is computed using the algorithm described in Section 3.
The results of this simulation are given by the estimation errors, the relation between the values of , , , and , and also by the relation between the values of and . The first are expressed by the norm of the 3-2-1 sequence of Euler angles of the error matrix of each inertial attitude, that is, the product between the true value by the transpose of the estimated value, and are shown in Figure 5. The second are expressed by the comparison parameters , , , and as defined in (18). The third are expressed as the cosine of their difference, i.e., . Both are shown together in Figure 6.
Figure 5.
Euler error vector norm.
Figure 6.
Relation between candidates for .
In the ambiguous configuration, at about 25 s, and . Therefore, near that instant both and , which means that the estimated attitude may jump between both solutions, due to the noise, which does happen and is visible in Figure 5. Notice that there is no significant change in the error magnitude before or after the ambiguous configuration, because it is a matter of information symmetry, whereas the degenerate configurations result from a loss of information about a component of the coordinate frame. Moreover, in this case the value of satisfies (45), i.e., , which can be seen in Figure 6.
In the degenerate configuration, at about 75 s, the error magnitude of the estimate for increases gradually as the degeneracy gets closer, until it raises sharply approximately at the 75 s mark. This specific degenerate configuration is given by , which from (22) implies that there is a unique solution for , despite there being infinite solutions for . This observation, justifies both the values of and as seen in Figure 6 and the fact that while the error in increases the other errors remain at the same magnitude as observed in Figure 5. Moreover, since (11a) may not be valid, then a rotation compatible with the constraints is chosen in such a case, for example, selecting a value that satisfies both (9a) and (9b).
6. Conclusions
In this paper, we analyzed the uniqueness of the solution for the attitude determination problem in a three-vehicle heterogeneous formation, considering both the branches and the entire formation. With respect to the entire formation, there are three possible configurations: degenerate, ambiguous, or regular configurations, respectively, with infinite, two, or one solution. With respect to a single branch, there are also three possibilities: degenerate, ambiguous, or unambiguous branches, respectively, with infinite, two, or one solution. However, the general case is the ambiguous branch. Furthermore, we found the conditions which characterize the ambiguous and degenerate configurations, and branches, thus enabling their detection without solving the attitude problem. We also showed that the measure of the subset of ambiguous configurations is a zero-measure set. Finally, we simulated a maneuver that reaches both a degenerate and an ambiguous configuration and validates the conclusions in this paper. The identification of degenerate and ambiguous configurations is a valuable information for the design of estimators, applicable to this formation, because such configurations introduce challenges to the error stability. Therefore, these results represent one more step towards the design of attitude estimators for three vehicle heterogeneous formations.
Author Contributions
Conceptualization, P.C. and P.B.; software, P.C.; validation, P.C. and P.B.; formal analysis, P.C.; investigation, P.C.; writing—original draft preparation, P.C.; writing—review and editing, P.C. and P.B.; visualization, P.C.; supervision, P.B.; project administration, P.B.; funding acquisition, P.B. All authors have read and agreed to the published version of the manuscript.
Funding
The work of P. Cruz was supported by the PhD Grant PD/BD/143143/2019 from FCT. This work was also supported by the Fundação para a Ciência e a Tecnologia (FCT) through LARSyS-FCT Project UIDB/50009/2020 and through the FCT project DECENTER [LISBOA-01-0145-FEDER-029605], funded by the Programa Operacional Regional de Lisboa 2020 and PIDDAC programs.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Conflicts of Interest
The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.
Abbreviations
The following abbreviations are used in this manuscript:
| TRIAD | Tri-Axial Attitude Determination |
| QUEST | Quaternion Estimator |
| FLAE | Fast linear quaternion attitude estimator |
| LOS | Line-of-sight |
| GPS | Global Positioning System |
| SVD | Singular value decomposition |
Appendix A. Bisecting Plane Properties
Lemma A1.
Consider , , and such that
and
Then,
with .
Proof.
Rewrite (A3) by substituting (A2), which gives
Since (A4) implies that , , and are all coplanar and orthogonal to , then, for some , it follows that
Next, substituting (A7) in (A6) gives
which applying (2) results in
Recall that implies that . Further recall that and that (A4) implies both and . Then, (A8) is given as
Applying the inverse cosine function to both sides of (A9) yields
Analyzing each sign separately, consider first that , which after some rearrangements results in
Finally, analyzing the other sign, consider that . It follows that
which is excluded from the solutions of (A9) by (A1). Thus, the proof is complete by substituting (A10) in (A7) which yields (A5). □
Lemma A2.
Let , , , . If
and
then,
Proof.
Take the left side of (A13) and substitute (2), which gives
Since and, from the vector triple product, , it follows that
Substituting (A11) and (A12) and in (A14) gives
Next, using the norm definition, write as and apply the vector triple product yields
From (A11) and , it follows that
which applying the vector triple product, followed by the norm definition, gives
Finally, substitute (A16) in (A15) and recall that . It follows that (A15) is expressed as
which from (2) gives (A13), thus completing the proof. □
Lemma A3.
Let , , , . If
and
Then,
Appendix B. Technical Lemma
This appendix contains the proof for Lemma 1, which is reproduced below.
Lemma A4.
Proof.
First, assume that (A21) is true. Since , for any , then substituting (A21) in (12) yields (A20a) and (A20b). Next, assume that (A22) is verified and left multiply it by , with parameters defined in (10), which gives . Recalling (13) and that, by definition, [13], it follows that (A22) is equivalent to
Then, from and substituting (A23) into (12) yields (A20a) and (A20b). Next, consider the converse statement, i.e., that both (A20a) and (A20b) are verified. Let , then if and only if , , and are coplanar or any of these vectors is zero. Then, and can be expressed as and , respectively with , , , and . Consider that , which means that (A21) is verified, then both and because . Otherwise, consider that , which means that and are orthogonal. Since verifying both and implies that , , and are coplanar, while , , and are coplanar, then and must be collinear because and are orthogonal. Therefore, in this case, (A23) is verified which was previously shown to be equivalent to (A22) and thus concludes the proof. □
Appendix C. Relation between Measurements of the Same Branch
This appendix shows both the relation between and , and the relation between and . Since the derivation of such relations is analogous in the four ensuing lemmas, only the first lemma is accompanied by its proof.
Lemma A5.
Recall the definition of , , and in (30). Further recall the vector transformation in (36). Suppose that both branches of the formation are ambiguous, as defined in Theorem 1, and assume that . Then
Proof.
First, substitute (33) in , which implies that
or, equivalently, from (4),
Similarly, consider the inner product given by , which from (30) and (33) implies that
or, equivalently,
Next, consider the angle . Then, apply Lemma A2, in Appendix A, with , , , and , recalling that in such case (A11) and (A12) are given respectively by (A25) and (A26). It follows that
where and are defined in (35). Since is arbitrary, recall (36) and choose such that (A27) is expressed as
Similarly, consider the angle and recall from (37) that, by definition,
Then, apply Lemma A3, in Appendix A, with , , , and . Recall that in such case (A17) and (A18) are given respectively by (A29) and (A28). It follows that
where is defined in (35). Then, recalling (36) and choosing the appropriate value for gives
Next, from (37), recall that
and from (33) that
Moreover, expanding with (36) gives
which is rewritten, by applying (A32), as
Afterwards, recall the definition (35) and consider the numerator of . It follows from (7) and (A32) that
Meanwhile, consider the denominator of . It follows, from (A32), that
and then, from (3) and (7), that
Consequently, recalling the definition of both and in (35), it is concluded that (A34) and (A35) imply
Therefore, recalling (6), it follows that (A33) is also given as
which, from (A36), yields
or, equivalently, from (36),
Next, consider that , with . Then, the conditions for Lemma A1, in Appendix A given by (A2), (A3) and (A4), are respectively verified by (A37), (A30) and (A31), with , , , , and . Therefore, it follows that
Next, assume that and, as a consequence of having two ambiguous branches, that . Then, apply (7) and (31a) to , which gives
or, equivalently, from (14b) and (30a), , and ,
Meanwhile, apply (3) and (7) to , which gives
Recalling (31a) and (30a), , and , it follows that
Finally, substituting (14b) results in
Therefore, (A39) and (A40) imply that
where and are defined in (35). Following a similar train of thought, while recalling that by definition , it follows that
with and given as defined in (35). Next, left multiplying (A38) by , while recalling (36) with appropriate , gives
which from (4) and (6) becomes
Applying (6), it follows that
which recalling (A41) and (A42), becomes
or, equivalently, from (30a) and (31a),
Furthermore, recall the assumption that and , then (14b) and imply that (A43) can be rewritten as
Finally, recall that both sides of (A38) satisfy (37) and that (A44) results from left multiplying (A38) by . Therefore, both sides of (A44) also satisfy (37), which means that applying (36) to (A44) yields (A24) and concludes the proof. □
Lemma A6.
Recall the definition of , , and in (30). Further recall the vector transformation in (36). Suppose that both branches of the formation are ambiguous, as defined in Theorem 1 and assume that . Then
Lemma A7.
Recall the definition of , , and in (30). Further recall the vector transformation in (36). Suppose that both branches of the formation are ambiguous, as defined in Theorem 1 and assume that . Then
Lemma A8.
Recall the definition of , , and in (30). Further recall the vector transformation in (36). Suppose that both branches of the formation are ambiguous, as defined in Theorem 1 and assume that . Then
Appendix D. Relation between Same Type of Measurement
This appendix shows both the relation between and , and the relation between and . Since the derivation of such relations is analogous in both ensuing lemmas, only the first lemma is accompanied by its proof.
Lemma A9.
Proof.
First, consider the definition of in (36), with an appropriate , and substitute (29a), which gives
where , as defined in (35), is used to simplify the notation. Then, recall (3) which results from the preservation of the norm of a vector transformed by a rotation. Thus,
which means that (A46) is equivalent to
Next, apply (6) to (A47), which gives
or, equivalently, from (7),
Since (37) implies that , then
or, equivalently, from (4),
Therefore, can be written as , because the axis of the rotation on the left is orthogonal to the plane given by and and therefore . Hence, (A48) is rewritten as
with , because there are two possible vectors in which are orthogonal to . Thus, the proof is complete. □
References
- Black, H.D. A passive system for determining the attitude of a satellite. AIAA J. 1964, 2, 1350–1351. [Google Scholar] [CrossRef]
- Wahba, G. A Least Squares Estimate of Satellite Attitude. SIAM Rev. 1965, 7, 409. [Google Scholar] [CrossRef]
- Shuster, M.D.; Oh, S.D. Three-axis attitude determination from vector observations. J. Guid. Control 1981, 4, 70–77. [Google Scholar] [CrossRef]
- Wu, J.; Zhou, Z.; Gao, B.; Li, R.; Cheng, Y.; Fourati, H. Fast Linear Quaternion Attitude Estimator Using Vector Observations. IEEE Trans. Autom. Sci. Eng. 2018, 15, 307–319. [Google Scholar] [CrossRef]
- Cao, Y.; Fukunaga, A.; Kahng, A.; Meng, F. Cooperative mobile robotics: Antecedents and directions. In Proceedings of the 1995 IEEE/RSJ International Conference on Intelligent Robots and Systems. Human Robot Interaction and Cooperative Robots, Pittsburgh, PA, USA, 5–9 August 1995; Volume 1, pp. 226–234. [Google Scholar] [CrossRef]
- Stilwell, D.J.; Bishop, B.E. Platoons of underwater vehicles. IEEE Control Syst. 2000, 20, 45–52. [Google Scholar] [CrossRef]
- DeGarmo, M.; Nelson, G. Prospective Unmanned Aerial Vehicle Operations in the Future National Airspace System. In Proceedings of the AIAA 4th Aviation Technology, Integration and Operations (ATIO) Forum, Chicago, IL, USA, 20–22 September 2004; American Institute of Aeronautics and Astronautics: Chicago, IL, USA, 2004. [Google Scholar] [CrossRef][Green Version]
- Murray, R.M. Recent Research in Cooperative Control of Multivehicle Systems. J. Dyn. Syst. Meas. Control 2007, 129, 571–583. [Google Scholar] [CrossRef]
- Andrle, M.S.; Crassidis, J.L.; Linares, R.; Cheng, Y.; Hyun, B. Deterministic Relative Attitude Determination of Three-Vehicle Formations. J. Guid. Control Dyn. 2009, 32, 1077–1088. [Google Scholar] [CrossRef][Green Version]
- Wang, J.; Zhang, R.; Yuan, J.; Luo, J. Multi-CubeSat Relative Position and Attitude Determination Based on Array Signal Detection in Formation Flying. IEEE Trans. Aerosp. Electron. Syst. 2019, 55, 3378–3393. [Google Scholar] [CrossRef]
- Linares, R.; Crassidis, J.L.; Cheng, Y. Constrained Relative Attitude Determination for Two-Vehicle Formations. J. Guid. Control Dyn. 2011, 34, 543–553. [Google Scholar] [CrossRef]
- Wu, J. Unified Attitude Determination Problem From Vector Observations and Hand–Eye Measurements. IEEE Trans. Aerosp. Electron. Syst. 2020, 56, 3941–3957. [Google Scholar] [CrossRef]
- Cruz, P.; Batista, P. A solution for the attitude determination of three-vehicle heterogeneous formations. Aerosp. Sci. Technol. 2019, 93, 105275. [Google Scholar] [CrossRef]
- Zhou, X.S.; Roumeliotis, S.I. Determining 3-D Relative Transformations for Any Combination of Range and Bearing Measurements. IEEE Trans. Robot. 2013, 29, 458–474. [Google Scholar] [CrossRef]
- Stuart, J.; Dorsey, A.; Alibay, F.; Filipe, N. Formation flying and position determination for a space-based interferometer in GEO graveyard orbit. In Proceedings of the 2017 IEEE Aerospace Conference, Big Sky, MT, USA, 4–11 March 2017; IEEE: Big Sky, MT, USA, 2017; pp. 1–19. [Google Scholar] [CrossRef]
- Cesarone, R.J.; Abraham, D.S.; Deutsch, L.J. Prospects for a Next-Generation Deep-Space Network. Proc. IEEE 2007, 95, 1902–1915. [Google Scholar] [CrossRef]
- Cruz, P.; Batista, P. Special Cases in the Attitude Determination of Three-Vehicle Heterogeneous Formations. In Proceedings of the 2020 7th International Conference on Control, Decision and Information Technologies (CoDIT), Prague, Czech Republic, 29 June–2 July 2020; IEEE: Prague, Czech Republic, 2020; pp. 136–141. [Google Scholar] [CrossRef]
- Markley, F.L.; Crassidis, J.L. Fundamentals of Spacecraft Attitude Determination and Control; Springer: New York, NY, USA, 2014. [Google Scholar] [CrossRef]
- Lee, J.M. Smooth Manifolds. In Introduction to Smooth Manifolds; Lee, J.M., Ed.; Graduate Texts in Mathematics; Springer: New York, NY, USA, 2003; pp. 1–29. [Google Scholar] [CrossRef]
- Hall, B.C. Lie Groups, Lie Algebras, and Representations. In Graduate Texts in Mathematics; Springer International Publishing: Cham, Switzerland, 2015; Volume 222. [Google Scholar] [CrossRef]
- Cheng, Y.; Crassidis, J.L.; Markley, F.L. Attitude estimation for large field-of-view sensors. J. Astronaut. Sci. 2006, 54, 433–448. [Google Scholar] [CrossRef][Green Version]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).