[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Next Article in Journal
Influence of Lamb Wave Anisotropy on Detection of Water-to-Ice Phase Transition
Previous Article in Journal
I-f Control Method for SynRMs Uses Simple Inductance Identification and Voltage Injection for Current and Angle Control
You seem to have javascript disabled. Please note that many of the page functionalities won't work as expected without javascript enabled.
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Stochastic H Filtering of the Attitude Quaternion †

by
Daniel Choukroun
*,
Lotan Cooper
and
Nadav Berman
Mechanical Engineering Department, Ben-Gurion University of the Negev, Beer Sheva 84105, Israel
*
Author to whom correspondence should be addressed.
This article is a revised and expanded version of the paper Spacecraft Attitude Estimation via Stochastic H Filtering, In Proceedings of the AIAA Guidance Navigation and Control Conference, Toronto, ON, Canada, 2–5 August 2010. AIAA 2010-8340. doi: 10.2514/6.2010-8340.
Deceased.
Sensors 2024, 24(24), 7971; https://doi.org/10.3390/s24247971
Submission received: 12 September 2024 / Revised: 29 November 2024 / Accepted: 3 December 2024 / Published: 13 December 2024
(This article belongs to the Section Physical Sensors)
Figure 1
<p>Time histories of the Attenuation Ratio (black line) and the best guaranteed bound <math display="inline"><semantics> <msubsup> <mi>γ</mi> <mrow> <mi>Q</mi> <mi>H</mi> <mi>F</mi> </mrow> <mn>2</mn> </msubsup> </semantics></math> (blue line). 500 MC runs. <math display="inline"><semantics> <mrow> <mrow> <mo>(</mo> <msub> <mi>σ</mi> <mi>ϵ</mi> </msub> <mo>,</mo> <msub> <mi>σ</mi> <mi>b</mi> </msub> <mo>)</mo> </mrow> <mo>=</mo> <mrow> <mo>(</mo> <mn>0.1</mn> <mo>,</mo> <mn>0.1</mn> <mo>)</mo> </mrow> </mrow> </semantics></math>.</p> ">
Figure 2
<p>Time histories of the MC-mean of the Attenuation Ratios for various initial quaternion estimates. 50 MC runs. <math display="inline"><semantics> <mrow> <mrow> <mo>(</mo> <msub> <mi>σ</mi> <mi>ϵ</mi> </msub> <mo>,</mo> <msub> <mi>σ</mi> <mi>b</mi> </msub> <mo>)</mo> </mrow> <mo>=</mo> <mrow> <mo>(</mo> <mn>0.1</mn> <mo>,</mo> <mn>0.1</mn> <mo>)</mo> </mrow> </mrow> </semantics></math>.</p> ">
Figure 3
<p>Time histories of the MC-mean of the Attenuation Ratios for various initial matrices <math display="inline"><semantics> <mrow> <mover accent="true"> <mi>P</mi> <mo stretchy="false">˜</mo> </mover> <mrow> <mo>(</mo> <mn>0</mn> <mo>)</mo> </mrow> </mrow> </semantics></math>. 50 MC runs. <math display="inline"><semantics> <mrow> <mrow> <mo>(</mo> <msub> <mi>σ</mi> <mi>ϵ</mi> </msub> <mo>,</mo> <msub> <mi>σ</mi> <mi>b</mi> </msub> <mo>)</mo> </mrow> <mo>=</mo> <mrow> <mo>(</mo> <mn>0.1</mn> <mo>,</mo> <mn>0.1</mn> <mo>)</mo> </mrow> </mrow> </semantics></math>.</p> ">
Figure 4
<p>Time histories of the quaternion estimation error MC-means (blue) and MC-standard deviations (red). 50 MC runs. <math display="inline"><semantics> <mrow> <mrow> <mo>(</mo> <msub> <mi>σ</mi> <mi>ϵ</mi> </msub> <mo>,</mo> <msub> <mi>σ</mi> <mi>b</mi> </msub> <mo>)</mo> </mrow> <mo>=</mo> <mrow> <mo>(</mo> <mn>0.001</mn> <mo>,</mo> <mn>0.1</mn> <mo>)</mo> </mrow> </mrow> </semantics></math>.</p> ">
Figure 5
<p>Time histories of the angular estimation error MC-mean (blue) and of the ± MC-<math display="inline"><semantics> <mi>σ</mi> </semantics></math> envelope (red). 50 MC runs. <math display="inline"><semantics> <mrow> <mrow> <mo>(</mo> <msub> <mi>σ</mi> <mi>ϵ</mi> </msub> <mo>,</mo> <msub> <mi>σ</mi> <mi>b</mi> </msub> <mo>)</mo> </mrow> <mo>=</mo> <mrow> <mo>(</mo> <mn>0.001</mn> <mo>,</mo> <mn>0.1</mn> <mo>)</mo> </mrow> </mrow> </semantics></math>.</p> ">
Figure 6
<p>Time histories of the MC-means of the quaternion estimation errors in QHF (blue), MEKF (red), and UQF (green). Case A. 50 MC runs. <math display="inline"><semantics> <mrow> <mrow> <mo>(</mo> <msub> <mi>σ</mi> <mi>ϵ</mi> </msub> <mo>,</mo> <msub> <mi>σ</mi> <mi>b</mi> </msub> <mo>)</mo> </mrow> <mo>=</mo> <mrow> <mo>(</mo> <mn>0.001</mn> <mo>,</mo> <mn>0.1</mn> <mo>)</mo> </mrow> </mrow> </semantics></math>.</p> ">
Figure 7
<p>Time histories of the MC-means of the quaternion estimation errors in QHF (blue), MEKF (red), and UQF (green). Case B. 50 MC runs. <math display="inline"><semantics> <mrow> <mrow> <mo>(</mo> <msub> <mi>σ</mi> <mi>ϵ</mi> </msub> <mo>,</mo> <msub> <mi>σ</mi> <mi>b</mi> </msub> <mo>)</mo> </mrow> <mo>=</mo> <mrow> <mo>(</mo> <mn>0.001</mn> <mo>,</mo> <mn>0.1</mn> <mo>)</mo> </mrow> </mrow> </semantics></math>.</p> ">
Versions Notes

Abstract

:
Several stochastic H filters for estimating the attitude of a rigid body from line-of-sight measurements and rate gyro readings are developed. The measurements are corrupted by white noise with unknown variances. Our approach consists of estimating the quaternion while attenuating the transmission gain from the unknown variances and initial errors to the current estimation error. The time-varying H gain is computed by solving algebraic and differential linear matrix inequalities for a given transmission threshold, which is iteratively lowered until feasibility fails. Thanks to the bilinear structure of the quaternion state-space model, the algorithm parameters are independent of the state. The case of a gyro drift is addressed, too. Extensive Monte-Carlo simulations show that the proposed stochastic H quaternion filters perform well for a wide range of noise variances. The actual attenuation, which improves with the noise variance and is worst in the noise-free case, is better than the guaranteed attenuation by one order of magnitude. The proposed stochastic H filter produces smaller biases than nonlinear Kalman or unscented filters and similar standard deviations at large noise levels. An essential advantage of this H filter is that the gains are independent of the quaternion, which makes it insensitive to modeling errors. This desired feature is illustrated by comparing its performances against those of unmatched nonlinear optimal filters. When provided with too high or too low noise variances, the multiplicative Kalman filter and the unscented quaternion filter are outperformed by the H filter, which essentially delivers identical error magnitudes.

1. Introduction

The attitude quaternion ([1], p. 758) is a very popular spacecraft attitude parametrization, whose mathematical modeling and filtering have been ongoing topics of research for more than four decades [2]. Numerous successful quaternion stochastic estimators have been developed in the realm of optimal filtering, e.g., [3,4,5,6,7,8] and ([9], Ch. 6) for an in-depth survey. An inherent drawback of the optimal filtering approach is its sensitivity to the model noise variance. Although adapting the filter gain computations might provide satisfactory performances in some cases, like adaptive process noise estimation in [6] and uncompensated random biases in [10,11], the designer might prefer a less sensitive approach: rather than trying to estimate the unknown parameters, the filter will attenuate their impact on the estimation error for a given transmission level that should be as small as possible. This general approach was followed in [12,13,14] for spacecraft attitude determination. In [12], an H estimator of the spacecraft quaternion and gyro biases was developed. In [13,14], extended H filters were applied to spacecraft attitude determination and gyro calibration by processing space-borne telemetry of the CBERS-2 satellite, including outputs from rate gyros, two sun sensors, and an Earth sensor. The filters produced estimates of Euler angles and the quaternion, respectively, along with estimates of the gyro biases. Their performance compared favorably with those of standard extended Kalman filters. Reference [15] presented an invariant extended H filter for attitude and position estimation using Lie groups algebra, which conveniently produces state-independent Jacobians at any linearization point. All of the above works are rooted in the deterministic H estimation theory. In that realm, the measurement and process noises, and the initial errors, are modeled as energy-finite disturbances, a.k.a. L 2 or l 2 signals.
A theory of stochastic H filtering and control for nonlinear systems was introduced in [16,17] based on dissipativity theory. The stochastic framework has several advantages over the deterministic one. It enables the treatment of random parameters in the measurement and process equations; it enables the treatment of white noises in the process and measurement equations; it alleviates the requirement for perfect knowledge of the white noise variance; conceptually, it includes the deterministic case as a particular case. These are significant theoretical departures from the deterministic setting and they have significant practical aspects as well. In our work, the state-space model parameters are random because they are functions of gyroscopes and vector measurements. While the deterministic theory is not built to cope with random parameters, the stochastic theory does by considering an averaged version of the L 2 gain property. The developments involve a conditional expectation operator given the available information, which enables processing current observations. Using white noise as a modeling step for process and sensing errors is common in engineering applications. A famous example in aeronautics is the Dryden Wind Turbulence model where continuous gusts are modeled as stochastic processes with several distinct power spectral densities. The case for modeling measurement errors as random noises is even stronger, hence, the need for a stochastic H framework that encompasses white noise inputs. Furthermore, the proposed approach alleviates the need for perfect knowledge of the noise variances.
In this work, stochastic H quaternion filters are developed in the realm of the theory introduced in [16,17] to estimate attitude from vector and gyroscope observations. We assume that a time-varying line-of-sight (LOS) signal is continuously acquired, that a triad of body-mounted gyros provides a measurement of the spacecraft’s angular velocity, and that both measurement processes are corrupted by additive white noise. The case of a gyro bias is addressed through Brownian motion modeling. All white noise variances are assumed to be unknown. A distinctive feature of our modeling and filtering approach is that the plant equations admit white noise as inputs and that their variances are assumed to be finite-energy perturbations. The stochastic filter aims at estimating the quaternion while attenuating these perturbations. This article is a revised and expanded version of the paper [18]. Here, it is extended to include the development of an H filter for quaternion and gyro bias estimation, along with extensive Monte-Carlo simulations for validation.
Several filters are developed: first, the gyro noise variance is the sole unknown, then both the gyro and the LOS noise variances are unknown, and, finally, the case of biased gyro measurements is considered. The state multiplicative nature of the errors in both the process and measurement provides a useful structure. The proposed approach avoids linearization by exploiting a pseudo-linear quaternion plant model, introduced in [6], extended to continuous-time stochastic settings, and further analyzed in [7,8]. The filter implementation requires solving differential linear matrix inequalities that do not depend on the state estimate. Extensive Monte-Carlo simulations were run to evaluate the novel filter’s performances and to compare them with those of a quaternion multiplicative extended Kalman filter [3], an unscented quaternion filter [5], and the quaternion Kalman filter in [7].
Section 2 presents the quaternion H filters for the case of drift-free rate gyros. Section 3 is concerned with the non-zero drift case. Section 4 presents the results of Monte-Carlo simulations. Conclusions are proposed in Section 5.

2. Quaternion Stochastic H Filtering

2.1. Problem Statement

For simplicity and clarity, drift-free gyroscopes are treated first. Consider the following Itô stochastic differential equation (SDE) for the attitude quaternion, and the associated measurement equation [7]:
d q t = 1 2 ( Ω t 3 σ ϵ 2 4 I 4 ) q t d t 1 2 Ξ ( q t ) σ ϵ d β t ; q t ( 0 ) = a . e . q 0 ; t [ 0 , T ]
d y t = H t q t d t 1 2 Ξ ( q t ) σ b d η t
where q t R 4 denotes the attitude quaternion, Ω t R 4 × 4 is the following matrix function of the measured angular velocity ω t ,
Ω t = ω t × ω t ω t T 0
where ω t R 3 , which is acquired by a triad of body-mounted gyroscopes, is corrupted by an additive standard Brownian motion, β t R 3 , with infinitesimal independent increments d β t , such that E { d β t d β t T } = I 3 d t . The parameter σ ϵ denotes the standard deviation of the gyro noise β t . The drift term in Equation (1) features a damping term in σ ϵ that ensures mean-square stability of the process q t (see [7,8]). Under the conditions governing Equation (1), it was shown in [7] that the trace of E { q t q t } is invariant as t increases, and in [8] that the steady-state of E { q t q t } as t tends to infinity is the scaled identity matrix 1 4 I 4 . Equation (2) is a continuous-time quaternion measurement equation where the measurement value is identically zero [6]. Hence,
d y t = 0 4 × 1
and the measurement matrix H t R 4 × 4 is constructed from LOS measurements. Let b t R 3 and r t R 3 denote the projections of a measured LOS in the spacecraft body frame axes and a reference inertial frame, respectively, then H t is computed as follows
s t = 1 2 ( b t + r t )
d t = 1 2 ( b t r t )
H t = s t × d t d t T 0
The matrix, Ξ ( q t ) , which appears both in the process and measurement multiplicative noises, is the following linear matrix function of the quaternion q t = [ e t T q t ] T :
Ξ ( q t ) = q t I 3 + e t × e t T
The measurement noise is modeled as a standard Brownian motion, η t R 3 , multiplied by the parameter σ b . Assume that σ ϵ and σ b are unknown, possibly time-varying random parameters, and that there is no prior knowledge of their possible values or bounds. The filtering problem consists of estimating the quaternion q t in the presence of unknown and random σ ϵ and σ b and is formulated as a disturbance attenuation problem. The following estimator is considered:
d q ^ t = 1 2 Ω t q ^ t d t + K ( q ^ t ) d y t H t q ^ t d t
q ^ ( 0 ) = q ^ 0
The Itô correction term, 3 σ ϵ 2 4 , is dropped for simplicity. It is not required for the filter development as the dynamics of the filter estimate and estimation error, { q ^ t , q ˜ t } , are designed to be stable in the mean-square sense independently from that correction [16]. Let q ˜ t denote the additive quaternion estimation error, i.e.,
q ˜ t = q t q ^ t
Given a scalar γ > 0 , a gain process K ( q ^ t ) R 4 × 4 is sought, such that the following H criterion is satisfied:
E { 0 T q ˜ t 2 d t } γ 2 E { q ˜ 0 2 + 0 T v t 2 d t }
under the constraints (1) and (2), and where v t denotes the augmented process of admissible disturbance functions. Whenever Equation (12) is true, the so-called L 2 -gain property from { q ˜ 0 , v t } to q ˜ t , is satisfied for 0 t T . Two cases for v will be considered in the following: v = σ ϵ and v = { σ ϵ , σ b } and significant differences will be highlighted.

2.2. Augmented Stochastic Process

Following standard techniques, the following augmented process is defined:
q t a = q ^ t q ˜ t
The design model for the process q t obeys the following equation
d q t = 1 2 Ω t q t d t 1 2 Ξ ( q t ) σ ϵ d β t
The estimator’s equation is given by Equation (9), i.e.,
d q ^ t = 1 2 Ω t q ^ t d t + K ^ t d y t H t q ^ t d t = 1 2 Ω t K ^ t H t q ^ t d t
where K ^ t denotes K ( q ^ t ) . Using Equations (2), (14) and (15) yields the SDE for the estimation error:
d q ˜ t = 1 2 Ω t K ^ t H t q ˜ t d t 1 2 Ξ σ ϵ d β t + 1 2 K ^ t Ξ σ b d η t = 1 2 Ω t K ^ t H t q ˜ t d t 1 2 i = 1 3 Ξ C i σ ϵ d β i + 1 2 K ^ t Ξ σ b d η t
where Ξ denotes the matrix Ξ ( q ) , Ξ C i , i = 1 , 2 , 3 , denote the columns of the matrix Ξ , and the scalar processes β i , and i = 1 , 2 , 3 are the components of the vector Brownian motion β t . Notice that Ξ is a function of the augmented process { q ^ t , q ˜ t } , as it is a function of the quaternion q . Appending Equations (15) and (16) yields the following augmented SDE:
d q ^ t d q ˜ t = ( 1 2 Ω t K ^ t H t ) q ^ t ( 1 2 Ω t K ^ t H t ) q ˜ t d t + i = 1 3 O 4 × 1 1 2 Ξ C i σ ϵ d β i + O 4 × 3 1 2 K ^ t Ξ σ b d η t
where O m × n denotes an m × n matrix of zeros. Equation (17) can be re-written in the following compact form:
d q t a = F a q t a d t + i = 1 3 g 2 i ( q t a ) σ ϵ d β i + G ( q t a ) σ b d η t
where F a , g 2 i ( q t a ) , and G ( q t a ) are effectively defined from Equation (17). Equation (17) provides a process equation for the augmented state q t a with Brownian motions as the inputs, state-dependent input gain matrices, and here a state-linear drift term.

2.3. Hamilton-Jacobi-Bellman Inequality

The desired L 2 -gain property will be satisfied if and only if the augmented system (18) is dissipative with respect to the supply rate S ( v ( t ) , q t a ) = γ 2 v ( t ) 2 q ˜ t 2 , for a given positive scalar γ [16]. Thus, a non-negative scalar-valued function, V ( q a , t ) , is sought that satisfies the fundamental property [17]:
E { V ( q t a , t ) } E { V ( q s a , s ) + s t { γ 2 v ( τ ) 2 q ˜ τ 2 d τ } 0 s t T
E { V ( q 0 a , 0 ) } γ 2 E { q ˜ 0 2 }
for all q a and for all admissible v ( t ) . When Equation (19) is satisfied, the function V is called a storage function for the supply rate S. A sufficient condition for Equation (19) is as follows:
E { d V ( q a , t ) } E { γ 2 v ( t ) 2 q ˜ t 2 } 0 t T
for all q a and for all admissible v ( t ) , where d V is the Itô differential of the function V. Notice that the processes { Ω t } and { H t } are observed and thus belong to the information pattern. Let I t denote the information pattern at time t, which includes the observations of the angular velocity and of the LOS until t, i.e., I t = { { ω } 0 t , { b } 0 t } . In the development of the sufficiency conditions, one can use the following property of the expectation operator to write (21) as follows:
E { E { d V ( q a , t ) γ 2 v t 2 + q ˜ t 2 | I t } } 0
for all q a and t. Then, a sufficient condition for (22) is
E { d V ( q a , t ) γ 2 v t 2 + q ˜ t 2 | I t } 0
for all q a and t. Given the conditioning on I t in (23), the functions Ω t and H t can be considered deterministic functions. Using the Itô differentiation rule ([19], p. 112) and dropping the expectation operator on both sides of Equation (21) yields the following sufficient condition, i.e., the Hamilton–Jacobi–Bellman (HJB) inequality for V ( q a , t ) :
V t + V q a F a q a + 1 2 σ b 2 tr G G T 2 V q a 2 + 1 2 σ ϵ 2 i = 1 3 g 2 i T 2 V q a 2 g 2 i γ 2 v 2 q ˜ 2
for all 0 t T , q a , and for all admissible v ( t ) , where G and g 2 i are functions of q a . Dropping the integral and the expectation operators is a standard procedure in stochastic H estimation and control [16] or in stochastic optimal control ([20], p. 321).

2.3.1. Case Where v = { σ ϵ , σ b }

Assume both σ ϵ and σ b are perturbations. Bringing all terms to the left-hand-side (LHS) of Equation (24) yields
V t + V q a F a q a + q a T L q a + 1 2 tr G G T 2 V q a 2 γ 2 σ b 2 + 1 2 i = 1 3 g 2 i T 2 V q a 2 g 2 i γ 2 σ ϵ 2 0
where L denotes the following 8 × 8 matrix
L = O 4 O 4 O 4 I 4
and I 4 denotes the four-dimensional identity matrix. For a solution to exist for all q a and for all admissible { σ ϵ , σ b } the coefficients multiplying the arbitrary disturbance functions, σ ϵ and σ b , in Equation (25) must be negative, which yields the following conditions:
1 2 tr G G T 2 V q a 2 γ 2 0
1 2 i = 1 3 g 2 i T 2 V q a 2 g 2 i γ 2 0
for all 0 t T , q a . Thus, according to Equation (25), any non-zero disturbance will only add a negative term to the LHS, increasing the system’s dissipativity for the chosen supply rate. Henceforth, the worst-case scenario consists of vanishing disturbances, e.g.,
σ ϵ * = 0
σ b * = 0
Some interpretation of Equations (29) and (30) is required. It might appear at first sight counter-intuitive that the worst-case scenario for an estimator consists of vanishing noise variances. However, the proposed solution follows the attenuation H criterion (12), not a minimum error condition. Henceforth, performance is measured via the ratio between the ( L 2 norms of the) estimation error and the noise variance, not via the estimation error itself. It is thus not surprising that the proposed estimator will perform better, i.e., attenuate better in the presence of high variances than in the presence of low variances.

Summary

Using Equations (29) and (30) in Equation (25) yields the following sufficient conditions. For all q a and 0 t T ,
V t + V q a F a q a + q a T L q a 0
1 2 tr G G T 2 V q a 2 γ 2 0
1 2 i = 1 3 g 2 i T 2 V q a 2 g 2 i γ 2 0

2.3.2. Case Where v = σ ϵ

Consider the case where σ ϵ is the sole perturbation. In this case, the HJB inequality evaluated at the worst-case yields the following sufficient conditions: for all q a and 0 t T ,
V t + V q a F q a + q a T L q a + 1 2 σ b 2 tr G G T 2 V q a 2 0
1 2 i = 1 3 g 2 i T 2 V q a 2 g 2 i γ 2 0
In Equation (34), parameter σ b is a known deterministic parameter.

2.4. Storage Function V

A standard approach to circumvent the formidable task of solving the partial differential inequality for V [Equation (24)] consists of guessing the solution in a parameterized form and developing sufficient conditions for its parameters. The classical quadratic form for V will be used here:
V ( q a , t ) = q a T P t q a
where P t is assumed to be symmetric, positive, and block diagonal, i.e.,
P t = P ^ t O 4 O 4 P ˜ t

2.5. Sufficient Conditions on the Matrices K ^ , P ˜ , P ^

Using Equations (36) and (37) in Equation (31), straightforward computations yield the following identity:
V t + V q a F a q a + q a T L q a = q ^ t T q ˜ t T d P ^ t d t + F ^ t T P ^ t + P ^ t F ^ t O 4 O 4 d P ˜ t d t + F ^ t T P ˜ t + P ˜ t F ^ t + I 4 q ^ t q ˜ t
where F ^ t is defined as follows:
F ^ t = 1 2 Ω t K ^ t H t
Exploiting the following property of the matrix Ξ ([9], Eq. (8.20b)),
Ξ Ξ T = q t T q t I 4 q t q t T
yields the following identities
1 2 i = 1 3 g 2 i T 2 V q a 2 g 2 i = q t T 1 4 ( tr P ˜ t I 4 P ˜ t ) q t
1 2 tr G G T 2 V q a 2 = q t T 1 4 tr ( K ^ t T P ˜ t K ^ t ) I 4 K ^ t T P ˜ t K ^ t q t

2.5.1. Convexity Condition with Respect to σ ϵ

Using Equation (41) in Equation (33) [Equation (35)], and noting that the inequality must be verified for all q t yields the following condition on P ˜ t :
1 4 ( tr P ˜ t I 4 P ˜ t ) γ 2 I 4 0
This condition must be satisfied in both cases, whether σ b is known or is an unknown perturbation. The latter condition can be easily reformulated in terms of the characteristic values of the symmetric positive matrix P ˜ . Let λ ˜ i , i = 1 , 2 , 3 , 4 , denote the four positive eigenvalues of P ˜ , then Equation (43) is equivalent to the following condition:
1 4 max λ ˜ 2 + λ ˜ 3 + λ ˜ 4 , λ ˜ 1 + λ ˜ 3 + λ ˜ 4 , λ ˜ 1 + λ ˜ 2 + λ ˜ 4 , λ ˜ 1 + λ ˜ 2 + λ ˜ 3 γ 2

2.5.2. Case Where v = { σ ϵ , σ b }

Using Equation (42) in Equation (32), and noting that the inequality must be verified for all q t , yields the following condition on P ˜ t and K ^ :
1 4 tr ( K ^ t T P ˜ t K ^ t ) I 4 K ^ t T P ˜ t K ^ t γ 2 I 4 0
Using Equation (38) in Equation (31) yields two uncoupled differential matrix inequalities for P ^ t and P ˜ t , respectively:
d P ^ t d t + F t T P ^ t + P ^ t F t 0
d P ˜ t d t + F t T P ˜ t + P ˜ t F t + I 4 0
Assuming that the matrices P ^ t and P ˜ t are identical for the sake of simplicity allows dropping Equation (46). Combining Equations (43), (45) and (47) yields the inequalities to be solved for K ^ and P ˜ .
d P ˜ t d t + F t T P ˜ t + P ˜ t F t + I 4 0
1 4 ( tr P ˜ t I 4 P ˜ t ) γ 2 I 4 0
1 4 ( tr M t I 4 M t ) γ 2 I 4 0
where
F t = 1 2 Ω t K ^ H t
M t = K ^ T P ˜ t K ^
Notice that the left-hand sides (LHS) of the above inequalities are independent of the quaternion estimate; thus, the filter gain K ^ is also independent of q ^ t . It will be denoted by K t in the following.

Sufficient Conditions in the Form of Linear Matrix Inequalities

As the above inequalities are not linear with respect to P ˜ and K, some manipulations are required in order to bring them to a Linear Matrix Inequality (LMI) structure. The bilinear dependence with respect to P ˜ and K is readily coped with via a standard parametrization approach. Let Y ˜ t denote the following four-dimensional matrix:
Y ˜ t = P ˜ t K t
then, using Equation (53) in Equation (48) yields
d P ˜ t d t + 1 2 ( Ω t T P ˜ t + P ˜ t Ω t ) ( H t T Y ˜ t T + Y ˜ t H t ) + I 4 0
To circumvent the difficulty arising from the quadratic structure of M t with respect to P ˜ t and K, a symmetric positive definite matrix W t is sought, such that
M t W t = Y ˜ t T P ˜ t 1 Y ˜ t W t 0
Notice that P ˜ t 1 exists as P ˜ t is assumed to be positive definite. Then, the following bounds on the LHS of Equation (50) are used:
1 4 ( tr M t I 4 M t ) γ 2 I 4 ( 1 4 tr M t γ 2 ) I 4 ( 1 4 tr W t γ 2 ) I 4 0
and Equation (50) is replaced with the following sufficient condition on W:
1 4 tr W t γ 2 0
where W, Y ˜ , and P ˜ satisfy Equation (55), which by the Schur complement can be written as the following LMI:
W t Y ˜ t Y ˜ t T P ˜ t 0
Notice that the successive bounds in Equation (56) yield a sufficient condition for the attenuation filtering problem.

2.5.3. Case Where v = σ ϵ

Using Equation (42) and the definition of q a yields the following identity:
1 2 σ b 2 tr G G T 2 V q a 2 = q t T σ b 2 4 tr ( K ^ t T P ˜ t K ^ t ) I 4 K ^ t T P ˜ t K ^ t q t = q ^ t T q ˜ t T I 4 I 4 σ b 2 4 tr ( K ^ t T P ˜ t K ^ t ) I 4 K ^ t T P ˜ t K ^ t I 4 I 4 q ^ t q ˜ t
Using Equations (38) and (59) in Equation (34) yields
q ^ t T q ˜ t T d P ^ t d t + F ^ t T P ^ t + P ^ t F ^ t + σ b 2 4 tr M ^ t I 4 M ^ t σ b 2 4 tr M ^ t I 4 M ^ t σ b 2 4 tr M ^ t I 4 M ^ t d P ˜ t d t + F ^ t T P ˜ t + P ˜ t F ^ t + σ b 2 4 tr M ^ t I 4 M ^ t + I 4 q ^ t q ˜ t 0
for all ( q ^ t , q ˜ t , t ) , where M ^ t = K ^ t T P ˜ t K ^ t . Assuming that P ^ = P ˜ as in the previous case yields the following matrix differential inequality
d P ˜ t d t + F T P ˜ t + P ˜ t F + σ b 2 4 ( tr M ) I 4 M σ b 2 4 ( tr M ) I 4 M σ b 2 4 ( tr M ) I 4 M d P ˜ t d t + F T P ˜ t + P ˜ t F + I 4 + σ b 2 4 ( tr M ) I 4 M 0
for all 0 t T , where
F = 1 2 Ω t K t H t
M = K t T P ˜ t K t
Thus, when σ b is a known parameter, Equations (61)–(63) and Equation (43) are the sufficient conditions for P ˜ and K.

Sufficient Conditions in the Form of LMI

Introducing a matrix variable W t that satisfies Equations (53) and (55), and using the same upper bounds sequence as in Equation (56) yields the following differential LMI for this case:
d P ˜ t d t + 1 2 ( Ω t T P ˜ t + P ˜ t Ω t ) ( H t T Y ˜ t T + Y ˜ t H t ) + σ b 2 4 ( tr W t ) I 4 σ b 2 4 ( tr W t ) I 4 σ b 2 4 ( tr W t ) I 4 d P ˜ t d t + 1 2 ( Ω t T P ˜ t + P ˜ t Ω t ) ( H t T Y ˜ t T + Y ˜ t H t ) + I 4 + σ b 2 4 ( tr W t ) I 4 0

2.6. Quaternion Stochastic H Filters Summary

Given q ^ 0 , choose P ˜ ( 0 ) , such that Equation (20) is satisfied. Solve the following set of (differential) LMIs for P ˜ t = P ˜ t T > 0 R 4 , Y ˜ t R 4 , and W t = W t T > 0 R 4 :

2.6.1. Case Where v = { σ ϵ , σ b }

d P ˜ t d t + 1 2 ( Ω t T P ˜ t + P ˜ t Ω t ) ( H t T Y ˜ t T + Y ˜ t H t ) + I 4 0
W t Y ˜ t Y ˜ t T P ˜ t 0
1 4 ( tr P ˜ t I 4 P ˜ t ) γ 2 I 4 0
1 4 tr W t γ 2 0

2.6.2. Case Where v = σ ϵ

d P ˜ t d t + 1 2 ( Ω t T P ˜ t + P ˜ t Ω t ) ( H t T Y ˜ t T + Y ˜ t H t ) + σ b 2 4 ( tr W t ) I 4 σ b 2 4 ( tr W t ) I 4 σ b 2 4 ( tr W t ) I 4 d P ˜ t d t + 1 2 ( Ω t T P ˜ t + P ˜ t Ω t ) ( H t T Y ˜ t T + Y ˜ t H t ) + I 4 + σ b 2 4 ( tr W t ) I 4 0
W t Y ˜ t Y ˜ t T P ˜ t 0
1 4 ( tr P ˜ t I 4 P ˜ t ) γ 2 I 4 0
For any pair of matrices ( Y ˜ t , P ˜ t ) , compute the gain K t using
K t = P ˜ t 1 Y ˜ t
and compute the estimated quaternion via the estimator differential equation
q ^ ˙ t = 1 2 Ω t K t H t q ^ t
Remark 1.
The estimator in Equation (73) is not designed to preserve the estimate quaternion unit-norm property. For that purpose, a normalization stage of the estimate is performed along the estimation process [4,7]
q ^ = q ^ q ^
Remark 2.
A key feature of the above filters lies in the fact that the gain computations are independent of the estimated process. As a result, the gain values are insensitive to the initial estimation errors, which are often causes of divergence in linearization-based filtering techniques, like the extended Kalman filter. An additional essential by-product is that the estimate differential equation (73) can be integrated as an ordinary differential equation.
Remark 3.
The omission of the damping term in Equation (2) does not affect the estimator’s stability as Equation (73) remains valid. Yet, it affects the gain calculations due to additional terms in the LMI governing the sufficient condition related to σ ϵ . Neglecting this impact is justified in our approach because the magnitude of the term 3 4 σ ϵ 2 is typically extremely small and because the drift of the length of the true quaternion is a valid assumption in the H estimation framework.
Remark 4.
The above algorithms are solved using standard primal-dual interior-point methods, as implemented in SeDuMi [21,22]. The method formulates a minimization problem over γ subject to the constraints described in Equations (65)–(68). For the solver SeDuMi, an assessment of the computational complexity is O ( n 4 ) for the 2 n 2 + n decision variables, where n = 4 . Compared with the standard computational complexity of a Kalman filter, i.e., O ( n 3 ) , this yields a ratio of 4.
Remark 5.
Inspired by [23], discrete approximations of the differential LMIs are developed via finite-difference formulas. For example, Equation (65) is implemented as follows:
P ˜ k + 1 P ˜ k Δ t + 1 2 ( Ω k + 1 T P ˜ k + 1 + P ˜ k + 1 Ω k + 1 ) ( H k + 1 T Y ˜ k + 1 T + Y ˜ k + 1 H k + 1 ) + I 4 0
where Δ t denotes the time increment, and k = 0 , 1 , , N = T / Δ t .

3. Quaternion and Gyro Drift Estimation

3.1. Statement of the Problem

Assuming that the rate gyro error consists of white noise and a bias, we consider the following stochastic dynamical system in Itô form:
d q t = 1 2 Ω ( ω t c t ) q t d t 1 2 Ξ ( q t ) σ ϵ ( t ) d β t ; q ( 0 ) = a . e . q 0 ; t [ 0 , T ]
d c t = σ c ( t ) d ν t ; c ( 0 ) = a . e . c 0
d y t = H t q t d t 1 2 Ξ ( q t ) σ b ( t ) d η t
where c t denotes the additive drift, modeled as a random walk process with mean c 0 and variance parameter σ c ( t ) . In Equation (77), ν t denotes a standard Brownian motion that is independent of β t and η t . Equations (76) and (77) stem from a straightforward extension of the quaternion SDE of Section 2.
The filtering problem consists of estimating the quaternion q t and the gyro drift c t from the LOS measurements in the presence of unknown noise standard deviations σ ϵ ( t ) , σ b ( t ) , and σ c ( t ) . Assuming that σ ϵ ( t ) , σ b ( t ) , and σ c ( t ) are stochastic non-anticipative processes with finite second-order moments, we consider the following estimator:
d q ^ t = 1 2 Ω ( ω t c ^ t ) q ^ t d t + K q d y t q ^ t d t
d c ^ t = K c d y t q ^ t d t
q ^ ( 0 ) = q ^ 0 , c ^ ( 0 ) = c ^ 0
Let q ˜ t and c ˜ t denote the additive quaternion and biases estimation error, i.e.,
q ˜ t = q t q ^ t
c ˜ t = c t c ^ t
Given a scalar γ > 0 , we seek the gains K q , K c , such that the following H criterion is satisfied:
E { 0 T ( q ˜ t 2 + c ˜ t 2 ) d t } γ 2 E { q ˜ 0 2 + c ˜ 0 2 + 0 T v t 2 d t }
under the constraints (76)–(78), and where v t denotes the augmented process of admissible disturbance functions, i.e., v t = { σ ϵ ( t ) , σ b ( t ) , σ c ( t ) } . Whenever Equation (84) is true, it is said that the L 2 -gain property is satisfied from { q ˜ 0 , c ˜ 0 , v t } to { q ˜ t , c ˜ t } , for 0 t T .

3.2. Design Model Development

The SDE of the quaternion-drift system is compactly rewritten as follows:
d q t d c t = 1 2 Ω ( ω t c t ) q t O 3 × 1 d t + 1 2 Ξ ( q t ) O 4 × 3 O 3 I 3 σ ϵ ( t ) I 3 O 3 O 3 σ c ( t ) I 3 d β t d ν t
and the estimator is rewritten as follows:
d q ^ t d c ^ t = [ 1 2 Ω ( ω t c ^ t ) K q H t ] K c H t q ^ t d t q ^ t ( 0 ) = q ^ 0 ; c ^ t ( 0 ) = c ^ 0
The augmented process { q ^ t , c ^ t , q ˜ , c ˜ } is governed by the following SDE
d q ^ t d c ^ t d q ˜ t d c ˜ t = 1 2 Ω t K q H t 1 2 Ξ ( q ^ t ) O O K c H t O O O O O 1 2 Ω t K q H t 1 2 Ξ ( q ^ t ) O O K c H t O q ^ t c ^ t q ˜ t c ˜ t d t + O 4 × 3 O 3 1 2 Ξ ( q ^ t ) O 3 σ ϵ ( t ) d β t + O 4 × 3 O 3 O 4 × 3 I 3 σ c ( t ) d ν t + O 4 × 3 O 4 × 3 K q 1 2 Ξ ( q ^ t ) K c 1 2 Ξ ( q ^ t ) σ b ( t ) d η t
where second-order terms with respect to the noises β t , ν t , and η t and to the estimation errors q ˜ , c ˜ have been neglected. Equation (87) may be re-written in the following compact form:
d q t a = F a q t a d t + G 1 ( q t a ) σ ϵ ( t ) d β t + G 2 ( q t a ) σ c ( t ) d ν t + G ( q t a ) σ b ( t ) d η t
The remainder of the filter development is straightforward and is omitted for the sake of brevity.

4. Numerical Simulation

This section is concerned with the numerical validation of the proposed approach in the drift-free case.

4.1. Description

Consider a spacecraft rotating around its center of mass with the following time-varying inertial angular velocity vector, ω o ( t ) :
ω o ( t ) = [ 1 , 1 , 1 ] T sin ( 2 π t / 150 ) [ deg / s ]
The measured angular velocity is computed according to
ω ( t ) = ω o ( t ) + σ ϵ ϵ ( t )
where ϵ ( t ) is a standard zero-mean white Gaussian noise, e.g., E { ϵ ( t ) ϵ ( τ ) T } = I 3 δ ( t τ ) . Typical values of low-grade gyros are used, i.e., σ ϵ [ 10 4 , 10 0 ] [rad/ s ]. A time-varying line-of-sight measurement, b t , is assumed to be acquired. It is computed via the classical vector measurement model:
b t = A ( q t ) r t + σ b δ b t
where r ( t ) is randomly generated using a zero-mean standard multivariate normal distribution and the attitude matrix A ( q t ) is expressed as follows:
A ( q t ) = ( q t 2 e t T e t ) I 3 + 2 e t e t T 2 q e t ×
As b t and r t are unit norm vectors the error δ b t is a zero-mean white Gaussian noise with E { δ b t δ b τ T } ( I 3 b t b t T ) δ ( t τ ) . Typical values of coarse and fine attitude sensors are used, i.e., σ b [ 10 5 , 10 1 ] [rad]. The true initial quaternion is q ( 0 ) = [ 1 , 1 , 1 , 1 ] T / 4 . The filter is initialized with q ^ ( 0 ) = [ 0 , 0 , 0 , 1 ] and P ˜ ( 0 ) = 10 I 4 , unless stated otherwise. Monte-Carlo simulations (50 runs) are run over time spans varying from 500 s, i.e., several periods of the angular velocity variations, to 6000 s, i.e., approximately one revolution of a low Earth orbit satellite. The simulation sampling time Δ t is set to 0.1 s for both the gyro and the attitude sensing. The novel stochastic H quaternion filter (QHF), a typical multiplicative EKF (MEKF [3]), an unscented quaternion filter (UQF [5]), and the quaternion Kalman filter introduced in [7] (QKF) are implemented for comparison.

4.2. Attenuation of Gyro σ ϵ

In this section, the numerical study focuses on the impact of the gyro perturbation σ ϵ on the attenuation performance of the QHF. For this purpose, the parameter σ ϵ is set to various known values, while σ b is kept equal to 10 6 radian. Table 1 presents the values of Monte-Carlo (MC) averages over 500 runs lasting 500 s each of δ q = max t q t q ^ t and of the ratio δ q σ ϵ Δ t , where Δ t = 0.1 s is the gyro sampling time. The former is a measure of attitude estimation accuracy, while the latter is a measure of attenuation performance. It can be seen that the QHF always converges, that the estimation accuracy is satisfying despite the extreme values of σ ϵ , albeit degraded as σ ϵ increases, and that the attenuation performance improves with σ ϵ .
Additional MC simulations (500 runs) were performed while varying the parameters σ ϵ and σ b . Table 2 depicts the ratios of the time averages (over 6000 s) of the angular error, δ ϕ , of the QHF over the QKF. The error δ ϕ is extracted from the rotational quaternion error’s fourth component. The magnitude of δ ϕ in the QHF appears in parenthesis (in degree) above the ratios. For a given σ ϵ , the values of δ ϕ and the ratios increase with σ b because the attenuation quality is impaired. It turns out that the ratios are smaller than one in almost all test cases, i.e., the QHF produces a smaller bias than the QKF. The above results suggest that the QHF is advantageous when using low-grade gyros (high σ ϵ ) with fine LOS sensors (low σ b ).

4.3. Attenuation of σ ϵ and σ b

Next, we test the performances of the QHF when both σ ϵ and σ b are unknown. For this purpose, we evaluate the actual attenuation ratio A R ( T ) , which is defined as follows:
A R ( T ) = E { 0 T q ˜ ( t ) 2 d t } E { q ˜ ( 0 ) 2 + 0 T ( σ ϵ 2 + σ b 2 ) d t }
where the final time T is 500 s, the integrals are numerically computed using a time step Δ t = 0.1 s, and the expectations are computed as MC averages over 500 runs. Table 3 shows the values of A R ( 500 ) for various σ ϵ and σ b . It also features the steady-state MC means of the best-guaranteed level of attenuation, γ Q H F 2 , which is calculated within the QHF.
In a nutshell, the performance index A R ( 500 ) is not sensitive to variations in σ ϵ , σ b below a threshold of 10 2 , above which it decreases rapidly, thus, showing an improved performance in terms of disturbance attenuation. A similar lack of sensitivity is observed for the parameter γ Q H F 2 over the full ranges of σ ϵ and σ b , with a small but consistent improvement towards large values. Strikingly, the values of A R ( 500 ) are significantly lower than those of γ Q H F 2 . In more detail, the gap is about six-fold lower in the case of vanishing variances, and about 30 times lower for very large variances, when the pair ( σ ϵ , σ b ) is equal to ( 0.1 , 0.1 ) . This is consistent with the H filtering theory, i.e., vanishing disturbances are the worst case in terms of disturbance attenuation. The time variations of the MC averages of A R ( t ) and γ Q H F 2 ( t ) are depicted in Figure 1 for 0 t 2000 s, showing that the gap between them is already large from the start. The properties of the filter are further investigated in Figure 2 and Figure 3, which depict the time variations of A R for various initial estimates of the quaternion, q ^ ( 0 ) , and various initial values of the matrix P ˜ ( 0 ) , respectively. This is done for the case of ( σ ϵ , σ b ) = ( 0.1 , 0.1 ) , where the disturbance attenuation performance is best. It appears that the transient of A R is strongly shortened when q ^ ( 0 ) is close to the true quaternion. On the other hand, the steady states are relatively close. Figure 3 further shows the lack of sensitivity of AR to P ˜ ( 0 ) . These properties stem from the independence of the estimator’s gain computations from the state and are analogous to the convergence properties of covariances in Kalman filters for linear systems.
Figure 4 depicts the MC-means and the MC-standard deviations of the four components of the quaternion estimation error for σ ϵ = 0.001 rad s and σ b = 0.1 rad. The means are close to zero and the standard deviations show satisfying estimation performances, around 3 mrad. Figure 5 presents the time histories of the MC-mean and MC-standard deviation envelop of the angular estimation error, δ ϕ . Albeit oscillating with an amplitude of 0.06 [ d e g ] around 0.08 [ d e g ] , δ ϕ shows good performances given the measurement noise level σ b of about 5 degrees.
Extensive simulations were run to compare the performances of the QHF with those of a quaternion multiplicative EKF (MEKF) and an unscented quaternion filter (UQF) [5]. In the MEKF, the (quadratic in q t ) measurement equation model is linearized, and the filter statistics are matched to the true noise levels. In the UQF, we picked the design parameter λ = 2 and the Generalized Rodriguez Parameters offset and scaling to be 0 and 1, respectively. Table 4 shows the Monte Carlo averages, computed on 50 runs of 2000 s, of the quaternion additive estimation error norm in the UQF (left), MEKF (center), and QHF (right). These values provide sensible measures for the estimation biases. In addition, the Monte Carlo standard deviations are provided for the three filters (in parenthesis). The QHF consistently provides smaller biases than the MEKF and the UQF. The latter usually exhibits smaller biases than the MEKF. This is explained by the linearization effects impairing the MEKF, whereas the QHF and the UQF avoid linearization. Yet, the UQF and the QHF implement different measurement equations. The UQF measurement is quadratic in q t while the QHF measurement model is linear in q t . On the other hand, the MEKF provides smaller standard deviations than the QHF, as expected as the MEKF is a (approximate) minimum variance estimator. The UQF provides smaller variances than the MEKF, thanks to its unique methodology in calculating the optimal gain. Table 4 shows that, for a given value of σ b , the gap between the filters decreases as σ ϵ increases and becomes negligible for large σ ϵ . Table 4 further shows the low sensitivity of the QHF standard deviations as a function of the parameters σ ϵ and σ b . The H approach partially explains this property as the gain computations are independent of σ b and σ ϵ per se.
The three filters were tested in cases where the true noise variances were unknown. This might occur as a result of undetected sensor failures or jamming. In Case A, σ b in UQF and MEKF was set to 10 times its true value. In Case B, it was lowered to one-tenth of the true value. The results are shown in Figure 6 and Figure 7, respectively. In case A, UQF and MEKF are very slow to converge while in case B they converge quicker but to noisier steady states. The QHF, on the other hand, provides essentially the same performances in both cases, with slight variations due to the data randomness. In both cases, the QHF outperforms the unmatched filters.

5. Conclusions

In this work, stochastic H filters are developed to estimate the attitude quaternion from rate gyro and vector measurements. The cases of gyro white noise and gyro biases driven by white noise are considered. A key assumption is that the variances of all white noises are treated as disturbances. The estimators compute the quaternion while attenuating the transmission from the noise variances to the estimation error. The H filters require solving a set of differential and algebraic linear matrix inequalities. A remarkable property of the resulting gains computations is that they are independent of the estimated quaternion in the case of null gyro drift. Extensive Monte-Carlo simulations show that the proposed filter performs well from the standpoint of attitude estimation per se in a wide range of gyro and vector observations variances. The guaranteed disturbance attenuation level appears slightly dependent on the variances as the gain is a function of the measurements. The actual disturbance attenuation level is better than the guaranteed one by up to one order of magnitude. It improves when the noise level increases and is the worst for (ideal) noise-free sensors. This agrees with the theory and illustrates the conservative nature of the H approach. Extensive Monte-Carlo simulations show that QHF exhibits smaller biases in general compared to standard nonlinear optimal filters, like a multiplicative quaternion Kalman filter or an unscented quaternion filter. The matched unscented and Kalman filters exhibit lower standard deviations than the H filter. But the higher the level of the noise, the lesser the advantage of the nonlinear optimal filters. Furthermore, the H filter gain is less sensitive than the MEKF or UQF gain to perturbations like initial estimation errors. This is demonstrated by comparing the H filter’s performances with those of unmatched MEKF and UQF. The unmatched MEKF and UQF were outperformed by the H filter, which delivers identical performances within a wide range of noise variances.

Author Contributions

Conceptualization, D.C. and N.B.; methodology, N.B.; software, L.C.; validation, D.C. and L.C.; formal analysis, L.C. and D.C.; investigation, L.C. and D.C.; resources, L.C.; data curation, L.C.; writing—original draft preparation, D.C. and L.C.; writing—review and editing, L.C., N.B. and D.C.; visualization, L.C.; supervision, N.B. and D.C.; project administration, not applicable; funding acquisition, D.C. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by The Israel Science Foundation (Grant No. 1546/08) and by the Ministry of Innovation, Science, and Technology of Israel (Grant No. 96924).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The original contributions presented in the study are included in the article, further inquiries can be directed to the corresponding author.

Acknowledgments

This paper is dedicated to the late Nadav Berman, an esteemed colleague and deeply missed friend. Part of this work was conducted while the first author was on a leave of absence at the Space Systems Engineering group, Faculty of Aerospace Engineering, Delft University of Technology, The Netherlands.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Wertz, J.R. (Ed.) Spacecraft Attitude Determination and Control; D. Reidel: Dordrecht, The Netherlands, 1984. [Google Scholar]
  2. Crassidis, J.; Markley, F.L.; Cheng, Y. Survey of Nonlinear Attitude Methods. J. Guid. Control Dyn. 2007, 30, 12–28. [Google Scholar] [CrossRef]
  3. Lefferts, E.J.; Markley, F.L.; Shuster, M.D. Kalman Filtering for Spacecraft Attitude Estimation. J. Guid. Control Dyn. 1982, 5, 417–429. [Google Scholar] [CrossRef]
  4. Bar-Itzhack, I.Y.; Oshman, Y. Attitude Determination from Vector Observations: Quaternion Estimation. IEEE Trans. Aerosp. Electron. Syst. 1985, AES-21, 128–136. [Google Scholar] [CrossRef]
  5. Crassidis, J.L.; Markley, F.L. Unscented Filtering for Spacecraft Attitude Estimation. J. Guid. Control Dyn. 2003, 26, 536–542. [Google Scholar] [CrossRef]
  6. Choukroun, D.; Oshman, Y.; Bar-Itzhack, I.Y. Novel Quaternion Kalman Filter. IEEE Trans. Aerosp. Electron. Syst. 2006, 42, 174–190. [Google Scholar] [CrossRef]
  7. Choukroun, D. Novel Stochastic Modeling and Filtering of the Attitude Quaternion. J. Astronaut. Sci. 2009, 57, 167–189. [Google Scholar] [CrossRef]
  8. Choukroun, D.; Choukroun, D. On Quaternion Modeling and Kalman Filtering from Vector Observations. J. Guid. Contro Dyn. 2023, 46, 1526–1535. [Google Scholar] [CrossRef]
  9. Markley, F.L.; Crassidis, J.L. Fundamentals of Spacecraft Attitude Determination and Control; Springer: Berlin/Heidelberg, Germany, 2014. [Google Scholar]
  10. Thienel, J.; Sanner, R.M. A Coupled Nonlinear Spacecraft Attitude Controller and Observer with an Unknown Constant Gyro Bias and Gyro Noise. IEEE Trans. Autom. Control 2003, 48, 2011–2015. [Google Scholar] [CrossRef]
  11. Zanetti, R.; Bishop, R.H. Kalman Filters with Uncompensated Biases. J. Guid. Control Dyn. 2012, 35, 327–335. [Google Scholar] [CrossRef]
  12. Markley, F.L.; Berman, N.; Shaked, U. Deterministic EKF-like Estimator for Spacecraft Attitude Estimation. In Proceedings of the American Control Conference, Baltimore, MD, USA, 29 June–1 July 1994; IEEE: Piscataway, NJ, USA, 1994; pp. 247–251. [Google Scholar] [CrossRef]
  13. Silva, W.; Kuga, H.; Zanardi, M. Application of the Extended H Filter for Attitude Determination and Gyro Calibration. In Proceedings of the AAS/AIAA Spaceflight Mechanics Meeting, Santa-Fe, NM, USA, 26–30 February 2014. [Google Scholar]
  14. Silva, W.; Garcia, R.; Kuga, H.; Zanardi, M. Spacecraft Attitude Estimation using Unscented Kalman Filters, Regularized Particle Filter, and Extended H Filter. In Proceedings of the AAS/AIAA Spaceflight Mechanics Meeting, Snowbird, UT, USA, 8–12 January 2018. [Google Scholar]
  15. Lavoie, M.A.; Arsenault, J.; Forbes, J.R. An Invariant Extended H Filter. In Proceedings of the IEEE 58th Conference on Decision and Control, Nice, France, 11–13 December 2019; pp. 7905–7910. [Google Scholar] [CrossRef]
  16. Berman, N.; Shaked, U. H Filtering for Nonlinear Stochastic Systems. In Proceedings of the 13th Mediterranean Conference on Control and Automation, Limassol, Cyprus, 27–29 June 2005; IEEE: Piscataway, NJ, USA, 2005; pp. 749–754. [Google Scholar] [CrossRef]
  17. Berman, N.; Shaked, U. H-like Control for Nonlinear Stochastic Systems. Syst. Control Lett. 2006, 55, 247–257. [Google Scholar] [CrossRef]
  18. Cooper, L.; Choukroun, D.; Berman, N. Spacecraft Attitude Estimation via Stochastic H Filtering. In Proceedings of the AIAA Guidance Navigation and Control Conference, Toronto, ON, Canada, 2–5 August 2010. AIAA 2010-8340. [Google Scholar] [CrossRef]
  19. Jazwinski, A.H. Stochastic Processes and Filtering Theory; Academic Press: New York, NY, USA, 1970. [Google Scholar]
  20. Speyer, J.L.; Chung, W.H. Stochastic Processes, Estimation, and Control; Advances in Design and Control, 17; SIAM: Philadelphia, PA, USA, 2008. [Google Scholar]
  21. Sturm, J.F. Using SeDuMi 1.02, a MATLAB toolbox for optimization over symmetric cones. Optim. Methods Softw. 1999, 11, 625–653. [Google Scholar] [CrossRef]
  22. Lofberg, J. YALMIP: A toolbox for modeling and optimization in MATLAB. In Proceedings of the IEEE International Symposium on Computer Aided Control Systems Design, San Jose, CA, USA, 7–11 November 2004; IEEE: Piscataway, NJ, USA, 2004; pp. 284–289. [Google Scholar] [CrossRef]
  23. Gershon, E.; Shaked, U.; Yaesh, I. H Control and Estimation of State-Multiplicative Linear Systems; LNCIS-Lecture Notes in Control and Information Sciences; Springer: Berlin/Heidelberg, Germany, 2005; Volume 318, Appendix C. [Google Scholar]
Figure 1. Time histories of the Attenuation Ratio (black line) and the best guaranteed bound γ Q H F 2 (blue line). 500 MC runs. ( σ ϵ , σ b ) = ( 0.1 , 0.1 ) .
Figure 1. Time histories of the Attenuation Ratio (black line) and the best guaranteed bound γ Q H F 2 (blue line). 500 MC runs. ( σ ϵ , σ b ) = ( 0.1 , 0.1 ) .
Sensors 24 07971 g001
Figure 2. Time histories of the MC-mean of the Attenuation Ratios for various initial quaternion estimates. 50 MC runs. ( σ ϵ , σ b ) = ( 0.1 , 0.1 ) .
Figure 2. Time histories of the MC-mean of the Attenuation Ratios for various initial quaternion estimates. 50 MC runs. ( σ ϵ , σ b ) = ( 0.1 , 0.1 ) .
Sensors 24 07971 g002
Figure 3. Time histories of the MC-mean of the Attenuation Ratios for various initial matrices P ˜ ( 0 ) . 50 MC runs. ( σ ϵ , σ b ) = ( 0.1 , 0.1 ) .
Figure 3. Time histories of the MC-mean of the Attenuation Ratios for various initial matrices P ˜ ( 0 ) . 50 MC runs. ( σ ϵ , σ b ) = ( 0.1 , 0.1 ) .
Sensors 24 07971 g003
Figure 4. Time histories of the quaternion estimation error MC-means (blue) and MC-standard deviations (red). 50 MC runs. ( σ ϵ , σ b ) = ( 0.001 , 0.1 ) .
Figure 4. Time histories of the quaternion estimation error MC-means (blue) and MC-standard deviations (red). 50 MC runs. ( σ ϵ , σ b ) = ( 0.001 , 0.1 ) .
Sensors 24 07971 g004
Figure 5. Time histories of the angular estimation error MC-mean (blue) and of the ± MC- σ envelope (red). 50 MC runs. ( σ ϵ , σ b ) = ( 0.001 , 0.1 ) .
Figure 5. Time histories of the angular estimation error MC-mean (blue) and of the ± MC- σ envelope (red). 50 MC runs. ( σ ϵ , σ b ) = ( 0.001 , 0.1 ) .
Sensors 24 07971 g005
Figure 6. Time histories of the MC-means of the quaternion estimation errors in QHF (blue), MEKF (red), and UQF (green). Case A. 50 MC runs. ( σ ϵ , σ b ) = ( 0.001 , 0.1 ) .
Figure 6. Time histories of the MC-means of the quaternion estimation errors in QHF (blue), MEKF (red), and UQF (green). Case A. 50 MC runs. ( σ ϵ , σ b ) = ( 0.001 , 0.1 ) .
Sensors 24 07971 g006
Figure 7. Time histories of the MC-means of the quaternion estimation errors in QHF (blue), MEKF (red), and UQF (green). Case B. 50 MC runs. ( σ ϵ , σ b ) = ( 0.001 , 0.1 ) .
Figure 7. Time histories of the MC-means of the quaternion estimation errors in QHF (blue), MEKF (red), and UQF (green). Case B. 50 MC runs. ( σ ϵ , σ b ) = ( 0.001 , 0.1 ) .
Sensors 24 07971 g007
Table 1. QHF performance. Maxima of MC-means of δ q and of δ q σ ϵ for various σ ϵ . 500 s, 500 runs.
Table 1. QHF performance. Maxima of MC-means of δ q and of δ q σ ϵ for various σ ϵ . 500 s, 500 runs.
σ ϵ [ rad s ] 10 4 10 3 10 2 10 1 10 0
δ q 2.5 × 10 5 2.2 × 10 4 1.7 × 10 3 1.2 × 10 2 6.2 × 10 2
δ q σ ϵ Δ t 0.79 0.69 0.53 0.37 0.18
Table 2. Ratios of the δ ϕ MC-means of the QHF over the QKF for various σ ϵ and σ b . (Time-average of the δ ϕ MC-mean in the QHF in degree). 500 runs, 6000 s.
Table 2. Ratios of the δ ϕ MC-means of the QHF over the QKF for various σ ϵ and σ b . (Time-average of the δ ϕ MC-mean in the QHF in degree). 500 runs, 6000 s.
σ ϵ [ rad s ] σ b rad 10 4 10 3 10 2 10 1 10 0
10 5 0.51 1.4   ×   10 3 0.15 1.8   ×   10 2 0.08 6.6   ×   10 2 0.02 7.2   ×   10 1 0.01 3.4   ×   10 0
10 4 0.65 6.4   ×   10 3 0.52 5.2   ×   10 2 0.18 2.7   ×   10 1 0.07 9.5   ×   10 1 0.02 6.1   ×   10 0
10 3 1.18 1.9   ×   10 2 0.63 8.6   ×   10 2 0.49 5.1   ×   10 1 0.17 1.6   ×   10 0 0.09 6.4   ×   10 0
Table 3. Attenuation Ratios A R ( 500 ) (500 MC runs) as defined in Equation (93) for various values of the parameters { σ ϵ , σ b } . (Value of the steady-state MC-mean of γ Q H F 2 , as computed in the filter).
Table 3. Attenuation Ratios A R ( 500 ) (500 MC runs) as defined in Equation (93) for various values of the parameters { σ ϵ , σ b } . (Value of the steady-state MC-mean of γ Q H F 2 , as computed in the filter).
σ ϵ [ rad s ] σ b rad 0 10 3 10 2 2   ×   10 2 5   ×   10 2 10 1
0 0.45 2.89 0.45 2.89 0.44 2.79 0.21 2.56 0.13 2.43 0.10 2.32
10 3 0.45 2.89 0.45 2.65 0.44 2.60 0.21 2.53 0.11 2.40 0.09 2.32
10 2 0.44 2.78 0.43 2.53 0.41 2.46 0.18 2.42 0.10 2.36 0.09 2.31
5   ×   10 2 0.31 2.55 0.30 2.44 0.28 2.40 0.16 2.39 0.10 2.33 0.09 2.31
10 1 0.16 2.41 0.15 2.40 0.15 2.39 0.10 2.35 0.09 2.28 0.06 2.25
Table 4. Monte Carlo averages (and Monte Carlo standard deviations) of the quaternion estimation errors in the UQF, MEKF, and QHF for various values of the parameters { σ ϵ , σ b } . 50 runs. Time span of 2000 s.
Table 4. Monte Carlo averages (and Monte Carlo standard deviations) of the quaternion estimation errors in the UQF, MEKF, and QHF for various values of the parameters { σ ϵ , σ b } . 50 runs. Time span of 2000 s.
σ b rad 10 3 10 2 10 1
σ ϵ [ rad s ] UQF | MEKF | QHF UQF | MEKF | QHF UQF | MEKF | QHF
10 7 3 × 10 5 | 3 × 10 5 | 2 × 10 5 1.0 × 10 5 | 1.2 × 10 5 | 1.4 × 10 3 0.0003 | 0.0003 | 0.0003 9.0 × 10 5 | 1.0 × 10 4 | 1.4 × 10 3 0.017 | 0.020 | 0.014 0.013 | 0.015 | 0.080
10 6 4 × 10 5 | 4 × 10 5 | 2 × 10 5 1.0 × 10 4 | 1.2 × 10 4 | 1.4 × 10 3 0.0004 | 0.0005 | 0.0003 5.0 × 10 5 | 8.0 × 10 5 | 1.3 × 10 3 0.017 | 0.020 | 0.014 0.013 | 0.015 | 0.080
10 5 3 × 10 5 | 5.1 × 10 5 | 2.3 × 10 5 1.5 × 10 4 | 2.1 × 10 4 | 1.4 × 10 3 0.0008 | 0.0008 | 0.0007 7.0 × 10 4 | 9.0 × 10 4 | 1.4 × 10 3 0.019 | 0.020 | 0.016 0.012 | 0.015 | 0.080
10 4 5 × 10 5 | 5.5 × 10 5 | 2.5 × 10 5 4.2 × 10 4 | 6.2 × 10 4 | 1.4 × 10 3 0.0009 | 0.0011 | 0.0007 1.5 × 10 3 | 2.0 × 10 3 | 2.1 × 10 3 0.019 | 0.020 | 0.015 0.010 | 0.015 | 0.082
10 3 5.3 × 10 5 | 7.9 × 10 5 | 2.6 × 10 5 1.0 × 10 3 | 1.2 × 10 3 | 1.4 × 10 3 0.0015 | 0.0034 | 0.0008 2.8 × 10 3 | 3.7 × 10 3 | 1.2 × 10 2 0.019 | 0.020 | 0.016 0.013 | 0.015 | 0.081
10 2 7.3 × 10 5 | 9.3 × 10 5 | 2.8 × 10 5 1.0 × 10 3 | 1.6 × 10 3 | 2.0 × 10 3 0.0022 | 0.0040 | 0.0014 0.009 | 0.0120 | 0.0124 0.020 | 0.020 | 0.016 0.016 | 0.019 | 0.080
10 1 8.1 × 10 5 | 1.1 × 10 4 | 3.3 × 10 5 1.0 × 10 2 | 1.6 × 10 2 | 1.6 × 10 2 0.0025 | 0.0054 | 0.0017 0.014 | 0.017 | 0.019 0.040 | 0.040 | 0.017 0.028 | 0.035 | 0.084
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Choukroun, D.; Cooper, L.; Berman, N. Stochastic H Filtering of the Attitude Quaternion. Sensors 2024, 24, 7971. https://doi.org/10.3390/s24247971

AMA Style

Choukroun D, Cooper L, Berman N. Stochastic H Filtering of the Attitude Quaternion. Sensors. 2024; 24(24):7971. https://doi.org/10.3390/s24247971

Chicago/Turabian Style

Choukroun, Daniel, Lotan Cooper, and Nadav Berman. 2024. "Stochastic H Filtering of the Attitude Quaternion" Sensors 24, no. 24: 7971. https://doi.org/10.3390/s24247971

APA Style

Choukroun, D., Cooper, L., & Berman, N. (2024). Stochastic H Filtering of the Attitude Quaternion. Sensors, 24(24), 7971. https://doi.org/10.3390/s24247971

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop