[go: up one dir, main page]

CN107063254A - A kind of attitude algorithm method of gyro earth magnetism combination - Google Patents

A kind of attitude algorithm method of gyro earth magnetism combination Download PDF

Info

Publication number
CN107063254A
CN107063254A CN201611227141.2A CN201611227141A CN107063254A CN 107063254 A CN107063254 A CN 107063254A CN 201611227141 A CN201611227141 A CN 201611227141A CN 107063254 A CN107063254 A CN 107063254A
Authority
CN
China
Prior art keywords
angle
geomagnetic
gyro
attitude
information
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.)
Granted
Application number
CN201611227141.2A
Other languages
Chinese (zh)
Other versions
CN107063254B (en
Inventor
吴盘龙
王超尘
刘佳乐
朱建良
邓宇浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing University of Science and Technology
Original Assignee
Nanjing University of Science and Technology
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Nanjing University of Science and Technology filed Critical Nanjing University of Science and Technology
Priority to CN201611227141.2A priority Critical patent/CN107063254B/en
Publication of CN107063254A publication Critical patent/CN107063254A/en
Application granted granted Critical
Publication of CN107063254B publication Critical patent/CN107063254B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/20Instruments for performing navigational calculations
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/005Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 with correlation of navigation data from several sources, e.g. map or contour matching
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/10Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration
    • G01C21/12Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning
    • G01C21/16Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning by integrating acceleration or speed, i.e. inertial navigation
    • G01C21/165Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning by integrating acceleration or speed, i.e. inertial navigation combined with non-inertial navigation instruments
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A90/00Technologies having an indirect contribution to adaptation to climate change
    • Y02A90/30Assessment of water resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Automation & Control Theory (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Navigation (AREA)
  • Measuring Magnetic Variables (AREA)

Abstract

本发明公开了一种陀螺地磁组合的姿态解算方法,包括以下步骤:步骤1、利用三轴陀螺角速率信息采用旋转矢量法优化算法解算姿态信息;利用地磁信息计算,通过积分比值法求解横滚角信息;步骤2、将地磁信号解算的横滚角和陀螺信号解算的俯仰角和偏航角作为下一时刻解算四元数;步骤3、重复步骤1和步骤2即实现姿态更新。本发明利用陀螺当前角速率、角增量,以及上一时刻角增量信息,计算出姿态信息,并利用两轴地磁信号解算出的横滚角修正以获得更高的精度。

The invention discloses a method for calculating the attitude of a gyro-geomagnetic combination, which includes the following steps: Step 1. Using the angular rate information of the three-axis gyroscope to solve the attitude information by using the rotation vector method optimization algorithm; using the geomagnetic information for calculation, and solving it by the integral ratio method Roll angle information; step 2, use the roll angle calculated by the geomagnetic signal and the pitch angle and yaw angle calculated by the gyro signal as the next moment to solve the quaternion; step 3, repeat step 1 and step 2 to realize Posture update. The present invention uses the gyroscope's current angular velocity, angular increment, and last time angular increment information to calculate the attitude information, and uses the roll angle correction calculated by the two-axis geomagnetic signal to obtain higher precision.

Description

一种陀螺地磁组合的姿态解算方法An Attitude Calculation Method of Gyro Geomagnetic Combination

技术领域technical field

本发明属于姿态测量领域,具体涉及一种陀螺地磁组合的姿态解算方法。The invention belongs to the field of attitude measurement, and in particular relates to an attitude calculation method of a gyro-geomagnetism combination.

背景技术Background technique

高动态环境下捷联惯导系统的姿态解算是提高系统精度的关键技术。姿态解算是指利用载体传感器的输出计算分析得到姿态信息,包括航向角、俯仰角、横滚角。对作高动态运动处在高动态环境的导弹炮弹等载体来说,姿态测量精度是决定其捷联惯导系统能否正常工作的关键性因素。The attitude solution of strapdown inertial navigation system in high dynamic environment is the key technology to improve the system accuracy. Attitude calculation refers to the calculation and analysis of the output of the carrier sensor to obtain attitude information, including heading angle, pitch angle, and roll angle. For carriers such as missiles and shells in high dynamic environments, the accuracy of attitude measurement is a key factor to determine whether the strapdown inertial navigation system can work normally.

旋转弹体绕自身纵轴高速旋转,陀螺仪精度较高,但误差会随着时间累计,需要配合其他惯性器件或传感器进行组合测量姿态角。与陀螺器件相比,地磁的短期精度不高,但其误差不会随时间累积,抗高过载能力也较强。如果将两者进行组合使用,可以大大提高从精度和稳定性。The rotating projectile rotates around its own longitudinal axis at high speed, and the gyroscope has high precision, but the error will accumulate over time, and it needs to be combined with other inertial devices or sensors to measure the attitude angle. Compared with gyro devices, the short-term accuracy of geomagnetism is not high, but its error will not accumulate over time, and its ability to resist high overload is also strong. If the two are used in combination, the accuracy and stability can be greatly improved.

因此,需要一种新的陀螺地磁组合的姿态解算方法以解决上述问题。Therefore, a new attitude calculation method of gyro-geomagnetic combination is needed to solve the above problems.

发明内容Contents of the invention

本发明的目的是为了解决现有技术中存在的问题,提供一种能够获得更高精度的姿态信息的陀螺地磁组合的姿态解算方法。The purpose of the present invention is to solve the problems existing in the prior art, and provide a gyro-geomagnetic combination attitude calculation method capable of obtaining higher-precision attitude information.

为实现上述发明目的,本发明的陀螺地磁组合的姿态解算方法可采用如下技术方案:In order to achieve the above-mentioned purpose of the invention, the attitude solution method of the gyro-geomagnetic combination of the present invention can adopt the following technical solutions:

一种一种陀螺地磁组合的姿态解算方法,采用陀螺仪和地磁传感器进行数据采集得到陀螺信号和地磁信号,包括如下步骤:A method for calculating the attitude of a gyro-geomagnetic combination, using a gyroscope and a geomagnetic sensor for data acquisition to obtain a gyro signal and a geomagnetic signal, comprising the following steps:

步骤一、利用陀螺角速率信息采用旋转矢量法优化算法解算姿态信息,利用地磁信息通过积分比值法求解横滚角;Step 1, using the gyro angular rate information to solve the attitude information by using the rotation vector method optimization algorithm, and using the geomagnetic information to solve the roll angle by the integral ratio method;

步骤二、将步骤一利用地磁信号解算得到的横滚角和陀螺信号解算得到的的俯仰角和偏航角作为下一时刻解算的四元数;Step 2, using the roll angle obtained by solving the geomagnetic signal and the pitch angle and the yaw angle obtained by solving the gyro signal in step 1 as the quaternion to be solved at the next moment;

步骤三、重复步骤一和步骤二即实现姿态更新。Step 3: Repeat steps 1 and 2 to update the attitude.

更进一步的,步骤1)中利用陀螺角速率信息采用旋转矢量法优化算法解算姿态信息包括以下步骤:Furthermore, in step 1), using the gyroscope angular rate information and adopting the rotation vector method optimization algorithm to solve the attitude information includes the following steps:

1.1、通过陀螺信号计算旋转矢量Φ(T);1.1. Calculate the rotation vector Φ(T) through the gyro signal;

1.2、根据步骤1.1得到的旋转矢量Φ(T),计算得到旋转四元数;1.2, according to the rotation vector Φ (T) that step 1.1 obtains, calculate and obtain the rotation quaternion;

1.3、根据步骤1.2的旋转四元数计算姿态的姿态信息。旋转矢量法利用了前一时刻的角速率和角增量求解姿态角。1.3. Calculate the posture information of the posture according to the rotation quaternion in step 1.2. The rotation vector method uses the angular rate and angular increment at the previous moment to solve the attitude angle.

更进一步的,步骤1)中利用地磁信息通过积分比值法求解横滚角信息包括以下步骤:Furthermore, in step 1), the use of geomagnetic information to solve the roll angle information by the integral ratio method includes the following steps:

2.1、计算模型函数f(θ)的值;2.1. Calculate the value of the model function f(θ);

2.2、地磁传感器包括磁传感器S1和磁传感器S2,磁传感器S1和磁传感器S2的测量值分别为HS1和HS2,计算测量值HS1和HS2为零时的横滚角γ,其中,HS1为磁传感器S1的测量值,HS2为磁传感器S2的测量值。2.2. The geomagnetic sensor includes a magnetic sensor S1 and a magnetic sensor S2. The measured values of the magnetic sensor S1 and the magnetic sensor S2 are H S1 and H S2 respectively, and the roll angle γ when the measured values H S1 and H S2 are zero is calculated, wherein, H S1 is the measured value of the magnetic sensor S1, and H S2 is the measured value of the magnetic sensor S2.

更进一步的,步骤1.1中通过下式计算旋转矢量Φ(T):Furthermore, in step 1.1, the rotation vector Φ(T) is calculated by the following formula:

式中,ω123为陀螺仪在t,t+T时刻的输出角速率,Δθ1为当前时刻角增量,Δθ0为前一时刻的角增量信号。In the formula, ω 1 , ω 2 , ω 3 are the gyroscope at t, The output angular rate at time t+T, Δθ 1 is the angular increment at the current moment, and Δθ 0 is the angular increment signal at the previous moment.

更进一步的,步骤1.2中旋转四元数q0,q1,q2,q3为:Furthermore, the rotation quaternions q 0 , q 1 , q 2 , and q 3 in step 1.2 are:

式中,ψ表示航向角,θ表示俯仰角,γ表示横滚角。In the formula, ψ represents the heading angle, θ represents the pitch angle, and γ represents the roll angle.

更进一步的,步骤1.3中所述姿态信息通过下式计算得到弹体俯仰角θ、横滚角γ和航向角ψ:Furthermore, the attitude information described in step 1.3 is calculated by the following formula to obtain the projectile pitch angle θ, roll angle γ and heading angle ψ:

其中,偏航角为实际航线和计划航线之间的夹角,Among them, the yaw angle is the angle between the actual route and the planned route,

上式中, In the above formula,

ψ表示航向角,θ表示俯仰角,γ表示横滚角。ψ represents the heading angle, θ represents the pitch angle, and γ represents the roll angle.

更进一步的,步骤2中的模型函数f(θ)通过下式计算得到:Furthermore, the model function f(θ) in step 2 is calculated by the following formula:

其中,ψ表示航向角,θ表示俯仰角,γ表示横滚角,h为地磁场矢量H的标量大小,γ为弹体坐标系中磁传感器S2与Ox1轴夹角。Among them, ψ represents the heading angle, θ represents the pitch angle, γ represents the roll angle, h is the scalar magnitude of the geomagnetic field vector H, and γ represents the angle between the magnetic sensor S2 and the Ox 1 axis in the projectile coordinate system.

更进一步的,步骤2.2中磁传感器S1和磁传感器S2的测量值与姿态角之间关系为:Furthermore, the relationship between the measured values of the magnetic sensor S1 and the magnetic sensor S2 and the attitude angle in step 2.2 is:

HS1=h(cosγsinψcosθ+sinγsinθ)H S1 =h(cosγsinψcosθ+sinγsinθ)

HS2=h(cosθcosψcosλ+cosγsinψcosθsinλ+sinγsinθsinλ)H S2 =h(cosθcosψcosλ+cosγsinψcosθsinλ+sinγsinθsinλ)

其中,ψ表示航向角,θ表示俯仰角,γ表示横滚角,h为地磁场矢量H的标量大小,γ为弹体坐标系中磁传感器S2与Ox1轴夹角。Among them, ψ represents the heading angle, θ represents the pitch angle, γ represents the roll angle, h is the scalar magnitude of the geomagnetic field vector H, and γ represents the angle between the magnetic sensor S2 and the Ox 1 axis in the projectile coordinate system.

有益效果:本发明的陀螺地磁组合的姿态解算方法采用陀螺磁传感器组合解算姿态,利用旋转矢量法求解姿态角,地磁传感器利用积分比值法求解横滚角来修正陀螺的累计误差,对陀螺输出进行动态校正,从而提升解算姿态角的精度。通过实验验证可得,本发明使用陀螺磁传感器组合解算姿态方法,相当于单一陀螺或地磁传感器,具有较好的精度和稳定性。Beneficial effects: the attitude calculation method of the gyro-geomagnetic combination of the present invention uses the gyro magnetic sensor combination to solve the attitude, uses the rotation vector method to solve the attitude angle, and uses the integral ratio method to solve the roll angle of the geomagnetic sensor to correct the cumulative error of the gyro, and the gyro The output is dynamically corrected to improve the accuracy of calculating the attitude angle. Through experimental verification, it can be obtained that the present invention uses a combination of gyro magnetic sensors to solve the attitude method, which is equivalent to a single gyro or geomagnetic sensor, and has better accuracy and stability.

附图说明Description of drawings

图1为本发明的原理示意图;Fig. 1 is a schematic diagram of the principle of the present invention;

图2是本发明实施例的陀螺磁传感器安装示意图;Fig. 2 is the installation schematic diagram of the gyro magnetic sensor of the embodiment of the present invention;

图3是本发明实施的姿态结算的算法流程示意图。Fig. 3 is a schematic diagram of the algorithm flow of gesture settlement implemented in the present invention.

具体实施方式detailed description

下面结合附图对本发明作更进一步的说明。下面结合附图和具体实施例,进一步阐明本发明,应理解这些实施例仅是本发明的优选实施方式,在阅读了本发明之后,本领域技术人员对本发明的各种不脱离本发明原理的修改均落于本申请所附权利要求所限定的范围。The present invention will be further described below in conjunction with the accompanying drawings. Below in conjunction with accompanying drawing and specific embodiment, further illustrate the present invention, should be understood that these embodiments are only the preferred embodiment of the present invention, after having read the present invention, those skilled in the art will understand various aspects of the present invention that do not depart from the principle of the present invention All modifications fall within the scope defined by the appended claims of this application.

下面结合实施例对本发明做进一步的说明。Below in conjunction with embodiment the present invention will be further described.

请参阅图1和图2所示,三轴陀螺仪安装在弹体上,使得三轴陀螺仪对准载体坐标系的三轴,两个非正交的单轴磁传感器S1、S2分别安装在弹体坐标系的Ox1y1z1的原点上,Ox1轴与弹体纵轴重合,两个敏感轴都在Ox1z1平面内,S1沿Oz1轴安装,S2与Ox1轴成λ角安装。Please refer to Figure 1 and Figure 2, the three-axis gyroscope is installed on the body so that the three-axis gyroscope is aligned with the three axes of the carrier coordinate system, and two non-orthogonal single-axis magnetic sensors S1 and S2 are respectively installed on At the origin of Ox 1 y 1 z 1 of the projectile coordinate system, the Ox 1 axis coincides with the longitudinal axis of the projectile, and both sensitive axes are in the Ox 1 z 1 plane, S1 is installed along the Oz 1 axis, and S2 is installed along the Ox 1 axis Installed at an angle of lambda.

1.旋转矢量优化二子样姿态更新算法原理:1. The principle of the rotation vector optimization two-sample pose update algorithm:

设tk时刻到tk+1时刻,更新周期T=tk+1-tk,q(T)更新四元数为与Q(tk+1)旋转四元数有如下关系:Suppose the time t k to t k+1 , the update period T=t k+1 -t k , the q(T) update quaternion has the following relationship with the Q(t k+1 ) rotation quaternion:

旋转矢量Φ与q(T)关系如下The relationship between the rotation vector Φ and q(T) is as follows

四元数可以用姿态角表示Quaternions can be expressed in terms of attitude angles

而四元数与姿态矩阵间存在以下关系:There is the following relationship between the quaternion and the attitude matrix:

Assume

通过姿态矩阵便可求得弹体俯仰角θ、横滚角γ、航向角ψThe projectile pitch angle θ, roll angle γ, and heading angle ψ can be obtained through the attitude matrix

因此通过每一周期计算旋转矢量Φ便可更新四元数信息来获得姿态信息。本文所用到的旋转矢量Φ的计算算法原理如下:Therefore, by calculating the rotation vector Φ every cycle, the quaternion information can be updated to obtain the attitude information. The calculation algorithm principle of the rotation vector Φ used in this paper is as follows:

当采用旋转矢量确定载体姿态运动时,有如下简化微分方程When the rotation vector is used to determine the attitude motion of the carrier, there is the following simplified differential equation

一个角速率计算周期内[t,t+T]用抛物线对角速率进行拟合:In an angular rate calculation cycle [t,t+T] is fitted with a parabola to the angular rate:

ω=a+2bτ+3cτ2,0≤τ≤Tω=a+2bτ+3cτ 2 , 0≤τ≤T

设陀螺在t,t+T时刻的角速率输出分别为ω123,将Φ在T=0处用泰勒级数展开,并将Φ的各阶导数用ω123来表示,即可得到基于角速率的旋转矢量表达式Let the gyro be at t, The output of the angular rate at time t+T is ω 1 , ω 2 , ω 3 respectively, expand Φ with Taylor series at T=0, and express the derivatives of Φ with ω 1 , ω 2 , ω 3 , you can get the rotation vector expression based on the angular rate

加入当前时刻角增量Δθ1以及前一时刻的角增量Δθ0,对上式进行圆锥运动优化,设Add the angle increment Δθ 1 at the current moment and the angle increment Δθ 0 at the previous moment to optimize the conical motion of the above formula, and set

其中X,Y,Z,K为待定系数,使得在圆锥运动环境下的算法漂移最小。Among them, X, Y, Z, K are undetermined coefficients, so that the algorithm drift in the conical motion environment is the smallest.

设Ω为锥运动频率,α为圆锥角,由四元数的性质可推导出一个姿态更新周期内的旋转矢量:Let Ω be the cone motion frequency, α be the cone angle, and the rotation vector within an attitude update cycle can be deduced from the properties of quaternions:

一个姿态更新周期内的陀螺仪的角增量和角速率为:The angular increment and angular rate of the gyroscope in an attitude update period are:

代入式(1)可求得一个周期的旋转矢量增量,与式(2)作差得到旋转矢量误差,当我们仅考虑引起平台漂移的直流分量部分时,且认为α为小量,则有:Substituting into formula (1) can obtain the rotation vector increment of one period, and get the rotation vector error by making a difference with formula (2). When we only consider the DC component that causes platform drift and consider α to be a small amount, then we have :

对上式进行泰勒展开级数展开,并令ΩT高次项系数为零,解得 Carry out Taylor expansion series expansion on the above formula, and set the coefficient of the high-order term of ΩT to zero, the solution is

得到算法make get the algorithm

角增量则通过插值积分近似 The angular increment is then approximated by interpolating the integral

2.地磁传感器姿态算法2. Geomagnetic sensor attitude algorithm

磁传感器S1和S2的测量值HS1和HS2与弹体俯仰角θ、横滚角γ、航向角ψ的表达式The expressions of the measured values H S1 and H S2 of the magnetic sensors S1 and S2 and the projectile pitch angle θ, roll angle γ, and heading angle ψ

HS1=h(cosγsinψcosθ+sinγsinθ)H S1 =h(cosγsinψcosθ+sinγsinθ)

HS2=h(cosθcosψcosλ+cosγsinψcosθsinλ+sinγsinθsinλ)H S2 =h(cosθcosψcosλ+cosγsinψcosθsinλ+sinγsinθsinλ)

式中,h为地磁场矢量H的标量大小。In the formula, h is the scalar magnitude of the geomagnetic field vector H.

积分数学模型:Integral mathematical model:

其中,N表示弹丸旋转一圈的总采样次数,k表示采样时刻;表示关于横滚角γ的积分运算;表示弹丸旋转一圈两个传感器采样值HS1和HS2的离散采样点的平方和运算;Among them, N represents the total sampling times of the projectile rotating one circle, and k represents the sampling time; with Indicates the integral operation with respect to the roll angle γ; with Indicates the square sum operation of the discrete sampling points of the two sensor sampling values H S1 and H S2 in one revolution of the projectile;

根据磁传感器的表达式又可推出According to the expression of the magnetic sensor, it can be deduced that

弹丸旋转一圈时,假设夹角λ和航向角ψ不变,通过两个传感器采样值平方和的积分运算,可以得到f(θ)的值。求出f(θ)的解,可获得弹体某一特定时刻的横滚角γ角度值,即可计算出弹体旋转一周内所有时刻的横滚角γ。When the projectile rotates one circle, assuming that the included angle λ and the heading angle ψ remain unchanged, the value of f(θ) can be obtained through the integral operation of the sum of the squares of the sampling values of the two sensors. The solution of f(θ) can be obtained to obtain the angle value of the roll angle γ of the projectile at a specific moment, and the roll angle γ of all moments within one revolution of the projectile can be calculated.

本文所用到的地磁传感器求解横滚角γ的算法如下:The algorithm of the geomagnetic sensor used in this paper to solve the roll angle γ is as follows:

假设特定时刻为HS1或HS2的零点,测量值HS1或HS2为零时,可以消去未知数磁场强度标量h,减少周围干扰磁场环境对计算结果的影响。Assuming that the specific moment is the zero point of HS1 or HS2, when the measured value HS1 or HS2 is zero , the unknown magnetic field strength scalar h can be eliminated, and the influence of the surrounding interference magnetic field environment on the calculation results can be reduced.

(1)磁传感器S1的测量值HS1=0时:(1) When the measured value H S1 of the magnetic sensor S1 =0:

cosγsinψcosθ+sinγsinθ=0cosγsinψcosθ+sinγsinθ=0

整理得 Tidy up

式中,函数的两个参数ψ和θ不同时为零;In the formula, the two parameters ψ and θ of the function are not zero at the same time;

求得当前第K周期的横滚角γK应当有正负两个取值,分别对应1,3象限或者2,4象限,此时应根据前一周期横滚角γK-1和弹体的转速ω粗略估算当前周期的横滚角正负情况,来选取横滚角γK的值。The roll angle γ K of the current K-th cycle should have two values, positive and negative, corresponding to quadrants 1 and 3 or quadrants 2 and 4 respectively. At this time, the roll angle γ K-1 and projectile body of the previous cycle should be used Roughly estimate the positive and negative conditions of the roll angle in the current cycle, and select the value of the roll angle γ K.

弹丸每旋转一圈,可以得到磁传感器输出值HS1(或HS2)的最大值HS1max和最小值HS1min,利用取得HS1max和HS1min的时刻点t(HS1max)和t(HS1min),可以粗略计算出ω,即ω=2(t(HS1max)-t(HS1min))。For each revolution of the projectile, the maximum value H S1max and the minimum value H S1min of the magnetic sensor output value H S1 (or H S2 ) can be obtained, and the time points t(H S1max ) and t( H S1min ), ω can be roughly calculated, that is, ω=2(t(H S1max )-t( HS1min )).

其中T为采样周期时间。γK正负情况与正负相同。make Where T is the sampling cycle time. The positive and negative conditions of γ K and Positive and negative are the same.

(2)磁传感器S2的测量值Hs2=0时:(2) When the measured value H s2 of the magnetic sensor S2 =0:

cosθcosψcosλ+cosγsinψcosθsinλ+sinγsinθsinλ=0cosθcosψcosλ+cosγsinψcosθsinλ+sinγsinθsinλ=0

式中, In the formula,

当|sinλ|>|cosθcosψ|时,磁传感器S2的测量值Hs2有两个零点,当前第K周期横滚角γK有两个解γ1,K和γ2,K,此时应计算由第K-1周期的横滚角γK-1加上弹体转速ω得到的当前周期的横滚角近似值横滚角取较小者对应的γ;When |sinλ|>|cosθcosψ|, the measured value H s2 of the magnetic sensor S2 has two zero points, and the roll angle γ K of the current Kth cycle has two solutions γ 1,K and γ 2,K , at this time it should be calculated The approximate value of the roll angle of the current cycle obtained by adding the roll angle γ K-1 of the K-1 cycle to the projectile speed ω roll angle and γ corresponding to the smaller one;

当|sinλ|=|cosθcosψ|时,磁传感器S2的测量值HS2有一个零点;When |sinλ|=|cosθcosψ|, the measured value H S2 of the magnetic sensor S2 has a zero point;

当|sinλ|<|cosθcosψ|时,磁传感器S2的测量值HS2不一定有零点,此时求得横滚角γ不准确。When |sinλ|<|cosθcosψ|, the measured value H S2 of the magnetic sensor S2 does not necessarily have a zero point, and the roll angle γ obtained at this time is not accurate.

3.将地磁信号解算的各时刻横滚角和陀螺信号解算的各时刻俯仰角和偏航角作为下一步解算的四元数,再用优化二子样算法进行姿态解算,对陀螺输出进行动态校正,提高姿态角精度,减少误差。3. Use the roll angle at each moment calculated by the geomagnetic signal and the pitch angle and yaw angle at each time calculated by the gyro signal as the quaternion for the next step, and then use the optimized two-sample algorithm to calculate the attitude. The output is dynamically corrected to improve the accuracy of the attitude angle and reduce the error.

Claims (8)

1.一种陀螺地磁组合的姿态解算方法,其特征在于,采用陀螺仪和地磁传感器进行数据采集得到陀螺信号和地磁信号,包括如下步骤:1. a kind of attitude solution method of gyro-geomagnetic combination, it is characterized in that, adopt gyroscope and geomagnetic sensor to carry out data acquisition and obtain gyro signal and geomagnetic signal, comprise the steps: 步骤一、利用陀螺角速率信息采用旋转矢量法优化算法解算姿态信息,利用地磁信息通过积分比值法求解横滚角;Step 1, using the gyro angular rate information to solve the attitude information by using the rotation vector method optimization algorithm, and using the geomagnetic information to solve the roll angle by the integral ratio method; 步骤二、将步骤一利用地磁信号解算得到的横滚角和陀螺信号解算得到的的俯仰角和偏航角作为下一时刻解算的四元数;Step 2, using the roll angle obtained by solving the geomagnetic signal and the pitch angle and the yaw angle obtained by solving the gyro signal in step 1 as the quaternion to be solved at the next moment; 步骤三、重复步骤一和步骤二即实现姿态更新。Step 3: Repeat steps 1 and 2 to update the attitude. 2.根据权利要求1所述的陀螺地磁组合的姿态解算方法,其特征在于,步骤1)中利用陀螺角速率信息采用旋转矢量法优化算法解算姿态信息包括以下步骤:2. the attitude calculation method of gyro-geomagnetic combination according to claim 1, is characterized in that, utilizes gyro angular rate information to adopt rotation vector method optimization algorithm to solve attitude information in step 1) and comprises the following steps: 1.1、通过陀螺信号计算旋转矢量Φ(T);1.1. Calculate the rotation vector Φ(T) through the gyro signal; 1.2、根据步骤1.1得到的旋转矢量Φ(T),计算得到旋转四元数;1.2, according to the rotation vector Φ (T) that step 1.1 obtains, calculate and obtain the rotation quaternion; 1.3、根据步骤1.2的旋转四元数计算姿态的姿态信息。1.3. Calculate the posture information of the posture according to the rotation quaternion in step 1.2. 3.根据权利要求1所述的陀螺地磁组合的姿态解算方法,其特征在于,步骤1)中利用地磁信息通过积分比值法求解横滚角信息包括以下步骤:3. the attitude solution method of gyro-geomagnetic combination according to claim 1, is characterized in that, in step 1), utilizes geomagnetic information to solve roll angle information by integral ratio method and comprises the following steps: 2.1、计算模型函数f(θ)的值;2.1. Calculate the value of the model function f(θ); 2.2、地磁传感器包括磁传感器S1和磁传感器S2,磁传感器S1和磁传感器S2的测量值分别为HS1和HS2,计算测量值HS1和HS2为零时的横滚角γ,其中,HS1为磁传感器S1的测量值,HS2为磁传感器S2的测量值。2.2. The geomagnetic sensor includes a magnetic sensor S1 and a magnetic sensor S2. The measured values of the magnetic sensor S1 and the magnetic sensor S2 are H S1 and H S2 respectively, and the roll angle γ when the measured values H S1 and H S2 are zero is calculated, wherein, H S1 is the measured value of the magnetic sensor S1, and H S2 is the measured value of the magnetic sensor S2. 4.根据权利要求2所述的陀螺地磁组合的姿态解算方法,其特征在于,步骤1.1中通过下式计算旋转矢量Φ(T):4. the attitude solution method of gyro-geomagnetic combination according to claim 2, is characterized in that, calculates rotation vector Φ (T) by following formula in step 1.1: 式中,ω123为陀螺仪在时刻的输出角速率,Δθ1为当前时刻角增量,Δθ0为前一时刻的角增量信号。In the formula, ω 1 , ω 2 , ω 3 are the gyro in The output angular rate at the moment, Δθ 1 is the angular increment at the current moment, and Δθ 0 is the angular increment signal at the previous moment. 5.根据权利要求2所述的陀螺地磁组合的姿态解算方法,其特征在于,步骤1.2中旋转四元数q0,q1,q2,q2为:5. The attitude calculation method of gyro-geomagnetic combination according to claim 2, characterized in that, in step 1.2, the rotation quaternions q 0 , q 1 , q 2 , q 2 are: 式中,ψ表示航向角,θ表示俯仰角,γ表示横滚角。In the formula, ψ represents the heading angle, θ represents the pitch angle, and γ represents the roll angle. 6.根据权利要求2所述的陀螺地磁组合的姿态解算方法,其特征在于,步骤1.3中所述姿态信息通过下式计算得到弹体俯仰角θ、横滚角γ和航向角ψ:6. the attitude solution method of gyro-geomagnetic combination according to claim 2, is characterized in that, attitude information described in step 1.3 obtains projectile pitch angle θ, roll angle γ and heading angle ψ by following formula calculation: 其中,偏航角为实际航线和计划航线之间的夹角,Among them, the yaw angle is the angle between the actual route and the planned route, 上式中, In the above formula, ψ表示航向角,θ表示俯仰角,γ表示横滚角。ψ represents the heading angle, θ represents the pitch angle, and γ represents the roll angle. 7.根据权利要求3所述的陀螺地磁组合的姿态解算方法,其特征在于,步骤2中的模型函数f(θ)通过下式计算得到:7. the attitude solution method of gyro-geomagnetic combination according to claim 3, is characterized in that, the model function f (θ) in the step 2 is calculated by following formula: 其中,ψ表示航向角,θ表示俯仰角,γ表示横滚角,h为地磁场矢量H的标量大小,γ为弹体坐标系中磁传感器S2与Ox1轴夹角。Among them, ψ represents the heading angle, θ represents the pitch angle, γ represents the roll angle, h is the scalar magnitude of the geomagnetic field vector H, and γ represents the angle between the magnetic sensor S2 and the Ox 1 axis in the projectile coordinate system. 8.根据权利要求3所述的陀螺地磁组合的姿态解算方法,其特征在于,步骤2.2中磁传感器S1和磁传感器S2的测量值与姿态角之间关系为:8. the attitude solution method of gyro-geomagnetic combination according to claim 3, is characterized in that, in the step 2.2, the relationship between the measured value of magnetic sensor S1 and magnetic sensor S2 and the attitude angle is: HS1=h(cosγsinψcosθ+sinγsinθ)H S1 =h(cosγsinψcosθ+sinγsinθ) HS2=h(cosθcosψcosλ+cosγsinψcosθsinλ+sinγsinθsinλ)H S2 =h(cosθcosψcosλ+cosγsinψcosθsinλ+sinγsinθsinλ) 其中,ψ表示航向角,θ表示俯仰角,γ表示横滚角,h为地磁场矢量H的标量大小,γ为弹体坐标系中磁传感器S2与Ox1轴夹角。Among them, ψ represents the heading angle, θ represents the pitch angle, γ represents the roll angle, h is the scalar magnitude of the geomagnetic field vector H, and γ represents the angle between the magnetic sensor S2 and the Ox 1 axis in the projectile coordinate system.
CN201611227141.2A 2016-12-27 2016-12-27 Gesture resolving method for gyros and geomagnetic combination Active CN107063254B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611227141.2A CN107063254B (en) 2016-12-27 2016-12-27 Gesture resolving method for gyros and geomagnetic combination

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611227141.2A CN107063254B (en) 2016-12-27 2016-12-27 Gesture resolving method for gyros and geomagnetic combination

Publications (2)

Publication Number Publication Date
CN107063254A true CN107063254A (en) 2017-08-18
CN107063254B CN107063254B (en) 2023-08-25

Family

ID=59623725

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611227141.2A Active CN107063254B (en) 2016-12-27 2016-12-27 Gesture resolving method for gyros and geomagnetic combination

Country Status (1)

Country Link
CN (1) CN107063254B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109373998A (en) * 2018-10-11 2019-02-22 重庆天箭惯性科技股份有限公司 Posture of rotator measurement method based on multi-sensor data
CN110044321A (en) * 2019-03-22 2019-07-23 北京理工大学 The method for resolving attitude of flight vehicle using Geomagnetism Information and angular rate gyroscope
CN110398242A (en) * 2019-05-27 2019-11-01 西安微电子技术研究所 It is a kind of it is high rotation high overload condition aircraft attitude angle determine method
CN110440797A (en) * 2019-08-28 2019-11-12 广州小鹏汽车科技有限公司 Vehicle attitude estimation method and system
CN110514200A (en) * 2019-08-13 2019-11-29 中国航空工业集团公司西安飞行自动控制研究所 A kind of inertial navigation system and high revolving speed posture of rotator measurement method
CN110967007A (en) * 2019-11-21 2020-04-07 中国船舶重工集团公司第七0五研究所 Inertial navigation resolving method suitable for steady-state navigation and capable of saving two-axis strapdown gyroscope
CN113008227A (en) * 2021-02-05 2021-06-22 中国人民解放军国防科技大学 Geomagnetic binary measurement method based on three-axis accelerometer attitude measurement
CN114398827A (en) * 2022-01-05 2022-04-26 北京理工大学 A construction method of virtual gyroscope based on deep learning

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101561281A (en) * 2009-05-19 2009-10-21 北京星箭长空测控技术股份有限公司 Working method of strap-down magnetic inertia combination system
CN103090870A (en) * 2013-01-21 2013-05-08 西北工业大学 Spacecraft attitude measurement method based on MEMS (micro-electromechanical systems) sensor
CN103940425A (en) * 2014-04-22 2014-07-23 北京信息科技大学 Magnetic-inertial combination strapdown measuring method
CN105937911A (en) * 2016-07-01 2016-09-14 南京理工大学 Magnetic sensor attitude calculation method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101561281A (en) * 2009-05-19 2009-10-21 北京星箭长空测控技术股份有限公司 Working method of strap-down magnetic inertia combination system
CN103090870A (en) * 2013-01-21 2013-05-08 西北工业大学 Spacecraft attitude measurement method based on MEMS (micro-electromechanical systems) sensor
CN103940425A (en) * 2014-04-22 2014-07-23 北京信息科技大学 Magnetic-inertial combination strapdown measuring method
CN105937911A (en) * 2016-07-01 2016-09-14 南京理工大学 Magnetic sensor attitude calculation method

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109373998A (en) * 2018-10-11 2019-02-22 重庆天箭惯性科技股份有限公司 Posture of rotator measurement method based on multi-sensor data
CN110044321A (en) * 2019-03-22 2019-07-23 北京理工大学 The method for resolving attitude of flight vehicle using Geomagnetism Information and angular rate gyroscope
CN110044321B (en) * 2019-03-22 2021-01-29 北京理工大学 A method for calculating the attitude of aircraft using geomagnetic information and angular rate gyroscope
CN110398242B (en) * 2019-05-27 2021-05-14 西安微电子技术研究所 Attitude angle determination method for high-rotation-height overload condition aircraft
CN110398242A (en) * 2019-05-27 2019-11-01 西安微电子技术研究所 It is a kind of it is high rotation high overload condition aircraft attitude angle determine method
CN110514200A (en) * 2019-08-13 2019-11-29 中国航空工业集团公司西安飞行自动控制研究所 A kind of inertial navigation system and high revolving speed posture of rotator measurement method
CN110514200B (en) * 2019-08-13 2023-03-14 中国航空工业集团公司西安飞行自动控制研究所 Inertial navigation system and high-rotation-speed rotating body attitude measurement method
CN110440797A (en) * 2019-08-28 2019-11-12 广州小鹏汽车科技有限公司 Vehicle attitude estimation method and system
CN110967007B (en) * 2019-11-21 2023-02-21 中国船舶重工集团公司第七0五研究所 Inertial navigation resolving method suitable for steady-state navigation and capable of saving two-axis strapdown gyroscope
CN110967007A (en) * 2019-11-21 2020-04-07 中国船舶重工集团公司第七0五研究所 Inertial navigation resolving method suitable for steady-state navigation and capable of saving two-axis strapdown gyroscope
CN113008227A (en) * 2021-02-05 2021-06-22 中国人民解放军国防科技大学 Geomagnetic binary measurement method based on three-axis accelerometer attitude measurement
CN113008227B (en) * 2021-02-05 2023-03-10 中国人民解放军国防科技大学 Geomagnetic binary measurement method for measuring attitude based on three-axis accelerometer
CN114398827A (en) * 2022-01-05 2022-04-26 北京理工大学 A construction method of virtual gyroscope based on deep learning
CN114398827B (en) * 2022-01-05 2024-11-08 北京理工大学 A method for constructing a virtual gyroscope based on deep learning

Also Published As

Publication number Publication date
CN107063254B (en) 2023-08-25

Similar Documents

Publication Publication Date Title
CN107063254B (en) Gesture resolving method for gyros and geomagnetic combination
CN105021192B (en) A kind of implementation method of the integrated navigation system based on zero-speed correction
CN103940425B (en) A kind of magnetic inertia combines Strapdown inertial measurement method
CN103900608B (en) A kind of low precision inertial alignment method based on quaternary number CKF
CN103196445B (en) Based on the carrier posture measuring method of the earth magnetism supplementary inertial of matching technique
WO2018214227A1 (en) Unmanned vehicle real-time posture measurement method
CN110954102B (en) Magnetometer-assisted inertial navigation system and method for robot positioning
CN102901977B (en) Method for determining initial attitude angle of aircraft
CN110174121A (en) A kind of aviation attitude system attitude algorithm method based on earth&#39;s magnetic field adaptive correction
CN103743413B (en) Heeling condition modulated is sought northern instrument alignment error On-line Estimation and is sought northern error compensating method
CN109596144B (en) GNSS position-assisted SINS inter-travel initial alignment method
CN107063262A (en) A kind of complementary filter method resolved for UAV Attitude
CN103398713A (en) Method for synchronizing measured data of star sensor/optical fiber inertial equipment
CN108458714A (en) The Eulerian angles method for solving of acceleration of gravity is free of in a kind of attitude detection system
CN112902956A (en) Course initial value acquisition method for handheld GNSS/MEMS-INS receiver, electronic equipment and storage medium
CN110440746A (en) A kind of no-dig technique subterranean drill bit posture fusion method based on the decline of quaternary number gradient
CN102937450A (en) Relative attitude determining method based on gyroscope metrical information
CN110736484B (en) Calibration method of background magnetic field based on fusion of gyroscope and magnetic sensor
CN103411623A (en) Rate gyroscope calibrating method
CN110851776A (en) An attitude calculation method for a highly dynamic variable speed carrier
WO2014115848A1 (en) Rotary information computation method, rotary information computation program, magnetic gyroscope, and moving body
CN108871319B (en) Attitude calculation method based on earth gravity field and earth magnetic field sequential correction
CN105937911A (en) Magnetic sensor attitude calculation method
CN106595669B (en) Method for resolving attitude of rotating body
CN109631939A (en) A kind of rapid alignment method based on magnetometer and accelerometer

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
GR01 Patent grant
GR01 Patent grant