Error calibration method and device of inertial measurement unit, equipment and medium

By combining the error prediction model of Transformer network and long and short-term memory network, using Kalman filter to decode the error sequence and correct the IMU output sequence, the problem of difficulty in adjusting parameters in the traditional IMU calibration method is solved, and the calibration and measurement accuracy of the IMU is improved.

CN120063331AActive Publication Date: 2025-05-30ZHONGBEI UNIV

Patent Information

Application Number
CN202510533952.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-27
Publication Date
2025-05-30
Estimated Expiration
2045-04-27

AI Technical Summary

Technical Problem

The traditional multi-position IMU system-level calibration method is difficult to adjust different parameters, resulting in improper setting of model parameters and poor filtering effect, which reduces the calibration accuracy of the IMU and the accuracy of the navigation system.

Method used

The error prediction model combining Transformer network and long and short-term memory network is used to encode the output sequence of the IMU, decode the error sequence through the Kalman filter, and correct the output sequence of the IMU using the error sequence to improve the calibration accuracy.

Benefits of technology

The error calibration accuracy of IMU is improved, the measurement accuracy of IMU is improved, and the error of IMU is more accurately estimated and compensated through the nonlinear mapping capability of the neural network and the filtering effect of the Kalman filter.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120063331A_ABST
    Figure CN120063331A_ABST
Patent Text Reader

Abstract

The invention discloses an error calibration method and device of an inertial measurement unit, equipment and a medium, and relates to the technical field of inertial navigation, and the method comprises the following steps: obtaining an output sequence of the inertial measurement unit; determining an error sequence of the inertial measurement unit by adopting an error prediction model according to the output sequence; wherein the error prediction model comprises an encoder and a decoder; the encoder is used for encoding the output sequence by adopting a Transform network and a long short-term memory network to obtain an implicit state sequence; the decoder is used for decoding the implicit state sequence by adopting a Kalman filter to obtain an error sequence of the inertial measurement unit; and correcting the output sequence of the inertial measurement unit according to the error sequence of the inertial measurement unit so as to carry out error calibration on the inertial measurement unit. The calibration precision of the inertial measurement unit is improved, and the measurement precision of the inertial measurement unit is further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of inertial navigation, and particularly to an error calibration method, device, equipment and medium for an inertial measurement unit. Background Art

[0002] With the booming development of navigation technology and the advantages of high precision, low cost and small size of the inertial measurement unit (IMU), it is widely used in the military and civilian fields. However, due to the diverse sources of errors in the IMU, including manufacturing defects of the sensors themselves, interference from environmental factors, and improper operations during installation and use. Over time, the errors of inertial devices will gradually accumulate, significantly affecting the performance of the inertial navigation system. Therefore, calibrating the systematic errors of the IMU is an essential step in using the IMU.

[0003] According to different measurement factors and calibration levels, the related inertial measurement unit calibration methods can be divided into two categories: discrete calibration and system-level calibration. The discrete calibration uses a high-precision turntable to excite error parameters, but the calibration accuracy is restricted by the turntable and affected by the calibration time. To improve the accuracy, a more efficient system-level calibration method has emerged. However, the traditional multi-position IMU system-level calibration method is difficult to adjust different parameters, and there will be problems such as improper model parameter settings resulting in poor filtering effects, reducing the calibration accuracy of the IMU, thus directly affecting the accuracy of the navigation system. Summary of the Invention

[0004] The purpose of the present application is to provide an error calibration method, device, equipment and medium for an inertial measurement unit, which can improve the calibration accuracy of the inertial measurement unit error.

[0005] To achieve the above object, the present application provides the following solutions: In a first aspect, the present application provides an error calibration method for an inertial measurement unit, including: Obtaining an output sequence of the inertial measurement unit; According to the output sequence, using an error prediction model to determine an error sequence of the inertial measurement unit; Wherein, the error prediction model includes an encoder and a decoder; the encoder is used to encode the output sequence by using a Transformer network and a long short-term memory network to obtain a hidden state sequence; the decoder is used to decode the hidden state sequence by using a Kalman filter to obtain an error sequence of the inertial measurement unit; According to the error sequence of the inertial measurement unit, correcting the output sequence of the inertial measurement unit to calibrate the error of the inertial measurement unit.

[0006] In a second aspect, the present application provides an error calibration device for an inertial measurement unit, comprising: an output sequence acquisition module, configured to acquire an output sequence of the inertial measurement unit; an error sequence prediction module, configured to determine an error sequence of the inertial measurement unit according to the output sequence by using an error prediction model; wherein, the error prediction model includes an encoder and a decoder; the encoder is configured to encode the output sequence by using a Transformer network and a long short-term memory network to obtain a hidden state sequence; the decoder is configured to decode the hidden state sequence by using a Kalman filter to obtain an error sequence of the inertial measurement unit; an error calibration module, configured to correct the output sequence of the inertial measurement unit according to the error sequence of the inertial measurement unit, so as to calibrate the error of the inertial measurement unit.

[0007] In a third aspect, the present application provides a computer device, comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to implement the above-mentioned error calibration method for an inertial measurement unit.

[0008] In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned error calibration method for an inertial measurement unit is implemented.

[0009] According to the specific embodiments provided by the present application, the present application has the following technical effects: The present application provides an error calibration method, device, equipment and medium for an inertial measurement unit. By combining a Transformer network and a long short-term memory network to encode the output sequence of the inertial measurement unit, the characteristics of the extremely strong non-linear mapping ability and generalization ability of the neural network are utilized, so that the error characteristics of the inertial measurement unit can be better learned, thereby improving the estimation accuracy of the deterministic error of the inertial measurement unit. Further, a Kalman filter is used to decode the hidden state sequence to obtain an error sequence, and the error sequence is used to correct the output sequence of the inertial measurement unit, improving the calibration accuracy of the inertial measurement unit, and further improving the measurement accuracy of the inertial measurement unit. Description of the Drawings

[0010] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0011] Figure 1 This is an application environment diagram of an error calibration method for an inertial measurement unit in an embodiment of the present application.

[0012] Figure 2 This is a schematic flowchart of an error calibration method for an inertial measurement unit provided in an embodiment of the present application.

[0013] Figure 3 This is a schematic structural diagram of an error prediction model in an embodiment of the present application.

[0014] Figure 4 This is a schematic diagram of functional modules of an error calibration device for an inertial measurement unit provided in an embodiment of the present application.

[0015] Figure 5 This is a schematic structural diagram of a computer device provided in an embodiment of the present application. Detailed implementation manners

[0016] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0017] To make the above objects, features, and advantages of the present application more obvious and understandable, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation manners.

[0018] The error calibration of the inertial measurement unit provided in the embodiments of the present application can be applied to an application environment as Figure 1 shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be set separately, integrated on the server 104, placed in the cloud or on other servers. The terminal 102 can send the output sequence of the inertial measurement unit to the server 104. After receiving the output sequence of the inertial measurement unit, the server 104 uses the error prediction model to determine the error sequence of the inertial measurement unit to calibrate the error of the inertial measurement unit. The server 104 can feedback the obtained error sequence of the inertial measurement unit to the terminal 102. In addition, in some embodiments, the error calibration method of the inertial measurement unit can also be implemented by the server 104 or the terminal 102 alone.

[0019] Among them, the terminal 102 can be, but is not limited to, various desktop computers, laptop computers, smart phones, tablet computers, Internet of Things devices, and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, etc. The portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented by an independent server or a server cluster composed of multiple servers, and can also be a cloud server.

[0020] In an exemplary embodiment, as Figure 2 shown, an error calibration method for an inertial measurement unit is provided. This method is executed by a computer device, and specifically can be executed alone by a computer device such as a terminal or a server, or can be jointly executed by a terminal and a server. In the embodiments of the present application, taking this method applied to Figure 1 the server 104 in as an example for illustration, it includes the following steps 201 to step 203.

[0021] Step 201, obtain the output sequence of the inertial measurement unit. The output sequence includes the measurement values at each moment within a set time period. The measurement values include angular velocity measurement values and acceleration measurement values. Among them, the angular velocity measurement value is the output data of the gyroscope, and the acceleration measurement value is the output data of the accelerometer.

[0022] In a specific application example, the IMU is installed on a three-axis turntable with a tooling, and the output data of the IMU within a period of time at a set rotational speed is obtained.

[0023] Step 202, according to the output sequence, use an error prediction model to determine the error sequence of the inertial measurement unit.

[0024] Among them, the error prediction model includes an encoder and a decoder. The encoder takes the output sequence of the IMU as input, and uses a Transformer + Long Short-Term Memory (LSTM) network to obtain the hidden state of the encoded sequence, that is, the hidden state sequence. The hidden state sequence obtained by the encoder is used as the initial state and input into the decoder to predict the error of the IMU. As Figure 3 shown, the encoder includes multiple Transformer + LSTM, and the decoder includes multiple Kalman filters, which process the data at each moment respectively, K represents the total number of moments within the set time period.

[0025] (1) The encoder is used to encode the output sequence by using a Transformer network and a long short-term memory network to obtain a hidden state sequence. The hidden state sequence includes the hidden states at each moment within a set time period.

[0026] Inputting the output sequence of the IMU into the LSTM can output a new sequence that can more effectively describe the state. However, the LSTM cannot capture long-term dependencies. Therefore, this application adopts a Transformer + LSTM structure. Since attention usually precedes memory, the Transformer network can capture long-term dependencies, enhance the robustness to noisy observations, and the Transformer network draws on the design of the convolutional neural network. Therefore, the Transformer network can capture significant features that the convolutional neural network cannot capture. Combining the LSTM with the Transformer network in this application can enhance the structural advantages and time series modeling ability of the Transformer network. Before filtering, the combination of the Transformer network and the LSTM is used to encode the measurement values of the IMU, making it easier for the Kalman filter to estimate the error sequence.

[0027] In a specific application example, the encoder is pre-trained using a training sample set. Each training sample in the training sample set includes a historical output sequence and a corresponding true hidden state sequence. During training, the ratio of the training set to the test set is set to 9:1.

[0028] Among them, first set the structure of the encoder. The hidden layer includes 3 layers of neural networks, and the number of hidden neurons is 10. During training, the Adam optimizer is used, and the supervised learning method is adopted. Using the mean square error as the evaluation index, the loss function of the encoder is constructed: .

[0029] Among them, is the loss function value, N is the number of training samples, is the n th true hidden state sequence of the training sample, is the n th predicted hidden state sequence of the training sample.

[0030] In an exemplary embodiment, the encoder uses the following formula to determine the hidden state at time k within a set time period.

[0031] .

[0032] .

[0033] .

[0034] Among them, is the hidden state at k time, is the system state covariance matrix at k time, is k the system state covariance matrix at time - 1, is k the measurement noise covariance matrix at time is k the measurement noise covariance matrix at time - 1, is the sigmoid activation function, is the weight matrix for the transfer from the system state covariance matrix to the measurement value, is the weight matrix for the transfer between system state covariance matrices, is the weight matrix for the transfer from the measurement noise covariance matrix to the measurement value, is the weight matrix for the transfer between measurement noise covariance matrices, is k the measurement value at time

[0035] (2) The decoder is used to decode the hidden state sequence by using a Kalman filter to obtain the error sequence of the inertial measurement unit. The error sequence includes the error values at each moment within a set time period. The error values include the zero biases of the three axes of the gyroscope, the scale factor error matrix in the three - axis directions of the gyroscope, the installation error matrix in the three - axis directions of the gyroscope, the zero biases of the three axes of the accelerometer, the scale factor error matrix in the three - axis directions of the accelerometer, and the installation error matrix in the three - axis directions of the accelerometer.

[0036] In an exemplary embodiment, the process of decoding the hidden state sequence by using a Kalman filter specifically includes the following steps 21 to 24.

[0037] Step 21, design the state equation and the measurement equation of the Kalman filter.

[0038] .

[0039] .

[0040] Among them, is k the state variable at time , including position, velocity and attitude, where position and velocity are related to acceleration, and attitude is related to angular velocity, is k the state variable at time - 1, is k the one - step transition matrix from time - 1 to k time , is k the system noise matrix at time - 1, is k the system process noise sequence at time - 1, isk The measured value of the time sensor is k the measurement matrix at time is k the measurement noise sequence at time

[0041] The state equation and the measurement equation use the hidden state sequence output by the encoder to perform the recursion of the Kalman filter. The five recursion formulas of the discrete system Kalman filter are as follows.

[0042] .

[0043] .

[0044] .

[0045] .

[0046] .

[0047] Among them, is the predicted state value, is the state transition matrix, describing the state change of the system from k -1 to k at time is k the estimated value of the state quantity corrected by the measurement equation at time is k the estimated value of the state quantity corrected by the measurement equation at time -1, is the prior estimation error covariance matrix, describing the correlation between state quantities, is k the posterior estimation error covariance matrix at time is k the posterior estimation error covariance matrix at time -1, is k the Kalman gain at time is the identity matrix consistent with the state space dimension, the superscript T represents the transpose operation of the matrix, and the superscript -1 represents the inverse matrix of the matrix.

[0048] Since most inertial navigation systems can meet the application requirements of the Kalman filter, the corresponding navigation parameters can be obtained using the above formulas. Parameters such as the statistical characteristics of the state noise, measurement noise, and initial state of the Kalman filter usually cannot be obtained in advance and can only be set and adjusted based on experience. This application uses the encoder to obtain two parameters, namely the system state variance matrix and the measurement noise covariance matrix of the Kalman filter.

[0049] Step 22, establish the Kalman filter state update equation and measurement equation for the gyroscope.

[0050] 。

[0051] 。

[0052] Among them, is the state variable of the gyroscope, is the system state matrix of the gyroscope, is the system state variable, is the system noise driving matrix, W is the system noise, , is x the white noise of the angular velocity measurement on the axis, y is the white noise of the angular velocity measurement on the axis, z is the white noise of the angular velocity measurement on the axis, x is the random walk noise of the bias on the axis, y is the random walk noise of the bias on the axis, z is the random walk noise of the bias on the is the observation error of the gyroscope, , is the eastward error, is the northward error, is the vertical upward direction error, is the measurement matrix of the gyroscope, is the 3×3 identity matrix, is the 3×12 all-zero matrix, is the system observation white noise.

[0053] Step 23, establish the Kalman filter state update equation and measurement equation for the accelerometer.

[0054] 。

[0055] 。

[0056] Among them, is the state variable of the accelerometer, is the system state matrix of the accelerometer, is the velocity error and attitude error of the accelerometer, is the measurement matrix of the accelerometer, is the 6×6 identity matrix, A zero matrix of all zeros with 6 rows and 12 columns.

[0057] Step 24: Using the hidden state sequence output by the encoder as input, online estimate and generate the error sequence of the IMU: ; where is k the error value at time the zero biases of the three axes of the gyroscope, the zero biases of the three axes of the accelerometer, the scale factor and installation error matrix in the three-axis directions of the gyroscope, the scale factor and installation error matrix in the three-axis directions of the accelerometer.

[0058] Step 203: According to the error sequence of the inertial measurement unit, correct the output sequence of the inertial measurement unit to calibrate the errors of the inertial measurement unit.

[0059] In an exemplary embodiment, the angular velocity measurement value is corrected according to the zero biases of the three axes of the gyroscope, the scale factor error matrix in the three-axis directions of the gyroscope, and the installation error matrix in the three-axis directions of the gyroscope. The acceleration measurement value is corrected according to the zero biases of the three axes of the accelerometer, the scale factor error matrix in the three-axis directions of the accelerometer, and the installation error matrix in the three-axis directions of the accelerometer.

[0060] Among them, the correction value = measurement value - zero bias - scale factor error - installation error. The zero bias means that the output of the gyroscope and accelerometer is not zero when stationary, and the error is a fixed offset. The scale factor error represents the deviation of the ratio relationship between the IMU output and the actual value. The installation error is the directional deviation caused by inaccuracies or mechanical errors during the installation process when the IMU is installed on a carrier or device.

[0061] This application further establishes a random error model for the IMU, including a gyroscope random error model and an accelerometer random error model.

[0062] The gyroscope random error model is as follows.

[0063] .

[0064] Where is the output data of the gyroscope, is x the angular velocity measurement value of the axis, y is the angular velocity measurement value of the axis, z is the angular velocity measurement value of the axis, is the zero biases of the three axes of the gyroscope, is thex Zero bias of the axis is the zero bias of the gyroscope for the y axis is the zero bias of the gyroscope for the z axis is the scale factor error matrix in the three-axis directions of the gyroscope is the scale factor error of the gyroscope for the x axis is the scale factor error of the gyroscope for the y axis is the scale factor error of the gyroscope for the z axis is the installation error matrix in the three-axis directions of the gyroscope is the installation error from the x axis to the y axis of the gyroscope is the installation error from the x axis to the z axis of the gyroscope is the installation error from the y axis to the x axis of the gyroscope is the installation error from the y axis to the z axis of the gyroscope is the installation error from the z axis to the x axis of the gyroscope is the installation error from the z axis to the y axis of the gyroscope is the actual angular velocity is the x actual angular velocity of the axis y is the actual angular velocity of the z axis is the random noise of the gyroscope is the random noise of the gyroscope for the x axis is the random noise of the gyroscope for the y axis is the random noise of the gyroscope for the z axis

[0065] The random error model of the accelerometer is as follows

[0066] .

[0067] Among them, is the output data of the accelerometer is the x acceleration measurement value of the is y the acceleration measurement value of the is z the acceleration measurement value of the the zero bias of the three axes of the accelerometer, is the x zero bias of the is the y zero bias of the is the z zero bias of the is the scale factor error matrix in the three-axis direction of the accelerometer, is the x scale factor error in the is the y scale factor error in the is the z scale factor error in the is the installation error matrix in the three-axis direction of the accelerometer, is the x installation error from the y axis to the is the x installation error from the z axis to the is the y installation error from the x axis to the is the y installation error from the z axis to the is the z installation error from the x axis to the is the z installation error from the y axis to the is the actual acceleration, is x the actual acceleration of the is y the actual acceleration of the is z the actual acceleration of the is the random noise of the accelerometer, is the x random noise of the is the y random noise of the is the z random noise of the

[0068] This application combines a Transformer network and an LSTM network, utilizes the extremely strong non-linear mapping ability and generalization ability of the neural network, can better learn the error characteristics of the IMU, improve the estimation accuracy of the deterministic error of the IMU, has a simple algorithm structure, a relatively fast calculation speed, and uses the error sequence estimation and compensation of various errors in the IMU to improve the calibration accuracy of the IMU, thereby improving the measurement accuracy of the IMU.

[0069] Based on the same inventive concept, an embodiment of this application also provides an error calibration device for implementing the error calibration method involved above. The solution provided by this device to solve the problem is similar to the solution described in the above method. Therefore, the specific limitations in one or more embodiments of the error calibration device provided below can refer to the limitations on the error calibration method in the above text and will not be repeated here.

[0070] In an exemplary embodiment, as Figure 4 shown, an error calibration device for an inertial measurement unit is provided, including: an output sequence acquisition module 401, an error sequence prediction module 402, and an error calibration module 403.

[0071] The output sequence acquisition module 401 is used to acquire the output sequence of the inertial measurement unit.

[0072] The error sequence prediction module 402 is used to determine the error sequence of the inertial measurement unit according to the output sequence by using an error prediction model.

[0073] Wherein, the error prediction model includes an encoder and a decoder. The encoder is used to encode the output sequence by using a Transformer network and a long short-term memory network to obtain a hidden state sequence. The decoder is used to decode the hidden state sequence by using a Kalman filter to obtain the error sequence of the inertial measurement unit.

[0074] The error calibration module 403 is used to correct the output sequence of the inertial measurement unit according to the error sequence of the inertial measurement unit to calibrate the error of the inertial measurement unit.

[0075] In an exemplary embodiment, a computer device is provided. This computer device can be a server or a terminal, and its internal structure diagram can be as Figure 5As shown in the figure. The computer device includes a processor, a memory, an input / output interface (Input / Output, I / O), and a communication interface. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store the output sequence of the inertial measurement unit. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it implements an error calibration method for an inertial measurement unit.

[0076] Those skilled in the art can understand that Figure 5 The structure shown in the figure is only a block diagram of some structures related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.

[0077] In an exemplary embodiment, a computer-readable storage medium is provided, storing a computer program, and when the computer program is executed by a processor, it implements the steps in the above method embodiments.

[0078] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with relevant regulations.

[0079] In the present application, all actions of obtaining signals, information, or data are carried out on the premise of complying with the corresponding data protection regulations and policies of the location and obtaining authorization from the owner of the corresponding device.

[0080] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memories. Non-volatile memories can include read-only memory (ROM), magnetic tapes, floppy disks, flash memories, optical memories, high-density embedded non-volatile memories, resistive random access memories (ReRAM), magnetoresistive random access memories (MRAM), ferroelectric random access memories (FRAM), phase change memories (PCM), graphene memories, etc. Volatile memories can include random access memory (RAM) or external cache memories, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.

[0081] The databases involved in the embodiments provided in the present application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in the present application can be general-purpose processors, central processors, graphics processors, digital signal processors, programmable logics, data processing logics based on quantum computing, etc., without limitation.

[0082] The technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.

[0083] In this article, specific examples are used to elaborate on the principles and implementation manners of the present application. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the present application; at the same time, for those of ordinary skill in the art, according to the ideas of the present application, there will be changes in the specific implementation manners and application scopes. In summary, the content of this specification should not be construed as a limitation to the present application.

Claims

1. An error calibration method for an inertial measurement unit, characterized in that: The error calibration method of the inertial measurement unit includes: Get the output sequence of the inertial measurement unit; Determining an error sequence of an inertial measurement unit using an error prediction model according to the output sequence; The error prediction model includes an encoder and a decoder; the encoder is used to encode the output sequence using a Transformer network and a long short-term memory network to obtain an implicit state sequence; the decoder is used to decode the implicit state sequence using a Kalman filter to obtain an error sequence of the inertial measurement unit; According to the error sequence of the inertial measurement unit, the output sequence of the inertial measurement unit is corrected to perform error calibration on the inertial measurement unit.

2. The error calibration method of an inertial measurement unit according to claim 1, characterized in that: The encoder is pre-trained using a training sample set; each training sample in the training sample set includes a historical output sequence and a corresponding true hidden state sequence.

3. The error calibration method of an inertial measurement unit according to claim 1, characterized in that: The output sequence includes the measured values ​​at each moment in a set period; the implicit state sequence includes the implicit state at each moment in the set period; and the error sequence includes the error value at each moment in the set period.

4. The error calibration method of an inertial measurement unit according to claim 3, characterized in that: The encoder uses the following formula to determine the set time period k Implicit state at this moment: ; ; ; in, for k The implicit state of the moment, for k The system state covariance matrix at time , for k The system state covariance matrix at time -1, for k The measurement noise covariance matrix at time , for k The measurement noise covariance matrix at time -1, is the sigmoid activation function, is the weight matrix transferred from the system state covariance matrix to the measurement value, is the weight matrix transferred between system state covariance matrices, is the weight matrix transferred from the measurement noise covariance matrix to the measured values, is the weight matrix transferred between the measurement noise covariance matrices, for k The measured value at the moment.

5. The error calibration method of an inertial measurement unit according to claim 3, characterized in that: The measured values ​​include angular velocity measured values ​​and acceleration measured values; The error values ​​include the three-axis zero bias of the gyroscope, the scale factor error matrix of the three-axis direction of the gyroscope, the installation error matrix of the three-axis direction of the gyroscope, the three-axis zero bias of the accelerometer, the scale factor error matrix of the three-axis direction of the accelerometer and the installation error matrix of the three-axis direction of the accelerometer.

6. The error calibration method of an inertial measurement unit according to claim 5, characterized in that: Correcting the output sequence of the inertial measurement unit according to the error sequence of the inertial measurement unit specifically includes: Correcting the angular velocity measurement value according to the three-axis zero bias of the gyroscope, the scale factor error matrix of the three-axis direction of the gyroscope, and the installation error matrix of the three-axis direction of the gyroscope; The acceleration measurement value is corrected according to the three-axis zero bias of the accelerometer, the scale factor error matrix of the three-axis direction of the accelerometer and the installation error matrix of the three-axis direction of the accelerometer.

7. An error calibration device for an inertial measurement unit, applied to the error calibration method for an inertial measurement unit according to any one of claims 1 to 6, characterized in that: The error calibration device of the inertial measurement unit comprises: An output sequence acquisition module, used to acquire an output sequence of an inertial measurement unit; An error sequence prediction module is used to determine the error sequence of the inertial measurement unit using an error prediction model according to the output sequence; The error prediction model includes an encoder and a decoder; the encoder is used to encode the output sequence using a Transformer network and a long short-term memory network to obtain an implicit state sequence; the decoder is used to decode the implicit state sequence using a Kalman filter to obtain an error sequence of the inertial measurement unit; The error calibration module is used to correct the output sequence of the inertial measurement unit according to the error sequence of the inertial measurement unit to perform error calibration on the inertial measurement unit.

8. A computer device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the error calibration method of the inertial measurement unit according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the error calibration method of the inertial measurement unit described in any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • MIMU overall dynamic intelligent calibration compensation method

    CN113091768A

  • Navigation method based on neural process and Kalman filtering and related device

    CN116026325A

  • Micro inertial navigation error parameter identification and prediction method of carrier motion excitation

    CN119437293A

  • Lithium battery health state prediction method and system

    CN119438958A

  • Time sequence state data multi-step prediction method, device and equipment

    CN119513713A

Cited By

  • Method and device for correcting inertial measurement unit, computer equipment and storage medium

    CN121453095A