IMU zero bias estimation method, device and electronic equipment

Through normalization processing of IMU measurement data and sliding window technology, the problem of vehicle attitude influence in IMU bias estimation is solved, more accurate bias estimation is achieved, and the accuracy of SLAM mapping is improved.

CN118482743BActive Publication Date: 2024-10-01NEOLITHIC ZHIHUA (BEIJING) TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410931932.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-10-01
Estimated Expiration
2044-07-12

AI Technical Summary

Technical Problem

In SLAM mapping, the IMU zero-bias estimation fails to effectively consider the impact of vehicle attitude, resulting in noise interference and affecting mapping accuracy.

Method used

By obtaining the measured acceleration data of multiple road sections, perform normalization processing, determine the estimated acceleration by combining the gravity vector and the normalized velocity, calculate the acceleration deviation mean and noise, and use sliding window technology to update the deviation until it reaches the preset threshold, and obtain the vehicle's initial Attitude-independent bias estimates.

Benefits of technology

The accuracy of SLAM mapping is improved, the odometer can be initialized at any position, noise interference is reduced, and the accuracy of bias estimation is enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118482743B_ABST
    Figure CN118482743B_ABST
Patent Text Reader

Abstract

The present application relates to the field of map construction technology, and provides an IMU zero bias estimation method, device and electronic device. The method obtains IMU measurement data including measured acceleration of multiple road sections, first normalizes the measured acceleration of each road section to obtain normalized acceleration, determines the estimated acceleration of each road section through the gravity vector and the normalized velocity of each road section, and then uses the difference between the estimated acceleration and the measured acceleration as the acceleration deviation of each road section, and finally calculates the mean and noise of the acceleration deviation of the multiple road sections, determines the calculated mean and noise as the zero bias of the IMU, and can obtain a zero bias estimation value that is independent of the initial posture of the vehicle, so that the odometer can be initialized at any position during SLAM mapping, thereby improving the mapping accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of map construction technology, and in particular to an IMU zero bias estimation method, device and electronic equipment. Background Art

[0002] The filter-based Simultaneous Localization and Mapping (SLAM) framework requires the introduction of other observations because a single laser odometer usually does not meet some special scenarios and a degraded odometer may lead to map failure. Among them, the Inertial Measurement Unit (IMU) plays an important role in SLAM as an important component of pose estimation.

[0003] However, due to the manufacturing process and the principle of IMU measurement, some readings will inevitably appear in a static state, and there is a small offset between these readings and the actual results. This offset can be understood as constant in one acquisition, and there will be some random walks later, and the offset will move up and down near the zero bias. Estimating the zero bias in a static state can control the variables and make the estimation more accurate. However, in some odometer situations, a more accurate zero bias needs to be estimated dynamically. At this time, the vehicle is not only affected by gravity, but also by acceleration. How to eliminate these noises to obtain a more accurate and measurable zero bias estimate is a technical problem that needs to be solved. Summary of the invention

[0004] In view of this, an embodiment of the present application provides an IMU zero bias estimation method, device and electronic device to solve the problem in the prior art that the influence of vehicle posture is not considered when estimating IMU zero bias.

[0005] According to a first aspect of an embodiment of the present application, a method for estimating zero bias of an inertial measurement unit (IMU) is provided, comprising:

[0006] Acquire IMU measurement data, where the IMU measurement data includes at least measured accelerations of n road sections, where n is a positive integer greater than 1;

[0007] Normalizing the measured acceleration of each of the n road sections to obtain the normalized acceleration of each road section;

[0008] A gravity vector is constructed based on the gravity value, and the estimated acceleration of each road section is determined by the gravity vector and the normalized speed of each road section;

[0009] Determine the acceleration deviation of each road section, the acceleration deviation being the difference between the estimated acceleration and the measured acceleration of each road section;

[0010] The acceleration deviation mean and acceleration deviation noise of n sections are calculated, and the acceleration deviation mean and acceleration deviation noise are determined as the zero bias value of the IMU.

[0011] A second aspect of an embodiment of the present application provides an IMU zero bias estimation method, comprising:

[0012] Acquire IMU measurement data, where the IMU measurement data includes at least measured accelerations of n road sections, where n is a positive integer greater than 1;

[0013] Determine the sliding window m, where m is a positive integer less than n;

[0014] Determine the current window section, the current window section includes the first to the mth sections;

[0015] Calculate the acceleration deviation mean and acceleration deviation noise of the current window section by using the method of the first aspect above;

[0016] In response to at least one of the acceleration deviation mean and the acceleration deviation noise of the current window section being greater than a preset threshold, increasing the start section value and the end section value of the current window section by a preset constant to obtain an updated current window section;

[0017] Repeat the operation of calculating the mean value and noise of the acceleration deviation of the current window section by the method of the first aspect, and updating the current window section when at least one of the calculated mean value and the acceleration deviation noise of the current window section is greater than a preset threshold value, until the mean value and the acceleration deviation noise of the current window section are less than or equal to the preset threshold value;

[0018] Determine the acceleration deviation mean and acceleration deviation noise that are less than or equal to a preset threshold as the zero bias value of the IMU.

[0019] According to a third aspect of an embodiment of the present application, an IMU zero bias estimation device is provided, comprising:

[0020] An acquisition module is configured to acquire IMU measurement data, where the IMU measurement data at least includes measured accelerations of n road sections, where n is a positive integer greater than 1;

[0021] A normalization module is configured to perform normalization processing on the measured acceleration of each of the n road sections to obtain a normalized acceleration of each road section;

[0022] A construction module is configured to construct a gravity vector based on the gravity value, and determine an estimated acceleration of each road segment through the gravity vector and a normalized speed of each road segment;

[0023] A determination module is configured to determine an acceleration deviation of each road section, where the acceleration deviation is a difference between an estimated acceleration and a measured acceleration of each road section;

[0024] The calculation module is configured to calculate the acceleration deviation mean and the acceleration deviation noise of n sections of the road, and determine the acceleration deviation mean and the acceleration deviation noise as the zero bias value of the IMU.

[0025] According to a fourth aspect of an embodiment of the present application, an IMU zero bias estimation device is provided, comprising:

[0026] An acquisition module is configured to acquire IMU measurement data, where the IMU measurement data at least includes measured accelerations of n road sections, where n is a positive integer greater than 1;

[0027] A determination module is configured to determine a sliding window m, where m is a positive integer less than n;

[0028] The determination module is further configured to determine a current window section, where the current window section includes the first to mth sections;

[0029] A calculation module, configured to calculate the acceleration deviation mean and acceleration deviation noise of the current window section by using the method of the first aspect;

[0030] An updating module is configured to increase the starting segment value and the ending segment value of the current window segment by a preset constant respectively in response to at least one of the acceleration deviation mean value and the acceleration deviation noise of the current window segment being greater than a preset threshold value, so as to obtain an updated current window segment;

[0031] An iteration module is configured to repeatedly perform the operation of calculating the mean value and noise of the acceleration deviation of the current window section by the method of the first aspect, and updating the current window section when at least one of the calculated mean value and the acceleration deviation noise of the current window section is greater than a preset threshold value, until the mean value and the acceleration deviation noise of the current window section are less than or equal to the preset threshold value;

[0032] The calculation module is also configured to determine the acceleration deviation mean and acceleration deviation noise that are less than or equal to a preset threshold as the zero bias value of the IMU.

[0033] According to a fifth aspect of an embodiment of the present application, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.

[0034] Compared with the prior art, the embodiments of the present application have the following beneficial effects: the embodiments of the present application obtain IMU measurement data including measured accelerations of multiple road sections, first normalize the measured accelerations of each road section to obtain normalized accelerations, then determine the estimated accelerations of each road section through the gravity vector and the normalized velocity of each road section, and then use the difference between the estimated acceleration and the measured acceleration as the acceleration deviation of each road section, and finally calculate the mean and noise of the acceleration deviations of the multiple road sections, determine the calculated mean and noise as the zero bias of the IMU, and obtain a zero bias estimate that is independent of the initial posture of the vehicle, so that the odometer can be initialized at any position during SLAM mapping, thereby improving mapping accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0036] Figure 1 It is a scenario diagram of an application scenario of an embodiment of the present application.

[0037] Figure 2 It is a flow chart of an IMU zero bias estimation method provided in an embodiment of the present application.

[0038] Figure 3 It is a flowchart of a method provided in an embodiment of the present application for normalizing the measured acceleration of each of n road sections to obtain the normalized acceleration of each road section.

[0039] Figure 4 It is a flowchart of the method for constructing a gravity vector provided in an embodiment of the present application.

[0040] Figure 5 It is a schematic diagram of the force analysis of a moving target provided in an embodiment of the present application.

[0041] Figure 6 It is a flow chart of another IMU zero bias estimation method provided in an embodiment of the present application.

[0042] FIG. 7 (A) to FIG. 7 (C) are schematic diagrams of the estimation effect of the IMU zero bias estimation method provided in the embodiment of the present application.

[0043] Figure 8 It is a schematic diagram of an IMU zero bias estimation device provided in an embodiment of the present application.

[0044] Fig. 9It is a schematic diagram of another IMU zero bias estimation device provided in an embodiment of the present application.

[0045] Fig.10 It is a schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0046] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0047] An IMU zero bias estimation method and device according to an embodiment of the present application will be described in detail below with reference to the accompanying drawings.

[0048] Figure 1 1 is a schematic diagram of an application scenario of an embodiment of the present application. The application scenario may include a moving target 1, a camera device 2 and an IMU 3.

[0049] The camera device 2 can collect images of the moving target 1 in real time, use a visual algorithm to track the position and direction of the moving target 1, and then build a map based on the acquired position and direction. Furthermore, the image collected by the camera device 2 can be supplemented with the collected data of the IMU 3, and the posture information provided by the IMU 3 can be integrated with the position and posture in the image collected by the camera device 2, so that the position and direction of the moving target 1 can be better determined.

[0050] Among them, the specific types, quantities and combinations of the moving target 1, the camera device 2 and the IMU 3 can be adjusted according to the actual needs of the application scenario, and the embodiments of the present application are not limited to this.

[0051] As mentioned above, due to the manufacturing process and the principle of IMU measurement, some readings are inevitable in a static state, and there is a small offset between these readings and the actual results. This offset can be understood as constant in one acquisition, and there will be some random walks later, and the offset moves up and down near the zero bias. Estimating the zero bias in a static state can control the variables and make the estimation more accurate. However, in some odometer situations, a more accurate zero bias needs to be estimated dynamically. At this time, the vehicle is not only affected by gravity, but also by acceleration. How to eliminate these noises and obtain a more accurate and measurable zero bias estimate is a technical problem that needs to be solved.

[0052] In view of this, an embodiment of the present application provides an IMU zero bias estimation method, which obtains IMU measurement data including measured accelerations of multiple road sections, first normalizes the measured accelerations of each road section to obtain normalized acceleration, then determines the estimated acceleration of each road section through the gravity vector and the normalized velocity of each road section, and then uses the difference between the estimated acceleration and the measured acceleration as the acceleration deviation of each road section, and finally calculates the mean and noise of the acceleration deviations of the multiple road sections, determines the calculated mean and noise as the zero bias of the IMU, and can obtain a zero bias estimate that is independent of the initial posture of the vehicle, so that the odometer can be initialized at any position during SLAM mapping, thereby improving mapping accuracy.

[0053] Figure 2 Schematic diagram of a flow chart of an IMU zero bias estimation method provided in an embodiment of the present application. Figure 2 As shown, the method comprises the following steps:

[0054] In step S201, IMU measurement data is obtained.

[0055] The IMU measurement data includes at least the measured acceleration of n road sections, where n is a positive integer greater than 1.

[0056] In step S202, the measured acceleration of each of the n road sections is normalized to obtain the normalized acceleration of each road section.

[0057] In step S203, a gravity vector is constructed based on the gravity value, and the estimated acceleration of each road section is determined by the gravity vector and the normalized speed of each road section.

[0058] In step S204, the acceleration deviation of each road section is determined.

[0059] The acceleration deviation is the difference between the estimated acceleration and the measured acceleration of each road section.

[0060] In step S205, the acceleration deviation mean value and the acceleration deviation noise of the n road sections are calculated, and the acceleration deviation mean value and the acceleration deviation noise are determined as the zero bias value of the IMU.

[0061] In an embodiment of the present application, the IMU zero bias estimation method can be executed by a server or terminal device that executes the SALM algorithm. Alternatively, the IMU zero bias estimation method can also be executed by other servers or terminal devices, and after estimating the zero bias of the IMU, the zero bias is provided to the server or terminal device that executes the SALM algorithm.

[0062] In the embodiment of the present application, the IMU zero bias estimation method can be used to estimate the zero bias of the moving target of SLAM mapping as a ground moving target, such as a vehicle, a robot, etc. This is because, for a ground moving target, when traversing all the original IMU data of the current segment during the IMU initialization phase, the target may not be completely stationary, and for a ground moving target, the vertical acceleration zero bias is usually larger, which will affect the vertical drift of the vehicle's IMU odometer.

[0063] In an embodiment of the present application, the server or terminal device may first obtain IMU measurement data. The obtained IMU measurement data may be measurement data of multiple road sections, such as measurement data of n road sections. Further, the obtained IMU measurement data at least includes the measured acceleration of the n road sections.

[0064] In the embodiment of the present application, the acquired IMU measurement data may be preprocessed, for example, filtering abnormal data of acceleration acc_z measured in the vertical (z) direction in the IMU coordinate system. In one example, the abnormal data of acc_z may be data greater than 15 or less than 5.

[0065] In an embodiment of the present application, after completing data preprocessing, the measured acceleration of each section of the n sections can be normalized to obtain the normalized acceleration of each section. Then, a gravity vector is constructed, and the estimated acceleration of each section is determined by the gravity vector and the normalized velocity of each section. In one example, the gravity vector can be multiplied by the normalized acceleration of each section to obtain the estimated acceleration of each section. In this way, the gravity is projected to the current IMU coordinate system, and combined with the attitude information provided by the acceleration measurement value, the influence of gravity and the influence of the initial attitude of the vehicle can be considered simultaneously during zero bias estimation.

[0066] In the embodiment of the present application, after obtaining the estimated acceleration of each road section, the difference between the estimated acceleration and the measured acceleration of each road section can be calculated to obtain the acceleration deviation of each road section. Finally, the acceleration deviation mean and acceleration deviation noise of the n road sections are calculated, and the acceleration deviation mean and acceleration deviation noise are determined as the zero bias value of the IMU.

