Triad is one of the earliest and simplest solutions to the spacecraft attitude determination problem,^{[1]}^{[2]} 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^{[3]} 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.^{[4]}
Summary
We consider the linearly independent reference vectors and . Let 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,

(1)
for , where is a rotation matrix (sometimes also known as a proper orthogonal matrix, i.e., ). 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 also transforms the cross product vector, written as,

(2)
Triad proposes an estimate of the direction cosine matrix as a solution to the linear system equations given by

(3)
where have been used to separate different column vectors.
The solution presented above works well in the noisefree case. However, in practice, 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

(4)

(5)
and

(6)

(7)
to be used in place of the first two columns of (3). 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

(8)
While the normalizations of Equations (4)  (7) are not necessary, they have been carried out to achieve a computational advantage in solving the linear system of equations in (8). Thus an estimate of the spacecraft attitude is given by the proper orthogonal matrix as

(9)
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 Handedness 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 rewrite Eq. (8) in a matrix form given by

(10)
where and Note that if the columns of form a left handed triad, then the columns of are also left handed because of the oneone 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 is or depending on whether its columns are right or left  handed respectively (similarly, ). Taking determinant on both sides of the relation in Eq. (10), we conclude that

(11)
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 onboard sensor (e.g., star tracker, magnetometer, etc.). With advances in microelectronics, 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.
See also
References
 ^ Black, Harold (July 1964). "A Passive System for Determining the Attitude of a Satellite". AIAA Journal. 2 (7): 1350–1351. Bibcode:1964AIAAJ...2.1350.. doi:10.2514/3.2555.
 ^ Black, Harold (July–August 1990). "Early Developments of Transit, the Navy Navigation Satellite System". Journal of Guidance, Control and Dynamics. 13 (4): 577–585. Bibcode:1990JGCD...13..577B. doi:10.2514/3.25373.
 ^ Wahba, Grace (July 1966). "A Least Squares Estimate of Satellite Attitude, Problem 65.1". SIAM Review. 8: 385–386. doi:10.1137/1008080.
 ^ Markley, Landis (April–June 1993). "Attitude Determination Using Vector Observations: A Fast Optimal Matrix Algorithm" (PDF). The Journal of Astronautical Sciences. 41 (2): 261–280. Retrieved April 18, 2012.