CN110736468A - Spacecraft attitude estimation method assisted by self-adaptive kinematics model - Google Patents
Spacecraft attitude estimation method assisted by self-adaptive kinematics model Download PDFInfo
- Publication number
- CN110736468A CN110736468A CN201910898008.7A CN201910898008A CN110736468A CN 110736468 A CN110736468 A CN 110736468A CN 201910898008 A CN201910898008 A CN 201910898008A CN 110736468 A CN110736468 A CN 110736468A
- Authority
- CN
- China
- Prior art keywords
- time
- model
- vector
- observation
- representing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/24—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for cosmonautical navigation
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Physics & Mathematics (AREA)
- Astronomy & Astrophysics (AREA)
- Automation & Control Theory (AREA)
- General Physics & Mathematics (AREA)
- Navigation (AREA)
Abstract
本发明公开了一种自适应运动学模型辅助的航天器姿态估计方法,通过建立航天器在第k个时刻的状态空间模型,在具备第k个时刻的观测向量时,根据第k个时刻的状态空间模型,利用第k‑1个时刻的Kalman滤波结果,进行Kalman滤波,提取状态向量后验估计中的旋转矢量,根据旋转矢量更新姿态矩阵,确定航天器在第k个时刻的姿态,以准确获取航天器在第k个时刻的姿态,在更新姿态矩阵之后,将旋转矢量置零,并更新其他参数,以当具备新的观测向量时,令k=k+1,返回执行建立航天器在第k个时刻的状态空间模型的过程,继续进行航天器在新的时刻的姿态的估计,以对航天器在各个时刻的姿态进行实时估计,有效提高了所获得的航天器姿态的精度。
The invention discloses a spacecraft attitude estimation method assisted by an adaptive kinematics model. By establishing a state space model of the spacecraft at the kth time, when the observation vector at the kth time is available, according to the kth time The state space model uses the Kalman filtering result at the k-1 time to perform Kalman filtering, extract the rotation vector in the posterior estimation of the state vector, update the attitude matrix according to the rotation vector, and determine the attitude of the spacecraft at the k-th time. Accurately obtain the attitude of the spacecraft at the kth moment, after updating the attitude matrix, set the rotation vector to zero, and update other parameters, so that when a new observation vector is available, set k=k+1, and return to execute the establishment of the spacecraft In the process of the state space model at the kth moment, the estimation of the attitude of the spacecraft at a new moment is continued to estimate the attitude of the spacecraft at each moment in real time, which effectively improves the accuracy of the obtained attitude of the spacecraft.
Description
技术领域technical field
本发明涉及航天器姿态估计技术领域,尤其涉及一种自适应运动学模型辅助的航天器姿态估计方法。The invention relates to the technical field of spacecraft attitude estimation, in particular to a spacecraft attitude estimation method assisted by an adaptive kinematics model.
背景技术Background technique
姿态是航天器的重要参数,精确的姿态估计对航天器的运行控制和任务执行具有重要作用,姿态估计精度不足将会缩短航天器运行寿命、降低航天器产品质量,甚至会引起航天器任务的失败。Attitude is an important parameter of a spacecraft. Accurate attitude estimation plays an important role in spacecraft operation control and mission execution. Insufficient attitude estimation accuracy will shorten the operating life of the spacecraft, reduce the quality of spacecraft products, and even cause spacecraft mission failure. fail.
陀螺仪和星跟踪器是最常被采用的航天器姿态估计设备。陀螺仪测量的角速度包含了姿态的相对信息,这里的相对信息是指姿态的时变信息;而星跟踪器提供了姿态的绝对信息,这里的绝对信息是指姿态在测量时刻的具体大小。因而两者具有非常明显的互补性,可以而且应该对二者进行融合处理。所采用的方法一般为Kalman滤波。总之采用Kalman滤波对航天器上安装的陀螺仪和星跟踪器进行融合处理以进行精确的航天器姿态估计,已成为最为常用的方法。Gyroscopes and star trackers are the most commonly employed spacecraft attitude estimation devices. The angular velocity measured by the gyroscope contains the relative information of the attitude, where the relative information refers to the time-varying information of the attitude; while the star tracker provides the absolute information of the attitude, and the absolute information here refers to the specific size of the attitude at the measurement moment. Therefore, the two have obvious complementarity, and they can and should be fused. The method used is generally Kalman filtering. In short, the use of Kalman filtering to fuse the gyroscope and star tracker installed on the spacecraft for accurate spacecraft attitude estimation has become the most commonly used method.
航天器的姿态变化作为一个实际存在的物理过程,一般情况下具有一定的连续性。具体而言,在连续两次观测之间的较短时间内,航天器的姿态变化不会太大,这说明航天器姿态的时变过程可以进行模型化,即可以建立其运动学模型。将此运动学模型引入姿态估计问题相当于引入了额外的信息,当该模型能够在一定程度上反映航天器的真实动态。然而航天器的姿态动态性一般是时变的,相应地,运动学模型也应该进行动态调整,传统方案采用预定的运动学模型,往往使航天器的姿态估计精度受限,若运动学模型出现错误,还会造成姿态估计精度的下降,甚至滤波发散。As an actual physical process, the attitude change of the spacecraft generally has a certain continuity. Specifically, in a short period of time between two consecutive observations, the attitude of the spacecraft will not change too much, which shows that the time-varying process of the attitude of the spacecraft can be modeled, that is, its kinematic model can be established. Introducing this kinematic model into the attitude estimation problem is equivalent to introducing additional information, when the model can reflect the real dynamics of the spacecraft to a certain extent. However, the attitude dynamics of the spacecraft are generally time-varying. Accordingly, the kinematic model should also be dynamically adjusted. The traditional scheme uses a predetermined kinematic model, which often limits the attitude estimation accuracy of the spacecraft. If the kinematic model appears Errors will also cause a decrease in the accuracy of pose estimation, and even filter divergence.
发明内容SUMMARY OF THE INVENTION
针对以上问题,本发明提出一种自适应运动学模型辅助的航天器姿态估计方法。In view of the above problems, the present invention proposes a spacecraft attitude estimation method assisted by an adaptive kinematics model.
为实现本发明的目的,提供一种自适应运动学模型辅助的航天器姿态估计方法,包括如下步骤:In order to achieve the purpose of the present invention, a spacecraft attitude estimation method assisted by an adaptive kinematics model is provided, comprising the following steps:
S10,建立航天器在第k个时刻的状态空间模型,所述状态空间模型包括过程模型和观测模型;S10, establishing a state space model of the spacecraft at the kth moment, where the state space model includes a process model and an observation model;
S30,当具备第k个时刻的观测向量时,根据第k个时刻的状态空间模型,并利用第k-1个时刻的Kalman滤波结果,进行Kalman滤波,得到第k个时刻的状态向量先验估计状态向量后验估计先验协方差矩阵Pk|k-1和后验协方差矩阵Pk|k;S30, when the observation vector at the kth time is available, perform Kalman filtering according to the state space model at the kth time and use the Kalman filtering result at the k-1th time to obtain the state vector prior at the kth time estimate State Vector Posterior Estimation Prior covariance matrix P k|k-1 and posterior covariance matrix P k|k ;
S50,提取状态向量后验估计的旋转矢量,根据所述旋转矢量更新姿态矩阵,根据更新后的姿态矩阵确定航天器在第k个时刻的姿态,在更新姿态矩阵之后,将旋转矢量置零,设置并进行如下赋值操作:Pk|k←JPk|kJT,其中,符号←表示赋值操作,符号T表示转置,Pk|k表示后验协方差矩阵,表示第k个时刻的姿态矩阵的后部分分量,为的转置矩阵,I9表示9行9列单位阵;S50, extract the posterior estimation of the state vector The rotation vector of , update the attitude matrix according to the rotation vector, determine the attitude of the spacecraft at the k-th moment according to the updated attitude matrix, after updating the attitude matrix, set the rotation vector to zero, set And perform the following assignment operation: P k|k ←JP k|k J T , where the symbol ← represents the assignment operation, the symbol T represents the transposition, and P k|k represents the posterior covariance matrix, Represents the rear component of the attitude matrix at the kth moment, for The transpose matrix of , I 9 represents a unit matrix with 9 rows and 9 columns;
S60,当具备新的观测向量时,令k=k+1,返回执行步骤S10。S60, when there is a new observation vector, set k=k+1, and return to step S10.
在其中一个实施例中,在S10之前,还包括:In one of the embodiments, before S10, it further includes:
设定Kalman滤波的初始滤波参数。Set the initial filter parameters of the Kalman filter.
在其中一个实施例中,在步骤S30之后,还包括:In one embodiment, after step S30, it further includes:
S40,将观测模型和状态向量先验估计联立为一个伪观测向量,建立所述伪观测向量的观测方程,根据所述观测方程采用BIQUE对待调节参数进行估计得到并根据下式进行参数调节:将Pk|k-1和保存用于下一时刻的滤波;其中,μ表示学习率。S40, estimate the observation model and the state vector a priori Simultaneously form a pseudo-observation vector, establish an observation equation of the pseudo-observation vector, and use BIQUE to estimate the parameters to be adjusted according to the observation equation. And adjust the parameters according to the following formula: Will P k|k-1 and Save the filtering for the next moment; where μ is the learning rate.
在其中一个实施例中,第k个时刻的过程模型包括:In one of the embodiments, the process model at the kth moment includes:
xk=Fk-1xk-1+wk-1,x k =F k-1 x k-1 +w k-1 ,
其中,xk-1表示第k-1个时刻的状态向量,xk表示第k个时刻的状态向量,Fk-1表示的状态转移矩阵,wk-1表示过程噪声。Among them, x k-1 represents the state vector at the k-1 time, x k represents the state vector at the k time, F k-1 represents the state transition matrix, and w k-1 represents the process noise.
作为一个实施例,所述过程模型的获取过程包括:As an embodiment, the acquisition process of the process model includes:
获取旋转矢量的微分方程;所述旋转矢量的微分方程包括:其中,ωt表示t时刻的角速度向量,φt表示t时刻的旋转矢量,表示φt的时间微分;Obtain the differential equation of the rotation vector; the differential equation of the rotation vector includes: Among them, ω t represents the angular velocity vector at time t, φ t represents the rotation vector at time t, represents the time differential of φ t ;
获取速度运动学模型,所述速度运动学模型包括:其中,表示ωt的时间微分,ξt表示t时刻的角加速度,表示ξt的时间微分,ηt表示t时刻的第一噪声,μt表示t时刻的第二噪声;Obtain a velocity kinematic model, the velocity kinematic model includes: in, represents the time differential of ω t , ξ t represents the angular acceleration at time t, represents the time differential of ξ t , η t represents the first noise at time t, and μ t represents the second noise at time t;
获取陀螺零偏模型,所述陀螺零偏模型包括:其中,θt表示t时刻的噪声,表示t时刻的陀螺零偏,表示的时间微分;Obtain a gyro bias model, where the gyro bias model includes: where θ t represents the noise at time t, represents the zero bias of the gyro at time t, express time differential;
联立所述旋转矢量的微分方程、速度运动学模型和陀螺零偏模型得到初始过程模型;The initial process model is obtained by combining the differential equation of the rotation vector, the velocity kinematic model and the gyro bias model;
将所述初始过程模型进行离散化得到所述过程模型。The process model is obtained by discretizing the initial process model.
在其中一个实施例中,第k个时刻的观测模型包括:In one of the embodiments, the observation model at the kth moment includes:
yk=Hkxk+ek,y k =H k x k +e k ,
其中,xk表示第k个时刻的状态向量,yk表示第k个时刻的观测向量,表示第k个时刻的姿态矩阵的第二分量,表示从第k时刻的参考系rk到第k-1时刻的参考系rk-1的方向余弦矩阵或旋转矩阵,表示第k个时刻的观测向量在参考系的坐标向量,符号×表示求位于×前的一个向量的斜对称矩阵,ek表示第k个时刻的,I3表示3行3列单位阵。Among them, x k represents the state vector at the k-th moment, y k represents the observation vector at the k-th moment, represents the second component of the attitude matrix at the kth moment, represents the direction cosine matrix or rotation matrix from the reference frame r k at the k-th moment to the reference frame r k- 1 at the k-1th moment, Represents the coordinate vector of the observation vector at the kth time in the reference frame, the symbol × represents the oblique symmetric matrix of a vector located before the ×, e k represents the kth time, and I 3 represents the unit matrix with 3 rows and 3 columns.
作为一个实施例,所述观测模型的获取过程包括:As an embodiment, the acquisition process of the observation model includes:
获取星跟踪器的第一观测模型,获取陀螺仪的第二观测模型;Obtain the first observation model of the star tracker, and obtain the second observation model of the gyroscope;
联立所述第一观测模型和所述第二观测模型得到所述观测模型。The observation model is obtained by combining the first observation model and the second observation model.
在其中一个实施例中,第k个时刻的的Kalman滤波的过程包括:In one embodiment, the process of Kalman filtering at the k-th time includes:
Pk|k=Pk|k-1-KkHkPk|k-1,P k|k =P k|k-1 -K k H k P k|k-1 ,
Rk=cov[ek],R k =cov[e k ],
其中,表示第k个时刻的状态向量先验估计,第k-1个时刻的状态向量后验估计,Fk-1表示第k-1个时刻的状态转移矩阵,表示第k个时刻的状态向量后验估计,Pk|k-1表示第k个时刻的先验协方差矩阵,Pk|k表示第k个时刻的后验协方差矩阵,Pk-1|k-1表示第k-1个时刻的后验协方差矩阵,Qk-1表示第k-1个时刻的过程噪声的协方差矩阵,上标T表示转置,上标-1表示求逆,Kk表示滤波增益矩阵,表示第k个时刻的姿态矩阵的第二分量,表示从第k时刻的参考系rk到第k-1时刻的参考系rk-1的方向余弦矩阵,表示第k个时刻的观测向量在参考系的坐标向量,符号×表示求位于×前的一个矩阵的斜对称矩阵,ek表示第k个时刻的观测噪声向量,I3表示3行3列单位阵,yk表示第k个时刻的观测向量。in, represents the prior estimate of the state vector at the kth moment, The posterior estimation of the state vector at the k-1th time, F k-1 represents the state transition matrix at the k-1th time, Represents the posterior estimation of the state vector at the k-th time, P k|k-1 represents the prior covariance matrix at the k-th time, P k|k represents the posterior covariance matrix at the k-th time, and P k-1 |k-1 represents the posterior covariance matrix of the k-1th time, Q k-1 represents the covariance matrix of the process noise at the k-1th time, the superscript T represents the transpose, and the superscript -1 represents the calculation Inverse, K k represents the filter gain matrix, represents the second component of the attitude matrix at the kth moment, represents the direction cosine matrix from the reference frame r k at the k-th moment to the reference frame r k- 1 at the k-1th moment, Represents the coordinate vector of the observation vector at the kth time in the reference frame, the symbol × represents the oblique symmetric matrix of a matrix located in front of ×, e k represents the observation noise vector at the kth time, and I 3 represents the unit of 3 rows and 3 columns matrix, y k represents the observation vector at the kth moment.
上述自适应运动学模型辅助的航天器姿态估计方法,通过建立航天器在第k个时刻的状态空间模型,在具备第k个时刻的观测向量时,根据第k个时刻的状态空间模型,并利用第k-1个时刻的Kalman滤波结果,进行Kalman滤波,得到第k个时刻的状态向量先验估计状态向量后验估计先验协方差矩阵Pk|k-1和后验协方差矩阵Pk|k,再提取状态向量后验估计中的旋转矢量,根据所述旋转矢量更新姿态矩阵,根据更新后的姿态矩阵确定航天器在第k个时刻的姿态,以准确获取航天器在第k个时刻的姿态,在更新姿态矩阵之后,将旋转矢量置零,并更新其他参数,以当具备新的观测向量时,令k=k+1,返回执行建立航天器在第k个时刻的状态空间模型的过程,以继续进行航天器在新的时刻的姿态的估计,这样便可以对航天器在各个时刻的姿态进行准确估计,其中采用的状态空间模型和滤波参数得到实时准确更新,有效提高了所获得的航天器姿态的精度。The above-mentioned adaptive kinematic model-assisted spacecraft attitude estimation method, by establishing the state space model of the spacecraft at the kth time, when the observation vector at the kth time is available, according to the state space model of the kth time, and Using the Kalman filtering result at the k-1 time, Kalman filtering is performed to obtain the prior estimation of the state vector at the k time. State Vector Posterior Estimation Prior covariance matrix P k|k-1 and posterior covariance matrix P k|k , and then extract state vector posterior estimation The rotation vector in , the attitude matrix is updated according to the rotation vector, and the attitude of the spacecraft at the kth moment is determined according to the updated attitude matrix, so as to accurately obtain the attitude of the spacecraft at the kth moment. After updating the attitude matrix, Set the rotation vector to zero, and update other parameters, so that when there is a new observation vector, let k=k+1, and return to the process of establishing the state space model of the spacecraft at the k-th time to continue the spacecraft at The attitude of the new moment can be estimated, so that the attitude of the spacecraft at each moment can be accurately estimated, and the adopted state space model and filtering parameters are updated accurately in real time, which effectively improves the accuracy of the obtained spacecraft attitude.
附图说明Description of drawings
图1是一个实施例的自适应运动学模型辅助的航天器姿态估计方法流程图;1 is a flowchart of an adaptive kinematic model-assisted spacecraft attitude estimation method according to an embodiment;
图2是另一个实施例的自适应运动学模型辅助的航天器姿态估计方法流程图。FIG. 2 is a flowchart of a method for estimating a spacecraft attitude assisted by an adaptive kinematics model according to another embodiment.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor a separate or alternative embodiment that is mutually exclusive of other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
参考图1所示,图1为一个实施例的自适应运动学模型辅助的航天器姿态估计方法流程图,包括如下步骤:Referring to FIG. 1, FIG. 1 is a flowchart of an adaptive kinematic model-assisted spacecraft attitude estimation method according to an embodiment, including the following steps:
S10,建立航天器在第k个时刻的状态空间模型,所述状态空间模型包括过程模型和观测模型;S10, establishing a state space model of the spacecraft at the kth moment, where the state space model includes a process model and an observation model;
具体地,航天器在各个时刻的状态空间模型包括过程模型和观测模型两大部分。过程模型包括如下三部分:a1)由姿态微分方程定义的姿态模型(旋转矢量的微分方程),a2)随机常值角加速度模型表示的角速度和角加速度模型(速度运动学模型),a3)随机常值模型表示的陀螺仪零偏模型。其中a2)所示的速度运动学模型目的在于辅助姿态估计,提高估计精度。观测模型包括如下两部分:b1)星跟踪器的观测模型(第一观测模型),b2)陀螺仪的观测模型(第二观测模型),其中在传统算法中陀螺仪的观测模型一般出现在过程模型中,而在本实施例中该模型是观测模型的一部分。状态空间模型的模型参数包括如下:c1)陀螺仪零偏模型的过程噪声方差(如α1、α2和α3),这些参数对应陀螺仪的零偏稳定性性能指标,根据陀螺仪出厂性能指标手册或标定结果进行人为设定;c2)星跟踪器向量观测噪声方差(如α4、α5和α6),这些参数根据星跟踪器出厂性能指标手册或标定结果进行人为设定;c3)陀螺仪观测噪声方差(如α7、α8、α9),这些参数对应着陀螺仪的随机游走性能指标,根据陀螺仪出厂性能指标手册或标定结果进行人为设定;c4)随机常值角加速度模型中角速度过程噪声方差(如β1、β2和β3),这些参数将在滤波过程中进行自适应调节;c5)随机常值角加速度模型中角加速度过程噪声方差(如β4、β5和β6),这些参数将在滤波过程中进行自适应调节。Specifically, the state space model of the spacecraft at each moment includes two parts: the process model and the observation model. The process model includes the following three parts: a1) the attitude model (differential equation of the rotation vector) defined by the attitude differential equation, a2) the angular velocity and angular acceleration model (velocity kinematics model) represented by the random constant angular acceleration model, a3) random The gyroscope bias model represented by the constant value model. The purpose of the velocity kinematics model shown in a2) is to assist attitude estimation and improve estimation accuracy. The observation model includes the following two parts: b1) the observation model of the star tracker (the first observation model), and b2) the observation model of the gyroscope (the second observation model). In the traditional algorithm, the observation model of the gyroscope generally appears in the process. model, which in this embodiment is part of the observation model. The model parameters of the state space model include the following: c1) The process noise variance of the gyroscope bias model (such as α1, α2 and α3), these parameters correspond to the gyroscope’s bias stability performance index, according to the gyroscope factory performance index manual or The calibration results are manually set; c2) The star tracker vector observation noise variance (such as α4, α5 and α6), these parameters are manually set according to the star tracker factory performance index manual or the calibration results; c3) The gyroscope observation noise variance (such as α7, α8, α9), these parameters correspond to the random walk performance index of the gyroscope, and are manually set according to the factory performance index manual or calibration results of the gyroscope; c4) The noise variance of the angular velocity process in the random constant angular acceleration model (such as β1, β2 and β3), these parameters will be adaptively adjusted during the filtering process; c5) The noise variance of the angular acceleration process in the random constant angular acceleration model (such as β4, β5 and β6), these parameters will be in the filtering process. adaptive adjustment.
在一个示例中,所建立的过程模型中状态向量包括3个误差角、3个角速度、3个角加速度、3个陀螺零偏,共计12维,将第k个时刻的状态向量表示为xk;所建立的观测模型中第k个时刻的观测量包括3个陀螺仪测量的角速率、3nk个星跟踪器测量的向量观测,其中nk表示第k时刻星跟踪器所观测的向量的个数,将第k个时刻的观测向量表示为yk。In an example, the state vector in the established process model includes 3 error angles, 3 angular velocities, 3 angular accelerations, and 3 gyro biases, totaling 12 dimensions, and the state vector at the kth moment is represented as x k ; The observations at the kth moment in the established observation model include the angular rate measured by 3 gyroscopes and the vector observations measured by 3nk star trackers, where nk represents the number of vectors observed by the star tracker at the kth moment , denote the observation vector at the k-th moment as y k .
上述步骤所建立的状态空间模型中的过程模型部分,除了包含传统方法中的姿态运动学模型a1)和陀螺仪零偏模型a3)外,还引入了角速度和角加速度的运动学模型a2);相应地,状态向量除了包括姿态角或者误差姿态角、陀螺仪零偏外,还包括角速度和角加速度。适用于采用一个三轴陀螺仪和一个或多个星跟踪器的航天器姿态估计问题,还可以引入了自适应运动学模型对姿态估计进行辅助,以提高姿态估计精度。The process model part in the established state space model of the above-mentioned steps, in addition to comprising the attitude kinematics model a1) and the gyroscope bias model a3) in the traditional method, also introduced the kinematics model a2) of angular velocity and angular acceleration; Correspondingly, the state vector includes angular velocity and angular acceleration in addition to attitude angle or error attitude angle and gyroscope bias. It is suitable for spacecraft attitude estimation problem using a three-axis gyroscope and one or more star trackers, and an adaptive kinematics model can also be introduced to assist attitude estimation to improve attitude estimation accuracy.
S30,当具备第k个时刻的观测向量时,根据第k个时刻的状态空间模型,并利用第k-1个时刻的Kalman滤波结果,进行Kalman滤波,得到第k个时刻的状态向量先验估计状态向量后验估计先验协方差矩阵Pk|k-1和后验协方差矩阵Pk|k;S30, when the observation vector at the kth time is available, perform Kalman filtering according to the state space model at the kth time and use the Kalman filtering result at the k-1th time to obtain the state vector prior at the kth time estimate State Vector Posterior Estimation Prior covariance matrix P k|k-1 and posterior covariance matrix P k|k ;
当具备第k个时刻的观测向量yk时,根据上述状态空间模型,并利用上一时刻(即k-1时刻)的滤波结果,进行标准的Kalman滤波,得到该时刻状态向量先验估计和后验估计以及先验协方差矩阵Pk|k-1和后验协方差矩阵Pk|k。When the observation vector y k at the kth time is available, according to the above state space model, and using the filtering result of the previous time (ie time k-1), standard Kalman filtering is performed to obtain a priori estimate of the state vector at this time. and a posteriori estimate and the prior covariance matrix P k|k-1 and the posterior covariance matrix P k|k .
在航天器姿态的实际估计过程中,Kalman滤波中涉及待调节参数β,其值取为上一时刻滤波结束后得到的估计值(如)。In the actual estimation process of the spacecraft attitude, the Kalman filter involves the parameter β to be adjusted, and its value is the estimated value obtained after the filtering at the previous moment (such as ).
S50,提取状态向量后验估计的旋转矢量,根据所述旋转矢量更新姿态矩阵,根据更新后的姿态矩阵确定航天器在第k个时刻的姿态,在更新姿态矩阵之后,将旋转矢量置零,设置并进行如下赋值操作:Pk|k←JPk|kJT,其中,符号←表示赋值操作,符号T表示转置,Pk|k表示后验协方差矩阵,表示第k个时刻的姿态矩阵的后部分分量,为的转置矩阵,I9表示9行9列单位阵;S50, extract the posterior estimation of the state vector The rotation vector of , update the attitude matrix according to the rotation vector, determine the attitude of the spacecraft at the k-th moment according to the updated attitude matrix, after updating the attitude matrix, set the rotation vector to zero, set And perform the following assignment operation: P k|k ←JP k|k J T , where the symbol ← represents the assignment operation, the symbol T represents the transposition, and P k|k represents the posterior covariance matrix, Represents the rear component of the attitude matrix at the kth moment, for The transpose matrix of , I 9 represents a unit matrix with 9 rows and 9 columns;
具体地,可以根据状态向量后验估计的各个分量(即将中前三个分量提取出来,作为的旋转矢量,进行姿态矩阵的更新,即以及然后根据中的旋转矢量置零,计算并进行如下赋值操作,即:Pk|k←JPk|kJT,其中←表示赋值操作;其中J为引入的辅助变量。Specifically, it can be estimated a posteriori based on the state vector each component of (i.e. Will The first three components are extracted as The rotation vector of , to update the attitude matrix, that is as well as then according to The rotation vector in is zeroed out, computing And perform the following assignment operation, namely: P k|k ←JP k|k J T , where ← represents assignment operation; where J is the introduced auxiliary variable.
进一步地,上述步骤进行旋转矢量置零以后,对应的协方差矩阵(如Pk|k)也应该进行相应的调整,以保证在后续时刻进行姿态矩阵获取的准确性。Further, after the rotation vector is set to zero in the above steps, the corresponding covariance matrix (eg P k|k ) should also be adjusted accordingly to ensure the accuracy of the attitude matrix acquisition at subsequent moments.
S60,当具备新的观测向量时,令k=k+1,返回执行步骤S10。S60, when there is a new observation vector, set k=k+1, and return to step S10.
当具备新的观测量时,上述新的观测量是指陀螺仪和星跟踪器输出了新的观测量,令时刻k自加1,转入下一时刻的滤波,即返回步骤S10,重新建立航天器在第k个时刻的状态空间模型,进行新的姿态矩阵的更新,以获取航天器新的姿态信息;如此依次执行,直至滤波结束,即不再有新的观测出现。When there is a new observation amount, the above-mentioned new observation amount means that the gyroscope and the star tracker output a new observation amount, so that the time k is incremented by 1, and the filter is transferred to the next time, that is, returning to step S10, and re-establishing The state space model of the spacecraft at the k-th time is updated with a new attitude matrix to obtain the new attitude information of the spacecraft; this is performed in sequence until the filtering ends, that is, no new observations appear.
上述自适应运动学模型辅助的航天器姿态估计方法,通过建立航天器在第k个时刻的状态空间模型,在具备第k个时刻的观测向量时,根据第k个时刻的状态空间模型,并利用第k-1个时刻的Kalman滤波结果,进行Kalman滤波,得到第k个时刻的状态向量先验估计状态向量后验估计先验协方差矩阵Pk|k-1和后验协方差矩阵Pk|k,再提取状态向量后验估计的旋转矢量,根据所述旋转矢量更新姿态矩阵,根据更新后的姿态矩阵确定航天器在第k个时刻的姿态,以准确获取航天器在第k个时刻的姿态,在更新姿态矩阵之后,将旋转矢量置零,并更新其他参数,以当具备新的观测向量时,令k=k+1,返回执行建立航天器在第k个时刻的状态空间模型的过程,以继续进行航天器在新的时刻的姿态的估计,这样便可以对航天器在各个时刻的姿态进行准确估计,其中采用的状态空间模型和滤波参数得到实时准确更新,有效提高了所获得的航天器姿态的精度。The above-mentioned adaptive kinematic model-assisted spacecraft attitude estimation method, by establishing the state space model of the spacecraft at the kth time, when the observation vector at the kth time is available, according to the state space model of the kth time, and Using the Kalman filtering result at the k-1 time, Kalman filtering is performed to obtain the prior estimation of the state vector at the k time. State Vector Posterior Estimation Prior covariance matrix P k|k-1 and posterior covariance matrix P k|k , and then extract state vector posterior estimation According to the rotation vector of the rotation vector, the attitude matrix is updated according to the rotation vector, and the attitude of the spacecraft at the kth moment is determined according to the updated attitude matrix, so as to accurately obtain the attitude of the spacecraft at the kth moment. After updating the attitude matrix, the The rotation vector is set to zero, and other parameters are updated, so that when there is a new observation vector, let k=k+1, and return to execute the process of establishing the state space model of the spacecraft at the kth time, so as to continue the process of the spacecraft in the new In this way, the attitude of the spacecraft at each moment can be accurately estimated, and the adopted state space model and filtering parameters are updated accurately in real time, which effectively improves the accuracy of the obtained spacecraft attitude.
在一个实施例中,在步骤S10之前,具体地,可以在当具备第1个时刻的观测向量时,根据第1个时刻的状态空间模型,并利用第0个时刻的Kalman滤波结果,进行Kalman滤波,得到第1个时刻的状态向量先验估计状态向量后验估计先验协方差矩阵P1|0和后验协方差矩阵P1|1之前,还包括:In one embodiment, before step S10, specifically, when the observation vector at the first moment is available, the Kalman filter may be performed according to the state space model at the first moment and using the Kalman filtering result at the 0th moment. Filter to obtain a priori estimate of the state vector at the first moment State Vector Posterior Estimation Before the prior covariance matrix P 1|0 and the posterior covariance matrix P 1|1 , it also includes:
设定Kalman滤波的初始滤波参数。Set the initial filter parameters of the Kalman filter.
在一个示例中,可以设置如下初始滤波参数,比如令这些初始值对应的滤波时刻为零时刻,即k=0。进一步地,初始滤波参数还可以包括:1)状态向量估计初值,将其表示为其中x表示状态向量,状态向量顶部的^表示估计值,下标中竖线前(左边)的0表示估计的是第0时刻的变量,下标中竖线后(右边)的0表示估计值采用了0时刻及其之前时刻的观测值,此处“0时刻及其之前时刻的观测值”实际上是指没有任何观测值;2)状态向量协方差矩阵初值,将其表示为P0|0,下标的含义与前述保持一致,3)待调节参数β1-β6的初值,将这6个参数组成的向量表示为β,即β=(β1,β2,β3,β4,β5,β6),该向量的初值表示为下标0表示该变量为第0时刻的变量,顶部符号^表示估计值;其中1)中状态向量估计初值与2)中状态向量协方差矩阵初值P0|0应具有统计一致性,即前者的不确定性(即其真实的协方差矩阵P0表示)应不大于后者,其中协方差矩阵的大小定义如下,yk协方差矩阵A不大于协方差矩阵B是指矩阵B-A非负定;令首次具备观测量的时刻为第一个滤波时刻,即k=1。In an example, the following initial filtering parameters may be set, for example, the filtering time corresponding to these initial values is set to zero time, that is, k=0. Further, the initial filtering parameters may also include: 1) the initial value of state vector estimation, which is expressed as Where x represents the state vector, the ^ at the top of the state vector represents the estimated value, the 0 before the vertical line in the subscript (on the left) indicates that the variable at time 0 is estimated, and the 0 after the vertical line in the subscript (on the right) represents the estimated value The observations at time 0 and its previous moments are used, where "observed values at time 0 and its previous moments" actually means that there are no observed values; 2) The initial value of the state vector covariance matrix is expressed as P 0 |0 , the meaning of the subscript is the same as the above, 3) the initial value of the parameters to be adjusted β1-β6, the vector composed of these 6 parameters is expressed as β, that is, β=(β1, β2, β3, β4, β5, β6 ), the initial value of this vector is expressed as The subscript 0 indicates that the variable is the variable at the 0th moment, and the top symbol ^ indicates the estimated value; the initial value of the state vector estimation in 1) The initial value of the state vector covariance matrix P 0|0 in 2) should have statistical consistency, that is, the uncertainty of the former (that is, its real covariance matrix P 0 representation) should not be greater than the latter, where the covariance matrix of The size is defined as follows, the covariance matrix A of y k is not greater than the covariance matrix B, which means that the matrix BA is non-negative definite; let the moment when the observed quantity is available for the first time be the first filtering moment, that is, k=1.
在一个实施例中,在S30,当具备第k个时刻的观测向量时,根据第k个时刻的状态空间模型,并利用第k-1个时刻的Kalman滤波结果,进行Kalman滤波,得到第k个时刻的状态向量先验估计状态向量后验估计先验协方差矩阵Pk|k-1和后验协方差矩阵Pk|k之后,还包括:In one embodiment, in S30, when the observation vector at the kth time is available, Kalman filtering is performed according to the state space model at the kth time, and the Kalman filtering result at the k-1th time is used to obtain the kth time. State vector prior estimates at moments State Vector Posterior Estimation After the prior covariance matrix P k|k-1 and the posterior covariance matrix P k|k , it also includes:
S40,将观测模型和状态向量先验估计联立为一个伪观测向量,建立所述伪观测向量的观测方程,根据所述观测方程采用BIQUE对待调节参数进行估计得到并根据下式进行参数调节:将Pk|k-1和保存用于下一时刻的滤波;其中,μ表示学习率。S40, estimate the observation model and the state vector a priori Simultaneously form a pseudo-observation vector, establish an observation equation of the pseudo-observation vector, and use BIQUE to estimate the parameters to be adjusted according to the observation equation. And adjust the parameters according to the following formula: Will P k|k-1 and Save the filtering for the next moment; where μ is the learning rate.
具体地,可以将第k个时刻的观测向量yk和第k个时刻的状态向量先验估计联立为一个伪观测向量,将此伪观测向量表示为zk,并建立此伪观测向量的观测方程,据此观测方程采用BIQUE对待调节参数进行估计得到并根据下式进行参数调节:学习率μ需要人为设置,一般情况下的设置范围为[0.001 0.1],当航天器的角动态较大时采用较小的μ,否则采用较大的μ。将保存用于下一时刻的滤波。Specifically, the observation vector y k at the k-th moment and the state vector at the k-th moment can be estimated a priori Simultaneously form a pseudo-observation vector, denote the pseudo-observation vector as z k , and establish the observation equation of the pseudo-observation vector. According to this observation equation, the parameters to be adjusted are estimated by BIQUE. And adjust the parameters according to the following formula: The learning rate μ needs to be set manually. Generally, the setting range is [0.001 0.1]. When the angular dynamics of the spacecraft is large, a smaller μ is used, otherwise a larger μ is used. Will Save the filter for the next moment.
具体地,包括6个元素,即依据其中前3个元素可以进行下一个时刻(第k+1个时刻)ηt的协方差矩阵的确定,依据其中后3个元素可以进行下一个时刻μt的协方差矩阵的确定,依据下一个时刻的ηt和μt进一步进行速度运动学模型的确定,从而确定下一时刻的过程模型,以对下一时刻的过程模型进行准确确定。specifically, includes 6 elements, namely According to the first 3 elements, the covariance matrix of the next moment (the k+1th moment) η t can be determined, and the covariance matrix of the next moment μ t can be determined according to the last 3 elements, according to the following The velocity kinematics model is further determined at one time η t and μ t , so as to determine the process model at the next time, so as to accurately determine the process model at the next time.
在一个示例中,包括上述伪观测向量的伪观测方程为:In one example, the pseudo-observation equation including the above pseudo-observation vector is:
其中伪观测向量观测矩阵伪观测噪声其中,I12表示12×12维的单位矩阵,符号d表示求微分,ek表示实际观测噪声。该伪观测噪声的协方差矩阵表示如下:where the pseudo-observation vector observation matrix Pseudo-observation noise Among them, I 12 represents a 12×12-dimensional unit matrix, the symbol d represents the differentiation, and e k represents the actual observation noise. The covariance matrix of this pseudo-observation noise is expressed as:
其中, in,
其中,12×12维的矩阵Θij(i表示第一个下标,j表示第二个下标)表示除同时位于第i行、第j列上的元素为1外,其余元素均为0。根据方差分量估计的BIQUE理论,首先将上一时刻滤波后得到的参数估计值代入观测噪声的协方差矩阵计算Qυυ,然后依次计算Ψ=[Ψij]=[tr[VΩiVΩj]],i,j=1,2,…,6(其中tr[]表示矩阵求迹算子)、然后待调节参数的估计值如下:Among them, the 12 × 12-dimensional matrix Θ ij (i represents the first subscript, j represents the second subscript) means that all elements are 0 except for the elements located on the i-th row and the j-th column at the same time. . According to the BIQUE theory of variance component estimation, firstly, the parameter estimates obtained after filtering at the previous moment are substituted into the covariance matrix of the observed noise to calculate Q υυ , and then calculate Ψ=[Ψ ij ]=[tr[VΩ i VΩ j ]], i,j=1,2,...,6 (where tr[] represents the matrix trace operator), Then the estimated values of the parameters to be adjusted are as follows:
最后将中的估计值和上一时刻滤波中得到的估计值进行线性组合,并将组合后的值作为最新的参数估计值:如下所示will finally The estimated value in and the estimated value obtained in the filtering at the previous moment are linearly combined, and the combined value is used as the latest parameter estimated value: as shown below
其中,←表示赋值操作,μ表示学习率,需要人为设置,一般情况下的设置范围为[0.001 0.1],当航天器的角动态较大时采用较小的μ,否则采用较大的μ。Among them, ← represents the assignment operation, μ represents the learning rate, which needs to be set manually. In general, the setting range is [0.001 0.1]. When the angular dynamics of the spacecraft is large, a smaller μ is used, otherwise a larger μ is used.
在一个实施例中,第k个时刻的过程模型包括:In one embodiment, the process model at the kth moment includes:
xk=Fk-1xk-1+wk-1,x k =F k-1 x k-1 +w k-1 ,
其中,xk-1表示第k-1个时刻的状态向量,xk表示第k个时刻的状态向量,Fk-1表示状态转移矩阵,wk-1表示过程噪声。Among them, x k-1 represents the state vector of the k-1th time, x k represents the state vector of the kth time, F k-1 represents the state transition matrix, and w k-1 represents the process noise.
作为一个实施例,所述过程模型的获取过程包括:As an embodiment, the acquisition process of the process model includes:
获取旋转矢量的微分方程;所述旋转矢量的微分方程包括:其中,ωt表示t时刻的角速度向量,φt表示t时刻的旋转矢量,表示φt的时间微分;Obtain the differential equation of the rotation vector; the differential equation of the rotation vector includes: Among them, ω t represents the angular velocity vector at time t, φ t represents the rotation vector at time t, represents the time differential of φ t ;
获取速度运动学模型,所述速度运动学模型包括:其中,表示ωt的时间微分,ξt表示t时刻的角加速度,表示ξt的时间微分,ηt表示t时刻的第一噪声,μt表示t时刻的第二噪声;Obtain a velocity kinematic model, the velocity kinematic model includes: in, represents the time differential of ω t , ξ t represents the angular acceleration at time t, represents the time differential of ξ t , η t represents the first noise at time t, and μ t represents the second noise at time t;
获取陀螺零偏模型;所述陀螺零偏模型包括:其中,θt表示t时刻的表示t时刻的,表示t时刻的陀螺零偏,表示的时间微分;Obtain a gyro bias model; the gyro bias model includes: Among them, θ t represents time t at time t, represents the zero bias of the gyro at time t, express time differential;
联立所述旋转矢量的微分方程、速度运动学模型和陀螺零偏模型得到初始过程模型;The initial process model is obtained by combining the differential equation of the rotation vector, the velocity kinematic model and the gyro bias model;
将所述初始过程模型进行离散化得到所述过程模型。The process model is obtained by discretizing the initial process model.
在一个示例中,可以令姿态矩阵,即方向余弦矩阵(direction cosine matrxi,DCM)表示为其中rk表示第k时刻的参考坐标系,bk表示第k时刻的航天器载体坐标系。根据姿态矩阵的链式法则,可以得到姿态矩阵为:In one example, the attitude matrix, ie, the direction cosine matrix (DCM), can be expressed as where r k represents the reference coordinate system at the k-th time, and b k represents the spacecraft carrier coordinate system at the k-th time. According to the chain rule of the attitude matrix, the attitude matrix can be obtained as:
其中,表示的前部分分量,表示第k-1时刻的姿态矩阵,表示的后部分分量。可选地,将参考系r选为惯性系i,则有I3为3行3列的单位阵。在第k时刻的姿态估计过程中,第k-1时刻的姿态矩阵采用上一时刻滤波过程中得到的值,在当前时刻的滤波中视为已知。根据姿态表示相关理论,上式中右边最后一项表示为:其中φk被称为旋转矢量,根据姿态运动学理论,旋转矢量的微分方程可以表示为in, express the front component of , represents the attitude matrix at the k-1th moment, express the rear part of the component. Optionally, the reference frame r is selected as the inertial frame i, then we have I 3 is an identity matrix with 3 rows and 3 columns. During the attitude estimation process at the kth moment, the attitude matrix at the k-1th moment The value obtained in the filtering process at the previous moment is used, and it is regarded as known in the filtering at the current moment. According to the relevant theory of attitude representation, the last term on the right side of the above formula is expressed as: where φ k is called the rotation vector. According to the theory of attitude kinematics, the differential equation of the rotation vector can be expressed as
其中,ωt表示t时刻的角速度向量,φt表示t时刻的旋转矢量,表示φt的时间微分,变量顶部的一“点”表示时间微分,下标t与前述下标k的关系如下:对于任一变量a,有其中tk表示第k时刻对应的时间。Among them, ω t represents the angular velocity vector at time t, φ t represents the rotation vector at time t, Represents the time differential of φ t , a "dot" at the top of the variable represents the time differential, and the relationship between the subscript t and the aforementioned subscript k is as follows: For any variable a, there are where t k represents the time corresponding to the kth moment.
角速度和角加速度运动学模型(速度运动学模型):前述姿态运动学模型(旋转矢量的微分方程)根据姿态运动学理论得到,而此处的角速度和角加速度运动学模型可由使用者根据经验设定,本发明中采用如下运动学模型:Angular velocity and angular acceleration kinematics model (velocity kinematics model): The aforementioned attitude kinematics model (differential equation of rotation vector) is obtained according to attitude kinematics theory, and the angular velocity and angular acceleration kinematics model here can be set by the user based on experience. The following kinematics model is adopted in the present invention:
其中,表示ωt的时间微分,ξt表示t时刻的角加速度,表示ξt的时间微分,ηt表示t时刻的第一噪声,μt表示t时刻的第二噪声。ηt的协方差矩阵为:in, represents the time differential of ω t , ξ t represents the angular acceleration at time t, represents the time differential of ξ t , η t represents the first noise at time t, and μ t represents the second noise at time t. The covariance matrix of η t is:
μt的协方差矩阵为:The covariance matrix of μ t is:
其中,cov[]表示取协方差矩阵算子。β1-β6为待调节参数,具体地,β=(β1,β2,β3,β4,β5,β6),在第k个时刻的β中,β1,β2,β3为β的前3个元素,β4,β5,β6为β的后3个元素。Among them, cov[] represents the covariance matrix operator. β1-β6 are the parameters to be adjusted, specifically, β=(β1, β2, β3, β4, β5, β6), in the β at the kth moment, β1, β2, β3 are the first 3 elements of β, β4 , β5 and β6 are the last three elements of β.
陀螺零偏模型如下:The gyro bias model is as follows:
其中,θt表示t时刻的噪声,表示t时刻的陀螺零偏,表示的时间微分,θt的协方差为其中参数α1、α1和α3表示了陀螺仪的零偏稳定性指标,需要使用者根据陀螺仪的出厂性能指标手册或标定结果进行人为设置,设置完成后在滤波过程中保持不变。where θ t represents the noise at time t, represents the zero bias of the gyro at time t, express The time differential of , the covariance of θ t is The parameters α 1 , α 1 and α 3 represent the zero bias stability index of the gyroscope, which needs to be manually set by the user according to the factory performance index manual or the calibration result of the gyroscope. After the setting is completed, it will remain unchanged during the filtering process.
进一步地,将旋转矢量的微分方程、速度运动学模型和陀螺零偏模型联立得到状态空间模型的初始过程模型,表示为如下微分方程:Further, the initial process model of the state space model is obtained by combining the differential equation of the rotation vector, the velocity kinematic model and the gyro bias model, which is expressed as the following differential equation:
其中xt表示t时刻的状态向量,可见xt可以分解为4个元素;where x t represents the state vector at time t, It can be seen that x t can be decomposed into 4 elements;
且有 and have
对初始过程模型进行离散化,可得到如下所示的差分方程(即最终的过程模型):Discretizing the initial process model yields the difference equation (i.e. the final process model) as shown below:
xk+1=Fkxk+wk,x k+1 =F k x k +w k ,
其中状态转移矩阵Fk为Fk≈I12+Φt△、Δ=tk-tk-1,且有如下所示的过程噪声wk的协方差矩阵:The state transition matrix F k is F k ≈I 12 +Φ t △, Δ=t k -t k-1 , and has the covariance matrix of the process noise w k as follows:
在一个实施例中,第k个时刻的观测模型包括:In one embodiment, the observation model at the kth moment includes:
yk=Hkxk+ek,y k =H k x k +e k ,
其中,xk表示第k个时刻的状态向量,yk表示第k个时刻的观测向量,表示第k个时刻的姿态矩阵的第二分量,表示从第k时刻的参考系rk到第k-1时刻的参考系rk-1的方向余弦矩阵或旋转矩阵,其中下标k或k-1表示时刻,根据姿态表示相关理论,从坐标系rk-1旋转到坐标系rk的姿态矩阵,即为的转置矩阵,其他类同,表示第k个时刻的观测向量在参考系的坐标向量,符号×表示求位于×前的一个向量的斜对称矩阵,ek表示第k个时刻的观测噪声,I3表示3行3列单位阵。Among them, x k represents the state vector at the k-th moment, y k represents the observation vector at the k-th moment, represents the second component of the attitude matrix at the kth moment, Represents the direction cosine matrix or rotation matrix from the reference frame r k at the k-th moment to the reference frame r k-1 at the k-1th moment, where the subscript k or k-1 represents the moment, according to the relevant theory of attitude representation, from the coordinates The attitude matrix of the system r k-1 rotated to the coordinate system r k , namely for The transpose matrix of , other similarities, Represents the coordinate vector of the observation vector at the k-th time in the reference frame, the symbol × represents the oblique symmetric matrix of a vector located before the ×, e k represents the observation noise at the k-th time, I 3 represents the unit matrix with 3 rows and 3 columns .
作为一个实施例,所述观测模型的获取过程包括:As an embodiment, the acquisition process of the observation model includes:
获取星跟踪器的第一观测模型,获取陀螺仪的第二观测模型;Obtain the first observation model of the star tracker, and obtain the second observation model of the gyroscope;
联立所述第一观测模型和所述第二观测模型得到所述观测模型。The observation model is obtained by combining the first observation model and the second observation model.
在一个示例中,星跟踪器的观测模型如下所示(以一个向量为例,其他类同):In one example, the observation model of the star tracker is as follows (a vector is used as an example, the others are similar):
其中和分别为第k个时刻的观测向量在参考系和在载体系中的坐标向量。上式中[φk×]表示向量φk的斜对称矩阵,其他类同,斜对称矩阵的定义如下:任给一个向量其斜对称矩阵为上式中εk为相应的观测误差,其协方差矩阵为其中参数α4,α5,α5表示星跟踪器的精度,根据星跟踪器的出厂性能指标手册或者标定结果进行人为设置,设置完成后在滤波过程中保持不变。in and are the coordinate vectors of the observation vector at the kth moment in the reference frame and in the carrier system, respectively. In the above formula, [φ k ×] represents the oblique symmetric matrix of the vector φ k , and other similarities. The definition of the oblique symmetric matrix is as follows: Any given vector Its obliquely symmetric matrix is In the above formula, ε k is the corresponding observation error, and its covariance matrix is The parameters α 4 , α 5 , and α 5 represent the accuracy of the star tracker, which are manually set according to the factory performance index manual or the calibration result of the star tracker, and remain unchanged during the filtering process after the setting is completed.
进一步地,根据星跟踪器各个向量的观测模型可以确定星跟踪器的第一观测模型。Further, the first observation model of the star tracker can be determined according to the observation model of each vector of the star tracker.
陀螺仪的观测模型(第二观测模型)如下所示:The observation model (second observation model) of the gyroscope is as follows:
其中观测噪声ζk的协方差矩阵为:其中参数α7,α8,α9表示陀螺仪的随机游走性能指标,根据陀螺仪的出厂性能指标手册或者标定结果进行人为设置,设置完成后在滤波过程中保持不变。将第一观测模型和第二观测模型联立,即得到总的观测模型,观测模型的观测方程,如下所示:where the covariance matrix of the observation noise ζ k is: The parameters α 7 , α 8 , and α 9 represent the random walk performance index of the gyroscope, which is manually set according to the factory performance index manual of the gyroscope or the calibration result, and remains unchanged during the filtering process after the setting is completed. By combining the first observation model and the second observation model, the total observation model and the observation equation of the observation model are obtained as follows:
yk=Hkxk+ek y k =H k x k +e k
其中 in
在一个实施例中,第k个时刻的的Kalman滤波的过程包括:In one embodiment, the process of Kalman filtering at the k-th time includes:
Pk|k=Pk|k-1-KkHkPk|k-1,P k|k =P k|k-1 -K k H k P k|k-1 ,
Rk=cov[ek],R k =cov[e k ],
其中,表示第k个时刻的状态向量先验估计,第k-1个时刻的状态向量后验估计,Fk-1表示第k-1个时刻的状态转移矩阵,表示第k个时刻的状态向量后验估计,Pk|k-1表示第k个时刻的先验协方差矩阵,Pk|k表示第k个时刻的后验协方差矩阵,Pk-1|k-1表示第k-1个时刻的后验协方差矩阵,Qk-1表示第k-1个时刻的过程噪声的协方差矩阵,上标T表示转置,上标-1表示求逆,Kk表示滤波增益矩阵,表示第k个时刻的姿态矩阵的第二分量,表示从第k时刻的参考系rk到第k-1时刻的参考系rk-1的方向余弦矩阵,表示第k个时刻的观测向量在参考系的坐标向量,符号×表示求位于×前的一个向量的斜对称矩阵,Rk表示ek的协方差矩阵,ek表示第k个时刻的观测噪声,yk表示第k个时刻的观测向量。in, represents the prior estimate of the state vector at the kth moment, The posterior estimation of the state vector at the k-1th time, F k-1 represents the state transition matrix at the k-1th time, Represents the posterior estimation of the state vector at the k-th time, P k|k-1 represents the prior covariance matrix at the k-th time, P k|k represents the posterior covariance matrix at the k-th time, and P k-1 |k-1 represents the posterior covariance matrix of the k-1th time, Q k-1 represents the covariance matrix of the process noise at the k-1th time, the superscript T represents the transpose, and the superscript -1 represents the calculation Inverse, K k represents the filter gain matrix, represents the second component of the attitude matrix at the kth moment, represents the direction cosine matrix from the reference frame r k at the k-th moment to the reference frame r k- 1 at the k-1th moment, Represents the coordinate vector of the observation vector at the kth time in the reference frame, the symbol × represents the oblique symmetric matrix of a vector located before ×, R k represents the covariance matrix of e k , and e k represents the observation noise at the kth time. , y k represents the observation vector at the kth moment.
在一个示例中,上述自适应运动学模型辅助的航天器姿态估计方法流程图也可以参考图2所示,包括:In an example, the above-mentioned flow chart of the spacecraft attitude estimation method assisted by the adaptive kinematics model can also be referred to as shown in FIG. 2 , including:
(1)确定初始滤波参数,设置如下参数初值,令这些初始值对应的滤波时刻为零时刻,即k=0,这些参数包括:1)状态向量估计初值,将其表示为其中x表示状态向量,变量顶部的^表示估计值,下标中竖线前(左边)的0表示估计的是第0时刻的变量,下标中竖线后(右边)的0表示估计值采用了0时刻及其之前时刻的观测值,注意此处“0时刻及其之前时刻的观测值”实际上是指没有任何观测值,2)状态向量协方差矩阵初值,将其表示为P0|0,下标的含义与前述保持一致,3)待调节参数β1-β6的初值,不妨将这6个参数组成的向量表示为β,该向量的初值表示为下标0表示该变量为第0时刻的变量,顶部符号^表示估计值;其中1)中状态向量估计初值与2)中状态向量协方差矩阵初值P0|0应具有统计一致性,即前者的不确定性(即其真实的协方差矩阵P0表示)应不大于后者,其中协方差矩阵的大小定义如下,yk协方差矩阵A不大于协方差矩阵B是指矩阵B-A非负定;令首次具备观测量的时刻为第一个滤波时刻,即k=1。(1) Determine the initial filtering parameters, set the initial values of the following parameters, and set the filtering time corresponding to these initial values to zero time, that is, k=0. These parameters include: 1) The initial value of state vector estimation, which is expressed as Where x represents the state vector, ^ at the top of the variable represents the estimated value, 0 in front of the vertical line in the subscript (on the left) indicates that the variable at time 0 is estimated, and 0 after the vertical line in the subscript (on the right) represents the estimated value using Observations at time 0 and before, note that "observed values at time 0 and before" actually means that there are no observations, 2) the initial value of the state vector covariance matrix, which is represented as P 0 |0 , the meaning of the subscript is the same as the above, 3) the initial value of the parameters to be adjusted β1-β6, may wish to express the vector composed of these 6 parameters as β, and the initial value of the vector is expressed as The subscript 0 indicates that the variable is the variable at the 0th moment, and the top symbol ^ indicates the estimated value; the initial value of the state vector estimation in 1) The initial value of the state vector covariance matrix P 0|0 in 2) should have statistical consistency, that is, the uncertainty of the former (that is, its real covariance matrix P 0 representation) should not be greater than the latter, where the covariance matrix of The size is defined as follows, the covariance matrix A of y k is not greater than the covariance matrix B, which means that the matrix BA is non-negative definite; let the moment when the observed quantity is available for the first time be the first filtering moment, that is, k=1.
(2)建立状态空间模型,该状态空间模型包括过程模型和观测模型两大部分,其中的过程模型又包括如下三部分:a1)由姿态微分方程定义的姿态模型(旋转矢量的微分方程),a2)随机常值角加速度模型表示的角速度和角加速度模型,a3)随机常值模型表示的陀螺仪零偏模型,其中a2)所示的模型是本发明中新引入的部分,其目的在于辅助姿态估计,提高估计精度;其中的观测模型包括如下两部分:b1)星跟踪器的观测模型,b2)陀螺仪的观测模型,其中在传统算法中陀螺仪的观测模型一般出现在过程模型中,而在本发明中该模型是观测模型的一部分。模型参数包括如下:c1)陀螺仪零偏模型的过程噪声方差α1-α3,这些参数对应陀螺仪的零偏稳定性性能指标,根据陀螺仪出厂性能指标手册或标定结果进行人为设定;c2)星跟踪器向量观测噪声方差α4-α6,这些参数根据星跟踪器出厂性能指标手册或标定结果进行人为设定;c3)陀螺仪观测噪声方差α7-α9,这些参数对应着陀螺仪的随机游走性能指标,根据陀螺仪出厂性能指标手册或标定结果进行人为设定;c4)随机常值角加速度模型中角速度过程噪声方差β1-β3,这些参数将在滤波过程中进行自适应调节;c5)随机常值角加速度模型中角加速度过程噪声方差β4-β6,这些参数将在滤波过程中进行自适应调节;所建立的模型中状态向量包括3个误差角、3个角速度、3个角加速度、3个陀螺零偏,共计12维,将第k时刻的状态向量表示为xk;所建立的模型中第k时刻观测量包括3个陀螺仪测量的角速率、3nk个星跟踪器测量的向量观测,其中nk表示第k时刻星跟踪器所观测的向量的个数,将第k时刻的观测向量表示为yk。(2) Establish a state space model, which includes two parts: a process model and an observation model, and the process model includes the following three parts: a1) The attitude model (differential equation of the rotation vector) defined by the attitude differential equation, a2) The angular velocity and angular acceleration model represented by the random constant angular acceleration model, a3) The gyroscope bias model represented by the random constant value model, wherein the model shown in a2) is a newly introduced part in the present invention, and its purpose is to assist Attitude estimation to improve estimation accuracy; the observation model includes the following two parts: b1) the observation model of the star tracker, b2) the observation model of the gyroscope, in which the observation model of the gyroscope generally appears in the process model in the traditional algorithm, In the present invention, however, the model is part of the observation model. The model parameters include the following: c1) The process noise variance α1-α3 of the gyroscope bias model, these parameters correspond to the gyroscope’s bias stability performance index, and are manually set according to the gyroscope’s factory performance index manual or calibration results; c2) Star tracker vector observation noise variance α4-α6, these parameters are artificially set according to the star tracker factory performance index manual or calibration results; c3) gyroscope observation noise variance α7-α9, these parameters correspond to the random walk of the gyroscope The performance index is manually set according to the gyroscope factory performance index manual or calibration results; c4) The noise variance β1-β3 of the angular velocity process in the random constant angular acceleration model, these parameters will be adaptively adjusted during the filtering process; c5) Random The noise variance β4-β6 of the angular acceleration process in the constant angular acceleration model, these parameters will be adaptively adjusted in the filtering process; the state vector in the established model includes 3 error angles, 3 angular velocities, 3 angular accelerations, 3 gyro biases, totaling 12 dimensions, the state vector at the kth moment is represented as x k ; the kth moment observation in the established model includes the angular rate measured by 3 gyroscopes and the vector observations measured by 3nk star trackers , where nk represents the number of vectors observed by the star tracker at the kth moment, and the observed vector at the kth moment is denoted as y k .
(3)当第k时刻的观测向量yk具备时,根据上述状态模型,并利用上一时刻(即k-1时刻)的滤波结果,进行标准的Kalman滤波,得到该时刻状态向量先验估计和后验估计以及先验协方差矩阵Pk|k-1和后验协方差矩阵Pk|k,其中的变量符号及其下标、顶部符号的定义与前述保持一致。在这一步骤的Kalman滤波中涉及待调节参数β,其值取为上一时刻滤波结束后得到的估计值。(3) When the observation vector y k at the kth time is available, according to the above state model, and using the filtering result of the previous time (ie time k-1), perform standard Kalman filtering to obtain a priori estimate of the state vector at this time. and a posteriori estimate As well as the prior covariance matrix P k|k-1 and the posterior covariance matrix P k|k , the definitions of variable symbols, subscripts, and top symbols are consistent with the above. The parameter β to be adjusted is involved in the Kalman filtering of this step, and its value is the estimated value obtained after the end of the filtering at the previous moment.
(4)观测向量yk和状态向量先验估计联立为一个伪观测向量,不妨将此伪观测向量表示为zk,并建立此伪观测向量的观测方程,据此观测方程采用BIQUE对待调节参数进行估计得到并根据下式进行参数调节:其中μ表示学习率,需要人为设置,一般情况下的设置范围为[0.001 0.1],当航天器的角动态较大时采用较小的μ,否则采用较大的μ。将保存用于下一时刻的滤波。相较于采用传统Kalman滤波的方法,该步骤为本发明新引入的部分;相较于其他自适应方法,该步骤中采用BIQUE为本发明新提出的方法。(4) Priori estimation of observation vector yk and state vector Simultaneously as a pseudo-observation vector, it is advisable to denote this pseudo-observation vector as z k , and establish the observation equation of this pseudo-observation vector, according to which the observation equation uses BIQUE to estimate the parameters to be adjusted. And adjust the parameters according to the following formula: Among them, μ represents the learning rate, which needs to be set manually. In general, the setting range is [0.001 0.1]. When the angular dynamics of the spacecraft is large, a smaller μ is used, otherwise a larger μ is used. Will Save the filter for the next moment. Compared with the traditional Kalman filtering method, this step is a newly introduced part of the present invention; compared with other adaptive methods, BIQUE is used in this step, which is a newly proposed method of the present invention.
(5)旋转矢量置零以及协方差矩阵变换:根据状态向量估计中的旋转矢量,进行姿态矩阵的更新,即以及然后将状态向量估计中的旋转矢量置零,计算并进行如下赋值操作,即:Pk|k←JPk|kJT,其中←表示赋值操作。(5) Zeroing the rotation vector and transforming the covariance matrix: According to the rotation vector in the state vector estimation, the attitude matrix is updated, that is as well as Then zero the rotation vector in the state vector estimate, compute And perform the following assignment operation, namely: P k|k ←JP k|k J T , where ← represents an assignment operation.
(6)时刻k增加1,然后运行步骤(2)、(3)、(4)和(5),依次反复执行,直至滤波结束。(6) The time k is increased by 1, and then steps (2), (3), (4) and (5) are executed repeatedly in sequence until the filtering ends.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features It is considered to be the range described in this specification.
需要说明的是,本申请实施例所涉及的术语“第一\第二\第三”仅仅是区别类似的对象,不代表针对对象的特定排序,可以理解地,“第一\第二\第三”在允许的情况下可以互换特定的顺序或先后次序。应该理解“第一\第二\第三”区分的对象在适当情况下可以互换,以使这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。It should be noted that the term "first\second\third" involved in the embodiments of the present application is only to distinguish similar objects, and does not represent a specific ordering of objects. It is understandable that "first\second\third" "Three" may be interchanged in a particular order or sequence where permitted. It should be understood that the "first\second\third" distinctions may be interchanged under appropriate circumstances to enable the embodiments of the application described herein to be practiced in sequences other than those illustrated or described herein.
本申请实施例的术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或模块的过程、方法、装置、产品或设备没有限定于已列出的步骤或模块,而是可选地还包括没有列出的步骤或模块,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或模块。The terms "comprising" and "having" and any variations thereof in the embodiments of the present application are intended to cover non-exclusive inclusion. For example, a process, method, apparatus, product or device comprising a series of steps or modules is not limited to the listed steps or modules, but optionally also includes unlisted steps or modules, or optionally also includes Other steps or modules inherent to these processes, methods, products or devices.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present application, and the descriptions thereof are specific and detailed, but should not be construed as a limitation on the scope of the invention patent. It should be pointed out that for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the patent of the present application shall be subject to the appended claims.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910898008.7A CN110736468A (en) | 2019-09-23 | 2019-09-23 | Spacecraft attitude estimation method assisted by self-adaptive kinematics model |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910898008.7A CN110736468A (en) | 2019-09-23 | 2019-09-23 | Spacecraft attitude estimation method assisted by self-adaptive kinematics model |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN110736468A true CN110736468A (en) | 2020-01-31 |
Family
ID=69269400
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910898008.7A Pending CN110736468A (en) | 2019-09-23 | 2019-09-23 | Spacecraft attitude estimation method assisted by self-adaptive kinematics model |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110736468A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115855072A (en) * | 2023-03-03 | 2023-03-28 | 北京千种幻影科技有限公司 | Attitude estimation method, device and equipment of driving simulation platform and storage medium |
| CN117750202A (en) * | 2023-12-29 | 2024-03-22 | 圆周率科技(常州)有限公司 | Image processing method and device and shooting equipment |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20150041595A1 (en) * | 2013-08-12 | 2015-02-12 | Jena Optronik Gmbh | Attitude and orbit control system and method for operating same |
| CN105066996A (en) * | 2015-07-20 | 2015-11-18 | 东南大学 | Self-adapting matrix Kalman filtering attitude estimation method |
| CN108279010A (en) * | 2017-12-18 | 2018-07-13 | 北京时代民芯科技有限公司 | A kind of microsatellite attitude based on multisensor determines method |
| CN109343550A (en) * | 2018-10-15 | 2019-02-15 | 北京航空航天大学 | An Estimation Method of Spacecraft Angular Velocity Based on Rolling Time Domain Estimation |
| CN110174121A (en) * | 2019-04-30 | 2019-08-27 | 西北工业大学 | A kind of aviation attitude system attitude algorithm method based on earth's magnetic field adaptive correction |
-
2019
- 2019-09-23 CN CN201910898008.7A patent/CN110736468A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20150041595A1 (en) * | 2013-08-12 | 2015-02-12 | Jena Optronik Gmbh | Attitude and orbit control system and method for operating same |
| CN105066996A (en) * | 2015-07-20 | 2015-11-18 | 东南大学 | Self-adapting matrix Kalman filtering attitude estimation method |
| CN108279010A (en) * | 2017-12-18 | 2018-07-13 | 北京时代民芯科技有限公司 | A kind of microsatellite attitude based on multisensor determines method |
| CN109343550A (en) * | 2018-10-15 | 2019-02-15 | 北京航空航天大学 | An Estimation Method of Spacecraft Angular Velocity Based on Rolling Time Domain Estimation |
| CN110174121A (en) * | 2019-04-30 | 2019-08-27 | 西北工业大学 | A kind of aviation attitude system attitude algorithm method based on earth's magnetic field adaptive correction |
Non-Patent Citations (2)
| Title |
|---|
| 曲从善等: "基于自适应采样滤波器的临近空间飞行器姿态确定", 《宇航学报》 * |
| 李海君等: "基于K-矩阵残差的航天器姿态确定自适应算法", 《现代防御技术》 * |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115855072A (en) * | 2023-03-03 | 2023-03-28 | 北京千种幻影科技有限公司 | Attitude estimation method, device and equipment of driving simulation platform and storage medium |
| CN117750202A (en) * | 2023-12-29 | 2024-03-22 | 圆周率科技(常州)有限公司 | Image processing method and device and shooting equipment |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112013836B (en) | Attitude heading reference system algorithm based on improved adaptive Kalman filtering | |
| CN107110650B (en) | Estimation method for navigation state constrained in observability | |
| CN104567871A (en) | Quaternion Kalman filtering attitude estimation method based on geomagnetic gradient tensor | |
| CN111007557B (en) | Adaptive kinematic model-aided GNSS carrier phase and Doppler fusion velocity measurement method | |
| CN113792411B (en) | Spacecraft attitude determination method based on central error entropy criterion unscented Kalman filtering | |
| JP4199553B2 (en) | Hybrid navigation device | |
| CN108957495A (en) | GNSS and MIMU Combinated navigation method | |
| CN104112079A (en) | Fuzzy adaptive variational Bayesian unscented Kalman filter method | |
| CN103940433B (en) | A kind of satellite attitude determination method based on the self adaptation square root UKF algorithm improved | |
| CN111141313B (en) | Method for improving matching transfer alignment precision of airborne local relative attitude | |
| CN115655285B (en) | An unscented quaternion attitude estimation method with weight and reference quaternion correction | |
| CN113011475B (en) | Distributed fusion method considering correlated noise and random parameter matrix | |
| CN105606096A (en) | Attitude and heading calculation method and system assisted by carrier movement state information | |
| CN112798021A (en) | Initial alignment method of inertial navigation system during travel based on laser Doppler velocimeter | |
| CN105066996B (en) | Adaptive matrix Kalman filtering Attitude estimation method | |
| CN110736468A (en) | Spacecraft attitude estimation method assisted by self-adaptive kinematics model | |
| CN110632634A (en) | An Optimal Data Fusion Method for Ballistic Missile INS/CNS/GNSS Integrated Navigation System | |
| CN116681735B (en) | Robot localization method based on adaptive kernel width Kalman filter | |
| CN110940332A (en) | Estimation method of pulsar signal phase delay considering dynamic effects of spacecraft orbit | |
| CN103218482A (en) | Estimation method for uncertain parameters in dynamic system | |
| EP2869026B1 (en) | Systems and methods for off-line and on-line sensor calibration | |
| CN109000638A (en) | A kind of small field of view star sensor measurement filtering wave by prolonging time method | |
| CN103954288B (en) | A kind of Satellite Attitude Determination System precision response relation determines method | |
| CN114646987A (en) | Positioning method, electronic device, storage medium and computer program product | |
| Soken et al. | Simultaneous adaptation of the process and measurement noise covariances for the UKF applied to nanosatellite attitude estimation |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| AD01 | Patent right deemed abandoned |
Effective date of abandoning: 20240322 |
|
| AD01 | Patent right deemed abandoned |