[0067] According to the technical solution provided in the embodiment of the present application, by acquiring IMU measurement data including measured accelerations of multiple road sections, the measured accelerations of each road section are first normalized to obtain normalized accelerations, and then the estimated accelerations of each road section are determined through the gravity vector and the normalized velocity of each road section, and then the difference between the estimated acceleration and the measured acceleration is used as the acceleration deviation of each road section, and finally the mean and noise of the acceleration deviations of the multiple road sections are calculated, and the calculated mean and noise are determined to be the zero bias of the IMU, so that a zero bias estimate value independent of the initial posture of the vehicle can be obtained, so that the odometer can be initialized at any position during SLAM mapping, thereby improving mapping accuracy.

[0068] In the embodiment of the present application, the measured acceleration is a measured acceleration vector composed of a horizontal component, a vertical component and a vertical component. If the measured acceleration is recorded as acc, then acc can be acc (acc_x, acc_y, acc_z).

[0069] Figure 3 1 is a flow chart of a method for normalizing the measured acceleration of each of n road sections to obtain the normalized acceleration of each road section provided in an embodiment of the present application. Figure 3 As shown, the method comprises the following steps:

[0070] In step S301, a modulo operation is performed on the measured acceleration vector of each road section to obtain the modulus of the measured acceleration vector of each road section.

[0071] In step S302, the norm of the measured acceleration vector of each road section is calculated.

[0072] In step S303, the quotient of the modulus of the measured acceleration vector of each road section and the norm of the measured acceleration vector is determined as the normalized acceleration of each road section.

[0073] In an embodiment of the present application, when normalizing the measured acceleration of each of the n road sections to obtain the normalized acceleration of each road section, the acc (acc_x, acc_y, acc_z) of each road section can be firstly modulo-operated, and the norm of acc (acc_x, acc_y, acc_z) of each road section can be calculated, and then the quotient of the modulus of acc (acc_x, acc_y, acc_z) of each road section and the norm of acc (acc_x, acc_y, acc_z) can be used as the normalized acceleration of each road section.

[0074] In other words, the normalized acceleration of each road section can be calculated using the formula, , where rot is the normalized acceleration, is the modulus operator for vectors, is an operator that computes the norm of a vector.

[0075] Figure 4 is a flow chart of the method for constructing a gravity vector provided in an embodiment of the present application. Figure 4 As shown, the method comprises the following steps:

[0076] In step S401, a three-dimensional vector is constructed.

[0077] In step S402, the first component and the second component of the three-dimensional vector are assigned to 0, and the third component of the three-dimensional vector is assigned to the gravity value to obtain the gravity vector.

[0078] In the embodiment of the present application, when constructing the gravity vector, a three-dimensional vector can be first constructed, and then the first and second components of the three-dimensional vector are assigned to 0, and the third component of the three-dimensional vector is assigned to the gravity value, so as to obtain the required gravity vector. This is because, as mentioned above, for ground-based targets, the vertical acceleration zero bias is usually larger, so the constructed gravity vector mainly considers the projection of gravity on the z-axis (i.e., the vertical direction) of the IMU coordinate system. The constructed gravity vector can be G (0, 0, g), where g is gravity.

[0079] In the embodiment of the present application, the estimated acceleration of each road section is acc_estimate, then acc_estimate=rot×G, where G is gravity. Further, the acceleration bias of each road section is acc_bias, then acc_bias=acc_estimate-acc, where acc is the measured acceleration of each road section.

[0080] In the embodiment of the present application, after the acceleration deviation of each road section is determined, the acceleration deviation mean and acceleration deviation noise of all n road sections can be calculated to obtain the IMU zero value. Among them, the acceleration deviation mean can be calculated by the mean recursive formula: It is calculated that in the mean recursive formula, is the acceleration deviation of the nth section, is the mean value of the acceleration deviation from the first to the nth section, is the average acceleration deviation of the first to the n-1th sections.

[0081] Furthermore, in order to avoid the problem that only calculating the mean value cannot eliminate the systematic error introduced by the posture change during the target movement, the acceleration deviation noise of n sections can also be calculated to estimate the IMU zero bias.

[0082] When calculating the acceleration deviation noise of n sections, we can first calculate the variance of the acceleration deviation of each section. The deviation of the acceleration variance is the square of the difference between the acceleration deviation and the expected value of acceleration. In other words, if the variance of the acceleration deviation of each section is recorded as ,but ,in, is the variance of the acceleration bias of the nth section, and E(acc_bias) is the expected value of acceleration for each section. Further, the variance recursive formula can be used The acceleration deviation noise of n sections of road is calculated, where: is the acceleration deviation noise of the first to nth sections, is the acceleration deviation noise of the first to n-1th sections.

[0083] Figure 5 Schematic diagram of the force analysis of a moving target provided by the embodiment of the present application. Figure 5 As shown in the figure, x, y and z are the horizontal axis, vertical axis and vertical axis in the IMU coordinate system respectively. If the moving target is in a non-stationary state in the initial state, its gravity may have a certain angle with the z-axis. By projecting the gravity to the z-axis of the IMU coordinate system and then calculating the mean and noise of the acceleration, the influence of the initial attitude on the IMU zero bias estimation can be eliminated, and a zero bias value independent of the initial attitude can be obtained.

[0084] Figure 6 is a flow chart of another IMU zero bias estimation method provided in an embodiment of the present application. Figure 6 As shown, the method comprises the following steps:

[0085] In step S601, IMU measurement data is obtained.

[0086] The IMU measurement data includes at least the measured acceleration of n road sections, where n is a positive integer greater than 1.

[0087] In step S602, a sliding window m is determined.

[0088] Here, m is a positive integer less than n.

[0089] In step S603, the current window section is determined.

[0090] The current window road section includes the first to the mth road sections.

[0091] In step S604, the Figure 2 The method provided by the illustrated embodiment calculates the acceleration deviation mean and acceleration deviation noise of the current window section.

[0092] In step S605, in response to at least one of the acceleration deviation mean and the acceleration deviation noise of the current window section being greater than a preset threshold, the start section value and the end section value of the current window section are respectively increased by preset constants to obtain an updated current window section.

[0093] In step S606, the following steps are repeated: Figure 2 The method provided by the illustrated embodiment calculates the mean and noise of the acceleration deviation of the current window section. When at least one of the calculated mean acceleration deviation and the acceleration deviation noise of the current window section is greater than a preset threshold, the operation of the current window section is updated until the mean acceleration deviation and the acceleration deviation noise of the current window section are less than or equal to the preset threshold.

[0094] In step S607, the acceleration deviation mean and the acceleration deviation noise that are less than or equal to a preset threshold are determined as zero bias values ​​of the IMU.

[0095] In the embodiment of the present application, when the number of road sections included in the IMU measurement data is large, for example, n is an integer greater than 100, the Figure 2 The calculation method of the embodiment shown in the figure will bring a large amount of calculation for zero bias estimation, which may affect the efficiency of mapping. In view of this, the embodiment of the present application further proposes a solution of using a sliding window to improve the calculation speed.

[0096] In an embodiment of the present application, IMU measurement data may be first obtained, and the IMU measurement data may include at least the measured acceleration of n sections. Further, a sliding window m may be determined, and a current window section may be determined. The current window section determined for the first time includes the first to mth sections.

[0097] In the embodiment of the present application, the following can be used Figure 2 The method provided by the illustrated embodiment calculates the acceleration deviation mean and acceleration deviation noise of the current window section. The acceleration deviation mean and acceleration deviation noise calculated at this time are the acceleration deviation mean and acceleration deviation noise of the first to mth sections.

[0098] The calculated acceleration deviation mean and acceleration deviation noise of the current window section are compared with the preset threshold. If at least one of the acceleration deviation mean and acceleration deviation noise of the current window section is greater than the preset threshold, the current window section can be updated by increasing the starting section value and the ending section value of the current window section by the preset constant. The values ​​of the preset threshold and the preset constant can be set according to actual needs. In one example, the preset threshold can be determined according to the IMU zero bias estimation value in a stationary state, and a preferred value of the preset constant can be 1.

[0099] Next, you can repeat the following steps: Figure 2The method provided in the illustrated embodiment calculates the mean value and noise of the acceleration deviation of the current window section, and when at least one of the calculated mean value and the acceleration deviation noise of the current window section is greater than a preset threshold, the operation of updating the current window section is performed until the mean value and the acceleration deviation noise of the current window section are less than or equal to the preset threshold. At this time, the mean value and the acceleration deviation noise less than or equal to the preset threshold can be determined as the zero bias value of the IMU.

[0100] Furthermore, if the current window section is the n-m+1th to nth section, and at least one of the calculated acceleration deviation mean and acceleration deviation noise of the current window section is greater than a preset threshold, it can be determined that among the acceleration deviation mean and acceleration deviation noise of the current window section calculated all the time, the minimum acceleration deviation mean and the minimum acceleration deviation noise are the zero bias value of the IMU. Among them, the minimum acceleration deviation mean and the minimum acceleration deviation noise can be the minimum acceleration deviation mean and the minimum acceleration deviation noise calculated for the same current window section, or the minimum acceleration deviation mean and the minimum acceleration deviation noise calculated for different current window sections respectively.

[0101] That is to say, for all IMUs, a sliding window can be set with the IMU at each moment as the starting point, and the mean and variance of the acc_bias of each section inside the sliding window can be calculated to determine the mean and noise processing. Furthermore, the values ​​corresponding to the minimum variance of the acceleration deviation acc_bias_x in the horizontal direction, the acceleration deviation acc_bias_y in the vertical direction, and the acceleration deviation acc_bias_z in the vertical direction can be recorded separately during calculation. This is because if it is assumed that the IMU zero bias is a constant in a single acquisition, the random walk is equivalent to Gaussian white noise wandering around the zero bias. At this time, it is difficult to have a situation where the force remains unchanged throughout the sliding window, and because the IMU satisfies the three-axis orthogonality assumption in an ideal situation, the accelerations of the moving target in each direction are often independent of each other, so acc_bias_x, acc_bias_y and acc_bias_z can be calculated separately. In this way, the optimal estimate values ​​of different components can be determined in different sliding windows respectively, without the need for all optimal estimates to appear in the same sliding window, thereby obtaining the most stable (i.e., the smallest variance) three-axis zero bias estimate in the entire road section.

[0102] Furthermore, when the variance of the three axes reaches the preset threshold during calculation, the calculation can be terminated in advance, thereby ending in advance at a faster speed while meeting the accuracy requirement. This will save some time when performing IMU zero bias calculations simultaneously in a multi-segment odometer (for example, more than 100 segments).

[0103] Figures 7 (A) to 7 (C) are schematic diagrams of the estimation effect of the IMU zero bias estimation method provided by the embodiment of the present application. In Figures 7 (A) to 7 (C), line 1 is a trajectory constructed without using the IMU zero bias estimation method provided by the embodiment of the present application, line 2 is a trajectory constructed after using the IMU zero bias estimation method provided by the embodiment of the present application, and line 3 is a trajectory constructed after estimating the IMU zero bias when the initial posture of the moving target is stationary.

[0104] As shown in FIG7 (A), in the scenario where the initial posture of the moving target is the posture when in motion, line 2 is closer to line 3 than line 1, that is, the trajectory constructed after adopting the IMU zero bias estimation method provided by the embodiment of the present application is more realistic. As shown in FIG7 (B), after the moving target changes from static to moving, line 2 is closer to line 3 than line 2, especially when it just changes from static to moving, the change amplitude of line 2 is small and there is no sudden change, while line 1 changes greatly from static to moving. FIG7 (C) shows the trajectory deviation in the z direction. As shown in FIG7 (C), line 2 is closer to line 3 than line 1 in the z direction.

[0105] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.

[0106] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0107] Figure 8 Schematic diagram of an IMU zero bias estimation device provided in an embodiment of the present application. Figure 8 As shown, the device comprises:

[0108] An acquisition module 801 is configured to acquire IMU measurement data, where the IMU measurement data at least includes measured accelerations of n road sections, where n is a positive integer greater than 1;

[0109] A normalization module 802 is configured to perform normalization processing on the measured acceleration of each of the n road sections to obtain a normalized acceleration of each road section;

[0110] A construction module 803 is configured to construct a gravity vector based on the gravity value, and determine the estimated acceleration of each road section through the gravity vector and the normalized speed of each road section;

[0111] A determination module 804 is configured to determine an acceleration deviation of each road section, where the acceleration deviation is a difference between an estimated acceleration and a measured acceleration of each road section;

[0112] The calculation module 805 is configured to calculate the acceleration deviation mean and the acceleration deviation noise of the n road sections, and determine the acceleration deviation mean and the acceleration deviation noise as the zero bias value of the IMU.

[0113] According to the technical solution provided in the embodiment of the present application, by acquiring IMU measurement data including measured accelerations of multiple road sections, the measured accelerations of each road section are first normalized to obtain normalized accelerations, and then the estimated accelerations of each road section are determined through the gravity vector and the normalized velocity of each road section, and then the difference between the estimated acceleration and the measured acceleration is used as the acceleration deviation of each road section, and finally the mean and noise of the acceleration deviations of the multiple road sections are calculated, and the calculated mean and noise are determined to be the zero bias of the IMU, so that a zero bias estimate value independent of the initial posture of the vehicle can be obtained, so that the odometer can be initialized at any position during SLAM mapping, thereby improving mapping accuracy.

[0114] In an embodiment of the present application, the measured acceleration is a measured acceleration vector composed of a horizontal component, a vertical component and a vertical component; the measured acceleration of each section is normalized to obtain the normalized acceleration of each section, including: performing a modulus operation on the measured acceleration vector of each section to obtain the modulus of the measured acceleration vector of each section; calculating the norm of the measured acceleration vector of each section; and determining the quotient of the modulus of the measured acceleration vector of each section and the norm of the measured acceleration vector as the normalized acceleration of each section.

[0115] In the embodiment of the present application, constructing a gravity vector includes: constructing a three-dimensional vector; assigning a first component and a second component of the three-dimensional vector to 0, and assigning a third component of the three-dimensional vector to a gravity value to obtain a gravity vector.

[0116] In the embodiment of the present application, the steps for calculating the mean value of the acceleration deviation of n sections of road are as follows: using the mean recursive formula Calculate the mean acceleration deviation of n sections; where, is the acceleration deviation of the nth section, is the mean value of the acceleration deviation from the first to the nth section, is the average acceleration deviation of the first to the n-1th sections.

[0117] In the embodiment of the present application, the acceleration deviation noise of n sections is calculated, including: calculating the variance of the acceleration deviation of each section, the deviation of the acceleration variance is the square of the difference between the acceleration deviation and the expected value of acceleration; using the variance recursion formula Calculate the acceleration deviation noise of n sections of road; where, is the variance of the acceleration deviation of the nth section, is the acceleration deviation noise of the first to nth sections, is the acceleration deviation noise of the first to n-1th sections.

[0118] Fig. 9 Schematic diagram of another IMU zero bias estimation device provided in an embodiment of the present application. Fig. 9 As shown, the device comprises:

[0119] An acquisition module 901 is configured to acquire IMU measurement data, where the IMU measurement data at least includes measured accelerations of n road sections, where n is a positive integer greater than 1;

[0120] A determination module 902 is configured to determine a sliding window m, where m is a positive integer less than n;

[0121] The determination module 902 is further configured to determine a current window road segment, where the current window road segment includes the first to mth road segments;

[0122] The calculation module 903 is configured to adopt Figure 2 The method provided in the illustrated embodiment calculates the acceleration deviation mean and acceleration deviation noise of the current window section;

[0123] The updating module 904 is configured to, in response to at least one of the acceleration deviation mean and the acceleration deviation noise of the current window segment being greater than a preset threshold, increase the starting segment value and the ending segment value of the current window segment by a preset constant, respectively, to obtain an updated current window segment;

[0124] Iteration module 905 is configured to repeatedly execute the following steps: Figure 2 The method provided in the illustrated embodiment calculates the mean value and noise of the acceleration deviation of the current window section, and when at least one of the calculated mean value and the acceleration deviation noise of the current window section is greater than a preset threshold, updates the operation of the current window section until the mean value and the acceleration deviation noise of the current window section are less than or equal to the preset threshold;

[0125] The calculation module 903 is further configured to determine the acceleration deviation mean and acceleration deviation noise that are less than or equal to a preset threshold as the zero bias value of the IMU.

[0126] In an embodiment of the present application, the calculation module is also configured to respond to the current window section being the n-m+1th to nth section, and at least one of the calculated acceleration deviation mean and acceleration deviation noise of the current window section being greater than a preset threshold, determine that the minimum acceleration deviation mean and the minimum acceleration deviation noise among the acceleration deviation mean and acceleration deviation noise of the current window section calculated previously are the zero bias value of the IMU.

[0127] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0128] Fig.10 Schematic diagram of an electronic device provided in an embodiment of the present application. Fig.10 As shown, the electronic device 10 of this embodiment includes: a processor 1001, a memory 1002, and a computer program 1003 stored in the memory 1002 and executable on the processor 1001. When the processor 1001 executes the computer program 1003, the steps in the above-mentioned method embodiments are implemented. Alternatively, when the processor 1001 executes the computer program 1003, the functions of the modules / units in the above-mentioned device embodiments are implemented.

[0129] The electronic device 10 may be a desktop computer, a notebook, a PDA, a cloud server, or other electronic device. The electronic device 10 may include, but is not limited to, a processor 1001 and a memory 1002. Those skilled in the art will appreciate that Fig.10 The electronic device 10 is merely an example and does not limit the electronic device 10 . The electronic device 10 may include more or fewer components than shown in the figure, or different components.

[0130] The processor 1001 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.

[0131] The memory 1002 may be an internal storage unit of the electronic device 10, for example, a hard disk or memory of the electronic device 10. The memory 1002 may also be an external storage device of the electronic device 10, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card (FlashCard), etc. equipped on the electronic device 10. The memory 1002 may also include both an internal storage unit of the electronic device 10 and an external storage device. The memory 1002 is used to store computer programs and other programs and data required by the electronic device.

[0132] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units.

[0133] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. The computer program may include computer program code, which may be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc.

[0134] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for estimating zero bias of an inertial measurement unit (IMU), characterized in that: include: Acquire IMU measurement data, wherein the IMU measurement data includes at least measured accelerations of n road sections, where n is a positive integer greater than 1; Normalizing the measured acceleration of each of the n road sections to obtain a normalized acceleration of each road section; constructing a gravity vector based on the gravity value, and determining an estimated acceleration of each road section through the gravity vector and the normalized speed of each road section; Determining the acceleration deviation of each road section, wherein the acceleration deviation is the difference between the estimated acceleration and the measured acceleration of each road section; Calculating the acceleration deviation mean and the acceleration deviation noise of the n road sections, and determining the acceleration deviation mean and the acceleration deviation noise as the zero bias value of the IMU; Wherein, determining the estimated acceleration of each road section by using the gravity vector and the normalized speed of each road section includes: The gravity vector is respectively multiplied by the normalized acceleration of each road section to obtain the estimated acceleration of each road section.

2. The method according to claim 1, characterized in that The measured acceleration is a measured acceleration vector composed of a horizontal component, a vertical component and a vertical component; The measured acceleration of each road section is normalized to obtain the normalized acceleration of each road section, including: Performing a modulus operation on the measured acceleration vector of each road section to obtain the modulus of the measured acceleration vector of each road section; Calculate the norm of the measured acceleration vector for each road segment; The quotient of the modulus of the measured acceleration vector of each road section and the norm of the measured acceleration vector is determined as the normalized acceleration of each road section.

