Triad method

Triad is one of the earliest and simplest solutions to the spacecraft attitude determination problem, due to Harold Black. Black played a key role in the development of the guidance, navigation and control of the U.S. Navy's Transit satellite system at Johns Hopkins Applied Physics Laboratories. As evident from the literature, TRIAD represents the state of practice in spacecraft attitude determination, well before the advent of the Wahba's problem and its several optimal solutions. Given the knowledge of two vectors in the reference and body coordinates of a satellite, the TRIAD algorithm obtains the direction cosine matrix relating both frames. Covariance analysis for Black's classical solution was subsequently provided by Markley.
Summary.
We consider the linearly independent reference vectors formula_1 and formula_2. Let formula_3 be the corresponding measured directions of the reference unit vectors as resolved in a body fixed frame of reference. Then they are related by the equations,
for formula_4, where formula_5 is a rotation matrix (sometimes also known as a proper orthogonal matrix, i.e., formula_6). formula_5 transforms vectors in the body fixed frame into the frame of the reference vectors. Among other properties, rotational matrices preserve the length of the vector they operate on. Note that the direction cosine matrix formula_5 also transforms the cross product vector, written as,
Triad proposes an estimate of the direction cosine matrix formula_5 as a solution to the linear system equations given by
where formula_10 have been used to separate different column vectors.
The solution presented above works well in the noise-free case. However, in practice, formula_11 are noisy and the orthogonality condition of the attitude matrix (or the direction cosine matrix) is not preserved by the above procedure. Triad incorporates the following elegant procedure to redress this problem. To this end, we define unit vectors
and
to be used in place of the first two columns of (). Their cross product is used as the third column in the linear system of equations obtaining a proper orthogonal matrix for the spacecraft attitude given by
While the normalizations of Equations () - () are not necessary, they have been carried out to achieve a computational advantage in solving the linear system of equations in (). Thus an estimate of the spacecraft attitude is given by the proper orthogonal matrix as 
Note that computational efficiency has been achieved in this procedure by replacing the matrix inverse with a transpose. This is possible because the matrices involved in computing attitude are each composed of a triad of orthonormal basis vectors. "TRIAD" derives its name from this observation.
Triad Attitude Matrix and Handed-ness of Measurements.
It is of consequence to note that the Triad method always produces a proper orthogonal matrix irrespective of the handedness of the reference and body vectors employed in the estimation process. This can be shown as follows.
Let us re-write Eq. () in a matrix form given by
where formula_12
and 
formula_13
Note that if the columns of formula_14 form a left handed triad, then the columns of formula_15 are also left handed because of the one-one correspondence between the vectors. This is because of the simple fact that, in Euclidean geometry, the angle between any two vectors remains invariant to coordinate transformations. Therefore, the determinant formula_16 is formula_17 or formula_18 depending on whether its columns are right or left - handed respectively (similarly, formula_19 ). Taking determinant on both sides of the relation in Eq. (), we conclude that 
This is quite useful in practical applications since the analyst is always guaranteed a proper orthogonal matrix irrespective of the nature of the reference and measured vector quantities.
Applications.
Triad was used as an attitude determination technique to process the telemetry data from the Transit satellite system (used by the U.S. Navy for navigation). The principles of the Transit system gave rise to the global positioning system satellite constellation. In an application problem, the reference vectors are usually known directions (e.g., stars, Earth magnetic field, gravity vector, etc.). Body fixed vectors are the measured directions as observed by an on-board sensor (e.g., star tracker, magnetometer, etc.). With advances in micro-electronics, attitude determination algorithms such as Triad have found their place in a variety of devices (e.g., smart phones, cars, tablets, UAVs etc.) with a broad impact on the modern society.