Misplaced Pages

Wahba's problem

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these messages)
This article needs attention from an expert in statistics. See the talk page for details. WikiProject Statistics may be able to help recruit an expert. (June 2011)
This article includes a list of general references, but it lacks sufficient corresponding inline citations. Please help to improve this article by introducing more precise citations. (September 2021) (Learn how and when to remove this message)
(Learn how and when to remove this message)

In applied mathematics, Wahba's problem, first posed by Grace Wahba in 1965, seeks to find a rotation matrix (special orthogonal matrix) between two coordinate systems from a set of (weighted) vector observations. Solutions to Wahba's problem are often used in satellite attitude determination utilising sensors such as magnetometers and multi-antenna GPS receivers. The cost function that Wahba's problem seeks to minimise is as follows:

J ( R ) = 1 2 k = 1 N a k w k R v k 2 {\displaystyle J(\mathbf {R} )={\frac {1}{2}}\sum _{k=1}^{N}a_{k}\|\mathbf {w} _{k}-\mathbf {R} \mathbf {v} _{k}\|^{2}} for N 2 {\displaystyle N\geq 2}

where w k {\displaystyle \mathbf {w} _{k}} is the k-th 3-vector measurement in the reference frame, v k {\displaystyle \mathbf {v} _{k}} is the corresponding k-th 3-vector measurement in the body frame and R {\displaystyle \mathbf {R} } is a 3 by 3 rotation matrix between the coordinate frames. a k {\displaystyle a_{k}} is an optional set of weights for each observation.

A number of solutions to the problem have appeared in literature, notably Davenport's q-method, QUEST and methods based on the singular value decomposition (SVD). Several methods for solving Wahba's problem are discussed by Markley and Mortari.

This is an alternative formulation of the Orthogonal Procrustes problem (consider all the vectors multiplied by the square-roots of the corresponding weights as columns of two matrices with N columns to obtain the alternative formulation). An elegant derivation of the solution on one and a half page can be found in.

Solution via SVD

One solution can be found using a singular value decomposition (SVD).

1. Obtain a matrix B {\displaystyle \mathbf {B} } as follows:

B = i = 1 n a i w i v i T {\displaystyle \mathbf {B} =\sum _{i=1}^{n}a_{i}\mathbf {w} _{i}{\mathbf {v} _{i}}^{T}}

2. Find the singular value decomposition of B {\displaystyle \mathbf {B} }

B = U S V T {\displaystyle \mathbf {B} =\mathbf {U} \mathbf {S} \mathbf {V} ^{T}}

3. The rotation matrix is simply:

R = U M V T {\displaystyle \mathbf {R} =\mathbf {U} \mathbf {M} \mathbf {V} ^{T}}

where M = diag ( [ 1 1 det ( U ) det ( V ) ] ) {\displaystyle \mathbf {M} =\operatorname {diag} ({\begin{bmatrix}1&1&\det(\mathbf {U} )\det(\mathbf {V} )\end{bmatrix}})}

Notes

  1. The rotation R {\displaystyle \mathbf {R} } in the problem's definition transforms the body frame to the reference frame. Most publications define rotation in the reverse direction, i.e. from the reference to the body frame which amounts to R T {\displaystyle \mathbf {R} ^{T}} .
  2. "Davenport's Q-method (Finding an orientation matching a set of point samples)". Mathematics Stack Exchange. Retrieved 2020-07-23.
  3. Appel, M. "Robust Spoofing Detection and Mitigation based on Direction of Arrival Estimation" (PDF). Ion GNSS+ 2015. 28.

References

See also

Category: