CN114398827B - A method for constructing a virtual gyroscope based on deep learning - Google Patents
A method for constructing a virtual gyroscope based on deep learning Download PDFInfo
- Publication number
- CN114398827B CN114398827B CN202210003865.8A CN202210003865A CN114398827B CN 114398827 B CN114398827 B CN 114398827B CN 202210003865 A CN202210003865 A CN 202210003865A CN 114398827 B CN114398827 B CN 114398827B
- Authority
- CN
- China
- Prior art keywords
- rotating body
- coordinate system
- speed rotating
- vector
- acceleration
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
- G06F30/27—Design optimisation, verification or simulation using machine learning, e.g. artificial intelligence, neural networks, support vector machines [SVM] or training a model
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/16—Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/044—Recurrent networks, e.g. Hopfield networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2119/00—Details relating to the type or aim of the analysis or the optimisation
- G06F2119/14—Force analysis or force optimisation, e.g. static or dynamic forces
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Evolutionary Computation (AREA)
- Data Mining & Analysis (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Artificial Intelligence (AREA)
- Mathematical Optimization (AREA)
- Computing Systems (AREA)
- Pure & Applied Mathematics (AREA)
- Computational Linguistics (AREA)
- Molecular Biology (AREA)
- General Health & Medical Sciences (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Medical Informatics (AREA)
- Computer Hardware Design (AREA)
- Geometry (AREA)
- Biophysics (AREA)
- Biomedical Technology (AREA)
- Life Sciences & Earth Sciences (AREA)
- Health & Medical Sciences (AREA)
- Algebra (AREA)
- Databases & Information Systems (AREA)
- Navigation (AREA)
Abstract
Description
技术领域Technical Field
本发明属于复杂高动态、强干扰环境下的角速率获取技术领域,特别涉及一种基于深度学习的虚拟陀螺仪构建方法。The present invention belongs to the technical field of angular rate acquisition in complex, highly dynamic and strong interference environments, and in particular relates to a method for constructing a virtual gyroscope based on deep learning.
背景技术Background Art
高动态、强干扰等复杂战场环境,要求高旋体具备实时精准定位、智能自主决策和灵活运动控制的能力,单一导航系统难以满足要求。因此,往往采用多传感器组合导航策略,即同时搭载多种传感器,通过多模态组合,实现高精度导航。高旋体的运动感知主要利用陀螺仪、加速度计和磁阻传感器进行角速率、加速度和地磁信息的测量。高旋体的高速自旋(≥10r/s)会引起陀螺仪量程饱和,导致无法准确获取高旋体的角速率信息;高旋体的高过载(≥10000g)容易导致陀螺仪在工作过程中失效,无法保证陀螺仪能在高旋体飞行中正常运行;弹性振动的存在又会对捷联于高旋体的传感器产生高频振动噪声,从而降低高旋体角速率测量精度。因此,在复杂环境下如何确保高旋体角速率测量的连续、可靠、稳健、可用已经成为刻不容缓的技术需求。Complex battlefield environments such as high dynamics and strong interference require high-speed rotating bodies to have the ability of real-time accurate positioning, intelligent autonomous decision-making and flexible motion control, and a single navigation system is difficult to meet the requirements. Therefore, a multi-sensor combined navigation strategy is often adopted, that is, multiple sensors are carried at the same time, and high-precision navigation is achieved through multi-modal combination. The motion perception of high-speed rotating bodies mainly uses gyroscopes, accelerometers and magnetoresistive sensors to measure angular velocity, acceleration and geomagnetic information. The high-speed spin of the high-speed rotating body (≥10r/s) will cause the gyroscope range to be saturated, resulting in the inability to accurately obtain the angular velocity information of the high-speed rotating body; the high overload of the high-speed rotating body (≥10000g) is easy to cause the gyroscope to fail during the working process, and it is impossible to ensure that the gyroscope can operate normally during the flight of the high-speed rotating body; the existence of elastic vibration will generate high-frequency vibration noise to the sensor strapped to the high-speed rotating body, thereby reducing the measurement accuracy of the angular velocity of the high-speed rotating body. Therefore, how to ensure the continuous, reliable, robust and available angular velocity measurement of high-speed rotating bodies in complex environments has become an urgent technical demand.
目前关于高旋体的角速率感知技术,主要有多加速度计组合方案、磁阻传感器信号分析方案以及磁阻传感器和加速度计组合感知方案。对于多加速度计组合方案,一方面需要有特定的几何分布,对加速度计的安装要求高,另一方面对于诸如炮弹这类自旋速率过高的高旋体,角速率解算过程中存在复杂的交叉耦合项会造成角速率解算精度下降。磁阻传感器信号分析方案是利用捷联于高旋体上的磁阻传感器随着高旋体高速旋转使其输出信号呈正余弦波形,并对该波形进行信号分析。该方案可有效精确的获取滚转角速率,但对于俯仰角速率和偏航角速率无法获取,在陀螺仪完全失效时依旧无法准确获取高旋体全角速率。对于磁阻传感器和加速度计组合感知方案,法德圣路易斯研究所的Bernerd等人针对转速高达170r/s的高旋飞行体,采用该方案精确获取了飞行体转速和加速度信息。Fiot等人同样用加速度和地磁传感器的组合方案进行高旋飞行体的运动信息测量。该方法尽管可以获取高旋体全部角速率信息,但依赖于精确的运动学方程,在实际应用中不易获取运动学方程中的参数,从而导致角速率估计误差。At present, there are mainly multiple accelerometer combination schemes, magnetoresistive sensor signal analysis schemes, and magnetoresistive sensor and accelerometer combination sensing schemes for high-speed rotating bodies. For the multiple accelerometer combination scheme, on the one hand, a specific geometric distribution is required, and the installation requirements of the accelerometer are high. On the other hand, for high-speed rotating bodies with too high spin rates such as shells, the complex cross-coupling terms in the angular rate solution process will cause the angular rate solution accuracy to decrease. The magnetoresistive sensor signal analysis scheme uses the magnetoresistive sensor strapped on the high-speed rotating body to make its output signal present a sine and cosine waveform as the high-speed rotating body rotates, and performs signal analysis on the waveform. This scheme can effectively and accurately obtain the roll angular rate, but it cannot obtain the pitch angular rate and yaw angular rate. When the gyroscope fails completely, it is still impossible to accurately obtain the full angular rate of the high-speed rotating body. For the magnetoresistive sensor and accelerometer combination sensing scheme, Bernerd et al. of the French-German Saint Louis Institute used this scheme to accurately obtain the rotation speed and acceleration information of the flying body for high-speed rotating flying bodies with a rotation speed of up to 170r/s. Fiot et al. also used a combination of acceleration and geomagnetic sensors to measure the motion information of a high-speed flying object. Although this method can obtain all the angular velocity information of a high-speed flying object, it relies on accurate kinematic equations. In practical applications, it is difficult to obtain the parameters in the kinematic equations, which leads to angular velocity estimation errors.
与此同时,信息科学的迅猛发展使得机器学习、模式识别、神经网络等智能计算技术得到了广泛的应用。在这些技术的推进下,深度学习辅助载体运动感知作为一种重要辅助手段应运而生,并渗透到运动感知测量的各个环节,广泛应用于INS/GNSS导航定位领域。大多数现代深度学习模型建立在人工神经网络的几种基本结构上,即多层感知器(Multilayer Perceptron,MLP)、卷积神经网络(Convolutional Neural Network,CNN)、循环神经网络(Recurrent Neural Network,RNN)、图神经网络(Graph Neural Network,GNN)。RNN可以有效的处理INS输出的时间序列,长短时记忆网络(Long Short-TermMemory,LSTM)的内部单元结构相比于RNN进行了改进,增加了遗忘机制和保存机制,目前也已应用于INS/GNSS组合导航领域。此外,LSTM的两种变体:门控循环单元(Gated RecurrentUnit,GRU)和双向长短时记忆网络(Bi-directional LSTM,BILSTM)也已经成为较为广泛应用的深度学习模型。因此,本文将BILSTM应用到高旋体角速率预测领域,设计虚拟陀螺仪,为高旋体导航制导提供稳定可靠的角速率信息。At the same time, the rapid development of information science has led to the widespread application of intelligent computing technologies such as machine learning, pattern recognition, and neural networks. Driven by these technologies, deep learning-assisted carrier motion perception has emerged as an important auxiliary means, and has penetrated into all aspects of motion perception measurement and is widely used in the field of INS/GNSS navigation and positioning. Most modern deep learning models are based on several basic structures of artificial neural networks, namely multilayer perceptron (MLP), convolutional neural network (CNN), recurrent neural network (RNN), and graph neural network (GNN). RNN can effectively process the time series output by INS. The internal unit structure of the long short-term memory network (LSTM) has been improved compared to RNN, adding forgetting and preservation mechanisms. It has also been applied to the field of INS/GNSS integrated navigation. In addition, two variants of LSTM: gated recurrent unit (GRU) and bidirectional long short-term memory network (BILSTM) have also become more widely used deep learning models. Therefore, this paper applies BILSTM to the field of high-rotating body angular rate prediction and designs a virtual gyroscope to provide stable and reliable angular rate information for high-rotating body navigation and guidance.
发明内容Summary of the invention
本发明克服了现有技术的不足之一,提供了一种基于深度学习的虚拟陀螺仪构建方法,实现陀螺仪失效后高旋体角速率的稳定感知。The present invention overcomes one of the deficiencies of the prior art and provides a method for constructing a virtual gyroscope based on deep learning, thereby achieving stable perception of high angular rates of a rotating body after gyroscope failure.
根据本公开的一方面,本发明提供一种基于深度学习的虚拟陀螺仪构建方法,所述方法包括:According to one aspect of the present disclosure, the present invention provides a method for constructing a virtual gyroscope based on deep learning, the method comprising:
利用高旋体的磁阻传感器获取高旋体坐标系上的地磁矢量;Using the magnetoresistance sensor of the high-speed rotating body, the geomagnetic vector on the high-speed rotating body coordinate system is obtained;
利用高旋体的加速度计获取所述高旋体坐标系上的加速度矢量;Using an accelerometer of a high-speed rotating body, obtaining an acceleration vector on a coordinate system of the high-speed rotating body;
将所述高旋体坐标系上的当前时刻和上一时刻的地磁矢量,以及加速度矢量输入到BILSTM网络中,得到所述高旋体姿态变化四元参数;Inputting the geomagnetic vector at the current moment and the previous moment and the acceleration vector on the coordinate system of the high-speed rotating body into the BILSTM network to obtain the quaternion parameters of the posture change of the high-speed rotating body;
根据所述高旋体的旋转矢量和所述高旋体姿态变化四元参数的转换关系得到所述高旋体的角速率。The angular velocity of the high-speed rotating body is obtained according to the conversion relationship between the rotation vector of the high-speed rotating body and the quaternary parameter of the posture change of the high-speed rotating body.
在一种可能的实现方式中,所述利用高旋体的磁阻传感器获取高旋体坐标系上的地磁矢量之后,包括:In a possible implementation, after acquiring the geomagnetic vector on the coordinate system of the high-speed rotating body by using the magnetoresistive sensor of the high-speed rotating body, the method includes:
根据所述高旋体坐标系和地理坐标系的姿态转换矩阵,得到所述高旋体的地磁矢量在高旋体坐标系上的三轴分量与地理坐标系上的三轴分量之间的转换关系;According to the attitude conversion matrix of the high-rotating body coordinate system and the geographic coordinate system, a conversion relationship between the three-axis components of the geomagnetic vector of the high-rotating body in the high-rotating body coordinate system and the three-axis components in the geographic coordinate system is obtained;
根据所述地磁矢量在高旋体坐标系上的三轴分量与地理坐标系上的三轴分量之间的转换关系和链式法则,得到高旋体坐标系上的当前时刻的地磁矢量和上一时刻的地磁矢量的关系。According to the conversion relationship between the three-axis components of the geomagnetic vector in the high-rotating body coordinate system and the three-axis components in the geographic coordinate system and the chain rule, the relationship between the geomagnetic vector at the current moment and the geomagnetic vector at the previous moment in the high-rotating body coordinate system is obtained.
在一种可能的实现方式中,所述利用高旋体的加速度计获取所述高旋体坐标系上的加速度矢量之后,还包括:In a possible implementation manner, after acquiring the acceleration vector on the high-rotating body coordinate system by using the accelerometer of the high-rotating body, the method further includes:
根据加速度计的速度微分方程得到所述高旋体的加速度在高旋体坐标系上的分量和地理坐标系上的分量之间的转换关系;Obtaining the conversion relationship between the component of the acceleration of the high-speed rotating body in the high-speed rotating body coordinate system and the component in the geographic coordinate system according to the velocity differential equation of the accelerometer;
根据所述加速度在高旋体坐标系上的分量和地理坐标系上的分量之间的转换关系和链式法则,得到高旋体坐标系上的当前时刻的加速度矢量和上一时刻的加速度矢量的关系。According to the conversion relationship between the components of the acceleration in the high-rotating body coordinate system and the components in the geographic coordinate system and the chain rule, the relationship between the acceleration vector at the current moment and the acceleration vector at the previous moment in the high-rotating body coordinate system is obtained.
在一种可能的实现方式中,所述将所述高旋体坐标系上的当前时刻和上一时刻的地磁矢量,以及加速度矢量输入到BILSTM网络中,得到所述高旋体姿态变化四元参数,包括:In a possible implementation, the geomagnetic vector at the current moment and the previous moment on the high-rotating body coordinate system and the acceleration vector are input into the BILSTM network to obtain the quaternion parameters of the high-rotating body posture change, including:
联立高旋体坐标系上的当前时刻和上一时刻的地磁矢量转换关系,和所述高旋体坐标系上的当前时刻和上一时刻的加速度矢量转换关系,根据高旋体坐标系上的转移矩阵求解得到高旋体姿态变化四元参数。The geomagnetic vector conversion relationship between the current moment and the previous moment on the high-rotating body coordinate system and the acceleration vector conversion relationship between the current moment and the previous moment on the high-rotating body coordinate system are combined, and the quaternion parameters of the high-rotating body posture change are obtained according to the transfer matrix on the high-rotating body coordinate system.
在一种可能的实现方式中,所述根据所述高旋体的旋转矢量和所述高旋体姿态变化四元参数的转换关系得到所述高旋体的角速率,包括:In a possible implementation, obtaining the angular velocity of the high-rotating body according to the conversion relationship between the rotation vector of the high-rotating body and the quaternion parameter of the posture change of the high-rotating body includes:
根据所述高旋体的旋转矢量和所述高旋体姿态变化四元参数的转换关系得到高旋体的角增量;Obtaining an angular increment of the high-speed rotating body according to a conversion relationship between a rotation vector of the high-speed rotating body and a quaternion parameter of a posture change of the high-speed rotating body;
根据角增量单子样提取方法对所述高旋体的角增量进行提取,得到高旋体的角速率。The angular increment of the high-speed rotating body is extracted according to the angular increment single-sample extraction method to obtain the angular velocity of the high-speed rotating body.
本发明的基于深度学习的虚拟陀螺仪构建方法,利用高旋体的磁阻传感器获取高旋体坐标系上的地磁矢量;利用高旋体的加速度计获取所述高旋体坐标系上的加速度矢量;将所述高旋体坐标系上的当前时刻和上一时刻的地磁矢量,以及加速度矢量输入到BILSTM网络中,得到所述高旋体姿态变化四元参数;根据所述高旋体的旋转矢量和所述高旋体姿态变化四元参数的转换关系得到所述高旋体的角速率。能够实现陀螺仪失效后高旋体角速率的稳定感知。The virtual gyroscope construction method based on deep learning of the present invention uses a magnetoresistive sensor of a high-speed rotating body to obtain a geomagnetic vector on a high-speed rotating body coordinate system; uses an accelerometer of a high-speed rotating body to obtain an acceleration vector on the high-speed rotating body coordinate system; inputs the geomagnetic vector of the current moment and the previous moment on the high-speed rotating body coordinate system, and the acceleration vector into a BILSTM network to obtain the quaternary parameters of the high-speed rotating body posture change; obtains the angular velocity of the high-speed rotating body according to the conversion relationship between the rotation vector of the high-speed rotating body and the quaternary parameters of the high-speed rotating body posture change. The stable perception of the angular velocity of the high-speed rotating body after the gyroscope fails can be achieved.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
附图用来提供对本申请的技术方案或现有技术的进一步理解,并且构成说明书的一部分。其中,表达本申请实施例的附图与本申请的实施例一起用于解释本申请的技术方案,但并不构成对本申请技术方案的限制。The accompanying drawings are used to provide a further understanding of the technical solution of the present application or the prior art, and constitute a part of the specification. Among them, the accompanying drawings expressing the embodiments of the present application are used together with the embodiments of the present application to explain the technical solution of the present application, but do not constitute a limitation on the technical solution of the present application.
图1示出了根据本公开一实施例的基于深度学习的虚拟陀螺仪构建方法流程图;FIG1 shows a flow chart of a method for constructing a virtual gyroscope based on deep learning according to an embodiment of the present disclosure;
图2示出了根据本公开另一实施例的基于深度学习的虚拟陀螺仪构建原理框图;FIG2 shows a block diagram of a virtual gyroscope based on deep learning according to another embodiment of the present disclosure;
图3示出了根据本公开另一实施例的基于深度学习的虚拟陀螺仪的仿真示意图。FIG3 shows a schematic diagram of a simulation of a virtual gyroscope based on deep learning according to another embodiment of the present disclosure.
具体实施方式DETAILED DESCRIPTION
以下将结合附图及实施例来详细说明本发明的实施方式,借此对本发明如何应用技术手段来解决技术问题,并达到相应技术效果的实现过程能充分理解并据以实施。本申请实施例以及实施例中的各个特征,在不相冲突前提下可以相互结合,所形成的技术方案均在本发明的保护范围之内。The following will describe the implementation methods of the present invention in detail with reference to the accompanying drawings and embodiments, so that the implementation process of how the present invention applies technical means to solve technical problems and achieve corresponding technical effects can be fully understood and implemented accordingly. The embodiments of the present application and the various features in the embodiments can be combined with each other without conflict, and the technical solutions formed are all within the protection scope of the present invention.
另外,附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。In addition, the steps shown in the flowchart of the accompanying drawings can be executed in a computer such as a set of computer executable instructions. Also, although a logical sequence is shown in the flowchart, in some cases, the steps shown or described can be performed in a sequence different from that here.
图1示出了根据本公开另一实施例的基于深度学习的虚拟陀螺仪构建原理框图。FIG1 shows a block diagram of a principle of constructing a virtual gyroscope based on deep learning according to another embodiment of the present disclosure.
如图1所示,在高旋体发射之前需要根据发射点的弹药型号、气象条件以及地理位置计算高旋体轨迹诸元,根据高旋体轨迹诸元设计轨迹发生器,采用轨迹发生器的数据作为深度学习模型求解的训练集,进而学习训练得到高旋体轨迹诸元的学习网络模型。As shown in Figure 1, before the high-spinning object is launched, it is necessary to calculate the trajectory elements of the high-spinning object based on the ammunition model, meteorological conditions and geographical location of the launch point, design a trajectory generator based on the trajectory elements of the high-spinning object, and use the data of the trajectory generator as a training set for solving the deep learning model, and then learn and train to obtain the learning network model of the trajectory elements of the high-spinning object.
轨迹发生器的运算过程为捷联惯性导航计算的逆过程,根据姿态微分方程即可获得陀螺仪数据;根据当地地磁场的三轴地磁分量并结合姿态信息即可获得磁阻传感器数据;根据速度和姿态并结合比力方程即可获得加速度计数据。即在高旋体发射之后,使用捷联于高旋体上的加速度计和磁阻传感器的输出值作为深度学习模型的输入,从而获取姿态变化四元数,进一步提取高旋体角速率The operation process of the trajectory generator is the inverse process of the strapdown inertial navigation calculation. The gyroscope data can be obtained according to the attitude differential equation; the magnetoresistive sensor data can be obtained according to the three-axis geomagnetic component of the local geomagnetic field combined with the attitude information; the accelerometer data can be obtained according to the speed and attitude combined with the specific force equation. That is, after the high-speed rotating body is launched, the output values of the accelerometer and magnetoresistive sensor strapped on the high-speed rotating body are used as the input of the deep learning model to obtain the attitude change quaternion and further extract the angular velocity of the high-speed rotating body.
图2示出了根据本公开一实施例的基于深度学习的虚拟陀螺仪构建方法流程图。如图2所示,该方法可以包括:FIG2 shows a flow chart of a method for constructing a virtual gyroscope based on deep learning according to an embodiment of the present disclosure. As shown in FIG2 , the method may include:
步骤S1:利用高旋体的磁阻传感器获取高旋体坐标系上的地磁矢量。在得到高旋体坐标系上的地磁矢量后,根据高旋体坐标系和地理坐标系的姿态转换矩阵,得到高旋体的地磁矢量在高旋体坐标系上的三轴分量与地理坐标系上的三轴分量之间的转换关系;根据地磁矢量在高旋体坐标系上的三轴分量与地理坐标系上的三轴分量之间的转换关系和链式法则,得到高旋体坐标系上的当前时刻的地磁矢量和上一时刻的地磁矢量的关系。Step S1: using the magnetoresistive sensor of the high-speed rotating body to obtain the geomagnetic vector in the coordinate system of the high-speed rotating body. After obtaining the geomagnetic vector in the coordinate system of the high-speed rotating body, according to the attitude conversion matrix between the coordinate system of the high-speed rotating body and the geographic coordinate system, the conversion relationship between the three-axis components of the geomagnetic vector of the high-speed rotating body in the coordinate system of the high-speed rotating body and the three-axis components in the geographic coordinate system is obtained; according to the conversion relationship between the three-axis components of the geomagnetic vector in the coordinate system of the high-speed rotating body and the three-axis components in the geographic coordinate system and the chain rule, the relationship between the geomagnetic vector at the current moment and the geomagnetic vector at the previous moment in the coordinate system of the high-speed rotating body is obtained.
举例来说,如图1所示,在高旋体飞行中,捷联于高旋体上的磁阻传感器可实时测量地磁矢量在高旋体坐标系上的三轴分量地磁矢量在地理坐标系的三轴分量为由于高旋体的射程范围相对于地球半径而言非常小,因而假设在地理坐标系中,地磁矢量大小与方向始终保持不变,可由发射地经纬度和时间根据国际地磁参考场(IGRF12)模型求得。For example, as shown in FIG1 , during the flight of a high-speed spinning body, the magnetoresistive sensor strapped on the high-speed spinning body can measure the three-axis components of the geomagnetic vector in the high-speed spinning body coordinate system in real time. The three-axis components of the geomagnetic vector in the geographic coordinate system are Since the range of the high-speed rotating body is very small relative to the radius of the earth, it is assumed that the magnitude and direction of the geomagnetic vector remain unchanged in the geographic coordinate system, which can be obtained from the longitude and latitude of the launch site and the time according to the International Geomagnetic Reference Field (IGRF12) model.
根据图1可得坐标系转换关系:According to Figure 1, the coordinate system transformation relationship can be obtained:
式中,为高旋体坐标系和地理坐标系的姿态转换矩阵,[θγψ]分别为俯仰角、滚转角和偏航角。In the formula, is the attitude conversion matrix between the high-speed body coordinate system and the geographic coordinate system, and [θγψ] are the pitch angle, roll angle and yaw angle respectively.
对于k时刻和k-1时刻,式(1)都成立,即:For both time k and time k-1, equation (1) holds true, that is:
式中,Hn(k)=Hn(k-1)。In the formula, Hn(k) = Hn(k-1) .
由于高旋体飞行时间短,落点距离近,可认为导航坐标系n不发生变化,则:Since the high-speed rotating body has a short flight time and a short landing distance, it can be considered that the navigation coordinate system n does not change, then:
式中,I3×3为3×3的单位矩阵。Where I 3×3 is a 3×3 identity matrix.
根据链式法则对式(2)进一步展开可得:Further expansion of formula (2) according to the chain rule yields:
步骤S2:利用高旋体的加速度计获取所述高旋体坐标系上的加速度矢量。在得到高旋体坐标系上的加速度矢量之后,根据加速度计的速度微分方程得到高旋体的加速度在高旋体坐标系上的分量和地理坐标系上的分量之间的转换关系;根据加速度在高旋体坐标系上的分量和地理坐标系上的分量之间的转换关系和链式法则,得到高旋体坐标系上的当前时刻的加速度矢量和上一时刻的加速度矢量的关系。Step S2: using the accelerometer of the high-rotating body to obtain the acceleration vector on the high-rotating body coordinate system. After obtaining the acceleration vector on the high-rotating body coordinate system, the conversion relationship between the components of the acceleration of the high-rotating body on the high-rotating body coordinate system and the components on the geographic coordinate system is obtained according to the velocity differential equation of the accelerometer; according to the conversion relationship between the components of the acceleration on the high-rotating body coordinate system and the components on the geographic coordinate system and the chain rule, the relationship between the acceleration vector at the current moment and the acceleration vector at the previous moment on the high-rotating body coordinate system is obtained.
例如,根据SINS的速度微分方程:For example, according to the velocity differential equation of SINS:
式中,Re为地球平均半径,ωie为地球自转角速率;[L λ h]T为高旋体位置,分别代表纬度、经纬和高度;为高旋体速度,分别代表东、北和天向速度;fb为加速度计测量的三轴比力,gn为当地重力加速度。In the formula, Re is the average radius of the earth, ωie is the angular rate of the earth's rotation; [L λ h] T is the position of the high rotation body, representing latitude, longitude and altitude respectively; are the high rotation speeds, representing the east, north and celestial speeds respectively; fb is the three-axis specific force measured by the accelerometer, and gn is the local gravitational acceleration.
对式(5)变形可得:By transforming formula (5), we can get:
式中, In the formula,
对于k时刻和k-1时刻,式(6)都成立,即:For both time k and time k-1, equation (6) holds true, that is:
根据链式法则对式(7)进一步展开可得:Further expansion of formula (7) according to the chain rule yields:
联立式(6)和式(8),可得:Combining equation (6) and equation (8), we can get:
其中,in,
10-5数量级。 10 -5 order of magnitude.
在[tk-1,tk]之间,高旋体速度不会剧烈变化,因此在[tk-1,tk]时间内高旋体相对于地球的角速度可近似相等,即10-4数量级。Between [t k-1 , t k ], the speed of the high-speed rotating body will not change dramatically, so the angular velocity of the high-speed rotating body relative to the earth can be approximately equal within the time [t k-1 , t k ], that is, 10 -4 order of magnitude.
在[tk-1,tk]之间,用常数拟合高旋体速度,即v=a,则即其中,Δvων=0。Between [t k-1 , t k ], use a constant to fit the high-speed rotating body, that is, v = a, then Right now Among them, Δv ων =0.
在[tk-1,tk]之间,若用一次函数拟合高旋体速度,即v=at+b,则则其中,加速度计采样时间为Ts=0.001s, Between [t k-1 , t k ], if a linear function is used to fit the high-speed rotating body, that is, v = at + b, then but Among them, the accelerometer sampling time is T s = 0.001s,
在[tk-1,tk]之间,用二次函数拟合高旋体速度,即v=at2+bt+c,则则 Between [t k-1 , t k ], a quadratic function is used to fit the high-speed rotating body, that is, v = at 2 + bt + c, then but
综上,在[tk-1,tk]之间Δf≈0,则式(8)可写为:In summary, between [t k-1 ,t k ], Δf≈0, and equation (8) can be written as:
如图3所示的基于深度学习的虚拟陀螺仪的仿真示意图,其中Δf和fb有3个数量级的差别,由图3可知,能够说明式(11)近似具有科学性。As shown in FIG3 , a simulation diagram of a virtual gyroscope based on deep learning is shown, where Δf and f b differ by three orders of magnitude. As can be seen from FIG3 , it can be shown that the approximation of formula (11) is scientific.
步骤S3:将高旋体坐标系上的当前时刻和上一时刻的地磁矢量,以及加速度矢量输入到BILSTM网络中,得到所述高旋体姿态变化四元参数。Step S3: inputting the geomagnetic vector at the current moment and the previous moment and the acceleration vector on the high-speed rotating body coordinate system into the BILSTM network to obtain the quaternion parameters of the high-speed rotating body posture change.
在一示例中,联立高旋体坐标系上的当前时刻和上一时刻的地磁矢量转换关系,和所述高旋体坐标系上的当前时刻和上一时刻的加速度矢量转换关系,根据高旋体坐标系上的转移矩阵求解得到高旋体姿态变化四元参数。In one example, the conversion relationship between the geomagnetic vector at the current moment and the previous moment on the high-rotating body coordinate system and the conversion relationship between the acceleration vector at the current moment and the previous moment on the high-rotating body coordinate system are combined, and the quaternion parameters of the high-rotating body posture change are obtained by solving the transfer matrix on the high-rotating body coordinate system.
例如,联立式(4)和式(11),可得:For example, combining equation (4) and equation (11), we can get:
式中, In the formula,
[q0 q1 q2 q3]=q为姿态变化四元数。 [q 0 q 1 q 2 q 3 ] = q is the attitude change quaternion.
根据式(12)可知,当陀螺仪失效后,可以根据磁阻传感器和加速度计上一时刻输出矢量与当前时刻的输出矢量计算出姿态变化四元数,从而继续实现姿态更新。According to formula (12), when the gyroscope fails, the attitude change quaternion can be calculated based on the output vector of the magnetoresistive sensor and accelerometer at the previous moment and the output vector at the current moment, so as to continue to realize attitude update.
对式(12)变形可得:By transforming formula (12), we can get:
q=f(Hb(k),Hb(k-1),fb(k),fb(k-1)) 式(13),q=f(H b(k) ,H b(k-1) ,f b(k) ,f b(k-1) ) Formula (13),
式中,f(*)表示非线性映射关系,可通过深度学习方式获取其具体的映射关系f(*)。In the formula, f(*) represents a nonlinear mapping relationship, and its specific mapping relationship f(*) can be obtained through deep learning.
步骤S4:根据高旋体的旋转矢量和所述高旋体姿态变化四元参数的转换关系得到所述高旋体的角速率。Step S4: obtaining the angular velocity of the high-speed rotating body according to the conversion relationship between the rotation vector of the high-speed rotating body and the quaternary parameters of the posture change of the high-speed rotating body.
在一实例中,可以根据高旋体的旋转矢量和所述高旋体姿态变化四元参数的转换关系得到高旋体的角增量;根据角增量单子样提取方法对所述高旋体的角增量进行提取,得到高旋体的角速率。In one example, the angular increment of the high-rotating body can be obtained according to the conversion relationship between the rotation vector of the high-rotating body and the quaternary parameters of the posture change of the high-rotating body; the angular increment of the high-rotating body is extracted according to the angular increment single sample extraction method to obtain the angular velocity of the high-rotating body.
例如,在获取姿态变化四元数之后,根据旋转矢量与姿态变化四元数的关系可得角增量:For example, after obtaining the attitude change quaternion, the angle increment can be obtained according to the relationship between the rotation vector and the attitude change quaternion:
根据角增量单子样提取方法,可得角速率:According to the single sample extraction method of angle increment, the angular rate can be obtained:
根据式(15)即可获取由加速度计和磁阻传感器联合得到的高旋体角速率,相对于引入了虚拟陀螺仪传感器(即数据预测器),一方面为组合姿态测量提供新的数据观测量,另一方面保证陀螺仪失效时导航系统连续工作,确保复杂环境下姿态融合的连续性、可用性和自适应性。According to formula (15), the high rotation angular rate obtained by the combination of the accelerometer and the magnetoresistive sensor can be obtained. Compared with the introduction of the virtual gyroscope sensor (i.e., the data predictor), on the one hand, it provides new data observations for the combined attitude measurement, and on the other hand, it ensures the continuous operation of the navigation system when the gyroscope fails, ensuring the continuity, availability and adaptability of attitude fusion in complex environments.
采用旋转矢量方法即可将陀螺仪数据转换为姿态变化四元数,具体过程为式(14)和式(15)的逆过程。采用BILSTM对式(13)进行模型求解,将其视为回归问题,输入磁阻传感器和加速度计的当前时刻与上一时刻的数据:[Hb(k) Hb(k-1) fb(k) fb(k-1)]12×1;输出为姿态变化四元数:q4×1。因BILSTM是由前向LSTM与后向LSTM组合而成,能够双向充分利用数据,有效提高网络精度。The rotation vector method can be used to convert the gyroscope data into the attitude change quaternion. The specific process is the inverse process of equations (14) and (15). BILSTM is used to solve the model of equation (13), which is regarded as a regression problem. The current and previous data of the magnetoresistive sensor and accelerometer are input: [H b(k) H b(k-1) f b(k) f b(k-1) ] 12×1 ; the output is the attitude change quaternion: q 4×1 . Because BILSTM is composed of forward LSTM and backward LSTM, it can make full use of data in both directions and effectively improve the network accuracy.
虽然本发明所揭露的实施方式如上,但所述的内容只是为了便于理解本发明而采用的实施方式,并非用以限定本发明。任何本发明所属技术领域内的技术人员,在不脱离本发明所揭露的精神和范围的前提下,可以在实施的形式上及细节上作任何的修改与变化,但本发明的专利保护范围,仍须以所附的权利要求书所界定的范围为准。Although the embodiments disclosed in the present invention are as above, the above contents are only embodiments adopted for facilitating the understanding of the present invention and are not intended to limit the present invention. Any technician in the technical field to which the present invention belongs can make any modifications and changes in the form and details of the implementation without departing from the spirit and scope disclosed in the present invention, but the patent protection scope of the present invention shall still be subject to the scope defined in the attached claims.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210003865.8A CN114398827B (en) | 2022-01-05 | 2022-01-05 | A method for constructing a virtual gyroscope based on deep learning |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210003865.8A CN114398827B (en) | 2022-01-05 | 2022-01-05 | A method for constructing a virtual gyroscope based on deep learning |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114398827A CN114398827A (en) | 2022-04-26 |
CN114398827B true CN114398827B (en) | 2024-11-08 |
Family
ID=81229386
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210003865.8A Active CN114398827B (en) | 2022-01-05 | 2022-01-05 | A method for constructing a virtual gyroscope based on deep learning |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114398827B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117091457B (en) * | 2023-08-03 | 2024-02-13 | 南京理工大学 | Guided projectile navigation method and system based on deep learning |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104764451A (en) * | 2015-04-23 | 2015-07-08 | 北京理工大学 | Target posture tracking method based on inertia and geomagnetic sensor |
CN107063254A (en) * | 2016-12-27 | 2017-08-18 | 南京理工大学 | A kind of attitude algorithm method of gyro earth magnetism combination |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108871319B (en) * | 2018-04-26 | 2022-05-17 | 李志� | Attitude calculation method based on earth gravity field and earth magnetic field sequential correction |
KR20200091709A (en) * | 2019-01-23 | 2020-07-31 | 삼성전자주식회사 | Electronic apparatus and control method thereof |
CN110118560B (en) * | 2019-05-28 | 2023-03-10 | 东北大学 | Indoor positioning method based on LSTM and multi-sensor fusion |
-
2022
- 2022-01-05 CN CN202210003865.8A patent/CN114398827B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104764451A (en) * | 2015-04-23 | 2015-07-08 | 北京理工大学 | Target posture tracking method based on inertia and geomagnetic sensor |
CN107063254A (en) * | 2016-12-27 | 2017-08-18 | 南京理工大学 | A kind of attitude algorithm method of gyro earth magnetism combination |
Also Published As
Publication number | Publication date |
---|---|
CN114398827A (en) | 2022-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110207697B (en) | Inertial navigation resolving method based on angular accelerometer/gyroscope/accelerometer | |
Phuong et al. | A DCM based orientation estimation algorithm with an inertial measurement unit and a magnetic compass | |
CN109991636A (en) | Map constructing method and system based on GPS, IMU and binocular vision | |
CN110018691B (en) | Flight state estimation system and method for small multi-rotor UAV | |
CN106767797B (en) | inertial/GPS combined navigation method based on dual quaternion | |
CN106979780A (en) | A kind of unmanned vehicle real-time attitude measuring method | |
CN110954102B (en) | Magnetometer-assisted inertial navigation system and method for robot positioning | |
CN109764870B (en) | Carrier initial course estimation method based on transformation estimation modeling scheme | |
CN102087110B (en) | Miniature underwater moving vehicle autonomous attitude detecting device and method | |
CN108981694A (en) | Attitude algorithm method and system based on wavelet neural network and EKF | |
CN102937450A (en) | Relative attitude determining method based on gyroscope metrical information | |
Liu et al. | Integrated navigation on vehicle based on low-cost SINS/GNSS using deep learning | |
Xu et al. | A robust incremental-quaternion-based angle and axis estimation algorithm of a single-axis rotation using MARG sensors | |
Wang et al. | Virtual gyros construction and evaluation method based on BILSTM | |
CN114398827B (en) | A method for constructing a virtual gyroscope based on deep learning | |
Guo et al. | Analysis and design of an attitude calculation algorithm based on elman neural network for SINS | |
CN112649001B (en) | Gesture and position resolving method for small unmanned aerial vehicle | |
CN111912427A (en) | Method and system for aligning motion base of strapdown inertial navigation assisted by Doppler radar | |
Ziying et al. | Design and implementation of a MEMS-based attitude angle measuring system for moving objects | |
Zhang et al. | Research on UAV attitude data fusion algorithm based on quaternion gradient descent | |
Xu et al. | Research on Rotating Modulated Strap-Down Inertial Navigation System Based on Micro-Electro-Mechanical Systems (MEMS) Sensors (RMSINS) | |
Yang et al. | Attitude estimation algorithm of flapping-wing micro air vehicle based on extended Kalman filter | |
Keke et al. | Research on integrated attitude determination methods based on MEMS device for quadrotor UAVs | |
Lu et al. | Segmented angular rate joint estimation of inertial sensor arrays for UAV navigation | |
CN111649738A (en) | Method for calculating initial attitude of accelerometer under microgravity field |
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 |