3. The method according to claim 1, characterized in that The constructing of the gravity vector comprises: Construct three-dimensional vectors; The first component and the second component of the three-dimensional vector are assigned 0, and the third component of the three-dimensional vector is assigned a gravity value to obtain the gravity vector.

4. The method according to claim 1, characterized in that: The step of calculating the mean value of the acceleration deviation of the n sections is as follows: Use the mean recursion formula Calculating the mean value of the acceleration deviation of the n road sections; in, is the acceleration deviation of the nth section, is the mean value of the acceleration deviation from the first to the nth section, is the average acceleration deviation of the first to the n-1th sections.

5. The method according to claim 1, characterized in that The calculating the acceleration deviation noise of the n road sections includes: Calculating the variance of the acceleration deviation of each road section, wherein the deviation of the acceleration variance is the square of the difference between the acceleration deviation and the acceleration expected value; Using the variance recursion formula Calculating the acceleration deviation noise of the n road sections; in, is the variance of the acceleration deviation of the nth section, is the acceleration deviation noise of the first to nth sections, is the acceleration deviation noise of the first to n-1th sections.

6. A method for estimating zero bias of an inertial measurement unit (IMU), characterized in that: include: Acquire IMU measurement data, wherein the IMU measurement data includes at least measured accelerations of n road sections, where n is a positive integer greater than 1; Determine the sliding window m, where m is a positive integer less than n; Determine a current window section, wherein the current window section includes the first to mth sections; Calculating the acceleration deviation mean and acceleration deviation noise of the current window section using the method as claimed in claim 1; In response to at least one of the acceleration deviation mean and the acceleration deviation noise of the current window section being greater than a preset threshold, increasing the starting section value and the ending section value of the current window section by preset constants respectively to obtain an updated current window section; Repeat the process of calculating the mean value and noise of the acceleration deviation of the current window section by the method according to claim 1, and when at least one of the calculated mean value and noise of the acceleration deviation of the current window section is greater than a preset threshold, updating the operation of the current window section until the mean value and noise of the acceleration deviation of the current window section are less than or equal to the preset threshold; Determine the acceleration deviation mean and acceleration deviation noise that are less than or equal to a preset threshold as the zero bias value of the IMU.

7. The method according to claim 6, characterized in that The method further comprises: In response to the current window section being the n-m+1th to nth section, and at least one of the calculated acceleration deviation mean and acceleration deviation noise of the current window section being greater than a preset threshold, it is determined that among the acceleration deviation mean and acceleration deviation noise of the current window section calculated all previous times, the minimum acceleration deviation mean and the minimum acceleration deviation noise are the zero bias value of the IMU.

8. An inertial measurement unit IMU zero bias estimation device, characterized in that: include: An acquisition module is configured to acquire IMU measurement data, wherein the IMU measurement data at least includes measured acceleration of n sections of road, where n is a positive integer greater than 1; A normalization module is configured to perform normalization processing on the measured acceleration of each of the n road sections to obtain a normalized acceleration of each road section; A construction module is configured to construct a gravity vector based on the gravity value, and determine the estimated acceleration of each road section through the gravity vector and the normalized speed of each road section; A determination module is configured to determine an acceleration deviation of each road section, wherein the acceleration deviation is a difference between an estimated acceleration and a measured acceleration of each road section; A calculation module is configured to calculate the acceleration deviation mean and the acceleration deviation noise of the n road sections, and determine the acceleration deviation mean and the acceleration deviation noise as the zero bias value of the IMU; Wherein, determining the estimated acceleration of each road section by using the gravity vector and the normalized speed of each road section includes: The gravity vector is respectively multiplied by the normalized acceleration of each road section to obtain the estimated acceleration of each road section.

9. An inertial measurement unit IMU zero bias estimation device, characterized in that: include: An acquisition module is configured to acquire IMU measurement data, wherein the IMU measurement data at least includes measured acceleration of n sections of road, where n is a positive integer greater than 1; A determination module is configured to determine a sliding window m, where m is a positive integer less than n; The determination module is further configured to determine a current window road section, wherein the current window road section includes the first to mth road sections; A calculation module, configured to calculate the acceleration deviation mean and acceleration deviation noise of the current window section using the method according to claim 1; An updating module is configured to, in response to at least one of the acceleration deviation mean and the acceleration deviation noise of the current window section being greater than a preset threshold, increase the starting section value and the ending section value of the current window section by a preset constant respectively, to obtain an updated current window section; An iteration module, configured to repeatedly perform the operation of calculating the mean value and noise of the acceleration deviation of the current window section by the method according to claim 1, and updating the current window section when at least one of the calculated mean value and noise of the acceleration deviation of the current window section is greater than a preset threshold value, until the mean value and noise of the acceleration deviation of the current window section are less than or equal to the preset threshold value; The calculation module is also configured to determine the acceleration deviation mean and acceleration deviation noise that are less than or equal to a preset threshold as the zero bias value of the IMU.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.