A method for constructing a virtual gyroscope based on deep learning
Through the virtual gyroscope method based on deep learning, using the data of magnetoresistive sensors and accelerometers, the angular rate of the high cyclone is calculated through the BILSTM network, solving the angular rate measurement problem when the gyroscope fails, and realizing the magnitude of the complex environment Stable and accurate navigation.
Patent Information
- Application Number
- CN202210003865.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-05
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2042-01-05
AI Technical Summary
In complex, highly dynamic and strong interference environments, high-rotor gyroscopes are prone to fail, resulting in inaccurate angular rate measurements, and it is difficult for the prior art to obtain full-angle rate information when the gyroscope fails.
Using a virtual gyroscope method based on deep learning, the geomagnetic vector and acceleration vector are obtained using a high-rotor magnetoresistive sensor and accelerometer, and the attitude change quaternary parameters are calculated through the BILSTM network, and the angular rate is calculated to achieve stability after gyroscope failure. Perception.
It realizes stable perception of high cyclone angular rate when the gyroscope fails, ensures the continuity, availability and adaptability of the navigation system, and improves the accuracy of angular rate measurement.
Smart Images

Figure CN114398827B_ABST
Abstract
Description
Technical Field
[0001] 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
[0002] 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.
[0003] 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.
[0004] 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
[0005] 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.
[0006] 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:
[0007] Using the magnetoresistance sensor of the high-speed rotating body, the geomagnetic vector on the high-speed rotating body coordinate system is obtained;
[0008] Using an accelerometer of a high-speed rotating body, obtaining an acceleration vector on a coordinate system of the high-speed rotating body;
[0009] 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;
[0010] 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.
[0011] 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:
[0012] 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;
[0013] 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.
[0014] 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:
[0015] 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;
[0016] 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.
[0017] 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:
[0018] 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.
[0019] 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:
[0020] 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;
[0021] 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.
[0022] 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
[0023] 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.
[0024] Figure 1 A flow chart of a method for constructing a virtual gyroscope based on deep learning according to an embodiment of the present disclosure is shown;
[0025] Figure 2 A block diagram showing a principle of constructing a virtual gyroscope based on deep learning according to another embodiment of the present disclosure is shown;
[0026] Figure 3 A simulation schematic diagram of a virtual gyroscope based on deep learning according to another embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0027] 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.
[0028] 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.
[0029] Figure 1 A block diagram of the principle of constructing a virtual gyroscope based on deep learning according to another embodiment of the present disclosure is shown.
[0030] like Figure 1As shown, before the high-spinning body is launched, it is necessary to calculate the trajectory elements of the high-spinning body according to 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 body, 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 body.
[0031] 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.
[0032] Figure 2 FIG. 1 shows a flow chart of a method for constructing a virtual gyroscope based on deep learning according to an embodiment of the present disclosure. Figure 2 As shown, the method may include:
[0033] 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.
[0034] For example, if Figure 1 As shown in the figure, 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.
[0035] according to Figure 1 The coordinate system transformation relationship can be obtained:
[0036]
[0037] 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.
[0038] For both time k and time k-1, equation (1) holds true, that is:
[0039]
[0040] In the formula, H n(k) =H n(k-1) .
[0041] 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:
[0042]
[0043] In the formula, I 3×3 is a 3×3 identity matrix.
[0044] Further expansion of formula (2) according to the chain rule yields:
[0045]
[0046] 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.
[0047] For example, according to the velocity differential equation of SINS:
[0048]
[0049] In the formula, R e is the average radius of the Earth, ω ie is the Earth's rotation angular velocity; [L λ h] T is the position of the high rotation body, representing latitude, longitude, and altitude respectively; is the high rotation velocity, representing the east, north and celestial velocities respectively; f b is the triaxial specific force measured by the accelerometer, g n is the local gravitational acceleration.
[0050] By transforming formula (5), we can get:
[0051]
[0052] In the formula,
[0053] For both time k and time k-1, equation (6) holds true, that is:
[0054]
[0055] Further expansion of formula (7) according to the chain rule yields:
[0056]
[0057] Combining equation (6) and equation (8), we can get:
[0058]
[0059] in,
[0060]
[0061] 10 -5 Order of magnitude.
[0062] In [t k-1 ,t k ], the high-speed rotating body speed will not change dramatically, so in [t k-1 ,t k ] time, the angular velocity of the high-speed rotating body relative to the earth can be approximately equal, that is, 10 -4 Order of magnitude.
[0063] In [t k-1 ,t k ], use a constant to fit the high-speed rotating body, that is, v = a, then Right now Where Δv ων =0.
[0064] In [t k-1 ,t k ], if a linear function is used to fit the high rotating body speed, that is, v = at + b, then but Among them, the accelerometer sampling time is T s = 0.001s,
[0065] In [t k-1 ,t k ], use the quadratic function to fit the high rotating body speed, that is, v = at 2 + bt + c, then but
[0066] In summary, in [t k-1 ,t k ] between Δf≈0, then equation (8) can be written as:
[0067]
[0068] like Figure 3 The simulation diagram of the virtual gyroscope based on deep learning is shown in Figure 2, where Δf and f b There are 3 orders of magnitude difference, due to Figure 3 It can be seen that the approximation of formula (11) is scientific.
[0069] 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.
[0070] 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.
[0071] For example, combining equation (4) and equation (11), we can get:
[0072]
[0073] In the formula,
[0074] [q0 q1 q2 q3] = q is the attitude change quaternion.
[0075] 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.
[0076] By transforming formula (12), we can get:
[0077] q=f(H b(k) ,H b(k-1) ,f b(k) ,f b(k-1) ) Formula (13),
[0078] In the formula, f(*) represents a nonlinear mapping relationship, and its specific mapping relationship f(*) can be obtained through deep learning.
[0079] 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.
[0080] 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.
[0081] 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:
[0082]
[0083] According to the single sample extraction method of angle increment, the angular rate can be obtained:
[0084]
[0085] 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.
[0086] 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 ; Output is the attitude change quaternion: q 4×1 Because BILSTM is composed of forward LSTM and backward LSTM, it can fully utilize data in both directions and effectively improve network accuracy.
[0087] 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. A method for constructing a virtual gyroscope based on deep learning, characterized in that: The method comprises: 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; 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; 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 parameter of the posture change of the high-speed rotating body; After the magnetoresistive sensor of the high-speed rotating body is used to obtain the geomagnetic vector on the coordinate system 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; After the accelerometer of the high-speed rotating body is used to obtain the acceleration vector on the high-speed rotating body coordinate system, 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; The geomagnetic vector at the current moment and the previous moment on the coordinate system of the high-speed rotating body, and the acceleration vector are input into the BILSTM network to obtain the quaternary parameters of the posture change of the high-speed rotating body, including: Combine 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, and solve the high-rotating body attitude change quaternion parameters according to the transfer matrix on the high-rotating body coordinate system; The step of 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 quaternion parameter of the posture change of the high-speed rotating body comprises: 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.
